@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,27 +1,28 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Collection from "@arcgis/core/core/Collection.js";
3
- import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
4
- import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
5
- import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
6
- import type TileLayer from "@arcgis/core/layers/TileLayer.js";
7
3
  import type Item from "@arcgis/core/layers/list/Item.js";
8
- import type TableItem from "@arcgis/core/layers/list/TableItem.js";
9
- import type { UIPosition } from "@arcgis/core/views/ui/types.js";
10
4
  import type { BasemapItemCollectionEvents } from "@arcgis/core/layers/list/BasemapItemCollection.js";
11
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
6
  import type { VisibilityAppearance } from "../../utils/action-utils.js";
13
7
  import type { CanSortFunction, TableSupportedLayers } from "../../utils/layer-list-utils.js";
14
- import type { ArcgisCatalogLayerListNext, CatalogLayerListOptions } from "../arcgis-catalog-layer-list-next/customElement.js";
15
- import type { ArcgisTableListNext, TableListOptions } from "../arcgis-table-list-next/customElement.js";
8
+ import type { ArcgisCatalogLayerListNext } from "../arcgis-catalog-layer-list-next/customElement.js";
9
+ import type { ArcgisTableListNext } from "../arcgis-table-list-next/customElement.js";
16
10
  import type { ArcgisReferenceElement, HeadingLevel, IconName } from "../types.js";
11
+ import type { CatalogLayerListParams, FilterPredicate, FlowLayer, TableListParams } from "./types.js";
17
12
  import type { T9nMeta } from "@arcgis/lumina/controllers";
18
- import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
19
13
  import type { ItemModifier, State } from "@arcgis/core/layers/list/types.js";
20
14
  import type { List as List } from "@esri/calcite-components/components/calcite-list";
15
+ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
21
16
 
22
17
  /**
23
- * The Basemap Layer List Next component provides a way to display a list of basemap layers and switch on/off their visibility.
24
- * Base layers and reference layers are divided into separate sections.
18
+ * > [!WARNING]
19
+ * > The Basemap Layer List (next) component is the successor to the Basemap Layer List component, provided to you early for testing and feedback.
20
+ * In version 6.0, the implementation of [arcgis-basemap-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/) will be updated under the hood to that of [arcgis-basemap-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/),
21
+ * and this component will be removed. There is a breaking change in the name of the events for [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogLayerList) compared to the [arcgis-basemap-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/).
22
+ * To update at version 6.0, simply remove `-next` from the component name.
23
+ *
24
+ * The Basemap Layer List (next) component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) layers and switch on/off their visibility.
25
+ * [Base layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#referenceLayers) are divided into separate sections.
25
26
  *
26
27
  * @since 5.2
27
28
  * @beta
@@ -35,58 +36,368 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
35
36
  * prevent memory leaks.
36
37
  *
37
38
  * @default false
39
+ * @example
40
+ * ```html
41
+ * <arcgis-basemap-layer-list-next auto-destroy-disabled></arcgis-basemap-layer-list-next>
42
+ * ```
43
+ *
44
+ * ```js
45
+ * basemapLayerListNextElement.autoDestroyDisabled = true;
46
+ * ```
47
+ *
38
48
  */
39
49
  accessor autoDestroyDisabled: boolean;
50
+ /**
51
+ * Specifies a function to handle filtering base layer [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/).
52
+ *
53
+ * @example
54
+ * ```js
55
+ * basemapLayerListElement.baseFilterPredicate = (item) => item.title.toLowerCase().includes("streets");
56
+ * ```
57
+ */
40
58
  accessor baseFilterPredicate: FilterPredicate | undefined;
41
- /** @default "" */
59
+ /**
60
+ * The value of the [base layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#baseLayers)
61
+ * filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#showFilter) is true.
62
+ *
63
+ * @default ""
64
+ * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#showFilter)
65
+ * @example
66
+ * ```js
67
+ * reactiveUtils.watch(
68
+ * () => basemapLayerListElement.baseFilterText,
69
+ * (baseFilterText) => console.log(baseFilterText)
70
+ * );
71
+ * ```
72
+ */
42
73
  accessor baseFilterText: string;
74
+ /**
75
+ * Specifies a function that accesses each [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) representing a base layer.
76
+ * Each list item's modifiable properties can be updated within. Actions can be added to list items
77
+ * using the [actionsSections](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/#actionsSections)
78
+ * property of the Item.
79
+ *
80
+ * @example
81
+ * ```js
82
+ * basemapLayerListElement.baseItemCreatedFunction = (event) => {
83
+ * const baseListItem = event.item;
84
+ * if(baseListItem.title === "World Imagery_01"){
85
+ * // clean up title
86
+ * baseListItem.title = "World Imagery";
87
+ * // open the baseList item
88
+ * baseListItem.open = true;
89
+ * }
90
+ * }
91
+ * ```
92
+ */
43
93
  accessor baseItemCreatedFunction: ItemModifier | null | undefined;
94
+ /**
95
+ * A collection of [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/)
96
+ * representing the [base layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#baseLayers).
97
+ *
98
+ * @example
99
+ * ```js
100
+ * basemapLayerListElement.baseItems.forEach(item => console.log(item.title));
101
+ * ```
102
+ */
44
103
  get baseItems(): Collection<Item>;
104
+ /**
105
+ * The current basemap's title.
106
+ *
107
+ * @example
108
+ * ```html
109
+ * <arcgis-basemap-layer-list-next basemap-title="My Basemap"></arcgis-basemap-layer-list-next>
110
+ * ```
111
+ * ```js
112
+ * basemapLayerListElement.basemapTitle = "My Basemap";
113
+ * ```
114
+ */
45
115
  accessor basemapTitle: string | null | undefined;
116
+ /**
117
+ * The [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/) that displays a catalog layer's [dynamic group layer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer).
118
+ * The catalog layer list will be displayed as an expandable [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) in the root of the layer list when a CatalogLayer is present in the map.
119
+ * This property is set when a catalog layer's dynamic group layer is expanded in the layer list. Otherwise, it is `null`.
120
+ * This property is useful for listening to the [arcgis-catalog-layer-list-next.@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/#event-arcgisTriggerAction) event and managing selections in catalog layers.
121
+ *
122
+ * @example
123
+ * ```js
124
+ * // Use reactiveUtils to respond to the basemapLayerListElement.catalogLayerList "arcgisTriggerAction" event
125
+ * const catalogLayerListActionHandle = reactiveUtils.on(
126
+ * () => basemapLayerListElement.catalogLayerList,
127
+ * "arcgisTriggerAction",
128
+ * async (event) => {
129
+ * const { action, item } = event.detail;
130
+ * if (action.id === "add-layer") {
131
+ * try {
132
+ * const parentCatalogLayer = getCatalogLayerForLayer(item.layer);
133
+ * if (!parentCatalogLayer) {
134
+ * return;
135
+ * }
136
+ * await addLayerFromDynamicGroup(item.layer);
137
+ * alert(`Added ${item.layer.title} to the map`);
138
+ * } catch (error) {
139
+ * console.error("Failed to add layer from dynamic group", error);
140
+ * alert(`Unable to add ${item.layer.title} to the map`);
141
+ * }
142
+ * basemapLayerListElement?.openedLayers?.pop();
143
+ * }
144
+ * },
145
+ * );
146
+ * basemapLayerListHandles.push(catalogLayerListActionHandle);
147
+ *
148
+ * // Use reactiveUtils to watch for a selected item in the basemapLayerListElement.catalogLayerList
149
+ * const catalogSelectionWatchHandle = reactiveUtils.watch(
150
+ * () =>
151
+ * basemapLayerListElement.catalogLayerList?.selectedItems?.at(0)?.layer as Layer,
152
+ * (layer) => {
153
+ * layer && handleLayerSelection(layer);
154
+ * },
155
+ * );
156
+ * basemapLayerListHandles.push(catalogSelectionWatchHandle);
157
+ * ```
158
+ * @see [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/)
159
+ * @see [catalogOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogOptions)
160
+ */
46
161
  get catalogLayerList(): ArcgisCatalogLayerListNext | undefined;
162
+ /**
163
+ * [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) specific properties.
164
+ * Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/) in the arcgis-basemap-layer-list-next component.
165
+ * This list item will only be displayed when catalog layers with dynamic group layers are loaded in the map.
166
+ * These are the properties that are used to configure the [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/).
167
+ *
168
+ * @example
169
+ * ```js
170
+ * basemapLayerListElement.catalogOptions = {
171
+ * listItemCreatedFunction: (event) => {
172
+ * const { item } = event;
173
+ * item.actionsSections = [
174
+ * [
175
+ * new ActionToggle({
176
+ * title: "Add layer to map",
177
+ * icon: "add-layer",
178
+ * id: "add-layer"
179
+ * });
180
+ * ]
181
+ * ];
182
+ * },
183
+ * selectionMode: "single"
184
+ * };
185
+ * ```
186
+ * @see [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/)
187
+ * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogLayerList)
188
+ */
47
189
  accessor catalogOptions: CatalogLayerListParams | undefined;
48
- /** @default false */
190
+ /**
191
+ * Indicates whether a component is closed. When `true`, the component will be hidden.
192
+ *
193
+ * @default false
194
+ * @example
195
+ * ```html
196
+ * <arcgis-basemap-layer-list-next closed></arcgis-basemap-layer-list-next>
197
+ * ```
198
+ *
199
+ * ```js
200
+ * basemapLayerListNextElement.closed = true;
201
+ * ```
202
+ *
203
+ */
49
204
  accessor closed: boolean;
50
- /** @default false */
205
+ /**
206
+ * Indicates whether the component is collapsed. When collapsed, only the collapse button and heading are displayed.
207
+ *
208
+ * @default false
209
+ * @example
210
+ * ```html
211
+ * <arcgis-basemap-layer-list-next collapsed></arcgis-basemap-layer-list-next>
212
+ * ```
213
+ *
214
+ * ```js
215
+ * basemapLayerListNextElement.collapsed = true;
216
+ * ```
217
+ *
218
+ */
51
219
  accessor collapsed: boolean;
52
- /** @default false */
220
+ /**
221
+ * 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.
222
+ *
223
+ * @default false
224
+ * @example
225
+ * ```html
226
+ * <arcgis-basemap-layer-list-next drag-enabled></arcgis-basemap-layer-list-next>
227
+ * ```
228
+ *
229
+ * ```js
230
+ * basemapLayerListNextElement.dragEnabled = true;
231
+ * ```
232
+ *
233
+ */
53
234
  accessor dragEnabled: boolean;
54
- /** @default false */
235
+ /**
236
+ * Indicates whether the form to edit the basemap's title is currently visible.
237
+ * Any edits made will only be shown locally and will not be saved.
238
+ *
239
+ * @default false
240
+ * @see [showEditTitleButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#showEditTitleButton)
241
+ * @example
242
+ * ```html
243
+ * <arcgis-basemap-layer-list-next editing-title></arcgis-basemap-layer-list-next>
244
+ * ```
245
+ * ```js
246
+ * basemapLayerListElement.editingTitle = true;
247
+ * ```
248
+ */
55
249
  accessor editingTitle: boolean;
56
- /** @default "" */
250
+ /**
251
+ * Placeholder text used in the filter input when filtering is enabled.
252
+ *
253
+ * @default ""
254
+ * @example
255
+ * ```html
256
+ * <arcgis-basemap-layer-list-next filter-placeholder="Search..."></arcgis-basemap-layer-list-next>
257
+ * ```
258
+ *
259
+ * ```js
260
+ * basemapLayerListNextElement.filterPlaceholder = "Search...";
261
+ * ```
262
+ *
263
+ */
57
264
  accessor filterPlaceholder: string;
58
- /** @default 2 */
265
+ /**
266
+ * 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.
267
+ *
268
+ * @default 2
269
+ * @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
270
+ * @example
271
+ * ```html
272
+ * <arcgis-basemap-layer-list-next heading-level="2"></arcgis-basemap-layer-list-next>
273
+ * ```
274
+ *
275
+ * ```js
276
+ * basemapLayerListNextElement.headingLevel = 2;
277
+ * ```
278
+ *
279
+ */
59
280
  accessor headingLevel: HeadingLevel;
60
- /** @default false */
281
+ /**
282
+ * This property provides the ability to show or hide the
283
+ * [base layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#baseLayers).
284
+ *
285
+ * @default false
286
+ * @example
287
+ * ```html
288
+ * <arcgis-basemap-layer-list-next hide-base-layers></arcgis-basemap-layer-list-next>
289
+ * ```
290
+ * ```js
291
+ * basemapLayerListElement.hideBaseLayers = true;
292
+ * ```
293
+ */
61
294
  accessor hideBaseLayers: boolean;
62
- /** @default false */
295
+ /**
296
+ * Indicates whether to hide the catalog layer list in the component.
297
+ *
298
+ * @default false
299
+ * @example
300
+ * ```html
301
+ * <arcgis-basemap-layer-list-next hide-catalog-layer-list></arcgis-basemap-layer-list-next>
302
+ * ```
303
+ *
304
+ * ```js
305
+ * basemapLayerListNextElement.hideCatalogLayerList = true;
306
+ * ```
307
+ *
308
+ */
63
309
  accessor hideCatalogLayerList: boolean;
64
- /** @default false */
310
+ /**
311
+ * Indicates whether to hide the component's heading.
312
+ *
313
+ * @default false
314
+ * @example
315
+ * ```html
316
+ * <arcgis-basemap-layer-list-next hide-heading></arcgis-basemap-layer-list-next>
317
+ * ```
318
+ *
319
+ * ```js
320
+ * basemapLayerListNextElement.hideHeading = true;
321
+ * ```
322
+ *
323
+ */
65
324
  accessor hideHeading: boolean;
66
325
  /**
67
- * This property provides the ability to show or hide the no items to display notice when there are no filter results.
326
+ * Indicates whether to hide the notice that appears when no results are found after filtering.
68
327
  *
69
328
  * @default false
70
- * @since 5.2
329
+ * @example
330
+ * ```html
331
+ * <arcgis-basemap-layer-list-next hide-no-filter-results-notice></arcgis-basemap-layer-list-next>
332
+ * ```
333
+ *
334
+ * ```js
335
+ * basemapLayerListNextElement.hideNoFilterResultsNotice = true;
336
+ * ```
337
+ *
71
338
  */
72
339
  accessor hideNoFilterResultsNotice: boolean;
73
340
  /**
74
- * This property provides the ability to show or hide the no items to display notice.
341
+ * Indicates whether to hide the notice that appears when there are no items to display.
75
342
  *
76
343
  * @default false
77
- * @since 5.2
344
+ * @example
345
+ * ```html
346
+ * <arcgis-basemap-layer-list-next hide-no-items-notice></arcgis-basemap-layer-list-next>
347
+ * ```
348
+ *
349
+ * ```js
350
+ * basemapLayerListNextElement.hideNoItemsNotice = true;
351
+ * ```
352
+ *
78
353
  */
79
354
  accessor hideNoItemsNotice: boolean;
80
- /** @default false */
355
+ /**
356
+ * This property provides the ability to show or hide the
357
+ * [reference layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#referenceLayers).
358
+ *
359
+ * @default false
360
+ * @example
361
+ * ```html
362
+ * <arcgis-basemap-layer-list-next hide-reference-layers></arcgis-basemap-layer-list-next>
363
+ * ```
364
+ * ```js
365
+ * basemapLayerListElement.hideReferenceLayers = true;
366
+ * ```
367
+ */
81
368
  accessor hideReferenceLayers: boolean;
82
- /** @default false */
369
+ /**
370
+ * Indicates whether to hide status indicators in the component.
371
+ *
372
+ * @default false
373
+ * @example
374
+ * ```html
375
+ * <arcgis-basemap-layer-list-next hide-status-indicators></arcgis-basemap-layer-list-next>
376
+ * ```
377
+ *
378
+ * ```js
379
+ * basemapLayerListNextElement.hideStatusIndicators = true;
380
+ * ```
381
+ *
382
+ */
83
383
  accessor hideStatusIndicators: boolean;
84
- /** @default "layers" */
384
+ /**
385
+ * Icon which represents the component.
386
+ * Typically used when the component is controlled by another component (e.g. by the Expand component).
387
+ *
388
+ * @default "layers"
389
+ * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
390
+ */
85
391
  accessor icon: IconName;
392
+ /** @internal */
86
393
  accessor knowledgeGraphOptions: TableListParams | undefined;
394
+ /** The component's default label. */
87
395
  accessor label: string | undefined;
396
+ /** @internal */
88
397
  accessor layerTablesEnabled: Collection<TableSupportedLayers>;
398
+ /** @internal */
89
399
  accessor listItemCanGiveFunction: CanSortFunction | undefined;
400
+ /** @internal */
90
401
  accessor listItemCanReceiveFunction: CanSortFunction | undefined;
91
402
  /**
92
403
  * 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.
@@ -94,9 +405,24 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
94
405
  * @default false
95
406
  * @see [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
96
407
  * @since 5.2
408
+ * @example
409
+ * ```html
410
+ * <arcgis-basemap-layer-list-next list-mode-disabled></arcgis-basemap-layer-list-next>
411
+ * ```
412
+ *
413
+ * ```js
414
+ * basemapLayerListNextElement.listModeDisabled = true;
415
+ * ```
416
+ *
97
417
  */
98
418
  accessor listModeDisabled: boolean;
419
+ /** @internal */
99
420
  accessor mapImageOptions: TableListParams | undefined;
421
+ /**
422
+ * Replace localized message strings with your own strings.
423
+ *
424
+ * _**Note**: Individual message keys may change between releases._
425
+ */
100
426
  accessor messageOverrides: {
101
427
  componentLabel?: string | undefined;
102
428
  baseHeading?: string | undefined;
@@ -199,49 +525,267 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
199
525
  ok: string;
200
526
  submit: string;
201
527
  }>;
202
- /** @default 10 */
528
+ /**
529
+ * The minimum number of list items required to display the filter input box.
530
+ *
531
+ * @default 10
532
+ * @example
533
+ * ```html
534
+ * <arcgis-basemap-layer-list-next min-filter-items="3"></arcgis-basemap-layer-list-next>
535
+ * ```
536
+ *
537
+ * ```js
538
+ * basemapLayerListNextElement.minFilterItems = 3;
539
+ * ```
540
+ *
541
+ */
203
542
  accessor minFilterItems: number;
543
+ /**
544
+ * A collection of [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) that are opened
545
+ * in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogLayerList) or [arcgis-layer-list-next.tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#tableList) flow item.
546
+ * This property is useful for backing out of the catalog layer list or table list programmatically to the parent layer list.
547
+ *
548
+ * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogLayerList)
549
+ * @see [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#tableList)
550
+ * @example
551
+ * ```js
552
+ * // back out of the catalog layer list to the basemap layer list
553
+ * basemapLayerListElement.openedLayers.pop();
554
+ * ```
555
+ */
204
556
  get openedLayers(): Collection<FlowLayer>;
205
- accessor position: UIPosition | undefined;
557
+ /**
558
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
559
+ *
560
+ * @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)
561
+ */
206
562
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
563
+ /**
564
+ * Specifies a function to handle filtering reference layer [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/).
565
+ *
566
+ * @example
567
+ * ```js
568
+ * basemapLayerListElement.referenceFilterPredicate = (item) => item.title.toLowerCase().includes("streets");
569
+ * ```
570
+ */
207
571
  accessor referenceFilterPredicate: FilterPredicate | undefined;
208
- /** @default "" */
572
+ /**
573
+ * The value of the [reference layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#referenceLayers)
574
+ * filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#showFilter) is true.
575
+ *
576
+ * @default ""
577
+ * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#showFilter)
578
+ * @example
579
+ * ```js
580
+ * reactiveUtils.watch(
581
+ * () => basemapLayerListElement.referenceFilterText,
582
+ * (referenceFilterText) => console.log(referenceFilterText)
583
+ * );
584
+ * ```
585
+ */
209
586
  accessor referenceFilterText: string;
587
+ /**
588
+ * Specifies a function that accesses each [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) representing a reference layer.
589
+ * Each list item's modifiable properties can be updated within. Actions can be added to list items
590
+ * using the [actionsSections](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/#actionsSections) property.
591
+ *
592
+ * @example
593
+ * ```js
594
+ * basemapLayerListElement.referenceItemCreatedFunction = (event) => {
595
+ * referenceListItem = event.item;
596
+ * if(referenceListItem.title === "World Imagery_01_reference_layer"){
597
+ * // clean up title
598
+ * referenceListItem.title = "Reference layer";
599
+ * // open the baseList item
600
+ * referenceListItem.open = true;
601
+ * }
602
+ * }
603
+ * ```
604
+ */
210
605
  accessor referenceItemCreatedFunction: ItemModifier | null | undefined;
606
+ /**
607
+ * A collection of [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/)
608
+ * representing the [reference layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#referenceLayers).
609
+ *
610
+ * @example
611
+ * ```js
612
+ * basemapLayerListElement.referenceItems.forEach(item => console.log(item.title));
613
+ * ```
614
+ */
211
615
  get referenceItems(): Collection<Item>;
616
+ /**
617
+ * 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-basemap-layer-list-next/#selectionMode) is not set to `"none"`.
618
+ *
619
+ * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#selectionMode)
620
+ * @example
621
+ * ```js
622
+ * reactiveUtils.watch(
623
+ * () => basemapLayerListNext.selectedItems?.at(0)?.layer,
624
+ * (layer) => {
625
+ * layer && handleLayerSelection(layer);
626
+ * },
627
+ * );
628
+ * ```
629
+ */
212
630
  accessor selectedItems: Collection<Item>;
213
- /** @default "none" */
631
+ /**
632
+ * Specifies the selection mode. Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#selectedItems) property.
633
+ *
634
+ * | Value | Description |
635
+ * | ----- | ----------- |
636
+ * | 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. |
637
+ * | none | Disables selection. Use this when you want to prevent selecting items. |
638
+ * | 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. |
639
+ * | 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. |
640
+ *
641
+ * @default "none"
642
+ * @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#selectedItems)
643
+ * @example
644
+ * ```html
645
+ * <arcgis-basemap-layer-list-next selection-mode="multiple"></arcgis-basemap-layer-list-next>
646
+ * ```
647
+ *
648
+ * ```js
649
+ * basemapLayerListNextElement.selectionMode = "multiple";
650
+ * ```
651
+ *
652
+ */
214
653
  accessor selectionMode: List["selectionMode"];
215
- /** @default false */
654
+ /**
655
+ * This property provides the ability to show or hide the close button.
656
+ *
657
+ * @default false
658
+ * @example
659
+ * ```html
660
+ * <arcgis-basemap-layer-list-next show-close-button></arcgis-basemap-layer-list-next>
661
+ * ```
662
+ *
663
+ * ```js
664
+ * basemapLayerListNextElement.showCloseButton = true;
665
+ * ```
666
+ *
667
+ */
216
668
  accessor showCloseButton: boolean;
217
- /** @default false */
669
+ /**
670
+ * This property provides the ability to show or hide the collapse button.
671
+ *
672
+ * @default false
673
+ * @example
674
+ * ```html
675
+ * <arcgis-basemap-layer-list-next show-collapse-button></arcgis-basemap-layer-list-next>
676
+ * ```
677
+ *
678
+ * ```js
679
+ * basemapLayerListNextElement.showCollapseButton = true;
680
+ * ```
681
+ *
682
+ */
218
683
  accessor showCollapseButton: boolean;
219
- /** @default false */
684
+ /**
685
+ * This property provides the ability to show or hide the edit title button in the header.
686
+ *
687
+ * @default false
688
+ * @see [editingTitle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#editingTitle)
689
+ * @example
690
+ * ```html
691
+ * <arcgis-basemap-layer-list-next show-edit-title-button></arcgis-basemap-layer-list-next>
692
+ * ```
693
+ * ```js
694
+ * basemapLayerListElement.showEditTitleButton = true;
695
+ * ```
696
+ */
220
697
  accessor showEditTitleButton: boolean;
221
- /** @default false */
698
+ /**
699
+ * This property provides the ability to show or hide layer error indicators.
700
+ *
701
+ * @default false
702
+ * @example
703
+ * ```html
704
+ * <arcgis-basemap-layer-list-next show-errors></arcgis-basemap-layer-list-next>
705
+ * ```
706
+ *
707
+ * ```js
708
+ * basemapLayerListNextElement.showErrors = true;
709
+ * ```
710
+ *
711
+ */
222
712
  accessor showErrors: boolean;
223
- /** @default false */
713
+ /**
714
+ * 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-basemap-layer-list-next/#minFilterItems), allowing users to filter layers by their title.
715
+ *
716
+ * @default false
717
+ * @example
718
+ * ```html
719
+ * <arcgis-basemap-layer-list-next show-filter></arcgis-basemap-layer-list-next>
720
+ * ```
721
+ *
722
+ * ```js
723
+ * basemapLayerListNextElement.showFilter = true;
724
+ * ```
725
+ *
726
+ */
224
727
  accessor showFilter: boolean;
225
- /** @default false */
728
+ /**
729
+ * This property provides the ability to show or hide the temporary layer indicators for layers 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 layer title.
730
+ *
731
+ * @default false
732
+ * @example
733
+ * ```html
734
+ * <arcgis-basemap-layer-list-next show-temporary-layer-indicators></arcgis-basemap-layer-list-next>
735
+ * ```
736
+ *
737
+ * ```js
738
+ * basemapLayerListNextElement.showTemporaryLayerIndicators = true;
739
+ * ```
740
+ *
741
+ */
226
742
  accessor showTemporaryLayerIndicators: boolean;
743
+ /** The current state of the component. */
227
744
  get state(): State;
745
+ /** @internal */
228
746
  get tableList(): ArcgisTableListNext | undefined;
747
+ /** @internal */
229
748
  accessor tileOptions: TableListParams | undefined;
230
749
  /**
231
750
  * The view associated with the component.
232
751
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-basemap-layer-list-next component will be associated with a map or scene component rather than using the `view` property.
233
752
  */
234
753
  accessor view: MapViewOrSceneView | null | undefined;
235
- /** @default "default" */
754
+ /**
755
+ * Determines the icons used to indicate visibility.
756
+ * | Value | Description | Example |
757
+ * | ----- | ----------- | ------- |
758
+ * | default | Displays view icons on the far side. Icons are hidden except on hover or if they have keyboard focus. See [view-visible](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-visible&library=Calcite%20UI&query=view) and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. | ![visibilityAppearance-default](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/basemap-layer-list/visibilityAppearance-default.avif) |
759
+ * | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. | ![visibilityAppearance-checkbox](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/basemap-layer-list/visibilityAppearance-checkbox.avif) |
760
+ *
761
+ *
762
+ * @default "default"
763
+ * @example
764
+ * ```html
765
+ * <arcgis-basemap-layer-list-next visibility-appearance="checkbox"></arcgis-basemap-layer-list-next>
766
+ * ```
767
+ *
768
+ * ```js
769
+ * basemapLayerListNextElement.visibilityAppearance = "checkbox";
770
+ * ```
771
+ *
772
+ */
236
773
  accessor visibilityAppearance: VisibilityAppearance;
774
+ /** Permanently destroy the component. */
237
775
  destroy(): Promise<void>;
776
+ /** Emitted when the value of the [baseFilterText](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#baseFilterText) changes. */
238
777
  readonly arcgisBaseFilterChange: import("@arcgis/lumina").TargetedEvent<this, void>;
239
778
  /** Emitted when the component's close button is clicked. */
240
779
  readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
780
+ /** Emitted when the collection of [openedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#openedLayers) changes. */
241
781
  readonly arcgisOpenedLayersChange: import("@arcgis/lumina").TargetedEvent<this, void>;
782
+ /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
242
783
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
784
+ /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
243
785
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
786
+ /** Emitted when the value of the [referenceFilterText](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#referenceFilterText) changes. */
244
787
  readonly arcgisReferenceFilterChange: import("@arcgis/lumina").TargetedEvent<this, void>;
788
+ /** Emitted when an action is triggered on the component. */
245
789
  readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, BasemapItemCollectionEvents["trigger-action"]>;
246
790
  readonly "@eventTypes": {
247
791
  arcgisBaseFilterChange: ArcgisBasemapLayerListNext["arcgisBaseFilterChange"]["detail"];
@@ -252,15 +796,4 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
252
796
  arcgisReferenceFilterChange: ArcgisBasemapLayerListNext["arcgisReferenceFilterChange"]["detail"];
253
797
  arcgisTriggerAction: ArcgisBasemapLayerListNext["arcgisTriggerAction"]["detail"];
254
798
  };
255
- }
256
-
257
- export type CatalogLayerListParams = CatalogLayerListOptions;
258
-
259
- export type TableListParams = TableListOptions;
260
-
261
- export type FlowLayer = CatalogLayer | SubtablesLayer;
262
-
263
- /** @param item */
264
- export type FilterPredicate = (item: Item | TableItem) => boolean;
265
-
266
- export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
799
+ }