@esri/solutions-components 5.1.0-next.74 → 5.1.0-next.76
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/22QTC3HD.js +2 -0
- package/dist/cdn/{DXXYVHWW.js → 2VBMNWQJ.js} +1 -1
- package/dist/cdn/{7DVOR4SY.js → 3WKKIXVT.js} +1 -1
- package/dist/cdn/{7FF5YSNR.js → 3YAZZIXF.js} +1 -1
- package/dist/cdn/{ARWREGJS.js → 54CL4RRW.js} +1 -1
- package/dist/cdn/{EYBEUSBG.js → 55PTISQ7.js} +1 -1
- package/dist/cdn/{TZL2746B.js → 5ADMCIGY.js} +1 -1
- package/dist/cdn/5H6CPGHD.js +2 -0
- package/dist/cdn/{BDXIKPLU.js → 5HZMUGQD.js} +1 -1
- package/dist/cdn/{T537IZUH.js → 5JLXNBOA.js} +1 -1
- package/dist/cdn/5P6ASR4K.js +2 -0
- package/dist/cdn/{G2ME4BAQ.js → 5VDDAINK.js} +1 -1
- package/dist/cdn/{UK4O67GV.js → 64Y5CQSL.js} +1 -1
- package/dist/cdn/{7GPGKDLH.js → 6O3XSKQY.js} +1 -1
- package/dist/cdn/{5UQRM2YJ.js → 7TCHZME4.js} +1 -1
- package/dist/cdn/{J2NEDI2T.js → AD2E3YIF.js} +1 -1
- package/dist/cdn/{T745GPG3.js → AFZETCUL.js} +1 -1
- package/dist/cdn/{KU62OLRE.js → ALSK2SPM.js} +1 -1
- package/dist/cdn/{CFBQUUDC.js → AW3YUOA3.js} +1 -1
- package/dist/cdn/{B3R52L7H.js → BMBNSJZQ.js} +1 -1
- package/dist/cdn/{KRJKI7JF.js → CIG6UPFZ.js} +3 -22
- package/dist/cdn/DJTRZAV2.js +2 -0
- package/dist/cdn/{BOROZS32.js → DPRHM2QD.js} +1 -1
- package/dist/cdn/{VXMIT5WR.js → EBRCBPEM.js} +1 -1
- package/dist/cdn/{CHHIDAIO.js → EHSP3IOY.js} +1 -1
- package/dist/cdn/EINYQ66O.js +2 -0
- package/dist/cdn/{IXPYSOIL.js → F65BV6LP.js} +1 -1
- package/dist/cdn/{D5FEDX3A.js → FBGVX4VY.js} +1 -1
- package/dist/cdn/{RNA5LDZ5.js → FE2QUN5Y.js} +1 -1
- package/dist/cdn/FYQQWZMP.js +2 -0
- package/dist/cdn/{BPAYAR53.js → GEXLEGOL.js} +1 -1
- package/dist/cdn/GGKCCM3W.js +2 -0
- package/dist/cdn/{EYXOOK3V.js → H5TWIMN3.js} +1 -1
- package/dist/cdn/{BGH2AS23.js → HQTTGUND.js} +1 -1
- package/dist/cdn/{PP7IZNAR.js → I2R7UTIJ.js} +1 -1
- package/dist/cdn/{ATPI4B7J.js → IRRMUFW7.js} +1 -1
- package/dist/cdn/KETCZGYB.js +2 -0
- package/dist/cdn/{JOI3ZKK5.js → KGT5OFIJ.js} +1 -1
- package/dist/cdn/{SF5GTQEL.js → KHSD4H7I.js} +1 -1
- package/dist/cdn/{U6ALIHIC.js → KOHVDHPZ.js} +1 -1
- package/dist/cdn/{TBQQ6OPX.js → LCPWL74J.js} +1 -1
- package/dist/cdn/{YQ7JYIBN.js → LF2W2PQP.js} +112 -112
- package/dist/cdn/{MYIJ4DQY.js → LJURF4AO.js} +1 -1
- package/dist/cdn/LRYD34MD.js +2 -0
- package/dist/cdn/{XU2HEOFI.js → M4SSWXDB.js} +22 -22
- package/dist/cdn/{X4LKJTY5.js → MPJRP2QO.js} +1 -1
- package/dist/cdn/{JALU4653.js → MZY3G7B5.js} +1 -1
- package/dist/cdn/{FUJV2OPO.js → N55BWDHJ.js} +1 -1
- package/dist/cdn/NTOQES4U.js +41 -0
- package/dist/cdn/{SICXVIQQ.js → NTV52CCQ.js} +1 -1
- package/dist/cdn/{TUGKPWRB.js → NUD23X7L.js} +1 -1
- package/dist/cdn/{KJNYVH65.js → NWYHNQFD.js} +1 -1
- package/dist/cdn/{T3JHAFWW.js → NYWKJJKK.js} +1 -1
- package/dist/cdn/{H3LJVYII.js → OPWB5U5Y.js} +1 -1
- package/dist/cdn/{D3XBFWCF.js → OQCAP74L.js} +1 -1
- package/dist/cdn/{4TYKXT5H.js → Q2UWCF43.js} +1 -1
- package/dist/cdn/{F7G3JSDV.js → Q3JCFT6P.js} +1 -1
- package/dist/cdn/{7YLCROT7.js → Q3ZEIM5Q.js} +1 -1
- package/dist/cdn/{KWFCHK6U.js → QIBOTABX.js} +1 -1
- package/dist/cdn/{WXGTKA7P.js → QKDFC32E.js} +1 -1
- package/dist/cdn/{47IJA2SQ.js → QV6ENNZ2.js} +1 -1
- package/dist/cdn/RCO3B4ZO.js +2 -0
- package/dist/cdn/{RBYBNP2B.js → RGMZ4ASW.js} +1 -1
- package/dist/cdn/{ANX2J4ID.js → RIM6ODUZ.js} +1 -1
- package/dist/cdn/{3XVYTVMS.js → S7MMEM3H.js} +1 -1
- package/dist/cdn/{E7W2OZL3.js → SFM524YL.js} +1 -1
- package/dist/cdn/{FTMEQQF5.js → SH72A5PB.js} +1 -1
- package/dist/cdn/{OZZ2CCGL.js → SMQ2U5KS.js} +1 -1
- package/dist/cdn/{I3D5WRYZ.js → TM3CBSWO.js} +1 -1
- package/dist/cdn/{W3QL6FH2.js → TZEWXG4O.js} +1 -1
- package/dist/cdn/{NLILOBN5.js → UAJXFSQG.js} +1 -1
- package/dist/cdn/UUNXKEXP.js +2 -0
- package/dist/cdn/UYULN6D2.js +2 -0
- package/dist/cdn/{QHYG6C3L.js → UYYYSJL4.js} +1 -1
- package/dist/cdn/{LOSZZK4D.js → VQIXSBFT.js} +1 -1
- package/dist/cdn/{HBALPM34.js → W3M6A2WM.js} +1 -1
- package/dist/cdn/WR3IVHYS.js +2 -0
- package/dist/cdn/{VIWNXKUP.js → WUM5AKBT.js} +1 -1
- package/dist/cdn/{EMXGXBXU.js → X4THAL77.js} +1 -1
- package/dist/cdn/{HBQN25RR.js → XGUPGW5V.js} +1 -1
- package/dist/cdn/XQQ52NKX.js +2 -0
- package/dist/cdn/{NJJYHW6D.js → XTIRY4UZ.js} +1 -1
- package/dist/cdn/{PJ5ORVU5.js → XVXOCPOT.js} +1 -1
- package/dist/cdn/{NOIG2A4U.js → Y2ORH4QJ.js} +1 -1
- package/dist/cdn/{HIWKSSJD.js → Y7JFB2UI.js} +1 -1
- package/dist/cdn/{AJY7XD7A.js → Z25OUDBP.js} +1 -1
- package/dist/cdn/{TVCG3ZCH.js → ZR4T2HGR.js} +1 -1
- package/dist/cdn/ZVJLGZDO.js +2 -0
- package/dist/cdn/{3FL3PNLU.js → ZZKXHJSA.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/{workflow_1_step_1.js → extract-template.js} +5 -18
- package/dist/chunks/extract-use-case.js +38 -0
- package/dist/chunks/get.js +6 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +4875 -4854
- package/dist/components/solution-builder-assistant/customElement.js +54 -37
- package/dist/components/solutions-deploy-app/customElement.js +9 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/package.json +1 -1
- package/dist/cdn/5CARFDI3.js +0 -2
- package/dist/cdn/5OKASTA4.js +0 -2
- package/dist/cdn/73AX72WY.js +0 -2
- package/dist/cdn/7VFHFVJM.js +0 -2
- package/dist/cdn/AYCGL3SF.js +0 -2
- package/dist/cdn/CMZNMR3O.js +0 -2
- package/dist/cdn/DHM4CMZF.js +0 -2
- package/dist/cdn/DQ5KCIUN.js +0 -2
- package/dist/cdn/EBWKBVOW.js +0 -2
- package/dist/cdn/HHR7TKXF.js +0 -2
- package/dist/cdn/LWM6GMKX.js +0 -2
- package/dist/cdn/OAFE6H7U.js +0 -2
- package/dist/cdn/VWU4KCEV.js +0 -2
- package/dist/cdn/XAC6OXJQ.js +0 -2
- package/dist/cdn/ZIGRP4UM.js +0 -2
- /package/dist/cdn/{6R7KBXUQ.js → PHHDNMAS.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as g } from "../../chunks/runtime.js";
|
|
3
|
-
import { repeat as
|
|
4
|
-
import { u as
|
|
3
|
+
import { repeat as v } from "lit/directives/repeat.js";
|
|
4
|
+
import { u as T } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as C, createEvent as d, safeClassMap as b, nothing as S } from "@arcgis/lumina";
|
|
6
6
|
import { css as w, html as h } from "lit";
|
|
7
7
|
import { T as y } from "../../chunks/solutions-deploy-app-nav.js";
|
|
8
8
|
import { a as A, T as c, F as D, B as x, e as O } from "../../chunks/helpers.js";
|
|
9
9
|
import { createRef as l, ref as o } from "lit-html/directives/ref.js";
|
|
10
|
-
import { C as
|
|
10
|
+
import { C as m, g as I } from "../../chunks/cardFetchingUtils.js";
|
|
11
11
|
import { useContextProvider as _ } from "@arcgis/lumina/context";
|
|
12
12
|
import { c as F, b as $, i as k } from "../../chunks/deployAppContexts.js";
|
|
13
13
|
import { h as M, f as P } from "../../chunks/cardsHelpers.js";
|
|
@@ -22,7 +22,7 @@ import "../solutions-deployed-shell/customElement.js";
|
|
|
22
22
|
import "../solution-details-panel/customElement.js";
|
|
23
23
|
import "../solution-deployed-card-panel/customElement.js";
|
|
24
24
|
import "../solution-builder-assistant/customElement.js";
|
|
25
|
-
const L = w`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--assistant-panel-width: 420px;--
|
|
25
|
+
const L = w`.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-right: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-left:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-right:0;width:auto;max-width:1440px}.builder-panel{position:fixed;top:65px;left:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));right:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;box-shadow:-6px 0 8px -4px #00000026;transition:transform .3s cubic-bezier(.4,0,.2,1);transform:translate(0);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;right:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column;box-shadow:-6px 0 8px -4px #00000026}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-right:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);right:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}`, R = {
|
|
26
26
|
solution: {
|
|
27
27
|
title: "Bus Stop ADA Compliance Inspections",
|
|
28
28
|
description: "Bus Stop ADA Compliance Inspections can be used to perform routine inspections of bus stops for ADA compliance and monitor inspection progress.",
|
|
@@ -233,7 +233,7 @@ const L = w`.back-color-override{background-color:var(--calcite-color-surface-3)
|
|
|
233
233
|
};
|
|
234
234
|
class B extends C {
|
|
235
235
|
constructor() {
|
|
236
|
-
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isAssistantOpen = !1, this._builderVisible = !1, this._showFabTooltip = !0, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations =
|
|
236
|
+
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isAssistantOpen = !1, this._builderVisible = !1, this._showFabTooltip = !0, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${A}`, this._allCards = [], this._allShell = l(), this._allTab = l(), this._allTabTitle = l(), this._resourcesTab = l(), this._resourcesTabTitle = l(), this._categories = [], this._configContextProvider = _({ context: F }), this._delay = !1, this._deployAppNav = l(), this._deployedCardPanel = l(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = l(), this._deployedCardTabTitle = l(), this._detailsShell = l(), this._detailsTab = l(), this._detailsTabTitle = l(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._solutionBuilderPanel = l(), this._builderDesignContextProvider = _({ context: $ }), this._isMobileContextProvider = _({ context: k }), this._mainContentRef = l(), this._mySolutionsShell = l(), this._mySolutionsTab = l(), this._mySolutionsTabTitle = l(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new y(), this.deployAppTabSelected = d(), this.deployedCardFetchFailed = d(), this.detailsCardSelected = d(), this.deployedCardSelected = d(), this.metaTagStringsReady = d(), this.sessionRefreshed = d(), this.tabChanged = d(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (t) => this.selectTab(t.detail, {})), this.listenOn(window, "showGlobalAlert", this._handleShowGlobalAlert), this.listenOn(window, "openAssistant", () => {
|
|
237
237
|
this._openAssistant();
|
|
238
238
|
}), this.listenOn(window, "closeAssistant", () => {
|
|
239
239
|
this._isAssistantOpen = !1, this._builderVisible = !1;
|
|
@@ -371,11 +371,11 @@ class B extends C {
|
|
|
371
371
|
super.disconnectedCallback(), this._resizeObserver?.disconnect(), this._tabpanelObserver?.disconnect();
|
|
372
372
|
}
|
|
373
373
|
_renderGlobalAlerts() {
|
|
374
|
-
return
|
|
374
|
+
return v(this._globalAlerts, (t) => t.id, (t) => h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title || ""} @calciteAlertClose=${() => this._removeGlobalAlert(t.id)} open>${t.title && h`<div slot=title>${t.title}</div>` || ""}<div slot=message>${t.message}</div></calcite-alert>`);
|
|
375
375
|
}
|
|
376
376
|
async _handleAuthInit(t) {
|
|
377
377
|
const e = t.detail;
|
|
378
|
-
e.telemetrySession || (e.telemetrySession = y.getDisabledSession()), this._configContextProvider.setValue(e), e.authentication && (this.authentication = e.authentication), this._cardFetcherDeployed = new
|
|
378
|
+
e.telemetrySession || (e.telemetrySession = y.getDisabledSession()), this._configContextProvider.setValue(e), e.authentication && (this.authentication = e.authentication), this._cardFetcherDeployed = new m(e.locale, e.orgUrl, e.portalURL), this._cardsFetcher = new m(e.locale, e.orgUrl, e.portalURL), this._isDisconnectedEnvironment || await this._getSolutions(e.primarySolutionsGroupId, e.agoBasedEnterpriseSolutionsGroupId), this._configContextProvider.value.allCards = this._allCards, this._configContextProvider.value.anonAgolSession = this._cardsFetcher.anonAgolSession, this._configContextProvider.value.agolPortalUrl = this._cardsFetcher.agolPortalUrl, await this._initializeTelemetry(), this._isLoaded = !0, this._setRefreshInterval(), this._initTab ? (this.selectTab(this._initTab, this._initFilters), this._logTabViewTelemetry(this._initTab.tabType), this._initTab = void 0, this._initFilters = void 0) : this.authentication?.IsSignedIn && (this.initTab === "details" || this.initTab === "deployed-card" || (this._logTabViewTelemetry(this._activeTab), this._emitMetaTagStrings(this._activeTab)));
|
|
379
379
|
}
|
|
380
380
|
_setActiveTab(t) {
|
|
381
381
|
const i = t.detail.tabType, s = this._activeTab !== i;
|
|
@@ -546,12 +546,12 @@ class B extends C {
|
|
|
546
546
|
_getDefaultSearchOptions(t) {
|
|
547
547
|
let e;
|
|
548
548
|
if (t) {
|
|
549
|
-
const i = t.domain, s = t.industry === "AEC" ? O.AEC : t.industry, a = t.offerType, n = t.searchTerm,
|
|
549
|
+
const i = t.domain, s = t.industry === "AEC" ? O.AEC : t.industry, a = t.offerType, n = t.searchTerm, f = "";
|
|
550
550
|
let r = t.sortField;
|
|
551
551
|
const p = t.owner, u = t.filter;
|
|
552
552
|
r === "suggested" && !this.authentication?.IsSignedIn && (r = this.sortType), e = i || s ? {
|
|
553
553
|
type: i ? "domain" : s ? "industry" : ""
|
|
554
|
-
} : void 0, i && (e = e ? { ...e, domain: i } : { domain: i }), s && (e = e ? { ...e, industry: s } : { industry: s }), n && (e = e ? { ...e, searchTerm: n } : { searchTerm: n }), e && (e = { ...e, displayValue:
|
|
554
|
+
} : void 0, i && (e = e ? { ...e, domain: i } : { domain: i }), s && (e = e ? { ...e, industry: s } : { industry: s }), n && (e = e ? { ...e, searchTerm: n } : { searchTerm: n }), e && (e = { ...e, displayValue: f }), r && (e = e ? { ...e, sortType: r } : { sortType: r }), a && (r = a.toLowerCase(), e = e ? { ...e, sortType: r } : { sortType: r }), p && (e = e ? { ...e, owner: p } : { owner: p }), u && (e = e ? { ...e, filter: u } : { filter: u });
|
|
555
555
|
}
|
|
556
556
|
return e;
|
|
557
557
|
}
|