@esri/solutions-components 5.1.0-next.64 → 5.1.0-next.66

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 (83) hide show
  1. package/dist/cdn/{KXQ6EA36.js → 33OQKT4F.js} +1 -1
  2. package/dist/cdn/{O3A436MI.js → 3CEPDBZC.js} +1 -1
  3. package/dist/cdn/{GRBH2MOX.js → 3XPKAEMR.js} +1 -1
  4. package/dist/cdn/{5PIM2BOZ.js → 3XX5UDIU.js} +1 -1
  5. package/dist/cdn/{IU6ZANQW.js → 42WASQMZ.js} +1 -1
  6. package/dist/cdn/{2GS5DXMX.js → 43HTXWT4.js} +1 -1
  7. package/dist/cdn/{CPKTXSK2.js → 4NCV4IWX.js} +1 -1
  8. package/dist/cdn/4WTAL6YU.js +2 -0
  9. package/dist/cdn/{3KVDFRXD.js → 4YB7FA37.js} +1 -1
  10. package/dist/cdn/{V66MBBFA.js → 5JF3GXG7.js} +1 -1
  11. package/dist/cdn/{NFRTFOHF.js → 65Q3GK3L.js} +1 -1
  12. package/dist/cdn/{ZSJ55A7H.js → 6LHM6EFD.js} +1 -1
  13. package/dist/cdn/{JSI6JODX.js → 7WQMX5XY.js} +1 -1
  14. package/dist/cdn/{NH3ESMSN.js → A6L4SLVT.js} +1 -1
  15. package/dist/cdn/{DIUHLPYD.js → ACH7OUDZ.js} +1 -1
  16. package/dist/cdn/{CLF2PJYC.js → BF6NM5HV.js} +1 -1
  17. package/dist/cdn/{GQWWZGLF.js → BXXN7BIC.js} +1 -1
  18. package/dist/cdn/{4Y4JREZI.js → CACSAX3Q.js} +1 -1
  19. package/dist/cdn/D6EAKAAG.js +2 -0
  20. package/dist/cdn/{PTWSYW3E.js → DV2IPJEK.js} +1 -1
  21. package/dist/cdn/{YNERGBJG.js → DVCONGYS.js} +1 -1
  22. package/dist/cdn/{BMOMM64K.js → E7RDA5B4.js} +1 -1
  23. package/dist/cdn/{N3EAHFBX.js → FFYAX3YU.js} +1 -1
  24. package/dist/cdn/{ONSABHYA.js → GUKPMOPC.js} +1 -1
  25. package/dist/cdn/{UQTAX7HB.js → I2AQZTRJ.js} +1 -1
  26. package/dist/cdn/{FLRIF3C7.js → JCTGE6OA.js} +1 -1
  27. package/dist/cdn/{BK7LW2RY.js → LE6OUXPN.js} +1 -1
  28. package/dist/cdn/{A6HMNEQC.js → N73GF6WL.js} +1 -1
  29. package/dist/cdn/{MAUD35WR.js → OPJPVHX6.js} +1 -1
  30. package/dist/cdn/{7ZN2BMYK.js → PBWC3QFN.js} +1 -1
  31. package/dist/cdn/{KRWRWUTJ.js → QF3LZFWW.js} +1 -1
  32. package/dist/cdn/R2WYNBYU.js +2 -0
  33. package/dist/cdn/{H2PJ6QZT.js → SMPEVMDE.js} +1 -1
  34. package/dist/cdn/{5TB2UXTT.js → SUN2LQ7K.js} +1 -1
  35. package/dist/cdn/{IMN5BMIM.js → TMRCJ23T.js} +1 -1
  36. package/dist/cdn/{DYJGZIDV.js → TYSZL2RK.js} +1 -1
  37. package/dist/cdn/{HUJNR7CU.js → UW2E725I.js} +1 -1
  38. package/dist/cdn/V75TSZXZ.js +2 -0
  39. package/dist/cdn/{BFKX5BLC.js → WFZYVS4A.js} +1 -1
  40. package/dist/cdn/{CWGUKAP6.js → WLKDLZCS.js} +1 -1
  41. package/dist/cdn/{U4EZHJYT.js → ZH6LQCHJ.js} +1 -1
  42. package/dist/cdn/ZPKQMASX.js +2 -0
  43. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
  44. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
  45. package/dist/cdn/index.js +1 -1
  46. package/dist/chunks/cardFetchingUtils.js +12 -12
  47. package/dist/chunks/helpers.js +44 -38
  48. package/dist/chunks/solution-deploy-dialog.js +1 -1
  49. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  50. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  51. package/dist/components/solution-deployed-card/customElement.js +1 -1
  52. package/dist/components/solution-deployed-card-panel/customElement.d.ts +4 -0
  53. package/dist/components/solution-deployed-card-panel/customElement.js +103 -57
  54. package/dist/components/solution-deployed-card-panel/index.js +0 -1
  55. package/dist/components/solution-details-card/customElement.js +1 -1
  56. package/dist/components/solution-details-panel/customElement.js +5 -5
  57. package/dist/components/solution-item-accordion/customElement.d.ts +4 -2
  58. package/dist/components/solution-item-accordion/customElement.js +3 -3
  59. package/dist/components/solution-resource-card/customElement.js +1 -1
  60. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  61. package/dist/components/solution-social-share/customElement.js +1 -1
  62. package/dist/components/solution-user-avatar/customElement.js +1 -1
  63. package/dist/components/solutions-all-panel/customElement.js +1 -1
  64. package/dist/components/solutions-deploy-app/customElement.js +36 -25
  65. package/dist/components/solutions-deploy-app/index.js +1 -0
  66. package/dist/components/solutions-deployed-panel/customElement.js +32 -23
  67. package/dist/components/solutions-deployed-panel/index.js +0 -1
  68. package/dist/components/solutions-deployed-shell/customElement.js +24 -20
  69. package/dist/components/solutions-deployed-shell/index.js +0 -1
  70. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  71. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  72. package/dist/docs/api.json +1 -1
  73. package/dist/docs/docs.json +1 -1
  74. package/dist/docs/vscode.html-custom-data.json +1 -1
  75. package/dist/docs/web-types.json +1 -1
  76. package/dist/solutions-components_commit.txt +8 -5
  77. package/dist/utils/interfaces.d.ts +10 -0
  78. package/package.json +1 -1
  79. package/dist/cdn/BDCGPJPJ.js +0 -2
  80. package/dist/cdn/CF6JSZPY.js +0 -2
  81. package/dist/cdn/GFW4PBUK.js +0 -2
  82. package/dist/cdn/PQIJUUY3.js +0 -2
  83. package/dist/cdn/ZMQ6KCYQ.js +0 -2
@@ -1,32 +1,33 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as g } from "../../chunks/runtime.js";
3
- import { css as f, html as b } from "lit";
4
- import { u as v } from "../../chunks/useT9n.js";
5
- import { LitElement as C, createEvent as d, safeClassMap as p } from "@arcgis/lumina";
6
- import { T as _ } from "../../chunks/solutions-deploy-app-nav.js";
7
- import { a as S, F as w, B as F, e as D, T as c } from "../../chunks/helpers.js";
2
+ import { c as m } from "../../chunks/runtime.js";
3
+ import { css as f, html as h } from "lit";
4
+ import { repeat as v } from "lit/directives/repeat.js";
5
+ import { u as C } from "../../chunks/useT9n.js";
6
+ import { LitElement as S, createEvent as d, safeClassMap as _ } from "@arcgis/lumina";
7
+ import { T as p } from "../../chunks/solutions-deploy-app-nav.js";
8
+ import { a as w, F as D, B as F, e as I, T as c } from "../../chunks/helpers.js";
8
9
  import { createRef as o, ref as l } from "lit-html/directives/ref.js";
9
- import { C as y, g as I } from "../../chunks/cardFetchingUtils.js";
10
+ import { C as y, g as x } from "../../chunks/cardFetchingUtils.js";
10
11
  import { useContextProvider as T } from "@arcgis/lumina/context";
11
- import { c as x, i as O } from "../../chunks/deployAppContexts.js";
12
- import { h as E, f as k } from "../../chunks/cardsHelpers.js";
12
+ import { c as O, i as A } from "../../chunks/deployAppContexts.js";
13
+ import { h as k, f as E } from "../../chunks/cardsHelpers.js";
13
14
  import "@esri/solution-common";
14
15
  import "@arcgis/core/identity/IdentityManager.js";
15
16
  import "@arcgis/core/identity/OAuthInfo.js";
16
17
  import "@arcgis/core/portal/Portal.js";
17
18
  import "@arcgis/core/intl.js";
18
- import { _ as A } from "../../chunks/solution-deploy-dialog.js";
19
+ import { _ as $ } from "../../chunks/solution-deploy-dialog.js";
19
20
  import "../solutions-all-shell/customElement.js";
20
21
  import "../solutions-deployed-shell/customElement.js";
21
22
  import "../solution-details-panel/customElement.js";
22
23
  import "../solution-deployed-card-panel/customElement.js";
23
24
  const M = f`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-3);height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}`;
24
- class L extends C {
25
+ class L extends S {
25
26
  constructor() {
26
- super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._translations = v({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${S}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = T({ context: x }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._isMobileContextProvider = T({ context: O }), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new _(), this.deployAppTabSelected = d(), this.deployedCardFetchFailed = d(), this.detailsCardSelected = d(), this.deployedCardSelected = d(), this.metaTagStringsReady = d(), this.sessionRefreshed = d(), this.tabChanged = d(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (t) => this.selectTab(t.detail, {})), this._mediaQueryChange = this._mediaQueryChange.bind(this);
27
+ super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = C({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${w}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = T({ context: O }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._isMobileContextProvider = T({ context: A }), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new p(), this.deployAppTabSelected = d(), this.deployedCardFetchFailed = d(), this.detailsCardSelected = d(), this.deployedCardSelected = d(), this.metaTagStringsReady = d(), this.sessionRefreshed = d(), this.tabChanged = d(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (t) => this.selectTab(t.detail, {})), this.listenOn(window, "showGlobalAlert", this._handleShowGlobalAlert), this._mediaQueryChange = this._mediaQueryChange.bind(this);
27
28
  }
28
29
  static {
29
- this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _activeTab: 16, _showDeployedCardFetchFailed: 16, _translations: 16 };
30
+ this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _activeTab: 16, _showDeployedCardFetchFailed: 16, _globalAlerts: 16, _translations: 16 };
30
31
  }
31
32
  static {
32
33
  this.styles = M;
@@ -59,8 +60,8 @@ class L extends C {
59
60
  await this.authentication?.signIn();
60
61
  case "details":
61
62
  if (this._allCards) {
62
- let s = E(this._allCards, t.tabTitleOrId);
63
- s = s || k(this._allCards, t.tabTitleOrId), s ? (this._detailsTab.value.selected = !0, this._detailsTabTitle.value.selected = !0, this.detailsCardSelected.emit(s)) : (t.tabType = "all-solutions", this._allTab.value.selected = !0, this._allTabTitle.value.selected = !0);
63
+ let s = k(this._allCards, t.tabTitleOrId);
64
+ s = s || E(this._allCards, t.tabTitleOrId), s ? (this._detailsTab.value.selected = !0, this._detailsTabTitle.value.selected = !0, this.detailsCardSelected.emit(s)) : (t.tabType = "all-solutions", this._allTab.value.selected = !0, this._allTabTitle.value.selected = !0);
64
65
  }
65
66
  break;
66
67
  case "deployments":
@@ -112,13 +113,13 @@ class L extends C {
112
113
  });
113
114
  }
114
115
  async load() {
115
- this.useLocalAppConfig && (this.appConfig = A);
116
+ this.useLocalAppConfig && (this.appConfig = $);
116
117
  }
117
118
  render() {
118
119
  const t = this._isLoaded ? "display-none" : "", e = this._isLoaded ? "" : "display-none";
119
- return b`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${l(this._deployAppNav)}></solutions-deploy-app-nav>${this._isSearchToolbarShowing() && b`<div class="border" slot=header></div>` || ""}<solutions-searchsort-toolbar slot=header ${l(async (i) => {
120
+ return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${l(this._deployAppNav)}></solutions-deploy-app-nav>${this._isSearchToolbarShowing() && h`<div class="border" slot=header></div>` || ""}<solutions-searchsort-toolbar slot=header ${l(async (i) => {
120
121
  i && (await this._deployAppNav.value?.componentOnReady(), this._searchSortToolbar = i);
121
- })}></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${l(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${l(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${l(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${l(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${l(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${l(this._allTab)}><solutions-all-shell class="height-100" ${l(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${l(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${l(this._detailsTab)}><solution-details-panel class="height-100" ${l(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${l(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`;
122
+ })}></solutions-searchsort-toolbar><calcite-loader class=${_(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${l(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${l(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${l(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${l(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${l(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${l(this._allTab)}><solutions-all-shell class="height-100" ${l(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${l(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${l(this._detailsTab)}><solution-details-panel class="height-100" ${l(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${l(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`;
122
123
  }
123
124
  loaded() {
124
125
  this._setScrollbarGutters();
@@ -126,9 +127,12 @@ class L extends C {
126
127
  disconnectedCallback() {
127
128
  super.disconnectedCallback(), this._mediaQuery?.removeEventListener("change", this._mediaQueryChange), this._tabpanelObserver?.disconnect();
128
129
  }
130
+ _renderGlobalAlerts() {
131
+ return v(this._globalAlerts, (t) => t.id, (t) => h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title || ""} @calciteAlertClose=${() => this._removeGlobalAlert(t.id)} open>${t.title && h`<div slot=title>${t.title}</div>` || ""}<div slot=message>${t.message}</div></calcite-alert>`);
132
+ }
129
133
  async _handleAuthInit(t) {
130
134
  const e = t.detail;
131
- e.telemetrySession || (e.telemetrySession = _.getDisabledSession()), this._configContextProvider.setValue(e), e.authentication && (this.authentication = e.authentication), this._cardFetcherDeployed = new y(e.locale, e.orgUrl, e.portalURL), this._cardsFetcher = new y(e.locale, e.orgUrl, e.portalURL), this._isDisconnectedEnvironment || await this._getSolutions(e.primarySolutionsGroupId, e.agoBasedEnterpriseSolutionsGroupId), this._configContextProvider.value.allCards = this._allCards, this._configContextProvider.value.anonAgolSession = this._cardsFetcher.anonAgolSession, this._configContextProvider.value.agolPortalUrl = this._cardsFetcher.agolPortalUrl, await this._initializeTelemetry(), this._isLoaded = !0, this._setRefreshInterval(), this._initTab ? (this.selectTab(this._initTab, this._initFilters), this._logTabViewTelemetry(this._initTab.tabType), this._initTab = void 0, this._initFilters = void 0) : this.authentication?.IsSignedIn && (this.initTab === "details" || this.initTab === "deployed-card" || (this._logTabViewTelemetry(this._activeTab), this._emitMetaTagStrings(this._activeTab)));
135
+ e.telemetrySession || (e.telemetrySession = p.getDisabledSession()), this._configContextProvider.setValue(e), e.authentication && (this.authentication = e.authentication), this._cardFetcherDeployed = new y(e.locale, e.orgUrl, e.portalURL), this._cardsFetcher = new y(e.locale, e.orgUrl, e.portalURL), this._isDisconnectedEnvironment || await this._getSolutions(e.primarySolutionsGroupId, e.agoBasedEnterpriseSolutionsGroupId), this._configContextProvider.value.allCards = this._allCards, this._configContextProvider.value.anonAgolSession = this._cardsFetcher.anonAgolSession, this._configContextProvider.value.agolPortalUrl = this._cardsFetcher.agolPortalUrl, await this._initializeTelemetry(), this._isLoaded = !0, this._setRefreshInterval(), this._initTab ? (this.selectTab(this._initTab, this._initFilters), this._logTabViewTelemetry(this._initTab.tabType), this._initTab = void 0, this._initFilters = void 0) : this.authentication?.IsSignedIn && (this.initTab === "details" || this.initTab === "deployed-card" || (this._logTabViewTelemetry(this._activeTab), this._emitMetaTagStrings(this._activeTab)));
132
136
  }
133
137
  _mediaQueryChange(t) {
134
138
  this.isMobile = t.matches, this._isMobileContextProvider.setValue(this.isMobile);
@@ -224,6 +228,13 @@ class L extends C {
224
228
  const { card: e, cardRef: i } = t.detail;
225
229
  this.deployedCardSelected.emit({ card: e, cardRef: i });
226
230
  }
231
+ _handleShowGlobalAlert(t) {
232
+ const e = t.detail, i = e.id || `alert-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
233
+ this._globalAlerts = [...this._globalAlerts, { ...e, id: i }];
234
+ }
235
+ _removeGlobalAlert(t) {
236
+ this._globalAlerts = this._globalAlerts.filter((e) => e.id !== t);
237
+ }
227
238
  async _initializeTelemetry() {
228
239
  const t = this._configContextProvider.value;
229
240
  if (!this.authentication || !t)
@@ -255,9 +266,9 @@ class L extends C {
255
266
  const e = this._configContextProvider.value.authentication, i = this._configContextProvider.value.userSession;
256
267
  if (e && i && e.IsSignedIn) {
257
268
  this._abortControllerDeployed ? (this._abortControllerDeployed.abort(), this._abortControllerDeployed = new AbortController()) : this._abortControllerDeployed = new AbortController();
258
- const s = w(e);
269
+ const s = D(e);
259
270
  try {
260
- const a = await I(e, i, this._cardsFetcher, this._cardFetcherDeployed, F, "created", "desc", !1, [], [], this._abortControllerDeployed.signal, s ? "My organization's solutions" : "My solutions", t);
271
+ const a = await x(e, i, this._cardsFetcher, this._cardFetcherDeployed, F, "created", "desc", !1, [], [], this._abortControllerDeployed.signal, s ? "My organization's solutions" : "My solutions", t);
261
272
  a.cards.length === 0 || a.cards[0].typeKeywords.indexOf("Deployed") < 0 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchNotSolution.replace("{{ITEMID}}", t), this._showDeployedCardFetchFailed = !0) : this._deployedSolutions = a;
262
273
  } catch (a) {
263
274
  const r = a.message;
@@ -274,12 +285,12 @@ class L extends C {
274
285
  _getDefaultSearchOptions(t) {
275
286
  let e;
276
287
  if (t) {
277
- const i = t.domain, s = t.industry === "AEC" ? D.AEC : t.industry, a = t.offerType, r = t.searchTerm, m = "";
288
+ const i = t.domain, s = t.industry === "AEC" ? I.AEC : t.industry, a = t.offerType, r = t.searchTerm, g = "";
278
289
  let n = t.sortField;
279
- const h = t.owner, u = t.filter;
290
+ const b = t.owner, u = t.filter;
280
291
  n === "suggested" && !this.authentication?.IsSignedIn && (n = this.sortType), e = i || s ? {
281
292
  type: i ? "domain" : s ? "industry" : ""
282
- } : void 0, i && (e = e ? { ...e, domain: i } : { domain: i }), s && (e = e ? { ...e, industry: s } : { industry: s }), r && (e = e ? { ...e, searchTerm: r } : { searchTerm: r }), e && (e = { ...e, displayValue: m }), n && (e = e ? { ...e, sortType: n } : { sortType: n }), a && (n = a.toLowerCase(), e = e ? { ...e, sortType: n } : { sortType: n }), h && (e = e ? { ...e, owner: h } : { owner: h }), u && (e = e ? { ...e, filter: u } : { filter: u });
293
+ } : void 0, i && (e = e ? { ...e, domain: i } : { domain: i }), s && (e = e ? { ...e, industry: s } : { industry: s }), r && (e = e ? { ...e, searchTerm: r } : { searchTerm: r }), e && (e = { ...e, displayValue: g }), n && (e = e ? { ...e, sortType: n } : { sortType: n }), a && (n = a.toLowerCase(), e = e ? { ...e, sortType: n } : { sortType: n }), b && (e = e ? { ...e, owner: b } : { owner: b }), u && (e = e ? { ...e, filter: u } : { filter: u });
283
294
  }
284
295
  return e;
285
296
  }
@@ -303,7 +314,7 @@ class L extends C {
303
314
  }
304
315
  }
305
316
  }
306
- g("solutions-deploy-app", L);
317
+ m("solutions-deploy-app", L);
307
318
  export {
308
319
  L as SolutionsDeployApp
309
320
  };
@@ -11,4 +11,5 @@ import "../solutions-deployed-shell/index.js";
11
11
  import "../solutions-resources-shell/index.js";
12
12
  import "../solution-details-panel/index.js";
13
13
  import "../solution-deployed-card-panel/index.js";
14
+ import "@esri/calcite-components/components/calcite-alert";
14
15
  export * from "./customElement.js";
@@ -1,15 +1,15 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as u } from "../../chunks/runtime.js";
3
- import { css as f, html as r, svg as y } from "lit";
2
+ import { c as f } from "../../chunks/runtime.js";
3
+ import { css as u, html as r, svg as y } from "lit";
4
4
  import { u as g } from "../../chunks/useT9n.js";
5
5
  import { LitElement as w, createEvent as l, nothing as C } from "@arcgis/lumina";
6
6
  import { useContextConsumer as x } from "@arcgis/lumina/context";
7
7
  import { createRef as T, ref as d } from "lit/directives/ref.js";
8
8
  import { C as c, g as v } from "../../chunks/cardFetchingUtils.js";
9
9
  import { c as b } from "../../chunks/deployAppContexts.js";
10
- import { B as h, T as n, M as S, c as D } from "../../chunks/helpers.js";
11
- const F = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
12
- class E extends w {
10
+ import { B as h, T as n, N as S, H as F, c as D } from "../../chunks/helpers.js";
11
+ const E = u`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
12
+ class R extends w {
13
13
  constructor() {
14
14
  super(), this.sortType = "created", this._cards = [], this._cardsFetching = !1, this._modifiedCheckTry = 0, this._newId = "", this._refs = {}, this._showDeleteCompleteAlert = !1, this._deletedSolutionName = "", this._translations = g({ name: "solutions-deployed-panel", blocking: !0 }), this._agoTerms = h, this._allCards = [], this._baseAgoTerms = h, this._categories = [], this._mainPanelRef = T(), this._panelFixed = !1, this._configContextConsumer = x({
15
15
  context: b,
@@ -41,18 +41,29 @@ class E extends w {
41
41
  this.properties = { sortType: 1, _cards: 16, _cardsFetching: 16, _modifiedCheckTry: 16, _newId: 16, _refs: 16, _showDeleteCompleteAlert: 16, _deletedSolutionName: 16, _translations: 16 };
42
42
  }
43
43
  static {
44
- this.styles = F;
44
+ this.styles = E;
45
45
  }
46
46
  get _telemetry() {
47
47
  return this._configContextConsumer.value?.telemetrySession;
48
48
  }
49
- async reload(e = !0, t = !0, i) {
50
- this._initCardsFetchers(), e && (this._showDeleteCompleteAlert = !0, this._deletedSolutionName = i || this._translations.solution), t ? setTimeout(() => {
49
+ async reload(e = !0, t = !0, s) {
50
+ if (this._initCardsFetchers(), e) {
51
+ const i = s || this._translations.solution;
52
+ F({
53
+ kind: "success",
54
+ icon: "check-circle",
55
+ title: this._translations.deleteComplete.replace("{{solutionName}}", i),
56
+ message: "",
57
+ autoClose: !0,
58
+ autoCloseDuration: "fast"
59
+ });
60
+ }
61
+ t ? setTimeout(() => {
51
62
  (async () => {
52
63
  try {
53
64
  await this._getDeployedSolutions();
54
- } catch (s) {
55
- console.error("Error getting deployed solutions:", s);
65
+ } catch (i) {
66
+ console.error("Error getting deployed solutions:", i);
56
67
  }
57
68
  })();
58
69
  }, 500) : await this._getDeployedSolutions();
@@ -104,10 +115,10 @@ class E extends w {
104
115
  if (this._panelObserver)
105
116
  return;
106
117
  this._panelObserver = new MutationObserver((t) => {
107
- t.forEach((i) => {
108
- if (i.type === "attributes" && i.attributeName === "tabindex") {
109
- const s = i.target;
110
- s.classList.contains("content-wrapper") && s.tabIndex === 0 && (s.tabIndex = -1);
118
+ t.forEach((s) => {
119
+ if (s.type === "attributes" && s.attributeName === "tabindex") {
120
+ const i = s.target;
121
+ i.classList.contains("content-wrapper") && i.tabIndex === 0 && (i.tabIndex = -1);
111
122
  }
112
123
  });
113
124
  });
@@ -121,9 +132,7 @@ class E extends w {
121
132
  super.disconnectedCallback(), this._panelObserver?.disconnect();
122
133
  }
123
134
  render() {
124
- return this._cardsFetching ? r`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>` : this._cards.length ? r`<calcite-panel ${d(this._mainPanelRef)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete.replace("{{solutionName}}", this._deletedSolutionName)} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${() => {
125
- this._showDeleteCompleteAlert = !1;
126
- }}><div slot=title>${this._translations.deleteComplete.replace("{{solutionName}}", this._deletedSolutionName)}</div></calcite-alert></calcite-panel>` : r`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${this._translations.noSolutionsInstruction}</div></div></div>`;
135
+ return this._cardsFetching ? r`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>` : this._cards.length ? r`<calcite-panel ${d(this._mainPanelRef)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group></calcite-panel>` : r`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${this._translations.noSolutionsInstruction}</div></div></div>`;
127
136
  }
128
137
  _initCardsFetchers() {
129
138
  if (this._configContextConsumer.value) {
@@ -165,12 +174,12 @@ class E extends w {
165
174
  async _refreshAfterDeploy(e) {
166
175
  if (e) {
167
176
  this._newId = e;
168
- const t = 10, i = 500;
177
+ const t = 10, s = 500;
169
178
  for (let a = 0; a < t && (await this._getDeployedSolutions(), !this._cards.some((o) => o.id === e)); a++)
170
- a < t - 1 && await new Promise((o) => setTimeout(o, i));
179
+ a < t - 1 && await new Promise((o) => setTimeout(o, s));
171
180
  await this.updateComplete;
172
- const s = 10, p = 100;
173
- for (let a = 0; a < s; a++) {
181
+ const i = 10, p = 100;
182
+ for (let a = 0; a < i; a++) {
174
183
  if (this._refs[e]) {
175
184
  const o = this._cards.find((_) => _.id === e);
176
185
  window.dispatchEvent(new CustomEvent("deployedCardReady", {
@@ -186,7 +195,7 @@ class E extends w {
186
195
  }
187
196
  }
188
197
  }
189
- u("solutions-deployed-panel", E);
198
+ f("solutions-deployed-panel", R);
190
199
  export {
191
- E as SolutionsDeployedPanel
200
+ R as SolutionsDeployedPanel
192
201
  };
@@ -1,6 +1,5 @@
1
1
  import "@esri/calcite-components/components/calcite-loader";
2
2
  import "@esri/calcite-components/components/calcite-panel";
3
3
  import "@esri/calcite-components/components/calcite-card-group";
4
- import "@esri/calcite-components/components/calcite-alert";
5
4
  import "../solution-deployed-card/index.js";
6
5
  export * from "./customElement.js";
@@ -1,35 +1,41 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c } from "../../chunks/runtime.js";
3
3
  import { u as d } from "../../chunks/useT9n.js";
4
- import { LitElement as h, createEvent as l, safeStyleMap as p } from "@arcgis/lumina";
5
- import { useContextConsumer as o } from "@arcgis/lumina/context";
4
+ import { LitElement as p, createEvent as o, safeStyleMap as h } from "@arcgis/lumina";
5
+ import { useContextConsumer as l } from "@arcgis/lumina/context";
6
6
  import { css as u, html as i, svg as g } from "lit";
7
7
  import { c as f, i as b } from "../../chunks/deployAppContexts.js";
8
8
  import { createRef as s, ref as r } from "lit/directives/ref.js";
9
- import { J as v } from "../../chunks/helpers.js";
10
- const m = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
11
- class x extends h {
9
+ import { H as m, K as v } from "../../chunks/helpers.js";
10
+ const x = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
11
+ class _ extends p {
12
12
  constructor() {
13
- super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._showAlertFailed = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = o({
13
+ super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = l({
14
14
  context: f,
15
15
  subscribe: !0
16
- }), this._deployedCardFetchFailedMessage = "", this._deployedCardFetchFailedTitle = "", this._isMobileContextConsumer = o({
16
+ }), this._isMobileContextConsumer = l({
17
17
  context: b,
18
18
  subscribe: !0,
19
19
  callback: (e) => this.isMobile = e
20
- }), this._solutionsDeployedPanelRef = s(), this._mainPanelRef = s(), this._panelFixed = !1, this.filterRemoved = l(), this.tokenRefreshed = l(), this._handleSignIn = () => {
20
+ }), this._solutionsDeployedPanelRef = s(), this._mainPanelRef = s(), this._panelFixed = !1, this.filterRemoved = o(), this.tokenRefreshed = o(), this._handleSignIn = () => {
21
21
  const e = window.location.pathname.endsWith("deployments") ? "" : "deployments";
22
22
  this._configContextConsumer.value?.authentication?.signIn(e);
23
23
  }, this.listenOn(window, "deployedCardFetchFailed", (e) => {
24
24
  const t = e.detail;
25
- this._deployedCardFetchFailedTitle = t.title, this._deployedCardFetchFailedMessage = t.message, this._showAlertFailed = !0;
25
+ m({
26
+ kind: "danger",
27
+ icon: "exclamation-mark-triangle",
28
+ title: t.title,
29
+ message: t.message,
30
+ autoClose: !1
31
+ });
26
32
  });
27
33
  }
28
34
  static {
29
- this.properties = { solutionsCount: 9, filterOpen: 16, isMobile: 16, _showAlertFailed: 16, _translations: 16 };
35
+ this.properties = { solutionsCount: 9, filterOpen: 16, isMobile: 16, _translations: 16 };
30
36
  }
31
37
  static {
32
- this.styles = m;
38
+ this.styles = x;
33
39
  }
34
40
  willUpdate(e) {
35
41
  e.has("isMobile") && (this.filterOpen = !this.isMobile);
@@ -60,10 +66,10 @@ class x extends h {
60
66
  if (this._panelObserver)
61
67
  return;
62
68
  this._panelObserver = new MutationObserver((t) => {
63
- t.forEach((a) => {
64
- if (a.type === "attributes" && a.attributeName === "tabindex") {
65
- const n = a.target;
66
- n.classList.contains("content-wrapper") && n.tabIndex === 0 && (n.tabIndex = -1);
69
+ t.forEach((n) => {
70
+ if (n.type === "attributes" && n.attributeName === "tabindex") {
71
+ const a = n.target;
72
+ a.classList.contains("content-wrapper") && a.tabIndex === 0 && (a.tabIndex = -1);
67
73
  }
68
74
  });
69
75
  });
@@ -87,9 +93,7 @@ class x extends h {
87
93
  }
88
94
  _getSolutionsDeployedPanel() {
89
95
  const e = this.isMobile && this.filterOpen ? { display: "none" } : "";
90
- return i`<div><solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} style=${p(e)} ${r(this._solutionsDeployedPanelRef)}></solutions-deployed-panel><calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._deployedCardFetchFailedTitle} @calciteAlertClose=${() => {
91
- this._showAlertFailed = !1;
92
- }} .open=${this._showAlertFailed}><div slot=title>${this._deployedCardFetchFailedTitle}</div><div slot=message>${this._deployedCardFetchFailedMessage}</div></calcite-alert></div>`;
96
+ return i`<div><solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} style=${h(e)} ${r(this._solutionsDeployedPanelRef)}></solutions-deployed-panel></div>`;
93
97
  }
94
98
  _updateSolutionCount(e) {
95
99
  this.solutionsCount = e.detail;
@@ -98,7 +102,7 @@ class x extends h {
98
102
  return i`<div class="sign-in-icon"><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`;
99
103
  }
100
104
  }
101
- c("solutions-deployed-shell", x);
105
+ c("solutions-deployed-shell", _);
102
106
  export {
103
- x as SolutionsDeployedShell
107
+ _ as SolutionsDeployedShell
104
108
  };
@@ -3,5 +3,4 @@ import "@esri/calcite-components/components/calcite-panel";
3
3
  import "@esri/calcite-components/components/calcite-label";
4
4
  import "@esri/calcite-components/components/calcite-button";
5
5
  import "../solutions-deployed-panel/index.js";
6
- import "@esri/calcite-components/components/calcite-alert";
7
6
  export * from "./customElement.js";
@@ -6,7 +6,7 @@ import { u as y } from "../../chunks/useT9n.js";
6
6
  import { LitElement as N, createEvent as p, safeClassMap as S } from "@arcgis/lumina";
7
7
  import { c as A, i as I } from "../../chunks/deployAppContexts.js";
8
8
  import { useContextConsumer as _ } from "@arcgis/lumina/context";
9
- import { e as F, d as C, T as O, J as E } from "../../chunks/helpers.js";
9
+ import { e as F, d as C, T as O, K as E } from "../../chunks/helpers.js";
10
10
  const T = f`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-panel-footer-space: var(--calcite-spacing-sm)}.border-color{--calcite-block-border-color: transparent}calcite-block{margin:0;--calcite-block-content-space: 0}.tree-padding{padding:0 .2rem}.display-none{display:none}`, R = {
11
11
  PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
12
12
  STATEANDLOCALGOVERNMENT: [
@@ -5,7 +5,7 @@ import { u as g } from "../../chunks/useT9n.js";
5
5
  import { LitElement as S, createEvent as a, nothing as c } from "@arcgis/lumina";
6
6
  import { useContextConsumer as h } from "@arcgis/lumina/context";
7
7
  import { c as m, i as y } from "../../chunks/deployAppContexts.js";
8
- import { c as d, J as l } from "../../chunks/helpers.js";
8
+ import { c as d, K as l } from "../../chunks/helpers.js";
9
9
  const f = u`.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:65px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-brand: transparent;display:grid;block-size:65px;box-sizing:border-box;border-bottom:2px solid transparent}@media(prefers-color-scheme:dark){calcite-input-text:focus{border-bottom:2px solid #009AF2}}@media(prefers-color-scheme:light){calcite-input-text:focus{border-bottom:2px solid #007AC2}}.padding-end-1-2{padding-inline-end:.5rem}`;
10
10
  class _ extends S {
11
11
  constructor() {