@esri/solutions-components 5.1.0-next.100 → 5.1.0-next.101
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/{CEP54NLT.js → 2C4DK6YC.js} +1 -1
- package/dist/cdn/{2HLILJFJ.js → 32CHXOKC.js} +1 -1
- package/dist/cdn/377WBJCF.js +2 -0
- package/dist/cdn/{HHVIWWK2.js → 3N6JSBDY.js} +2 -2
- package/dist/cdn/{TSEG3YWM.js → 3TISGUGU.js} +119 -119
- package/dist/cdn/{E6YARJM2.js → 4CTPT5BL.js} +1 -1
- package/dist/cdn/{VLBW4YNM.js → 4IPMIMO5.js} +1 -1
- package/dist/cdn/{2MK34V3V.js → 52NCESZ3.js} +1 -1
- package/dist/cdn/5HEWMGPZ.js +2 -0
- package/dist/cdn/{IVSYM7YY.js → 5MJRRAR3.js} +1 -1
- package/dist/cdn/{MVYIHKFK.js → 66BZFR5Z.js} +1 -1
- package/dist/cdn/{ULTK7DMM.js → 6GOYDVLJ.js} +1 -1
- package/dist/cdn/{ZS6XB5WK.js → 6GS6GAPJ.js} +1 -1
- package/dist/cdn/{Y3PCMVG7.js → 6YK4PYP4.js} +1 -1
- package/dist/cdn/{76APML4N.js → 76OYXG7R.js} +1 -1
- package/dist/cdn/{2R3HJ764.js → 7HBL3GLY.js} +1 -1
- package/dist/cdn/{LOINOBXI.js → 7NJD2NA4.js} +1 -1
- package/dist/cdn/{Q6XLTRMA.js → 7XZPMBE6.js} +1 -1
- package/dist/cdn/ABL2KXLF.js +2 -0
- package/dist/cdn/AGWF7JS3.js +2 -0
- package/dist/cdn/ANSQV6XB.js +2 -0
- package/dist/cdn/{74OJ22BW.js → AXOVJQ27.js} +1 -1
- package/dist/cdn/{E63XW5PH.js → BEFZMWNT.js} +1 -1
- package/dist/cdn/{2ASJ2RMU.js → BYMRDTAH.js} +1 -1
- package/dist/cdn/{W6E3DYEQ.js → EW4O5UX4.js} +1 -1
- package/dist/cdn/{DJFXVUF7.js → FFUTLAI6.js} +1 -1
- package/dist/cdn/{J3MAWMYQ.js → FMBNUELT.js} +1 -1
- package/dist/cdn/GKT3GU2L.js +2 -0
- package/dist/cdn/{44R32SU3.js → HQELLKEZ.js} +1 -1
- package/dist/cdn/{U77O2MIG.js → IBUNGLNK.js} +1 -1
- package/dist/cdn/{C47FRSF6.js → IND3UUYC.js} +1 -1
- package/dist/cdn/{D5FLGJ5G.js → JL4NGXC2.js} +1 -1
- package/dist/cdn/{V3YTRV33.js → JMVHSWQR.js} +1 -1
- package/dist/cdn/{2PM224B6.js → JUJ5KUGK.js} +1 -1
- package/dist/cdn/{NBPM6OJQ.js → K6MXQSMI.js} +19 -19
- package/dist/cdn/{XKFPWKMX.js → KFUDOMCU.js} +1 -1
- package/dist/cdn/LN4MOERJ.js +2 -0
- package/dist/cdn/{7SJP3QTP.js → NAP64TVV.js} +1 -1
- package/dist/cdn/{7RFQ7MW2.js → NBWWIDDN.js} +1 -1
- package/dist/cdn/OVUYJGIC.js +2 -0
- package/dist/cdn/{GSK7CUMC.js → P6I6DQ26.js} +1 -1
- package/dist/cdn/{OIRNHTN3.js → PCZFIXAY.js} +1 -1
- package/dist/cdn/{KH2WXNMT.js → PTRLHLU7.js} +1 -1
- package/dist/cdn/{UUPARGLA.js → PUKJZLBU.js} +1 -1
- package/dist/cdn/Q6M7TE6U.js +2 -0
- package/dist/cdn/QLCCVERE.js +2 -0
- package/dist/cdn/QUXKMFKN.js +2 -0
- package/dist/cdn/{DHPZIFHE.js → QY5DNKV4.js} +1 -1
- package/dist/cdn/{IEKNRCBC.js → R2DPK4DM.js} +1 -1
- package/dist/cdn/{HM4YDFBC.js → RCDAQADA.js} +1 -1
- package/dist/cdn/{OG6IMWBH.js → RNJB26Y3.js} +1 -1
- package/dist/cdn/{TFZ2AK22.js → RPW7LJQH.js} +1 -1
- package/dist/cdn/RR6KWZJ6.js +2 -0
- package/dist/cdn/{4QJK4LPR.js → S7ZM2RFD.js} +1 -1
- package/dist/cdn/{HNVWONX2.js → SKUGEKDV.js} +1 -1
- package/dist/cdn/{ZYCAAXQF.js → TUMD7SXH.js} +1 -1
- package/dist/cdn/{J75MHJID.js → TXNMM6GI.js} +1 -1
- package/dist/cdn/{CRFLICFH.js → ULMPSDVQ.js} +1 -1
- package/dist/cdn/{X23TE3BV.js → V5CN55C4.js} +1 -1
- package/dist/cdn/VFBHL5I3.js +2 -0
- package/dist/cdn/{6ENQ42XY.js → VFVRYSDK.js} +1 -1
- package/dist/cdn/{3RJKHADA.js → VMGLKQNQ.js} +1 -1
- package/dist/cdn/{VG6ML5VK.js → WBOSBQON.js} +1 -1
- package/dist/cdn/{66NSOJUX.js → WVESDJHN.js} +1 -1
- package/dist/cdn/{DQWJUYMM.js → XF533XOH.js} +1 -1
- package/dist/cdn/{YOAGUXW6.js → XKMN6N5I.js} +1 -1
- package/dist/cdn/{QZRJRLYA.js → XMHHBXM6.js} +1 -1
- package/dist/cdn/XT5YSGV5.js +2 -0
- package/dist/cdn/{AY6K2SJI.js → YVHMD4UA.js} +1 -1
- package/dist/cdn/{R3QHE3VT.js → YZHE6356.js} +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/CardsFetcher.js +287 -0
- package/dist/chunks/cardFetchingUtils.js +22 -304
- package/dist/chunks/cardsHelpers.js +5 -5
- package/dist/chunks/converter.js +72 -28
- package/dist/chunks/downloadUtils.js +246 -235
- package/dist/chunks/helpers.js +38 -43
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/popupUtils.js +2 -2
- package/dist/chunks/queryUtils.js +3 -3
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +8235 -7814
- package/dist/components/buffer-tools/customElement.d.ts +4 -3
- package/dist/components/card-manager/customElement.d.ts +4 -3
- package/dist/components/consent-manager/customElement.d.ts +2 -2
- package/dist/components/create-feature/customElement.d.ts +2 -2
- package/dist/components/create-feature/customElement.js +13 -13
- package/dist/components/create-related-feature/customElement.d.ts +6 -4
- package/dist/components/create-related-feature/customElement.js +2 -2
- package/dist/components/crowdsource-reporter/customElement.d.ts +2 -2
- package/dist/components/crowdsource-reporter/customElement.js +4 -4
- package/dist/components/delete-button/customElement.d.ts +2 -2
- package/dist/components/delete-dialog/customElement.d.ts +2 -2
- package/dist/components/edit-card/customElement.d.ts +7 -5
- package/dist/components/edit-card/customElement.js +2 -2
- package/dist/components/feature-details/customElement.d.ts +7 -6
- package/dist/components/feature-details/customElement.js +2 -2
- package/dist/components/feature-list/customElement.d.ts +4 -3
- package/dist/components/feature-list/customElement.js +3 -3
- package/dist/components/field-selection/customElement.d.ts +6 -4
- package/dist/components/info-card/customElement.d.ts +6 -5
- package/dist/components/info-card/customElement.js +2 -2
- package/dist/components/layer-list/customElement.d.ts +2 -2
- package/dist/components/layer-list/customElement.js +2 -2
- package/dist/components/layer-list-widget/customElement.d.ts +4 -3
- package/dist/components/layer-list-widget/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +4 -3
- package/dist/components/layer-table/customElement.js +5 -5
- package/dist/components/map-basemap-gallery/customElement.d.ts +4 -3
- package/dist/components/map-basemap-gallery/customElement.js +2 -2
- package/dist/components/map-card/customElement.d.ts +7 -5
- package/dist/components/map-card/customElement.js +4 -4
- package/dist/components/map-draw-tools/customElement.d.ts +10 -6
- package/dist/components/map-draw-tools/customElement.js +3 -3
- package/dist/components/map-floor-filter/customElement.d.ts +4 -3
- package/dist/components/map-floor-filter/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.d.ts +4 -3
- package/dist/components/map-fullscreen/customElement.js +2 -2
- package/dist/components/map-layer-picker/customElement.d.ts +2 -2
- package/dist/components/map-legend/customElement.d.ts +4 -3
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-search/customElement.d.ts +4 -3
- package/dist/components/map-search/customElement.js +2 -2
- package/dist/components/map-select-tools/customElement.d.ts +13 -8
- package/dist/components/map-select-tools/customElement.js +5 -5
- package/dist/components/map-tools/customElement.d.ts +6 -4
- package/dist/components/map-tools/customElement.js +2 -2
- package/dist/components/pdf-download/customElement.d.ts +3 -3
- package/dist/components/public-notification/customElement.d.ts +10 -6
- package/dist/components/public-notification/customElement.js +154 -70
- package/dist/components/refine-selection/customElement.d.ts +15 -9
- package/dist/components/refine-selection/customElement.js +2 -2
- package/dist/components/selection-tool/customElement.d.ts +2 -2
- package/dist/components/selection-tool/customElement.js +2 -2
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +2 -2
- package/dist/components/solution-details-card/customElement.js +26 -26
- package/dist/components/solution-details-panel/customElement.js +57 -57
- package/dist/components/solution-item-accordion/customElement.js +6 -7
- 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 +2 -2
- package/dist/components/solutions-all-panel/customElement.js +6 -5
- package/dist/components/solutions-deploy-app/customElement.js +2 -1
- package/dist/components/solutions-deployed-list/customElement.d.ts +8 -6
- package/dist/components/solutions-deployed-list/customElement.js +36 -19
- package/dist/components/solutions-deployed-list/index.js +2 -0
- package/dist/components/solutions-deployed-panel/customElement.js +8 -7
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- 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/loader.js +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/Auth.d.ts +2 -2
- package/dist/utils/interfaces.d.ts +27 -27
- package/package.json +1 -1
- package/dist/cdn/5AGYVY7S.js +0 -2
- package/dist/cdn/AWQQ3CNF.js +0 -2
- package/dist/cdn/C6KN2U7N.js +0 -2
- package/dist/cdn/DOK6WZN3.js +0 -2
- package/dist/cdn/DRXERUDE.js +0 -2
- package/dist/cdn/ESBPGZRY.js +0 -2
- package/dist/cdn/J6LCEXM3.js +0 -2
- package/dist/cdn/J6MVIDTT.js +0 -2
- package/dist/cdn/JSJWGKKI.js +0 -2
- package/dist/cdn/LEBQMVF6.js +0 -2
- package/dist/cdn/MVJVKXZM.js +0 -2
- package/dist/cdn/MZXEOLNG.js +0 -2
- package/dist/cdn/NM7MKM5L.js +0 -2
- /package/dist/cdn/{HMKJYAVE.js → 2KSTM3IP.js} +0 -0
- /package/dist/cdn/{J5FYHTE4.js → 6S56JAXB.js} +0 -0
- /package/dist/cdn/{6WQK4DHL.js → 7JOL6EOJ.js} +0 -0
- /package/dist/cdn/{ZDLTST3A.js → FB2RD4BK.js} +0 -0
- /package/dist/cdn/{3JGLETSR.js → IRQKL5IM.js} +0 -0
- /package/dist/cdn/{34EUIYLN.js → ITM5SR7G.js} +0 -0
- /package/dist/cdn/{6MP2RVUK.js → SITXFSGP.js} +0 -0
- /package/dist/cdn/{QAMVNRII.js → W5VSVSIV.js} +0 -0
- /package/dist/cdn/{YVNP437O.js → WV7QX3ED.js} +0 -0
- /package/dist/cdn/{6IIMJC5D.js → XMLWS6XC.js} +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type * as portal from "@esri/arcgis-rest-portal";
|
|
3
|
+
import type * as common from "@esri/solution-common";
|
|
2
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type {
|
|
5
|
+
import type { IDeployCard } from "../../utils/interfaces.js";
|
|
4
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
7
|
|
|
6
8
|
export abstract class SolutionsDeployedList extends LitElement {
|
|
@@ -11,8 +13,6 @@ export abstract class SolutionsDeployedList extends LitElement {
|
|
|
11
13
|
* @internal
|
|
12
14
|
*/
|
|
13
15
|
protected _translations: { deployedVersion: string; } & T9nMeta<{ deployedVersion: string; }>;
|
|
14
|
-
/** All the solution cards */
|
|
15
|
-
accessor cards: ISolutionItemMiniContext[];
|
|
16
16
|
/**
|
|
17
17
|
* Should the content be linkable
|
|
18
18
|
*
|
|
@@ -25,9 +25,11 @@ export abstract class SolutionsDeployedList extends LitElement {
|
|
|
25
25
|
* @default ''
|
|
26
26
|
*/
|
|
27
27
|
accessor listTitle: string;
|
|
28
|
-
/**
|
|
29
|
-
|
|
28
|
+
/** The results of a dependency query */
|
|
29
|
+
accessor results: portal.ISearchResult<common.IItem> | null;
|
|
30
|
+
/** Emitted on demand when the details card is selected. */
|
|
31
|
+
readonly deployedCardSelected: import("@arcgis/lumina").TargetedEvent<this, IDeployCard>;
|
|
30
32
|
readonly "@eventTypes": {
|
|
31
|
-
|
|
33
|
+
deployedCardSelected: SolutionsDeployedList["deployedCardSelected"]["detail"];
|
|
32
34
|
};
|
|
33
35
|
}
|
|
@@ -1,38 +1,55 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { u as
|
|
5
|
-
import { LitElement as n, createEvent as
|
|
6
|
-
import { c
|
|
7
|
-
import { useContextConsumer as
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as l, html as i } from "lit";
|
|
4
|
+
import { u as o } from "../../chunks/useT9n.js";
|
|
5
|
+
import { LitElement as n, createEvent as r } from "@arcgis/lumina";
|
|
6
|
+
import { c } from "../../chunks/deployAppContexts.js";
|
|
7
|
+
import { useContextConsumer as a } from "@arcgis/lumina/context";
|
|
8
|
+
import { C as d } from "../../chunks/CardsFetcher.js";
|
|
9
|
+
import "@esri/solution-common";
|
|
10
|
+
import { s as u } from "../../chunks/helpers.js";
|
|
11
|
+
const m = l`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`;
|
|
12
|
+
class f extends n {
|
|
10
13
|
constructor() {
|
|
11
|
-
super(), this.
|
|
12
|
-
context:
|
|
14
|
+
super(), this.results = null, this.hasLinks = !1, this.listTitle = "", this._translations = o({ name: "solutions-deployed-list", blocking: !0 }), this._cardsFetcher = null, this._configContextConsumer = a({
|
|
15
|
+
context: c,
|
|
13
16
|
subscribe: !0
|
|
14
|
-
}), this.
|
|
17
|
+
}), this.deployedCardSelected = r();
|
|
15
18
|
}
|
|
16
19
|
static {
|
|
17
|
-
this.properties = {
|
|
20
|
+
this.properties = { results: 0, hasLinks: 5, listTitle: 1, _translations: 16, _cardsFetcher: 16 };
|
|
18
21
|
}
|
|
19
22
|
static {
|
|
20
|
-
this.styles =
|
|
23
|
+
this.styles = m;
|
|
24
|
+
}
|
|
25
|
+
async load() {
|
|
26
|
+
if (this._configContextConsumer?.value) {
|
|
27
|
+
const t = this._configContextConsumer.value;
|
|
28
|
+
this._cardsFetcher = new d(t.locale, t.orgUrl, t.portalURL);
|
|
29
|
+
}
|
|
21
30
|
}
|
|
22
31
|
disconnectedCallback() {
|
|
23
32
|
super.disconnectedCallback();
|
|
24
33
|
}
|
|
25
34
|
render() {
|
|
26
|
-
return this.
|
|
35
|
+
return this.results ? i`${this.listTitle !== "" && i`<div>${this.listTitle}</div>` || ""}<calcite-list label="dependency list">${this._renderCards()}</calcite-list>` : i`<div class="no-solutions"></div>`;
|
|
27
36
|
}
|
|
28
37
|
_renderCards() {
|
|
29
|
-
|
|
38
|
+
if (this._cardsFetcher && this.results) {
|
|
39
|
+
const t = { ...this.results };
|
|
40
|
+
return t.results = u(t.results), this._cardsFetcher.getCardsFromResponse(t).map((e) => i`<calcite-list-item .label=${e.title} @calciteListItemSelect=${() => {
|
|
41
|
+
this._cardSelected(e);
|
|
42
|
+
}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${this.hasLinks ? "underline" : ""}`}>${e.title}</div><div class="solution-list-item-description">${`${this._translations.deployedVersion} ${e.deployVersion} - ${new Date(e.created).toLocaleDateString(this._configContextConsumer.value?.locale, { year: "numeric", month: "long", day: "numeric" })}`}</div></div></calcite-list-item>`);
|
|
43
|
+
}
|
|
44
|
+
return [];
|
|
30
45
|
}
|
|
31
|
-
|
|
32
|
-
|
|
46
|
+
_cardSelected(t) {
|
|
47
|
+
this.deployedCardSelected.emit({
|
|
48
|
+
card: t
|
|
49
|
+
});
|
|
33
50
|
}
|
|
34
51
|
}
|
|
35
|
-
|
|
52
|
+
s("solutions-deployed-list", f);
|
|
36
53
|
export {
|
|
37
|
-
|
|
54
|
+
f as SolutionsDeployedList
|
|
38
55
|
};
|
|
@@ -5,15 +5,16 @@ 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";
|
|
7
7
|
import { createRef as T, ref as d } from "lit/directives/ref.js";
|
|
8
|
-
import { C as c
|
|
9
|
-
import { c as
|
|
10
|
-
import { B as h, T as n, c as
|
|
11
|
-
import {
|
|
8
|
+
import { C as c } from "../../chunks/CardsFetcher.js";
|
|
9
|
+
import { c as v } from "../../chunks/deployAppContexts.js";
|
|
10
|
+
import { B as h, T as n, c as b } from "../../chunks/interfaces.js";
|
|
11
|
+
import { g as S } from "../../chunks/cardFetchingUtils.js";
|
|
12
|
+
import { l as F, j as D } from "../../chunks/helpers.js";
|
|
12
13
|
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;
|
|
13
14
|
class R extends w {
|
|
14
15
|
constructor() {
|
|
15
16
|
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({
|
|
16
|
-
context:
|
|
17
|
+
context: v,
|
|
17
18
|
subscribe: !0,
|
|
18
19
|
callback: async (e) => {
|
|
19
20
|
e && (this._initCardsFetchers(), await this._getDeployedSolutions());
|
|
@@ -81,7 +82,7 @@ class R extends w {
|
|
|
81
82
|
}
|
|
82
83
|
if (Object.keys(e).indexOf("filter") > -1) {
|
|
83
84
|
const t = e;
|
|
84
|
-
this._owner = t.filter ===
|
|
85
|
+
this._owner = t.filter === b.ORG ? "My organization's solutions" : "My solutions";
|
|
85
86
|
}
|
|
86
87
|
} else
|
|
87
88
|
this._agoTerms = this._baseAgoTerms, this._clearFilterCategories();
|
|
@@ -152,7 +153,7 @@ class R extends w {
|
|
|
152
153
|
if (e.IsSignedIn) {
|
|
153
154
|
this._abortController ? (this._abortController.abort("redundant request"), this._abortController = new AbortController()) : this._abortController = new AbortController(), this._cardsFetching = !0;
|
|
154
155
|
try {
|
|
155
|
-
const t = await
|
|
156
|
+
const t = await S(e, this._configContextConsumer.value.userSession, this._cardsFetcher, this._cardsFetcherDeployed, this._agoTerms, this._sortField, this._sortOrder, this._delay, this._categories, this._allCards, this._abortController.signal, this._owner);
|
|
156
157
|
this._abortController = void 0, this._modifiedCheckTry > 0 && (this._cards?.length === t?.cards?.length ? (this._modifiedCheckTry--, this._getDeployedSolutions()) : this._modifiedCheckTry = 0), this._cards = t?.cards ?? [], this.deployedCardsFetched.emit(this._cards.length), this._cardsFetching = !1;
|
|
157
158
|
} catch (t) {
|
|
158
159
|
t.message !== "redundant request" && console.warn(t);
|
|
@@ -6,7 +6,7 @@ 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 {
|
|
9
|
+
import { j as v, k as m } from "../../chunks/helpers.js";
|
|
10
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() {
|
|
@@ -6,7 +6,7 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { LitElement as S, createEvent as p, safeClassMap as f } from "@arcgis/lumina";
|
|
7
7
|
import { c as C, i as I } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { useContextConsumer as _ } from "@arcgis/lumina/context";
|
|
9
|
-
import {
|
|
9
|
+
import { k as E } from "../../chunks/helpers.js";
|
|
10
10
|
import { e as F, d as A } from "../../chunks/interfaces.js";
|
|
11
11
|
const R = y`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2);--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}`, v = {
|
|
12
12
|
PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
|
|
@@ -5,7 +5,7 @@ import { u as g } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, createEvent as a, nothing as c } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as h } from "@arcgis/lumina/context";
|
|
7
7
|
import { c as S, i as y } from "../../chunks/deployAppContexts.js";
|
|
8
|
-
import {
|
|
8
|
+
import { k as l } from "../../chunks/helpers.js";
|
|
9
9
|
import { c as p } from "../../chunks/interfaces.js";
|
|
10
10
|
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}`;
|
|
11
11
|
class _ extends m {
|