@esri/solutions-components 5.1.0-next.163 → 5.1.0-next.165
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/22BT2PBE.js +338 -0
- package/dist/cdn/{CYEFGPUM.js → 25HVM373.js} +1 -1
- package/dist/cdn/{CFJ4FEY3.js → 26LDC3OX.js} +1 -1
- package/dist/cdn/275IZ5I6.js +5 -0
- package/dist/cdn/{FA5CJT2S.js → 2D6HFQD5.js} +1 -1
- package/dist/cdn/{QTFTJ4DQ.js → 2EXGHOIM.js} +1 -1
- package/dist/cdn/{F3A22NPP.js → 2NSMAAXL.js} +1 -1
- package/dist/cdn/{A2VP46QZ.js → 2R7Y2ZVX.js} +1 -1
- package/dist/cdn/{3KRXI2TQ.js → 2RL6H5TB.js} +1 -1
- package/dist/cdn/{A6VVARNG.js → 2TEBTKD4.js} +1 -1
- package/dist/cdn/354D2K6F.js +2 -0
- package/dist/cdn/{D4TEADUS.js → 37P3IMFV.js} +1 -1
- package/dist/cdn/{C5BQAX2M.js → 3A3CPQX4.js} +1 -1
- package/dist/cdn/{V74POSPP.js → 3J5ZSELO.js} +1 -1
- package/dist/cdn/{Q4X6GXRI.js → 3JCHYXHA.js} +1 -1
- package/dist/cdn/3SMHMC4L.js +2 -0
- package/dist/cdn/{S4ZMJ42A.js → 3UCDO65S.js} +1 -1
- package/dist/cdn/{CPOZIWVH.js → 463CZQF6.js} +1 -1
- package/dist/cdn/{BQ7O62CG.js → 47FRMYZ4.js} +1 -1
- package/dist/cdn/4A77MNRM.js +2 -0
- package/dist/cdn/{UXN2MYLX.js → 4HRGPGDM.js} +1 -1
- package/dist/cdn/{U6DXEFHP.js → 4RCC4KA2.js} +1 -1
- package/dist/cdn/{WXM3KMEV.js → 4SORDX5Z.js} +1 -1
- package/dist/cdn/{EHSIODIO.js → 54A4C4RG.js} +1 -1
- package/dist/cdn/54TJQLYJ.js +69 -0
- package/dist/cdn/{D5JF7XQN.js → 56DNSWXG.js} +1 -1
- package/dist/cdn/{OMRM5EXN.js → 5FWKODDH.js} +1 -1
- package/dist/cdn/{G63OYQ7G.js → 5IDPOFIN.js} +1 -1
- package/dist/cdn/{TLRBE2TZ.js → 5LSNDSHW.js} +1 -1
- package/dist/cdn/{I4EEOB6Y.js → 5N4KGIIY.js} +1 -1
- package/dist/cdn/{QLX3XORL.js → 5W7G3TSG.js} +6 -4
- package/dist/cdn/{MDKHW7NM.js → 62GTPPV5.js} +1 -1
- package/dist/cdn/{MLNGJEKI.js → 67CEWYTY.js} +1 -1
- package/dist/cdn/6FY64JKN.js +2 -0
- package/dist/cdn/{EYJQEBDF.js → 6HZBPFHA.js} +1 -1
- package/dist/cdn/{YCIKY6QN.js → 6PZSOVYB.js} +1 -1
- package/dist/cdn/{FZNRD2XJ.js → 6WNKGSHD.js} +1 -1
- package/dist/cdn/{KMKZEHDS.js → 6WVYNWVR.js} +1 -1
- package/dist/cdn/{MBVY6OPY.js → 743J2ZUC.js} +1 -1
- package/dist/cdn/{7YJMTZFC.js → 77753TPX.js} +1 -1
- package/dist/cdn/{W7VD3QDN.js → 7VY3RI7C.js} +1 -1
- package/dist/cdn/A2A3RFJ6.js +2 -0
- package/dist/cdn/{GABDTUB7.js → A6ZTIX3P.js} +1 -1
- package/dist/cdn/{6LHIJG7J.js → AAUM57XI.js} +1 -1
- package/dist/cdn/{MTEVQC6W.js → ADURBGIK.js} +1 -1
- package/dist/cdn/{IGQJLEEJ.js → APNDTPBA.js} +1 -1
- package/dist/cdn/{S47SVZPE.js → ARFBMFQW.js} +1 -1
- package/dist/cdn/ATEW4U4A.js +2 -0
- package/dist/cdn/{3SDEIO24.js → AYHTQTVS.js} +1 -1
- package/dist/cdn/{KU2LYW6K.js → BIX5DRQP.js} +1 -1
- package/dist/cdn/{G2RMWJ7R.js → BOFA5RH7.js} +1 -1
- package/dist/cdn/{P7LSYADG.js → BWWX52HV.js} +1 -1
- package/dist/cdn/{QPX33Y62.js → BXSBR2GT.js} +1 -1
- package/dist/cdn/{QBARJMJE.js → CMCEF65U.js} +1 -1
- package/dist/cdn/CRDFUDM4.js +45 -0
- package/dist/cdn/{4AFANEZZ.js → CS5N3DOL.js} +1 -1
- package/dist/cdn/{3D5OFNW5.js → CU2JLCTZ.js} +1 -1
- package/dist/cdn/{F6J3OLVZ.js → CV4B2O7J.js} +1 -1
- package/dist/cdn/{TTCTODAR.js → CVXDL2AT.js} +1 -1
- package/dist/cdn/{XHFFDKEQ.js → D22STVK5.js} +1 -1
- package/dist/cdn/{XF5N3NI5.js → DIBK4RSG.js} +1 -1
- package/dist/cdn/{JCQQIAIE.js → DQ47P6ES.js} +1 -1
- package/dist/cdn/{X52T6DJT.js → DVPYGOBV.js} +1 -1
- package/dist/cdn/E3F63VW4.js +2 -0
- package/dist/cdn/EL3OIP52.js +31 -0
- package/dist/cdn/{WQHJMFGP.js → ENXQ33P7.js} +1 -1
- package/dist/cdn/{SGU3KCZB.js → ERLDQUNI.js} +1 -1
- package/dist/cdn/EUI6UDCN.js +43 -0
- package/dist/cdn/{RQIGAX6O.js → EWS72RFR.js} +1 -1
- package/dist/cdn/{4PNNKMNH.js → F4MS4NQL.js} +1 -1
- package/dist/cdn/{UA6XD7SQ.js → FFZ2XVRE.js} +1 -1
- package/dist/cdn/{7FZDDT7D.js → FMPY32BG.js} +1 -1
- package/dist/cdn/{XKEKXTL2.js → FSF3T3OT.js} +1 -1
- package/dist/cdn/{3A5WS2II.js → FUW3T6S6.js} +1 -1
- package/dist/cdn/{JFLG3EKT.js → FYJMHXWV.js} +1 -1
- package/dist/cdn/{57SZHKM5.js → G4V4JPFI.js} +1 -1
- package/dist/cdn/GSCHQNQD.js +56 -0
- package/dist/cdn/{SHI2ULEO.js → GSR2GEY7.js} +1 -1
- package/dist/cdn/{2OCRSUSE.js → GUSPFJUQ.js} +1 -1
- package/dist/cdn/{LY3WRG7K.js → GVMTSUDH.js} +1 -1
- package/dist/cdn/{A62EWI7L.js → H4LZV33O.js} +1 -1
- package/dist/cdn/{SC4UAHYZ.js → HAMYUUYZ.js} +1 -1
- package/dist/cdn/{4ALVWOG7.js → HDMAFAEM.js} +1 -1
- package/dist/cdn/{X65HFYH4.js → HIB4BVGK.js} +1 -1
- package/dist/cdn/{2I5LGZNX.js → HIPZRG2Q.js} +1 -1
- package/dist/cdn/{LXGY2E55.js → HKFXHTYU.js} +1 -1
- package/dist/cdn/{EKK5FR2V.js → HM2QALUN.js} +1 -1
- package/dist/cdn/{MISU75DC.js → HQCHD3FH.js} +1 -1
- package/dist/cdn/HRQVJBRJ.js +2 -0
- package/dist/cdn/HXNARVYH.js +3 -0
- package/dist/cdn/{H3NPAQ3U.js → I4PBOBUM.js} +1 -1
- package/dist/cdn/{V7WSQCQY.js → IAEFPE3L.js} +1 -1
- package/dist/cdn/INLWMPGE.js +2 -0
- package/dist/cdn/ITCC5G26.js +136 -0
- package/dist/cdn/IXPNZCW6.js +2 -0
- package/dist/cdn/{SMN3CVM5.js → IXRFWVBT.js} +1 -1
- package/dist/cdn/JFMNVOWH.js +2 -0
- package/dist/cdn/{WCD4U7UJ.js → JFPR5QIQ.js} +1 -1
- package/dist/cdn/{DF7TCZUS.js → KDDHPA54.js} +1 -1
- package/dist/cdn/{3IO2JXVB.js → KR2PPIBX.js} +1 -1
- package/dist/cdn/LGBRHJBY.js +109 -0
- package/dist/cdn/{5K5GHKON.js → LV5KMTCD.js} +1 -1
- package/dist/cdn/LVYAW6XF.js +2 -0
- package/dist/cdn/LWJF6EXD.js +85 -0
- package/dist/cdn/{55QBAVPE.js → M6AOD7GG.js} +1 -1
- package/dist/cdn/{MJ6JD7WX.js → MFFM74RG.js} +1 -1
- package/dist/cdn/{XM3SRZWV.js → MIV34H66.js} +1 -1
- package/dist/cdn/{EF2TTWG5.js → MKSUYITL.js} +1 -1
- package/dist/cdn/{HGOYPWOK.js → MOSQBUUZ.js} +1 -1
- package/dist/cdn/MV7GEGP5.js +98 -0
- package/dist/cdn/{26QXT6ZT.js → O4DB2EXV.js} +1 -1
- package/dist/cdn/OAUHQK3Y.js +54 -0
- package/dist/cdn/{CZVHNBQN.js → OBCXHY24.js} +1 -1
- package/dist/cdn/{UUIKE2AH.js → ON4EBR25.js} +1 -1
- package/dist/cdn/{R2JOPHL5.js → OUMIC7G7.js} +1 -1
- package/dist/cdn/{F5SUVMAE.js → OZ4IYASP.js} +1 -1
- package/dist/cdn/{FBSKACM2.js → P666D4WT.js} +1 -1
- package/dist/cdn/PGTLLFW6.js +3 -0
- package/dist/cdn/{WCXR46D4.js → PLQEDCUG.js} +1 -1
- package/dist/cdn/PLXHBQBF.js +146 -0
- package/dist/cdn/{22BJ76LD.js → PM4EFNB2.js} +1 -1
- package/dist/cdn/PPFEO3UH.js +2 -0
- package/dist/cdn/{IE5TTSUW.js → QH6PUU3Q.js} +15 -16
- package/dist/cdn/{UBPOT5V3.js → QMAV4UTN.js} +1 -1
- package/dist/cdn/{CAXDDYGL.js → QYCERRRZ.js} +1 -1
- package/dist/cdn/{7JC52SFZ.js → QZ2ZMWIH.js} +1 -1
- package/dist/cdn/{CAYWD56D.js → R27S3IDW.js} +1 -1
- package/dist/cdn/RDJIKSXN.js +439 -0
- package/dist/cdn/{ACTJS4TX.js → RDRCAA3H.js} +1 -1
- package/dist/cdn/{I2NTSKBD.js → RLSY4VUQ.js} +1 -1
- package/dist/cdn/{HVT2WBVC.js → S4GBMN37.js} +1 -1
- package/dist/cdn/{KTRKTBPS.js → SGFSVWTY.js} +1 -1
- package/dist/cdn/{UNBGBQPR.js → SHEDDVHQ.js} +1 -1
- package/dist/cdn/{5F6KCXYP.js → SJLSYFK3.js} +1 -1
- package/dist/cdn/T3EPRHTT.js +4 -0
- package/dist/cdn/TLIIJ2QC.js +122 -0
- package/dist/cdn/{BM4VSEDV.js → TWJ6DAY5.js} +1 -1
- package/dist/cdn/{KKEERGX7.js → TZHRYPII.js} +1 -1
- package/dist/cdn/U27263JW.js +2 -0
- package/dist/cdn/{DKXVDY6L.js → U2FC3BET.js} +1 -1
- package/dist/cdn/{FBGCV6YJ.js → UCYR537P.js} +1 -1
- package/dist/cdn/{LM46YQCN.js → UDPMO6YN.js} +1 -1
- package/dist/cdn/{DJYT367X.js → V5BIPD5T.js} +1 -1
- package/dist/cdn/{IOFIC3IG.js → VBJJQPZT.js} +1 -1
- package/dist/cdn/VDI7SDRK.js +5 -0
- package/dist/cdn/VDZT4UXB.js +36 -0
- package/dist/cdn/{24DOFCUH.js → VKHBBAXO.js} +1 -1
- package/dist/cdn/{O7VRD3Z3.js → VL2NVCIB.js} +1 -1
- package/dist/cdn/{RLYLBYMX.js → VN3AKGAY.js} +1 -1
- package/dist/cdn/{VTAQ6NBB.js → VUXNHQGR.js} +1 -1
- package/dist/cdn/{KIKSO3OQ.js → W5TNQMAJ.js} +1 -1
- package/dist/cdn/{PYPVVSIX.js → WDASGI72.js} +1 -1
- package/dist/cdn/{BATEZR3T.js → WNVC3PSY.js} +1 -1
- package/dist/cdn/WXDMML76.js +2 -0
- package/dist/cdn/{JEIP7CJK.js → XKFX43FE.js} +1 -1
- package/dist/cdn/{GLC7JVKG.js → XQ7SXIHI.js} +1 -1
- package/dist/cdn/{ISFTCFSJ.js → Y2AUIXNK.js} +1 -1
- package/dist/cdn/{L4BYLII5.js → Y3GFBLXF.js} +1 -1
- package/dist/cdn/{T6FQ2A4O.js → YEDC2OLI.js} +1 -1
- package/dist/cdn/{PEQUHMTU.js → YLIWN2J2.js} +1 -1
- package/dist/cdn/{LSBUPU7F.js → YOBHTTO5.js} +1 -1
- package/dist/cdn/YPDXQEUA.js +77 -0
- package/dist/cdn/{BVG2SE55.js → YSQDSGSF.js} +1 -1
- package/dist/cdn/{BEKMMPB7.js → YUI2MSOK.js} +1 -1
- package/dist/cdn/{ONARC6AZ.js → YUWXPLTE.js} +1 -1
- package/dist/cdn/{D2EVPZ5K.js → YW2WMW6B.js} +1 -1
- package/dist/cdn/{QWNRGCQS.js → ZWASNOIQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/assessBuildRequest.js +15 -16
- package/dist/chunks/assessUpdateRequest.js +6 -4
- package/dist/chunks/classifyIntent.js +31 -44
- package/dist/chunks/interfaces.js +47 -47
- package/dist/chunks/solution-builder-assistant.js +24 -13
- package/dist/chunks/updateDesign.js +1 -1
- package/dist/chunks/validators.js +4 -3
- package/dist/components/arcgis-solutions-assistant/customElement.js +1031 -792
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +22 -32
- package/dist/components/solutions-deploy-app/customElement.js +9 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +5 -5
- package/package.json +1 -1
- package/dist/cdn/26EKIZQ3.js +0 -2
- package/dist/cdn/3Z7EYDFO.js +0 -434
- package/dist/cdn/5EXKQXLZ.js +0 -2
- package/dist/cdn/7VD3Y4IF.js +0 -2
- package/dist/cdn/DKQRECGR.js +0 -2
- package/dist/cdn/FE7HMUSZ.js +0 -2
- package/dist/cdn/FFF5HUPM.js +0 -4
- package/dist/cdn/J6OVONBB.js +0 -2
- package/dist/cdn/JDI57IEI.js +0 -98
- package/dist/cdn/JJDAJ7CL.js +0 -2
- package/dist/cdn/LHLLMC6K.js +0 -2
- package/dist/cdn/NRQI7YO3.js +0 -90
- package/dist/cdn/O4VFFJLQ.js +0 -2
- package/dist/cdn/R4PQI4LJ.js +0 -2
- package/dist/cdn/TLY6ZEKN.js +0 -2
- package/dist/cdn/UBPCOTIY.js +0 -2
- package/dist/cdn/VHYS3SP3.js +0 -2
- package/dist/cdn/XA3SV62A.js +0 -2
- package/dist/cdn/YGWYD3LU.js +0 -3
- package/dist/cdn/ZI7OWB5M.js +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import * as f from "@esri/solution-common";
|
|
3
|
-
import { c as
|
|
4
|
-
import { css as
|
|
5
|
-
import { u as
|
|
6
|
-
import { LitElement as L, createEvent as N, nothing as
|
|
3
|
+
import { c as v } from "./runtime.js";
|
|
4
|
+
import { css as R, html as r, svg as k } from "lit";
|
|
5
|
+
import { u as C } from "./useT9n.js";
|
|
6
|
+
import { LitElement as L, createEvent as N, nothing as u, safeClassMap as M } from "@arcgis/lumina";
|
|
7
7
|
import { useContextConsumer as _ } from "@arcgis/lumina/context";
|
|
8
8
|
import { c as $, i as P } from "./deployAppContexts.js";
|
|
9
9
|
import "@arcgis/lumina/controllers";
|
|
@@ -15,9 +15,9 @@ import "@arcgis/core/geometry/Extent.js";
|
|
|
15
15
|
import "@arcgis/core/geometry/SpatialReference.js";
|
|
16
16
|
import "@arcgis/core/geometry/operators/projectOperator.js";
|
|
17
17
|
import "@arcgis/core/geometry/operators/support/geographicTransformationUtils.js";
|
|
18
|
-
import { v as x, l as
|
|
19
|
-
import { createRef as y, ref as
|
|
20
|
-
const G =
|
|
18
|
+
import { v as x, l as h, i as U, j as b } from "./helpers.js";
|
|
19
|
+
import { createRef as y, ref as w } from "lit-html/directives/ref.js";
|
|
20
|
+
const G = R`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.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{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block;background-color:var(--calcite-color-surface-2)}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.header-content{width:100%;min-width:0}.description-wrap{white-space:normal;overflow-wrap:break-word;word-break:break-word;overflow:visible;padding-inline-end:var(--calcite-spacing-lg)}.header-title-label{display:block;flex:1 1 auto;min-width:0;max-width:100%}.header-title-ellipsis{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline-end:var(--calcite-spacing-lg)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}.chipClass{padding-bottom:var(--calcite-spacing-sm)!important}`;
|
|
21
21
|
async function B(i, e) {
|
|
22
22
|
const t = await f.getItemDataAsJson(i, e);
|
|
23
23
|
if (!t)
|
|
@@ -36,14 +36,14 @@ async function B(i, e) {
|
|
|
36
36
|
}));
|
|
37
37
|
else {
|
|
38
38
|
const n = t.templates.map((o) => o.type === "Group" ? f.getGroupBase(o.itemId, e) : f.getItemBase(o.itemId, e));
|
|
39
|
-
a = (await Promise.allSettled(n)).filter((o) => o.status === "fulfilled").map((o) => o.value).map((o,
|
|
39
|
+
a = (await Promise.allSettled(n)).filter((o) => o.status === "fulfilled").map((o) => o.value).map((o, g) => {
|
|
40
40
|
const p = typeof o.type > "u" ? "group" : "item";
|
|
41
41
|
return {
|
|
42
42
|
id: o.id,
|
|
43
43
|
title: o.title,
|
|
44
44
|
type: o.type ?? "Group",
|
|
45
45
|
typeKeywords: o.typeKeywords,
|
|
46
|
-
dependencies: t.templates[
|
|
46
|
+
dependencies: t.templates[g].dependencies,
|
|
47
47
|
snippet: o.snippet,
|
|
48
48
|
url: `${s}/home/${p}.html?id=${o.id}`,
|
|
49
49
|
owner: o.owner
|
|
@@ -53,16 +53,16 @@ async function B(i, e) {
|
|
|
53
53
|
return a;
|
|
54
54
|
}
|
|
55
55
|
function Oe(i, e, t) {
|
|
56
|
-
const s = i.templates.map((
|
|
57
|
-
a.push(j), s.indexOf("Group") >= 0 && (a.push(
|
|
56
|
+
const s = i.templates.map((g) => g.type), a = [];
|
|
57
|
+
a.push(j), s.indexOf("Group") >= 0 && (a.push(E), a.push(O)), s.indexOf("Feature Service") >= 0 && a.push(A);
|
|
58
58
|
const n = s.indexOf("Feed") > -1;
|
|
59
59
|
n && a.push(J);
|
|
60
60
|
const c = s.indexOf("Big Data Analytic") > -1;
|
|
61
61
|
c && a.push(X);
|
|
62
62
|
const d = s.indexOf("Real Time Analytic") > -1;
|
|
63
|
-
d && a.push(Z), (n || c || d) && a.push(oe), s.indexOf("Workflow") > -1 && (a.push(
|
|
63
|
+
d && a.push(Z), (n || c || d) && a.push(oe), s.indexOf("Workflow") > -1 && (a.push(E), a.push(A), a.push(O), a.push(ne)), s.indexOf("Geoprocessing Service") > -1 && (a.push(Q), t.IsEnterprisePortal && a.push(te));
|
|
64
64
|
const o = i.templates.reduce(
|
|
65
|
-
(
|
|
65
|
+
(g, p) => g.concat(p.item.typeKeywords || []),
|
|
66
66
|
[]
|
|
67
67
|
);
|
|
68
68
|
return F(a, o, t), H(a, e), K(a, i), a;
|
|
@@ -104,25 +104,25 @@ function Se(i, e) {
|
|
|
104
104
|
l.WORKFLOW,
|
|
105
105
|
l.TRACKINGBASE
|
|
106
106
|
];
|
|
107
|
-
let a =
|
|
107
|
+
let a = m(
|
|
108
108
|
i,
|
|
109
109
|
e,
|
|
110
110
|
l.VELOCITY
|
|
111
111
|
);
|
|
112
112
|
a && t.leadingMessages.push(a);
|
|
113
|
-
let n =
|
|
113
|
+
let n = m(
|
|
114
114
|
i,
|
|
115
115
|
e,
|
|
116
116
|
l.NOTEBOOK
|
|
117
117
|
);
|
|
118
118
|
n && t.leadingMessages.push(n);
|
|
119
|
-
let c =
|
|
119
|
+
let c = m(
|
|
120
120
|
i,
|
|
121
121
|
e,
|
|
122
122
|
l.HUBPREMIUM
|
|
123
123
|
);
|
|
124
124
|
c && t.leadingMessages.push(c);
|
|
125
|
-
let d =
|
|
125
|
+
let d = m(
|
|
126
126
|
i,
|
|
127
127
|
e,
|
|
128
128
|
l.WORKFLOW
|
|
@@ -132,7 +132,7 @@ function Se(i, e) {
|
|
|
132
132
|
I(i, p)
|
|
133
133
|
);
|
|
134
134
|
});
|
|
135
|
-
let o =
|
|
135
|
+
let o = m(
|
|
136
136
|
i,
|
|
137
137
|
e,
|
|
138
138
|
l.TRACKINGBASE
|
|
@@ -141,7 +141,7 @@ function Se(i, e) {
|
|
|
141
141
|
i.missingPrivilegesPopup.suggestedProblemRemedyMessage
|
|
142
142
|
), t;
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function m(i, e, t) {
|
|
145
145
|
return e.filter((a) => a.includes(t)).length > 0 ? I(i, t) : "";
|
|
146
146
|
}
|
|
147
147
|
function I(i, e) {
|
|
@@ -216,7 +216,7 @@ function W(i, e) {
|
|
|
216
216
|
}
|
|
217
217
|
class z extends L {
|
|
218
218
|
constructor() {
|
|
219
|
-
super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations =
|
|
219
|
+
super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = C({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = _({
|
|
220
220
|
context: $,
|
|
221
221
|
subscribe: !0,
|
|
222
222
|
callback: async (e) => {
|
|
@@ -253,40 +253,40 @@ class z extends L {
|
|
|
253
253
|
}
|
|
254
254
|
render() {
|
|
255
255
|
const e = this.card && this.card.typeKeywords?.includes("AIAssistant");
|
|
256
|
-
return r`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${(t) =>
|
|
256
|
+
return r`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${(t) => h(t, () => this._cardSelected())}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1 description-wrap" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${e && this._getChips() || ""}${this.owner !== "" && this._getOwnerLabel() || ""}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`;
|
|
257
257
|
}
|
|
258
258
|
_getImage() {
|
|
259
|
-
return r`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading ??
|
|
259
|
+
return r`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading ?? u} class="thumbnail card-image" src=${this._thumbnailUrl ?? u}><div class="hover-text">${this._translations.openSolution}</div></div>`;
|
|
260
260
|
}
|
|
261
261
|
_getHeader() {
|
|
262
|
-
return r`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`;
|
|
262
|
+
return r`<div class="display-flex justify-content-space-between header-line-height header-content" slot=heading><calcite-label class="header-title-label" layout=inline-space-between scale=l><span class="header-title-ellipsis" title=${this.heading ?? u}>${this.heading}</span></calcite-label></div>`;
|
|
263
263
|
}
|
|
264
264
|
_getOwnerLabel() {
|
|
265
|
-
return r`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(e) =>
|
|
265
|
+
return r`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(e) => h(e, () => this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`;
|
|
266
266
|
}
|
|
267
267
|
_getDeployedDate() {
|
|
268
|
-
return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg aria-hidden=true height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${
|
|
268
|
+
return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg aria-hidden=true height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${k`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
|
|
269
269
|
}
|
|
270
270
|
_getChips() {
|
|
271
271
|
return r`<calcite-chip class="chipClass" icon=effects .label=${this._translations.builtWithAI} scale=s>${this._translations.builtWithAI}</calcite-chip>`;
|
|
272
272
|
}
|
|
273
273
|
_getConfigureButton() {
|
|
274
274
|
const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = U(this._configContextConsumer.value), n = this.card?.owner === e || this._isOrgAdmin || t, c = this.card?.owner === e || this._isOrgAdmin || s, d = n ? "display-none" : "";
|
|
275
|
-
return r`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution ??
|
|
275
|
+
return r`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution ?? u} dropdown-label=${this._translations.moreActions ?? u} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${(o) => o.stopPropagation()} @keydown=${(o) => o.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution ?? u} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile && r`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${(o) => h(o, () => this._viewDiagram(o))}>${this._translations.viewDiagram}</calcite-dropdown-item>` || ""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${(o) => h(o, () => this._viewDocumentation(o))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${(o) => h(o, () => this._viewItemDetails(o))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile && n && r`<calcite-dropdown-item .disabled=${a} icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async () => {
|
|
276
276
|
this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
|
|
277
|
-
}} @keydown=${(o) =>
|
|
277
|
+
}} @keydown=${(o) => h(o, async () => {
|
|
278
278
|
this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
|
|
279
|
-
})}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && c && r`<calcite-dropdown-item .disabled=${a} icon-start=trash @click=${this._deleteSolution} @keydown=${(o) =>
|
|
279
|
+
})}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && c && r`<calcite-dropdown-item .disabled=${a} icon-start=trash @click=${this._deleteSolution} @keydown=${(o) => h(o, () => this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${M(d)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
|
|
280
280
|
}
|
|
281
281
|
_renderDeleteDialog() {
|
|
282
282
|
return this._isDeleteOpen ? r`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(e) => {
|
|
283
283
|
this._isDeleteOpen = e.detail;
|
|
284
|
-
}} .open=${this._isDeleteOpen} source="Card Dropdown" ${
|
|
284
|
+
}} .open=${this._isDeleteOpen} source="Card Dropdown" ${w(this._deleteDialogRef)}></solution-delete-dialog>` : "";
|
|
285
285
|
}
|
|
286
286
|
_renderDiagramDialog() {
|
|
287
|
-
return this._isDiagramOpen ? r`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ??
|
|
287
|
+
return this._isDiagramOpen ? r`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ?? u} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
|
|
288
288
|
this._isDiagramOpen = !1;
|
|
289
|
-
}} outside-close-disabled scale=m width=l ${
|
|
289
|
+
}} outside-close-disabled scale=m width=l ${w(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
|
|
290
290
|
}
|
|
291
291
|
_renderConfigureTitlesDialog() {
|
|
292
292
|
return this._configureTitlesOpen ? r`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
|
|
@@ -307,40 +307,40 @@ class z extends L {
|
|
|
307
307
|
}
|
|
308
308
|
async _viewDiagram(e) {
|
|
309
309
|
e.stopPropagation(), this.card && (this._telemetry?.logEvent({
|
|
310
|
-
category:
|
|
310
|
+
category: T.DEPLOYMENTS,
|
|
311
311
|
action: "View Diagram",
|
|
312
312
|
dimensions: [
|
|
313
313
|
this.card.title || "",
|
|
314
314
|
this.card.deployCommonId || "",
|
|
315
315
|
this.card.deployVersion || "",
|
|
316
316
|
"Dropdown",
|
|
317
|
-
|
|
317
|
+
b(this.card?.typeKeywords)
|
|
318
318
|
]
|
|
319
319
|
}), this.templateInfoGraph = await this._processTemplates(this.card), this._isDiagramOpen = !0);
|
|
320
320
|
}
|
|
321
321
|
_viewDocumentation(e) {
|
|
322
322
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
323
|
-
category:
|
|
323
|
+
category: T.DEPLOYMENTS,
|
|
324
324
|
action: "Open Help",
|
|
325
325
|
dimensions: [
|
|
326
326
|
this.card?.title || "",
|
|
327
327
|
this.card?.deployCommonId || "",
|
|
328
328
|
this.card?.deployVersion || "",
|
|
329
329
|
"Card Dropdown",
|
|
330
|
-
|
|
330
|
+
b(this.card?.typeKeywords)
|
|
331
331
|
]
|
|
332
332
|
}), window.open(this.card.learnMoreUrl, "_blank");
|
|
333
333
|
}
|
|
334
334
|
_viewItemDetails(e) {
|
|
335
335
|
e.stopPropagation(), this._telemetry?.logEvent({
|
|
336
|
-
category:
|
|
336
|
+
category: T.DEPLOYMENTS,
|
|
337
337
|
action: "Open Item Details",
|
|
338
338
|
dimensions: [
|
|
339
339
|
this.card?.title || "",
|
|
340
340
|
this.card?.deployCommonId || "",
|
|
341
341
|
this.card?.deployVersion || "",
|
|
342
342
|
"Card Dropdown",
|
|
343
|
-
|
|
343
|
+
b(this.card?.typeKeywords)
|
|
344
344
|
]
|
|
345
345
|
}), window.open(this.card.itemUrl, "_blank");
|
|
346
346
|
}
|
|
@@ -359,8 +359,8 @@ class z extends L {
|
|
|
359
359
|
this._thumbnailUrl !== "" && (this._thumbnailUrl = W(this._thumbnailUrl, e));
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
|
|
363
|
-
const
|
|
362
|
+
v("solution-deployed-card", z);
|
|
363
|
+
const ve = 500, Re = {
|
|
364
364
|
AEC: "Architecture, Engineering, and Construction (AEC)",
|
|
365
365
|
AIRPORTPORTRAIL: "Airports, Ports, and Rails",
|
|
366
366
|
BUSINESS: "Business",
|
|
@@ -374,7 +374,7 @@ const Re = 500, ve = {
|
|
|
374
374
|
STATEANDLOCALGOVERNMENT: "State and Local Government",
|
|
375
375
|
TELECOMMUNICATIONS: "Telecommunications",
|
|
376
376
|
UTILITIES: "Utilities"
|
|
377
|
-
},
|
|
377
|
+
}, ke = {
|
|
378
378
|
AIRPORT: "Airports",
|
|
379
379
|
AGRICULTURE: "Agriculture",
|
|
380
380
|
ASSESSMENTANDTAXATION: "Assessment and Taxation",
|
|
@@ -400,7 +400,7 @@ const Re = 500, ve = {
|
|
|
400
400
|
WATER: "Water Distribution"
|
|
401
401
|
};
|
|
402
402
|
var l = /* @__PURE__ */ ((i) => (i.HUBPREMIUM = "solutions:hubPremium", i.NOTEBOOK = "solutions:notebook", i.TRACKINGBASE = "solutions:locationtracking", i.TRACKING = "solutions:locationtracking:tracking", i.TRACKINGADMIN = "solutions:locationtracking:admin", i.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", i.VELOCITY = "solutions:velocity", i.WORKFLOW = "solutions:workflowManager", i))(l || {}), Y = /* @__PURE__ */ ((i) => (i.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", i.VELOCITYFEEDS = "portal:publisher:publishFeeds", i.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", i))(Y || {});
|
|
403
|
-
const
|
|
403
|
+
const Ce = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed,AIAssistant) OR ((typekeywords:Deployed) AND (created:[1577862000000 TO 1622576880000])))', Le = "(typekeywords:Solution,Template)", q = "portal:user:addExternalMembersToGroup", j = "portal:user:createItem", E = "portal:user:createGroup", X = "portal:publisher:publishBigDataAnalytics", A = "portal:publisher:publishFeatures", J = "portal:publisher:publishFeeds", Q = "portal:publisher:publishServerGPServices", Z = "portal:publisher:publishRealTimeAnalytics", O = "portal:user:shareToGroup", ee = "solutions:hubPremium", te = "solutions:notebook", ie = "solutions:locationtracking:admin:tracking", se = "solutions:locationtracking:tracking", ae = "solutions:locationtracking:admin", oe = "solutions:velocity", ne = "solutions:workflowManager", Ne = 250, Me = 256, T = {
|
|
404
404
|
SOLUTION_DETAILS: "Solution Details",
|
|
405
405
|
GLOBAL_NAVIGATION: "Global Nav",
|
|
406
406
|
ALL_SOLUTIONS: "Solutions",
|
|
@@ -429,7 +429,7 @@ const ke = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed
|
|
|
429
429
|
};
|
|
430
430
|
export {
|
|
431
431
|
W as A,
|
|
432
|
-
|
|
432
|
+
Ce as B,
|
|
433
433
|
De as C,
|
|
434
434
|
Me as D,
|
|
435
435
|
l as E,
|
|
@@ -439,17 +439,17 @@ export {
|
|
|
439
439
|
Ne as I,
|
|
440
440
|
q as P,
|
|
441
441
|
ee as S,
|
|
442
|
-
|
|
442
|
+
T,
|
|
443
443
|
Le as a,
|
|
444
|
-
|
|
444
|
+
ve as b,
|
|
445
445
|
$e as c,
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
ke as d,
|
|
447
|
+
Re as e,
|
|
448
448
|
Pe as f,
|
|
449
449
|
Y as g,
|
|
450
450
|
Ue as h,
|
|
451
451
|
xe as i,
|
|
452
|
-
|
|
452
|
+
E as j,
|
|
453
453
|
j as k,
|
|
454
454
|
X as l,
|
|
455
455
|
A as m,
|