@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.
- package/dist/cdn/{KXQ6EA36.js → 33OQKT4F.js} +1 -1
- package/dist/cdn/{O3A436MI.js → 3CEPDBZC.js} +1 -1
- package/dist/cdn/{GRBH2MOX.js → 3XPKAEMR.js} +1 -1
- package/dist/cdn/{5PIM2BOZ.js → 3XX5UDIU.js} +1 -1
- package/dist/cdn/{IU6ZANQW.js → 42WASQMZ.js} +1 -1
- package/dist/cdn/{2GS5DXMX.js → 43HTXWT4.js} +1 -1
- package/dist/cdn/{CPKTXSK2.js → 4NCV4IWX.js} +1 -1
- package/dist/cdn/4WTAL6YU.js +2 -0
- package/dist/cdn/{3KVDFRXD.js → 4YB7FA37.js} +1 -1
- package/dist/cdn/{V66MBBFA.js → 5JF3GXG7.js} +1 -1
- package/dist/cdn/{NFRTFOHF.js → 65Q3GK3L.js} +1 -1
- package/dist/cdn/{ZSJ55A7H.js → 6LHM6EFD.js} +1 -1
- package/dist/cdn/{JSI6JODX.js → 7WQMX5XY.js} +1 -1
- package/dist/cdn/{NH3ESMSN.js → A6L4SLVT.js} +1 -1
- package/dist/cdn/{DIUHLPYD.js → ACH7OUDZ.js} +1 -1
- package/dist/cdn/{CLF2PJYC.js → BF6NM5HV.js} +1 -1
- package/dist/cdn/{GQWWZGLF.js → BXXN7BIC.js} +1 -1
- package/dist/cdn/{4Y4JREZI.js → CACSAX3Q.js} +1 -1
- package/dist/cdn/D6EAKAAG.js +2 -0
- package/dist/cdn/{PTWSYW3E.js → DV2IPJEK.js} +1 -1
- package/dist/cdn/{YNERGBJG.js → DVCONGYS.js} +1 -1
- package/dist/cdn/{BMOMM64K.js → E7RDA5B4.js} +1 -1
- package/dist/cdn/{N3EAHFBX.js → FFYAX3YU.js} +1 -1
- package/dist/cdn/{ONSABHYA.js → GUKPMOPC.js} +1 -1
- package/dist/cdn/{UQTAX7HB.js → I2AQZTRJ.js} +1 -1
- package/dist/cdn/{FLRIF3C7.js → JCTGE6OA.js} +1 -1
- package/dist/cdn/{BK7LW2RY.js → LE6OUXPN.js} +1 -1
- package/dist/cdn/{A6HMNEQC.js → N73GF6WL.js} +1 -1
- package/dist/cdn/{MAUD35WR.js → OPJPVHX6.js} +1 -1
- package/dist/cdn/{7ZN2BMYK.js → PBWC3QFN.js} +1 -1
- package/dist/cdn/{KRWRWUTJ.js → QF3LZFWW.js} +1 -1
- package/dist/cdn/R2WYNBYU.js +2 -0
- package/dist/cdn/{H2PJ6QZT.js → SMPEVMDE.js} +1 -1
- package/dist/cdn/{5TB2UXTT.js → SUN2LQ7K.js} +1 -1
- package/dist/cdn/{IMN5BMIM.js → TMRCJ23T.js} +1 -1
- package/dist/cdn/{DYJGZIDV.js → TYSZL2RK.js} +1 -1
- package/dist/cdn/{HUJNR7CU.js → UW2E725I.js} +1 -1
- package/dist/cdn/V75TSZXZ.js +2 -0
- package/dist/cdn/{BFKX5BLC.js → WFZYVS4A.js} +1 -1
- package/dist/cdn/{CWGUKAP6.js → WLKDLZCS.js} +1 -1
- package/dist/cdn/{U4EZHJYT.js → ZH6LQCHJ.js} +1 -1
- package/dist/cdn/ZPKQMASX.js +2 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +12 -12
- package/dist/chunks/helpers.js +44 -38
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.d.ts +4 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +103 -57
- package/dist/components/solution-deployed-card-panel/index.js +0 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +5 -5
- package/dist/components/solution-item-accordion/customElement.d.ts +4 -2
- package/dist/components/solution-item-accordion/customElement.js +3 -3
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-user-avatar/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +36 -25
- package/dist/components/solutions-deploy-app/index.js +1 -0
- package/dist/components/solutions-deployed-panel/customElement.js +32 -23
- package/dist/components/solutions-deployed-panel/index.js +0 -1
- package/dist/components/solutions-deployed-shell/customElement.js +24 -20
- package/dist/components/solutions-deployed-shell/index.js +0 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- 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/solutions-components_commit.txt +8 -5
- package/dist/utils/interfaces.d.ts +10 -0
- package/package.json +1 -1
- package/dist/cdn/BDCGPJPJ.js +0 -2
- package/dist/cdn/CF6JSZPY.js +0 -2
- package/dist/cdn/GFW4PBUK.js +0 -2
- package/dist/cdn/PQIJUUY3.js +0 -2
- package/dist/cdn/ZMQ6KCYQ.js +0 -2
|
@@ -4,7 +4,7 @@ import { u as f } from "./useT9n.js";
|
|
|
4
4
|
import { LitElement as y, createEvent as p, nothing as h } from "@arcgis/lumina";
|
|
5
5
|
import { css as w, html as o, svg as M } from "lit";
|
|
6
6
|
import { A as C } from "./Auth.js";
|
|
7
|
-
import {
|
|
7
|
+
import { _ as S, K as c, T as _, J as k } from "./helpers.js";
|
|
8
8
|
import { createRef as a, ref as l } from "lit-html/directives/ref.js";
|
|
9
9
|
import { UserSession as $ } from "@esri/solution-common";
|
|
10
10
|
import { i as E } from "./deployAppContexts.js";
|
|
@@ -6,7 +6,7 @@ import { css as l1, html as Dc } from "lit";
|
|
|
6
6
|
import { unsafeHTML as d1 } from "lit/directives/unsafe-html.js";
|
|
7
7
|
import { useContextConsumer as f1 } from "@arcgis/lumina/context";
|
|
8
8
|
import { c as h1 } from "../../chunks/deployAppContexts.js";
|
|
9
|
-
import {
|
|
9
|
+
import { W as p1, T as m1 } from "../../chunks/helpers.js";
|
|
10
10
|
import g1 from "@arcgis/core/config.js";
|
|
11
11
|
import { createRef as _1, ref as y1 } from "lit-html/directives/ref.js";
|
|
12
12
|
import { g as fc } from "../../chunks/_commonjsHelpers.js";
|
|
@@ -5,7 +5,7 @@ import "../../chunks/useT9n.js";
|
|
|
5
5
|
import "@arcgis/lumina";
|
|
6
6
|
import "@arcgis/lumina/context";
|
|
7
7
|
import "../../chunks/deployAppContexts.js";
|
|
8
|
-
import {
|
|
8
|
+
import { a2 as l } from "../../chunks/helpers.js";
|
|
9
9
|
import "lit-html/directives/ref.js";
|
|
10
10
|
export {
|
|
11
11
|
l as SolutionDeployedCard
|
|
@@ -30,6 +30,8 @@ export abstract class SolutionDeployedCardPanel extends LitElement {
|
|
|
30
30
|
solutionVersion: string;
|
|
31
31
|
newVersionAvailable: string;
|
|
32
32
|
youHaveTheLatestVersion: string;
|
|
33
|
+
folder: string;
|
|
34
|
+
openFolder: string;
|
|
33
35
|
} & T9nMeta<{
|
|
34
36
|
aboutYourSolutionDeployedDate: string;
|
|
35
37
|
aboutYourSolutionOwner: string;
|
|
@@ -50,6 +52,8 @@ export abstract class SolutionDeployedCardPanel extends LitElement {
|
|
|
50
52
|
solutionVersion: string;
|
|
51
53
|
newVersionAvailable: string;
|
|
52
54
|
youHaveTheLatestVersion: string;
|
|
55
|
+
folder: string;
|
|
56
|
+
openFolder: string;
|
|
53
57
|
}>;
|
|
54
58
|
/** Key details about the solution */
|
|
55
59
|
accessor card: ISolutionInfoCard | undefined;
|
|
@@ -1,81 +1,105 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { u } from "../../chunks/useT9n.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { useContextConsumer as
|
|
6
|
-
import { css as
|
|
7
|
-
import { c as
|
|
8
|
-
import { F as
|
|
9
|
-
import { f as
|
|
10
|
-
import { g as
|
|
11
|
-
|
|
12
|
-
|
|
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 t } from "lit";
|
|
7
|
+
import { c as _, i as v } from "../../chunks/deployAppContexts.js";
|
|
8
|
+
import { F as y, T as s, H as w, z as C, J as $ } from "../../chunks/helpers.js";
|
|
9
|
+
import { f as S, g as p, a as k } from "../../chunks/cardsHelpers.js";
|
|
10
|
+
import { g as D } from "../../chunks/getRelatedInfos.js";
|
|
11
|
+
import * as h from "@esri/solution-common";
|
|
12
|
+
const T = 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}@media(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}@media(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)}@media(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}}`;
|
|
13
|
+
class I extends f {
|
|
13
14
|
constructor() {
|
|
14
|
-
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.
|
|
15
|
-
context:
|
|
15
|
+
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({
|
|
16
|
+
context: _,
|
|
16
17
|
subscribe: !0,
|
|
17
18
|
callback: async (e) => {
|
|
18
|
-
e && (this._isOrgAdmin =
|
|
19
|
+
e && (this._isOrgAdmin = y(e.authentication), this._user = e.authentication?.Portal?.user);
|
|
19
20
|
}
|
|
20
|
-
}), this._isOrgAdmin = !1, this._isMobileContextConsumer =
|
|
21
|
+
}), this._isOrgAdmin = !1, this._isMobileContextConsumer = g({
|
|
21
22
|
context: v,
|
|
22
23
|
subscribe: !0,
|
|
23
24
|
callback: (e) => this.isMobile = e
|
|
24
|
-
}), this.navTabSelected =
|
|
25
|
-
this.
|
|
25
|
+
}), this.navTabSelected = r(), this.forceSelectTab = r(), this.sortTypeChanged = r(), this.solutionConfigureDialogClose = r(), this._nonSolutionDependencyItems = [], this._openFolder = (e) => {
|
|
26
|
+
e.stopPropagation(), this._telemetry?.logEvent({
|
|
27
|
+
category: s.DEPLOYMENTS,
|
|
28
|
+
action: "Open Folder",
|
|
29
|
+
dimensions: [
|
|
30
|
+
this.card?.title || "",
|
|
31
|
+
this.card?.deployCommonId || "",
|
|
32
|
+
this.card?.deployVersion || "",
|
|
33
|
+
"Details Page"
|
|
34
|
+
]
|
|
35
|
+
});
|
|
36
|
+
const i = this._configContextConsumer.value?.orgUrl;
|
|
37
|
+
if (!i)
|
|
38
|
+
return;
|
|
39
|
+
const a = this._folderId || this.card?.owner, o = `${i}/home/content.html?folder=${a}`;
|
|
40
|
+
window.open(o, "_blank");
|
|
41
|
+
}, this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected), this.listenOn(window, "displayDeployedCard", () => {
|
|
42
|
+
w({
|
|
43
|
+
kind: "success",
|
|
44
|
+
icon: "check-circle",
|
|
45
|
+
title: this._translations.deploySuccessAlert.replace("{{solutionTitle}}", this.card?.title ?? ""),
|
|
46
|
+
message: "",
|
|
47
|
+
autoClose: !0,
|
|
48
|
+
autoCloseDuration: "medium"
|
|
49
|
+
});
|
|
26
50
|
}), this.listenOn(window, "sessionRefreshed", (e) => {
|
|
27
51
|
this._updateThumbnailToken(e.detail);
|
|
28
52
|
});
|
|
29
53
|
}
|
|
30
54
|
static {
|
|
31
|
-
this.properties = { card: 0, cardRef: 1, diagramKey: 1, open: 5, templateInfos: 0, _accordionLoading: 16, _configureTitlesOpen: 16, _deleteDialogOpen: 16, _hasNewVersion: 16, _isDiagramOpen: 16, _isNameConflict: 16, _invalidNameMessage: 16,
|
|
55
|
+
this.properties = { card: 0, cardRef: 1, diagramKey: 1, open: 5, templateInfos: 0, _accordionLoading: 16, _configureTitlesOpen: 16, _deleteDialogOpen: 16, _hasNewVersion: 16, _isDiagramOpen: 16, _isNameConflict: 16, _invalidNameMessage: 16, _showFailedAlert: 16, _showItemUpdateLoading: 16, isMobile: 16, _templateInfoGraph: 16, _thumbnailUrl: 16, _folderName: 16, _folderId: 16, _folderLoading: 16, _translations: 16, _nonSolutionDependencyItems: 16 };
|
|
32
56
|
}
|
|
33
57
|
static {
|
|
34
|
-
this.styles =
|
|
58
|
+
this.styles = T;
|
|
35
59
|
}
|
|
36
60
|
get _telemetry() {
|
|
37
61
|
return this._configContextConsumer.value?.telemetrySession;
|
|
38
62
|
}
|
|
39
63
|
async load() {
|
|
40
64
|
if (this._isMobileContextConsumer.value && (this.isMobile = this._isMobileContextConsumer.value), this.card?.thumbnailUrl) {
|
|
41
|
-
const e = this._configContextConsumer.value?.userSession,
|
|
42
|
-
this._thumbnailUrl = `${
|
|
65
|
+
const e = this._configContextConsumer.value?.userSession, i = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400");
|
|
66
|
+
this._thumbnailUrl = `${i}&token=${e?.token}`;
|
|
43
67
|
}
|
|
44
68
|
}
|
|
45
69
|
willUpdate(e) {
|
|
46
70
|
if (e.has("card")) {
|
|
47
|
-
const
|
|
48
|
-
this._thumbnailUrl = `${a}&token=${
|
|
71
|
+
const i = this._configContextConsumer.value?.userSession, a = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400");
|
|
72
|
+
this._thumbnailUrl = `${a}&token=${i?.token}`, this._folderLoading = !0, this._folderName = "", this._folderId = null;
|
|
49
73
|
}
|
|
50
74
|
}
|
|
51
75
|
render() {
|
|
52
|
-
return this.isMobile ?
|
|
76
|
+
return this.isMobile ? t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="background-color-2 padding-top-lg">${this._getSolutionPanel()}</div><div class="background-color-1 margin-top-xxl">${this._getButtons()}${this._getOwnerSection()}${this.card?.owner === this._configContextConsumer.value?.userSession?.username && t`<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}` || ""}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</div>${this._getSolutionContents()}</calcite-panel></calcite-shell>` : t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}${this.card?.owner === this._configContextConsumer.value?.userSession?.username && t`<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}` || ""}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`;
|
|
53
77
|
}
|
|
54
78
|
async _deployedCardSelected(e) {
|
|
55
|
-
const
|
|
56
|
-
this.card =
|
|
57
|
-
const a = await
|
|
79
|
+
const i = e.detail;
|
|
80
|
+
this.card = i.card, this.cardRef = i.cardRef, this.templateInfos = [], this._accordionLoading = !0, this.templateInfos = await this._getTemplates(), this._accordionLoading = !1;
|
|
81
|
+
const a = await D(this._configContextConsumer.value.userSession, this.card);
|
|
58
82
|
this._nonSolutionDependencyItems = a._nonSolutionDependencyItems;
|
|
59
|
-
const o =
|
|
60
|
-
let
|
|
83
|
+
const o = S(this._configContextConsumer.value?.allCards || [], this.card.deployCommonId);
|
|
84
|
+
let n = !1;
|
|
61
85
|
if (o) {
|
|
62
|
-
const
|
|
63
|
-
|
|
86
|
+
const l = p(o), c = p(this.card);
|
|
87
|
+
n = l > c;
|
|
64
88
|
}
|
|
65
|
-
this._hasNewVersion =
|
|
89
|
+
this._hasNewVersion = n, this._folderLoading = !0, this._folderName = "", this._folderId = null, await this._fetchFolderInfo(), this._folderLoading = !1;
|
|
66
90
|
}
|
|
67
91
|
_handleDeployAppTabSelected(e) {
|
|
68
92
|
e.detail === "deployed-card" && this.sortTypeChanged.emit("");
|
|
69
93
|
}
|
|
70
94
|
_getButtons() {
|
|
71
|
-
const e = this._configContextConsumer.value?.userSession?.username,
|
|
72
|
-
return
|
|
95
|
+
const e = this._configContextConsumer.value?.userSession?.username, i = this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = this.card?.owner === e || this._isOrgAdmin || i, o = this.card?.owner === e || this._isOrgAdmin, n = a ? "display-none" : "", l = this.isMobile ? "padding-lg" : "padding-xxl";
|
|
96
|
+
return t`<div class=${`display-flex flex-direction-column ${l}`}>${!this.isMobile && t`<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>${a && !this.isMobile && t`<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(n)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>` || ""}${o && !this.isMobile && t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button>` || ""}</div>`;
|
|
73
97
|
}
|
|
74
98
|
_openConfigureTitlesDialog() {
|
|
75
99
|
this._configureTitlesOpen = !0;
|
|
76
100
|
}
|
|
77
101
|
_getConfigureTitlesDialog() {
|
|
78
|
-
return this._configureTitlesOpen ?
|
|
102
|
+
return this._configureTitlesOpen ? t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
|
|
79
103
|
this.templateInfos = await this._getTemplates(), this._configureTitlesOpen = !1;
|
|
80
104
|
}} @solutionItemsTitlesChanged=${async () => {
|
|
81
105
|
this.templateInfos = await this._getTemplates();
|
|
@@ -109,12 +133,12 @@ class T extends m {
|
|
|
109
133
|
if (!this._configContextConsumer?.value)
|
|
110
134
|
return;
|
|
111
135
|
const e = this.isMobile ? "margin-start-end-lg" : "margin-start-end-xxl";
|
|
112
|
-
return
|
|
136
|
+
return t`<div class=${`display-flex padding-bottom-xxl ${e} flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l tabindex=0>${this._translations.aboutYourSolutionOwner}</calcite-label></div><solution-user-avatar .fullname=${this._user?.username === this.card?.owner ? this._user?.fullName : void 0} .lookupProfile=${this._user?.username !== this.card?.owner} .thumbnailUrl=${this._user?.username === this.card?.owner ? this._user?.thumbnailUrl : void 0} .username=${this.card?.owner}></solution-user-avatar></div>`;
|
|
113
137
|
}
|
|
114
138
|
async _openDiagram(e) {
|
|
115
139
|
e.stopPropagation();
|
|
116
|
-
const
|
|
117
|
-
|
|
140
|
+
const i = await this._getTemplates();
|
|
141
|
+
i && (this._telemetry?.logEvent({
|
|
118
142
|
category: s.DEPLOYMENTS,
|
|
119
143
|
action: "View Diagram",
|
|
120
144
|
dimensions: [
|
|
@@ -123,14 +147,41 @@ class T extends m {
|
|
|
123
147
|
this.card?.deployVersion || "",
|
|
124
148
|
"Details Page"
|
|
125
149
|
]
|
|
126
|
-
}), this._templateInfoGraph =
|
|
150
|
+
}), this._templateInfoGraph = i, this._isDiagramOpen = !0);
|
|
127
151
|
}
|
|
128
152
|
async _getTemplates() {
|
|
129
|
-
return this.cardRef ? await this.cardRef.getTemplates() : this.card ? await
|
|
153
|
+
return this.cardRef ? await this.cardRef.getTemplates() : this.card ? await C(this.card.id, this._configContextConsumer.value.userSession) : void 0;
|
|
154
|
+
}
|
|
155
|
+
async _fetchFolderInfo() {
|
|
156
|
+
if (!this.card?.id)
|
|
157
|
+
return;
|
|
158
|
+
const e = this._configContextConsumer.value?.userSession?.username;
|
|
159
|
+
if (this.card?.owner === e)
|
|
160
|
+
try {
|
|
161
|
+
const i = this._configContextConsumer.value?.userSession;
|
|
162
|
+
if (!i)
|
|
163
|
+
return;
|
|
164
|
+
const a = await h.getItemBase(this.card.id, i);
|
|
165
|
+
this._folderId = a.ownerFolder ?? null;
|
|
166
|
+
const o = this._configContextConsumer.value?.userSession?.username;
|
|
167
|
+
if (this.card?.owner !== o)
|
|
168
|
+
return;
|
|
169
|
+
if (this._folderId) {
|
|
170
|
+
const { folders: n } = await h.getFoldersAndGroups(i), l = n.find((c) => c.id === this._folderId);
|
|
171
|
+
this._folderName = l?.title || this._folderId;
|
|
172
|
+
} else
|
|
173
|
+
this._folderName = this.card?.owner || "Root";
|
|
174
|
+
} catch (i) {
|
|
175
|
+
console.error("Error fetching folder info:", i), this._folderId = null, this._folderName = "";
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
_getFolderSection() {
|
|
179
|
+
const e = this.isMobile ? "padding-lg" : "padding-xxl", a = !this._folderId ? "home" : "folder";
|
|
180
|
+
return t`<div class=${`${e} display-flex flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.folder}</calcite-label><calcite-button appearance=transparent .disabled=${this._folderLoading} kind=neutral icon-start=launch2 @click=${this._openFolder}>${this._translations.openFolder}</calcite-button></div><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center">${this._folderLoading ? t`<div class="skeleton-loader skeleton-folder"></div>` : t`<calcite-icon class="icon-color" .icon=${a} scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${this._folderName || "Root"}</span></div>`}</div></div></div>`;
|
|
130
181
|
}
|
|
131
182
|
_getSolutionVersionCard() {
|
|
132
|
-
const e = this._hasNewVersion ? this._translations.newVersionAvailable : this._translations.youHaveTheLatestVersion,
|
|
133
|
-
return
|
|
183
|
+
const e = this._hasNewVersion ? this._translations.newVersionAvailable : this._translations.youHaveTheLatestVersion, i = this.isMobile ? "padding-lg" : "padding-xxl";
|
|
184
|
+
return t`<div class=${`${i} 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 ? t`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.learnMoreNewVersion}</calcite-button>` : ""}</div>`;
|
|
134
185
|
}
|
|
135
186
|
async _openNewVersionSolution(e) {
|
|
136
187
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
@@ -142,28 +193,23 @@ class T extends m {
|
|
|
142
193
|
this.card?.deployVersion || ""
|
|
143
194
|
]
|
|
144
195
|
}), await new Promise((a) => setTimeout(a, 100));
|
|
145
|
-
const
|
|
146
|
-
|
|
196
|
+
const i = k(this._configContextConsumer.value.allCards, this.card.deployCommonId);
|
|
197
|
+
i && this.forceSelectTab.emit({ tabType: "details", tabTitleOrId: i });
|
|
147
198
|
}
|
|
148
199
|
_getSolutionPanel() {
|
|
149
|
-
return
|
|
200
|
+
return t`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title ?? d} src=${this._thumbnailUrl ?? d}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1 negative-tabbing-offset" tabindex=0>${this.card?.title}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><div class="font-1 padding-end-1 line-height-xxl negative-tabbing-offset" tabindex=0>${this.card?.snippet}</div></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color tabbing-offset" layout=inline tabindex=0><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}", this.card?.created || "")}</calcite-label></div></div></div></div></div></calcite-panel>`;
|
|
150
201
|
}
|
|
151
202
|
_getSolutionContents() {
|
|
152
|
-
const e = [...new Set(this._nonSolutionDependencyItems.map((
|
|
153
|
-
return
|
|
203
|
+
const e = [...new Set(this._nonSolutionDependencyItems.map((i) => i.controlItemId))];
|
|
204
|
+
return t`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}", this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading ? t`<calcite-loader .label=${this._translations.loadingText} scale=m></calcite-loader>` : t`<solution-item-accordion .itemRelationshipDependencies=${e} .listSelectionMode=${e.length > 0 ? "multiple" : "single"} .reuseWarning=${this._translations.itemUsedInOtherSolutions} .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`;
|
|
154
205
|
}
|
|
155
206
|
_getDeleteDialog() {
|
|
156
|
-
return this._deleteDialogOpen ?
|
|
207
|
+
return this._deleteDialogOpen ? t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${() => setTimeout(() => this.navTabSelected.emit({ tabType: "deployments" }), 100)} @solutionDeleteDialogBeforeClose=${() => {
|
|
157
208
|
this._deleteDialogOpen = !1;
|
|
158
209
|
}} .open=${this._deleteDialogOpen} source="Details Page"></solution-delete-dialog>` : "";
|
|
159
210
|
}
|
|
160
|
-
_getSuccessDeployAlert() {
|
|
161
|
-
return i`<calcite-alert auto-close auto-close-duration=medium icon=check-circle kind=success .label=${this._translations.deploySuccessAlert.replace("{{solutionTitle}}", this.card?.title ?? "")} .open=${this._showSuccessAlert} @calciteAlertClose=${() => {
|
|
162
|
-
this._showSuccessAlert = !1;
|
|
163
|
-
}}><div slot=title>${this._translations.deploySuccessAlert.replace("{{solutionTitle}}", this.card?.title ?? "")}</div></calcite-alert>`;
|
|
164
|
-
}
|
|
165
211
|
_renderDiagramDialog() {
|
|
166
|
-
return this._isDiagramOpen ?
|
|
212
|
+
return this._isDiagramOpen ? t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}", this.card?.title ?? "") ?? d} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
|
|
167
213
|
this._isDiagramOpen = !1;
|
|
168
214
|
}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey !== "" ? this.diagramKey : this._configContextConsumer.value?.diagramKey ?? ""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
|
|
169
215
|
}
|
|
@@ -171,10 +217,10 @@ class T extends m {
|
|
|
171
217
|
this._deleteDialogOpen = !0;
|
|
172
218
|
}
|
|
173
219
|
_updateThumbnailToken(e) {
|
|
174
|
-
this._thumbnailUrl !== "" && (this._thumbnailUrl =
|
|
220
|
+
this._thumbnailUrl !== "" && (this._thumbnailUrl = $(this._thumbnailUrl, e));
|
|
175
221
|
}
|
|
176
222
|
}
|
|
177
|
-
|
|
223
|
+
u("solution-deployed-card-panel", I);
|
|
178
224
|
export {
|
|
179
|
-
|
|
225
|
+
I as SolutionDeployedCardPanel
|
|
180
226
|
};
|
|
@@ -12,7 +12,6 @@ import "@esri/calcite-components/components/calcite-accordion-item";
|
|
|
12
12
|
import "@esri/calcite-components/components/calcite-loader";
|
|
13
13
|
import "../solution-item-accordion/index.js";
|
|
14
14
|
import "../solution-delete-dialog/index.js";
|
|
15
|
-
import "@esri/calcite-components/components/calcite-alert";
|
|
16
15
|
import "@esri/calcite-components/components/calcite-dialog";
|
|
17
16
|
import "../solution-item-diagram/index.js";
|
|
18
17
|
export * from "./customElement.js";
|
|
@@ -5,7 +5,7 @@ import { u as m } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as u, createEvent as f, nothing as r, safeClassMap as g } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as b } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as x } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import { T as v,
|
|
8
|
+
import { T as v, K as y } from "../../chunks/helpers.js";
|
|
9
9
|
import { c as $ } from "../../chunks/cardsHelpers.js";
|
|
10
10
|
const _ = p`calcite-card{height:100%;padding-bottom:2px;border:2px solid transparent;transition:border-color .1s ease;box-sizing:border-box}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border-color:var(--calcite-color-brand);cursor:pointer}.chip-status{--calcite-chip-icon-color: var(--calcite-color-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:1.2rem}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:.5rem;margin-bottom:.7rem}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}a{text-decoration:none;color:inherit;outline:0;padding:0;margin:0;display:inherit;height:100%}`;
|
|
11
11
|
class C extends u {
|
|
@@ -7,7 +7,7 @@ import { useContextConsumer as w } from "@arcgis/lumina/context";
|
|
|
7
7
|
import { c as E, i as L } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { css as R, html as l } from "lit";
|
|
9
9
|
import { request as T, getWorkflowBaseURL as P, getWorkflowManagerAuthorized as A, sanitizeHTML as _, getItemDataAsJson as O, getItem as U, getPropWithDefault as $, getProp as f, setCreateProp as N } from "@esri/solution-common";
|
|
10
|
-
import { E as m,
|
|
10
|
+
import { E as m, V as F, g as x, T as g, W as b, X as H, L as M, K as V, Y as z, Z as B, G as Y } from "../../chunks/helpers.js";
|
|
11
11
|
import { _findExistingItem as G } from "@esri/solution-deployer";
|
|
12
12
|
import "../../chunks/solution-deploy-dialog.js";
|
|
13
13
|
import "../solution-snapshot-gallery/customElement.js";
|
|
@@ -28,8 +28,8 @@ async function K(n, e, t) {
|
|
|
28
28
|
c !== -1 && t.splice(c, 1);
|
|
29
29
|
}), i = i.concat(
|
|
30
30
|
q(
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Z(n),
|
|
32
|
+
Q(n)
|
|
33
33
|
)
|
|
34
34
|
), i = i.concat(j(n)), i = i.concat(await J(n))), Promise.resolve(i);
|
|
35
35
|
}
|
|
@@ -63,7 +63,7 @@ async function X(n, e) {
|
|
|
63
63
|
};
|
|
64
64
|
return T(`${t}/portals/self/servers`, i).then((s) => s?.servers?.find((a) => a.serverFunction.indexOf("NotebookServer") > -1), (s) => (console.error(s), !1));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Z(n) {
|
|
67
67
|
const e = n?.PortalUserSubset?.privileges, t = [
|
|
68
68
|
"portal:admin:create",
|
|
69
69
|
"portal:admin:delete",
|
|
@@ -74,7 +74,7 @@ function Q(n) {
|
|
|
74
74
|
(i) => e.some((s) => s.startsWith(i))
|
|
75
75
|
) : !1;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Q(n) {
|
|
78
78
|
return n?.PortalSubset?.locationTrackingEnabled || !1;
|
|
79
79
|
}
|
|
80
80
|
function ee(n) {
|
|
@@ -50,10 +50,12 @@ export abstract class SolutionItemAccordion extends LitElement {
|
|
|
50
50
|
/** Collapses all items in the accordion. */
|
|
51
51
|
collapseAll(): Promise<void>;
|
|
52
52
|
/**
|
|
53
|
-
* Deselects all items in the accordion
|
|
53
|
+
* Deselects all items in the accordion.
|
|
54
54
|
* Only applies when selectionMode is 'single' or 'single-persist'.
|
|
55
|
+
*
|
|
56
|
+
* @param collapseAccordion - Whether to also collapse the accordion items after deselecting
|
|
55
57
|
*/
|
|
56
|
-
deselectAll(): Promise<void>;
|
|
58
|
+
deselectAll(collapseAccordion?: boolean): Promise<void>;
|
|
57
59
|
/** Expands the first accordion item */
|
|
58
60
|
expandFirstItem(): Promise<void>;
|
|
59
61
|
/**
|
|
@@ -63,9 +63,9 @@ class f extends h {
|
|
|
63
63
|
i.expanded = !1;
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
async deselectAll() {
|
|
67
|
-
(this.listSelectionMode === "single" || this.listSelectionMode === "single-persist") && this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach((
|
|
68
|
-
|
|
66
|
+
async deselectAll(e = !1) {
|
|
67
|
+
(this.listSelectionMode === "single" || this.listSelectionMode === "single-persist") && this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach((t) => {
|
|
68
|
+
t.selected && (t.selected = !1), e && (t.parentElement?.parentElement).expanded && ((t.parentElement?.parentElement).expanded = !1);
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
async expandItemById(e) {
|
|
@@ -5,7 +5,7 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as n, nothing as s } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as m } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as z } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import {
|
|
8
|
+
import { K as v, T as d } from "../../chunks/helpers.js";
|
|
9
9
|
const H = o`calcite-card{cursor:pointer;height:100%;padding-bottom:2px;border-inline-start:3px solid transparent}calcite-card:hover{outline:1px solid var(--calcite-color-brand);border-inline-start:3px solid var(--calcite-color-brand);box-sizing:border-box}.card-icon{margin-bottom:var(--calcite-spacing-md);display:flex;justify-content:flex-start}.card-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-sm) 0;color:var(--calcite-color-text-1)}.card-description{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);margin:0}.meridian-icon{width:48px;height:48px;display:block;color:var(--calcite-color-text-3)}`, c = {
|
|
10
10
|
"arcmap-blog": "M34 28.9H10v-.8h24zm-24 5h20v-.8H10zm31.591-20.8l-.8.8H45.1v25.2H18.583l-9.817 4.245 1.823-4.245H3.9V13.9h22.665l.8-.8H3.1v26.8h6.274l-2.142 4.986L18.666 39.9H45.9V13.1zm-.953-5.141l.449 2.676L32.6 19.12l-.567-.565 8.195-8.196-.286-1.708L24.09 24.476a1.82 1.82 0 0 1-.689.431l-3.52 1.22 1.213-3.525a1.832 1.832 0 0 1 .431-.692L42.461.989l2.578 2.577zm3.268-4.394L42.461 2.12 22.09 22.475a1.036 1.036 0 0 0-.242.388l-.678 1.97 1.968-.682a1.018 1.018 0 0 0 .384-.24z",
|
|
11
11
|
"esri-community": "M24 47.896a3.897 3.897 0 0 1-1.563-.327L3.1 39.106V12.928a6.169 6.169 0 0 1 3.696-5.651L22.436.43a3.905 3.905 0 0 1 3.128 0L44.9 8.894v26.178a6.17 6.17 0 0 1-3.696 5.651l-15.64 6.846a3.897 3.897 0 0 1-1.564.327zM3.9 38.583l18.857 8.254a3.11 3.11 0 0 0 2.486 0l15.64-6.846a5.37 5.37 0 0 0 3.217-4.92V9.418L25.243 1.163a3.11 3.11 0 0 0-2.486 0L7.117 8.01A5.369 5.369 0 0 0 3.9 12.928zm21.364.344a14.156 14.156 0 0 1-14.17-14.111 13.678 13.678 0 0 1 16.893-13.26l.387.103-1.164 4.336-.389-.107a8.052 8.052 0 0 0-2.141-.282 8.907 8.907 0 0 0-8.74 8.838 9.303 9.303 0 0 0 15.277 7.075.809.809 0 0 1 1.104.062l2.451 2.57a.808.808 0 0 1-.047 1.161 14.213 14.213 0 0 1-9.461 3.615zm-.559-27a12.956 12.956 0 0 0-12.81 12.889 13.375 13.375 0 0 0 22.298 9.899L31.73 32.13a10.103 10.103 0 0 1-16.591-7.687 9.718 9.718 0 0 1 9.54-9.637 8.982 8.982 0 0 1 1.965.212l.748-2.787a11.953 11.953 0 0 0-2.687-.305zM36 26.9H24a3.905 3.905 0 0 1-3.9-3.9.901.901 0 0 1 .9-.9h10.84a7.77 7.77 0 0 0-1.875-4.15l-.131-.158 1.332-5.01.475.357a13.413 13.413 0 0 1 5.26 10.705V26a.901.901 0 0 1-.901.9zm-15-4a.1.1 0 0 0-.1.1 3.103 3.103 0 0 0 3.1 3.1h12a.1.1 0 0 0 .1-.1v-2.156a12.643 12.643 0 0 0-4.47-9.693l-.918 3.451a8.135 8.135 0 0 1 1.95 4.898v.4z",
|
|
@@ -3,7 +3,7 @@ import { c as n } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { u as c } from "../../chunks/useT9n.js";
|
|
4
4
|
import { LitElement as l, nothing as a } from "@arcgis/lumina";
|
|
5
5
|
import { useContextConsumer as d } from "@arcgis/lumina/context";
|
|
6
|
-
import {
|
|
6
|
+
import { K as h, L as r } from "../../chunks/helpers.js";
|
|
7
7
|
import { c as p } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { css as g, html as i } from "lit";
|
|
9
9
|
import "@esri/solution-common";
|
|
@@ -5,7 +5,7 @@ import { u as g } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, nothing as h, safeStyleMap as l } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as b } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as x } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import { T as w,
|
|
8
|
+
import { T as w, M as y } from "../../chunks/helpers.js";
|
|
9
9
|
import { createRef as n, ref as r } from "lit-html/directives/ref.js";
|
|
10
10
|
import * as $ from "@arcgis/core/intl";
|
|
11
11
|
import k from "@arcgis/core/request";
|
|
@@ -5,7 +5,7 @@ import { useContextConsumer as n } from "@arcgis/lumina/context";
|
|
|
5
5
|
import { c as l } from "../../chunks/deployAppContexts.js";
|
|
6
6
|
import { restGetUser as s } from "@esri/solution-common";
|
|
7
7
|
import { css as r, html as u } from "lit";
|
|
8
|
-
import {
|
|
8
|
+
import { J as c } from "../../chunks/helpers.js";
|
|
9
9
|
const m = r`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.avatar-container{align-items:center;display:flex;flex-direction:row;padding-top:var(--calcite-spacing-lg)}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}`;
|
|
10
10
|
class f extends o {
|
|
11
11
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { css as f, html as d, svg as y } from "lit";
|
|
|
4
4
|
import { u as C } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as S, createEvent as c } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as v } from "@arcgis/lumina/context";
|
|
7
|
-
import { a as u, T as _,
|
|
7
|
+
import { a as u, T as _, N as w, K as x, B as T, d as E, e as b } from "../../chunks/helpers.js";
|
|
8
8
|
import { C as g, g as A } from "../../chunks/cardFetchingUtils.js";
|
|
9
9
|
import { b as D } from "../../chunks/cardsHelpers.js";
|
|
10
10
|
import { c as I } from "../../chunks/deployAppContexts.js";
|