@esri/solutions-components 5.1.0-next.13 → 5.1.0-next.15
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/{JYM2MD3W.js → 27G6RESZ.js} +1 -1
- package/dist/cdn/{YMWYAWT6.js → 2H7KJUZG.js} +1 -1
- package/dist/cdn/{32EJUXLB.js → 2WPJOTMI.js} +1 -1
- package/dist/cdn/{F346YHSU.js → 2XQOWXMT.js} +1 -1
- package/dist/cdn/{MQ7BT7PK.js → 3ME5BVUE.js} +1 -1
- package/dist/cdn/{WHXMHZL4.js → 3SYLXG32.js} +1 -1
- package/dist/cdn/3WO3DS32.js +2 -0
- package/dist/cdn/{B44OQSYO.js → 4GHX4MVD.js} +26 -26
- package/dist/cdn/{DB763WGF.js → 4L3MVJ5S.js} +1 -1
- package/dist/cdn/{QAVXLETM.js → 4NALIU6Y.js} +1 -1
- package/dist/cdn/{GYPII3T6.js → 57DOBXD6.js} +1 -1
- package/dist/cdn/{ITRKZRX7.js → 5FKEDJRU.js} +1 -1
- package/dist/cdn/{TZHUM4R4.js → 5GIHSPJZ.js} +1 -1
- package/dist/cdn/{CEKMYC3I.js → 5TZ7Q4JG.js} +1 -1
- package/dist/cdn/{Q7AXKKIB.js → 66Q5IRVS.js} +1 -1
- package/dist/cdn/{YG7D2NB5.js → 6DLDJH6I.js} +1 -1
- package/dist/cdn/{3E6HSVYO.js → 6G7RA3PN.js} +1 -1
- package/dist/cdn/{YMETU3CL.js → 6UXP2Q63.js} +1 -1
- package/dist/cdn/{XTEP3QJL.js → 74557KPJ.js} +1 -1
- package/dist/cdn/{C75PU7NQ.js → 7DHQVMKX.js} +1 -1
- package/dist/cdn/{ZMNHA5KF.js → 7J2VRW7S.js} +1 -1
- package/dist/cdn/{ADR7DVCB.js → 7ZMHT4SH.js} +1 -1
- package/dist/cdn/{MKR5FDTV.js → A2LNKTGU.js} +1 -1
- package/dist/cdn/{7SIPKCWY.js → A5STEAY7.js} +1 -1
- package/dist/cdn/{XNH7HCKE.js → AC3MHBPK.js} +1 -1
- package/dist/cdn/{UM2FREW7.js → AF2YWYJQ.js} +1 -1
- package/dist/cdn/AGC6ZWMH.js +2 -0
- package/dist/cdn/{VEU3WZUI.js → AT2EES2R.js} +1 -1
- package/dist/cdn/{2BJD5X34.js → ATVUAP2X.js} +1 -1
- package/dist/cdn/{VCGFT6NM.js → BK3QFV3M.js} +1 -1
- package/dist/cdn/{4JXVKICV.js → C44FH5Z2.js} +1 -1
- package/dist/cdn/{3BWIMFV4.js → D4QQZVLI.js} +1 -1
- package/dist/cdn/{4VFE4GPI.js → DMRQFYLJ.js} +16 -16
- package/dist/cdn/DQV46RIT.js +2 -0
- package/dist/cdn/{WFB4USZL.js → DZLVEIWW.js} +1 -1
- package/dist/cdn/{NA7S3IMW.js → E57JPXDR.js} +1 -1
- package/dist/cdn/{TAYHORLE.js → EGFXSDFS.js} +1 -1
- package/dist/cdn/{UAQ3H67J.js → EJRSL3ID.js} +1 -1
- package/dist/cdn/{HZ6P3WVH.js → EPRDKJSD.js} +1 -1
- package/dist/cdn/{WNI44LDP.js → FFDZB5TW.js} +1 -1
- package/dist/cdn/{4NMQFFJ5.js → FV7G3BY6.js} +1 -1
- package/dist/cdn/{3I5UIOSI.js → FXHBHZKG.js} +1 -1
- package/dist/cdn/{TXLUSSRB.js → FZ7WJ3YG.js} +1 -1
- package/dist/cdn/{ZC3SWVD4.js → GTKRTZK6.js} +1 -1
- package/dist/cdn/{WIC2XPT4.js → IDNTGLQU.js} +1 -1
- package/dist/cdn/{MS4ASDJL.js → IKN5RLJ4.js} +1 -1
- package/dist/cdn/{BFXJESYN.js → IORIFDK6.js} +1 -1
- package/dist/cdn/{7B5EP3RI.js → IUPEGG4M.js} +1 -1
- package/dist/cdn/{3HALRHHO.js → K5JYHCQ7.js} +1 -1
- package/dist/cdn/{2W6HTIBW.js → K5VEUOS3.js} +1 -1
- package/dist/cdn/{ZDMOQS37.js → K7XOFXRK.js} +1 -1
- package/dist/cdn/{XAFSYKI2.js → KKYXQLBJ.js} +1 -1
- package/dist/cdn/{U6NFJYPT.js → KZDTATOG.js} +1 -1
- package/dist/cdn/{HUF4HX5R.js → LCWLPXAF.js} +1 -1
- package/dist/cdn/{PFLQDK3I.js → LD2NUKM3.js} +1 -1
- package/dist/cdn/{7GNDNQTX.js → LDHJGX5G.js} +1 -1
- package/dist/cdn/{YJMAWMEK.js → LO5Q55JH.js} +1 -1
- package/dist/cdn/{LR6VDEBR.js → M4OPXH3T.js} +1 -1
- package/dist/cdn/{G7XCRE3X.js → MFJF6OXL.js} +1 -1
- package/dist/cdn/{EXMZUQW5.js → MWVSVTGT.js} +1 -1
- package/dist/cdn/{Q5T633MH.js → N2ROUAUM.js} +1 -1
- package/dist/cdn/{GTDHYS64.js → NGCFEPQE.js} +1 -1
- package/dist/cdn/{3TYPFWRB.js → NM3YBQUM.js} +1 -1
- package/dist/cdn/{K344PR7N.js → NOOFAZCT.js} +1 -1
- package/dist/cdn/{VZPEYWYR.js → NWTG35WX.js} +1 -1
- package/dist/cdn/{7CXQ3R3O.js → NZS3YVIT.js} +1 -1
- package/dist/cdn/{SEDPMCMZ.js → OC2DD3AB.js} +1 -1
- package/dist/cdn/{JGU6J5IA.js → P5Q3LVYT.js} +1 -1
- package/dist/cdn/{AI3I2TOG.js → QMD2WK5F.js} +1 -1
- package/dist/cdn/{XYOCI4UP.js → QQSP7HQH.js} +1 -1
- package/dist/cdn/{TER4MTK6.js → RNTJMF4O.js} +1 -1
- package/dist/cdn/SENL26AU.js +3 -0
- package/dist/cdn/{T2FOSTMH.js → SIUUQBL4.js} +1 -1
- package/dist/cdn/{YIQVAISO.js → SXD7ZWLW.js} +1 -1
- package/dist/cdn/{MZDSTI7I.js → TP5EQUBD.js} +1 -1
- package/dist/cdn/{PFKPNZ5Q.js → TRJ6EQRD.js} +1 -1
- package/dist/cdn/{4HGP3Y4K.js → U3LEZXNT.js} +1 -1
- package/dist/cdn/{CF35YGUK.js → ULXATJK5.js} +1 -1
- package/dist/cdn/{TZ73WV5T.js → UME5GDA2.js} +1 -1
- package/dist/cdn/{4FBEUQIB.js → USM62FP5.js} +1 -1
- package/dist/cdn/VFC4CM23.js +2 -0
- package/dist/cdn/{2CFQ6EQE.js → VJYMTG4U.js} +1 -1
- package/dist/cdn/{GEKZO6V7.js → VRE7NUZ2.js} +1 -1
- package/dist/cdn/{2H3VIDNQ.js → WMPUJYLT.js} +1 -1
- package/dist/cdn/{BPVYL3DJ.js → XC7LLCVS.js} +1 -1
- package/dist/cdn/{CI7CDZL3.js → XCILPMDZ.js} +1 -1
- package/dist/cdn/{42736UND.js → XKDPK7SD.js} +1 -1
- package/dist/cdn/{3P3PF3BO.js → XTDFTH5X.js} +1 -1
- package/dist/cdn/{ZIAMLGUC.js → XTUL7OCR.js} +1 -1
- package/dist/cdn/{BJ6JU4AF.js → Y6I6QW4M.js} +1 -1
- package/dist/cdn/{KV4JOMXV.js → YMOLIY64.js} +1 -1
- package/dist/cdn/{XGFCUKM7.js → Z6H6J4QH.js} +1 -1
- package/dist/cdn/{RTUAITMO.js → ZDQANIMG.js} +1 -1
- package/dist/cdn/{C7XBKLRJ.js → ZVFUYLAQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +45 -27
- package/dist/chunks/cardFetchingUtils.js +7 -7
- package/dist/chunks/cardsHelpers.js +5 -5
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/{interfaces.js → helpers.js} +196 -195
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +38 -37
- package/dist/components/arcgis-solutions-assistant/customElement.js +14 -14
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +5 -5
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +4 -4
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +4 -4
- 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-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +4 -1
- package/dist/components/solutions-filter-panel/customElement.js +13 -11
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
- 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/index.js +1 -1
- package/dist/solutions-components_commit.txt +5 -8
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/dist/utils/Auth.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/5GYYSZKG.js +0 -2
- package/dist/cdn/CPMMNWOL.js +0 -3
- package/dist/cdn/JE4LGN6P.js +0 -2
- package/dist/cdn/OVKFYACI.js +0 -2
- package/dist/cdn/TM75STGN.js +0 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as v } from "./runtime.js";
|
|
3
3
|
import { u as f } from "./useT9n.js";
|
|
4
|
-
import { LitElement as y, createEvent as p, nothing as
|
|
5
|
-
import { css as w, html as
|
|
4
|
+
import { LitElement as y, createEvent as p, nothing as h } from "@arcgis/lumina";
|
|
5
|
+
import { css as w, html as o, svg as M } from "lit";
|
|
6
6
|
import { A as C } from "./Auth.js";
|
|
7
|
-
import { Y as
|
|
8
|
-
import { createRef as
|
|
7
|
+
import { Y as S, H as c, T as _, G as k } from "./helpers.js";
|
|
8
|
+
import { createRef as a, ref as l } from "lit-html/directives/ref.js";
|
|
9
9
|
import { UserSession as $ } from "@esri/solution-common";
|
|
10
|
-
import { i as
|
|
11
|
-
import { useContextConsumer as
|
|
12
|
-
const
|
|
10
|
+
import { i as E } from "./deployAppContexts.js";
|
|
11
|
+
import { useContextConsumer as T } from "@arcgis/lumina/context";
|
|
12
|
+
const u = {
|
|
13
13
|
name: "arcgis-solutions-app",
|
|
14
14
|
version: "2.0",
|
|
15
15
|
dev: {
|
|
@@ -36,7 +36,7 @@ const m = {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, I = "solutions-deployment-first-use";
|
|
40
40
|
class g {
|
|
41
41
|
constructor() {
|
|
42
42
|
this._telemetryInstance = void 0, this._logTelemetryEvents = !1;
|
|
@@ -98,14 +98,14 @@ class g {
|
|
|
98
98
|
*/
|
|
99
99
|
logEvent(e) {
|
|
100
100
|
if (this._logTelemetryEvents && this._telemetryInstance) {
|
|
101
|
-
const { category: t, action: n, dimensions: i, metrics: s, label:
|
|
101
|
+
const { category: t, action: n, dimensions: i, metrics: s, label: r = "", details: d = "" } = e, b = this._mapDimensions(i), m = this._mapMetrics(s);
|
|
102
102
|
this._telemetryInstance.logEvent({
|
|
103
103
|
category: t,
|
|
104
104
|
action: n,
|
|
105
|
-
label:
|
|
106
|
-
details:
|
|
105
|
+
label: r,
|
|
106
|
+
details: d,
|
|
107
107
|
...b,
|
|
108
|
-
...
|
|
108
|
+
...m
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -146,12 +146,12 @@ class g {
|
|
|
146
146
|
if (!i) {
|
|
147
147
|
if (!customElements.get("consent-manager"))
|
|
148
148
|
return this.getTelemetrySession();
|
|
149
|
-
i = document.createElement("consent-manager"), i.portal = e.Portal, i.measurementIds = t.measurementIds || [], i.firstUseVar =
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
(localStorage.getItem(i.firstUseVar) === "true" ||
|
|
154
|
-
|
|
149
|
+
i = document.createElement("consent-manager"), i.portal = e.Portal, i.measurementIds = t.measurementIds || [], i.firstUseVar = I;
|
|
150
|
+
const r = g.getEnvironmentConfig(t, e);
|
|
151
|
+
r && (i.amazonUserPoolID = r?.amazon?.userPoolID, i.amazonAppId = r?.amazon?.app?.id, i.amazonAppName = u.name, i.amazonVersion = u.version);
|
|
152
|
+
const d = e.Portal?.eueiEnabled;
|
|
153
|
+
(localStorage.getItem(i.firstUseVar) === "true" || d) && (this.setEnabled(!0), i.classList.add("display-none")), document.body.appendChild(i), d ? (await new Promise((m) => setTimeout(m, 100)), await this._setInstanceFromConsentManager(i)) : window.addEventListener("consentGranted", (m) => {
|
|
154
|
+
m.detail?.granted && (this.setEnabled(!0), this._setInstanceFromConsentManager(i));
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
return this.getTelemetrySession();
|
|
@@ -182,7 +182,7 @@ class g {
|
|
|
182
182
|
*/
|
|
183
183
|
static shouldEnableTelemetry(e, t) {
|
|
184
184
|
const n = e?.IsEnterprisePortal;
|
|
185
|
-
return e?.Portal?.eueiEnabled === !1 || n ? !1 : !!((t.measurementIds ||
|
|
185
|
+
return e?.Portal?.eueiEnabled === !1 || n ? !1 : !!((t.measurementIds || u) && I);
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
188
|
* Get the environment-specific telemetry configuration
|
|
@@ -192,21 +192,21 @@ class g {
|
|
|
192
192
|
* @returns The telemetry options for the current environment, or undefined
|
|
193
193
|
*/
|
|
194
194
|
static getEnvironmentConfig(e, t) {
|
|
195
|
-
const n = e.forceTrackingEnv ||
|
|
195
|
+
const n = e.forceTrackingEnv || S(
|
|
196
196
|
document.location.hostname,
|
|
197
197
|
t?.Portal?.portalHostname || ""
|
|
198
198
|
);
|
|
199
|
-
return n && Object.keys(
|
|
199
|
+
return n && Object.keys(u).includes(n) ? u[n] : void 0;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
const A = w`.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset;margin-block-start:0px;position:relative;margin-bottom:0;align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1);height:34px;align-self:center}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none);height:100%}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}calcite-navigation{--calcite-color-border-3: transparent}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box;position:absolute;top:65px;left:0;width:100%;z-index:1}.height-65{height:65px}`;
|
|
203
203
|
class x extends y {
|
|
204
204
|
constructor() {
|
|
205
|
-
super(), this._isMobile = !1, this._logoFill = "", this._thumbnailUrl = "", this._translations = f({ name: "solutions-deploy-app-nav", blocking: !0 }), this._activeTab = "all-solutions", this._authentication = void 0, this._cardType = "details", this._dropdownRef =
|
|
206
|
-
context:
|
|
205
|
+
super(), this._isMobile = !1, this._logoFill = "", this._thumbnailUrl = "", this._translations = f({ name: "solutions-deploy-app-nav", blocking: !0 }), this._activeTab = "all-solutions", this._authentication = void 0, this._cardType = "details", this._dropdownRef = a(), this._dropdownItemAll = a(), this._dropdownItemMy = a(), this._dropdownItemMyContent = a(), this._dropdownItemResources = a(), this._isMobileContextConsumer = T({
|
|
206
|
+
context: E,
|
|
207
207
|
subscribe: !0,
|
|
208
208
|
callback: (e) => this._isMobile = e
|
|
209
|
-
}), this._menuRef =
|
|
209
|
+
}), this._menuRef = a(), this._menuItemAll = a(), this._menuItemMy = a(), this._menuItemResources = a(), this.authInit = p(), this.navTabSelected = p(), this.tabChanged = p(), this.tokenRefreshed = p(), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployAppTabSelected", this._deployAppTabSelected), this.listenOn(window, "popstate", this._handleUrlChange), this.listenOn(window, "sessionRefreshed", (e) => {
|
|
210
210
|
this._updateThumbnailToken(e.detail);
|
|
211
211
|
});
|
|
212
212
|
}
|
|
@@ -272,9 +272,10 @@ class x extends y {
|
|
|
272
272
|
}
|
|
273
273
|
async load() {
|
|
274
274
|
const e = window.matchMedia("(prefers-color-scheme: dark)");
|
|
275
|
-
e.addEventListener("change", (
|
|
275
|
+
e.addEventListener("change", (d) => this._logoFill = this._getLogoFill(d.matches)), this._logoFill = this._getLogoFill(e.matches), this._isMobileContextConsumer.value && (this._isMobile = this._isMobileContextConsumer.value);
|
|
276
276
|
const t = this.appConfig.locale || "en", n = this.appConfig.authentication?.PortalSubset?.orgUrl || this.appConfig.orgURL || this.appConfig.portalURL, i = this.appConfig.authentication?.PortalUrl || this.appConfig.portalURL, s = this.appConfig.primarySolutionsGroupId;
|
|
277
|
-
|
|
277
|
+
let r = !1;
|
|
278
|
+
this._authentication || (this.appConfig.authentication ? this._authentication = this.appConfig.authentication : (this._authentication = new C(this.appConfig.appId, this.appConfig.portalURL, this.appConfig.locale), await this._authentication.initialize(this.appConfig.isEnterprise, this.appConfig.agoBasedEnterpriseSolutionsGroupId), r = !0)), r || await this._authentication?.checkArcGISOnlineReachability(this.appConfig.agoBasedEnterpriseSolutionsGroupId), this._authentication.RestUserSession && (this._userSession = this._authentication.RestUserSession), this.initTab && (this._activeTab = this.initTab, this.initTab = void 0), this._config = {
|
|
278
279
|
anonAgolSession: void 0,
|
|
279
280
|
agolPortalUrl: "",
|
|
280
281
|
allCards: [],
|
|
@@ -295,32 +296,32 @@ class x extends y {
|
|
|
295
296
|
}, this.authInit.emit(this._config), this._portal = await this._userSession?.getPortal();
|
|
296
297
|
}
|
|
297
298
|
render() {
|
|
298
|
-
return
|
|
299
|
+
return o`<div><calcite-navigation>${this._getHeading()}${this._isMobile ? this._getDropdown() : this._getMenu()}${this._isMobile ? "" : this._getSignInOut()}</calcite-navigation><div class="border" slot=header></div>${!this._isMobile && this._getSubHeading() || ""}</div>`;
|
|
299
300
|
}
|
|
300
301
|
updated(e) {
|
|
301
302
|
e.has("_isMobile") && e.get("_isMobile") !== void 0 && this.activateMenuItem(this._activeTab, !0);
|
|
302
303
|
}
|
|
303
304
|
_getSignInOut() {
|
|
304
|
-
return this._authentication?.IsSignedIn ?
|
|
305
|
+
return this._authentication?.IsSignedIn ? o`<div slot=user>${this._getUserAvatar()}</div>` : o`<calcite-menu label slot=content-end><calcite-menu-item label @click=${this._handleSignIn} @keydown=${(e) => c(e, () => this._handleSignIn(e))} .text=${this._translations.signIn}></calcite-menu-item></calcite-menu>`;
|
|
305
306
|
}
|
|
306
307
|
_getDropdown() {
|
|
307
308
|
const e = this._authentication?.IsSignedIn ? this._translations.signOut : this._translations.signIn;
|
|
308
|
-
return
|
|
309
|
+
return o`<calcite-dropdown overlay-positioning=fixed slot=content-end width=m ${l(this._dropdownRef)}><calcite-button appearance=transparent icon-start=hamburger kind=neutral slot=trigger scale=l></calcite-button><calcite-dropdown-group><calcite-dropdown-item @click=${() => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("all-solutions", this._dropdownItemAll, [this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemAll)}>${this._translations.allSolutions}</calcite-dropdown-item><calcite-dropdown-item @click=${() => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("deployments", this._dropdownItemMy, [this._dropdownItemAll, this._dropdownItemResources, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemMy)}>${this._translations.myDeployments}</calcite-dropdown-item>${this._authentication?.CanSearchArcGISOnline && o`<calcite-dropdown-item @click=${() => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0)} @keydown=${(t) => c(t, () => this._handleMenuClick("resources", this._dropdownItemResources, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemMyContent], !0))} ${l(this._dropdownItemResources)}>${this._translations.solutionResources}</calcite-dropdown-item>` || ""}<calcite-dropdown-item @click=${() => {
|
|
309
310
|
const t = this._activeTab === "all-solutions" ? this._dropdownItemAll : this._activeTab === "deployments" ? this._dropdownItemMy : this._activeTab === "resources" ? this._dropdownItemResources : void 0;
|
|
310
311
|
setTimeout(() => this._handleMenuClick("my-content", t, [this._dropdownItemAll, this._dropdownItemMy, this._dropdownItemResources, this._dropdownItemMyContent], !1), 10);
|
|
311
|
-
}} ${
|
|
312
|
+
}} ${l(this._dropdownItemMyContent)}>${this._translations.myContent}</calcite-dropdown-item><calcite-dropdown-item @click=${(t) => {
|
|
312
313
|
this._authentication?.IsSignedIn ? this._signOut() : this._handleSignIn(t);
|
|
313
314
|
}}>${e}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`;
|
|
314
315
|
}
|
|
315
316
|
_getMenu() {
|
|
316
|
-
return
|
|
317
|
+
return o`<calcite-menu label slot=content-start ${l(this._menuRef)}><calcite-menu-item label @click=${() => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0))} .text=${this._translations.allSolutions} ${l(this._menuItemAll)}></calcite-menu-item><calcite-menu-item label @click=${() => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0))} .text=${this._translations.myDeployments} ${l(this._menuItemMy)}></calcite-menu-item>${this._authentication?.CanSearchArcGISOnline && o`<calcite-menu-item label @click=${() => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0)} @keydown=${(e) => c(e, () => this._handleMenuClick("resources", this._menuItemResources, [this._menuItemAll, this._menuItemMy], !0))} .text=${this._translations.solutionResources} ${l(this._menuItemResources)}></calcite-menu-item>` || ""}</calcite-menu>`;
|
|
317
318
|
}
|
|
318
319
|
_getHeading() {
|
|
319
|
-
return
|
|
320
|
+
return o`<div class="align-self-center display-flex cursor-pointer logo-padding" slot=logo><a aria-label=${this._translations.linkToEsriHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com @click=${() => this._logLinkClickTelemetry("Esri")} rel=noopener target=_blank title=${this._translations.linkToEsriHomePage ?? h}><svg height=30 viewBox="0 0 84 30" width=84 xmlns=http://www.w3.org/2000/svg>${M`<path fill=${this._logoFill ?? h} d="M77.277.5c-1.48 0-2.554 1.175-2.554 2.488 0 1.314 1.074 2.49 2.554 2.49 1.48 0 2.622-1.071 2.622-2.49C79.899 1.572 78.756.5 77.277.5zm-1.913 23.426h3.891V8.353h-3.891v15.573zM40.515 7.965c-4.702 0-8.465 3.275-8.465 8.174 0 4.898 3.763 8.177 8.465 8.177 2.146 0 4.165-.667 5.852-2.31l-2.457-2.457c-.916.964-2.093 1.651-3.78 1.651-2.175 0-3.927-1.397-4.188-3.698h11.875v-1.07c0-5.42-2.95-8.467-7.302-8.467zm-4.573 6.617c.293-2.24 1.721-3.7 4.023-3.7 2.434 0 3.926 1.43 3.96 3.7h-7.983zm17.305-1.849c0-1.169 1.233-1.655 2.273-1.655 1.32 0 2.292.547 3.037 1.577l2.476-2.474c-1.282-1.6-3.407-2.216-5.418-2.216-3.147 0-6.262 1.555-6.262 5.028 0 5.938 8.403 3.406 8.403 6.617 0 1.233-1.46 1.784-2.595 1.784-1.65 0-2.687-.806-3.69-1.905l-2.515 2.514c1.58 1.711 3.62 2.313 5.978 2.313 3.179 0 6.717-1.299 6.717-4.998 0-6.067-8.404-3.795-8.404-6.585zm14.15-1.916h-.062V8.353h-3.892v15.573h3.892v-8.34c0-.842.518-3.925 4.185-3.925.564 0 1.127.112 1.718.253l.152-3.726c-.45-.127-.901-.223-1.382-.223-2.046 0-3.766 1.07-4.61 2.852zM14.683 2.766c-1.217-.037-1.932.12-2.651.26-.216-.056-.62.003-.643.472 0 .252.08.447.24.562.159.114 1.493 1.1 2.473 2.142-.47.052-.98.138-1.504.246-.585-1.264-2.465-.114-3.714-.064-.146.006-.286.025-.431.035-.137-1.056-.235-2.15-.21-2.92 1.618-.917 4.748-1.593 6.874-1.626l.373-.01c.312-.003.337-.251.043-.291-2.641-.361-4.929.173-7.279 1.145C5.808 3.748 2.696 6.12.8 10.596c-.444 1.247-2.219 7.195.935 12.3 2.56 4.142 5.855 6.113 9.887 6.676 4.024.561 6.207.075 8.752-1.055 5.951-2.642 10.496-12.559 5.95-19.747-1.794-3.319-6.495-6.229-11.641-6.004zm-2.259 4.647a17.754 17.754 0 0 1 2.362-.368 15.741 15.741 0 0 1 1.748 2.54c-.805.39-1.878.688-2.315 1.312-.181.26-.226.613-.232.995a23.59 23.59 0 0 0-3.877 1.286c-.453-1.332-.85-2.66-1.124-3.842 1.296-1.237 2.813-1.438 3.438-1.923zm6.61 15.88c-.354.038-.706.083-1.016.13-.77.121-1.762.379-2.685.723-.53-.843-1.95-2.891-2.667-4.437 1.442-.709 3.457-1.303 5.775-1.444.19.33.4.66.69.956.757.774-.44 1.883-.096 4.072zm-8.603-9.14c1.12-.53 2.3-.968 3.56-1.286-.008.333-.045.649-.182.903-.196.366-.106 1.428.134 1.775.755 1.099 2.008.488 2.951.883.433.181.721.482.964.84-1.974.124-3.91.584-5.706 1.41-.923-1.96-1.72-4.524-1.72-4.524zm.832 4.938c-.07.033-.145.074-.217.11a40.803 40.803 0 0 0-3.256-.78c-.995-.204-1.031-.15-2.151.175-.16.046-.313.088-.462.133a36.17 36.17 0 0 1-.445-1.202c1.436-1.106 2.884-2.034 4.821-2.985.5 1.491 1.215 3.483 1.71 4.549zm.768 4.528c.293-.765.521-1.331.605-1.89.569.958 1.248 2 1.774 2.815-.819.397-1.772 1.01-2.672 1.685.062-1.037.083-2.064.293-2.61zm5.334-14.636c-.01.014-.028.026-.04.04a23.057 23.057 0 0 0-1.376-2.111c1.007-.061 2.246-.008 3.374.108-1.014.363-1.461 1.254-1.958 1.963zm-9.028 1.094c.019-.026.039-.047.057-.072.234 1.182.513 2.16.886 3.518-1.402.618-3.881 2.148-4.976 2.972-.198-.502-.404-1.214-.589-1.946.249-.737.758-1.254 1.476-1.325 1.228-.123 2.28-1.95 3.146-3.147zm-5.41-1.784C4.24 6.455 6.023 4.666 7.65 3.773c-.016.4.086 1.567.218 2.693-.57.057-1.134.128-1.692.211a12.084 12.084 0 0 0-3.115 4.088c-.117-1.054-.178-1.933-.133-2.472zM2.07 9.731s.062 1.06.113 1.833c0 0-.781.886-1.18 1.59.159-1.443.498-2.187 1.067-3.423zm7.664 18.356C5.688 26.82 2.69 23.41 1.62 19.834a17.475 17.475 0 0 1-.651-6.473c.056.01.186.072.38.017.135-.093.616-.43.957-.728l.018.131c-.23.87-.371 1.775-.4 2.71.37.39.804 1.038 1.286 1.707-.31.23-.905.641-1.045.741-.41.292-.406.753-.114 1.015.161.144.492.084.613-.01.358-.285.656-.513 1.066-.77.15.393.292.748.43 1.086-.175.188-.3.436-.342.798-.135 1.172.979 2.092 1.918 2.36.035.01.06.014.094.023.05.076.095.147.148.224-.487.378-.82.765-1.049 1.063-.132.172-.28.43-.16.481.123.05.535 0 .719-.034.466-.09.826-.606 1.148-.796.387.534 1.017 1.22 1.672 1.88.029.12.055.246.088.351.125.403.293.804.495 1.196.471.22.962.402 1.464.561a8.344 8.344 0 0 0-.622.72zm.989.313c.155-.203.312-.454.505-.626.468.31.969.665 1.368.894-.615-.07-1.337-.085-1.873-.268zm3.113.31s-1.604-1.062-2.009-1.471c.803-.667 2.102-1.459 3.128-1.889.402.63 1.727 2.507 2.258 3.112-.963.168-2.31.294-3.377.248zM20.54 27.2c-.286.189-1.664.814-2.204.988a23.43 23.43 0 0 1-2.44-3.202c.844-.354 2.143-.67 3.346-.82.109.342.25.704.444 1.094.19.382.411.662.649.853.085-.053.164-.115.248-.17-.006.42-.018.846-.043 1.257zm-.33-21.477c-.27-.172-.607-.108-.467.193.053.117.259.314.427.512-.986-.272-3.608-.479-4.856-.364-.815-.916-1.744-2.028-2.861-2.765 4.999-.311 9.49 1.756 11.473 4.186-.661-.344-2.087-.834-2.667-.963-.313-.319-.708-.58-1.05-.8zm1.094 21.065c.023-.407.04-.922.053-1.396.487-.378.946-.79 1.37-1.238.547.063 1.094.156 1.427.24-.74.936-1.762 1.716-2.85 2.394zm3.825-3.724c-.12.253-.428.688-.633.894-.312-.126-.781-.258-1.272-.375.078-.094.163-.182.24-.279.268-1.796-.338-2.37.42-4.014l.172-.371c.418.118.812.247 1.153.386.043.616.04 2.728-.08 3.759zm-.708-4.917c.196-.407.412-.84.645-1.27.061.547.105 1.08.131 1.563a9.256 9.256 0 0 0-.776-.293zm2.218 1.126l-.194.756c-.137.515-.593 1.732-.832 2.223.091-.663.171-2.384.148-2.73.16.049.502-.147.559-.341.057-.195-.564-.495-.564-.495a20.742 20.742 0 0 0-.172-2.7c.142-.23.286-.452.434-.655a12.082 12.082 0 0 0-.186-1.575c.125.041.24.074.323.075.283.004.282-.19.192-.298-.058-.07-.328-.238-.643-.42a12.02 12.02 0 0 0-2.78-5.32c.533.202 1.214.48 1.754.774.41.516 1.585 1.675 2.212 4.92.564 2.922-.06 5.143-.251 5.786zM80.886 8.597v-.24h1.218v.24h-.468v1.191h-.283V8.597h-.467zm1.87-.24l.365 1.025.368-1.024h.406v1.43h-.262V8.634l-.396 1.154h-.229l-.4-1.154v1.154h-.261v-1.43h.409z" />`}</svg></a><div class="side margin-start-end-1-5" slot=logo></div><div class="esri-global-nav__title"><a aria-label=${this._translations.linkToArcGISSolutionsHomePage ?? h} class="esri-global-nav__logo-link" href=https://www.esri.com/en-us/arcgis/products/arcgis-solutions/overview @click=${() => this._logLinkClickTelemetry("ArcGIS Solutions")} rel=noopener target=_blank title=${this._translations.linkToArcGISSolutionsHomePage ?? h}>${this._translations.arcgisSolutions}</a></div></div>`;
|
|
320
321
|
}
|
|
321
322
|
_getSubHeading() {
|
|
322
323
|
const e = this._cardType === "deployed" ? this._translations.myDeployments : this._translations.allSolutions;
|
|
323
|
-
return this._subNavigationCard ?
|
|
324
|
+
return this._subNavigationCard ? o`<calcite-navigation class="height-65" slot=navigation-secondary><calcite-menu class="height-65" label slot=content-start><calcite-menu-item breadcrumb .label=${e} @click=${this._navigateFromSubMenu} @keydown=${(t) => c(t, () => this._navigateFromSubMenu())} .text=${e} text-enabled></calcite-menu-item><calcite-menu-item label active .text=${this._subNavigationCard?.title} text-enabled></calcite-menu-item></calcite-menu></calcite-navigation>` : "";
|
|
324
325
|
}
|
|
325
326
|
_getLogoFill(e) {
|
|
326
327
|
return e ? "#FFFFFF" : "#141414";
|
|
@@ -354,7 +355,7 @@ class x extends y {
|
|
|
354
355
|
}
|
|
355
356
|
_getUserAvatar() {
|
|
356
357
|
const e = this._portal.user, t = this._authentication?.PortalUserSubset, n = e?.id ?? e?.sourceJSON?.id;
|
|
357
|
-
return this._thumbnailUrl === "" && (this._thumbnailUrl = e?.thumbnailUrl ?? t?.thumbnailUrl ?? ""),
|
|
358
|
+
return this._thumbnailUrl === "" && (this._thumbnailUrl = e?.thumbnailUrl ?? t?.thumbnailUrl ?? ""), o`<div class="height-full display-flex cursor-pointer signin-padding"><calcite-navigation-user class="height-full" full-name=${e?.fullName ?? h} id=instant-apps-sign-in-user-button slot=user .thumbnail=${this._thumbnailUrl} .userId=${n} .username=${e?.username}></calcite-navigation-user></div><calcite-popover placement=bottom-end scale=s reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close .label=${this._translations.userSettings}><calcite-action scale=l @click=${this._viewMyContent} .text=${this._translations.myContent} text-enabled></calcite-action><calcite-action scale=l @click=${this._signOut} .text=${this._translations.signOut} text-enabled></calcite-action></calcite-popover>`;
|
|
358
359
|
}
|
|
359
360
|
_viewMyContent() {
|
|
360
361
|
const e = `${this._config?.portalURL}/home/content.html#my`;
|
|
@@ -393,10 +394,10 @@ class x extends y {
|
|
|
393
394
|
this._cardType === "details" ? this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0) : this._cardType === "deployed" && this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0);
|
|
394
395
|
}
|
|
395
396
|
_updateThumbnailToken(e) {
|
|
396
|
-
this._thumbnailUrl !== "" && (this._thumbnailUrl =
|
|
397
|
+
this._thumbnailUrl !== "" && (this._thumbnailUrl = k(this._thumbnailUrl, e));
|
|
397
398
|
}
|
|
398
399
|
}
|
|
399
|
-
|
|
400
|
+
v("solutions-deploy-app-nav", x);
|
|
400
401
|
export {
|
|
401
402
|
x as S,
|
|
402
403
|
g as T
|
|
@@ -8,7 +8,7 @@ import { render as A } from "lit-html";
|
|
|
8
8
|
import { unsafeHTML as ae } from "lit/directives/unsafe-html.js";
|
|
9
9
|
import { useContextConsumer as Ce } from "@arcgis/lumina/context";
|
|
10
10
|
import { c as ze } from "../../chunks/deployAppContexts.js";
|
|
11
|
-
import { U as Le, T as Pe,
|
|
11
|
+
import { U as Le, T as Pe, H as Z } from "../../chunks/helpers.js";
|
|
12
12
|
const qe = Ae`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-dialog-header-background-color: var(--calcite-color-brand);--calcite-dialog-header-action-background-color: var(--calcite-color-brand);--calcite-dialog-heading-text-color: var(--calcite-color-background);--calcite-dialog-header-action-text-color: var(--calcite-color-background);--calcite-dialog-header-action-text-color-press: var(--calcite-color-background);--calcite-color-focus: var(--calcite-color-background);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel calcite-card,.chat-panel calcite-text-area,.chat-panel calcite-button:not(.icon-color-background),.chat-panel .chat-messages,.chat-panel .chat-input{--calcite-color-focus: var(--calcite-color-brand)}.assistant-followup-chip:focus{outline:2px solid var(--calcite-color-brand)}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-background, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-color-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-text-inverse);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);color:var(--calcite-color-inverse);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.response-message.message-content>p:first-of-type{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.padding-left-right-5{padding-right:5px;padding-left:5px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-width:520px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.solution-card:focus{outline:2px solid var(--calcite-color-brand)}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.display-none{display:none}.chat-messages calcite-fab{position:absolute;bottom:16px;left:50%;transform:translate(-50%);z-index:999}.icon-color-background{--calcite-button-icon-color: var(--calcite-color-background)}.icon-color-background:focus{--calcite-color-focus: var(--calcite-color-background)}@media(max-width:430px){.solution-card .solution-snippet{display:none}}.height-32-flex-auto{height:32px;flex:0 0 auto}.margin-top-0.message-content>p:first-of-type{margin-top:0}a:not(.solution-card){color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:not(.solution-card):hover{background-size:100% 1px,100% 1px}a:not(.solution-card):focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:not(.solution-card):active{color:var(--calcite-color-brand-press)}`;
|
|
13
13
|
function W() {
|
|
14
14
|
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
|
|
@@ -31,8 +31,8 @@ var Be = (() => {
|
|
|
31
31
|
} catch {
|
|
32
32
|
return !1;
|
|
33
33
|
}
|
|
34
|
-
})(), b = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,
|
|
35
|
-
]`).replace("lheading", fe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, We = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Xe = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, me = /^( {2,}|\\)\n(?!\s*$)/, Ke = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, O = /[\p{P}\p{S}]/u, ee = /[\s\p{P}\p{S}]/u, xe = /[^\s\p{P}\p{S}]/u, Je = d(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, ee).getRegex(), be = /(?!~)[\p{P}\p{S}]/u, Ye = /(?!~)[\s\p{P}\p{S}]/u, Ve = /(?:[^\s\p{P}\p{S}]|~)/u, we = /(?![*_])[\p{P}\p{S}]/u, et = /(?![*_])[\s\p{P}\p{S}]/u, tt = /(?:[^\s\p{P}\p{S}]|[*_])/u, st = d(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), _e = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, nt = d(_e, "u").replace(/punct/g, O).getRegex(), it = d(_e, "u").replace(/punct/g, be).getRegex(), ve = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", rt = d(ve, "gu").replace(/notPunctSpace/g, xe).replace(/punctSpace/g, ee).replace(/punct/g, O).getRegex(), at = d(ve, "gu").replace(/notPunctSpace/g, Ve).replace(/punctSpace/g, Ye).replace(/punct/g, be).getRegex(), ot = d("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, xe).replace(/punctSpace/g, ee).replace(/punct/g, O).getRegex(), lt = d(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, we).getRegex(), ct = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", ht = d(ct, "gu").replace(/notPunctSpace/g, tt).replace(/punctSpace/g, et).replace(/punct/g, we).getRegex(), pt = d(/\\(punct)/, "gu").replace(/punct/g, O).getRegex(), ut = d(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), dt = d(Y).replace("(?:-->|$)", "-->").getRegex(), gt = d("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", dt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, ft = d(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]
|
|
34
|
+
})(), b = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (i) => new RegExp(`^( {0,3}${i})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}#`), htmlBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}<(?:[a-z].*>|!--)`, "i"), blockquoteBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}>`) }, Ee = /^(?:[ \t]*(?:\n|$))+/, Me = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ne = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, B = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Qe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, X = / {0,3}(?:[*+-]|\d{1,9}[.)])/, ge = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, fe = d(ge).replace(/bull/g, X).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), De = d(ge).replace(/bull/g, X).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), K = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Ue = /^[^\n]+/, J = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Fe = d(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", J).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Oe = d(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, X).getRegex(), F = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Y = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ze = d("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Y).replace("tag", F).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ke = d(K).replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", F).getRegex(), He = d(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ke).getRegex(), V = { blockquote: He, code: Me, def: Fe, fences: Ne, heading: Qe, hr: B, html: Ze, lheading: fe, list: Oe, newline: Ee, paragraph: ke, table: T, text: Ue }, oe = d("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", F).getRegex(), je = { ...V, lheading: De, table: oe, paragraph: d(K).replace("hr", B).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", oe).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", F).getRegex() }, Ge = { ...V, html: d(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Y).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: T, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d(K).replace("hr", B).replace("heading", ` *#{1,6} *[^
|
|
35
|
+
]`).replace("lheading", fe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, We = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Xe = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, me = /^( {2,}|\\)\n(?!\s*$)/, Ke = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, O = /[\p{P}\p{S}]/u, ee = /[\s\p{P}\p{S}]/u, xe = /[^\s\p{P}\p{S}]/u, Je = d(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, ee).getRegex(), be = /(?!~)[\p{P}\p{S}]/u, Ye = /(?!~)[\s\p{P}\p{S}]/u, Ve = /(?:[^\s\p{P}\p{S}]|~)/u, we = /(?![*_])[\p{P}\p{S}]/u, et = /(?![*_])[\s\p{P}\p{S}]/u, tt = /(?:[^\s\p{P}\p{S}]|[*_])/u, st = d(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), _e = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, nt = d(_e, "u").replace(/punct/g, O).getRegex(), it = d(_e, "u").replace(/punct/g, be).getRegex(), ve = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", rt = d(ve, "gu").replace(/notPunctSpace/g, xe).replace(/punctSpace/g, ee).replace(/punct/g, O).getRegex(), at = d(ve, "gu").replace(/notPunctSpace/g, Ve).replace(/punctSpace/g, Ye).replace(/punct/g, be).getRegex(), ot = d("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, xe).replace(/punctSpace/g, ee).replace(/punct/g, O).getRegex(), lt = d(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, we).getRegex(), ct = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", ht = d(ct, "gu").replace(/notPunctSpace/g, tt).replace(/punctSpace/g, et).replace(/punct/g, we).getRegex(), pt = d(/\\(punct)/, "gu").replace(/punct/g, O).getRegex(), ut = d(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), dt = d(Y).replace("(?:-->|$)", "-->").getRegex(), gt = d("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", dt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, ft = d(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", Q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ye = d(/^!?\[(label)\]\[(ref)\]/).replace("label", Q).replace("ref", J).getRegex(), Se = d(/^!?\[(ref)\](?:\[\])?/).replace("ref", J).getRegex(), kt = d("reflink|nolink(?!\\()", "g").replace("reflink", ye).replace("nolink", Se).getRegex(), le = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, te = { _backpedal: T, anyPunctuation: pt, autolink: ut, blockSkip: st, br: me, code: Xe, del: T, delLDelim: T, delRDelim: T, emStrongLDelim: nt, emStrongRDelimAst: rt, emStrongRDelimUnd: ot, escape: We, link: ft, nolink: Se, punctuation: Je, reflink: ye, reflinkSearch: kt, tag: gt, text: Ke, url: T }, mt = { ...te, link: d(/^!?\[(label)\]\((.*?)\)/).replace("label", Q).getRegex(), reflink: d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Q).getRegex() }, H = { ...te, emStrongRDelimAst: at, emStrongLDelim: it, delLDelim: lt, delRDelim: ht, url: d(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", le).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", le).getRegex() }, xt = { ...H, br: d(me).replace("{2,}", "*").getRegex(), text: d(H.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, N = { normal: V, gfm: je, pedantic: Ge }, L = { normal: te, gfm: H, breaks: xt, pedantic: mt }, bt = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, ce = (i) => bt[i];
|
|
36
36
|
function S(i, e) {
|
|
37
37
|
if (e) {
|
|
38
38
|
if (b.escapeTest.test(i)) return i.replace(b.escapeReplace, ce);
|
|
@@ -411,7 +411,7 @@ ${c}` : c;
|
|
|
411
411
|
return { type: "text", raw: e[0], text: e[0], escaped: t };
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
}, v = class
|
|
414
|
+
}, v = class j {
|
|
415
415
|
tokens;
|
|
416
416
|
options;
|
|
417
417
|
state;
|
|
@@ -426,10 +426,10 @@ ${c}` : c;
|
|
|
426
426
|
return { block: N, inline: L };
|
|
427
427
|
}
|
|
428
428
|
static lex(e, t) {
|
|
429
|
-
return new
|
|
429
|
+
return new j(t).lex(e);
|
|
430
430
|
}
|
|
431
431
|
static lexInline(e, t) {
|
|
432
|
-
return new
|
|
432
|
+
return new j(t).inlineTokens(e);
|
|
433
433
|
}
|
|
434
434
|
lex(e) {
|
|
435
435
|
e = e.replace(b.carriageReturn, `
|
|
@@ -618,7 +618,7 @@ ${c}` : c;
|
|
|
618
618
|
}
|
|
619
619
|
return t;
|
|
620
620
|
}
|
|
621
|
-
},
|
|
621
|
+
}, U = class {
|
|
622
622
|
options;
|
|
623
623
|
parser;
|
|
624
624
|
constructor(i) {
|
|
@@ -766,18 +766,18 @@ ${i}</tr>
|
|
|
766
766
|
checkbox({ raw: i }) {
|
|
767
767
|
return i;
|
|
768
768
|
}
|
|
769
|
-
}, y = class
|
|
769
|
+
}, y = class G {
|
|
770
770
|
options;
|
|
771
771
|
renderer;
|
|
772
772
|
textRenderer;
|
|
773
773
|
constructor(e) {
|
|
774
|
-
this.options = e || I, this.options.renderer = this.options.renderer || new
|
|
774
|
+
this.options = e || I, this.options.renderer = this.options.renderer || new U(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new se();
|
|
775
775
|
}
|
|
776
776
|
static parse(e, t) {
|
|
777
|
-
return new
|
|
777
|
+
return new G(t).parse(e);
|
|
778
778
|
}
|
|
779
779
|
static parseInline(e, t) {
|
|
780
|
-
return new
|
|
780
|
+
return new G(t).parseInline(e);
|
|
781
781
|
}
|
|
782
782
|
parse(e) {
|
|
783
783
|
let t = "";
|
|
@@ -947,7 +947,7 @@ ${i}</tr>
|
|
|
947
947
|
parse = this.parseMarkdown(!0);
|
|
948
948
|
parseInline = this.parseMarkdown(!1);
|
|
949
949
|
Parser = y;
|
|
950
|
-
Renderer =
|
|
950
|
+
Renderer = U;
|
|
951
951
|
TextRenderer = se;
|
|
952
952
|
Lexer = v;
|
|
953
953
|
Tokenizer = D;
|
|
@@ -999,7 +999,7 @@ ${i}</tr>
|
|
|
999
999
|
}
|
|
1000
1000
|
"childTokens" in s && s.childTokens && (e.childTokens[s.name] = s.childTokens);
|
|
1001
1001
|
}), n.extensions = e), t.renderer) {
|
|
1002
|
-
let s = this.defaults.renderer || new
|
|
1002
|
+
let s = this.defaults.renderer || new U(this.defaults);
|
|
1003
1003
|
for (let a in t.renderer) {
|
|
1004
1004
|
if (!(a in s)) throw new Error(`renderer '${a}' does not exist`);
|
|
1005
1005
|
if (["options", "parser"].includes(a)) continue;
|
|
@@ -1119,7 +1119,7 @@ f.walkTokens = function(i, e) {
|
|
|
1119
1119
|
f.parseInline = R.parseInline;
|
|
1120
1120
|
f.Parser = y;
|
|
1121
1121
|
f.parser = y.parse;
|
|
1122
|
-
f.Renderer =
|
|
1122
|
+
f.Renderer = U;
|
|
1123
1123
|
f.TextRenderer = se;
|
|
1124
1124
|
f.Lexer = v;
|
|
1125
1125
|
f.lexer = v.lex;
|
|
@@ -257,7 +257,7 @@ class D extends A {
|
|
|
257
257
|
const r = g?.watch(() => this._editor?.viewModel.featureFormViewModel?.state, (n) => {
|
|
258
258
|
n === "ready" && this._editor?.viewModel.featureFormViewModel && this._currentPage !== "editing" && (this._mapViewContainer.value?.classList?.replace("show-map", "hide-map"), this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit", this.submitted.bind(this))), setTimeout(() => {
|
|
259
259
|
this._setFloorLevel(this.floorLevel), this._imageAnalysisInfo?.results && this._setAttributeValuesFromImageAnalysis();
|
|
260
|
-
},
|
|
260
|
+
}, 800), !this.allowMultipleCreation && this._editor.activeWorkflow && (this._editor.activeWorkflow.data.creationInfo.maxFeatures = 1), this._currentPage = "featureForm", this.progressStatus.emit(100), this.drawComplete.emit(!1));
|
|
261
261
|
});
|
|
262
262
|
r && this._editor.viewModel.addHandles(r);
|
|
263
263
|
const o = g.watch(() => this._editor?.viewModel.state, (n) => {
|
|
@@ -61,7 +61,7 @@ class I extends u {
|
|
|
61
61
|
async initLayerHash() {
|
|
62
62
|
const t = [];
|
|
63
63
|
if (this.mapView) {
|
|
64
|
-
this._layerItemsHash = await d(this.mapView, !
|
|
64
|
+
this._layerItemsHash = await d(this.mapView, !1);
|
|
65
65
|
const i = await m(this.mapView);
|
|
66
66
|
for (const e of i)
|
|
67
67
|
if (e?.type === "feature" && this.showFeatureCount) {
|
|
@@ -3,7 +3,7 @@ import { c as I } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { e as w, g as T, c as v } from "../../chunks/mapViewUtils.js";
|
|
4
4
|
import { b as E } from "../../chunks/queryUtils.js";
|
|
5
5
|
import { d as x } from "../../chunks/downloadUtils.js";
|
|
6
|
-
import {
|
|
6
|
+
import { A as S, b } from "../../chunks/helpers.js";
|
|
7
7
|
import { defineCustomElements as F } from "@arcgis/instant-apps-components/loader";
|
|
8
8
|
import { u as O } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as C, html as o, nothing as c } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
|
-
import {
|
|
3
|
+
import { A as y, b as c } from "../../chunks/helpers.js";
|
|
4
4
|
import { joinAppProxies as _ } from "templates-common-library/functionality/proxy";
|
|
5
5
|
import { c as g, e as v } from "../../chunks/mapViewUtils.js";
|
|
6
6
|
import { u as I } from "../../chunks/useT9n.js";
|
|
@@ -4,7 +4,7 @@ import { u as y } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as S, createEvent as c, safeClassMap as f } from "@arcgis/lumina";
|
|
5
5
|
import { useContextConsumer as T } from "@arcgis/lumina/context";
|
|
6
6
|
import { css as D, html as u } from "lit";
|
|
7
|
-
import {
|
|
7
|
+
import { C as m, I as v, T as $ } from "../../chunks/helpers.js";
|
|
8
8
|
import { createRef as _, ref as p } from "lit-html/directives/ref.js";
|
|
9
9
|
import { c as P } from "../../chunks/deployAppContexts.js";
|
|
10
10
|
import * as b from "@esri/solution-common";
|
|
@@ -4,17 +4,17 @@ import { css as u, nothing as p, html as r } from "lit";
|
|
|
4
4
|
import { u as f } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as g, createEvent as d, safeClassMap as c } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as _ } from "@arcgis/lumina/context";
|
|
7
|
-
import {
|
|
7
|
+
import { D, T as I, F as y } from "../../chunks/helpers.js";
|
|
8
8
|
import { deleteSolution as b } from "@esri/solution-common";
|
|
9
|
-
import { c as
|
|
10
|
-
import { createRef as
|
|
9
|
+
import { c as w } from "../../chunks/deployAppContexts.js";
|
|
10
|
+
import { createRef as C, ref as h } from "lit-html/directives/ref.js";
|
|
11
11
|
import "../solution-item-accordion/customElement.js";
|
|
12
12
|
import { p as $, g as v } from "../../chunks/getRelatedInfos.js";
|
|
13
13
|
const x = u`*[tabindex]:focus-visible{outline-style:solid!important;outline-width:2px!important;outline-color:var(--calcite-color-brand)!important;outline-offset:2px!important}.deletion-note-text{display:inline-block}.deletion-note-container{display:flex;align-items:center;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size-0);margin-bottom:var(--calcite-spacing-md)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.display-none{display:none}calcite-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.loader-text{margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-xl);text-align:center;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-1)}.padding-around{padding:12px 2rem 2rem}`;
|
|
14
14
|
class S extends g {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(), this.open = !1, this.source = "Card Dropdown", this._deletePercentage = 0, this._fetchingTemplates = !1, this._isDeleteInProgress = !1, this._nonSolutionDependencyItems = [], this._showDeleteError = !1, this._showUndeletableItems = !1, this._templateInfos = [], this._translations = f({ name: "solution-delete-dialog", blocking: !0 }), this._accordion =
|
|
17
|
-
context:
|
|
16
|
+
super(), this.open = !1, this.source = "Card Dropdown", this._deletePercentage = 0, this._fetchingTemplates = !1, this._isDeleteInProgress = !1, this._nonSolutionDependencyItems = [], this._showDeleteError = !1, this._showUndeletableItems = !1, this._templateInfos = [], this._translations = f({ name: "solution-delete-dialog", blocking: !0 }), this._accordion = C(), this._configContextConsumer = _({
|
|
17
|
+
context: w,
|
|
18
18
|
subscribe: !0
|
|
19
19
|
}), this.solutionDeleteDialogOpen = d(), this.solutionDeleted = d(), this.solutionDeleteDialogBeforeClose = d(), this.listenOn(window, "beforeunload", (e) => {
|
|
20
20
|
this._isDeleteInProgress && (e.preventDefault(), e.returnValue = !0);
|
|
@@ -8,7 +8,7 @@ import { S as n } from "../../chunks/solution-deploy-dialog.js";
|
|
|
8
8
|
import "@esri/solution-common";
|
|
9
9
|
import "../../chunks/deployAppContexts.js";
|
|
10
10
|
import "@esri/solution-deployer";
|
|
11
|
-
import "../../chunks/
|
|
11
|
+
import "../../chunks/helpers.js";
|
|
12
12
|
import "lit";
|
|
13
13
|
import "lit/directives/ref.js";
|
|
14
14
|
export {
|
|
@@ -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 { a0 as l } from "../../chunks/
|
|
8
|
+
import { a0 as l } from "../../chunks/helpers.js";
|
|
9
9
|
import "lit-html/directives/ref.js";
|
|
10
10
|
export {
|
|
11
11
|
l as SolutionDeployedCard
|
|
@@ -5,8 +5,8 @@ import { LitElement as m, createEvent as l, safeClassMap as f, nothing as r } fr
|
|
|
5
5
|
import { useContextConsumer as d } from "@arcgis/lumina/context";
|
|
6
6
|
import { css as b, html as i } from "lit";
|
|
7
7
|
import { c as x, i as v } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import {
|
|
9
|
-
import { f as
|
|
8
|
+
import { D as _, T as s, y, G as w } from "../../chunks/helpers.js";
|
|
9
|
+
import { f as $, g as p, a as C } from "../../chunks/cardsHelpers.js";
|
|
10
10
|
import { g as S } from "../../chunks/getRelatedInfos.js";
|
|
11
11
|
const D = b`.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-foreground-1)}.background-color-2{background-color:var(--calcite-color-foreground-2)}.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-foreground-2);background-color:var(--calcite-color-foreground-2)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-foreground-1);--calcite-shell-panel-background-color: var(--calcite-color-foreground-1)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.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}`;
|
|
12
12
|
class T extends m {
|
|
@@ -56,7 +56,7 @@ class T extends m {
|
|
|
56
56
|
this.card = t.card, this.cardRef = t.cardRef, this.templateInfos = [], this._accordionLoading = !0, this.templateInfos = await this._getTemplates(), this._accordionLoading = !1;
|
|
57
57
|
const a = await S(this._configContextConsumer.value.userSession, this.card);
|
|
58
58
|
this._nonSolutionDependencyItems = a._nonSolutionDependencyItems;
|
|
59
|
-
const o =
|
|
59
|
+
const o = $(this._configContextConsumer.value?.allCards || [], this.card.deployCommonId);
|
|
60
60
|
let n = !1;
|
|
61
61
|
if (o) {
|
|
62
62
|
const c = p(o), g = p(this.card);
|
|
@@ -142,7 +142,7 @@ class T extends m {
|
|
|
142
142
|
this.card?.deployVersion || ""
|
|
143
143
|
]
|
|
144
144
|
}), await new Promise((a) => setTimeout(a, 100));
|
|
145
|
-
const t =
|
|
145
|
+
const t = C(this._configContextConsumer.value.allCards, this.card.deployCommonId);
|
|
146
146
|
t && this.forceSelectTab.emit({ tabType: "details", tabTitleOrId: t });
|
|
147
147
|
}
|
|
148
148
|
_getSolutionPanel() {
|
|
@@ -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, H 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 {
|
|
@@ -6,8 +6,8 @@ import { LitElement as C, createEvent as v, safeClassMap as u, nothing as y, saf
|
|
|
6
6
|
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
|
-
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
|
|
10
|
-
import { E as m, R as
|
|
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 F } from "@esri/solution-common";
|
|
10
|
+
import { E as m, R as N, g as x, T as g, U as b, V as H, J as M, H as V, W as z, X as B, F 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";
|
|
@@ -19,7 +19,7 @@ async function K(n, e, t) {
|
|
|
19
19
|
"",
|
|
20
20
|
// the portal url
|
|
21
21
|
e
|
|
22
|
-
) && i.push(m.NOTEBOOK), await
|
|
22
|
+
) && i.push(m.NOTEBOOK), await N(e) ? t.push(m.VELOCITY) : n?.PortalUserPrivileges && [
|
|
23
23
|
x.VELOCITYFEEDS,
|
|
24
24
|
x.VELOCITYBIGDATA,
|
|
25
25
|
x.VELOCITYREALTIME
|
|
@@ -412,7 +412,7 @@ class te extends C {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
_setFeatureServiceProps(e) {
|
|
415
|
-
e.valueType && e.valueType.toLowerCase() === "itemid" &&
|
|
415
|
+
e.valueType && e.valueType.toLowerCase() === "itemid" && F(e, "attributes.required", "true");
|
|
416
416
|
}
|
|
417
417
|
getValidation(e, t) {
|
|
418
418
|
let i = "", s = f(e, "validation.message") || "", a = !0;
|