@esri/solutions-components 5.1.0-next.4 → 5.1.0-next.6
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/{CUTRQOEO.js → 2P34QGRO.js} +1 -1
- package/dist/cdn/2RBKFT3Q.js +2 -0
- package/dist/cdn/{PH36F6ZU.js → 32VP7W5E.js} +1 -1
- package/dist/cdn/{X3LGQLCM.js → 3NR3CDWD.js} +1 -1
- package/dist/cdn/{ZJ3KQ7WO.js → 3VJ4LKR5.js} +1 -1
- package/dist/cdn/{IHP7FAGO.js → 3YP4IHTR.js} +1 -1
- package/dist/cdn/{TG3TGRIK.js → 42KJMFQR.js} +1 -1
- package/dist/cdn/{JBAXZW3Z.js → 4ABITSEM.js} +1 -1
- package/dist/cdn/{HHTLWYIL.js → 4ZEHQ3GR.js} +1 -1
- package/dist/cdn/5326HZ74.js +2 -0
- package/dist/cdn/5QCBD6ZZ.js +2 -0
- package/dist/cdn/5S3WZLB5.js +2 -0
- package/dist/cdn/{IBNSJ46F.js → 5WJS5U7G.js} +1 -1
- package/dist/cdn/{NXTK6OD5.js → 6M3LFKC2.js} +1 -1
- package/dist/cdn/{QUVVORHW.js → 7MXJCE2J.js} +1 -1
- package/dist/cdn/ABTC2V7J.js +2 -0
- package/dist/cdn/AVNCYWKK.js +2 -0
- package/dist/cdn/{MI7UDIFR.js → B4AIK4OP.js} +1 -1
- package/dist/cdn/{DGMH4RW7.js → B4UETHGF.js} +1 -1
- package/dist/cdn/{SG6YSE6W.js → B5RWUGHH.js} +1 -1
- package/dist/cdn/{6UJUVPK6.js → BDDH5UZP.js} +1 -1
- package/dist/cdn/BJMKDP4O.js +2 -0
- package/dist/cdn/BMJN3MIR.js +2 -0
- package/dist/cdn/{FUEG35TG.js → C4SG4U2R.js} +1 -1
- package/dist/cdn/{ZSZUJ3FI.js → C63QDNA2.js} +1 -1
- package/dist/cdn/{UCUGZIOM.js → CCENFN7F.js} +1 -1
- package/dist/cdn/{2QE2HTYW.js → CTVJXR44.js} +1 -1
- package/dist/cdn/{5DGVZVGU.js → CVC5BYCF.js} +1 -1
- package/dist/cdn/DWUKLLEC.js +2 -0
- package/dist/cdn/{AWE3IT6O.js → DXZ6JQQ3.js} +1 -1
- package/dist/cdn/E7HQ4JJ2.js +2 -0
- package/dist/cdn/{EOZUCQOO.js → F24FJKDG.js} +1 -1
- package/dist/cdn/{TVNF2O66.js → GGPVFOLN.js} +1 -1
- package/dist/cdn/HBJZGW4L.js +2 -0
- package/dist/cdn/{RJPRLDFE.js → HL7P3CHI.js} +1 -1
- package/dist/cdn/HMB3LHBC.js +2 -0
- package/dist/cdn/{J3YWJVZZ.js → HPFJPSEL.js} +1 -1
- package/dist/cdn/HPQPI754.js +2 -0
- package/dist/cdn/I4PUORX4.js +2 -0
- package/dist/cdn/JTUQKBFR.js +2 -0
- package/dist/cdn/JUXXPW6I.js +2 -0
- package/dist/cdn/KD46EE7M.js +2 -0
- package/dist/cdn/KJMVCXRW.js +2 -0
- package/dist/cdn/KPBEUIQV.js +2 -0
- package/dist/cdn/KSXW3QKP.js +2 -0
- package/dist/cdn/{HVD4BQPK.js → KXAY6N2R.js} +1 -1
- package/dist/cdn/LWUSGNUB.js +2 -0
- package/dist/cdn/{7EZXA5FN.js → M3ESEITD.js} +1 -1
- package/dist/cdn/{KGALGAAM.js → M3KJFMBN.js} +1 -1
- package/dist/cdn/M7YK4K5M.js +2 -0
- package/dist/cdn/{RA43PFSB.js → MB5ER7VL.js} +1 -1
- package/dist/cdn/{R6SBVSPJ.js → MCFH5JBU.js} +1 -1
- package/dist/cdn/MXWRV4QM.js +2 -0
- package/dist/cdn/MZ3QZD4K.js +2 -0
- package/dist/cdn/MZLEP53S.js +2 -0
- package/dist/cdn/N7HJKCUK.js +2 -0
- package/dist/cdn/NSITJP7B.js +2 -0
- package/dist/cdn/{6734MJXK.js → NYCJKKYN.js} +1 -1
- package/dist/cdn/{OKJZS44H.js → OAS6T2VR.js} +1 -1
- package/dist/cdn/{7GNQSKAB.js → OEFCWMHM.js} +1 -1
- package/dist/cdn/OQFRVQQZ.js +2 -0
- package/dist/cdn/{OKDHN6B7.js → P2BP2CM5.js} +1 -1
- package/dist/cdn/{XXBU3JMK.js → P4GNCZ6F.js} +1 -1
- package/dist/cdn/{Q63OZOAM.js → P642ZIKQ.js} +1 -1
- package/dist/cdn/P6IYN2TS.js +2 -0
- package/dist/cdn/{QYIFZ7XJ.js → PHWLCAZ4.js} +1 -1
- package/dist/cdn/PJ4ERPMV.js +2 -0
- package/dist/cdn/PZOAAAVI.js +2 -0
- package/dist/cdn/{SB3QR3SO.js → Q2FDKRDQ.js} +1 -1
- package/dist/cdn/{ABEE7A5Y.js → QLXOOL5D.js} +1 -1
- package/dist/cdn/QWRM254M.js +2 -0
- package/dist/cdn/{USRH3VII.js → R4P3ACBL.js} +1 -1
- package/dist/cdn/RDXJFHLV.js +2 -0
- package/dist/cdn/REOO5ZGK.js +2 -0
- package/dist/cdn/{727EUXF6.js → RGH3Z5QC.js} +1 -1
- package/dist/cdn/{IUG77ONZ.js → RSZTDUO6.js} +1 -1
- package/dist/cdn/{SRDPZ2TN.js → RYD5JSIK.js} +1 -1
- package/dist/cdn/{AJJFHJJU.js → SI3DJJCC.js} +1 -1
- package/dist/cdn/{SOHNIGAO.js → SLC22JQP.js} +1 -1
- package/dist/cdn/{24ADXKSX.js → SOFOUNGU.js} +1 -1
- package/dist/cdn/SSO3AN4U.js +2 -0
- package/dist/cdn/{CN7QQ3JZ.js → SSWZX5KE.js} +1 -1
- package/dist/cdn/{VIOCT3NG.js → T7REUAY2.js} +1 -1
- package/dist/cdn/{J3PKNUNP.js → TG5Z36QU.js} +1 -1
- package/dist/cdn/TH52564W.js +2 -0
- package/dist/cdn/THKPPH7G.js +2 -0
- package/dist/cdn/TU5GZK4M.js +2 -0
- package/dist/cdn/UFJWRZWQ.js +2 -0
- package/dist/cdn/{PALYMJLD.js → UIVSGAJR.js} +1 -1
- package/dist/cdn/UUNDSSCA.js +2 -0
- package/dist/cdn/{QW3T2SOQ.js → V74VHTFF.js} +1 -1
- package/dist/cdn/VPTZV5YV.js +2 -0
- package/dist/cdn/{F7OHPN7H.js → VTXVM7WH.js} +1 -1
- package/dist/cdn/WCPWYPN2.js +2 -0
- package/dist/cdn/{CSQ77SHH.js → XB2BJKRI.js} +1 -1
- package/dist/cdn/{AQ3TQ7PO.js → XFB4UFWT.js} +1 -1
- package/dist/cdn/XK6Q5TUT.js +2 -0
- package/dist/cdn/{VKG5PJNA.js → XQISEL3T.js} +1 -1
- package/dist/cdn/{TJ2MW6I4.js → YDNB3Z7B.js} +1 -1
- package/dist/cdn/YTK4IGLJ.js +2 -0
- package/dist/cdn/ZKQHD6X2.js +2 -0
- package/dist/cdn/{73MLGNDP.js → ZPFYLUCJ.js} +1 -1
- package/dist/cdn/ZSHMK5VX.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/components/public-notification/customElement.js +3 -3
- package/dist/components/solution-details-panel/customElement.js +12 -12
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +8 -8
- package/dist/components/solutions-all-shell/customElement.js +9 -9
- package/dist/components/solutions-deployed-shell/customElement.js +2 -2
- 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 +22 -22
- package/dist/cdn/25MTK2JD.js +0 -2
- package/dist/cdn/2MVCIEAD.js +0 -2
- package/dist/cdn/43HJUBM4.js +0 -2
- package/dist/cdn/4LVJK3V2.js +0 -2
- package/dist/cdn/4X53QTF7.js +0 -2
- package/dist/cdn/5YSNBFO6.js +0 -2
- package/dist/cdn/6CHHUU33.js +0 -2
- package/dist/cdn/7EF56IQP.js +0 -2
- package/dist/cdn/ABL7HXUY.js +0 -2
- package/dist/cdn/B7XPPNVY.js +0 -2
- package/dist/cdn/BB3L2KIS.js +0 -2
- package/dist/cdn/BG55H324.js +0 -2
- package/dist/cdn/BUR53ZIF.js +0 -2
- package/dist/cdn/CHWUORRX.js +0 -2
- package/dist/cdn/DHE3GFUJ.js +0 -2
- package/dist/cdn/DQNQ7DLH.js +0 -2
- package/dist/cdn/DSHJPE6S.js +0 -2
- package/dist/cdn/EDWOTP4V.js +0 -2
- package/dist/cdn/EYJ255MM.js +0 -2
- package/dist/cdn/F7R4EYDS.js +0 -2
- package/dist/cdn/FA44RLAZ.js +0 -2
- package/dist/cdn/FIWSWJTZ.js +0 -2
- package/dist/cdn/GXICL6EL.js +0 -2
- package/dist/cdn/HAWNWJLR.js +0 -2
- package/dist/cdn/HKAZRCQE.js +0 -2
- package/dist/cdn/HYJ7UXOV.js +0 -2
- package/dist/cdn/IXSZQTPL.js +0 -2
- package/dist/cdn/J74DGHF3.js +0 -2
- package/dist/cdn/JY62CMT7.js +0 -2
- package/dist/cdn/KWNAM7AD.js +0 -2
- package/dist/cdn/LNZEGAPP.js +0 -2
- package/dist/cdn/LW4KR4D5.js +0 -2
- package/dist/cdn/M7ERGA4I.js +0 -2
- package/dist/cdn/MTDE4K26.js +0 -2
- package/dist/cdn/NDSUZD6T.js +0 -2
- package/dist/cdn/NF3TLIP3.js +0 -2
- package/dist/cdn/O44OLIT5.js +0 -2
- package/dist/cdn/R4OPQN6O.js +0 -2
- package/dist/cdn/R5PY2TMY.js +0 -2
- package/dist/cdn/RXLJOKCX.js +0 -2
- package/dist/cdn/S27I4OM5.js +0 -2
- package/dist/cdn/SJQW6ZDF.js +0 -2
- package/dist/cdn/VOM7CM3O.js +0 -2
- package/dist/cdn/VUQ25YDH.js +0 -2
- package/dist/cdn/WYV4MD77.js +0 -2
- package/dist/cdn/X4Y4DHJ5.js +0 -2
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { c as I } from "../../chunks/runtime.js";
|
|
3
3
|
import { u as S } from "../../chunks/useT9n.js";
|
|
4
4
|
import { createRef as d, ref as h } from "lit-html/directives/ref.js";
|
|
5
|
-
import { LitElement as C, createEvent as
|
|
5
|
+
import { LitElement as C, createEvent as v, safeClassMap as u, nothing as y, safeStyleMap as D } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as w } from "@arcgis/lumina/context";
|
|
7
7
|
import { E as m, V as E, g as x, A as L, G as R, T as g, W as b, X as T, K as $, J as P, Y as A, Z as O, D as U } from "../../chunks/interfaces.js";
|
|
8
8
|
import { css as N, html as a } from "lit";
|
|
9
|
-
import { request as F, getWorkflowBaseURL as H, getWorkflowManagerAuthorized as V, sanitizeHTML as _, getItemDataAsJson as z, getItem as B, getPropWithDefault as M, getProp as
|
|
9
|
+
import { request as F, getWorkflowBaseURL as H, getWorkflowManagerAuthorized as V, sanitizeHTML as _, getItemDataAsJson as z, getItem as B, getPropWithDefault as M, getProp as f, setCreateProp as Y } from "@esri/solution-common";
|
|
10
10
|
import { _findExistingItem as G } from "@esri/solution-deployer";
|
|
11
11
|
import "../../chunks/solution-deploy-dialog.js";
|
|
12
12
|
import "../solution-snapshot-gallery/customElement.js";
|
|
13
13
|
import "../solution-deploying-dialog/customElement.js";
|
|
14
|
-
const W = N`.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.flex-1{flex:1}.cursor-default{cursor:default}solution-details-card[id*=you-may-also-like]{width:240px}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}ul ul{list-style-type:circle}li{margin:var(--calcite-spacing-sm) var(--calcite-spacing-none)}calcite-label{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.padding-1{padding:var(--calcite-spacing-lg)}.padding-1-5{padding:var(--calcite-spacing-xl)}.padding-2px{padding:var(--calcite-spacing-base)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.padding-bottom-sm{padding-bottom:var(--calcite-spacing-sm)}.padding-top-md{padding-top:var(--calcite-spacing-md)}.padding-top-sm{padding-top:var(--calcite-spacing-sm)}.padding-top-xs{padding-top:.25rem}.padding-bottom-1-5{padding-bottom:var(--calcite-spacing-xxl)}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-top-1-5{padding-top:var(--calcite-spacing-xxl)}.padding-top-1-2{padding-top:var(--calcite-spacing-sm)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-1-75{padding-inline-end:1.75rem}.padding-end-2{padding-inline-end:var(--calcite-spacing-xxxl)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-bottom-1{margin-bottom:var(--calcite-spacing-lg)}.margin-bottom-1-5{margin-bottom:var(--calcite-spacing-xxl)}.margin-end-1{margin-inline-end:var(--calcite-spacing-lg)}.margin-top-0{margin-top:var(--calcite-spacing-none)}.margin-top-1{margin-top:var(--calcite-spacing-lg)}.margin-top-875{margin-top:.875rem}.margin-top-1-5{margin-top:var(--calcite-spacing-xxl)}.margin-sides-0-5{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm)}.margin-sides-1{margin-left:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg)}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.align-items-baseline{align-items:baseline}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:300px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:0;flex-shrink:1}}.width-full{width:100%}@media(max-width:768px){.width-full{flex-direction:column}.width-full>.display-flex{flex-direction:column}.image-width{width:100%;padding-inline-end:0;margin-bottom:var(--calcite-spacing-lg)}.button-width{width:100%;margin-top:var(--calcite-spacing-lg)}}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-sm) var(--calcite-spacing-md)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}calcite-card{width:450px;--calcite-card-border-color: transparent}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}#screenshots-subsection calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}#screenshots-subsection calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}calcite-card.is-mobile:hover img{cursor:default;-webkit-filter:brightness(100%);filter:brightness(100%);transition:all .1s ease}calcite-card{border:var(--calcite-spacing-base) solid transparent;box-sizing:border-box;padding:var(--calcite-spacing-base)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.line-height-1{line-height:1.1}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}.font-color-2{color:var(--calcite-color-text-2)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-foreground-1)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-2);margin:0}.table-cell p{margin:0}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}.position-relative{position:relative}.background-color-2{background-color:var(--calcite-color-foreground-2)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-2)}.border-none{border:none}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}calcite-shell{block-size:unset}.solution-detail-action{--calcite-color-focus: initial}a{color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:hover{background-size:100% 1px,100% 1px}a:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:active{color:var(--calcite-color-brand-press)}*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}`;
|
|
14
|
+
const W = N`.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.flex-1{flex:1}.cursor-default{cursor:default}solution-details-card[id*=you-may-also-like]{width:240px}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}ul ul{list-style-type:circle}li{margin:var(--calcite-spacing-sm) var(--calcite-spacing-none)}calcite-label{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.padding-1{padding:var(--calcite-spacing-lg)}.padding-1-5{padding:var(--calcite-spacing-xl)}.padding-2px{padding:var(--calcite-spacing-base)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.padding-bottom-sm{padding-bottom:var(--calcite-spacing-sm)}.padding-top-md{padding-top:var(--calcite-spacing-md)}.padding-top-sm{padding-top:var(--calcite-spacing-sm)}.padding-top-xs{padding-top:.25rem}.padding-bottom-1-5{padding-bottom:var(--calcite-spacing-xxl)}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-top-1-5{padding-top:var(--calcite-spacing-xxl)}.padding-top-1-2{padding-top:var(--calcite-spacing-sm)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-1-75{padding-inline-end:1.75rem}.padding-end-2{padding-inline-end:var(--calcite-spacing-xxxl)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-bottom-1{margin-bottom:var(--calcite-spacing-lg)}.margin-bottom-1-5{margin-bottom:var(--calcite-spacing-xxl)}.margin-end-1{margin-inline-end:var(--calcite-spacing-lg)}.margin-top-0{margin-top:var(--calcite-spacing-none)}.margin-top-1{margin-top:var(--calcite-spacing-lg)}.margin-top-875{margin-top:.875rem}.margin-top-1-5{margin-top:var(--calcite-spacing-xxl)}.margin-sides-0-5{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm)}.margin-sides-1{margin-left:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg)}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.align-items-baseline{align-items:baseline}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:300px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:0;flex-shrink:1}}.width-full{width:100%}@media(max-width:768px){.width-full{flex-direction:column}.width-full>.display-flex{flex-direction:column}.image-width{width:100%;padding-inline-end:0;margin-bottom:var(--calcite-spacing-lg)}.button-width{width:100%;margin-top:var(--calcite-spacing-lg)}}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-sm) var(--calcite-spacing-md)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}calcite-card{width:450px;--calcite-card-border-color: transparent}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}#screenshots-subsection calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}#screenshots-subsection calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}calcite-card.is-mobile:hover img{cursor:default;-webkit-filter:brightness(100%);filter:brightness(100%);transition:all .1s ease}calcite-card{border:var(--calcite-spacing-base) solid transparent;box-sizing:border-box;padding:var(--calcite-spacing-base)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}#screenshots-subsection .card-image{background-color:var(--calcite-color-surface-2)}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.line-height-1{line-height:1.1}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}.font-color-2{color:var(--calcite-color-text-2)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-foreground-1)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-2);margin:0}.table-cell p{margin:0}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}.position-relative{position:relative}.background-color-2{background-color:var(--calcite-color-foreground-2)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-2)}.border-none{border:none}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}calcite-shell{block-size:unset}.solution-detail-action{--calcite-color-focus: initial}a{color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:hover{background-size:100% 1px,100% 1px}a:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:active{color:var(--calcite-color-brand-press)}*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}`;
|
|
15
15
|
async function K(n, e, t) {
|
|
16
16
|
let i = t;
|
|
17
17
|
return n && (n?.IsEnterprisePortal && await X(
|
|
@@ -46,11 +46,11 @@ function j(n) {
|
|
|
46
46
|
) ? [m.HUBPREMIUM] : [];
|
|
47
47
|
}
|
|
48
48
|
async function J(n) {
|
|
49
|
-
const e =
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
) ? [m.WORKFLOW] : [];
|
|
49
|
+
const e = n?.RestUserSession;
|
|
50
|
+
if (!e?.username)
|
|
51
|
+
return [];
|
|
52
|
+
const t = await H(e);
|
|
53
|
+
return await V(t, e) ? [m.WORKFLOW] : [];
|
|
54
54
|
}
|
|
55
55
|
async function X(n, e) {
|
|
56
56
|
const t = n + "/sharing/rest", i = {
|
|
@@ -88,7 +88,7 @@ class te extends C {
|
|
|
88
88
|
context: R,
|
|
89
89
|
subscribe: !0,
|
|
90
90
|
callback: (e) => this.isMobile = e
|
|
91
|
-
}), this._overviewAccordionItemElement = d(), this._privilegePopoverRef = d(), this._privileges = [], this._regexFsUrl = "https?:\\/\\/.+FeatureServer\\b", this._regexID = "\\b[0-9A-F]{32}\\b", this._releaseNotesAccordionItemElement = d(), this._relatedResourcesAccordionItemElement = d(), this._screenshotsAccordionItemElement = d(), this._screenshotsDialogRef = d(), this._screenshotsElement = d(), this._termsOfUseAccordionItemElement = d(), this._userOptions = [], this._youMayAlsoLikeAccordionItemElement = d(), this._youMayAlsoLikeElement = d(), this._signInParamValue = null, this._deploymentStartTime = null, this._cancellationStartTime = null, this._deployToCancelDuration = 0, this.templatesFetched =
|
|
91
|
+
}), this._overviewAccordionItemElement = d(), this._privilegePopoverRef = d(), this._privileges = [], this._regexFsUrl = "https?:\\/\\/.+FeatureServer\\b", this._regexID = "\\b[0-9A-F]{32}\\b", this._releaseNotesAccordionItemElement = d(), this._relatedResourcesAccordionItemElement = d(), this._screenshotsAccordionItemElement = d(), this._screenshotsDialogRef = d(), this._screenshotsElement = d(), this._termsOfUseAccordionItemElement = d(), this._userOptions = [], this._youMayAlsoLikeAccordionItemElement = d(), this._youMayAlsoLikeElement = d(), this._signInParamValue = null, this._deploymentStartTime = null, this._cancellationStartTime = null, this._deployToCancelDuration = 0, this.templatesFetched = v(), this.itemPropertiesFetched = v(), this.sortTypeChanged = v(), this.tokenRefreshed = v(), this._handleDeployCancelled = () => {
|
|
92
92
|
this._telemetry?.logEvent({
|
|
93
93
|
category: g.SOLUTION_DETAILS,
|
|
94
94
|
action: "Deploy Dialog Canceled",
|
|
@@ -380,7 +380,7 @@ class te extends C {
|
|
|
380
380
|
}
|
|
381
381
|
updateUserProp(e, t) {
|
|
382
382
|
const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"), o = M(t, i ? "url" : "type", "") || "", l = o !== "" && s.test(o);
|
|
383
|
-
return e.responseValue = l ? o : "", e.name = l &&
|
|
383
|
+
return e.responseValue = l ? o : "", e.name = l && f(t, "name") || "", e.title = l && f(t, "title") || "", e.itemType = l ? f(t, "type") : e.itemType, e.validId = l, e.itemUrl = U(t.id, this._configContextConsumer.value.authentication), l;
|
|
384
384
|
}
|
|
385
385
|
updateOption(e, t, i) {
|
|
386
386
|
const s = e.default || "", o = typeof s, l = s.toString();
|
|
@@ -413,8 +413,8 @@ class te extends C {
|
|
|
413
413
|
e.valueType && e.valueType.toLowerCase() === "itemid" && Y(e, "attributes.required", "true");
|
|
414
414
|
}
|
|
415
415
|
getValidation(e, t) {
|
|
416
|
-
let i = "", s =
|
|
417
|
-
return
|
|
416
|
+
let i = "", s = f(e, "validation.message") || "", o = !0;
|
|
417
|
+
return f(e, "attributes.required") === "true" && (i = M(e, "validation.expression", "\\S{1,}"), o = new RegExp(i).test(t)), e.valueType && e.valueType.toLowerCase() === "itemid" && (i = this._regexID, s = this._translations.configure.invalidID), {
|
|
418
418
|
valid: o,
|
|
419
419
|
validation: {
|
|
420
420
|
expression: i,
|
|
@@ -10,7 +10,7 @@ import "@arcgis/core/identity/IdentityManager.js";
|
|
|
10
10
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
11
11
|
import "@arcgis/core/portal/Portal.js";
|
|
12
12
|
import { createRef as m, ref as u } from "lit-html/directives/ref.js";
|
|
13
|
-
const f = g`*[tabindex]:focus-visible{outline:solid 2px var(--calcite-color-brand);outline-offset:2px}.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-lg)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block;object-fit:contain}`;
|
|
13
|
+
const f = g`*[tabindex]:focus-visible{outline:solid 2px var(--calcite-color-brand);outline-offset:2px}.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-lg)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.footer-card img{background-color:var(--calcite-color-surface-2)}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block;object-fit:contain}`;
|
|
14
14
|
class b extends l {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this.open = !1, this._screenshots = [], this._translations = c({ name: "solution-snapshot-gallery", blocking: !0 }), this._configContextConsumer = d({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
3
|
+
import { css as f, html as d, svg as y } from "lit";
|
|
4
4
|
import { u as C } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as S, createEvent as c } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as v } from "@arcgis/lumina/context";
|
|
7
|
-
import { a as u, A as w, T as
|
|
8
|
-
import { C as
|
|
7
|
+
import { a as u, A as w, T as g, M as x, J as T, B as b, d as E, e as A } from "../../chunks/interfaces.js";
|
|
8
|
+
import { C as _, g as D } from "../../chunks/cardFetchingUtils.js";
|
|
9
9
|
import { b as I } from "../../chunks/cardsHelpers.js";
|
|
10
|
-
const L =
|
|
10
|
+
const L = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@media(max-width:1234px){solution-details-card{width:calc(33.333% - .6rem)}}@media(max-width:1010px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@media(max-width:680px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`, m = 5;
|
|
11
11
|
class F extends S {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(), this.sortType = "relevance", this._cards = [], this._isLoading = !0, this._modifiedCheckTry = 0, this._translations = C({ name: "solutions-all-panel", blocking: !0 }), this._agoTerms = `${u}`, this._allCards = [], this._baseAgoTerms = u, this._categories = [], this._configContextConsumer = v({
|
|
@@ -18,7 +18,7 @@ class F extends S {
|
|
|
18
18
|
}
|
|
19
19
|
}), this._delay = !1, this._getSuggested = !1, this._relatedSolutions = /* @__PURE__ */ new Set(), this._sortField = "relevance", this._sortOrder = "desc", this.cardsFetched = c(), this.allCardsFetched = c(), this.searchTermSet = c(), this.sortTypeSet = c(), this.detailsCardSelected = c(), this._handleOpenAssistant = () => {
|
|
20
20
|
this._telemetry?.logEvent({
|
|
21
|
-
category:
|
|
21
|
+
category: g.ASSISTANT,
|
|
22
22
|
action: "Open"
|
|
23
23
|
}), window.dispatchEvent(new CustomEvent("openAssistant"));
|
|
24
24
|
}, this.listenOn(window, "deployProgressEnd", () => {
|
|
@@ -27,7 +27,7 @@ class F extends S {
|
|
|
27
27
|
this._modifiedCheckTry = m, this._loadUpdateProcedures();
|
|
28
28
|
}), this.listenOn(window, "sortTypeChanged", (e) => {
|
|
29
29
|
e.detail && e.detail.scope === "all-solutions" && (this.sortType = e.detail.sortType, this._telemetry?.logEvent({
|
|
30
|
-
category:
|
|
30
|
+
category: g.ALL_SOLUTIONS,
|
|
31
31
|
action: "Sort",
|
|
32
32
|
dimensions: [x(e.detail.sortType)]
|
|
33
33
|
}), this.sortType === "suggested" && this._deployedSolutions?.cards.length === 0 ? this._getDeployedSolutions().then(() => {
|
|
@@ -125,7 +125,7 @@ class F extends S {
|
|
|
125
125
|
}
|
|
126
126
|
this._isLoading = !0;
|
|
127
127
|
const e = this._configContextConsumer.value;
|
|
128
|
-
this._cardsFetcher = new
|
|
128
|
+
this._cardsFetcher = new _(e.locale, e.orgUrl, e.portalURL), this._cardsFetcherDeployed = new _(e.locale, e.orgUrl, e.portalURL), await this._getDeployedSolutions(), this._cards = await this._getSolutions(), this.allCardsFetched.emit(this._cards), this._isLoading = !1;
|
|
129
129
|
}
|
|
130
130
|
async _getDeployedSolutions() {
|
|
131
131
|
const e = this._configContextConsumer.value.authentication, t = this._configContextConsumer.value.userSession;
|
|
@@ -143,7 +143,7 @@ class F extends S {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
_getMeridianSearch() {
|
|
146
|
-
return d`<div><svg viewBox="0 0 64 64" width=140 height=140 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${
|
|
146
|
+
return d`<div><svg viewBox="0 0 64 64" width=140 height=140 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<path d="M60.217 54.937l-15.77-15.77-1.414 1.415-3.801-3.8a19.94 19.94 0 1 0-2.451 2.45l3.802 3.802-1.413 1.415 15.767 15.767a1.739 1.739 0 0 0 2.459 0l2.82-2.821a1.742 1.742 0 0 0 0-2.458zM4.9 24A19.1 19.1 0 1 1 24 43.1 19.121 19.121 0 0 1 4.9 24zm32.474 14.693q.69-.63 1.32-1.32l3.774 3.775-1.32 1.32zM59.65 56.83l-2.82 2.82a.97.97 0 0 1-1.327 0L40.3 44.45l4.145-4.15L59.65 55.501a.939.939 0 0 1 0 1.328zM22.343 9.62l.097.795q-.31.038-.619.086a13.635 13.635 0 0 0-11.353 11.775l-.026.217-.795-.084.026-.228a14.44 14.44 0 0 1 12.022-12.47c.215-.034.431-.064.648-.09z" />`}</svg></div>`;
|
|
147
147
|
}
|
|
148
148
|
_textSearch(e) {
|
|
149
149
|
this._agoTerms = this._baseAgoTerms + ` ${e}`;
|
|
@@ -4,11 +4,11 @@ import { repeat as f } from "lit/directives/repeat.js";
|
|
|
4
4
|
import { u as g } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as _, createEvent as m, safeClassMap as o, safeStyleMap as r } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as c } from "@arcgis/lumina/context";
|
|
7
|
-
import { css as b, html as
|
|
7
|
+
import { css as b, html as s } from "lit";
|
|
8
8
|
import { A as v, G as y, e as d, d as h, T as p } from "../../chunks/interfaces.js";
|
|
9
|
-
import { createRef as n, ref as
|
|
9
|
+
import { createRef as n, ref as a } from "lit/directives/ref.js";
|
|
10
10
|
import "../solutions-filter-panel/customElement.js";
|
|
11
|
-
const x = b`.display-flex{display:flex}.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: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.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-
|
|
11
|
+
const x = b`.display-flex{display:flex}.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: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.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-sm)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.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)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.chips-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--calcite-spacing-xs);flex:1;padding-block:var(--calcite-spacing-xs)}.header-content-wrapper{min-height:50px;flex-wrap:wrap;gap:var(--calcite-spacing-xs);padding-inline-start:var(--calcite-spacing-lg);padding-top:8px}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.chip-group{max-width:100%}.chip-group{display:flex;flex-wrap:wrap}.responsive-chip{max-width:100%}.responsive-chip .chip-text{display:inline-flex;align-items:center;line-height:1;max-width:100%}@media(max-width:800px){.responsive-chip{max-width:100%;min-width:0}.responsive-chip .chip-text{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.mobile-stack{flex-direction:column;align-items:flex-start;padding-top:var(--calcite-spacing-md)}`;
|
|
12
12
|
class w extends _ {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(), this.solutionsCount = 0, this._isLoading = !0, this._filterOpen = !0, this._filters = {
|
|
@@ -87,7 +87,7 @@ class w extends _ {
|
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
89
|
const e = this._isMobile ? "justify-content-end" : "", t = this._isLoading ? "display-none" : "";
|
|
90
|
-
return
|
|
90
|
+
return s`<calcite-shell class=${`position-relative ${t}`}>${this._isMobile ? "" : this._getFilterPanel()}<h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1" ${a(this._mainPanelRef)}><div class=${o(this._isMobile ? `mobile-stack ${e}` : `display-flex align-items-center header-content-wrapper ${e}`)} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}", this.solutionsCount.toString())}</calcite-label><div class="chips-container">${this._renderChips()}${this._filters.categories && this._filters.categories?.length > 0 && s`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${() => {
|
|
91
91
|
this._filters = {
|
|
92
92
|
...this._filters,
|
|
93
93
|
categories: []
|
|
@@ -96,22 +96,22 @@ class w extends _ {
|
|
|
96
96
|
}
|
|
97
97
|
_getFilterPanel() {
|
|
98
98
|
const e = this._filterOpen ? { display: "flex" } : "";
|
|
99
|
-
return this._isMobile ?
|
|
99
|
+
return this._isMobile ? s`<calcite-panel class=${`border-none ${this._filterOpen ? "background-override" : "filter background-override"}`} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100" @applyFilter=${(t) => {
|
|
100
100
|
this._filterApplied(t.detail);
|
|
101
|
-
}} ${
|
|
101
|
+
}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>` : s`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${r(e)}><calcite-panel class="border-none"><solutions-filter-panel class="height-100" @applyFilter=${(t) => {
|
|
102
102
|
this._filterApplied(t.detail);
|
|
103
|
-
}} ${
|
|
103
|
+
}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`;
|
|
104
104
|
}
|
|
105
105
|
_getSolutionsAllPanel() {
|
|
106
106
|
const e = this._isMobile && this._filterOpen ? { display: "none" } : "";
|
|
107
|
-
return
|
|
107
|
+
return s`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`;
|
|
108
108
|
}
|
|
109
109
|
_renderChips() {
|
|
110
110
|
if (!this._filters.categories)
|
|
111
111
|
return;
|
|
112
112
|
const e = this._filters.categories.filter((t) => t.type === "industry" || t.type === "domain");
|
|
113
113
|
if (e.length !== 0)
|
|
114
|
-
return
|
|
114
|
+
return s`<calcite-chip-group class="chip-group" label>${f(e, (t) => `${t.type}:${t.value}`, (t) => s`<calcite-chip appearance=outline-fill class=${o(this._isMobile ? "responsive-chip" : "padding-start responsive-chip")} closable .label=${t.displayValue} @calciteChipClose=${() => this._chipClosed(t.displayValue, t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`)}</calcite-chip-group>`;
|
|
115
115
|
}
|
|
116
116
|
_updateSolutionCount(e) {
|
|
117
117
|
this.solutionsCount = e.detail;
|
|
@@ -6,7 +6,7 @@ import { useContextConsumer as o } from "@arcgis/lumina/context";
|
|
|
6
6
|
import { css as u, html as i, svg as g } from "lit";
|
|
7
7
|
import { A as f, G as b, J as v } from "../../chunks/interfaces.js";
|
|
8
8
|
import { createRef as s, ref as r } from "lit/directives/ref.js";
|
|
9
|
-
const m = 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-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--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}.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
|
+
const m = 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-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--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}`;
|
|
10
10
|
class x extends h {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._showAlertFailed = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = o({
|
|
@@ -78,7 +78,7 @@ class x extends h {
|
|
|
78
78
|
render() {
|
|
79
79
|
if (!this._configContextConsumer.value?.authentication?.IsSignedIn)
|
|
80
80
|
return this._getSignInPrompt();
|
|
81
|
-
const e = this.isMobile ? "justify-content-
|
|
81
|
+
const e = this.isMobile ? "justify-content-start" : "";
|
|
82
82
|
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>`;
|
|
83
83
|
}
|
|
84
84
|
_getSignInPrompt() {
|