@arcgis/map-components 5.1.0-next.124 → 5.1.0-next.126

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 (118) hide show
  1. package/dist/cdn/{TPIXZL2K.js → 43M5VJRC.js} +1 -1
  2. package/dist/cdn/{GD7MA2TO.js → AXN7G236.js} +1 -1
  3. package/dist/cdn/{3YM2QRWA.js → CE2RZQQW.js} +1 -1
  4. package/dist/cdn/{V4TZKP3Y.js → FEUJIJZD.js} +1 -1
  5. package/dist/cdn/FKUYUCZI.js +2 -0
  6. package/dist/cdn/GSSYRVP6.js +2 -0
  7. package/dist/cdn/K4QY44EL.js +2 -0
  8. package/dist/cdn/QDUGDBGL.js +2 -0
  9. package/dist/cdn/VF6XRFTD.js +2 -0
  10. package/dist/cdn/{XYM3N3G2.js → WL3M7M7U.js} +1 -1
  11. package/dist/cdn/{7SSL5FEN.js → XHF7LKTV.js} +1 -1
  12. package/dist/cdn/YJT2XNV5.js +2 -0
  13. package/dist/cdn/{HXG7STEU.js → YXFCBOAL.js} +1 -1
  14. package/dist/cdn/ZJINX5IW.js +2 -0
  15. package/dist/cdn/{7C32A3BK.js → ZJMD4XQE.js} +1 -1
  16. package/dist/cdn/ZRHYL7ZS.js +2 -0
  17. package/dist/cdn/assets/feature-templates/t9n/messages.ar.json +1 -1
  18. package/dist/cdn/assets/feature-templates/t9n/messages.bg.json +1 -1
  19. package/dist/cdn/assets/feature-templates/t9n/messages.bs.json +1 -1
  20. package/dist/cdn/assets/feature-templates/t9n/messages.ca.json +1 -1
  21. package/dist/cdn/assets/feature-templates/t9n/messages.cs.json +1 -1
  22. package/dist/cdn/assets/feature-templates/t9n/messages.da.json +1 -1
  23. package/dist/cdn/assets/feature-templates/t9n/messages.de.json +1 -1
  24. package/dist/cdn/assets/feature-templates/t9n/messages.el.json +1 -1
  25. package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -1
  26. package/dist/cdn/assets/feature-templates/t9n/messages.es.json +1 -1
  27. package/dist/cdn/assets/feature-templates/t9n/messages.et.json +1 -1
  28. package/dist/cdn/assets/feature-templates/t9n/messages.fi.json +1 -1
  29. package/dist/cdn/assets/feature-templates/t9n/messages.fr.json +1 -1
  30. package/dist/cdn/assets/feature-templates/t9n/messages.he.json +1 -1
  31. package/dist/cdn/assets/feature-templates/t9n/messages.hr.json +1 -1
  32. package/dist/cdn/assets/feature-templates/t9n/messages.hu.json +1 -1
  33. package/dist/cdn/assets/feature-templates/t9n/messages.id.json +1 -1
  34. package/dist/cdn/assets/feature-templates/t9n/messages.it.json +1 -1
  35. package/dist/cdn/assets/feature-templates/t9n/messages.ja.json +1 -1
  36. package/dist/cdn/assets/feature-templates/t9n/messages.ko.json +1 -1
  37. package/dist/cdn/assets/feature-templates/t9n/messages.lt.json +1 -1
  38. package/dist/cdn/assets/feature-templates/t9n/messages.lv.json +1 -1
  39. package/dist/cdn/assets/feature-templates/t9n/messages.nl.json +1 -1
  40. package/dist/cdn/assets/feature-templates/t9n/messages.no.json +1 -1
  41. package/dist/cdn/assets/feature-templates/t9n/messages.pl.json +1 -1
  42. package/dist/cdn/assets/feature-templates/t9n/messages.pt-BR.json +1 -1
  43. package/dist/cdn/assets/feature-templates/t9n/messages.pt-PT.json +1 -1
  44. package/dist/cdn/assets/feature-templates/t9n/messages.ro.json +1 -1
  45. package/dist/cdn/assets/feature-templates/t9n/messages.ru.json +1 -1
  46. package/dist/cdn/assets/feature-templates/t9n/messages.sk.json +1 -1
  47. package/dist/cdn/assets/feature-templates/t9n/messages.sl.json +1 -1
  48. package/dist/cdn/assets/feature-templates/t9n/messages.sr.json +1 -1
  49. package/dist/cdn/assets/feature-templates/t9n/messages.sv.json +1 -1
  50. package/dist/cdn/assets/feature-templates/t9n/messages.th.json +1 -1
  51. package/dist/cdn/assets/feature-templates/t9n/messages.tr.json +1 -1
  52. package/dist/cdn/assets/feature-templates/t9n/messages.uk.json +1 -1
  53. package/dist/cdn/assets/feature-templates/t9n/messages.vi.json +1 -1
  54. package/dist/cdn/assets/feature-templates/t9n/messages.zh-CN.json +1 -1
  55. package/dist/cdn/assets/feature-templates/t9n/messages.zh-HK.json +1 -1
  56. package/dist/cdn/assets/feature-templates/t9n/messages.zh-TW.json +1 -1
  57. package/dist/cdn/index.js +1 -1
  58. package/dist/chunks/time-utils.js +14 -14
  59. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  60. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  61. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  62. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  63. package/dist/components/arcgis-daylight/customElement.js +242 -203
  64. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  65. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  66. package/dist/components/arcgis-feature/customElement.d.ts +1 -1
  67. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
  68. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -0
  69. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  70. package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -8
  71. package/dist/components/arcgis-feature-templates/customElement.js +198 -247
  72. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +1 -1
  73. package/dist/components/arcgis-features-next/customElement.d.ts +7 -1
  74. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  75. package/dist/components/arcgis-fullscreen/customElement.d.ts +2 -2
  76. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -0
  77. package/dist/components/arcgis-layer-list-next/customElement.d.ts +319 -32
  78. package/dist/components/arcgis-layer-list-next/customElement.js +5 -1
  79. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  80. package/dist/components/arcgis-legend/customElement.js +6 -6
  81. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  82. package/dist/components/arcgis-legend-classic-view/customElement.js +16 -16
  83. package/dist/components/arcgis-link-chart/customElement.d.ts +2 -2
  84. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  85. package/dist/components/arcgis-map/customElement.d.ts +49 -6
  86. package/dist/components/arcgis-paste/PasteViewModel.d.ts +2 -2
  87. package/dist/components/arcgis-popup/customElement.d.ts +8 -2
  88. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  89. package/dist/components/arcgis-scene/customElement.d.ts +3 -3
  90. package/dist/components/arcgis-search/customElement.d.ts +1 -1
  91. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  92. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  93. package/dist/components/arcgis-template-image/customElement.d.ts +2 -2
  94. package/dist/components/arcgis-template-image/customElement.js +25 -22
  95. package/dist/components/arcgis-template-image/index.js +1 -0
  96. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -6
  97. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  98. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +1 -1
  99. package/dist/components/arcgis-version-management/customElement.d.ts +9 -1
  100. package/dist/components/arcgis-version-management/customElement.js +21 -20
  101. package/dist/components/arcgis-version-management/index.js +1 -0
  102. package/dist/components/arcgis-video/customElement.d.ts +1 -1
  103. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  104. package/dist/components/arcgis-weather/customElement.js +96 -94
  105. package/dist/docs/api.json +1 -1
  106. package/dist/docs/docs.json +1 -1
  107. package/dist/docs/vscode.html-custom-data.json +1 -1
  108. package/dist/docs/web-types.json +1 -1
  109. package/package.json +5 -5
  110. package/dist/cdn/CH6EZH77.js +0 -2
  111. package/dist/cdn/DZMN2UH5.js +0 -2
  112. package/dist/cdn/GMOWIPQL.js +0 -2
  113. package/dist/cdn/GQTLJGQ6.js +0 -2
  114. package/dist/cdn/IQPGSWSL.js +0 -2
  115. package/dist/cdn/OCMGQ4AF.js +0 -2
  116. package/dist/cdn/XYUG5M3W.js +0 -2
  117. package/dist/cdn/Y7X7TMXK.js +0 -2
  118. package/dist/components/arcgis-feature-templates/TemplateItem.d.ts +0 -33
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as n } from "../../chunks/runtime.js";
3
- import { css as c, html as t } from "lit";
3
+ import { css as c, html as a } from "lit";
4
4
  import { LitElement as d, safeClassMap as o } from "@arcgis/lumina";
5
5
  import { classes as g } from "@arcgis/toolkit/dom";
6
6
  import { H as m } from "../../chunks/heading.js";
7
- const h = c`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:block}.no-legend{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md)}.layer{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--arcgis-internal-padding, var(--calcite-spacing-md) var(--calcite-spacing-lg));word-wrap:break-word}.layer:last-child{border-bottom:none}.layer-elements{margin-left:var(--calcite-spacing-sm);overflow:auto}.layer-child{margin-left:var(--calcite-spacing-sm);padding-right:0;padding-left:0}:dir(rtl) .layer-elements,:dir(rtl) .layer-child{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}`;
8
- class p extends d {
7
+ const h = c`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:block}.layers{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-gap)}.layers>.layer{position:relative}.layers>.layer:not(:last-child):after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--arcgis-internal-legend-layer-gap) / -2);border-bottom:1px solid var(--calcite-color-border-2)}.layers>.layer:last-child{padding-bottom:var(--arcgis-internal-legend-layer-gap)}.layer>.esri-widget__heading{margin:var(--arcgis-internal-legend-heading-margin)}.no-legend{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md)}.layer{padding:var(--arcgis-internal-legend-layer-padding);word-wrap:break-word}.layer-elements{margin-left:var(--calcite-spacing-sm);display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-element-gap);overflow:auto}.layer-children{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-gap)}.layer-children>.layer{position:relative}.layer-children>.layer:not(:last-child):after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--arcgis-internal-legend-layer-gap) / -2);border-bottom:1px solid var(--calcite-color-border-2)}.layer-child{margin-left:var(--calcite-spacing-sm);padding:0}:dir(rtl) .layer-elements,:dir(rtl) .layer-child{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}`;
8
+ class y extends d {
9
9
  constructor() {
10
10
  super(...arguments), this.headingLevel = 3, this.type = "classic";
11
11
  }
@@ -16,31 +16,31 @@ class p extends d {
16
16
  this.styles = h;
17
17
  }
18
18
  render() {
19
- const s = this.activeLayerInfos?.toArray().map((r) => this._renderLegendForLayer(r)).filter(Boolean);
20
- return s?.length ? t`<section>${s}</section>` : t`<div class="no-legend">${this.messages.noLegend}</div>`;
19
+ const r = this.activeLayerInfos?.toArray().map((l) => this._renderLegendForLayer(l)).filter(Boolean);
20
+ return r?.length ? a`<section class="layers">${r}</section>` : a`<div class="no-legend">${this.messages.noLegend}</div>`;
21
21
  }
22
22
  _renderLegendForLayer(e) {
23
23
  if (!e.ready)
24
24
  return null;
25
- const s = e.title ? m({
25
+ const r = e.title ? m({
26
26
  level: this.headingLevel,
27
27
  children: e.title
28
28
  }) : null;
29
29
  if (e.children.length) {
30
- const r = e.children.toArray().map((i) => this._renderLegendForLayer(i));
31
- return t`<section class="layer">${s}${r}</section>`;
30
+ const l = e.children.toArray().map((i) => this._renderLegendForLayer(i));
31
+ return a`<section class="layer">${r}<div class="layer-children">${l}</div></section>`;
32
32
  }
33
- return this._renderLegendElementsForLayer(e, s);
33
+ return this._renderLegendElementsForLayer(e, r);
34
34
  }
35
- _renderLegendElementsForLayer(e, s) {
36
- const r = e.legendElements?.filter(Boolean);
37
- if (!r?.length)
35
+ _renderLegendElementsForLayer(e, r) {
36
+ const l = e.legendElements?.filter(Boolean);
37
+ if (!l?.length)
38
38
  return null;
39
- const i = r.map((a) => t`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter ?? void 0} .layer=${e.layer} .legendElement=${a} .messages=${this.messages}></arcgis-legend-classic-element>`), l = { "layer-child": !!e.parent };
40
- return t`<section class=${o(g("layer", l))}>${s}<div class="layer-elements">${i}</div></section>`;
39
+ const i = l.map((s) => a`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter ?? void 0} .layer=${e.layer} .legendElement=${s} .messages=${this.messages}></arcgis-legend-classic-element>`), t = { "layer-child": !!e.parent };
40
+ return a`<section class=${o(g("layer", t))}>${r}<div class="layer-elements">${i}</div></section>`;
41
41
  }
42
42
  }
43
- n("arcgis-legend-classic-view", p);
43
+ n("arcgis-legend-classic-view", y);
44
44
  export {
45
- p as LegendClassicView
45
+ y as LegendClassicView
46
46
  };
@@ -35,7 +35,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
35
35
  import type { SlotGroupRefs } from "../../support/slots.js";
36
36
 
37
37
  /**
38
- * Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/references/core/WebLinkChart/) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/references/core/views/LinkChartView/).
38
+ * Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/references/core/WebLinkChart/) from an [ArcGIS Enterprise portal](https://doc.esri.com/en/arcgis-enterprise/latest/plan/what-is-portal-for-arcgis-.html) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/references/core/views/LinkChartView/).
39
39
  *
40
40
  * Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
41
41
  *
@@ -95,7 +95,7 @@ export abstract class ArcgisLinkChart extends LitElement {
95
95
  */
96
96
  accessor animationsDisabled: boolean;
97
97
  /**
98
- * The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
98
+ * The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
99
99
  *
100
100
  * @since 4.34
101
101
  */
@@ -12,7 +12,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
12
12
  /**
13
13
  * The Locate component animates the Map or Scene to the user's current location.
14
14
  *
15
- * This component uses the browser's [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts), such as HTTPS.
15
+ * This component uses the browser's [Geolocation API](https://developer.mozilla.org/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/docs/Web/Security/Defenses/Secure_Contexts), such as HTTPS.
16
16
  * `localhost` is considered "potentially secure" and can be used for testing.
17
17
  *
18
18
  * > [!WARNING]
@@ -48,7 +48,7 @@ import type { SlotGroupRefs } from "../../support/slots.js";
48
48
  *
49
49
  * ##### 1. Using a WebMap
50
50
  * Load a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/) from [ArcGIS Online](https://www.arcgis.com/home/index.html)
51
- * or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [itemId](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#itemId) attribute.
51
+ * or an [ArcGIS Enterprise portal](https://doc.esri.com/en/arcgis-enterprise/latest/plan/what-is-portal-for-arcgis-.html) by specifying the [itemId](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#itemId) attribute.
52
52
  *
53
53
  * ```html
54
54
  * <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
@@ -165,7 +165,7 @@ export abstract class ArcgisMap extends LitElement {
165
165
  */
166
166
  accessor animationsDisabled: boolean;
167
167
  /**
168
- * The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
168
+ * The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
169
169
  *
170
170
  * @since 4.34
171
171
  */
@@ -211,11 +211,34 @@ export abstract class ArcgisMap extends LitElement {
211
211
  * Specifies a basemap for the map. The basemap is a set of layers that give
212
212
  * geographic context to the view and the other operational layers
213
213
  * in the map.
214
- * It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)),
215
- * [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/)
216
- * or [BasemapStyle](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/).
217
214
  *
218
- * [Read more](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)
215
+ * The basemap can be set from a basemap ID string from the [basemap styles service](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/), such as `arcgis/navigation`, or from the [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) class.
216
+ *
217
+ * > [!NOTE]
218
+ * > Accessing the basemap styles service requires authentication, see [Authentication and access tokens](https://developers.arcgis.com/javascript/latest/authentication/access-tokens/) for more information.
219
+ *
220
+ * @example
221
+ * ```html
222
+ * <!-- Basemap set using a basemap ID string from the basemap styles service -->
223
+ * <arcgis-map basemap="arcgis/navigation" center="-98, 39" zoom="4"></arcgis-map>
224
+ * ```
225
+ * @example
226
+ * ```js
227
+ * // Basemap set using a Basemap instance
228
+ * const viewElement = document.querySelector("arcgis-map");
229
+ * viewElement.basemap = new Basemap({
230
+ * title: "Terrain",
231
+ * baseLayers: [
232
+ * new VectorTileLayer({
233
+ * url: "https://arcgis.com/sharing/rest/content/items/b5676525747f499687f12746441101ef/resources/styles/root.json",
234
+ * })
235
+ * ]
236
+ * });
237
+ * ```
238
+ * @see [Map.basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)
239
+ * @see [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/)
240
+ * @see [BasemapStyle](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/)
241
+ * @see [Authentication and access tokens](https://developers.arcgis.com/javascript/latest/authentication/access-tokens/)
219
242
  */
220
243
  accessor basemap: Basemap | string | undefined;
221
244
  /** Represents the view for a single basemap after it has been added to the map. */
@@ -883,6 +906,26 @@ export abstract class ArcgisMap extends LitElement {
883
906
  * Represents the current view as a Viewpoint or point of observation on the view.
884
907
  * Setting the viewpoint immediately changes the current view. For animating
885
908
  * the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
909
+ *
910
+ * @example
911
+ * ```js
912
+ * // Set the viewpoint to the Empire State Building in New York City
913
+ * const viewElement = document.querySelector("arcgis-map");
914
+ * viewElement.viewpoint = new Viewpoint({
915
+ * targetGeometry: new Point({
916
+ * longitude: -73.9857,
917
+ * latitude: 40.7484
918
+ * }),
919
+ * scale: 5000
920
+ * });
921
+ * ```
922
+ * @example
923
+ * ```js
924
+ * // Get the initial viewpoint of the view once the view is ready
925
+ * const viewElement = document.querySelector("arcgis-map");
926
+ * await viewElement.viewOnReady();
927
+ * const initialViewpoint = viewElement.viewpoint.clone();
928
+ * ```
886
929
  */
887
930
  accessor viewpoint: Viewpoint;
888
931
  /**
@@ -9,7 +9,7 @@ import type SceneView from "@arcgis/core/views/SceneView.js";
9
9
  import type MapView from "@arcgis/core/views/MapView.js";
10
10
  import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
11
11
  import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
12
- import type TemplateItem from "../arcgis-feature-templates/TemplateItem.js";
12
+ import type TemplateListItem from "@arcgis/core/editing/templates/TemplateListItem.js";
13
13
  import type { EsriClipboard, ClipboardItem as EsriClipboardItem } from "@arcgis/core/applications/Components/clipboard.js";
14
14
  import type { ApplySet, ApplySetLayerEditResult, ApplySetServiceEditResult } from "@arcgis/core/applications/Components/applySetUtils.js";
15
15
  import type { ClipboardMove } from "./ClipboardMove.js";
@@ -127,7 +127,7 @@ export default class PasteViewModel extends Accessor {
127
127
  disabled: boolean;
128
128
  available: boolean;
129
129
  }[];
130
- accessor pasteTemplate: TemplateItem | undefined;
130
+ accessor pasteTemplate: TemplateListItem | undefined;
131
131
  get pasteTemplateIsValid(): boolean;
132
132
  /** @default true */
133
133
  accessor pasteWithAttributes: boolean;
@@ -304,7 +304,13 @@ export abstract class ArcgisPopup extends LitElement {
304
304
  * ```
305
305
  */
306
306
  accessor features: Array<Graphic>;
307
- /** @default false */
307
+ /**
308
+ * When `true`, this prevents the popup from trapping focus when opened.
309
+ * Preventing focus trapping can be used in scenarios where interactions are expected within the user interface, such as when the popup resides in a panel.
310
+ *
311
+ * @default false
312
+ * @since 5.1
313
+ */
308
314
  accessor focusTrapDisabled: boolean;
309
315
  /**
310
316
  * This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
@@ -350,7 +356,7 @@ export abstract class ArcgisPopup extends LitElement {
350
356
  * important for meeting accessibility standards.
351
357
  *
352
358
  * @default 2
353
- * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
359
+ * @see [Heading Elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
354
360
  * @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
355
361
  * @example
356
362
  * ```html
@@ -16,7 +16,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
16
16
  import type { Formats as Formats2, Layouts, TemplateCustomTextElements, State } from "@arcgis/core/widgets/Print/types.js";
17
17
 
18
18
  /**
19
- * The Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
19
+ * The Print component connects your application with a [printing service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-the-portal-to-print-maps.html) to allow the map to be printed.
20
20
  * It takes advantage of server-side, high-quality, full cartographic print functionality using the ExportWebMap service of ArcGIS,
21
21
  * which can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.
22
22
  * The Print component works with the [print](https://developers.arcgis.com/javascript/latest/references/core/rest/print/) module, which generates a printer-ready version of the map.
@@ -48,7 +48,7 @@ import type { SlotGroupRefs } from "../../support/slots.js";
48
48
  *
49
49
  * The Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/)
50
50
  * and loads a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) item from either
51
- * [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
51
+ * [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://doc.esri.com/en/arcgis-enterprise/latest/plan/what-is-portal-for-arcgis-.html).
52
52
  *
53
53
  * ```html
54
54
  * <arcgis-scene item-id="e2da7564e4f24eaaa918ffd70378056a"></arcgis-scene>
@@ -170,7 +170,7 @@ export abstract class ArcgisScene extends LitElement {
170
170
  */
171
171
  accessor animationsDisabled: boolean;
172
172
  /**
173
- * The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
173
+ * The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
174
174
  *
175
175
  * @since 4.34
176
176
  */
@@ -562,7 +562,7 @@ export abstract class ArcgisScene extends LitElement {
562
562
  get interacting(): boolean;
563
563
  /**
564
564
  * The ID of a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) item from either
565
- * [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
565
+ * [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://doc.esri.com/en/arcgis-enterprise/latest/plan/what-is-portal-for-arcgis-.html).
566
566
  *
567
567
  * To configure the portal url you must set the [config.portalUrl](https://developers.arcgis.com/javascript/latest/references/core/config/#portalUrl) property before the Scene component loads.
568
568
  */
@@ -162,7 +162,7 @@ export abstract class ArcgisSearch extends LitElement {
162
162
  * The use of this property is only supported on secure origins.
163
163
  * To use it, switch your application to a secure origin, such as HTTPS.
164
164
  * Note that localhost is considered "potentially secure" and can be used for easy testing in browsers that supports
165
- * [Window.isSecureContext](https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext#browser_compatibility)
165
+ * [Window.isSecureContext](https://developer.mozilla.org/docs/Web/API/isSecureContext#browser_compatibility)
166
166
  * (currently Chrome and Firefox).
167
167
  *
168
168
  * @default false
@@ -138,7 +138,7 @@ export abstract class ArcgisShadowCast extends LitElement {
138
138
  *
139
139
  * _See also_
140
140
  *
141
- * * [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date)
141
+ * * [Date](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date/Date)
142
142
  */
143
143
  get date(): Date;
144
144
  set date(value: Date | number | string);
@@ -112,7 +112,7 @@ const h = /* @__PURE__ */ new Set([
112
112
  sv: "se",
113
113
  th: "th",
114
114
  zh: "cn"
115
- }, P = L`:host{display:block;width:310px;max-width:100%}.slider{height:50px}.scale-indicator-container{position:relative;width:100%;margin-top:5px}.scale-indicator-icon{transform:scale(.8,1.7);margin-left:-6px;width:1px}.scale-menu-list{max-height:220px;overflow-y:auto}.scale-menu-input{max-width:120px}.scale-menu-button-container{display:flex;direction:ltr;justify-content:space-between}.scale-menu-button{min-width:0}:dir(rtl) .scale-menu-button-container>*{direction:rtl}.preview-container{padding:6px;background-color:var(--calcite-color-foreground-1);box-shadow:0 1px 2px #0000004d}`, l = [
115
+ }, P = L`:host{display:block;width:310px;max-width:100%}.slider{height:50px}.scale-indicator-container{position:relative;width:100%;margin-top:2px}.scale-indicator-icon{transform:scale(.8,1.7);margin-left:-6px;width:1px;--calcite-icon-color: var(--calcite-color-text-3)}.scale-menu-list{max-height:220px;overflow-y:auto}.scale-menu-input{max-width:120px}.scale-menu-button-container{display:flex;direction:ltr;justify-content:space-between}.scale-menu-button{min-width:0}:dir(rtl) .scale-menu-button-container>*{direction:rtl}.preview-container{padding:6px;background-color:var(--calcite-color-foreground-1);box-shadow:0 1px 2px #0000004d}`, l = [
116
116
  { id: "world", scale: 147914382, minScale: 147914382, maxScale: 1e8 },
117
117
  { id: "continent", scale: 5e7, minScale: 99999999, maxScale: 35e6 },
118
118
  { id: "countriesBig", scale: 25e6, minScale: 34999999, maxScale: 15e6 },
@@ -1,5 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type TemplateItem from "../arcgis-feature-templates/TemplateItem.js";
2
+ import type TemplateListItem from "@arcgis/core/editing/templates/TemplateListItem.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
 
5
5
  /**
@@ -10,5 +10,5 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
10
10
  * @internal
11
11
  */
12
12
  export abstract class ArcgisTemplateImage extends LitElement {
13
- accessor template: TemplateItem | undefined;
13
+ accessor template: TemplateListItem | undefined;
14
14
  }
@@ -1,21 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as h } from "../../chunks/runtime.js";
3
- import g from "@arcgis/core/Graphic.js";
4
- import { css as p, html as s } from "lit";
3
+ import p from "@arcgis/core/Graphic.js";
4
+ import { css as g, html as s } from "lit";
5
5
  import { createRef as d, ref as f } from "lit/directives/ref.js";
6
- import { unsafeHTML as _ } from "lit/directives/unsafe-html.js";
7
- import { LitElement as b, safeStyleMap as y } from "@arcgis/lumina";
6
+ import { unsafeHTML as b } from "lit/directives/unsafe-html.js";
7
+ import { LitElement as _, safeStyleMap as y } from "@arcgis/lumina";
8
8
  import * as l from "@arcgis/toolkit/log";
9
- import { isSharedTemplateMetadata as u, isStandardFeatureTemplate as v } from "@arcgis/core/applications/Components/templateUtils.js";
9
+ import { isSharedTemplateMetadata as c, isStandardFeatureTemplate as v } from "@arcgis/core/applications/Components/templateUtils.js";
10
10
  import "@arcgis/core/editing/sharedTemplates/SharedTemplateMetadata.js";
11
11
  import { renderPreviewHTML as w } from "@arcgis/core/symbols/support/symbolUtils.js";
12
- const I = p`.esri-thumbnail-preview{width:3%;height:32px;background-size:contain;background-position:center}.template-image-container{width:32px;height:32px;display:flex;align-items:center;justify-content:center}`;
13
- async function D(e, t, i) {
14
- if (u(e) && e.thumbnail) {
15
- const c = `data:image/png;base64,${e.thumbnail.imageData}`;
16
- return s`<div class="esri-thumbnail-preview" style=${y({ backgroundImage: `url(${c})` })}></div>`;
12
+ import { isTable as I } from "@arcgis/core/applications/Components/layerUtils.js";
13
+ const D = g`.esri-thumbnail-preview{width:22px;height:22px;background-position:50% 50%;background-repeat:no-repeat}.template-image-container{width:32px;height:32px;display:flex;align-items:center;justify-content:center}`;
14
+ async function x(e, t, i) {
15
+ if (c(e) && e.thumbnail) {
16
+ const u = `data:image/png;base64,${e.thumbnail.imageData}`;
17
+ return s`<div class="esri-thumbnail-preview" style=${y({ backgroundImage: `url(${u})` })}></div>`;
17
18
  }
18
- const r = await x(t, e);
19
+ if (I(t))
20
+ return s`<calcite-icon icon=table scale=s></calcite-icon>`;
21
+ const r = await T(t, e);
19
22
  if (r == null)
20
23
  return null;
21
24
  const n = { maxSize: 24, ariaLabel: i?.ariaLabel };
@@ -23,13 +26,13 @@ async function D(e, t, i) {
23
26
  attributes: e.prototype.attributes ?? {}
24
27
  });
25
28
  const o = await w(r, n);
26
- return o ? s`${_(o.outerHTML)}` : null;
29
+ return o ? s`${b(o.outerHTML)}` : null;
27
30
  }
28
- async function x(e, t) {
29
- if (u(t))
31
+ async function T(e, t) {
32
+ if (c(t))
30
33
  return await m(e);
31
34
  if ("renderer" in e && e.renderer) {
32
- const { renderer: i } = e, r = new g({ attributes: t.prototype.attributes });
35
+ const { renderer: i } = e, r = new p({ attributes: t.prototype.attributes });
33
36
  if ("getSymbolAsync" in i) {
34
37
  const a = await i.getSymbolAsync(r);
35
38
  if (a)
@@ -38,14 +41,14 @@ async function x(e, t) {
38
41
  }
39
42
  return await m(e);
40
43
  }
41
- async function T(e) {
44
+ async function C(e) {
42
45
  const t = e === "point" || e === "multipoint" ? await import("@arcgis/core/symbols/SimpleMarkerSymbol.js") : e === "polyline" ? await import("@arcgis/core/symbols/SimpleLineSymbol.js") : e === "polygon" || e === "mesh" || e === "multipatch" ? await import("@arcgis/core/symbols/SimpleFillSymbol.js") : null;
43
46
  return t ? new t.default() : null;
44
47
  }
45
48
  async function m(e) {
46
- return "geometryType" in e && e.geometryType ? await T(e.geometryType) : null;
49
+ return "geometryType" in e && e.geometryType ? await C(e.geometryType) : null;
47
50
  }
48
- class C extends b {
51
+ class L extends _ {
49
52
  constructor() {
50
53
  super(...arguments), this._lastRun = 0, this._attempted = !1, this._isCurrentlyInView = !1, this._intersectionObserver = null, this._imageContainerDiv = d(), this._generatedImageData = null;
51
54
  }
@@ -53,7 +56,7 @@ class C extends b {
53
56
  this.properties = { _generatedImageData: 16, template: 0 };
54
57
  }
55
58
  static {
56
- this.styles = I;
59
+ this.styles = D;
57
60
  }
58
61
  get rootLayer() {
59
62
  return this.template?.layer?.type === "subtype-sublayer" ? this.template.layer.parent : this.template?.layer;
@@ -75,7 +78,7 @@ class C extends b {
75
78
  this._generatedImageData = null, this._attempted = !1;
76
79
  }
77
80
  async _generateImage() {
78
- return this.template ? await D(this.template.template, this.template.layer) : "";
81
+ return this.template ? await x(this.template.template, this.template.layer) : "";
79
82
  }
80
83
  async _handleImage() {
81
84
  const t = ++this._lastRun;
@@ -113,7 +116,7 @@ class C extends b {
113
116
  return s`<div class="template-image-container" ${f(this._imageContainerDiv)}>${this._generatedImageData ?? ""}</div>`;
114
117
  }
115
118
  }
116
- h("arcgis-template-image", C);
119
+ h("arcgis-template-image", L);
117
120
  export {
118
- C as ArcgisTemplateImage
121
+ L as ArcgisTemplateImage
119
122
  };
@@ -1 +1,2 @@
1
+ import "@esri/calcite-components/components/calcite-icon";
1
2
  export * from "./customElement.js";
@@ -19,7 +19,7 @@ import type { TickConfig } from "@arcgis/core/widgets/Slider/types.js";
19
19
  export abstract class ArcgisTimeSlider extends LitElement {
20
20
  /**
21
21
  * Defines actions that will appear in a menu when the user clicks the ellipsis button
22
- * ![timeSlider-actions-menu](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/ellipsis.png) in the component. The
22
+ * ![timeSlider-actions-menu](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/ellipsis.avif) in the component. The
23
23
  * ellipsis button will not display if this property is `null` or if the collection is empty.
24
24
  * Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
25
25
  * and an icon.
@@ -28,7 +28,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
28
28
  * can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) to a specific date or copying the
29
29
  * timeExtent to the browser's clipboard.
30
30
  *
31
- * [![widgets-timeSlider-actions](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/widgets-timeslider-actions.png)](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-timeslider-offset)
31
+ * [![widgets-timeSlider-actions](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/widgets-timeslider-actions.avif)](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-timeslider-offset)
32
32
  *
33
33
  * @since 4.21
34
34
  * @see [Sample - TimeSlider with offset](https://developers.arcgis.com/javascript/latest/sample-code/widgets-timeslider-offset/)
@@ -188,10 +188,10 @@ export abstract class ArcgisTimeSlider extends LitElement {
188
188
  *
189
189
  * Possible Values | Description | Example |
190
190
  * ----------------------|-------------- | ------- |
191
- * instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.png"> |
192
- * time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.png"> |
193
- * cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.png"> |
194
- * cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.png"> |
191
+ * instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.avif"> |
192
+ * time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.avif"> |
193
+ * cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.avif"> |
194
+ * cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.avif"> |
195
195
  *
196
196
  * @default "time-window"
197
197
  * @see [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent)
@@ -15,7 +15,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
15
15
  * The view rotates based on device heading, and the default heading symbol will display
16
16
  * when speed is greater than zero and the browser provides heading information.
17
17
  *
18
- * This component uses the browser's [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts), such as HTTPS.
18
+ * This component uses the browser's [Geolocation API](https://developer.mozilla.org/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/docs/Web/Security/Defenses/Secure_Contexts), such as HTTPS.
19
19
  * `localhost` is considered "potentially secure" and can be used for testing.
20
20
  *
21
21
  * > [!WARNING]
@@ -186,7 +186,7 @@ export abstract class ArcgisTrack extends LitElement {
186
186
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
187
187
  /**
188
188
  * Indicates whether the component will automatically rotate to the device heading based on
189
- * the Geolocation APIs [`GeolocationCoordinates.heading`](https://developer.mozilla.org/en-US/docs/Web/API/GeolocationCoordinates/heading)
189
+ * the Geolocation APIs [`GeolocationCoordinates.heading`](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/heading)
190
190
  * property. The map will not rotate if the speed is `0`,
191
191
  * or if the device is unable to provide heading information.
192
192
  *
@@ -168,7 +168,7 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
168
168
  *
169
169
  * The function is awaited before the [@arcgisValidateNetworkTopologyStart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-validate-network-topology/#event-arcgisValidateNetworkTopologyStart)
170
170
  * event is emitted and before the validation request is sent.
171
- * If the function rejects its Promise, validation does not start and the component displays an error. If the Promise was rejected with an [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error), the component displays the error.
171
+ * If the function rejects its Promise, validation does not start and the component displays an error. If the Promise was rejected with an [Error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), the component displays the error.
172
172
  *
173
173
  * @internal
174
174
  * @example
@@ -204,7 +204,15 @@ export abstract class ArcgisVersionManagement extends LitElement {
204
204
  */
205
205
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
206
206
  /**
207
- * The current state of the component.
207
+ * The current component state.
208
+ *
209
+ * * `disabled` - an error occured during initialization
210
+ * * `executing` - an operation is being performed
211
+ * * `failed` - an error occurred during execution
212
+ * * `loading` - the object is loading
213
+ * * `ready` - object loaded successfully or operation completed successfully
214
+ *
215
+ * When the component is ready, all items in [versioningStates](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-version-management/#versioningStates) are loaded.
208
216
  *
209
217
  * @since 5.0
210
218
  */