@esri/solutions-components 5.1.0-next.66 → 5.1.0-next.68
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/{IDPLUOO5.js → 2AIWDT55.js} +1 -1
- package/dist/cdn/2B4SGB3I.js +2 -0
- package/dist/cdn/{FLLZBDVI.js → 2MOSXHFG.js} +1 -1
- package/dist/cdn/{RP36BC5U.js → 2SCW7VSF.js} +1 -1
- package/dist/cdn/{PWSIKCAF.js → 2UPIDLE5.js} +1 -1
- package/dist/cdn/{4WTAL6YU.js → 35XXJCZT.js} +1 -1
- package/dist/cdn/36TEZXBH.js +28 -0
- package/dist/cdn/{QF3LZFWW.js → 3FL3PNLU.js} +1 -1
- package/dist/cdn/{OUHPCCIT.js → 3FZDFAPN.js} +1 -1
- package/dist/cdn/{DBTVSVZ4.js → 3NR4SOVS.js} +1 -1
- package/dist/cdn/{GEVYIM3T.js → 42CN2HQC.js} +1 -1
- package/dist/cdn/43HJUBM4.js +2 -0
- package/dist/cdn/{3YQ3LN5J.js → 46MUUBPE.js} +1 -1
- package/dist/cdn/47IJA2SQ.js +2 -0
- package/dist/cdn/{JZHP22BA.js → 4DFLLD6V.js} +1 -1
- package/dist/cdn/4LVJK3V2.js +2 -0
- package/dist/cdn/4POTHO6N.js +2 -0
- package/dist/cdn/{K7MOOHAF.js → 4RGYIPUO.js} +1 -1
- package/dist/cdn/{P7UNMJ5A.js → 4STC55KZ.js} +1 -1
- package/dist/cdn/{YBUQ5RAC.js → 4TYKXT5H.js} +1 -1
- package/dist/cdn/4X53QTF7.js +2 -0
- package/dist/cdn/{SMPEVMDE.js → 5CARFDI3.js} +1 -1
- package/dist/cdn/{GSF5ZZMH.js → 5HZOUKRN.js} +1 -1
- package/dist/cdn/5MLXG5WA.js +2 -0
- package/dist/cdn/{3XPKAEMR.js → 5OKASTA4.js} +1 -1
- package/dist/cdn/{43HTXWT4.js → 5PSVMOK7.js} +1 -1
- package/dist/cdn/{LCBVGEFC.js → 5TNKWUPA.js} +1 -1
- package/dist/cdn/5YSNBFO6.js +2 -0
- package/dist/cdn/6CHHUU33.js +2 -0
- package/dist/cdn/{PYOUOZUM.js → 6LBAAWSN.js} +1 -1
- package/dist/cdn/{42WASQMZ.js → 7FF5YSNR.js} +1 -1
- package/dist/cdn/{JQC3RZ7L.js → 7JUCAWZY.js} +1 -1
- package/dist/cdn/{A5UYHQB2.js → 7LL2JXP2.js} +1 -1
- package/dist/cdn/7MSBIQLE.js +4 -0
- package/dist/cdn/7NDNEWIB.js +2 -0
- package/dist/cdn/{WLKDLZCS.js → 7VFHFVJM.js} +1 -1
- package/dist/cdn/{MACN5YNL.js → 7YLCROT7.js} +1 -1
- package/dist/cdn/{GMXGHUZO.js → A45A6TFT.js} +1 -1
- package/dist/cdn/{Y2VQNMT4.js → A4WUUHLP.js} +1 -1
- package/dist/cdn/ABL7HXUY.js +2 -0
- package/dist/cdn/ARWREGJS.js +2 -0
- package/dist/cdn/{K7VYU2IJ.js → ASMKESB2.js} +1 -1
- package/dist/cdn/{TMRCJ23T.js → AYCGL3SF.js} +1 -1
- package/dist/cdn/B7XPPNVY.js +2 -0
- package/dist/cdn/BB3L2KIS.js +2 -0
- package/dist/cdn/{76H55K5C.js → BFGQR5HS.js} +1 -1
- package/dist/cdn/{TOU5OHUQ.js → BFRX6PST.js} +1 -1
- package/dist/cdn/BG55H324.js +2 -0
- package/dist/cdn/BUR53ZIF.js +2 -0
- package/dist/cdn/BW663VEM.js +2 -0
- package/dist/cdn/{BDENYZEG.js → BZT6R6HU.js} +1 -1
- package/dist/cdn/C2WZ76NK.js +2 -0
- package/dist/cdn/{ANWADKOZ.js → C7V2ZOFV.js} +1 -1
- package/dist/cdn/{4NCV4IWX.js → CHHIDAIO.js} +1 -1
- package/dist/cdn/CHWUORRX.js +2 -0
- package/dist/cdn/{GBTCFOFN.js → D3XBFWCF.js} +1 -1
- package/dist/cdn/D5FEDX3A.js +2 -0
- package/dist/cdn/DHE3GFUJ.js +2 -0
- package/dist/cdn/DSHJPE6S.js +2 -0
- package/dist/cdn/{JCTGE6OA.js → DTVJGJYM.js} +1 -1
- package/dist/cdn/{Q2IHGYKB.js → EACG35UF.js} +1 -1
- package/dist/cdn/EDWOTP4V.js +2 -0
- package/dist/cdn/{FRE445LD.js → EEHNMGTM.js} +1 -1
- package/dist/cdn/{33OQKT4F.js → EMXGXBXU.js} +1 -1
- package/dist/cdn/EYJ255MM.js +2 -0
- package/dist/cdn/{GUKPMOPC.js → F7G3JSDV.js} +1 -1
- package/dist/cdn/F7R4EYDS.js +2 -0
- package/dist/cdn/FA44RLAZ.js +2 -0
- package/dist/cdn/{HAET3BAD.js → FBXNPZPC.js} +1 -1
- package/dist/cdn/{E7RDA5B4.js → FHNAG6JQ.js} +5 -5
- package/dist/cdn/{JR4Z5BZE.js → FICK6HVH.js} +1 -1
- package/dist/cdn/FIWSWJTZ.js +2 -0
- package/dist/cdn/{CS4IGHMC.js → FKVDFVJD.js} +1 -1
- package/dist/cdn/FPV4WS5B.js +2 -0
- package/dist/cdn/FUJV2OPO.js +2 -0
- package/dist/cdn/{JNRZGJ5J.js → FZ7IBZWI.js} +1 -1
- package/dist/cdn/{3NPTCTYW.js → GNWP2AAY.js} +1 -1
- package/dist/cdn/{T2CGPA2B.js → GQDQ5NO2.js} +1 -1
- package/dist/cdn/{JA3R6YUV.js → GSODQ7Y6.js} +1 -1
- package/dist/cdn/GXICL6EL.js +2 -0
- package/dist/cdn/HAWNWJLR.js +2 -0
- package/dist/cdn/HB53SUV6.js +357 -0
- package/dist/cdn/{3XX5UDIU.js → HBALPM34.js} +1 -1
- package/dist/cdn/HIWKSSJD.js +2 -0
- package/dist/cdn/HNNENA73.js +2 -0
- package/dist/cdn/HYJ7UXOV.js +2 -0
- package/dist/cdn/{6LHM6EFD.js → IKLKVCWC.js} +1 -1
- package/dist/cdn/{E4OCTDX7.js → IOSX3FKK.js} +1 -1
- package/dist/cdn/{N73GF6WL.js → IXPYSOIL.js} +1 -1
- package/dist/cdn/IXSZQTPL.js +2 -0
- package/dist/cdn/J74DGHF3.js +2 -0
- package/dist/cdn/{5WA4SX7C.js → JE4X76M2.js} +1 -1
- package/dist/cdn/{PBWC3QFN.js → JKSLEUDU.js} +1 -1
- package/dist/cdn/{SLIB2OEC.js → JMAUE3FO.js} +1 -1
- package/dist/cdn/{CACSAX3Q.js → JOI3ZKK5.js} +1 -1
- package/dist/cdn/JY62CMT7.js +2 -0
- package/dist/cdn/{K2OB67JG.js → K7RFTZ56.js} +1 -1
- package/dist/cdn/{I2AQZTRJ.js → KDMK3KUH.js} +1 -1
- package/dist/cdn/{QSUXQICI.js → KJNYVH65.js} +1 -1
- package/dist/cdn/{NV4NQJDM.js → KMIVV3RB.js} +1 -1
- package/dist/cdn/{EZJOMREQ.js → KSZQFK3N.js} +1 -1
- package/dist/cdn/KWNAM7AD.js +2 -0
- package/dist/cdn/LNZEGAPP.js +2 -0
- package/dist/cdn/{LE6OUXPN.js → LOSZZK4D.js} +1 -1
- package/dist/cdn/{U5CKJBMT.js → LUYDQPEN.js} +1 -1
- package/dist/cdn/LW4KR4D5.js +2 -0
- package/dist/cdn/M7ERGA4I.js +2 -0
- package/dist/cdn/{POJOSFXX.js → MRSF34HA.js} +1 -1
- package/dist/cdn/MS34ZMXL.js +2 -0
- package/dist/cdn/{FLQFNPOP.js → MXFEGFHP.js} +1 -1
- package/dist/cdn/{V2QTKEQV.js → N7AYXZEX.js} +1 -1
- package/dist/cdn/NDSUZD6T.js +2 -0
- package/dist/cdn/NF3TLIP3.js +2 -0
- package/dist/cdn/{VE3KTNQS.js → NG2ORWB2.js} +1 -1
- package/dist/cdn/NJJYHW6D.js +2 -0
- package/dist/cdn/NLILOBN5.js +2 -0
- package/dist/cdn/{THSRTNBE.js → NO7Q6ULD.js} +1 -1
- package/dist/cdn/{UEJPBHBF.js → NP5KIGP3.js} +1 -1
- package/dist/cdn/{WQTF5JT3.js → NTBODSSX.js} +1 -1
- package/dist/cdn/O44OLIT5.js +2 -0
- package/dist/cdn/OAFE6H7U.js +2 -0
- package/dist/cdn/{E5GNE67Z.js → OU4UJTL6.js} +1 -1
- package/dist/cdn/{UJ5NRADN.js → P6F5I32T.js} +1 -1
- package/dist/cdn/{DPD6UBKD.js → PAJG7ACM.js} +1 -1
- package/dist/cdn/{EPQ6J23O.js → PF4Z7CF6.js} +1 -1
- package/dist/cdn/{MR5KWNL4.js → PFFHE4IG.js} +1 -1
- package/dist/cdn/{WX7KEAVK.js → PJBORZZO.js} +1 -1
- package/dist/cdn/{LVQAS4DN.js → PKDHJR67.js} +1 -1
- package/dist/cdn/{TYS6ZZ3Q.js → QBHDEX72.js} +1 -1
- package/dist/cdn/{OGUIHXDV.js → QBUVCNNC.js} +1 -1
- package/dist/cdn/{5F3VPVCO.js → QIS27ICS.js} +1 -1
- package/dist/cdn/{2ZZTL5B6.js → QRWWGRGX.js} +1 -1
- package/dist/cdn/R4OPQN6O.js +2 -0
- package/dist/cdn/R5PY2TMY.js +2 -0
- package/dist/cdn/{O4JG6O2G.js → RBYBNP2B.js} +1 -1
- package/dist/cdn/{4652XKVL.js → RNA5LDZ5.js} +1 -1
- package/dist/cdn/{PWAT4NDG.js → ROO45KNC.js} +1 -1
- package/dist/cdn/S27I4OM5.js +2 -0
- package/dist/cdn/{MMQLDIE7.js → S37HZZ6Y.js} +1 -1
- package/dist/cdn/{SDJWXDEO.js → SHFWVVGY.js} +1 -1
- package/dist/cdn/{BF6NM5HV.js → SICXVIQQ.js} +1 -1
- package/dist/cdn/SJQW6ZDF.js +2 -0
- package/dist/cdn/{HR2BNQ7E.js → SKMRPLJ5.js} +1 -1
- package/dist/cdn/{XFKZOLUD.js → SLUY34FZ.js} +1 -1
- package/dist/cdn/{UHZMX2M6.js → SUDT3JBM.js} +1 -1
- package/dist/cdn/{UNA43DT6.js → T3KDTF34.js} +1 -1
- package/dist/cdn/{L6QPBIO3.js → T4B64LSQ.js} +1 -1
- package/dist/cdn/TPOCOIHP.js +2 -0
- package/dist/cdn/{CUY7MQY5.js → TRADVQJJ.js} +1 -1
- package/dist/cdn/UPXLJJKV.js +2 -0
- package/dist/cdn/VDADP5AY.js +2 -0
- package/dist/cdn/VOM7CM3O.js +2 -0
- package/dist/cdn/VUQ25YDH.js +2 -0
- package/dist/cdn/{BXXN7BIC.js → VWU4KCEV.js} +1 -1
- package/dist/cdn/{TYSZL2RK.js → W3QL6FH2.js} +1 -1
- package/dist/cdn/{ZBRNLRN2.js → WFAI6ZZB.js} +1 -1
- package/dist/cdn/{ODZNJZG5.js → WJSVRU72.js} +1 -1
- package/dist/cdn/{WYEPAWQO.js → WKFXXJP7.js} +1 -1
- package/dist/cdn/{I7OSCIKL.js → WQSURMPZ.js} +1 -1
- package/dist/cdn/{OPJPVHX6.js → WXGTKA7P.js} +1 -1
- package/dist/cdn/WYV4MD77.js +2 -0
- package/dist/cdn/X4Y4DHJ5.js +2 -0
- package/dist/cdn/{4YB7FA37.js → XAC6OXJQ.js} +1 -1
- package/dist/cdn/{FEMACR5Y.js → XD5JASLO.js} +1 -1
- package/dist/cdn/{IUFEMLQM.js → XDADY4F7.js} +1 -1
- package/dist/cdn/{RQ2LHC5I.js → XFQNCJ4I.js} +1 -1
- package/dist/cdn/{7WQMX5XY.js → XU2HEOFI.js} +1 -1
- package/dist/cdn/{Z2IT4SME.js → XVVH74AJ.js} +1 -1
- package/dist/cdn/{2RONXQ22.js → XY4ZZKRK.js} +1 -1
- package/dist/cdn/Y3XTTGTV.js +2 -0
- package/dist/cdn/{VEFYE24S.js → YAAAUTVO.js} +1 -1
- package/dist/cdn/{G5YR3YZQ.js → YEUQVA7X.js} +1 -1
- package/dist/cdn/{E6WWQDDM.js → YYUOLIOE.js} +1 -1
- package/dist/cdn/{DYXBSCAV.js → Z6ID7QGG.js} +1 -1
- package/dist/cdn/{DHPY2J5M.js → ZFERDECY.js} +1 -1
- package/dist/cdn/{SUN2LQ7K.js → ZIGRP4UM.js} +1 -1
- package/dist/cdn/{J6V42VCC.js → ZUG2WJUQ.js} +1 -1
- package/dist/cdn/{TLJX3G56.js → ZXA4Y7R7.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/deployAppContexts.js +4 -3
- package/dist/chunks/getItemIcon.js +18 -9
- package/dist/chunks/helpers.js +2 -1
- package/dist/chunks/solutions-deploy-app-nav.js +35 -36
- package/dist/chunks/solutions_explorer_description.js +28 -21
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +10 -6
- package/dist/components/arcgis-solutions-assistant/customElement.js +37061 -34638
- package/dist/components/arcgis-solutions-assistant/index.js +3 -1
- package/dist/components/solution-builder-assistant/customElement.d.ts +63 -0
- package/dist/components/solution-builder-assistant/customElement.js +137 -0
- package/dist/components/solution-builder-assistant/index.d.ts +1 -0
- package/dist/components/solution-builder-assistant/index.js +20 -0
- package/dist/components/solution-deploy-dialog/index.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.d.ts +6 -0
- package/dist/components/solution-item-icon/customElement.js +13 -12
- package/dist/components/solutions-all-panel/customElement.js +5 -5
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +2 -0
- package/dist/components/solutions-deploy-app/customElement.js +111 -100
- package/dist/components/solutions-deploy-app/index.js +3 -0
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +6 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +2 -4
- package/dist/components/solutions-deployed-panel/customElement.js +8 -8
- package/dist/components/solutions-deployed-shell/customElement.js +4 -4
- package/dist/components/solutions-filter-panel/customElement.d.ts +0 -6
- package/dist/components/solutions-filter-panel/customElement.js +46 -61
- package/dist/components/solutions-filter-panel/index.js +0 -3
- package/dist/components/solutions-resources-shell/customElement.d.ts +6 -0
- package/dist/components/solutions-resources-shell/customElement.js +9 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/loader.js +7 -6
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/lumina.d.ts +9 -4
- package/dist/types/preact.d.ts +10 -4
- package/dist/types/react.d.ts +11 -4
- package/dist/types/stencil.d.ts +9 -4
- package/dist/utils/interfaces.d.ts +107 -0
- package/package.json +25 -23
- package/dist/cdn/2P2JRBNM.js +0 -2
- package/dist/cdn/2RBKFT3Q.js +0 -2
- package/dist/cdn/3CEPDBZC.js +0 -2
- package/dist/cdn/5326HZ74.js +0 -2
- package/dist/cdn/5JF3GXG7.js +0 -2
- package/dist/cdn/5QCBD6ZZ.js +0 -2
- package/dist/cdn/5S3WZLB5.js +0 -2
- package/dist/cdn/65Q3GK3L.js +0 -2
- package/dist/cdn/A6L4SLVT.js +0 -2
- package/dist/cdn/ABTC2V7J.js +0 -2
- package/dist/cdn/ACH7OUDZ.js +0 -2
- package/dist/cdn/AVNCYWKK.js +0 -2
- package/dist/cdn/BJMKDP4O.js +0 -2
- package/dist/cdn/BMJN3MIR.js +0 -2
- package/dist/cdn/D6EAKAAG.js +0 -2
- package/dist/cdn/DV2IPJEK.js +0 -359
- package/dist/cdn/DVCONGYS.js +0 -2
- package/dist/cdn/E7HQ4JJ2.js +0 -2
- package/dist/cdn/F2JKSZOE.js +0 -4
- package/dist/cdn/F2YGRNTN.js +0 -2
- package/dist/cdn/FFYAX3YU.js +0 -2
- package/dist/cdn/GV3BOKA2.js +0 -40
- package/dist/cdn/HBJZGW4L.js +0 -2
- package/dist/cdn/HMB3LHBC.js +0 -2
- package/dist/cdn/HPQPI754.js +0 -2
- package/dist/cdn/I4PUORX4.js +0 -2
- package/dist/cdn/INWDOVSJ.js +0 -2
- package/dist/cdn/JUXXPW6I.js +0 -2
- package/dist/cdn/KD46EE7M.js +0 -2
- package/dist/cdn/KPBEUIQV.js +0 -2
- package/dist/cdn/KSXW3QKP.js +0 -2
- package/dist/cdn/LWUSGNUB.js +0 -2
- package/dist/cdn/M7YK4K5M.js +0 -2
- package/dist/cdn/MZ3QZD4K.js +0 -2
- package/dist/cdn/MZLEP53S.js +0 -2
- package/dist/cdn/N7HJKCUK.js +0 -2
- package/dist/cdn/NNOZ6KRO.js +0 -21
- package/dist/cdn/NSITJP7B.js +0 -2
- package/dist/cdn/OQFRVQQZ.js +0 -2
- package/dist/cdn/P6IYN2TS.js +0 -2
- package/dist/cdn/PZOAAAVI.js +0 -2
- package/dist/cdn/QHG54NVK.js +0 -2
- package/dist/cdn/QWRM254M.js +0 -2
- package/dist/cdn/R2WYNBYU.js +0 -2
- package/dist/cdn/RDXJFHLV.js +0 -2
- package/dist/cdn/REOO5ZGK.js +0 -2
- package/dist/cdn/RVKS24LF.js +0 -2
- package/dist/cdn/SSO3AN4U.js +0 -2
- package/dist/cdn/TH52564W.js +0 -2
- package/dist/cdn/THKPPH7G.js +0 -2
- package/dist/cdn/TU5GZK4M.js +0 -2
- package/dist/cdn/UFJWRZWQ.js +0 -2
- package/dist/cdn/UW2E725I.js +0 -2
- package/dist/cdn/V75TSZXZ.js +0 -2
- package/dist/cdn/VPTZV5YV.js +0 -2
- package/dist/cdn/WCPWYPN2.js +0 -2
- package/dist/cdn/WFZYVS4A.js +0 -2
- package/dist/cdn/XK6Q5TUT.js +0 -2
- package/dist/cdn/XSNGR44R.js +0 -2
- package/dist/cdn/YTK4IGLJ.js +0 -2
- package/dist/cdn/ZH6LQCHJ.js +0 -2
- package/dist/cdn/ZPKQMASX.js +0 -2
- package/dist/cdn/ZSHMK5VX.js +0 -2
- package/dist/chunks/explorer-prompts.js +0 -43
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { T as
|
|
8
|
-
import { a as
|
|
2
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
3
|
+
import { repeat as m } from "lit/directives/repeat.js";
|
|
4
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
5
|
+
import { LitElement as C, createEvent as d, safeClassMap as _, nothing as S } from "@arcgis/lumina";
|
|
6
|
+
import { css as w, html as h } from "lit";
|
|
7
|
+
import { T as u } from "../../chunks/solutions-deploy-app-nav.js";
|
|
8
|
+
import { a as x, T as c, F as O, B as A, e as F } from "../../chunks/helpers.js";
|
|
9
9
|
import { createRef as o, ref as l } from "lit-html/directives/ref.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { useContextProvider as
|
|
12
|
-
import { c as
|
|
10
|
+
import { C as T, g as D } from "../../chunks/cardFetchingUtils.js";
|
|
11
|
+
import { useContextProvider as y } from "@arcgis/lumina/context";
|
|
12
|
+
import { c as I, i as $ } from "../../chunks/deployAppContexts.js";
|
|
13
13
|
import { h as k, f as E } from "../../chunks/cardsHelpers.js";
|
|
14
14
|
import "@esri/solution-common";
|
|
15
15
|
import "@arcgis/core/identity/IdentityManager.js";
|
|
16
16
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
17
17
|
import "@arcgis/core/portal/Portal.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import { _ as
|
|
19
|
+
import { _ as M } from "../../chunks/solution-deploy-dialog.js";
|
|
20
20
|
import "../solutions-all-shell/customElement.js";
|
|
21
21
|
import "../solutions-deployed-shell/customElement.js";
|
|
22
22
|
import "../solution-details-panel/customElement.js";
|
|
23
23
|
import "../solution-deployed-card-panel/customElement.js";
|
|
24
|
-
const
|
|
25
|
-
class
|
|
24
|
+
const R = w`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--assistant-panel-width: 420px}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-right:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel{margin-left:max(2vw,calc((100vw - 1440px)/2));margin-right:0;width:auto;max-width:1440px}.assistant-panel{position:fixed;top:65px;right:0;bottom:0;width:var(--assistant-panel-width);z-index:400;display:flex;flex-direction:column;box-shadow:-6px 0 8px -4px #00000026}@media(max-width:800px){.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-right:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);right:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}`;
|
|
25
|
+
class P extends C {
|
|
26
26
|
constructor() {
|
|
27
|
-
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations =
|
|
27
|
+
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isAssistantOpen = !1, this._showFabTooltip = !0, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = v({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${x}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = y({ context: I }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._isMobileContextProvider = y({ context: $ }), this._mainContentRef = o(), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new u(), this.deployAppTabSelected = d(), this.deployedCardFetchFailed = d(), this.detailsCardSelected = d(), this.deployedCardSelected = d(), this.metaTagStringsReady = d(), this.sessionRefreshed = d(), this.tabChanged = d(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (t) => this.selectTab(t.detail, {})), this.listenOn(window, "showGlobalAlert", this._handleShowGlobalAlert), this.listenOn(window, "openAssistant", () => {
|
|
28
|
+
this._openAssistant();
|
|
29
|
+
}), this.listenOn(window, "closeAssistant", () => {
|
|
30
|
+
this._isAssistantOpen = !1;
|
|
31
|
+
});
|
|
28
32
|
}
|
|
29
33
|
static {
|
|
30
|
-
this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _activeTab: 16, _showDeployedCardFetchFailed: 16, _globalAlerts: 16, _translations: 16 };
|
|
34
|
+
this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _isAssistantOpen: 16, _showFabTooltip: 16, _activeTab: 16, _showDeployedCardFetchFailed: 16, _globalAlerts: 16, _translations: 16 };
|
|
31
35
|
}
|
|
32
36
|
static {
|
|
33
|
-
this.styles =
|
|
37
|
+
this.styles = R;
|
|
34
38
|
}
|
|
35
39
|
get _telemetry() {
|
|
36
40
|
return this._configContextProvider.value?.telemetrySession;
|
|
@@ -38,12 +42,18 @@ class L extends S {
|
|
|
38
42
|
get _isDisconnectedEnvironment() {
|
|
39
43
|
return this._configContextProvider.value?.isEnterprise === !0 && this._configContextProvider.value?.authentication?.CanSearchArcGISOnline === !1;
|
|
40
44
|
}
|
|
45
|
+
_openAssistant() {
|
|
46
|
+
this._telemetry?.logEvent({
|
|
47
|
+
category: c.ASSISTANT,
|
|
48
|
+
action: "Open"
|
|
49
|
+
}), this._isAssistantOpen = !0;
|
|
50
|
+
}
|
|
41
51
|
async selectTab(t, e) {
|
|
42
52
|
if (this._isLoaded || this._forceInit) {
|
|
43
|
-
const
|
|
53
|
+
const s = this._getDefaultSearchOptions(e);
|
|
44
54
|
switch (this._searchSortToolbar && (this._searchSortToolbar.scope = t.tabType), t.tabType) {
|
|
45
55
|
case "all-solutions":
|
|
46
|
-
this._allTab.value.selected = !0, this._allTabTitle.value.selected = !0,
|
|
56
|
+
this._allTab.value.selected = !0, this._allTabTitle.value.selected = !0, s && await this._allShell.value?.searchSolutions(s);
|
|
47
57
|
break;
|
|
48
58
|
case "resources":
|
|
49
59
|
this._resourcesTab.value.selected = !0, this._resourcesTabTitle.value.selected = !0;
|
|
@@ -51,8 +61,8 @@ class L extends S {
|
|
|
51
61
|
case "deployed-card":
|
|
52
62
|
if (this.authentication?.IsSignedIn) {
|
|
53
63
|
if (this._forceInit = !0, this._isLoaded = !1, this._cardFetcherDeployed && await this._getDeployedSolution(t.tabTitleOrId), this._deployedSolutions?.cards?.length > 0) {
|
|
54
|
-
let
|
|
55
|
-
this._deployedSolutions.cards.some((a) => a.id === t.tabTitleOrId ? (
|
|
64
|
+
let i;
|
|
65
|
+
this._deployedSolutions.cards.some((a) => a.id === t.tabTitleOrId ? (i = a, this.deployedCardSelected.emit({ card: i }), !0) : !1), this._isLoaded = !0, this._forceInit = !1;
|
|
56
66
|
} else
|
|
57
67
|
return this._isLoaded = !0, this._forceInit = !1, this.selectTab({ tabTitleOrId: "", tabType: "deployments" }, e);
|
|
58
68
|
break;
|
|
@@ -60,32 +70,34 @@ class L extends S {
|
|
|
60
70
|
await this.authentication?.signIn();
|
|
61
71
|
case "details":
|
|
62
72
|
if (this._allCards) {
|
|
63
|
-
let
|
|
64
|
-
|
|
73
|
+
let i = k(this._allCards, t.tabTitleOrId);
|
|
74
|
+
i = i || E(this._allCards, t.tabTitleOrId), i ? (this._detailsTab.value.selected = !0, this._detailsTabTitle.value.selected = !0, this.detailsCardSelected.emit(i)) : (t.tabType = "all-solutions", this._allTab.value.selected = !0, this._allTabTitle.value.selected = !0);
|
|
65
75
|
}
|
|
66
76
|
break;
|
|
67
77
|
case "deployments":
|
|
68
|
-
this._mySolutionsTab.value.selected = !0, this._mySolutionsTabTitle.value.selected = !0, this._searchSortToolbar &&
|
|
78
|
+
this._mySolutionsTab.value.selected = !0, this._mySolutionsTabTitle.value.selected = !0, this._searchSortToolbar && s?.filter && this._searchSortToolbar.changeOwnerFilter(s.filter !== "Organization"), s && await this._mySolutionsShell.value?.searchSolutions(s);
|
|
69
79
|
break;
|
|
70
80
|
}
|
|
71
81
|
return this._setActiveTab(new CustomEvent("setActiveTab", { detail: t })), this._blurTabs(), this._showDeployedCardFetchFailed && (this.deployedCardFetchFailed.emit({ message: this._deployCardFetchFailedMessage, title: this._translations.failedToOpen }), this._showDeployedCardFetchFailed = !1), !0;
|
|
72
82
|
} else
|
|
73
83
|
return this._initTab = t, this._initFilters = e, !1;
|
|
74
84
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
updated(t) {
|
|
86
|
+
this._fixTabpanelFocus(), t.has("_isAssistantOpen") && this._setScrollbarGutters(this._isAssistantOpen ? "stable" : "stable both-edges"), !this._resizeObserver && this._mainContentRef.value && (this._resizeObserver = new ResizeObserver((e) => {
|
|
87
|
+
for (const s of e) {
|
|
88
|
+
const a = s.contentRect.width <= 800;
|
|
89
|
+
this.isMobile !== a && (this.isMobile = a, this._isMobileContextProvider.setValue(a));
|
|
90
|
+
}
|
|
91
|
+
}), this._resizeObserver.observe(this._mainContentRef.value));
|
|
80
92
|
}
|
|
81
93
|
_fixTabpanelFocus() {
|
|
82
94
|
if (!this._tabpanelsFixed && this._allTab.value) {
|
|
83
95
|
const t = [this._allTab, this._mySolutionsTab, this._resourcesTab, this._detailsTab, this._deployedCardTab];
|
|
84
96
|
Promise.all(t.map(async (e) => {
|
|
85
|
-
const
|
|
86
|
-
if (
|
|
87
|
-
const
|
|
88
|
-
|
|
97
|
+
const s = e.value;
|
|
98
|
+
if (s && (await s.componentOnReady?.(), s.shadowRoot)) {
|
|
99
|
+
const i = s.shadowRoot.querySelector('[role="tabpanel"]');
|
|
100
|
+
i && (i.tabIndex = -1);
|
|
89
101
|
}
|
|
90
102
|
})).then(() => {
|
|
91
103
|
this._tabpanelsFixed = !0, this._setupTabpanelObserver();
|
|
@@ -98,48 +110,47 @@ class L extends S {
|
|
|
98
110
|
if (this._tabpanelObserver)
|
|
99
111
|
return;
|
|
100
112
|
this._tabpanelObserver = new MutationObserver((e) => {
|
|
101
|
-
e.forEach((
|
|
102
|
-
if (
|
|
103
|
-
const
|
|
104
|
-
|
|
113
|
+
e.forEach((s) => {
|
|
114
|
+
if (s.type === "attributes" && s.attributeName === "tabindex") {
|
|
115
|
+
const i = s.target;
|
|
116
|
+
i.getAttribute("role") === "tabpanel" && i.tabIndex === 0 && (i.tabIndex = -1);
|
|
105
117
|
}
|
|
106
118
|
});
|
|
107
119
|
}), [this._allTab, this._mySolutionsTab, this._resourcesTab, this._detailsTab, this._deployedCardTab].forEach((e) => {
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
const
|
|
111
|
-
|
|
120
|
+
const s = e.value;
|
|
121
|
+
if (s?.shadowRoot) {
|
|
122
|
+
const i = s.shadowRoot.querySelector('[role="tabpanel"]');
|
|
123
|
+
i && this._tabpanelObserver.observe(i, { attributes: !0, attributeFilter: ["tabindex"] });
|
|
112
124
|
}
|
|
113
125
|
});
|
|
114
126
|
}
|
|
115
127
|
async load() {
|
|
116
|
-
this.useLocalAppConfig && (this.appConfig =
|
|
128
|
+
this.useLocalAppConfig && (this.appConfig = M);
|
|
117
129
|
}
|
|
118
130
|
render() {
|
|
119
131
|
const t = this._isLoaded ? "display-none" : "", e = this._isLoaded ? "" : "display-none";
|
|
120
|
-
return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${l(this._deployAppNav)}></solutions-deploy-app-nav>${this._isSearchToolbarShowing() && h`<div class="border"
|
|
121
|
-
|
|
122
|
-
})}></solutions-searchsort-toolbar><calcite-loader class=${_(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${l(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${l(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${l(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${l(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${l(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${l(this._allTab)}><solutions-all-shell class="height-100" ${l(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${l(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${l(this._detailsTab)}><solution-details-panel class="height-100" ${l(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${l(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-
|
|
132
|
+
return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${l(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen ? " assistant-open" : ""}`} ${l(this._mainContentRef)}>${this._isSearchToolbarShowing() && h`<div class="border"></div>` || ""}<solutions-searchsort-toolbar ${l(async (s) => {
|
|
133
|
+
s && (await this._deployAppNav.value?.componentOnReady(), this._searchSortToolbar = s);
|
|
134
|
+
})}></solutions-searchsort-toolbar><calcite-loader class=${_(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${l(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${l(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${l(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${l(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${l(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${l(this._allTab)}><solutions-all-shell class="height-100" ${l(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${l(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._resourcesTab)}><solutions-resources-shell .assistantOpen=${this._isAssistantOpen} class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${l(this._detailsTab)}><solution-details-panel class="height-100" ${l(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${l(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise && h`<div class=${`assistant-panel${this._isAssistantOpen ? "" : " display-none"}`}><arcgis-solutions-assistant class="height-100"></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip ?? S} class=${`assistant-fab${this._isAssistantOpen ? " display-none" : ""}`} icon=effects id=assistant-fab-button @click=${() => {
|
|
135
|
+
this._openAssistant(), this._showFabTooltip = !1;
|
|
136
|
+
}} scale=l></calcite-fab><calcite-tooltip class=${_(this._isAssistantOpen ? "display-none" : "")} .open=${this._showFabTooltip && !this._isAssistantOpen} placement=leading reference-element=assistant-fab-button><span>${this._translations.assistantFabTooltip}</span></calcite-tooltip>` || ""}</calcite-shell>`;
|
|
123
137
|
}
|
|
124
138
|
loaded() {
|
|
125
139
|
this._setScrollbarGutters();
|
|
126
140
|
}
|
|
127
141
|
disconnectedCallback() {
|
|
128
|
-
super.disconnectedCallback(), this.
|
|
142
|
+
super.disconnectedCallback(), this._resizeObserver?.disconnect(), this._tabpanelObserver?.disconnect();
|
|
129
143
|
}
|
|
130
144
|
_renderGlobalAlerts() {
|
|
131
|
-
return
|
|
145
|
+
return m(this._globalAlerts, (t) => t.id, (t) => h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title || ""} @calciteAlertClose=${() => this._removeGlobalAlert(t.id)} open>${t.title && h`<div slot=title>${t.title}</div>` || ""}<div slot=message>${t.message}</div></calcite-alert>`);
|
|
132
146
|
}
|
|
133
147
|
async _handleAuthInit(t) {
|
|
134
148
|
const e = t.detail;
|
|
135
|
-
e.telemetrySession || (e.telemetrySession =
|
|
136
|
-
}
|
|
137
|
-
_mediaQueryChange(t) {
|
|
138
|
-
this.isMobile = t.matches, this._isMobileContextProvider.setValue(this.isMobile);
|
|
149
|
+
e.telemetrySession || (e.telemetrySession = u.getDisabledSession()), this._configContextProvider.setValue(e), e.authentication && (this.authentication = e.authentication), this._cardFetcherDeployed = new T(e.locale, e.orgUrl, e.portalURL), this._cardsFetcher = new T(e.locale, e.orgUrl, e.portalURL), this._isDisconnectedEnvironment || await this._getSolutions(e.primarySolutionsGroupId, e.agoBasedEnterpriseSolutionsGroupId), this._configContextProvider.value.allCards = this._allCards, this._configContextProvider.value.anonAgolSession = this._cardsFetcher.anonAgolSession, this._configContextProvider.value.agolPortalUrl = this._cardsFetcher.agolPortalUrl, await this._initializeTelemetry(), this._isLoaded = !0, this._setRefreshInterval(), this._initTab ? (this.selectTab(this._initTab, this._initFilters), this._logTabViewTelemetry(this._initTab.tabType), this._initTab = void 0, this._initFilters = void 0) : this.authentication?.IsSignedIn && (this.initTab === "details" || this.initTab === "deployed-card" || (this._logTabViewTelemetry(this._activeTab), this._emitMetaTagStrings(this._activeTab)));
|
|
139
150
|
}
|
|
140
151
|
_setActiveTab(t) {
|
|
141
|
-
const
|
|
142
|
-
switch (this._activeTab =
|
|
152
|
+
const s = t.detail.tabType, i = this._activeTab !== s;
|
|
153
|
+
switch (this._activeTab = s, i && this._logTabViewTelemetry(s), s) {
|
|
143
154
|
case "all-solutions":
|
|
144
155
|
this._allTabTitle.value?.click();
|
|
145
156
|
break;
|
|
@@ -156,62 +167,62 @@ class L extends S {
|
|
|
156
167
|
this._detailsTabTitle.value?.click();
|
|
157
168
|
break;
|
|
158
169
|
}
|
|
159
|
-
|
|
170
|
+
s !== "details" && s !== "deployed-card" && (this._deployAppNav.value.activateMenuItem(s), this.deployAppTabSelected.emit(s), this._emitMetaTagStrings(s));
|
|
160
171
|
}
|
|
161
172
|
_logTabViewTelemetry(t, e) {
|
|
162
|
-
let
|
|
173
|
+
let s;
|
|
163
174
|
switch (t) {
|
|
164
175
|
case "all-solutions":
|
|
165
|
-
|
|
176
|
+
s = c.ALL_SOLUTIONS;
|
|
166
177
|
break;
|
|
167
178
|
case "deployments":
|
|
168
|
-
|
|
179
|
+
s = c.DEPLOYMENTS;
|
|
169
180
|
break;
|
|
170
181
|
case "resources":
|
|
171
|
-
|
|
182
|
+
s = c.RESOURCES;
|
|
172
183
|
break;
|
|
173
184
|
case "details":
|
|
174
|
-
|
|
185
|
+
s = c.SOLUTION_DETAILS;
|
|
175
186
|
break;
|
|
176
187
|
case "deployed-card":
|
|
177
|
-
|
|
188
|
+
s = c.DEPLOYMENTS;
|
|
178
189
|
break;
|
|
179
190
|
}
|
|
180
|
-
if (!((t === "details" || t === "deployed-card") && !e) &&
|
|
181
|
-
const
|
|
191
|
+
if (!((t === "details" || t === "deployed-card") && !e) && s) {
|
|
192
|
+
const i = [];
|
|
182
193
|
if ((t === "details" || t === "deployed-card") && e) {
|
|
183
|
-
const
|
|
184
|
-
|
|
194
|
+
const n = e;
|
|
195
|
+
i.push(n.title || ""), i.push(n.deployCommonId || ""), i.push(n.deployVersion || "");
|
|
185
196
|
}
|
|
186
197
|
const a = t === "deployed-card" ? "Open" : "View";
|
|
187
198
|
this._telemetry?.logEvent({
|
|
188
|
-
category:
|
|
199
|
+
category: s,
|
|
189
200
|
action: a,
|
|
190
|
-
dimensions:
|
|
201
|
+
dimensions: i.length > 0 ? i : void 0
|
|
191
202
|
});
|
|
192
203
|
}
|
|
193
204
|
}
|
|
194
205
|
_emitMetaTagStrings(t, e) {
|
|
195
|
-
let
|
|
206
|
+
let s = "", i = "";
|
|
196
207
|
switch (t) {
|
|
197
208
|
case "all-solutions":
|
|
198
|
-
|
|
209
|
+
s = this._translations.metaAllSolutionsTitle, i = this._translations.metaAllSolutionsDescription;
|
|
199
210
|
break;
|
|
200
211
|
case "deployments":
|
|
201
212
|
case "deployed-card":
|
|
202
|
-
|
|
213
|
+
s = this._translations.metaDeploymentsTitle, i = this._translations.metaDeploymentsDescription;
|
|
203
214
|
break;
|
|
204
215
|
case "resources":
|
|
205
|
-
|
|
216
|
+
s = this._translations.metaResourcesTitle, i = this._translations.metaResourcesDescription;
|
|
206
217
|
break;
|
|
207
218
|
case "details":
|
|
208
|
-
e && (
|
|
219
|
+
e && (s = this._translations.metaDetailsTitle.replace("{title}", e.title), i = e.snippet);
|
|
209
220
|
break;
|
|
210
221
|
}
|
|
211
222
|
this.metaTagStringsReady.emit({
|
|
212
223
|
pageType: t,
|
|
213
|
-
title:
|
|
214
|
-
description:
|
|
224
|
+
title: s,
|
|
225
|
+
description: i,
|
|
215
226
|
detailTemplate: e
|
|
216
227
|
});
|
|
217
228
|
}
|
|
@@ -225,12 +236,12 @@ class L extends S {
|
|
|
225
236
|
this._activeTab = "deployed-card", this._deployedCardTabTitle.value.selected = !0, this._deployedCardTab.value.selected = !0, this._deployAppNav.value.clearMenuItems(), t?.detail?.card && (this._selectedDeployedCard = t.detail.card), this._logTabViewTelemetry("deployed-card", this._selectedDeployedCard), this._emitMetaTagStrings("deployed-card");
|
|
226
237
|
}
|
|
227
238
|
_handleDeployedCardDisplay(t) {
|
|
228
|
-
const { card: e, cardRef:
|
|
229
|
-
this.deployedCardSelected.emit({ card: e, cardRef:
|
|
239
|
+
const { card: e, cardRef: s } = t.detail;
|
|
240
|
+
this.deployedCardSelected.emit({ card: e, cardRef: s });
|
|
230
241
|
}
|
|
231
242
|
_handleShowGlobalAlert(t) {
|
|
232
|
-
const e = t.detail,
|
|
233
|
-
this._globalAlerts = [...this._globalAlerts, { ...e, id:
|
|
243
|
+
const e = t.detail, s = e.id || `alert-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
244
|
+
this._globalAlerts = [...this._globalAlerts, { ...e, id: s }];
|
|
234
245
|
}
|
|
235
246
|
_removeGlobalAlert(t) {
|
|
236
247
|
this._globalAlerts = this._globalAlerts.filter((e) => e.id !== t);
|
|
@@ -246,7 +257,7 @@ class L extends S {
|
|
|
246
257
|
if (this._isDisconnectedEnvironment)
|
|
247
258
|
return [];
|
|
248
259
|
this._abortController ? (this._abortController.abort(), this._abortController = new AbortController()) : this._abortController = new AbortController();
|
|
249
|
-
const
|
|
260
|
+
const s = await this._cardsFetcher?.requestAvailableSolutionCards({
|
|
250
261
|
q: this._agoTerms,
|
|
251
262
|
filter: "type:Solution",
|
|
252
263
|
sortField: this._sortField,
|
|
@@ -260,19 +271,19 @@ class L extends S {
|
|
|
260
271
|
}, t, e, this._configContextProvider.value.userSession, this._configContextProvider.value.isEnterprise, this._abortController.signal, {
|
|
261
272
|
num: 1e3
|
|
262
273
|
});
|
|
263
|
-
return this._abortController = void 0, this._allCards.length === 0 &&
|
|
274
|
+
return this._abortController = void 0, this._allCards.length === 0 && s?.cards && (this._allCards = s?.cards), this._allCards;
|
|
264
275
|
}
|
|
265
276
|
async _getDeployedSolution(t) {
|
|
266
|
-
const e = this._configContextProvider.value.authentication,
|
|
267
|
-
if (e &&
|
|
277
|
+
const e = this._configContextProvider.value.authentication, s = this._configContextProvider.value.userSession;
|
|
278
|
+
if (e && s && e.IsSignedIn) {
|
|
268
279
|
this._abortControllerDeployed ? (this._abortControllerDeployed.abort(), this._abortControllerDeployed = new AbortController()) : this._abortControllerDeployed = new AbortController();
|
|
269
|
-
const
|
|
280
|
+
const i = O(e);
|
|
270
281
|
try {
|
|
271
|
-
const a = await
|
|
282
|
+
const a = await D(e, s, this._cardsFetcher, this._cardFetcherDeployed, A, "created", "desc", !1, [], [], this._abortControllerDeployed.signal, i ? "My organization's solutions" : "My solutions", t);
|
|
272
283
|
a.cards.length === 0 || a.cards[0].typeKeywords.indexOf("Deployed") < 0 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchNotSolution.replace("{{ITEMID}}", t), this._showDeployedCardFetchFailed = !0) : this._deployedSolutions = a;
|
|
273
284
|
} catch (a) {
|
|
274
|
-
const
|
|
275
|
-
|
|
285
|
+
const n = a.message;
|
|
286
|
+
n.indexOf("CONT_0001") > -1 || n.indexOf("Item does not exist or is inaccessible.") > -1 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchWrongId.replace("{{ITEMID}}", t), this._showDeployedCardFetchFailed = !0) : n.indexOf("GWM_0003") > -1 || n.indexOf("You do not have permissions to access this resource or perform this operation.") > -1 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}", t), this._showDeployedCardFetchFailed = !0) : (this._showDeployedCardFetchFailed = !0, this._deployCardFetchFailedMessage = ""), console.warn(a);
|
|
276
287
|
}
|
|
277
288
|
}
|
|
278
289
|
}
|
|
@@ -285,36 +296,36 @@ class L extends S {
|
|
|
285
296
|
_getDefaultSearchOptions(t) {
|
|
286
297
|
let e;
|
|
287
298
|
if (t) {
|
|
288
|
-
const
|
|
289
|
-
let
|
|
290
|
-
const
|
|
291
|
-
|
|
292
|
-
type:
|
|
293
|
-
} : void 0,
|
|
299
|
+
const s = t.domain, i = t.industry === "AEC" ? F.AEC : t.industry, a = t.offerType, n = t.searchTerm, f = "";
|
|
300
|
+
let r = t.sortField;
|
|
301
|
+
const p = t.owner, b = t.filter;
|
|
302
|
+
r === "suggested" && !this.authentication?.IsSignedIn && (r = this.sortType), e = s || i ? {
|
|
303
|
+
type: s ? "domain" : i ? "industry" : ""
|
|
304
|
+
} : void 0, s && (e = e ? { ...e, domain: s } : { domain: s }), i && (e = e ? { ...e, industry: i } : { industry: i }), n && (e = e ? { ...e, searchTerm: n } : { searchTerm: n }), e && (e = { ...e, displayValue: f }), r && (e = e ? { ...e, sortType: r } : { sortType: r }), a && (r = a.toLowerCase(), e = e ? { ...e, sortType: r } : { sortType: r }), p && (e = e ? { ...e, owner: p } : { owner: p }), b && (e = e ? { ...e, filter: b } : { filter: b });
|
|
294
305
|
}
|
|
295
306
|
return e;
|
|
296
307
|
}
|
|
297
|
-
_setScrollbarGutters() {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
308
|
+
_setScrollbarGutters(t = "stable both-edges") {
|
|
309
|
+
[this._allTab, this._mySolutionsTab, this._resourcesTab, this._detailsTab, this._deployedCardTab].forEach((s) => {
|
|
310
|
+
const i = s.value?.shadowRoot?.firstElementChild;
|
|
311
|
+
i?.style && (i.style.scrollbarGutter = t);
|
|
312
|
+
});
|
|
302
313
|
}
|
|
303
314
|
_setRefreshInterval() {
|
|
304
315
|
const { userSession: t, authentication: e } = this._configContextProvider.value;
|
|
305
316
|
if (t && t.tokenDuration && e?.IsSignedIn) {
|
|
306
|
-
const
|
|
317
|
+
const s = Date.now(), a = (e.Credential?.expires - s) * 0.95;
|
|
307
318
|
setInterval(async () => {
|
|
308
319
|
if (e.Credential && e.Credential.expires) {
|
|
309
320
|
await e.Credential?.refreshToken();
|
|
310
|
-
const
|
|
311
|
-
t.updateToken(e.Credential.token,
|
|
321
|
+
const n = new Date(e.Credential.expires);
|
|
322
|
+
t.updateToken(e.Credential.token, n), this.sessionRefreshed.emit(t.token);
|
|
312
323
|
}
|
|
313
324
|
}, a);
|
|
314
325
|
}
|
|
315
326
|
}
|
|
316
327
|
}
|
|
317
|
-
|
|
328
|
+
g("solutions-deploy-app", P);
|
|
318
329
|
export {
|
|
319
|
-
|
|
330
|
+
P as SolutionsDeployApp
|
|
320
331
|
};
|
|
@@ -11,5 +11,8 @@ import "../solutions-deployed-shell/index.js";
|
|
|
11
11
|
import "../solutions-resources-shell/index.js";
|
|
12
12
|
import "../solution-details-panel/index.js";
|
|
13
13
|
import "../solution-deployed-card-panel/index.js";
|
|
14
|
+
import "../arcgis-solutions-assistant/index.js";
|
|
15
|
+
import "@esri/calcite-components/components/calcite-fab";
|
|
16
|
+
import "@esri/calcite-components/components/calcite-tooltip";
|
|
14
17
|
import "@esri/calcite-components/components/calcite-alert";
|
|
15
18
|
export * from "./customElement.js";
|
|
@@ -35,6 +35,12 @@ export abstract class SolutionsDeployAppNav extends LitElement {
|
|
|
35
35
|
}>;
|
|
36
36
|
/** App config */
|
|
37
37
|
accessor appConfig: any;
|
|
38
|
+
/**
|
|
39
|
+
* When true the assistant panel is open and the sub-nav should be constrained
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
accessor assistantOpen: boolean;
|
|
38
44
|
/** When defined this is the tab that should be loaded by default */
|
|
39
45
|
accessor initTab: DeployAppTab | undefined;
|
|
40
46
|
/**
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
import "../../chunks/runtime.js";
|
|
3
3
|
import "../../chunks/useT9n.js";
|
|
4
4
|
import "@arcgis/lumina";
|
|
5
|
-
import { S
|
|
5
|
+
import { S } from "../../chunks/solutions-deploy-app-nav.js";
|
|
6
6
|
import "../../chunks/Auth.js";
|
|
7
7
|
import "../../chunks/helpers.js";
|
|
8
8
|
import "lit-html/directives/ref.js";
|
|
9
9
|
import "@esri/solution-common";
|
|
10
|
-
import "../../chunks/deployAppContexts.js";
|
|
11
|
-
import "@arcgis/lumina/context";
|
|
12
10
|
import "lit";
|
|
13
11
|
export {
|
|
14
|
-
|
|
12
|
+
S as SolutionsDeployAppNav
|
|
15
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as u, html as
|
|
3
|
+
import { css as u, html as a, svg as y } from "lit";
|
|
4
4
|
import { u as g } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as w, createEvent as l, nothing as C } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as x } from "@arcgis/lumina/context";
|
|
@@ -8,7 +8,7 @@ import { createRef as T, ref as d } from "lit/directives/ref.js";
|
|
|
8
8
|
import { C as c, g as v } from "../../chunks/cardFetchingUtils.js";
|
|
9
9
|
import { c as b } from "../../chunks/deployAppContexts.js";
|
|
10
10
|
import { B as h, T as n, N as S, H as F, c as D } from "../../chunks/helpers.js";
|
|
11
|
-
const E = u`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@
|
|
11
|
+
const E = u`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@container (max-width: 1280px){solution-deployed-card{width:calc(25% - .75rem)}}@container (max-width: 1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@container (max-width: 740px){solution-deployed-card{width:calc(50% - .75rem)}}@container (max-width: 440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
|
|
12
12
|
class R extends w {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(), this.sortType = "created", this._cards = [], this._cardsFetching = !1, this._modifiedCheckTry = 0, this._newId = "", this._refs = {}, this._showDeleteCompleteAlert = !1, this._deletedSolutionName = "", this._translations = g({ name: "solutions-deployed-panel", blocking: !0 }), this._agoTerms = h, this._allCards = [], this._baseAgoTerms = h, this._categories = [], this._mainPanelRef = T(), this._panelFixed = !1, this._configContextConsumer = x({
|
|
@@ -132,7 +132,7 @@ class R extends w {
|
|
|
132
132
|
super.disconnectedCallback(), this._panelObserver?.disconnect();
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return this._cardsFetching ?
|
|
135
|
+
return this._cardsFetching ? a`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>` : this._cards.length ? a`<calcite-panel ${d(this._mainPanelRef)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group></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>`;
|
|
136
136
|
}
|
|
137
137
|
_initCardsFetchers() {
|
|
138
138
|
if (this._configContextConsumer.value) {
|
|
@@ -141,7 +141,7 @@ class R extends w {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
_renderCards() {
|
|
144
|
-
return this._refs = {}, this._cards.map((e) =>
|
|
144
|
+
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 ?? C} .itemId=${e.id} .owner=${this._owner === "My solutions" ? "" : e.owner} .thumbnail=${e.thumbnailUrl} ${d(this._handleRefs)}></solution-deployed-card>`);
|
|
145
145
|
}
|
|
146
146
|
_handleRefs(e) {
|
|
147
147
|
e && (this._refs[e.id] = e);
|
|
@@ -159,7 +159,7 @@ class R extends w {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
_getSolutionsBriefcase() {
|
|
162
|
-
return
|
|
162
|
+
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)>${y`<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>`;
|
|
163
163
|
}
|
|
164
164
|
_setSearchTerm(e) {
|
|
165
165
|
this._agoTerms = this._baseAgoTerms + ` ${e}`;
|
|
@@ -175,11 +175,11 @@ class R extends w {
|
|
|
175
175
|
if (e) {
|
|
176
176
|
this._newId = e;
|
|
177
177
|
const t = 10, s = 500;
|
|
178
|
-
for (let
|
|
179
|
-
|
|
178
|
+
for (let r = 0; r < t && (await this._getDeployedSolutions(), !this._cards.some((o) => o.id === e)); r++)
|
|
179
|
+
r < t - 1 && await new Promise((o) => setTimeout(o, s));
|
|
180
180
|
await this.updateComplete;
|
|
181
181
|
const i = 10, p = 100;
|
|
182
|
-
for (let
|
|
182
|
+
for (let r = 0; r < i; r++) {
|
|
183
183
|
if (this._refs[e]) {
|
|
184
184
|
const o = this._cards.find((_) => _.id === e);
|
|
185
185
|
window.dispatchEvent(new CustomEvent("deployedCardReady", {
|
|
@@ -6,8 +6,8 @@ import { useContextConsumer as l } from "@arcgis/lumina/context";
|
|
|
6
6
|
import { css as u, html as i, svg as g } from "lit";
|
|
7
7
|
import { c as f, i as b } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { createRef as s, ref as r } from "lit/directives/ref.js";
|
|
9
|
-
import { H as
|
|
10
|
-
const x = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
|
|
9
|
+
import { H as v, K as m } from "../../chunks/helpers.js";
|
|
10
|
+
const x = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative;height:100%;overflow:hidden}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
|
|
11
11
|
class _ extends p {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = l({
|
|
@@ -22,7 +22,7 @@ class _ extends p {
|
|
|
22
22
|
this._configContextConsumer.value?.authentication?.signIn(e);
|
|
23
23
|
}, this.listenOn(window, "deployedCardFetchFailed", (e) => {
|
|
24
24
|
const t = e.detail;
|
|
25
|
-
|
|
25
|
+
v({
|
|
26
26
|
kind: "danger",
|
|
27
27
|
icon: "exclamation-mark-triangle",
|
|
28
28
|
title: t.title,
|
|
@@ -89,7 +89,7 @@ class _ extends p {
|
|
|
89
89
|
return i`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${r(this._mainPanelRef)}><div class=${`display-flex align-items-center height-50 header-content-wrapper ${e}`} slot=header-content><calcite-label class="label-override flex-shrink-0 padding-top-8" layout=inline>${this._translations.numberOfDeployments?.replace("{{count}}", this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsDeployedPanel()}</calcite-panel></calcite-shell>`;
|
|
90
90
|
}
|
|
91
91
|
_getSignInPrompt() {
|
|
92
|
-
return i`<div class="sign-in-prompt">${this._getSignInIcon()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.signInMessage}</div><calcite-button appearance=outline @click=${this._handleSignIn} @keydown=${(e) =>
|
|
92
|
+
return i`<div class="sign-in-prompt">${this._getSignInIcon()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.signInMessage}</div><calcite-button appearance=outline @click=${this._handleSignIn} @keydown=${(e) => m(e, () => this._handleSignIn())} scale=l>${this._translations.signIn}</calcite-button></div>`;
|
|
93
93
|
}
|
|
94
94
|
_getSolutionsDeployedPanel() {
|
|
95
95
|
const e = this.isMobile && this.filterOpen ? { display: "none" } : "";
|
|
@@ -106,12 +106,6 @@ export abstract class SolutionsFilterPanel extends LitElement {
|
|
|
106
106
|
* @default false
|
|
107
107
|
*/
|
|
108
108
|
accessor hideIndustryFilter: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Determines if AI Assistant is open.
|
|
111
|
-
*
|
|
112
|
-
* @default false
|
|
113
|
-
*/
|
|
114
|
-
accessor isAIDialogOpen: boolean;
|
|
115
109
|
/**
|
|
116
110
|
* Flag to display reset in the panel
|
|
117
111
|
*
|