@esri/solutions-components 1.2.0-next.183 → 1.2.0-next.185
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/{CWXECEWK.js → 2GS6BQB3.js} +1 -1
- package/dist/cdn/{UCUN6MQX.js → 2NKBQR2S.js} +1 -1
- package/dist/cdn/{A4ABVAGK.js → 5BVRREHL.js} +2 -2
- package/dist/cdn/5X4M5KVC.js +2 -0
- package/dist/cdn/6ANZSQIC.js +161 -0
- package/dist/cdn/{7CMFEMV5.js → EMDXYQD2.js} +1 -1
- package/dist/cdn/EMU7RU4E.js +2 -0
- package/dist/cdn/{AUZITS7B.js → H2FDKJHX.js} +1 -1
- package/dist/cdn/{36VCTUT7.js → HQIGBD6B.js} +1 -1
- package/dist/cdn/HUJXES5O.js +2 -0
- package/dist/cdn/{RYSMGC7G.js → HZZDUGC7.js} +2 -2
- package/dist/cdn/IKG4EH3F.js +71 -0
- package/dist/cdn/{PUULR4GF.js → IWXIVFNT.js} +2 -2
- package/dist/cdn/{TPUPFMVO.js → IXOQGQ3G.js} +2 -2
- package/dist/cdn/J6ELCUNM.js +508 -0
- package/dist/cdn/JOILOP5T.js +107 -0
- package/dist/cdn/{S6OVOZ5S.js → JUM3OJQD.js} +2 -2
- package/dist/cdn/K7RXCITJ.js +42 -0
- package/dist/cdn/ME46DTCW.js +107 -0
- package/dist/cdn/{Z7GVQOFC.js → NRO2HV5R.js} +2 -2
- package/dist/cdn/O7F5EUMA.js +188 -0
- package/dist/cdn/OBTBMVJY.js +136 -0
- package/dist/cdn/{C7UDORSN.js → OXZUPDUR.js} +1 -1
- package/dist/cdn/P5LFHCSW.js +43 -0
- package/dist/cdn/{HZ35KRFT.js → PMKGWCXK.js} +2 -2
- package/dist/cdn/{Y5KP4RVL.js → Q7I73NYQ.js} +2 -2
- package/dist/cdn/{FEILAE45.js → QYRLQLM5.js} +3 -3
- package/dist/cdn/U7ECRTWC.js +310 -0
- package/dist/cdn/{E3RDQBWZ.js → UMA3V2BH.js} +1 -1
- package/dist/cdn/V6OI2YYO.js +84 -0
- package/dist/cdn/{ZELDJPGW.js → V7WLDWD6.js} +1 -1
- package/dist/cdn/VYH3PV4R.js +2 -0
- package/dist/cdn/{ARZ7BSMD.js → W6JGGPX7.js} +1 -1
- package/dist/cdn/{3MWL4VKU.js → XQAYHHCB.js} +2 -2
- package/dist/cdn/YIYEKZTS.js +2 -0
- package/dist/cdn/YOC7BCPQ.js +2 -0
- package/dist/cdn/{XPPWSXNO.js → YWHFGZYE.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -2
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/interfaces.js +270 -11
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +19 -10
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -2
- package/dist/components/layer-table/customElement.js +1 -2
- package/dist/components/map-card/customElement.js +1 -2
- package/dist/components/solution-configure-titles/customElement.js +1 -2
- package/dist/components/solution-delete-dialog/customElement.js +1 -2
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +2 -2
- package/dist/components/solution-deployed-card-panel/customElement.js +25 -6
- package/dist/components/solution-details-card/customElement.js +2 -2
- package/dist/components/solution-details-panel/customElement.js +2 -4
- package/dist/components/solution-resource-card/customElement.js +2 -2
- package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
- package/dist/components/solution-social-share/customElement.js +2 -3
- package/dist/components/solution-user-avatar/customElement.js +11 -2
- package/dist/components/solutions-all-panel/customElement.js +1 -7
- package/dist/components/solutions-all-shell/customElement.js +0 -2
- package/dist/components/solutions-deploy-app/customElement.d.ts +2 -0
- package/dist/components/solutions-deploy-app/customElement.js +5 -9
- package/dist/components/solutions-deployed-panel/customElement.js +1 -3
- package/dist/components/solutions-filter-panel/customElement.js +17 -5
- package/dist/components/solutions-searchsort-toolbar/customElement.js +23 -12
- 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/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/package.json +1 -1
- package/dist/cdn/24LLKGOA.js +0 -2
- package/dist/cdn/6KIWQISA.js +0 -107
- package/dist/cdn/AWWVDYW7.js +0 -508
- package/dist/cdn/BGI5LCTI.js +0 -310
- package/dist/cdn/CXO6ITPS.js +0 -107
- package/dist/cdn/HC7Y7YXB.js +0 -42
- package/dist/cdn/HQTCXWS5.js +0 -2
- package/dist/cdn/I4EKAQNZ.js +0 -2
- package/dist/cdn/IDGWY7NE.js +0 -84
- package/dist/cdn/JGULYSPT.js +0 -2
- package/dist/cdn/LHMG5K7R.js +0 -161
- package/dist/cdn/N3P7ULE5.js +0 -2
- package/dist/cdn/O4MVHJET.js +0 -2
- package/dist/cdn/PHAIB63K.js +0 -136
- package/dist/cdn/QFO7CLLL.js +0 -188
- package/dist/cdn/RFTLE3FH.js +0 -2
- package/dist/cdn/WO24XOJC.js +0 -2
- package/dist/cdn/YL5D7Y2I.js +0 -71
- package/dist/cdn/ZIINWCFY.js +0 -43
- package/dist/chunks/common.js +0 -22
- package/dist/chunks/helpers.js +0 -225
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
|
|
2
|
+
import c from"./W6JGGPX7.js";import b from"./O7F5EUMA.js";import{a as D,b as R}from"./W4YXXJAS.js";import{b as w}from"./77CU4WA2.js";import{Cb as U,Db as N,K as f,M as I,N as P,c as A,q as _,sa as O}from"./T4PIUXJ7.js";import{a as E}from"./6S75SIVV.js";import{k as T}from"./3GWWHA4S.js";import{b as L}from"./ABSRNM72.js";import{F as d,G as h,H as C,J as m,K as M,L as y,h as k,i as a,r as v}from"./5CQPQ7AE.js";export default $arcgis.t(([{D:p,E:x,I:g,a:H,p:F,q:b,r:V,t:B,v:z,w:Y,x:S},{a:G}])=>{var K=k`/** @license
|
|
3
|
+
* Copyright 2025 Esri
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
.display-flex {
|
|
19
|
+
display: flex;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.flex-direction-row {
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-direction-column {
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-1 {
|
|
31
|
+
flex: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cursor-default {
|
|
35
|
+
cursor: default;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
solution-details-card[id*="you-may-also-like"] {
|
|
39
|
+
width: 240px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.border-bottom {
|
|
43
|
+
border-bottom-color: var(--calcite-color-border-1);
|
|
44
|
+
border-bottom-width: var(--calcite-spacing-px);
|
|
45
|
+
border-bottom-style: solid;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
ul {
|
|
49
|
+
list-style-type: disc;
|
|
50
|
+
margin-block-start: var(--calcite-spacing-none);
|
|
51
|
+
margin-block-end: var(--calcite-spacing-none);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
ul ul {
|
|
55
|
+
list-style-type: circle;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
li {
|
|
59
|
+
margin: var(--calcite-spacing-sm) var(--calcite-spacing-none);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
calcite-label {
|
|
63
|
+
--calcite-label-margin-bottom: var(--calcite-spacing-none);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.padding-1 {
|
|
67
|
+
padding: var(--calcite-spacing-lg);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.padding-1-5 {
|
|
71
|
+
padding: var(--calcite-spacing-xl);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.padding-2px {
|
|
75
|
+
padding: var(--calcite-spacing-base);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.padding-bottom-xxl {
|
|
79
|
+
padding-bottom: var(--calcite-spacing-xxl);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.padding-bottom-1 {
|
|
83
|
+
padding-bottom: var(--calcite-spacing-lg);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.padding-bottom-sm {
|
|
87
|
+
padding-bottom: var(--calcite-spacing-sm);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.padding-top-md {
|
|
91
|
+
padding-top: var(--calcite-spacing-md);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.padding-top-sm {
|
|
95
|
+
padding-top: var(--calcite-spacing-sm);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.padding-top-xs {
|
|
99
|
+
padding-top: 0.25rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.padding-bottom-1-5 {
|
|
103
|
+
padding-bottom: var(--calcite-spacing-xxl);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.padding-top-1 {
|
|
107
|
+
padding-top: var(--calcite-spacing-lg);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.padding-top-1-5 {
|
|
111
|
+
padding-top: var(--calcite-spacing-xxl);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.padding-top-1-2 {
|
|
115
|
+
padding-top: var(--calcite-spacing-sm);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.padding-end-1 {
|
|
119
|
+
padding-inline-end: var(--calcite-spacing-lg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.padding-end-1-75 {
|
|
123
|
+
padding-inline-end: 1.75rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.padding-end-2 {
|
|
127
|
+
padding-inline-end: var(--calcite-spacing-xxxl);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.padding-start-1 {
|
|
131
|
+
padding-inline-start: var(--calcite-spacing-lg);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.margin-bottom-1 {
|
|
135
|
+
margin-bottom: var(--calcite-spacing-lg);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.margin-bottom-1-5 {
|
|
139
|
+
margin-bottom: var(--calcite-spacing-xxl);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.margin-end-1 {
|
|
143
|
+
margin-inline-end: var(--calcite-spacing-lg);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.margin-top-0 {
|
|
147
|
+
margin-top: var(--calcite-spacing-none);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.margin-top-1 {
|
|
151
|
+
margin-top: var(--calcite-spacing-lg);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.margin-top-875 {
|
|
155
|
+
margin-top: 0.875rem;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.margin-top-1-5 {
|
|
159
|
+
margin-top: var(--calcite-spacing-xxl);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.margin-sides-0-5 {
|
|
163
|
+
margin-left: var(--calcite-spacing-sm);
|
|
164
|
+
margin-right: var(--calcite-spacing-sm);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.margin-sides-1 {
|
|
168
|
+
margin-left: var(--calcite-spacing-lg);
|
|
169
|
+
margin-right: var(--calcite-spacing-lg);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.margin-block-start-end-0 {
|
|
173
|
+
margin-block-start: var(--calcite-spacing-none);
|
|
174
|
+
margin-block-end: var(--calcite-spacing-none);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.align-self-center {
|
|
178
|
+
align-self: center;
|
|
179
|
+
padding: 5px;
|
|
180
|
+
--calcite-fab-shadow: #FFFFFF00;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.align-items-center {
|
|
184
|
+
align-items: center;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.align-items-baseline {
|
|
188
|
+
align-items: baseline;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.button-width {
|
|
192
|
+
width: 260px;
|
|
193
|
+
flex-grow: 0;
|
|
194
|
+
flex-shrink: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@media (max-width: 1280px) {
|
|
198
|
+
.button-width {
|
|
199
|
+
width: auto;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.image-width {
|
|
204
|
+
width: 300px;
|
|
205
|
+
flex-grow: 0;
|
|
206
|
+
flex-shrink: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (max-width: 1280px) {
|
|
210
|
+
.image-width {
|
|
211
|
+
flex-grow: 0;
|
|
212
|
+
flex-shrink: 1;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.width-full {
|
|
217
|
+
width: 100%;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@media (max-width: 768px) {
|
|
221
|
+
.width-full {
|
|
222
|
+
flex-direction: column;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.width-full>.display-flex {
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.image-width {
|
|
230
|
+
width: 100%;
|
|
231
|
+
padding-inline-end: 0;
|
|
232
|
+
margin-bottom: var(--calcite-spacing-lg);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.button-width {
|
|
236
|
+
width: 100%;
|
|
237
|
+
margin-top: var(--calcite-spacing-lg);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.card-group {
|
|
242
|
+
overflow: hidden;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
#screenshots-subsection calcite-card {
|
|
246
|
+
width: calc(33.333% - .5rem);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
calcite-card {
|
|
250
|
+
width: 450px;
|
|
251
|
+
--calcite-card-border-color: transparent;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@media (max-width: 1496px) {
|
|
255
|
+
calcite-card {
|
|
256
|
+
width: calc(100% / 3 - .5rem);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
#screenshots-subsection calcite-card {
|
|
260
|
+
width: calc(33.333% - .5rem);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@media (max-width: 1100px) {
|
|
265
|
+
calcite-card {
|
|
266
|
+
width: calc(100% / 2 - .5rem);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
#screenshots-subsection calcite-card {
|
|
270
|
+
width: calc(50% - .5rem);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@media (max-width: 550px) {
|
|
275
|
+
calcite-card {
|
|
276
|
+
width: 100%;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
#screenshots-subsection calcite-card {
|
|
280
|
+
width: 100%;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* This is tied to a supporting prop _screenshotsBaseHeight */
|
|
285
|
+
.max-height-300 {
|
|
286
|
+
max-height: 300px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.display-none {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.cursor-pointer {
|
|
294
|
+
cursor: pointer;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
calcite-card:hover img {
|
|
298
|
+
-webkit-filter: brightness(30%);
|
|
299
|
+
filter: brightness(30%);
|
|
300
|
+
-webkit-transition: all .1s ease;
|
|
301
|
+
-moz-transition: all .1s ease;
|
|
302
|
+
-o-transition: all .1s ease;
|
|
303
|
+
-ms-transition: all .1s ease;
|
|
304
|
+
transition: all .1s ease;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
calcite-card:hover .hover-text {
|
|
308
|
+
opacity: 1;
|
|
309
|
+
color: #ffffff;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
calcite-card:hover {
|
|
313
|
+
border: var(--calcite-spacing-base) solid var(--calcite-color-brand);
|
|
314
|
+
box-sizing: border-box;
|
|
315
|
+
cursor: pointer;
|
|
316
|
+
padding: var(--calcite-spacing-base);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
calcite-card {
|
|
320
|
+
border: var(--calcite-spacing-base) solid transparent;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
padding: var(--calcite-spacing-base);
|
|
323
|
+
/* transition: border .1s ease, padding .1s ease; */
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.hover-text {
|
|
327
|
+
transition: .1s ease;
|
|
328
|
+
opacity: 0;
|
|
329
|
+
position: absolute;
|
|
330
|
+
top: 50%;
|
|
331
|
+
left: 50%;
|
|
332
|
+
transform: translate(-50%, -50%);
|
|
333
|
+
-ms-transform: translate(-50%, -50%);
|
|
334
|
+
text-align: center;
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: row;
|
|
337
|
+
align-items: center;
|
|
338
|
+
height: 100%;
|
|
339
|
+
font-size: var(--calcite-spacing-xl);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.card-image-wrap {
|
|
343
|
+
width: 100%;
|
|
344
|
+
position: relative;
|
|
345
|
+
margin-bottom: 0;
|
|
346
|
+
-webkit-box-flex: 0 0 auto;
|
|
347
|
+
-ms-flex: 0 0 auto;
|
|
348
|
+
flex: 0 0 auto;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.card-image {
|
|
352
|
+
width: 100%;
|
|
353
|
+
display: block;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
video,
|
|
357
|
+
img {
|
|
358
|
+
max-width: 100%;
|
|
359
|
+
height: auto;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
img {
|
|
363
|
+
overflow-clip-margin: content-box;
|
|
364
|
+
overflow: clip;
|
|
365
|
+
display: block;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.margin-inline-unset {
|
|
369
|
+
margin-inline: unset;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.collapsible-div {
|
|
373
|
+
overflow: hidden;
|
|
374
|
+
transition: max-height 0.3s ease-in-out;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.collapsible-div.expanded {
|
|
378
|
+
max-height: 100%;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.back-color-override {
|
|
382
|
+
--calcite-panel-background-color: var(--calcite-color-foreground-2);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.back-color-override-1 {
|
|
386
|
+
background-color: var(--calcite-color-foreground-1);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.title-font {
|
|
390
|
+
font-size: 1.8rem;
|
|
391
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
392
|
+
color: var(--calcite-color-text-1);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.heading-font {
|
|
396
|
+
font-size: var(--calcite-font-size-0);
|
|
397
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.line-height-xxl {
|
|
401
|
+
line-height: var(--calcite-spacing-xxl);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.line-height-1 {
|
|
405
|
+
line-height: 1.1;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.font-1 {
|
|
409
|
+
font-size: var(--calcite-spacing-lg);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.font-color-1 {
|
|
413
|
+
color: var(--calcite-color-text-1);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.font-color-2 {
|
|
417
|
+
color: var(--calcite-color-text-2);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
h1 {
|
|
421
|
+
font-weight: unset;
|
|
422
|
+
margin: var(--calcite-spacing-none);
|
|
423
|
+
padding: var(--calcite-spacing-none);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.item-padding {
|
|
427
|
+
--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.accordion-bg {
|
|
431
|
+
--calcite-accordion-background-color: var(--calcite-color-foreground-1);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.table-cell {
|
|
435
|
+
font-size: var(--calcite-spacing-lg);
|
|
436
|
+
color: var(--calcite-color-text-2);
|
|
437
|
+
margin: 0;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.table-cell p {
|
|
441
|
+
margin: 0;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
calcite-table-header {
|
|
445
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
446
|
+
--calcite-internal-table-cell-font-size: var(--calcite-font-size-md);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.position-relative {
|
|
450
|
+
position: relative;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.background-color-2 {
|
|
454
|
+
background-color: var(--calcite-color-foreground-2);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.panel-background-2 {
|
|
458
|
+
--calcite-panel-background-color: var(--calcite-color-foreground-2);
|
|
459
|
+
background-color: var(--calcite-color-foreground-2);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.border-none {
|
|
463
|
+
border: none;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.padding-end-xxl {
|
|
467
|
+
padding-inline-end: var(--calcite-spacing-xxl);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
calcite-shell {
|
|
471
|
+
block-size: unset;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.solution-detail-action {
|
|
475
|
+
--calcite-color-focus: initial;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/* Style for anchor elements that may appear in innerHTML content to emulate calcite-link */
|
|
479
|
+
a {
|
|
480
|
+
color: var(--calcite-link-text-color, var(--calcite-color-text-link));
|
|
481
|
+
cursor: pointer;
|
|
482
|
+
text-decoration: none;
|
|
483
|
+
line-height: inherit;
|
|
484
|
+
background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-color-brand-underline), var(--calcite-color-brand-underline));
|
|
485
|
+
background-position-x: 0%, 100%;
|
|
486
|
+
background-position-y: min(1.5em, 100%);
|
|
487
|
+
background-repeat: no-repeat, no-repeat;
|
|
488
|
+
background-size: 0% 1px, 100% 1px;
|
|
489
|
+
transition-property: background-size, color;
|
|
490
|
+
transition-duration: var(--calcite-animation-timing, 150ms);
|
|
491
|
+
transition-timing-function: ease-in-out;
|
|
492
|
+
outline-color: transparent;
|
|
493
|
+
position: relative;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
a:hover {
|
|
497
|
+
background-size: 100% 1px, 100% 1px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
a:focus {
|
|
501
|
+
outline: 2px solid var(--calcite-color-brand);
|
|
502
|
+
outline-offset: 2px;
|
|
503
|
+
outline-color: var(--calcite-color-brand);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
a:active {
|
|
507
|
+
color: var(--calcite-color-brand-press);
|
|
508
|
+
}`;async function q(n,e,t){let i=t;return n&&(n?.IsEnterprisePortal&&await Q("",e)&&i.push(p.NOTEBOOK),await H(e)?t.push(p.VELOCITY):n?.PortalUserPrivileges&&[x.VELOCITYFEEDS,x.VELOCITYBIGDATA,x.VELOCITYREALTIME].forEach(l=>{let r=t.indexOf(l)||-1;r!==-1&&t.splice(r,1)}),i=i.concat(j(Z(n),ee(n))),i=i.concat(J(n)),i=i.concat(await X(n))),Promise.resolve(i)}function j(n,e){let t=[];return n&&e?t=[p.TRACKINGADMINANDTRACKING,p.TRACKINGADMIN,p.TRACKING]:n&&!e?t=[p.TRACKINGADMIN]:!n&&e&&(t=[p.TRACKING]),t}function J(n){return te(n)?[p.HUBPREMIUM]:[]}async function X(n){let e=await N(n?.RestUserSession);return await U(e,n?.RestUserSession)?[p.WORKFLOW]:[]}async function Q(n,e){let t=n+"/sharing/rest",i={authentication:e,portal:t,params:{f:"json"}};return A(`${t}/portals/self/servers`,i).then(s=>s?.servers?.find(o=>o.serverFunction.indexOf("NotebookServer")>-1),s=>(console.error(s),!1))}function Z(n){let e=n?.PortalUserSubset?.privileges,t=["portal:admin:create","portal:admin:delete","portal:admin:update","portal:admin:reassign"];return e?t.every(i=>e.some(s=>s.startsWith(i))):!1}function ee(n){return n?.PortalSubset?.locationTrackingEnabled||!1}function te(n){return n?.PortalSubset?.hubPremiumEnabled||!1}var $=class extends C{constructor(){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=E({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._configContextConsumer=w({context:R,subscribe:!0}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=d(),this._deployingDialogRef=d(),this._isMobileContextConsumer=w({context:D,subscribe:!0,callback:e=>this.isMobile=e}),this._overviewAccordionItemElement=d(),this._privilegePopoverRef=d(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._releaseNotesAccordionItemElement=d(),this._relatedResourcesAccordionItemElement=d(),this._screenshotsAccordionItemElement=d(),this._screenshotsDialogRef=d(),this._screenshotsElement=d(),this._termsOfUseAccordionItemElement=d(),this._userOptions=[],this._youMayAlsoLikeAccordionItemElement=d(),this._youMayAlsoLikeElement=d(),this._signInParamValue=null,this._deploymentStartTime=null,this._cancellationStartTime=null,this._deployToCancelDuration=0,this.templatesFetched=v(),this.itemPropertiesFetched=v(),this.sortTypeChanged=v(),this.tokenRefreshed=v(),this._handleDeployCancelled=()=>{this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Deploy Dialog Canceled",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]})},this._handleDeploySuccess=()=>{let e=b(this._deploymentStartTime);this._deploymentStartTime=null,this._deployingDialogRef.value&&(this._deployingDialogRef.value.isWaitingForCard=!0),this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Deploy Success",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""],metrics:[e]})},this._handleDeployedCardReady=async e=>{this._closeDialogs(),await new Promise(t=>requestAnimationFrame(()=>requestAnimationFrame(t))),window.dispatchEvent(new CustomEvent("displayDeployedCard",{detail:e.detail}))},this._handleDeploymentFallback=()=>{console.warn("Deployment completed but unable to navigate to deployed card - closing dialogs"),this._closeDialogs(),window.dispatchEvent(new CustomEvent("navTabSelected",{detail:"deployments"}))},this._handleDeploymentProcessCancelled=()=>{this._cancellationStartTime=Date.now(),this._deployToCancelDuration=b(this._deploymentStartTime),this._deploymentStartTime=null},this._handleDeployFailed=e=>{if(this._cancellationStartTime!==null){this._closeDialogs();return}let t=b(this._deploymentStartTime);this._deploymentStartTime=null;let i=F(e.detail?.error),s=i.length>200?i.slice(-200):i;console.error("Deployment failed:",e.detail?.error),this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Deploy Failure",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"",s],metrics:[t]}),this._closeDialogs(!0)},this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected),this.listenOn(window,"deployedCardReady",this._handleDeployedCardReady),this.listenOn(window,"deploymentCompletedWithoutNav",this._handleDeploymentFallback)}static{this.properties={card:[0,{},{attribute:!1}],_isDeployDisabled:[16,{},{state:!0}],_isLoaded:[16,{},{state:!0}],_showScreenshotsShowMore:[16,{},{state:!0}],_showYouMayAlsoLikeShowMore:[16,{},{state:!0}],isMobile:[16,{},{state:!0}],_isScreenshotsRowExpanded:[16,{},{state:!0}],_isYouMayAlsoLikeRowExpanded:[16,{},{state:!0}],_itemProperties:[16,{},{state:!0}],_missingPrivilegeMessages:[16,{},{state:!0}],_screenshotsRowBaseHeight:[16,{},{state:!0}],_showLoader:[16,{},{state:!0}],_templates:[16,{},{state:!0}],_translations:[16,{},{state:!0}],_youMayAlsoLikeBaseHeight:[16,{},{state:!0}]}}static{this.styles=K}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async connectedCallback(){super.connectedCallback(),this.listenOn(window,"calciteTabChange",this._cleanupPanel)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}willUpdate(e){e.has("card")&&(this._isDeployDisabled=!1,this._isLoaded=!1,this._showLoader=!1,this._signInParamValue==="deploy"&&(this._showLoader=!0))}loaded(){this._signInParamValue===null&&this._configContextConsumer.value?.authentication?.SignInParam&&(this._signInParamValue=this._configContextConsumer.value.authentication.SignInParam),this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="padding-bottom-1-5",t=this._getRelatedResources(),i=this._getYouMayAlsoLikeCards();return a`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="margin-top-875 padding-1-5 back-color-override-1 margin-bottom-1-5" id=solution-details-row>${this._getSolutionRow()}</div><div class=${m(e)}>${this._getScreenshotsRow()}</div><div class=${m(e)}>${this._getOverviewRow()}</div><div class=${m(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?a`<div class=${m(e)}>${this._getRelatedResourcesRow(t)}</div>`:""}${i.length>0?a`<div class=${m(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<div class=${m(e)}>${this._getTermsOfUseRow()}</div>${this.isMobile?"":a`<solution-deploy-dialog .card=${this.card} @deployCancelled=${this._handleDeployCancelled} @deployFailed=${this._handleDeployFailed} @deployProgressEnd=${this._handleDeploySuccess} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${h(this._deployDialogRef)}></solution-deploy-dialog>`}<solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${h(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} @deploymentProcessCancelled=${this._handleDeploymentProcessCancelled} ${h(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel></calcite-shell>`}updated(){setTimeout(()=>{let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let s=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),o=s?.offsetHeight?s.offsetHeight+40:0;o>t&&(t=o)}this._youMayAlsoLikeBaseHeight=t,this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight},100)}_checkUrlParametersForAutoDeployment(){if(this._signInParamValue==="deploy"){let t=this._missingPrivilegeMessages&&(this._missingPrivilegeMessages.leadingMessages.length>0||this._missingPrivilegeMessages.bulletedMessages.length>0||this._missingPrivilegeMessages.trailingMessages.length>0);this._configContextConsumer.value?.authentication?.IsSignedIn&&this.card&&this._deployDialogRef.value&&!t&&(this._signInParamValue=null,this._openDeploy())}}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400"),t=this._missingPrivilegeMessages?.leadingMessages||[],i=t.length>0,s=this._missingPrivilegeMessages?.bulletedMessages||[],o=s.length>0,l=this._missingPrivilegeMessages?.trailingMessages||[],r=l.length>0;return a`<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,o,r,t,s,l)}${this._getButtons()}</div></div>`}_getTextSection(e,t,i,s,o,l){return a`<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"))&&a`<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?a`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(s,o,l)}</div>`:""}</div>`}_getButtons(){let e=this._itemProperties?.demoURL||"";return a`<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?a`<calcite-loader inline label></calcite-loader>`:this._translations.deployButton}</calcite-button>${!this._configContextConsumer.value?.isEnterprise&&e&&a`<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&&a`<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>`}_getMissingPrivilegesNotice(e,t,i){let s="solutions-missing-privileges-notice",o=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges,l=t.length>0?"":"display-none",r=t.length>0?"padding-top-sm":"";return a`<div><calcite-notice class="margin-inline-unset" kind=info open><div slot=message>${`${o}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${o}></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">${this._getSpanMessages(e,"padding-bottom-1")}<span class=${`padding-bottom-1-2 ${l}`}>${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getBulletedMessages(t)}${this._getSpanMessages(i,r)}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>a`<span class=${m(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?a`<ul>${e.map(t=>a`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._isScreenshotsRowExpanded?this._translations.showLess:this._translations.showMore,t=this._isScreenshotsRowExpanded?"arrow-up":"arrow-down",i=this._showScreenshotsShowMore?"":"display-none";return a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._screenshotsAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.solutionOverview}</div><calcite-panel><div class="display-flex flex-direction-column back-color-override-1"><div class="collapsible-div max-height-300" id=screenshots-subsection ${h(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${i}`} .icon=${t} kind=neutral @click=${()=>{this._screenshotsElement.value?.classList.toggle("expanded"),this._isScreenshotsRowExpanded=this._screenshotsElement.value.classList.contains("expanded")}} .text=${e} text-enabled></calcite-fab></div></calcite-panel></calcite-accordion-item></calcite-accordion>`}_getScreenshots(){let e=this._itemProperties?.preview.filter(i=>i.format==="image")||[],t=this._configContextConsumer.value;return a`<calcite-card-group class="card-group" .label=${this._translations.solutionOverview}>${e.reduce((i,s)=>{let o=S(this.card?.id||"",s.name,t.authentication),l;return t.agoBasedEnterpriseSolutionsGroupId&&t.isEnterprise&&(l=S(this.card?.id||"",s.name,void 0,t.agolPortalUrl)),this.card?.id?i.push(a`<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=${(l||o)??y}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`):i.push(""),i},[])}</calcite-card-group>`}_openScreenshotGallery(e){this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Screenshot Gallery",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]});let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_getOverviewRow(){return a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._overviewAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.solutionDetails}</div>${this._getDescriptionRow()}${this._getInformationProductsRow()}</calcite-accordion-item></calcite-accordion>`}_getDescriptionRow(){return a`<div class="display-flex flex-direction-column"><div class="font-color-2 font-1 margin-top-0 line-height-xxl padding-bottom-xxl">${this.card?.snippet}</div><div class="font-color-2 font-1 margin-top-0 line-height-xxl padding-bottom-xxl" .innerHTML=${this.card?.description??""}></div></div>`}_getInformationProductsRow(){return a`<div class="display-flex flex-direction-column font-1 line-height-xxl font-color-2"><span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.solutionItem}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(t=>a`<calcite-table-row><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.item)??""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.description)??""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.userType)??""}></p></calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._releaseNotesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.releaseNotes}</div><div class="display-flex flex-direction-column"><calcite-table bordered caption>${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div></calcite-accordion-item></calcite-accordion>`}_getReleaseNotesTableHeaderRow(){return a`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(t=>a`<calcite-table-row><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.version)??""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.description)??""}></p></calcite-table-cell></calcite-table-row>`)}_getRelatedResourcesRow(e){return a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._relatedResourcesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.relatedResources}</div><div class="display-flex flex-direction-row">${e.map(()=>{a`<solution-resource-card></solution-resource-card>`})}</div></calcite-accordion-item></calcite-accordion>`}_getRelatedResources(){return[]}_getYouMayAlsoLikeRow(e){let t=this._showYouMayAlsoLikeShowMore?"":"display-none",i=this._isYouMayAlsoLikeRowExpanded?this._translations.showLess:this._translations.showMore,s=this._isYouMayAlsoLikeRowExpanded?"arrow-up":"arrow-down",o=this._isYouMayAlsoLikeRowExpanded?"":{height:`${this._youMayAlsoLikeBaseHeight}px`};return a`<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=${M(o)} ${h(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((l,r)=>a`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${l} 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=${()=>{this._youMayAlsoLikeElement.value?.classList.toggle("expanded"),this._isYouMayAlsoLikeRowExpanded=this._youMayAlsoLikeElement.value.classList.contains("expanded")}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getTermsOfUseRow(){return a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(this._termsOfUseAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.termsOfUse}</div><div class="font-color-2" .innerHTML=${(this.card?.licenseInfo||"")??""}></div></calcite-accordion-item></calcite-accordion>`}_openDeploy(){if(this._configContextConsumer.value.authentication.IsSignedIn){let e=this._deployDialogRef.value;e&&(this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Deploy Dialog Opened",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),e.userOptions=this._userOptions,e.open=!0)}else this._configContextConsumer.value.authentication.signIn("deploy")}_openUrl(e){window.open(e,"_blank")}_handleWatchDemoClick(e){this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Watch Demo",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),this._openUrl(e)}_handleLearnMoreClick(){this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),this._openUrl(this.card?.learnMoreUrl||"")}async _detailsCardSelected(e){this.card=e.detail,this.el.scrollIntoView(!0),this._onResize(),this._missingPrivilegeMessages=void 0,await this._getItemData(),this._expandAccordions()}_expandAccordions(){this._overviewAccordionItemElement.value&&(this._overviewAccordionItemElement.value.expanded=!0),this._releaseNotesAccordionItemElement.value&&(this._releaseNotesAccordionItemElement.value.expanded=!0),this._relatedResourcesAccordionItemElement.value&&(this._relatedResourcesAccordionItemElement.value.expanded=!0),this._screenshotsAccordionItemElement.value&&(this._screenshotsAccordionItemElement.value.expanded=!0),this._termsOfUseAccordionItemElement.value&&(this._termsOfUseAccordionItemElement.value.expanded=!0),this._youMayAlsoLikeAccordionItemElement.value&&(this._youMayAlsoLikeAccordionItemElement.value.expanded=!0)}async _getItemData(){let e=this._configContextConsumer.value,t=e?.agoBasedEnterpriseSolutionsGroupId&&e?.isEnterprise?e.anonAgolSession:e?.userSession,i=await O(this.card.id,t),s=await T(this.card.id,t);this._itemProperties=s.properties,this.itemPropertiesFetched.emit(this._itemProperties);let o=B(i,this.card.typeKeywords,e?.authentication);this._privileges=t.username?o:[],this._userPrivileges=e?.authentication&&e?.userSession?await q(e.authentication,e.userSession,e.authentication.PortalUserPrivileges):[];let l=this._privileges.filter(u=>!this._userPrivileges.includes(u));this._missingPrivilegeMessages=z(this._translations,l),this._isDeployDisabled=this._missingPrivilegeMessages&&(this._missingPrivilegeMessages.leadingMessages.length>0||this._missingPrivilegeMessages.bulletedMessages.length>0||this._missingPrivilegeMessages.trailingMessages.length>0);let r=i.params?await this.formatParams(i.params):[];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())}formatParams(e){let t=this._configContextConsumer.value.userSession,i=[],s=e?Object.keys(e):[],o={id:"",props:[],accordionDisplay:!1};if(s.length>0){let l=[];return s.forEach(r=>{let u=e[r];u.valueType&&u.valueType.toLowerCase()==="itemid"&&l.push(this._findExistingItem(r,"Feature Service",t.username||""))}),Promise.all(l).then(r=>{let u={};return r.forEach(c=>{if(c.query&&c.results&&c.results.length>0){let W=c.query.split(" ")[0].replace("typekeywords:source-","");u[W]={resultId:c.results[0].id,response:c.results[0]}}}),s.forEach(c=>{if(c==="serviceLearnMore"){this._configureLearnMore=e[c],alert(this._configureLearnMore),delete e[c];return}e[c].enterpriseIDMapping&&(this._customDeploymentMappings[c]=e[c].enterpriseIDMapping),o.id=c,u[c]&&(e[c].existingItemId=u[c].resultId,this.updateUserProp(e[c],u[c].response)),this.updateOption(e[c],o,c)}),i.push(o),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let s=this._configContextConsumer.value.userSession;return G(`typekeywords:source-${e} type:${t} owner:${i}`,s)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",s=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),o=I(t,i?"url":"type","")||"",l=o!==""&&s.test(o);return e.responseValue=l?o:"",e.name=l&&f(t,"name")||"",e.title=l&&f(t,"title")||"",e.itemType=l?f(t,"type"):e.itemType,e.validId=l,e.itemUrl=Y(t.id,this._configContextConsumer.value.authentication),l}updateOption(e,t,i){let s=e.default||"",o=typeof s,l=s.toString();this._setFeatureServiceProps(e);let r=this.getValidation(e,l);t.props.push({id:i,outType:o,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:l,default:l,srSearchText:l,autoSelect:l!=="",...r,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&P(e,"attributes.required","true")}getValidation(e,t){let i="",s=f(e,"validation.message")||"",o=!0;return f(e,"attributes.required")==="true"&&(i=I(e,"validation.expression","\\S{1,}"),o=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,s=this._translations.configure.invalidID),{valid:o,validation:{expression:i,message:s}}}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight,this._showScreenshotsShowMore=(this._screenshotsElement.value?.scrollHeight||0)>this._screenshotsRowBaseHeight+2}_cleanupPanel(){this.el.scrollIntoView(!0),this._isScreenshotsRowExpanded=!1,this._showScreenshotsShowMore=!1,this._screenshotsElement.value?.classList.remove("expanded"),this._isYouMayAlsoLikeRowExpanded=!1,this._showYouMayAlsoLikeShowMore=!1,this._youMayAlsoLikeElement.value?.classList.remove("expanded"),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1),this._isDeployDisabled=!1,this._isLoaded=!1,this._showLoader=!1,this._expandAccordions()}_deployProgressStart(e){this._deploymentStartTime=Date.now(),this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Deploy Started",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0,this._deployingDialogRef.value.abortController=e.detail),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(e=!1){if(this._cancellationStartTime!==null){let t=b(this._cancellationStartTime);this._telemetry?.logEvent({category:g.SOLUTION_DETAILS,action:"Deploy Canceled",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""],metrics:[this._deployToCancelDuration,t]}),this._cancellationStartTime=null,this._deployToCancelDuration=0}this._deployingDialogRef.value.close(),e?this._deployDialogRef.value.open=!0:this._deployDialogRef.value.close(),this._deployDialogRef.value.classList.remove("display-none")}_handleDeployAppTabSelected(e){e.detail==="details"&&this.sortTypeChanged.emit("")}_checkPermissionsBeforeDeploy(){this._isLoaded?this._openDeploy():this._configContextConsumer.value.authentication?.IsSignedIn?this._showLoader=!0:this._openDeploy()}};L("solution-details-panel",$);return $},b,c)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
|
|
2
|
+
import d from"./HUJXES5O.js";import c from"./2NKBQR2S.js";import b from"./O7F5EUMA.js";import{b as C}from"./W4YXXJAS.js";import{b as w}from"./77CU4WA2.js";import"./T4PIUXJ7.js";import{a as y}from"./6S75SIVV.js";import"./5IZMQFRP.js";import"./FOQPGXXA.js";import"./ED6SUP22.js";import"./E6P6PYNW.js";import"./IKKBLHLZ.js";import"./CUA2IUXX.js";import"./4UZDZNJD.js";import"./KOTG6W5Z.js";import"./6SC7YR5Y.js";import"./Z6NOHRUL.js";import"./GVM4XYEI.js";import"./NGDVSE4Z.js";import"./BTNJZZQQ.js";import"./ZYQ4P2ON.js";import"./5MKH4QDV.js";import"./3GWWHA4S.js";import"./3YYHZQJB.js";import"./JEJ23R3P.js";import"./TONS7KZJ.js";import"./Q62UEPOL.js";import"./44A5XEM4.js";import{b as g}from"./ABSRNM72.js";import{G as u,H as _,L as f,h as m,i as a,j as p,r as o}from"./5CQPQ7AE.js";import"./3QPJ2JCA.js";export default $arcgis.t(([{F:d,I:r,o:T},,{a:c,b:x}])=>{var D=m`/** @license
|
|
3
|
+
* Copyright 2025 Esri
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
calcite-panel {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
--calcite-panel-background-color: var(--calcite-color-foreground-2);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.card-group {
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
padding-inline-start: var(--calcite-spacing-base);
|
|
27
|
+
padding-top: var(--calcite-spacing-base);
|
|
28
|
+
padding-bottom: var(--calcite-spacing-md);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.text-center {
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.leader-1 {
|
|
36
|
+
margin-top: var(--calcite-spacing-xxl);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.trailer-1 {
|
|
40
|
+
margin-bottom: var(--calcite-spacing-xxl);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.warning-text {
|
|
44
|
+
max-width: 35em;
|
|
45
|
+
margin-left: auto;
|
|
46
|
+
margin-right: auto;
|
|
47
|
+
font-size: var(--calcite-font-size-md);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.no-solutions {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
align-items: center;
|
|
55
|
+
width: 100%;
|
|
56
|
+
min-height: calc(100vh - 190px);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.display-flex {
|
|
60
|
+
display: flex;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.display-none {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.flex-direction-column {
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
h1 {
|
|
72
|
+
font-weight: unset;
|
|
73
|
+
margin: 0;
|
|
74
|
+
padding: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
solution-deployed-card {
|
|
78
|
+
width: calc(20% - 0.75rem);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media (max-width: 1280px) {
|
|
82
|
+
solution-deployed-card {
|
|
83
|
+
width: calc(25% - 0.75rem);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (max-width: 1010px) {
|
|
88
|
+
solution-deployed-card {
|
|
89
|
+
width: calc(33.333% - 0.75rem);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (max-width: 740px) {
|
|
94
|
+
solution-deployed-card {
|
|
95
|
+
width: calc(50% - 0.75rem);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (max-width: 440px) {
|
|
100
|
+
solution-deployed-card {
|
|
101
|
+
width: calc(100% - 0.75rem);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.margin-top-half {
|
|
106
|
+
margin-top: 0.5rem;
|
|
107
|
+
}`,v=5,h=class extends _{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._deletedSolutionName="",this._translations=y({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=d,this._allCards=[],this._baseAgoTerms=d,this._categories=[],this._configContextConsumer=w({context:C,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),await this._getDeployedSolutions())}}),this._delay=!1,this._owner="My solutions",this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=o(),this.searchTermSet=o(),this.sortTypeSet=o(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=v,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout,e.detail.solutionTitle)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=v,this._refreshAfterDeploy(e.detail)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this._telemetry?.logEvent({category:r.DEPLOYMENTS,action:"Sort",dimensions:[T(e.detail.sortType)]}),this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(e.detail.logSearchTelemetry&&e.detail.option?.searchTerm?this._telemetry?.logEvent({category:r.DEPLOYMENTS,action:"Search",dimensions:[e.detail.option.searchTerm]}):this.searchSolutions(e.detail.option))})}static{this.properties={sortType:1,_cards:[16,{},{state:!0}],_cardsFetching:[16,{},{state:!0}],_modifiedCheckTry:[16,{},{state:!0}],_newId:[16,{},{state:!0}],_refs:[16,{},{state:!0}],_showDeleteCompleteAlert:[16,{},{state:!0}],_deletedSolutionName:[16,{},{state:!0}],_translations:[16,{},{state:!0}]}}static{this.styles=D}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async reload(e=!0,t=!0,l){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0,this._deletedSolutionName=l||this._translations.solution),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(n){console.error("Error getting deployed solutions:",n)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value,this._telemetry?.logEvent({category:r.DEPLOYMENTS,action:"Filter",dimensions:[e.value==="My solutions"?"My content":"Organization"]})):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&(this._sortCards(e),this.sortTypeSet.emit({sortType:e.sortType,scope:"deployments"})))}render(){return this._cardsFetching?a`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>`:this._cards.length?a`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete.replace("{{solutionName}}",this._deletedSolutionName)} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete.replace("{{solutionName}}",this._deletedSolutionName)}</div></calcite-alert></calcite-panel>`:a`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${this._translations.noSolutionsInstruction}</div></div></div>`}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new c(e.locale,e.orgUrl,e.portalURL),this._cardsFetcherDeployed=new c(e.locale,e.orgUrl,e.portalURL)}}_renderCards(){return this._refs={},this._cards.map(e=>a`<solution-deployed-card .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??f} .itemId=${e.id} .owner=${this._owner==="My solutions"?"":e.owner} .thumbnail=${e.thumbnailUrl} ${u(this._handleRefs)}></solution-deployed-card>`)}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._configContextConsumer.value.authentication;if(e.IsSignedIn){this._cardsFetching=!0;let t=await x(e,this._configContextConsumer.value.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===t?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}}_getSolutionsBriefcase(){return a`<div><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${p`<path d="M10.723 54.9h6.409a7.896 7.896 0 0 0 13.736 0h23.896a4.137 4.137 0 0 0 4.136-4.136l-.004-32.446a3.222 3.222 0 0 0-3.217-3.219l-10.779.064V9.836A3.741 3.741 0 0 0 41.163 6.1H23.837A3.741 3.741 0 0 0 20.1 9.836l.067 5.264-10.8.004A3.275 3.275 0 0 0 6.1 18.37L6.096 26a.893.893 0 0 0 .263.636.907.907 0 0 0 .638.263l5.902-.014.013-5.985 38.781.01a.407.407 0 0 1 .407.407l.008 22.925a2.858 2.858 0 0 1-2.857 2.858H30.868a7.896 7.896 0 0 0-13.736 0H12.9v-5.2a.801.801 0 0 0-.8-.8H6.9a.801.801 0 0 0-.8.8l-.001 8.375a4.59 4.59 0 0 0 1.353 3.27 4.658 4.658 0 0 0 3.27 1.355zM6.9 41.9h5.2v6h5.51l.112-.213a7.098 7.098 0 0 1 12.556 0l.113.213h18.86a3.683 3.683 0 0 0 2.587-1.071 3.635 3.635 0 0 0 1.071-2.587L52.9 21.317a1.208 1.208 0 0 0-1.207-1.207l-38.867-.01a.714.714 0 0 0-.714.712l-.011 5.275-5.106.012.001.4-.1-.499.003-7.628a2.471 2.471 0 0 1 2.468-2.469l10.8-.003a.734.734 0 0 0 .733-.733v-5.33A2.94 2.94 0 0 1 23.837 6.9h17.326A2.94 2.94 0 0 1 44.1 9.836v5.327a.734.734 0 0 0 .733.733l10.846.003a2.421 2.421 0 0 1 2.417 2.419l.004 32.446a3.337 3.337 0 0 1-3.336 3.336H30.39l-.113.213a7.098 7.098 0 0 1-12.556 0l-.113-.213h-6.886a3.85 3.85 0 0 1-2.704-1.12 3.796 3.796 0 0 1-1.12-2.705zm17.1 13a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm10-6a7.918 7.918 0 0 0 7.349-5h4.818a.734.734 0 0 0 .733-.733v-4.334a.734.734 0 0 0-.733-.733h-4.818a7.9 7.9 0 0 0-14.698 0H5.833a.734.734 0 0 0-.733.733v4.334a.734.734 0 0 0 .733.733h20.818a7.918 7.918 0 0 0 7.349 5zm-28.167-10h21.378l.095-.266a7.1 7.1 0 0 1 13.388 0l.095.266 5.31-.066.068 4.266h-5.378l-.095.266a7.1 7.1 0 0 1-13.388 0l-.095-.266-21.31.066zM34 37.9a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm5.658-20.8H25.342a1.244 1.244 0 0 0-1.242 1.242V15.9h16.8v-4.558a1.244 1.244 0 0 0-1.242-1.242zm.442 5H24.9v-3.758a.443.443 0 0 1 .442-.442h14.316a.443.443 0 0 1 .442.442z" />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}async _refreshAfterDeploy(e){if(e){this._newId=e;let t=10,l=500;for(let s=0;s<t&&(await this._getDeployedSolutions(),!this._cards.some(i=>i.id===e));s++)s<t-1&&await new Promise(i=>setTimeout(i,l));await this.updateComplete;let n=10,S=100;for(let s=0;s<n;s++){if(this._refs[e]){let i=this._cards.find(E=>E.id===e);window.dispatchEvent(new CustomEvent("deployedCardReady",{detail:{card:i,cardRef:this._refs[e]}})),this._newId="";return}await new Promise(i=>setTimeout(i,S)),await this.updateComplete}console.warn(`Failed to find ref for newly deployed solution after all retries: ${e}`),window.dispatchEvent(new CustomEvent("deploymentCompletedWithoutNav",{detail:{solutionId:e}})),this._newId=""}}};g("solutions-deployed-panel",h);return h},b,c,d)
|