@esri/solutions-components 1.2.0-next.194 → 1.2.0-next.196
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/{AZNV26DL.js → 4OYK7LQI.js} +1 -1
- package/dist/cdn/{5WTBNQ5N.js → 5N36Y4KQ.js} +1 -1
- package/dist/cdn/6SQBHRNL.js +2 -0
- package/dist/cdn/{Z2ZGY3E3.js → 7KGICWE5.js} +1 -1
- package/dist/cdn/{5WC5OSXJ.js → BXWJRGO4.js} +1 -1
- package/dist/cdn/DOBY5ML6.js +2 -0
- package/dist/cdn/{MVD6APBB.js → DWERPOBG.js} +1 -1
- package/dist/cdn/{EZMUUBST.js → HNIKG65G.js} +1 -1
- package/dist/cdn/IEFFRDCD.js +2 -0
- package/dist/cdn/{4VPYQV6U.js → IEUH7LNY.js} +1 -1
- package/dist/cdn/MACEBU5L.js +2 -0
- package/dist/cdn/QTJVVDLF.js +2 -0
- package/dist/cdn/{NFQ6NA4T.js → U4B663P4.js} +1 -1
- package/dist/cdn/UIGEOGE2.js +2 -0
- package/dist/cdn/{YMKLF4L5.js → UMNMUV3Z.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +10 -10
- package/dist/components/map-draw-tools/customElement.js +13 -12
- package/dist/components/public-notification/customElement.js +7 -5
- package/dist/components/solution-deploying-dialog/customElement.js +15 -15
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-resource-card/customElement.d.ts +4 -6
- package/dist/components/solution-resource-card/customElement.js +19 -18
- package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
- package/dist/components/solutions-resources-section/customElement.js +4 -4
- package/dist/components/solutions-resources-shell/customElement.js +54 -26
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/interfaces.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cdn/6OWU7VAP.js +0 -2
- package/dist/cdn/FMCJ3OZC.js +0 -2
- package/dist/cdn/GIBGZ6ET.js +0 -2
- package/dist/cdn/JKUFLPMD.js +0 -2
- package/dist/cdn/KSPUCMA2.js +0 -2
- package/dist/cdn/KSZHONBS.js +0 -2
|
@@ -10,7 +10,7 @@ import "@arcgis/core/identity/IdentityManager.js";
|
|
|
10
10
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
11
11
|
import "@arcgis/core/portal/Portal.js";
|
|
12
12
|
import { createRef as m, ref as u } from "lit-html/directives/ref.js";
|
|
13
|
-
const f = g
|
|
13
|
+
const f = g`*[tabindex]:focus-visible{outline:solid 2px var(--calcite-color-brand);outline-offset:2px}.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}`;
|
|
14
14
|
class b extends l {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this.open = !1, this._screenshots = [], this._translations = c({ name: "solution-snapshot-gallery", blocking: !0 }), this._configContextConsumer = d({
|
|
@@ -35,7 +35,7 @@ class b extends l {
|
|
|
35
35
|
}
|
|
36
36
|
_getFooter() {
|
|
37
37
|
const t = this._screenshotNames.indexOf(this.screenshot?.name || ""), s = document.body.classList.contains("calcite-mode-dark") ? "calcite-mode-dark" : "";
|
|
38
|
-
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 ?? a} ${u(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`;
|
|
38
|
+
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 ?? a} ${u(this._paginationControl)}></calcite-pagination><span tabindex=0>${this._displayText}</span></calcite-label></div>${this._getCards()}</div>`;
|
|
39
39
|
}
|
|
40
40
|
_changeScreenshot() {
|
|
41
41
|
this.screenshot = this._screenshots[this._paginationControl.value.startItem - 1];
|
|
@@ -4,7 +4,7 @@ import { css as s, html as e } from "lit";
|
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
5
|
import "../solution-resource-card/customElement.js";
|
|
6
6
|
const o = s`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.resources-section{padding:3rem var(--calcite-spacing-md);max-width:1440px;margin:0 auto;box-sizing:border-box}.section-header{margin-bottom:3rem;text-align:center}.section-heading{font-size:var(--calcite-font-size-3);font-weight:var(--calcite-font-weight-small);margin:0 0 var(--calcite-spacing-lg) 0;color:var(--calcite-color-text-1)}.section-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);margin:0}.cards-container{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap}.cards-container solution-resource-card{flex:1 1 200px}`;
|
|
7
|
-
class
|
|
7
|
+
class a extends n {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.heading = "", this.subheading = "", this.cards = [];
|
|
10
10
|
}
|
|
@@ -15,10 +15,10 @@ class r extends n {
|
|
|
15
15
|
this.styles = o;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return e`<div class="resources-section"><div class="section-header"><h2 class="section-heading" tabindex=0>${this.heading}</h2><p class="section-subheading" tabindex=0>${this.subheading}</p></div><div class="cards-container">${this.cards.map((i) => e`<solution-resource-card .icon=${i.icon} .meridianIcon=${i.meridianIcon} .heading=${i.heading} .description=${i.description} .url=${i.url} .
|
|
18
|
+
return e`<div class="resources-section"><div class="section-header"><h2 class="section-heading" tabindex=0>${this.heading}</h2><p class="section-subheading" tabindex=0>${this.subheading}</p></div><div class="cards-container">${this.cards.map((i) => e`<solution-resource-card .icon=${i.icon} .meridianIcon=${i.meridianIcon} .heading=${i.heading} .description=${i.description} .url=${i.url} .headingEn=${i.headingEn} .sectionHeadingEn=${i.sectionHeadingEn}></solution-resource-card>`)}</div></div>`;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
t("solutions-resources-section",
|
|
21
|
+
t("solutions-resources-section", a);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
a as SolutionsResourcesSection
|
|
24
24
|
};
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { u as
|
|
5
|
-
import { LitElement as c, createEvent as
|
|
6
|
-
import { createRef as
|
|
2
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as r, html as s } from "lit";
|
|
4
|
+
import { u as d } from "../../chunks/useT9n.js";
|
|
5
|
+
import { LitElement as c, createEvent as l } from "@arcgis/lumina";
|
|
6
|
+
import { createRef as h, ref as g } from "lit/directives/ref.js";
|
|
7
7
|
import "../solutions-resources-section/customElement.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
8
|
+
const p = { heading: "Get Started", card1: { heading: "What's new in the app" }, card2: { heading: "Deploy a solution" }, card3: { heading: "Manage a deployment" }, card4: { heading: "AI Assistant" } }, u = { heading: "Documentation", card1: { heading: "Help" }, card2: { heading: "What's new" }, card3: { heading: "FAQ" }, card4: { heading: "ArcGIS Blog" } }, m = { heading: "Support", card1: { heading: "Esri Community" }, card2: { heading: "ArcGIS Ideas" }, card3: { heading: "Esri Video" }, card4: { heading: "Technical support" } }, n = {
|
|
9
|
+
getStarted: p,
|
|
10
|
+
documentation: u,
|
|
11
|
+
support: m
|
|
12
|
+
}, b = r`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.position-relative{position:relative}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-background-color: var(--calcite-color-foreground-2)}.width-350{--calcite-shell-panel-width: 350px}.height-full{height:100%}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-shell{background-color:unset}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-end-md{margin-inline-end:var(--calcite-spacing-md)}.resources-container{width:100%;box-sizing:border-box}.hero-banner{background-color:var(--calcite-color-foreground-2);padding:4.25rem var(--calcite-spacing-md);text-align:center;width:100%;box-sizing:border-box;margin-bottom:3rem}.hero-heading{font-size:var(--calcite-font-size-5);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-xxl) 0;color:var(--calcite-color-text-1)}.hero-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);max-width:600px;margin:0 auto}`;
|
|
13
|
+
class f extends c {
|
|
10
14
|
constructor() {
|
|
11
|
-
super(), this._translations =
|
|
15
|
+
super(), this._translations = d({ name: "solutions-resources-shell", blocking: !0 }), this._mainPanelRef = h(), this._panelFixed = !1, this.sortTypeChanged = l(), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected);
|
|
12
16
|
}
|
|
13
17
|
static {
|
|
14
18
|
this.properties = { _translations: 16 };
|
|
15
19
|
}
|
|
16
20
|
static {
|
|
17
|
-
this.styles =
|
|
21
|
+
this.styles = b;
|
|
18
22
|
}
|
|
19
23
|
updated() {
|
|
20
24
|
this._fixPanelContentWrapperFocus();
|
|
@@ -38,8 +42,8 @@ class u extends c {
|
|
|
38
42
|
this._panelObserver = new MutationObserver((i) => {
|
|
39
43
|
i.forEach((t) => {
|
|
40
44
|
if (t.type === "attributes" && t.attributeName === "tabindex") {
|
|
41
|
-
const
|
|
42
|
-
|
|
45
|
+
const a = t.target;
|
|
46
|
+
a.classList.contains("content-wrapper") && a.tabIndex === 0 && (a.tabIndex = -1);
|
|
43
47
|
}
|
|
44
48
|
});
|
|
45
49
|
});
|
|
@@ -54,80 +58,104 @@ class u extends c {
|
|
|
54
58
|
}
|
|
55
59
|
render() {
|
|
56
60
|
const e = this._translations;
|
|
57
|
-
return
|
|
61
|
+
return s`<calcite-shell><calcite-panel ${g(this._mainPanelRef)}><div class="resources-container"><div class="hero-banner"><h1 class="hero-heading" tabindex=0>${e.hero.heading}</h1><p class="hero-subheading" tabindex=0>${e.hero.subheading}</p></div><solutions-resources-section .heading=${e.getStarted.heading} .subheading=${e.getStarted.subheading} .cards=${[
|
|
58
62
|
{
|
|
59
63
|
meridianIcon: "value",
|
|
60
64
|
heading: e.getStarted.card1.heading,
|
|
61
65
|
description: e.getStarted.card1.description,
|
|
62
|
-
url: "https://links.esri.com/solutions/whats-new-in-the-app"
|
|
66
|
+
url: "https://links.esri.com/solutions/whats-new-in-the-app",
|
|
67
|
+
headingEn: n.getStarted.card1.heading,
|
|
68
|
+
sectionHeadingEn: n.getStarted.heading
|
|
63
69
|
},
|
|
64
70
|
{
|
|
65
71
|
meridianIcon: "install",
|
|
66
72
|
heading: e.getStarted.card2.heading,
|
|
67
73
|
description: e.getStarted.card2.description,
|
|
68
|
-
url: "https://links.esri.com/solutions/deploy-a-solution"
|
|
74
|
+
url: "https://links.esri.com/solutions/deploy-a-solution",
|
|
75
|
+
headingEn: n.getStarted.card2.heading,
|
|
76
|
+
sectionHeadingEn: n.getStarted.heading
|
|
69
77
|
},
|
|
70
78
|
{
|
|
71
79
|
meridianIcon: "keys",
|
|
72
80
|
heading: e.getStarted.card3.heading,
|
|
73
81
|
description: e.getStarted.card3.description,
|
|
74
|
-
url: "https://links.esri.com/solutions/manage-a-deployment"
|
|
82
|
+
url: "https://links.esri.com/solutions/manage-a-deployment",
|
|
83
|
+
headingEn: n.getStarted.card3.heading,
|
|
84
|
+
sectionHeadingEn: n.getStarted.heading
|
|
75
85
|
},
|
|
76
86
|
{
|
|
77
87
|
meridianIcon: "speech-bubbles",
|
|
78
88
|
heading: e.getStarted.card4.heading,
|
|
79
89
|
description: e.getStarted.card4.description,
|
|
80
|
-
url: "https://links.esri.com/solutions/ai-assistant"
|
|
90
|
+
url: "https://links.esri.com/solutions/ai-assistant",
|
|
91
|
+
headingEn: n.getStarted.card4.heading,
|
|
92
|
+
sectionHeadingEn: n.getStarted.heading
|
|
81
93
|
}
|
|
82
94
|
]}></solutions-resources-section><solutions-resources-section .heading=${e.documentation.heading} .subheading=${e.documentation.subheading} .cards=${[
|
|
83
95
|
{
|
|
84
96
|
meridianIcon: "search-files",
|
|
85
97
|
heading: e.documentation.card1.heading,
|
|
86
98
|
description: e.documentation.card1.description,
|
|
87
|
-
url: "https://links.esri.com/solutions/help"
|
|
99
|
+
url: "https://links.esri.com/solutions/help",
|
|
100
|
+
headingEn: n.documentation.card1.heading,
|
|
101
|
+
sectionHeadingEn: n.documentation.heading
|
|
88
102
|
},
|
|
89
103
|
{
|
|
90
104
|
meridianIcon: "value",
|
|
91
105
|
heading: e.documentation.card2.heading,
|
|
92
106
|
description: e.documentation.card2.description,
|
|
93
|
-
url: "https://links.esri.com/solutions/whats-new"
|
|
107
|
+
url: "https://links.esri.com/solutions/whats-new",
|
|
108
|
+
headingEn: n.documentation.card2.heading,
|
|
109
|
+
sectionHeadingEn: n.documentation.heading
|
|
94
110
|
},
|
|
95
111
|
{
|
|
96
112
|
meridianIcon: "faq",
|
|
97
113
|
heading: e.documentation.card3.heading,
|
|
98
114
|
description: e.documentation.card3.description,
|
|
99
|
-
url: "https://links.esri.com/solutions/faq"
|
|
115
|
+
url: "https://links.esri.com/solutions/faq",
|
|
116
|
+
headingEn: n.documentation.card3.heading,
|
|
117
|
+
sectionHeadingEn: n.documentation.heading
|
|
100
118
|
},
|
|
101
119
|
{
|
|
102
120
|
meridianIcon: "arcmap-blog",
|
|
103
121
|
heading: e.documentation.card4.heading,
|
|
104
122
|
description: e.documentation.card4.description,
|
|
105
|
-
url: "https://links.esri.com/solutions/arcgis-blogs"
|
|
123
|
+
url: "https://links.esri.com/solutions/arcgis-blogs",
|
|
124
|
+
headingEn: n.documentation.card4.heading,
|
|
125
|
+
sectionHeadingEn: n.documentation.heading
|
|
106
126
|
}
|
|
107
127
|
]}></solutions-resources-section><solutions-resources-section .heading=${e.support.heading} .subheading=${e.support.subheading} .cards=${[
|
|
108
128
|
{
|
|
109
129
|
meridianIcon: "esri-community",
|
|
110
130
|
heading: e.support.card1.heading,
|
|
111
131
|
description: e.support.card1.description,
|
|
112
|
-
url: "https://links.esri.com/solutions/esri-community"
|
|
132
|
+
url: "https://links.esri.com/solutions/esri-community",
|
|
133
|
+
headingEn: n.support.card1.heading,
|
|
134
|
+
sectionHeadingEn: n.support.heading
|
|
113
135
|
},
|
|
114
136
|
{
|
|
115
137
|
meridianIcon: "idea",
|
|
116
138
|
heading: e.support.card2.heading,
|
|
117
139
|
description: e.support.card2.description,
|
|
118
|
-
url: "https://links.esri.com/solutions/arcgis-ideas"
|
|
140
|
+
url: "https://links.esri.com/solutions/arcgis-ideas",
|
|
141
|
+
headingEn: n.support.card2.heading,
|
|
142
|
+
sectionHeadingEn: n.support.heading
|
|
119
143
|
},
|
|
120
144
|
{
|
|
121
145
|
meridianIcon: "video",
|
|
122
146
|
heading: e.support.card3.heading,
|
|
123
147
|
description: e.support.card3.description,
|
|
124
|
-
url: "https://links.esri.com/solutions/esri-video"
|
|
148
|
+
url: "https://links.esri.com/solutions/esri-video",
|
|
149
|
+
headingEn: n.support.card3.heading,
|
|
150
|
+
sectionHeadingEn: n.support.heading
|
|
125
151
|
},
|
|
126
152
|
{
|
|
127
153
|
meridianIcon: "support",
|
|
128
154
|
heading: e.support.card4.heading,
|
|
129
155
|
description: e.support.card4.description,
|
|
130
|
-
url: "https://links.esri.com/solutions/technical-support"
|
|
156
|
+
url: "https://links.esri.com/solutions/technical-support",
|
|
157
|
+
headingEn: n.support.card4.heading,
|
|
158
|
+
sectionHeadingEn: n.support.heading
|
|
131
159
|
}
|
|
132
160
|
]}></solutions-resources-section></div></calcite-panel></calcite-shell>`;
|
|
133
161
|
}
|
|
@@ -135,7 +163,7 @@ class u extends c {
|
|
|
135
163
|
e.detail === "resources" && this.sortTypeChanged.emit("");
|
|
136
164
|
}
|
|
137
165
|
}
|
|
138
|
-
|
|
166
|
+
o("solutions-resources-shell", f);
|
|
139
167
|
export {
|
|
140
|
-
|
|
168
|
+
f as SolutionsResourcesShell
|
|
141
169
|
};
|