@arcgis/map-components 5.2.0-next.86 → 5.2.0-next.88

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 (220) hide show
  1. package/dist/cdn/2GQ6KVNI.js +2 -0
  2. package/dist/cdn/3CFRD2EN.js +2 -0
  3. package/dist/cdn/{YXA3DG4H.js → 3W4IH5LQ.js} +1 -1
  4. package/dist/cdn/5L5UYV3H.js +2 -0
  5. package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
  6. package/dist/cdn/6NGRUK5C.js +2 -0
  7. package/dist/cdn/BPHJ4VBC.js +2 -0
  8. package/dist/cdn/CFB4ZR5F.js +2 -0
  9. package/dist/cdn/D6MRDGUC.js +2 -0
  10. package/dist/cdn/EFUTKX2O.js +2 -0
  11. package/dist/cdn/{PNSES5YC.js → EGUVICJF.js} +1 -1
  12. package/dist/cdn/FXK4G4VK.js +2 -0
  13. package/dist/cdn/GNVPXNTX.js +2 -0
  14. package/dist/cdn/HTEIMRY6.js +2 -0
  15. package/dist/cdn/I2D75Q7M.js +2 -0
  16. package/dist/cdn/IMG5GOJB.js +2 -0
  17. package/dist/cdn/JXBEE5GW.js +2 -0
  18. package/dist/cdn/JZC42PXS.js +2 -0
  19. package/dist/cdn/K3N6NHJW.js +2 -0
  20. package/dist/cdn/KN4PG54T.js +2 -0
  21. package/dist/cdn/{56NINR5L.js → KNMMVZVV.js} +1 -1
  22. package/dist/cdn/M66G67OC.js +2 -0
  23. package/dist/cdn/MQX2F54G.js +2 -0
  24. package/dist/cdn/NB5DQKQY.js +2 -0
  25. package/dist/cdn/NFWFRHUT.js +2 -0
  26. package/dist/cdn/PCEAIDCB.js +2 -0
  27. package/dist/cdn/PMU2DO3P.js +2 -0
  28. package/dist/cdn/{LTGPFC6N.js → PWEF6IKF.js} +1 -1
  29. package/dist/cdn/{HWLBIEGO.js → RS5BEGC5.js} +1 -1
  30. package/dist/cdn/{K4V76SMR.js → TAIZWQYU.js} +1 -1
  31. package/dist/cdn/TPG3TU6B.js +2 -0
  32. package/dist/cdn/TRFWUKXA.js +2 -0
  33. package/dist/cdn/TSZ26CSX.js +2 -0
  34. package/dist/cdn/V4W4ZP6M.js +2 -0
  35. package/dist/cdn/XM2OBGXW.js +2 -0
  36. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  37. package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
  38. package/dist/cdn/index.js +1 -1
  39. package/dist/cdn/main.css +1 -1
  40. package/dist/chunks/constants2.js +6 -0
  41. package/dist/chunks/useArcgisViewReadyError.js +42 -27
  42. package/dist/components/arcgis-aggregated-features/customElement.js +0 -1
  43. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -0
  44. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -0
  45. package/dist/components/arcgis-attachments/customElement.d.ts +10 -0
  46. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -0
  47. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -0
  48. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +604 -51
  49. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +2 -2
  50. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
  51. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +10 -0
  52. package/dist/components/arcgis-bookmarks/customElement.d.ts +20 -0
  53. package/dist/components/arcgis-bookmarks/customElement.js +0 -1
  54. package/dist/components/arcgis-building-explorer/customElement.d.ts +10 -0
  55. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +23 -0
  56. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +433 -59
  57. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +2 -2
  58. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -6
  59. package/dist/components/arcgis-compass/customElement.d.ts +10 -0
  60. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -0
  61. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +10 -0
  62. package/dist/components/arcgis-daylight/customElement.d.ts +10 -0
  63. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +10 -0
  64. package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -0
  65. package/dist/components/arcgis-directions/customElement.d.ts +10 -0
  66. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -0
  67. package/dist/components/arcgis-editor/customElement.d.ts +10 -0
  68. package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -0
  69. package/dist/components/arcgis-expand/customElement.d.ts +10 -0
  70. package/dist/components/arcgis-feature/customElement.d.ts +10 -0
  71. package/dist/components/arcgis-feature-form/customElement.d.ts +10 -0
  72. package/dist/components/arcgis-feature-next/customElement.d.ts +32 -1
  73. package/dist/components/arcgis-feature-next/customElement.js +4 -4
  74. package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
  75. package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -0
  76. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +10 -0
  77. package/dist/components/arcgis-features/customElement.d.ts +20 -0
  78. package/dist/components/arcgis-features/customElement.js +3 -3
  79. package/dist/components/arcgis-features-next/customElement.d.ts +32 -1
  80. package/dist/components/arcgis-features-next/customElement.js +98 -86
  81. package/dist/components/arcgis-features-next/index.js +0 -1
  82. package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -0
  83. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -0
  84. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  85. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -0
  86. package/dist/components/arcgis-home/customElement.d.ts +10 -0
  87. package/dist/components/arcgis-layer-list/customElement.d.ts +20 -0
  88. package/dist/components/arcgis-layer-list-next/customElement.d.ts +285 -123
  89. package/dist/components/arcgis-layer-list-next/customElement.js +2 -3
  90. package/dist/components/arcgis-layer-list-next/types.d.ts +44 -6
  91. package/dist/components/arcgis-legend/customElement.d.ts +10 -0
  92. package/dist/components/arcgis-line-of-sight/customElement.d.ts +10 -0
  93. package/dist/components/arcgis-link-chart/customElement.d.ts +19 -5
  94. package/dist/components/arcgis-link-chart/customElement.js +24 -18
  95. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +10 -0
  96. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +10 -0
  97. package/dist/components/arcgis-locate/customElement.d.ts +10 -0
  98. package/dist/components/arcgis-map/customElement.d.ts +19 -5
  99. package/dist/components/arcgis-map/customElement.js +19 -13
  100. package/dist/components/arcgis-measurement/customElement.d.ts +10 -0
  101. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +25 -1
  102. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +10 -0
  103. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -0
  104. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +0 -2
  105. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +15 -16
  106. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +10 -0
  107. package/dist/components/arcgis-paste/customElement.d.ts +10 -0
  108. package/dist/components/arcgis-paste/customElement.js +0 -1
  109. package/dist/components/arcgis-popup/customElement.d.ts +27 -7
  110. package/dist/components/arcgis-popup/customElement.js +11 -14
  111. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +6 -0
  112. package/dist/components/arcgis-presentation/customElement.d.ts +18 -6
  113. package/dist/components/arcgis-presentation/customElement.js +197 -157
  114. package/dist/components/arcgis-presentation/index.js +2 -0
  115. package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
  116. package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
  117. package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
  118. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  119. package/dist/components/arcgis-scale-bar/customElement.d.ts +10 -0
  120. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +10 -0
  121. package/dist/components/arcgis-scene/customElement.d.ts +19 -5
  122. package/dist/components/arcgis-scene/customElement.js +21 -15
  123. package/dist/components/arcgis-search/customElement.d.ts +10 -0
  124. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +10 -0
  125. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
  126. package/dist/components/arcgis-shadow-cast/customElement.d.ts +10 -0
  127. package/dist/components/arcgis-sketch/customElement.d.ts +10 -0
  128. package/dist/components/arcgis-slice/customElement.d.ts +10 -0
  129. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -0
  130. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +10 -0
  131. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -0
  132. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -0
  133. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -0
  134. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +10 -0
  135. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -0
  136. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +10 -0
  137. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -0
  138. package/dist/components/arcgis-snapping-controls/customElement.d.ts +10 -0
  139. package/dist/components/arcgis-swipe/customElement.d.ts +10 -0
  140. package/dist/components/arcgis-table-list/customElement.d.ts +102 -15
  141. package/dist/components/arcgis-table-list-next/customElement.d.ts +310 -44
  142. package/dist/components/arcgis-table-list-next/customElement.js +2 -3
  143. package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
  144. package/dist/components/arcgis-template-image/customElement.js +0 -1
  145. package/dist/components/arcgis-time-bar/customElement.d.ts +10 -0
  146. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  147. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +10 -0
  148. package/dist/components/arcgis-time-slider/customElement.d.ts +10 -0
  149. package/dist/components/arcgis-track/customElement.d.ts +10 -0
  150. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +10 -0
  151. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +10 -0
  152. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -0
  153. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +56 -0
  154. package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
  155. package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
  156. package/dist/components/arcgis-utility-network-picker/index.js +7 -0
  157. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -0
  158. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +10 -0
  159. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +0 -1
  160. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +10 -0
  161. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +0 -1
  162. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +10 -0
  163. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +10 -0
  164. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +123 -140
  165. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +2 -1
  166. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -0
  167. package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +10 -0
  168. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +10 -0
  169. package/dist/components/arcgis-utility-network-trace-results/customElement.js +0 -2
  170. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -0
  171. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +0 -2
  172. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +0 -2
  173. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +10 -0
  174. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +10 -0
  175. package/dist/components/arcgis-version-management/customElement.d.ts +10 -0
  176. package/dist/components/arcgis-version-management-service-item/customElement.js +3 -4
  177. package/dist/components/arcgis-video/customElement.d.ts +15 -3
  178. package/dist/components/arcgis-video-player/customElement.d.ts +10 -0
  179. package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
  180. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  181. package/dist/components/arcgis-volume-measurement/customElement.d.ts +22 -1
  182. package/dist/components/arcgis-weather/customElement.d.ts +10 -0
  183. package/dist/components/arcgis-zoom/customElement.d.ts +10 -0
  184. package/dist/docs/api.json +1 -1
  185. package/dist/docs/docs.json +1 -1
  186. package/dist/docs/vscode.html-custom-data.json +1 -1
  187. package/dist/docs/web-types.json +1 -1
  188. package/dist/index.d.ts +10 -0
  189. package/dist/loader.js +5 -3
  190. package/dist/types/lumina.d.ts +10 -3
  191. package/dist/types/preact.d.ts +11 -3
  192. package/dist/types/react.d.ts +12 -3
  193. package/dist/types/stencil.d.ts +10 -3
  194. package/package.json +7 -7
  195. package/dist/cdn/3UUQJCZL.js +0 -2
  196. package/dist/cdn/42TPQKQZ.js +0 -2
  197. package/dist/cdn/4T6ECCFH.js +0 -2
  198. package/dist/cdn/4UBDCXSK.js +0 -2
  199. package/dist/cdn/6MEC4BFN.js +0 -2
  200. package/dist/cdn/AJ7XRBWN.js +0 -2
  201. package/dist/cdn/ARVN7QLQ.js +0 -2
  202. package/dist/cdn/BVDQQOCR.js +0 -2
  203. package/dist/cdn/DKBC3UMW.js +0 -2
  204. package/dist/cdn/DSIL7TYR.js +0 -2
  205. package/dist/cdn/FZHWZNBO.js +0 -2
  206. package/dist/cdn/G2PAKIMS.js +0 -2
  207. package/dist/cdn/JOOHHKWH.js +0 -2
  208. package/dist/cdn/KS5TQB2A.js +0 -2
  209. package/dist/cdn/NAQYIBE5.js +0 -2
  210. package/dist/cdn/NBYN44GP.js +0 -2
  211. package/dist/cdn/NGB5WVIG.js +0 -2
  212. package/dist/cdn/PBNP6WFU.js +0 -2
  213. package/dist/cdn/RDARV7HC.js +0 -2
  214. package/dist/cdn/RXAUCQQC.js +0 -2
  215. package/dist/cdn/S22ZRUS7.js +0 -2
  216. package/dist/cdn/SVOAX4K6.js +0 -2
  217. package/dist/cdn/TI4BX367.js +0 -2
  218. package/dist/cdn/TUTTPXC5.js +0 -2
  219. package/dist/cdn/W5WXJT7N.js +0 -2
  220. package/dist/cdn/YTC3XBSZ.js +0 -2
@@ -1,6 +1,41 @@
1
- /**
2
- * * Describes the current state of the list items in the [CatalogLayerListViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/CatalogLayerListViewModel/).
3
- *
4
- * @since 5.2
5
- */
6
- export type CatalogLayerListState = "disabled" | "loading" | "ready";
1
+ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
2
+ import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
3
+ import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
4
+ import type TileLayer from "@arcgis/core/layers/TileLayer.js";
5
+ import type CatalogItemCollection from "@arcgis/core/layers/list/CatalogItemCollection.js";
6
+ import type { useT9n } from "../../controllers/useT9n.js";
7
+ import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
8
+ import type { ArcgisCatalogLayerListNext } from "./customElement.js";
9
+
10
+ /** @internal */
11
+ export type CatalogLayerListMessageOverrides = ReturnType<typeof useT9n<{
12
+ componentLabel: string;
13
+ noItemsToDisplay: string;
14
+ layerInvisibleAtScale: string;
15
+ layerInvisibleAtTime: string;
16
+ layerError: string;
17
+ untitledLayer: string;
18
+ layerVisibility: string;
19
+ showLayer: string;
20
+ hideLayer: string;
21
+ layerIncompatible: string;
22
+ layerIncompatibleTooltip: string;
23
+ temporary: string;
24
+ tables: string;
25
+ catalogLayers: string;
26
+ }>>["_overrides"];
27
+
28
+ /** The properties used to configure the Catalog Layer List (next). */
29
+ export type CatalogLayerListOptions = Partial<Pick<ArcgisCatalogLayerListNext, "filterPlaceholder" | "hideStatusIndicators" | "minFilterItems" | "selectionMode" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "visibilityAppearance">>
30
+ & {
31
+ listItemCreatedFunction?: CatalogItemCollection["listItemCreatedFunction"];
32
+ };
33
+
34
+ /** @internal */
35
+ export type FlowLayer = CatalogLayer | SubtablesLayer;
36
+
37
+ /** @internal */
38
+ export type FlowList = ArcgisCatalogLayerListNext | ArcgisTableList;
39
+
40
+ /** @internal */
41
+ export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
@@ -20,6 +20,16 @@ export abstract class ArcgisCompass extends LitElement {
20
20
  * prevent memory leaks.
21
21
  *
22
22
  * @default false
23
+ * @example
24
+ *
25
+ * ```html
26
+ * <arcgis-compass auto-destroy-disabled></arcgis-compass>
27
+ * ```
28
+ *
29
+ * ```js
30
+ * compassElement.autoDestroyDisabled = true;
31
+ * ```
32
+ *
23
33
  */
24
34
  accessor autoDestroyDisabled: boolean;
25
35
  /**
@@ -54,6 +54,16 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
54
54
  * prevent memory leaks.
55
55
  *
56
56
  * @default false
57
+ * @example
58
+ *
59
+ * ```html
60
+ * <arcgis-coordinate-conversion auto-destroy-disabled></arcgis-coordinate-conversion>
61
+ * ```
62
+ *
63
+ * ```js
64
+ * coordinateConversionElement.autoDestroyDisabled = true;
65
+ * ```
66
+ *
57
67
  */
58
68
  accessor autoDestroyDisabled: boolean;
59
69
  /**
@@ -61,6 +61,16 @@ export abstract class ArcgisCoordinateConversionNext extends LitElement {
61
61
  * prevent memory leaks.
62
62
  *
63
63
  * @default false
64
+ * @example
65
+ *
66
+ * ```html
67
+ * <arcgis-coordinate-conversion-next auto-destroy-disabled></arcgis-coordinate-conversion-next>
68
+ * ```
69
+ *
70
+ * ```js
71
+ * coordinateConversionNextElement.autoDestroyDisabled = true;
72
+ * ```
73
+ *
64
74
  */
65
75
  accessor autoDestroyDisabled: boolean;
66
76
  /**
@@ -88,6 +88,16 @@ export abstract class ArcgisDaylight extends LitElement {
88
88
  * prevent memory leaks.
89
89
  *
90
90
  * @default false
91
+ * @example
92
+ *
93
+ * ```html
94
+ * <arcgis-daylight auto-destroy-disabled></arcgis-daylight>
95
+ * ```
96
+ *
97
+ * ```js
98
+ * daylightElement.autoDestroyDisabled = true;
99
+ * ```
100
+ *
91
101
  */
92
102
  accessor autoDestroyDisabled: boolean;
93
103
  /**
@@ -132,6 +132,16 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
132
132
  * prevent memory leaks.
133
133
  *
134
134
  * @default false
135
+ * @example
136
+ *
137
+ * ```html
138
+ * <arcgis-direct-line-measurement-3d auto-destroy-disabled></arcgis-direct-line-measurement-3d>
139
+ * ```
140
+ *
141
+ * ```js
142
+ * directLineMeasurement-3dElement.autoDestroyDisabled = true;
143
+ * ```
144
+ *
135
145
  */
136
146
  accessor autoDestroyDisabled: boolean;
137
147
  /**
@@ -28,6 +28,16 @@ export abstract class ArcgisDirectionalPad extends LitElement {
28
28
  * prevent memory leaks.
29
29
  *
30
30
  * @default false
31
+ * @example
32
+ *
33
+ * ```html
34
+ * <arcgis-directional-pad auto-destroy-disabled></arcgis-directional-pad>
35
+ * ```
36
+ *
37
+ * ```js
38
+ * directionalPadElement.autoDestroyDisabled = true;
39
+ * ```
40
+ *
31
41
  */
32
42
  accessor autoDestroyDisabled: boolean;
33
43
  /**
@@ -65,6 +65,16 @@ export abstract class ArcgisDirections extends LitElement {
65
65
  * prevent memory leaks.
66
66
  *
67
67
  * @default false
68
+ * @example
69
+ *
70
+ * ```html
71
+ * <arcgis-directions auto-destroy-disabled></arcgis-directions>
72
+ * ```
73
+ *
74
+ * ```js
75
+ * directionsElement.autoDestroyDisabled = true;
76
+ * ```
77
+ *
68
78
  */
69
79
  accessor autoDestroyDisabled: boolean;
70
80
  /**
@@ -95,6 +95,16 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
95
95
  * prevent memory leaks.
96
96
  *
97
97
  * @default false
98
+ * @example
99
+ *
100
+ * ```html
101
+ * <arcgis-distance-measurement-2d auto-destroy-disabled></arcgis-distance-measurement-2d>
102
+ * ```
103
+ *
104
+ * ```js
105
+ * distanceMeasurement-2dElement.autoDestroyDisabled = true;
106
+ * ```
107
+ *
98
108
  */
99
109
  accessor autoDestroyDisabled: boolean;
100
110
  /**
@@ -33,6 +33,16 @@ export abstract class ArcgisEditor extends LitElement {
33
33
  * prevent memory leaks.
34
34
  *
35
35
  * @default false
36
+ * @example
37
+ *
38
+ * ```html
39
+ * <arcgis-editor auto-destroy-disabled></arcgis-editor>
40
+ * ```
41
+ *
42
+ * ```js
43
+ * editorElement.autoDestroyDisabled = true;
44
+ * ```
45
+ *
36
46
  */
37
47
  accessor autoDestroyDisabled: boolean;
38
48
  /**
@@ -234,6 +234,16 @@ export abstract class ArcgisElevationProfile extends LitElement {
234
234
  * prevent memory leaks.
235
235
  *
236
236
  * @default false
237
+ * @example
238
+ *
239
+ * ```html
240
+ * <arcgis-elevation-profile auto-destroy-disabled></arcgis-elevation-profile>
241
+ * ```
242
+ *
243
+ * ```js
244
+ * elevationProfileElement.autoDestroyDisabled = true;
245
+ * ```
246
+ *
237
247
  */
238
248
  accessor autoDestroyDisabled: boolean;
239
249
  /**
@@ -39,6 +39,16 @@ export abstract class ArcgisExpand extends LitElement {
39
39
  * prevent memory leaks.
40
40
  *
41
41
  * @default false
42
+ * @example
43
+ *
44
+ * ```html
45
+ * <arcgis-expand auto-destroy-disabled></arcgis-expand>
46
+ * ```
47
+ *
48
+ * ```js
49
+ * expandElement.autoDestroyDisabled = true;
50
+ * ```
51
+ *
42
52
  */
43
53
  accessor autoDestroyDisabled: boolean;
44
54
  /**
@@ -36,6 +36,16 @@ export abstract class ArcgisFeature extends LitElement {
36
36
  * prevent memory leaks.
37
37
  *
38
38
  * @default false
39
+ * @example
40
+ *
41
+ * ```html
42
+ * <arcgis-feature auto-destroy-disabled></arcgis-feature>
43
+ * ```
44
+ *
45
+ * ```js
46
+ * featureElement.autoDestroyDisabled = true;
47
+ * ```
48
+ *
39
49
  */
40
50
  accessor autoDestroyDisabled: boolean;
41
51
  /**
@@ -19,6 +19,16 @@ export abstract class ArcgisFeatureForm extends LitElement {
19
19
  * prevent memory leaks.
20
20
  *
21
21
  * @default false
22
+ * @example
23
+ *
24
+ * ```html
25
+ * <arcgis-feature-form auto-destroy-disabled></arcgis-feature-form>
26
+ * ```
27
+ *
28
+ * ```js
29
+ * featureFormElement.autoDestroyDisabled = true;
30
+ * ```
31
+ *
22
32
  */
23
33
  accessor autoDestroyDisabled: boolean;
24
34
  /**
@@ -36,6 +36,16 @@ export abstract class ArcgisFeatureNext extends LitElement {
36
36
  * prevent memory leaks.
37
37
  *
38
38
  * @default false
39
+ * @example
40
+ *
41
+ * ```html
42
+ * <arcgis-feature-next auto-destroy-disabled></arcgis-feature-next>
43
+ * ```
44
+ *
45
+ * ```js
46
+ * featureNextElement.autoDestroyDisabled = true;
47
+ * ```
48
+ *
39
49
  */
40
50
  accessor autoDestroyDisabled: boolean;
41
51
  /**
@@ -92,9 +102,20 @@ export abstract class ArcgisFeatureNext extends LitElement {
92
102
  */
93
103
  get heading(): string;
94
104
  /**
95
- * Indicates the heading level to use for the headings in the component.
105
+ * Indicates the heading level to use for the heading of the component. By default, the heading is rendered as a `<h2>`. Depending on the component's placement in your app, you may need to adjust this heading for proper semantics. This is important for meeting accessibility standards.
96
106
  *
97
107
  * @default 2
108
+ * @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
109
+ * @example
110
+ *
111
+ * ```html
112
+ * <arcgis-feature-next heading-level="2"></arcgis-feature-next>
113
+ * ```
114
+ *
115
+ * ```js
116
+ * featureNextElement.headingLevel = 2;
117
+ * ```
118
+ *
98
119
  */
99
120
  accessor headingLevel: HeadingLevel;
100
121
  /**
@@ -131,6 +152,16 @@ export abstract class ArcgisFeatureNext extends LitElement {
131
152
  * Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/#heading).
132
153
  *
133
154
  * @default false
155
+ * @example
156
+ *
157
+ * ```html
158
+ * <arcgis-feature-next hide-heading></arcgis-feature-next>
159
+ * ```
160
+ *
161
+ * ```js
162
+ * featureNextElement.hideHeading = true;
163
+ * ```
164
+ *
134
165
  */
135
166
  accessor hideHeading: boolean;
136
167
  /**
@@ -9,7 +9,7 @@ import { m as C } from "../../chunks/useViewModel.js";
9
9
  import { LitElement as b, createEvent as F, nothing as _, safeClassMap as L } from "@arcgis/lumina";
10
10
  import { substitute as T } from "@arcgis/core/intl.js";
11
11
  import { renderingSanitizer as A } from "@arcgis/core/applications/Components/sanitizerUtils.js";
12
- import { c as R, g as D, d as V, e as k, b as d, i as E, f as B } from "../../chunks/feature-utils.js";
12
+ import { c as R, g as D, d as E, e as V, b as d, i as k, f as B } from "../../chunks/feature-utils.js";
13
13
  import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
@@ -32,7 +32,7 @@ class S extends b {
32
32
  return D(this.graphic);
33
33
  }
34
34
  get fieldInfoMap() {
35
- return V(k(this.popupTemplate), this.sourceLayer);
35
+ return E(V(this.popupTemplate), this.sourceLayer);
36
36
  }
37
37
  get values() {
38
38
  return this.graphic?.attributes ?? {};
@@ -121,7 +121,7 @@ class S extends b {
121
121
  return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
122
122
  }
123
123
  _renderFields(e, t) {
124
- const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: s, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (E(g) || B(g) || g in a)), f = n?.expressionInfos, m = d({
124
+ const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: s, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (k(g) || B(g) || g in a)), f = n?.expressionInfos, m = d({
125
125
  values: a,
126
126
  fieldInfoMap: s,
127
127
  globalValues: l,
@@ -252,7 +252,7 @@ class S extends b {
252
252
  }
253
253
  _renderContentContainer() {
254
254
  const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: a, state: s, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
255
- return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item @calciteFlowItemBack=${(f) => {
255
+ return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${(f) => {
256
256
  f.preventDefault(), this._handleDrillInBackClick();
257
257
  }} .loading=${s === "loading"} .headingLevel=${a} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
258
258
  }
@@ -141,6 +141,16 @@ export abstract class ArcgisFeatureTable extends LitElement {
141
141
  * prevent memory leaks.
142
142
  *
143
143
  * @default false
144
+ * @example
145
+ *
146
+ * ```html
147
+ * <arcgis-feature-table auto-destroy-disabled></arcgis-feature-table>
148
+ * ```
149
+ *
150
+ * ```js
151
+ * featureTableElement.autoDestroyDisabled = true;
152
+ * ```
153
+ *
144
154
  */
145
155
  accessor autoDestroyDisabled: boolean;
146
156
  /**
@@ -73,6 +73,16 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
73
73
  * prevent memory leaks.
74
74
  *
75
75
  * @default false
76
+ * @example
77
+ *
78
+ * ```html
79
+ * <arcgis-feature-templates auto-destroy-disabled></arcgis-feature-templates>
80
+ * ```
81
+ *
82
+ * ```js
83
+ * featureTemplatesElement.autoDestroyDisabled = true;
84
+ * ```
85
+ *
76
86
  */
77
87
  accessor autoDestroyDisabled: boolean;
78
88
  /**
@@ -31,6 +31,16 @@ export abstract class ArcgisFeatureTemplatesLegacy extends LitElement {
31
31
  * prevent memory leaks.
32
32
  *
33
33
  * @default false
34
+ * @example
35
+ *
36
+ * ```html
37
+ * <arcgis-feature-templates-legacy auto-destroy-disabled></arcgis-feature-templates-legacy>
38
+ * ```
39
+ *
40
+ * ```js
41
+ * featureTemplatesLegacyElement.autoDestroyDisabled = true;
42
+ * ```
43
+ *
34
44
  */
35
45
  accessor autoDestroyDisabled: boolean;
36
46
  /**
@@ -67,6 +67,16 @@ export abstract class ArcgisFeatures extends LitElement {
67
67
  * prevent memory leaks.
68
68
  *
69
69
  * @default false
70
+ * @example
71
+ *
72
+ * ```html
73
+ * <arcgis-features auto-destroy-disabled></arcgis-features>
74
+ * ```
75
+ *
76
+ * ```js
77
+ * featuresElement.autoDestroyDisabled = true;
78
+ * ```
79
+ *
70
80
  */
71
81
  accessor autoDestroyDisabled: boolean;
72
82
  /**
@@ -297,6 +307,16 @@ export abstract class ArcgisFeatures extends LitElement {
297
307
  * Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading).
298
308
  *
299
309
  * @default false
310
+ * @example
311
+ *
312
+ * ```html
313
+ * <arcgis-features hide-heading></arcgis-features>
314
+ * ```
315
+ *
316
+ * ```js
317
+ * featuresElement.hideHeading = true;
318
+ * ```
319
+ *
300
320
  */
301
321
  accessor hideHeading: boolean;
302
322
  /**
@@ -359,7 +359,7 @@ class te extends z {
359
359
  }
360
360
  _renderPagination() {
361
361
  const { previous: e, next: t } = this.messages;
362
- return a`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
362
+ return a`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
363
363
  }
364
364
  _renderFeatureMenuItem(e) {
365
365
  const { initialDisplayMode: t } = this, { selectedFeatureViewModel: s, featureViewModels: i } = this.viewModel, o = e === s, n = i.indexOf(e);
@@ -408,7 +408,7 @@ class te extends z {
408
408
  const { messages: s, hideCloseButton: i, hideSelectFeature: o, active: n, hideHeading: l } = this, c = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, f = c && !o, v = e.flowType === "feature-association", g = s.returnToInitialFeature ?? "", p = s?.selectFeature, w = this._getActionTitle(M), d = !this.hideActionBar && v && c;
409
409
  return a`<calcite-flow-item .closable=${!i} .closed=${!n} .description=${k(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${l ? void 0 : k(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(F) => {
410
410
  F.preventDefault(), this._handleDrillInBackClick();
411
- }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<div slot=heading><div .innerHTML=${_.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${_.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${g ?? ""} title=${g ?? "" ?? h}></calcite-action>${f ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? h}></calcite-action>` : null}${d ? a`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon ?? void 0} .loading=${M.active} scale=s text-enabled .text=${w} title=${w ?? h} @click=${() => K(this.viewModel, M, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
411
+ }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<div slot=heading><div .innerHTML=${_.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${_.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${g ?? ""} title=${g ?? "" ?? h}></calcite-action>${f ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? h}></calcite-action>` : null}${d ? a`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon ?? void 0} .loading=${M.active} scale=s text-enabled .text=${w} title=${w ?? h} @click=${() => K(this.viewModel, M, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
412
412
  }
413
413
  _renderContentContainer() {
414
414
  const e = this.flowItems?.toArray(), t = e?.map((i, o) => this._renderFlowItem(i, this._featureFlowItemSelected && o === e.length - 1)), s = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
@@ -416,7 +416,7 @@ class te extends z {
416
416
  }
417
417
  _renderActionBar() {
418
418
  const t = this.viewModel.selectedFeatureViewModel?.isFeatureFromTable && !this.location ? this.viewModel.allActions.filter((s) => s.id !== M.id) : this.viewModel.allActions;
419
- return !this._isCollapsed && !this.hideActionBar && t.length ? a`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
419
+ return !this._isCollapsed && !this.hideActionBar && t.length ? a`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
420
420
  }
421
421
  _renderActions() {
422
422
  return this.viewModel.allActions.toArray().map((e) => {
@@ -67,6 +67,16 @@ export abstract class ArcgisFeaturesNext extends LitElement {
67
67
  * prevent memory leaks.
68
68
  *
69
69
  * @default false
70
+ * @example
71
+ *
72
+ * ```html
73
+ * <arcgis-features-next auto-destroy-disabled></arcgis-features-next>
74
+ * ```
75
+ *
76
+ * ```js
77
+ * featuresNextElement.autoDestroyDisabled = true;
78
+ * ```
79
+ *
70
80
  */
71
81
  accessor autoDestroyDisabled: boolean;
72
82
  /**
@@ -211,9 +221,20 @@ export abstract class ArcgisFeaturesNext extends LitElement {
211
221
  */
212
222
  accessor heading: string | null | undefined;
213
223
  /**
214
- * Indicates the heading level to use for the headings in the component.
224
+ * Indicates the heading level to use for the heading of the component. By default, the heading is rendered as a `<h2>`. Depending on the component's placement in your app, you may need to adjust this heading for proper semantics. This is important for meeting accessibility standards.
215
225
  *
216
226
  * @default 2
227
+ * @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
228
+ * @example
229
+ *
230
+ * ```html
231
+ * <arcgis-features-next heading-level="2"></arcgis-features-next>
232
+ * ```
233
+ *
234
+ * ```js
235
+ * featuresNextElement.headingLevel = 2;
236
+ * ```
237
+ *
217
238
  */
218
239
  accessor headingLevel: HeadingLevel;
219
240
  /**
@@ -280,6 +301,16 @@ export abstract class ArcgisFeaturesNext extends LitElement {
280
301
  * Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading).
281
302
  *
282
303
  * @default false
304
+ * @example
305
+ *
306
+ * ```html
307
+ * <arcgis-features-next hide-heading></arcgis-features-next>
308
+ * ```
309
+ *
310
+ * ```js
311
+ * featuresNextElement.hideHeading = true;
312
+ * ```
313
+ *
283
314
  */
284
315
  accessor hideHeading: boolean;
285
316
  /**