@esri/solutions-components 5.1.0-next.101 → 5.1.0-next.102

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 (89) hide show
  1. package/dist/cdn/{Q6M7TE6U.js → 24OJQL75.js} +1 -1
  2. package/dist/cdn/2AXKBNIN.js +2 -0
  3. package/dist/cdn/{VFBHL5I3.js → 2HGZUNIC.js} +1 -1
  4. package/dist/cdn/{BEFZMWNT.js → 3NPBN2B4.js} +1 -1
  5. package/dist/cdn/{3N6JSBDY.js → 45UNI2VP.js} +1 -1
  6. package/dist/cdn/4SPIPOYO.js +2 -0
  7. package/dist/cdn/{3TISGUGU.js → 5LX6ROQC.js} +148 -123
  8. package/dist/cdn/{AGWF7JS3.js → 64ZLSOK3.js} +1 -1
  9. package/dist/cdn/{5MJRRAR3.js → 6UTDTBHM.js} +1 -1
  10. package/dist/cdn/{KFUDOMCU.js → 7EPZDMA2.js} +1 -1
  11. package/dist/cdn/{NAP64TVV.js → 7SFTLJTV.js} +1 -1
  12. package/dist/cdn/{OVUYJGIC.js → 7X5K32QE.js} +1 -1
  13. package/dist/cdn/{YVHMD4UA.js → A2SX6EF7.js} +1 -1
  14. package/dist/cdn/{52NCESZ3.js → ADTHTFGI.js} +1 -1
  15. package/dist/cdn/{R2DPK4DM.js → AFMPPVMO.js} +1 -1
  16. package/dist/cdn/{RPW7LJQH.js → ANZVLZYR.js} +1 -1
  17. package/dist/cdn/{WBOSBQON.js → AO3QYZNQ.js} +1 -1
  18. package/dist/cdn/{LN4MOERJ.js → AOTEIDXK.js} +1 -1
  19. package/dist/cdn/{V5CN55C4.js → AYO5GP4M.js} +1 -1
  20. package/dist/cdn/{QY5DNKV4.js → B4EWPUMU.js} +1 -1
  21. package/dist/cdn/{AXOVJQ27.js → BELRJU3A.js} +1 -1
  22. package/dist/cdn/{6GS6GAPJ.js → BYU5RVVM.js} +1 -1
  23. package/dist/cdn/{FMBNUELT.js → CNY6H6U2.js} +1 -1
  24. package/dist/cdn/{HQELLKEZ.js → CZZN3R4F.js} +1 -1
  25. package/dist/cdn/{TUMD7SXH.js → DINEURA2.js} +1 -1
  26. package/dist/cdn/{4CTPT5BL.js → G4OMMOS4.js} +1 -1
  27. package/dist/cdn/{QLCCVERE.js → GU4QAZMD.js} +1 -1
  28. package/dist/cdn/{NBWWIDDN.js → IGIHPCRS.js} +1 -1
  29. package/dist/cdn/{ULMPSDVQ.js → IIOO4ABM.js} +1 -1
  30. package/dist/cdn/{5HEWMGPZ.js → JPJ2PWRJ.js} +1 -1
  31. package/dist/cdn/{PUKJZLBU.js → LYNVZ7EL.js} +1 -1
  32. package/dist/cdn/{K6MXQSMI.js → MSEGWVWC.js} +2 -2
  33. package/dist/cdn/{WVESDJHN.js → MT2QHKUQ.js} +1 -1
  34. package/dist/cdn/{FFUTLAI6.js → N3FJFS6W.js} +1 -1
  35. package/dist/cdn/{P6I6DQ26.js → NBJK6Z7L.js} +1 -1
  36. package/dist/cdn/{YZHE6356.js → O5PAINAH.js} +1 -1
  37. package/dist/cdn/O7TCCL6B.js +2 -0
  38. package/dist/cdn/P2QWXLFJ.js +2 -0
  39. package/dist/cdn/{7XZPMBE6.js → P76UNULK.js} +1 -1
  40. package/dist/cdn/{RNJB26Y3.js → PDE6N2YM.js} +1 -1
  41. package/dist/cdn/{IBUNGLNK.js → PQPNCADS.js} +1 -1
  42. package/dist/cdn/{PTRLHLU7.js → RQIBNHBN.js} +1 -1
  43. package/dist/cdn/{BYMRDTAH.js → SR53JCI4.js} +1 -1
  44. package/dist/cdn/{7NJD2NA4.js → TDY54Z67.js} +1 -1
  45. package/dist/cdn/{32CHXOKC.js → TS7GYVPR.js} +1 -1
  46. package/dist/cdn/{RCDAQADA.js → TWO6FJHP.js} +1 -1
  47. package/dist/cdn/{XT5YSGV5.js → UUGWRXGN.js} +1 -1
  48. package/dist/cdn/{6YK4PYP4.js → UUMJMH3T.js} +1 -1
  49. package/dist/cdn/{377WBJCF.js → VB5C4Z27.js} +1 -1
  50. package/dist/cdn/{ABL2KXLF.js → VK6ZOC6A.js} +1 -1
  51. package/dist/cdn/{QUXKMFKN.js → WNH3PY6X.js} +1 -1
  52. package/dist/cdn/{TXNMM6GI.js → WU7QCA5H.js} +1 -1
  53. package/dist/cdn/{4IPMIMO5.js → WZ22NICV.js} +1 -1
  54. package/dist/cdn/{RG2D7ZRS.js → Y2ROEEOX.js} +2 -2
  55. package/dist/cdn/{JL4NGXC2.js → YXJJ5QPI.js} +1 -1
  56. package/dist/cdn/{VMGLKQNQ.js → ZPOWEU76.js} +1 -1
  57. package/dist/cdn/{VFVRYSDK.js → ZT5TOVYM.js} +1 -1
  58. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  59. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  60. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  61. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  62. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
  63. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
  64. package/dist/cdn/index.js +1 -1
  65. package/dist/chunks/cardsHelpers.js +3 -3
  66. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +2 -0
  67. package/dist/components/arcgis-solutions-assistant/customElement.js +7973 -7270
  68. package/dist/components/solution-builder-assistant/customElement.js +57 -57
  69. package/dist/components/solution-deployed-card-panel/customElement.d.ts +2 -0
  70. package/dist/components/solution-deployed-card-panel/customElement.js +50 -38
  71. package/dist/components/solution-details-panel/customElement.js +14 -10
  72. package/dist/components/solution-item-accordion/customElement.js +1 -1
  73. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  74. package/dist/components/solutions-deployed-list/customElement.d.ts +2 -0
  75. package/dist/components/solutions-deployed-list/customElement.js +29 -24
  76. package/dist/docs/api.json +1 -1
  77. package/dist/docs/docs.json +1 -1
  78. package/dist/docs/web-types.json +1 -1
  79. package/dist/loader.js +3 -3
  80. package/dist/solutions-components_commit.txt +7 -7
  81. package/dist/types/lumina.d.ts +1 -1
  82. package/dist/types/preact.d.ts +1 -1
  83. package/dist/types/react.d.ts +1 -1
  84. package/dist/types/stencil.d.ts +1 -1
  85. package/package.json +1 -1
  86. package/dist/cdn/7HBL3GLY.js +0 -2
  87. package/dist/cdn/ANSQV6XB.js +0 -2
  88. package/dist/cdn/IND3UUYC.js +0 -2
  89. package/dist/cdn/RR6KWZJ6.js +0 -2
@@ -23,6 +23,7 @@ export abstract class SolutionDeployedCardPanel extends LitElement {
23
23
  mustOwnSolution: string;
24
24
  viewTheDiagram: string;
25
25
  learnMoreNewVersion: string;
26
+ openDetails: string;
26
27
  showMoreSummary: string;
27
28
  solutionsContentsAndCount: string;
28
29
  solutionDocumentation: string;
@@ -45,6 +46,7 @@ export abstract class SolutionDeployedCardPanel extends LitElement {
45
46
  mustOwnSolution: string;
46
47
  viewTheDiagram: string;
47
48
  learnMoreNewVersion: string;
49
+ openDetails: string;
48
50
  showMoreSummary: string;
49
51
  solutionsContentsAndCount: string;
50
52
  solutionDocumentation: string;
@@ -1,32 +1,32 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as u } from "../../chunks/runtime.js";
3
- import { u as m } from "../../chunks/useT9n.js";
4
- import { LitElement as f, createEvent as r, safeClassMap as b, nothing as d } from "@arcgis/lumina";
5
- import { useContextConsumer as g } from "@arcgis/lumina/context";
6
- import { css as x, html as i } from "lit";
7
- import { c as _, i as v } from "../../chunks/deployAppContexts.js";
8
- import { y, T as s, x as w } from "../../chunks/interfaces.js";
9
- import { f as C, a as p, b as $ } from "../../chunks/cardsHelpers.js";
10
- import { g as D } from "../../chunks/getRelatedInfos.js";
11
- import { u as S } from "../../chunks/common.js";
2
+ import { c as m } from "../../chunks/runtime.js";
3
+ import { u as f } from "../../chunks/useT9n.js";
4
+ import { LitElement as b, createEvent as r, safeClassMap as x, nothing as d } from "@arcgis/lumina";
5
+ import { useContextConsumer as p } from "@arcgis/lumina/context";
6
+ import { css as _, html as i } from "lit";
7
+ import { c as v, i as y } from "../../chunks/deployAppContexts.js";
8
+ import { y as w, T as l, x as C } from "../../chunks/interfaces.js";
9
+ import { f as g, a as $, b as h } from "../../chunks/cardsHelpers.js";
10
+ import { g as S } from "../../chunks/getRelatedInfos.js";
11
+ import { u as D } from "../../chunks/common.js";
12
12
  import { j as k, i as T } from "../../chunks/helpers.js";
13
- import * as h from "@esri/solution-common";
14
- const I = x`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`;
15
- class O extends f {
13
+ import * as u from "@esri/solution-common";
14
+ const I = _`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`;
15
+ class O extends b {
16
16
  constructor() {
17
- super(), this.diagramKey = "", this.open = !1, this.templateInfos = [], this._accordionLoading = !1, this._configureTitlesOpen = !1, this._deleteDialogOpen = !1, this._hasNewVersion = !1, this._isDiagramOpen = !1, this._isNameConflict = !1, this._invalidNameMessage = "", this._showFailedAlert = !1, this._showItemUpdateLoading = !1, this.isMobile = !1, this._templateInfoGraph = [], this._thumbnailUrl = "", this._folderName = "", this._folderId = null, this._folderLoading = !1, this._translations = m({ name: "solution-deployed-card-panel", blocking: !0 }), this._configContextConsumer = g({
18
- context: _,
17
+ super(), this.diagramKey = "", this.open = !1, this.templateInfos = [], this._accordionLoading = !1, this._configureTitlesOpen = !1, this._deleteDialogOpen = !1, this._hasNewVersion = !1, this._isDiagramOpen = !1, this._isNameConflict = !1, this._invalidNameMessage = "", this._showFailedAlert = !1, this._showItemUpdateLoading = !1, this.isMobile = !1, this._templateInfoGraph = [], this._thumbnailUrl = "", this._folderName = "", this._folderId = null, this._folderLoading = !1, this._translations = f({ name: "solution-deployed-card-panel", blocking: !0 }), this._configContextConsumer = p({
18
+ context: v,
19
19
  subscribe: !0,
20
20
  callback: async (e) => {
21
- e && (this._isOrgAdmin = y(e.authentication), this._user = e.authentication?.Portal?.user);
21
+ e && (this._isOrgAdmin = w(e.authentication), this._user = e.authentication?.Portal?.user);
22
22
  }
23
- }), this._isOrgAdmin = !1, this._isMobileContextConsumer = g({
24
- context: v,
23
+ }), this._isOrgAdmin = !1, this._isMobileContextConsumer = p({
24
+ context: y,
25
25
  subscribe: !0,
26
26
  callback: (e) => this.isMobile = e
27
27
  }), this.navTabSelected = r(), this.forceSelectTab = r(), this.sortTypeChanged = r(), this.solutionConfigureDialogClose = r(), this._nonSolutionDependencyItems = [], this._openFolder = (e) => {
28
28
  e.stopPropagation(), this._telemetry?.logEvent({
29
- category: s.DEPLOYMENTS,
29
+ category: l.DEPLOYMENTS,
30
30
  action: "Open Folder",
31
31
  dimensions: [
32
32
  this.card?.title || "",
@@ -41,11 +41,23 @@ class O extends f {
41
41
  const o = this._configContextConsumer.value?.userSession?.username, n = this.card?.owner === o;
42
42
  let a;
43
43
  if (n) {
44
- const l = this._folderId || this.card?.owner;
45
- a = `${t}/home/content.html?folder=${l}`;
44
+ const s = this._folderId || this.card?.owner;
45
+ a = `${t}/home/content.html?folder=${s}`;
46
46
  } else
47
47
  this._folderId ? a = `${t}/home/content.html?user=${this.card?.owner}&folder=${this._folderId}` : a = `${t}/home/content.html?user=${this.card?.owner}&folder=${this.card?.owner}`;
48
48
  window.open(a, "_blank");
49
+ }, this._openSourceSolutionDetails = async (e) => {
50
+ e.stopPropagation(), this._telemetry?.logEvent({
51
+ category: l.DEPLOYMENTS,
52
+ action: "Open Details",
53
+ dimensions: [
54
+ this.card?.title || "",
55
+ this.card?.deployCommonId || "",
56
+ this.card?.deployVersion || ""
57
+ ]
58
+ }), await new Promise((o) => setTimeout(o, 100));
59
+ const t = g(this._configContextConsumer.value.allCards, this.card.deployCommonId);
60
+ t && this.forceSelectTab.emit({ tabType: "details", tabTitleOrId: t });
49
61
  }, this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected), this.listenOn(window, "displayDeployedCard", () => {
50
62
  k({
51
63
  kind: "success",
@@ -86,13 +98,13 @@ class O extends f {
86
98
  async _deployedCardSelected(e) {
87
99
  const t = e.detail;
88
100
  this.card = t.card, this.cardRef = t.cardRef, this.templateInfos = [], this._accordionLoading = !0, this.templateInfos = await this._getTemplates(), this._accordionLoading = !1;
89
- const o = await D(this._configContextConsumer.value.userSession, this.card);
101
+ const o = await S(this._configContextConsumer.value.userSession, this.card);
90
102
  this._nonSolutionDependencyItems = o._nonSolutionDependencyItems;
91
- const n = C(this._configContextConsumer.value?.allCards || [], this.card.deployCommonId);
103
+ const n = $(this._configContextConsumer.value?.allCards || [], this.card.deployCommonId);
92
104
  let a = !1;
93
105
  if (n) {
94
- const l = p(n), c = p(this.card);
95
- a = l > c;
106
+ const s = h(n), c = h(this.card);
107
+ a = s > c;
96
108
  }
97
109
  this._hasNewVersion = a, this._folderLoading = !0, this._folderName = "", this._folderId = null, await this._fetchFolderInfo(), this._folderLoading = !1;
98
110
  }
@@ -100,8 +112,8 @@ class O extends f {
100
112
  e.detail === "deployed-card" && this.sortTypeChanged.emit("");
101
113
  }
102
114
  _getButtons() {
103
- const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, o = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, n = this.card?.owner === e || this._isOrgAdmin || t, a = this.card?.owner === e || this._isOrgAdmin || o, l = n ? "display-none" : "", c = this.isMobile ? "padding-lg" : "padding-xxl";
104
- return i`<div class=${`display-flex flex-direction-column ${c}`}>${!this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openDiagram}>${this._translations.viewTheDiagram}</calcite-button>` || ""}<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._viewDocumentation}>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openItemDetails}>${this._translations.itemDetails}</calcite-button>${n && !this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog}>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${b(l)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>` || ""}${a && !this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button>` || ""}</div>`;
115
+ const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, o = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, n = this.card?.owner === e || this._isOrgAdmin || t, a = this.card?.owner === e || this._isOrgAdmin || o, s = n ? "display-none" : "", c = this.isMobile ? "padding-lg" : "padding-xxl";
116
+ return i`<div class=${`display-flex flex-direction-column ${c}`}>${!this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openDiagram}>${this._translations.viewTheDiagram}</calcite-button>` || ""}<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._viewDocumentation}>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openItemDetails}>${this._translations.itemDetails}</calcite-button>${n && !this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog}>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${x(s)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>` || ""}${a && !this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button>` || ""}</div>`;
105
117
  }
106
118
  _openConfigureTitlesDialog() {
107
119
  this._configureTitlesOpen = !0;
@@ -115,7 +127,7 @@ class O extends f {
115
127
  }
116
128
  _viewDocumentation(e) {
117
129
  e.stopPropagation(), this._telemetry?.logEvent({
118
- category: s.DEPLOYMENTS,
130
+ category: l.DEPLOYMENTS,
119
131
  action: "Open Help",
120
132
  dimensions: [
121
133
  this.card?.title || "",
@@ -127,7 +139,7 @@ class O extends f {
127
139
  }
128
140
  _openItemDetails(e) {
129
141
  e.stopPropagation(), this._telemetry?.logEvent({
130
- category: s.DEPLOYMENTS,
142
+ category: l.DEPLOYMENTS,
131
143
  action: "Open Item Details",
132
144
  dimensions: [
133
145
  this.card?.title || "",
@@ -147,7 +159,7 @@ class O extends f {
147
159
  e.stopPropagation();
148
160
  const t = await this._getTemplates();
149
161
  t && (this._telemetry?.logEvent({
150
- category: s.DEPLOYMENTS,
162
+ category: l.DEPLOYMENTS,
151
163
  action: "View Diagram",
152
164
  dimensions: [
153
165
  this.card?.title || "",
@@ -158,7 +170,7 @@ class O extends f {
158
170
  }), this._templateInfoGraph = t, this._isDiagramOpen = !0);
159
171
  }
160
172
  async _getTemplates() {
161
- return this.cardRef ? await this.cardRef.getTemplates() : this.card ? await w(this.card.id, this._configContextConsumer.value.userSession) : void 0;
173
+ return this.cardRef ? await this.cardRef.getTemplates() : this.card ? await C(this.card.id, this._configContextConsumer.value.userSession) : void 0;
162
174
  }
163
175
  async _fetchFolderInfo() {
164
176
  if (this.card?.id)
@@ -166,9 +178,9 @@ class O extends f {
166
178
  const e = this._configContextConsumer.value?.userSession;
167
179
  if (!e)
168
180
  return;
169
- const t = await h.getItemBase(this.card.id, e);
181
+ const t = await u.getItemBase(this.card.id, e);
170
182
  if (this._folderId = t.ownerFolder ?? null, this._folderId) {
171
- const o = await h.getUserFolder(this.card.owner, this._folderId, e);
183
+ const o = await u.getUserFolder(this.card.owner, this._folderId, e);
172
184
  this._folderName = o?.currentFolder?.title || this._folderId;
173
185
  } else
174
186
  this._folderName = this.card.owner || "Root";
@@ -182,11 +194,11 @@ class O extends f {
182
194
  }
183
195
  _getSolutionVersionCard() {
184
196
  const e = this._hasNewVersion ? this._translations.newVersionAvailable : this._translations.youHaveTheLatestVersion, t = this.isMobile ? "padding-lg" : "padding-xxl";
185
- return i`<div class=${`${t} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}", this.card?.deployVersion || "")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion ? i`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.learnMoreNewVersion}</calcite-button>` : ""}</div>`;
197
+ return i`<div class=${`${t} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}", this.card?.deployVersion || "")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion ? i`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.learnMoreNewVersion}</calcite-button>` : i`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openSourceSolutionDetails} width=full>${this._translations.openDetails}</calcite-button>`}</div>`;
186
198
  }
187
199
  async _openNewVersionSolution(e) {
188
200
  e.stopPropagation(), this._telemetry?.logEvent({
189
- category: s.DEPLOYMENTS,
201
+ category: l.DEPLOYMENTS,
190
202
  action: "View Latest Version",
191
203
  dimensions: [
192
204
  this.card?.title || "",
@@ -194,7 +206,7 @@ class O extends f {
194
206
  this.card?.deployVersion || ""
195
207
  ]
196
208
  }), await new Promise((o) => setTimeout(o, 100));
197
- const t = $(this._configContextConsumer.value.allCards, this.card.deployCommonId);
209
+ const t = g(this._configContextConsumer.value.allCards, this.card.deployCommonId);
198
210
  t && this.forceSelectTab.emit({ tabType: "details", tabTitleOrId: t });
199
211
  }
200
212
  _getSolutionPanel() {
@@ -218,10 +230,10 @@ class O extends f {
218
230
  this._deleteDialogOpen = !0;
219
231
  }
220
232
  _updateThumbnailToken(e) {
221
- this._thumbnailUrl !== "" && (this._thumbnailUrl = S(this._thumbnailUrl, e));
233
+ this._thumbnailUrl !== "" && (this._thumbnailUrl = D(this._thumbnailUrl, e));
222
234
  }
223
235
  }
224
- u("solution-deployed-card-panel", O);
236
+ m("solution-deployed-card-panel", O);
225
237
  export {
226
238
  O as SolutionDeployedCardPanel
227
239
  };
@@ -201,18 +201,22 @@ class ie extends S {
201
201
  }
202
202
  _renderChips(e) {
203
203
  const t = e.filter((s) => s === "deployed" || s === "deployedOlderVersion"), i = e.filter((s) => s !== "deployed" && s !== "deployedOlderVersion"), o = [];
204
- return i.forEach((s) => {
204
+ if (i.forEach((s) => {
205
205
  const a = "margin-bottom-1-5 margin-sides-1 chip-status", r = `solution-details-card-chip-${s}`, d = s === "new" ? "star" : "mega-phone", n = s === "new" ? this._translations.newChip : this._translations.updatedChip;
206
206
  o.push(l`<calcite-chip class=${g(a)} .icon=${d} id=${r ?? _} .label=${n} .value=${n} scale=s></calcite-chip><calcite-tooltip .referenceElement=${r}><span>${n}</span></calcite-tooltip>`);
207
- }), t.length > 0 && o.push(l`<calcite-chip class=${g(i.length > 0 ? t[0] === "deployedOlderVersion" ? "chip-deployed-warn" : "chip-deployed" : "margin-bottom-1-5 margin-sides-1 chip-status" + " chip-deployed")} .icon=${t[0] === "deployedOlderVersion" ? "recent" : "check-circle"} id=solution-details-card-chip-deployed .label=${this._translations.deployedChip} .value=${this._translations.deployedChip} scale=s></calcite-chip><calcite-tooltip placement=bottom reference-element=solution-details-card-chip-deployed @calciteTooltipBeforeOpen=${async () => {
208
- const a = {
209
- q: `${this.card?.deployCommonId} and owner:${this._configContextConsumer.value?.userSession?.username}`,
210
- authentication: this._configContextConsumer.value?.userSession,
211
- pagingParam: { start: 1, num: 100 }
212
- }, r = await R.searchItems(a);
213
- this._deployedTooltipContent = l`<solutions-deployed-list .results=${r} has-links .listTitle=${t[0] === "deployedOlderVersion" ? this._translations.deployedPreviousTitle : this._translations.deployedTitle}></solutions-deployed-list>`;
214
- }} @calciteTooltipBeforeClose=${() => {
215
- }}>${this._deployedTooltipContent}</calcite-tooltip>`), o;
207
+ }), t.length > 0) {
208
+ let s = "margin-bottom-1-5 margin-sides-1 chip-status";
209
+ i.length > 0 ? s = t[0] === "deployedOlderVersion" ? "chip-deployed-warn" : "chip-deployed" : s += t[0] === "deployedOlderVersion" ? " chip-deployed-warn" : " chip-deployed", o.push(l`<calcite-chip class=${g(s)} .icon=${t[0] === "deployedOlderVersion" ? "recent" : "check-circle"} id=solution-details-card-chip-deployed .label=${this._translations.deployedChip} .value=${this._translations.deployedChip} scale=s></calcite-chip><calcite-tooltip placement=bottom reference-element=solution-details-card-chip-deployed @calciteTooltipBeforeOpen=${async () => {
210
+ const a = {
211
+ q: `${this.card?.deployCommonId} and owner:${this._configContextConsumer.value?.userSession?.username}`,
212
+ authentication: this._configContextConsumer.value?.userSession,
213
+ pagingParam: { start: 1, num: 100 }
214
+ }, r = await R.searchItems(a);
215
+ this._deployedTooltipContent = l`<solutions-deployed-list .results=${r} has-links .listTitle=${t[0] === "deployedOlderVersion" ? this._translations.deployedPreviousTitle : this._translations.deployedTitle}></solutions-deployed-list>`;
216
+ }} @calciteTooltipBeforeClose=${() => {
217
+ }}>${this._deployedTooltipContent}</calcite-tooltip>`);
218
+ }
219
+ return o;
216
220
  }
217
221
  _getButtons() {
218
222
  const e = this._itemProperties?.demoURL || "";
@@ -152,7 +152,7 @@ class v extends g {
152
152
  }
153
153
  _getWarningChip(e, i, t, s) {
154
154
  const n = i === "info" ? "var(--calcite-color-status-info)" : "var(--calcite-color-status-danger)";
155
- return o`<div slot=actions-end><calcite-chip .icon=${i === "info" ? "information" : "exclamation-mark-triangle"} .id=${t + "-warning"} kind=neutral .label=${e} scale=s style=${y({ "--calcite-chip-icon-color": n, cursor: s && s.length > 0 ? "pointer" : "default" })}>${e}</calcite-chip>${s && s.length > 0 ? o`<calcite-tooltip class=solution-list-item-content placement=bottom .referenceElement=${`${t}-warning`} scale=s @calciteTooltipBeforeOpen=${async () => {
155
+ return o`<div slot=actions-end><calcite-chip .icon=${i === "info" ? "information" : "exclamation-mark-triangle"} .id=${t + "-warning"} kind=neutral .label=${e} scale=s style=${y({ "--calcite-chip-icon-color": n, cursor: s && s.length > 0 ? "pointer" : "default" })}>${e}</calcite-chip>${s && s.length > 0 ? o`<calcite-tooltip class=solution-list-item-content placement=bottom .referenceElement=${`${t}-warning`} scale=m @calciteTooltipBeforeOpen=${async () => {
156
156
  const a = {
157
157
  q: s.map((d) => `id:${d.dependencyItemId}`).join(" OR "),
158
158
  authentication: this._configContextConsumer.value?.userSession,
@@ -11,7 +11,7 @@ import { C as y } from "../../chunks/CardsFetcher.js";
11
11
  import { g as O } from "../../chunks/cardFetchingUtils.js";
12
12
  import { useContextProvider as _ } from "@arcgis/lumina/context";
13
13
  import { c as F, b as L, i as $ } from "../../chunks/deployAppContexts.js";
14
- import { h as E, f as P } from "../../chunks/cardsHelpers.js";
14
+ import { h as E, a as P } from "../../chunks/cardsHelpers.js";
15
15
  import "@esri/solution-common";
16
16
  import "@arcgis/core/identity/IdentityManager.js";
17
17
  import "@arcgis/core/identity/OAuthInfo.js";
@@ -25,6 +25,8 @@ export abstract class SolutionsDeployedList extends LitElement {
25
25
  * @default ''
26
26
  */
27
27
  accessor listTitle: string;
28
+ /** List of deployed cards for navigation */
29
+ accessor referenceCards: IDeployCard[];
28
30
  /** The results of a dependency query */
29
31
  accessor results: portal.ISearchResult<common.IItem> | null;
30
32
  /** Emitted on demand when the details card is selected. */
@@ -1,55 +1,60 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as s } from "../../chunks/runtime.js";
3
- import { css as l, html as i } from "lit";
4
- import { u as o } from "../../chunks/useT9n.js";
5
- import { LitElement as n, createEvent as r } from "@arcgis/lumina";
6
- import { c } from "../../chunks/deployAppContexts.js";
7
- import { useContextConsumer as a } from "@arcgis/lumina/context";
8
- import { C as d } from "../../chunks/CardsFetcher.js";
2
+ import { c as l } from "../../chunks/runtime.js";
3
+ import { css as o, html as i } from "lit";
4
+ import { u as n } from "../../chunks/useT9n.js";
5
+ import { LitElement as r, createEvent as c } from "@arcgis/lumina";
6
+ import { c as a } from "../../chunks/deployAppContexts.js";
7
+ import { useContextConsumer as d } from "@arcgis/lumina/context";
8
+ import { C as u } from "../../chunks/CardsFetcher.js";
9
9
  import "@esri/solution-common";
10
- import { s as u } from "../../chunks/helpers.js";
11
- const m = l`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`;
12
- class f extends n {
10
+ import { s as m } from "../../chunks/helpers.js";
11
+ const h = o`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`;
12
+ class f extends r {
13
13
  constructor() {
14
- super(), this.results = null, this.hasLinks = !1, this.listTitle = "", this._translations = o({ name: "solutions-deployed-list", blocking: !0 }), this._cardsFetcher = null, this._configContextConsumer = a({
15
- context: c,
14
+ super(), this.referenceCards = [], this.results = null, this.hasLinks = !1, this.listTitle = "", this._translations = n({ name: "solutions-deployed-list", blocking: !0 }), this._cardsFetcher = null, this._configContextConsumer = d({
15
+ context: a,
16
16
  subscribe: !0
17
- }), this.deployedCardSelected = r();
17
+ }), this.deployedCardSelected = c();
18
18
  }
19
19
  static {
20
- this.properties = { results: 0, hasLinks: 5, listTitle: 1, _translations: 16, _cardsFetcher: 16 };
20
+ this.properties = { referenceCards: 0, results: 0, hasLinks: 5, listTitle: 1, _translations: 16, _cardsFetcher: 16 };
21
21
  }
22
22
  static {
23
- this.styles = m;
23
+ this.styles = h;
24
24
  }
25
25
  async load() {
26
26
  if (this._configContextConsumer?.value) {
27
27
  const t = this._configContextConsumer.value;
28
- this._cardsFetcher = new d(t.locale, t.orgUrl, t.portalURL);
28
+ this._cardsFetcher = new u(t.locale, t.orgUrl, t.portalURL);
29
29
  }
30
30
  }
31
31
  disconnectedCallback() {
32
32
  super.disconnectedCallback();
33
33
  }
34
34
  render() {
35
- return this.results ? i`${this.listTitle !== "" && i`<div>${this.listTitle}</div>` || ""}<calcite-list label="dependency list">${this._renderCards()}</calcite-list>` : i`<div class="no-solutions"></div>`;
35
+ return this.results ? i`${this.listTitle !== "" && i`<div>${this.listTitle}</div>` || ""}${this.hasLinks ? i`<calcite-list label="dependency list">${this._renderCards()}</calcite-list>` : i`<calcite-list label="dependency list" selection-mode=none interaction-mode=static>${this._renderCards()}</calcite-list>`}` : i`<div class="no-solutions"></div>`;
36
36
  }
37
37
  _renderCards() {
38
38
  if (this._cardsFetcher && this.results) {
39
39
  const t = { ...this.results };
40
- return t.results = u(t.results), this._cardsFetcher.getCardsFromResponse(t).map((e) => i`<calcite-list-item .label=${e.title} @calciteListItemSelect=${() => {
41
- this._cardSelected(e);
40
+ return t.results = m(t.results), this._cardsFetcher.getCardsFromResponse(t).map((e) => i`<calcite-list-item .label=${e.title} @calciteListItemSelect=${() => {
41
+ this.hasLinks && this._cardSelected(e);
42
42
  }} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${this.hasLinks ? "underline" : ""}`}>${e.title}</div><div class="solution-list-item-description">${`${this._translations.deployedVersion} ${e.deployVersion} - ${new Date(e.created).toLocaleDateString(this._configContextConsumer.value?.locale, { year: "numeric", month: "long", day: "numeric" })}`}</div></div></calcite-list-item>`);
43
43
  }
44
44
  return [];
45
45
  }
46
- _cardSelected(t) {
47
- this.deployedCardSelected.emit({
48
- card: t
49
- });
46
+ async _cardSelected(t) {
47
+ const s = {
48
+ tabType: "deployed-card",
49
+ tabTitleOrId: t.id
50
+ };
51
+ window.dispatchEvent(new CustomEvent("forceSelectTab", {
52
+ detail: s
53
+ // Pass the payload here
54
+ }));
50
55
  }
51
56
  }
52
- s("solutions-deployed-list", f);
57
+ l("solutions-deployed-list", f);
53
58
  export {
54
59
  f as SolutionsDeployedList
55
60
  };