@esri/solutions-components 5.1.0-next.13 → 5.1.0-next.15
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/{JYM2MD3W.js → 27G6RESZ.js} +1 -1
- package/dist/cdn/{YMWYAWT6.js → 2H7KJUZG.js} +1 -1
- package/dist/cdn/{32EJUXLB.js → 2WPJOTMI.js} +1 -1
- package/dist/cdn/{F346YHSU.js → 2XQOWXMT.js} +1 -1
- package/dist/cdn/{MQ7BT7PK.js → 3ME5BVUE.js} +1 -1
- package/dist/cdn/{WHXMHZL4.js → 3SYLXG32.js} +1 -1
- package/dist/cdn/3WO3DS32.js +2 -0
- package/dist/cdn/{B44OQSYO.js → 4GHX4MVD.js} +26 -26
- package/dist/cdn/{DB763WGF.js → 4L3MVJ5S.js} +1 -1
- package/dist/cdn/{QAVXLETM.js → 4NALIU6Y.js} +1 -1
- package/dist/cdn/{GYPII3T6.js → 57DOBXD6.js} +1 -1
- package/dist/cdn/{ITRKZRX7.js → 5FKEDJRU.js} +1 -1
- package/dist/cdn/{TZHUM4R4.js → 5GIHSPJZ.js} +1 -1
- package/dist/cdn/{CEKMYC3I.js → 5TZ7Q4JG.js} +1 -1
- package/dist/cdn/{Q7AXKKIB.js → 66Q5IRVS.js} +1 -1
- package/dist/cdn/{YG7D2NB5.js → 6DLDJH6I.js} +1 -1
- package/dist/cdn/{3E6HSVYO.js → 6G7RA3PN.js} +1 -1
- package/dist/cdn/{YMETU3CL.js → 6UXP2Q63.js} +1 -1
- package/dist/cdn/{XTEP3QJL.js → 74557KPJ.js} +1 -1
- package/dist/cdn/{C75PU7NQ.js → 7DHQVMKX.js} +1 -1
- package/dist/cdn/{ZMNHA5KF.js → 7J2VRW7S.js} +1 -1
- package/dist/cdn/{ADR7DVCB.js → 7ZMHT4SH.js} +1 -1
- package/dist/cdn/{MKR5FDTV.js → A2LNKTGU.js} +1 -1
- package/dist/cdn/{7SIPKCWY.js → A5STEAY7.js} +1 -1
- package/dist/cdn/{XNH7HCKE.js → AC3MHBPK.js} +1 -1
- package/dist/cdn/{UM2FREW7.js → AF2YWYJQ.js} +1 -1
- package/dist/cdn/AGC6ZWMH.js +2 -0
- package/dist/cdn/{VEU3WZUI.js → AT2EES2R.js} +1 -1
- package/dist/cdn/{2BJD5X34.js → ATVUAP2X.js} +1 -1
- package/dist/cdn/{VCGFT6NM.js → BK3QFV3M.js} +1 -1
- package/dist/cdn/{4JXVKICV.js → C44FH5Z2.js} +1 -1
- package/dist/cdn/{3BWIMFV4.js → D4QQZVLI.js} +1 -1
- package/dist/cdn/{4VFE4GPI.js → DMRQFYLJ.js} +16 -16
- package/dist/cdn/DQV46RIT.js +2 -0
- package/dist/cdn/{WFB4USZL.js → DZLVEIWW.js} +1 -1
- package/dist/cdn/{NA7S3IMW.js → E57JPXDR.js} +1 -1
- package/dist/cdn/{TAYHORLE.js → EGFXSDFS.js} +1 -1
- package/dist/cdn/{UAQ3H67J.js → EJRSL3ID.js} +1 -1
- package/dist/cdn/{HZ6P3WVH.js → EPRDKJSD.js} +1 -1
- package/dist/cdn/{WNI44LDP.js → FFDZB5TW.js} +1 -1
- package/dist/cdn/{4NMQFFJ5.js → FV7G3BY6.js} +1 -1
- package/dist/cdn/{3I5UIOSI.js → FXHBHZKG.js} +1 -1
- package/dist/cdn/{TXLUSSRB.js → FZ7WJ3YG.js} +1 -1
- package/dist/cdn/{ZC3SWVD4.js → GTKRTZK6.js} +1 -1
- package/dist/cdn/{WIC2XPT4.js → IDNTGLQU.js} +1 -1
- package/dist/cdn/{MS4ASDJL.js → IKN5RLJ4.js} +1 -1
- package/dist/cdn/{BFXJESYN.js → IORIFDK6.js} +1 -1
- package/dist/cdn/{7B5EP3RI.js → IUPEGG4M.js} +1 -1
- package/dist/cdn/{3HALRHHO.js → K5JYHCQ7.js} +1 -1
- package/dist/cdn/{2W6HTIBW.js → K5VEUOS3.js} +1 -1
- package/dist/cdn/{ZDMOQS37.js → K7XOFXRK.js} +1 -1
- package/dist/cdn/{XAFSYKI2.js → KKYXQLBJ.js} +1 -1
- package/dist/cdn/{U6NFJYPT.js → KZDTATOG.js} +1 -1
- package/dist/cdn/{HUF4HX5R.js → LCWLPXAF.js} +1 -1
- package/dist/cdn/{PFLQDK3I.js → LD2NUKM3.js} +1 -1
- package/dist/cdn/{7GNDNQTX.js → LDHJGX5G.js} +1 -1
- package/dist/cdn/{YJMAWMEK.js → LO5Q55JH.js} +1 -1
- package/dist/cdn/{LR6VDEBR.js → M4OPXH3T.js} +1 -1
- package/dist/cdn/{G7XCRE3X.js → MFJF6OXL.js} +1 -1
- package/dist/cdn/{EXMZUQW5.js → MWVSVTGT.js} +1 -1
- package/dist/cdn/{Q5T633MH.js → N2ROUAUM.js} +1 -1
- package/dist/cdn/{GTDHYS64.js → NGCFEPQE.js} +1 -1
- package/dist/cdn/{3TYPFWRB.js → NM3YBQUM.js} +1 -1
- package/dist/cdn/{K344PR7N.js → NOOFAZCT.js} +1 -1
- package/dist/cdn/{VZPEYWYR.js → NWTG35WX.js} +1 -1
- package/dist/cdn/{7CXQ3R3O.js → NZS3YVIT.js} +1 -1
- package/dist/cdn/{SEDPMCMZ.js → OC2DD3AB.js} +1 -1
- package/dist/cdn/{JGU6J5IA.js → P5Q3LVYT.js} +1 -1
- package/dist/cdn/{AI3I2TOG.js → QMD2WK5F.js} +1 -1
- package/dist/cdn/{XYOCI4UP.js → QQSP7HQH.js} +1 -1
- package/dist/cdn/{TER4MTK6.js → RNTJMF4O.js} +1 -1
- package/dist/cdn/SENL26AU.js +3 -0
- package/dist/cdn/{T2FOSTMH.js → SIUUQBL4.js} +1 -1
- package/dist/cdn/{YIQVAISO.js → SXD7ZWLW.js} +1 -1
- package/dist/cdn/{MZDSTI7I.js → TP5EQUBD.js} +1 -1
- package/dist/cdn/{PFKPNZ5Q.js → TRJ6EQRD.js} +1 -1
- package/dist/cdn/{4HGP3Y4K.js → U3LEZXNT.js} +1 -1
- package/dist/cdn/{CF35YGUK.js → ULXATJK5.js} +1 -1
- package/dist/cdn/{TZ73WV5T.js → UME5GDA2.js} +1 -1
- package/dist/cdn/{4FBEUQIB.js → USM62FP5.js} +1 -1
- package/dist/cdn/VFC4CM23.js +2 -0
- package/dist/cdn/{2CFQ6EQE.js → VJYMTG4U.js} +1 -1
- package/dist/cdn/{GEKZO6V7.js → VRE7NUZ2.js} +1 -1
- package/dist/cdn/{2H3VIDNQ.js → WMPUJYLT.js} +1 -1
- package/dist/cdn/{BPVYL3DJ.js → XC7LLCVS.js} +1 -1
- package/dist/cdn/{CI7CDZL3.js → XCILPMDZ.js} +1 -1
- package/dist/cdn/{42736UND.js → XKDPK7SD.js} +1 -1
- package/dist/cdn/{3P3PF3BO.js → XTDFTH5X.js} +1 -1
- package/dist/cdn/{ZIAMLGUC.js → XTUL7OCR.js} +1 -1
- package/dist/cdn/{BJ6JU4AF.js → Y6I6QW4M.js} +1 -1
- package/dist/cdn/{KV4JOMXV.js → YMOLIY64.js} +1 -1
- package/dist/cdn/{XGFCUKM7.js → Z6H6J4QH.js} +1 -1
- package/dist/cdn/{RTUAITMO.js → ZDQANIMG.js} +1 -1
- package/dist/cdn/{C7XBKLRJ.js → ZVFUYLAQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +45 -27
- package/dist/chunks/cardFetchingUtils.js +7 -7
- package/dist/chunks/cardsHelpers.js +5 -5
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/{interfaces.js → helpers.js} +196 -195
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +38 -37
- package/dist/components/arcgis-solutions-assistant/customElement.js +14 -14
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +5 -5
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +4 -4
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +4 -4
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-user-avatar/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +4 -1
- package/dist/components/solutions-filter-panel/customElement.js +13 -11
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- 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.js +1 -1
- package/dist/solutions-components_commit.txt +5 -8
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/dist/utils/Auth.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/5GYYSZKG.js +0 -2
- package/dist/cdn/CPMMNWOL.js +0 -3
- package/dist/cdn/JE4LGN6P.js +0 -2
- package/dist/cdn/OVKFYACI.js +0 -2
- package/dist/cdn/TM75STGN.js +0 -2
|
@@ -5,7 +5,7 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as n, nothing as s } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as m } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as z } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import {
|
|
8
|
+
import { H as v, T as d } from "../../chunks/helpers.js";
|
|
9
9
|
const H = o`calcite-card{cursor:pointer;height:100%;padding-bottom:2px;border-inline-start:3px solid transparent}calcite-card:hover{outline:1px solid var(--calcite-color-brand);border-inline-start:3px solid var(--calcite-color-brand);box-sizing:border-box}.card-icon{margin-bottom:var(--calcite-spacing-md);display:flex;justify-content:flex-start}.card-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-sm) 0;color:var(--calcite-color-text-1)}.card-description{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);margin:0}.meridian-icon{width:48px;height:48px;display:block;color:var(--calcite-color-text-3)}`, c = {
|
|
10
10
|
"arcmap-blog": "M34 28.9H10v-.8h24zm-24 5h20v-.8H10zm31.591-20.8l-.8.8H45.1v25.2H18.583l-9.817 4.245 1.823-4.245H3.9V13.9h22.665l.8-.8H3.1v26.8h6.274l-2.142 4.986L18.666 39.9H45.9V13.1zm-.953-5.141l.449 2.676L32.6 19.12l-.567-.565 8.195-8.196-.286-1.708L24.09 24.476a1.82 1.82 0 0 1-.689.431l-3.52 1.22 1.213-3.525a1.832 1.832 0 0 1 .431-.692L42.461.989l2.578 2.577zm3.268-4.394L42.461 2.12 22.09 22.475a1.036 1.036 0 0 0-.242.388l-.678 1.97 1.968-.682a1.018 1.018 0 0 0 .384-.24z",
|
|
11
11
|
"esri-community": "M24 47.896a3.897 3.897 0 0 1-1.563-.327L3.1 39.106V12.928a6.169 6.169 0 0 1 3.696-5.651L22.436.43a3.905 3.905 0 0 1 3.128 0L44.9 8.894v26.178a6.17 6.17 0 0 1-3.696 5.651l-15.64 6.846a3.897 3.897 0 0 1-1.564.327zM3.9 38.583l18.857 8.254a3.11 3.11 0 0 0 2.486 0l15.64-6.846a5.37 5.37 0 0 0 3.217-4.92V9.418L25.243 1.163a3.11 3.11 0 0 0-2.486 0L7.117 8.01A5.369 5.369 0 0 0 3.9 12.928zm21.364.344a14.156 14.156 0 0 1-14.17-14.111 13.678 13.678 0 0 1 16.893-13.26l.387.103-1.164 4.336-.389-.107a8.052 8.052 0 0 0-2.141-.282 8.907 8.907 0 0 0-8.74 8.838 9.303 9.303 0 0 0 15.277 7.075.809.809 0 0 1 1.104.062l2.451 2.57a.808.808 0 0 1-.047 1.161 14.213 14.213 0 0 1-9.461 3.615zm-.559-27a12.956 12.956 0 0 0-12.81 12.889 13.375 13.375 0 0 0 22.298 9.899L31.73 32.13a10.103 10.103 0 0 1-16.591-7.687 9.718 9.718 0 0 1 9.54-9.637 8.982 8.982 0 0 1 1.965.212l.748-2.787a11.953 11.953 0 0 0-2.687-.305zM36 26.9H24a3.905 3.905 0 0 1-3.9-3.9.901.901 0 0 1 .9-.9h10.84a7.77 7.77 0 0 0-1.875-4.15l-.131-.158 1.332-5.01.475.357a13.413 13.413 0 0 1 5.26 10.705V26a.901.901 0 0 1-.901.9zm-15-4a.1.1 0 0 0-.1.1 3.103 3.103 0 0 0 3.1 3.1h12a.1.1 0 0 0 .1-.1v-2.156a12.643 12.643 0 0 0-4.47-9.693l-.918 3.451a8.135 8.135 0 0 1 1.95 4.898v.4z",
|
|
@@ -3,7 +3,7 @@ import { c as n } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { u as c } from "../../chunks/useT9n.js";
|
|
4
4
|
import { LitElement as l, nothing as a } from "@arcgis/lumina";
|
|
5
5
|
import { useContextConsumer as d } from "@arcgis/lumina/context";
|
|
6
|
-
import {
|
|
6
|
+
import { H as h, J as r } from "../../chunks/helpers.js";
|
|
7
7
|
import { c as p } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { css as g, html as i } from "lit";
|
|
9
9
|
import "@esri/solution-common";
|
|
@@ -5,7 +5,7 @@ import { u as g } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, nothing as h, safeStyleMap as l } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as b } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as x } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import { T as w,
|
|
8
|
+
import { T as w, K as y } from "../../chunks/helpers.js";
|
|
9
9
|
import { createRef as n, ref as r } from "lit-html/directives/ref.js";
|
|
10
10
|
import * as $ from "@arcgis/core/intl";
|
|
11
11
|
import k from "@arcgis/core/request";
|
|
@@ -5,7 +5,7 @@ import { useContextConsumer as n } from "@arcgis/lumina/context";
|
|
|
5
5
|
import { c as l } from "../../chunks/deployAppContexts.js";
|
|
6
6
|
import { restGetUser as s } from "@esri/solution-common";
|
|
7
7
|
import { css as r, html as u } from "lit";
|
|
8
|
-
import {
|
|
8
|
+
import { G as c } from "../../chunks/helpers.js";
|
|
9
9
|
const m = r`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.avatar-container{align-items:center;display:flex;flex-direction:row;padding-top:var(--calcite-spacing-lg)}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}`;
|
|
10
10
|
class f extends o {
|
|
11
11
|
constructor() {
|
|
@@ -4,7 +4,7 @@ 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, T as _,
|
|
7
|
+
import { a as u, T as _, L as w, H as x, B as T, d as E, e as b } from "../../chunks/helpers.js";
|
|
8
8
|
import { C as g, g as A } from "../../chunks/cardFetchingUtils.js";
|
|
9
9
|
import { b as D } from "../../chunks/cardsHelpers.js";
|
|
10
10
|
import { c as I } from "../../chunks/deployAppContexts.js";
|
|
@@ -6,7 +6,7 @@ import { LitElement as _, createEvent as m, safeClassMap as o, safeStyleMap as r
|
|
|
6
6
|
import { useContextConsumer as c } from "@arcgis/lumina/context";
|
|
7
7
|
import { css as b, html as s } from "lit";
|
|
8
8
|
import { c as v, i as y } from "../../chunks/deployAppContexts.js";
|
|
9
|
-
import { e as d, d as h, T as p } from "../../chunks/
|
|
9
|
+
import { e as d, d as h, T as p } from "../../chunks/helpers.js";
|
|
10
10
|
import { createRef as n, ref as a } from "lit/directives/ref.js";
|
|
11
11
|
import "../solutions-filter-panel/customElement.js";
|
|
12
12
|
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)}`;
|
|
@@ -4,7 +4,7 @@ import { css as f, html as b } from "lit";
|
|
|
4
4
|
import { u as v } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as C, createEvent as n, safeClassMap as p } from "@arcgis/lumina";
|
|
6
6
|
import { T as _ } from "../../chunks/solutions-deploy-app-nav.js";
|
|
7
|
-
import { a as S,
|
|
7
|
+
import { a as S, D as w, B as D, e as F, T as c } from "../../chunks/helpers.js";
|
|
8
8
|
import { createRef as o, ref as l } from "lit-html/directives/ref.js";
|
|
9
9
|
import { C as y, g as x } from "../../chunks/cardFetchingUtils.js";
|
|
10
10
|
import { useContextProvider as T } from "@arcgis/lumina/context";
|
|
@@ -14,6 +14,7 @@ import "@esri/solution-common";
|
|
|
14
14
|
import "@arcgis/core/identity/IdentityManager.js";
|
|
15
15
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
16
16
|
import "@arcgis/core/portal/Portal.js";
|
|
17
|
+
import "@arcgis/core/intl.js";
|
|
17
18
|
import { _ as A } from "../../chunks/solution-deploy-dialog.js";
|
|
18
19
|
import "../solutions-all-shell/customElement.js";
|
|
19
20
|
import "../solutions-deployed-shell/customElement.js";
|
|
@@ -4,7 +4,7 @@ import "../../chunks/useT9n.js";
|
|
|
4
4
|
import "@arcgis/lumina";
|
|
5
5
|
import { S as n } from "../../chunks/solutions-deploy-app-nav.js";
|
|
6
6
|
import "../../chunks/Auth.js";
|
|
7
|
-
import "../../chunks/
|
|
7
|
+
import "../../chunks/helpers.js";
|
|
8
8
|
import "lit-html/directives/ref.js";
|
|
9
9
|
import "@esri/solution-common";
|
|
10
10
|
import "../../chunks/deployAppContexts.js";
|
|
@@ -7,7 +7,7 @@ import { useContextConsumer as x } from "@arcgis/lumina/context";
|
|
|
7
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
|
-
import { B as h, T as n,
|
|
10
|
+
import { B as h, T as n, L as S, c as D } from "../../chunks/helpers.js";
|
|
11
11
|
const F = 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-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)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
|
|
12
12
|
class E extends w {
|
|
13
13
|
constructor() {
|
|
@@ -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 { 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 {
|
|
9
|
+
import { H as v } from "../../chunks/helpers.js";
|
|
10
10
|
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}`;
|
|
11
11
|
class x extends h {
|
|
12
12
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { IFilterOption, ISearchOption } from "../../utils/interfaces.js";
|
|
3
|
+
import type { IFilterOption, IFilterSetting, IScopeSearchSortSettings, ISearchOption } from "../../utils/interfaces.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
6
|
export abstract class SolutionsFilterPanel extends LitElement {
|
|
@@ -133,8 +133,11 @@ export abstract class SolutionsFilterPanel extends LitElement {
|
|
|
133
133
|
readonly applyFilter: import("@arcgis/lumina").TargetedEvent<this, IFilterOption[] | IFilterOption | ISearchOption | null>;
|
|
134
134
|
/** Emitted on demand when the close filter button is clicked in mobile */
|
|
135
135
|
readonly toggleFilter: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
136
|
+
/** Emitted on demand when navigating between tabs in the app */
|
|
137
|
+
readonly updateUrlParams: import("@arcgis/lumina").TargetedEvent<this, IScopeSearchSortSettings | IFilterSetting | null>;
|
|
136
138
|
readonly "@eventTypes": {
|
|
137
139
|
applyFilter: SolutionsFilterPanel["applyFilter"]["detail"];
|
|
138
140
|
toggleFilter: SolutionsFilterPanel["toggleFilter"]["detail"];
|
|
141
|
+
updateUrlParams: SolutionsFilterPanel["updateUrlParams"]["detail"];
|
|
139
142
|
};
|
|
140
143
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { repeat as
|
|
5
|
-
import { u as
|
|
6
|
-
import { LitElement as
|
|
3
|
+
import { css as f, html as h } from "lit";
|
|
4
|
+
import { repeat as g } from "lit/directives/repeat.js";
|
|
5
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
6
|
+
import { LitElement as N, createEvent as p, safeClassMap as S } from "@arcgis/lumina";
|
|
7
7
|
import { c as A, i as I } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { useContextConsumer as _ } from "@arcgis/lumina/context";
|
|
9
|
-
import { e as F, d as C, T as O,
|
|
10
|
-
const T =
|
|
9
|
+
import { e as F, d as C, T as O, H as E } from "../../chunks/helpers.js";
|
|
10
|
+
const T = f`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1);--calcite-panel-footer-space: var(--calcite-spacing-sm)}.border-color{--calcite-block-border-color: transparent}calcite-block{margin:0;--calcite-block-content-space: 0}.tree-padding{padding:0 .2rem}.display-none{display:none}`, R = {
|
|
11
11
|
PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
|
|
12
12
|
STATEANDLOCALGOVERNMENT: [
|
|
13
13
|
"AGRICULTURE",
|
|
@@ -33,11 +33,11 @@ const T = y`.width-full{width:100%}calcite-panel{--calcite-panel-background-colo
|
|
|
33
33
|
},
|
|
34
34
|
{}
|
|
35
35
|
);
|
|
36
|
-
class M extends
|
|
36
|
+
class M extends N {
|
|
37
37
|
constructor() {
|
|
38
38
|
super(), this.hideIndustryFilter = !1, this.isAIDialogOpen = !1, this.showReset = !1, this._activeFilterSettings = {
|
|
39
39
|
categories: []
|
|
40
|
-
}, this._isMobile = !1, this._translations =
|
|
40
|
+
}, this._isMobile = !1, this._translations = y({ name: "solutions-filter-panel", blocking: !0 }), this._userFirstName = "", this._configContextConsumer = _({
|
|
41
41
|
context: A,
|
|
42
42
|
subscribe: !0,
|
|
43
43
|
callback: (t) => {
|
|
@@ -47,7 +47,7 @@ class M extends f {
|
|
|
47
47
|
context: I,
|
|
48
48
|
subscribe: !0,
|
|
49
49
|
callback: (t) => this._isMobile = t
|
|
50
|
-
}), this.applyFilter =
|
|
50
|
+
}), this.applyFilter = p(), this.toggleFilter = p(), this.updateUrlParams = p(), this._handleFilterRemoved = (t) => {
|
|
51
51
|
const e = t.detail;
|
|
52
52
|
Array.isArray(e) && (this._activeFilterSettings = {
|
|
53
53
|
...this._activeFilterSettings,
|
|
@@ -63,6 +63,8 @@ class M extends f {
|
|
|
63
63
|
this.isAIDialogOpen = !1;
|
|
64
64
|
}), this.listenOn(window, "openAssistant", () => {
|
|
65
65
|
this.isAIDialogOpen = !0;
|
|
66
|
+
}), this.listenOn(window, "tabChanged", (t) => {
|
|
67
|
+
t.detail === "all-solutions" ? this.updateUrlParams.emit(this._activeFilterSettings) : this.updateUrlParams.emit(null);
|
|
66
68
|
});
|
|
67
69
|
}
|
|
68
70
|
static {
|
|
@@ -138,7 +140,7 @@ class M extends f {
|
|
|
138
140
|
}} round scale=l slot=footer-start></calcite-button><calcite-tooltip reference-element=solutions-assistant-button placement=right slot=footer-start offset-distance=10 open><span>${this._translations.assistant.welcomeTip}</span></calcite-tooltip><arcgis-solutions-assistant .open=${this.isAIDialogOpen} .userFirstName=${this._userFirstName}></arcgis-solutions-assistant>` || ""}</calcite-panel>`;
|
|
139
141
|
}
|
|
140
142
|
renderIndustryBlock() {
|
|
141
|
-
const t = (i, a) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((s) => s.industry === i && (s.domain ?? "") === a), e = (i) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((a) => a.industry === i && (a.domain ?? "") === ""), o = (i, a) => a.length > 0 && (e(i) || this._activeFilterSettings.categories?.some((s) => s.industry === i && !!s.domain && a.includes(s.domain)) === !0), d = (i, a) =>
|
|
143
|
+
const t = (i, a) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((s) => s.industry === i && (s.domain ?? "") === a), e = (i) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((a) => a.industry === i && (a.domain ?? "") === ""), o = (i, a) => a.length > 0 && (e(i) || this._activeFilterSettings.categories?.some((s) => s.industry === i && !!s.domain && a.includes(s.domain)) === !0), d = (i, a) => g(a, (s) => s, (s) => {
|
|
142
144
|
const r = Object.keys(this._translations.industriesDomain).find((l) => l.toUpperCase() === s.toUpperCase()), c = r && r in this._translations.industriesDomain ? this._translations.industriesDomain[r] : s, u = t(i, s);
|
|
143
145
|
return h`<calcite-tree-item .label=${c} @click=${(l) => {
|
|
144
146
|
l.detail !== 0 && this.changeIndustryFilter(i, s, c, !0);
|
|
@@ -147,7 +149,7 @@ class M extends f {
|
|
|
147
149
|
this.changeIndustryFilter(i, s, c, !0);
|
|
148
150
|
});
|
|
149
151
|
}} .selected=${u || void 0}>${c}</calcite-tree-item>`;
|
|
150
|
-
}), n =
|
|
152
|
+
}), n = g(Object.entries(v), ([i, a]) => i, ([i, a]) => {
|
|
151
153
|
const s = this._industryMatchName(i), r = a, c = e(i), u = o(i, r);
|
|
152
154
|
return h`<calcite-tree-item .label=${s} @click=${(l) => {
|
|
153
155
|
l.detail !== 0 && this.changeIndustryFilter(i, "", s, !0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { DeployAppTab, IFilterOption, IScopeSearchSortSettings, ISearchOption, SortType } from "../../utils/interfaces.js";
|
|
3
|
+
import type { DeployAppTab, IFilterOption, IFilterSetting, IScopeSearchSortSettings, ISearchOption, SortType } from "../../utils/interfaces.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
6
|
export abstract class SolutionsSearchSortToolbar extends LitElement {
|
|
@@ -94,7 +94,7 @@ export abstract class SolutionsSearchSortToolbar extends LitElement {
|
|
|
94
94
|
/** Emitted on demand when the filter button is clicked in mobile */
|
|
95
95
|
readonly toggleFilter: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
96
96
|
/** Emitted on demand when navigating between tabs in the app */
|
|
97
|
-
readonly updateUrlParams: import("@arcgis/lumina").TargetedEvent<this, IScopeSearchSortSettings>;
|
|
97
|
+
readonly updateUrlParams: import("@arcgis/lumina").TargetedEvent<this, IScopeSearchSortSettings | IFilterSetting | null>;
|
|
98
98
|
readonly "@eventTypes": {
|
|
99
99
|
searchChanged: SolutionsSearchSortToolbar["searchChanged"]["detail"];
|
|
100
100
|
sortTypeChanged: SolutionsSearchSortToolbar["sortTypeChanged"]["detail"];
|
|
@@ -5,7 +5,7 @@ import { u as g } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as S, createEvent as a, nothing as c } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as h } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as m, i as y } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import { c as d,
|
|
8
|
+
import { c as d, H as l } from "../../chunks/helpers.js";
|
|
9
9
|
const f = u`.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:65px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-brand: transparent;display:grid;block-size:65px;box-sizing:border-box;border-bottom:2px solid transparent}@media(prefers-color-scheme:dark){calcite-input-text:focus{border-bottom:2px solid #009AF2}}@media(prefers-color-scheme:light){calcite-input-text:focus{border-bottom:2px solid #007AC2}}.padding-end-1-2{padding-inline-end:.5rem}`;
|
|
10
10
|
class _ extends S {
|
|
11
11
|
constructor() {
|