@esri/solutions-components 1.2.0-next.184 → 1.2.0-next.186
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/{T4BABRET.js → 2Z4TOYVC.js} +1 -1
- package/dist/cdn/{UJRIZPZV.js → 3A7PC2RZ.js} +1 -1
- package/dist/cdn/{AHSUDDTV.js → 3HWKU2CT.js} +1 -1
- package/dist/cdn/{3OBXQOE4.js → 4CPDEFIT.js} +1 -1
- package/dist/cdn/{GXGL7E5C.js → 6TJ6HIGG.js} +1 -1
- package/dist/cdn/{2J5B4RQM.js → 7M3GJY6J.js} +1 -1
- package/dist/cdn/AS6FGEVT.js +2 -0
- package/dist/cdn/BEC6A65P.js +2 -0
- package/dist/cdn/BHSNNVIL.js +2 -0
- package/dist/cdn/{FYIT6WMR.js → BT66JT22.js} +1 -1
- package/dist/cdn/{WSU4ELZX.js → C7DWPTJL.js} +1 -1
- package/dist/cdn/{HUWZTPMY.js → CN4TSLTZ.js} +1 -1
- package/dist/cdn/{IZAAOTKA.js → DOFNBU4Q.js} +1 -1
- package/dist/cdn/{D4YDAIIJ.js → EERFOEDZ.js} +1 -1
- package/dist/cdn/{RSJOED5F.js → FP5UBHCW.js} +1 -1
- package/dist/cdn/{KNOAIRGH.js → FWFL23CM.js} +1 -1
- package/dist/cdn/FY4GDFB5.js +2 -0
- package/dist/cdn/{YUXRMEUI.js → HEW273HR.js} +1 -1
- package/dist/cdn/{G7PIGNB5.js → I3ERNQTX.js} +1 -1
- package/dist/cdn/{TQ6UUSC6.js → LN36O3EB.js} +1 -1
- package/dist/cdn/MVNKOMSZ.js +2 -0
- package/dist/cdn/OQVULF2Q.js +2 -0
- package/dist/cdn/{UPCW6ZJC.js → OUH4HVG4.js} +28 -24
- package/dist/cdn/{YJCIONLF.js → PFQDRDKQ.js} +1 -1
- package/dist/cdn/{FQDOIGWN.js → PJ2IZ77K.js} +1 -1
- package/dist/cdn/{DPOINX2J.js → QPEQNTE2.js} +1 -1
- package/dist/cdn/{6KZ7BPYY.js → R6QJKOAM.js} +1 -1
- package/dist/cdn/RG6FVRCW.js +2 -0
- package/dist/cdn/RYK5PICU.js +2 -0
- package/dist/cdn/{G6YTMDRE.js → U3MPHGGT.js} +1 -1
- package/dist/cdn/{VCNW2JFC.js → V25NUVVQ.js} +1 -1
- package/dist/cdn/{VWSBR3EG.js → VHA56S7W.js} +1 -1
- package/dist/cdn/{JZEB6HZ4.js → W4DGTEPL.js} +1 -1
- package/dist/cdn/{YN3QQTPJ.js → WI7VFPQ3.js} +1 -1
- package/dist/cdn/Y2S3AB43.js +2 -0
- package/dist/cdn/{YOUPERBP.js → YBZ4RYD3.js} +1 -1
- package/dist/cdn/{SYHSZMOM.js → ZVLL5DZC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +66 -58
- package/dist/chunks/cardsHelpers.js +2 -2
- package/dist/chunks/interfaces.js +295 -293
- package/dist/chunks/solutions-deploy-app-nav.js +10 -10
- package/dist/components/arcgis-solutions-assistant/customElement.js +79 -69
- package/dist/components/solution-details-card/customElement.js +8 -8
- package/dist/components/solution-details-panel/customElement.js +50 -50
- package/dist/components/solution-resource-card/customElement.js +11 -11
- package/dist/components/solution-snapshot-gallery/customElement.js +17 -17
- package/dist/components/solution-social-share/customElement.js +5 -5
- package/dist/components/solutions-all-panel/customElement.js +22 -21
- package/dist/components/solutions-deploy-app/customElement.js +12 -11
- package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -2
- package/dist/components/solutions-deployed-panel/customElement.js +42 -27
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/utils/interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/5HY4G5MJ.js +0 -2
- package/dist/cdn/7QFCHNYA.js +0 -2
- package/dist/cdn/BU24GNCR.js +0 -2
- package/dist/cdn/EMCLBWJH.js +0 -2
- package/dist/cdn/ETZI55AM.js +0 -2
- package/dist/cdn/EVTIE353.js +0 -2
- package/dist/cdn/K3V6XHE4.js +0 -2
- package/dist/cdn/LEBOMHXU.js +0 -2
- package/dist/cdn/QAT4TZD4.js +0 -2
|
@@ -7,15 +7,15 @@ import { useContextConsumer as w } from "@arcgis/lumina/context";
|
|
|
7
7
|
import { c as E, i as L } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { css as R, html as l } from "lit";
|
|
9
9
|
import { request as T, getWorkflowBaseURL as P, getWorkflowManagerAuthorized as A, sanitizeHTML as _, getItemDataAsJson as O, getItem as U, getPropWithDefault as $, getProp as v, setCreateProp as N } from "@esri/solution-common";
|
|
10
|
-
import { E as m, R as F, g as x, T as g, U as b, V as H, H as I,
|
|
11
|
-
import { _findExistingItem as
|
|
10
|
+
import { E as m, R as F, g as x, T as g, U as b, V as H, H as I, G as V, W as z, X as B, C as Y } from "../../chunks/interfaces.js";
|
|
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";
|
|
14
14
|
import "../solution-deploying-dialog/customElement.js";
|
|
15
|
-
const
|
|
16
|
-
async function
|
|
15
|
+
const W = R`.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.flex-1{flex:1}.cursor-default{cursor:default}solution-details-card[id*=you-may-also-like]{width:240px}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}ul ul{list-style-type:circle}li{margin:var(--calcite-spacing-sm) var(--calcite-spacing-none)}calcite-label{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.padding-1{padding:var(--calcite-spacing-lg)}.padding-1-5{padding:var(--calcite-spacing-xl)}.padding-2px{padding:var(--calcite-spacing-base)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.padding-bottom-sm{padding-bottom:var(--calcite-spacing-sm)}.padding-top-md{padding-top:var(--calcite-spacing-md)}.padding-top-sm{padding-top:var(--calcite-spacing-sm)}.padding-top-xs{padding-top:.25rem}.padding-bottom-1-5{padding-bottom:var(--calcite-spacing-xxl)}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-top-1-5{padding-top:var(--calcite-spacing-xxl)}.padding-top-1-2{padding-top:var(--calcite-spacing-sm)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-1-75{padding-inline-end:1.75rem}.padding-end-2{padding-inline-end:var(--calcite-spacing-xxxl)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-bottom-1{margin-bottom:var(--calcite-spacing-lg)}.margin-bottom-1-5{margin-bottom:var(--calcite-spacing-xxl)}.margin-end-1{margin-inline-end:var(--calcite-spacing-lg)}.margin-top-0{margin-top:var(--calcite-spacing-none)}.margin-top-1{margin-top:var(--calcite-spacing-lg)}.margin-top-875{margin-top:.875rem}.margin-top-1-5{margin-top:var(--calcite-spacing-xxl)}.margin-sides-0-5{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm)}.margin-sides-1{margin-left:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg)}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.align-items-baseline{align-items:baseline}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:300px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:0;flex-shrink:1}}.width-full{width:100%}@media(max-width:768px){.width-full{flex-direction:column}.width-full>.display-flex{flex-direction:column}.image-width{width:100%;padding-inline-end:0;margin-bottom:var(--calcite-spacing-lg)}.button-width{width:100%;margin-top:var(--calcite-spacing-lg)}}.card-group{overflow:hidden}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}calcite-card{width:450px;--calcite-card-border-color: transparent}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}#screenshots-subsection calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}#screenshots-subsection calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}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:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}calcite-card{border:var(--calcite-spacing-base) solid transparent;box-sizing:border-box;padding:var(--calcite-spacing-base)}.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:var(--calcite-spacing-xl)}.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;display:block}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.line-height-1{line-height:1.1}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}.font-color-2{color:var(--calcite-color-text-2)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-foreground-1)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-2);margin:0}.table-cell p{margin:0}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}.position-relative{position:relative}.background-color-2{background-color:var(--calcite-color-foreground-2)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-2)}.border-none{border:none}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}calcite-shell{block-size:unset}.solution-detail-action{--calcite-color-focus: initial}a{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:hover{background-size:100% 1px,100% 1px}a:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:active{color:var(--calcite-color-brand-press)}`;
|
|
16
|
+
async function K(n, e, t) {
|
|
17
17
|
let i = t;
|
|
18
|
-
return n && (n?.IsEnterprisePortal && await
|
|
18
|
+
return n && (n?.IsEnterprisePortal && await X(
|
|
19
19
|
"",
|
|
20
20
|
// the portal url
|
|
21
21
|
e
|
|
@@ -24,14 +24,14 @@ async function W(n, e, t) {
|
|
|
24
24
|
x.VELOCITYBIGDATA,
|
|
25
25
|
x.VELOCITYREALTIME
|
|
26
26
|
].forEach((o) => {
|
|
27
|
-
const
|
|
28
|
-
|
|
27
|
+
const r = t.indexOf(o) || -1;
|
|
28
|
+
r !== -1 && t.splice(r, 1);
|
|
29
29
|
}), i = i.concat(
|
|
30
30
|
q(
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Q(n),
|
|
32
|
+
Z(n)
|
|
33
33
|
)
|
|
34
|
-
), i = i.concat(
|
|
34
|
+
), i = i.concat(j(n)), i = i.concat(await J(n))), Promise.resolve(i);
|
|
35
35
|
}
|
|
36
36
|
function q(n, e) {
|
|
37
37
|
let t = [];
|
|
@@ -41,19 +41,19 @@ function q(n, e) {
|
|
|
41
41
|
m.TRACKING
|
|
42
42
|
] : n && !e ? t = [m.TRACKINGADMIN] : !n && e && (t = [m.TRACKING]), t;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
44
|
+
function j(n) {
|
|
45
|
+
return ee(
|
|
46
46
|
n
|
|
47
47
|
) ? [m.HUBPREMIUM] : [];
|
|
48
48
|
}
|
|
49
|
-
async function
|
|
49
|
+
async function J(n) {
|
|
50
50
|
const e = await P(n?.RestUserSession);
|
|
51
51
|
return await A(
|
|
52
52
|
e,
|
|
53
53
|
n?.RestUserSession
|
|
54
54
|
) ? [m.WORKFLOW] : [];
|
|
55
55
|
}
|
|
56
|
-
async function
|
|
56
|
+
async function X(n, e) {
|
|
57
57
|
const t = n + "/sharing/rest", i = {
|
|
58
58
|
authentication: e,
|
|
59
59
|
portal: t,
|
|
@@ -63,7 +63,7 @@ async function J(n, e) {
|
|
|
63
63
|
};
|
|
64
64
|
return T(`${t}/portals/self/servers`, i).then((s) => s?.servers?.find((a) => a.serverFunction.indexOf("NotebookServer") > -1), (s) => (console.error(s), !1));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Q(n) {
|
|
67
67
|
const e = n?.PortalUserSubset?.privileges, t = [
|
|
68
68
|
"portal:admin:create",
|
|
69
69
|
"portal:admin:delete",
|
|
@@ -74,13 +74,13 @@ function X(n) {
|
|
|
74
74
|
(i) => e.some((s) => s.startsWith(i))
|
|
75
75
|
) : !1;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Z(n) {
|
|
78
78
|
return n?.PortalSubset?.locationTrackingEnabled || !1;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ee(n) {
|
|
81
81
|
return n?.PortalSubset?.hubPremiumEnabled || !1;
|
|
82
82
|
}
|
|
83
|
-
class
|
|
83
|
+
class te extends C {
|
|
84
84
|
constructor() {
|
|
85
85
|
super(), this._isDeployDisabled = !1, this._isLoaded = !1, this._showScreenshotsShowMore = !1, this._showYouMayAlsoLikeShowMore = !1, this.isMobile = !1, this._isScreenshotsRowExpanded = !1, this._isYouMayAlsoLikeRowExpanded = !1, this._screenshotsRowBaseHeight = 340, this._showLoader = !1, this._templates = [], this._translations = M({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
|
|
86
86
|
context: E,
|
|
@@ -146,7 +146,7 @@ class ee extends C {
|
|
|
146
146
|
this.properties = { card: 0, _isDeployDisabled: 16, _isLoaded: 16, _showScreenshotsShowMore: 16, _showYouMayAlsoLikeShowMore: 16, isMobile: 16, _isScreenshotsRowExpanded: 16, _isYouMayAlsoLikeRowExpanded: 16, _itemProperties: 16, _missingPrivilegeMessages: 16, _screenshotsRowBaseHeight: 16, _showLoader: 16, _templates: 16, _translations: 16, _youMayAlsoLikeBaseHeight: 16 };
|
|
147
147
|
}
|
|
148
148
|
static {
|
|
149
|
-
this.styles =
|
|
149
|
+
this.styles = W;
|
|
150
150
|
}
|
|
151
151
|
get _telemetry() {
|
|
152
152
|
return this._configContextConsumer.value?.telemetrySession;
|
|
@@ -190,22 +190,22 @@ class ee extends C {
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
_getSolutionRow() {
|
|
193
|
-
const e = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400"), t = this._missingPrivilegeMessages?.leadingMessages || [], i = t.length > 0, s = this._missingPrivilegeMessages?.bulletedMessages || [], a = s.length > 0, o = this._missingPrivilegeMessages?.trailingMessages || [],
|
|
194
|
-
return l`<div class="display-flex flex-direction-row width-full"><div class="padding-end-1-75 image-width"><img alt=${this.card?.title ?? y} src=${e ?? y}></div><div class="display-flex flex-direction-row flex-1">${this._getTextSection(i, a,
|
|
193
|
+
const e = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400"), t = this._missingPrivilegeMessages?.leadingMessages || [], i = t.length > 0, s = this._missingPrivilegeMessages?.bulletedMessages || [], a = s.length > 0, o = this._missingPrivilegeMessages?.trailingMessages || [], r = o.length > 0;
|
|
194
|
+
return l`<div class="display-flex flex-direction-row width-full"><div class="padding-end-1-75 image-width"><img alt=${this.card?.title ?? y} src=${e ?? y}></div><div class="display-flex flex-direction-row flex-1">${this._getTextSection(i, a, r, t, s, o)}${this._getButtons()}</div></div>`;
|
|
195
195
|
}
|
|
196
196
|
_getTextSection(e, t, i, s, a, o) {
|
|
197
|
-
return l`<div class="display-flex flex-direction-column padding-end-1 flex-1"><div class="display-flex flex-direction-row align-items-baseline"><h1 class="padding-top-xs title-font margin-top-0 margin-bottom-1-5 line-height-1">${this.card?.title}</h1>${this.card?.categories?.some((
|
|
197
|
+
return l`<div class="display-flex flex-direction-column padding-end-1 flex-1"><div class="display-flex flex-direction-row align-items-baseline"><h1 class="padding-top-xs title-font margin-top-0 margin-bottom-1-5 line-height-1">${this.card?.title}</h1>${this.card?.categories?.some((r) => r.includes("New Release")) && l`<calcite-chip class="margin-bottom-1-5 margin-sides-1" kind=brand .label=${this._translations.newChip} scale=m icon=star>${this._translations.newChip}</calcite-chip>` || ""}</div><div class="font-1 padding-end-1 line-height-xxl">${this.card?.snippet}</div>${e || t || i ? l`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(s, a, o)}</div>` : ""}</div>`;
|
|
198
198
|
}
|
|
199
199
|
_getButtons() {
|
|
200
200
|
const e = this._itemProperties?.demoURL || "";
|
|
201
201
|
return l`<div class="display-flex flex-direction-column button-width"><calcite-button class="padding-bottom-1 solution-detail-action" .disabled=${this.isMobile ? !0 : this._isDeployDisabled} icon-flip-rtl=end @click=${() => this._checkPermissionsBeforeDeploy()} scale=m>${this._showLoader ? l`<calcite-loader inline label></calcite-loader>` : this._translations.deployButton}</calcite-button>${!this._configContextConsumer.value?.isEnterprise && e && l`<calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1 solution-detail-action" @click=${() => this._handleWatchDemoClick(e)} scale=m>${this._translations.watchDemo}</calcite-button>` || ""}<calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1 solution-detail-action" @click=${() => this._handleLearnMoreClick()} scale=m>${this._translations.openHelp}</calcite-button>${!this._configContextConsumer.value?.isEnterprise && l`<solution-social-share button-appearance=outline-fill class="padding-bottom-1" share-button-kind=neutral .shareButtonText=${this._translations.share} share-button-scale=m .solutionId=${this.card?.deployCommonId || ""} .solutionTitle=${this.card?.title || ""} .solutionVersion=${this.card?.deployVersion || ""}></solution-social-share>` || ""}</div>`;
|
|
202
202
|
}
|
|
203
203
|
_getMissingPrivilegesNotice(e, t, i) {
|
|
204
|
-
const s = "solutions-missing-privileges-notice", a = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, o = t.length > 0 ? "" : "display-none",
|
|
204
|
+
const s = "solutions-missing-privileges-notice", a = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, o = t.length > 0 ? "" : "display-none", r = t.length > 0 ? "padding-top-sm" : "";
|
|
205
205
|
return l`<div><calcite-notice class="margin-inline-unset" kind=info open><div slot=message>${`${a}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${a}></calcite-action></calcite-notice><calcite-popover closable label overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${h(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column">${// Leading messages
|
|
206
206
|
this._getSpanMessages(e, "padding-bottom-1")}<span class=${`padding-bottom-1-2 ${o}`}>${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${// Bulleted messages
|
|
207
207
|
this._getBulletedMessages(t)}${// Trailing messages
|
|
208
|
-
this._getSpanMessages(i,
|
|
208
|
+
this._getSpanMessages(i, r)}</div></calcite-popover></div>`;
|
|
209
209
|
}
|
|
210
210
|
_getSpanMessages(e, t) {
|
|
211
211
|
return e.length > 0 ? e.map((i) => l`<span class=${u(t)}>${i}</span>`) : "";
|
|
@@ -224,7 +224,7 @@ class ee extends C {
|
|
|
224
224
|
return l`<calcite-card-group class="card-group" .label=${this._translations.solutionOverview}>${e.reduce((i, s) => {
|
|
225
225
|
const a = I(this.card?.id || "", s.name, t.authentication);
|
|
226
226
|
let o;
|
|
227
|
-
return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (o = I(this.card?.id || "", s.name, void 0, t.agolPortalUrl)), this.card?.id ? i.push(l`<calcite-card class="cursor-pointer" .label=${s.alt} @click=${() => this._openScreenshotGallery(s)}><div class="card-image-wrap" slot=thumbnail><img alt=${s.alt ?? y} class="thumbnail card-image" slot=thumbnail src=${(o || a) ?? y}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`) : i.push(""), i;
|
|
227
|
+
return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (o = I(this.card?.id || "", s.name, void 0, t.agolPortalUrl)), this.card?.id ? i.push(l`<calcite-card class="cursor-pointer" .label=${s.alt} @click=${() => this._openScreenshotGallery(s)} @keydown=${(r) => V(r, () => this._openScreenshotGallery(s))}><div class="card-image-wrap" slot=thumbnail><img alt=${s.alt ?? y} class="thumbnail card-image" slot=thumbnail src=${(o || a) ?? y}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`) : i.push(""), i;
|
|
228
228
|
}, [])}</calcite-card-group>`;
|
|
229
229
|
}
|
|
230
230
|
_openScreenshotGallery(e) {
|
|
@@ -274,7 +274,7 @@ class ee extends C {
|
|
|
274
274
|
}
|
|
275
275
|
_getYouMayAlsoLikeRow(e) {
|
|
276
276
|
const t = this._showYouMayAlsoLikeShowMore ? "" : "display-none", i = this._isYouMayAlsoLikeRowExpanded ? this._translations.showLess : this._translations.showMore, s = this._isYouMayAlsoLikeRowExpanded ? "arrow-up" : "arrow-down", a = this._isYouMayAlsoLikeRowExpanded ? "" : { height: `${this._youMayAlsoLikeBaseHeight}px` };
|
|
277
|
-
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._youMayAlsoLikeAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.youMayAlsoLike}</div><div class="display-flex flex-direction-column"><div class="collapsible-div" id=you-may-also-like-subsection style=${D(a)} ${h(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((o,
|
|
277
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._youMayAlsoLikeAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.youMayAlsoLike}</div><div class="display-flex flex-direction-column"><div class="collapsible-div" id=you-may-also-like-subsection style=${D(a)} ${h(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((o, r) => l`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${o} class="padding-2px" source=you-may-also-like .referrerSolutionId=${this.card?.deployCommonId || ""} .referrerSolutionTitle=${this.card?.title || ""} .referrerSolutionVersion=${this.card?.deployVersion || ""}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} .icon=${s} kind=inverse @click=${() => {
|
|
278
278
|
this._youMayAlsoLikeElement.value?.classList.toggle("expanded"), this._isYouMayAlsoLikeRowExpanded = this._youMayAlsoLikeElement.value.classList.contains("expanded");
|
|
279
279
|
}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`;
|
|
280
280
|
}
|
|
@@ -334,12 +334,12 @@ class ee extends C {
|
|
|
334
334
|
async _getItemData() {
|
|
335
335
|
const e = this._configContextConsumer.value, t = e?.agoBasedEnterpriseSolutionsGroupId && e?.isEnterprise ? e.anonAgolSession : e?.userSession, i = await O(this.card.id, t), s = await U(this.card.id, t);
|
|
336
336
|
this._itemProperties = s.properties, this.itemPropertiesFetched.emit(this._itemProperties);
|
|
337
|
-
const a =
|
|
338
|
-
this._privileges = t.username ? a : [], this._userPrivileges = e?.authentication && e?.userSession ? await
|
|
337
|
+
const a = z(i, this.card.typeKeywords, e?.authentication);
|
|
338
|
+
this._privileges = t.username ? a : [], this._userPrivileges = e?.authentication && e?.userSession ? await K(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
|
|
339
339
|
const o = this._privileges.filter((p) => !this._userPrivileges.includes(p));
|
|
340
|
-
this._missingPrivilegeMessages =
|
|
341
|
-
const
|
|
342
|
-
this._userOptions =
|
|
340
|
+
this._missingPrivilegeMessages = B(this._translations, o), this._isDeployDisabled = this._missingPrivilegeMessages && (this._missingPrivilegeMessages.leadingMessages.length > 0 || this._missingPrivilegeMessages.bulletedMessages.length > 0 || this._missingPrivilegeMessages.trailingMessages.length > 0);
|
|
341
|
+
const r = i.params ? await this.formatParams(i.params) : [];
|
|
342
|
+
this._userOptions = r, this._templates = i.templates, this.templatesFetched.emit(i.templates), this._checkUrlParametersForAutoDeployment(), this._isLoaded = !0, this._showLoader && (this._showLoader = !1, this._isDeployDisabled || this._openDeploy());
|
|
343
343
|
}
|
|
344
344
|
formatParams(e) {
|
|
345
345
|
const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [], a = {
|
|
@@ -349,25 +349,25 @@ class ee extends C {
|
|
|
349
349
|
};
|
|
350
350
|
if (s.length > 0) {
|
|
351
351
|
const o = [];
|
|
352
|
-
return s.forEach((
|
|
353
|
-
const p = e[
|
|
354
|
-
p.valueType && p.valueType.toLowerCase() === "itemid" && o.push(this._findExistingItem(
|
|
355
|
-
}), Promise.all(o).then((
|
|
352
|
+
return s.forEach((r) => {
|
|
353
|
+
const p = e[r];
|
|
354
|
+
p.valueType && p.valueType.toLowerCase() === "itemid" && o.push(this._findExistingItem(r, "Feature Service", t.username || ""));
|
|
355
|
+
}), Promise.all(o).then((r) => {
|
|
356
356
|
const p = {};
|
|
357
|
-
return
|
|
358
|
-
if (
|
|
359
|
-
const S =
|
|
357
|
+
return r.forEach((c) => {
|
|
358
|
+
if (c.query && c.results && c.results.length > 0) {
|
|
359
|
+
const S = c.query.split(" ")[0].replace("typekeywords:source-", "");
|
|
360
360
|
p[S] = {
|
|
361
|
-
resultId:
|
|
362
|
-
response:
|
|
361
|
+
resultId: c.results[0].id,
|
|
362
|
+
response: c.results[0]
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
|
-
}), s.forEach((
|
|
366
|
-
if (
|
|
367
|
-
this._configureLearnMore = e[
|
|
365
|
+
}), s.forEach((c) => {
|
|
366
|
+
if (c === "serviceLearnMore") {
|
|
367
|
+
this._configureLearnMore = e[c], alert(this._configureLearnMore), delete e[c];
|
|
368
368
|
return;
|
|
369
369
|
}
|
|
370
|
-
e[
|
|
370
|
+
e[c].enterpriseIDMapping && (this._customDeploymentMappings[c] = e[c].enterpriseIDMapping), a.id = c, p[c] && (e[c].existingItemId = p[c].resultId, this.updateUserProp(e[c], p[c].response)), this.updateOption(e[c], a, c);
|
|
371
371
|
}), i.push(a), Promise.resolve(i);
|
|
372
372
|
}).catch(() => Promise.resolve([]));
|
|
373
373
|
} else
|
|
@@ -375,16 +375,16 @@ class ee extends C {
|
|
|
375
375
|
}
|
|
376
376
|
_findExistingItem(e, t, i) {
|
|
377
377
|
const s = this._configContextConsumer.value.userSession;
|
|
378
|
-
return
|
|
378
|
+
return G(`typekeywords:source-${e} type:${t} owner:${i}`, s);
|
|
379
379
|
}
|
|
380
380
|
updateUserProp(e, t) {
|
|
381
381
|
const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"), a = $(t, i ? "url" : "type", "") || "", o = a !== "" && s.test(a);
|
|
382
|
-
return e.responseValue = o ? a : "", e.name = o && v(t, "name") || "", e.title = o && v(t, "title") || "", e.itemType = o ? v(t, "type") : e.itemType, e.validId = o, e.itemUrl =
|
|
382
|
+
return e.responseValue = o ? a : "", e.name = o && v(t, "name") || "", e.title = o && v(t, "title") || "", e.itemType = o ? v(t, "type") : e.itemType, e.validId = o, e.itemUrl = Y(t.id, this._configContextConsumer.value.authentication), o;
|
|
383
383
|
}
|
|
384
384
|
updateOption(e, t, i) {
|
|
385
385
|
const s = e.default || "", a = typeof s, o = s.toString();
|
|
386
386
|
this._setFeatureServiceProps(e);
|
|
387
|
-
const
|
|
387
|
+
const r = this.getValidation(e, o);
|
|
388
388
|
t.props.push({
|
|
389
389
|
id: i,
|
|
390
390
|
outType: a,
|
|
@@ -399,7 +399,7 @@ class ee extends C {
|
|
|
399
399
|
default: o,
|
|
400
400
|
srSearchText: o,
|
|
401
401
|
autoSelect: o !== "",
|
|
402
|
-
...
|
|
402
|
+
...r,
|
|
403
403
|
loading: !1,
|
|
404
404
|
validId: !0,
|
|
405
405
|
tooltip: e.tooltip || "",
|
|
@@ -468,7 +468,7 @@ class ee extends C {
|
|
|
468
468
|
this._isLoaded ? this._openDeploy() : this._configContextConsumer.value.authentication?.IsSignedIn ? this._showLoader = !0 : this._openDeploy();
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
k("solution-details-panel",
|
|
471
|
+
k("solution-details-panel", te);
|
|
472
472
|
export {
|
|
473
|
-
|
|
473
|
+
te as SolutionDetailsPanel
|
|
474
474
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
|
|
2
2
|
import { c as i } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as t, svg as e, html as
|
|
3
|
+
import { css as t, svg as e, html as l } from "lit";
|
|
4
4
|
import { u as o } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as r, nothing as h } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as s } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as n } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
8
|
+
import { G as m, T as z } from "../../chunks/interfaces.js";
|
|
9
|
+
const v = t`calcite-card{cursor:pointer;height:100%;padding-bottom:2px;border-inline-start:3px solid transparent}calcite-card:hover{outline:1px solid var(--calcite-color-brand);border-inline-start:3px solid var(--calcite-color-brand);box-sizing:border-box}.card-icon{margin-bottom:var(--calcite-spacing-md);display:flex;justify-content:flex-start}.card-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-sm) 0;color:var(--calcite-color-text-1)}.card-description{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);margin:0}.meridian-icon{width:48px;height:48px;display:block;color:var(--calcite-color-text-3)}`, c = {
|
|
10
10
|
"arcmap-blog": "M34 28.9H10v-.8h24zm-24 5h20v-.8H10zm31.591-20.8l-.8.8H45.1v25.2H18.583l-9.817 4.245 1.823-4.245H3.9V13.9h22.665l.8-.8H3.1v26.8h6.274l-2.142 4.986L18.666 39.9H45.9V13.1zm-.953-5.141l.449 2.676L32.6 19.12l-.567-.565 8.195-8.196-.286-1.708L24.09 24.476a1.82 1.82 0 0 1-.689.431l-3.52 1.22 1.213-3.525a1.832 1.832 0 0 1 .431-.692L42.461.989l2.578 2.577zm3.268-4.394L42.461 2.12 22.09 22.475a1.036 1.036 0 0 0-.242.388l-.678 1.97 1.968-.682a1.018 1.018 0 0 0 .384-.24z",
|
|
11
11
|
"esri-community": "M24 47.896a3.897 3.897 0 0 1-1.563-.327L3.1 39.106V12.928a6.169 6.169 0 0 1 3.696-5.651L22.436.43a3.905 3.905 0 0 1 3.128 0L44.9 8.894v26.178a6.17 6.17 0 0 1-3.696 5.651l-15.64 6.846a3.897 3.897 0 0 1-1.564.327zM3.9 38.583l18.857 8.254a3.11 3.11 0 0 0 2.486 0l15.64-6.846a5.37 5.37 0 0 0 3.217-4.92V9.418L25.243 1.163a3.11 3.11 0 0 0-2.486 0L7.117 8.01A5.369 5.369 0 0 0 3.9 12.928zm21.364.344a14.156 14.156 0 0 1-14.17-14.111 13.678 13.678 0 0 1 16.893-13.26l.387.103-1.164 4.336-.389-.107a8.052 8.052 0 0 0-2.141-.282 8.907 8.907 0 0 0-8.74 8.838 9.303 9.303 0 0 0 15.277 7.075.809.809 0 0 1 1.104.062l2.451 2.57a.808.808 0 0 1-.047 1.161 14.213 14.213 0 0 1-9.461 3.615zm-.559-27a12.956 12.956 0 0 0-12.81 12.889 13.375 13.375 0 0 0 22.298 9.899L31.73 32.13a10.103 10.103 0 0 1-16.591-7.687 9.718 9.718 0 0 1 9.54-9.637 8.982 8.982 0 0 1 1.965.212l.748-2.787a11.953 11.953 0 0 0-2.687-.305zM36 26.9H24a3.905 3.905 0 0 1-3.9-3.9.901.901 0 0 1 .9-.9h10.84a7.77 7.77 0 0 0-1.875-4.15l-.131-.158 1.332-5.01.475.357a13.413 13.413 0 0 1 5.26 10.705V26a.901.901 0 0 1-.901.9zm-15-4a.1.1 0 0 0-.1.1 3.103 3.103 0 0 0 3.1 3.1h12a.1.1 0 0 0 .1-.1v-2.156a12.643 12.643 0 0 0-4.47-9.693l-.918 3.451a8.135 8.135 0 0 1 1.95 4.898v.4z",
|
|
12
12
|
faq: "M18.495 23.09a3.22 3.22 0 0 1 3.502 3.123 3.526 3.526 0 0 1-1.593 3.034 3.413 3.413 0 0 0-1.524 3.096V33h-.8v-.657a4.165 4.165 0 0 1 1.812-3.71 2.727 2.727 0 0 0 1.305-2.42 2.425 2.425 0 0 0-2.702-2.322c-1.716 0-2.498.99-2.498 1.912h-.8c0-1.348 1.133-2.712 3.298-2.712zm22.849-2.748l.843 4.81-3.579-1.014.218-.77 2.354.668-.721-4.111.246-.139c3.427-1.927 5.393-4.774 5.393-7.81 0-5.554-6.55-10.072-14.6-10.072s-14.6 4.518-14.6 10.072a8.111 8.111 0 0 0 2.73 5.856l.313.3C29.924 18.47 37.9 24.104 37.9 31c0 7.113-8.479 12.9-18.9 12.9-1.417 0-3.901-.295-4.433-.36l-9.71 3.627 2.062-6.238C2.58 38.47.1 34.867.1 31c0-7.064 8.364-12.813 18.686-12.893a8.769 8.769 0 0 1-2.688-6.131c0-5.995 6.908-10.872 15.4-10.872s15.4 4.877 15.4 10.872c0 3.258-2.02 6.295-5.554 8.366zM19 18.9C9.02 18.9.9 24.328.9 31c0 3.65 2.44 7.073 6.694 9.389l.293.16-1.746 5.285 8.33-3.112.097.012c.03.004 2.923.366 4.432.366 9.98 0 18.1-5.428 18.1-12.1S28.98 18.9 19 18.9zm.4 16.6a.9.9 0 1 1-.9-.9.901.901 0 0 1 .9.9zm-.8 0a.1.1 0 0 0-.2 0c0 .11.2.11.2 0zm12.9-25.025a1.025 1.025 0 1 1-1.025 1.025 1.026 1.026 0 0 1 1.025-1.025zm0 .8a.225.225 0 0 0-.225.225c0 .248.45.248.45 0a.225.225 0 0 0-.225-.225zm6.975.225a1.025 1.025 0 1 1 1.025 1.025 1.026 1.026 0 0 1-1.025-1.025zm.8 0c0 .248.45.248.45 0a.225.225 0 0 0-.45 0zM23.5 10.475a1.025 1.025 0 1 1-1.025 1.025 1.026 1.026 0 0 1 1.025-1.025zm0 .8a.225.225 0 0 0-.225.225c0 .248.45.248.45 0a.225.225 0 0 0-.225-.225z",
|
|
@@ -19,7 +19,7 @@ const z = t`calcite-card{cursor:pointer;height:100%;padding-bottom:2px;border-in
|
|
|
19
19
|
video: "M11.363 17.1l27.814-8.32-1.697-5.673-31.127 9.311 1.696 5.673.051-.015V41.9h31.8V17.1zm15.783-5.556l-5.179 1.549 1.246-4.883 5.178-1.549zm2.14-5.15l5.178-1.549-1.246 4.883-5.178 1.548zm-8.213 6.966l-5.178 1.549 1.246-4.883 5.178-1.548zm-6.072 1.816l-5.178 1.549 1.246-4.883 5.178-1.548zm23.18-6.933L34.112 9.46l1.246-4.882 1.585-.474zM7.35 12.955l2.826-.845-1.246 4.882-.343.103zM29.044 22.1l2.52-4.2h5.405l-2.52 4.2zm-19.014 0l2.52-4.2h5.405l-2.52 4.2zm8.858-4.2h5.405l-2.52 4.2h-5.405zm6.338 0h5.405l-2.52 4.2h-5.405zM8.9 17.9h2.716l-2.519 4.2H8.9zm30.2 23.2H8.9V22.9h30.2zm-3.718-19l2.52-4.2H39.1v4.2zM36 27.9h-2v-.8h2zm-5 0H13v-.8h18zm-17.9 9h22.8v-5.8H13.1zm.8-5h21.2v4.2H13.9z",
|
|
20
20
|
"speech-bubbles": "M11 15.9v-.8h18v.8zm12 4v-.8H11v.8zm-1 7.2h-3.443L9.9 32.76V27.1H5.75a1.852 1.852 0 0 1-1.85-1.85v-14.5A1.852 1.852 0 0 1 5.75 8.9h27.5a1.852 1.852 0 0 1 1.85 1.85V22h.8V10.75a2.653 2.653 0 0 0-2.65-2.65H5.75a2.653 2.653 0 0 0-2.65 2.65v14.5a2.653 2.653 0 0 0 2.65 2.65H9.1v6.34l9.695-6.34H22zm18.9 9.8h1.35a2.653 2.653 0 0 0 2.65-2.65v-8.5a2.653 2.653 0 0 0-2.65-2.65h-16.5a2.653 2.653 0 0 0-2.65 2.65v8.5a2.653 2.653 0 0 0 2.65 2.65h7.28l7.87 5.628zm1.35-13a1.852 1.852 0 0 1 1.85 1.85v8.5a1.852 1.852 0 0 1-1.85 1.85H40.1v4.872L33.288 36.1H25.75a1.852 1.852 0 0 1-1.85-1.85v-8.5a1.852 1.852 0 0 1 1.85-1.85zm-3.25 4v-.8H29v.8zm-3 5v-.8h-7v.8z"
|
|
21
21
|
};
|
|
22
|
-
class
|
|
22
|
+
class d extends r {
|
|
23
23
|
constructor() {
|
|
24
24
|
super(...arguments), this._translations = o({ name: "solution-resource-card", blocking: !0 }), this._configContextConsumer = s({
|
|
25
25
|
context: n,
|
|
@@ -30,23 +30,23 @@ class v extends r {
|
|
|
30
30
|
this.properties = { _translations: 16, icon: 1, meridianIcon: 1, heading: 1, description: 1, url: 1, sectionHeading: 1 };
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
|
-
this.styles =
|
|
33
|
+
this.styles = v;
|
|
34
34
|
}
|
|
35
35
|
get _telemetry() {
|
|
36
36
|
return this._configContextConsumer.value?.telemetrySession;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return
|
|
39
|
+
return l`<calcite-card @click=${() => this.url && this._handleCardClick(this.url)} @keydown=${(a) => m(a, () => this.url && this._handleCardClick(this.url))}>${this.meridianIcon && c[this.meridianIcon] && l`<div class="card-icon"><svg class="meridian-icon" xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48">${e`<path fill=currentColor d=${c[this.meridianIcon] ?? h} />`}</svg></div>` || ""}${this.icon && l`<div class="card-icon"><calcite-icon .icon=${this.icon} scale=l></calcite-icon></div>` || ""}<h3 class="card-heading">${this.heading}</h3><p class="card-description">${this.description}</p></calcite-card>`;
|
|
40
40
|
}
|
|
41
|
-
_handleCardClick(
|
|
41
|
+
_handleCardClick(a) {
|
|
42
42
|
this._telemetry?.logEvent({
|
|
43
|
-
category:
|
|
43
|
+
category: z.RESOURCES,
|
|
44
44
|
action: "Open",
|
|
45
45
|
dimensions: [`${this.sectionHeading} - ${this.heading}`]
|
|
46
|
-
}), window.open(
|
|
46
|
+
}), window.open(a, "_blank", "noopener,noreferrer");
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
i("solution-resource-card",
|
|
49
|
+
i("solution-resource-card", d);
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
d as SolutionResourceCard
|
|
52
52
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
|
|
2
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
3
3
|
import { u as c } from "../../chunks/useT9n.js";
|
|
4
|
-
import { LitElement as l, nothing as
|
|
4
|
+
import { LitElement as l, nothing as r } from "@arcgis/lumina";
|
|
5
5
|
import { useContextConsumer as d } from "@arcgis/lumina/context";
|
|
6
|
-
import { H as a } from "../../chunks/interfaces.js";
|
|
7
|
-
import { c as
|
|
8
|
-
import { css as
|
|
6
|
+
import { G as h, H as a } from "../../chunks/interfaces.js";
|
|
7
|
+
import { c as p } from "../../chunks/deployAppContexts.js";
|
|
8
|
+
import { css as g, html as i } from "lit";
|
|
9
9
|
import "@esri/solution-common";
|
|
10
10
|
import "@arcgis/core/identity/IdentityManager.js";
|
|
11
11
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
12
12
|
import "@arcgis/core/portal/Portal.js";
|
|
13
|
-
import { createRef as
|
|
14
|
-
const
|
|
15
|
-
class
|
|
13
|
+
import { createRef as m, ref as u } from "lit-html/directives/ref.js";
|
|
14
|
+
const f = g`.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}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{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.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:var(--calcite-spacing-lg)}.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;display:block;object-fit:contain}`;
|
|
15
|
+
class b extends l {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments), this.open = !1, this._screenshots = [], this._translations = c({ name: "solution-snapshot-gallery", blocking: !0 }), this._configContextConsumer = d({
|
|
18
|
-
context:
|
|
18
|
+
context: p,
|
|
19
19
|
subscribe: !0
|
|
20
|
-
}), this._displayText = "", this._paginationControl =
|
|
20
|
+
}), this._displayText = "", this._paginationControl = m(), this._screenshotNames = [];
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.properties = { card: 0, screenshot: 0, itemProperties: 0, open: 5, _screenshots: 16, _translations: 16 };
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.styles =
|
|
26
|
+
this.styles = f;
|
|
27
27
|
}
|
|
28
28
|
willUpdate(t) {
|
|
29
29
|
t.has("screenshot") && this.screenshot && (this._displayText = this.screenshot.description || this.screenshot.alt), t.has("itemProperties") && this.itemProperties && (this._screenshots = this.itemProperties.preview.filter((e) => e.format === "image"), this._screenshotNames = this._screenshots.map((e) => e.name));
|
|
@@ -36,7 +36,7 @@ class f extends l {
|
|
|
36
36
|
}
|
|
37
37
|
_getFooter() {
|
|
38
38
|
const t = this._screenshotNames.indexOf(this.screenshot?.name || ""), s = document.body.classList.contains("calcite-mode-dark") ? "calcite-mode-dark" : "";
|
|
39
|
-
return i`<div class="footer" slot=footer><div class=${`display-flex align-items-center padding-start-1 padding-top-1-2 background-black ${s}`}><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${t + 1} total-items=${this._screenshots.length ??
|
|
39
|
+
return i`<div class="footer" slot=footer><div class=${`display-flex align-items-center padding-start-1 padding-top-1-2 background-black ${s}`}><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${t + 1} total-items=${this._screenshots.length ?? r} ${u(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`;
|
|
40
40
|
}
|
|
41
41
|
_changeScreenshot() {
|
|
42
42
|
this.screenshot = this._screenshots[this._paginationControl.value.startItem - 1];
|
|
@@ -44,21 +44,21 @@ class f extends l {
|
|
|
44
44
|
_getCards() {
|
|
45
45
|
return i`<calcite-card-group class="card-group padding-1" .label=${this._translations.seeSolutionScreenshots} selection-mode=single>${this._screenshots.map((t) => {
|
|
46
46
|
const e = t.name === this.screenshot?.name;
|
|
47
|
-
return i`<calcite-card class=${`footer-card ${e ? "calcite-card-selected" : ""}`} .label=${t.alt} @click=${() => this._showScreenshot(t)} .selected=${e}><div class="card-image-wrap" slot=thumbnail>${this._getImage(t, "thumbnail")}<div class="hover-text">${this._translations.viewScreenshot}</div></div></calcite-card>`;
|
|
47
|
+
return i`<calcite-card class=${`footer-card ${e ? "calcite-card-selected" : ""}`} .label=${t.alt} @click=${() => this._showScreenshot(t)} @keydown=${(o) => h(o, () => this._showScreenshot(t))} .selected=${e}><div class="card-image-wrap" slot=thumbnail>${this._getImage(t, "thumbnail")}<div class="hover-text">${this._translations.viewScreenshot}</div></div></calcite-card>`;
|
|
48
48
|
})}</calcite-card-group>`;
|
|
49
49
|
}
|
|
50
50
|
_getImage(t, e) {
|
|
51
|
-
return i`<img alt=${t.alt ??
|
|
51
|
+
return i`<img alt=${t.alt ?? r} slot=${e ?? r} src=${this._getSource(this._configContextConsumer.value.authentication, this.card?.id || "", t.name) ?? r}>`;
|
|
52
52
|
}
|
|
53
53
|
_showScreenshot(t) {
|
|
54
54
|
this.screenshot = t;
|
|
55
55
|
}
|
|
56
56
|
_getSource(t, e, s) {
|
|
57
|
-
const
|
|
58
|
-
return
|
|
57
|
+
const o = this._configContextConsumer.value;
|
|
58
|
+
return o.agoBasedEnterpriseSolutionsGroupId && o.isEnterprise ? a(e || "", s, void 0, o.agolPortalUrl) : t ? a(e || "", s, t) : "";
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
n("solution-snapshot-gallery",
|
|
61
|
+
n("solution-snapshot-gallery", b);
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
b as SolutionSnapshotGallery
|
|
64
64
|
};
|
|
@@ -90,17 +90,17 @@ class P extends m {
|
|
|
90
90
|
_handleOptionKeyDown(o) {
|
|
91
91
|
return (s) => {
|
|
92
92
|
const t = s.code;
|
|
93
|
-
(t === "Space" || t === "Enter") && this._handleShareItem(o);
|
|
93
|
+
(t === "Space" || t === "Enter" || t === "NumpadEnter") && this._handleShareItem(o);
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
_renderFacebookIcon() {
|
|
97
97
|
return e`<svg height=100% style=${l({ fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: "2" })} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${p`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${l({ fill: "#1877f2", fillRule: "nonzero" })} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${l({ fill: "#fff", fillRule: "nonzero" })} /></g>`}</svg>`;
|
|
98
98
|
}
|
|
99
99
|
_renderXIcon() {
|
|
100
|
-
return e`<svg class="solutions-social-share__x-logo" viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${p`<rect height=400 style=${l({ fill: "none" })} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=currentColor />`}</svg>`;
|
|
100
|
+
return e`<svg height=100% width=100% class="solutions-social-share__x-logo" viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${p`<rect height=400 style=${l({ fill: "none" })} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=currentColor />`}</svg>`;
|
|
101
101
|
}
|
|
102
102
|
_renderBlueSkyIcon() {
|
|
103
|
-
return e`<svg fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${p`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`;
|
|
103
|
+
return e`<svg height=100% width=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${p`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`;
|
|
104
104
|
}
|
|
105
105
|
_renderLinkedInIcon() {
|
|
106
106
|
return e`<svg height=100% style=${l({ fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: "2" })} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${p`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${l({ fill: "#2867b2" })} /><g id=shapes><rect height=257.962 id=rect11 style=${l({ fill: "#fff" })} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${l({ fill: "#fff", fillRule: "nonzero" })} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${l({ fill: "#fff", fillRule: "nonzero" })} /></g></g>`}</svg>`;
|
|
@@ -139,8 +139,8 @@ class P extends m {
|
|
|
139
139
|
i && (a = window.open("", "_blank"), this.shortenShareUrl && (c = await this._shortenUrl(this.shareUrl) || c));
|
|
140
140
|
const u = {
|
|
141
141
|
url: encodeURI(c)
|
|
142
|
-
},
|
|
143
|
-
this.mode === "popover" && this._closePopover(), i && a ? (a.location =
|
|
142
|
+
}, _ = o === "x" ? { ...u, text: this.shareText } : u, d = $.substitute(S[o], _);
|
|
143
|
+
this.mode === "popover" && this._closePopover(), i && a ? (a.location = d, a.focus()) : window.open(encodeURI(d), "_blank");
|
|
144
144
|
}
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
@@ -4,31 +4,31 @@ import { css as f, html as d, svg as y } from "lit";
|
|
|
4
4
|
import { u as C } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as S, createEvent as c } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as v } from "@arcgis/lumina/context";
|
|
7
|
-
import { a as u, T as
|
|
8
|
-
import { C as
|
|
9
|
-
import { b as
|
|
10
|
-
import { c as
|
|
11
|
-
const
|
|
12
|
-
class
|
|
7
|
+
import { a as u, T as _, K as w, B as x, d as T, e as b } from "../../chunks/interfaces.js";
|
|
8
|
+
import { C as g, g as E } from "../../chunks/cardFetchingUtils.js";
|
|
9
|
+
import { b as D } from "../../chunks/cardsHelpers.js";
|
|
10
|
+
import { c as A } from "../../chunks/deployAppContexts.js";
|
|
11
|
+
const I = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@media(max-width:1234px){solution-details-card{width:calc(33.333% - .6rem)}}@media(max-width:1010px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:800px){solution-details-card{width:calc(33.33% - .6rem)}}@media(max-width:680px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`, m = 5;
|
|
12
|
+
class L extends S {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(), this.sortType = "relevance", this._cards = [], this._isLoading = !0, this._modifiedCheckTry = 0, this._translations = C({ name: "solutions-all-panel", blocking: !0 }), this._agoTerms = `${u}`, this._allCards = [], this._baseAgoTerms = u, this._categories = [], this._configContextConsumer = v({
|
|
15
|
-
context:
|
|
15
|
+
context: A,
|
|
16
16
|
subscribe: !0,
|
|
17
17
|
callback: async (e) => {
|
|
18
18
|
e && (this._isDisconnectedEnvironment ? this._isLoading = !1 : await this._loadUpdateProcedures());
|
|
19
19
|
}
|
|
20
20
|
}), this._delay = !1, this._getSuggested = !1, this._relatedSolutions = /* @__PURE__ */ new Set(), this._sortField = "relevance", this._sortOrder = "desc", this.cardsFetched = c(), this.allCardsFetched = c(), this.searchTermSet = c(), this.sortTypeSet = c(), this.detailsCardSelected = c(), this._handleOpenAssistant = () => {
|
|
21
21
|
this._telemetry?.logEvent({
|
|
22
|
-
category:
|
|
22
|
+
category: _.ASSISTANT,
|
|
23
23
|
action: "Open"
|
|
24
24
|
}), window.dispatchEvent(new CustomEvent("openAssistant"));
|
|
25
25
|
}, this.listenOn(window, "deployProgressEnd", () => {
|
|
26
|
-
this._modifiedCheckTry =
|
|
26
|
+
this._modifiedCheckTry = m, this._loadUpdateProcedures();
|
|
27
27
|
}), this.listenOn(window, "solutionDeleted", () => {
|
|
28
|
-
this._modifiedCheckTry =
|
|
28
|
+
this._modifiedCheckTry = m, this._loadUpdateProcedures();
|
|
29
29
|
}), this.listenOn(window, "sortTypeChanged", (e) => {
|
|
30
30
|
e.detail && e.detail.scope === "all-solutions" && (this.sortType = e.detail.sortType, this._telemetry?.logEvent({
|
|
31
|
-
category:
|
|
31
|
+
category: _.ALL_SOLUTIONS,
|
|
32
32
|
action: "Sort",
|
|
33
33
|
dimensions: [w(e.detail.sortType)]
|
|
34
34
|
}), this.sortType === "suggested" && this._deployedSolutions?.cards.length === 0 ? this._getDeployedSolutions().then(() => {
|
|
@@ -42,7 +42,7 @@ class b extends S {
|
|
|
42
42
|
this.properties = { sortType: 1, _cards: 16, _isLoading: 16, _modifiedCheckTry: 16, _translations: 16 };
|
|
43
43
|
}
|
|
44
44
|
static {
|
|
45
|
-
this.styles =
|
|
45
|
+
this.styles = I;
|
|
46
46
|
}
|
|
47
47
|
get _telemetry() {
|
|
48
48
|
return this._configContextConsumer.value?.telemetrySession;
|
|
@@ -73,7 +73,7 @@ class b extends S {
|
|
|
73
73
|
if (this._isDisconnectedEnvironment)
|
|
74
74
|
return this._isLoading = !1, [];
|
|
75
75
|
if (this._configContextConsumer.value) {
|
|
76
|
-
this._isLoading = !0, this._abortController ? this._abortController.abort() : this._abortController = new AbortController();
|
|
76
|
+
this._isLoading = !0, this._abortController ? (this._abortController.abort(), this._abortController = new AbortController()) : this._abortController = new AbortController();
|
|
77
77
|
const e = await this._cardsFetcher?.requestAvailableSolutionCards({
|
|
78
78
|
q: this._agoTerms,
|
|
79
79
|
filter: "type:Solution",
|
|
@@ -115,7 +115,7 @@ class b extends S {
|
|
|
115
115
|
const n = [];
|
|
116
116
|
return a ? n.push("new") : l && n.push("updated"), o && r && n.push("deployed"), s.chips = n.length > 0 ? n : void 0, s.supportReuse = o ? !!(o && !r) : !0, s;
|
|
117
117
|
});
|
|
118
|
-
return this._allCards.length === 0 && e?.cards && (this._allCards = e?.cards, this._deployedSolutions && (this._relatedSolutions =
|
|
118
|
+
return this._allCards.length === 0 && e?.cards && (this._allCards = e?.cards, this._deployedSolutions && (this._relatedSolutions = D(this._deployedSolutions.cards, this._allCards))), this.cardsFetched.emit(i.length), this._isLoading = !1, i;
|
|
119
119
|
} else
|
|
120
120
|
return this._isLoading = !1, [];
|
|
121
121
|
}
|
|
@@ -126,13 +126,14 @@ class b extends S {
|
|
|
126
126
|
}
|
|
127
127
|
this._isLoading = !0;
|
|
128
128
|
const e = this._configContextConsumer.value;
|
|
129
|
-
this._cardsFetcher = new
|
|
129
|
+
this._cardsFetcher = new g(e.locale, e.orgUrl, e.portalURL), this._cardsFetcherDeployed = new g(e.locale, e.orgUrl, e.portalURL), await this._getDeployedSolutions(), this._cards = await this._getSolutions(), this.allCardsFetched.emit(this._cards), this._isLoading = !1;
|
|
130
130
|
}
|
|
131
131
|
async _getDeployedSolutions() {
|
|
132
132
|
const e = this._configContextConsumer.value.authentication, t = this._configContextConsumer.value.userSession;
|
|
133
133
|
if (e && t && e.IsSignedIn) {
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
this._abortControllerDeployed ? (this._abortControllerDeployed.abort(), this._abortControllerDeployed = new AbortController()) : this._abortControllerDeployed = new AbortController();
|
|
135
|
+
const i = await E(e, t, this._cardsFetcher, this._cardsFetcherDeployed, x, "created", this._sortOrder, void 0, this._categories, void 0, this._abortControllerDeployed.signal);
|
|
136
|
+
if (this._abortControllerDeployed = void 0, i) {
|
|
136
137
|
if (this._modifiedCheckTry > 0) {
|
|
137
138
|
if (this._deployedSolutions?.cards.length === i?.cards.length)
|
|
138
139
|
return this._modifiedCheckTry--, await this._getDeployedSolutions();
|
|
@@ -165,10 +166,10 @@ class b extends S {
|
|
|
165
166
|
});
|
|
166
167
|
}
|
|
167
168
|
_getDomainValue(e) {
|
|
168
|
-
return
|
|
169
|
+
return T[e];
|
|
169
170
|
}
|
|
170
171
|
_getIndustryValue(e) {
|
|
171
|
-
return e === "AEC" ? "AEC" :
|
|
172
|
+
return e === "AEC" ? "AEC" : b[e];
|
|
172
173
|
}
|
|
173
174
|
_clearFilterCategories() {
|
|
174
175
|
this._categories = [];
|
|
@@ -185,7 +186,7 @@ class b extends S {
|
|
|
185
186
|
t.length > 0 && this.detailsCardSelected.emit(t[0]);
|
|
186
187
|
}
|
|
187
188
|
}
|
|
188
|
-
p("solutions-all-panel",
|
|
189
|
+
p("solutions-all-panel", L);
|
|
189
190
|
export {
|
|
190
|
-
|
|
191
|
+
L as SolutionsAllPanel
|
|
191
192
|
};
|