@arcgis/map-components 5.1.0-next.11 → 5.1.0-next.12

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.
Files changed (54) hide show
  1. package/dist/cdn/CWJ5OA5A.js +2 -0
  2. package/dist/cdn/D73JFV2R.js +2 -0
  3. package/dist/cdn/JRPIJ24K.js +2 -0
  4. package/dist/cdn/LIEE5WCD.js +2 -0
  5. package/dist/cdn/index.js +1 -1
  6. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
  7. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  8. package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
  9. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
  10. package/dist/components/arcgis-feature/customElement.d.ts +7 -7
  11. package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
  12. package/dist/components/arcgis-features/customElement.d.ts +13 -15
  13. package/dist/components/arcgis-features/customElement.js +18 -12
  14. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
  15. package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
  16. package/dist/components/arcgis-link-chart/customElement.d.ts +5 -5
  17. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  18. package/dist/components/arcgis-map/customElement.d.ts +38 -38
  19. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
  20. package/dist/components/arcgis-popup/customElement.d.ts +16 -18
  21. package/dist/components/arcgis-popup/customElement.js +50 -55
  22. package/dist/components/arcgis-popup/types.d.ts +1 -1
  23. package/dist/components/arcgis-print/customElement.d.ts +6 -6
  24. package/dist/components/arcgis-scene/customElement.d.ts +31 -31
  25. package/dist/components/arcgis-search/customElement.d.ts +11 -11
  26. package/dist/components/arcgis-shadow-cast/customElement.d.ts +19 -19
  27. package/dist/components/arcgis-slice/customElement.d.ts +8 -8
  28. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
  29. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
  30. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
  31. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
  32. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
  33. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
  34. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
  35. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
  36. package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
  37. package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
  38. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
  39. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  40. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
  41. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
  42. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
  43. package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
  44. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +7 -8
  45. package/dist/components/arcgis-volume-measurement/customElement.d.ts +10 -10
  46. package/dist/docs/api.json +1 -1
  47. package/dist/docs/docs.json +1 -1
  48. package/dist/docs/vscode.html-custom-data.json +1 -1
  49. package/dist/docs/web-types.json +1 -1
  50. package/package.json +4 -4
  51. package/dist/cdn/22EPKDUJ.js +0 -2
  52. package/dist/cdn/B3ANLEZW.js +0 -2
  53. package/dist/cdn/RSSYGNJQ.js +0 -2
  54. package/dist/cdn/XCAWRUM6.js +0 -2
@@ -18,7 +18,7 @@ import type { State } from "@arcgis/core/widgets/Feature/types.js";
18
18
  * If wanting to show a feature's content with [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), [related](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/), or [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate), etc., then use the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component.
19
19
  *
20
20
  * When Arcade expressions that use `$map` or [geometry functions](https://developers.arcgis.com/arcade/function-reference/geometry_functions/) are defined in any popup template content or as expression elements,
21
- * the [map](#map) and [spatialReference](#spatialReference) properties need to be defined in the Feature component.
21
+ * the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#map) and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#spatialReference) properties need to be defined in the Feature component.
22
22
  *
23
23
  * @see [Arcade Profiles: Popup](https://developers.arcgis.com/arcade/profiles/popup/)
24
24
  * @see [Arcade - expression language](https://developers.arcgis.com/javascript/latest/arcade/)
@@ -94,16 +94,16 @@ export abstract class ArcgisFeature extends LitElement {
94
94
  */
95
95
  accessor graphic: Graphic | null | undefined;
96
96
  /**
97
- * The title for the feature. This can be disabled by setting the [`hideHeading`](#hideHeading) property to `true`.
97
+ * The title for the feature. This can be disabled by setting the [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading) property to `true`.
98
98
  *
99
99
  * @default null
100
100
  * @since 4.34
101
- * @see [headingLevel](#headingLevel)
102
- * @see [hideHeading](#hideHeading)
101
+ * @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#headingLevel)
102
+ * @see [hideHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#hideHeading)
103
103
  */
104
104
  get heading(): string;
105
105
  /**
106
- * Indicates the heading level to use for the [heading](#heading) of the component.
106
+ * Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading) of the component.
107
107
  * By default, the title is rendered
108
108
  * as a level 2 heading (e.g. `<h2>Title of content</h2>`). Depending on the component's placement
109
109
  * in your app, you may need to adjust this heading for proper semantics. This is
@@ -154,7 +154,7 @@ export abstract class ArcgisFeature extends LitElement {
154
154
  */
155
155
  accessor hideFieldsContent: boolean;
156
156
  /**
157
- * This property provides the ability to hide or show the component's [heading](#heading).
157
+ * This property provides the ability to hide or show the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#heading).
158
158
  *
159
159
  * @default false
160
160
  * @since 4.34
@@ -211,7 +211,7 @@ export abstract class ArcgisFeature extends LitElement {
211
211
  */
212
212
  accessor location: Point | null | undefined;
213
213
  /**
214
- * A map is required when the input [graphic](#graphic) has 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.
214
+ * A map is required when the input [graphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/#graphic) has 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.
215
215
  *
216
216
  * @default null
217
217
  * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
@@ -166,7 +166,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
166
166
  */
167
167
  accessor layer: FeatureFormLayerUnion | null | undefined;
168
168
  /**
169
- * A map is required when the input [graphic](#graphic) has 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.
169
+ * A map is required when the input [layer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#layer) has 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.
170
170
  *
171
171
  * @default null
172
172
  * @see [Type system](https://developers.arcgis.com/arcade/guide/types/#featuresetcollection)
@@ -210,7 +210,7 @@ export abstract class ArcgisFeatureForm extends LitElement {
210
210
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
211
211
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
212
212
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
213
- /** Fires when the [submit()](#submit) method is called. */
213
+ /** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-form/#submit) method is called. */
214
214
  readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
215
215
  /** Fires when a field value is updated. */
216
216
  readonly arcgisValueChange: import("@arcgis/lumina").TargetedEvent<this, ValueChangeEvent>;
@@ -3,18 +3,16 @@ import type FeaturesViewModel from "@arcgis/core/widgets/Features/FeaturesViewMo
3
3
  import type Collection from "@arcgis/core/core/Collection.js";
4
4
  import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
5
5
  import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
6
- import type Graphic from "@arcgis/core/Graphic";
6
+ import type Graphic from "@arcgis/core/Graphic.js";
7
7
  import type Widget from "@arcgis/core/widgets/Widget.js";
8
- import type Graphic2 from "@arcgis/core/Graphic.js";
9
8
  import type Map from "@arcgis/core/Map.js";
10
9
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
11
10
  import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
12
  import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
14
- import type { ActionEvent, FetchFeaturesOptions } from "@arcgis/core/widgets/Popup/types";
15
- import type { ScreenPoint } from "@arcgis/core/core/types";
13
+ import type { ActionEvent, FetchFeaturesOptions, PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
14
+ import type { ScreenPoint } from "@arcgis/core/core/types.js";
16
15
  import type { T9nMeta } from "@arcgis/lumina/controllers";
17
- import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
18
16
  import type { Abilities } from "@arcgis/core/widgets/Feature/types.js";
19
17
  import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
20
18
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
@@ -44,9 +42,9 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
44
42
  export abstract class ArcgisFeatures extends LitElement {
45
43
  /**
46
44
  * A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
47
- * There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [`includeDefaultActionsDisabled`](#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
45
+ * There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
48
46
  *
49
- * 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](#arcgisTriggerAction) event fires each time an action is clicked.
47
+ * 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/#event-arcgisTriggerAction) event fires each time an action is clicked.
50
48
  *
51
49
  * @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#event-arcgisTriggerAction)
52
50
  * @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
@@ -110,7 +108,7 @@ export abstract class ArcgisFeatures extends LitElement {
110
108
  */
111
109
  accessor featureCount: number;
112
110
  /**
113
- * 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`](#initialDisplayMode) is set to "feature".
111
+ * 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/#initialDisplayMode) is set to "feature".
114
112
  *
115
113
  * @default false
116
114
  * @since 4.34
@@ -131,9 +129,9 @@ export abstract class ArcgisFeatures extends LitElement {
131
129
  */
132
130
  accessor featureNavigationTop: boolean;
133
131
  /**
134
- * An array of features 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](#content) and [heading](#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/).
132
+ * An array of features 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/).
135
133
  *
136
- * When more than one graphic exists in this array, the current content of the component is set based on the value of the [selected feature](#selectedFeature).
134
+ * 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)).
137
135
  *
138
136
  * This value is `null` if no features are associated with the component.
139
137
  *
@@ -153,7 +151,7 @@ export abstract class ArcgisFeatures extends LitElement {
153
151
  * component.features = graphics;
154
152
  * ```
155
153
  */
156
- accessor features: Array<Graphic2>;
154
+ accessor features: Array<Graphic>;
157
155
  /**
158
156
  * The number of features to fetch at one time.
159
157
  *
@@ -259,7 +257,7 @@ export abstract class ArcgisFeatures extends LitElement {
259
257
  */
260
258
  accessor hideFeatureMenuHeading: boolean;
261
259
  /**
262
- * Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [selected features](#features) using pagination arrows.
260
+ * Indicates whether to hide the feature navigation in the component. This allows the user to scroll through various [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) using pagination arrows.
263
261
  *
264
262
  * @default false
265
263
  */
@@ -460,7 +458,7 @@ export abstract class ArcgisFeatures extends LitElement {
460
458
  * resolved they are removed from this array and the features they return
461
459
  * are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
462
460
  */
463
- accessor promises: Array<Promise<Array<Graphic2>>>;
461
+ accessor promises: Array<Promise<Array<Graphic>>>;
464
462
  /**
465
463
  * 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.
466
464
  *
@@ -478,7 +476,7 @@ export abstract class ArcgisFeatures extends LitElement {
478
476
  * The selected feature accessed by the Features component. The content displayed in the component is
479
477
  * determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to this feature.
480
478
  */
481
- get selectedFeature(): Graphic2 | null;
479
+ get selectedFeature(): Graphic | null;
482
480
  /**
483
481
  * Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
484
482
  * This is useful if needing to get a reference to the Feature component in order to make any changes to it.
@@ -559,7 +557,7 @@ export abstract class ArcgisFeatures extends LitElement {
559
557
  /** Permanently destroy the component. */
560
558
  destroy(): Promise<void>;
561
559
  /**
562
- * Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [`location`](#location) based on the input event's screen coordinates.
560
+ * Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#location) based on the input event's screen coordinates.
563
561
  *
564
562
  * @param screenPoint
565
563
  * @param options
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as N } from "../../chunks/runtime.js";
3
3
  import { css as E, html as o } from "lit";
4
- import { keyed as F } from "lit/directives/keyed.js";
4
+ import { keyed as b } from "lit/directives/keyed.js";
5
5
  import O from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
6
6
  import { u as B } from "../../chunks/useT9n.js";
7
- import { classes as b } from "@arcgis/toolkit/dom";
7
+ import { classes as F } from "@arcgis/toolkit/dom";
8
8
  import { usePropertyChange as L } from "@arcgis/lumina/controllers";
9
9
  import { m as R } from "../../chunks/useViewModel.js";
10
10
  import { LitElement as P, createEvent as C, renderElement as H, nothing as d, safeClassMap as $ } from "@arcgis/lumina";
@@ -50,7 +50,7 @@ class q extends P {
50
50
  }, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
51
51
  }
52
52
  static {
53
- this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
53
+ this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, visible: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
54
54
  }
55
55
  static {
56
56
  this.styles = G;
@@ -70,6 +70,12 @@ class q extends P {
70
70
  get _collapseEnabled() {
71
71
  return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureViewModel?.title) && !!(this.content || this.viewModel.selectedFeatureViewModel?.content));
72
72
  }
73
+ get visible() {
74
+ return this.viewModel.visible;
75
+ }
76
+ set visible(e) {
77
+ this.viewModel.visible = e;
78
+ }
73
79
  get chartAnimationDisabled() {
74
80
  return !(this.viewModel.featureViewModelAbilities?.chartAnimation ?? !0);
75
81
  }
@@ -119,10 +125,10 @@ class q extends P {
119
125
  this.viewModel.featureViewModelAbilities ??= {}, this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent = !e;
120
126
  }
121
127
  get open() {
122
- return this.viewModel.visible;
128
+ return this.visible;
123
129
  }
124
130
  set open(e) {
125
- this.viewModel.visible = e;
131
+ this.visible = e;
126
132
  }
127
133
  get selectedDrillInFeature() {
128
134
  const e = Array.from(this.flowItems).at(-1);
@@ -135,7 +141,7 @@ class q extends P {
135
141
  return this.viewModel.clear();
136
142
  }
137
143
  async close() {
138
- this.viewModel.visible = !1;
144
+ this.visible = !1;
139
145
  }
140
146
  async destroy() {
141
147
  await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
@@ -272,7 +278,7 @@ class q extends P {
272
278
  this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
273
279
  }
274
280
  _viewChange() {
275
- this.viewModel.clear(), this.viewModel.visible = !1;
281
+ this.viewModel.clear(), this.visible = !1;
276
282
  }
277
283
  _closeOpenActionMenu() {
278
284
  const { _actionBarMenuNode: e } = this;
@@ -347,7 +353,7 @@ class q extends P {
347
353
  const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
348
354
  return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
349
355
  const a = i.get(n)?.map((r) => this._renderFeatureMenuItem(r)), l = n ? n.title ?? this.messages.untitled : null;
350
- return !this.hideFeatureListLayerTitle && l !== null ? F(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
356
+ return !this.hideFeatureListLayerTitle && l !== null ? b(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
351
357
  })}</calcite-list>` : null;
352
358
  }
353
359
  _renderHeaderAction(e) {
@@ -362,17 +368,17 @@ class q extends P {
362
368
  if (l === "list" && !r)
363
369
  return null;
364
370
  const _ = a.length === 0 && (l === "list" ? !!r : !p);
365
- return o`<calcite-flow-item class=${$(b({
371
+ return o`<calcite-flow-item class=${$(F({
366
372
  "content-feature": !0,
367
373
  "flow-item-collapsed": i
368
- }))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
374
+ }))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(F("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
369
375
  }
370
376
  _renderFeatureMenuContainer() {
371
377
  const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
372
378
  if (n === "feature" && !a)
373
379
  return null;
374
380
  const D = n === "list" ? !l : a;
375
- return o`<calcite-flow-item class=${$(b({
381
+ return o`<calcite-flow-item class=${$(F({
376
382
  "flow-item-collapsed": p
377
383
  }))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
378
384
  total: I.length
@@ -401,7 +407,7 @@ class q extends P {
401
407
  }
402
408
  _renderContent() {
403
409
  const { content: e, selectedFeatureViewModel: t } = this.viewModel;
404
- return t ? F(t, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? F(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
410
+ return t ? b(t, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? b(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
405
411
  }
406
412
  }
407
413
  N("arcgis-features", q);
@@ -10,10 +10,10 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
10
10
  /**
11
11
  * The Floor Filter component simplifies visualization of GIS data for a specific floor of a
12
12
  * building in your application. It allows you to filter down the floor plan data displayed in your
13
- * [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](#site), a [facility](#facility) in the site,
14
- * or a [level](#level) in the facility.
13
+ * [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), a [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility) in the site,
14
+ * or a [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level) in the facility.
15
15
  *
16
- * To visualize your data based on [site](#site), [facility](#facility), or [level](#level), your map must contain the related
16
+ * To visualize your data based on [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility), or [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level), your map must contain the related
17
17
  * floor plan layers, with features linked together in a floor plan hierarchy.
18
18
  * Once you define your map as floor-aware in the map properties, the interactive, on-screen
19
19
  * Floor Filter component appears and can be used to explore the floor-aware data based on the
@@ -102,7 +102,7 @@ export abstract class ArcgisGridControls extends LitElement {
102
102
  accessor customColor: Color | undefined;
103
103
  /**
104
104
  * Returns `true` if the grid is enabled for display.
105
- * Use [trySetDisplayEnabled](#trySetDisplayEnabled) to enable or disable grid display.
105
+ * Use [trySetDisplayEnabled()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#trySetDisplayEnabled) to enable or disable grid display.
106
106
  *
107
107
  * @default false
108
108
  */
@@ -110,7 +110,7 @@ export abstract class ArcgisGridControls extends LitElement {
110
110
  /**
111
111
  * Returns `true` if the grid is set to scale dynamically. When dynamic scaling is enabled,
112
112
  * grid cells are added or removed to ensure that grid cells are a reasonable size on screen as the user zooms.
113
- * The way additional grid lines are shown is controlled by the [majorLineInterval](#majorLineInterval) property.
113
+ * The way additional grid lines are shown is controlled by the [majorLineInterval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#majorLineInterval) property.
114
114
  *
115
115
  * @default false
116
116
  */
@@ -127,7 +127,7 @@ export abstract class ArcgisGridControls extends LitElement {
127
127
  get gridControlsEnabled(): boolean;
128
128
  /**
129
129
  * True if the grid is currently not displayed (and therefore also not a valid snap target),
130
- * because [dynamicScaling](#dynamicScaling) is off and the grid cells are too small
130
+ * because [dynamicScaling](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#dynamicScaling) is off and the grid cells are too small
131
131
  * to render at the current scale.
132
132
  *
133
133
  * @default false
@@ -278,8 +278,8 @@ export abstract class ArcgisGridControls extends LitElement {
278
278
  /** Rotation of the grid in radians. NOTE: UI controls convert to and from degrees automatically. */
279
279
  accessor rotation: number;
280
280
  /**
281
- * Controls snapping behavior if [snappingOptions](#snappingOptions) has been defined.
282
- * If [snappingOptions](#snappingOptions) have been defined, disabling or enabling grid snapping will
281
+ * Controls snapping behavior if [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) has been defined.
282
+ * If [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) have been defined, disabling or enabling grid snapping will
283
283
  * also disable or enable grid display.
284
284
  *
285
285
  * @default false
@@ -292,20 +292,20 @@ export abstract class ArcgisGridControls extends LitElement {
292
292
  */
293
293
  accessor snappingOptions: SnappingOptions | null | undefined;
294
294
  /**
295
- * Length of a grid cell. Grid cells are always square. Defined in [unit](#unit).
295
+ * Length of a grid cell. Grid cells are always square. Defined in [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#unit).
296
296
  *
297
297
  * @default 1
298
298
  */
299
299
  accessor spacing: number;
300
300
  /**
301
301
  * The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
302
- * the [customColor](#customColor) is shown, otherwise a default light or dark theme color is used.
302
+ * the [customColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#customColor) is shown, otherwise a default light or dark theme color is used.
303
303
  *
304
304
  * @default "dark"
305
305
  */
306
306
  accessor theme: GridTheme | null | undefined;
307
307
  /**
308
- * Unit of measure (foot, meter, etc) used when defining the [spacing](#spacing) grid cell.
308
+ * Unit of measure (foot, meter, etc) used when defining the [spacing](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#spacing) grid cell.
309
309
  * Note that units are defined relatively to the map's spatial reference length unit,
310
310
  * which will not correspond to geographic distance unless using a special-purpose basemap
311
311
  * within a supported target area.
@@ -438,7 +438,7 @@ export abstract class ArcgisLinkChart extends LitElement {
438
438
  */
439
439
  accessor popup: Popup | null | undefined;
440
440
  /**
441
- * Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) property (representing the component) will be used for popups instead of the [popup](#popup) property (representing the widget).
441
+ * Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) property (representing the component) will be used for popups instead of the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup) property (representing the widget).
442
442
  *
443
443
  * **Note:** This is a beta feature and may change in future releases. At version 6.0, the Popup component will be used by default instead of the Popup widget and the `popup-component-enabled` attribute will no longer be necessary.
444
444
  *
@@ -453,14 +453,14 @@ export abstract class ArcgisLinkChart extends LitElement {
453
453
  */
454
454
  accessor popupComponentEnabled: boolean;
455
455
  /**
456
- * Controls whether the default popup opens automatically when users click on the view. This controls both the [`popupElement`](#popupElement) and [`popup`](#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
456
+ * Controls whether the default popup opens automatically when users click on the view. This controls both the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) and [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
457
457
  *
458
458
  * @default false
459
459
  * @see [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#openPopup)
460
460
  */
461
461
  accessor popupDisabled: boolean;
462
462
  /**
463
- * A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](#popupComponentEnabled) property must be set to `true` to use this property.
463
+ * A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupComponentEnabled) property must be set to `true` to use this property.
464
464
  *
465
465
  * **Note:** This is a beta feature and may change in future releases.
466
466
  *
@@ -512,7 +512,7 @@ export abstract class ArcgisLinkChart extends LitElement {
512
512
  * The view may be rotated by directly setting
513
513
  * the rotation or by using the following mouse event: `Right-click + Drag`.
514
514
  * WebLinkChart rotation may be disabled by setting the `rotationEnabled` property
515
- * in [constraints](#constraints) to `false`.
515
+ * in [constraints](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#constraints) to `false`.
516
516
  *
517
517
  * @default 0
518
518
  * @example
@@ -789,7 +789,7 @@ export abstract class ArcgisLinkChart extends LitElement {
789
789
  center?: LinkChartView["center"] | null | undefined | number[] | string;
790
790
  };
791
791
  /**
792
- * Fires when a arcgis-link-chart fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
792
+ * Fires when an arcgis-link-chart fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
793
793
  *
794
794
  * @since 4.34
795
795
  * @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#loadErrorSources)
@@ -128,7 +128,7 @@ export abstract class ArcgisLocate extends LitElement {
128
128
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
129
129
  /**
130
130
  * Indicates the scale to set on the view when navigating to the position of the geolocated
131
- * result, after a location is returned from the [track](#event-track) event.
131
+ * result, after a location is returned from the [@arcgisSuccess](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-locate/#event-arcgisSuccess) event.
132
132
  *
133
133
  * @default null
134
134
  */