@arcgis/map-components 5.2.0-next.167 → 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/263OOI6Z.js +2 -0
- 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/6S5TVS52.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/{OEL57WQN.js → CGKFSTIT.js} +1 -1
- package/dist/cdn/GBTMUEG6.js +2 -0
- package/dist/cdn/K3SCI35Q.js +2 -0
- package/dist/cdn/{NY6QZ4MA.js → ODY56P7R.js} +1 -1
- package/dist/cdn/OIKOOFSR.js +2 -0
- package/dist/cdn/OOCIGOT6.js +2 -0
- package/dist/cdn/PJ2XGEYO.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-directional-pad/customElement.js +53 -58
- 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-presentation-captions/customElement.js +1 -1
- 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 +34 -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-bar-slider/customElement.d.ts +11 -14
- 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-picker/customElement.d.ts +170 -6
- package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +19 -15
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -7
- 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-elements-result-item/customElement.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +50 -46
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +9 -8
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -4
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +0 -2
- 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/73NABILZ.js +0 -2
- package/dist/cdn/BJ55UYFS.js +0 -2
- package/dist/cdn/BPTZ6LBO.js +0 -2
- package/dist/cdn/C6T7AQOJ.js +0 -2
- package/dist/cdn/CL5JQN4B.js +0 -2
- package/dist/cdn/F3JX74XA.js +0 -2
- package/dist/cdn/FGQJD346.js +0 -2
- package/dist/cdn/OBFJ4JUW.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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as _ } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as g, html as
|
|
3
|
+
import { css as g, html as l } from "lit";
|
|
4
4
|
import { ref as b } from "lit/directives/ref.js";
|
|
5
5
|
import { keyed as m } from "lit/directives/keyed.js";
|
|
6
6
|
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
@@ -9,27 +9,27 @@ import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
9
9
|
import { LitElement as M, createEvent as C, safeClassMap as $, nothing as h, safeStyleMap as x } from "@arcgis/lumina";
|
|
10
10
|
import { u as R } from "../../chunks/useT9n.js";
|
|
11
11
|
import { m as P } from "../../chunks/useViewModel.js";
|
|
12
|
-
import { g as
|
|
13
|
-
import { g as
|
|
14
|
-
import { d as
|
|
15
|
-
import
|
|
12
|
+
import { g as A } from "../../chunks/component-utils.js";
|
|
13
|
+
import { g as p } from "../../chunks/globalCss.js";
|
|
14
|
+
import { d as E, a as u, t as D, v as S, f as V, b as v, e as T, c as B } from "../../chunks/utils6.js";
|
|
15
|
+
import O from "@arcgis/core/core/Accessor.js";
|
|
16
16
|
import { property as r, subclass as L } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
17
17
|
import { c as I } from "../../chunks/goTo.js";
|
|
18
|
-
var k = Object.defineProperty, N = Object.getOwnPropertyDescriptor, a = (n, t,
|
|
19
|
-
for (var o =
|
|
20
|
-
(
|
|
21
|
-
return
|
|
18
|
+
var k = Object.defineProperty, N = Object.getOwnPropertyDescriptor, a = (n, t, i, e) => {
|
|
19
|
+
for (var o = e > 1 ? void 0 : e ? N(t, i) : t, d = n.length - 1, c; d >= 0; d--)
|
|
20
|
+
(c = n[d]) && (o = (e ? c(t, i, o) : c(o)) || o);
|
|
21
|
+
return e && o && k(t, i, o), o;
|
|
22
22
|
};
|
|
23
23
|
let s = class extends O {
|
|
24
24
|
constructor(n) {
|
|
25
|
-
super(n), this._anyAngleMovementEnabled = !1, this._disabled = !1, this._moveOnceDuration =
|
|
25
|
+
super(n), this._anyAngleMovementEnabled = !1, this._disabled = !1, this._moveOnceDuration = E, this.speed = 1, this.beginFollowingPointer = (t, i) => {
|
|
26
26
|
if (this.disabled)
|
|
27
27
|
return;
|
|
28
|
-
this._widgetCenter =
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
28
|
+
this._widgetCenter = i;
|
|
29
|
+
const e = this._pointerLocationToVector(t);
|
|
30
|
+
if (e === void 0)
|
|
31
31
|
return;
|
|
32
|
-
const o = this._resolveClosestAngle(t,
|
|
32
|
+
const o = this._resolveClosestAngle(t, e);
|
|
33
33
|
o !== void 0 && (this._emitMove(u(o)), this.angle = o, this._initialAngle = o, this._setMovementTimeout(() => {
|
|
34
34
|
this._widgetCenter === void 0 && this._stopMovement();
|
|
35
35
|
}), document.addEventListener("pointermove", this._onPointerMove, { passive: !0 }), document.addEventListener("pointerup", this._onPointerUp, { passive: !0, once: !0 }));
|
|
@@ -38,43 +38,37 @@ let s = class extends O {
|
|
|
38
38
|
}, this._pointerLocationToVector = (t) => {
|
|
39
39
|
if (this._widgetCenter === void 0)
|
|
40
40
|
return;
|
|
41
|
-
const { x:
|
|
42
|
-
return { x:
|
|
43
|
-
}, this._resolveClosestAngle = (t,
|
|
44
|
-
const
|
|
45
|
-
if (
|
|
41
|
+
const { x: i, y: e } = D(this._widgetCenter, t);
|
|
42
|
+
return { x: i, y: -e };
|
|
43
|
+
}, this._resolveClosestAngle = (t, i) => {
|
|
44
|
+
const e = t.target;
|
|
45
|
+
if (e?.classList?.contains("compass"))
|
|
46
46
|
return;
|
|
47
|
-
const o = Number.parseInt(
|
|
48
|
-
return Number.isNaN(o) ?
|
|
47
|
+
const o = Number.parseInt(e?.getAttribute?.("data-angle") ?? "", 10);
|
|
48
|
+
return Number.isNaN(o) ? S(i) : o;
|
|
49
49
|
}, this._onPointerMove = (t) => {
|
|
50
50
|
if (t.buttons === 0) {
|
|
51
51
|
this._stopMovement();
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
54
|
+
const i = this._pointerLocationToVector(t);
|
|
55
|
+
if (i === void 0)
|
|
56
56
|
return;
|
|
57
57
|
this._setMovementTimeout(void 0);
|
|
58
|
-
const
|
|
59
|
-
if (
|
|
58
|
+
const e = this._resolveClosestAngle(t, i);
|
|
59
|
+
if (e === void 0) {
|
|
60
60
|
this._emitStop();
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
-
const o = u(
|
|
63
|
+
const o = u(e), d = this._initialAngle != null && this._initialAngle !== e;
|
|
64
64
|
this._anyAngleMovementEnabled ||= d;
|
|
65
|
-
const
|
|
66
|
-
(
|
|
65
|
+
const c = this._anyAngleMovementEnabled ? i : o;
|
|
66
|
+
(c.x !== this._movementVector?.x || c.y !== this._movementVector?.y) && (this.angle = e, this._emitMove(c));
|
|
67
67
|
}, this._onPointerUp = () => {
|
|
68
68
|
this._movementTimeout === void 0 ? this._stopMovement() : this._widgetCenter = void 0;
|
|
69
69
|
}, this._stopMovement = () => {
|
|
70
70
|
this._emitStop(), this._widgetCenter = void 0, this._initialAngle = void 0, this._anyAngleMovementEnabled = !1, document.removeEventListener("pointermove", this._onPointerMove), document.removeEventListener("pointerup", this._onPointerUp), this._setMovementTimeout(void 0);
|
|
71
|
-
}
|
|
72
|
-
"move-direction-change",
|
|
73
|
-
({ vector: { x: t, y: e } }) => this._navigation?.continuousPanVector({
|
|
74
|
-
x: t * this.speed,
|
|
75
|
-
y: e * this.speed
|
|
76
|
-
})
|
|
77
|
-
), this.on("move-stop", () => this._navigation?.stop());
|
|
71
|
+
};
|
|
78
72
|
}
|
|
79
73
|
destroy() {
|
|
80
74
|
this._stopMovement();
|
|
@@ -113,12 +107,13 @@ let s = class extends O {
|
|
|
113
107
|
}, this._moveOnceDuration);
|
|
114
108
|
}
|
|
115
109
|
_emitMove(n) {
|
|
116
|
-
this._movementVector == null && this.
|
|
117
|
-
|
|
118
|
-
|
|
110
|
+
this._movementVector == null && this._navigation?.begin(), this._movementVector = n, this._navigation?.continuousPanVector({
|
|
111
|
+
x: n.x * this.speed,
|
|
112
|
+
y: n.y * this.speed
|
|
113
|
+
});
|
|
119
114
|
}
|
|
120
115
|
_emitStop() {
|
|
121
|
-
this.angle = void 0, this._movementVector !== void 0 && (this.
|
|
116
|
+
this.angle = void 0, this._movementVector !== void 0 && (this._navigation?.stop(), this._movementVector = void 0);
|
|
122
117
|
}
|
|
123
118
|
};
|
|
124
119
|
a([
|
|
@@ -166,7 +161,7 @@ a([
|
|
|
166
161
|
s = a([
|
|
167
162
|
L("components.directional-pad.DirectionalPadViewModel")
|
|
168
163
|
], s);
|
|
169
|
-
const U = g`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-group{touch-action:none}
|
|
164
|
+
const U = g`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-group{touch-action:none}}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media(hover:none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.rotation-container{display:block;width:100%;calcite-action{flex:.3}}.rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`, F = P(s);
|
|
170
165
|
class j extends M {
|
|
171
166
|
constructor() {
|
|
172
167
|
super(...arguments), this.messages = R({}), this._onContextMenu = (t) => t.preventDefault(), this._buttons = {}, this.viewModel = F(this), this.angle = this.viewModel.angle, this.rotation = this.viewModel.rotation, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.disabled = this.viewModel.disabled, this.hideDirectionalButtons = !1, this.icon = "move", this.showRotationResetButton = !1, this.showRotationSlider = !1, this.state = this.viewModel.state, this.visualScale = "s", this.arcgisPropertyChange = f()("state"), this.arcgisReady = C();
|
|
@@ -187,7 +182,7 @@ class j extends M {
|
|
|
187
182
|
this.manager.onLifecycle(() => [
|
|
188
183
|
// Move focus when movement angle changed by touch/mouse (not keyboard!)
|
|
189
184
|
y(() => this.viewModel.angle, () => {
|
|
190
|
-
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ?
|
|
185
|
+
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ? A(this)?.focus() : w(this._buttons[this.viewModel.angle]));
|
|
191
186
|
})
|
|
192
187
|
]);
|
|
193
188
|
}
|
|
@@ -198,9 +193,9 @@ class j extends M {
|
|
|
198
193
|
}
|
|
199
194
|
_setButtonContainerRef(t) {
|
|
200
195
|
t !== void 0 ? (this._buttonsContainer = t, queueMicrotask(() => {
|
|
201
|
-
this._buttons = Object.fromEntries(Array.from(t.children, (
|
|
202
|
-
Number.parseInt(
|
|
203
|
-
|
|
196
|
+
this._buttons = Object.fromEntries(Array.from(t.children, (i) => [
|
|
197
|
+
Number.parseInt(i.getAttribute("data-angle") ?? ""),
|
|
198
|
+
i
|
|
204
199
|
]));
|
|
205
200
|
})) : (this._buttonsContainer = void 0, this._buttons = {});
|
|
206
201
|
}
|
|
@@ -208,8 +203,8 @@ class j extends M {
|
|
|
208
203
|
if (this._buttonsContainer === void 0)
|
|
209
204
|
return;
|
|
210
205
|
t.composedPath().find((o) => o.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);
|
|
211
|
-
const
|
|
212
|
-
this.viewModel.beginFollowingPointer(t,
|
|
206
|
+
const e = V(this._buttonsContainer);
|
|
207
|
+
this.viewModel.beginFollowingPointer(t, e);
|
|
213
208
|
}
|
|
214
209
|
_onSliderInput({ currentTarget: t }) {
|
|
215
210
|
typeof t.value == "number" && (this.viewModel.rotation = t.value);
|
|
@@ -221,11 +216,11 @@ class j extends M {
|
|
|
221
216
|
this.viewModel.moveOnce(t);
|
|
222
217
|
}
|
|
223
218
|
render() {
|
|
224
|
-
const { label: t, disabled:
|
|
225
|
-
return
|
|
219
|
+
const { label: t, disabled: i } = this, e = this.view == null || this.view.type === "2d";
|
|
220
|
+
return l`<div .ariaLabel=${t ?? void 0} class=${$({ root: !0, [p.widget]: !0, [p.disabled]: i })} tabindex=-1>${e ? this._renderContent() : this._renderUnsupportedMessage()}</div>`;
|
|
226
221
|
}
|
|
227
222
|
_renderUnsupportedMessage() {
|
|
228
|
-
return
|
|
223
|
+
return l`<section class="error"><p>${this.messages.unsupported}</p></section>`;
|
|
229
224
|
}
|
|
230
225
|
_renderContent() {
|
|
231
226
|
return [
|
|
@@ -234,28 +229,28 @@ class j extends M {
|
|
|
234
229
|
];
|
|
235
230
|
}
|
|
236
231
|
_renderDirectionalButtons() {
|
|
237
|
-
return m("directional-buttons-container",
|
|
232
|
+
return m("directional-buttons-container", l`<calcite-action-bar expand-toggle-disabled floating layout=grid .scale=${this.visualScale} overflow-mode=none><calcite-action-group class="buttons-container" dir=ltr @contextmenu=${{
|
|
238
233
|
handleEvent: this._onContextMenu,
|
|
239
234
|
capture: !0
|
|
240
|
-
}} ${b(this._setButtonContainerRef)}>${
|
|
235
|
+
}} ${b(this._setButtonContainerRef)}>${v.slice(0, 4).map(this._renderButton, this)}${this._renderCompass()}${v.slice(4).map(this._renderButton, this)}</calcite-action-group></calcite-action-bar>`);
|
|
241
236
|
}
|
|
242
237
|
_renderButton(t) {
|
|
243
|
-
const { label:
|
|
244
|
-
return
|
|
238
|
+
const { label: i, iconName: e } = T[t], o = this.messages[i];
|
|
239
|
+
return l`<calcite-action .active=${this.angle === t} alignment=center class="button" data-angle=${t ?? h} .disabled=${this.disabled} @click=${this._onClick.bind(this, t)} @pointerdown=${this._onButtonPointerDown} .text=${o ?? ""} title=${o ?? h}><calcite-icon .icon=${e} .scale=${this.visualScale}></calcite-icon></calcite-action>`;
|
|
245
240
|
}
|
|
246
241
|
_renderCompass() {
|
|
247
|
-
const t = this.disabled || B(this.view) ? "compass-needle" : "arrow-up",
|
|
248
|
-
return
|
|
242
|
+
const t = this.disabled || B(this.view) ? "compass-needle" : "arrow-up", i = this.rotation === 0, e = this.messages.resetHeading;
|
|
243
|
+
return l`<calcite-action alignment=center class="compass" .disabled=${this.disabled || !this._rotationEnabled || i} @click=${this._onRotationReset} style=${x(this._rotateIcon(this.rotation))} .text=${e ?? ""} title=${e ?? h}>${!i && l`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>` || ""}</calcite-action>`;
|
|
249
244
|
}
|
|
250
245
|
_renderRotation() {
|
|
251
|
-
return m("slider-container",
|
|
246
|
+
return m("slider-container", l`<calcite-action-bar expand-toggle-disabled floating layout=horizontal .scale=${this.visualScale}><calcite-action-group class="rotation-container">${this.showRotationResetButton ? this._renderRotationResetButton() : null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`);
|
|
252
247
|
}
|
|
253
248
|
_renderRotationResetButton() {
|
|
254
249
|
const t = this.messages.resetHeading;
|
|
255
|
-
return
|
|
250
|
+
return l`<calcite-action alignment=center class="rotation-reset-button" .disabled=${this.disabled || !this._rotationEnabled} @click=${this._onRotationReset} .text=${t ?? ""} title=${t ?? h}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`;
|
|
256
251
|
}
|
|
257
252
|
_renderRotationSlider() {
|
|
258
|
-
return
|
|
253
|
+
return l`<div class="rotation-slider-container"><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled || !this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`;
|
|
259
254
|
}
|
|
260
255
|
}
|
|
261
256
|
_("arcgis-directional-pad", j);
|
|
@@ -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
|
/**
|