@arcgis/map-components 5.2.0-next.0 → 5.2.0-next.2
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/24UHFJSD.js +2 -0
- package/dist/cdn/2MJTTQRU.js +2 -0
- package/dist/cdn/{J23UDIAN.js → 43Q3TUPX.js} +1 -1
- package/dist/cdn/72IUGDSR.js +2 -0
- package/dist/cdn/A7P3DUN2.js +2 -0
- package/dist/cdn/AEV7DYPK.js +2 -0
- package/dist/cdn/{CZ3FVANK.js → AOC4VUP6.js} +1 -1
- package/dist/cdn/EWYSBOXF.js +2 -0
- package/dist/cdn/GVOCIBLC.js +2 -0
- package/dist/cdn/JBRTOHPW.js +2 -0
- package/dist/cdn/JBWWGDI5.js +2 -0
- package/dist/cdn/L5DJYP26.js +2 -0
- package/dist/cdn/P2YOSZ4V.js +2 -0
- package/dist/cdn/{NGGYUKKX.js → PRZ7EKB7.js} +1 -1
- package/dist/cdn/PYZZBY6S.js +2 -0
- package/dist/cdn/RL5PFJGE.js +2 -0
- package/dist/cdn/S37FED24.js +2 -0
- package/dist/cdn/THRRGHTM.js +2 -0
- package/dist/cdn/ZF7CLHYV.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +60 -111
- package/dist/chunks/useLayerById.js +5 -5
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
- package/dist/components/arcgis-daylight/customElement.js +98 -112
- package/dist/components/arcgis-directions/customElement.d.ts +5 -5
- package/dist/components/arcgis-directions/customElement.js +3 -3
- package/dist/components/arcgis-feature/customElement.d.ts +4 -1
- package/dist/components/arcgis-feature-next/customElement.d.ts +27 -65
- package/dist/components/arcgis-feature-table/customElement.d.ts +35 -20
- package/dist/components/arcgis-feature-table/customElement.js +36 -30
- package/dist/components/arcgis-features/customElement.d.ts +10 -11
- package/dist/components/arcgis-features-next/customElement.d.ts +61 -126
- package/dist/components/arcgis-features-next/customElement.js +69 -63
- package/dist/components/arcgis-features-next/index.js +1 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -3
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +10 -3
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +12 -12
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +23 -20
- package/dist/components/arcgis-popup/customElement.d.ts +7 -9
- package/dist/components/arcgis-popup/customElement.js +9 -9
- package/dist/components/arcgis-scene/customElement.d.ts +10 -3
- package/dist/components/arcgis-scene/customElement.js +24 -24
- package/dist/components/arcgis-search/customElement.d.ts +7 -0
- package/dist/components/arcgis-search/customElement.js +38 -38
- package/dist/components/arcgis-video/customElement.d.ts +15 -2
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
- package/dist/components/arcgis-video-player/customElement.js +14 -11
- package/dist/components/arcgis-video-player-controls-group/customElement.js +19 -17
- package/dist/components/arcgis-video-player-settings/customElement.js +20 -18
- package/dist/components/arcgis-video-player-settings/index.js +1 -0
- 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 +11 -11
- package/dist/types/lumina.d.ts +8 -8
- package/dist/types/preact.d.ts +8 -8
- package/dist/types/react.d.ts +8 -8
- package/dist/types/stencil.d.ts +8 -8
- package/package.json +4 -4
- package/dist/cdn/25DYY7HH.js +0 -2
- package/dist/cdn/274IEJH2.js +0 -2
- package/dist/cdn/4XR7RDUC.js +0 -2
- package/dist/cdn/7LPXFLXF.js +0 -2
- package/dist/cdn/AKNID6WJ.js +0 -2
- package/dist/cdn/CPQQEWKH.js +0 -2
- package/dist/cdn/IGXBF2RY.js +0 -2
- package/dist/cdn/IHDWD72J.js +0 -2
- package/dist/cdn/M4CPJTHZ.js +0 -2
- package/dist/cdn/NLHFLEWT.js +0 -2
- package/dist/cdn/OFUAKDTE.js +0 -2
- package/dist/cdn/TFLKRVDZ.js +0 -2
- package/dist/cdn/UZ3CMTNE.js +0 -2
- package/dist/cdn/WTGXVWSL.js +0 -2
- package/dist/cdn/YMUQ7JSB.js +0 -2
- package/dist/cdn/ZCULSTYU.js +0 -2
|
@@ -33,9 +33,12 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
33
33
|
* list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
|
|
34
34
|
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate).
|
|
35
35
|
*
|
|
36
|
-
* The Features component should be used if needing to use the Popup functionality outside of the map or scene component.
|
|
36
|
+
* The Features component should be used if needing to use the Popup functionality outside of the map or scene component. To show a single feature's content without
|
|
37
37
|
* actions, related records, clustering configuration, etc., then use the [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
|
|
38
38
|
*
|
|
39
|
+
* > [!WARNING]
|
|
40
|
+
* > In version 6.0, the implementation of [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) will be updated under the hood to that of [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/), and deprecated properties on this component will be removed. We encourage using the [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/) component and providing feedback.
|
|
41
|
+
*
|
|
39
42
|
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
40
43
|
* @since 4.28
|
|
41
44
|
*/
|
|
@@ -102,7 +105,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
102
105
|
*/
|
|
103
106
|
accessor defaultPopupTemplateEnabled: boolean;
|
|
104
107
|
/**
|
|
105
|
-
* The heading currently displayed for the selected feature. This value resolves to the
|
|
108
|
+
* The heading currently displayed for the selected feature. This value resolves to the selected feature's [PopupTemplate title](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#title) when available, otherwise it falls back to the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading).
|
|
106
109
|
*
|
|
107
110
|
* @since 5.1
|
|
108
111
|
* @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading)
|
|
@@ -137,9 +140,9 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
137
140
|
*/
|
|
138
141
|
accessor featureNavigationTop: boolean;
|
|
139
142
|
/**
|
|
140
|
-
* An array of
|
|
143
|
+
* An array of graphics associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
141
144
|
*
|
|
142
|
-
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature)
|
|
145
|
+
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
143
146
|
*
|
|
144
147
|
* This value is `null` if no features are associated with the component.
|
|
145
148
|
*
|
|
@@ -278,7 +281,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
278
281
|
*/
|
|
279
282
|
accessor hideFieldsContent: boolean;
|
|
280
283
|
/**
|
|
281
|
-
* Indicates whether to hide the heading
|
|
284
|
+
* Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading).
|
|
282
285
|
*
|
|
283
286
|
* @default false
|
|
284
287
|
*/
|
|
@@ -468,11 +471,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
468
471
|
/**
|
|
469
472
|
* Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
|
|
470
473
|
*
|
|
471
|
-
* When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
|
|
472
|
-
*
|
|
473
474
|
* @default false
|
|
474
|
-
* @see [
|
|
475
|
-
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/popup/Features/#active)
|
|
475
|
+
* @see [active](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#active)
|
|
476
476
|
* @see [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#clear)
|
|
477
477
|
* @since 5.0
|
|
478
478
|
* @example
|
|
@@ -480,7 +480,6 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
480
480
|
* // Listen for clicks on the view and open the component at the clicked location with custom content.
|
|
481
481
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
482
482
|
* const { mapPoint } = event.detail;
|
|
483
|
-
* component.clear();
|
|
484
483
|
* component.location = mapPoint;
|
|
485
484
|
* component.heading = "You clicked here";
|
|
486
485
|
* component.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -564,7 +563,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
564
563
|
*/
|
|
565
564
|
accessor timeZone: string;
|
|
566
565
|
/**
|
|
567
|
-
* Indicates whether to update the
|
|
566
|
+
* Indicates whether to update the component's location when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex) changes.
|
|
568
567
|
*
|
|
569
568
|
* @default false
|
|
570
569
|
* @since 5.0
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type Features from "@arcgis/core/popup/Features.js";
|
|
5
4
|
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
6
5
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
7
6
|
import type FeatureAbilities from "@arcgis/core/popup/support/FeatureAbilities.js";
|
|
8
7
|
import type Map from "@arcgis/core/Map.js";
|
|
9
8
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
10
|
-
import type { ActionEvent
|
|
9
|
+
import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
|
|
11
10
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
12
|
-
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
13
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
14
12
|
import type { ArcgisFeatureNext } from "../arcgis-feature-next/customElement.js";
|
|
15
13
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -18,25 +16,30 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
18
16
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
19
17
|
|
|
20
18
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* > [!WARNING]
|
|
20
|
+
* > The Features (next) component is the successor to the Features component, provided to you early for testing and feedback. In version 6.0, the implementation of [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) will be updated under the hood to that of [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/), and this component will be removed. To update at version 6.0, simply remove `-next` from the component name.
|
|
21
|
+
*
|
|
22
|
+
* The Features (next) component allows users to view a feature's popupTemplate content such as attributes,
|
|
23
|
+
* actions, related records, etc., without living inside a view component.
|
|
23
24
|
* This component looks and behaves similarly to the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component,
|
|
24
|
-
* however unlike Popup, the Features component can be placed outside of
|
|
25
|
+
* however unlike Popup, the Features (next) component can be placed outside of a view component.
|
|
25
26
|
* For example, when features are selected in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/),
|
|
26
27
|
* the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) opens within the map whether it is docked
|
|
27
28
|
* or anchored to the selected feature.
|
|
28
|
-
* With the Features component, the same information that Popup provides is shown in a separate container from the map, such as
|
|
29
|
-
* a HTML div within a Calcite Design System
|
|
29
|
+
* With the Features (next) component, the same information that Popup provides is shown in a separate container from the map, such as a Calcite Design System
|
|
30
30
|
* [Shell Panel](https://developers.arcgis.com/calcite-design-system/components/shell-panel/).
|
|
31
31
|
*
|
|
32
|
-
* If multiple features are passed into the Features component, the component provides buttons to page though the features and a feature menu that allows the
|
|
32
|
+
* If multiple features are passed into the Features (next) component, the component provides buttons to page though the features and a feature menu that allows the
|
|
33
33
|
* list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
|
|
34
34
|
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate).
|
|
35
35
|
*
|
|
36
|
-
* The Features component should be used if needing to use the Popup functionality outside of the map or scene component.
|
|
37
|
-
* actions, related records, clustering configuration, etc., then use the [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
|
|
36
|
+
* The Features (next) component should be used if needing to use the Popup functionality outside of the map or scene component. To show a single feature's content without
|
|
37
|
+
* actions, related records, clustering configuration, etc., then use the [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/) component.
|
|
38
38
|
*
|
|
39
39
|
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
40
|
+
* @see [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/)
|
|
41
|
+
* @see [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/)
|
|
42
|
+
* @beta
|
|
40
43
|
* @since 5.1
|
|
41
44
|
*/
|
|
42
45
|
export abstract class ArcgisFeaturesNext extends LitElement {
|
|
@@ -67,15 +70,14 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
67
70
|
*/
|
|
68
71
|
accessor autoDestroyDisabled: boolean;
|
|
69
72
|
/**
|
|
70
|
-
*
|
|
73
|
+
* Indicates whether to disable chart animation in the component.
|
|
71
74
|
*
|
|
72
75
|
* @default false
|
|
73
|
-
* @since 5.1
|
|
74
76
|
*/
|
|
75
77
|
accessor chartAnimationDisabled: boolean | undefined;
|
|
76
78
|
/**
|
|
77
79
|
* Indicates whether the component displays its content. If `true`, only the header displays.
|
|
78
|
-
* This property is only honored if [
|
|
80
|
+
* This property is only honored if [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#showCollapseButton) is `true`.
|
|
79
81
|
*
|
|
80
82
|
* @default false
|
|
81
83
|
*/
|
|
@@ -98,50 +100,39 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
98
100
|
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
99
101
|
*
|
|
100
102
|
* @default false
|
|
101
|
-
* @since 5.1
|
|
102
103
|
*/
|
|
103
104
|
accessor defaultPopupTemplateEnabled: boolean;
|
|
104
105
|
/**
|
|
105
|
-
* The heading currently displayed for the selected feature. This value resolves to the
|
|
106
|
+
* The heading currently displayed for the selected feature. This value resolves to the selected feature's [PopupTemplate title](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#title) when available, otherwise it falls back to the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading).
|
|
106
107
|
*
|
|
107
108
|
* @since 5.1
|
|
108
109
|
* @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading)
|
|
109
110
|
* @see [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature)
|
|
110
111
|
*/
|
|
111
112
|
get effectiveHeading(): string | null | undefined;
|
|
112
|
-
/**
|
|
113
|
-
* The number of [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#features) available in the component.
|
|
114
|
-
*
|
|
115
|
-
* @since 5.1
|
|
116
|
-
*/
|
|
113
|
+
/** The number of [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#features) available in the component. */
|
|
117
114
|
accessor featureCount: number;
|
|
118
|
-
/** Defines the specific [abilities](https://developers.arcgis.com/javascript/latest/references/core/
|
|
115
|
+
/** Defines the specific [abilities](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FeatureAbilities/) that can be used when querying and displaying content. */
|
|
119
116
|
accessor featureItemAbilities: FeatureAbilities | null | undefined;
|
|
120
117
|
/**
|
|
121
118
|
* This property enables multiple features in the component to display in a list rather than displaying the first selected feature. Setting this to `true` allows the user to scroll through the list of features. This value will only be honored if [initialDisplayMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#initialDisplayMode) is set to "feature".
|
|
122
119
|
*
|
|
123
120
|
* @default false
|
|
124
|
-
* @since 5.1
|
|
125
121
|
*/
|
|
126
122
|
accessor featureMenuOpen: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Sets the title to display on the component while viewing the feature menu.
|
|
129
|
-
*
|
|
130
|
-
* @since 5.1
|
|
131
|
-
*/
|
|
123
|
+
/** Sets the title to display on the component while viewing the feature menu. */
|
|
132
124
|
accessor featureMenuTitle: string | undefined;
|
|
133
125
|
/**
|
|
134
126
|
* Indicates whether the feature navigation arrows are displayed at the top of the component.
|
|
135
127
|
* By default, the navigation arrows are displayed at the bottom of the component.
|
|
136
128
|
*
|
|
137
129
|
* @default false
|
|
138
|
-
* @since 5.1
|
|
139
130
|
*/
|
|
140
131
|
accessor featureNavigationTop: boolean;
|
|
141
132
|
/**
|
|
142
|
-
* An array of
|
|
133
|
+
* An array of graphics associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
143
134
|
*
|
|
144
|
-
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature)
|
|
135
|
+
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature).
|
|
145
136
|
*
|
|
146
137
|
* This value is `null` if no features are associated with the component.
|
|
147
138
|
*
|
|
@@ -168,6 +159,8 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
168
159
|
* @default 20
|
|
169
160
|
*/
|
|
170
161
|
accessor featuresPerPage: number;
|
|
162
|
+
/** @default false */
|
|
163
|
+
accessor focusTrapEnabled: boolean;
|
|
171
164
|
/**
|
|
172
165
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
173
166
|
*
|
|
@@ -183,16 +176,14 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
183
176
|
* ```
|
|
184
177
|
*/
|
|
185
178
|
accessor goToOverride: GoToOverride | null | undefined;
|
|
186
|
-
/**
|
|
179
|
+
/** A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action buttons](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggles](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) that are displayed in the header of the component. Each action may be executed by clicking the icon or image symbolizing them. The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#event-arcgisTriggerAction) event fires each time an action is clicked. */
|
|
187
180
|
accessor headerActions: Collection<ActionButton | ActionToggle>;
|
|
188
181
|
/**
|
|
189
182
|
* The title of the Features component. This can be set to any string value no
|
|
190
|
-
* matter the features that are selected. If the [
|
|
191
|
-
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
192
|
-
* corresponding template is used here.
|
|
183
|
+
* matter the features that are selected. If the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature)
|
|
184
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the corresponding template is used here.
|
|
193
185
|
*
|
|
194
|
-
* @see [
|
|
195
|
-
* @since 5.1
|
|
186
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#headingLevel)
|
|
196
187
|
* @example
|
|
197
188
|
* ```js
|
|
198
189
|
* // This title will display in the component unless a selected feature's
|
|
@@ -202,26 +193,21 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
202
193
|
*/
|
|
203
194
|
accessor heading: string | null | undefined;
|
|
204
195
|
/**
|
|
205
|
-
* Indicates the heading level to use for the
|
|
206
|
-
* By default, the heading is rendered
|
|
207
|
-
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
208
|
-
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
209
|
-
* important for meeting accessibility standards.
|
|
196
|
+
* Indicates the heading level to use for the headings in the component.
|
|
210
197
|
*
|
|
211
198
|
* @default 2
|
|
212
199
|
*/
|
|
213
200
|
accessor headingLevel: HeadingLevel;
|
|
214
201
|
/**
|
|
215
|
-
* Indicates whether to hide the action bar that holds the feature's [
|
|
202
|
+
* Indicates whether to hide the action bar that holds the feature's [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
|
|
216
203
|
*
|
|
217
204
|
* @default false
|
|
218
205
|
*/
|
|
219
206
|
accessor hideActionBar: boolean;
|
|
220
207
|
/**
|
|
221
|
-
*
|
|
208
|
+
* Indicates whether to hide [attachments content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) within the component.
|
|
222
209
|
*
|
|
223
210
|
* @default false
|
|
224
|
-
* @since 5.1
|
|
225
211
|
*/
|
|
226
212
|
accessor hideAttachmentsContent: boolean | undefined;
|
|
227
213
|
/**
|
|
@@ -231,31 +217,27 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
231
217
|
*/
|
|
232
218
|
accessor hideCloseButton: boolean;
|
|
233
219
|
/**
|
|
234
|
-
*
|
|
220
|
+
* Indicates whether to hide the component's content.
|
|
235
221
|
*
|
|
236
222
|
* @default false
|
|
237
|
-
* @since 5.1
|
|
238
223
|
*/
|
|
239
224
|
accessor hideContent: boolean;
|
|
240
225
|
/**
|
|
241
|
-
*
|
|
226
|
+
* Indicates whether to hide [custom content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) within the component.
|
|
242
227
|
*
|
|
243
228
|
* @default false
|
|
244
|
-
* @since 5.1
|
|
245
229
|
*/
|
|
246
230
|
accessor hideCustomContent: boolean | undefined;
|
|
247
231
|
/**
|
|
248
|
-
*
|
|
232
|
+
* Indicates whether to hide [expression content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) within the component.
|
|
249
233
|
*
|
|
250
234
|
* @default false
|
|
251
|
-
* @since 5.1
|
|
252
235
|
*/
|
|
253
236
|
accessor hideExpressionContent: boolean;
|
|
254
237
|
/**
|
|
255
238
|
* Indicates whether to hide the group heading for a list of multiple features.
|
|
256
239
|
*
|
|
257
240
|
* @default false
|
|
258
|
-
* @since 5.1
|
|
259
241
|
*/
|
|
260
242
|
accessor hideFeatureListLayerTitle: boolean;
|
|
261
243
|
/**
|
|
@@ -271,30 +253,27 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
271
253
|
*/
|
|
272
254
|
accessor hideFeatureNavigation: boolean;
|
|
273
255
|
/**
|
|
274
|
-
*
|
|
256
|
+
* Indicates whether to hide [fields content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) within the component.
|
|
275
257
|
*
|
|
276
258
|
* @default false
|
|
277
|
-
* @since 5.1
|
|
278
259
|
*/
|
|
279
260
|
accessor hideFieldsContent: boolean | undefined;
|
|
280
261
|
/**
|
|
281
|
-
* Indicates whether to hide the heading
|
|
262
|
+
* Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading).
|
|
282
263
|
*
|
|
283
264
|
* @default false
|
|
284
265
|
*/
|
|
285
266
|
accessor hideHeading: boolean;
|
|
286
267
|
/**
|
|
287
|
-
*
|
|
268
|
+
* Indicates whether to hide the last edited info in the component.
|
|
288
269
|
*
|
|
289
270
|
* @default false
|
|
290
|
-
* @since 5.1
|
|
291
271
|
*/
|
|
292
272
|
accessor hideLastEditedInfo: boolean;
|
|
293
273
|
/**
|
|
294
|
-
*
|
|
274
|
+
* Indicates whether to hide [media content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) within the component.
|
|
295
275
|
*
|
|
296
276
|
* @default false
|
|
297
|
-
* @since 5.1
|
|
298
277
|
*/
|
|
299
278
|
accessor hideMediaContent: boolean | undefined;
|
|
300
279
|
/**
|
|
@@ -308,7 +287,6 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
308
287
|
* Indicates whether to hide the *select feature* action when viewing associated and related features.
|
|
309
288
|
*
|
|
310
289
|
* @default false
|
|
311
|
-
* @since 5.1
|
|
312
290
|
*/
|
|
313
291
|
accessor hideSelectFeature: boolean;
|
|
314
292
|
/**
|
|
@@ -318,10 +296,9 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
318
296
|
*/
|
|
319
297
|
accessor hideSpinner: boolean;
|
|
320
298
|
/**
|
|
321
|
-
*
|
|
299
|
+
* Indicates whether to hide [text content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) within the component.
|
|
322
300
|
*
|
|
323
301
|
* @default false
|
|
324
|
-
* @since 5.1
|
|
325
302
|
*/
|
|
326
303
|
accessor hideTextContent: boolean | undefined;
|
|
327
304
|
/**
|
|
@@ -332,11 +309,10 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
332
309
|
*/
|
|
333
310
|
accessor hideUtilityNetworkContent: boolean | undefined;
|
|
334
311
|
/**
|
|
335
|
-
* Indicates whether to highlight the [
|
|
336
|
-
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/)
|
|
312
|
+
* Indicates whether to highlight the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature) in the associated
|
|
313
|
+
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) component.
|
|
337
314
|
*
|
|
338
315
|
* @default false
|
|
339
|
-
* @since 5.1
|
|
340
316
|
*/
|
|
341
317
|
accessor highlightDisabled: boolean;
|
|
342
318
|
/**
|
|
@@ -351,7 +327,6 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
351
327
|
* In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
|
|
352
328
|
*
|
|
353
329
|
* @default false
|
|
354
|
-
* @since 5.1
|
|
355
330
|
*/
|
|
356
331
|
accessor includeDefaultActionsDisabled: boolean;
|
|
357
332
|
/**
|
|
@@ -363,9 +338,9 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
363
338
|
/** The component's default label. */
|
|
364
339
|
accessor label: string | undefined;
|
|
365
340
|
/**
|
|
366
|
-
* A map is required when the input [
|
|
341
|
+
* A map is required when the input [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#features) have a popupTemplate that contains [Arcade](https://developers.arcgis.com/arcade) expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use the `$map` profile variable to access data from layers within a map. Without a map, expressions that use `$map` will throw an error.
|
|
367
342
|
*
|
|
368
|
-
* Alternatively, the [
|
|
343
|
+
* Alternatively, the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#view) property can be used to provide the map instance for this property.
|
|
369
344
|
*
|
|
370
345
|
* @default null
|
|
371
346
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -381,8 +356,6 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
381
356
|
* Replace localized message strings with your own strings.
|
|
382
357
|
*
|
|
383
358
|
* _**Note**: Individual message keys may change between releases._
|
|
384
|
-
*
|
|
385
|
-
* @since 5.1
|
|
386
359
|
*/
|
|
387
360
|
accessor messageOverrides: {
|
|
388
361
|
componentLabel?: string | undefined;
|
|
@@ -477,11 +450,8 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
477
450
|
/**
|
|
478
451
|
* Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
|
|
479
452
|
*
|
|
480
|
-
* When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
|
|
481
|
-
*
|
|
482
453
|
* @default false
|
|
483
|
-
* @see [
|
|
484
|
-
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/popup/Features/#active)
|
|
454
|
+
* @see [active](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#active)
|
|
485
455
|
* @see [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#clear)
|
|
486
456
|
* @since 5.0
|
|
487
457
|
* @example
|
|
@@ -489,7 +459,6 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
489
459
|
* // Listen for clicks on the view and open the component at the clicked location with custom content.
|
|
490
460
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
491
461
|
* const { mapPoint } = event.detail;
|
|
492
|
-
* component.clear();
|
|
493
462
|
* component.location = mapPoint;
|
|
494
463
|
* component.heading = "You clicked here";
|
|
495
464
|
* component.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -498,13 +467,6 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
498
467
|
* ```
|
|
499
468
|
*/
|
|
500
469
|
accessor open: boolean;
|
|
501
|
-
/**
|
|
502
|
-
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
503
|
-
* no pending promises, the value is `null`. When the pending promises are
|
|
504
|
-
* resolved they are removed from this array and the features they return
|
|
505
|
-
* are pushed into the [arcgis-features.features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
|
|
506
|
-
*/
|
|
507
|
-
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
508
470
|
/**
|
|
509
471
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
510
472
|
*
|
|
@@ -532,7 +494,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
532
494
|
*/
|
|
533
495
|
get selectedFeatureComponent(): ArcgisFeatureNext | undefined;
|
|
534
496
|
/**
|
|
535
|
-
* Index of the feature that is [
|
|
497
|
+
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#features) are set,
|
|
536
498
|
* the first index is automatically selected.
|
|
537
499
|
*/
|
|
538
500
|
accessor selectedFeatureIndex: number;
|
|
@@ -546,7 +508,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
546
508
|
* The spatial reference used for [Arcade](https://developers.arcgis.com/arcade) operations.
|
|
547
509
|
* This property should be set if the Features component executes Arcade expressions that contain [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/).
|
|
548
510
|
*
|
|
549
|
-
* Alternatively, the [
|
|
511
|
+
* Alternatively, the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#view) property can be used to provide the spatial reference instance for this property.
|
|
550
512
|
*
|
|
551
513
|
* @default null
|
|
552
514
|
* @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
|
|
@@ -561,7 +523,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
561
523
|
get state(): State;
|
|
562
524
|
/**
|
|
563
525
|
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
564
|
-
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) if the [
|
|
526
|
+
* inherited from [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) if the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#view) property is set. When a MapView is not associated with the component
|
|
565
527
|
* then the property will fallback to the `system` time zone.
|
|
566
528
|
*
|
|
567
529
|
* **Possible Values**
|
|
@@ -573,7 +535,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
573
535
|
*/
|
|
574
536
|
accessor timeZone: string;
|
|
575
537
|
/**
|
|
576
|
-
* Indicates whether to update the feature location when the [
|
|
538
|
+
* Indicates whether to update the feature location when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeatureIndex) changes.
|
|
577
539
|
*
|
|
578
540
|
* @default false
|
|
579
541
|
* @since 5.1
|
|
@@ -582,21 +544,18 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
582
544
|
/**
|
|
583
545
|
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) or [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
584
546
|
* The Features component requires a `view` to be set if:
|
|
585
|
-
* - The [
|
|
547
|
+
* - The [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#features) have a popupTemplate containing Arcade expressions in [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/ExpressionInfo/) or [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) that may use [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) or reference the `$map` profile variable (i.e. access data from layers within a map). Alternatively, set the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#map) property.
|
|
586
548
|
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
|
|
587
549
|
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
|
|
588
|
-
* Alternatively, set the [
|
|
589
|
-
* - Using the
|
|
590
|
-
* - Using the `Zoom to` default action. If the `view` is not specified, set the [arcgis-features.includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
550
|
+
* Alternatively, set the [timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#timeZone) property.
|
|
551
|
+
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
591
552
|
*
|
|
592
553
|
* @since 5.1
|
|
593
554
|
*/
|
|
594
555
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
595
|
-
/** @since 5.1 */
|
|
596
|
-
accessor viewModel: Features;
|
|
597
556
|
/**
|
|
598
|
-
* Removes [
|
|
599
|
-
* [
|
|
557
|
+
* Removes [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#features), [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#content), and
|
|
558
|
+
* [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading) from the component.
|
|
600
559
|
*/
|
|
601
560
|
clear(): void;
|
|
602
561
|
/** A convenience method to close the component. */
|
|
@@ -604,39 +563,15 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
604
563
|
/** Permanently destroy the component. */
|
|
605
564
|
destroy(): Promise<void>;
|
|
606
565
|
/**
|
|
607
|
-
*
|
|
608
|
-
*
|
|
609
|
-
* @param screenPoint
|
|
610
|
-
* @param options
|
|
611
|
-
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#open)
|
|
612
|
-
* @example
|
|
613
|
-
* ```js
|
|
614
|
-
* const viewElement = document.querySelector("arcgis-map");
|
|
615
|
-
* // Get viewElement's click event
|
|
616
|
-
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", async (event)=>{
|
|
617
|
-
* // Call fetchFeatures on the component and pass in the click event detail
|
|
618
|
-
* await component.fetchFeatures(event.detail);
|
|
619
|
-
* });
|
|
620
|
-
* // Watch for changes to the features property and open the component when features are available.
|
|
621
|
-
* reactiveUtils.watch(
|
|
622
|
-
* () => component.features,
|
|
623
|
-
* () => {
|
|
624
|
-
* component.open = component.features ? true : false;
|
|
625
|
-
* },
|
|
626
|
-
* );
|
|
627
|
-
* ```
|
|
628
|
-
*/
|
|
629
|
-
fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
|
|
630
|
-
/**
|
|
631
|
-
* Selects the feature at the next index in relation to the [arcgis-features.selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
566
|
+
* Selects the feature at the next index in relation to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature).
|
|
632
567
|
*
|
|
633
|
-
* @see [
|
|
568
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeatureIndex)
|
|
634
569
|
*/
|
|
635
570
|
next(): void;
|
|
636
571
|
/**
|
|
637
|
-
* Selects the feature at the previous index in relation to the [
|
|
572
|
+
* Selects the feature at the previous index in relation to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature).
|
|
638
573
|
*
|
|
639
|
-
* @see [
|
|
574
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeatureIndex)
|
|
640
575
|
*/
|
|
641
576
|
previous(): void;
|
|
642
577
|
/**
|
|
@@ -646,8 +581,8 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
646
581
|
*/
|
|
647
582
|
setFocus(): Promise<void>;
|
|
648
583
|
/**
|
|
649
|
-
* Triggers the [
|
|
650
|
-
* at the specified index in the [
|
|
584
|
+
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#event-arcgisTriggerAction) event and executes the action
|
|
585
|
+
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) array.
|
|
651
586
|
*
|
|
652
587
|
* @param action
|
|
653
588
|
*/
|
|
@@ -662,9 +597,9 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
662
597
|
* Fires after the user clicks on an action in the component.
|
|
663
598
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
664
599
|
*
|
|
665
|
-
* @see [
|
|
600
|
+
* @see [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions)
|
|
666
601
|
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
667
|
-
* @see [
|
|
602
|
+
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#open)
|
|
668
603
|
* @example
|
|
669
604
|
* ```js
|
|
670
605
|
* // Fires each time an action is clicked
|