@arcgis/map-components 5.2.0-next.168 → 5.2.0-next.169
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/{OP3MZHXU.js → 3YACO47M.js} +1 -1
- package/dist/cdn/42V6ISWG.js +2 -0
- package/dist/cdn/5VOAPFZ5.js +2 -0
- package/dist/cdn/6ZMVEWJQ.js +2 -0
- package/dist/cdn/{OQPX2UPC.js → AFY6JQ77.js} +1 -1
- package/dist/cdn/{VHM26W3Y.js → AW5FFER6.js} +1 -1
- package/dist/cdn/{NY6QZ4MA.js → ODY56P7R.js} +1 -1
- package/dist/cdn/OOCIGOT6.js +2 -0
- package/dist/cdn/{MZ47CPKO.js → RDBCKSUZ.js} +1 -1
- package/dist/cdn/{7XO4NAD5.js → WC5ZQ5SQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-editor/customElement.d.ts +19 -2
- package/dist/components/arcgis-expand/customElement.d.ts +2 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
- package/dist/components/arcgis-features/customElement.d.ts +5 -5
- package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-features-next/customElement.js +27 -26
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +13 -17
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-popup/customElement.d.ts +8 -7
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -4
- package/dist/components/arcgis-scene/customElement.d.ts +10 -13
- package/dist/components/arcgis-search/customElement.d.ts +4 -4
- package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
- package/dist/components/arcgis-sketch/customElement.js +18 -11
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-table-list-next/customElement.js +5 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-track/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +14 -16
- package/dist/components/arcgis-video/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -3
- 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/package.json +6 -6
- package/dist/cdn/2IAD3DI5.js +0 -2
- package/dist/cdn/67UW6MJM.js +0 -2
- package/dist/cdn/C6T7AQOJ.js +0 -2
- package/dist/cdn/CL5JQN4B.js +0 -2
|
@@ -25,7 +25,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
25
25
|
* The content of the popup is determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to the selected feature.
|
|
26
26
|
*
|
|
27
27
|
* ```html
|
|
28
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9">
|
|
28
|
+
* <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9">
|
|
29
29
|
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
30
30
|
* </arcgis-map>
|
|
31
31
|
* ```
|
|
@@ -37,8 +37,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
37
37
|
* Example of opening the popup at a clicked location with custom content:
|
|
38
38
|
*
|
|
39
39
|
* ```html
|
|
40
|
-
* <!-- Set popup-disabled
|
|
41
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
40
|
+
* <!-- Set the popup-disabled attribute -->
|
|
41
|
+
* <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
42
42
|
* <!-- Add the popup component to the popup slot. -->
|
|
43
43
|
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
44
44
|
* </arcgis-map>
|
|
@@ -58,8 +58,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
58
58
|
*
|
|
59
59
|
* Alternatively, you can call the [arcgis-map.fetchPopupFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
|
|
60
60
|
* ```html
|
|
61
|
-
* <!-- Set popup-disabled
|
|
62
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
61
|
+
* <!-- Set the popup-disabled attribute -->
|
|
62
|
+
* <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
63
63
|
* <!-- Add the popup component to the popup slot. -->
|
|
64
64
|
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
65
65
|
* </arcgis-map>
|
|
@@ -73,6 +73,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
73
73
|
* });
|
|
74
74
|
*
|
|
75
75
|
* const features = await Array.fromAsync(generator);
|
|
76
|
+
* popupComponent.location = event.detail.mapPoint;
|
|
76
77
|
* popupComponent.features = features;
|
|
77
78
|
* });
|
|
78
79
|
* // Open the popup when the features property changes.
|
|
@@ -87,7 +88,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
87
88
|
* The popup component can be used with the view components by default. Set the `popup-component-enabled` attribute to `true` using [arcgis-map.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled), [arcgis-scene.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupComponentEnabled), or [arcgis-link-chart.popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupComponentEnabled) to open the popup component automatically when clicking on features.
|
|
88
89
|
*
|
|
89
90
|
* ```html
|
|
90
|
-
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-component-enabled></arcgis-map>
|
|
91
|
+
* <arcgis-map item-id="06ca49d0ddb447e7817cfc343ca30df9" popup-component-enabled></arcgis-map>
|
|
91
92
|
* ```
|
|
92
93
|
* > At version 6.0, the Popup component will be used by default and setting the `popup-component-enabled` attribute will no longer be necessary.
|
|
93
94
|
*
|
|
@@ -480,7 +481,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
480
481
|
* Point used to position the popup. This is automatically set when viewing the
|
|
481
482
|
* popup by selecting a feature. If using the Popup to display content not related
|
|
482
483
|
* to features in the map, such as the results from a task, then you must set this
|
|
483
|
-
* property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open)
|
|
484
|
+
* property before opening the popup with [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open).
|
|
484
485
|
*
|
|
485
486
|
* @example
|
|
486
487
|
* ```js
|
|
@@ -7,7 +7,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* The Presentation component allows
|
|
10
|
+
* The Presentation component allows presenting slides of a web scene in a presentation mode
|
|
11
11
|
* and supports navigating between the slides of a web scene.
|
|
12
12
|
*
|
|
13
13
|
* @since 5.0
|
|
@@ -152,17 +152,17 @@ export abstract class ArcgisPresentation extends LitElement {
|
|
|
152
152
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
153
153
|
/**
|
|
154
154
|
* Fires after applying a slide to the Scene View has been canceled.
|
|
155
|
-
* It only fires if the slide
|
|
155
|
+
* It only fires if the slide is in the list of slides of the webscene presentation.
|
|
156
156
|
*/
|
|
157
157
|
readonly arcgisSlideApplyCancel: import("@arcgis/lumina").TargetedEvent<this, { slide: Slide; }>;
|
|
158
158
|
/**
|
|
159
159
|
* Fires after applying a slide to the Scene View has been completed.
|
|
160
|
-
* It only fires if the slide
|
|
160
|
+
* It only fires if the slide is in the list of slides of the webscene presentation.
|
|
161
161
|
*/
|
|
162
162
|
readonly arcgisSlideApplyComplete: import("@arcgis/lumina").TargetedEvent<this, { slide: Slide; }>;
|
|
163
163
|
/**
|
|
164
|
-
* Fires after a slide
|
|
165
|
-
* It only fires if the slide
|
|
164
|
+
* Fires after applying a slide to the Scene View has started.
|
|
165
|
+
* It only fires if the slide is in the list of slides of the webscene presentation.
|
|
166
166
|
*/
|
|
167
167
|
readonly arcgisSlideApplyStart: import("@arcgis/lumina").TargetedEvent<this, { slide: Slide; }>;
|
|
168
168
|
readonly "@eventTypes": {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { GenericController as $, proxyExports as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
8
|
-
import { property as d, subclass as
|
|
9
|
-
import
|
|
2
|
+
import { c as z } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as O, html as u } from "lit";
|
|
4
|
+
import { GenericController as $, proxyExports as D, useDirection as E } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { LitElement as T, createEvent as v, nothing as x } from "@arcgis/lumina";
|
|
6
|
+
import { u as G } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as B } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { property as d, subclass as R } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
|
+
import N from "@arcgis/core/core/Accessor.js";
|
|
10
10
|
import y from "@arcgis/core/core/Collection.js";
|
|
11
|
-
import { ignoreAbortErrors as
|
|
12
|
-
import { watch as g, on as
|
|
13
|
-
import
|
|
11
|
+
import { ignoreAbortErrors as H } from "@arcgis/core/core/promiseUtils.js";
|
|
12
|
+
import { watch as g, on as k, whenOnce as w } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
+
import V from "@arcgis/core/Graphic.js";
|
|
14
14
|
import j from "@arcgis/core/layers/Layer.js";
|
|
15
15
|
import W from "@arcgis/core/graphic/CSVGraphicOrigin.js";
|
|
16
16
|
import K from "@arcgis/core/graphic/GeoJSONGraphicOrigin.js";
|
|
@@ -22,13 +22,13 @@ import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/S
|
|
|
22
22
|
import { s as _ } from "../../chunks/resources.js";
|
|
23
23
|
import { g as X } from "../../chunks/async-utils.js";
|
|
24
24
|
import { d as C, p as P } from "../../chunks/constants2.js";
|
|
25
|
-
const Y =
|
|
25
|
+
const Y = O`:host{width:100%;height:100%;padding:var(--calcite-space-none);margin:var(--calcite-space-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset;--arcgis-presentation-navigation-z-index: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{position:absolute;display:flex;width:100%;height:100%;justify-content:flex-end;padding-top:var(--calcite-space-lg);padding-inline-start:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation-container{display:flex;flex-direction:column;margin-inline-start:var(--calcite-space-lg);margin-block:auto calc(var(--calcite-space-lg) + var(--arcgis-internal-attribution-space-top));width:fit-content;height:100%;z-index:var(--arcgis-presentation-navigation-z-index)}.navigation{width:fit-content;display:flex;align-items:center;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);pointer-events:auto}.navigation-slide-list-container{position:relative;height:100%;min-height:0;margin-block-start:var(--calcite-space-lg)}.slide-list-action-container{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-space-base);font-size:var(--calcite-font-size-md)}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;min-width:var(--calcite-spacing-md);text-align:center}.legend-container{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:fit-content;max-height:calc(100vh - 136px);overflow:hidden auto}.legend{background-color:var(--calcite-color-surface-2)}`;
|
|
26
26
|
var Z = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, o = (i, e, t, s) => {
|
|
27
27
|
for (var n = s > 1 ? void 0 : s ? ee(e, t) : e, a = i.length - 1, r; a >= 0; a--)
|
|
28
28
|
(r = i[a]) && (n = (s ? r(e, t, n) : r(n)) || n);
|
|
29
29
|
return s && n && Z(e, t, n), n;
|
|
30
30
|
};
|
|
31
|
-
let l = class extends
|
|
31
|
+
let l = class extends N {
|
|
32
32
|
//endregion
|
|
33
33
|
//#region Lifecycle
|
|
34
34
|
constructor(i) {
|
|
@@ -136,7 +136,7 @@ let l = class extends H {
|
|
|
136
136
|
async applySlide(i, e, t) {
|
|
137
137
|
if (this.view) {
|
|
138
138
|
const s = t ? { signal: t?.signal } : {};
|
|
139
|
-
await
|
|
139
|
+
await H(
|
|
140
140
|
i.applyTo(this.view, {
|
|
141
141
|
...s,
|
|
142
142
|
animate: !e
|
|
@@ -156,7 +156,7 @@ let l = class extends H {
|
|
|
156
156
|
}
|
|
157
157
|
_startWatchSlides() {
|
|
158
158
|
this._subscribeToSlideEvents(this.slides), this.addHandles(
|
|
159
|
-
|
|
159
|
+
k(
|
|
160
160
|
() => this.slides,
|
|
161
161
|
"change",
|
|
162
162
|
(i) => {
|
|
@@ -238,7 +238,7 @@ o([
|
|
|
238
238
|
d()
|
|
239
239
|
], l.prototype, "getSlideIndexBySlideId", 1);
|
|
240
240
|
l = o([
|
|
241
|
-
|
|
241
|
+
R("components.presentation.PresentationViewModel")
|
|
242
242
|
], l);
|
|
243
243
|
class te extends $ {
|
|
244
244
|
constructor(e) {
|
|
@@ -338,7 +338,7 @@ class te extends $ {
|
|
|
338
338
|
e.geometry == null && t && (e.geometry = t.clone());
|
|
339
339
|
}
|
|
340
340
|
_createFeatureGraphic(e, t, s, n) {
|
|
341
|
-
const a = this._getGlobalIdFieldNameFromLayer(s), r = n.type === "global-id" && a ? a : s.objectIdField, c = this._getGraphicOrigin(e, t), p = new
|
|
341
|
+
const a = this._getGlobalIdFieldNameFromLayer(s), r = n.type === "global-id" && a ? a : s.objectIdField, c = this._getGraphicOrigin(e, t), p = new V({ attributes: {}, layer: e, origin: c });
|
|
342
342
|
return p.attributes[r] = n.value, p;
|
|
343
343
|
}
|
|
344
344
|
_getGraphicOrigin(e, t) {
|
|
@@ -387,7 +387,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
387
387
|
bottomCenter: { ...i.bottomCenter },
|
|
388
388
|
bottomLeft: { ...i.bottomLeft },
|
|
389
389
|
bottomRight: { ...i.bottomRight }
|
|
390
|
-
}),
|
|
390
|
+
}), M = (i) => {
|
|
391
391
|
let e = b.get(i);
|
|
392
392
|
return e || (e = {
|
|
393
393
|
observedGroups: /* @__PURE__ */ new Map(),
|
|
@@ -420,7 +420,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
420
420
|
h.width === p.width && h.height === p.height || (t.observedSizes[a] = p, s = !0);
|
|
421
421
|
}), s && ae(t);
|
|
422
422
|
}, I = (i, e) => {
|
|
423
|
-
const t =
|
|
423
|
+
const t = M(i);
|
|
424
424
|
t.resizeObserver || (t.resizeObserver = new ResizeObserver((n) => {
|
|
425
425
|
re(i, n);
|
|
426
426
|
}));
|
|
@@ -434,7 +434,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
434
434
|
t.observedGroups.set(n, a), t.resizeObserver?.observe(a);
|
|
435
435
|
}));
|
|
436
436
|
}, le = (i, e) => {
|
|
437
|
-
const t =
|
|
437
|
+
const t = M(i);
|
|
438
438
|
return t.subscribers.add(e), e(F(t.observedSizes)), () => {
|
|
439
439
|
const s = b.get(i);
|
|
440
440
|
s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), b.delete(i)));
|
|
@@ -442,8 +442,8 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
442
442
|
};
|
|
443
443
|
class oe extends $ {
|
|
444
444
|
// References to the slot group elements owned by the host component.
|
|
445
|
-
#e;
|
|
446
445
|
#t;
|
|
446
|
+
#e;
|
|
447
447
|
#i;
|
|
448
448
|
/**
|
|
449
449
|
* Creates a controller that measures the host component's slot group containers.
|
|
@@ -454,21 +454,21 @@ class oe extends $ {
|
|
|
454
454
|
super(e), this.exports = m();
|
|
455
455
|
}
|
|
456
456
|
hostDisconnected() {
|
|
457
|
-
this.#i?.(), this.#i = void 0, this.#
|
|
457
|
+
this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports = m();
|
|
458
458
|
}
|
|
459
459
|
hostLifecycle() {
|
|
460
460
|
return [
|
|
461
461
|
g(
|
|
462
462
|
() => this.#s(),
|
|
463
463
|
(t) => {
|
|
464
|
-
if (this.#
|
|
465
|
-
if (this.#i?.(), this.#i = void 0, this.#
|
|
464
|
+
if (this.#e !== t) {
|
|
465
|
+
if (this.#i?.(), this.#i = void 0, this.#e = t, this.#t = t?.slotGroupRefs, !t) {
|
|
466
466
|
this.exports = m();
|
|
467
467
|
return;
|
|
468
468
|
}
|
|
469
469
|
this.#i = le(t, (s) => {
|
|
470
470
|
this.#n(s) || (this.exports = s);
|
|
471
|
-
}), I(t, this.#
|
|
471
|
+
}), I(t, this.#t);
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
474
|
{ sync: !0, initial: !0 }
|
|
@@ -476,7 +476,7 @@ class oe extends $ {
|
|
|
476
476
|
g(
|
|
477
477
|
() => this.#s()?.slotGroupRefs,
|
|
478
478
|
(t) => {
|
|
479
|
-
this.#
|
|
479
|
+
this.#t = t, this.#e && t && I(this.#e, t);
|
|
480
480
|
},
|
|
481
481
|
{ sync: !0, initial: !0 }
|
|
482
482
|
)
|
|
@@ -487,7 +487,7 @@ class oe extends $ {
|
|
|
487
487
|
return e && typeof e != "string" ? e : void 0;
|
|
488
488
|
}
|
|
489
489
|
hostUpdated() {
|
|
490
|
-
!this.#
|
|
490
|
+
!this.#e || !this.#t || I(this.#e, this.#t);
|
|
491
491
|
}
|
|
492
492
|
// Compares the newly measured sizes against the currently exported values.
|
|
493
493
|
#n(e) {
|
|
@@ -498,35 +498,35 @@ class oe extends $ {
|
|
|
498
498
|
});
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
const de =
|
|
502
|
-
class pe extends
|
|
501
|
+
const de = D(oe), ce = B(l);
|
|
502
|
+
class pe extends T {
|
|
503
503
|
constructor() {
|
|
504
|
-
super(...arguments), this._messages =
|
|
505
|
-
this
|
|
506
|
-
}, this.#
|
|
507
|
-
this.#
|
|
504
|
+
super(...arguments), this._messages = G(), this._direction = E(), this._viewModel = ce(this), this.#e = (e) => {
|
|
505
|
+
this._viewModel.captureArrowKeysForNavigation(e, this._direction);
|
|
506
|
+
}, this.#i = ie(this), this.#n = null, this.#r = (e) => {
|
|
507
|
+
this.#i.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
|
|
508
|
+
}, this.#l = (e) => {
|
|
509
|
+
this.#i.openPopup(e), this.sliceAnalysisInteractive && this._viewModel.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
|
|
508
510
|
}, this.#o = (e) => {
|
|
509
|
-
this
|
|
511
|
+
this.sliceAnalysisInteractive && this._viewModel.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
|
|
510
512
|
}, this.#d = (e) => {
|
|
511
|
-
this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
|
|
512
|
-
}, this.#c = (e) => {
|
|
513
513
|
const t = e.detail?.selectedSlide;
|
|
514
514
|
if (!t)
|
|
515
515
|
return;
|
|
516
|
-
this.#
|
|
516
|
+
this.#s?.abort();
|
|
517
517
|
const s = new AbortController();
|
|
518
|
-
this.#
|
|
519
|
-
const n = Date.now(), a = this.#
|
|
520
|
-
if (this.#
|
|
518
|
+
this.#s = s;
|
|
519
|
+
const n = Date.now(), a = this.#n !== null && n - this.#n < C;
|
|
520
|
+
if (this.#n = n, this._viewModel.applySlide(t, a, s), a) {
|
|
521
521
|
this._showSlideList = !1;
|
|
522
522
|
return;
|
|
523
523
|
}
|
|
524
524
|
setTimeout(() => {
|
|
525
|
-
s.signal.aborted || (this._showSlideList = !1
|
|
525
|
+
s.signal.aborted || (this._showSlideList = !1);
|
|
526
526
|
}, X(C));
|
|
527
|
-
}, this.#
|
|
527
|
+
}, this.#a = () => {
|
|
528
528
|
this._showSlideList = !1;
|
|
529
|
-
}, this._showSlideList = !1, this.autoDestroyDisabled = !1, this.view = this
|
|
529
|
+
}, this._showSlideList = !1, this.autoDestroyDisabled = !1, this.view = this._viewModel.view, this.visualScale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.slideLegendDisabled = this._viewModel.slideLegendDisabled, this.sliceAnalysisInteractive = !1, this.navigationHidden = !1, this.arcgisPopupFeatureNotFound = v(), this.arcgisPopupFeaturesRetrieved = v(), this.arcgisReady = v(), this.arcgisSlideApplyCancel = v(), this.arcgisSlideApplyComplete = v(), this.arcgisSlideApplyStart = v();
|
|
530
530
|
}
|
|
531
531
|
static {
|
|
532
532
|
this.properties = { _slotSizesController: 16, _showSlideList: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, visualScale: 1, keyboardNavigationEnabled: 5, slidePopupDisabled: 5, slideCaptionsDisabled: 5, slideLegendDisabled: 5, sliceAnalysisInteractive: 5, navigationHidden: 5 };
|
|
@@ -534,89 +534,88 @@ class pe extends G {
|
|
|
534
534
|
static {
|
|
535
535
|
this.styles = Y;
|
|
536
536
|
}
|
|
537
|
-
#e;
|
|
538
537
|
#t;
|
|
538
|
+
#e;
|
|
539
539
|
#i;
|
|
540
540
|
#s;
|
|
541
541
|
#n;
|
|
542
|
-
#
|
|
542
|
+
#r;
|
|
543
543
|
#l;
|
|
544
544
|
#o;
|
|
545
545
|
#d;
|
|
546
|
-
#
|
|
547
|
-
#r;
|
|
548
|
-
#h;
|
|
546
|
+
#a;
|
|
549
547
|
#p;
|
|
548
|
+
#c;
|
|
550
549
|
get slideId() {
|
|
551
|
-
return this
|
|
550
|
+
return this._viewModel.slideId;
|
|
552
551
|
}
|
|
553
552
|
set slideId(e) {
|
|
554
|
-
this
|
|
553
|
+
this._viewModel.slideId = e;
|
|
555
554
|
}
|
|
556
555
|
async destroy() {
|
|
557
556
|
await this.manager.destroy();
|
|
558
557
|
}
|
|
559
558
|
loaded() {
|
|
560
|
-
this
|
|
559
|
+
this._viewModel.onApplySlideStart = this.#r, this._viewModel.onApplySlideComplete = this.#l, this._viewModel.onApplySlideCancel = this.#o, this.#v();
|
|
561
560
|
const e = this;
|
|
562
561
|
this.manager.onLifecycle(() => [
|
|
563
562
|
g(() => this.sliceAnalysisInteractive, (t) => {
|
|
564
|
-
this
|
|
563
|
+
this._viewModel.setSliceAnalysisInteractive(t);
|
|
565
564
|
}, { initial: !0 }),
|
|
566
565
|
g(() => e.referenceElement, (t) => {
|
|
567
|
-
this.#
|
|
566
|
+
this.#h(t) && (this._slotSizesController = de(this), this.#c = this.#u());
|
|
568
567
|
}, { once: !0, initial: !0 }),
|
|
569
568
|
{
|
|
570
569
|
remove: () => {
|
|
571
|
-
document.removeEventListener("keydown", this.#
|
|
570
|
+
document.removeEventListener("keydown", this.#e), this.#p?.removeEventListener("arcgisSlideListClose", this.#a), this.#t?.remove(), this.#c?.remove(), this.#s?.abort();
|
|
572
571
|
}
|
|
573
572
|
}
|
|
574
573
|
]);
|
|
575
574
|
}
|
|
576
|
-
#
|
|
575
|
+
#h(e) {
|
|
577
576
|
return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
|
|
578
577
|
}
|
|
579
|
-
#
|
|
580
|
-
return g(() => this._slotSizesController, (e) => this.#
|
|
578
|
+
#u() {
|
|
579
|
+
return g(() => this._slotSizesController, (e) => this.#g(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
|
|
581
580
|
}
|
|
582
|
-
#
|
|
581
|
+
#g(e, t, s, n) {
|
|
583
582
|
const a = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, r = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, c = Math.max(e?.height ?? 0, t?.height ?? 0), p = Math.max(s?.height ?? 0, n?.height ?? 0);
|
|
584
583
|
a > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-start", `calc(var(--calcite-space-lg) + ${a.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-start", "0px"), r > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-end", `calc(var(--calcite-space-lg) + ${r.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-end", "0px");
|
|
585
584
|
const h = a <= Math.max(c, p) && r <= Math.max(c, p);
|
|
586
585
|
this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", h ? "0" : `${c}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", h ? "0" : `${p}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", h ? `${a}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", h ? `${r}px` : "0");
|
|
587
586
|
}
|
|
588
|
-
#
|
|
587
|
+
#v() {
|
|
589
588
|
this.#t = g(() => this.keyboardNavigationEnabled, (e) => {
|
|
590
|
-
document.removeEventListener("keydown", this.#
|
|
589
|
+
document.removeEventListener("keydown", this.#e), e && document.addEventListener("keydown", this.#e);
|
|
591
590
|
}, { initial: !0 });
|
|
592
591
|
}
|
|
593
592
|
render() {
|
|
594
|
-
if (this
|
|
593
|
+
if (this._viewModel?.visibleSlides?.length === 0)
|
|
595
594
|
return u`<div></div>`;
|
|
596
|
-
const e = this
|
|
595
|
+
const e = this._viewModel.visibleSlides.find((a) => a.id === this.slideId), t = this.#S(), s = this.#b(e), n = this.#f();
|
|
597
596
|
return u`<div class="root"><div class="presentation-content">${s}${n}</div>${t}</div>`;
|
|
598
597
|
}
|
|
599
|
-
#
|
|
598
|
+
#S() {
|
|
600
599
|
if (this.navigationHidden)
|
|
601
600
|
return null;
|
|
602
|
-
const e = this
|
|
603
|
-
return u`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container" id=${P}><calcite-action-bar expand-toggle-disabled layout=horizontal .scale=${this.visualScale === "l" ? "m" : "s"}><calcite-action .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></calcite-action-bar><calcite-tooltip .referenceElement=${P} placement=bottom><span>${this._messages.slideList}</span></calcite-tooltip></div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .disabled=${this
|
|
601
|
+
const e = this._viewModel.lastSlideSelected && !this._viewModel.hasOnlyOneSlide, t = this.#y();
|
|
602
|
+
return u`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container" id=${P}><calcite-action-bar expand-toggle-disabled layout=horizontal .scale=${this.visualScale === "l" ? "m" : "s"}><calcite-action .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></calcite-action-bar><calcite-tooltip .referenceElement=${P} placement=bottom><span>${this._messages.slideList}</span></calcite-tooltip></div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .disabled=${this._viewModel.firstSlideSelected || !this._viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? x} @click=${() => this._viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this.#m()}</div><calcite-button appearance=transparent icon-start=${e ? "reset" : "chevron-right"} icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? x} @click=${() => this._viewModel.navigateInPresentation(1)}></calcite-button></div></div>`;
|
|
603
|
+
}
|
|
604
|
+
#m() {
|
|
605
|
+
const e = this._viewModel.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this._viewModel.visibleSlides.length.toString());
|
|
606
|
+
return this._viewModel.slideSelected ? u`<p role=banner aria-label=${t ?? x} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div>/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this._viewModel.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this._viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
|
|
604
607
|
}
|
|
605
|
-
#b() {
|
|
606
|
-
|
|
607
|
-
return this.#e.slideSelected ? u`<p role=banner aria-label=${t ?? x} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div>/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides?.length} ${this._messages?.slides}</p>`;
|
|
608
|
+
#b(e) {
|
|
609
|
+
return this.slideCaptionsDisabled ? null : u`<arcgis-presentation-captions .slide=${e} .transitionActive=${this._viewModel.transitionActive}></arcgis-presentation-captions>`;
|
|
608
610
|
}
|
|
609
|
-
#f(
|
|
610
|
-
return this.
|
|
611
|
+
#f() {
|
|
612
|
+
return this._viewModel.showLegend ? u`<calcite-panel data-testid=presentation-legend class="legend-container" .heading=${this._messages.legend} closable @calcitePanelClose=${() => this._viewModel.showLegend = !1}><arcgis-legend class="legend" .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()}></arcgis-legend></calcite-panel>` : null;
|
|
611
613
|
}
|
|
612
614
|
#y() {
|
|
613
|
-
return this
|
|
614
|
-
}
|
|
615
|
-
#w() {
|
|
616
|
-
return this._showSlideList ? u`<arcgis-presentation-slide-list .slides=${this.#e.visibleSlides} .slideId=${this.#e.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#c} @arcgisSlideListOutsideClick=${this.#r}></arcgis-presentation-slide-list>` : null;
|
|
615
|
+
return this._showSlideList ? u`<arcgis-presentation-slide-list .slides=${this._viewModel.visibleSlides} .slideId=${this._viewModel.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#d} @arcgisSlideListOutsideClick=${this.#a}></arcgis-presentation-slide-list>` : null;
|
|
617
616
|
}
|
|
618
617
|
}
|
|
619
|
-
|
|
618
|
+
z("arcgis-presentation", pe);
|
|
620
619
|
export {
|
|
621
620
|
pe as ArcgisPresentation
|
|
622
621
|
};
|
|
@@ -568,7 +568,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
568
568
|
* populated in the Print component under `Advanced options`. These values can be
|
|
569
569
|
* overwritten in the Print component UI, or programmatically using this property.
|
|
570
570
|
* To list all print templates available on the print service to see
|
|
571
|
-
*
|
|
571
|
+
* which templates were published with `customTextElements`, use the
|
|
572
572
|
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/PrintViewModel/#effectiveTemplateCustomTextElements)
|
|
573
573
|
* property.
|
|
574
574
|
*
|
|
@@ -45,20 +45,20 @@ export abstract class ArcgisScaleRangeSlider extends LitElement {
|
|
|
45
45
|
*/
|
|
46
46
|
accessor disabled: boolean;
|
|
47
47
|
/**
|
|
48
|
-
* Indicates whether the preview thumbnail of the scale is
|
|
49
|
-
* Default value is `
|
|
48
|
+
* Indicates whether the preview thumbnail of the scale is hidden.
|
|
49
|
+
* Default value is `false`.
|
|
50
50
|
*
|
|
51
51
|
* @default false
|
|
52
52
|
*/
|
|
53
53
|
accessor hidePreview: boolean | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* Indicates whether the maximum scale dropdown menu is
|
|
55
|
+
* Indicates whether the maximum scale dropdown menu is hidden. Default value is `false`.
|
|
56
56
|
*
|
|
57
57
|
* @default false
|
|
58
58
|
*/
|
|
59
59
|
accessor hideScaleMenusMaxScaleMenu: boolean | undefined;
|
|
60
60
|
/**
|
|
61
|
-
* Indicates whether the minimum scale dropdown menu is
|
|
61
|
+
* Indicates whether the minimum scale dropdown menu is hidden. Default value is `false`.
|
|
62
62
|
*
|
|
63
63
|
* @default false
|
|
64
64
|
*/
|
|
@@ -625,7 +625,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
625
625
|
* };
|
|
626
626
|
*
|
|
627
627
|
* // Add the options to the highlights collection at the first position
|
|
628
|
-
* view.highlights.add(
|
|
628
|
+
* view.highlights.add(selectionHighlightOptions, 0);
|
|
629
629
|
*/
|
|
630
630
|
accessor highlights: Collection<HighlightOptions>;
|
|
631
631
|
/**
|
|
@@ -863,13 +863,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
863
863
|
*/
|
|
864
864
|
accessor spatialReference: SpatialReference;
|
|
865
865
|
/**
|
|
866
|
-
* Indicates whether the view is animating, being navigated
|
|
866
|
+
* Indicates whether the view is stationary, meaning it is not animating, being navigated, or resizing.
|
|
867
867
|
*
|
|
868
868
|
* @default false
|
|
869
869
|
*/
|
|
870
870
|
get stationary(): boolean;
|
|
871
871
|
/**
|
|
872
|
-
* Indicates
|
|
872
|
+
* Indicates whether rendering in the view is suspended.
|
|
873
873
|
*
|
|
874
874
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#suspended)
|
|
875
875
|
*
|
|
@@ -908,13 +908,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
908
908
|
* }
|
|
909
909
|
* });
|
|
910
910
|
*
|
|
911
|
-
* // Create a
|
|
911
|
+
* // Create a scene view showing sales for the last week of March 2019 only.
|
|
912
912
|
* const view = new SceneView({
|
|
913
913
|
* map: map,
|
|
914
914
|
* container: "viewDiv",
|
|
915
915
|
* timeExtent: {
|
|
916
|
-
* start: new Date(
|
|
917
|
-
* end: new Date(
|
|
916
|
+
* start: new Date(2019, 2, 24),
|
|
917
|
+
* end: new Date(2019, 2, 31)
|
|
918
918
|
* }
|
|
919
919
|
* });
|
|
920
920
|
*/
|
|
@@ -1217,8 +1217,8 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1217
1217
|
*/
|
|
1218
1218
|
readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
|
|
1219
1219
|
/**
|
|
1220
|
-
*
|
|
1221
|
-
*
|
|
1220
|
+
* Fires when the view's [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#stationary) property changes, including when navigation
|
|
1221
|
+
* starts or stops. It also fires when the component loads.
|
|
1222
1222
|
*
|
|
1223
1223
|
* > The `arcgisViewChange` event may be emitted before the view is fully ready.
|
|
1224
1224
|
* > This means the event can fire before the component's `stationary` property is `true` or before the view has completed its initial setup.
|
|
@@ -1323,7 +1323,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1323
1323
|
*/
|
|
1324
1324
|
readonly arcgisViewKeyUp: import("@arcgis/lumina").TargetedEvent<this, KeyUpEvent>;
|
|
1325
1325
|
/**
|
|
1326
|
-
* Fires after
|
|
1326
|
+
* Fires after a LayerView is created for a layer in the map.
|
|
1327
1327
|
*
|
|
1328
1328
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-layerview-create)
|
|
1329
1329
|
*/
|
|
@@ -1376,10 +1376,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1376
1376
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-pointer-up)
|
|
1377
1377
|
*/
|
|
1378
1378
|
readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
|
|
1379
|
-
/**
|
|
1380
|
-
* This event is for the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property and will be emitted when the view is ready.
|
|
1381
|
-
* This event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) property is changed.
|
|
1382
|
-
*/
|
|
1379
|
+
/** Fires when the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property changes, or when the component loads if the view is already ready. */
|
|
1383
1380
|
readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1384
1381
|
/**
|
|
1385
1382
|
* Fires if the view encounters a content or rendering error.
|
|
@@ -287,7 +287,7 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
287
287
|
*/
|
|
288
288
|
accessor popupTemplate: PopupTemplate | null | undefined;
|
|
289
289
|
/**
|
|
290
|
-
* It is possible to search a specified portal instance's [locator services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-portal-to-geocode-addresses.html)
|
|
290
|
+
* It is possible to search a specified portal instance's [locator services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-portal-to-geocode-addresses.html).
|
|
291
291
|
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
292
292
|
*
|
|
293
293
|
* @since 4.8
|
|
@@ -319,13 +319,13 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
319
319
|
/** An array of objects, each containing a [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult) from the search. */
|
|
320
320
|
get results(): Array<SearchResults> | null | undefined;
|
|
321
321
|
/**
|
|
322
|
-
* By default, the "All" option is displayed
|
|
322
|
+
* By default, the "All" option is displayed to search all sources:
|
|
323
323
|
*
|
|
324
|
-
* 
|
|
325
325
|
*
|
|
326
326
|
* When `true`, no option to search all sources at once is available:
|
|
327
327
|
*
|
|
328
|
-
* 
|
|
329
329
|
*
|
|
330
330
|
* @default false
|
|
331
331
|
*/
|
|
@@ -178,7 +178,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
178
178
|
*/
|
|
179
179
|
accessor hideZoomToButton: boolean;
|
|
180
180
|
/**
|
|
181
|
-
* Property controlling whether corresponding features on the view should be highlighted when
|
|
181
|
+
* Property controlling whether corresponding features on the view should not be highlighted when
|
|
182
182
|
* hovering over the associated list item. Only applies to list items representing individual features.
|
|
183
183
|
*
|
|
184
184
|
* @default false
|
|
@@ -333,7 +333,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
333
333
|
*/
|
|
334
334
|
get visibleFeatureCount(): number;
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
336
|
+
* Visible [feature items](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SelectionList/FeatureItem/) in the list, accounting for [maxVisibleFeatureCountPerLayer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-selection-list/#maxVisibleFeatureCountPerLayer).
|
|
337
337
|
* Excludes [feature items](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SelectionList/FeatureItem/) hidden by the filter.
|
|
338
338
|
*
|
|
339
339
|
* @since 5.2
|