@esri/solutions-components 5.1.0-next.150 → 5.1.0-next.151
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/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/DQXGBGQS.js +2 -0
- package/dist/cdn/{ZNH7LRND.js → EKUENEEW.js} +1 -1
- 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/{TKOGOWYQ.js → KK7S3QIA.js} +27 -27
- 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/{RY6KZ77P.js → PGW5WSQA.js} +1 -1
- package/dist/cdn/{7WYPODAB.js → PWTMEYVV.js} +1 -1
- package/dist/cdn/{6AUKNSKW.js → QD22B6N2.js} +1 -1
- package/dist/cdn/{4FRYNYQ6.js → QGDR24DC.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/{WXL7GVUU.js → U74P7HIL.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/{DO7NLLUV.js → ZFF7I7I6.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 +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +195 -170
- package/dist/components/solution-builder-assistant/index.js +2 -2
- 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/JMBANG5V.js +0 -2
- package/dist/cdn/OANAQ6HY.js +0 -2
- package/dist/cdn/UCQJWFUW.js +0 -2
- package/dist/cdn/XEF5G3BC.js +0 -2
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
4
4
|
import { u as T } from "../../chunks/useT9n.js";
|
|
5
|
-
import { LitElement as w, createEvent as
|
|
6
|
-
import { css as S, html as
|
|
5
|
+
import { LitElement as w, createEvent as c, safeClassMap as _, nothing as C } from "@arcgis/lumina";
|
|
6
|
+
import { css as S, html as d } from "lit";
|
|
7
7
|
import { T as m } from "../../chunks/solutions-deploy-app-nav.js";
|
|
8
8
|
import { a as D, T as h, y as A, B as x, e as I } from "../../chunks/interfaces.js";
|
|
9
9
|
import { createRef as o, ref as a } from "lit-html/directives/ref.js";
|
|
@@ -11,8 +11,8 @@ import { C as y } from "../../chunks/CardsFetcher.js";
|
|
|
11
11
|
import { g as O } from "../../chunks/cardFetchingUtils.js";
|
|
12
12
|
import { useContextProvider as b } from "@arcgis/lumina/context";
|
|
13
13
|
import { c as F, b as L, i as $ } from "../../chunks/deployAppContexts.js";
|
|
14
|
-
import { t as
|
|
15
|
-
import { h as k, a as
|
|
14
|
+
import { t as M } from "../../chunks/solution-builder-assistant.js";
|
|
15
|
+
import { h as k, a as E } from "../../chunks/cardsHelpers.js";
|
|
16
16
|
import "@esri/solution-common";
|
|
17
17
|
import "@arcgis/core/identity/IdentityManager.js";
|
|
18
18
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
@@ -21,13 +21,14 @@ import { j as P } from "../../chunks/helpers.js";
|
|
|
21
21
|
import { _ as B } from "../../chunks/solution-deploy-dialog.js";
|
|
22
22
|
import "../solutions-all-shell/customElement.js";
|
|
23
23
|
import "../solutions-deployed-shell/customElement.js";
|
|
24
|
+
import "../solutions-resources-shell/customElement.js";
|
|
24
25
|
import "../solution-details-panel/customElement.js";
|
|
25
26
|
import "../solution-deployed-card-panel/customElement.js";
|
|
26
|
-
const R = S`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.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-2);flex:1;min-height:0}.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-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-2);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}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-inline-end:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel{margin-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-inline-end:0;width:auto;max-width:1440px}.builder-panel{position:fixed;top:65px;inset-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));inset-inline-end:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel:dir(rtl).display-none{transform:translate(-100%)}@supports (-webkit-touch-callout: none){.builder-panel.display-none{display:none!important;transform:none}.builder-panel:dir(rtl).display-none{transform:none}}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;inset-inline-end:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-inline-end:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);inset-inline-end:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}.assistant-fab-popover{--calcite-popover-max-size-x: 16rem}.assistant-fab-popover__content{display:block;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md);font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word}`,
|
|
27
|
+
const R = S`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.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-2);flex:1;min-height:0}.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-deployed-shell,solutions-all-shell,solutions-resources-shell,calcite-tab-nav,solution-deployed-card-panel,.resources-menu-container{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}.resources-menu-container{background-color:var(--calcite-color-foreground-1)}.resources-menu-toolbar{height:65px;display:flex;align-items:center}.resources-menu-toolbar calcite-menu-item{transition:border-color .2s ease}.resources-menu-toolbar calcite-menu-item[active]{border-bottom-color:var(--calcite-color-brand)}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);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}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-inline-end:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open solutions-resources-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel,.assistant-open .resources-menu-container{margin-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-inline-end:0;width:auto;max-width:1440px}.builder-panel{position:fixed;top:65px;inset-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));inset-inline-end:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel:dir(rtl).display-none{transform:translate(-100%)}@supports (-webkit-touch-callout: none){.builder-panel.display-none{display:none!important;transform:none}.builder-panel:dir(rtl).display-none{transform:none}}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;inset-inline-end:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-inline-end:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);inset-inline-end:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}.assistant-fab-popover{--calcite-popover-max-size-x: 16rem}.assistant-fab-popover__content{display:block;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md);font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word}`, N = {
|
|
27
28
|
solution: {
|
|
28
29
|
title: "Bus Stop ADA Compliance Inspections",
|
|
29
30
|
description: "Bus Stop ADA Compliance Inspections can be used to perform routine inspections of bus stops for ADA compliance and monitor inspection progress.",
|
|
30
|
-
thumbnailUrl:
|
|
31
|
+
thumbnailUrl: M,
|
|
31
32
|
tags: [
|
|
32
33
|
"Bus Stop",
|
|
33
34
|
"ADA Compliance",
|
|
@@ -674,12 +675,12 @@ const R = S`.back-color-override{background-color:var(--calcite-color-surface-3)
|
|
|
674
675
|
]
|
|
675
676
|
}
|
|
676
677
|
};
|
|
677
|
-
class
|
|
678
|
+
class V extends w {
|
|
678
679
|
constructor() {
|
|
679
|
-
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.loadExampleBuilderData = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isViewportMobile = window.innerWidth <= 800, this._isAssistantOpen = !1, this._builderVisible = !1, this._hasActiveBuilderDesign = !1, this._showFabTooltip = !0, this._fabTooltipDismissed = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${D}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = b({ context: F }), 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._solutionBuilderPanel = o(), this._builderDesignContextProvider = b({ context: L }), this._isMobileContextProvider = b({ context: $ }), this._handleWindowResize = () => {
|
|
680
|
+
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.loadExampleBuilderData = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isViewportMobile = window.innerWidth <= 800, this._isAssistantOpen = !1, this._builderVisible = !1, this._hasActiveBuilderDesign = !1, this._showFabTooltip = !0, this._fabTooltipDismissed = !1, this._activeTab = "all-solutions", this._activeResourcesMenuItem = "getStarted", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${D}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = b({ context: F }), 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._solutionBuilderPanel = o(), this._builderDesignContextProvider = b({ context: L }), this._isMobileContextProvider = b({ context: $ }), this._handleWindowResize = () => {
|
|
680
681
|
const e = window.innerWidth <= 800;
|
|
681
682
|
this._isViewportMobile !== e && (this._isViewportMobile = e, e && (this._isAssistantOpen = !1, this._builderVisible = !1));
|
|
682
|
-
}, this._mainContentRef = o(), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new m(), this.deployAppTabSelected =
|
|
683
|
+
}, this._mainContentRef = o(), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._resourcesShell = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new m(), this.deployAppTabSelected = c(), this.deployedCardFetchFailed = c(), this.detailsCardSelected = c(), this.deployedCardSelected = c(), this.metaTagStringsReady = c(), this.sessionRefreshed = c(), this.tabChanged = c(), 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", (e) => this.selectTab(e.detail, {})), this.listenOn(window, "showGlobalAlert", this._handleShowGlobalAlert), this.listenOn(window, "openAssistant", () => {
|
|
683
684
|
this._openAssistant();
|
|
684
685
|
}), this.listenOn(window, "closeAssistant", () => {
|
|
685
686
|
this._isAssistantOpen = !1, this._builderVisible = !1;
|
|
@@ -690,7 +691,7 @@ class N extends w {
|
|
|
690
691
|
}), this.listenOn(window, "discardBuilder", (e) => {
|
|
691
692
|
this._hasActiveBuilderDesign = e.detail;
|
|
692
693
|
}), this.listenOn(window, "arcgis-solution-design-update", this._solutionBuilderSelected), window.addEventListener("resize", this._handleWindowResize), this._builderDesignContextProvider.value = {
|
|
693
|
-
design: this.loadExampleBuilderData ?
|
|
694
|
+
design: this.loadExampleBuilderData ? N : null,
|
|
694
695
|
updateDesign: (e) => {
|
|
695
696
|
this._builderDesignContextProvider.value = {
|
|
696
697
|
...this._builderDesignContextProvider.value,
|
|
@@ -707,7 +708,7 @@ class N extends w {
|
|
|
707
708
|
}, this.loadExampleBuilderData && (this._hasActiveBuilderDesign = !0);
|
|
708
709
|
}
|
|
709
710
|
static {
|
|
710
|
-
this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, loadExampleBuilderData: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _isViewportMobile: 16, _isAssistantOpen: 16, _builderVisible: 16, _hasActiveBuilderDesign: 16, _showFabTooltip: 16, _fabTooltipDismissed: 16, _activeTab: 16, _showDeployedCardFetchFailed: 16, _globalAlerts: 16, _translations: 16 };
|
|
711
|
+
this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, loadExampleBuilderData: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _isViewportMobile: 16, _isAssistantOpen: 16, _builderVisible: 16, _hasActiveBuilderDesign: 16, _showFabTooltip: 16, _fabTooltipDismissed: 16, _activeTab: 16, _activeResourcesMenuItem: 16, _showDeployedCardFetchFailed: 16, _globalAlerts: 16, _translations: 16 };
|
|
711
712
|
}
|
|
712
713
|
static {
|
|
713
714
|
this.styles = R;
|
|
@@ -750,7 +751,7 @@ class N extends w {
|
|
|
750
751
|
case "details":
|
|
751
752
|
if (this._allCards) {
|
|
752
753
|
let s = k(this._allCards, e.tabTitleOrId);
|
|
753
|
-
s = s ||
|
|
754
|
+
s = s || E(this._allCards, e.tabTitleOrId), s ? (this._detailsTab.value.selected = !0, this._detailsTabTitle.value.selected = !0, this.detailsCardSelected.emit(s)) : (e.tabType = "all-solutions", this._allTab.value.selected = !0, this._allTabTitle.value.selected = !0);
|
|
754
755
|
}
|
|
755
756
|
break;
|
|
756
757
|
case "deployments":
|
|
@@ -808,11 +809,11 @@ class N extends w {
|
|
|
808
809
|
}
|
|
809
810
|
render() {
|
|
810
811
|
const e = this._isLoaded ? "display-none" : "", t = this._isLoaded ? "" : "display-none";
|
|
811
|
-
return
|
|
812
|
+
return d`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen ? " assistant-open" : ""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing() && d`<div class="border"></div>` || ""}${this._activeTab !== "resources" && d`<solutions-searchsort-toolbar ${a(async (i) => {
|
|
812
813
|
i && (await this._deployAppNav.value?.componentOnReady(), this._searchSortToolbar = i);
|
|
813
|
-
})}></solutions-searchsort-toolbar><calcite-loader class=${_(e)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(t)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell
|
|
814
|
+
})}></solutions-searchsort-toolbar>` || ""}${this._activeTab === "resources" && d`<div class="border"></div><div class="resources-menu-container"><calcite-menu label="Resources Navigation" class="resources-menu-toolbar"><calcite-menu-item .active=${this._activeResourcesMenuItem === "getStarted" || void 0} label="Get Started" text="Get Started" @click=${() => this._handleResourcesMenuClick("getStarted")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "documentation" || void 0} label=Documentation text=Documentation @click=${() => this._handleResourcesMenuClick("documentation")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "support" || void 0} label=Support text=Support @click=${() => this._handleResourcesMenuClick("support")}></calcite-menu-item></calcite-menu></div>` || ""}<calcite-loader class=${_(e)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(t)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell class="height-100" ${a(this._resourcesShell)}></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise && d`<div class=${`builder-panel${this._builderVisible && !this._isViewportMobile ? "" : " display-none"}`}><solution-builder-assistant class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen && !this._isViewportMobile ? "" : " display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible} .hasActiveBuilderDesign=${this._hasActiveBuilderDesign}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip ?? C} class=${`assistant-fab${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} icon=effects id=assistant-fab-button @click=${() => {
|
|
814
815
|
this._openAssistant(), this._fabTooltipDismissed = !0, this._showFabTooltip = !1;
|
|
815
|
-
}} scale=l></calcite-fab>${!this._fabTooltipDismissed &&
|
|
816
|
+
}} scale=l></calcite-fab>${!this._fabTooltipDismissed && d`<calcite-popover closable class=${`assistant-fab-popover${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} .label=${this._translations.assistantFabTooltip} overlay-positioning=fixed @calcitePopoverClose=${() => {
|
|
816
817
|
this._fabTooltipDismissed = !0, this._showFabTooltip = !1;
|
|
817
818
|
}} .open=${this._showFabTooltip && !this._isAssistantOpen && !this._isViewportMobile} placement=leading reference-element=assistant-fab-button><span class="assistant-fab-popover__content">${this._translations.assistantFabTooltip}</span></calcite-popover>` || ""}` || ""}</calcite-shell>`;
|
|
818
819
|
}
|
|
@@ -822,8 +823,11 @@ class N extends w {
|
|
|
822
823
|
disconnectedCallback() {
|
|
823
824
|
super.disconnectedCallback(), window.removeEventListener("resize", this._handleWindowResize), this._resizeObserver?.disconnect(), this._tabpanelObserver?.disconnect();
|
|
824
825
|
}
|
|
826
|
+
async _handleResourcesMenuClick(e) {
|
|
827
|
+
this._activeResourcesMenuItem = e, await this._resourcesShell.value?.scrollToSection(e);
|
|
828
|
+
}
|
|
825
829
|
_renderGlobalAlerts() {
|
|
826
|
-
return v(this._globalAlerts, (e) => e.id, (e) =>
|
|
830
|
+
return v(this._globalAlerts, (e) => e.id, (e) => d`<calcite-alert .autoClose=${e.autoClose} .autoCloseDuration=${e.autoCloseDuration} .icon=${e.icon} .kind=${e.kind} .label=${e.title || ""} @calciteAlertClose=${() => this._removeGlobalAlert(e.id)} open>${e.title && d`<div slot=title>${e.title}</div>` || ""}<div slot=message>${e.message}</div></calcite-alert>`);
|
|
827
831
|
}
|
|
828
832
|
async _handleAuthInit(e) {
|
|
829
833
|
const t = e.detail;
|
|
@@ -1024,7 +1028,7 @@ class N extends w {
|
|
|
1024
1028
|
}
|
|
1025
1029
|
}
|
|
1026
1030
|
}
|
|
1027
|
-
f("solutions-deploy-app",
|
|
1031
|
+
f("solutions-deploy-app", V);
|
|
1028
1032
|
export {
|
|
1029
|
-
|
|
1033
|
+
V as SolutionsDeployApp
|
|
1030
1034
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-shell";
|
|
2
2
|
import "../solutions-deploy-app-nav/index.js";
|
|
3
3
|
import "../solutions-searchsort-toolbar/index.js";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-menu";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-menu-item";
|
|
4
6
|
import "@esri/calcite-components/components/calcite-loader";
|
|
5
7
|
import "@esri/calcite-components/components/calcite-tabs";
|
|
6
8
|
import "@esri/calcite-components/components/calcite-tab-nav";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as a, html as
|
|
4
|
-
import { LitElement as o, nothing as
|
|
3
|
+
import { css as a, html as s } from "lit";
|
|
4
|
+
import { LitElement as o, nothing as t } from "@arcgis/lumina";
|
|
5
5
|
import "../solution-resource-card/customElement.js";
|
|
6
|
-
const r = a`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.resources-section{padding:3rem var(--calcite-spacing-md);
|
|
6
|
+
const r = a`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.resources-section{padding:3rem var(--calcite-spacing-md);margin:0 auto;box-sizing:border-box}.section-header{margin-bottom:3rem;text-align:center}.section-heading{font-size:var(--calcite-font-size-3);font-weight:var(--calcite-font-weight-small);margin:0 0 var(--calcite-spacing-lg) 0;color:var(--calcite-color-text-1)}.section-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);margin:0}.cards-container{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap}.cards-container solution-resource-card{flex:1 1 200px}`;
|
|
7
7
|
class c extends o {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.heading = "", this.subheading = "", this.cards = [];
|
|
@@ -16,7 +16,7 @@ class c extends o {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const i = `section-heading-${this.heading.replace(/\s+/g, "-").toLowerCase()}`;
|
|
19
|
-
return
|
|
19
|
+
return s`<div class="resources-section" aria-labelledby=${i ?? t}><div class="section-header"><h2 class="section-heading" id=${i ?? t} tabindex=0>${this.heading}</h2><p class="section-subheading" tabindex=0>${this.subheading}</p></div><div class="cards-container">${this.cards.map((e) => s`<solution-resource-card .icon=${e.icon} .meridianIcon=${e.meridianIcon} .heading=${e.heading} .description=${e.description} .url=${e.url} .headingEn=${e.headingEn} .sectionHeadingEn=${e.sectionHeadingEn}></solution-resource-card>`)}</div></div>`;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
n("solutions-resources-section", c);
|
|
@@ -141,11 +141,12 @@ export abstract class SolutionsResourcesShell extends LitElement {
|
|
|
141
141
|
};
|
|
142
142
|
}>;
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Public method to scroll to a specific section
|
|
145
|
+
* Called by parent component menu items
|
|
145
146
|
*
|
|
146
|
-
* @
|
|
147
|
+
* @param section
|
|
147
148
|
*/
|
|
148
|
-
|
|
149
|
+
scrollToSection(section: "getStarted" | "documentation" | "support"): Promise<void>;
|
|
149
150
|
/** Emitted on demand when the sort type changes */
|
|
150
151
|
readonly sortTypeChanged: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
151
152
|
readonly "@eventTypes": {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { u as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { createRef as
|
|
2
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as m, html as f } from "lit";
|
|
4
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
5
|
+
import { LitElement as v, createEvent as S } from "@arcgis/lumina";
|
|
6
|
+
import { createRef as c, ref as d } from "lit/directives/ref.js";
|
|
7
7
|
import "../solutions-resources-section/customElement.js";
|
|
8
|
-
const
|
|
9
|
-
getStarted:
|
|
10
|
-
documentation:
|
|
11
|
-
support:
|
|
12
|
-
},
|
|
13
|
-
class
|
|
8
|
+
const w = { heading: "Get Started", card1: { heading: "What's new in the app" }, card2: { heading: "Deploy a solution" }, card3: { heading: "Manage a deployment" }, card4: { heading: "AI Assistant" } }, R = { heading: "Documentation", card1: { heading: "Help" }, card2: { heading: "What's new" }, card3: { heading: "FAQ" }, card4: { heading: "ArcGIS Blog" } }, _ = { heading: "Support", card1: { heading: "Esri Community" }, card2: { heading: "ArcGIS Ideas" }, card3: { heading: "Esri Video" }, card4: { heading: "Technical support" } }, t = {
|
|
9
|
+
getStarted: w,
|
|
10
|
+
documentation: R,
|
|
11
|
+
support: _
|
|
12
|
+
}, E = m`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}:host{display:block;position:relative;height:100%}.position-relative{position:relative}.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: 0px;--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}.z-index-1{z-index:1}calcite-shell{background-color:unset;height:auto}.section-spacing{margin-top:var(--calcite-spacing-lg)}`;
|
|
13
|
+
class y extends v {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(), this.
|
|
15
|
+
super(), this._translations = b({ name: "solutions-resources-shell", blocking: !0 }), this._mainPanelRef = c(), this._getStartedSectionRef = c(), this._documentationSectionRef = c(), this._supportSectionRef = c(), this._panelFixed = !1, this.sortTypeChanged = S(), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected);
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.properties = {
|
|
18
|
+
this.properties = { _translations: 16 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = E;
|
|
22
22
|
}
|
|
23
23
|
updated() {
|
|
24
24
|
this._fixPanelContentWrapperFocus();
|
|
@@ -28,8 +28,8 @@ class v extends c {
|
|
|
28
28
|
const e = this._mainPanelRef.value;
|
|
29
29
|
e.componentOnReady?.().then(() => {
|
|
30
30
|
if (e.shadowRoot) {
|
|
31
|
-
const
|
|
32
|
-
|
|
31
|
+
const o = e.shadowRoot.querySelector(".content-wrapper");
|
|
32
|
+
o && (o.tabIndex = -1, this._panelFixed = !0, this._setupPanelObserver());
|
|
33
33
|
}
|
|
34
34
|
}).catch(() => {
|
|
35
35
|
this._panelFixed = !0;
|
|
@@ -39,131 +39,173 @@ class v extends c {
|
|
|
39
39
|
_setupPanelObserver() {
|
|
40
40
|
if (this._panelObserver)
|
|
41
41
|
return;
|
|
42
|
-
this._panelObserver = new MutationObserver((
|
|
43
|
-
|
|
44
|
-
if (
|
|
45
|
-
const a =
|
|
42
|
+
this._panelObserver = new MutationObserver((o) => {
|
|
43
|
+
o.forEach((i) => {
|
|
44
|
+
if (i.type === "attributes" && i.attributeName === "tabindex") {
|
|
45
|
+
const a = i.target;
|
|
46
46
|
a.classList.contains("content-wrapper") && a.tabIndex === 0 && (a.tabIndex = -1);
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
50
|
const e = this._mainPanelRef.value;
|
|
51
51
|
if (e?.shadowRoot) {
|
|
52
|
-
const
|
|
53
|
-
|
|
52
|
+
const o = e.shadowRoot.querySelector(".content-wrapper");
|
|
53
|
+
o && this._panelObserver.observe(o, { attributes: !0, attributeFilter: ["tabindex"] });
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
disconnectedCallback() {
|
|
57
57
|
super.disconnectedCallback(), this._panelObserver?.disconnect();
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
const e = this._translations
|
|
61
|
-
return
|
|
60
|
+
const e = this._translations;
|
|
61
|
+
return f`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${d(this._mainPanelRef)}><div class="section-spacing" ${d(this._getStartedSectionRef)}><solutions-resources-section .heading=${e.getStarted.heading} .subheading=${e.getStarted.subheading} .cards=${[
|
|
62
62
|
{
|
|
63
63
|
meridianIcon: "value",
|
|
64
64
|
heading: e.getStarted.card1.heading,
|
|
65
65
|
description: e.getStarted.card1.description,
|
|
66
66
|
url: "https://links.esri.com/solutions/whats-new-in-the-app",
|
|
67
|
-
headingEn:
|
|
68
|
-
sectionHeadingEn:
|
|
67
|
+
headingEn: t.getStarted.card1.heading,
|
|
68
|
+
sectionHeadingEn: t.getStarted.heading
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
meridianIcon: "install",
|
|
72
72
|
heading: e.getStarted.card2.heading,
|
|
73
73
|
description: e.getStarted.card2.description,
|
|
74
74
|
url: "https://links.esri.com/solutions/deploy-a-solution",
|
|
75
|
-
headingEn:
|
|
76
|
-
sectionHeadingEn:
|
|
75
|
+
headingEn: t.getStarted.card2.heading,
|
|
76
|
+
sectionHeadingEn: t.getStarted.heading
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
meridianIcon: "keys",
|
|
80
80
|
heading: e.getStarted.card3.heading,
|
|
81
81
|
description: e.getStarted.card3.description,
|
|
82
82
|
url: "https://links.esri.com/solutions/manage-a-deployment",
|
|
83
|
-
headingEn:
|
|
84
|
-
sectionHeadingEn:
|
|
83
|
+
headingEn: t.getStarted.card3.heading,
|
|
84
|
+
sectionHeadingEn: t.getStarted.heading
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
meridianIcon: "speech-bubbles",
|
|
88
88
|
heading: e.getStarted.card4.heading,
|
|
89
89
|
description: e.getStarted.card4.description,
|
|
90
90
|
url: "https://links.esri.com/solutions/ai-assistant",
|
|
91
|
-
headingEn:
|
|
92
|
-
sectionHeadingEn:
|
|
91
|
+
headingEn: t.getStarted.card4.heading,
|
|
92
|
+
sectionHeadingEn: t.getStarted.heading
|
|
93
93
|
}
|
|
94
|
-
]}></solutions-resources-section><solutions-resources-section .heading=${e.documentation.heading} .subheading=${e.documentation.subheading} .cards=${[
|
|
94
|
+
]}></solutions-resources-section></div><div ${d(this._documentationSectionRef)}><solutions-resources-section .heading=${e.documentation.heading} .subheading=${e.documentation.subheading} .cards=${[
|
|
95
95
|
{
|
|
96
96
|
meridianIcon: "search-files",
|
|
97
97
|
heading: e.documentation.card1.heading,
|
|
98
98
|
description: e.documentation.card1.description,
|
|
99
99
|
url: "https://links.esri.com/solutions/help",
|
|
100
|
-
headingEn:
|
|
101
|
-
sectionHeadingEn:
|
|
100
|
+
headingEn: t.documentation.card1.heading,
|
|
101
|
+
sectionHeadingEn: t.documentation.heading
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
meridianIcon: "value",
|
|
105
105
|
heading: e.documentation.card2.heading,
|
|
106
106
|
description: e.documentation.card2.description,
|
|
107
107
|
url: "https://links.esri.com/solutions/whats-new",
|
|
108
|
-
headingEn:
|
|
109
|
-
sectionHeadingEn:
|
|
108
|
+
headingEn: t.documentation.card2.heading,
|
|
109
|
+
sectionHeadingEn: t.documentation.heading
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
meridianIcon: "faq",
|
|
113
113
|
heading: e.documentation.card3.heading,
|
|
114
114
|
description: e.documentation.card3.description,
|
|
115
115
|
url: "https://links.esri.com/solutions/faq",
|
|
116
|
-
headingEn:
|
|
117
|
-
sectionHeadingEn:
|
|
116
|
+
headingEn: t.documentation.card3.heading,
|
|
117
|
+
sectionHeadingEn: t.documentation.heading
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
meridianIcon: "arcmap-blog",
|
|
121
121
|
heading: e.documentation.card4.heading,
|
|
122
122
|
description: e.documentation.card4.description,
|
|
123
123
|
url: "https://links.esri.com/solutions/arcgis-blogs",
|
|
124
|
-
headingEn:
|
|
125
|
-
sectionHeadingEn:
|
|
124
|
+
headingEn: t.documentation.card4.heading,
|
|
125
|
+
sectionHeadingEn: t.documentation.heading
|
|
126
126
|
}
|
|
127
|
-
]}></solutions-resources-section><solutions-resources-section .heading=${e.support.heading} .subheading=${e.support.subheading} .cards=${[
|
|
127
|
+
]}></solutions-resources-section></div><div ${d(this._supportSectionRef)}><solutions-resources-section .heading=${e.support.heading} .subheading=${e.support.subheading} .cards=${[
|
|
128
128
|
{
|
|
129
129
|
meridianIcon: "esri-community",
|
|
130
130
|
heading: e.support.card1.heading,
|
|
131
131
|
description: e.support.card1.description,
|
|
132
132
|
url: "https://links.esri.com/solutions/esri-community",
|
|
133
|
-
headingEn:
|
|
134
|
-
sectionHeadingEn:
|
|
133
|
+
headingEn: t.support.card1.heading,
|
|
134
|
+
sectionHeadingEn: t.support.heading
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
meridianIcon: "idea",
|
|
138
138
|
heading: e.support.card2.heading,
|
|
139
139
|
description: e.support.card2.description,
|
|
140
140
|
url: "https://links.esri.com/solutions/arcgis-ideas",
|
|
141
|
-
headingEn:
|
|
142
|
-
sectionHeadingEn:
|
|
141
|
+
headingEn: t.support.card2.heading,
|
|
142
|
+
sectionHeadingEn: t.support.heading
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
meridianIcon: "video",
|
|
146
146
|
heading: e.support.card3.heading,
|
|
147
147
|
description: e.support.card3.description,
|
|
148
148
|
url: "https://links.esri.com/solutions/esri-video",
|
|
149
|
-
headingEn:
|
|
150
|
-
sectionHeadingEn:
|
|
149
|
+
headingEn: t.support.card3.heading,
|
|
150
|
+
sectionHeadingEn: t.support.heading
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
meridianIcon: "support",
|
|
154
154
|
heading: e.support.card4.heading,
|
|
155
155
|
description: e.support.card4.description,
|
|
156
156
|
url: "https://links.esri.com/solutions/technical-support",
|
|
157
|
-
headingEn:
|
|
158
|
-
sectionHeadingEn:
|
|
157
|
+
headingEn: t.support.card4.heading,
|
|
158
|
+
sectionHeadingEn: t.support.heading
|
|
159
159
|
}
|
|
160
|
-
]}></solutions-resources-section></div></
|
|
160
|
+
]}></solutions-resources-section></div></calcite-panel></calcite-shell>`;
|
|
161
|
+
}
|
|
162
|
+
async scrollToSection(e) {
|
|
163
|
+
const i = {
|
|
164
|
+
getStarted: this._getStartedSectionRef,
|
|
165
|
+
documentation: this._documentationSectionRef,
|
|
166
|
+
support: this._supportSectionRef
|
|
167
|
+
}[e];
|
|
168
|
+
if (!i.value || !this._mainPanelRef.value)
|
|
169
|
+
return;
|
|
170
|
+
const a = this._mainPanelRef.value, l = () => {
|
|
171
|
+
let n = this.el;
|
|
172
|
+
for (; n && n !== document.body; ) {
|
|
173
|
+
const s = window.getComputedStyle(n), r = s.overflowY, p = s.overflow;
|
|
174
|
+
if (n.scrollHeight > n.clientHeight && (r === "auto" || r === "scroll" || p === "auto" || p === "scroll") && i.value) {
|
|
175
|
+
const h = n.getBoundingClientRect(), u = i.value.getBoundingClientRect().top - h.top + n.scrollTop;
|
|
176
|
+
n.scrollTo({
|
|
177
|
+
top: u,
|
|
178
|
+
behavior: "smooth"
|
|
179
|
+
});
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
n = n.parentElement;
|
|
183
|
+
}
|
|
184
|
+
if (a.shadowRoot) {
|
|
185
|
+
const s = a.shadowRoot.querySelector(".content-wrapper");
|
|
186
|
+
if (s && i.value) {
|
|
187
|
+
const r = i.value.offsetTop;
|
|
188
|
+
if (s.scrollHeight > s.clientHeight) {
|
|
189
|
+
s.scrollTo({
|
|
190
|
+
top: r,
|
|
191
|
+
behavior: "smooth"
|
|
192
|
+
});
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
i.value && i.value.scrollIntoView({
|
|
198
|
+
behavior: "smooth",
|
|
199
|
+
block: "start"
|
|
200
|
+
});
|
|
201
|
+
};
|
|
202
|
+
typeof a.componentOnReady == "function" ? (await a.componentOnReady(), l()) : (await new Promise((n) => setTimeout(n, 100)), l());
|
|
161
203
|
}
|
|
162
204
|
_handleDeployAppTabSelected(e) {
|
|
163
205
|
e.detail === "resources" && this.sortTypeChanged.emit("");
|
|
164
206
|
}
|
|
165
207
|
}
|
|
166
|
-
|
|
208
|
+
g("solutions-resources-shell", y);
|
|
167
209
|
export {
|
|
168
|
-
|
|
210
|
+
y as SolutionsResourcesShell
|
|
169
211
|
};
|