@arcgis/map-components 4.33.0-next.77 → 4.33.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 (404) hide show
  1. package/dist/arcgis-map-components/{WDRDEHCU.js → 2MMQ5QMO.js} +2 -2
  2. package/dist/arcgis-map-components/{2E4PMJZ5.js.LEGAL.txt → 2MMQ5QMO.js.LEGAL.txt} +1 -1
  3. package/dist/arcgis-map-components/{QQPIJPA2.js → 2QJOB7IH.js} +1 -1
  4. package/dist/arcgis-map-components/{25GM463M.js.LEGAL.txt → 2QJOB7IH.js.LEGAL.txt} +1 -1
  5. package/dist/arcgis-map-components/{YT7CJGW4.js → 2UJR6VJD.js} +2 -2
  6. package/dist/arcgis-map-components/{2I43X22H.js.LEGAL.txt → 2UJR6VJD.js.LEGAL.txt} +1 -1
  7. package/dist/arcgis-map-components/{3ZBAUWLC.js → 2VQAWLZS.js} +2 -2
  8. package/dist/arcgis-map-components/{2DVAVIRC.js.LEGAL.txt → 2VQAWLZS.js.LEGAL.txt} +1 -1
  9. package/dist/arcgis-map-components/{YIC7SWKV.js → 35DBIQMH.js} +2 -2
  10. package/dist/arcgis-map-components/35DBIQMH.js.LEGAL.txt +3 -0
  11. package/dist/arcgis-map-components/3FTFOANC.js +5 -0
  12. package/dist/arcgis-map-components/3FTFOANC.js.LEGAL.txt +3 -0
  13. package/dist/arcgis-map-components/{B27OKUVW.js → 3RUIDEX2.js} +2 -2
  14. package/dist/arcgis-map-components/3RUIDEX2.js.LEGAL.txt +3 -0
  15. package/dist/arcgis-map-components/{DWZWJ326.js → 4LSFX37Z.js} +2 -2
  16. package/dist/arcgis-map-components/4LSFX37Z.js.LEGAL.txt +3 -0
  17. package/dist/arcgis-map-components/{5INIKFJ4.js → 4ZDIS4BE.js} +2 -2
  18. package/dist/arcgis-map-components/4ZDIS4BE.js.LEGAL.txt +3 -0
  19. package/dist/arcgis-map-components/{SOSTKTTZ.js → 5HXDEHMG.js} +2 -2
  20. package/dist/arcgis-map-components/5HXDEHMG.js.LEGAL.txt +3 -0
  21. package/dist/arcgis-map-components/{O3UFEGZZ.js → 5OF2AMTU.js} +1 -1
  22. package/dist/arcgis-map-components/{O3UFEGZZ.js.LEGAL.txt → 5OF2AMTU.js.LEGAL.txt} +1 -1
  23. package/dist/arcgis-map-components/{4LHHIHEP.js → 5SSJDDKV.js} +2 -2
  24. package/dist/arcgis-map-components/5SSJDDKV.js.LEGAL.txt +3 -0
  25. package/dist/arcgis-map-components/{PLWBL64R.js → 5UQH7XDP.js} +2 -2
  26. package/dist/arcgis-map-components/5UQH7XDP.js.LEGAL.txt +3 -0
  27. package/dist/arcgis-map-components/{NNIHIFB7.js → 5VEFR2TR.js} +2 -2
  28. package/dist/arcgis-map-components/5VEFR2TR.js.LEGAL.txt +3 -0
  29. package/dist/arcgis-map-components/{JW75GR3V.js → 5ZDB6O7L.js} +2 -2
  30. package/dist/arcgis-map-components/5ZDB6O7L.js.LEGAL.txt +3 -0
  31. package/dist/arcgis-map-components/{Q6OR7MC3.js → 6MQUMCFZ.js} +2 -2
  32. package/dist/arcgis-map-components/6MQUMCFZ.js.LEGAL.txt +3 -0
  33. package/dist/arcgis-map-components/{2DVAVIRC.js → 7A6VKY6E.js} +2 -2
  34. package/dist/arcgis-map-components/7A6VKY6E.js.LEGAL.txt +3 -0
  35. package/dist/arcgis-map-components/{O5CFXPD3.js → AB3QVQJG.js} +2 -2
  36. package/dist/arcgis-map-components/AB3QVQJG.js.LEGAL.txt +3 -0
  37. package/dist/arcgis-map-components/{IFCFWY54.js → AS6ODELE.js} +2 -2
  38. package/dist/arcgis-map-components/AS6ODELE.js.LEGAL.txt +3 -0
  39. package/dist/arcgis-map-components/{ZRQZPUKI.js → COKU2PKM.js} +2 -2
  40. package/dist/arcgis-map-components/COKU2PKM.js.LEGAL.txt +3 -0
  41. package/dist/arcgis-map-components/{XLN2AJKI.js → CRHKLDZ5.js} +2 -2
  42. package/dist/arcgis-map-components/CRHKLDZ5.js.LEGAL.txt +3 -0
  43. package/dist/arcgis-map-components/CTOHEE7S.js +4 -0
  44. package/dist/arcgis-map-components/CTOHEE7S.js.LEGAL.txt +3 -0
  45. package/dist/arcgis-map-components/{UWVK5ROH.js → CZ65NF2X.js} +2 -2
  46. package/dist/arcgis-map-components/CZ65NF2X.js.LEGAL.txt +3 -0
  47. package/dist/arcgis-map-components/{X5Q6WQ4A.js → EA2T7BN2.js} +2 -2
  48. package/dist/arcgis-map-components/EA2T7BN2.js.LEGAL.txt +3 -0
  49. package/dist/arcgis-map-components/ENNGQV2N.js +5 -0
  50. package/dist/arcgis-map-components/ENNGQV2N.js.LEGAL.txt +3 -0
  51. package/dist/arcgis-map-components/{OZZJGFKQ.js → EYS4JK3J.js} +2 -2
  52. package/dist/arcgis-map-components/EYS4JK3J.js.LEGAL.txt +3 -0
  53. package/dist/arcgis-map-components/{RSTLFI56.js → FAQ5IDSR.js} +2 -2
  54. package/dist/arcgis-map-components/{FRITE4KM.js → FHX73NZ2.js} +2 -2
  55. package/dist/arcgis-map-components/FHX73NZ2.js.LEGAL.txt +3 -0
  56. package/dist/arcgis-map-components/{6DEXJUQ7.js → GBIL6JRO.js} +2 -2
  57. package/dist/arcgis-map-components/GBIL6JRO.js.LEGAL.txt +3 -0
  58. package/dist/arcgis-map-components/{S64ODJTG.js → GEWJMQ6A.js} +2 -2
  59. package/dist/arcgis-map-components/GEWJMQ6A.js.LEGAL.txt +3 -0
  60. package/dist/arcgis-map-components/{RU5F2OPJ.js → GYDFVOD7.js} +2 -2
  61. package/dist/arcgis-map-components/GYDFVOD7.js.LEGAL.txt +3 -0
  62. package/dist/arcgis-map-components/{HJYGGWRU.js → HEQ227QC.js} +2 -2
  63. package/dist/arcgis-map-components/HEQ227QC.js.LEGAL.txt +3 -0
  64. package/dist/arcgis-map-components/{C2USS5EA.js → HIP6VG6B.js} +2 -2
  65. package/dist/arcgis-map-components/HIP6VG6B.js.LEGAL.txt +3 -0
  66. package/dist/arcgis-map-components/{7DKFDKJE.js → HVUDDTEX.js} +2 -2
  67. package/dist/arcgis-map-components/HVUDDTEX.js.LEGAL.txt +3 -0
  68. package/dist/arcgis-map-components/{UNNEQAWT.js → ISGKMEPY.js} +2 -2
  69. package/dist/arcgis-map-components/ISGKMEPY.js.LEGAL.txt +3 -0
  70. package/dist/arcgis-map-components/{EQIGODPD.js → ISHIB46O.js} +2 -2
  71. package/dist/arcgis-map-components/ISHIB46O.js.LEGAL.txt +3 -0
  72. package/dist/arcgis-map-components/{A53M4F2T.js → IUB666LS.js} +2 -2
  73. package/dist/arcgis-map-components/IUB666LS.js.LEGAL.txt +3 -0
  74. package/dist/arcgis-map-components/{PLAPF3EW.js → J3B7HYJ7.js} +2 -2
  75. package/dist/arcgis-map-components/J3B7HYJ7.js.LEGAL.txt +3 -0
  76. package/dist/arcgis-map-components/{YX7GSMJM.js → JCPK3KSW.js} +2 -2
  77. package/dist/arcgis-map-components/JCPK3KSW.js.LEGAL.txt +3 -0
  78. package/dist/arcgis-map-components/{NJEISNOT.js → JKWATUQA.js} +2 -2
  79. package/dist/arcgis-map-components/JKWATUQA.js.LEGAL.txt +3 -0
  80. package/dist/arcgis-map-components/{YZ7E7Z2A.js → JW2VOMYW.js} +2 -2
  81. package/dist/arcgis-map-components/{YZ7E7Z2A.js.LEGAL.txt → JW2VOMYW.js.LEGAL.txt} +1 -1
  82. package/dist/arcgis-map-components/{XEKRQLJU.js → K4OKH52S.js} +2 -2
  83. package/dist/arcgis-map-components/{2JLL7GXI.js → K5HDXYNW.js} +2 -2
  84. package/dist/arcgis-map-components/K5HDXYNW.js.LEGAL.txt +3 -0
  85. package/dist/arcgis-map-components/{I7O5IBS5.js → KEO2773V.js} +2 -2
  86. package/dist/arcgis-map-components/KEO2773V.js.LEGAL.txt +3 -0
  87. package/dist/arcgis-map-components/{AUIVHNKA.js → KMN6MAT2.js} +2 -2
  88. package/dist/arcgis-map-components/KMN6MAT2.js.LEGAL.txt +3 -0
  89. package/dist/arcgis-map-components/{T5OA7DCL.js → KNMIRD6W.js} +2 -2
  90. package/dist/arcgis-map-components/KNMIRD6W.js.LEGAL.txt +3 -0
  91. package/dist/arcgis-map-components/{MDX44TX5.js → LQBAEH3I.js} +2 -2
  92. package/dist/arcgis-map-components/LQBAEH3I.js.LEGAL.txt +3 -0
  93. package/dist/arcgis-map-components/{2QCHIY6B.js → MIQUOH2A.js} +2 -2
  94. package/dist/arcgis-map-components/MIQUOH2A.js.LEGAL.txt +3 -0
  95. package/dist/arcgis-map-components/{3ALLBDCH.js → MVXQAE3D.js} +2 -2
  96. package/dist/arcgis-map-components/MVXQAE3D.js.LEGAL.txt +3 -0
  97. package/dist/arcgis-map-components/{EGQO4TCL.js → N2TMWZQL.js} +1 -1
  98. package/dist/arcgis-map-components/N2TMWZQL.js.LEGAL.txt +3 -0
  99. package/dist/arcgis-map-components/{BBFN4MDB.js → N7SVZJM7.js} +2 -2
  100. package/dist/arcgis-map-components/N7SVZJM7.js.LEGAL.txt +3 -0
  101. package/dist/arcgis-map-components/{5JUK227C.js → NPESJRYF.js} +2 -2
  102. package/dist/arcgis-map-components/NPESJRYF.js.LEGAL.txt +3 -0
  103. package/dist/arcgis-map-components/{V43ZPKE5.js → NPMPOGAS.js} +2 -2
  104. package/dist/arcgis-map-components/NPMPOGAS.js.LEGAL.txt +3 -0
  105. package/dist/arcgis-map-components/{MMGO6DDB.js → NQG77HML.js} +2 -2
  106. package/dist/arcgis-map-components/NQG77HML.js.LEGAL.txt +3 -0
  107. package/dist/arcgis-map-components/{2I43X22H.js → O633EIUR.js} +2 -2
  108. package/dist/arcgis-map-components/O633EIUR.js.LEGAL.txt +3 -0
  109. package/dist/arcgis-map-components/{RIA2ZFHJ.js → ODW6R2JG.js} +2 -2
  110. package/dist/arcgis-map-components/ODW6R2JG.js.LEGAL.txt +3 -0
  111. package/dist/arcgis-map-components/{QQJ6CEBZ.js → P3W3LAK3.js} +2 -2
  112. package/dist/arcgis-map-components/P3W3LAK3.js.LEGAL.txt +3 -0
  113. package/dist/arcgis-map-components/{ZN5HW5WU.js → PFGRRTQH.js} +2 -2
  114. package/dist/arcgis-map-components/PFGRRTQH.js.LEGAL.txt +3 -0
  115. package/dist/arcgis-map-components/{SVLSZKGF.js → QCIADCGF.js} +2 -2
  116. package/dist/arcgis-map-components/QCIADCGF.js.LEGAL.txt +3 -0
  117. package/dist/arcgis-map-components/{CDFOJGCQ.js → RGCERVGT.js} +2 -2
  118. package/dist/arcgis-map-components/RGCERVGT.js.LEGAL.txt +3 -0
  119. package/dist/arcgis-map-components/{E7FSZARW.js → RRCGLDFI.js} +2 -2
  120. package/dist/arcgis-map-components/RRCGLDFI.js.LEGAL.txt +3 -0
  121. package/dist/arcgis-map-components/{EISALBSO.js → RWSKZC4E.js} +2 -2
  122. package/dist/arcgis-map-components/RWSKZC4E.js.LEGAL.txt +3 -0
  123. package/dist/arcgis-map-components/{NMB2DAR5.js → SYH4YKJW.js} +2 -2
  124. package/dist/arcgis-map-components/{NMB2DAR5.js.LEGAL.txt → SYH4YKJW.js.LEGAL.txt} +1 -1
  125. package/dist/arcgis-map-components/{25GM463M.js → TIVY63OI.js} +2 -2
  126. package/dist/arcgis-map-components/TIVY63OI.js.LEGAL.txt +3 -0
  127. package/dist/arcgis-map-components/{4Z3QAEHP.js → TLYMLWAA.js} +2 -2
  128. package/dist/arcgis-map-components/TLYMLWAA.js.LEGAL.txt +3 -0
  129. package/dist/arcgis-map-components/{TA2IYQVI.js → TUEHS2CC.js} +2 -2
  130. package/dist/arcgis-map-components/TUEHS2CC.js.LEGAL.txt +3 -0
  131. package/dist/arcgis-map-components/{GBHXXD36.js → TW7H5YEL.js} +2 -2
  132. package/dist/arcgis-map-components/TW7H5YEL.js.LEGAL.txt +3 -0
  133. package/dist/arcgis-map-components/{D2KADMIC.js → UCTFK555.js} +2 -2
  134. package/dist/arcgis-map-components/UCTFK555.js.LEGAL.txt +3 -0
  135. package/dist/arcgis-map-components/UPA5OXP7.js +4 -0
  136. package/dist/arcgis-map-components/UPA5OXP7.js.LEGAL.txt +3 -0
  137. package/dist/arcgis-map-components/{CKVT577X.js → UPVWRCGM.js} +2 -2
  138. package/dist/arcgis-map-components/UPVWRCGM.js.LEGAL.txt +3 -0
  139. package/dist/arcgis-map-components/{JRJNTJOS.js → UWIZFH5S.js} +2 -2
  140. package/dist/arcgis-map-components/UWIZFH5S.js.LEGAL.txt +3 -0
  141. package/dist/arcgis-map-components/{5Y2KWMPD.js → UXXCMRSB.js} +2 -2
  142. package/dist/arcgis-map-components/UXXCMRSB.js.LEGAL.txt +3 -0
  143. package/dist/arcgis-map-components/{2E4PMJZ5.js → V35MDAEW.js} +2 -2
  144. package/dist/arcgis-map-components/V35MDAEW.js.LEGAL.txt +3 -0
  145. package/dist/arcgis-map-components/{D6SP7FTK.js → VC7LWMO7.js} +2 -2
  146. package/dist/arcgis-map-components/VC7LWMO7.js.LEGAL.txt +3 -0
  147. package/dist/arcgis-map-components/{RQTCL7YF.js → VPVGIBND.js} +2 -2
  148. package/dist/arcgis-map-components/VPVGIBND.js.LEGAL.txt +3 -0
  149. package/dist/arcgis-map-components/{BGZAI7OL.js → VQOUAQ6B.js} +2 -2
  150. package/dist/arcgis-map-components/VQOUAQ6B.js.LEGAL.txt +3 -0
  151. package/dist/arcgis-map-components/{HLA6EB6I.js → W4QMB4QH.js} +2 -2
  152. package/dist/arcgis-map-components/W4QMB4QH.js.LEGAL.txt +3 -0
  153. package/dist/arcgis-map-components/{JJETFCGP.js → WGXEUQF7.js} +2 -2
  154. package/dist/arcgis-map-components/WGXEUQF7.js.LEGAL.txt +3 -0
  155. package/dist/arcgis-map-components/{Y5XAGIG4.js → WU2N7UMV.js} +2 -2
  156. package/dist/arcgis-map-components/WU2N7UMV.js.LEGAL.txt +3 -0
  157. package/dist/arcgis-map-components/{6P4SDXXD.js → X56L3T2B.js} +2 -2
  158. package/dist/arcgis-map-components/X56L3T2B.js.LEGAL.txt +3 -0
  159. package/dist/arcgis-map-components/{4FSQBENN.js → XDD4X24S.js} +2 -2
  160. package/dist/arcgis-map-components/XDD4X24S.js.LEGAL.txt +3 -0
  161. package/dist/arcgis-map-components/{PQ5EUFZH.js → XZGAJDLK.js} +2 -2
  162. package/dist/arcgis-map-components/XZGAJDLK.js.LEGAL.txt +3 -0
  163. package/dist/arcgis-map-components/{K757HXNX.js → YDH3XRKG.js} +2 -2
  164. package/dist/arcgis-map-components/YDH3XRKG.js.LEGAL.txt +3 -0
  165. package/dist/arcgis-map-components/{YZRKWFJM.js → YETMGDWC.js} +1 -1
  166. package/dist/arcgis-map-components/YETMGDWC.js.LEGAL.txt +3 -0
  167. package/dist/arcgis-map-components/{JMPE2VTY.js → YETNQNNZ.js} +2 -2
  168. package/dist/arcgis-map-components/YETNQNNZ.js.LEGAL.txt +3 -0
  169. package/dist/arcgis-map-components/{2SPW2XAV.js → YHTX5JAV.js} +2 -2
  170. package/dist/arcgis-map-components/{IUYWZUZD.js → YQVBXNDV.js} +2 -2
  171. package/dist/arcgis-map-components/YQVBXNDV.js.LEGAL.txt +3 -0
  172. package/dist/arcgis-map-components/{NTTVGFN2.js → ZBWLIEXW.js} +2 -2
  173. package/dist/arcgis-map-components/ZBWLIEXW.js.LEGAL.txt +3 -0
  174. package/dist/arcgis-map-components/{3WKJDHIL.js → ZM263U2P.js} +2 -2
  175. package/dist/arcgis-map-components/ZM263U2P.js.LEGAL.txt +3 -0
  176. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  177. package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
  178. package/dist/arcgis-map-components/assets/weather/t9n/messages.ar.json +1 -0
  179. package/dist/arcgis-map-components/assets/weather/t9n/messages.bg.json +1 -0
  180. package/dist/arcgis-map-components/assets/weather/t9n/messages.bs.json +1 -0
  181. package/dist/arcgis-map-components/assets/weather/t9n/messages.ca.json +1 -0
  182. package/dist/arcgis-map-components/assets/weather/t9n/messages.cs.json +1 -0
  183. package/dist/arcgis-map-components/assets/weather/t9n/messages.da.json +1 -0
  184. package/dist/arcgis-map-components/assets/weather/t9n/messages.de.json +1 -0
  185. package/dist/arcgis-map-components/assets/weather/t9n/messages.el.json +1 -0
  186. package/dist/arcgis-map-components/assets/weather/t9n/messages.en.json +1 -0
  187. package/dist/arcgis-map-components/assets/weather/t9n/messages.es.json +1 -0
  188. package/dist/arcgis-map-components/assets/weather/t9n/messages.et.json +1 -0
  189. package/dist/arcgis-map-components/assets/weather/t9n/messages.fi.json +1 -0
  190. package/dist/arcgis-map-components/assets/weather/t9n/messages.fr.json +1 -0
  191. package/dist/arcgis-map-components/assets/weather/t9n/messages.he.json +1 -0
  192. package/dist/arcgis-map-components/assets/weather/t9n/messages.hr.json +1 -0
  193. package/dist/arcgis-map-components/assets/weather/t9n/messages.hu.json +1 -0
  194. package/dist/arcgis-map-components/assets/weather/t9n/messages.id.json +1 -0
  195. package/dist/arcgis-map-components/assets/weather/t9n/messages.it.json +1 -0
  196. package/dist/arcgis-map-components/assets/weather/t9n/messages.ja.json +1 -0
  197. package/dist/arcgis-map-components/assets/weather/t9n/messages.ko.json +1 -0
  198. package/dist/arcgis-map-components/assets/weather/t9n/messages.lt.json +1 -0
  199. package/dist/arcgis-map-components/assets/weather/t9n/messages.lv.json +1 -0
  200. package/dist/arcgis-map-components/assets/weather/t9n/messages.nl.json +1 -0
  201. package/dist/arcgis-map-components/assets/weather/t9n/messages.no.json +1 -0
  202. package/dist/arcgis-map-components/assets/weather/t9n/messages.pl.json +1 -0
  203. package/dist/arcgis-map-components/assets/weather/t9n/messages.pt-BR.json +1 -0
  204. package/dist/arcgis-map-components/assets/weather/t9n/messages.pt-PT.json +1 -0
  205. package/dist/arcgis-map-components/assets/weather/t9n/messages.ro.json +1 -0
  206. package/dist/arcgis-map-components/assets/weather/t9n/messages.ru.json +1 -0
  207. package/dist/arcgis-map-components/assets/weather/t9n/messages.sk.json +1 -0
  208. package/dist/arcgis-map-components/assets/weather/t9n/messages.sl.json +1 -0
  209. package/dist/arcgis-map-components/assets/weather/t9n/messages.sr.json +1 -0
  210. package/dist/arcgis-map-components/assets/weather/t9n/messages.sv.json +1 -0
  211. package/dist/arcgis-map-components/assets/weather/t9n/messages.th.json +1 -0
  212. package/dist/arcgis-map-components/assets/weather/t9n/messages.tr.json +1 -0
  213. package/dist/arcgis-map-components/assets/weather/t9n/messages.uk.json +1 -0
  214. package/dist/arcgis-map-components/assets/weather/t9n/messages.vi.json +1 -0
  215. package/dist/arcgis-map-components/assets/weather/t9n/messages.zh-CN.json +1 -0
  216. package/dist/arcgis-map-components/assets/weather/t9n/messages.zh-HK.json +1 -0
  217. package/dist/arcgis-map-components/assets/weather/t9n/messages.zh-TW.json +1 -0
  218. package/dist/chunks/basemap-gallery-resources.js +1 -1
  219. package/dist/chunks/component-utils.js +1 -1
  220. package/dist/chunks/globalCss.js +3 -2
  221. package/dist/chunks/heading.js +20 -0
  222. package/dist/chunks/layer-list.js +1 -1
  223. package/dist/chunks/legacyIcon.js +1 -1
  224. package/dist/chunks/runtime.js +1 -1
  225. package/dist/chunks/useT9n.js +1 -1
  226. package/dist/chunks/useView.js +1 -1
  227. package/dist/chunks/useViewModel.js +1 -1
  228. package/dist/chunks/useWidget.js +1 -1
  229. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  230. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  231. package/dist/components/arcgis-attachments/customElement.js +1 -1
  232. package/dist/components/arcgis-basemap-gallery/customElement.js +30 -40
  233. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  234. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  235. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  236. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  237. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  238. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  239. package/dist/components/arcgis-compass/customElement.js +1 -1
  240. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  241. package/dist/components/arcgis-daylight/customElement.js +1 -1
  242. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  243. package/dist/components/arcgis-directions/customElement.js +1 -1
  244. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  245. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  246. package/dist/components/arcgis-editor/customElement.js +1 -1
  247. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  248. package/dist/components/arcgis-expand/customElement.js +1 -1
  249. package/dist/components/arcgis-feature/customElement.js +1 -1
  250. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  251. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  252. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  253. package/dist/components/arcgis-features/customElement.js +1 -1
  254. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  255. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  256. package/dist/components/arcgis-histogram/customElement.js +1 -1
  257. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  258. package/dist/components/arcgis-home/customElement.js +1 -1
  259. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  260. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  261. package/dist/components/arcgis-legend/customElement.js +1 -1
  262. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  263. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  264. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  265. package/dist/components/arcgis-locate/customElement.js +1 -1
  266. package/dist/components/arcgis-map/customElement.js +1 -1
  267. package/dist/components/arcgis-measurement/customElement.js +1 -1
  268. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  269. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  270. package/dist/components/arcgis-placement/customElement.js +1 -1
  271. package/dist/components/arcgis-print/customElement.js +1 -1
  272. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  273. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  274. package/dist/components/arcgis-scene/customElement.js +1 -1
  275. package/dist/components/arcgis-search/customElement.js +1 -1
  276. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  277. package/dist/components/arcgis-sketch/customElement.js +1 -1
  278. package/dist/components/arcgis-slice/customElement.js +1 -1
  279. package/dist/components/arcgis-slider/customElement.js +1 -1
  280. package/dist/components/arcgis-swipe/customElement.js +1 -1
  281. package/dist/components/arcgis-table-list/customElement.js +1 -1
  282. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  283. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  284. package/dist/components/arcgis-track/customElement.js +1 -1
  285. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  286. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  287. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  288. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  289. package/dist/components/arcgis-version-management/customElement.js +1 -1
  290. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  291. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  292. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  293. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  294. package/dist/components/arcgis-video/customElement.js +1 -1
  295. package/dist/components/arcgis-video-player/customElement.js +1 -1
  296. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  297. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  298. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  299. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  300. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  301. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  302. package/dist/components/arcgis-weather/LabeledSlider.d.ts +7 -0
  303. package/dist/components/arcgis-weather/WeatherViewModel.d.ts +41 -0
  304. package/dist/components/arcgis-weather/css.d.ts +10 -0
  305. package/dist/components/arcgis-weather/customElement.d.ts +22 -37
  306. package/dist/components/arcgis-weather/customElement.js +277 -14
  307. package/dist/components/arcgis-weather/index.d.ts +5 -0
  308. package/dist/components/arcgis-weather/index.js +5 -0
  309. package/dist/components/arcgis-zoom/customElement.js +1 -1
  310. package/dist/docs/api.json +67 -14
  311. package/dist/docs/docs.json +44 -16
  312. package/dist/docs/vscode.html-custom-data.json +22 -3
  313. package/dist/docs/web-types.json +15 -8
  314. package/dist/index.js +1 -1
  315. package/dist/loader.js +1 -1
  316. package/dist/types/lumina.d.ts +1 -1
  317. package/dist/types/preact.d.ts +1 -1
  318. package/dist/types/react.d.ts +1 -1
  319. package/dist/types/stencil.d.ts +1 -1
  320. package/package.json +5 -5
  321. package/dist/arcgis-map-components/2JLL7GXI.js.LEGAL.txt +0 -3
  322. package/dist/arcgis-map-components/2QCHIY6B.js.LEGAL.txt +0 -3
  323. package/dist/arcgis-map-components/3ALLBDCH.js.LEGAL.txt +0 -3
  324. package/dist/arcgis-map-components/3WKJDHIL.js.LEGAL.txt +0 -3
  325. package/dist/arcgis-map-components/3ZBAUWLC.js.LEGAL.txt +0 -3
  326. package/dist/arcgis-map-components/4FSQBENN.js.LEGAL.txt +0 -3
  327. package/dist/arcgis-map-components/4LHHIHEP.js.LEGAL.txt +0 -3
  328. package/dist/arcgis-map-components/4Z3QAEHP.js.LEGAL.txt +0 -3
  329. package/dist/arcgis-map-components/5INIKFJ4.js.LEGAL.txt +0 -3
  330. package/dist/arcgis-map-components/5JUK227C.js.LEGAL.txt +0 -3
  331. package/dist/arcgis-map-components/5Y2KWMPD.js.LEGAL.txt +0 -3
  332. package/dist/arcgis-map-components/6DEXJUQ7.js.LEGAL.txt +0 -3
  333. package/dist/arcgis-map-components/6P4SDXXD.js.LEGAL.txt +0 -3
  334. package/dist/arcgis-map-components/7DKFDKJE.js.LEGAL.txt +0 -3
  335. package/dist/arcgis-map-components/A53M4F2T.js.LEGAL.txt +0 -3
  336. package/dist/arcgis-map-components/AT32DHQD.js +0 -4
  337. package/dist/arcgis-map-components/AT32DHQD.js.LEGAL.txt +0 -3
  338. package/dist/arcgis-map-components/AUIVHNKA.js.LEGAL.txt +0 -3
  339. package/dist/arcgis-map-components/B27OKUVW.js.LEGAL.txt +0 -3
  340. package/dist/arcgis-map-components/BBFN4MDB.js.LEGAL.txt +0 -3
  341. package/dist/arcgis-map-components/BGZAI7OL.js.LEGAL.txt +0 -3
  342. package/dist/arcgis-map-components/C2USS5EA.js.LEGAL.txt +0 -3
  343. package/dist/arcgis-map-components/CDFOJGCQ.js.LEGAL.txt +0 -3
  344. package/dist/arcgis-map-components/CKVT577X.js.LEGAL.txt +0 -3
  345. package/dist/arcgis-map-components/D2KADMIC.js.LEGAL.txt +0 -3
  346. package/dist/arcgis-map-components/D6SP7FTK.js.LEGAL.txt +0 -3
  347. package/dist/arcgis-map-components/DWZWJ326.js.LEGAL.txt +0 -3
  348. package/dist/arcgis-map-components/E7FSZARW.js.LEGAL.txt +0 -3
  349. package/dist/arcgis-map-components/EGQO4TCL.js.LEGAL.txt +0 -3
  350. package/dist/arcgis-map-components/EISALBSO.js.LEGAL.txt +0 -3
  351. package/dist/arcgis-map-components/EPMHUGY4.js +0 -5
  352. package/dist/arcgis-map-components/EPMHUGY4.js.LEGAL.txt +0 -3
  353. package/dist/arcgis-map-components/EQIGODPD.js.LEGAL.txt +0 -3
  354. package/dist/arcgis-map-components/FHZHLSYN.js +0 -5
  355. package/dist/arcgis-map-components/FHZHLSYN.js.LEGAL.txt +0 -3
  356. package/dist/arcgis-map-components/FRITE4KM.js.LEGAL.txt +0 -3
  357. package/dist/arcgis-map-components/GBHXXD36.js.LEGAL.txt +0 -3
  358. package/dist/arcgis-map-components/HJYGGWRU.js.LEGAL.txt +0 -3
  359. package/dist/arcgis-map-components/HLA6EB6I.js.LEGAL.txt +0 -3
  360. package/dist/arcgis-map-components/I7O5IBS5.js.LEGAL.txt +0 -3
  361. package/dist/arcgis-map-components/IFCFWY54.js.LEGAL.txt +0 -3
  362. package/dist/arcgis-map-components/IUYWZUZD.js.LEGAL.txt +0 -3
  363. package/dist/arcgis-map-components/JJETFCGP.js.LEGAL.txt +0 -3
  364. package/dist/arcgis-map-components/JMPE2VTY.js.LEGAL.txt +0 -3
  365. package/dist/arcgis-map-components/JRJNTJOS.js.LEGAL.txt +0 -3
  366. package/dist/arcgis-map-components/JW75GR3V.js.LEGAL.txt +0 -3
  367. package/dist/arcgis-map-components/K757HXNX.js.LEGAL.txt +0 -3
  368. package/dist/arcgis-map-components/MDX44TX5.js.LEGAL.txt +0 -3
  369. package/dist/arcgis-map-components/MMGO6DDB.js.LEGAL.txt +0 -3
  370. package/dist/arcgis-map-components/NJEISNOT.js.LEGAL.txt +0 -3
  371. package/dist/arcgis-map-components/NNIHIFB7.js.LEGAL.txt +0 -3
  372. package/dist/arcgis-map-components/NTTVGFN2.js.LEGAL.txt +0 -3
  373. package/dist/arcgis-map-components/O5CFXPD3.js.LEGAL.txt +0 -3
  374. package/dist/arcgis-map-components/OZZJGFKQ.js.LEGAL.txt +0 -3
  375. package/dist/arcgis-map-components/PLAPF3EW.js.LEGAL.txt +0 -3
  376. package/dist/arcgis-map-components/PLWBL64R.js.LEGAL.txt +0 -3
  377. package/dist/arcgis-map-components/PQ5EUFZH.js.LEGAL.txt +0 -3
  378. package/dist/arcgis-map-components/Q6OR7MC3.js.LEGAL.txt +0 -3
  379. package/dist/arcgis-map-components/QQJ6CEBZ.js.LEGAL.txt +0 -3
  380. package/dist/arcgis-map-components/QQPIJPA2.js.LEGAL.txt +0 -3
  381. package/dist/arcgis-map-components/RIA2ZFHJ.js.LEGAL.txt +0 -3
  382. package/dist/arcgis-map-components/RQTCL7YF.js.LEGAL.txt +0 -3
  383. package/dist/arcgis-map-components/RU5F2OPJ.js.LEGAL.txt +0 -3
  384. package/dist/arcgis-map-components/S64ODJTG.js.LEGAL.txt +0 -3
  385. package/dist/arcgis-map-components/SOSTKTTZ.js.LEGAL.txt +0 -3
  386. package/dist/arcgis-map-components/SVLSZKGF.js.LEGAL.txt +0 -3
  387. package/dist/arcgis-map-components/T5OA7DCL.js.LEGAL.txt +0 -3
  388. package/dist/arcgis-map-components/TA2IYQVI.js.LEGAL.txt +0 -3
  389. package/dist/arcgis-map-components/UNNEQAWT.js.LEGAL.txt +0 -3
  390. package/dist/arcgis-map-components/UWVK5ROH.js.LEGAL.txt +0 -3
  391. package/dist/arcgis-map-components/V43ZPKE5.js.LEGAL.txt +0 -3
  392. package/dist/arcgis-map-components/WDRDEHCU.js.LEGAL.txt +0 -3
  393. package/dist/arcgis-map-components/X5Q6WQ4A.js.LEGAL.txt +0 -3
  394. package/dist/arcgis-map-components/XLN2AJKI.js.LEGAL.txt +0 -3
  395. package/dist/arcgis-map-components/Y5XAGIG4.js.LEGAL.txt +0 -3
  396. package/dist/arcgis-map-components/YIC7SWKV.js.LEGAL.txt +0 -3
  397. package/dist/arcgis-map-components/YT7CJGW4.js.LEGAL.txt +0 -3
  398. package/dist/arcgis-map-components/YX7GSMJM.js.LEGAL.txt +0 -3
  399. package/dist/arcgis-map-components/YZRKWFJM.js.LEGAL.txt +0 -3
  400. package/dist/arcgis-map-components/ZN5HW5WU.js.LEGAL.txt +0 -3
  401. package/dist/arcgis-map-components/ZRQZPUKI.js.LEGAL.txt +0 -3
  402. /package/dist/arcgis-map-components/{RSTLFI56.js.LEGAL.txt → FAQ5IDSR.js.LEGAL.txt} +0 -0
  403. /package/dist/arcgis-map-components/{XEKRQLJU.js.LEGAL.txt → K4OKH52S.js.LEGAL.txt} +0 -0
  404. /package/dist/arcgis-map-components/{2SPW2XAV.js.LEGAL.txt → YHTX5JAV.js.LEGAL.txt} +0 -0
@@ -2,46 +2,19 @@
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 Weather } from '@arcgis/core/widgets/Weather.js';
6
- import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
+ import { HeadingLevel } from '../../support/heading.jsx';
7
7
  import { ArcgisReferenceElement } from '../../utils/component-utils';
8
+ import { WeatherViewModel } from './WeatherViewModel.js';
8
9
 
9
- declare const useWeatherWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
10
+ declare const useViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
10
11
  manager: import('@arcgis/components-controllers').ControllerManager;
11
12
  el: HTMLElement;
12
13
  autoDestroyDisabled?: boolean;
13
14
  destroy?: () => Promise<void>;
14
- } & Pick<Weather, never> & {
15
- reactiveUtils?: typeof __esri.reactiveUtils;
16
- state?: unknown;
17
- viewModel?: __esri.WeatherViewModel | undefined;
18
- icon: Nil | string;
19
- label: Nil | string;
20
- referenceElement: ArcgisReferenceElement | Nil | string;
21
- position: __esri.
22
- /**
23
- * If true, the component will not be destroyed automatically when it is
24
- * disconnected from the document. This is useful when you want to move the
25
- * component to a different place on the page, or temporarily hide it. If this
26
- * is set, make sure to call the \`destroy\` method when you are done to prevent
27
- * memory leaks.
28
- */
29
- UIPosition;
30
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
31
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
32
- name: string;
33
- }> | undefined;
34
- el: HTMLElement & {
35
- childElem?: HTMLElement & {
36
- ownedBy?: HTMLElement;
37
- };
38
- view?: __esri.MapView | __esri.SceneView | Nil;
39
- };
40
- autoDestroyDisabled: boolean;
41
- destroy: () => Promise<void>;
42
- }, options?: {
43
- editConstructorProperties(props: __esri.WeatherProperties | undefined): __esri.WeatherProperties | Promise<__esri.WeatherProperties | undefined> | undefined;
44
- } | undefined) => Weather;
15
+ } & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel>, options?: {
16
+ editConstructorProperties(props: unknown): unknown;
17
+ } | undefined) => WeatherViewModel;
45
18
  /** Weather component provides an interface for easily selecting and configuring the weather effects in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
46
19
  */
47
20
  export declare class ArcgisWeather extends LitElement {
@@ -53,7 +26,19 @@ export declare class ArcgisWeather extends LitElement {
53
26
  * memory leaks.
54
27
  */
55
28
  autoDestroyDisabled: boolean;
56
- headingLevel: number;
29
+ /**
30
+ * Indicates the heading level to use for the title of the component. By default, this message is rendered as a level 4
31
+ * heading (e.g. `<h4>Time range</h4>`). Depending on the component's placement in your app, you may need to adjust
32
+ * this heading for proper semantics. This is important for meeting accessibility standards.
33
+ *
34
+ * @instance
35
+ * @type {number}
36
+ * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
37
+ */
38
+ headingLevel: HeadingLevel;
39
+ /**
40
+ * Whether to hide the component's header.
41
+ */
57
42
  hideHeader: boolean;
58
43
  /**
59
44
  * Icon which represents the component.
@@ -62,10 +47,10 @@ export declare class ArcgisWeather extends LitElement {
62
47
  */
63
48
  icon: string;
64
49
  /** The component's default label. */
65
- label: string;
50
+ label: string | undefined;
66
51
  position: __esri.UIPosition;
67
52
  referenceElement: ArcgisReferenceElement | Nil | string;
68
- readonly state: "ready" | "disabled" | "error";
53
+ state: "ready" | "disabled" | "error";
69
54
  /** Permanently destroy the component */
70
55
  destroy(): Promise<void>;
71
56
  readonly arcgisPropertyChange: TargetedEvent<this, {
@@ -1,25 +1,179 @@
1
- import { c as e } from "../../chunks/runtime.js";
2
- import { usePropertyChange as t } from "@arcgis/components-controllers";
3
- import s from "@arcgis/core/widgets/Weather.js";
4
- import { LitElement as i, createEvent as o, noShadowRoot as a } from "@arcgis/lumina";
5
- import { m as r } from "../../chunks/useWidget.js";
6
- import { css as h } from "@lit/reactive-element/css-tag.js";
1
+ import { c as W } from "../../chunks/runtime.js";
2
+ import { html as o } from "lit-html";
3
+ import { usePropertyChange as x } from "@arcgis/components-controllers";
4
+ import { classes as y } from "@arcgis/components-utils";
5
+ import { watch as b } from "@arcgis/core/core/reactiveUtils.js";
6
+ import { nothing as v, safeStyleMap as O, LitElement as S, createEvent as B, noShadowRoot as E, safeClassMap as g } from "@arcgis/lumina";
7
+ import { u as H } from "../../chunks/useT9n.js";
8
+ import { m as L } from "../../chunks/useViewModel.js";
9
+ import { H as A } from "../../chunks/heading.js";
10
+ import { g as w } from "../../chunks/globalCss.js";
11
+ import { css as D } from "@lit/reactive-element/css-tag.js";
12
+ import k from "@arcgis/core/core/Accessor.js";
13
+ import { property as h, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
14
+ import f from "@arcgis/core/views/3d/environment/CloudyWeather.js";
15
+ import _ from "@arcgis/core/views/3d/environment/FoggyWeather.js";
16
+ import $ from "@arcgis/core/views/3d/environment/RainyWeather.js";
17
+ import C from "@arcgis/core/views/3d/environment/SnowyWeather.js";
18
+ import M from "@arcgis/core/views/3d/environment/SunnyWeather.js";
7
19
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
20
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.77 */
10
- const l = h`@layer{arcgis-weather{display:block}}`, d = r(s);
11
- class n extends i {
21
+ v4.33.0-next.79 */
22
+ const c = "arcgis-weather", d = {
23
+ base: c,
24
+ content: `${c}__content`,
25
+ hasError: `${c}__content--has-error`,
26
+ selector: `${c}__selector`,
27
+ options: `${c}__options`,
28
+ optionsHidden: `${c}__options--hidden`,
29
+ error: `${c}__error`,
30
+ warning: `${c}__warning`
31
+ }, R = D`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`;
32
+ var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, i, s) => {
33
+ for (var r = s > 1 ? void 0 : s ? j(e, i) : e, p = t.length - 1, l; p >= 0; p--)
34
+ (l = t[p]) && (r = (s ? l(e, i, r) : l(r)) || r);
35
+ return s && r && V(e, i, r), r;
36
+ };
37
+ const z = {
38
+ sunny: M,
39
+ cloudy: f,
40
+ rainy: $,
41
+ snowy: C,
42
+ foggy: _
43
+ }, T = Object.keys(z);
44
+ let n = class extends k {
45
+ //#region Lifecycle
46
+ constructor(t) {
47
+ super(t), this.view = null, this._settingWeather = !1, this._weatherByType = {
48
+ sunny: new M(),
49
+ cloudy: new f(),
50
+ rainy: new $(),
51
+ snowy: new C(),
52
+ foggy: new _()
53
+ };
54
+ }
55
+ initialize() {
56
+ this.addHandles([
57
+ // When the weather is changed directly in the environment (not in the VM),
58
+ // we need to update the corresponding weather instance in the view model.
59
+ b(
60
+ () => this.current,
61
+ (t) => {
62
+ this._settingWeather || t == null || (this._weatherByType = {
63
+ ...this._weatherByType,
64
+ [t.type]: t
65
+ });
66
+ },
67
+ { sync: !0, initial: !0 }
68
+ )
69
+ ]);
70
+ }
71
+ get state() {
72
+ if (!this.view?.ready)
73
+ return "disabled";
74
+ if (this.error != null)
75
+ switch (this.error) {
76
+ case "not-visible":
77
+ return "ready";
78
+ default:
79
+ return "error";
80
+ }
81
+ return "ready";
82
+ }
83
+ get disabled() {
84
+ return this.state === "disabled";
85
+ }
86
+ get weatherByType() {
87
+ return this._weatherByType;
88
+ }
89
+ get error() {
90
+ const t = this.view;
91
+ return t?.ready ? t.type !== "3d" ? "unsupported-view" : t.viewingMode === "local" ? "local-scene" : t.environment.atmosphereEnabled ? t.environment.weatherAvailable ? null : "not-visible" : "no-atmosphere" : null;
92
+ }
93
+ get current() {
94
+ return this._environment?.weather ?? this._weatherByType.sunny;
95
+ }
96
+ set current(t) {
97
+ const e = this._environment;
98
+ e && (e.weather = t);
99
+ }
100
+ get _environment() {
101
+ const t = this.view;
102
+ return t != null && t.type === "3d" ? t.environment : null;
103
+ }
104
+ //#endregion
105
+ //#region Public Methods
106
+ setWeatherByType(t) {
107
+ if (!T.includes(t)) {
108
+ console.warn(`"arcgis-weather - ${t}" is not a valid weather type`);
109
+ return;
110
+ }
111
+ const e = this._environment;
112
+ e != null && (this._settingWeather = !0, e.weather = this._weatherByType[t], this._settingWeather = !1);
113
+ }
114
+ setSnowCoverEnabled(t) {
115
+ const e = this.current;
116
+ "snowCover" in e && (e.snowCover = t ? "enabled" : "disabled");
117
+ }
118
+ //#endregion
119
+ };
120
+ a([
121
+ h()
122
+ ], n.prototype, "view", 2);
123
+ a([
124
+ h()
125
+ ], n.prototype, "state", 1);
126
+ a([
127
+ h()
128
+ ], n.prototype, "disabled", 1);
129
+ a([
130
+ h()
131
+ ], n.prototype, "weatherByType", 1);
132
+ a([
133
+ h()
134
+ ], n.prototype, "error", 1);
135
+ a([
136
+ h()
137
+ ], n.prototype, "current", 1);
138
+ a([
139
+ h()
140
+ ], n.prototype, "_weatherByType", 2);
141
+ a([
142
+ h()
143
+ ], n.prototype, "_environment", 1);
144
+ n = a([
145
+ P("components.weather.WeatherViewModel")
146
+ ], n);
147
+ function u({ label: t, value: e, disabled: i, onChange: s }) {
148
+ const r = (p) => {
149
+ const l = p.currentTarget.value;
150
+ s?.(l);
151
+ };
152
+ return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${i} style=${O({
153
+ // Tweaks to make the slider more compact and better-align within the weather component */
154
+ marginInline: "-7px",
155
+ marginBottom: "-7px"
156
+ })} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
157
+ }
158
+ const F = L(n), I = {
159
+ sunny: "brightness",
160
+ cloudy: "partly-cloudy",
161
+ rainy: "rain",
162
+ snowy: "snow",
163
+ foggy: "fog"
164
+ };
165
+ class q extends S {
12
166
  constructor() {
13
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideHeader = this.widget.visibleElements.header, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = t()("state"), this.arcgisReady = o();
167
+ super(...arguments), this.viewModel = F(this), this.messages = H(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = x()("state"), this.arcgisReady = B();
14
168
  }
15
169
  static {
16
170
  this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
17
171
  }
18
172
  static {
19
- this.shadowRootOptions = a;
173
+ this.shadowRootOptions = E;
20
174
  }
21
175
  static {
22
- this.styles = l;
176
+ this.styles = R;
23
177
  }
24
178
  //#endregion
25
179
  //#region Public Methods
@@ -27,8 +181,117 @@ class n extends i {
27
181
  async destroy() {
28
182
  await this.manager.destroy();
29
183
  }
184
+ //#endregion
185
+ //#region Lifecycle
186
+ load() {
187
+ this.manager.onLifecycle(() => [
188
+ b(() => this._renderContent(), () => this.requestUpdate())
189
+ ]);
190
+ }
191
+ //#endregion
192
+ //#region Private Methods
193
+ /**
194
+ * When the widget has a non-fatal error, we display the UI but show a warning
195
+ * at the bottom.
196
+ */
197
+ _getWarningMessage() {
198
+ switch (this.viewModel.error) {
199
+ case "not-visible": {
200
+ const { view: e } = this.viewModel;
201
+ return e?.type === "3d" && e.environment.atmosphereEnabled ? this.messages.error?.notVisible : void 0;
202
+ }
203
+ default:
204
+ return;
205
+ }
206
+ }
207
+ /**
208
+ * When the widget has a fatal error (i.e. it can't work at all), no weather
209
+ * configuration UI is shown. Instead, the error message is shown.
210
+ */
211
+ _getErrorMessage() {
212
+ const e = this.messages.error;
213
+ if (e)
214
+ switch (this.viewModel.error) {
215
+ case "local-scene":
216
+ return e.localScene;
217
+ case "no-atmosphere":
218
+ return e.noAtmosphere;
219
+ case "unsupported-view":
220
+ return e.unsupported;
221
+ default:
222
+ return;
223
+ }
224
+ }
225
+ //#endregion
226
+ //#region Rendering
227
+ render() {
228
+ return o`<div aria-label=${this.messages.componentLabelAccessible ?? v} class=${g(y(d.base, w.widget, this.viewModel.disabled && w.widgetDisabled))} role=region>${this._renderContent()}</div>`;
229
+ }
230
+ _renderContent() {
231
+ const { headingLevel: e, messages: i, viewModel: s } = this, r = this._getWarningMessage(), p = s.current, l = s.state === "error";
232
+ return o`${this.hideHeader ? void 0 : A({ level: e, children: i.componentLabel })}${l ? o`<div class=${g(d.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${g(y({ [d.content]: !0, [d.hasError]: l }))}><div aria-label=${i.weatherType ?? v} class=${g(d.selector)} role=radiogroup>${T.map(this._renderWeatherTypeButton, this)}</div>${Object.values(s.weatherByType).map((m) => o`<div class=${g(y({
233
+ [d.options]: !0,
234
+ [d.optionsHidden]: m.type !== p?.type
235
+ }))}>${this._renderOptions(m)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
236
+ }
237
+ _renderWeatherTypeButton(e) {
238
+ const i = this.messages[e]?.label ?? "", { disabled: s } = this.viewModel, r = !s && this.viewModel.current.type === e;
239
+ return o`<calcite-button .appearance=${r ? "solid" : "outline"} aria-checked=${r ? "true" : "false"} .disabled=${s} .iconStart=${I[e]} .kind=${r ? "brand" : "neutral"} .label=${i} @click=${() => {
240
+ r || this.viewModel.setWeatherByType(e);
241
+ }} scale=l title=${i ?? v}></calcite-button>`;
242
+ }
243
+ _renderOptions(e) {
244
+ switch (e.type) {
245
+ case "sunny":
246
+ return this._renderSunnyOptions(e);
247
+ case "cloudy":
248
+ return this._renderCloudyOptions(e);
249
+ case "rainy":
250
+ return this._renderRainyOptions(e);
251
+ case "snowy":
252
+ return this._renderSnowyOptions(e);
253
+ case "foggy":
254
+ return this._renderFoggyOptions(e);
255
+ }
256
+ }
257
+ _renderSunnyOptions(e) {
258
+ return u({ disabled: this.viewModel.disabled, label: this.messages.sunny?.cloudCover, value: e.cloudCover, onChange: (i) => {
259
+ e.cloudCover = i;
260
+ } });
261
+ }
262
+ _renderCloudyOptions(e) {
263
+ return u({ disabled: this.viewModel.disabled, label: this.messages.cloudy?.cloudCover, value: e.cloudCover, onChange: (i) => {
264
+ e.cloudCover = i;
265
+ } });
266
+ }
267
+ _renderRainyOptions(e) {
268
+ const { disabled: i } = this.viewModel, s = this.messages.rainy;
269
+ return o`${u({ disabled: i, label: s?.cloudCover, value: e.cloudCover, onChange: (r) => {
270
+ e.cloudCover = r;
271
+ } })}${u({ disabled: i, label: s?.precipitation, value: e.precipitation, onChange: (r) => {
272
+ e.precipitation = r;
273
+ } })}`;
274
+ }
275
+ _renderSnowyOptions(e) {
276
+ const { disabled: i } = this.viewModel, s = this.messages.snowy;
277
+ return o`${u({ disabled: i, label: s?.cloudCover, value: e.cloudCover, onChange: (r) => {
278
+ e.cloudCover = r;
279
+ } })}${u({ disabled: i, label: s?.precipitation, value: e.precipitation, onChange: (r) => {
280
+ e.precipitation = r;
281
+ } })}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip ?? v}><calcite-checkbox .checked=${e.snowCover === "enabled"} .disabled=${i} @calciteCheckboxChange=${(r) => {
282
+ this.viewModel.setSnowCoverEnabled(r.currentTarget.checked);
283
+ }}></calcite-checkbox>${s?.snowCover}</calcite-label>`;
284
+ }
285
+ _renderFoggyOptions(e) {
286
+ return u({ disabled: this.viewModel.disabled, label: this.messages.foggy?.fogStrength, value: e.fogStrength, onChange: (i) => {
287
+ e.fogStrength = i;
288
+ } });
289
+ }
290
+ _renderWarning(e) {
291
+ return o`<div class=${g(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`;
292
+ }
30
293
  }
31
- e("arcgis-weather", n);
294
+ W("arcgis-weather", q);
32
295
  export {
33
- n as ArcgisWeather
296
+ q as ArcgisWeather
34
297
  };
@@ -1 +1,6 @@
1
+ import "@esri/calcite-components/components/calcite-label";
2
+ import "@esri/calcite-components/components/calcite-slider";
3
+ import "@esri/calcite-components/components/calcite-button";
4
+ import "@esri/calcite-components/components/calcite-checkbox";
5
+ import "@esri/calcite-components/components/calcite-icon";
1
6
  export * from "./customElement.js";
@@ -1 +1,6 @@
1
+ import "@esri/calcite-components/components/calcite-label";
2
+ import "@esri/calcite-components/components/calcite-slider";
3
+ import "@esri/calcite-components/components/calcite-button";
4
+ import "@esri/calcite-components/components/calcite-checkbox";
5
+ import "@esri/calcite-components/components/calcite-icon";
1
6
  export * from "./customElement.js";
@@ -9,7 +9,7 @@ import { m as b } from "../../chunks/useViewModel.js";
9
9
  import { css as w } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
12
- v4.33.0-next.77 */
12
+ v4.33.0-next.79 */
13
13
  const o = {
14
14
  base: "arcgis-zoom",
15
15
  horizontalLayout: "arcgis-zoom--horizontal",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-04-10T05:08:22",
2
+ "timestamp": "2025-04-11T15:22:06",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.33.0-next.77",
5
+ "version": "4.33.0-next.79",
6
6
  "typescriptVersion": "5.6.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -53918,21 +53918,56 @@
53918
53918
  {
53919
53919
  "kind": "field",
53920
53920
  "name": "headingLevel",
53921
- "description": "Indicates the heading level to use for the title of the widget.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather.html#headingLevel)",
53921
+ "description": "Indicates the heading level to use for the title of the component. By default, this message is rendered as a level 4\nheading (e.g. `<h4>Time range</h4>`). Depending on the component's placement in your app, you may need to adjust\nthis heading for proper semantics. This is important for meeting accessibility standards.",
53922
53922
  "type": {
53923
- "text": "number",
53923
+ "text": "1 | 2 | 3 | 4 | 5 | 6",
53924
53924
  "values": [
53925
53925
  {
53926
+ "value": "1",
53927
+ "type": "number"
53928
+ },
53929
+ {
53930
+ "value": "2",
53931
+ "type": "number"
53932
+ },
53933
+ {
53934
+ "value": "3",
53935
+ "type": "number"
53936
+ },
53937
+ {
53938
+ "value": "4",
53939
+ "type": "number"
53940
+ },
53941
+ {
53942
+ "value": "5",
53943
+ "type": "number"
53944
+ },
53945
+ {
53946
+ "value": "6",
53926
53947
  "type": "number"
53927
53948
  }
53928
53949
  ]
53929
53950
  },
53930
53951
  "default": "4",
53931
- "attribute": "heading-level"
53952
+ "attribute": "heading-level",
53953
+ "docsTags": [
53954
+ {
53955
+ "name": "instance"
53956
+ },
53957
+ {
53958
+ "name": "type",
53959
+ "text": "{number}"
53960
+ },
53961
+ {
53962
+ "name": "see",
53963
+ "text": "[Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)"
53964
+ }
53965
+ ]
53932
53966
  },
53933
53967
  {
53934
53968
  "kind": "field",
53935
53969
  "name": "hideHeader",
53970
+ "description": "Whether to hide the component's header.",
53936
53971
  "type": {
53937
53972
  "text": "boolean",
53938
53973
  "values": [
@@ -53971,6 +54006,7 @@
53971
54006
  }
53972
54007
  ]
53973
54008
  },
54009
+ "default": "\"Weather\"",
53974
54010
  "attribute": "label"
53975
54011
  },
53976
54012
  {
@@ -54068,7 +54104,6 @@
54068
54104
  {
54069
54105
  "kind": "field",
54070
54106
  "name": "state",
54071
- "description": "The current state of the view model that can be used for rendering the UI of the widget.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather-WeatherViewModel.html#state)",
54072
54107
  "type": {
54073
54108
  "text": "\"disabled\" | \"error\" | \"ready\"",
54074
54109
  "values": [
@@ -54086,11 +54121,8 @@
54086
54121
  }
54087
54122
  ]
54088
54123
  },
54089
- "default": "\"disabled\"",
54090
- "readonly": true,
54091
54124
  "attribute": "state",
54092
- "reflects": true,
54093
- "docsOnlyReadonly": true
54125
+ "reflects": true
54094
54126
  }
54095
54127
  ],
54096
54128
  "attributes": [
@@ -54110,11 +54142,32 @@
54110
54142
  },
54111
54143
  {
54112
54144
  "name": "heading-level",
54113
- "description": "Indicates the heading level to use for the title of the widget.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather.html#headingLevel)",
54145
+ "description": "Indicates the heading level to use for the title of the component. By default, this message is rendered as a level 4\nheading (e.g. `<h4>Time range</h4>`). Depending on the component's placement in your app, you may need to adjust\nthis heading for proper semantics. This is important for meeting accessibility standards.",
54114
54146
  "type": {
54115
- "text": "number",
54147
+ "text": "1 | 2 | 3 | 4 | 5 | 6",
54116
54148
  "values": [
54117
54149
  {
54150
+ "value": "1",
54151
+ "type": "number"
54152
+ },
54153
+ {
54154
+ "value": "2",
54155
+ "type": "number"
54156
+ },
54157
+ {
54158
+ "value": "3",
54159
+ "type": "number"
54160
+ },
54161
+ {
54162
+ "value": "4",
54163
+ "type": "number"
54164
+ },
54165
+ {
54166
+ "value": "5",
54167
+ "type": "number"
54168
+ },
54169
+ {
54170
+ "value": "6",
54118
54171
  "type": "number"
54119
54172
  }
54120
54173
  ]
@@ -54124,6 +54177,7 @@
54124
54177
  },
54125
54178
  {
54126
54179
  "name": "hide-header",
54180
+ "description": "Whether to hide the component's header.",
54127
54181
  "type": {
54128
54182
  "text": "boolean",
54129
54183
  "values": [
@@ -54160,6 +54214,7 @@
54160
54214
  }
54161
54215
  ]
54162
54216
  },
54217
+ "default": "\"Weather\"",
54163
54218
  "fieldName": "label"
54164
54219
  },
54165
54220
  {
@@ -54222,7 +54277,6 @@
54222
54277
  },
54223
54278
  {
54224
54279
  "name": "state",
54225
- "description": "The current state of the view model that can be used for rendering the UI of the widget.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather-WeatherViewModel.html#state)",
54226
54280
  "type": {
54227
54281
  "text": "\"disabled\" | \"error\" | \"ready\"",
54228
54282
  "values": [
@@ -54240,7 +54294,6 @@
54240
54294
  }
54241
54295
  ]
54242
54296
  },
54243
- "default": "\"disabled\"",
54244
54297
  "fieldName": "state"
54245
54298
  }
54246
54299
  ],