@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.51

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 (615) hide show
  1. package/dist/cdn/23HAYJDR.js +4 -0
  2. package/dist/cdn/2CDG6HD7.js +4 -0
  3. package/dist/cdn/2EKUK755.js +4 -0
  4. package/dist/cdn/2LEPUYNL.js +4 -0
  5. package/dist/cdn/2X5HT3OR.js +4 -0
  6. package/dist/cdn/2X7UJLWL.js +4 -0
  7. package/dist/cdn/35HMSGLA.js +4 -0
  8. package/dist/cdn/3DPIAPJU.js +4 -0
  9. package/dist/cdn/3NF7FJBP.js +4 -0
  10. package/dist/cdn/3RJTB2MQ.js +4 -0
  11. package/dist/cdn/44ZQIRNR.js +4 -0
  12. package/dist/cdn/47QYSQQI.js +4 -0
  13. package/dist/cdn/47VHUNU6.js +4 -0
  14. package/dist/cdn/4F6FSL4T.js +4 -0
  15. package/dist/cdn/4LPNSJCM.js +4 -0
  16. package/dist/cdn/{4MRPFB2F.js → 4SDYEIKE.js} +2 -2
  17. package/dist/cdn/4TG2R2QU.js +4 -0
  18. package/dist/cdn/52EMW3O2.js +4 -0
  19. package/dist/cdn/57FQE7CG.js +4 -0
  20. package/dist/cdn/{V32WTVMP.js → 5FKORFL4.js} +1 -1
  21. package/dist/cdn/5P67NND5.js +4 -0
  22. package/dist/cdn/{RNMVFT5P.js → 5TUSCZO2.js} +1 -1
  23. package/dist/cdn/5YR5YPEH.js +4 -0
  24. package/dist/cdn/5YXRIS4X.js +3 -0
  25. package/dist/cdn/66PSAFAX.js +4 -0
  26. package/dist/cdn/6OBEVEH7.js +4 -0
  27. package/dist/cdn/6ODSFWYE.js +4 -0
  28. package/dist/cdn/6OS77J7L.js +4 -0
  29. package/dist/cdn/6OUY3XXG.js +4 -0
  30. package/dist/cdn/6UFE5NN6.js +4 -0
  31. package/dist/cdn/6VF4IEDN.js +4 -0
  32. package/dist/cdn/6XJKM67Q.js +4 -0
  33. package/dist/cdn/6ZUHPUCU.js +4 -0
  34. package/dist/cdn/7ABP4YLG.js +5 -0
  35. package/dist/cdn/7F5MGIQN.js +4 -0
  36. package/dist/cdn/7KIW5BCC.js +4 -0
  37. package/dist/cdn/7OHN63MP.js +4 -0
  38. package/dist/cdn/7PMQXZ6J.js +4 -0
  39. package/dist/cdn/7VBSLXI6.js +4 -0
  40. package/dist/cdn/ABY3EJGK.js +4 -0
  41. package/dist/cdn/AJOE7HMC.js +4 -0
  42. package/dist/cdn/{54VGZGQT.js → ANEAZJAQ.js} +2 -2
  43. package/dist/cdn/AOILTLWV.js +4 -0
  44. package/dist/cdn/APLX2G3G.js +4 -0
  45. package/dist/cdn/AYT64V4O.js +4 -0
  46. package/dist/cdn/BPKJF4BQ.js +4 -0
  47. package/dist/cdn/BQWGRO5F.js +4 -0
  48. package/dist/cdn/CATEMY5Q.js +4 -0
  49. package/dist/cdn/CBDJEZIQ.js +4 -0
  50. package/dist/cdn/CL2KUYAV.js +4 -0
  51. package/dist/cdn/{RZWKYMUH.js → CNVEHUDF.js} +2 -2
  52. package/dist/cdn/COBMNV4T.js +4 -0
  53. package/dist/cdn/D6C2QQQG.js +4 -0
  54. package/dist/cdn/DGOWPVSJ.js +4 -0
  55. package/dist/cdn/DNPTHNCU.js +4 -0
  56. package/dist/cdn/{BNUZVD5L.js → DOC7KVHO.js} +2 -2
  57. package/dist/cdn/{JE6AJOV2.js → DQFJCFJE.js} +2 -2
  58. package/dist/cdn/DRDEFATT.js +4 -0
  59. package/dist/cdn/E6DQN3MY.js +4 -0
  60. package/dist/cdn/EBPGB4PM.js +4 -0
  61. package/dist/cdn/EKDI5BRX.js +4 -0
  62. package/dist/cdn/ENB3QCSY.js +4 -0
  63. package/dist/cdn/F6A67IBM.js +4 -0
  64. package/dist/cdn/FGU7NQB3.js +4 -0
  65. package/dist/cdn/FNDCY6TH.js +4 -0
  66. package/dist/cdn/FNJ522JF.js +4 -0
  67. package/dist/cdn/FP6W6INT.js +4 -0
  68. package/dist/cdn/FQDWKAFC.js +4 -0
  69. package/dist/cdn/FUOB72QT.js +4 -0
  70. package/dist/cdn/FXYAWM4G.js +4 -0
  71. package/dist/cdn/FYTYNQJW.js +4 -0
  72. package/dist/cdn/G7MO5YNI.js +4 -0
  73. package/dist/cdn/GAO72ICS.js +4 -0
  74. package/dist/cdn/GAWSZGSE.js +4 -0
  75. package/dist/cdn/GCVFIMSI.js +4 -0
  76. package/dist/cdn/GH5ORWDD.js +4 -0
  77. package/dist/cdn/GLY2QNU5.js +4 -0
  78. package/dist/cdn/{UKUTVSTC.js → GOKTRDSW.js} +2 -2
  79. package/dist/cdn/GTEBKEBT.js +4 -0
  80. package/dist/cdn/H4XXPWYD.js +4 -0
  81. package/dist/cdn/HBRDA6ZG.js +4 -0
  82. package/dist/cdn/HHLBL37Q.js +4 -0
  83. package/dist/cdn/{AIJ5QKVL.js → HNH26E33.js} +1 -1
  84. package/dist/cdn/HOBDI6JD.js +4 -0
  85. package/dist/cdn/HOBYGWBS.js +4 -0
  86. package/dist/cdn/HQFAH7VM.js +4 -0
  87. package/dist/cdn/HTTSJGJH.js +4 -0
  88. package/dist/cdn/HW36UUHG.js +4 -0
  89. package/dist/cdn/IKLWWK2I.js +4 -0
  90. package/dist/cdn/IWDZFFZJ.js +4 -0
  91. package/dist/cdn/{CY2ZUEMG.js → IWRQ325C.js} +2 -2
  92. package/dist/cdn/IZ33XLJR.js +4 -0
  93. package/dist/cdn/J42NCWYZ.js +4 -0
  94. package/dist/cdn/J7AD3VVE.js +4 -0
  95. package/dist/cdn/JEAYFG3N.js +4 -0
  96. package/dist/cdn/JEVL26RG.js +4 -0
  97. package/dist/cdn/JNIAYBSA.js +4 -0
  98. package/dist/cdn/JO5V6L7X.js +4 -0
  99. package/dist/cdn/JT2Y2CFS.js +4 -0
  100. package/dist/cdn/K66BYPYZ.js +4 -0
  101. package/dist/cdn/K6AWFSFK.js +4 -0
  102. package/dist/cdn/KG2HQWWR.js +4 -0
  103. package/dist/cdn/KGR3TOXV.js +4 -0
  104. package/dist/cdn/KNPHEVWW.js +4 -0
  105. package/dist/cdn/KRTOFDMU.js +4 -0
  106. package/dist/cdn/KVN5WZ2F.js +4 -0
  107. package/dist/cdn/{EPS7HMFS.js → LSZOTLG2.js} +1 -1
  108. package/dist/cdn/M5EMWKKY.js +4 -0
  109. package/dist/cdn/M77KTA6U.js +4 -0
  110. package/dist/cdn/MOI6KAID.js +4 -0
  111. package/dist/cdn/MR5AO3NN.js +4 -0
  112. package/dist/cdn/MUMY6GEM.js +4 -0
  113. package/dist/cdn/N55D5MJJ.js +4 -0
  114. package/dist/cdn/NJTUC76F.js +4 -0
  115. package/dist/cdn/NPQISYAT.js +4 -0
  116. package/dist/cdn/NX654MZD.js +4 -0
  117. package/dist/cdn/NXKE4IBO.js +4 -0
  118. package/dist/cdn/NXP472VC.js +4 -0
  119. package/dist/cdn/NZMUQVNO.js +4 -0
  120. package/dist/cdn/O33QCB33.js +4 -0
  121. package/dist/cdn/O4UTHW2Y.js +4 -0
  122. package/dist/cdn/O7WE7QGS.js +4 -0
  123. package/dist/cdn/ODI4TZIM.js +4 -0
  124. package/dist/cdn/OOUQ765K.js +4 -0
  125. package/dist/cdn/OSBYI6F5.js +4 -0
  126. package/dist/cdn/OUTJJ7Z2.js +4 -0
  127. package/dist/cdn/OUURDOBJ.js +4 -0
  128. package/dist/cdn/PJSU42JM.js +6 -0
  129. package/dist/cdn/PLDRW24K.js +4 -0
  130. package/dist/cdn/PPGAVYMR.js +4 -0
  131. package/dist/cdn/PQMAOWDZ.js +4 -0
  132. package/dist/cdn/PWHAZRNJ.js +4 -0
  133. package/dist/cdn/{Z5OKVV3T.js → PZO5SSQT.js} +2 -2
  134. package/dist/cdn/Q34PXGKN.js +4 -0
  135. package/dist/cdn/QARQYR3S.js +4 -0
  136. package/dist/cdn/QHNAGBYU.js +4 -0
  137. package/dist/cdn/QLTAVM6R.js +4 -0
  138. package/dist/cdn/REC3WVMB.js +4 -0
  139. package/dist/cdn/RLRHEVME.js +4 -0
  140. package/dist/cdn/S3Y6WOSE.js +4 -0
  141. package/dist/cdn/S72W2EOS.js +4 -0
  142. package/dist/cdn/SCGFRFEA.js +4 -0
  143. package/dist/cdn/SDTNEE4Q.js +4 -0
  144. package/dist/cdn/SELAQDGF.js +4 -0
  145. package/dist/cdn/SG6XFUPU.js +4 -0
  146. package/dist/cdn/STPFZ6PG.js +4 -0
  147. package/dist/cdn/SULU3BCZ.js +4 -0
  148. package/dist/cdn/T347J3LH.js +4 -0
  149. package/dist/cdn/T4OF5KMY.js +4 -0
  150. package/dist/cdn/T4ZGI6ZX.js +4 -0
  151. package/dist/cdn/TIVO56VB.js +4 -0
  152. package/dist/cdn/TJLAHABW.js +4 -0
  153. package/dist/cdn/{5ZZR2J6N.js → TOOG2ECU.js} +2 -2
  154. package/dist/cdn/TVSLB42C.js +4 -0
  155. package/dist/cdn/{4GXYTGZZ.js → UHTGJYCW.js} +1 -1
  156. package/dist/cdn/UW2QFZLI.js +4 -0
  157. package/dist/cdn/VFCPDEJV.js +4 -0
  158. package/dist/cdn/VINXCROG.js +4 -0
  159. package/dist/cdn/VLJ5T5EM.js +4 -0
  160. package/dist/cdn/VMSV3XLY.js +4 -0
  161. package/dist/cdn/VT2S6EIP.js +4 -0
  162. package/dist/cdn/VWC4UHZI.js +4 -0
  163. package/dist/cdn/W2TJDRTX.js +4 -0
  164. package/dist/cdn/W6STCPFV.js +4 -0
  165. package/dist/cdn/{HRVDXQJH.js → W7KNNUEM.js} +1 -1
  166. package/dist/cdn/WC5PO2WX.js +4 -0
  167. package/dist/cdn/WJXSWJ6Y.js +4 -0
  168. package/dist/cdn/WLR2QMDR.js +4 -0
  169. package/dist/cdn/WMTBPX3C.js +4 -0
  170. package/dist/cdn/X3YMQ2R4.js +4 -0
  171. package/dist/cdn/{QIELYIFC.js → X4VRZLRF.js} +2 -2
  172. package/dist/cdn/X7YZSEGZ.js +4 -0
  173. package/dist/cdn/XCGQPPDC.js +4 -0
  174. package/dist/cdn/{ZFZIGRGE.js → XIW72IDH.js} +1 -1
  175. package/dist/cdn/XYEXAVRU.js +4 -0
  176. package/dist/cdn/Y6BRCKJZ.js +4 -0
  177. package/dist/cdn/YAPOF7X6.js +4 -0
  178. package/dist/cdn/YJD3MIER.js +4 -0
  179. package/dist/cdn/YRLL2RF2.js +4 -0
  180. package/dist/cdn/YYZRFHWC.js +4 -0
  181. package/dist/cdn/{LB4FJL6Z.js → Z2DUVJVT.js} +2 -2
  182. package/dist/cdn/ZQ3B7VXH.js +4 -0
  183. package/dist/cdn/{FCPVKFF7.js → ZT3D6RRA.js} +2 -2
  184. package/dist/cdn/ZYQGIGGR.js +4 -0
  185. package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
  186. package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
  187. package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
  188. package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
  189. package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
  190. package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
  191. package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
  192. package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
  193. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
  194. package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
  195. package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
  196. package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
  197. package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
  198. package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
  199. package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
  200. package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
  201. package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
  202. package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
  203. package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
  204. package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
  205. package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
  206. package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
  207. package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
  208. package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
  209. package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
  210. package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
  211. package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
  212. package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
  213. package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
  214. package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
  215. package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
  216. package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
  217. package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
  218. package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
  219. package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
  220. package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
  221. package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
  222. package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
  223. package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
  224. package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
  225. package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
  226. package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
  227. package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
  228. package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
  229. package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
  230. package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
  231. package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
  232. package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
  233. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
  234. package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
  235. package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
  236. package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
  237. package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
  238. package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
  239. package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
  240. package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
  241. package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
  242. package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
  243. package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
  244. package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
  245. package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
  246. package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
  247. package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
  248. package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
  249. package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
  250. package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
  251. package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
  252. package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
  253. package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
  254. package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
  255. package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
  256. package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
  257. package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
  258. package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
  259. package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
  260. package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
  261. package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
  262. package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
  263. package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
  264. package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
  265. package/dist/cdn/index.js +2 -2
  266. package/dist/chunks/AnalysisViewModel.js +4 -4
  267. package/dist/chunks/async-utils.js +3 -3
  268. package/dist/chunks/basemap-gallery-resources.js +1 -1
  269. package/dist/chunks/chart-utils.js +66 -0
  270. package/dist/chunks/chartCommon.js +19 -0
  271. package/dist/chunks/component-utils.js +1 -1
  272. package/dist/chunks/createCloseEvent.js +1 -1
  273. package/dist/chunks/feature-utils.js +178 -0
  274. package/dist/chunks/globalCss.js +1 -1
  275. package/dist/chunks/heading.js +13 -13
  276. package/dist/chunks/layer-list.js +2 -2
  277. package/dist/chunks/legacyIcon.js +1 -1
  278. package/dist/chunks/maybe.js +1 -1
  279. package/dist/chunks/measurementUtils.js +1 -1
  280. package/dist/chunks/runtime.js +1 -1
  281. package/dist/chunks/useHandles.js +4 -4
  282. package/dist/chunks/useT9n.js +1 -1
  283. package/dist/chunks/useView.js +1 -1
  284. package/dist/chunks/useViewModel.js +1 -1
  285. package/dist/chunks/useWidget.js +1 -1
  286. package/dist/chunks/utils.js +1 -1
  287. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
  288. package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
  289. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
  290. package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
  291. package/dist/components/arcgis-attachments/customElement.d.ts +12 -1
  292. package/dist/components/arcgis-attachments/customElement.js +8 -8
  293. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
  294. package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
  295. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  296. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
  297. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  298. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
  299. package/dist/components/arcgis-basemap-toggle/customElement.js +16 -17
  300. package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
  301. package/dist/components/arcgis-bookmarks/customElement.d.ts +239 -82
  302. package/dist/components/arcgis-bookmarks/customElement.js +456 -17
  303. package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
  304. package/dist/components/arcgis-bookmarks/index.js +21 -0
  305. package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
  306. package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
  307. package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
  308. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  309. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
  310. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  311. package/dist/components/arcgis-compass/customElement.d.ts +10 -1
  312. package/dist/components/arcgis-compass/customElement.js +15 -16
  313. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
  314. package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
  315. package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
  316. package/dist/components/arcgis-daylight/customElement.js +2 -2
  317. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
  318. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
  319. package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
  320. package/dist/components/arcgis-directional-pad/customElement.js +20 -21
  321. package/dist/components/arcgis-directions/customElement.d.ts +7 -2
  322. package/dist/components/arcgis-directions/customElement.js +2 -2
  323. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
  324. package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
  325. package/dist/components/arcgis-editor/customElement.d.ts +6 -1
  326. package/dist/components/arcgis-editor/customElement.js +2 -2
  327. package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
  328. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  329. package/dist/components/arcgis-expand/customElement.d.ts +10 -4
  330. package/dist/components/arcgis-expand/customElement.js +2 -2
  331. package/dist/components/arcgis-feature/customElement.d.ts +179 -87
  332. package/dist/components/arcgis-feature/customElement.js +192 -21
  333. package/dist/components/arcgis-feature/index.d.ts +7 -0
  334. package/dist/components/arcgis-feature/index.js +7 -0
  335. package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
  336. package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
  337. package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
  338. package/dist/components/arcgis-feature-attachments/index.js +3 -0
  339. package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
  340. package/dist/components/arcgis-feature-content/customElement.js +65 -0
  341. package/dist/components/arcgis-feature-content/index.d.ts +2 -0
  342. package/dist/components/arcgis-feature-content/index.js +2 -0
  343. package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
  344. package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
  345. package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
  346. package/dist/components/arcgis-feature-element-info/index.js +1 -0
  347. package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
  348. package/dist/components/arcgis-feature-expression/customElement.js +248 -0
  349. package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
  350. package/dist/components/arcgis-feature-expression/index.js +5 -0
  351. package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
  352. package/dist/components/arcgis-feature-fields/customElement.js +142 -0
  353. package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
  354. package/dist/components/arcgis-feature-fields/index.js +2 -0
  355. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -2
  356. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  357. package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
  358. package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
  359. package/dist/components/arcgis-feature-media/customElement.js +571 -0
  360. package/dist/components/arcgis-feature-media/index.d.ts +3 -0
  361. package/dist/components/arcgis-feature-media/index.js +3 -0
  362. package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
  363. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  364. package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
  365. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  366. package/dist/components/arcgis-features/customElement.d.ts +5 -0
  367. package/dist/components/arcgis-features/customElement.js +2 -2
  368. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
  369. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  370. package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
  371. package/dist/components/arcgis-fullscreen/customElement.js +32 -19
  372. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
  373. package/dist/components/arcgis-grid-controls/customElement.js +15 -16
  374. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
  375. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  376. package/dist/components/arcgis-home/customElement.d.ts +39 -16
  377. package/dist/components/arcgis-home/customElement.js +14 -15
  378. package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
  379. package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
  380. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  381. package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
  382. package/dist/components/arcgis-legend/customElement.d.ts +5 -0
  383. package/dist/components/arcgis-legend/customElement.js +2 -2
  384. package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
  385. package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
  386. package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
  387. package/dist/components/arcgis-link-chart/customElement.js +20 -9
  388. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
  389. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
  390. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
  391. package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
  392. package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
  393. package/dist/components/arcgis-locate/customElement.d.ts +17 -5
  394. package/dist/components/arcgis-locate/customElement.js +55 -56
  395. package/dist/components/arcgis-map/customElement.d.ts +27 -14
  396. package/dist/components/arcgis-map/customElement.js +26 -15
  397. package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
  398. package/dist/components/arcgis-measurement/customElement.js +2 -2
  399. package/dist/components/arcgis-measurement-content/customElement.js +12 -13
  400. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
  401. package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
  402. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
  403. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  404. package/dist/components/arcgis-placement/customElement.d.ts +5 -0
  405. package/dist/components/arcgis-placement/customElement.js +2 -2
  406. package/dist/components/arcgis-print/customElement.d.ts +55 -41
  407. package/dist/components/arcgis-print/customElement.js +38 -33
  408. package/dist/components/arcgis-print/types.d.ts +40 -0
  409. package/dist/components/arcgis-print/utils.d.ts +1 -1
  410. package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
  411. package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
  412. package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
  413. package/dist/components/arcgis-print-export-button/customElement.js +4 -5
  414. package/dist/components/arcgis-print-exported-link/customElement.d.ts +1 -1
  415. package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
  416. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +1 -1
  417. package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
  418. package/dist/components/arcgis-print-format-select/customElement.d.ts +1 -1
  419. package/dist/components/arcgis-print-format-select/customElement.js +3 -3
  420. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
  421. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
  422. package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
  423. package/dist/components/arcgis-print-main-panel/customElement.d.ts +2 -8
  424. package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
  425. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
  426. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
  427. package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
  428. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
  429. package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
  430. package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
  431. package/dist/components/arcgis-print-template-select/customElement.js +11 -12
  432. package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
  433. package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
  434. package/dist/components/arcgis-scale-bar/customElement.js +3 -3
  435. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
  436. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  437. package/dist/components/arcgis-scene/customElement.d.ts +144 -81
  438. package/dist/components/arcgis-scene/customElement.js +28 -17
  439. package/dist/components/arcgis-search/customElement.d.ts +52 -16
  440. package/dist/components/arcgis-search/customElement.js +41 -38
  441. package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
  442. package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
  443. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  444. package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
  445. package/dist/components/arcgis-sketch/customElement.js +27 -19
  446. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
  447. package/dist/components/arcgis-slice/customElement.d.ts +77 -18
  448. package/dist/components/arcgis-slice/customElement.js +32 -41
  449. package/dist/components/arcgis-slider/customElement.d.ts +5 -0
  450. package/dist/components/arcgis-slider/customElement.js +2 -2
  451. package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
  452. package/dist/components/arcgis-swipe/customElement.js +43 -44
  453. package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
  454. package/dist/components/arcgis-table-list/customElement.js +2 -2
  455. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
  456. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  457. package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
  458. package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
  459. package/dist/components/arcgis-track/customElement.d.ts +26 -9
  460. package/dist/components/arcgis-track/customElement.js +14 -15
  461. package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
  462. package/dist/components/arcgis-unit-select/customElement.js +22 -16
  463. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
  464. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  465. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
  466. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  467. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
  468. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  469. package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
  470. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  471. package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
  472. package/dist/components/arcgis-version-management/customElement.js +49 -51
  473. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
  474. package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
  475. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
  476. package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
  477. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
  478. package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
  479. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
  480. package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
  481. package/dist/components/arcgis-video/customElement.d.ts +27 -10
  482. package/dist/components/arcgis-video/customElement.js +15 -24
  483. package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
  484. package/dist/components/arcgis-video-player/customElement.js +38 -32
  485. package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
  486. package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
  487. package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
  488. package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
  489. package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
  490. package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
  491. package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
  492. package/dist/components/arcgis-weather/customElement.d.ts +52 -3
  493. package/dist/components/arcgis-weather/customElement.js +16 -17
  494. package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
  495. package/dist/components/arcgis-zoom/customElement.js +11 -12
  496. package/dist/controllers/Handles.d.ts +2 -2
  497. package/dist/controllers/useHandles.d.ts +4 -4
  498. package/dist/docs/api.json +2220 -656
  499. package/dist/docs/docs.json +2021 -863
  500. package/dist/docs/vscode.html-custom-data.json +319 -135
  501. package/dist/docs/web-types.json +680 -322
  502. package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
  503. package/dist/index.d.ts +7 -3
  504. package/dist/index.js +1 -1
  505. package/dist/loader.js +26 -20
  506. package/dist/support/heading.d.ts +2 -1
  507. package/dist/types/lumina.d.ts +23 -18
  508. package/dist/types/preact.d.ts +23 -18
  509. package/dist/types/react.d.ts +23 -18
  510. package/dist/types/stencil.d.ts +23 -18
  511. package/dist/utils/chart-utils.d.ts +6 -0
  512. package/dist/utils/feature-utils.d.ts +33 -0
  513. package/dist/utils/related-feature-utils.d.ts +6 -0
  514. package/dist/utils/uri-utils.d.ts +4 -0
  515. package/package.json +6 -4
  516. package/dist/cdn/24BGG5B5.js +0 -4
  517. package/dist/cdn/2ABLOYUQ.js +0 -4
  518. package/dist/cdn/2MCSN6B6.js +0 -4
  519. package/dist/cdn/2O4Y7OHR.js +0 -4
  520. package/dist/cdn/2TWTTB4C.js +0 -4
  521. package/dist/cdn/2UUPIIJ2.js +0 -4
  522. package/dist/cdn/3JRMNN7J.js +0 -4
  523. package/dist/cdn/3PIZQW3M.js +0 -4
  524. package/dist/cdn/3TK75HC6.js +0 -4
  525. package/dist/cdn/4O62D3XH.js +0 -4
  526. package/dist/cdn/4WF35OVZ.js +0 -4
  527. package/dist/cdn/544SB4EK.js +0 -4
  528. package/dist/cdn/5AZ345NY.js +0 -4
  529. package/dist/cdn/5DVI4EBY.js +0 -4
  530. package/dist/cdn/64ECRPXA.js +0 -4
  531. package/dist/cdn/6CDNOZQF.js +0 -4
  532. package/dist/cdn/6SCGGHDS.js +0 -4
  533. package/dist/cdn/7LOOJUA4.js +0 -4
  534. package/dist/cdn/7Q2LH4TM.js +0 -4
  535. package/dist/cdn/7X5UWWAM.js +0 -4
  536. package/dist/cdn/A2GEUHD7.js +0 -4
  537. package/dist/cdn/BMYPLHTO.js +0 -4
  538. package/dist/cdn/BOBGF74Z.js +0 -4
  539. package/dist/cdn/CEY2DMIN.js +0 -4
  540. package/dist/cdn/CQG33CHS.js +0 -4
  541. package/dist/cdn/DB2RVFYE.js +0 -4
  542. package/dist/cdn/DCAIQVAC.js +0 -4
  543. package/dist/cdn/EDF5YBMS.js +0 -4
  544. package/dist/cdn/EE2WJOUL.js +0 -4
  545. package/dist/cdn/EFPP35S3.js +0 -4
  546. package/dist/cdn/ETTC3DDE.js +0 -4
  547. package/dist/cdn/EZXIFOKP.js +0 -4
  548. package/dist/cdn/FDO7BW3M.js +0 -4
  549. package/dist/cdn/FIIIUSQA.js +0 -4
  550. package/dist/cdn/FIQDTOHK.js +0 -4
  551. package/dist/cdn/FIRY4NWS.js +0 -4
  552. package/dist/cdn/FKYCCKL6.js +0 -4
  553. package/dist/cdn/G7FI7ZEJ.js +0 -4
  554. package/dist/cdn/GTFZYBLH.js +0 -4
  555. package/dist/cdn/H7WRFI2D.js +0 -4
  556. package/dist/cdn/HGHOHO2E.js +0 -4
  557. package/dist/cdn/HHKEZDYI.js +0 -4
  558. package/dist/cdn/HI5YGVEU.js +0 -4
  559. package/dist/cdn/HVHKTHJR.js +0 -4
  560. package/dist/cdn/I4UJICTJ.js +0 -4
  561. package/dist/cdn/IDRJHSB4.js +0 -4
  562. package/dist/cdn/INXLPBES.js +0 -4
  563. package/dist/cdn/IPSPJR6H.js +0 -4
  564. package/dist/cdn/J3TNLK3O.js +0 -4
  565. package/dist/cdn/JEGU6LY5.js +0 -4
  566. package/dist/cdn/JPHNAFYX.js +0 -4
  567. package/dist/cdn/JWHVUXI7.js +0 -4
  568. package/dist/cdn/JXEJ2FDT.js +0 -4
  569. package/dist/cdn/K667RV3F.js +0 -4
  570. package/dist/cdn/KHHWOKDH.js +0 -4
  571. package/dist/cdn/KWXFVL5O.js +0 -4
  572. package/dist/cdn/LNC2FBRF.js +0 -4
  573. package/dist/cdn/LX2VKBL5.js +0 -4
  574. package/dist/cdn/LZ4SDJU4.js +0 -4
  575. package/dist/cdn/M42LA7QJ.js +0 -4
  576. package/dist/cdn/MHF4R4QG.js +0 -4
  577. package/dist/cdn/MHXI4R7Q.js +0 -6
  578. package/dist/cdn/MT6FGRRO.js +0 -4
  579. package/dist/cdn/MTJFO22N.js +0 -4
  580. package/dist/cdn/MWH2P5CL.js +0 -4
  581. package/dist/cdn/MWRQZLPR.js +0 -4
  582. package/dist/cdn/MZJOI5UH.js +0 -4
  583. package/dist/cdn/O2E4MNME.js +0 -4
  584. package/dist/cdn/O7NRUX5I.js +0 -4
  585. package/dist/cdn/OLDX3JZA.js +0 -4
  586. package/dist/cdn/OMQCMWFC.js +0 -4
  587. package/dist/cdn/OQ4Q4IIJ.js +0 -4
  588. package/dist/cdn/OSKGVTTW.js +0 -4
  589. package/dist/cdn/OVXJMGHR.js +0 -4
  590. package/dist/cdn/P2BRHVAB.js +0 -4
  591. package/dist/cdn/PQ3OUY5L.js +0 -4
  592. package/dist/cdn/PVTCJ67N.js +0 -4
  593. package/dist/cdn/RC2PKLFD.js +0 -4
  594. package/dist/cdn/RLYPTZW6.js +0 -4
  595. package/dist/cdn/RRJG3CW4.js +0 -4
  596. package/dist/cdn/SRXUA5WQ.js +0 -4
  597. package/dist/cdn/T5RGPAAI.js +0 -4
  598. package/dist/cdn/TEBWJ3I7.js +0 -4
  599. package/dist/cdn/TISZTZQL.js +0 -4
  600. package/dist/cdn/UF2KELUQ.js +0 -4
  601. package/dist/cdn/UF5A7HCA.js +0 -4
  602. package/dist/cdn/UKX6JNY3.js +0 -4
  603. package/dist/cdn/UPUPF3OI.js +0 -4
  604. package/dist/cdn/V5FW6B4I.js +0 -4
  605. package/dist/cdn/VF2Y76QB.js +0 -4
  606. package/dist/cdn/W425S3CR.js +0 -4
  607. package/dist/cdn/WE4HRX3B.js +0 -4
  608. package/dist/cdn/X7HXAK7T.js +0 -4
  609. package/dist/cdn/XBWRLYN4.js +0 -4
  610. package/dist/cdn/XIHWMEJG.js +0 -4
  611. package/dist/cdn/YGTIT746.js +0 -4
  612. package/dist/cdn/YJLPPO4D.js +0 -4
  613. package/dist/cdn/YTVNHZ2T.js +0 -4
  614. package/dist/cdn/YZO4MONH.js +0 -4
  615. package/dist/cdn/ZPQ7DJV3.js +0 -4
@@ -1,7 +1,6 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/lumina/controllers';
4
- import { Nil } from '@arcgis/components-utils';
5
4
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
5
  import { ArcgisReferenceElement } from '../../utils/component-utils';
7
6
  import { default as LocateViewModel } from './LocateViewModel';
@@ -10,6 +9,10 @@ declare const useLocateViewModel: (component: LitElement & Pick<LocateViewModel,
10
9
  /**
11
10
  * The Locate component animates the Map or Scene to the user's current location.
12
11
  *
12
+ * This component uses the browser's [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts), such as HTTPS.
13
+ * Note that localhost is considered "potentially secure" and can be used for easy testing in browsers that support
14
+ * [Window.isSecureContext](https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext#browser_compatibility).
15
+ *
13
16
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-locate/)
14
17
  */
15
18
  export declare class ArcgisLocate extends LitElement {
@@ -23,26 +26,35 @@ export declare class ArcgisLocate extends LitElement {
23
26
  * @default false
24
27
  */
25
28
  autoDestroyDisabled: boolean;
26
- geolocationOptions: Nil | PositionOptions;
29
+ geolocationOptions: PositionOptions | undefined;
27
30
  /**
28
31
  * Indicates whether to navigate the view to the position and scale of the geolocated result.
29
32
  *
30
33
  * @default false
31
34
  */
32
35
  goToLocationDisabled: boolean;
33
- goToOverride: Nil | __esri.GoToOverride;
36
+ goToOverride: __esri.GoToOverride | undefined;
34
37
  /** The graphic used to show the user's location on the map. */
35
38
  graphic: __esri.Graphic;
36
39
  /** @default "gps-off" */
37
40
  icon?: string | undefined;
38
41
  /** The component's default label. */
39
42
  label?: string;
40
- /** Replace localized message strings with your own strings. **Warning**: individual message keys may change between releases. */
43
+ /**
44
+ * Replace localized message strings with your own strings.
45
+ *
46
+ * _**Note**: Individual message keys may change between releases._
47
+ */
41
48
  messageOverrides?: typeof this.messages._overrides;
42
49
  /** @default false */
43
50
  popupDisabled: boolean;
44
51
  /** @default "top-left" */
45
52
  position: __esri.UIPosition;
53
+ /**
54
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
55
+ *
56
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
57
+ */
46
58
  referenceElement?: ArcgisReferenceElement | string;
47
59
  /**
48
60
  * Indicates the scale to set on the view when navigating to the position of the geolocated
@@ -50,7 +62,7 @@ export declare class ArcgisLocate extends LitElement {
50
62
  *
51
63
  * @default null
52
64
  */
53
- scale: number | Nil;
65
+ scale: number | undefined;
54
66
  /** The current state of the component. */
55
67
  state: "ready" | "disabled" | "error" | "feature-unsupported" | "locating";
56
68
  /**
@@ -1,20 +1,19 @@
1
- import { c as I } from "../../chunks/runtime.js";
2
- import { html as m } from "lit-html";
3
- import { usePropertyChange as G } from "@arcgis/lumina/controllers";
4
- import { classes as F } from "@arcgis/components-utils";
1
+ import { c as _ } from "../../chunks/runtime.js";
2
+ import { css as G, html as m } from "lit";
3
+ import { usePropertyChange as F } from "@arcgis/lumina/controllers";
4
+ import { classes as z } from "@arcgis/components-utils";
5
5
  import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
6
- import { LitElement as z, createEvent as f, noShadowRoot as j, safeClassMap as w, nothing as Q } from "@arcgis/lumina";
7
- import { u as V } from "../../chunks/useT9n.js";
8
- import { m as k } from "../../chunks/useViewModel.js";
6
+ import { LitElement as j, createEvent as f, noShadowRoot as Q, safeClassMap as w, nothing as V } from "@arcgis/lumina";
7
+ import { u as k } from "../../chunks/useT9n.js";
8
+ import { m as H } from "../../chunks/useViewModel.js";
9
9
  import { g as b } from "../../chunks/globalCss.js";
10
- import { l as H } from "../../chunks/legacyIcon.js";
11
- import { css as K } from "@lit/reactive-element/css-tag.js";
12
- import { property as n, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
10
+ import { l as K } from "../../chunks/legacyIcon.js";
11
+ import { property as n, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
13
12
  import u from "@arcgis/core/core/Error.js";
14
13
  import { onLocaleChange as J } from "@arcgis/core/intl.js";
15
14
  import q from "@arcgis/core/PopupTemplate.js";
16
15
  import W from "@arcgis/core/support/actions/ActionButton.js";
17
- import { t as X, a as E } from "../../chunks/async-utils.js";
16
+ import { t as X, i as E } from "../../chunks/async-utils.js";
18
17
  import B from "@arcgis/core/core/Accessor.js";
19
18
  import O from "@arcgis/core/Graphic.js";
20
19
  import Z from "@arcgis/core/symbols/CIMSymbol.js";
@@ -27,8 +26,8 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
27
26
  import oe from "@arcgis/core/rest/support/ProjectParameters.js";
28
27
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
29
28
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
30
- v4.34.0-next.5 */
31
- const ie = K`@layer{arcgis-locate{display:block}}`;
29
+ v4.34.0-next.51 */
30
+ const ie = G`@layer{arcgis-locate{display:block}}`;
32
31
  let M = !1;
33
32
  const re = {
34
33
  maximumAge: 0,
@@ -46,7 +45,7 @@ function se() {
46
45
  function ne() {
47
46
  return ae() && se();
48
47
  }
49
- function le(e) {
48
+ function ce(e) {
50
49
  return e ??= re, new Promise((o, r) => {
51
50
  setTimeout(
52
51
  () => r(new u("geolocation:timeout", "getting the current geolocation position timed out")),
@@ -54,7 +53,7 @@ function le(e) {
54
53
  ), navigator.geolocation.getCurrentPosition(o, r, e ?? void 0);
55
54
  });
56
55
  }
57
- function ce(e, t) {
56
+ function le(e, t) {
58
57
  const { position: o, view: r } = e, a = pe(o)?.coords;
59
58
  if (!a)
60
59
  throw new u("geometry-service:no-coords", "Geolocation has no coordinates");
@@ -263,11 +262,11 @@ const L = {
263
262
  ]
264
263
  }
265
264
  });
266
- let l = class extends B {
265
+ let c = class extends B {
267
266
  constructor() {
268
- super(...arguments), this._geolocationUsable = !0, this.geolocationOptions = null, this.goToLocationEnabled = !0, this.goToOverride = null, this.graphic = new O({
267
+ super(...arguments), this._geolocationUsable = !0, this.goToLocationEnabled = !0, this.graphic = new O({
269
268
  symbol: we
270
- }), this.scale = null, this.rotationEnabled = !0, this.view = null;
269
+ }), this.rotationEnabled = !0;
271
270
  }
272
271
  //#region Lifecycle
273
272
  initialize() {
@@ -282,7 +281,7 @@ let l = class extends B {
282
281
  ]);
283
282
  }
284
283
  destroy() {
285
- this._clearGraphic(), this.view = null;
284
+ this._clearGraphic(), this.view = void 0;
286
285
  }
287
286
  //#endregion
288
287
  //#region Private Methods
@@ -351,7 +350,7 @@ let l = class extends B {
351
350
  }
352
351
  async updatePosition(e, t) {
353
352
  try {
354
- const o = this.view, r = await ce({ position: e, view: o }, { signal: t.signal }), { graphic: i } = this, { timestamp: a, coords: s } = e, { accuracy: g, altitude: h, altitudeAccuracy: N, latitude: D, longitude: x, speed: R } = s, v = this._getHeading(e, o), U = {
353
+ const o = this.view, r = await le({ position: e, view: o }, { signal: t.signal }), { graphic: i } = this, { timestamp: a, coords: s } = e, { accuracy: g, altitude: h, altitudeAccuracy: N, latitude: D, longitude: x, speed: R } = s, v = this._getHeading(e, o), U = {
355
354
  timestamp: a,
356
355
  accuracy: g,
357
356
  altitude: h,
@@ -362,8 +361,8 @@ let l = class extends B {
362
361
  speed: R
363
362
  };
364
363
  i && (i.geometry = r, i.attributes = U);
365
- const _ = this._getScale(o);
366
- await this._animatePoint(r, _, v, t);
364
+ const I = this._getScale(o);
365
+ await this._animatePoint(r, I, v, t);
367
366
  } catch (o) {
368
367
  if (!E(o))
369
368
  throw new u("geolocation-positioning:invalid-point", "Cannot position invalid point", {
@@ -376,33 +375,33 @@ let l = class extends B {
376
375
  };
377
376
  p([
378
377
  n()
379
- ], l.prototype, "_geolocationUsable", 2);
378
+ ], c.prototype, "_geolocationUsable", 2);
380
379
  p([
381
380
  n()
382
- ], l.prototype, "geolocationOptions", 2);
381
+ ], c.prototype, "geolocationOptions", 2);
383
382
  p([
384
383
  n()
385
- ], l.prototype, "goToLocationEnabled", 2);
384
+ ], c.prototype, "goToLocationEnabled", 2);
386
385
  p([
387
386
  n()
388
- ], l.prototype, "goToOverride", 2);
387
+ ], c.prototype, "goToOverride", 2);
389
388
  p([
390
389
  n({
391
390
  type: O
392
391
  })
393
- ], l.prototype, "graphic", 2);
392
+ ], c.prototype, "graphic", 2);
394
393
  p([
395
394
  n()
396
- ], l.prototype, "scale", 2);
395
+ ], c.prototype, "scale", 2);
397
396
  p([
398
397
  n()
399
- ], l.prototype, "rotationEnabled", 2);
398
+ ], c.prototype, "rotationEnabled", 2);
400
399
  p([
401
400
  n()
402
- ], l.prototype, "view", 2);
403
- l = p([
404
- S("map-components.geolocation.GeolocationPositioning")
405
- ], l);
401
+ ], c.prototype, "view", 2);
402
+ c = p([
403
+ C("map-components.geolocation.GeolocationPositioning")
404
+ ], c);
406
405
  var be = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, d = (e, t, o, r) => {
407
406
  for (var i = r > 1 ? void 0 : r ? Ae(t, o) : t, a = e.length - 1, s; a >= 0; a--)
408
407
  (s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
@@ -490,10 +489,10 @@ function Me(e) {
490
489
  ]
491
490
  });
492
491
  }
493
- let c = class extends l {
492
+ let l = class extends c {
494
493
  //#region Lifecycle
495
494
  constructor(e) {
496
- super(e), this._locateController = null, this.currentPosition = null, this.error = void 0, this.messages = null, this.popupEnabled = !0, this.locate = this.locate.bind(this);
495
+ super(e), this.popupEnabled = !0, this.locate = this.locate.bind(this);
497
496
  }
498
497
  initialize() {
499
498
  this.addHandles([
@@ -521,19 +520,19 @@ let c = class extends l {
521
520
  const e = new AbortController();
522
521
  this._locateController = e, this.error = void 0;
523
522
  try {
524
- const t = await le(this.geolocationOptions);
523
+ const t = await ce(this.geolocationOptions);
525
524
  if (await this.updatePosition(t, e), this._locateController !== e)
526
525
  return null;
527
526
  const { graphic: o } = this;
528
- return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController = null, t;
527
+ return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController = void 0, t;
529
528
  } catch (t) {
530
529
  if (E(t))
531
530
  return null;
532
- throw e === this._locateController && (this._locateController = null), this.error = t, t;
531
+ throw e === this._locateController && (this._locateController = void 0), this.error = t, t;
533
532
  }
534
533
  }
535
534
  cancelLocate() {
536
- this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController = null;
535
+ this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController = void 0;
537
536
  }
538
537
  //#endregion
539
538
  //#region Private Methods
@@ -547,37 +546,37 @@ let c = class extends l {
547
546
  };
548
547
  d([
549
548
  n()
550
- ], c.prototype, "_locateController", 2);
549
+ ], l.prototype, "_locateController", 2);
551
550
  d([
552
551
  n()
553
- ], c.prototype, "currentPosition", 2);
552
+ ], l.prototype, "currentPosition", 2);
554
553
  d([
555
554
  n()
556
- ], c.prototype, "error", 2);
555
+ ], l.prototype, "error", 2);
557
556
  d([
558
557
  n()
559
- ], c.prototype, "messages", 2);
558
+ ], l.prototype, "messages", 2);
560
559
  d([
561
560
  n()
562
- ], c.prototype, "popupEnabled", 2);
561
+ ], l.prototype, "popupEnabled", 2);
563
562
  d([
564
563
  n({ readOnly: !0 })
565
- ], c.prototype, "state", 1);
566
- c = d([
567
- S("map-components.locate.LocateViewModel")
568
- ], c);
569
- const Ce = {
564
+ ], l.prototype, "state", 1);
565
+ l = d([
566
+ C("map-components.locate.LocateViewModel")
567
+ ], l);
568
+ const Se = {
570
569
  base: "esri-locate"
571
- }, C = "gps-off", Se = k(c);
572
- class Ee extends z {
570
+ }, S = "gps-off", Ce = H(l);
571
+ class Ee extends j {
573
572
  constructor() {
574
- super(...arguments), this.messages = V(), this.viewModel = Se(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = C, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = f(), this.arcgisPropertyChange = G()("state"), this.arcgisReady = f(), this.arcgisSuccess = f();
573
+ super(...arguments), this.messages = k(), this.viewModel = Ce(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = S, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = f(), this.arcgisPropertyChange = F()("state"), this.arcgisReady = f(), this.arcgisSuccess = f();
575
574
  }
576
575
  static {
577
576
  this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 1, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
578
577
  }
579
578
  static {
580
- this.shadowRootOptions = j;
579
+ this.shadowRootOptions = Q;
581
580
  }
582
581
  static {
583
582
  this.styles = ie;
@@ -613,11 +612,11 @@ class Ee extends z {
613
612
  });
614
613
  }
615
614
  render() {
616
- const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", g = H === void 0 ? C : void 0, h = this._localizeError(this.viewModel?.error);
617
- return m`<div class=${w(F(Ce.base, b.widget))}>${!s && m`<calcite-button class=${w(b.widgetButton)} .disabled=${r === "disabled"} .iconStart=${i ? void 0 : o ?? g} kind=neutral .label=${a} @click=${this._locate} title=${a ?? Q}>${i ? m`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${h ? m`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${h}</calcite-tooltip>` : null}</div>`;
615
+ const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", g = K === void 0 ? S : void 0, h = this._localizeError(this.viewModel?.error);
616
+ return m`<div class=${w(z(Se.base, b.widget))}>${!s && m`<calcite-button class=${w(b.widgetButton)} .disabled=${r === "disabled"} .iconStart=${i ? void 0 : o ?? g} kind=neutral .label=${a} @click=${this._locate} title=${a ?? V}>${i ? m`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${h ? m`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${h}</calcite-tooltip>` : null}</div>`;
618
617
  }
619
618
  }
620
- I("arcgis-locate", Ee);
619
+ _("arcgis-locate", Ee);
621
620
  export {
622
621
  Ee as ArcgisLocate
623
622
  };
@@ -6,7 +6,7 @@ import { default as MapView } from '@arcgis/core/views/MapView.js';
6
6
  import { default as WebMap } from '@arcgis/core/WebMap.js';
7
7
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
8
8
 
9
- declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
9
+ declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
10
10
  autoDestroyDisabled: boolean;
11
11
  destroy: () => Promise<void>;
12
12
  }) => WebMap;
@@ -15,7 +15,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
15
15
  destroy: () => Promise<void>;
16
16
  }) => MapView;
17
17
  /**
18
- * The ArcGIS Map Component is used to add 2D maps to web applications. For 3D maps, use the
18
+ * The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
19
19
  * [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
20
20
  *
21
21
  * The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
@@ -51,7 +51,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
51
51
  *
52
52
  * See also:
53
53
  * - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
54
- * - [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)
54
+ * - [Get started](https://developers.arcgis.com/javascript/latest/get-started/)
55
55
  * - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
56
56
  *
57
57
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
@@ -131,13 +131,14 @@ export declare class ArcgisMap extends LitElement {
131
131
  get gamepad(): __esri.GamepadSettings;
132
132
  /**
133
133
  * Allows for adding graphics directly to the default graphics in the View.
134
- * Example:
135
- * ```
134
+ *
135
+ * @example
136
+ * ```js
136
137
  * // Adds a graphic to the View
137
138
  * graphics.add(pointGraphic);
138
139
  * ```
139
- * Example:
140
- * ```
140
+ * @example
141
+ * ```js
141
142
  * // Removes a graphic from the View
142
143
  * graphics.remove(pointGraphic);
143
144
  * ```
@@ -155,6 +156,8 @@ export declare class ArcgisMap extends LitElement {
155
156
  * Options for configuring the highlight.
156
157
  *
157
158
  * @deprecated
159
+ * since 4.33, use [highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#highlights) instead.
160
+ *
158
161
  * Options for configuring the highlight. Use the highlight method on the
159
162
  * appropriate esri/views/layers/LayerView to highlight a feature.
160
163
  * The layerView's `highlightOptions` will take precedence over the MapView's `highlightOptions` if both properties are set.
@@ -184,7 +187,7 @@ export declare class ArcgisMap extends LitElement {
184
187
  /** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
185
188
  readonly magnifier: __esri.Magnifier;
186
189
  /** An instance of a esri/Map object to display in the view. */
187
- map: __esri.Map;
190
+ map: __esri.Map | nullish;
188
191
  /**
189
192
  * Indication whether the view is being navigated (for example when panning).
190
193
  *
@@ -331,28 +334,28 @@ export declare class ArcgisMap extends LitElement {
331
334
  set zoom(newValue: number);
332
335
  /**
333
336
  * @deprecated
334
- * since 4.33. Use `element.map.add(layer)` instead.
337
+ * since 4.33, use `element.map.add(layer)` instead.
335
338
  *
336
339
  * Adds a layer to the map layers collection.
337
340
  */
338
341
  addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
339
342
  /**
340
343
  * @deprecated
341
- * since 4.33. Use `element.map.addMany([layer])` instead.
344
+ * since 4.33, use `element.map.addMany([layer])` instead.
342
345
  *
343
346
  * Adds a layer or array of layers to the map layers collection.
344
347
  */
345
348
  addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
346
349
  /**
347
350
  * @deprecated
348
- * since 4.33. Use `element.map.tables.add(table)` instead.
351
+ * since 4.33, use `element.map.tables.add(table)` instead.
349
352
  *
350
353
  * Adds a table to the map tables collection.
351
354
  */
352
355
  addTable(table: __esri.FeatureLayer): Promise<void>;
353
356
  /**
354
357
  * @deprecated
355
- * since 4.33. Use `element.map.tables.addMany([table])` instead.
358
+ * since 4.33, use `element.map.tables.addMany([table])` instead.
356
359
  *
357
360
  * Adds a table or array of tables to the map tables collection.
358
361
  */
@@ -379,8 +382,18 @@ export declare class ArcgisMap extends LitElement {
379
382
  /** Gets the LayerView created on the view for the given layer. */
380
383
  whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
381
384
  /**
382
- * `viewOnReady()` may be leveraged once an instance of the component is created and ready.
383
- * This method takes two input parameters: a `callback` function and an `errback` function.
385
+ * `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.
386
+ * This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
387
+ *
388
+ * @since 4.33
389
+ * @see [Watch for changes - waiting for components or views to be ready](https://developers.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
390
+ * @example
391
+ * ```js
392
+ * const viewElement = document.querySelector("arcgis-map");
393
+ * await viewElement.viewOnReady();
394
+ * // The view is now ready to be used.
395
+ * viewElement.map.add(new FeatureLayer({...}));
396
+ * ```
384
397
  */
385
398
  viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
386
399
  /**
@@ -5,11 +5,11 @@ import o from "@arcgis/core/views/MapView.js";
5
5
  import w from "@arcgis/core/WebMap.js";
6
6
  import { LitElement as p, createEvent as a, noShadowRoot as c } from "@arcgis/lumina";
7
7
  import { c as v, i as l } from "../../chunks/component-utils.js";
8
- import { css as m } from "@lit/reactive-element/css-tag.js";
8
+ import { css as m } from "lit";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.5 */
12
- const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
11
+ v4.34.0-next.51 */
12
+ const g = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
13
13
  w,
14
14
  /**
15
15
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
@@ -20,21 +20,21 @@ const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;w
20
20
  * in an externalized package.
21
21
  */
22
22
  {}
23
- ), y = r(o, {});
24
- class u extends p {
23
+ ), u = r(o, {});
24
+ class y extends p {
25
25
  constructor() {
26
- super(), this._map = g(this), this.view = y(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
26
+ super(), this._map = d(this), this.view = u(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
27
27
  components: ["attribution"]
28
28
  };
29
29
  }
30
30
  static {
31
- this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, visibleArea: 0, zoom: 9 };
31
+ this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, visibleArea: 0, zoom: 9 };
32
32
  }
33
33
  static {
34
34
  this.shadowRootOptions = c;
35
35
  }
36
36
  static {
37
- this.styles = d;
37
+ this.styles = g;
38
38
  }
39
39
  get center() {
40
40
  return this.view.center;
@@ -49,6 +49,15 @@ class u extends p {
49
49
  set extent(i) {
50
50
  i && !this.extent?.equals(i) && (this.view.extent = i);
51
51
  }
52
+ get focusAreas() {
53
+ return this.map ? this.map.focusAreas : {
54
+ areas: [],
55
+ style: "bright"
56
+ };
57
+ }
58
+ set focusAreas(i) {
59
+ this.map && (this.map.focusAreas = i);
60
+ }
52
61
  get gamepad() {
53
62
  return this.view.input.gamepad;
54
63
  }
@@ -86,16 +95,16 @@ class u extends p {
86
95
  this.view.zoom = i;
87
96
  }
88
97
  async addLayer(i, t) {
89
- this.map.add(i, t);
98
+ this.map?.add(i, t);
90
99
  }
91
100
  async addLayers(i, t) {
92
- this.map.addMany(i, t);
101
+ this.map?.addMany(i, t);
93
102
  }
94
103
  async addTable(i) {
95
- this.map.tables.add(i);
104
+ this.map?.tables.add(i);
96
105
  }
97
106
  async addTables(i, t) {
98
- this.map.tables.addMany(i, t);
107
+ this.map?.tables.addMany(i, t);
99
108
  }
100
109
  async closePopup() {
101
110
  this.view.closePopup();
@@ -136,13 +145,15 @@ class u extends p {
136
145
  }
137
146
  loaded() {
138
147
  this.map ||= this._map, this.manager.onLifecycle(() => [
139
- s(() => this.map, () => this._map = this.map, { initial: !0, sync: !0 }),
148
+ s(() => this.map, (i) => {
149
+ i && (this._map = i);
150
+ }, { initial: !0, sync: !0 }),
140
151
  s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
141
152
  s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
142
153
  ]);
143
154
  }
144
155
  }
145
- h("arcgis-map", u);
156
+ h("arcgis-map", y);
146
157
  export {
147
- u as ArcgisMap
158
+ y as ArcgisMap
148
159
  };
@@ -83,6 +83,11 @@ export declare class ArcgisMeasurement extends LitElement {
83
83
  linearUnit: __esri.SystemOrLengthUnit;
84
84
  /** @default "bottom-left" */
85
85
  position: __esri.UIPosition;
86
+ /**
87
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
88
+ *
89
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
90
+ */
86
91
  referenceElement?: ArcgisReferenceElement | string;
87
92
  /**
88
93
  * The ViewModel's state.
@@ -3,10 +3,10 @@ import { usePropertyChange as e } from "@arcgis/lumina/controllers";
3
3
  import i from "@arcgis/core/widgets/Measurement.js";
4
4
  import { LitElement as s, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
5
5
  import { m as r } from "../../chunks/useWidget.js";
6
- import { css as n } from "@lit/reactive-element/css-tag.js";
6
+ import { css as n } from "lit";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.5 */
9
+ v4.34.0-next.51 */
10
10
  const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
11
11
  class h extends s {
12
12
  constructor() {
@@ -1,13 +1,12 @@
1
- import { c as n } from "../../chunks/runtime.js";
2
- import { html as i } from "lit-html";
3
- import o from "@arcgis/core/applications/Components/QuantityFormatter.js";
4
- import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
5
- import { f as l } from "../../chunks/measurementUtils.js";
6
- import { css as m } from "@lit/reactive-element/css-tag.js";
1
+ import { c as r } from "../../chunks/runtime.js";
2
+ import { css as o, html as i } from "lit";
3
+ import c from "@arcgis/core/applications/Components/QuantityFormatter.js";
4
+ import { LitElement as l, safeClassMap as s } from "@arcgis/lumina";
5
+ import { f as m } from "../../chunks/measurementUtils.js";
7
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
7
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.5 */
10
- const u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
8
+ v4.34.0-next.51 */
9
+ const u = o`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
11
10
  error: "error",
12
11
  hint: "hint",
13
12
  actions: "actions",
@@ -17,9 +16,9 @@ const u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-directi
17
16
  itemTitle: "item-title",
18
17
  itemValue: "item-value"
19
18
  };
20
- class d extends c {
19
+ class d extends l {
21
20
  constructor() {
22
- super(...arguments), this._formatter = new o(), this.items = [], this.state = "disabled", this.unsupportedLabel = "";
21
+ super(...arguments), this._formatter = new c(), this.items = [], this.state = "disabled", this.unsupportedLabel = "";
23
22
  }
24
23
  static {
25
24
  this.properties = { hintLabel: 1, items: 0, state: 1, unsupportedLabel: 1 };
@@ -47,13 +46,13 @@ function h(t) {
47
46
  return i`<section class=${s(e.section)}>${t.items.map((a) => f({ formatter: t.formatter, measurement: a.measurement, title: a.title }))}</section>`;
48
47
  }
49
48
  function f(t) {
50
- const a = t.measurement.state === "available" ? l(t.formatter, t.measurement.value) : null, r = t.measurement.state === "unavailable";
49
+ const a = t.measurement.state === "available" ? m(t.formatter, t.measurement.value) : null, n = t.measurement.state === "unavailable";
51
50
  return i`<div class=${s({
52
51
  [e.item]: !0,
53
- [e.itemDisabled]: r
52
+ [e.itemDisabled]: n
54
53
  })}><span class=${s(e.itemTitle)}>${t.title}</span><span aria-live=polite class=${s(e.itemValue)}>${a ?? "-"}</span></div>`;
55
54
  }
56
- n("arcgis-measurement-content", d);
55
+ r("arcgis-measurement-content", d);
57
56
  export {
58
57
  d as ArcgisMeasurementContent
59
58
  };