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

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 (352) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{NVACRYY6.js → 22EPKDUJ.js} +1 -1
  3. package/dist/cdn/2AYGSNEO.js +2 -0
  4. package/dist/cdn/2MTWUJIA.js +2 -0
  5. package/dist/cdn/{EVRFMTMV.js → 2NOL7QIE.js} +1 -1
  6. package/dist/cdn/3OVSVCGF.js +2 -0
  7. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  8. package/dist/cdn/5ITF7Q7U.js +2 -0
  9. package/dist/cdn/5LBJB4MP.js +2 -0
  10. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  11. package/dist/cdn/6CGPJGIB.js +2 -0
  12. package/dist/cdn/{FQGKKJL7.js → 6F6VOBIA.js} +1 -1
  13. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  14. package/dist/cdn/{RCWZGU5T.js → 7JQZBAFA.js} +1 -1
  15. package/dist/cdn/7WLTT4K3.js +2 -0
  16. package/dist/cdn/A2JO7DWO.js +2 -0
  17. package/dist/cdn/{TSPKG2WN.js → A44ZCOCX.js} +2 -2
  18. package/dist/cdn/{KY4FMFIC.js → A7JPWYKR.js} +1 -1
  19. package/dist/cdn/{H6ILOF27.js → AEYZDEAH.js} +1 -1
  20. package/dist/cdn/B3ANLEZW.js +2 -0
  21. package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
  22. package/dist/cdn/{YZ5ZVEPC.js → BUOIT34V.js} +1 -1
  23. package/dist/cdn/{YC423DBS.js → C24SOTLL.js} +1 -1
  24. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  25. package/dist/cdn/CTSWZC3O.js +2 -0
  26. package/dist/cdn/CVBNRF34.js +2 -0
  27. package/dist/cdn/D27YXH3W.js +2 -0
  28. package/dist/cdn/DINM6JDS.js +2 -0
  29. package/dist/cdn/{JBJ5NQTI.js → DWW7KAMQ.js} +1 -1
  30. package/dist/cdn/EGN3YTD6.js +2 -0
  31. package/dist/cdn/EM7YCHTU.js +2 -0
  32. package/dist/cdn/EVC4MXIZ.js +2 -0
  33. package/dist/cdn/FB6YQKF2.js +2 -0
  34. package/dist/cdn/{NIUIKBRD.js → FYTMMPPG.js} +1 -1
  35. package/dist/cdn/GXBHOVJY.js +2 -0
  36. package/dist/cdn/GY5226CJ.js +2 -0
  37. package/dist/cdn/HB3W3CO5.js +2 -0
  38. package/dist/cdn/HE6QV4XG.js +2 -0
  39. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  40. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  41. package/dist/cdn/IQPGSWSL.js +2 -0
  42. package/dist/cdn/KY2UAUNI.js +2 -0
  43. package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
  44. package/dist/cdn/LZQCXN6A.js +2 -0
  45. package/dist/cdn/{3PQT2S7Z.js → MDCB7SO4.js} +1 -1
  46. package/dist/cdn/N3BD4UQD.js +2 -0
  47. package/dist/cdn/NHMOFXEE.js +2 -0
  48. package/dist/cdn/NRBM3YR6.js +2 -0
  49. package/dist/cdn/{FC6W37TT.js → NSGDR7V5.js} +1 -1
  50. package/dist/cdn/OD5DHUHZ.js +2 -0
  51. package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
  52. package/dist/cdn/PZC5TBXA.js +2 -0
  53. package/dist/cdn/{KXF2562U.js → QJOQNSYB.js} +1 -1
  54. package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
  55. package/dist/cdn/R7BJHEHH.js +2 -0
  56. package/dist/cdn/{2XSXH4TM.js → RRXH4CSV.js} +1 -1
  57. package/dist/cdn/RSSYGNJQ.js +2 -0
  58. package/dist/cdn/S4I3X6AX.js +2 -0
  59. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  60. package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
  61. package/dist/cdn/TP6I2LJO.js +2 -0
  62. package/dist/cdn/{52GXKBGP.js → UHFSSX2G.js} +1 -1
  63. package/dist/cdn/{UVCYUIKZ.js → UNX4CKAF.js} +1 -1
  64. package/dist/cdn/VNOZYJLP.js +2 -0
  65. package/dist/cdn/VU3SJK5Z.js +2 -0
  66. package/dist/cdn/W5T5EBL3.js +2 -0
  67. package/dist/cdn/{S4XGBADW.js → XCAWRUM6.js} +1 -1
  68. package/dist/cdn/XE5UPQ5E.js +2 -0
  69. package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
  70. package/dist/cdn/XMSGTOUV.js +2 -0
  71. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  72. package/dist/cdn/XXZ3CKTX.js +2 -0
  73. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  74. package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
  75. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  76. package/dist/cdn/Z4F6DHBB.js +2 -0
  77. package/dist/cdn/{FJJVAOBW.js → ZD5FJHIQ.js} +1 -1
  78. package/dist/cdn/{WJ5HD2YN.js → ZM2YXU7Y.js} +1 -1
  79. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  80. package/dist/cdn/index.js +1 -1
  81. package/dist/cdn/main.css +1 -1
  82. package/dist/chunks/AnalysisViewModel.js +106 -99
  83. package/dist/chunks/feature-utils.js +73 -73
  84. package/dist/chunks/layer-utils.js +33 -16
  85. package/dist/chunks/measurementUtils.js +44 -21
  86. package/dist/chunks/slots.js +20 -20
  87. package/dist/chunks/time-utils.js +24 -22
  88. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  89. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +20 -11
  90. package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
  91. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  92. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +22 -20
  93. package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
  94. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  95. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  96. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -4
  97. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  98. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +120 -91
  99. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  100. package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -15
  101. package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
  102. package/dist/components/arcgis-building-explorer/customElement.d.ts +14 -73
  103. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  104. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -66
  105. package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
  106. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  107. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -12
  108. package/dist/components/arcgis-daylight/customElement.d.ts +25 -26
  109. package/dist/components/arcgis-daylight/customElement.js +120 -120
  110. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  111. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +22 -20
  112. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
  113. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  114. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  115. package/dist/components/arcgis-directions/customElement.d.ts +7 -8
  116. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +24 -11
  117. package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
  118. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  119. package/dist/components/arcgis-editor/customElement.d.ts +15 -16
  120. package/dist/components/arcgis-editor/customElement.js +2 -2
  121. package/dist/components/arcgis-elevation-profile/customElement.d.ts +27 -26
  122. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  123. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  124. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  125. package/dist/components/arcgis-expand/types.d.ts +1 -0
  126. package/dist/components/arcgis-feature/customElement.d.ts +32 -33
  127. package/dist/components/arcgis-feature/customElement.js +35 -35
  128. package/dist/components/arcgis-feature-fields/customElement.js +28 -27
  129. package/dist/components/arcgis-feature-form/customElement.d.ts +30 -11
  130. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  131. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  132. package/dist/components/arcgis-feature-table/customElement.d.ts +99 -63
  133. package/dist/components/arcgis-feature-table/customElement.js +12 -12
  134. package/dist/components/arcgis-feature-templates/customElement.d.ts +14 -12
  135. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
  136. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
  137. package/dist/components/arcgis-features/customElement.d.ts +57 -59
  138. package/dist/components/arcgis-features/customElement.js +43 -43
  139. package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -10
  140. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  141. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  142. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  143. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +35 -36
  144. package/dist/components/arcgis-home/customElement.d.ts +4 -6
  145. package/dist/components/arcgis-layer-list/customElement.d.ts +40 -41
  146. package/dist/components/arcgis-legend/customElement.d.ts +29 -30
  147. package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -13
  148. package/dist/components/arcgis-link-chart/customElement.d.ts +59 -49
  149. package/dist/components/arcgis-link-chart/customElement.js +42 -31
  150. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -2
  151. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +6 -3
  152. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  153. package/dist/components/arcgis-locate/customElement.d.ts +2 -3
  154. package/dist/components/arcgis-map/customElement.d.ts +139 -129
  155. package/dist/components/arcgis-map/customElement.js +24 -13
  156. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  157. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
  158. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -11
  159. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  160. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  161. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -3
  162. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
  163. package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
  164. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
  165. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
  166. package/dist/components/arcgis-paste/customElement.d.ts +1 -1
  167. package/dist/components/arcgis-paste/customElement.js +6 -7
  168. package/dist/components/arcgis-popup/customElement.d.ts +54 -55
  169. package/dist/components/arcgis-popup/customElement.js +1 -1
  170. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
  171. package/dist/components/arcgis-print/customElement.d.ts +29 -18
  172. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
  173. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  174. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  175. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  176. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  177. package/dist/components/arcgis-scene/customElement.d.ts +155 -150
  178. package/dist/components/arcgis-scene/customElement.js +20 -9
  179. package/dist/components/arcgis-search/customElement.d.ts +37 -30
  180. package/dist/components/arcgis-search/customElement.js +20 -18
  181. package/dist/components/arcgis-shadow-cast/customElement.d.ts +61 -17
  182. package/dist/components/arcgis-sketch/customElement.d.ts +55 -36
  183. package/dist/components/arcgis-sketch/customElement.js +20 -8
  184. package/dist/components/arcgis-slice/customElement.d.ts +16 -16
  185. package/dist/components/arcgis-slice/customElement.js +6 -6
  186. package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
  187. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +119 -88
  188. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  189. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +42 -48
  190. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +44 -51
  191. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +103 -91
  192. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  193. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +143 -88
  194. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  195. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +9 -12
  196. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +64 -82
  197. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +72 -91
  198. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
  199. package/dist/components/arcgis-swipe/customElement.d.ts +6 -6
  200. package/dist/components/arcgis-table-list/customElement.d.ts +109 -73
  201. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  202. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  203. package/dist/components/arcgis-time-slider/customElement.d.ts +17 -19
  204. package/dist/components/arcgis-time-zone-label/customElement.d.ts +16 -29
  205. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  206. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  207. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  208. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
  209. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  210. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -4
  211. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -5
  212. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
  213. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  214. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
  215. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
  216. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
  217. package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
  218. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  219. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
  220. package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
  221. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  222. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  223. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +39 -40
  224. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  225. package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
  226. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  227. package/dist/components/arcgis-video-player/customElement.d.ts +5 -5
  228. package/dist/components/arcgis-video-player/customElement.js +2 -2
  229. package/dist/components/arcgis-volume-measurement/customElement.d.ts +31 -27
  230. package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
  231. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  232. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  233. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  234. package/dist/components/arcgis-zoom/customElement.d.ts +6 -2
  235. package/dist/components/types.d.ts +56 -1
  236. package/dist/docs/api.json +1 -1
  237. package/dist/docs/docs.json +1 -1
  238. package/dist/docs/vscode.html-custom-data.json +1 -1
  239. package/dist/docs/web-types.json +1 -1
  240. package/dist/index.d.ts +6 -28
  241. package/dist/loader.js +18 -18
  242. package/dist/types/lumina.d.ts +17 -39
  243. package/dist/types/preact.d.ts +17 -43
  244. package/dist/types/react.d.ts +17 -47
  245. package/dist/types/stencil.d.ts +17 -39
  246. package/package.json +4 -4
  247. package/dist/cdn/23UYZVTW.js +0 -2
  248. package/dist/cdn/3GZCJE62.js +0 -2
  249. package/dist/cdn/4TURMTXA.js +0 -2
  250. package/dist/cdn/55QGHI47.js +0 -2
  251. package/dist/cdn/6UX4KWBN.js +0 -2
  252. package/dist/cdn/7UR4M6PN.js +0 -2
  253. package/dist/cdn/AGYDL2DX.js +0 -2
  254. package/dist/cdn/B5XR4LXQ.js +0 -2
  255. package/dist/cdn/CKNH5OMJ.js +0 -2
  256. package/dist/cdn/DOLELC6W.js +0 -2
  257. package/dist/cdn/EYNKJZG3.js +0 -2
  258. package/dist/cdn/FEQLUSM2.js +0 -2
  259. package/dist/cdn/HR2OOT3F.js +0 -2
  260. package/dist/cdn/I2MQQXVU.js +0 -2
  261. package/dist/cdn/JDZWJLJX.js +0 -2
  262. package/dist/cdn/KECAR2NZ.js +0 -2
  263. package/dist/cdn/LZFDWRYI.js +0 -2
  264. package/dist/cdn/M7VTEC3S.js +0 -2
  265. package/dist/cdn/MRE5HCIK.js +0 -2
  266. package/dist/cdn/MW73TE2N.js +0 -2
  267. package/dist/cdn/MWBGBBXT.js +0 -2
  268. package/dist/cdn/PNDLNFML.js +0 -2
  269. package/dist/cdn/PQJAXYJ2.js +0 -2
  270. package/dist/cdn/RJ76OXB6.js +0 -2
  271. package/dist/cdn/SKW7HQZ6.js +0 -2
  272. package/dist/cdn/SRSYUCVL.js +0 -2
  273. package/dist/cdn/U3LH3AZH.js +0 -2
  274. package/dist/cdn/UTH3SGAS.js +0 -2
  275. package/dist/cdn/VJMMA6UX.js +0 -2
  276. package/dist/cdn/W2E5L6DS.js +0 -2
  277. package/dist/cdn/WGXSSEAL.js +0 -2
  278. package/dist/cdn/X6OVNOLQ.js +0 -2
  279. package/dist/cdn/X7YUU7TS.js +0 -2
  280. package/dist/cdn/XO6U6OVM.js +0 -2
  281. package/dist/cdn/Y53D5YAC.js +0 -2
  282. package/dist/cdn/YGJFZRA4.js +0 -2
  283. package/dist/cdn/YKTB6AFH.js +0 -2
  284. package/dist/cdn/YWQGP6MB.js +0 -2
  285. package/dist/cdn/ZMLRDNKR.js +0 -2
  286. package/dist/cdn/ZUTQE3OX.js +0 -2
  287. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  288. package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
  289. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  290. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  291. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  292. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  293. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  294. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  295. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  296. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  297. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  298. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  299. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  300. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  301. package/dist/components/support/goTo.d.ts +0 -37
  302. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  303. package/dist/support/heading.d.ts +0 -1
  304. package/dist/support/measurementUtils.d.ts +0 -1
  305. package/dist/utils/action-utils.d.ts +0 -3
  306. package/dist/utils/component-utils.d.ts +0 -5
  307. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  308. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  309. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  310. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  311. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  312. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  313. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  314. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  315. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  316. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  317. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  318. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  319. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  320. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  321. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  322. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  323. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  324. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  325. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  326. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  327. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  328. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  329. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  330. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  331. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  332. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  333. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  334. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  335. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  336. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  337. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  338. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  339. /package/dist/cdn/{2VC2VUTP.js → RUB6EORR.js} +0 -0
  340. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  341. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  342. /package/dist/cdn/{5PRNT4KD.js → U4QW6VHU.js} +0 -0
  343. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  344. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  345. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  346. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  347. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  348. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  349. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  350. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
  351. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  352. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -4,18 +4,15 @@ import type Collection from "@arcgis/core/core/Collection.js";
4
4
  import type SceneView from "@arcgis/core/views/SceneView";
5
5
  import type MapView from "@arcgis/core/views/MapView";
6
6
  import type { ReadonlyArrayOrCollection } from "@arcgis/core/core/Collection.js";
7
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
8
- import type { BookmarkOptions, BookmarkEditEvent, BookmarkSelectEvent } from "./types.js";
9
- import type { HeadingLevel } from "../../support/heading.js";
10
- import type { IconName } from "../../utils/action-utils.js";
11
- import type { GoToOverride } from "../support/goTo.js";
7
+ import type { ArcgisReferenceElement, IconName, HeadingLevel, GoToOverride } from "../types.js";
8
+ import type { BookmarkOptions, BookmarkEditEvent, BookmarkSelectEvent, BookmarksState } from "./types.js";
12
9
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
10
  import type { T9nMeta } from "@arcgis/lumina/controllers";
14
11
 
15
12
  /**
16
13
  * The Bookmarks component allows end users to quickly navigate to a particular area of interest.
17
- * It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html),
18
- * which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).
14
+ * It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/),
15
+ * which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks).
19
16
  *
20
17
  * Each bookmark may contain the following properties: `name`, `thumbnail`, `viewpoint` (defines rotation, scale, and target geometry), and `timeExtent`.
21
18
  * When a bookmark with a timeExtent is selected, the [arcgis-map.timeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeExtent) of the Map will be set to the timeExtent of the selected bookmark.
@@ -25,7 +22,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
25
22
  * To enable these features, set the following properties to `true`:
26
23
  * [showAddBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showAddBookmarkButton), [showEditBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showEditBookmarkButton), and [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#dragEnabled).
27
24
  *
28
- * **Note:** Bookmarks are supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) only if they come from a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks) or are [provided manually](#bookmarks). [Presentation](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Presentation.html) provides a similar experience for [WebScenes](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Presentation.html).
25
+ * **Note:** Bookmarks are supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) only if they come from a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks) or are [provided manually](#bookmarks). [Presentation](https://developers.arcgis.com/javascript/latest/references/core/webscene/Presentation/) provides a similar experience for [WebScenes](https://developers.arcgis.com/javascript/latest/references/core/webscene/Presentation/).
29
26
  *
30
27
  * @since 4.28
31
28
  * @see [Sample - Bookmarks component](https://developers.arcgis.com/javascript/latest/sample-code/bookmarks/)
@@ -42,7 +39,7 @@ export abstract class ArcgisBookmarks extends LitElement {
42
39
  */
43
40
  accessor autoDestroyDisabled: boolean;
44
41
  /**
45
- * A collection of [Bookmark](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html)s. These are typically defined inside of a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks), but can also be defined manually, as shown in the code snippet below.
42
+ * A collection of [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/)s. These are typically defined inside of a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks), but can also be defined manually, as shown in the code snippet below.
46
43
  *
47
44
  * @example
48
45
  * ```js
@@ -123,7 +120,7 @@ export abstract class ArcgisBookmarks extends LitElement {
123
120
  get defaultEditOptions(): BookmarkOptions;
124
121
  set defaultEditOptions(value: Partial<BookmarkOptions>);
125
122
  /**
126
- * When true, the component is visually withdrawn and cannot be interacted with.
123
+ * When true, the component is visually withdrawn and cannot receive user interaction.
127
124
  *
128
125
  * @default false
129
126
  */
@@ -383,7 +380,7 @@ export abstract class ArcgisBookmarks extends LitElement {
383
380
  defaultEditOptions?: Partial<BookmarkOptions>;
384
381
  };
385
382
  /**
386
- * Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html) is edited.
383
+ * Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/) is edited.
387
384
  *
388
385
  * @since 4.34
389
386
  * @example
@@ -397,7 +394,7 @@ export abstract class ArcgisBookmarks extends LitElement {
397
394
  */
398
395
  readonly arcgisBookmarkEdit: import("@arcgis/lumina").TargetedEvent<this, BookmarkEditEvent>;
399
396
  /**
400
- * Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html) is selected.
397
+ * Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/) is selected.
401
398
  *
402
399
  * @since 4.34
403
400
  * @example
@@ -432,6 +429,4 @@ export abstract class ArcgisBookmarks extends LitElement {
432
429
  arcgisPropertyChange: ArcgisBookmarks["arcgisPropertyChange"]["detail"];
433
430
  arcgisReady: ArcgisBookmarks["arcgisReady"]["detail"];
434
431
  };
435
- }
436
-
437
- export type BookmarksState = "loading" | "ready";
432
+ }
@@ -1,6 +1,13 @@
1
1
  import type Bookmark from "@arcgis/core/webmap/Bookmark.js";
2
2
  import type { UserSettings } from "@arcgis/core/views/types";
3
3
 
4
+ /**
5
+ * Specifies the state of the Bookmarks component.
6
+ *
7
+ * @since 5.0
8
+ */
9
+ export type BookmarksState = "loading" | "ready";
10
+
4
11
  /**
5
12
  * Specifies how bookmarks will be created or modified.
6
13
  *
@@ -8,32 +15,32 @@ import type { UserSettings } from "@arcgis/core/views/types";
8
15
  */
9
16
  export type BookmarkOptions = {
10
17
  /**
11
- * Indicates whether the rotation of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html#viewpoint) of a newly created or modified bookmark. Default is `true`.
18
+ * Indicates whether the rotation of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
12
19
  *
13
20
  * @since 5.0
14
21
  */
15
22
  captureRotation?: boolean;
16
23
  /**
17
- * Indicates whether the scale of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html#viewpoint) of a newly created or modified bookmark. Default is `true`.
24
+ * Indicates whether the scale of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
18
25
  *
19
26
  * @since 5.0
20
27
  */
21
28
  captureScale?: boolean;
22
29
  /**
23
- * Indicates whether the time extent of the current view will be saved in the [Bookmark#timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html#timeExtent) of a newly created or modified bookmark. Default is `true`.
30
+ * Indicates whether the time extent of the current view will be saved in the [Bookmark#timeExtent](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#timeExtent) of a newly created or modified bookmark. Default is `true`.
24
31
  *
25
32
  * @since 5.0
26
33
  */
27
34
  captureTimeExtent?: boolean;
28
35
  /**
29
- * Indicates whether the viewpoint of the current view will become the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html#viewpoint) of a newly created or modified bookmark. Default is `true`.
36
+ * Indicates whether the viewpoint of the current view will become the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
30
37
  *
31
38
  * @since 5.0
32
39
  */
33
40
  captureViewpoint?: boolean;
34
41
  /**
35
42
  * An object that specifies the settings of the screenshot that will be used to create the bookmark's
36
- * [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html#thumbnail).
43
+ * [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#thumbnail).
37
44
  * The default screenshot size is 128px x 128px.
38
45
  *
39
46
  * @since 5.0
@@ -41,7 +48,7 @@ export type BookmarkOptions = {
41
48
  screenshotSettings?: Partial<UserSettings>;
42
49
  /**
43
50
  * Indicates whether a screenshot is taken when a new bookmark is created.
44
- * The screenshot will be set as the [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html#thumbnail) in the newly created bookmark. Default is `true`.
51
+ * The screenshot will be set as the [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#thumbnail) in the newly created bookmark. Default is `true`.
45
52
  *
46
53
  * @since 5.0
47
54
  */
@@ -2,34 +2,30 @@
2
2
  import type SceneView from "@arcgis/core/views/SceneView.js";
3
3
  import type BuildingSceneLayer from "@arcgis/core/layers/BuildingSceneLayer.js";
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
6
- import type { IconName } from "../../utils/action-utils.js";
7
- import type { HeadingLevel } from "../../support/heading.js";
5
+ import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
8
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
9
7
 
10
- export type Messages = ReturnType<typeof messages>;
11
-
12
8
  /**
13
- * The Building Explorer component is used to filter and explore the various building elements of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of building elements grouped in sublayers. Using the Building Explorer component, buildings can be filtered by [level](#level), [construction phase](#phase) or by disciplines and categories.
9
+ * The Building Explorer component is used to filter and explore the various building elements of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of building elements grouped in sublayers. Using the Building Explorer component, buildings can be filtered by [level](#level), [construction phase](#phase) or by disciplines and categories.
14
10
  * The visibility of these elements can be configured using the component's [hideLevels](#hideLevels), [hidePhases](#hidePhases) and [hideDisciplines](#hideDisciplines) properties.
15
11
  *
16
12
  * [![building-explorer](https://developers.arcgis.com/javascript/latest/assets/img/components/building-explorer/building-explorer.png)](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-filter/)
17
13
  *
18
- * The [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html) to be explored have to be set on the [layers](#layers) property of the component. When setting multiple layers, the filters set by the Building Explorer component will be applied on all layers. The component doesn't allow the user to select between multiple layers present in a scene.
14
+ * The [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) to be explored have to be set on the [layers](#layers) property of the component. When setting multiple layers, the filters set by the Building Explorer component will be applied on all layers. The component doesn't allow the user to select between multiple layers present in a scene.
19
15
  *
20
- * Often, [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html) contain an _Overview_ [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-buildingSublayers-BuildingComponentSublayer.html) that serves as an exterior shell and views the building model as a single feature. When a layer is added to the Building Explorer component, the visibility of the _Overview_ layer is turned off, so that the user can directly interact with the individual features in the _Full Model_ [BuildingGroupSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-buildingSublayers-BuildingGroupSublayer.html).
16
+ * Often, [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) contain an _Overview_ [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingComponentSublayer/) that serves as an exterior shell and views the building model as a single feature. When a layer is added to the Building Explorer component, the visibility of the _Overview_ layer is turned off, so that the user can directly interact with the individual features in the _Full Model_ [BuildingGroupSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingGroupSublayer/).
21
17
  *
22
18
  * The Level element of the Building Explorer component allows to select a single level in one or several buildings. When selecting a level, the levels above it are hidden and the levels below it become semi-transparent for added visual context.
23
19
  *
24
- * Some [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html) include information indicating the phase in which building elements, such as doors or pipes, were created and, optionally, when they were demolished. If a layer has multiple construction phases, these will be displayed in the Construction phases element. When selecting a construction phase, all the building elements created during or before the phase are selected. Demolished building elements aren't displayed.
20
+ * Some [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) include information indicating the phase in which building elements, such as doors or pipes, were created and, optionally, when they were demolished. If a layer has multiple construction phases, these will be displayed in the Construction phases element. When selecting a construction phase, all the building elements created during or before the phase are selected. Demolished building elements aren't displayed.
25
21
  *
26
- * Discipline layers are [group layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-buildingSublayers-BuildingGroupSublayer.html) that organize the [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html) content into architectural, structural, mechanical, or electrical groups. These layers contain a number of Category layers such as walls, windows, furniture, and lighting fixtures. These layers can be turned on and off in the Disciplines and Categories list.
22
+ * Discipline layers are [group layers](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingGroupSublayer/) that organize the [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) content into architectural, structural, mechanical, or electrical groups. These layers contain a number of Category layers such as walls, windows, furniture, and lighting fixtures. These layers can be turned on and off in the Disciplines and Categories list.
27
23
  *
28
24
  * The Building Explorer component can only display filters set by the component itself. Filters set by other applications will be ignored.
29
25
  *
30
26
  * **Known limitations**
31
27
  *
32
- * Building Explorer is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
28
+ * Building Explorer is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
33
29
  *
34
30
  * **See also**
35
31
  *
@@ -88,7 +84,7 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
88
84
  /** The component's default label. */
89
85
  accessor label: string | undefined;
90
86
  /**
91
- * A list of layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html) that are added to the component for exploration.
87
+ * A list of layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) that are added to the component for exploration.
92
88
  *
93
89
  * The component UI is only displayed when this property is set. In case of multiple layers, the component will display and apply the filters on all layers.
94
90
  *
@@ -96,14 +92,14 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
96
92
  */
97
93
  accessor layers: BuildingSceneLayer[];
98
94
  /**
99
- * The currently selected building level.
95
+ * The currently selected value for the building level filter.
100
96
  *
101
97
  * @since 5.0
102
98
  */
103
99
  get level(): number;
104
100
  set level(value: number | undefined);
105
101
  /**
106
- * Indicates whether the level picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).
102
+ * Indicates whether the level picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
107
103
  *
108
104
  * @default false
109
105
  * @since 5.0
@@ -173,14 +169,15 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
173
169
  loading: string;
174
170
  }>;
175
171
  /**
176
- * The currently selected construction phase.
172
+ * The currently selected value for the construction phase filter.
173
+ * Construction phases are used to track site development for a [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/). Setting a construction phase in the Building Explorer selects everything in the layer which is already constructed at that phase (created phase <= selected phase) but not yet demolished (demolished phase > selected phase). The goal is to display what the building or construction site looks like at that selected phase.
177
174
  *
178
175
  * @since 5.0
179
176
  */
180
177
  get phase(): number;
181
178
  set phase(value: number | undefined);
182
179
  /**
183
- * Indicates whether the phase picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).
180
+ * Indicates whether the phase picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
184
181
  *
185
182
  * @default false
186
183
  * @since 5.0
@@ -231,60 +228,4 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
231
228
  arcgisBuildingPhaseChange: ArcgisBuildingExplorer["arcgisBuildingPhaseChange"]["detail"];
232
229
  arcgisReady: ArcgisBuildingExplorer["arcgisReady"]["detail"];
233
230
  };
234
- }
235
-
236
- export const messages: (value: {
237
- level: {
238
- title: string;
239
- selectLevel: string;
240
- clearLevel: string;
241
- nextLevel: string;
242
- previousLevel: string;
243
- currentLevel: string;
244
- };
245
- phase: {
246
- title: string;
247
- nextPhase: string;
248
- previousPhase: string;
249
- currentPhase: string;
250
- };
251
- disciplines: {
252
- title: string;
253
- expand: string;
254
- collapse: string;
255
- hideSublayer: string;
256
- showSublayer: string;
257
- };
258
- failed: string;
259
- unsupported: string;
260
- noData: string;
261
- componentLabel: string;
262
- loading: string;
263
- }) => {
264
- level: {
265
- title: string;
266
- selectLevel: string;
267
- clearLevel: string;
268
- nextLevel: string;
269
- previousLevel: string;
270
- currentLevel: string;
271
- };
272
- phase: {
273
- title: string;
274
- nextPhase: string;
275
- previousPhase: string;
276
- currentPhase: string;
277
- };
278
- disciplines: {
279
- title: string;
280
- expand: string;
281
- collapse: string;
282
- hideSublayer: string;
283
- showSublayer: string;
284
- };
285
- failed: string;
286
- unsupported: string;
287
- noData: string;
288
- componentLabel: string;
289
- loading: string;
290
- };
231
+ }
@@ -124,7 +124,7 @@ let n = class extends z {
124
124
  }
125
125
  /**
126
126
  * Whether the filter is disabled. If true, the filter's expression won't be
127
- * used to filter a [BuildingSceneLayer](https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).
127
+ * used to filter a [BuildingSceneLayer](https://next.gha.afd.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
128
128
  *
129
129
  * @default true
130
130
  */
@@ -549,10 +549,10 @@ class we extends J {
549
549
  e == null ? this.#t.allowedValues = null : this.#t.allowedValues = e;
550
550
  }
551
551
  get levelDisabled() {
552
- return this.#e?.disabled;
552
+ return this.#e.disabled;
553
553
  }
554
554
  get phaseDisabled() {
555
- return this.#t?.disabled;
555
+ return this.#t.disabled;
556
556
  }
557
557
  async destroy() {
558
558
  await this.manager.destroy();
@@ -5,8 +5,7 @@ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
5
5
  import type Collection2 from "@arcgis/core/core/Collection.js";
6
6
  import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
7
7
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
8
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
9
- import type { IconName } from "../../utils/action-utils.js";
8
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
10
9
  import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
11
10
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
12
11
  import type { FilterPredicate, ListItemModifier, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
@@ -15,9 +14,54 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
15
14
  import type { CatalogLayerListState } from "@arcgis/core/widgets/CatalogLayerList/types.js";
16
15
 
17
16
  /**
18
- * The Catalog Layer List component provides a way to display and interact with CatalogLayers.
17
+ * The Catalog Layer List provides a way to display and interact with [CatalogLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/).
18
+ * The component displays a list of layers in the [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer)
19
+ * and allows you to toggle their visibility.
20
+ *
21
+ * The [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) API provides access to each layer's properties, allows
22
+ * the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
19
23
  *
20
24
  * @since 4.31
25
+ * @example
26
+ * ```js
27
+ * const catalogLayerListElement = document.createElement("arcgis-catalog-layer-list");
28
+ * catalogLayerListElement.referenceElement = viewElement;
29
+ * catalogLayerListElement.slot = "top-right";
30
+ * viewElement.appendChild(catalogLayerListElement);
31
+ *
32
+ * catalogLayerListElement.listItemCreatedFunction = (event) => {
33
+ * const { item } = event;
34
+ * const { layer } = item;
35
+ *
36
+ * if (isLayerFromCatalog(layer)) {
37
+ * item.actionsSections = [
38
+ * [
39
+ * {
40
+ * title: "Add layer to map",
41
+ * icon: "add-layer",
42
+ * id: "add-layer"
43
+ * }
44
+ * ]
45
+ * ];
46
+ * }
47
+ * }
48
+ *
49
+ * // Listen for the arcgisTriggerAction event on the CatalogLayerList
50
+ * // and add layers from the catalog to the map when the "add-layer" action is triggered.
51
+ * // To correctly add a layer to the map, you must create a footprint from the layer
52
+ * // and then create a new layer from the footprint.
53
+ * catalogLayerList.addEventListener("arcgisTriggerAction", async (event) => {
54
+ * const { id } = event.action;
55
+ * const { layer } = event.item;
56
+ *
57
+ * if (id === "add-layer") {
58
+ * const parentCatalogLayer = catalogUtils.getCatalogLayerForLayer(layer);
59
+ * const footprint = parentCatalogLayer.createFootprintFromLayer(layer);
60
+ * const layerFromFootprint = await parentCatalogLayer.createLayerFromFootprint(footprint);
61
+ * viewElement.map.add(layerFromFootprint);
62
+ * }
63
+ * });
64
+ * ```
21
65
  */
22
66
  export abstract class ArcgisCatalogLayerList extends LitElement {
23
67
  /**
@@ -30,12 +74,15 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
30
74
  * @default false
31
75
  */
32
76
  accessor autoDestroyDisabled: boolean;
33
- /** A collection of ListItems representing the catalogLayers dynamicGroupLayer. */
77
+ /** A collection of ListItems representing the CatalogLayer's [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer). */
34
78
  get catalogItems(): Collection<ListItem>;
35
79
  /**
36
- * The [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html) to display in the component.
80
+ * The [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) to display in the component.
37
81
  *
38
- * @example catalogLayerList.catalogLayer = new CatalogLayer({ url });
82
+ * @example
83
+ * ```js
84
+ * catalogLayerListElement.catalogLayer = new CatalogLayer({ url });
85
+ * ```
39
86
  */
40
87
  accessor catalogLayer: CatalogLayer | null | undefined;
41
88
  /**
@@ -51,34 +98,45 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
51
98
  *
52
99
  * @default false
53
100
  * @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showCollapseButton)
54
- * @example catalogLayerList.collapsed = true;
101
+ * @example
102
+ * ```js
103
+ * catalogLayerListElement.collapsed = true;
104
+ * ```
55
105
  */
56
106
  accessor collapsed: boolean;
57
107
  /**
58
- * Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#visibleElements) is true.
108
+ * Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter) is true.
59
109
  *
60
110
  * @default ""
61
111
  * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
62
- * @example catalogLayerList.filterPlaceholder = "Filter layers";
112
+ * @example
113
+ * ```js
114
+ * catalogLayerListElement.filterPlaceholder = "Filter layers";
115
+ * ```
63
116
  */
64
117
  accessor filterPlaceholder: string;
65
118
  /**
66
- * Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html).
119
+ * Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
67
120
  *
68
121
  * @since 4.32
69
- * @example layerList.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
122
+ * @example
123
+ * ```js
124
+ * catalogLayerListElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
125
+ * ```
70
126
  */
71
127
  accessor filterPredicate: FilterPredicate | null | undefined;
72
128
  /**
73
- * The value of the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#visibleElements) is true.
129
+ * The value of the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter) is true.
74
130
  *
75
131
  * @default ""
76
132
  * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
77
133
  * @example
134
+ * ```js
78
135
  * reactiveUtils.watch(
79
- * () => catalogLayerList.filterText,
136
+ * () => catalogLayerListElement.filterText,
80
137
  * (filterText) => console.log(filterText)
81
138
  * );
139
+ * ```
82
140
  */
83
141
  accessor filterText: string;
84
142
  /**
@@ -89,7 +147,10 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
89
147
  *
90
148
  * @default 2
91
149
  * @see [showHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showHeading)
92
- * @example catalogLayerList.headingLevel = 3;
150
+ * @example
151
+ * ```js
152
+ * catalogLayerListElement.headingLevel = 3;
153
+ * ```
93
154
  */
94
155
  accessor headingLevel: HeadingLevel;
95
156
  /**
@@ -116,60 +177,42 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
116
177
  */
117
178
  accessor label: string;
118
179
  /**
119
- * A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html) is created.
180
+ * A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) is created.
120
181
  * Use this function to add actions and panels to list items, and to override
121
182
  * the default settings of a list item. Actions can be added to list items
122
- * using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html#actionsSections).
183
+ * using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections).
123
184
  *
124
185
  * @example
125
- * // Create a new CatalogLayerList with a listItemCreatedFunction
126
- * // that adds an "add-layer" action to each catalog layer list item
127
- * const catalogLayerList = new CatalogLayerList({
128
- * catalogLayer,
129
- * listItemCreatedFunction: (event) => {
130
- * const { item } = event;
131
- * const { layer } = item;
132
- *
133
- * if (isLayerFromCatalog(layer)) {
134
- * item.actionsSections = [
135
- * [
136
- * {
137
- * title: "Add layer to map",
138
- * icon: "add-layer",
139
- * id: "add-layer"
140
- * }
141
- * ]
142
- * ];
143
- * }
144
- * },
145
- * view
146
- * });
186
+ * ```js
187
+ * catalogLayerListElement.listItemCreatedFunction = (event) => {
188
+ * const { item } = event;
189
+ * const { layer } = item;
147
190
  *
148
- * // Listen for the trigger-action event on the CatalogLayerListViewModel
149
- * // and add layers from the catalog to the map when the "add-layer" action is triggered.
150
- * // To correctly add a layer to the map, you must create a footprint from the layer
151
- * // and then create a new layer from the footprint.
152
- * catalogLayerList.on("trigger-action", async (event) => {
153
- * const { id } = event.action;
154
- * const { layer } = event.item;
155
- *
156
- * if (id === "add-layer") {
157
- * const parentCatalogLayer = catalogUtils.getCatalogLayerForLayer(layer);
158
- * const footprint = parentCatalogLayer.createFootprintFromLayer(layer);
159
- * const layerFromFootprint = await parentCatalogLayer.createLayerFromFootprint(footprint);
160
- * map.add(layerFromFootprint);
191
+ * if (isLayerFromCatalog(layer)) {
192
+ * item.actionsSections = [
193
+ * [
194
+ * {
195
+ * title: "Add layer to map",
196
+ * icon: "add-layer",
197
+ * id: "add-layer"
198
+ * }
199
+ * ]
200
+ * ];
161
201
  * }
162
- * });
202
+ * }
203
+ * ```
163
204
  */
164
205
  accessor listItemCreatedFunction: ListItemModifier | null | undefined;
165
206
  /**
166
- * The minimum number of list items required to display the [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList-CatalogLayerListVisibleElements.html) input box.
207
+ * The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter) input box.
167
208
  *
168
209
  * @default 10
169
210
  * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
170
211
  * @example
171
- * layerList.showFilter = true;
172
- * layerList.minFilterItems = 5;
212
+ * ```js
213
+ * catalogLayerListElement.showFilter = true;
214
+ * catalogLayerListElement.minFilterItems = 5;
215
+ * ```
173
216
  */
174
217
  accessor minFilterItems: number;
175
218
  /**
@@ -179,16 +222,16 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
179
222
  */
180
223
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
181
224
  /**
182
- * A collection of selected [ListItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html) representing [catalogItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#catalogItems)
225
+ * A collection of selected [ListItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) representing [catalogItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#catalogItems)
183
226
  * selected by the user.
184
227
  *
185
- * @see [selectionMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#selectionMode)
186
- * @see [catalogItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#catalogItems)
228
+ * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#selectionMode)
229
+ * @see [catalogItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#catalogItems)
187
230
  */
188
231
  accessor selectedItems: Collection2<ListItem2>;
189
232
  /**
190
233
  * Specifies the selection mode.
191
- * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#selectedItems) property.
234
+ * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#selectedItems) property.
192
235
  *
193
236
  * | Value | Description |
194
237
  * | ----- | ----------- |
@@ -198,10 +241,13 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
198
241
  * | 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. |
199
242
  *
200
243
  * @default "none"
201
- * @see [selectedItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#selectedItems)
202
- * @example catalogLayerList.selectionMode = "multiple";
244
+ * @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#selectedItems)
245
+ * @example
246
+ * ```js
247
+ * catalogLayerListElement.selectionMode = "multiple";
248
+ * ```
203
249
  */
204
- accessor selectionMode: "none" | "multiple" | "single" | "single-persist";
250
+ accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
205
251
  /**
206
252
  * Indicates whether to display a close button in the header.
207
253
  *
@@ -224,21 +270,21 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
224
270
  */
225
271
  accessor showErrors: boolean;
226
272
  /**
227
- * Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [CatalogLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#minFilterItems), allowing users to filter layers by their title.
273
+ * Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [CatalogLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#minFilterItems), allowing users to filter layers by their title.
228
274
  *
229
275
  * @default false
230
276
  * @since 5.0
231
277
  */
232
278
  accessor showFilter: boolean;
233
279
  /**
234
- * Indicates whether to display the component's heading. The heading text is "Layer List". The heading level can be set with the [CatalogLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#headingLevel).
280
+ * Indicates whether to display the component's heading. The heading text is "Layer List". The heading level can be set with the [CatalogLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#headingLevel).
235
281
  *
236
282
  * @default false
237
283
  * @since 5.0
238
284
  */
239
285
  accessor showHeading: boolean;
240
286
  /**
241
- * Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#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.
287
+ * Indicates whether temporary layer indicators will be displayed 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.
242
288
  *
243
289
  * @default false
244
290
  * @since 5.0
@@ -264,7 +310,10 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
264
310
  * | 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/img/apiref/widgets/layer-list/visibilityAppearance-checkbox.png) |
265
311
  *
266
312
  * @default "default"
267
- * @example catalogLayerList.visibilityAppearance = "checkbox";
313
+ * @example
314
+ * ```js
315
+ * catalogLayerListElement.visibilityAppearance = "checkbox";
316
+ * ```
268
317
  */
269
318
  accessor visibilityAppearance: VisibilityAppearance;
270
319
  /** Permanently destroy the component. */