@esri/solutions-components 5.1.0-next.100 → 5.1.0-next.102
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/24OJQL75.js +2 -0
- package/dist/cdn/2AXKBNIN.js +2 -0
- package/dist/cdn/{CEP54NLT.js → 2C4DK6YC.js} +1 -1
- package/dist/cdn/2HGZUNIC.js +2 -0
- package/dist/cdn/{E63XW5PH.js → 3NPBN2B4.js} +1 -1
- package/dist/cdn/{HHVIWWK2.js → 45UNI2VP.js} +2 -2
- package/dist/cdn/4SPIPOYO.js +2 -0
- package/dist/cdn/5LX6ROQC.js +384 -0
- package/dist/cdn/64ZLSOK3.js +2 -0
- package/dist/cdn/{MVYIHKFK.js → 66BZFR5Z.js} +1 -1
- package/dist/cdn/{ULTK7DMM.js → 6GOYDVLJ.js} +1 -1
- package/dist/cdn/{IVSYM7YY.js → 6UTDTBHM.js} +1 -1
- package/dist/cdn/{76APML4N.js → 76OYXG7R.js} +1 -1
- package/dist/cdn/{XKFPWKMX.js → 7EPZDMA2.js} +1 -1
- package/dist/cdn/{7SJP3QTP.js → 7SFTLJTV.js} +1 -1
- package/dist/cdn/7X5K32QE.js +2 -0
- package/dist/cdn/{AY6K2SJI.js → A2SX6EF7.js} +1 -1
- package/dist/cdn/{2MK34V3V.js → ADTHTFGI.js} +1 -1
- package/dist/cdn/{IEKNRCBC.js → AFMPPVMO.js} +1 -1
- package/dist/cdn/{TFZ2AK22.js → ANZVLZYR.js} +1 -1
- package/dist/cdn/{VG6ML5VK.js → AO3QYZNQ.js} +1 -1
- package/dist/cdn/AOTEIDXK.js +2 -0
- package/dist/cdn/{X23TE3BV.js → AYO5GP4M.js} +1 -1
- package/dist/cdn/{DHPZIFHE.js → B4EWPUMU.js} +1 -1
- package/dist/cdn/{74OJ22BW.js → BELRJU3A.js} +1 -1
- package/dist/cdn/{ZS6XB5WK.js → BYU5RVVM.js} +1 -1
- package/dist/cdn/{J3MAWMYQ.js → CNY6H6U2.js} +1 -1
- package/dist/cdn/{44R32SU3.js → CZZN3R4F.js} +1 -1
- package/dist/cdn/{ZYCAAXQF.js → DINEURA2.js} +1 -1
- package/dist/cdn/{W6E3DYEQ.js → EW4O5UX4.js} +1 -1
- package/dist/cdn/{E6YARJM2.js → G4OMMOS4.js} +1 -1
- package/dist/cdn/GKT3GU2L.js +2 -0
- package/dist/cdn/GU4QAZMD.js +2 -0
- package/dist/cdn/{7RFQ7MW2.js → IGIHPCRS.js} +1 -1
- package/dist/cdn/{CRFLICFH.js → IIOO4ABM.js} +1 -1
- package/dist/cdn/{V3YTRV33.js → JMVHSWQR.js} +1 -1
- package/dist/cdn/JPJ2PWRJ.js +2 -0
- package/dist/cdn/{2PM224B6.js → JUJ5KUGK.js} +1 -1
- package/dist/cdn/{UUPARGLA.js → LYNVZ7EL.js} +1 -1
- package/dist/cdn/{NBPM6OJQ.js → MSEGWVWC.js} +19 -19
- package/dist/cdn/{66NSOJUX.js → MT2QHKUQ.js} +1 -1
- package/dist/cdn/{DJFXVUF7.js → N3FJFS6W.js} +1 -1
- package/dist/cdn/{GSK7CUMC.js → NBJK6Z7L.js} +1 -1
- package/dist/cdn/{R3QHE3VT.js → O5PAINAH.js} +1 -1
- package/dist/cdn/O7TCCL6B.js +2 -0
- package/dist/cdn/P2QWXLFJ.js +2 -0
- package/dist/cdn/{Q6XLTRMA.js → P76UNULK.js} +1 -1
- package/dist/cdn/{OIRNHTN3.js → PCZFIXAY.js} +1 -1
- package/dist/cdn/{OG6IMWBH.js → PDE6N2YM.js} +1 -1
- package/dist/cdn/{U77O2MIG.js → PQPNCADS.js} +1 -1
- package/dist/cdn/{KH2WXNMT.js → RQIBNHBN.js} +1 -1
- package/dist/cdn/{4QJK4LPR.js → S7ZM2RFD.js} +1 -1
- package/dist/cdn/{HNVWONX2.js → SKUGEKDV.js} +1 -1
- package/dist/cdn/{2ASJ2RMU.js → SR53JCI4.js} +1 -1
- package/dist/cdn/{LOINOBXI.js → TDY54Z67.js} +1 -1
- package/dist/cdn/{2HLILJFJ.js → TS7GYVPR.js} +1 -1
- package/dist/cdn/{HM4YDFBC.js → TWO6FJHP.js} +1 -1
- package/dist/cdn/UUGWRXGN.js +2 -0
- package/dist/cdn/{Y3PCMVG7.js → UUMJMH3T.js} +1 -1
- package/dist/cdn/VB5C4Z27.js +2 -0
- package/dist/cdn/VK6ZOC6A.js +2 -0
- package/dist/cdn/WNH3PY6X.js +2 -0
- package/dist/cdn/{J75MHJID.js → WU7QCA5H.js} +1 -1
- package/dist/cdn/{VLBW4YNM.js → WZ22NICV.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/{RG2D7ZRS.js → Y2ROEEOX.js} +2 -2
- package/dist/cdn/{D5FLGJ5G.js → YXJJ5QPI.js} +1 -1
- package/dist/cdn/{3RJKHADA.js → ZPOWEU76.js} +1 -1
- package/dist/cdn/{6ENQ42XY.js → ZT5TOVYM.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.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.en.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.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/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.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 +6 -6
- 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.d.ts +2 -0
- package/dist/components/arcgis-solutions-assistant/customElement.js +9725 -8601
- 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-builder-assistant/customElement.js +57 -57
- 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.d.ts +2 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +51 -39
- package/dist/components/solution-details-card/customElement.js +26 -26
- package/dist/components/solution-details-panel/customElement.js +67 -63
- package/dist/components/solution-item-accordion/customElement.js +7 -8
- 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 +3 -2
- package/dist/components/solutions-deployed-list/customElement.d.ts +10 -6
- package/dist/components/solutions-deployed-list/customElement.js +40 -18
- 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 +3 -3
- package/dist/solutions-components_commit.txt +7 -7
- 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/2R3HJ764.js +0 -2
- package/dist/cdn/5AGYVY7S.js +0 -2
- package/dist/cdn/AWQQ3CNF.js +0 -2
- package/dist/cdn/C47FRSF6.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/TSEG3YWM.js +0 -359
- /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,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
3
|
+
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
3
4
|
import type { DistanceUnit, IValueChange } from "../../utils/interfaces.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -37,7 +38,7 @@ export abstract class BufferTools extends LitElement {
|
|
|
37
38
|
*/
|
|
38
39
|
accessor distance: number;
|
|
39
40
|
/** esri/geometry/Geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html */
|
|
40
|
-
accessor geometries:
|
|
41
|
+
accessor geometries: Geometry[];
|
|
41
42
|
/**
|
|
42
43
|
* number: The component's maximum selectable value.
|
|
43
44
|
*
|
|
@@ -76,7 +77,7 @@ export abstract class BufferTools extends LitElement {
|
|
|
76
77
|
*/
|
|
77
78
|
getTranslatedUnit(unit: string): Promise<string>;
|
|
78
79
|
/** Emitted on demand when a buffer is generated. */
|
|
79
|
-
readonly bufferComplete: import("@arcgis/lumina").TargetedEvent<this,
|
|
80
|
+
readonly bufferComplete: import("@arcgis/lumina").TargetedEvent<this, Polygon | Polygon[] | undefined>;
|
|
80
81
|
/** Emitted on demand when the distance value changes */
|
|
81
82
|
readonly distanceChanged: import("@arcgis/lumina").TargetedEvent<this, IValueChange>;
|
|
82
83
|
/** Emitted on demand when the unit changes */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
6
|
|
|
@@ -63,9 +64,9 @@ export abstract class CardManager extends LitElement {
|
|
|
63
64
|
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
|
64
65
|
* Should be a layer or table
|
|
65
66
|
*/
|
|
66
|
-
accessor layerOrTable:
|
|
67
|
+
accessor layerOrTable: FeatureLayer | undefined;
|
|
67
68
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
68
|
-
accessor mapView:
|
|
69
|
+
accessor mapView: MapView | undefined;
|
|
69
70
|
/** A list of ids that are currently selected */
|
|
70
71
|
accessor selectedFeaturesIds: (number | string)[];
|
|
71
72
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type portalPortal from "@arcgis/core/portal/Portal.js";
|
|
3
3
|
import type { Telemetry } from "@esri/telemetry";
|
|
4
4
|
import type { IConsentResponse } from "../../utils/interfaces.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
@@ -58,7 +58,7 @@ export abstract class ConsentManager extends LitElement {
|
|
|
58
58
|
/** string[]: Any ids for the analytics configured to receive events from the telemety instance */
|
|
59
59
|
accessor measurementIds: string[];
|
|
60
60
|
/** esri/portal/Portal: https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html */
|
|
61
|
-
accessor portal:
|
|
61
|
+
accessor portal: portalPortal | undefined;
|
|
62
62
|
/** Initialize and return the telemetry instance if consent has been granted */
|
|
63
63
|
getInstance(): Promise<Telemetry | undefined>;
|
|
64
64
|
/** Emitted on demand when the user accepts or denies consent */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { IImageExtraction, ISearchConfiguration } from "../../utils/interfaces.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -108,7 +108,7 @@ export abstract class CreateFeature extends LitElement {
|
|
|
108
108
|
*/
|
|
109
109
|
accessor isMobile: boolean;
|
|
110
110
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
111
|
-
accessor mapView:
|
|
111
|
+
accessor mapView: MapView | undefined;
|
|
112
112
|
/**
|
|
113
113
|
* boolean: When true clicking on a feature on the map will display a popup
|
|
114
114
|
*
|
|
@@ -6,20 +6,20 @@ import { css as I, html as c, nothing as w } from "lit";
|
|
|
6
6
|
import { createRef as p, ref as m } from "lit-html/directives/ref.js";
|
|
7
7
|
import { LitElement as A, createEvent as h, noShadowRoot as L, safeClassMap as f } from "@arcgis/lumina";
|
|
8
8
|
import { p as V } from "../../chunks/queryUtils.js";
|
|
9
|
-
import x from "@arcgis/core/widgets/Editor";
|
|
10
|
-
import k from "@arcgis/core/form/ExpressionInfo";
|
|
11
|
-
import F from "@arcgis/core/layers/FeatureLayer";
|
|
12
|
-
import S from "@arcgis/core/form/elements/FieldElement";
|
|
13
|
-
import E from "@arcgis/core/form/FormTemplate";
|
|
14
|
-
import P from "@arcgis/core/views/MapView";
|
|
15
|
-
import C from "@arcgis/core/widgets/Home";
|
|
16
|
-
import $ from "@arcgis/core/widgets/Search";
|
|
17
|
-
import T from "@arcgis/core/Graphic";
|
|
18
|
-
import * as g from "@arcgis/core/core/reactiveUtils";
|
|
19
|
-
import R from "@arcgis/core/request";
|
|
9
|
+
import x from "@arcgis/core/widgets/Editor.js";
|
|
10
|
+
import k from "@arcgis/core/form/ExpressionInfo.js";
|
|
11
|
+
import F from "@arcgis/core/layers/FeatureLayer.js";
|
|
12
|
+
import S from "@arcgis/core/form/elements/FieldElement.js";
|
|
13
|
+
import E from "@arcgis/core/form/FormTemplate.js";
|
|
14
|
+
import P from "@arcgis/core/views/MapView.js";
|
|
15
|
+
import C from "@arcgis/core/widgets/Home.js";
|
|
16
|
+
import $ from "@arcgis/core/widgets/Search.js";
|
|
17
|
+
import T from "@arcgis/core/Graphic.js";
|
|
18
|
+
import * as g from "@arcgis/core/core/reactiveUtils.js";
|
|
19
|
+
import R from "@arcgis/core/request.js";
|
|
20
20
|
import * as G from "exifr";
|
|
21
|
-
import z from "@arcgis/core/geometry/Point";
|
|
22
|
-
import U from "@arcgis/core/geometry/SpatialReference";
|
|
21
|
+
import z from "@arcgis/core/geometry/Point.js";
|
|
22
|
+
import U from "@arcgis/core/geometry/SpatialReference.js";
|
|
23
23
|
const H = I`@layer{:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%!important;visibility:hidden;position:static!important}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}.image-preview-container{padding:10px}.esri-editor{height:auto!important}.content-container{padding:1.5rem}.instruction-text{margin-bottom:1.5rem;font-size:1rem}.selected-card{border:2px solid var(--calcite-ui-brand)}.upload-img-footer-container{width:100%;gap:5px;display:grid}.info-container{display:flex;align-items:center;gap:6px;margin-bottom:10px}.info-container calcite-icon{--calcite-icon-color: var(--calcite-color-brand)}.info-container span{font-size:12px;color:var(--calcite-ui-text-3)}.padding-10{padding:10px}.report-selection-container{display:flex;flex-direction:column;gap:12px;padding:10px;--calcite-card-border-color: var(--calcite-color-border-1)}.cursor-pointer{cursor:pointer}.card-body-content{display:flex;flex-direction:row;align-items:center;padding:10px 5px;gap:15px}.text-stack{display:flex;flex-direction:column;gap:2px}.option-title{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size--1)}.option-description{color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--1)}.action-footer{display:flex;justify-content:center;margin-top:16px}.analysis-wrapper{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;margin:auto}.analyzing-icon{--calcite-icon-color: var(--calcite-color-brand);animation:sparkle 2s infinite ease-in-out}@keyframes sparkle{0%,to{transform:scale(1)}50%{transform:scale(1.5)}}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`;
|
|
24
24
|
class D extends A {
|
|
25
25
|
constructor() {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
7
|
|
|
@@ -25,9 +27,9 @@ export abstract class CreateRelatedFeature extends LitElement {
|
|
|
25
27
|
*/
|
|
26
28
|
accessor enableSnapping: boolean;
|
|
27
29
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
28
|
-
accessor mapView:
|
|
30
|
+
accessor mapView: MapView | undefined;
|
|
29
31
|
/** __esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html */
|
|
30
|
-
accessor selectedFeature:
|
|
32
|
+
accessor selectedFeature: Graphic | undefined;
|
|
31
33
|
/**
|
|
32
34
|
* boolean: When true the notice message should be shown
|
|
33
35
|
*
|
|
@@ -35,7 +37,7 @@ export abstract class CreateRelatedFeature extends LitElement {
|
|
|
35
37
|
*/
|
|
36
38
|
accessor showGuidingMsg: boolean | undefined;
|
|
37
39
|
/** __esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html */
|
|
38
|
-
accessor table:
|
|
40
|
+
accessor table: FeatureLayer | undefined;
|
|
39
41
|
/** Submit the comment */
|
|
40
42
|
submit(): Promise<void>;
|
|
41
43
|
/** Emitted on demand when the comment submission is failed */
|
|
@@ -3,8 +3,8 @@ import { c as u } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { u as m } from "../../chunks/useT9n.js";
|
|
4
4
|
import { css as p, html as c } from "lit";
|
|
5
5
|
import { LitElement as f, createEvent as n, noShadowRoot as w, safeClassMap as b } from "@arcgis/lumina";
|
|
6
|
-
import y from "@arcgis/core/widgets/Editor";
|
|
7
|
-
import * as l from "@arcgis/core/core/reactiveUtils";
|
|
6
|
+
import y from "@arcgis/core/widgets/Editor.js";
|
|
7
|
+
import * as l from "@arcgis/core/core/reactiveUtils.js";
|
|
8
8
|
const _ = p`@layer{:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`;
|
|
9
9
|
class g extends f {
|
|
10
10
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { IImageExtraction, ILayerExpression, IMapInfo, IReportingOptions, ISearchConfiguration, theme } from "../../utils/interfaces.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -207,7 +207,7 @@ export abstract class CrowdsourceReporter extends LitElement {
|
|
|
207
207
|
/** IMapInfo[]: array of map infos (name and id) */
|
|
208
208
|
accessor mapInfos: IMapInfo[];
|
|
209
209
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
210
|
-
accessor mapView:
|
|
210
|
+
accessor mapView: MapView | undefined;
|
|
211
211
|
/**
|
|
212
212
|
* string: Object id of the feature from URL params
|
|
213
213
|
*
|
|
@@ -8,10 +8,10 @@ import { createRef as d, ref as n } from "lit-html/directives/ref.js";
|
|
|
8
8
|
import { LitElement as $, createEvent as C, noShadowRoot as x, safeClassMap as g } from "@arcgis/lumina";
|
|
9
9
|
import "@arcgis/instant-apps-components";
|
|
10
10
|
import { defineCustomElements as S } from "@arcgis/instant-apps-components/loader";
|
|
11
|
-
import * as E from "@arcgis/core/core/reactiveUtils";
|
|
12
|
-
import V from "@arcgis/core/layers/support/FeatureFilter";
|
|
13
|
-
import * as P from "@arcgis/core/rest/identify";
|
|
14
|
-
import k from "@arcgis/core/rest/support/IdentifyParameters";
|
|
11
|
+
import * as E from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
+
import V from "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
|
+
import * as P from "@arcgis/core/rest/identify.js";
|
|
14
|
+
import k from "@arcgis/core/rest/support/IdentifyParameters.js";
|
|
15
15
|
const O = v`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.width-full{width:100%!important}.height-full{height:100%!important}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-surface-2)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}.overflow-auto{overflow:auto}}`;
|
|
16
16
|
class M extends $ {
|
|
17
17
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
3
|
import type { ButtonType, EditType } from "../../utils/interfaces.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
@@ -46,7 +46,7 @@ export abstract class DeleteButton extends LitElement {
|
|
|
46
46
|
/** number[]: The ids that would be deleted */
|
|
47
47
|
accessor ids: (number | string)[];
|
|
48
48
|
/** esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html */
|
|
49
|
-
accessor layer:
|
|
49
|
+
accessor layer: FeatureLayer | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* boolean: When true the delete button will show the number of features that will be deleted
|
|
52
52
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
3
|
import type { EditType } from "../../utils/interfaces.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -29,7 +29,7 @@ export abstract class DeleteDialog extends LitElement {
|
|
|
29
29
|
/** number[]: The ids that would be deleted */
|
|
30
30
|
accessor ids: (number | string)[];
|
|
31
31
|
/** esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html */
|
|
32
|
-
accessor layer:
|
|
32
|
+
accessor layer: FeatureLayer | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* boolean: When true the delete dialog will be displayed
|
|
35
35
|
*
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type Editor from "@arcgis/core/widgets/Editor.js";
|
|
3
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
7
|
|
|
@@ -36,9 +38,9 @@ export abstract class EditCard extends LitElement {
|
|
|
36
38
|
*/
|
|
37
39
|
accessor graphicIndex: number;
|
|
38
40
|
/** esri/Graphic[]: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html */
|
|
39
|
-
accessor graphics:
|
|
41
|
+
accessor graphics: Graphic[];
|
|
40
42
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
41
|
-
accessor mapView:
|
|
43
|
+
accessor mapView: MapView | undefined;
|
|
42
44
|
/**
|
|
43
45
|
* When true the component is displayed
|
|
44
46
|
*
|
|
@@ -50,14 +52,14 @@ export abstract class EditCard extends LitElement {
|
|
|
50
52
|
/** Event emitted upon selection of a table and invocation of feature addition from the related layer during an active edit workflow. */
|
|
51
53
|
readonly creatingFeature: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
52
54
|
/** Emit the Editor when it is initialized */
|
|
53
|
-
readonly editorInitialized: import("@arcgis/lumina").TargetedEvent<this,
|
|
55
|
+
readonly editorInitialized: import("@arcgis/lumina").TargetedEvent<this, Editor>;
|
|
54
56
|
/** Emitted on demand when edits are completed on current edit layer */
|
|
55
57
|
readonly editsComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
56
58
|
/**
|
|
57
59
|
* Emitted on demand when the editor is closed to handle
|
|
58
60
|
* things like attachment updates that don't fire the standard edit update event when complete
|
|
59
61
|
*/
|
|
60
|
-
readonly refreshGraphics: import("@arcgis/lumina").TargetedEvent<this,
|
|
62
|
+
readonly refreshGraphics: import("@arcgis/lumina").TargetedEvent<this, Graphic[]>;
|
|
61
63
|
readonly "@eventTypes": {
|
|
62
64
|
closeEdit: EditCard["closeEdit"]["detail"];
|
|
63
65
|
creatingFeature: EditCard["creatingFeature"]["detail"];
|
|
@@ -5,8 +5,8 @@ import { u as c } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { css as p, html as r } from "lit";
|
|
6
6
|
import { createRef as f, ref as g } from "lit-html/directives/ref.js";
|
|
7
7
|
import { LitElement as _, createEvent as s, noShadowRoot as m, safeClassMap as l } from "@arcgis/lumina";
|
|
8
|
-
import u from "@arcgis/core/widgets/Editor";
|
|
9
|
-
import * as o from "@arcgis/core/core/reactiveUtils";
|
|
8
|
+
import u from "@arcgis/core/widgets/Editor.js";
|
|
9
|
+
import * as o from "@arcgis/core/core/reactiveUtils.js";
|
|
10
10
|
const w = p`@layer{:host{display:block}#feature-form{padding-top:0}.esri-editor__prompt--danger{position:relative!important;width:100%!important;background-color:var(--calcite-color-surface-2)!important}.esri-feature__content-node{background-color:var(--calcite-color-surface-2)!important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.position-absolute{position:absolute;inset:0;overflow:auto}.esri-editor__panel-content{padding-block:10px!important}}`;
|
|
11
11
|
class y extends _ {
|
|
12
12
|
constructor() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { ILayerItemsHash, IReportingOptions } from "../../utils/interfaces.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
6
|
|
|
@@ -11,11 +12,11 @@ export abstract class FeatureDetails extends LitElement {
|
|
|
11
12
|
*/
|
|
12
13
|
accessor enableSnapping: boolean;
|
|
13
14
|
/** esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html */
|
|
14
|
-
accessor graphics:
|
|
15
|
+
accessor graphics: Graphic[];
|
|
15
16
|
/** ILayerItemsHash: LayerDetailsHash for each layer in the map */
|
|
16
17
|
accessor layerItemsHash: ILayerItemsHash | undefined;
|
|
17
18
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
18
|
-
accessor mapView:
|
|
19
|
+
accessor mapView: MapView | undefined;
|
|
19
20
|
/** IReportingOptions: Key options for reporting */
|
|
20
21
|
accessor reportingOptions: IReportingOptions | undefined;
|
|
21
22
|
/**
|
|
@@ -40,7 +41,7 @@ export abstract class FeatureDetails extends LitElement {
|
|
|
40
41
|
* @param graphic
|
|
41
42
|
* @returns Promise that resolves when the operation is complete
|
|
42
43
|
*/
|
|
43
|
-
refresh(graphic?:
|
|
44
|
+
refresh(graphic?: Graphic): Promise<void>;
|
|
44
45
|
/** Toggle the visibility of the features list view */
|
|
45
46
|
toggleListView(): Promise<void>;
|
|
46
47
|
/** Emitted on demand when comment icon is clicked */
|
|
@@ -48,10 +49,10 @@ export abstract class FeatureDetails extends LitElement {
|
|
|
48
49
|
/** Emitted on demand when comment is clicked using the feature-list */
|
|
49
50
|
readonly commentClick: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
50
51
|
/** Emitted on demand when comment is selected using the feature-list */
|
|
51
|
-
readonly commentSelect: import("@arcgis/lumina").TargetedEvent<this,
|
|
52
|
+
readonly commentSelect: import("@arcgis/lumina").TargetedEvent<this, Graphic>;
|
|
52
53
|
/** Emitted on demand when the selected index changes */
|
|
53
54
|
readonly featureSelectionChange: import("@arcgis/lumina").TargetedEvent<this, {
|
|
54
|
-
selectedFeature:
|
|
55
|
+
selectedFeature: Graphic[];
|
|
55
56
|
selectedFeatureIndex: number;
|
|
56
57
|
}>;
|
|
57
58
|
/** Emitted on demand when like or dislike button is clicked */
|
|
@@ -4,8 +4,8 @@ import { b as m } from "../../chunks/mapViewUtils.js";
|
|
|
4
4
|
import { css as _, html as o } from "lit";
|
|
5
5
|
import { createRef as p, ref as k } from "lit-html/directives/ref.js";
|
|
6
6
|
import { LitElement as g, createEvent as h, noShadowRoot as f } from "@arcgis/lumina";
|
|
7
|
-
import b from "@arcgis/core/Graphic";
|
|
8
|
-
import C from "@arcgis/core/rest/support/RelationshipQuery";
|
|
7
|
+
import b from "@arcgis/core/Graphic.js";
|
|
8
|
+
import C from "@arcgis/core/rest/support/RelationshipQuery.js";
|
|
9
9
|
const F = _`@layer{:host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1)!important;background-color:var(--calcite-color-surface-2)!important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}}`;
|
|
10
10
|
class I extends g {
|
|
11
11
|
constructor() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { IReportingOptions, ISortingInfo } from "../../utils/interfaces.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -53,7 +54,7 @@ export abstract class FeatureList extends LitElement {
|
|
|
53
54
|
*/
|
|
54
55
|
accessor highlightOnMap: boolean | undefined;
|
|
55
56
|
/** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
56
|
-
accessor mapView:
|
|
57
|
+
accessor mapView: MapView | undefined;
|
|
57
58
|
/**
|
|
58
59
|
* string: Message to be displayed when features are not found
|
|
59
60
|
*
|
|
@@ -124,7 +125,7 @@ export abstract class FeatureList extends LitElement {
|
|
|
124
125
|
/** Emitted on demand when feature is clicked using the list */
|
|
125
126
|
readonly featureClick: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
126
127
|
/** Emitted on demand when feature is selected using the list */
|
|
127
|
-
readonly featureSelect: import("@arcgis/lumina").TargetedEvent<this,
|
|
128
|
+
readonly featureSelect: import("@arcgis/lumina").TargetedEvent<this, Graphic>;
|
|
128
129
|
readonly "@eventTypes": {
|
|
129
130
|
featureClick: FeatureList["featureClick"]["detail"];
|
|
130
131
|
featureSelect: FeatureList["featureSelect"]["detail"];
|
|
@@ -6,9 +6,9 @@ import { u as L } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { css as I, html as l, nothing as v } from "lit";
|
|
7
7
|
import { createRef as f, ref as d } from "lit-html/directives/ref.js";
|
|
8
8
|
import { LitElement as F, createEvent as g, noShadowRoot as b, safeClassMap as E, safeStyleMap as S } from "@arcgis/lumina";
|
|
9
|
-
import m from "@arcgis/core/config";
|
|
10
|
-
import * as y from "@arcgis/core/symbols/support/symbolUtils";
|
|
11
|
-
import * as $ from "@arcgis/core/core/reactiveUtils";
|
|
9
|
+
import m from "@arcgis/core/config.js";
|
|
10
|
+
import * as y from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
+
import * as $ from "@arcgis/core/core/reactiveUtils.js";
|
|
12
12
|
const C = I`@layer{:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.notice-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500}.feature-list-popup-title-small{font-size:small}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-surface-2)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`;
|
|
13
13
|
class T extends F {
|
|
14
14
|
constructor() {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
|
+
import type FeatureTable from "@arcgis/core/widgets/FeatureTable.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
6
|
import type { LayerTable } from "../layer-table/customElement.js";
|
|
5
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -49,11 +51,11 @@ export abstract class FieldSelection extends LitElement {
|
|
|
49
51
|
/** Extra fields such as attachments and related fields from IA config */
|
|
50
52
|
accessor configExtraFields: any;
|
|
51
53
|
/** esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html */
|
|
52
|
-
accessor layer:
|
|
54
|
+
accessor layer: FeatureLayer | undefined;
|
|
53
55
|
/** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
54
|
-
accessor mapView:
|
|
56
|
+
accessor mapView: MapView | undefined;
|
|
55
57
|
/** esri/widgets/FeatureTable: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html */
|
|
56
|
-
accessor table:
|
|
58
|
+
accessor table: FeatureTable | undefined;
|
|
57
59
|
/** LayerTable reference to support column reorder */
|
|
58
60
|
accessor tableRef: LayerTable;
|
|
59
61
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
6
|
|
|
@@ -48,7 +49,7 @@ export abstract class InfoCard extends LitElement {
|
|
|
48
49
|
*/
|
|
49
50
|
accessor enableSnapping: boolean;
|
|
50
51
|
/** esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html */
|
|
51
|
-
accessor graphics:
|
|
52
|
+
accessor graphics: Graphic[];
|
|
52
53
|
/**
|
|
53
54
|
* boolean: If true will highlights the features on map using Features Widget
|
|
54
55
|
*
|
|
@@ -68,7 +69,7 @@ export abstract class InfoCard extends LitElement {
|
|
|
68
69
|
*/
|
|
69
70
|
accessor isMobile: boolean;
|
|
70
71
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
71
|
-
accessor mapView:
|
|
72
|
+
accessor mapView: MapView | undefined;
|
|
72
73
|
/**
|
|
73
74
|
* boolean: If true will show the pagination for multiple features
|
|
74
75
|
*
|
|
@@ -110,14 +111,14 @@ export abstract class InfoCard extends LitElement {
|
|
|
110
111
|
*
|
|
111
112
|
* @param selectedGraphic
|
|
112
113
|
*/
|
|
113
|
-
updateCurrentGraphic(selectedGraphic:
|
|
114
|
+
updateCurrentGraphic(selectedGraphic: Graphic): Promise<void>;
|
|
114
115
|
/** Emitted on demand when close button is clicked */
|
|
115
116
|
readonly clearSelection: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
116
117
|
/** Emitted on demand when the popup is closed */
|
|
117
118
|
readonly popupClosed: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
118
119
|
/** Emitted on demand when the selected index changes */
|
|
119
120
|
readonly selectionChanged: import("@arcgis/lumina").TargetedEvent<this, {
|
|
120
|
-
selectedFeature:
|
|
121
|
+
selectedFeature: Graphic[];
|
|
121
122
|
selectedFeatureIndex: number;
|
|
122
123
|
}>;
|
|
123
124
|
readonly "@eventTypes": {
|
|
@@ -4,8 +4,8 @@ import { P as g } from "../../chunks/popupUtils.js";
|
|
|
4
4
|
import { u as b } from "../../chunks/useT9n.js";
|
|
5
5
|
import { css as w, nothing as m, html as s } from "lit";
|
|
6
6
|
import { LitElement as v, createEvent as r, noShadowRoot as y, safeStyleMap as $, safeClassMap as i } from "@arcgis/lumina";
|
|
7
|
-
import x from "@arcgis/core/widgets/Features";
|
|
8
|
-
import * as d from "@arcgis/core/core/reactiveUtils";
|
|
7
|
+
import x from "@arcgis/core/widgets/Features.js";
|
|
8
|
+
import * as d from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
const F = w`@layer{:host{display:block;--calcite-label-margin-bottom: 0}.padding-1-2{padding:.5rem}.display-none{display:none!important}.display-flex{display:flex}.position-absolute{position:absolute;inset:0;overflow:auto}.feature-node{position:relative!important}.feature-node .esri-features__footer{display:none!important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:.5rem!important;background-color:var(--calcite-color-surface-2)!important;height:100%!important}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:700}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}}`;
|
|
10
10
|
class E extends v {
|
|
11
11
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ export abstract class LayerList extends LitElement {
|
|
|
34
34
|
/** string[]: If passed will show only these layers in the list if they are present in map and are editable */
|
|
35
35
|
accessor layers: string[];
|
|
36
36
|
/** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
37
|
-
accessor mapView:
|
|
37
|
+
accessor mapView: MapView | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* boolean: if true display's feature count for each layer
|
|
40
40
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as y } from "../../chunks/runtime.js";
|
|
3
3
|
import { d, a as m, c as p } from "../../chunks/mapViewUtils.js";
|
|
4
|
-
import * as o from "@arcgis/core/intl";
|
|
4
|
+
import * as o from "@arcgis/core/intl.js";
|
|
5
5
|
import { u as f } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as L, html as a } from "lit";
|
|
7
7
|
import { LitElement as u, createEvent as h, noShadowRoot as w } from "@arcgis/lumina";
|
|
8
|
-
import * as g from "@arcgis/core/core/reactiveUtils";
|
|
8
|
+
import * as g from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
async function _(n, t) {
|
|
10
10
|
const { style: i = "decimal", places: e = 2 } = t || {}, s = o.convertNumberFormatToIntlOptions({
|
|
11
11
|
places: e,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type LayerList from "@arcgis/core/widgets/LayerList.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
5
|
import type { VisibilityIconType } from "../../utils/interfaces.js";
|
|
5
6
|
|
|
6
7
|
export abstract class LayerListWidget extends LitElement {
|
|
7
8
|
/** arcgis/core/widgets/LayerList: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html */
|
|
8
|
-
accessor layerListWidget:
|
|
9
|
+
accessor layerListWidget: LayerList | undefined;
|
|
9
10
|
/** esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
10
|
-
accessor mapView:
|
|
11
|
+
accessor mapView: MapView | undefined;
|
|
11
12
|
/**
|
|
12
13
|
* VisibilityIconType: visibility icon for the layer list widget
|
|
13
14
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as t } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as e, html as s } from "lit";
|
|
4
4
|
import { LitElement as a, createEvent as c } from "@arcgis/lumina";
|
|
5
|
-
import l from "@arcgis/core/widgets/LayerList";
|
|
5
|
+
import l from "@arcgis/core/widgets/LayerList.js";
|
|
6
6
|
const r = e`:host{display:block}`;
|
|
7
7
|
class n extends a {
|
|
8
8
|
constructor() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { AppLayout, IDeleteIds, IMapInfo } from "../../utils/interfaces.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -143,7 +144,7 @@ export abstract class LayerTable extends LitElement {
|
|
|
143
144
|
/** IMapInfo: key configuration details about the current map */
|
|
144
145
|
accessor mapInfo: IMapInfo | undefined;
|
|
145
146
|
/** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
146
|
-
accessor mapView:
|
|
147
|
+
accessor mapView: MapView | undefined;
|
|
147
148
|
/** number[]: A list of ids that are currently selected */
|
|
148
149
|
accessor selectedIds: (number | string)[];
|
|
149
150
|
/** number[]: A list of ids selected ids from related records */
|
|
@@ -214,7 +215,7 @@ export abstract class LayerTable extends LitElement {
|
|
|
214
215
|
/** Emitted on demand when a layer is selected */
|
|
215
216
|
readonly featureSelectionChange: import("@arcgis/lumina").TargetedEvent<this, (number | string)[]>;
|
|
216
217
|
/** Emitted when related record toggled from related table */
|
|
217
|
-
readonly relatedRecordToggled: import("@arcgis/lumina").TargetedEvent<this,
|
|
218
|
+
readonly relatedRecordToggled: import("@arcgis/lumina").TargetedEvent<this, FeatureLayer>;
|
|
218
219
|
/** Emitted on demand when when the delete dialog should be shown */
|
|
219
220
|
readonly showDelete: import("@arcgis/lumina").TargetedEvent<this, IDeleteIds>;
|
|
220
221
|
/** Emitted on demand when filter action is clicked */
|
|
@@ -9,11 +9,11 @@ import { u as F } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as O, html as o, nothing as c } from "lit";
|
|
10
10
|
import { createRef as g, ref as p } from "lit-html/directives/ref.js";
|
|
11
11
|
import { LitElement as C, createEvent as _, noShadowRoot as A, safeClassMap as y } from "@arcgis/lumina";
|
|
12
|
-
import {
|
|
13
|
-
import L from "@arcgis/core/widgets/FeatureTable";
|
|
14
|
-
import * as u from "@arcgis/core/core/reactiveUtils";
|
|
15
|
-
import $ from "@arcgis/core/rest/support/RelationshipQuery";
|
|
16
|
-
import m from "@arcgis/core/widgets/FeatureTable/support/TableTemplate";
|
|
12
|
+
import { h as H } from "../../chunks/helpers.js";
|
|
13
|
+
import L from "@arcgis/core/widgets/FeatureTable.js";
|
|
14
|
+
import * as u from "@arcgis/core/core/reactiveUtils.js";
|
|
15
|
+
import $ from "@arcgis/core/rest/support/RelationshipQuery.js";
|
|
16
|
+
import m from "@arcgis/core/widgets/FeatureTable/support/TableTemplate.js";
|
|
17
17
|
const D = O`@layer{:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-surface-1)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-dialog-content-space: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-surface-2)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
|
|
18
18
|
class M extends C {
|
|
19
19
|
constructor() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type BasemapGallery from "@arcgis/core/widgets/BasemapGallery.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { IBasemapConfig } from "../../utils/interfaces.js";
|
|
4
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
6
|
|
|
@@ -11,7 +12,7 @@ export abstract class MapBasemapGallery extends LitElement {
|
|
|
11
12
|
*
|
|
12
13
|
* BasemapGallery instance
|
|
13
14
|
*/
|
|
14
|
-
accessor basemapWidget:
|
|
15
|
+
accessor basemapWidget: BasemapGallery | undefined;
|
|
15
16
|
/** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
|
|
16
|
-
accessor mapView:
|
|
17
|
+
accessor mapView: MapView | undefined;
|
|
17
18
|
}
|
|
@@ -3,8 +3,8 @@ import { c as i } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as t, html as p } from "lit";
|
|
4
4
|
import { createRef as m, ref as r } from "lit-html/directives/ref.js";
|
|
5
5
|
import { LitElement as o } from "@arcgis/lumina";
|
|
6
|
-
import l from "@arcgis/core/widgets/BasemapGallery";
|
|
7
|
-
import n from "@arcgis/core/widgets/BasemapGallery/support/PortalBasemapsSource";
|
|
6
|
+
import l from "@arcgis/core/widgets/BasemapGallery.js";
|
|
7
|
+
import n from "@arcgis/core/widgets/BasemapGallery/support/PortalBasemapsSource.js";
|
|
8
8
|
const d = t`.display-block{display:block}`;
|
|
9
9
|
class h extends o {
|
|
10
10
|
constructor() {
|