@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,27 +4,26 @@ import type ShadowCastAnalysis from "@arcgis/core/analysis/ShadowCastAnalysis.js
4
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
5
5
  import type Color from "@arcgis/core/Color.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
- import type { HeadingLevel } from "../../support/heading.js";
8
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
7
+ import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
9
8
  import type { T9nMeta } from "@arcgis/lumina/controllers";
10
9
  import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
11
10
  import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
12
11
 
13
12
  /**
14
13
  * The Shadow Cast component displays the cumulative shadows of 3D features in a
15
- * [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
14
+ * [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
16
15
  * This type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.
17
16
  *
18
17
  * The component calculates the cumulative shadows for a time range during a single day. The user can
19
18
  * configure the time range and select a calendar date. This time range and calendar date are only used
20
19
  * for the shadow analysis and are not connected to the lighting in the scene.
21
20
  * To control the lighting in the scene, use the
22
- * [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component.
21
+ * [arcgis-daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component.
23
22
  * Changing the timezone in the component updates the visualization by interpreting the time range as being
24
23
  * in that timezone. This behavior is different from the
25
- * [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component,
24
+ * [arcgis-daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component,
26
25
  * where selecting a timezone updates the
27
- * [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment)
26
+ * [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
28
27
  * date and time according to the camera position.
29
28
  *
30
29
  * The component provides three [modes](#mode): minimum duration, total duration, and discrete mode.
@@ -55,7 +54,7 @@ import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } f
55
54
  *
56
55
  * **Known limitations**
57
56
  *
58
- * * Shadow Cast is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
57
+ * * Shadow Cast is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
59
58
  * * Terrain does not cast shadows in this analysis. As a result, to avoid incorrect shadow visualization, `startTimeOfDay`
60
59
  * should be set after local sunrise and `endTimeOfDay` before local sunset. If these times fall outside daylight hours,
61
60
  * shadows may be missing in areas where terrain would normally block sunlight.
@@ -72,13 +71,13 @@ import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } f
72
71
  */
73
72
  export abstract class ArcgisShadowCast extends LitElement {
74
73
  /**
75
- * The [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html)
74
+ * The [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/)
76
75
  * created or modified by the component.
77
76
  *
78
- * When connecting the Shadow Cast component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
79
- * component, it automatically creates an empty analysis and adds it to the [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses)
77
+ * When connecting the Shadow Cast component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
78
+ * component, it automatically creates an empty analysis and adds it to the [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses)
80
79
  * collection.
81
- * You can then wait for the [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ShadowCastAnalysisView3D.html)
80
+ * You can then wait for the [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/)
82
81
  * to be created before accessing the analysis results.
83
82
  *
84
83
  * ```js
@@ -103,7 +102,7 @@ export abstract class ArcgisShadowCast extends LitElement {
103
102
  * ```
104
103
  * Whenever the component is destroyed, the analysis is automatically removed from the collection.
105
104
  *
106
- * Alternatively, a programmatically created [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html)
105
+ * Alternatively, a programmatically created [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/)
107
106
  * can be provided to the component.
108
107
  * Then, the application itself needs to add it to and later remove it from the analyses collection of the Scene component.
109
108
  *
@@ -123,6 +122,8 @@ export abstract class ArcgisShadowCast extends LitElement {
123
122
  * // Connect the analysis to the shadow cast component.
124
123
  * shadowCastElement.analysis = analysis;
125
124
  * ```
125
+ *
126
+ * @since 5.0
126
127
  */
127
128
  accessor analysis: ShadowCastAnalysis;
128
129
  /**
@@ -149,18 +150,22 @@ export abstract class ArcgisShadowCast extends LitElement {
149
150
  * Color of the shadow visualization in "discrete" [mode](#mode). The opacity of the visualization is mapped to the
150
151
  * number of overlapping shadows. No shadow corresponds to opacity 0 and maximum number of shadows corresponds to the
151
152
  * opacity set in this color value.
153
+ *
154
+ * @since 5.0
152
155
  */
153
156
  accessor discreteColor: Color;
154
157
  /**
155
158
  * Individual shadows are displayed at this time interval in "discrete" [mode](#mode), starting with the start time of
156
159
  * day. The interval is expressed in milliseconds. If set to 0, we'll use the smallest possible interval, up to a
157
160
  * maximum of 255 samples.
161
+ *
162
+ * @since 5.0
158
163
  */
159
164
  accessor discreteInterval: number;
160
165
  /**
161
166
  * Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.
162
167
  *
163
- * [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html#endTimeOfDay)
168
+ * [Read more](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#endTimeOfDay)
164
169
  */
165
170
  accessor endTimeOfDay: number;
166
171
  /**
@@ -179,66 +184,77 @@ export abstract class ArcgisShadowCast extends LitElement {
179
184
  * If true, the color picker will be hidden in the discrete mode options.
180
185
  *
181
186
  * @default false
187
+ * @since 5.0
182
188
  */
183
189
  accessor hideDiscreteColorPicker: boolean;
184
190
  /**
185
191
  * If true, the interval selector will be hidden in the discrete mode options.
186
192
  *
187
193
  * @default false
194
+ * @since 5.0
188
195
  */
189
196
  accessor hideDiscreteInterval: boolean;
190
197
  /**
191
198
  * If true, the visualization options will be hidden in discrete mode.
192
199
  *
193
200
  * @default false
201
+ * @since 5.0
194
202
  */
195
203
  accessor hideDiscreteOptions: boolean;
196
204
  /**
197
205
  * If true, the color picker will be hidden in the minimum duration mode options.
198
206
  *
199
207
  * @default false
208
+ * @since 5.0
200
209
  */
201
210
  accessor hideMinDurationColorPicker: boolean;
202
211
  /**
203
212
  * If true, the color picker will be hidden in the context options in minimum duration mode.
204
213
  *
205
214
  * @default false
215
+ * @since 5.0
206
216
  */
207
217
  accessor hideMinDurationContextColorPicker: boolean;
208
218
  /**
209
219
  * If true, the interval selector will be hidden in the context options in minimum duration mode.
210
220
  *
211
221
  * @default false
222
+ * @since 5.0
212
223
  */
213
224
  accessor hideMinDurationContextInterval: boolean;
214
225
  /**
215
226
  * If true, the context options will be hidden in the minimum duration mode options.
216
227
  *
217
228
  * @default false
229
+ * @since 5.0
218
230
  */
219
231
  accessor hideMinDurationContextOptions: boolean;
220
232
  /**
221
233
  * If true, the toggle used to show or hide the context options will be hidden.
222
234
  *
223
235
  * @default false
236
+ * @since 5.0
224
237
  */
225
238
  accessor hideMinDurationContextToggle: boolean;
226
239
  /**
227
240
  * If true, the visualization options will be hidden in minimum duration mode.
228
241
  *
229
242
  * @default false
243
+ * @since 5.0
230
244
  */
231
245
  accessor hideMinDurationOptions: boolean;
232
246
  /**
233
247
  * If true, the minimum duration slider will be hidden in the minimum duration mode options.
234
248
  *
235
249
  * @default false
250
+ * @since 5.0
236
251
  */
237
252
  accessor hideMinDurationSlider: boolean;
238
253
  /**
239
254
  * If true, the tooltip which displays the amount of shadow at a certain location will be hidden.
240
255
  *
241
256
  * @default false
257
+ * @since 5.0
242
258
  */
243
259
  accessor hideShadowDurationTooltip: boolean;
244
260
  /**
@@ -257,30 +273,35 @@ export abstract class ArcgisShadowCast extends LitElement {
257
273
  * If true, the color picker will be hidden in the total duration mode options.
258
274
  *
259
275
  * @default false
276
+ * @since 5.0
260
277
  */
261
278
  accessor hideTotalDurationColorPicker: boolean;
262
279
  /**
263
280
  * If true, the mode selector will be hidden in the total duration mode options.
264
281
  *
265
282
  * @default false
283
+ * @since 5.0
266
284
  */
267
285
  accessor hideTotalDurationModeSelect: boolean;
268
286
  /**
269
287
  * If true, the visualization options will be hidden in the total duration mode.
270
288
  *
271
289
  * @default false
290
+ * @since 5.0
272
291
  */
273
292
  accessor hideTotalDurationOptions: boolean;
274
293
  /**
275
294
  * Indicates whether the component's visualization is hidden in the view.
276
295
  *
277
296
  * @default false
297
+ * @since 5.0
278
298
  */
279
299
  accessor hideVisualization: boolean;
280
300
  /**
281
301
  * If true, the visualization options will be hidden.
282
302
  *
283
303
  * @default false
304
+ * @since 5.0
284
305
  */
285
306
  accessor hideVisualizationOptions: boolean;
286
307
  /**
@@ -293,7 +314,11 @@ export abstract class ArcgisShadowCast extends LitElement {
293
314
  accessor icon: Icon["icon"] | undefined;
294
315
  /** The component's default label. */
295
316
  accessor label: string | undefined;
296
- /** Maximum allowed value for the [minDuration](#minDuration) property, in milliseconds. */
317
+ /**
318
+ * Maximum allowed value for the [minDuration](#minDuration) property, in milliseconds.
319
+ *
320
+ * @since 5.0
321
+ */
297
322
  accessor maxMinDuration: number;
298
323
  /** @internal */
299
324
  protected messages: Partial<{
@@ -351,16 +376,24 @@ export abstract class ArcgisShadowCast extends LitElement {
351
376
  timezoneLabel: string;
352
377
  visualizationLabel: string;
353
378
  }>;
354
- /** The minimum duration (in milliseconds) used in "min-duration" [mode](#mode) to determine which shadow areas are displayed. */
379
+ /**
380
+ * The minimum duration (in milliseconds) used in "min-duration" [mode](#mode) to determine which shadow areas are displayed.
381
+ *
382
+ * @since 5.0
383
+ */
355
384
  accessor minDuration: number;
356
385
  /**
357
386
  * Color of the shadow visualization in "min-duration" [mode](#mode). The areas with cumulative shadow time longer than
358
387
  * the minimum duration value are displayed with this color.
388
+ *
389
+ * @since 5.0
359
390
  */
360
391
  accessor minDurationColor: Color;
361
392
  /**
362
393
  * The color used when showing additional context in "min-duration" [mode](#mode) when
363
394
  * [minDurationContextEnabled](#contextEnabled) is true.
395
+ *
396
+ * @since 5.0
364
397
  */
365
398
  accessor minDurationContextColor: Color;
366
399
  /**
@@ -370,17 +403,21 @@ export abstract class ArcgisShadowCast extends LitElement {
370
403
  * discrete shadows when context is enabled.
371
404
  *
372
405
  * @default false
406
+ * @since 5.0
373
407
  */
374
408
  accessor minDurationContextEnabled: boolean;
375
409
  /**
376
410
  * The interval in milliseconds used when showing additional context in "min-duration" [mode](#mode) when
377
411
  * [minDurationContextEnabled](#contextEnabled) is true.
412
+ *
413
+ * @since 5.0
378
414
  */
379
415
  accessor minDurationContextInterval: number;
380
416
  /**
381
417
  * Minimum allowed value for the [minDuration](#minDuration) property, in milliseconds.
382
418
  *
383
419
  * @default 0
420
+ * @since 5.0
384
421
  */
385
422
  accessor minMinDuration: number;
386
423
  /**
@@ -390,6 +427,8 @@ export abstract class ArcgisShadowCast extends LitElement {
390
427
  * within the selected time range. Optional discrete shadow overlays can provide additional context.
391
428
  * - "total-duration": Displays total shadow accumulation within the selected time range using opacity: areas with
392
429
  * longer shadow duration appear more opaque. Supports continuous or 1‑hour aggregated modes.
430
+ *
431
+ * @since 5.0
393
432
  */
394
433
  accessor mode: ShadowCastMode2;
395
434
  /**
@@ -401,7 +440,7 @@ export abstract class ArcgisShadowCast extends LitElement {
401
440
  /**
402
441
  * Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.
403
442
  *
404
- * [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html#startTimeOfDay)
443
+ * [Read more](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/#startTimeOfDay)
405
444
  */
406
445
  accessor startTimeOfDay: number;
407
446
  /**
@@ -415,11 +454,15 @@ export abstract class ArcgisShadowCast extends LitElement {
415
454
  * Color of the shadow visualization in "total-duration" [mode](#mode). The opacity is mapped to the time spent in shadow.
416
455
  * Areas that don't receive any shadow are displayed with zero opacity and areas that receive shadows for the entire
417
456
  * time range are displayed with the opacity specified in this property.
457
+ *
458
+ * @since 5.0
418
459
  */
419
460
  accessor totalDurationColor: Color;
420
461
  /**
421
462
  * Mode in which the cumulative shadow duration should be displayed in "total-duration" [mode](#mode): as a continuous
422
463
  * surface or as an hourly aggregation of values.
464
+ *
465
+ * @since 5.0
423
466
  */
424
467
  accessor totalDurationMode: ShadowCastTotalDurationMode;
425
468
  /** The difference in hours between UTC time and the times displayed in the component. */
@@ -442,9 +485,10 @@ export abstract class ArcgisShadowCast extends LitElement {
442
485
  /**
443
486
  * Returns the time (in milliseconds) spent in shadow for a certain point on the screen.
444
487
  *
445
- * [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ShadowCast-ShadowCastAnalysisView3D.html#getDurationAtScreen)
488
+ * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCast/ShadowCastAnalysisView3D/#getDurationAtScreen)
446
489
  *
447
490
  * @param point
491
+ * @since 5.0
448
492
  */
449
493
  getDurationAtScreen(point: Point): Promise<number>;
450
494
  "@setterTypes": {
@@ -5,27 +5,27 @@ import type Graphic from "@arcgis/core/Graphic.js";
5
5
  import type SketchLabelOptions from "@arcgis/core/views/interactive/sketch/SketchLabelOptions.js";
6
6
  import type MapNotesLayer from "@arcgis/core/layers/MapNotesLayer.js";
7
7
  import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
8
- import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/SketchTooltipOptions.js";
9
8
  import type TextSymbol from "@arcgis/core/symbols/TextSymbol.js";
9
+ import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/SketchTooltipOptions.js";
10
10
  import type Collection from "@arcgis/core/core/Collection.js";
11
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
13
- import type { IconName } from "../../utils/action-utils.js";
12
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
14
13
  import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent } from "@arcgis/core/widgets/Sketch/types";
15
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
16
- import type { SketchTool, SelectionTool, CreateTool as CreateTool2, CreationMode, CreateOptions as CreateOptions2, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, ToolbarKind, State } from "@arcgis/core/widgets/Sketch/types.js";
15
+ import type { SketchTool, SelectionTool, CreateTool as CreateTool2, CreationMode, CreateOptions as CreateOptions2, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
17
16
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
17
+ import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
18
18
 
19
19
  /**
20
- * The Sketch component provides a simple UI for creating and updating graphics on a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
20
+ * The Sketch component provides a simple UI for creating and updating graphics on a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) or a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
21
21
  *
22
22
  * @since 4.28
23
23
  */
24
24
  export abstract class ArcgisSketch extends LitElement {
25
25
  /**
26
- * When creating new graphics (for example after [create()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#create) has been called),
26
+ * When creating new graphics (for example after [create()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#create) has been called),
27
27
  * this property reflects the create tool being used. When updating graphics
28
- * (for example after [update()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#update) has been called), this property reflects the
28
+ * (for example after [update()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#update) has been called), this property reflects the
29
29
  * update tool being used. If no create or update operation is in progress, this is `null`.
30
30
  *
31
31
  * Prior to 4.32, creation tools were modeled as a combination of a geometry type (point, line, polygon)
@@ -63,7 +63,7 @@ export abstract class ArcgisSketch extends LitElement {
63
63
  /** The graphic that is being created. */
64
64
  get createGraphic(): Graphic | null | undefined;
65
65
  /**
66
- * Defines the default behavior once the [create()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#create) operation is completed. By default, the user will be
66
+ * Defines the default behavior once the [create()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#create) operation is completed. By default, the user will be
67
67
  * able to continuously create graphics with same geometry types.
68
68
  *
69
69
  * **Possible Values**
@@ -72,7 +72,7 @@ export abstract class ArcgisSketch extends LitElement {
72
72
  * ----- | ----------- |
73
73
  * continuous | This is the default. Users can continue creating graphics with same geometry types.
74
74
  * single | User can create a single graphic with the specified geometry type. User must choose an operation once the graphic is created.
75
- * update | The graphic will be selected for an [update()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#update) operation once the `create` operation is completed.
75
+ * update | The graphic will be selected for an [update()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#update) operation once the `create` operation is completed.
76
76
  *
77
77
  * @default "continuous"
78
78
  * @since 4.14
@@ -93,7 +93,7 @@ export abstract class ArcgisSketch extends LitElement {
93
93
  accessor defaultGraphicsLayerDisabled: boolean;
94
94
  /**
95
95
  * Default update options set for the Sketch component. Update options set on this property will be overwritten if the update options are changed
96
- * when [update()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#update) method is called.
96
+ * when [update()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#update) method is called.
97
97
  *
98
98
  * @since 4.11
99
99
  * @example
@@ -203,7 +203,7 @@ export abstract class ArcgisSketch extends LitElement {
203
203
  accessor hideSnappingControls: boolean;
204
204
  /**
205
205
  * Indicates whether to hide the `enabledToggle` (Enable snapping). This toggles
206
- * the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html#enabled) property.
206
+ * the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#enabled) property.
207
207
  * > [!WARNING]
208
208
  * >
209
209
  * > **Note**
@@ -217,14 +217,14 @@ export abstract class ArcgisSketch extends LitElement {
217
217
  accessor hideSnappingControlsElementsEnabledToggle: boolean;
218
218
  /**
219
219
  * Indicates whether to hide the `featureEnabledToggle` (Feature to feature). This toggles
220
- * the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html#featureEnabled) property.
220
+ * the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureEnabled) property.
221
221
  *
222
222
  * @default false
223
223
  * @since 5.0
224
224
  */
225
225
  accessor hideSnappingControlsElementsFeatureEnabledToggle: boolean;
226
226
  /**
227
- * Indicates whether to hide the [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-FeatureSnappingLayerSource.html) layerList. The layerlist provides the available layer sources supported for snapping.
227
+ * Indicates whether to hide the [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/) layerList. The layerlist provides the available layer sources supported for snapping.
228
228
  *
229
229
  * @default false
230
230
  * @since 5.0
@@ -232,7 +232,7 @@ export abstract class ArcgisSketch extends LitElement {
232
232
  accessor hideSnappingControlsElementsLayerList: boolean;
233
233
  /**
234
234
  * Indicates whether to hide the `selfEnabledToggle` (Geometry guides). This toggles
235
- * the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html#selfEnabled) property.
235
+ * the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#selfEnabled) property.
236
236
  *
237
237
  * @default false
238
238
  * @since 5.0
@@ -275,13 +275,13 @@ export abstract class ArcgisSketch extends LitElement {
275
275
  * >
276
276
  * > **Known Limitation**
277
277
  * >
278
- * > Sketch labels are currently only supported when working with a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
278
+ * > Sketch labels are currently only supported when working with a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
279
279
  *
280
280
  * @since 4.24
281
281
  */
282
282
  accessor labelOptions: SketchLabelOptions;
283
283
  /**
284
- * The [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) associated with the Sketch component. The Sketch component adds new [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) to this layer or can only update graphics
284
+ * The [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) associated with the Sketch component. The Sketch component adds new [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) to this layer or can only update graphics
285
285
  * stored in this layer.
286
286
  */
287
287
  accessor layer: GraphicsLayer | MapNotesLayer | null | undefined;
@@ -293,7 +293,7 @@ export abstract class ArcgisSketch extends LitElement {
293
293
  */
294
294
  accessor layout: Layout;
295
295
  /**
296
- * A [SimpleMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html), [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html), [PointSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PointSymbol3D.html), [TextSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html), [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html), or [WebStyleSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-WebStyleSymbol.html) used for representing the point geometry that is being drawn. [SimpleMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html) may also be used to symbolize point features in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html). However, it is recommended you use [PointSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PointSymbol3D.html) instead.
296
+ * A [SimpleMarkerSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleMarkerSymbol/), [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/PictureMarkerSymbol/), [PointSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/PointSymbol3D/), [TextSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/TextSymbol/), [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/), or [WebStyleSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/WebStyleSymbol/) used for representing the point geometry that is being drawn. [SimpleMarkerSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleMarkerSymbol/) may also be used to symbolize point features in a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). However, it is recommended you use [PointSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/PointSymbol3D/) instead.
297
297
  *
298
298
  * > [!WARNING]
299
299
  * >
@@ -316,7 +316,7 @@ export abstract class ArcgisSketch extends LitElement {
316
316
  */
317
317
  accessor pointSymbol: SketchPointSymbol;
318
318
  /**
319
- * A [SimpleFillSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html), [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PolygonSymbol3D.html), or [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html) used for representing the polygon geometry that is being drawn. [SimpleFillSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html) may also be used to symbolize polygon features in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html). However, it is recommended you use [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PolygonSymbol3D.html) instead.
319
+ * A [SimpleFillSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol/), [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/PolygonSymbol3D/), or [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/) used for representing the polygon geometry that is being drawn. [SimpleFillSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol/) may also be used to symbolize polygon features in a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). However, it is recommended you use [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/PolygonSymbol3D/) instead.
320
320
  *
321
321
  * > [!WARNING]
322
322
  * >
@@ -337,7 +337,7 @@ export abstract class ArcgisSketch extends LitElement {
337
337
  */
338
338
  accessor polygonSymbol: SketchPolygonSymbol;
339
339
  /**
340
- * A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html), [LineSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbol3D.html), or [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html) used for representing the polyline geometry that is being drawn. [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html) may also be used to symbolize polyline features in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html). However, it is recommended you use [LineSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbol3D.html) instead.
340
+ * A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/), [LineSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/LineSymbol3D/), or [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/) used for representing the polyline geometry that is being drawn. [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/) may also be used to symbolize polyline features in a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). However, it is recommended you use [LineSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/LineSymbol3D/) instead.
341
341
  *
342
342
  * > [!WARNING]
343
343
  * >
@@ -361,38 +361,55 @@ export abstract class ArcgisSketch extends LitElement {
361
361
  */
362
362
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
363
363
  /**
364
- * Determines the size of component elements.
364
+ * Indicates whether to display the freehandPolygon tool.
365
365
  *
366
- * @default "m"
367
- * @since 4.32
366
+ * @default false
367
+ * @since 5.0
368
368
  */
369
- accessor scale: "s" | "m" | "l";
369
+ accessor showCreateToolsFreehandPolygon: boolean;
370
370
  /**
371
- * Indicates whether to display the freehandPolygon tool. Default is `false`.
371
+ * Indicates whether to display the freehandPolyline tool.
372
372
  *
373
373
  * @default false
374
374
  * @since 5.0
375
375
  */
376
- accessor showCreateToolsFreehandPolygon: boolean;
376
+ accessor showCreateToolsFreehandPolyline: boolean;
377
377
  /**
378
- * Indicates whether to display the freehandPolyline tool. Default is `false`.
378
+ * Indicates whether to display the text tool.
379
379
  *
380
380
  * @default false
381
381
  * @since 5.0
382
382
  */
383
- accessor showCreateToolsFreehandPolyline: boolean;
383
+ accessor showCreateToolsText: boolean;
384
384
  /**
385
- * Indicates whether to display the header. Default is `false`.
385
+ * Indicates whether to display the header.
386
386
  *
387
387
  * @default false
388
388
  * @since 5.0
389
389
  */
390
390
  accessor showSnappingControlsElementsHeader: boolean;
391
- /** The [SnappingOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html) for sketching. It supports [self](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html#selfEnabled) and [feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html#featureEnabled) snapping. */
391
+ /** The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/) for sketching. It supports [self](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#selfEnabled) and [feature](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureEnabled) snapping. */
392
392
  accessor snappingOptions: SnappingOptions;
393
393
  /** The current state of the component. */
394
394
  get state(): State;
395
- /** A [TextSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html) used when creating features with the 'text' tool. */
395
+ /**
396
+ * A [TextSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/TextSymbol/) used for representing the geometry that is being drawn.
397
+ *
398
+ * > [!WARNING]
399
+ * >
400
+ * > **Known Limitation**
401
+ * > To avoid unintended side effects, instantiate a new symbol rather than modifying the current instance.
402
+ *
403
+ * The default value is the following:
404
+ * ```js
405
+ * {
406
+ * type: "text",
407
+ * text: "hello world"
408
+ * }
409
+ * ```
410
+ *
411
+ * @since 5.0
412
+ */
396
413
  accessor textSymbol: TextSymbol;
397
414
  /**
398
415
  * Controls the appearance of the sketch component, allowing the toolbar to adapt its appearance appropriately based on context.
@@ -404,19 +421,21 @@ export abstract class ArcgisSketch extends LitElement {
404
421
  * @since 4.32
405
422
  */
406
423
  accessor toolbarKind: ToolbarKind;
407
- /**
408
- * Options to configure the tooltip shown next to the cursor when creating or updating graphics.
409
- *
410
- * @since 4.24
411
- */
424
+ /** Options to configure the tooltip shown next to the cursor when creating or updating graphics. */
412
425
  accessor tooltipOptions: SketchTooltipOptions;
413
- /** An array of [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) that are being updated by the Sketch component. */
426
+ /** An array of [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) that are being updated by the Sketch component. */
414
427
  get updateGraphics(): Collection<Graphic>;
415
428
  /**
416
429
  * The view associated with the component.
417
430
  * > **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-sketch component will be associated with a map or scene component rather than using the `view` property.
418
431
  */
419
432
  accessor view: MapViewOrSceneView | null | undefined;
433
+ /**
434
+ * Specifies the size of the component.
435
+ *
436
+ * @since 5.0
437
+ */
438
+ accessor visualScale: Button["scale"];
420
439
  cancel(): Promise<void>;
421
440
  complete(): Promise<void>;
422
441
  /**