@arcgis/map-components 4.32.0-next.77 → 4.32.0-next.79

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 (324) hide show
  1. package/dist/arcgis-map-components/2IYAYFH7.js +6 -0
  2. package/dist/arcgis-map-components/{33LW5AQL.js → 3CJ3GQAB.js} +2 -2
  3. package/dist/arcgis-map-components/5YTDIQAZ.js +6 -0
  4. package/dist/arcgis-map-components/{SWMMJD4D.js → 6HW2KUK2.js} +2 -2
  5. package/dist/arcgis-map-components/7AAWKSEM.js +6 -0
  6. package/dist/arcgis-map-components/{LSX5DMNL.js → 7JKEKAWK.js} +2 -2
  7. package/dist/arcgis-map-components/AP6EN62T.js +6 -0
  8. package/dist/arcgis-map-components/BZRLL7YF.js +6 -0
  9. package/dist/arcgis-map-components/{4QOP66JK.js → C2GKZZMA.js} +2 -2
  10. package/dist/arcgis-map-components/C3Q7PHOK.js +6 -0
  11. package/dist/arcgis-map-components/{2PJGV3AF.js → CYJ2RE7N.js} +2 -2
  12. package/dist/arcgis-map-components/{2CHF5DEJ.js → D2EGQS5J.js} +2 -2
  13. package/dist/arcgis-map-components/{QXVHOE43.js → DKH47VWO.js} +2 -2
  14. package/dist/arcgis-map-components/{G2GMMIGE.js → E4LJZ7T4.js} +2 -2
  15. package/dist/arcgis-map-components/E4TKQC6F.js +8 -0
  16. package/dist/arcgis-map-components/{YR3L7JOQ.js → EYFQT4IY.js} +2 -2
  17. package/dist/arcgis-map-components/{HZNIYGDG.js → FLW3GOMZ.js} +2 -2
  18. package/dist/arcgis-map-components/{WXUZAB2P.js → FNPLPKT5.js} +2 -2
  19. package/dist/arcgis-map-components/FPTIFJS5.js +6 -0
  20. package/dist/arcgis-map-components/FXKX6G6E.js +6 -0
  21. package/dist/arcgis-map-components/GGHSQOAH.js +6 -0
  22. package/dist/arcgis-map-components/{ZA7QGWDP.js → GR5J6GFV.js} +2 -2
  23. package/dist/arcgis-map-components/HHXJIOET.js +6 -0
  24. package/dist/arcgis-map-components/{ER7UCVKX.js → HJV3XQBX.js} +2 -2
  25. package/dist/arcgis-map-components/{DEY27OVP.js → HVV4IYJQ.js} +2 -2
  26. package/dist/arcgis-map-components/HXGEZP3V.js +6 -0
  27. package/dist/arcgis-map-components/{X4VLODCD.js → ICIUAXY5.js} +1 -1
  28. package/dist/arcgis-map-components/IHCU3D6Y.js +6 -0
  29. package/dist/arcgis-map-components/{SCTW6LBO.js → IHG2M4CQ.js} +2 -2
  30. package/dist/arcgis-map-components/{DRL7UZ6L.js → IL52MKUP.js} +2 -2
  31. package/dist/arcgis-map-components/IUCSRH5G.js +6 -0
  32. package/dist/arcgis-map-components/JHGMG7Z2.js +6 -0
  33. package/dist/arcgis-map-components/KGX3YRT3.js +6 -0
  34. package/dist/arcgis-map-components/KKCICICU.js +6 -0
  35. package/dist/arcgis-map-components/LOLQN4KI.js +6 -0
  36. package/dist/arcgis-map-components/{D6UB5TW7.js → LTQ33PNH.js} +2 -2
  37. package/dist/arcgis-map-components/{AL5TPIB6.js → MG7IP5IY.js} +2 -2
  38. package/dist/arcgis-map-components/{TT6LGUAR.js → MICLMWHP.js} +2 -2
  39. package/dist/arcgis-map-components/MITLJ2IO.js +6 -0
  40. package/dist/arcgis-map-components/{AXIO5RRY.js → N4IKFTP6.js} +2 -2
  41. package/dist/arcgis-map-components/{65TVGJB5.js → NQJHYC6A.js} +2 -2
  42. package/dist/arcgis-map-components/{Q6VJ7SHB.js → ORGVI77H.js} +2 -2
  43. package/dist/arcgis-map-components/OTGJ23MZ.js +6 -0
  44. package/dist/arcgis-map-components/{RO6GKN5H.js → OZOIEEMD.js} +2 -2
  45. package/dist/arcgis-map-components/{U3BHLT2D.js → PCOTALDM.js} +2 -2
  46. package/dist/arcgis-map-components/PITYYB5D.js +6 -0
  47. package/dist/arcgis-map-components/PMBJ35GD.js +6 -0
  48. package/dist/arcgis-map-components/PT23Y76H.js +6 -0
  49. package/dist/arcgis-map-components/{CCMNIN4Q.js → PTEJRXBQ.js} +2 -2
  50. package/dist/arcgis-map-components/{HCT6LNKZ.js → PVURVBZM.js} +2 -2
  51. package/dist/arcgis-map-components/PWWO5PWS.js +6 -0
  52. package/dist/arcgis-map-components/{N4JYMTUN.js → PYQ2OLDW.js} +2 -2
  53. package/dist/arcgis-map-components/QJFBV7LS.js +6 -0
  54. package/dist/arcgis-map-components/R7SNR6RD.js +6 -0
  55. package/dist/arcgis-map-components/{4NZASL5N.js → RQEWRV5N.js} +2 -2
  56. package/dist/arcgis-map-components/{UTKZZ3LM.js → SHVMTV6O.js} +2 -2
  57. package/dist/arcgis-map-components/TGBJ6WJP.js +6 -0
  58. package/dist/arcgis-map-components/TS4KJANP.js +6 -0
  59. package/dist/arcgis-map-components/{3WL4KSIQ.js → UYM7HC5H.js} +1 -1
  60. package/dist/arcgis-map-components/{YMMUVSQE.js → UYYMW3EM.js} +2 -2
  61. package/dist/arcgis-map-components/{KDCKQJG2.js → V4VH4LDX.js} +2 -2
  62. package/dist/arcgis-map-components/{LKJ7WVB6.js → VGIXCJJ3.js} +2 -2
  63. package/dist/arcgis-map-components/VR2ZIJ4G.js +6 -0
  64. package/dist/arcgis-map-components/{N3Q3VMAJ.js → WJZZ6EKU.js} +2 -2
  65. package/dist/arcgis-map-components/WSPZ5N7H.js +6 -0
  66. package/dist/arcgis-map-components/{EHXXKBYT.js → X2K7ANO3.js} +2 -2
  67. package/dist/arcgis-map-components/{CPYOL6GT.js → YQFDP7IN.js} +2 -2
  68. package/dist/arcgis-map-components/{TD3Q5MWQ.js → YVZBBUGM.js} +2 -2
  69. package/dist/arcgis-map-components/YY4OLV2B.js +6 -0
  70. package/dist/arcgis-map-components/{XEXARMTW.js → Z4QQHEG2.js} +2 -2
  71. package/dist/arcgis-map-components/{WDKQDTVX.js → ZBM4QERW.js} +2 -2
  72. package/dist/arcgis-map-components/{3NCV6QGF.js → ZD7W6BYP.js} +2 -2
  73. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  74. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.ar.json +1 -1
  75. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.bg.json +1 -1
  76. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.bs.json +1 -1
  77. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.ca.json +1 -1
  78. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.cs.json +1 -1
  79. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.da.json +1 -1
  80. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.de.json +1 -1
  81. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.el.json +1 -1
  82. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.en.json +1 -1
  83. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.es.json +1 -1
  84. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.et.json +1 -1
  85. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.fi.json +1 -1
  86. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.fr.json +1 -1
  87. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.he.json +1 -1
  88. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.hr.json +1 -1
  89. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.hu.json +1 -1
  90. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.id.json +1 -1
  91. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.it.json +1 -1
  92. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.ja.json +1 -1
  93. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.ko.json +1 -1
  94. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.lt.json +1 -1
  95. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.lv.json +1 -1
  96. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.nl.json +1 -1
  97. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.no.json +1 -1
  98. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.pl.json +1 -1
  99. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.pt-BR.json +1 -1
  100. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.pt-PT.json +1 -1
  101. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.ro.json +1 -1
  102. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.ru.json +1 -1
  103. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.sk.json +1 -1
  104. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.sl.json +1 -1
  105. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.sr.json +1 -1
  106. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.sv.json +1 -1
  107. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.th.json +1 -1
  108. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.tr.json +1 -1
  109. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.uk.json +1 -1
  110. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.vi.json +1 -1
  111. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.zh-CN.json +1 -1
  112. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.zh-HK.json +1 -1
  113. package/dist/arcgis-map-components/assets/basemap-gallery/t9n/messages.zh-TW.json +1 -1
  114. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.ar.json +1 -0
  115. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.bg.json +1 -0
  116. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.bs.json +1 -0
  117. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.ca.json +1 -0
  118. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.cs.json +1 -0
  119. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.da.json +1 -0
  120. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.de.json +1 -0
  121. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.el.json +1 -0
  122. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.en.json +1 -0
  123. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.es.json +1 -0
  124. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.et.json +1 -0
  125. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.fi.json +1 -0
  126. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.fr.json +1 -0
  127. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.he.json +1 -0
  128. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.hr.json +1 -0
  129. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.hu.json +1 -0
  130. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.id.json +1 -0
  131. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.it.json +1 -0
  132. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.ja.json +1 -0
  133. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.ko.json +1 -0
  134. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.lt.json +1 -0
  135. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.lv.json +1 -0
  136. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.nb.json +1 -0
  137. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.nl.json +1 -0
  138. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.no.json +1 -0
  139. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.pl.json +1 -0
  140. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.pt-BR.json +1 -0
  141. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.pt-PT.json +1 -0
  142. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.ro.json +1 -0
  143. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.ru.json +1 -0
  144. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.sk.json +1 -0
  145. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.sl.json +1 -0
  146. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.sr.json +1 -0
  147. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.sv.json +1 -0
  148. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.th.json +1 -0
  149. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.tr.json +1 -0
  150. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.uk.json +1 -0
  151. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.vi.json +1 -0
  152. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.zh-CN.json +1 -0
  153. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.zh-HK.json +1 -0
  154. package/dist/arcgis-map-components/assets/directional-pad/t9n/messages.zh-TW.json +1 -0
  155. package/dist/chunks/basemap-gallery-item.js +1 -1
  156. package/dist/chunks/component-utils.js +1 -1
  157. package/dist/chunks/disconnected.js +1 -1
  158. package/dist/chunks/globalCss.js +2 -2
  159. package/dist/chunks/legacyIcon.js +1 -1
  160. package/dist/chunks/runtime.js +1 -1
  161. package/dist/chunks/useViewModel.js +1 -1
  162. package/dist/chunks/useWidget.js +1 -1
  163. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -0
  164. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  165. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -0
  166. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  167. package/dist/components/arcgis-attachments/customElement.d.ts +1 -0
  168. package/dist/components/arcgis-attachments/customElement.js +1 -1
  169. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
  170. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
  171. package/dist/components/arcgis-basemap-gallery/customElement.js +7 -7
  172. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -0
  173. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  174. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
  175. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  176. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  177. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  178. package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -0
  179. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  180. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -0
  181. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  182. package/dist/components/arcgis-compass/customElement.d.ts +1 -0
  183. package/dist/components/arcgis-compass/customElement.js +1 -1
  184. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -1
  185. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  186. package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
  187. package/dist/components/arcgis-daylight/customElement.js +1 -1
  188. package/dist/components/arcgis-directional-pad/constants.d.ts +10 -0
  189. package/dist/components/arcgis-directional-pad/css.d.ts +10 -0
  190. package/dist/components/arcgis-directional-pad/customElement.d.ts +60 -22
  191. package/dist/components/arcgis-directional-pad/customElement.js +143 -15
  192. package/dist/components/arcgis-directional-pad/index.d.ts +5 -0
  193. package/dist/components/arcgis-directional-pad/index.js +5 -0
  194. package/dist/components/arcgis-directional-pad/utils.d.ts +25 -0
  195. package/dist/components/arcgis-directions/customElement.d.ts +1 -0
  196. package/dist/components/arcgis-directions/customElement.js +1 -1
  197. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -0
  198. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  199. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -0
  200. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  201. package/dist/components/arcgis-editor/customElement.d.ts +1 -0
  202. package/dist/components/arcgis-editor/customElement.js +1 -1
  203. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -0
  204. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  205. package/dist/components/arcgis-expand/customElement.d.ts +2 -0
  206. package/dist/components/arcgis-expand/customElement.js +5 -5
  207. package/dist/components/arcgis-feature/customElement.d.ts +1 -0
  208. package/dist/components/arcgis-feature/customElement.js +1 -1
  209. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -0
  210. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  211. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  212. package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -0
  213. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  214. package/dist/components/arcgis-features/customElement.d.ts +4 -1
  215. package/dist/components/arcgis-features/customElement.js +5 -5
  216. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -0
  217. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  218. package/dist/components/arcgis-fullscreen/customElement.d.ts +7 -3
  219. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  220. package/dist/components/arcgis-histogram/customElement.d.ts +1 -0
  221. package/dist/components/arcgis-histogram/customElement.js +1 -1
  222. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -0
  223. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  224. package/dist/components/arcgis-home/customElement.d.ts +1 -5
  225. package/dist/components/arcgis-home/customElement.js +1 -1
  226. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -0
  227. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  228. package/dist/components/arcgis-legend/customElement.d.ts +1 -0
  229. package/dist/components/arcgis-legend/customElement.js +1 -1
  230. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -0
  231. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  232. package/dist/components/arcgis-locate/customElement.d.ts +1 -0
  233. package/dist/components/arcgis-locate/customElement.js +1 -1
  234. package/dist/components/arcgis-map/customElement.d.ts +5 -0
  235. package/dist/components/arcgis-map/customElement.js +10 -10
  236. package/dist/components/arcgis-measurement/customElement.d.ts +1 -0
  237. package/dist/components/arcgis-measurement/customElement.js +1 -1
  238. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -0
  239. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  240. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -0
  241. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  242. package/dist/components/arcgis-placement/customElement.js +1 -1
  243. package/dist/components/arcgis-print/customElement.d.ts +1 -0
  244. package/dist/components/arcgis-print/customElement.js +1 -1
  245. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  246. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  247. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -0
  248. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  249. package/dist/components/arcgis-scene/customElement.d.ts +5 -0
  250. package/dist/components/arcgis-scene/customElement.js +7 -7
  251. package/dist/components/arcgis-search/customElement.d.ts +1 -0
  252. package/dist/components/arcgis-search/customElement.js +1 -1
  253. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -0
  254. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  255. package/dist/components/arcgis-sketch/customElement.d.ts +1 -0
  256. package/dist/components/arcgis-sketch/customElement.js +1 -1
  257. package/dist/components/arcgis-slice/customElement.d.ts +1 -0
  258. package/dist/components/arcgis-slice/customElement.js +1 -1
  259. package/dist/components/arcgis-slider/customElement.d.ts +1 -0
  260. package/dist/components/arcgis-slider/customElement.js +1 -1
  261. package/dist/components/arcgis-swipe/customElement.js +1 -1
  262. package/dist/components/arcgis-table-list/customElement.d.ts +1 -0
  263. package/dist/components/arcgis-table-list/customElement.js +1 -1
  264. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -0
  265. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  266. package/dist/components/arcgis-track/customElement.d.ts +1 -0
  267. package/dist/components/arcgis-track/customElement.js +1 -1
  268. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  269. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  270. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  271. package/dist/components/arcgis-value-picker/customElement.d.ts +1 -0
  272. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  273. package/dist/components/arcgis-version-management/customElement.js +1 -1
  274. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  275. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  276. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  277. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  278. package/dist/components/arcgis-weather/customElement.d.ts +1 -0
  279. package/dist/components/arcgis-weather/customElement.js +1 -1
  280. package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
  281. package/dist/components/arcgis-zoom/customElement.js +1 -1
  282. package/dist/docs/api.json +425 -117
  283. package/dist/docs/docs.json +265 -68
  284. package/dist/docs/vscode.html-custom-data.json +101 -52
  285. package/dist/docs/web-types.json +222 -106
  286. package/dist/index.js +1 -1
  287. package/dist/loader.js +6 -6
  288. package/dist/types/lumina.d.ts +5 -5
  289. package/dist/types/preact.d.ts +5 -5
  290. package/dist/types/react.d.ts +5 -5
  291. package/dist/types/stencil.d.ts +5 -5
  292. package/dist/utils/globalCss.d.ts +1 -1
  293. package/package.json +5 -5
  294. package/dist/arcgis-map-components/2ZX3S4PV.js +0 -6
  295. package/dist/arcgis-map-components/5SBYMRKH.js +0 -6
  296. package/dist/arcgis-map-components/7ZCT6U2A.js +0 -6
  297. package/dist/arcgis-map-components/ADX2D53U.js +0 -6
  298. package/dist/arcgis-map-components/AXIQ7ZWC.js +0 -6
  299. package/dist/arcgis-map-components/BO5TCODY.js +0 -6
  300. package/dist/arcgis-map-components/CBVQPRKX.js +0 -6
  301. package/dist/arcgis-map-components/CIM3GN4X.js +0 -6
  302. package/dist/arcgis-map-components/DQZVEFQE.js +0 -6
  303. package/dist/arcgis-map-components/G65XKQ5V.js +0 -6
  304. package/dist/arcgis-map-components/GMC5OSSY.js +0 -6
  305. package/dist/arcgis-map-components/GV2L7D7C.js +0 -6
  306. package/dist/arcgis-map-components/KEVAKYMU.js +0 -6
  307. package/dist/arcgis-map-components/L4D4WAAX.js +0 -6
  308. package/dist/arcgis-map-components/OEAPNRQR.js +0 -8
  309. package/dist/arcgis-map-components/OPIPREY5.js +0 -6
  310. package/dist/arcgis-map-components/P4JKKF6F.js +0 -6
  311. package/dist/arcgis-map-components/R6F7KHNO.js +0 -6
  312. package/dist/arcgis-map-components/RBFJ2Y4I.js +0 -6
  313. package/dist/arcgis-map-components/SW5ZQSSU.js +0 -6
  314. package/dist/arcgis-map-components/T73UTBQO.js +0 -6
  315. package/dist/arcgis-map-components/T7XFQNMX.js +0 -6
  316. package/dist/arcgis-map-components/V7IUXSVD.js +0 -6
  317. package/dist/arcgis-map-components/VL2CRATJ.js +0 -6
  318. package/dist/arcgis-map-components/WQHRPJA6.js +0 -6
  319. package/dist/arcgis-map-components/XXCHXTR7.js +0 -6
  320. package/dist/arcgis-map-components/XYWREF2I.js +0 -6
  321. package/dist/arcgis-map-components/Y5ED6E2J.js +0 -6
  322. package/dist/arcgis-map-components/YYCSXS67.js +0 -6
  323. package/dist/arcgis-map-components/ZFHHHVLV.js +0 -6
  324. package/dist/arcgis-map-components/ZQ5UPKB6.js +0 -6
@@ -50,7 +50,7 @@ export declare class ArcgisBasemapToggle extends LitElement {
50
50
  * one (e.g. in the Expand widget).
51
51
  */
52
52
  icon: Nil | string;
53
- /** The widget's default label. */
53
+ /** The component's default label. */
54
54
  label: string | undefined;
55
55
  /** Overwrite localized strings for this component */
56
56
  messageOverrides?: typeof this.messages._overrides;
@@ -10,7 +10,7 @@ import { css as L } from "@lit/reactive-element/css-tag.js";
10
10
  /*!
11
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- * v4.32.0-next.77
13
+ * v4.32.0-next.79
14
14
  */
15
15
  const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
16
16
  base: s,
@@ -60,6 +60,7 @@ export declare class ArcgisBookmarks extends LitElement {
60
60
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
61
61
  */
62
62
  icon: string;
63
+ /** The component's default label. */
63
64
  label: string;
64
65
  position: __esri.UIPosition;
65
66
  referenceElement: ArcgisReferenceElement | Nil | string;
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
8
8
  /*!
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.77
11
+ * v4.32.0-next.79
12
12
  */
13
13
  const r = d`arcgis-bookmarks{display:block}`, n = o(e);
14
14
  class m extends a {
@@ -54,6 +54,7 @@ export declare class ArcgisBuildingExplorer extends LitElement {
54
54
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
55
55
  */
56
56
  icon: string;
57
+ /** The component's default label. */
57
58
  label: string;
58
59
  layers: __esri.Collection<__esri.BuildingSceneLayer>;
59
60
  readonly level: __esri.BuildingLevel;
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
7
7
  /*!
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.77
10
+ * v4.32.0-next.79
11
11
  */
12
12
  const a = r`arcgis-building-explorer{display:block}`, d = s(i);
13
13
  class n extends l {
@@ -60,6 +60,7 @@ export declare class ArcgisCatalogLayerList extends LitElement {
60
60
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
61
61
  */
62
62
  icon: string;
63
+ /** The component's default label. */
63
64
  label: string;
64
65
  listItemCreatedFunction: __esri.CatalogLayerListListItemCreatedHandler;
65
66
  minFilterItems: number;
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
8
8
  /*!
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.77
11
+ * v4.32.0-next.79
12
12
  */
13
13
  const d = h`arcgis-catalog-layer-list{display:block}`, n = s(i);
14
14
  class c extends o {
@@ -46,6 +46,7 @@ export declare class ArcgisCompass extends LitElement {
46
46
  autoDestroyDisabled: boolean;
47
47
  get icon(): string | undefined;
48
48
  set icon(value: string | undefined);
49
+ /** The component's default label. */
49
50
  label: Nil | string;
50
51
  messageOverrides?: typeof this.messages._overrides;
51
52
  readonly orientation: __esri.Orientation;
@@ -10,7 +10,7 @@ import { css as $ } from "@lit/reactive-element/css-tag.js";
10
10
  /*!
11
11
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- * v4.32.0-next.77
13
+ * v4.32.0-next.79
14
14
  */
15
15
  const b = $`arcgis-compass{display:block}`, a = "esri-compass", r = {
16
16
  base: a,
@@ -58,9 +58,10 @@ export declare class ArcgisCoordinateConversion extends LitElement {
58
58
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
59
59
  */
60
60
  icon: string;
61
+ /** The component's default label. */
61
62
  label: string;
62
63
  locationSymbol: __esri.SimpleMarkerSymbol | __esri.PictureMarkerSymbol;
63
- mode: "live" | "capture";
64
+ mode: "capture" | "live";
64
65
  multipleConversionsDisabled: boolean;
65
66
  orientation: "auto" | "expand-up" | "expand-down";
66
67
  position: __esri.UIPosition;
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
7
7
  /*!
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.77
10
+ * v4.32.0-next.79
11
11
  */
12
12
  const l = h`arcgis-coordinate-conversion{display:block}`, c = n(s);
13
13
  class g extends r {
@@ -60,6 +60,7 @@ export declare class ArcgisDaylight extends LitElement {
60
60
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
61
61
  */
62
62
  icon: string;
63
+ /** The component's default label. */
63
64
  label: string;
64
65
  playSpeedMultiplier: number;
65
66
  position: __esri.UIPosition;
@@ -6,7 +6,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
6
6
  /*!
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.77
9
+ * v4.32.0-next.79
10
10
  */
11
11
  const o = h`arcgis-daylight{display:block}`, d = t(i);
12
12
  class n extends s {
@@ -0,0 +1,10 @@
1
+ import { ArcgisDirectionalPad } from './customElement.js';
2
+ export declare const directionalPadAngles: readonly [-45, 0, 45, -90, 90, -135, 180, 135];
3
+ export declare const directionalPadCyclicalAngles: readonly [-45, 0, 45, -90, 90, -135, 180, 135, -180];
4
+ export type DirectionalPadAngle = (typeof directionalPadAngles)[number];
5
+ export declare const directionalPadArrows: Readonly<Record<DirectionalPadAngle, {
6
+ readonly label: keyof NonNullable<ArcgisDirectionalPad["messageOverrides"]>;
7
+ readonly iconName: HTMLCalciteIconElement["icon"];
8
+ readonly borderRadiusStyle?: string;
9
+ }>>;
10
+ export declare const directionalPadMoveOnceDuration = 200;
@@ -0,0 +1,10 @@
1
+ export declare const css: {
2
+ readonly base: "arcgis-directional-pad";
3
+ readonly buttonsContainer: "arcgis-directional-pad__buttons-container";
4
+ readonly button: "arcgis-directional-pad__button";
5
+ readonly compassButton: "arcgis-directional-pad__compass";
6
+ readonly rotationContainer: "arcgis-directional-pad__rotation-container";
7
+ readonly rotationSliderContainer: "arcgis-directional-pad__rotation-slider-container";
8
+ readonly rotationReset: "arcgis-directional-pad__rotation-reset-button";
9
+ readonly error: "arcgis-directional-pad__error";
10
+ };
@@ -1,24 +1,23 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { ArcgisReferenceElement } from '../../utils/component-utils';
4
- import { Use } from '@arcgis/components-controllers';
5
4
  import { Nil } from '@arcgis/components-utils';
6
- import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
+ import { Use } from '@arcgis/components-controllers';
6
+ import { JsxNode, ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
7
 
8
- declare const useDirectionalPadWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
8
+ declare const useDirectionalPadViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
9
  manager: import('@arcgis/components-controllers').ControllerManager;
10
10
  el: HTMLElement;
11
11
  autoDestroyDisabled?: boolean;
12
12
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.DirectionalPad, "label" | "viewModel" | "icon" | "disabled" | "visualScale"> & {
13
+ } & Pick<__esri.DirectionalPadViewModel, never> & {
14
14
  reactiveUtils?: typeof __esri.reactiveUtils;
15
- state?: unknown;
16
- viewModel?: __esri.DirectionalPadViewModel | undefined;
15
+ state?: "ready" | "disabled" | "moving" | undefined;
17
16
  icon: Nil | string;
18
17
  label: Nil | string;
19
18
  referenceElement: ArcgisReferenceElement | Nil | string;
20
- position: __esri.UIPosition;
21
19
  arcgisReady: import('@arcgis/components-controllers').EventEmitter;
20
+ position: __esri.UIPosition;
22
21
  arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
23
22
  name: string;
24
23
  }> | undefined;
@@ -26,36 +25,75 @@ declare const useDirectionalPadWidget: (component: import('@arcgis/components-co
26
25
  childElem?: HTMLElement & {
27
26
  ownedBy?: HTMLElement;
28
27
  };
29
- view?: __esri.MapView | __esri.SceneView | Nil;
28
+ view?: __esri.MapView | __esri.SceneView | undefined;
30
29
  };
31
30
  autoDestroyDisabled: boolean;
32
31
  destroy: () => Promise<void>;
33
32
  }, options?: {
34
- editConstructorProperties(props: __esri.DirectionalPadProperties): __esri.DirectionalPadProperties | Promise<__esri.DirectionalPadProperties>;
35
- } | undefined) => __esri.DirectionalPad;
36
- /** The [DirectionalPad](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectionalPad.html) component can be used to control the position and rotation of the map. The D-Pad provides 8 directions of movement, a small compass which indicates the current orientation of the map and a slider for rotating the map.
33
+ editConstructorProperties(props: unknown): unknown;
34
+ } | undefined) => __esri.DirectionalPadViewModel;
35
+ /**
36
+ * A directional pad (D-Pad) component can be used to control the position and
37
+ * rotation of the map. The D-Pad provides eight directions of movement, a small
38
+ * compass which indicates the current orientation of the map and a slider for
39
+ * rotating the map.
40
+ *
41
+ * It is also possible to disable the map's rotation controls or change the size
42
+ * of the component.
43
+ *
44
+ * The DirectionalPad component is not supported in 3d.
37
45
  */
38
46
  export declare class ArcgisDirectionalPad extends LitElement {
47
+ private messages;
39
48
  /**
40
- * If true, the component will not be destroyed automatically when it is
41
- * disconnected from the document. This is useful when you want to move the
42
- * component to a different place on the page, or temporary hide it. If this
43
- * is set, make sure to call the \`destroy\` method when you are done to prevent
44
- * memory leaks.
49
+ * If true, the component will not be destroyed automatically when
50
+ * it is disconnected from the document. This is useful when you
51
+ * want to move the component to a different place on the page, or
52
+ * temporary hide it. If this is set, make sure to call the
53
+ * \`destroy\` method when you are done to prevent memory leaks.
45
54
  */
46
55
  autoDestroyDisabled: boolean;
56
+ /**
57
+ * Indicates whether interaction is allowed on the component. When `true`,
58
+ * this property sets the component to a disabled state to disable any user
59
+ * interaction.
60
+ */
47
61
  disabled: boolean;
48
62
  /**
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.
63
+ * Whether to hide directional pad buttons.
64
+ */
65
+ hideDirectionalButtons: boolean;
66
+ /**
67
+ * Icon which represents the component. It is typically used when the
68
+ * component is controlled by another one (e.g. in the arcgis-expand
69
+ * component).
70
+ *
71
+ * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
52
72
  */
53
- icon: string;
54
- label: string;
73
+ icon: Nil | string;
74
+ /** The component's default label. */
75
+ label: Nil | string;
76
+ /** Overwrite localized strings for this component */
77
+ messageOverrides?: typeof this.messages._overrides;
55
78
  position: __esri.UIPosition;
56
79
  referenceElement: ArcgisReferenceElement | Nil | string;
80
+ /**
81
+ * Whether to display the button to reset the rotation angle. This only takes
82
+ * effect if showRotationSlider is true.
83
+ */
84
+ showRotationResetButton: boolean;
85
+ /**
86
+ * Whether to display the map rotation slider.
87
+ */
88
+ showRotationSlider: boolean;
57
89
  readonly state: "ready" | "disabled" | "moving";
58
- visualScale: "s" | "l" | "m";
90
+ /**
91
+ * Determines the size of directional pad buttons and the slider.
92
+ *
93
+ * In addition to this parameter, you can set the width on the component
94
+ * container to dictate directional pad size.
95
+ */
96
+ visualScale: HTMLCalciteButtonElement["scale"];
59
97
  /** Permanently destroy the component */
60
98
  destroy(): Promise<void>;
61
99
  readonly arcgisPropertyChange: TargetedEvent<this, {
@@ -1,27 +1,66 @@
1
- import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsDirectionalPad as i } from "@arcgis/core-adapter";
3
- import { usePropertyChange as e } from "@arcgis/components-controllers";
4
- import { m as s } from "../../chunks/useWidget.js";
5
- import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
6
- import { css as l } from "@lit/reactive-element/css-tag.js";
1
+ import { c as u } from "../../chunks/runtime.js";
2
+ import { html as o } from "lit-html";
3
+ import { ref as p } from "lit-html/directives/ref.js";
4
+ import { g as d } from "../../chunks/globalCss.js";
5
+ import { u as m, m as b } from "../../chunks/useViewModel.js";
6
+ import { focusElement as g } from "@arcgis/components-utils";
7
+ import { load as v, usePropertyChange as _ } from "@arcgis/components-controllers";
8
+ import { importCoreReactiveUtils as f, newWidgetsDirectionalPadDirectionalPadViewModel as $ } from "@arcgis/core-adapter";
9
+ import { LitElement as w, createEvent as R, noShadowRoot as C, safeClassMap as a, nothing as l, safeStyleMap as x } from "@arcgis/lumina";
10
+ import { css as y } from "@lit/reactive-element/css-tag.js";
7
11
  /*!
8
12
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
13
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- * v4.32.0-next.77
14
+ * v4.32.0-next.79
11
15
  */
12
- const d = l`arcgis-directional-pad{display:block}`, c = s(i);
13
- class n extends a {
16
+ const h = [-45, 0, 45, -90, 90, -135, 180, 135], M = {
17
+ 0: { label: "north", iconName: "chevron-up" },
18
+ 45: { label: "northEast", iconName: "chevron-up-right" },
19
+ 90: { label: "east", iconName: "chevron-right" },
20
+ 135: { label: "southEast", iconName: "chevron-down-right" },
21
+ 180: { label: "south", iconName: "chevron-down" },
22
+ "-135": { label: "southWest", iconName: "chevron-down-left" },
23
+ "-90": { label: "west", iconName: "chevron-left" },
24
+ "-45": { label: "northWest", iconName: "chevron-up-left" }
25
+ }, n = "arcgis-directional-pad", s = {
26
+ base: n,
27
+ buttonsContainer: `${n}__buttons-container`,
28
+ button: `${n}__button`,
29
+ compassButton: `${n}__compass`,
30
+ rotationContainer: `${n}__rotation-container`,
31
+ rotationSliderContainer: `${n}__rotation-slider-container`,
32
+ rotationReset: `${n}__rotation-reset-button`,
33
+ error: `${n}__error`
34
+ };
35
+ function S(c) {
36
+ const { x: t, y: e, width: i, height: r } = c.getBoundingClientRect();
37
+ return { x: t + i / 2, y: e + r / 2 };
38
+ }
39
+ function B(c) {
40
+ return c?.spatialReference?.isWebMercator || c?.spatialReference?.isGeographic || !1;
41
+ }
42
+ const E = y`.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`, D = b($);
43
+ class P extends w {
14
44
  constructor() {
15
- super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.visualScale = this.widget.visualScale, this.arcgisPropertyChange = e()("state"), this.arcgisReady = o();
45
+ super(...arguments), this.messages = m({}), this._onContextMenu = (t) => t.preventDefault(), this._buttons = {}, this.reactiveUtils = v(f), this.viewModel = D(this), this.angle = this.viewModel.angle, this.rotation = this.viewModel.rotation, this.autoDestroyDisabled = !1, this.disabled = this.viewModel.disabled, this.hideDirectionalButtons = !1, this.icon = "move", this.position = "bottom-left", this.showRotationResetButton = !1, this.showRotationSlider = !1, this.state = this.viewModel.state, this.visualScale = "s", this.arcgisPropertyChange = _()("state"), this.arcgisReady = R();
16
46
  }
17
47
  static {
18
- this.properties = { autoDestroyDisabled: 5, disabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, visualScale: 1 };
48
+ this.properties = { _rotationEnabled: 16, angle: 16, rotation: 16, autoDestroyDisabled: 5, disabled: 5, hideDirectionalButtons: 5, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, showRotationResetButton: 5, showRotationSlider: 5, state: 3, visualScale: 1 };
19
49
  }
20
50
  static {
21
- this.shadowRootOptions = r;
51
+ this.shadowRootOptions = C;
22
52
  }
23
53
  static {
24
- this.styles = d;
54
+ this.styles = E;
55
+ }
56
+ // #endregion
57
+ // #region State Properties
58
+ /**
59
+ * When `false`, sets rotation-related controls to a disabled state so the
60
+ * user cannot interact with them.
61
+ */
62
+ get _rotationEnabled() {
63
+ return this.el.view?.ready ? this.el.view.constraints.rotationEnabled ?? !1 : !0;
25
64
  }
26
65
  // #endregion
27
66
  // #region Public Methods
@@ -29,8 +68,97 @@ class n extends a {
29
68
  async destroy() {
30
69
  await this.manager.destroy();
31
70
  }
71
+ // #endregion
72
+ // #region Lifecycle
73
+ loaded() {
74
+ this.manager.onLifecycle(() => [
75
+ // Move focus when movement angle changed by touch/mouse (not keyboard!)
76
+ this.reactiveUtils.watch(() => this.viewModel.angle, () => {
77
+ this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ? this.el.childElem?.focus() : g(this._buttons[this.viewModel.angle]));
78
+ })
79
+ ]);
80
+ }
81
+ // #endregion
82
+ // #region Private Methods
83
+ _rotateIcon(t) {
84
+ return {
85
+ "--rotation": `rotate(${t}deg)`
86
+ };
87
+ }
88
+ _setButtonContainerRef(t) {
89
+ t !== void 0 ? (this._buttonsContainer = t, queueMicrotask(() => {
90
+ this._buttons = Object.fromEntries(Array.from(t.children, (e) => [
91
+ Number.parseInt(e.getAttribute("data-angle") ?? ""),
92
+ e
93
+ ]));
94
+ })) : (this._buttonsContainer = void 0, this._buttons = {});
95
+ }
96
+ /**
97
+ * Find component center and start movement
98
+ */
99
+ _onButtonPointerDown(t) {
100
+ if (this._buttonsContainer === void 0)
101
+ return;
102
+ t.composedPath().find((r) => r.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);
103
+ const i = S(this._buttonsContainer);
104
+ this.viewModel.beginFollowingPointer(t, i);
105
+ }
106
+ _onSliderInput({ currentTarget: t }) {
107
+ typeof t.value == "number" && (this.viewModel.rotation = t.value);
108
+ }
109
+ /**
110
+ * Reset angle of rotation
111
+ */
112
+ _onRotationReset() {
113
+ this.viewModel.rotation = 0;
114
+ }
115
+ /**
116
+ * Handle directional pad clicks only when using the keyboard
117
+ */
118
+ _onClick(t) {
119
+ this.viewModel.moveOnce(t);
120
+ }
121
+ // #endregion
122
+ // #region Rendering
123
+ render() {
124
+ const { label: t, disabled: e } = this, i = this.el.view == null || this.el.view.type === "2d";
125
+ return o`<div .ariaLabel=${t ?? void 0} class=${a({ [s.base]: !0, [d.widget]: !0, [d.disabled]: e })} tabindex=-1>${i ? this._renderContent() : this._renderUnsupportedMessage()}</div>`;
126
+ }
127
+ _renderUnsupportedMessage() {
128
+ return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`;
129
+ }
130
+ _renderContent() {
131
+ return [
132
+ this.hideDirectionalButtons ? void 0 : this._renderDirectionalButtons(),
133
+ this.showRotationSlider ? this._renderRotation() : void 0
134
+ ];
135
+ }
136
+ _renderDirectionalButtons() {
137
+ return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{
138
+ handleEvent: this._onContextMenu,
139
+ capture: !0
140
+ }} ${p(this._setButtonContainerRef)}>${h.slice(0, 4).map(this._renderButton, this)}${this._renderCompass()}${h.slice(4).map(this._renderButton, this)}</calcite-action-group></calcite-action-pad>`;
141
+ }
142
+ _renderButton(t) {
143
+ const { label: e, iconName: i } = M[t], r = this.messages[e];
144
+ return o`<calcite-action .active=${this.angle === t} alignment=center class=${a(s.button)} data-angle=${t ?? l} .disabled=${this.disabled} @click=${this._onClick.bind(this, t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${r ?? ""} title=${r ?? l}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`;
145
+ }
146
+ _renderCompass() {
147
+ const t = this.disabled || B(this.el.view) ? "compass-needle" : "arrow-up", e = this.rotation === 0, i = this.messages.resetHeading;
148
+ return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled || !this._rotationEnabled || e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${x(this._rotateIcon(this.rotation))} .text=${i ?? ""} title=${i ?? l}>${!e && o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>` || ""}</calcite-action>`;
149
+ }
150
+ _renderRotation() {
151
+ return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton ? this._renderRotationResetButton() : null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`;
152
+ }
153
+ _renderRotationResetButton() {
154
+ const t = this.messages.resetHeading;
155
+ return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled || !this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t ?? ""} title=${t ?? l}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`;
156
+ }
157
+ _renderRotationSlider() {
158
+ return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled || !this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`;
159
+ }
32
160
  }
33
- t("arcgis-directional-pad", n);
161
+ u("arcgis-directional-pad", P);
34
162
  export {
35
- n as ArcgisDirectionalPad
163
+ P as ArcgisDirectionalPad
36
164
  };
@@ -1 +1,6 @@
1
+ import "@esri/calcite-components/components/calcite-action-pad";
2
+ import "@esri/calcite-components/components/calcite-action-group";
3
+ import "@esri/calcite-components/components/calcite-action";
4
+ import "@esri/calcite-components/components/calcite-icon";
5
+ import "@esri/calcite-components/components/calcite-slider";
1
6
  export * from "./customElement.js";
@@ -1 +1,6 @@
1
+ import "@esri/calcite-components/components/calcite-action-pad";
2
+ import "@esri/calcite-components/components/calcite-action-group";
3
+ import "@esri/calcite-components/components/calcite-action";
4
+ import "@esri/calcite-components/components/calcite-icon";
5
+ import "@esri/calcite-components/components/calcite-slider";
1
6
  export * from "./customElement.js";
@@ -0,0 +1,25 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import { Nil } from '@arcgis/components-utils';
3
+ import { DirectionalPadAngle } from './constants';
4
+ export interface Vector {
5
+ readonly x: number;
6
+ readonly y: number;
7
+ }
8
+ /**
9
+ * Find which of the 8 directions is closest to a given vector
10
+ *
11
+ * @private
12
+ */
13
+ export declare function vectorToClosestAngle(vector: Vector): DirectionalPadAngle;
14
+ export declare function unitVectorToAngle({ x, y }: Vector): number;
15
+ export declare function angleToUnitVector(angle: number): Vector;
16
+ export declare function deg2rad(d: number): number;
17
+ export declare function rad2deg(r: number): number;
18
+ export declare function toUnitVector(first: Vector, second: Vector): Vector;
19
+ /**
20
+ * Given an HTML element, find it's center coordinates
21
+ *
22
+ * @private
23
+ */
24
+ export declare function findElementCenter(element: Element): Vector;
25
+ export declare function canShowNorth(view: __esri.MapView | __esri.SceneView | Nil): boolean;
@@ -56,6 +56,7 @@ export declare class ArcgisDirections extends LitElement {
56
56
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
57
57
  */
58
58
  icon: string;
59
+ /** The component's default label. */
59
60
  label: string;
60
61
  readonly lastRoute: __esri.DirectionsLastRoute;
61
62
  layer: __esri.RouteLayer;
@@ -8,7 +8,7 @@ import { css as u } from "@lit/reactive-element/css-tag.js";
8
8
  /*!
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.77
11
+ * v4.32.0-next.79
12
12
  */
13
13
  const y = u`arcgis-directions{display:block}`, m = d(r), i = "map-components:arcgis-directions";
14
14
  class g extends l {
@@ -51,6 +51,7 @@ export declare class ArcgisDirectLineMeasurement3d extends LitElement {
51
51
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
52
52
  */
53
53
  icon: string;
54
+ /** The component's default label. */
54
55
  label: string;
55
56
  position: __esri.UIPosition;
56
57
  referenceElement: ArcgisReferenceElement | Nil | string;
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*!
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.77
10
+ * v4.32.0-next.79
11
11
  */
12
12
  const l = n`arcgis-directline-measurement-3d{display:block}`, c = s(e);
13
13
  class d extends a {
@@ -50,6 +50,7 @@ export declare class ArcgisDistanceMeasurement2d extends LitElement {
50
50
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
51
51
  */
52
52
  icon: string;
53
+ /** The component's default label. */
53
54
  label: string;
54
55
  position: __esri.UIPosition;
55
56
  referenceElement: ArcgisReferenceElement | Nil | string;
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
7
7
  /*!
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.77
10
+ * v4.32.0-next.79
11
11
  */
12
12
  const c = n`arcgis-distance-measurement-2d{display:block}`, m = i(e);
13
13
  class d extends o {
@@ -61,6 +61,7 @@ export declare class ArcgisEditor extends LitElement {
61
61
  * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
62
62
  */
63
63
  icon: string;
64
+ /** The component's default label. */
64
65
  label: string;
65
66
  labelOptions: __esri.SketchLabelOptions;
66
67
  layerInfos: __esri.EditorLayerInfo[];
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
7
7
  /*!
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.77
10
+ * v4.32.0-next.79
11
11
  */
12
12
  const d = r`arcgis-editor{display:block}`, g = o(i);
13
13
  class h extends l {
@@ -76,6 +76,7 @@ export declare class ArcgisElevationProfile extends LitElement {
76
76
  */
77
77
  icon: string;
78
78
  input: __esri.Graphic;
79
+ /** The component's default label. */
79
80
  label: string;
80
81
  position: __esri.UIPosition;
81
82
  profiles: __esri.Collection<__esri.ElevationProfileLineGround | __esri.ElevationProfileLineInput | __esri.ElevationProfileLineQuery | __esri.ElevationProfileLineView>;
@@ -7,7 +7,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
7
7
  /*!
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.77
10
+ * v4.32.0-next.79
11
11
  */
12
12
  const r = l`arcgis-elevation-profile{display:block}`, a = s(i);
13
13
  class d extends o {
@@ -51,6 +51,7 @@ export declare class ArcgisExpand extends LitElement {
51
51
  expandIcon: string;
52
52
  expandTooltip: string;
53
53
  expanded: boolean;
54
+ focusTrapEnabled: boolean;
54
55
  group: string;
55
56
  /** @private */
56
57
  /**
@@ -60,6 +61,7 @@ export declare class ArcgisExpand extends LitElement {
60
61
  */
61
62
  icon: string;
62
63
  iconNumber: number;
64
+ /** The component's default label. */
63
65
  label: string;
64
66
  mode: "auto" | "floating" | "drawer";
65
67
  placement: "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | "leading-start" | "leading" | "leading-end" | "trailing-end" | "trailing" | "trailing-start";