@arcgis/map-components 4.32.0-next.116 → 4.32.0-next.118

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 (272) hide show
  1. package/dist/arcgis-map-components/{Q7HMT6YC.js → 2SLYTOGS.js} +2 -2
  2. package/dist/arcgis-map-components/{QPUXDMMW.js → 32XU4DDZ.js} +2 -2
  3. package/dist/arcgis-map-components/{K5BU3ULI.js → 3BIVBSJD.js} +1 -1
  4. package/dist/arcgis-map-components/3U4SUV5J.js +4 -0
  5. package/dist/arcgis-map-components/{TRA7WGHJ.js → 3ZSERA7V.js} +2 -2
  6. package/dist/arcgis-map-components/{BGTXH5LD.js → 4E6QHIJM.js} +2 -2
  7. package/dist/arcgis-map-components/4UVXENNK.js +4 -0
  8. package/dist/arcgis-map-components/{4HB5XJZJ.js → 5ESSL5X2.js} +2 -2
  9. package/dist/arcgis-map-components/{YW2IECCB.js → 5VYPRKRT.js} +2 -2
  10. package/dist/arcgis-map-components/{UHQVWMIH.js → 647HSNEY.js} +2 -2
  11. package/dist/arcgis-map-components/{UMWCCPE2.js → 7S552M7M.js} +2 -2
  12. package/dist/arcgis-map-components/A5LAJIQH.js +4 -0
  13. package/dist/arcgis-map-components/AA6MP2RR.js +4 -0
  14. package/dist/arcgis-map-components/{7ZVXYGGP.js → AIAMZDR5.js} +2 -2
  15. package/dist/arcgis-map-components/{CE66WQX5.js → BMTHXGOO.js} +2 -2
  16. package/dist/arcgis-map-components/{FOQCZZXN.js → CHY6MSAJ.js} +2 -2
  17. package/dist/arcgis-map-components/{UFOTW5ES.js → CJB4AQNW.js} +2 -2
  18. package/dist/arcgis-map-components/CMCUVR2O.js +4 -0
  19. package/dist/arcgis-map-components/{7YIZHLHX.js → CRTAEAFR.js} +2 -2
  20. package/dist/arcgis-map-components/{UMKIX4CB.js → DBYPOQFN.js} +2 -2
  21. package/dist/arcgis-map-components/DFG567OH.js +4 -0
  22. package/dist/arcgis-map-components/{GCFTNE4V.js → DGXJEZGR.js} +2 -2
  23. package/dist/arcgis-map-components/{DCEWCBP4.js → DJAOHPWN.js} +2 -2
  24. package/dist/arcgis-map-components/{ZA3UWZ2F.js → DJVK4KUC.js} +1 -1
  25. package/dist/arcgis-map-components/E3IXYUMW.js +4 -0
  26. package/dist/arcgis-map-components/{HUN27NCI.js → ELDSUYAU.js} +2 -2
  27. package/dist/arcgis-map-components/{EE3MXPBL.js → FNB2XNIT.js} +2 -2
  28. package/dist/arcgis-map-components/{KPJCCNGQ.js → FUI5OMEA.js} +1 -1
  29. package/dist/arcgis-map-components/{O5QE74PM.js → FWC3YR25.js} +2 -2
  30. package/dist/arcgis-map-components/{SLXK2I7X.js → GOSYOR4U.js} +2 -2
  31. package/dist/arcgis-map-components/{OY6GSDLS.js → GRV2AUVA.js} +2 -2
  32. package/dist/arcgis-map-components/{Z4RL567L.js → HG3SZTGT.js} +2 -2
  33. package/dist/arcgis-map-components/{VV3DWCWP.js → HO5YWPFM.js} +2 -2
  34. package/dist/arcgis-map-components/{2JPSW6AB.js → INRBGBYV.js} +2 -2
  35. package/dist/arcgis-map-components/{SISG3G3P.js → INWHZ7L3.js} +2 -2
  36. package/dist/arcgis-map-components/{XA3UCKEH.js → J6ASGVXU.js} +2 -2
  37. package/dist/arcgis-map-components/{MTLWTLRT.js → J7T2BT5J.js} +2 -2
  38. package/dist/arcgis-map-components/JGCXCURU.js +4 -0
  39. package/dist/arcgis-map-components/{K22UC5QY.js → JJBY3YTG.js} +2 -2
  40. package/dist/arcgis-map-components/{CQVAZY7M.js → KHBA4OYW.js} +2 -2
  41. package/dist/arcgis-map-components/KSME6U5Y.js +4 -0
  42. package/dist/arcgis-map-components/{4UMPFYC3.js → LORQX2JD.js} +2 -2
  43. package/dist/arcgis-map-components/MBBOOAEU.js +4 -0
  44. package/dist/arcgis-map-components/{FQPT5ZC6.js → MZLOVIPA.js} +2 -2
  45. package/dist/arcgis-map-components/{MSVZ2VUT.js → NBDNPA4X.js} +2 -2
  46. package/dist/arcgis-map-components/{Y4QCHU3Q.js → NGUSKYVR.js} +2 -2
  47. package/dist/arcgis-map-components/{USZXNJET.js → NMBSR6NR.js} +2 -2
  48. package/dist/arcgis-map-components/{S3XAFA5J.js → NWYV6L4P.js} +2 -2
  49. package/dist/arcgis-map-components/OBC3S6VT.js +4 -0
  50. package/dist/arcgis-map-components/{M2OWNHMI.js → OGLLW2FV.js} +2 -2
  51. package/dist/arcgis-map-components/P2CLEOHE.js +4 -0
  52. package/dist/arcgis-map-components/{HVQ2NT6X.js → PKKL65A5.js} +2 -2
  53. package/dist/arcgis-map-components/{3A5FC4KQ.js → PKVDVS64.js} +2 -2
  54. package/dist/arcgis-map-components/{AY273L6P.js → PNORYIYX.js} +2 -2
  55. package/dist/arcgis-map-components/QLOX24UX.js +4 -0
  56. package/dist/arcgis-map-components/QZXFWCBX.js +4 -0
  57. package/dist/arcgis-map-components/{QJLLUEEV.js → SMIZOY3N.js} +2 -2
  58. package/dist/arcgis-map-components/{KIAIWKBQ.js → TBXAXPXO.js} +2 -2
  59. package/dist/arcgis-map-components/{KDCGVGYH.js → TSEVAAY5.js} +2 -2
  60. package/dist/arcgis-map-components/{3KZSEZRN.js → U54FPFXH.js} +2 -2
  61. package/dist/arcgis-map-components/{PGWRHIHM.js → UNMBUOHY.js} +2 -2
  62. package/dist/arcgis-map-components/VZM2TQ75.js +4 -0
  63. package/dist/arcgis-map-components/{A53MOEWK.js → WSK43RRV.js} +2 -2
  64. package/dist/arcgis-map-components/WXIB4GL4.js +4 -0
  65. package/dist/arcgis-map-components/{6RVHSQ5H.js → XMDB32OA.js} +2 -2
  66. package/dist/arcgis-map-components/{6VRYEU4N.js → XYKWR2B5.js} +2 -2
  67. package/dist/arcgis-map-components/{BV53SAHJ.js → Y3AWKOXA.js} +2 -2
  68. package/dist/arcgis-map-components/YFYSMCB6.js +4 -0
  69. package/dist/arcgis-map-components/{MIQEZOKO.js → YIEWNW4M.js} +1 -1
  70. package/dist/arcgis-map-components/YKR7TDB2.js +4 -0
  71. package/dist/arcgis-map-components/{PTYXF7GU.js → YV2TPLPI.js} +2 -2
  72. package/dist/arcgis-map-components/{QA27YEDI.js → YZI65CCO.js} +2 -2
  73. package/dist/arcgis-map-components/ZX57SG2S.js +4 -0
  74. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  75. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ar.json +1 -0
  76. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -0
  77. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -0
  78. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -0
  79. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -0
  80. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -0
  81. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -0
  82. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -0
  83. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.en.json +1 -0
  84. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -0
  85. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -0
  86. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -0
  87. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -0
  88. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -0
  89. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -0
  90. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -0
  91. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -0
  92. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -0
  93. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -0
  94. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -0
  95. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -0
  96. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -0
  97. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -0
  98. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -0
  99. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -0
  100. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -0
  101. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -0
  102. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -0
  103. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -0
  104. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -0
  105. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -0
  106. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -0
  107. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -0
  108. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -0
  109. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -0
  110. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -0
  111. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -0
  112. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -0
  113. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -0
  114. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -0
  115. package/dist/chunks/basemap-gallery-item.js +1 -1
  116. package/dist/chunks/component-utils.js +1 -1
  117. package/dist/chunks/disconnected.js +1 -1
  118. package/dist/chunks/globalCss.js +1 -1
  119. package/dist/chunks/legacyIcon.js +1 -1
  120. package/dist/chunks/runtime.js +1 -1
  121. package/dist/chunks/useView.js +64 -0
  122. package/dist/chunks/useViewModel.js +17 -57
  123. package/dist/chunks/useWidget.js +1 -1
  124. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
  125. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  126. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
  127. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  128. package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
  129. package/dist/components/arcgis-attachments/customElement.js +1 -1
  130. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
  131. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -22
  132. package/dist/components/arcgis-basemap-gallery/customElement.js +3 -2
  133. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
  134. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  135. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -22
  136. package/dist/components/arcgis-basemap-toggle/customElement.js +7 -6
  137. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  138. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  139. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
  140. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  141. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +11 -3
  142. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  143. package/dist/components/arcgis-compass/customElement.d.ts +2 -21
  144. package/dist/components/arcgis-compass/customElement.js +6 -5
  145. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  146. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  147. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  148. package/dist/components/arcgis-daylight/customElement.js +1 -1
  149. package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -42
  150. package/dist/components/arcgis-directional-pad/customElement.js +6 -5
  151. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  152. package/dist/components/arcgis-directions/customElement.js +1 -1
  153. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -1
  154. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  155. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
  156. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  157. package/dist/components/arcgis-editor/customElement.d.ts +1 -2
  158. package/dist/components/arcgis-editor/customElement.js +7 -7
  159. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -10
  160. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  161. package/dist/components/arcgis-expand/customElement.d.ts +1 -1
  162. package/dist/components/arcgis-expand/customElement.js +1 -1
  163. package/dist/components/arcgis-feature/customElement.d.ts +2 -2
  164. package/dist/components/arcgis-feature/customElement.js +1 -1
  165. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  166. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
  167. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  168. package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
  169. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  170. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  171. package/dist/components/arcgis-features/customElement.js +1 -1
  172. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  173. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  174. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -20
  175. package/dist/components/arcgis-fullscreen/customElement.js +7 -6
  176. package/dist/components/arcgis-histogram/customElement.js +1 -1
  177. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  178. package/dist/components/arcgis-home/customElement.d.ts +3 -22
  179. package/dist/components/arcgis-home/customElement.js +6 -5
  180. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  181. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  182. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  183. package/dist/components/arcgis-legend/customElement.js +1 -1
  184. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
  185. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  186. package/dist/components/arcgis-link-chart/customElement.js +14 -14
  187. package/dist/components/arcgis-locate/customElement.d.ts +2 -21
  188. package/dist/components/arcgis-locate/customElement.js +11 -10
  189. package/dist/components/arcgis-map/customElement.d.ts +5 -1
  190. package/dist/components/arcgis-map/customElement.js +20 -12
  191. package/dist/components/arcgis-measurement/customElement.js +1 -1
  192. package/dist/components/arcgis-navigation-toggle/css.d.ts +3 -0
  193. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +34 -39
  194. package/dist/components/arcgis-navigation-toggle/customElement.js +59 -18
  195. package/dist/components/arcgis-navigation-toggle/index.d.ts +2 -0
  196. package/dist/components/arcgis-navigation-toggle/index.js +2 -0
  197. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
  198. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  199. package/dist/components/arcgis-placement/customElement.js +1 -1
  200. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  201. package/dist/components/arcgis-print/customElement.js +1 -1
  202. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -21
  203. package/dist/components/arcgis-scale-bar/customElement.js +22 -21
  204. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
  205. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  206. package/dist/components/arcgis-scene/customElement.d.ts +5 -1
  207. package/dist/components/arcgis-scene/customElement.js +25 -17
  208. package/dist/components/arcgis-search/customElement.d.ts +2 -2
  209. package/dist/components/arcgis-search/customElement.js +1 -1
  210. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  211. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  212. package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
  213. package/dist/components/arcgis-sketch/customElement.js +1 -1
  214. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  215. package/dist/components/arcgis-slice/customElement.js +1 -1
  216. package/dist/components/arcgis-slider/customElement.js +1 -1
  217. package/dist/components/arcgis-swipe/customElement.d.ts +2 -21
  218. package/dist/components/arcgis-swipe/customElement.js +3 -2
  219. package/dist/components/arcgis-table-list/customElement.d.ts +3 -11
  220. package/dist/components/arcgis-table-list/customElement.js +1 -1
  221. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  222. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  223. package/dist/components/arcgis-track/customElement.d.ts +2 -21
  224. package/dist/components/arcgis-track/customElement.js +3 -2
  225. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  226. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  227. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  228. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  229. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
  230. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  231. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  232. package/dist/components/arcgis-version-management/customElement.d.ts +2 -21
  233. package/dist/components/arcgis-version-management/customElement.js +3 -2
  234. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  235. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  236. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  237. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  238. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  239. package/dist/components/arcgis-weather/customElement.js +1 -1
  240. package/dist/components/arcgis-zoom/customElement.d.ts +2 -21
  241. package/dist/components/arcgis-zoom/customElement.js +9 -8
  242. package/dist/controllers/useView.d.ts +41 -0
  243. package/dist/controllers/useViewModel.d.ts +14 -39
  244. package/dist/docs/api.json +383 -198
  245. package/dist/docs/docs.json +251 -84
  246. package/dist/docs/vscode.html-custom-data.json +167 -168
  247. package/dist/docs/web-types.json +113 -120
  248. package/dist/index.js +1 -1
  249. package/dist/loader.js +4 -4
  250. package/dist/types/lumina.d.ts +2 -2
  251. package/dist/types/preact.d.ts +2 -2
  252. package/dist/types/react.d.ts +2 -2
  253. package/dist/types/stencil.d.ts +2 -2
  254. package/package.json +5 -5
  255. package/dist/arcgis-map-components/3H6MAGZA.js +0 -4
  256. package/dist/arcgis-map-components/5TS4EFWI.js +0 -4
  257. package/dist/arcgis-map-components/5WYQRESU.js +0 -4
  258. package/dist/arcgis-map-components/AOVFY7XF.js +0 -4
  259. package/dist/arcgis-map-components/B6CBNZBZ.js +0 -4
  260. package/dist/arcgis-map-components/BWXDNELH.js +0 -4
  261. package/dist/arcgis-map-components/EDCLHEQ4.js +0 -4
  262. package/dist/arcgis-map-components/EUKI6DIN.js +0 -4
  263. package/dist/arcgis-map-components/JUQS4ITT.js +0 -4
  264. package/dist/arcgis-map-components/K4C66BPU.js +0 -4
  265. package/dist/arcgis-map-components/NASMSXGY.js +0 -4
  266. package/dist/arcgis-map-components/O5B2GAVD.js +0 -4
  267. package/dist/arcgis-map-components/TA2MDZPZ.js +0 -4
  268. package/dist/arcgis-map-components/WFVQVSXS.js +0 -4
  269. package/dist/arcgis-map-components/XDGQJKBX.js +0 -4
  270. package/dist/arcgis-map-components/XWL5E4D5.js +0 -4
  271. package/dist/arcgis-map-components/YV2FL2IO.js +0 -4
  272. package/dist/arcgis-map-components/ZC63DPSH.js +0 -4
@@ -11,26 +11,7 @@ declare const useHomeViewModel: (component: import('@arcgis/components-controlle
11
11
  el: HTMLElement;
12
12
  autoDestroyDisabled?: boolean;
13
13
  destroy?: () => Promise<void>;
14
- } & Pick<HomeViewModel, never> & {
15
- reactiveUtils?: typeof __esri.reactiveUtils;
16
- state?: "ready" | "disabled" | "going-home" | undefined;
17
- icon: Nil | string;
18
- label: Nil | string;
19
- referenceElement: ArcgisReferenceElement | Nil | string;
20
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
21
- position: __esri.UIPosition;
22
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
23
- name: string;
24
- }> | undefined;
25
- el: HTMLElement & {
26
- childElem?: HTMLElement & {
27
- ownedBy?: HTMLElement;
28
- };
29
- view?: __esri.MapView | __esri.SceneView | undefined;
30
- };
31
- autoDestroyDisabled: boolean;
32
- destroy: () => Promise<void>;
33
- }, options?: {
14
+ } & Pick<HomeViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<HomeViewModel>, options?: {
34
15
  editConstructorProperties(props: unknown): unknown;
35
16
  } | undefined) => HomeViewModel;
36
17
  /**
@@ -39,7 +20,7 @@ declare const useHomeViewModel: (component: import('@arcgis/components-controlle
39
20
  *
40
21
  * @since 4.0
41
22
  */
42
- /** [Home](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Home.html) enables switching the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to its initial [Viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html) or a previously defined viewpoint.
23
+ /** Home component enables switching the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to its initial [Viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html) or a previously defined viewpoint.
43
24
  */
44
25
  export declare class ArcgisHome extends LitElement {
45
26
  private messages;
@@ -84,7 +65,7 @@ export declare class ArcgisHome extends LitElement {
84
65
  * // Sets the model's viewpoint to the Viewpoint based on a polygon geometry
85
66
  * home.viewpoint = vp;
86
67
  */
87
- viewpoint: __esri.Viewpoint | nullish;
68
+ viewpoint: nullish | __esri.Viewpoint;
88
69
  /**
89
70
  * This function provides the ability to interrupt and cancel the process
90
71
  * of navigating the view back to the view's initial extent.
@@ -5,15 +5,16 @@ import { reEmitEvent as n } from "@arcgis/components-controllers/accessor";
5
5
  import { classes as m } from "@arcgis/components-utils";
6
6
  import d from "@arcgis/core/widgets/Home/HomeViewModel.js";
7
7
  import { LitElement as h, createEvent as g, noShadowRoot as p, safeClassMap as i, nothing as v } from "@arcgis/lumina";
8
- import { u as w, m as u } from "../../chunks/useViewModel.js";
8
+ import { u as w } from "../../chunks/useView.js";
9
+ import { m as f } from "../../chunks/useViewModel.js";
9
10
  import { g as a } from "../../chunks/globalCss.js";
10
- import { css as f } from "@lit/reactive-element/css-tag.js";
11
+ import { css as u } from "@lit/reactive-element/css-tag.js";
11
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
13
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- v4.32.0-next.116 */
14
- const b = f`arcgis-home{display:block}`, y = {
14
+ v4.32.0-next.118 */
15
+ const b = u`arcgis-home{display:block}`, y = {
15
16
  base: "esri-home"
16
- }, M = u(d);
17
+ }, M = f(d);
17
18
  class $ extends h {
18
19
  constructor() {
19
20
  super(...arguments), this.messages = w(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.position = "top-left", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = n(() => this.viewModel, "go"), this.arcgisPropertyChange = c()("state"), this.arcgisReady = g();
@@ -34,7 +34,7 @@ declare const useLayerListWidget: (component: import('@arcgis/components-control
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.LayerListProperties | undefined): __esri.LayerListProperties | Promise<__esri.LayerListProperties | undefined> | undefined;
36
36
  } | undefined) => LayerList;
37
- /** The [LayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html) provides a way to display a list of layers, and switch on/off their visibility.
37
+ /** The LayerList component provides a way to display a list of layers, and switch on/off their visibility.
38
38
  */
39
39
  export declare class ArcgisLayerList extends LitElement {
40
40
  /**
@@ -82,7 +82,7 @@ export declare class ArcgisLayerList extends LitElement {
82
82
  showFilter: boolean;
83
83
  showHeading: boolean;
84
84
  showTemporaryLayerIndicators: boolean;
85
- readonly state: "ready" | "disabled" | "loading";
85
+ readonly state: "ready" | "loading" | "disabled";
86
86
  /** The TableList that displays the tables associated with a KnowledgeGraphLayer. */
87
87
  get tableList(): __esri.TableList | nullish;
88
88
  visibilityAppearance: "default" | "checkbox";
@@ -7,7 +7,7 @@ import { m as d } from "../../chunks/useWidget.js";
7
7
  import { css as n } from "@lit/reactive-element/css-tag.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- v4.32.0-next.116 */
10
+ v4.32.0-next.118 */
11
11
  const g = n`arcgis-layer-list{display:block}`, c = d(o);
12
12
  class m extends r {
13
13
  constructor() {
@@ -34,7 +34,7 @@ declare const useLegendWidget: (component: import('@arcgis/components-controller
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.LegendProperties | undefined): __esri.LegendProperties | Promise<__esri.LegendProperties | undefined> | undefined;
36
36
  } | undefined) => Legend;
37
- /** The [Legend](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html) describes the symbols used to represent layers in a map.
37
+ /** The Legend component describes the symbols used to represent layers in a map.
38
38
  */
39
39
  export declare class ArcgisLegend extends LitElement {
40
40
  activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- v4.32.0-next.116 */
9
+ v4.32.0-next.118 */
10
10
  const d = n`arcgis-legend{display:block}`, h = o(i);
11
11
  class l extends s {
12
12
  constructor() {
@@ -34,7 +34,7 @@ declare const useLineOfSightWidget: (component: import('@arcgis/components-contr
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.LineOfSightProperties | undefined): __esri.LineOfSightProperties | Promise<__esri.LineOfSightProperties | undefined> | undefined;
36
36
  } | undefined) => LineOfSight;
37
- /** [LineOfSight](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LineOfSight.html) is a 3D analysis tool that allows you to perform visibility analysis in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
37
+ /** LineOfSight component is a 3D analysis tool that allows you to perform visibility analysis in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
38
38
  */
39
39
  export declare class ArcgisLineOfSight extends LitElement {
40
40
  readonly analysis: __esri.LineOfSightAnalysis;
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- v4.32.0-next.116 */
9
+ v4.32.0-next.118 */
10
10
  const l = n`arcgis-line-of-sight{display:block}`, h = r(i);
11
11
  class c extends e {
12
12
  constructor() {
@@ -1,15 +1,15 @@
1
1
  import { c } from "../../chunks/runtime.js";
2
- import { makeAccessorController as h, reEmitEvent as t, accessorSupport as v } from "@arcgis/components-controllers/accessor";
2
+ import { makeAccessorController as r, reEmitEvent as t, accessorSupport as v } from "@arcgis/components-controllers/accessor";
3
3
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import d from "@arcgis/core/views/LinkChartView.js";
5
5
  import l from "@arcgis/core/WebLinkChart.js";
6
6
  import { LitElement as p, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
7
- import { e as r, i as g } from "../../chunks/component-utils.js";
7
+ import { e as h, i as g } from "../../chunks/component-utils.js";
8
8
  import { css as y } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- v4.32.0-next.116 */
12
- const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f = h(
11
+ v4.32.0-next.118 */
12
+ const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f = r(
13
13
  l,
14
14
  /**
15
15
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
@@ -20,12 +20,12 @@ const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f =
20
20
  * in an externalized package.
21
21
  */
22
22
  {}
23
- ), b = h(d, {});
24
- class V extends p {
23
+ ), V = r(d, {});
24
+ class b extends p {
25
25
  constructor() {
26
- super(...arguments), this._map = f(this, {
26
+ super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, {
27
27
  editConstructorProperties: this._editMapProperties
28
- }), this.view = b(this, { editConstructorProperties: this._editViewProperties }), 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.graphics = this.view.graphics, this.highlights = this.view.highlights, 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.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
28
+ }), this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this.view = V(this, { editConstructorProperties: this._editViewProperties }), 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.graphics = this.view.graphics, this.highlights = this.view.highlights, 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.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
29
29
  }
30
30
  static {
31
31
  this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, 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: 7, viewpoint: 0, zoom: 9 };
@@ -47,7 +47,7 @@ class V extends p {
47
47
  return this.view.center ?? this._center;
48
48
  }
49
49
  set center(i) {
50
- const e = r(i, this.ready ? this.view : void 0);
50
+ const e = h(i, this.ready ? this.view : void 0);
51
51
  e && (this.ready && (this.view.center = e), this._center = e);
52
52
  }
53
53
  /**
@@ -61,7 +61,7 @@ class V extends p {
61
61
  return this.view.extent ?? this._extent;
62
62
  }
63
63
  set extent(i) {
64
- this.view.ready || (this._extent = i), i && !this.extent?.equals(i) && (this.view.extent = i);
64
+ this.view.ready && !this.extent?.equals(i) && (this.view.extent = i), this._extent = i;
65
65
  }
66
66
  /** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
67
67
  get interacting() {
@@ -106,7 +106,7 @@ class V extends p {
106
106
  return this.view.viewpoint ?? this._viewpoint;
107
107
  }
108
108
  set viewpoint(i) {
109
- g(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
109
+ this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
110
110
  }
111
111
  /**
112
112
  * Represents the level of detail (LOD) at the center of the view.
@@ -196,11 +196,11 @@ class V extends p {
196
196
  await this.manager.use(this._map), this.view.ui || (i.ui = {
197
197
  components: ["attribution"]
198
198
  }), i.map ??= this._map;
199
- const e = r(this.center, void 0);
199
+ const e = h(this.center, void 0);
200
200
  return e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
201
201
  }
202
202
  }
203
- c("arcgis-link-chart", V);
203
+ c("arcgis-link-chart", b);
204
204
  export {
205
- V as ArcgisLinkChart
205
+ b as ArcgisLinkChart
206
206
  };
@@ -11,29 +11,10 @@ declare const useLocateViewModel: (component: import('@arcgis/components-control
11
11
  el: HTMLElement;
12
12
  autoDestroyDisabled?: boolean;
13
13
  destroy?: () => Promise<void>;
14
- } & Pick<LocateViewModel, never> & {
15
- reactiveUtils?: typeof __esri.reactiveUtils;
16
- state?: "ready" | "disabled" | "error" | "feature-unsupported" | "locating" | undefined;
17
- icon: Nil | string;
18
- label: Nil | string;
19
- referenceElement: ArcgisReferenceElement | Nil | string;
20
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
21
- position: __esri.UIPosition;
22
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
23
- name: string;
24
- }> | undefined;
25
- el: HTMLElement & {
26
- childElem?: HTMLElement & {
27
- ownedBy?: HTMLElement;
28
- };
29
- view?: __esri.MapView | __esri.SceneView | undefined;
30
- };
31
- autoDestroyDisabled: boolean;
32
- destroy: () => Promise<void>;
33
- }, options?: {
14
+ } & Pick<LocateViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LocateViewModel>, options?: {
34
15
  editConstructorProperties(props: unknown): unknown;
35
16
  } | undefined) => LocateViewModel;
36
- /** [Locate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate.html) animates the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to the user's current location.
17
+ /** Locate component animates the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to the user's current location.
37
18
  */
38
19
  export declare class ArcgisLocate extends LitElement {
39
20
  private messages;
@@ -1,23 +1,24 @@
1
1
  import { c as m } from "../../chunks/runtime.js";
2
2
  import { html as t } from "lit-html";
3
3
  import { usePropertyChange as g } from "@arcgis/components-controllers";
4
- import { reEmitEvent as c } from "@arcgis/components-controllers/accessor";
4
+ import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
5
5
  import { classes as u } from "@arcgis/components-utils";
6
- import v from "@arcgis/core/widgets/Locate/LocateViewModel.js";
7
- import { LitElement as f, createEvent as w, noShadowRoot as E, safeClassMap as l, nothing as b } from "@arcgis/lumina";
8
- import { u as M, m as y } from "../../chunks/useViewModel.js";
9
- import { g as r } from "../../chunks/globalCss.js";
6
+ import f from "@arcgis/core/widgets/Locate/LocateViewModel.js";
7
+ import { LitElement as v, createEvent as w, noShadowRoot as E, safeClassMap as c, nothing as b } from "@arcgis/lumina";
8
+ import { u as M } from "../../chunks/useView.js";
9
+ import { m as y } from "../../chunks/useViewModel.js";
10
+ import { g as l } from "../../chunks/globalCss.js";
10
11
  import { l as $ } from "../../chunks/legacyIcon.js";
11
12
  import { css as L } from "@lit/reactive-element/css-tag.js";
12
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
14
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
14
- v4.32.0-next.116 */
15
+ v4.32.0-next.118 */
15
16
  const D = L`arcgis-locate{display:block}`, O = {
16
17
  base: "esri-locate"
17
- }, n = "gps-off", T = y(v);
18
- class I extends f {
18
+ }, n = "gps-off", T = y(f);
19
+ class I extends v {
19
20
  constructor() {
20
- super(...arguments), this.messages = M(), this.viewModel = T(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 = n, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = c(() => this.viewModel, "locate-error"), this.arcgisPropertyChange = g()("state"), this.arcgisReady = w(), this.arcgisSuccess = c(() => this.viewModel, "locate");
21
+ super(...arguments), this.messages = M(), this.viewModel = T(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 = n, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = r(() => this.viewModel, "locate-error"), this.arcgisPropertyChange = g()("state"), this.arcgisReady = w(), this.arcgisSuccess = r(() => this.viewModel, "locate");
21
22
  }
22
23
  static {
23
24
  this.properties = { autoDestroyDisabled: 5, geolocationOptions: 1, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 3, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
@@ -61,7 +62,7 @@ class I extends f {
61
62
  // #region Rendering
62
63
  render() {
63
64
  const { viewModel: e, icon: d } = this, { state: o } = e, i = o === "locating", s = i ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = $ === void 0 ? n : void 0, a = this._localizeError(this.viewModel?.error);
64
- return t`<div class=${l(u(O.base, r.widget))}>${!h && t`<calcite-button class=${l(r.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? b}>${i ? t`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${a ? t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${a}</calcite-tooltip>` : null}</div>`;
65
+ return t`<div class=${c(u(O.base, l.widget))}>${!h && t`<calcite-button class=${c(l.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? b}>${i ? t`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${a ? t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${a}</calcite-tooltip>` : null}</div>`;
65
66
  }
66
67
  }
67
68
  m("arcgis-locate", I);
@@ -30,7 +30,7 @@ declare const useMapView: (component: import('@arcgis/components-controllers').S
30
30
  }, options?: {
31
31
  editConstructorProperties(props: __esri.MapViewProperties | undefined): __esri.MapViewProperties | Promise<__esri.MapViewProperties | undefined> | undefined;
32
32
  } | undefined) => MapView;
33
- /** Loads a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [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) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
33
+ /** Loads a WebMap from [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) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
34
34
  */
35
35
  export declare class ArcgisMap extends LitElement {
36
36
  /** Internal view of the component. */
@@ -242,6 +242,10 @@ export declare class ArcgisMap extends LitElement {
242
242
  addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
243
243
  /** Adds a layer or array of layers to the map layers collection. */
244
244
  addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
245
+ /** Adds a table to the map tables collection. */
246
+ addTable(table: __esri.FeatureLayer): Promise<void>;
247
+ /** Adds a table or array of tables to the map tables collection. */
248
+ addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
245
249
  /** Closes the popup. */
246
250
  closePopup(): Promise<void>;
247
251
  /** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
@@ -1,16 +1,16 @@
1
1
  import { c } from "../../chunks/runtime.js";
2
- import { makeAccessorController as r, reEmitEvent as e, accessorSupport as p } from "@arcgis/components-controllers/accessor";
2
+ import { makeAccessorController as r, reEmitEvent as e, accessorSupport as d } from "@arcgis/components-controllers/accessor";
3
3
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
- import v from "@arcgis/core/views/MapView.js";
5
- import d from "@arcgis/core/WebMap.js";
4
+ import p from "@arcgis/core/views/MapView.js";
5
+ import v from "@arcgis/core/WebMap.js";
6
6
  import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
7
7
  import { e as h, i as g } from "../../chunks/component-utils.js";
8
8
  import { css as y } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
11
- v4.32.0-next.116 */
11
+ v4.32.0-next.118 */
12
12
  const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
13
- d,
13
+ v,
14
14
  /**
15
15
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
16
16
  * a hack to remove them from the runtime code. This argument is not used at
@@ -20,10 +20,10 @@ const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
20
20
  * in an externalized package.
21
21
  */
22
22
  {}
23
- ), b = r(v, {});
24
- class V extends l {
23
+ ), b = r(p, {});
24
+ class _ extends l {
25
25
  constructor() {
26
- super(...arguments), this._map = f(this, { editConstructorProperties: this._editMapProperties }), this.view = b(this, { editConstructorProperties: this._editViewProperties }), 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.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, "layer-view-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layer-view-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();
26
+ super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, { editConstructorProperties: this._editMapProperties }), this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this.view = b(this, { editConstructorProperties: this._editViewProperties }), 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.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, "layer-view-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layer-view-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();
27
27
  }
28
28
  static {
29
29
  this.properties = { 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: 7, viewpoint: 0, zoom: 9 };
@@ -76,7 +76,7 @@ class V extends l {
76
76
  return this._map.portalItem?.id ?? this._itemId;
77
77
  }
78
78
  set itemId(i) {
79
- this._itemId = i, this.ready && p.reCreate(this._map, this).then(() => {
79
+ this._itemId = i, this.ready && d.reCreate(this._map, this).then(() => {
80
80
  this.view.map = this._map;
81
81
  }).catch(console.error);
82
82
  }
@@ -107,7 +107,7 @@ class V extends l {
107
107
  return this.view.viewpoint ?? this._viewpoint;
108
108
  }
109
109
  set viewpoint(i) {
110
- g(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
110
+ this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
111
111
  }
112
112
  /**
113
113
  * Represents the level of detail (LOD) at the center of the view.
@@ -136,6 +136,14 @@ class V extends l {
136
136
  async addLayers(i, t) {
137
137
  this.map?.addMany(i, t);
138
138
  }
139
+ /** Adds a table to the map tables collection. */
140
+ async addTable(i) {
141
+ this.map?.tables.add(i);
142
+ }
143
+ /** Adds a table or array of tables to the map tables collection. */
144
+ async addTables(i, t) {
145
+ this.map?.tables.addMany(i, t);
146
+ }
139
147
  /** Closes the popup. */
140
148
  async closePopup() {
141
149
  this.view?.closePopup();
@@ -207,7 +215,7 @@ class V extends l {
207
215
  return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
208
216
  }
209
217
  }
210
- c("arcgis-map", V);
218
+ c("arcgis-map", _);
211
219
  export {
212
- V as ArcgisMap
220
+ _ as ArcgisMap
213
221
  };
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- v4.32.0-next.116 */
9
+ v4.32.0-next.118 */
10
10
  const c = n`arcgis-measurement{display:block}`, h = r(i);
11
11
  class l extends s {
12
12
  constructor() {
@@ -0,0 +1,3 @@
1
+ export declare const css: {
2
+ readonly base: "arcgis-navigation-toggle";
3
+ };
@@ -2,39 +2,22 @@
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/components-controllers';
4
4
  import { Nil } from '@arcgis/components-utils';
5
- import { default as NavigationToggle } from '@arcgis/core/widgets/NavigationToggle.js';
6
- import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
+ import { PropertyValues } from 'lit';
7
+ import { useView } from '../../controllers/useView';
7
8
  import { ArcgisReferenceElement } from '../../utils/component-utils';
8
9
 
9
- declare const useNavigationToggleWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
10
- manager: import('@arcgis/components-controllers').ControllerManager;
11
- el: HTMLElement;
12
- autoDestroyDisabled?: boolean;
13
- destroy?: () => Promise<void>;
14
- } & Pick<NavigationToggle, never> & {
15
- reactiveUtils?: typeof __esri.reactiveUtils;
16
- state?: unknown;
17
- viewModel?: __esri.NavigationToggleViewModel | undefined;
18
- icon: Nil | string;
19
- label: Nil | string;
20
- referenceElement: ArcgisReferenceElement | Nil | string;
21
- position: __esri.UIPosition;
22
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
23
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
24
- name: string;
25
- }> | undefined;
26
- el: HTMLElement & {
27
- childElem?: HTMLElement & {
28
- ownedBy?: HTMLElement;
29
- };
30
- view?: __esri.MapView | __esri.SceneView | Nil;
31
- };
32
- autoDestroyDisabled: boolean;
33
- destroy: () => Promise<void>;
34
- }, options?: {
35
- editConstructorProperties(props: __esri.NavigationToggleProperties | undefined): __esri.NavigationToggleProperties | Promise<__esri.NavigationToggleProperties | undefined> | undefined;
36
- } | undefined) => NavigationToggle;
37
- /** The [NavigationToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle.html) two simple buttons for toggling the [navigation mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle-NavigationToggleViewModel.html#navigationMode) of a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
10
+ type State = "disabled" | "ready";
11
+ type NavigationMode = "pan" | "rotate";
12
+ type LayoutMode = "horizontal" | "vertical";
13
+ /**
14
+ * A navigation toggle component can be used to control the navigation mode of an arcgis-scene component.
15
+ *
16
+ * When the navigation mode is set to "pan", the mouse drag gesture pans the view and right-click + drag allows the user
17
+ * to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
18
+ * right-click + drag pans the view.
19
+ *
20
+ * The navitation toggle component is not supported in 2d.
38
21
  */
39
22
  export declare class ArcgisNavigationToggle extends LitElement {
40
23
  /**
@@ -46,18 +29,30 @@ export declare class ArcgisNavigationToggle extends LitElement {
46
29
  */
47
30
  autoDestroyDisabled: boolean;
48
31
  /**
49
- * Icon which represents the component.
50
- * Typically used when the component is controlled by another component (e.g. by the Expand component).
51
- * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
32
+ * Icon which represents the component. It is typically used when the
33
+ * component is controlled by another one (e.g. in the arcgis-expand
34
+ * component).
35
+ *
36
+ * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
52
37
  */
53
- icon: string | nullish;
38
+ icon: HTMLCalciteIconElement["icon"] | Nil;
54
39
  /** The component's default label. */
55
- label: string;
56
- layout: "vertical" | "horizontal";
40
+ label: string | undefined;
41
+ /** The layout of the component. */
42
+ layout: LayoutMode;
43
+ /**
44
+ * The navigation mode of the [view](#view). See the table below for a list of
45
+ * possible values.
46
+ *
47
+ * Possible Value | Description
48
+ * ---------------|-------------
49
+ * pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
50
+ * rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
51
+ */
52
+ navigationMode: NavigationMode;
57
53
  position: __esri.UIPosition;
58
54
  referenceElement: ArcgisReferenceElement | Nil | string;
59
- readonly state: "ready" | "disabled";
60
- navigationMode: "rotate" | "pan";
55
+ state: State;
61
56
  /** Permanently destroy the component */
62
57
  destroy(): Promise<void>;
63
58
  toggle(): Promise<void>;
@@ -1,37 +1,78 @@
1
- import { c as t } from "../../chunks/runtime.js";
2
- import { usePropertyChange as i } from "@arcgis/components-controllers";
3
- import e from "@arcgis/core/widgets/NavigationToggle.js";
4
- import { LitElement as o, createEvent as s, noShadowRoot as a } from "@arcgis/lumina";
5
- import { m as g } from "../../chunks/useWidget.js";
6
- import { css as r } from "@lit/reactive-element/css-tag.js";
1
+ import { c as l } from "../../chunks/runtime.js";
2
+ import { usePropertyChange as d } from "@arcgis/components-controllers";
3
+ import { when as n } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { LitElement as g, createEvent as p, noShadowRoot as h, safeClassMap as m, nothing as c } from "@arcgis/lumina";
5
+ import { html as v } from "lit";
6
+ import { a as u, u as y } from "../../chunks/useView.js";
7
+ import { g as b } from "../../chunks/globalCss.js";
8
+ import { css as M } from "@lit/reactive-element/css-tag.js";
7
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
10
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- v4.32.0-next.116 */
10
- const n = r`arcgis-navigation-toggle{display:block}`, l = g(e);
11
- class h extends o {
11
+ v4.32.0-next.118 */
12
+ const f = "arcgis-navigation-toggle", $ = {
13
+ base: f
14
+ }, w = M`.arcgis-navigation-toggle{display:flex}`;
15
+ class _ extends g {
12
16
  constructor() {
13
- super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.position = "bottom-left", this.state = this.viewModel.state, this.navigationMode = this.viewModel.navigationMode, this.arcgisPropertyChange = i()("layout", "state"), this.arcgisReady = s();
17
+ super(...arguments), this.view = u(this), this._messages = y(), this.autoDestroyDisabled = !1, this.icon = "pan", this.layout = "vertical", this.navigationMode = "pan", this.position = "bottom-left", this.state = "disabled", this.arcgisPropertyChange = d()("layout", "state"), this.arcgisReady = p();
14
18
  }
15
19
  static {
16
- this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, position: 1, referenceElement: 1, state: 3, navigationMode: 3 };
20
+ this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, layout: 3, navigationMode: 3, position: 1, referenceElement: 1, state: 3 };
17
21
  }
18
22
  static {
19
- this.shadowRootOptions = a;
23
+ this.shadowRootOptions = h;
20
24
  }
21
25
  static {
22
- this.styles = n;
26
+ this.styles = w;
23
27
  }
24
- // #endregion
25
- // #region Public Methods
28
+ //#endregion
29
+ //#region Public Methods
26
30
  /** Permanently destroy the component */
27
31
  async destroy() {
28
32
  await this.manager.destroy();
29
33
  }
30
34
  async toggle() {
31
- this.widget?.toggle();
35
+ this.state !== "disabled" && (this.navigationMode = this.navigationMode !== "pan" ? "pan" : "rotate");
36
+ }
37
+ //#endregion
38
+ //#region Lifecycle
39
+ load() {
40
+ this.manager.onLifecycle(() => [
41
+ n(() => this.view?.navigation.actionMap, () => this._updateNavigationActionMap()),
42
+ n(() => {
43
+ const { view: t } = this;
44
+ return t?.ready && t?.type === "3d" ? "ready" : "disabled";
45
+ }, (t) => {
46
+ this.state = t;
47
+ }, { sync: !0, initial: !0 })
48
+ ]);
49
+ }
50
+ willUpdate(t) {
51
+ t.has("navigationMode") && this._updateNavigationActionMap();
52
+ }
53
+ //#endregion
54
+ //#region Private Methods
55
+ _onPanClick() {
56
+ this.navigationMode = "pan";
57
+ }
58
+ _onRotateClick() {
59
+ this.navigationMode = "rotate";
60
+ }
61
+ _updateNavigationActionMap() {
62
+ const t = this.view?.navigation.actionMap;
63
+ if (!t)
64
+ return;
65
+ const a = this.navigationMode === "pan";
66
+ t.dragPrimary = a ? "pan" : "rotate", t.dragSecondary = a ? "rotate" : "pan";
67
+ }
68
+ //#endregion
69
+ //#region Rendering
70
+ render() {
71
+ const { _messages: t, navigationMode: a, state: r } = this, e = t.pan ?? "", s = t.rotate ?? "", i = r === "disabled", o = a === "pan";
72
+ return v`<calcite-action-bar .ariaLabel=${this.label} class=${m({ [$.base]: !0, [b.disabled]: i })} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${o} appearance=solid data-testid=navigation-toggle-pan .disabled=${i} icon=move @click=${this._onPanClick} scale=s .text=${e} title=${e ?? c}></calcite-action><calcite-action .active=${!o} appearance=solid data-testid=navigation-toggle-rotate .disabled=${i} icon=rotate @click=${this._onRotateClick} scale=s .text=${s} title=${s ?? c}></calcite-action></calcite-action-bar>`;
32
73
  }
33
74
  }
34
- t("arcgis-navigation-toggle", h);
75
+ l("arcgis-navigation-toggle", _);
35
76
  export {
36
- h as ArcgisNavigationToggle
77
+ _ as ArcgisNavigationToggle
37
78
  };