@arcgis/map-components 5.2.0-next.87 → 5.2.0-next.89

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 (209) hide show
  1. package/dist/cdn/{IOZ5U2X7.js → 2GQ6KVNI.js} +1 -1
  2. package/dist/cdn/2JLMOWRT.js +2 -0
  3. package/dist/cdn/3CFRD2EN.js +2 -0
  4. package/dist/cdn/{ZLRMCH6O.js → 3CHIGFZL.js} +1 -1
  5. package/dist/cdn/4FVOBVTD.js +4 -0
  6. package/dist/cdn/{EFUTKX2O.js → 4TMQMYFX.js} +1 -1
  7. package/dist/cdn/{K5VWAQQ4.js → 5X3EBFJW.js} +2 -2
  8. package/dist/cdn/{6MYKPCPT.js → 66PT52ED.js} +1 -1
  9. package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
  10. package/dist/cdn/{SEEABOHD.js → 7EOPPY5X.js} +1 -1
  11. package/dist/cdn/{CF47R6K5.js → B5FTF7WR.js} +1 -1
  12. package/dist/cdn/EAYOGF4C.js +2 -0
  13. package/dist/cdn/ECXHREHJ.js +2 -0
  14. package/dist/cdn/{HPFRMRVM.js → EU3QJKJW.js} +1 -1
  15. package/dist/cdn/EVJT3HJ5.js +2 -0
  16. package/dist/cdn/HJPTFBQB.js +2 -0
  17. package/dist/cdn/HPLMTKLF.js +2 -0
  18. package/dist/cdn/{3IY3D62Z.js → JXBEE5GW.js} +1 -1
  19. package/dist/cdn/JZC42PXS.js +2 -0
  20. package/dist/cdn/MBFY4GDJ.js +2 -0
  21. package/dist/cdn/N5VJ4SAX.js +2 -0
  22. package/dist/cdn/NB5DQKQY.js +2 -0
  23. package/dist/cdn/RKXHWHFR.js +2 -0
  24. package/dist/cdn/{XBAD6Q2O.js → SK4OCYH7.js} +1 -1
  25. package/dist/cdn/{D2GIYGUD.js → SVJ7AEMP.js} +1 -1
  26. package/dist/cdn/{KN4PG54T.js → TLVYAP5O.js} +1 -1
  27. package/dist/cdn/TRFWUKXA.js +2 -0
  28. package/dist/cdn/{MOKFWLNF.js → VT2IDAHB.js} +1 -1
  29. package/dist/cdn/{K3N6NHJW.js → XHXRRAGH.js} +1 -1
  30. package/dist/cdn/{XMEBM4Y2.js → Y56FOEA4.js} +1 -1
  31. package/dist/cdn/index.js +1 -1
  32. package/dist/chunks/esri-main.js +1 -1
  33. package/dist/chunks/slots.js +1 -1
  34. package/dist/chunks/useArcgisViewReadyError.js +8 -4
  35. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +9 -0
  36. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +9 -0
  37. package/dist/components/arcgis-attachments/customElement.d.ts +9 -0
  38. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +9 -0
  39. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +21 -0
  40. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +584 -51
  41. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +2 -2
  42. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
  43. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +9 -0
  44. package/dist/components/arcgis-bookmarks/customElement.d.ts +18 -0
  45. package/dist/components/arcgis-building-explorer/customElement.d.ts +9 -0
  46. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +21 -0
  47. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +420 -59
  48. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +2 -2
  49. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -6
  50. package/dist/components/arcgis-compass/customElement.d.ts +9 -0
  51. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +9 -0
  52. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +9 -0
  53. package/dist/components/arcgis-daylight/customElement.d.ts +9 -0
  54. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +9 -0
  55. package/dist/components/arcgis-directional-pad/customElement.d.ts +9 -0
  56. package/dist/components/arcgis-directions/customElement.d.ts +9 -0
  57. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +9 -0
  58. package/dist/components/arcgis-editor/customElement.d.ts +9 -0
  59. package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -0
  60. package/dist/components/arcgis-expand/customElement.d.ts +9 -0
  61. package/dist/components/arcgis-feature/customElement.d.ts +9 -0
  62. package/dist/components/arcgis-feature-form/customElement.d.ts +9 -0
  63. package/dist/components/arcgis-feature-next/customElement.d.ts +29 -1
  64. package/dist/components/arcgis-feature-table/customElement.d.ts +9 -0
  65. package/dist/components/arcgis-feature-templates/customElement.d.ts +9 -0
  66. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +9 -0
  67. package/dist/components/arcgis-features/customElement.d.ts +18 -0
  68. package/dist/components/arcgis-features-next/customElement.d.ts +29 -1
  69. package/dist/components/arcgis-features-next/customElement.js +1 -1
  70. package/dist/components/arcgis-floor-filter/customElement.d.ts +9 -0
  71. package/dist/components/arcgis-grid-controls/customElement.d.ts +9 -0
  72. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -0
  73. package/dist/components/arcgis-home/customElement.d.ts +9 -0
  74. package/dist/components/arcgis-layer-list/customElement.d.ts +18 -0
  75. package/dist/components/arcgis-layer-list-next/customElement.d.ts +256 -120
  76. package/dist/components/arcgis-layer-list-next/customElement.js +2 -3
  77. package/dist/components/arcgis-layer-list-next/types.d.ts +44 -6
  78. package/dist/components/arcgis-legend/customElement.d.ts +9 -0
  79. package/dist/components/arcgis-line-of-sight/customElement.d.ts +9 -0
  80. package/dist/components/arcgis-link-chart/customElement.d.ts +9 -0
  81. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +9 -0
  82. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -0
  83. package/dist/components/arcgis-locate/customElement.d.ts +9 -0
  84. package/dist/components/arcgis-map/customElement.d.ts +9 -0
  85. package/dist/components/arcgis-measurement/customElement.d.ts +9 -0
  86. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +23 -1
  87. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +9 -0
  88. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -0
  89. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +9 -0
  90. package/dist/components/arcgis-paste/customElement.d.ts +9 -0
  91. package/dist/components/arcgis-popup/customElement.d.ts +18 -0
  92. package/dist/components/arcgis-popup/customElement.js +1 -1
  93. package/dist/components/arcgis-presentation/customElement.d.ts +9 -0
  94. package/dist/components/arcgis-presentation/customElement.js +70 -71
  95. package/dist/components/arcgis-print/customElement.d.ts +9 -0
  96. package/dist/components/arcgis-scale-bar/customElement.d.ts +9 -0
  97. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -0
  98. package/dist/components/arcgis-scene/customElement.d.ts +9 -0
  99. package/dist/components/arcgis-search/customElement.d.ts +9 -0
  100. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +9 -0
  101. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -1
  102. package/dist/components/arcgis-shadow-cast/customElement.d.ts +9 -0
  103. package/dist/components/arcgis-sketch/customElement.d.ts +9 -0
  104. package/dist/components/arcgis-slice/customElement.d.ts +9 -0
  105. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +9 -0
  106. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -0
  107. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +9 -0
  108. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +9 -0
  109. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +9 -0
  110. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +9 -0
  111. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -0
  112. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +9 -0
  113. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +9 -0
  114. package/dist/components/arcgis-snapping-controls/customElement.d.ts +9 -0
  115. package/dist/components/arcgis-swipe/customElement.d.ts +9 -0
  116. package/dist/components/arcgis-table-list/customElement.d.ts +93 -15
  117. package/dist/components/arcgis-table-list-next/customElement.d.ts +286 -44
  118. package/dist/components/arcgis-table-list-next/customElement.js +2 -3
  119. package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
  120. package/dist/components/arcgis-time-bar/customElement.d.ts +9 -0
  121. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +9 -0
  122. package/dist/components/arcgis-time-slider/customElement.d.ts +9 -0
  123. package/dist/components/arcgis-track/customElement.d.ts +9 -0
  124. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +9 -0
  125. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +9 -0
  126. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +9 -0
  127. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +9 -0
  128. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +9 -0
  129. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +9 -0
  130. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +9 -0
  131. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +9 -0
  132. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +9 -0
  133. package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +9 -0
  134. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +9 -0
  135. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +9 -0
  136. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +9 -0
  137. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +9 -0
  138. package/dist/components/arcgis-version-management/customElement.d.ts +9 -0
  139. package/dist/components/arcgis-video/customElement.d.ts +9 -0
  140. package/dist/components/arcgis-video-player/customElement.d.ts +9 -0
  141. package/dist/components/arcgis-volume-measurement/customElement.d.ts +20 -1
  142. package/dist/components/arcgis-weather/customElement.d.ts +9 -0
  143. package/dist/components/arcgis-zoom/customElement.d.ts +9 -0
  144. package/dist/docs/api.json +1 -1
  145. package/dist/docs/docs.json +1 -1
  146. package/dist/docs/vscode.html-custom-data.json +1 -1
  147. package/dist/docs/web-types.json +1 -1
  148. package/dist/loader.js +1 -1
  149. package/dist/types/lumina.d.ts +1 -1
  150. package/dist/types/preact.d.ts +1 -1
  151. package/dist/types/react.d.ts +1 -1
  152. package/dist/types/stencil.d.ts +1 -1
  153. package/package.json +6 -6
  154. package/dist/cdn/3UUQJCZL.js +0 -2
  155. package/dist/cdn/4FJSNV35.js +0 -2
  156. package/dist/cdn/4NJUFFOS.js +0 -2
  157. package/dist/cdn/BKYSXBQN.js +0 -2
  158. package/dist/cdn/BXP5RGPD.js +0 -2
  159. package/dist/cdn/ES3KG6A4.js +0 -2
  160. package/dist/cdn/FZHWZNBO.js +0 -2
  161. package/dist/cdn/HRNKPJ3W.js +0 -2
  162. package/dist/cdn/JDVOGTZB.js +0 -4
  163. package/dist/cdn/MZBCC5YA.js +0 -2
  164. package/dist/cdn/SE5IUOLA.js +0 -2
  165. package/dist/cdn/TCMRGJTC.js +0 -2
  166. package/dist/cdn/TSZ26CSX.js +0 -2
  167. package/dist/cdn/TUTTPXC5.js +0 -2
  168. /package/dist/cdn/{ZMB2HOR5.js → 2EDZ2LNR.js} +0 -0
  169. /package/dist/cdn/{2N2A7TFY.js → 4AEFZEGM.js} +0 -0
  170. /package/dist/cdn/{WN6WNWDL.js → 4GIRSQMC.js} +0 -0
  171. /package/dist/cdn/{BY2C56P2.js → 4KYPBCNM.js} +0 -0
  172. /package/dist/cdn/{MADQIAMY.js → 4WURS3DM.js} +0 -0
  173. /package/dist/cdn/{NOUSKMUF.js → 5CB7FWG6.js} +0 -0
  174. /package/dist/cdn/{CHK6UXUR.js → 5EU3QVP7.js} +0 -0
  175. /package/dist/cdn/{UW66366K.js → 6URW6H47.js} +0 -0
  176. /package/dist/cdn/{RFYBJAVR.js → 7427KHVF.js} +0 -0
  177. /package/dist/cdn/{QYQFMAF2.js → 77ZD2RFI.js} +0 -0
  178. /package/dist/cdn/{E5CYXNOV.js → AZWQWNTK.js} +0 -0
  179. /package/dist/cdn/{XP34TRZ2.js → B4RNNO6A.js} +0 -0
  180. /package/dist/cdn/{2X2WQONZ.js → BIKEUMV7.js} +0 -0
  181. /package/dist/cdn/{3B6FCCWV.js → BU5HRIOW.js} +0 -0
  182. /package/dist/cdn/{KDMDKSN3.js → BV52G5DA.js} +0 -0
  183. /package/dist/cdn/{LBJGPS6R.js → ESYSNSNH.js} +0 -0
  184. /package/dist/cdn/{HPSLJE7K.js → FV7FUSTO.js} +0 -0
  185. /package/dist/cdn/{YK4IJ6A4.js → G42D353L.js} +0 -0
  186. /package/dist/cdn/{BEWGYHLQ.js → GLKTAVV5.js} +0 -0
  187. /package/dist/cdn/{KHMFIFKB.js → HW5YYDPC.js} +0 -0
  188. /package/dist/cdn/{ANPCJFOB.js → IHWFNEBS.js} +0 -0
  189. /package/dist/cdn/{HAOZ5VKZ.js → J4VKIBXE.js} +0 -0
  190. /package/dist/cdn/{ZTBD4LIR.js → KG3HVAZY.js} +0 -0
  191. /package/dist/cdn/{YQ5H6M4V.js → KMNELKA3.js} +0 -0
  192. /package/dist/cdn/{A6O4WH3F.js → KYWZUC6M.js} +0 -0
  193. /package/dist/cdn/{IYIK5LIF.js → LGNLLGA6.js} +0 -0
  194. /package/dist/cdn/{BIQ72MMB.js → MGILHYX4.js} +0 -0
  195. /package/dist/cdn/{FSVQ3YCE.js → NDWLSQ4W.js} +0 -0
  196. /package/dist/cdn/{5VAWPVBO.js → NGQUETWM.js} +0 -0
  197. /package/dist/cdn/{2KS6VTIZ.js → O3SPKYBG.js} +0 -0
  198. /package/dist/cdn/{7T3MIY45.js → OJOQP2IU.js} +0 -0
  199. /package/dist/cdn/{MXDXZZ7M.js → QU5PA5MZ.js} +0 -0
  200. /package/dist/cdn/{WEG4POUJ.js → QZHFPTSI.js} +0 -0
  201. /package/dist/cdn/{OLOMB2NS.js → SNX6WY7J.js} +0 -0
  202. /package/dist/cdn/{4KTFBEBW.js → W2UZH6QI.js} +0 -0
  203. /package/dist/cdn/{AURQ6AZT.js → W2YB27M6.js} +0 -0
  204. /package/dist/cdn/{MCMHWVNK.js → WKBILCAY.js} +0 -0
  205. /package/dist/cdn/{2IOX3M25.js → WRKX7F2G.js} +0 -0
  206. /package/dist/cdn/{4Y5WOZAR.js → XYRTRBXU.js} +0 -0
  207. /package/dist/cdn/{AS6CVCAA.js → YFM2SKWI.js} +0 -0
  208. /package/dist/cdn/{JY7ELDXN.js → ZOGRVFHK.js} +0 -0
  209. /package/dist/cdn/{TBYOTOK3.js → ZXEH6MEU.js} +0 -0
@@ -1,6 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Collection from "@arcgis/core/core/Collection.js";
3
- import type Layer from "@arcgis/core/layers/Layer.js";
4
3
  import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
5
4
  import type MapView from "@arcgis/core/views/MapView.js";
6
5
  import type SceneView from "@arcgis/core/views/SceneView.js";
@@ -8,20 +7,22 @@ import type TableItemCollection from "@arcgis/core/layers/list/TableItemCollecti
8
7
  import type TableItem from "@arcgis/core/layers/list/TableItem.js";
9
8
  import type WebMap from "@arcgis/core/WebMap.js";
10
9
  import type WebScene from "@arcgis/core/WebScene.js";
10
+ import type Layer from "@arcgis/core/layers/Layer.js";
11
11
  import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
12
12
  import type { TableItemCollectionEvents, TableItemModifier } from "@arcgis/core/layers/list/TableItemCollection.js";
13
13
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
14
14
  import type { ArcgisReferenceElement, HeadingLevel, IconName } from "../types.js";
15
+ import type { CanSortFunction, FilterPredicate } from "./types.js";
15
16
  import type { T9nMeta } from "@arcgis/lumina/controllers";
16
17
  import type { List as List } from "@esri/calcite-components/components/calcite-list";
17
18
  import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
18
19
 
19
- export type TableListOptions = Partial<Pick<ArcgisTableListNext, "collapsed" | "dragEnabled" | "filterPlaceholder" | "filterText" | "headingLevel" | "hideStatusIndicators" | "icon" | "label" | "minFilterItems" | "selectionMode" | "showErrors" | "showFilter" | "showTemporaryTableIndicators">>
20
- & {
21
- listItemCreatedFunction?: TableItemCollection["listItemCreatedFunction"];
22
- };
23
-
24
20
  /**
21
+ * > [!WARNING]
22
+ * > The Table List (next) component is the successor to the Table List component, provided to you early for testing and feedback.
23
+ * In version 6.0, the implementation of [arcgis-table-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/) will be updated under the hood to that of [arcgis-table-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/),
24
+ * and this component will be removed. To update at version 6.0, simply remove `-next` from the component name.
25
+ *
25
26
  * The Table List (next) component provides a way to display a list of tables associated with a map or table collection.
26
27
  * It is the direct component migration of the TableList widget and is provided early for testing and feedback.
27
28
  *
@@ -37,64 +38,162 @@ export abstract class ArcgisTableListNext extends LitElement {
37
38
  * prevent memory leaks.
38
39
  *
39
40
  * @default false
41
+ * @example
42
+ * ```html
43
+ * <arcgis-table-list-next auto-destroy-disabled></arcgis-table-list-next>
44
+ * ```
45
+ *
46
+ * ```js
47
+ * tableListNextElement.autoDestroyDisabled = true;
48
+ * ```
49
+ *
40
50
  */
41
51
  accessor autoDestroyDisabled: boolean;
42
52
  /**
43
53
  * Indicates whether a component is closed. When `true`, the component will be hidden.
44
54
  *
45
55
  * @default false
56
+ * @example
57
+ * ```html
58
+ * <arcgis-table-list-next closed></arcgis-table-list-next>
59
+ * ```
60
+ *
61
+ * ```js
62
+ * tableListNextElement.closed = true;
63
+ * ```
64
+ *
46
65
  */
47
66
  accessor closed: boolean;
48
67
  /**
49
- * Indicates whether the component is collapsed.
68
+ * Indicates whether the component is collapsed. When collapsed, only the collapse button and heading are displayed.
50
69
  *
51
70
  * @default false
71
+ * @example
72
+ * ```html
73
+ * <arcgis-table-list-next collapsed></arcgis-table-list-next>
74
+ * ```
75
+ *
76
+ * ```js
77
+ * tableListNextElement.collapsed = true;
78
+ * ```
79
+ *
52
80
  */
53
81
  accessor collapsed: boolean;
54
82
  /**
55
- * Indicates whether list items may be reordered by dragging and dropping.
83
+ * Indicates whether [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) may be reordered within the list by dragging and dropping. MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer. Drag and drop won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#minDragEnabledItems).
56
84
  *
57
85
  * @default false
86
+ * @example
87
+ * ```html
88
+ * <arcgis-table-list-next drag-enabled></arcgis-table-list-next>
89
+ * ```
90
+ *
91
+ * ```js
92
+ * tableListNextElement.dragEnabled = true;
93
+ * ```
94
+ *
58
95
  */
59
96
  accessor dragEnabled: boolean;
60
97
  /**
61
- * Placeholder text used in the filter input if showFilter is true.
98
+ * Placeholder text used in the filter input when filtering is enabled.
62
99
  *
63
100
  * @default ""
101
+ * @example
102
+ * ```html
103
+ * <arcgis-table-list-next filter-placeholder="Search..."></arcgis-table-list-next>
104
+ * ```
105
+ *
106
+ * ```js
107
+ * tableListNextElement.filterPlaceholder = "Search...";
108
+ * ```
109
+ *
64
110
  */
65
111
  accessor filterPlaceholder: string;
66
- /** Specifies a function to handle filtering list items. */
112
+ /**
113
+ * Specifies a function to determine whether a list item should be included in filter results.
114
+ *
115
+ * @example
116
+ *
117
+ * ```js
118
+ * tableListNextElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
119
+ * ```
120
+ *
121
+ */
67
122
  accessor filterPredicate: FilterPredicate | undefined;
68
123
  /**
69
- * The value of the filter input text string if showFilter is true.
124
+ * The value of the filter input text string when filtering is enabled.
70
125
  *
71
126
  * @default ""
127
+ * @example
128
+ *
129
+ * ```js
130
+ * reactiveUtils.watch(
131
+ * () => tableListNextElement.filterText,
132
+ * (filterText) => console.log(filterText)
133
+ * );
134
+ * ```
135
+ *
72
136
  */
73
137
  accessor filterText: string;
74
138
  /**
75
- * Indicates the heading level to use for the heading of the component.
139
+ * 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.
76
140
  *
77
141
  * @default 2
142
+ * @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
143
+ * @example
144
+ * ```html
145
+ * <arcgis-table-list-next heading-level="2"></arcgis-table-list-next>
146
+ * ```
147
+ *
148
+ * ```js
149
+ * tableListNextElement.headingLevel = 2;
150
+ * ```
151
+ *
78
152
  */
79
153
  accessor headingLevel: HeadingLevel;
80
154
  /**
81
- * This property provides the ability to show or hide the no items to display notice when there are no filter results.
155
+ * Indicates whether to hide the notice that appears when no results are found after filtering.
82
156
  *
83
157
  * @default false
84
- * @since 5.2
158
+ * @example
159
+ * ```html
160
+ * <arcgis-table-list-next hide-no-filter-results-notice></arcgis-table-list-next>
161
+ * ```
162
+ *
163
+ * ```js
164
+ * tableListNextElement.hideNoFilterResultsNotice = true;
165
+ * ```
166
+ *
85
167
  */
86
168
  accessor hideNoFilterResultsNotice: boolean;
87
169
  /**
88
- * This property provides the ability to show or hide the no items to display notice.
170
+ * Indicates whether to hide the notice that appears when there are no items to display.
89
171
  *
90
172
  * @default false
91
- * @since 5.2
173
+ * @example
174
+ * ```html
175
+ * <arcgis-table-list-next hide-no-items-notice></arcgis-table-list-next>
176
+ * ```
177
+ *
178
+ * ```js
179
+ * tableListNextElement.hideNoItemsNotice = true;
180
+ * ```
181
+ *
92
182
  */
93
183
  accessor hideNoItemsNotice: boolean;
94
184
  /**
95
- * Indicates whether the status indicators will be hidden.
185
+ * Indicates whether to hide status indicators in the component.
96
186
  *
97
187
  * @default false
188
+ * @example
189
+ * ```html
190
+ * <arcgis-table-list-next hide-status-indicators></arcgis-table-list-next>
191
+ * ```
192
+ *
193
+ * ```js
194
+ * tableListNextElement.hideStatusIndicators = true;
195
+ * ```
196
+ *
98
197
  */
99
198
  accessor hideStatusIndicators: boolean;
100
199
  /**
@@ -111,7 +210,36 @@ export abstract class ArcgisTableListNext extends LitElement {
111
210
  accessor listItemCanGiveFunction: CanSortFunction | undefined;
112
211
  /** @internal */
113
212
  accessor listItemCanReceiveFunction: CanSortFunction | undefined;
114
- /** Specifies a function that accesses each list item as it is created. */
213
+ /**
214
+ * A function that executes each time a list item is created. Use this function to configure the list item, including its title, actions, and panels.
215
+ *
216
+ * @example
217
+ *
218
+ * ```js
219
+ * tableListNextElement.listItemCreatedFunction = async (event) => {
220
+ * // Destructure the item from the event object
221
+ * const {item} = event;
222
+ *
223
+ * // Wait for the layer to load and the item title to become available
224
+ * await item.layer.when();
225
+ *
226
+ * // If the item's title matches "US Demographics", customize the list item
227
+ * if (item.title === "US Demographics") {
228
+ * // open the list item in the LayerList component
229
+ * item.open = true;
230
+ * // change the title to something more descriptive
231
+ * item.title = "Population by county";
232
+ * // set an action for zooming to the full extent of the layer
233
+ * item.actionsSections = [[{
234
+ * title: "Go to full extent",
235
+ * icon: "zoom-out-fixed",
236
+ * id: "full-extent"
237
+ * }]];
238
+ * }
239
+ * };
240
+ * ```
241
+ *
242
+ */
115
243
  accessor listItemCreatedFunction: TableItemModifier | null | undefined;
116
244
  /**
117
245
  * Specifies whether to ignore the [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property to display all layers. A common use case for `listModeDisabled` is when you want to use the component to manage and configure a layer's `listMode` value.
@@ -119,11 +247,24 @@ export abstract class ArcgisTableListNext extends LitElement {
119
247
  * @default false
120
248
  * @see [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
121
249
  * @since 5.2
250
+ * @example
251
+ * ```html
252
+ * <arcgis-table-list-next list-mode-disabled></arcgis-table-list-next>
253
+ * ```
254
+ *
255
+ * ```js
256
+ * tableListNextElement.listModeDisabled = true;
257
+ * ```
258
+ *
122
259
  */
123
260
  accessor listModeDisabled: boolean;
124
261
  /** A reference to a map containing the tables. */
125
262
  accessor map: WebMap | WebScene | null | undefined;
126
- /** Overwrite localized strings for this component. */
263
+ /**
264
+ * Replace localized message strings with your own strings.
265
+ *
266
+ * _**Note**: Individual message keys may change between releases._
267
+ */
127
268
  accessor messageOverrides: {
128
269
  componentLabel?: string | undefined;
129
270
  back?: string | undefined;
@@ -161,12 +302,30 @@ export abstract class ArcgisTableListNext extends LitElement {
161
302
  * The minimum number of list items required to enable drag and drop reordering.
162
303
  *
163
304
  * @default 2
305
+ * @example
306
+ * ```html
307
+ * <arcgis-table-list-next min-drag-enabled-items="5"></arcgis-table-list-next>
308
+ * ```
309
+ *
310
+ * ```js
311
+ * tableListNextElement.minDragEnabledItems = 5;
312
+ * ```
313
+ *
164
314
  */
165
315
  accessor minDragEnabledItems: number;
166
316
  /**
167
317
  * The minimum number of list items required to display the filter input box.
168
318
  *
169
319
  * @default 10
320
+ * @example
321
+ * ```html
322
+ * <arcgis-table-list-next min-filter-items="3"></arcgis-table-list-next>
323
+ * ```
324
+ *
325
+ * ```js
326
+ * tableListNextElement.minFilterItems = 3;
327
+ * ```
328
+ *
170
329
  */
171
330
  accessor minFilterItems: number;
172
331
  /**
@@ -175,55 +334,150 @@ export abstract class ArcgisTableListNext extends LitElement {
175
334
  * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
176
335
  */
177
336
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
178
- /** A collection of selected table list items. */
337
+ /**
338
+ * A collection of selected [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) in the list. This collection is updated when the user changes selection and is only populated when [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#selectionMode) is not set to `"none"`.
339
+ *
340
+ * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#selectionMode)
341
+ * @example
342
+ * ```js
343
+ * reactiveUtils.watch(
344
+ * () => tableListNext.selectedItems?.at(0)?.layer,
345
+ * (layer) => {
346
+ * layer && handleLayerSelection(layer);
347
+ * },
348
+ * );
349
+ * ```
350
+ */
179
351
  accessor selectedItems: Collection<TableItem>;
180
352
  /**
181
- * Specifies the selection mode.
353
+ * Specifies the selection mode. Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#selectedItems) property.
354
+ *
355
+ * | Value | Description |
356
+ * | ----- | ----------- |
357
+ * | multiple | Allows any number of items to be selected at once. This is useful when you want to apply an operation to multiple items at the same time. |
358
+ * | none | Disables selection. Use this when you want to prevent selecting items. |
359
+ * | single | Allows only one item to be selected at a time. If another item is selected, the previous selection is cleared. This is useful when you want to ensure that a maximum of one item is selected at a time. |
360
+ * | single-persist | Allows only one item to be selected at a time and prevents de-selection. Once an item is selected, it remains selected until another item is selected. This is useful when you want to ensure that there is always exactly one selected item. |
182
361
  *
183
362
  * @default "none"
363
+ * @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#selectedItems)
364
+ * @example
365
+ * ```html
366
+ * <arcgis-table-list-next selection-mode="multiple"></arcgis-table-list-next>
367
+ * ```
368
+ *
369
+ * ```js
370
+ * tableListNextElement.selectionMode = "multiple";
371
+ * ```
372
+ *
184
373
  */
185
374
  accessor selectionMode: List["selectionMode"];
186
375
  /**
187
- * Indicates whether to display a close button in the header.
376
+ * This property provides the ability to show or hide the close button.
188
377
  *
189
378
  * @default false
379
+ * @example
380
+ * ```html
381
+ * <arcgis-table-list-next show-close-button></arcgis-table-list-next>
382
+ * ```
383
+ *
384
+ * ```js
385
+ * tableListNextElement.showCloseButton = true;
386
+ * ```
387
+ *
190
388
  */
191
389
  accessor showCloseButton: boolean;
192
390
  /**
193
- * Indicates whether to display a collapse button in the header.
391
+ * This property provides the ability to show or hide the collapse button.
194
392
  *
195
393
  * @default false
394
+ * @example
395
+ * ```html
396
+ * <arcgis-table-list-next show-collapse-button></arcgis-table-list-next>
397
+ * ```
398
+ *
399
+ * ```js
400
+ * tableListNextElement.showCollapseButton = true;
401
+ * ```
402
+ *
196
403
  */
197
404
  accessor showCollapseButton: boolean;
198
405
  /**
199
- * Indicates whether to display tables with load errors.
406
+ * This property provides the ability to show or hide layer error indicators.
200
407
  *
201
408
  * @default false
409
+ * @example
410
+ * ```html
411
+ * <arcgis-table-list-next show-errors></arcgis-table-list-next>
412
+ * ```
413
+ *
414
+ * ```js
415
+ * tableListNextElement.showErrors = true;
416
+ * ```
417
+ *
202
418
  */
203
419
  accessor showErrors: boolean;
204
420
  /**
205
- * Indicates whether to display a filter input box.
421
+ * This property provides the ability to show or hide the filter input box when then number of list items is equal to or greater than the value set in [minFilterItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#minFilterItems), allowing users to filter layers by their title.
206
422
  *
207
423
  * @default false
424
+ * @example
425
+ * ```html
426
+ * <arcgis-table-list-next show-filter></arcgis-table-list-next>
427
+ * ```
428
+ *
429
+ * ```js
430
+ * tableListNextElement.showFilter = true;
431
+ * ```
432
+ *
208
433
  */
209
434
  accessor showFilter: boolean;
210
435
  /**
211
- * Indicates whether to display the table list heading.
436
+ * This property provides the ability to show or hide the heading.
212
437
  *
213
438
  * @default false
439
+ * @example
440
+ * ```html
441
+ * <arcgis-table-list-next show-heading></arcgis-table-list-next>
442
+ * ```
443
+ *
444
+ * ```js
445
+ * tableListNextElement.showHeading = true;
446
+ * ```
447
+ *
214
448
  */
215
449
  accessor showHeading: boolean;
216
450
  /**
217
- * Indicates whether temporary table indicators will be displayed.
451
+ * This property provides the ability to show or hide the temporary table indicators for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the table title.
218
452
  *
219
453
  * @default false
454
+ * @example
455
+ * ```html
456
+ * <arcgis-table-list-next show-temporary-table-indicators></arcgis-table-list-next>
457
+ * ```
458
+ *
459
+ * ```js
460
+ * tableListNextElement.showTemporaryTableIndicators = true;
461
+ * ```
462
+ *
220
463
  */
221
464
  accessor showTemporaryTableIndicators: boolean;
222
465
  /** The current state of the component. */
223
466
  get state(): TableItemCollection["state"];
224
- /** The collection of table ListItems displayed within the component. */
467
+ /**
468
+ * The collection of table [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) displayed within the component.
469
+ *
470
+ * @example
471
+ * ```js
472
+ * tableListElement.tableItems.forEach(item => console.log(item.title));
473
+ * ```
474
+ */
225
475
  get tableItems(): Collection<TableItem>;
226
- /** A collection of tables to display in the component. */
476
+ /**
477
+ * A collection of tables to display in the component.
478
+ *
479
+ * @internal
480
+ */
227
481
  accessor tables: ReadonlyCollection<Layer | Sublayer> | null | undefined;
228
482
  /**
229
483
  * The view associated with the component.
@@ -234,15 +488,15 @@ export abstract class ArcgisTableListNext extends LitElement {
234
488
  destroy(): Promise<void>;
235
489
  /** Emitted when the component's close button is clicked. */
236
490
  readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
237
- /** Emits when the list filter input value changes. */
491
+ /** Emitted when the value of the [filterText](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#filterText) input changes. */
238
492
  readonly arcgisFilterChange: import("@arcgis/lumina").TargetedEvent<this, void>;
239
493
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
240
494
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
241
495
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
242
496
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
243
- /** Emits when selected items state changes. */
497
+ /** Emitted when the collection of [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#selectedItems) changes. */
244
498
  readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
245
- /** Emits when table items state changes. */
499
+ /** Emitted when the collection of [tableItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/#tableItems) changes. */
246
500
  readonly arcgisTableItemsChanged: import("@arcgis/lumina").TargetedEvent<this, void>;
247
501
  /** Emitted when an action is triggered on the component. */
248
502
  readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, TableItemCollectionEvents["trigger-action"]>;
@@ -255,16 +509,4 @@ export abstract class ArcgisTableListNext extends LitElement {
255
509
  arcgisTableItemsChanged: ArcgisTableListNext["arcgisTableItemsChanged"]["detail"];
256
510
  arcgisTriggerAction: ArcgisTableListNext["arcgisTriggerAction"]["detail"];
257
511
  };
258
- }
259
-
260
- /** @param event */
261
- export type CanSortFunction = (event: CanSortEvent) => boolean;
262
-
263
- /** @param item */
264
- export type FilterPredicate = (item: TableItem) => boolean;
265
-
266
- export interface CanSortEvent {
267
- selected: null | undefined | TableItem;
268
- from: null | undefined | TableItem;
269
- to: null | undefined | TableItem;
270
512
  }
@@ -9,7 +9,6 @@ import { LitElement as E, createEvent as c, safeClassMap as b, nothing as F } fr
9
9
  import { usePropertyChange as T } from "@arcgis/lumina/controllers";
10
10
  import { reEmitEvent as D } from "@arcgis/lumina/controllers/accessor";
11
11
  import { classes as P } from "@arcgis/toolkit/dom";
12
- import "@arcgis/toolkit/function";
13
12
  import { generateGuid as N } from "@arcgis/toolkit/string";
14
13
  import { createRef as U, ref as A } from "lit/directives/ref.js";
15
14
  import { html as o } from "lit";
@@ -35,10 +34,10 @@ class z extends E {
35
34
  this._selectedDragItemLayerUid = e;
36
35
  }, this._onTriggerAction = (e, t) => {
37
36
  this.triggerAction(e, t);
38
- }, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.icon = "table", this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.map = this.viewModel.map, this.minDragEnabledItems = B, this.minFilterItems = R, this.selectedItems = new M(), this.selectionMode = "none", this.tables = this.viewModel.tables, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryTableIndicators = !1, this.arcgisClose = c(), this.arcgisPropertyChange = T()("state"), this.arcgisReady = c(), this.arcgisFilterChange = c(), this.arcgisSelectedItemsChange = c(), this.arcgisTableItemsChanged = c(), this.arcgisTriggerAction = D(() => this.viewModel, "trigger-action");
37
+ }, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "table", this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.map = this.viewModel.map, this.minDragEnabledItems = B, this.minFilterItems = R, this.selectedItems = new M(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryTableIndicators = !1, this.tables = this.viewModel.tables, this.arcgisClose = c(), this.arcgisFilterChange = c(), this.arcgisPropertyChange = T()("state"), this.arcgisReady = c(), this.arcgisSelectedItemsChange = c(), this.arcgisTableItemsChanged = c(), this.arcgisTriggerAction = D(() => this.viewModel, "trigger-action");
39
38
  }
40
39
  static {
41
- this.properties = { _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, view: 0, autoDestroyDisabled: 5, closed: 5, referenceElement: 1, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, icon: 1, label: 1, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, map: 0, minDragEnabledItems: 9, minFilterItems: 9, selectedItems: 0, selectionMode: 1, state: 32, tableItems: 32, tables: 0, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryTableIndicators: 5, messageOverrides: 0 };
40
+ this.properties = { _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, autoDestroyDisabled: 5, closed: 5, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, label: 1, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, map: 0, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryTableIndicators: 5, state: 32, tableItems: 32, tables: 0, view: 0 };
42
41
  }
43
42
  static {
44
43
  this.styles = [O, q];
@@ -0,0 +1,37 @@
1
+ import type Collection from "@arcgis/core/core/Collection.js";
2
+ import type TableItemCollection from "@arcgis/core/layers/list/TableItemCollection.js";
3
+ import type TableItem from "@arcgis/core/layers/list/TableItem.js";
4
+ import type { ArcgisTableListNext } from "./customElement.js";
5
+ import type { SortableList as SortableList } from "@esri/calcite-components/components/calcite-sortable-list";
6
+
7
+ /** @internal */
8
+ export type CanSortEvent = {
9
+ selected: null | undefined | TableItem;
10
+ from: null | undefined | TableItem;
11
+ to: null | undefined | TableItem;
12
+ };
13
+
14
+ /**
15
+ * @param event
16
+ * @internal
17
+ */
18
+ export type CanSortFunction = (event: CanSortEvent) => boolean;
19
+
20
+ /** @internal */
21
+ export type DragDetail = Parameters<NonNullable<SortableList["canPull"]>>[0];
22
+
23
+ /**
24
+ * A function that determines whether a table item matches a filter.
25
+ *
26
+ * @param item
27
+ */
28
+ export type FilterPredicate = (item: TableItem) => boolean;
29
+
30
+ /** @internal */
31
+ export type SortableTables = Collection<{ uid?: string | null; }> | null | undefined;
32
+
33
+ /** The properties used to configure the Table List (next). */
34
+ export type TableListOptions = Partial<Pick<ArcgisTableListNext, "collapsed" | "dragEnabled" | "filterPlaceholder" | "filterText" | "headingLevel" | "hideStatusIndicators" | "icon" | "label" | "minFilterItems" | "selectionMode" | "showErrors" | "showFilter" | "showTemporaryTableIndicators">>
35
+ & {
36
+ listItemCreatedFunction?: TableItemCollection["listItemCreatedFunction"];
37
+ };
@@ -104,6 +104,15 @@ export abstract class ArcgisTimeBar extends LitElement {
104
104
  * prevent memory leaks.
105
105
  *
106
106
  * @default false
107
+ * @example
108
+ * ```html
109
+ * <arcgis-time-bar auto-destroy-disabled></arcgis-time-bar>
110
+ * ```
111
+ *
112
+ * ```js
113
+ * timeBarElement.autoDestroyDisabled = true;
114
+ * ```
115
+ *
107
116
  */
108
117
  accessor autoDestroyDisabled: boolean;
109
118
  /**
@@ -132,6 +132,15 @@ export abstract class ArcgisTimeBarSlider extends LitElement {
132
132
  * prevent memory leaks.
133
133
  *
134
134
  * @default false
135
+ * @example
136
+ * ```html
137
+ * <arcgis-time-bar-slider auto-destroy-disabled></arcgis-time-bar-slider>
138
+ * ```
139
+ *
140
+ * ```js
141
+ * timeBarSliderElement.autoDestroyDisabled = true;
142
+ * ```
143
+ *
135
144
  */
136
145
  accessor autoDestroyDisabled: boolean;
137
146
  /**
@@ -86,6 +86,15 @@ export abstract class ArcgisTimeSlider extends LitElement {
86
86
  * prevent memory leaks.
87
87
  *
88
88
  * @default false
89
+ * @example
90
+ * ```html
91
+ * <arcgis-time-slider auto-destroy-disabled></arcgis-time-slider>
92
+ * ```
93
+ *
94
+ * ```js
95
+ * timeSliderElement.autoDestroyDisabled = true;
96
+ * ```
97
+ *
89
98
  */
90
99
  accessor autoDestroyDisabled: boolean;
91
100
  /**
@@ -42,6 +42,15 @@ export abstract class ArcgisTrack extends LitElement {
42
42
  * prevent memory leaks.
43
43
  *
44
44
  * @default false
45
+ * @example
46
+ * ```html
47
+ * <arcgis-track auto-destroy-disabled></arcgis-track>
48
+ * ```
49
+ *
50
+ * ```js
51
+ * trackElement.autoDestroyDisabled = true;
52
+ * ```
53
+ *
45
54
  */
46
55
  accessor autoDestroyDisabled: boolean;
47
56
  /**
@@ -41,6 +41,15 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
41
41
  * prevent memory leaks.
42
42
  *
43
43
  * @default false
44
+ * @example
45
+ * ```html
46
+ * <arcgis-utility-network-aggregated-geometry auto-destroy-disabled></arcgis-utility-network-aggregated-geometry>
47
+ * ```
48
+ *
49
+ * ```js
50
+ * utilityNetworkAggregatedGeometryElement.autoDestroyDisabled = true;
51
+ * ```
52
+ *
44
53
  */
45
54
  accessor autoDestroyDisabled: boolean;
46
55
  /** @required */
@@ -39,6 +39,15 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometryResultItem extends L
39
39
  * prevent memory leaks.
40
40
  *
41
41
  * @default false
42
+ * @example
43
+ * ```html
44
+ * <arcgis-utility-network-aggregated-geometry-result-item auto-destroy-disabled></arcgis-utility-network-aggregated-geometry-result-item>
45
+ * ```
46
+ *
47
+ * ```js
48
+ * utilityNetworkAggregatedGeometryResultItemElement.autoDestroyDisabled = true;
49
+ * ```
50
+ *
42
51
  */
43
52
  accessor autoDestroyDisabled: boolean;
44
53
  /**