@esri/solutions-components 5.1.0-next.150 → 5.1.0-next.152
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.
- package/dist/cdn/{KH5WPLZK.js → 2BM4W44V.js} +1 -1
- package/dist/cdn/{6K3C5JX2.js → 2HAYT46E.js} +1 -1
- package/dist/cdn/3RKQYXNE.js +2 -0
- package/dist/cdn/{7WYPODAB.js → 3S5PVZVU.js} +1 -1
- package/dist/cdn/3TIQRBWC.js +2 -0
- package/dist/cdn/4QOD7X43.js +2 -0
- package/dist/cdn/{YWALGZAG.js → 63ZMLOEP.js} +1 -1
- package/dist/cdn/{GRQLB7ZG.js → 7GVN2XEM.js} +1 -1
- package/dist/cdn/BAFYN4RD.js +2 -0
- package/dist/cdn/C4KWJ3PL.js +2 -0
- package/dist/cdn/{ZNH7LRND.js → EKUENEEW.js} +1 -1
- package/dist/cdn/{TKOGOWYQ.js → EVMBOT65.js} +27 -27
- package/dist/cdn/{W7I22AW3.js → FNTXI57U.js} +1 -1
- package/dist/cdn/{4SBOBTOR.js → FWRT4BPD.js} +1 -1
- package/dist/cdn/{Q2DJUFVO.js → FZKGL66L.js} +1 -1
- package/dist/cdn/{7Q5BT35O.js → G6EZOEPB.js} +1 -1
- package/dist/cdn/{LTLR4VF3.js → GMSG7ZRV.js} +1 -1
- package/dist/cdn/{KETYOYXQ.js → IC6KIGR4.js} +1 -1
- package/dist/cdn/{RMO244NW.js → KV76ATT5.js} +1 -1
- package/dist/cdn/LGZDNUGT.js +2 -0
- package/dist/cdn/{PP7EF7UU.js → LQ4BLDUU.js} +1 -1
- package/dist/cdn/{YTU2BYBP.js → M73VTGBI.js} +1 -1
- package/dist/cdn/{Q35DDH7J.js → MDXI36JJ.js} +7 -7
- package/dist/cdn/{BH42V5CR.js → N7VSZ2CS.js} +1 -1
- package/dist/cdn/{G3C6IL5Y.js → OAEWZFWV.js} +1 -1
- package/dist/cdn/{6VCG2ITQ.js → ON244IGD.js} +1 -1
- package/dist/cdn/{6AUKNSKW.js → QD22B6N2.js} +1 -1
- package/dist/cdn/{4FRYNYQ6.js → QGDR24DC.js} +1 -1
- package/dist/cdn/{WXL7GVUU.js → RBYAQRK6.js} +1 -1
- package/dist/cdn/{42GXADY4.js → RUVOSMTB.js} +1 -1
- package/dist/cdn/{Y37QLEAM.js → S4VDUHA7.js} +1 -1
- package/dist/cdn/TLM7N22U.js +2 -0
- package/dist/cdn/{3A2YSBVB.js → TOIBA2KF.js} +1 -1
- package/dist/cdn/{DQQTSOMQ.js → UIGRRD7P.js} +1 -1
- package/dist/cdn/{FWLPMS4Q.js → VY5TD3VS.js} +1 -1
- package/dist/cdn/X65HFYH4.js +2 -0
- package/dist/cdn/{4DAGSZIC.js → XK36P3C4.js} +1 -1
- package/dist/cdn/{757HAEJS.js → ZCLYSOQM.js} +1 -1
- package/dist/cdn/{QDKHYQJB.js → ZOF7AUSS.js} +1 -1
- package/dist/cdn/{YFJZN5K5.js → ZVXEOW2X.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/solution-builder-assistant.js +5 -3
- package/dist/components/arcgis-solutions-assistant/customElement.js +195 -170
- package/dist/components/solution-builder-assistant/index.js +2 -2
- package/dist/components/solution-deployed-card-panel/customElement.js +19 -19
- package/dist/components/solution-details-panel/customElement.js +98 -72
- package/dist/components/solutions-deploy-app/customElement.js +22 -18
- package/dist/components/solutions-deploy-app/index.js +2 -0
- package/dist/components/solutions-resources-section/customElement.js +4 -4
- package/dist/components/solutions-resources-shell/customElement.d.ts +4 -3
- package/dist/components/solutions-resources-shell/customElement.js +95 -53
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/4RJURJQ5.js +0 -2
- package/dist/cdn/DO7NLLUV.js +0 -2
- package/dist/cdn/JMBANG5V.js +0 -2
- package/dist/cdn/OANAQ6HY.js +0 -2
- package/dist/cdn/RY6KZ77P.js +0 -2
- package/dist/cdn/UCQJWFUW.js +0 -2
- package/dist/cdn/XEF5G3BC.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-scrim";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
3
1
|
import "@esri/calcite-components/components/calcite-panel";
|
|
4
2
|
import "@esri/calcite-components/components/calcite-chip";
|
|
5
3
|
import "@esri/calcite-components/components/calcite-action";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
6
6
|
import "../solution-deploy-dialog/index.js";
|
|
7
7
|
import "../solution-deploying-dialog/index.js";
|
|
8
8
|
import "@esri/calcite-components/components/calcite-alert";
|
|
@@ -5,19 +5,19 @@ import { LitElement as v, createEvent as r, safeClassMap as y, nothing as c, saf
|
|
|
5
5
|
import { useContextConsumer as g } from "@arcgis/lumina/context";
|
|
6
6
|
import { css as $, html as i } from "lit";
|
|
7
7
|
import { c as C, i as S } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import { y as
|
|
8
|
+
import { y as D, T as n, x as k, A as T } from "../../chunks/interfaces.js";
|
|
9
9
|
import { f as h, a as I, b as u } from "../../chunks/cardsHelpers.js";
|
|
10
10
|
import { g as O } from "../../chunks/getRelatedInfos.js";
|
|
11
11
|
import { k as N, i as m, j as p, h as M } from "../../chunks/helpers.js";
|
|
12
12
|
import * as f from "@esri/solution-common";
|
|
13
|
-
const U = $`.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
|
|
13
|
+
const U = $`.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}.solution-deployed-action.padding-bottom-lg,.solution-deployed-action.padding-bottom-1{padding-bottom:0;margin-bottom:var(--calcite-spacing-lg)}.solution-deployed-action.padding-top-1{padding-top:0;margin-top:var(--calcite-spacing-lg)}.chipClass{padding-left:var(--calcite-spacing-sm)!important;padding-right:var(--calcite-spacing-sm)!important}.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}}`;
|
|
14
14
|
class V extends v {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(), this.diagramKey = "", this.open = !1, this.readOnlyNotice = "", this.templateInfos = [], this._accordionLoading = !1, this._configureTitlesOpen = !1, this._deleteDialogOpen = !1, this._hasNewVersion = !1, this._hasSourceSolution = !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 = x({ name: "solution-deployed-card-panel", blocking: !0 }), this._configContextConsumer = g({
|
|
17
17
|
context: C,
|
|
18
18
|
subscribe: !0,
|
|
19
19
|
callback: async (e) => {
|
|
20
|
-
e && (this._isOrgAdmin =
|
|
20
|
+
e && (this._isOrgAdmin = D(e.authentication), this._user = e.authentication?.Portal?.user);
|
|
21
21
|
}
|
|
22
22
|
}), this._isOrgAdmin = !1, this._isMobileContextConsumer = g({
|
|
23
23
|
context: S,
|
|
@@ -25,7 +25,7 @@ class V extends v {
|
|
|
25
25
|
callback: (e) => this.isMobile = e
|
|
26
26
|
}), this.navTabSelected = r(), this.forceSelectTab = r(), this.sortTypeChanged = r(), this.solutionConfigureDialogClose = r(), this._nonSolutionDependencyItems = [], this._openFolder = (e) => {
|
|
27
27
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
28
|
-
category:
|
|
28
|
+
category: n.DEPLOYMENTS,
|
|
29
29
|
action: "Open Folder",
|
|
30
30
|
dimensions: [
|
|
31
31
|
this.card?.title || "",
|
|
@@ -37,9 +37,9 @@ class V extends v {
|
|
|
37
37
|
const t = this._configContextConsumer.value?.orgUrl;
|
|
38
38
|
if (!t)
|
|
39
39
|
return;
|
|
40
|
-
const a = this._configContextConsumer.value?.userSession?.username,
|
|
40
|
+
const a = this._configContextConsumer.value?.userSession?.username, l = this.card?.owner === a;
|
|
41
41
|
let o;
|
|
42
|
-
if (
|
|
42
|
+
if (l) {
|
|
43
43
|
const s = this._folderId || this.card?.owner;
|
|
44
44
|
o = `${t}/home/content.html?folder=${s}`;
|
|
45
45
|
} else
|
|
@@ -47,7 +47,7 @@ class V extends v {
|
|
|
47
47
|
window.open(o, "_blank");
|
|
48
48
|
}, this._openSourceSolutionDetails = async (e) => {
|
|
49
49
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
50
|
-
category:
|
|
50
|
+
category: n.DEPLOYMENTS,
|
|
51
51
|
action: "Open Details",
|
|
52
52
|
dimensions: [
|
|
53
53
|
this.card?.title || "",
|
|
@@ -100,11 +100,11 @@ class V extends v {
|
|
|
100
100
|
this.card = t.card, this.cardRef = t.cardRef, this.templateInfos = [], this._accordionLoading = !0, this.templateInfos = await this._getTemplates(), this._accordionLoading = !1;
|
|
101
101
|
const a = await O(this._configContextConsumer.value.userSession, this.card);
|
|
102
102
|
this._nonSolutionDependencyItems = a._nonSolutionDependencyItems;
|
|
103
|
-
const
|
|
104
|
-
this._hasSourceSolution = !!
|
|
103
|
+
const l = I(this._configContextConsumer.value?.allCards || [], this.card.deployCommonId);
|
|
104
|
+
this._hasSourceSolution = !!l;
|
|
105
105
|
let o = !1;
|
|
106
|
-
if (
|
|
107
|
-
const s = u(
|
|
106
|
+
if (l) {
|
|
107
|
+
const s = u(l), d = u(this.card);
|
|
108
108
|
o = s > d;
|
|
109
109
|
}
|
|
110
110
|
this._hasNewVersion = o, this._folderLoading = !0, this._folderName = "", this._folderId = null, await this._fetchFolderInfo(), this._folderLoading = !1;
|
|
@@ -113,8 +113,8 @@ class V extends v {
|
|
|
113
113
|
e.detail === "deployed-card" && this.sortTypeChanged.emit("");
|
|
114
114
|
}
|
|
115
115
|
_getButtons() {
|
|
116
|
-
const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution,
|
|
117
|
-
return i`<div class=${`display-flex flex-direction-column ${b}`}>${!this.isMobile && i`<calcite-button appearance=outline class="padding-bottom-
|
|
116
|
+
const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, l = m(this._configContextConsumer.value), o = this.card?.owner === e || this._isOrgAdmin || t, s = this.card?.owner === e || this._isOrgAdmin || a, d = o ? "display-none" : "", b = this.isMobile ? "padding-lg" : "padding-xxl";
|
|
117
|
+
return i`<div class=${`display-flex flex-direction-column ${b}`}>${!this.isMobile && i`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._openDiagram} scale=m width=full>${this._translations.viewTheDiagram}</calcite-button>` || ""}<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._viewDocumentation} scale=m width=full>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._openItemDetails} scale=m width=full>${this._translations.itemDetails}</calcite-button>${o && !this.isMobile && i`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" .disabled=${l} id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog} scale=m width=full>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${y(d)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>` || ""}${s && !this.isMobile && i`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" .disabled=${l} kind=neutral @click=${this._deleteSolution} scale=m width=full>${this._translations.deleteSolution}</calcite-button>` || ""}</div>`;
|
|
118
118
|
}
|
|
119
119
|
_getReadOnlyNotice() {
|
|
120
120
|
return i`<calcite-notice class="padding-bottom-lg" icon=exclamation-mark-triangle kind=warning open scale=s><div slot=message .innerHTML=${this.readOnlyNotice ?? ""}></div></calcite-notice>`;
|
|
@@ -131,7 +131,7 @@ class V extends v {
|
|
|
131
131
|
}
|
|
132
132
|
_viewDocumentation(e) {
|
|
133
133
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
134
|
-
category:
|
|
134
|
+
category: n.DEPLOYMENTS,
|
|
135
135
|
action: "Open Help",
|
|
136
136
|
dimensions: [
|
|
137
137
|
this.card?.title || "",
|
|
@@ -144,7 +144,7 @@ class V extends v {
|
|
|
144
144
|
}
|
|
145
145
|
_openItemDetails(e) {
|
|
146
146
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
147
|
-
category:
|
|
147
|
+
category: n.DEPLOYMENTS,
|
|
148
148
|
action: "Open Item Details",
|
|
149
149
|
dimensions: [
|
|
150
150
|
this.card?.title || "",
|
|
@@ -165,7 +165,7 @@ class V extends v {
|
|
|
165
165
|
e.stopPropagation();
|
|
166
166
|
const t = await this._getTemplates();
|
|
167
167
|
t && (this._telemetry?.logEvent({
|
|
168
|
-
category:
|
|
168
|
+
category: n.DEPLOYMENTS,
|
|
169
169
|
action: "View Diagram",
|
|
170
170
|
dimensions: [
|
|
171
171
|
this.card?.title || "",
|
|
@@ -177,7 +177,7 @@ class V extends v {
|
|
|
177
177
|
}), this._templateInfoGraph = t, this._isDiagramOpen = !0);
|
|
178
178
|
}
|
|
179
179
|
async _getTemplates() {
|
|
180
|
-
return this.cardRef ? await this.cardRef.getTemplates() : this.card ? await
|
|
180
|
+
return this.cardRef ? await this.cardRef.getTemplates() : this.card ? await k(this.card.id, this._configContextConsumer.value.userSession) : void 0;
|
|
181
181
|
}
|
|
182
182
|
async _fetchFolderInfo() {
|
|
183
183
|
if (this.card?.id)
|
|
@@ -201,11 +201,11 @@ class V extends v {
|
|
|
201
201
|
}
|
|
202
202
|
_getSolutionVersionCard() {
|
|
203
203
|
const e = this._hasNewVersion ? this._translations.newVersionAvailable : this._translations.youHaveTheLatestVersion, t = this.isMobile ? "padding-lg" : "padding-xxl";
|
|
204
|
-
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 aria-hidden=true 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-
|
|
204
|
+
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 aria-hidden=true 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-fill class="padding-top-1 solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} scale=m width=full>${this._translations.learnMoreNewVersion}</calcite-button>` : this._hasSourceSolution ? i`<calcite-button appearance=outline-fill class="padding-top-1 solution-deployed-action" kind=neutral @click=${this._openSourceSolutionDetails} scale=m width=full>${this._translations.openDetails}</calcite-button>` : null}</div>`;
|
|
205
205
|
}
|
|
206
206
|
async _openNewVersionSolution(e) {
|
|
207
207
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
208
|
-
category:
|
|
208
|
+
category: n.DEPLOYMENTS,
|
|
209
209
|
action: "View Latest Version",
|
|
210
210
|
dimensions: [
|
|
211
211
|
this.card?.title || "",
|