@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
|
@@ -147,7 +147,7 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
|
|
|
147
147
|
* // Use reactiveUtils to watch for a selected item in the basemapLayerListElement.catalogLayerList
|
|
148
148
|
* const catalogSelectionWatchHandle = reactiveUtils.watch(
|
|
149
149
|
* () =>
|
|
150
|
-
* basemapLayerListElement.catalogLayerList?.selectedItems?.at(0)?.layer
|
|
150
|
+
* basemapLayerListElement.catalogLayerList?.selectedItems?.at(0)?.layer,
|
|
151
151
|
* (layer) => {
|
|
152
152
|
* layer && handleLayerSelection(layer);
|
|
153
153
|
* },
|
|
@@ -175,7 +175,7 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
|
|
|
175
175
|
* title: "Add layer to map",
|
|
176
176
|
* icon: "add-layer",
|
|
177
177
|
* id: "add-layer"
|
|
178
|
-
* })
|
|
178
|
+
* })
|
|
179
179
|
* ]
|
|
180
180
|
* ];
|
|
181
181
|
* },
|
|
@@ -590,11 +590,11 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
|
|
|
590
590
|
* @example
|
|
591
591
|
* ```js
|
|
592
592
|
* basemapLayerListElement.referenceItemCreatedFunction = (event) => {
|
|
593
|
-
* referenceListItem = event.item;
|
|
593
|
+
* const referenceListItem = event.item;
|
|
594
594
|
* if(referenceListItem.title === "World Imagery_01_reference_layer"){
|
|
595
595
|
* // clean up title
|
|
596
596
|
* referenceListItem.title = "Reference layer";
|
|
597
|
-
* // open the
|
|
597
|
+
* // open the reference list item
|
|
598
598
|
* referenceListItem.open = true;
|
|
599
599
|
* }
|
|
600
600
|
* }
|
|
@@ -55,13 +55,13 @@ export type BookmarkOptions = {
|
|
|
55
55
|
takeScreenshot?: boolean;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
/** Event object for the `
|
|
58
|
+
/** Event object for the `arcgisBookmarkEdit` event. */
|
|
59
59
|
export type BookmarkEditEvent = {
|
|
60
60
|
/** The edited bookmark. */
|
|
61
61
|
bookmark: Bookmark;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
/** Event object for the `
|
|
64
|
+
/** Event object for the `arcgisBookmarkSelect` event. */
|
|
65
65
|
export type BookmarkSelectEvent = {
|
|
66
66
|
/** The bookmark selected by the user. */
|
|
67
67
|
bookmark: Bookmark;
|
|
@@ -13,7 +13,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
13
13
|
*
|
|
14
14
|
* The [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) to be explored have to be set on the [layers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-building-explorer/#layers) property of the component. When setting multiple layers, the filters set by the Building Explorer component will be applied on all layers. The component doesn't allow the user to select between multiple layers present in a scene.
|
|
15
15
|
*
|
|
16
|
-
* Often, [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) contain an _Overview_ [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingComponentSublayer/) that serves as an exterior shell and
|
|
16
|
+
* Often, [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) contain an _Overview_ [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingComponentSublayer/) that serves as an exterior shell and displays the building model as a single feature. When a layer is added to the Building Explorer component, the visibility of the _Overview_ layer is turned off, so that the user can directly interact with the individual features in the _Full Model_ [BuildingGroupSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingGroupSublayer/).
|
|
17
17
|
*
|
|
18
18
|
* The Level element of the Building Explorer component allows users to select a single level in one or several buildings. When selecting a level, the levels above it are hidden and the levels below it become semi-transparent for added visual context.
|
|
19
19
|
*
|
|
@@ -105,7 +105,7 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
105
105
|
/**
|
|
106
106
|
* A list of layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) that are added to the component for exploration.
|
|
107
107
|
*
|
|
108
|
-
* The component
|
|
108
|
+
* The component's filters are only displayed when this property is set. In case of multiple layers, the component will display and apply the filters on all layers.
|
|
109
109
|
*
|
|
110
110
|
* @since 5.0
|
|
111
111
|
*/
|
|
@@ -118,7 +118,7 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
118
118
|
get level(): number;
|
|
119
119
|
set level(value: number | undefined);
|
|
120
120
|
/**
|
|
121
|
-
* Indicates whether the level picker and filter is disabled. If `true`, the
|
|
121
|
+
* Indicates whether the level picker and filter is disabled. If `true`, the filter's expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
122
122
|
*
|
|
123
123
|
* @default false
|
|
124
124
|
* @since 5.0
|
|
@@ -189,14 +189,14 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
189
189
|
}>;
|
|
190
190
|
/**
|
|
191
191
|
* The currently selected value for the construction phase filter.
|
|
192
|
-
* Construction phases are used to track site development for a [
|
|
192
|
+
* Construction phases are used to track site development for a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/). Setting a construction phase in the Building Explorer selects everything in the layer which is already constructed at that phase (created phase <= selected phase) but not yet demolished (demolished phase > selected phase). The goal is to display what the building or construction site looks like at that selected phase.
|
|
193
193
|
*
|
|
194
194
|
* @since 5.0
|
|
195
195
|
*/
|
|
196
196
|
get phase(): number;
|
|
197
197
|
set phase(value: number | undefined);
|
|
198
198
|
/**
|
|
199
|
-
* Indicates whether the phase picker and filter is disabled. If `true`, the
|
|
199
|
+
* Indicates whether the phase picker and filter is disabled. If `true`, the filter's expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
200
200
|
*
|
|
201
201
|
* @default false
|
|
202
202
|
* @since 5.0
|
|
@@ -52,9 +52,9 @@ import type { CatalogLayerListState } from "@arcgis/core/widgets/CatalogLayerLis
|
|
|
52
52
|
* // and add layers from the catalog to the map when the "add-layer" action is triggered.
|
|
53
53
|
* // To correctly add a layer to the map, you must create a footprint from the layer
|
|
54
54
|
* // and then create a new layer from the footprint.
|
|
55
|
-
*
|
|
56
|
-
* const { id } = event.action;
|
|
57
|
-
* const { layer } = event.item;
|
|
55
|
+
* catalogLayerListElement.addEventListener("arcgisTriggerAction", async (event) => {
|
|
56
|
+
* const { id } = event.detail.action;
|
|
57
|
+
* const { layer } = event.detail.item;
|
|
58
58
|
*
|
|
59
59
|
* if (id === "add-layer") {
|
|
60
60
|
* const parentCatalogLayer = catalogUtils.getCatalogLayerForLayer(layer);
|
|
@@ -174,7 +174,7 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
174
174
|
*/
|
|
175
175
|
accessor headingLevel: HeadingLevel;
|
|
176
176
|
/**
|
|
177
|
-
* Indicates whether the status indicators will be
|
|
177
|
+
* Indicates whether the status indicators will be hidden.
|
|
178
178
|
*
|
|
179
179
|
* @default false
|
|
180
180
|
* @since 5.0
|
|
@@ -57,8 +57,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
57
57
|
* // To correctly add a layer to the map, you must create a footprint from the layer
|
|
58
58
|
* // and then create a new layer from the footprint.
|
|
59
59
|
* catalogLayerListElement.addEventListener("arcgisTriggerAction", async (event) => {
|
|
60
|
-
* const { id } = event.action;
|
|
61
|
-
* const { layer } = event.item;
|
|
60
|
+
* const { id } = event.detail.action;
|
|
61
|
+
* const { layer } = event.detail.item;
|
|
62
62
|
*
|
|
63
63
|
* if (id === "add-layer") {
|
|
64
64
|
* const parentCatalogLayer = catalogUtils.getCatalogLayerForLayer(layer);
|
|
@@ -20,7 +20,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
20
20
|
* When illuminating the scene with **[sunlight](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)**
|
|
21
21
|
* and adjusting the time and date, the positions of the sun and stars are updated accordingly. This also updates the
|
|
22
22
|
* [date](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#date) property of
|
|
23
|
-
* [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
|
|
23
|
+
* the lighting of [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
|
|
24
24
|
*
|
|
25
25
|
* **How date, time, and timezone work**
|
|
26
26
|
*
|
|
@@ -41,7 +41,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
41
41
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
|
|
42
42
|
*
|
|
43
43
|
* The component has an option to select the timezone. When the user makes any adjustments here, a new time
|
|
44
|
-
* in the chosen timezone is calculated and displayed in the slider. The timezone selector can be
|
|
44
|
+
* in the chosen timezone is calculated and displayed in the slider. The timezone selector can be hidden
|
|
45
45
|
* by using the [hideTimezone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#hideTimezone) property.
|
|
46
46
|
*
|
|
47
47
|
* By default, a calendar is displayed to select the day, month, and year.
|
|
@@ -77,7 +77,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
77
77
|
* the time slider and time zone automatically react to the changes of the camera (e.g., position, rotation, pan, zoom) because the position of the simulated sun
|
|
78
78
|
* is updated to maintain a consistent solar time of day based on the camera's current longitude. This can be adjusted using the
|
|
79
79
|
* [cameraTrackingEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#cameraTrackingEnabled)
|
|
80
|
-
* property on [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment). This camera-based timezone behavior is an approximation based on longitude.
|
|
80
|
+
* property on the lighting of [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment). This camera-based timezone behavior is an approximation based on longitude.
|
|
81
81
|
*
|
|
82
82
|
* @see [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
83
83
|
* @see [SunLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)
|
|
@@ -163,7 +163,7 @@ export abstract class ArcgisDaylight extends LitElement {
|
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
165
|
* ```js
|
|
166
|
-
* daylight.localDate =
|
|
166
|
+
* daylight.localDate = "2005-08-25";
|
|
167
167
|
* ```
|
|
168
168
|
* @example
|
|
169
169
|
* ```js
|
|
@@ -24,10 +24,9 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
24
24
|
* In **projected coordinate systems** (PCS), apart from Web Mercator, all three distances (direct, horizontal, and vertical)
|
|
25
25
|
* are computed in a Euclidean manner (in their respective PCS).
|
|
26
26
|
*
|
|
27
|
-
* Direct Line Measurement 3D component visualizes and labels the direct, horizontal, and vertical distances and displays the same values
|
|
27
|
+
* The Direct Line Measurement 3D component visualizes and labels the direct, horizontal, and vertical distances and displays the same values
|
|
28
28
|
* in the UI panel. When the distance between the points is greater than 100 kilometers,
|
|
29
|
-
* the measurement visualization is simplified, and only the horizontal and vertical distances are
|
|
30
|
-
* The direct distance option becomes unavailable.
|
|
29
|
+
* the measurement visualization is simplified, and only the horizontal and vertical distances are displayed.
|
|
31
30
|
*
|
|
32
31
|
* 
|
|
33
32
|
*
|
|
@@ -251,6 +250,7 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
251
250
|
* * `ready` - ready for measuring
|
|
252
251
|
* * `measuring` - currently measuring
|
|
253
252
|
* * `measured` - measuring has finished
|
|
253
|
+
* * `unsupported` - the current view is not supported
|
|
254
254
|
*/
|
|
255
255
|
get state(): DirectLineMeasurement3DState;
|
|
256
256
|
/**
|
|
@@ -267,7 +267,7 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
267
267
|
accessor unit: SystemOrLengthUnit;
|
|
268
268
|
/**
|
|
269
269
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
270
|
-
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `
|
|
270
|
+
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`, `millimeters`, `centimeters`, `decimeters`, `meters`, `kilometers`.
|
|
271
271
|
* When neither the component nor its analysis has an explicit unit, the unit inherited from
|
|
272
272
|
* [view.options.displayUnits.length](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/#displayUnits)
|
|
273
273
|
* is used if listed in [unitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/#unitOptions). Otherwise, the component checks whether its default unit is listed there.
|
|
@@ -114,28 +114,28 @@ export abstract class ArcgisDirections extends LitElement {
|
|
|
114
114
|
*/
|
|
115
115
|
accessor headingLevel: HeadingLevel;
|
|
116
116
|
/**
|
|
117
|
-
* Indicates whether
|
|
117
|
+
* Indicates whether a link to the route layer portal-item (if any) will be hidden.
|
|
118
118
|
*
|
|
119
119
|
* @default false
|
|
120
120
|
* @since 5.0
|
|
121
121
|
*/
|
|
122
122
|
accessor hideLayerDetails: boolean;
|
|
123
123
|
/**
|
|
124
|
-
* Indicates whether
|
|
124
|
+
* Indicates whether the Print button will be hidden.
|
|
125
125
|
*
|
|
126
126
|
* @default false
|
|
127
127
|
* @since 5.0
|
|
128
128
|
*/
|
|
129
129
|
accessor hidePrintButton: boolean;
|
|
130
130
|
/**
|
|
131
|
-
* Indicates whether
|
|
131
|
+
* Indicates whether the Save As button will be hidden.
|
|
132
132
|
*
|
|
133
133
|
* @default false
|
|
134
134
|
* @since 5.0
|
|
135
135
|
*/
|
|
136
136
|
accessor hideSaveAsButton: boolean;
|
|
137
137
|
/**
|
|
138
|
-
* Indicates whether
|
|
138
|
+
* Indicates whether the Save button will be hidden.
|
|
139
139
|
*
|
|
140
140
|
* @default false
|
|
141
141
|
* @since 5.0
|
|
@@ -116,7 +116,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
116
116
|
*/
|
|
117
117
|
accessor hideSettingsMenu: boolean;
|
|
118
118
|
/**
|
|
119
|
-
* Determines whether the component should
|
|
119
|
+
* Determines whether the component should hide an embedded Sketch component that provides graphical controls for choosing drawing tools.
|
|
120
120
|
*
|
|
121
121
|
* @default false
|
|
122
122
|
* @since 5.0
|
|
@@ -125,6 +125,9 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
125
125
|
/**
|
|
126
126
|
* Indicates whether to hide the `enabledToggle` (Enable snapping). This toggles
|
|
127
127
|
* the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#enabled) property.
|
|
128
|
+
*
|
|
129
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
130
|
+
*
|
|
128
131
|
* > [!WARNING]
|
|
129
132
|
* >
|
|
130
133
|
* > **Note**
|
|
@@ -139,6 +142,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
139
142
|
/**
|
|
140
143
|
* Indicates whether to hide the `featureEnabledToggle` (Feature to feature). This toggles
|
|
141
144
|
* the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureEnabled) property.
|
|
145
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
142
146
|
*
|
|
143
147
|
* @default false
|
|
144
148
|
* @since 5.0
|
|
@@ -146,6 +150,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
146
150
|
accessor hideSnappingControlsElementsFeatureEnabledToggle: boolean;
|
|
147
151
|
/**
|
|
148
152
|
* Indicates whether to hide the `gridControls` (configuration of the snapping grid).
|
|
153
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
149
154
|
*
|
|
150
155
|
* @default false
|
|
151
156
|
* @since 5.1
|
|
@@ -153,6 +158,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
153
158
|
accessor hideSnappingControlsElementsGridControls: boolean;
|
|
154
159
|
/**
|
|
155
160
|
* Indicates whether to hide the `colorSelection` within the snapping grid controls.
|
|
161
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
156
162
|
*
|
|
157
163
|
* @default false
|
|
158
164
|
* @since 5.1
|
|
@@ -160,6 +166,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
160
166
|
accessor hideSnappingControlsElementsGridControlsElementsColorSelection: boolean;
|
|
161
167
|
/**
|
|
162
168
|
* Indicates whether to hide the `dynamicScaleToggle` within the snapping grid controls.
|
|
169
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
163
170
|
*
|
|
164
171
|
* @default false
|
|
165
172
|
* @since 5.1
|
|
@@ -167,6 +174,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
167
174
|
accessor hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: boolean;
|
|
168
175
|
/**
|
|
169
176
|
* Indicates whether to hide the `lineIntervalInput` within the snapping grid controls.
|
|
177
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
170
178
|
*
|
|
171
179
|
* @default false
|
|
172
180
|
* @since 5.1
|
|
@@ -174,6 +182,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
174
182
|
accessor hideSnappingControlsElementsGridControlsElementsLineIntervalInput: boolean;
|
|
175
183
|
/**
|
|
176
184
|
* Indicates whether to hide the `numericInputs` within the snapping grid controls.
|
|
185
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
177
186
|
*
|
|
178
187
|
* @default false
|
|
179
188
|
* @since 5.1
|
|
@@ -181,6 +190,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
181
190
|
accessor hideSnappingControlsElementsGridControlsElementsNumericInputs: boolean;
|
|
182
191
|
/**
|
|
183
192
|
* Indicates whether to hide the `outOfScaleWarning` within the snapping grid controls.
|
|
193
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
184
194
|
*
|
|
185
195
|
* @default false
|
|
186
196
|
* @since 5.1
|
|
@@ -188,6 +198,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
188
198
|
accessor hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: boolean;
|
|
189
199
|
/**
|
|
190
200
|
* Indicates whether to hide the `placementButtons` within the snapping grid controls.
|
|
201
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
191
202
|
*
|
|
192
203
|
* @default false
|
|
193
204
|
* @since 5.1
|
|
@@ -195,6 +206,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
195
206
|
accessor hideSnappingControlsElementsGridControlsElementsPlacementButtons: boolean;
|
|
196
207
|
/**
|
|
197
208
|
* Indicates whether to hide the `rotateWithMapToggle` within the snapping grid controls.
|
|
209
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
198
210
|
*
|
|
199
211
|
* @default false
|
|
200
212
|
* @since 5.1
|
|
@@ -202,6 +214,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
202
214
|
accessor hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: boolean;
|
|
203
215
|
/**
|
|
204
216
|
* Indicates whether to hide the `gridEnabledToggle` (snap-to-grid).
|
|
217
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
205
218
|
*
|
|
206
219
|
* @default false
|
|
207
220
|
* @since 5.1
|
|
@@ -209,6 +222,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
209
222
|
accessor hideSnappingControlsElementsGridEnabledToggle: boolean;
|
|
210
223
|
/**
|
|
211
224
|
* Indicates whether to hide the [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/) layerList. The layerlist provides the available layer sources supported for snapping.
|
|
225
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
212
226
|
*
|
|
213
227
|
* @default false
|
|
214
228
|
* @since 5.0
|
|
@@ -217,6 +231,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
217
231
|
/**
|
|
218
232
|
* Indicates whether to hide the `selfEnabledToggle` (Geometry guides). This toggles
|
|
219
233
|
* the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#selfEnabled) property.
|
|
234
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
220
235
|
*
|
|
221
236
|
* @default false
|
|
222
237
|
* @since 5.0
|
|
@@ -231,6 +246,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
231
246
|
accessor hideSplitButton: boolean;
|
|
232
247
|
/**
|
|
233
248
|
* Indicates whether to hide the tooltips toggle. Default value is `true`.
|
|
249
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
234
250
|
*
|
|
235
251
|
* @default false
|
|
236
252
|
* @since 5.0
|
|
@@ -326,6 +342,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
326
342
|
accessor selectionManager: SelectionManager | null | undefined;
|
|
327
343
|
/**
|
|
328
344
|
* Indicates whether to display the header. Default is `false`.
|
|
345
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#useViewOptions) is `true`.
|
|
329
346
|
*
|
|
330
347
|
* @default false
|
|
331
348
|
* @since 5.0
|
|
@@ -406,7 +423,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
406
423
|
* When this property is `true`:
|
|
407
424
|
*
|
|
408
425
|
* - Snapping and tooltip options are inherited from the view. The component's [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#snappingOptions) and [tooltipOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#tooltipOptions) are preserved but ignored.
|
|
409
|
-
* - Snapping controls and the tooltip toggle are hidden from the component's Settings menu.
|
|
426
|
+
* - Snapping controls and the tooltip toggle are hidden from the component's Settings menu. Their visibility properties (e.g. [hideSnappingControlsElementsGridControls](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#hideSnappingControlsElementsGridControls)) are preserved but ignored.
|
|
410
427
|
*
|
|
411
428
|
* When `false`, the component uses its own snapping, tooltip, and unit options instead.
|
|
412
429
|
*
|
|
@@ -113,7 +113,7 @@ export abstract class ArcgisExpand extends LitElement {
|
|
|
113
113
|
*/
|
|
114
114
|
accessor expandTooltip: string;
|
|
115
115
|
/**
|
|
116
|
-
* Whether the user's keyboard focus should be trapped in the expanded panel state. If `
|
|
116
|
+
* Whether the user's keyboard focus should not be trapped in the expanded panel state. If `false`, tabbing
|
|
117
117
|
* forward or backward will cycle through elements only within the panel content.
|
|
118
118
|
*
|
|
119
119
|
* @default false
|
|
@@ -139,6 +139,7 @@ export abstract class ArcgisExpand extends LitElement {
|
|
|
139
139
|
* <arcgis-basemap-gallery></arcgis-basemap-gallery>
|
|
140
140
|
* </arcgis-expand>
|
|
141
141
|
* </arcgis-map>
|
|
142
|
+
* ```
|
|
142
143
|
*/
|
|
143
144
|
accessor group: string | undefined;
|
|
144
145
|
/**
|
|
@@ -77,13 +77,13 @@ export abstract class ArcgisFeatureForm extends LitElement {
|
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* // Check if a user clicked on an incident feature.
|
|
80
|
-
* view.on("click",
|
|
81
|
-
* view.hitTest(event)
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* }
|
|
80
|
+
* view.on("click", async (event) => {
|
|
81
|
+
* const response = await view.hitTest(event);
|
|
82
|
+
* // Display the attributes of selected incident feature in the form
|
|
83
|
+
* const result = response.results[0];
|
|
84
|
+
* if (result?.type === "graphic" && result.graphic.layer?.id === "incidentsLayer") {
|
|
85
|
+
* formVM.feature = result.graphic;
|
|
86
|
+
* }
|
|
87
87
|
* });
|
|
88
88
|
*/
|
|
89
89
|
accessor feature: Graphic | null | undefined;
|
|
@@ -356,129 +356,129 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
356
356
|
* label: "Date created",
|
|
357
357
|
* visible: true
|
|
358
358
|
* }]
|
|
359
|
-
* }
|
|
359
|
+
* },
|
|
360
360
|
* container: document.getElementById("tableDiv")
|
|
361
361
|
* });
|
|
362
362
|
*/
|
|
363
363
|
accessor hiddenFields: Collection<string>;
|
|
364
364
|
/**
|
|
365
|
-
* Indicates whether to
|
|
365
|
+
* Indicates whether to hide descriptions in the header cells of individual columns.
|
|
366
366
|
*
|
|
367
367
|
* @default false
|
|
368
368
|
*/
|
|
369
369
|
accessor hideColumnDescriptions: boolean;
|
|
370
370
|
/**
|
|
371
|
-
* Indicates whether to
|
|
371
|
+
* Indicates whether to hide the 'Sort Ascending' menu item in column menus.
|
|
372
372
|
*
|
|
373
373
|
* @default false
|
|
374
374
|
* @since 5.0
|
|
375
375
|
*/
|
|
376
376
|
accessor hideColumnMenuItemsSortAscending: boolean;
|
|
377
377
|
/**
|
|
378
|
-
* Indicates whether to
|
|
378
|
+
* Indicates whether to hide the 'Sort Descending' menu item in column menus.
|
|
379
379
|
*
|
|
380
380
|
* @default false
|
|
381
381
|
* @since 5.0
|
|
382
382
|
*/
|
|
383
383
|
accessor hideColumnMenuItemsSortDescending: boolean;
|
|
384
384
|
/**
|
|
385
|
-
* Indicates whether to
|
|
385
|
+
* Indicates whether to hide the menu items within the individual columns.
|
|
386
386
|
*
|
|
387
387
|
* @default false
|
|
388
388
|
*/
|
|
389
389
|
accessor hideColumnMenus: boolean;
|
|
390
390
|
/**
|
|
391
|
-
* Indicates whether to
|
|
391
|
+
* Indicates whether to hide the column visibility menu in the table header.
|
|
392
392
|
*
|
|
393
393
|
* @default false
|
|
394
394
|
* @since 5.1
|
|
395
395
|
*/
|
|
396
396
|
accessor hideColumnVisibilityMenu: boolean;
|
|
397
397
|
/**
|
|
398
|
-
* Indicates whether to
|
|
398
|
+
* Indicates whether to hide the filter in the column visibility menu.
|
|
399
399
|
*
|
|
400
400
|
* @default false
|
|
401
401
|
* @since 5.1
|
|
402
402
|
*/
|
|
403
403
|
accessor hideColumnVisibilityMenuItemsFilter: boolean;
|
|
404
404
|
/**
|
|
405
|
-
* Indicates whether to
|
|
405
|
+
* Indicates whether to hide the header in the column visibility menu.
|
|
406
406
|
*
|
|
407
407
|
* @default false
|
|
408
408
|
* @since 5.1
|
|
409
409
|
*/
|
|
410
410
|
accessor hideColumnVisibilityMenuItemsHeader: boolean;
|
|
411
411
|
/**
|
|
412
|
-
* Indicates whether to
|
|
412
|
+
* Indicates whether to hide the 'toggle all' button in the column visibility menu.
|
|
413
413
|
*
|
|
414
414
|
* @default false
|
|
415
415
|
* @since 5.1
|
|
416
416
|
*/
|
|
417
417
|
accessor hideColumnVisibilityMenuItemsToggleAll: boolean;
|
|
418
418
|
/**
|
|
419
|
-
* Indicates whether to
|
|
419
|
+
* Indicates whether to hide the feature table's header.
|
|
420
420
|
*
|
|
421
421
|
* @default false
|
|
422
422
|
* @since 5.0
|
|
423
423
|
*/
|
|
424
424
|
accessor hideHeader: boolean;
|
|
425
425
|
/**
|
|
426
|
-
* Indicates whether to
|
|
426
|
+
* Indicates whether to hide layer-specific icons in the layer drop down menu.
|
|
427
427
|
*
|
|
428
428
|
* @default false
|
|
429
429
|
*/
|
|
430
430
|
accessor hideLayerDropdownIcons: boolean;
|
|
431
431
|
/**
|
|
432
|
-
* Indicates whether to
|
|
432
|
+
* Indicates whether to hide the feature table's menu.
|
|
433
433
|
*
|
|
434
434
|
* @default false
|
|
435
435
|
* @since 5.0
|
|
436
436
|
*/
|
|
437
437
|
accessor hideMenu: boolean;
|
|
438
438
|
/**
|
|
439
|
-
* Indicates whether to
|
|
439
|
+
* Indicates whether to hide the 'Clear selection' menu item.
|
|
440
440
|
*
|
|
441
441
|
* @default false
|
|
442
442
|
* @since 5.0
|
|
443
443
|
*/
|
|
444
444
|
accessor hideMenuItemsClearSelection: boolean;
|
|
445
445
|
/**
|
|
446
|
-
* Indicates whether to
|
|
446
|
+
* Indicates whether to hide the 'Delete Selection' menu item.
|
|
447
447
|
*
|
|
448
448
|
* @default false
|
|
449
449
|
* @since 5.0
|
|
450
450
|
*/
|
|
451
451
|
accessor hideMenuItemsDeleteSelection: boolean;
|
|
452
452
|
/**
|
|
453
|
-
* Indicates whether to
|
|
453
|
+
* Indicates whether to hide the 'Export selection to CSV' menu item.
|
|
454
454
|
*
|
|
455
455
|
* @default false
|
|
456
456
|
* @since 5.0
|
|
457
457
|
*/
|
|
458
458
|
accessor hideMenuItemsExportSelectionToCsv: boolean;
|
|
459
459
|
/**
|
|
460
|
-
* Indicates whether to
|
|
460
|
+
* Indicates whether to hide the 'Refresh data' menu item.
|
|
461
461
|
*
|
|
462
462
|
* @default false
|
|
463
463
|
* @since 5.0
|
|
464
464
|
*/
|
|
465
465
|
accessor hideMenuItemsRefreshData: boolean;
|
|
466
466
|
/**
|
|
467
|
-
* Indicates whether to toggle between showing only selected records in the table
|
|
467
|
+
* Indicates whether to hide the toggle between showing only selected records in the table and showing all of the records.
|
|
468
468
|
*
|
|
469
469
|
* @default false
|
|
470
470
|
* @since 5.0
|
|
471
471
|
*/
|
|
472
472
|
accessor hideMenuItemsSelectedRecordsShowAllToggle: boolean;
|
|
473
473
|
/**
|
|
474
|
-
* Indicates whether to
|
|
474
|
+
* Indicates whether to hide the 'Show selected records' menu item.
|
|
475
475
|
*
|
|
476
476
|
* @default false
|
|
477
477
|
* @since 5.0
|
|
478
478
|
*/
|
|
479
479
|
accessor hideMenuItemsSelectedRecordsShowSelectedToggle: boolean;
|
|
480
480
|
/**
|
|
481
|
-
* Indicates whether to
|
|
481
|
+
* Indicates whether to hide the column visibility menu in the table header.
|
|
482
482
|
*
|
|
483
483
|
* @deprecated since 5.1. Use the 'hideColumnVisibilityMenu' property instead.
|
|
484
484
|
* @default false
|
|
@@ -486,20 +486,20 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
486
486
|
*/
|
|
487
487
|
accessor hideMenuItemsToggleColumns: boolean;
|
|
488
488
|
/**
|
|
489
|
-
* Indicates whether to
|
|
489
|
+
* Indicates whether to hide the 'Zoom to selection' menu item.
|
|
490
490
|
*
|
|
491
491
|
* @default false
|
|
492
492
|
* @since 5.0
|
|
493
493
|
*/
|
|
494
494
|
accessor hideMenuItemsZoomToSelection: boolean;
|
|
495
495
|
/**
|
|
496
|
-
* Indicates whether to
|
|
496
|
+
* Indicates whether to hide the progress indicator when the table is querying or syncing data.
|
|
497
497
|
*
|
|
498
498
|
* @default false
|
|
499
499
|
*/
|
|
500
500
|
accessor hideProgress: boolean;
|
|
501
501
|
/**
|
|
502
|
-
* Indicates whether to
|
|
502
|
+
* Indicates whether to hide the selection column in the table.
|
|
503
503
|
* Each row has a checkbox that selects its corresponding feature.
|
|
504
504
|
*
|
|
505
505
|
* @default false
|
|
@@ -507,7 +507,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
507
507
|
*/
|
|
508
508
|
accessor hideSelectionColumn: boolean;
|
|
509
509
|
/**
|
|
510
|
-
* Indicates whether to
|
|
510
|
+
* Indicates whether to hide the tooltip for the Show/hide columns button.
|
|
511
511
|
*
|
|
512
512
|
* @default false
|
|
513
513
|
*/
|
|
@@ -581,7 +581,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
581
581
|
*/
|
|
582
582
|
get isSyncingAttachments(): boolean;
|
|
583
583
|
/**
|
|
584
|
-
* The
|
|
584
|
+
* The component's label.
|
|
585
585
|
*
|
|
586
586
|
* @since 4.11
|
|
587
587
|
*/
|
|
@@ -1248,7 +1248,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
1248
1248
|
readonly arcgisCellDblClick: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellDblclickEvent>;
|
|
1249
1249
|
/** Fires when a key is pressed down within a cell within the table. */
|
|
1250
1250
|
readonly arcgisCellKeydown: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellKeydownEvent>;
|
|
1251
|
-
/** Fires when the mouse pointer is moved out of a cell within the table. This event is useful for scenarios
|
|
1251
|
+
/** Fires when the mouse pointer is moved out of a cell within the table. This event is useful for scenarios like highlighting a feature in the view, while hovering, without requiring manual interaction to select a row. Another example: these events can also be used to show information about the cell in a tooltip attached to the mouse. */
|
|
1252
1252
|
readonly arcgisCellPointerout: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellPointeroutEvent>;
|
|
1253
1253
|
/** Fires when the mouse pointer is moved over a cell within the table. */
|
|
1254
1254
|
readonly arcgisCellPointerover: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellPointeroverEvent>;
|