@arcgis/map-components 4.33.0-next.124 → 4.33.0-next.126

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 (401) hide show
  1. package/dist/cdn/{H664JQEG.js → 22OPPYTT.js} +2 -2
  2. package/dist/cdn/22T5WAPO.js +4 -0
  3. package/dist/cdn/265NMR5B.js +4 -0
  4. package/dist/cdn/{HGSPIH6H.js → 2D7HRGDR.js} +2 -2
  5. package/dist/cdn/{T5HJMMSK.js → 2JUGDTSE.js} +2 -2
  6. package/dist/cdn/{2R77POEI.js → 2L7KBSKW.js} +2 -2
  7. package/dist/cdn/2LI6QZL4.js +4 -0
  8. package/dist/cdn/2PAWPIQE.js +4 -0
  9. package/dist/cdn/2XDD44PY.js +4 -0
  10. package/dist/cdn/3H4X6LE4.js +4 -0
  11. package/dist/cdn/3KDZIKLB.js +4 -0
  12. package/dist/cdn/{NGIUT7AU.js → 3N6U7KBA.js} +2 -2
  13. package/dist/cdn/{IUQKIT3P.js → 3TMNCHJM.js} +2 -2
  14. package/dist/cdn/42UYVZQI.js +4 -0
  15. package/dist/cdn/{734TUZ3C.js → 46A2E32V.js} +2 -2
  16. package/dist/cdn/{LURO5IKN.js → 4DIYZMLX.js} +1 -1
  17. package/dist/cdn/4JQ56IB7.js +4 -0
  18. package/dist/cdn/{WC45U6SH.js → 56DXQDPV.js} +2 -2
  19. package/dist/cdn/57LUHTC4.js +6 -0
  20. package/dist/cdn/{LLPPELZB.js → 5QB2GZDW.js} +2 -2
  21. package/dist/cdn/5VYF7D3N.js +4 -0
  22. package/dist/cdn/{E5ZBB6BU.js → 5Z4GY7JN.js} +2 -2
  23. package/dist/cdn/6GN3QIKB.js +4 -0
  24. package/dist/cdn/6TKGWZC7.js +4 -0
  25. package/dist/cdn/6ZCSAHLQ.js +4 -0
  26. package/dist/cdn/{DB226RFI.js → 77YLW3HQ.js} +2 -2
  27. package/dist/cdn/7CQYCOZY.js +4 -0
  28. package/dist/cdn/7K2GJSOV.js +4 -0
  29. package/dist/cdn/7QOEL7UO.js +4 -0
  30. package/dist/cdn/{DPHO3ZUJ.js → 7WEG232K.js} +2 -2
  31. package/dist/cdn/7X5K357K.js +4 -0
  32. package/dist/cdn/7ZLW4UY2.js +4 -0
  33. package/dist/cdn/AN33D2SL.js +4 -0
  34. package/dist/cdn/{B62APQUE.js → B6UNSUT7.js} +1 -1
  35. package/dist/cdn/{KRB7XAAT.js → BJPB3THA.js} +2 -2
  36. package/dist/cdn/BLKD3TGO.js +4 -0
  37. package/dist/cdn/{2OH6CDCP.js → BNLKRUVK.js} +2 -2
  38. package/dist/cdn/BPM6ZLO6.js +4 -0
  39. package/dist/cdn/{RGLOD2FF.js → C3SECF67.js} +2 -2
  40. package/dist/cdn/CGLOXWTL.js +4 -0
  41. package/dist/cdn/{XLGJRJRT.js → CHUKWN2A.js} +2 -2
  42. package/dist/cdn/DNOBR6RH.js +4 -0
  43. package/dist/cdn/DOUCO3N2.js +4 -0
  44. package/dist/cdn/{SKH2O4BM.js → DOYUGTGD.js} +2 -2
  45. package/dist/cdn/{XV4W2VYG.js → DRQREY2S.js} +2 -2
  46. package/dist/cdn/{2ARGUKJN.js → DTQCBAVW.js} +2 -2
  47. package/dist/cdn/E3UVJEVD.js +4 -0
  48. package/dist/cdn/F7E7HABW.js +4 -0
  49. package/dist/cdn/FD5LMCKA.js +4 -0
  50. package/dist/cdn/{MOJATFZP.js → FN6QM6ZA.js} +2 -2
  51. package/dist/cdn/{CRJFO5M3.js → G5Y5YFWR.js} +2 -2
  52. package/dist/cdn/GZMWIO7R.js +4 -0
  53. package/dist/cdn/{QIJZZ3UT.js → H3GJRKLG.js} +2 -2
  54. package/dist/cdn/{NQXEUS45.js → H5KN3BTZ.js} +2 -2
  55. package/dist/cdn/{D5EOCQB7.js → HLLAZEON.js} +2 -2
  56. package/dist/cdn/{ARD5J2YD.js → IHPG75ZJ.js} +2 -2
  57. package/dist/cdn/{AWY2EIKT.js → IUFEAOKG.js} +2 -2
  58. package/dist/cdn/IX6BDJAP.js +4 -0
  59. package/dist/cdn/{XESHX7PJ.js → JIVLTETN.js} +2 -2
  60. package/dist/cdn/{YJFFTD3U.js → JO4IJFVN.js} +2 -2
  61. package/dist/cdn/{65M64D7X.js → JZ65FSOM.js} +2 -2
  62. package/dist/cdn/{Z7HRC7MF.js → K2CEIEKX.js} +1 -1
  63. package/dist/cdn/{XBSFNS6D.js → K5QE3WRI.js} +2 -2
  64. package/dist/cdn/{VAT5YT5Q.js → M3LSWFUZ.js} +2 -2
  65. package/dist/cdn/{PHERBWQK.js → M6JYOPXA.js} +2 -2
  66. package/dist/cdn/{S7ZTYZTV.js → MNN5YEO6.js} +2 -2
  67. package/dist/cdn/{XODEFMOS.js → N2KRIDZF.js} +2 -2
  68. package/dist/cdn/OGIZTI65.js +4 -0
  69. package/dist/cdn/ON36QRVD.js +4 -0
  70. package/dist/cdn/{5PZ6U6LO.js → OOBMOWL3.js} +2 -2
  71. package/dist/cdn/{7GUJK4CA.js → P3I6U5M3.js} +2 -2
  72. package/dist/cdn/{WOARMZ23.js → PJ3L65KS.js} +2 -2
  73. package/dist/cdn/{42BRN2JB.js → PM7FJGFL.js} +2 -2
  74. package/dist/cdn/{7DU3BQLS.js → PWNTKJLZ.js} +2 -2
  75. package/dist/cdn/{ACQJROQO.js → PZ4YERIK.js} +2 -2
  76. package/dist/cdn/QDLS4DHU.js +4 -0
  77. package/dist/cdn/{HELY3SIQ.js → QJ4L6AC5.js} +2 -2
  78. package/dist/cdn/{WC6NKD6C.js → QLPSXDBF.js} +2 -2
  79. package/dist/cdn/{VXHG7LMQ.js → QPCZHLY3.js} +2 -2
  80. package/dist/cdn/{5JGR7XRB.js → QWPGBVCM.js} +2 -2
  81. package/dist/cdn/QZR2ADDB.js +4 -0
  82. package/dist/cdn/R4WZP3GP.js +4 -0
  83. package/dist/cdn/{Q7UJVYWC.js → R7LMBS2Q.js} +2 -2
  84. package/dist/cdn/{6SKD7CMX.js → RCS25DNN.js} +2 -2
  85. package/dist/cdn/{CZ75Y343.js → S4DS2VFQ.js} +2 -2
  86. package/dist/cdn/SDNJH2IA.js +4 -0
  87. package/dist/cdn/{FH2YJMED.js → SJX7OIYJ.js} +2 -2
  88. package/dist/cdn/{WHK77ZDC.js → SK6A5RVT.js} +2 -2
  89. package/dist/cdn/SM7VRYCD.js +4 -0
  90. package/dist/cdn/{76GDABRX.js → SOHI6VJT.js} +1 -1
  91. package/dist/cdn/SQ6QJJYF.js +4 -0
  92. package/dist/cdn/{GNZ5Z5YA.js → SQWX7O6F.js} +2 -2
  93. package/dist/cdn/SRBT7WHL.js +4 -0
  94. package/dist/cdn/SSDWNCGK.js +4 -0
  95. package/dist/cdn/T2MGVLVL.js +4 -0
  96. package/dist/cdn/T755K6JD.js +4 -0
  97. package/dist/cdn/{KQ4BY3ZP.js → TG7FKCAQ.js} +2 -2
  98. package/dist/cdn/TS7QLZAH.js +4 -0
  99. package/dist/cdn/{7EV7F54O.js → TSBSGS6U.js} +2 -2
  100. package/dist/cdn/TXQHTUUV.js +4 -0
  101. package/dist/cdn/{BAQRXOBW.js → TZZPFSOP.js} +2 -2
  102. package/dist/cdn/U4WEVFIC.js +4 -0
  103. package/dist/cdn/{4CVSHDB7.js → UMESFLZW.js} +2 -2
  104. package/dist/cdn/UX3HXBWY.js +4 -0
  105. package/dist/cdn/{FEEHV7NN.js → UZSRAQSG.js} +2 -2
  106. package/dist/cdn/{XQXMCUCJ.js → V6GQ5PNP.js} +2 -2
  107. package/dist/cdn/VAW7ATES.js +4 -0
  108. package/dist/cdn/{SFQDGEKG.js → VEMUCPTT.js} +2 -2
  109. package/dist/cdn/WIS64HW7.js +4 -0
  110. package/dist/cdn/X26IDMO6.js +4 -0
  111. package/dist/cdn/X6Q4KV6O.js +4 -0
  112. package/dist/cdn/XNXAXVUT.js +4 -0
  113. package/dist/cdn/Y3WABS7Z.js +4 -0
  114. package/dist/cdn/{RWPY5RGT.js → YDR5JSHD.js} +1 -1
  115. package/dist/cdn/YGZTZNOP.js +4 -0
  116. package/dist/cdn/YHESMRIJ.js +4 -0
  117. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -0
  118. package/dist/cdn/assets/area-measurement-3d/t9n/messages.en.json +1 -0
  119. package/dist/cdn/assets/directline-measurement-3d/t9n/messages.en.json +1 -0
  120. package/dist/cdn/assets/distance-measurement-2d/t9n/messages.en.json +1 -0
  121. package/dist/cdn/assets/slice/t9n/messages.en.json +1 -0
  122. package/dist/cdn/assets/video-player/t9n/messages.ar.json +1 -1
  123. package/dist/cdn/assets/video-player/t9n/messages.bg.json +1 -1
  124. package/dist/cdn/assets/video-player/t9n/messages.bs.json +1 -1
  125. package/dist/cdn/assets/video-player/t9n/messages.ca.json +1 -1
  126. package/dist/cdn/assets/video-player/t9n/messages.cs.json +1 -1
  127. package/dist/cdn/assets/video-player/t9n/messages.da.json +1 -1
  128. package/dist/cdn/assets/video-player/t9n/messages.de.json +1 -1
  129. package/dist/cdn/assets/video-player/t9n/messages.el.json +1 -1
  130. package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
  131. package/dist/cdn/assets/video-player/t9n/messages.es.json +1 -1
  132. package/dist/cdn/assets/video-player/t9n/messages.et.json +1 -1
  133. package/dist/cdn/assets/video-player/t9n/messages.fi.json +1 -1
  134. package/dist/cdn/assets/video-player/t9n/messages.fr.json +1 -1
  135. package/dist/cdn/assets/video-player/t9n/messages.he.json +1 -1
  136. package/dist/cdn/assets/video-player/t9n/messages.hr.json +1 -1
  137. package/dist/cdn/assets/video-player/t9n/messages.hu.json +1 -1
  138. package/dist/cdn/assets/video-player/t9n/messages.id.json +1 -1
  139. package/dist/cdn/assets/video-player/t9n/messages.it.json +1 -1
  140. package/dist/cdn/assets/video-player/t9n/messages.ja.json +1 -1
  141. package/dist/cdn/assets/video-player/t9n/messages.ko.json +1 -1
  142. package/dist/cdn/assets/video-player/t9n/messages.lt.json +1 -1
  143. package/dist/cdn/assets/video-player/t9n/messages.lv.json +1 -1
  144. package/dist/cdn/assets/video-player/t9n/messages.nl.json +1 -1
  145. package/dist/cdn/assets/video-player/t9n/messages.no.json +1 -1
  146. package/dist/cdn/assets/video-player/t9n/messages.pl.json +1 -1
  147. package/dist/cdn/assets/video-player/t9n/messages.pt-BR.json +1 -1
  148. package/dist/cdn/assets/video-player/t9n/messages.pt-PT.json +1 -1
  149. package/dist/cdn/assets/video-player/t9n/messages.ro.json +1 -1
  150. package/dist/cdn/assets/video-player/t9n/messages.ru.json +1 -1
  151. package/dist/cdn/assets/video-player/t9n/messages.sk.json +1 -1
  152. package/dist/cdn/assets/video-player/t9n/messages.sl.json +1 -1
  153. package/dist/cdn/assets/video-player/t9n/messages.sr.json +1 -1
  154. package/dist/cdn/assets/video-player/t9n/messages.sv.json +1 -1
  155. package/dist/cdn/assets/video-player/t9n/messages.th.json +1 -1
  156. package/dist/cdn/assets/video-player/t9n/messages.tr.json +1 -1
  157. package/dist/cdn/assets/video-player/t9n/messages.uk.json +1 -1
  158. package/dist/cdn/assets/video-player/t9n/messages.vi.json +1 -1
  159. package/dist/cdn/assets/video-player/t9n/messages.zh-CN.json +1 -1
  160. package/dist/cdn/assets/video-player/t9n/messages.zh-HK.json +1 -1
  161. package/dist/cdn/assets/video-player/t9n/messages.zh-TW.json +1 -1
  162. package/dist/cdn/index.js +2 -2
  163. package/dist/chunks/AnalysisViewModel.js +256 -0
  164. package/dist/chunks/async-utils.js +3 -3
  165. package/dist/chunks/basemap-gallery-resources.js +1 -1
  166. package/dist/chunks/component-utils.js +84 -84
  167. package/dist/chunks/createCloseEvent.js +1 -1
  168. package/dist/chunks/globalCss.js +1 -1
  169. package/dist/chunks/heading.js +1 -1
  170. package/dist/chunks/layer-list.js +1 -1
  171. package/dist/chunks/legacyIcon.js +1 -1
  172. package/dist/chunks/maybe.js +1 -1
  173. package/dist/chunks/runtime.js +10 -7
  174. package/dist/chunks/useHandles.js +1 -1
  175. package/dist/chunks/useT9n.js +1 -1
  176. package/dist/chunks/useView.js +27 -26
  177. package/dist/chunks/useViewModel.js +16 -17
  178. package/dist/chunks/useWidget.js +79 -113
  179. package/dist/chunks/utils.js +1 -1
  180. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -3
  181. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  182. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -6
  183. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  184. package/dist/components/arcgis-attachments/customElement.d.ts +3 -9
  185. package/dist/components/arcgis-attachments/customElement.js +1 -1
  186. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -6
  187. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  188. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  189. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -35
  190. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  191. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -4
  192. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  193. package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -13
  194. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  195. package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -9
  196. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  197. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -29
  198. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  199. package/dist/components/arcgis-compass/customElement.d.ts +1 -3
  200. package/dist/components/arcgis-compass/customElement.js +1 -1
  201. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -15
  202. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  203. package/dist/components/arcgis-daylight/customElement.d.ts +2 -14
  204. package/dist/components/arcgis-daylight/customElement.js +1 -1
  205. package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -3
  206. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  207. package/dist/components/arcgis-directions/customElement.d.ts +2 -12
  208. package/dist/components/arcgis-directions/customElement.js +1 -1
  209. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +2 -6
  210. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  211. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -6
  212. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  213. package/dist/components/arcgis-editor/customElement.d.ts +2 -8
  214. package/dist/components/arcgis-editor/customElement.js +1 -1
  215. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -8
  216. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  217. package/dist/components/arcgis-expand/customElement.d.ts +2 -22
  218. package/dist/components/arcgis-expand/customElement.js +2 -2
  219. package/dist/components/arcgis-feature/customElement.d.ts +5 -20
  220. package/dist/components/arcgis-feature/customElement.js +1 -1
  221. package/dist/components/arcgis-feature-form/customElement.d.ts +2 -10
  222. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  223. package/dist/components/arcgis-feature-table/customElement.d.ts +146 -31
  224. package/dist/components/arcgis-feature-table/customElement.js +12 -12
  225. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -13
  226. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  227. package/dist/components/arcgis-features/customElement.d.ts +10 -19
  228. package/dist/components/arcgis-features/customElement.js +1 -1
  229. package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -8
  230. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  231. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  232. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -3
  233. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  234. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -10
  235. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  236. package/dist/components/arcgis-home/customElement.d.ts +1 -3
  237. package/dist/components/arcgis-home/customElement.js +1 -1
  238. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  239. package/dist/components/arcgis-layer-list/customElement.d.ts +10 -35
  240. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  241. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  242. package/dist/components/arcgis-legend/customElement.d.ts +2 -14
  243. package/dist/components/arcgis-legend/customElement.js +1 -1
  244. package/dist/components/arcgis-line-of-sight/customElement.js +55 -304
  245. package/dist/components/arcgis-link-chart/customElement.d.ts +5 -11
  246. package/dist/components/arcgis-link-chart/customElement.js +45 -64
  247. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -4
  248. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  249. package/dist/components/arcgis-locate/customElement.d.ts +1 -3
  250. package/dist/components/arcgis-locate/customElement.js +2 -2
  251. package/dist/components/arcgis-map/customElement.d.ts +8 -16
  252. package/dist/components/arcgis-map/customElement.js +49 -64
  253. package/dist/components/arcgis-measurement/customElement.d.ts +3 -9
  254. package/dist/components/arcgis-measurement/customElement.js +1 -1
  255. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  256. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -28
  257. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  258. package/dist/components/arcgis-placement/customElement.js +1 -1
  259. package/dist/components/arcgis-print/customElement.d.ts +1 -3
  260. package/dist/components/arcgis-print/customElement.js +1 -1
  261. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  262. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  263. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  264. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  265. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  266. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  267. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  268. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  269. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  270. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  271. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  272. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  273. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  274. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  275. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  276. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  277. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -3
  278. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  279. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -12
  280. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  281. package/dist/components/arcgis-scene/customElement.d.ts +16 -24
  282. package/dist/components/arcgis-scene/customElement.js +67 -83
  283. package/dist/components/arcgis-search/customElement.d.ts +6 -8
  284. package/dist/components/arcgis-search/customElement.js +1 -1
  285. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  286. package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -8
  287. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  288. package/dist/components/arcgis-sketch/customElement.d.ts +2 -16
  289. package/dist/components/arcgis-sketch/customElement.js +9 -12
  290. package/dist/components/arcgis-slice/SliceViewModel.d.ts +71 -0
  291. package/dist/components/arcgis-slice/css.d.ts +14 -0
  292. package/dist/components/arcgis-slice/customElement.d.ts +29 -64
  293. package/dist/components/arcgis-slice/customElement.js +178 -17
  294. package/dist/components/arcgis-slice/index.d.ts +4 -0
  295. package/dist/components/arcgis-slice/index.js +4 -0
  296. package/dist/components/arcgis-slider/customElement.d.ts +2 -22
  297. package/dist/components/arcgis-slider/customElement.js +1 -1
  298. package/dist/components/arcgis-swipe/customElement.d.ts +1 -3
  299. package/dist/components/arcgis-swipe/customElement.js +1 -1
  300. package/dist/components/arcgis-table-list/customElement.d.ts +10 -25
  301. package/dist/components/arcgis-table-list/customElement.js +1 -1
  302. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -24
  303. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  304. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  305. package/dist/components/arcgis-track/customElement.d.ts +1 -3
  306. package/dist/components/arcgis-track/customElement.js +1 -1
  307. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -15
  308. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  309. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +54 -23
  310. package/dist/components/arcgis-utility-network-trace/customElement.js +7 -7
  311. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -5
  312. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  313. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -19
  314. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  315. package/dist/components/arcgis-version-management/customElement.d.ts +2 -5
  316. package/dist/components/arcgis-version-management/customElement.js +1 -1
  317. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  318. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  319. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  320. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  321. package/dist/components/arcgis-video/customElement.d.ts +2 -5
  322. package/dist/components/arcgis-video/customElement.js +15 -16
  323. package/dist/components/arcgis-video-player/customElement.d.ts +12 -3
  324. package/dist/components/arcgis-video-player/customElement.js +30 -24
  325. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  326. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  327. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  328. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  329. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  330. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  331. package/dist/components/arcgis-weather/customElement.d.ts +1 -3
  332. package/dist/components/arcgis-weather/customElement.js +39 -44
  333. package/dist/components/arcgis-zoom/customElement.js +1 -1
  334. package/dist/controllers/useView.d.ts +1 -4
  335. package/dist/controllers/useViewModel.d.ts +6 -8
  336. package/dist/controllers/useWidget.d.ts +6 -32
  337. package/dist/docs/api.json +1178 -521
  338. package/dist/docs/docs.json +1017 -310
  339. package/dist/docs/vscode.html-custom-data.json +260 -194
  340. package/dist/docs/web-types.json +609 -437
  341. package/dist/index.js +1 -1
  342. package/dist/loader.js +7 -7
  343. package/dist/support/AnalysisViewModel.d.ts +3 -1
  344. package/dist/types/lumina.d.ts +3 -3
  345. package/dist/types/preact.d.ts +3 -3
  346. package/dist/types/react.d.ts +3 -3
  347. package/dist/types/stencil.d.ts +3 -3
  348. package/package.json +4 -4
  349. package/dist/cdn/4ARVM7UY.js +0 -4
  350. package/dist/cdn/4U7KRE74.js +0 -4
  351. package/dist/cdn/4UJET4TE.js +0 -4
  352. package/dist/cdn/6KFM7ABY.js +0 -4
  353. package/dist/cdn/6P2EECJH.js +0 -4
  354. package/dist/cdn/7GUMD4AT.js +0 -4
  355. package/dist/cdn/ABM5CZGH.js +0 -4
  356. package/dist/cdn/ASTXELMQ.js +0 -4
  357. package/dist/cdn/BCPDKBTM.js +0 -4
  358. package/dist/cdn/BYEV6AQN.js +0 -4
  359. package/dist/cdn/CU36KTDY.js +0 -6
  360. package/dist/cdn/DCIWIGXI.js +0 -4
  361. package/dist/cdn/DO7NMSUD.js +0 -4
  362. package/dist/cdn/DXM4IS7H.js +0 -4
  363. package/dist/cdn/E3PVQK32.js +0 -4
  364. package/dist/cdn/FU35QKNP.js +0 -4
  365. package/dist/cdn/H26CWDPD.js +0 -4
  366. package/dist/cdn/HCYJNN2S.js +0 -4
  367. package/dist/cdn/IQIMJRQJ.js +0 -4
  368. package/dist/cdn/JGN266A7.js +0 -4
  369. package/dist/cdn/JMEHA65S.js +0 -4
  370. package/dist/cdn/K7L7OKM6.js +0 -4
  371. package/dist/cdn/LBIDNXWI.js +0 -4
  372. package/dist/cdn/MFVWI3AZ.js +0 -4
  373. package/dist/cdn/NL2T6HAD.js +0 -4
  374. package/dist/cdn/NRIAVH2S.js +0 -4
  375. package/dist/cdn/PBZE6ZR5.js +0 -4
  376. package/dist/cdn/PDX2XUG7.js +0 -4
  377. package/dist/cdn/PF4NCRND.js +0 -4
  378. package/dist/cdn/Q2ZQJ5JW.js +0 -4
  379. package/dist/cdn/QOGDMU45.js +0 -4
  380. package/dist/cdn/QSFM4UVE.js +0 -4
  381. package/dist/cdn/QSXEQTHH.js +0 -4
  382. package/dist/cdn/ROOE5A4R.js +0 -4
  383. package/dist/cdn/SGHJTHD6.js +0 -4
  384. package/dist/cdn/TG53MEFV.js +0 -4
  385. package/dist/cdn/TJMJHDOB.js +0 -4
  386. package/dist/cdn/UWTLDDEI.js +0 -4
  387. package/dist/cdn/VAX7DLPJ.js +0 -4
  388. package/dist/cdn/VCQDTOFO.js +0 -4
  389. package/dist/cdn/VLUEASU6.js +0 -4
  390. package/dist/cdn/VUDP7DCS.js +0 -4
  391. package/dist/cdn/WUMAGHOH.js +0 -4
  392. package/dist/cdn/XJZ6BSMR.js +0 -4
  393. package/dist/cdn/Y5ORC2QD.js +0 -4
  394. package/dist/cdn/YAWOJGRR.js +0 -4
  395. package/dist/cdn/YBPOP5MP.js +0 -4
  396. package/dist/cdn/YDQ7VMST.js +0 -4
  397. package/dist/cdn/YKEMWATI.js +0 -4
  398. package/dist/cdn/YRI7JRGZ.js +0 -4
  399. package/dist/cdn/YWGKTJOH.js +0 -4
  400. package/dist/cdn/Z4EFWFMG.js +0 -4
  401. package/dist/cdn/ZYIAXSQ5.js +0 -4
@@ -1,28 +1,28 @@
1
- import { c as n } from "../../chunks/runtime.js";
1
+ import { c as h } from "../../chunks/runtime.js";
2
2
  import { html as e } from "lit-html";
3
3
  import { usePropertyChange as c } from "@arcgis/lumina/controllers";
4
- import { classes as h } from "@arcgis/components-utils";
5
- import u from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
6
- import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
7
- import { LitElement as v, createEvent as t, noShadowRoot as g, safeClassMap as s } from "@arcgis/lumina";
8
- import { createRef as f, ref as p } from "lit-html/directives/ref.js";
9
- import { u as y } from "../../chunks/useT9n.js";
10
- import { m as _ } from "../../chunks/useViewModel.js";
4
+ import { classes as u } from "@arcgis/components-utils";
5
+ import v from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
6
+ import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
7
+ import { LitElement as m, createEvent as a, noShadowRoot as g, safeClassMap as o } from "@arcgis/lumina";
8
+ import { createRef as y, ref as _ } from "lit-html/directives/ref.js";
9
+ import { u as f } from "../../chunks/useT9n.js";
10
+ import { m as p } from "../../chunks/useViewModel.js";
11
11
  import { g as w } from "../../chunks/globalCss.js";
12
12
  import { css as V } from "@lit/reactive-element/css-tag.js";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
15
- v4.33.0-next.124 */
16
- const $ = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, a = "arcgis-video-player", o = {
17
- base: a,
18
- videoView: `${a}__video-view`
19
- }, b = _(u);
20
- class M extends v {
15
+ v4.33.0-next.126 */
16
+ const $ = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, d = "arcgis-video-player", l = {
17
+ base: d,
18
+ videoView: `${d}__video-view`
19
+ }, b = p(v);
20
+ class M extends m {
21
21
  constructor() {
22
- super(...arguments), this.messages = y({ blocking: !0 }), this.viewModel = b(this), this._videoViewRef = f(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this.position = "top-left", this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.arcgisPropertyChange = c()("state", "layer"), this.arcgisReady = t(), this.arcgisVideoReady = t();
22
+ super(...arguments), this.messages = f({ blocking: !0 }), this.viewModel = b(this), this._videoViewRef = y(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this._videoViewReady = !1, this._layerTitle = null, this.position = "top-left", this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.hideHeader = !1, this.arcgisPropertyChange = c()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
23
23
  }
24
24
  static {
25
- this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3 };
25
+ this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
26
26
  }
27
27
  static {
28
28
  this.styles = $;
@@ -35,23 +35,29 @@ class M extends v {
35
35
  }
36
36
  loaded() {
37
37
  this.manager.onLifecycle(() => [
38
- m(() => [this.viewModel.currentTime, this.viewModel.duration, this.viewModel.duration, this.viewModel.ended], () => {
39
- const { buffered: d, currentTime: r, duration: i, ended: l } = this.viewModel;
40
- this._duration = i, this._currentTime = r, this._bufferedValue = d / (i || 1), this._currentValue = r / (i || 1), this._isBuffering = !l && this._bufferedValue < this._currentValue;
41
- })
38
+ t(() => [this.viewModel.currentTime, this.viewModel.duration, this.viewModel.duration, this.viewModel.ended], () => {
39
+ const { buffered: i, currentTime: s, duration: r, ended: n } = this.viewModel;
40
+ this._duration = r, this._currentTime = s, this._bufferedValue = i / (r || 1), this._currentValue = s / (r || 1), this._isBuffering = !n && this._bufferedValue < this._currentValue;
41
+ }),
42
+ t(() => this._videoViewRef.value?.ready, (i) => {
43
+ this._videoViewReady = !!i;
44
+ }, { initial: !0 }),
45
+ t(() => this.layer?.title, () => {
46
+ this._layerTitle = this.layer?.title;
47
+ }, { initial: !0 })
42
48
  ]);
43
49
  }
44
50
  render() {
45
- return e`<div class=${s(h(o.base, w.widget))}><calcite-panel .heading=${this.layer?.title || "Video Player"}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`;
51
+ return e`<div class=${o(u(l.base, w.widget))}><calcite-panel .heading=${this.hideHeader ? void 0 : this._layerTitle ?? this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`;
46
52
  }
47
53
  _renderLoadingScrim() {
48
- return this._videoViewRef?.value?.ready ? null : e`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
54
+ return this._videoViewReady ? null : e`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
49
55
  }
50
56
  _renderBuffering() {
51
57
  return this._isBuffering ? e`<calcite-progress type=indeterminate></calcite-progress>` : null;
52
58
  }
53
59
  _renderVideoSection() {
54
- return e`<div class=${s(o.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`;
60
+ return e`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${_(this._videoViewRef)}></arcgis-video></div>`;
55
61
  }
56
62
  _renderSlider() {
57
63
  return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
@@ -63,7 +69,7 @@ class M extends v {
63
69
  return this._metadataVisible ? e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>` : null;
64
70
  }
65
71
  }
66
- n("arcgis-video-player", M);
72
+ h("arcgis-video-player", M);
67
73
  export {
68
74
  M as ArcgisVideoPlayer
69
75
  };
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as e } from "@arcgis/lumina";
5
5
  import { css as d } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.124 */
8
+ v4.33.0-next.126 */
9
9
  const p = d`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`, o = "arcgis-video-player", r = {
10
10
  playerControlsGroup: `${o}__controls-group`,
11
11
  playerTimecode: `${o}__timecode`,
@@ -4,7 +4,7 @@ import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as p, noShadowRoot as m } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.124 */
7
+ v4.33.0-next.126 */
8
8
  class $ extends p {
9
9
  constructor() {
10
10
  super(...arguments), this._disabled = !1, this._playing = !1;
@@ -4,7 +4,7 @@ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import { LitElement as m, noShadowRoot as g } from "@arcgis/lumina";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.124 */
7
+ v4.33.0-next.126 */
8
8
  function p(i) {
9
9
  return i.followingMode === "none" ? "circle-disallowed" : i.followingMode === "follow-sensor" ? "zoom-to-object" : i.followingMode === "follow-frame" ? "follow" : "video";
10
10
  }
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
5
5
  import { css as m } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.124 */
8
+ v4.33.0-next.126 */
9
9
  const f = m`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`, o = "arcgis-metadata-table", t = {
10
10
  table: o,
11
11
  row: `${o}__row`,
@@ -6,7 +6,7 @@ import { LitElement as p } from "@arcgis/lumina";
6
6
  import { css as m } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.124 */
9
+ v4.33.0-next.126 */
10
10
  const v = m`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`, $ = ["Auto"], g = [
11
11
  { label: "0.25x", value: 0.25 },
12
12
  { label: "0.5x", value: 0.5 },
@@ -4,7 +4,7 @@ import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
4
4
  import { css as t } from "@lit/reactive-element/css-tag.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.124 */
7
+ v4.33.0-next.126 */
8
8
  const d = t`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
9
9
  progress: `${o}__progress`,
10
10
  slider: `${o}__slider`,
@@ -7,9 +7,7 @@ import { HeadingLevel } from '../../support/heading.jsx';
7
7
  import { ArcgisReferenceElement } from '../../utils/component-utils';
8
8
  import { WeatherViewModel } from './WeatherViewModel.js';
9
9
 
10
- declare const useViewModel: (component: LitElement & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel>, options?: {
11
- editConstructorProperties(props: unknown): unknown;
12
- } | undefined) => WeatherViewModel;
10
+ declare const useViewModel: (component: LitElement & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel>) => WeatherViewModel;
13
11
  /**
14
12
  * 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).
15
13
  *
@@ -1,24 +1,24 @@
1
- import { c as W } from "../../chunks/runtime.js";
1
+ import { c as T } from "../../chunks/runtime.js";
2
2
  import { html as o } from "lit-html";
3
- import { usePropertyChange as x } from "@arcgis/lumina/controllers";
3
+ import { usePropertyChange as W } from "@arcgis/lumina/controllers";
4
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";
5
+ import { nothing as v, safeStyleMap as x, LitElement as O, createEvent as S, noShadowRoot as B, safeClassMap as g } from "@arcgis/lumina";
6
+ import { u as E } from "../../chunks/useT9n.js";
7
+ import { m as H } from "../../chunks/useViewModel.js";
8
+ import { H as L } from "../../chunks/heading.js";
10
9
  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";
10
+ import { css as A } from "@lit/reactive-element/css-tag.js";
11
+ import D from "@arcgis/core/core/Accessor.js";
12
+ import { property as h, subclass as k } from "@arcgis/core/core/accessorSupport/decorators.js";
13
+ import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
14
+ import b from "@arcgis/core/views/3d/environment/CloudyWeather.js";
15
+ import f from "@arcgis/core/views/3d/environment/FoggyWeather.js";
16
+ import _ from "@arcgis/core/views/3d/environment/RainyWeather.js";
17
+ import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
18
+ import C from "@arcgis/core/views/3d/environment/SunnyWeather.js";
19
19
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
20
20
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
21
- v4.33.0-next.124 */
21
+ v4.33.0-next.126 */
22
22
  const c = "arcgis-weather", d = {
23
23
  base: c,
24
24
  content: `${c}__content`,
@@ -28,35 +28,35 @@ const c = "arcgis-weather", d = {
28
28
  optionsHidden: `${c}__options--hidden`,
29
29
  error: `${c}__error`,
30
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)}}}`;
31
+ }, R = A`@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
32
  var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, i, s) => {
33
33
  for (var r = s > 1 ? void 0 : s ? j(e, i) : e, p = t.length - 1, l; p >= 0; p--)
34
34
  (l = t[p]) && (r = (s ? l(e, i, r) : l(r)) || r);
35
35
  return s && r && V(e, i, r), r;
36
36
  };
37
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 {
38
+ sunny: C,
39
+ cloudy: b,
40
+ rainy: _,
41
+ snowy: $,
42
+ foggy: f
43
+ }, M = Object.keys(z);
44
+ let n = class extends D {
45
45
  //#region Lifecycle
46
46
  constructor(t) {
47
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 _()
48
+ sunny: new C(),
49
+ cloudy: new b(),
50
+ rainy: new _(),
51
+ snowy: new $(),
52
+ foggy: new f()
53
53
  };
54
54
  }
55
55
  initialize() {
56
56
  this.addHandles([
57
57
  // When the weather is changed directly in the environment (not in the VM),
58
58
  // we need to update the corresponding weather instance in the view model.
59
- b(
59
+ P(
60
60
  () => this.current,
61
61
  (t) => {
62
62
  this._settingWeather || t == null || (this._weatherByType = {
@@ -109,7 +109,7 @@ let n = class extends k {
109
109
  //#endregion
110
110
  //#region Public Methods
111
111
  setWeatherByType(t) {
112
- if (!T.includes(t)) {
112
+ if (!M.includes(t)) {
113
113
  console.warn(`arcgis-weather - "${t}" is not a valid weather type`);
114
114
  return;
115
115
  }
@@ -147,35 +147,35 @@ a([
147
147
  h()
148
148
  ], n.prototype, "_environment", 1);
149
149
  n = a([
150
- P("components.weather.WeatherViewModel")
150
+ k("components.weather.WeatherViewModel")
151
151
  ], n);
152
152
  function u({ label: t, value: e, disabled: i, onChange: s }) {
153
153
  const r = (p) => {
154
154
  const l = p.currentTarget.value;
155
155
  s?.(l);
156
156
  };
157
- return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${i} style=${O({
157
+ return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${i} style=${x({
158
158
  // Tweaks to make the slider more compact and better-align within the weather component */
159
159
  marginInline: "-7px",
160
160
  marginBottom: "-7px"
161
161
  })} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
162
162
  }
163
- const F = L(n), I = {
163
+ const F = H(n), I = {
164
164
  sunny: "brightness",
165
165
  cloudy: "partly-cloudy",
166
166
  rainy: "rain",
167
167
  snowy: "snow",
168
168
  foggy: "fog"
169
169
  };
170
- class q extends S {
170
+ class q extends O {
171
171
  constructor() {
172
- 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();
172
+ super(...arguments), this.viewModel = F(this), this.messages = E(), 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 = W()("state"), this.arcgisReady = S();
173
173
  }
174
174
  static {
175
175
  this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
176
176
  }
177
177
  static {
178
- this.shadowRootOptions = E;
178
+ this.shadowRootOptions = B;
179
179
  }
180
180
  static {
181
181
  this.styles = R;
@@ -183,11 +183,6 @@ class q extends S {
183
183
  async destroy() {
184
184
  await this.manager.destroy();
185
185
  }
186
- load() {
187
- this.manager.onLifecycle(() => [
188
- b(() => this._renderContent(), () => this.requestUpdate())
189
- ]);
190
- }
191
186
  _getWarningMessage() {
192
187
  switch (this.viewModel.error) {
193
188
  case "not-visible": {
@@ -217,7 +212,7 @@ class q extends S {
217
212
  }
218
213
  _renderContent() {
219
214
  const { headingLevel: e, messages: i, viewModel: s } = this, r = this._getWarningMessage(), p = s.current, l = s.state === "error";
220
- 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({
215
+ return o`${this.hideHeader ? void 0 : L({ 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>${M.map(this._renderWeatherTypeButton, this)}</div>${Object.values(s.weatherByType).map((m) => o`<div class=${g(y({
221
216
  [d.options]: !0,
222
217
  [d.optionsHidden]: m.type !== p?.type
223
218
  }))}>${this._renderOptions(m)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
@@ -279,7 +274,7 @@ class q extends S {
279
274
  return o`<div class=${g(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`;
280
275
  }
281
276
  }
282
- W("arcgis-weather", q);
277
+ T("arcgis-weather", q);
283
278
  export {
284
279
  q as ArcgisWeather
285
280
  };
@@ -10,7 +10,7 @@ import { u as O } from "../../chunks/useView.js";
10
10
  import { css as Z } from "@lit/reactive-element/css-tag.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
13
- v4.33.0-next.124 */
13
+ v4.33.0-next.126 */
14
14
  const a = {
15
15
  base: "arcgis-zoom",
16
16
  horizontalLayout: "arcgis-zoom--horizontal",
@@ -28,15 +28,12 @@ export interface ViewControllerUses<ViewType extends View> {
28
28
  */
29
29
  export declare const useView: <ViewType extends View = View>(component: ViewControllerRequires<ViewType>) => ViewType | undefined;
30
30
  export declare class ViewController<ViewType extends View = View> extends GenericController<ViewType | undefined, ViewControllerRequires<ViewType>> {
31
- private _view$;
32
- private _viewDestroyHandle;
33
- private _canEmitArcgisReady;
31
+ #private;
34
32
  constructor(component: ViewControllerRequires<ViewType>);
35
33
  hostConnected(): void;
36
34
  hostLoad(): void;
37
35
  hostLoaded(): void;
38
36
  hostDisconnected(): void;
39
37
  hostUpdate(changes: PropertyValues<ViewControllerUses<View>>): void;
40
- private _notifyViewReady;
41
38
  }
42
39
  export {};
@@ -6,7 +6,7 @@ import { default as ArcgisMap } from '@arcgis/core/Map';
6
6
  import { default as MapView } from '@arcgis/core/views/MapView';
7
7
  import { default as SceneView } from '@arcgis/core/views/SceneView';
8
8
  import { default as LinkChartView } from '@arcgis/core/views/LinkChartView';
9
- import { ViewControllerUses, ViewController } from './useView';
9
+ import { ViewControllerUses } from './useView';
10
10
  import { LitElement, EventEmitter } from '@arcgis/lumina';
11
11
  type ViewModelControllerRequires<Props, ViewModel extends ViewModelInstance> = LitElement & Pick<ViewModel, keyof Props & keyof ViewModel> & ViewModelControllerUses<ViewModel>;
12
12
  type ViewModelInstance = Accessor & Partial<Evented> & {
@@ -37,7 +37,7 @@ export interface ViewModelControllerUses<ViewModel extends ViewModelInstance> ex
37
37
  *
38
38
  * TEST: add test cases for this controller
39
39
  */
40
- export declare const makeViewModelController: <Props, ViewModel extends ViewModelInstance, OmitProps extends string = never>(loadViewModel: ((props: Omit<Props, "view">) => Promise<ViewModel>) | (new (props: Omit<Props, "view">) => ViewModel), _options?: {
40
+ export declare const makeViewModelController: <Props, ViewModel extends ViewModelInstance, OmitProps extends string = never>(loadViewModel: ((props?: Omit<Props, "view">) => ViewModel) | (new (props?: Omit<Props, "view">) => ViewModel), _options?: {
41
41
  /**
42
42
  * Don't expose the following ViewModels's properties on the component.
43
43
  * You can also bind the property to \@State rather than \@Prop if you
@@ -47,13 +47,11 @@ export declare const makeViewModelController: <Props, ViewModel extends ViewMode
47
47
  * \@State() timeZone = this.viewModel.timeZone;
48
48
  */
49
49
  omitProps: OmitProps[];
50
- }) => (component: ViewModelControllerRequires<Omit<Props, OmitProps>, ViewModel>, options?: {
51
- editConstructorProperties(props: Props): Promise<Props> | Props;
52
- }) => ViewModel;
50
+ }) => (component: ViewModelControllerRequires<Omit<Props, OmitProps>, ViewModel>) => ViewModel;
53
51
  export declare class ViewModelController<Props, ViewModel extends ViewModelInstance> extends AccessorController<Props, ViewModel, ViewModelControllerUses<ViewModel>> {
54
- viewController: ViewController<LinkChartView | MapView | SceneView>;
55
- private _viewWatchHandle;
56
- hostLoad(): Promise<void>;
52
+ #private;
53
+ constructor(component: ViewModelControllerRequires<Props, ViewModel>, loadViewModel: ((props?: Omit<Props, "view">) => ViewModel) | (new (props?: Omit<Props, "view">) => ViewModel));
54
+ hostLoad(): void;
57
55
  hostDestroy(): void;
58
56
  }
59
57
  export {};
@@ -49,7 +49,7 @@ type Uses<Widget extends WidgetInstance> = {
49
49
  * Documentation:
50
50
  * https://qawebgis.esri.com/components/lumina/transition-from-widgets#usewidget-controller
51
51
  */
52
- export declare const makeWidgetController: <Props, Widget extends WidgetInstance, OmitProps extends string = never>(loadWidget: ((props: Props) => Promise<Widget> | Widget) | (new (props: Props) => Widget), _options?: {
52
+ export declare const makeWidgetController: <Props, Widget extends WidgetInstance, OmitProps extends string = never>(createWidget: ((props?: Props) => Widget) | (new (props?: Props) => Widget), _options?: {
53
53
  /**
54
54
  * Don't expose the following Widget's properties on the component.
55
55
  * You can also bind the property to \@State rather than \@Prop if you
@@ -59,40 +59,14 @@ export declare const makeWidgetController: <Props, Widget extends WidgetInstance
59
59
  * \@state() timeZone = this.widget.timeZone;
60
60
  */
61
61
  omitProps: OmitProps[];
62
- }) => (component: Requires<Omit<Props, OmitProps | "container" | "id" | "view" | "visible" | "visibleElements">, Widget>, options?: {
63
- editConstructorProperties(props: Props): Promise<Props> | Props;
64
- }) => Widget;
62
+ }) => (component: Requires<Omit<Props, OmitProps | "container" | "id" | "view" | "visible" | "visibleElements">, Widget>) => Widget;
65
63
  export declare class WidgetController<Props, Widget extends WidgetInstance> extends AccessorController<Props, Widget, Uses<Widget>> {
66
- private _watchedViewModelProperties;
67
- private _watchedVisibleElementsProperties;
68
- private _isBindingViewModel;
69
- constructor(component: Requires<Props, Widget> & Uses<Widget>, _loadAccessor: ((props: Props) => Promise<Widget> | Widget) | (new (props: Props) => Widget), _options?: {
70
- editConstructorProperties?(props: Props): Promise<Props> | Props;
71
- });
64
+ #private;
65
+ constructor(component: Requires<Props, Widget> & Uses<Widget>, createWidget: ((props?: Props) => Widget) | (new (props?: Props) => Widget));
72
66
  hostConnected(): void;
73
- hostLoad(): Promise<void>;
74
- private _updateWidgetVisibleElement;
67
+ hostLoad(): void;
68
+ hostUpdate(changes: PropertyValues<Uses<Widget>>): void;
75
69
  hostLoaded(): void;
76
- hostDisconnected(): void;
77
70
  hostDestroy(): void;
78
- hostUpdated(changes: PropertyValues<Uses<Widget>>): void;
79
- private _makeVisibleElementsBinder;
80
- private _makeRecursiveProxy;
81
- /**
82
- * Destroy the component if view gets destroyed.
83
- *
84
- * When view is destroyed, component disconnect is triggered, which will
85
- * destroy the component in 1s but that can be too late, because in the
86
- * meanwhile, a watcher on the widget/viewModel instance may get triggered,
87
- * and throw an error if it's not able to access this.view.map or etc
88
- * (happens in VersionManagementViewModel for example).
89
- *
90
- * We can't check for this in disconnectedCallback though as, if the entire
91
- * component tree is removed, the disconnect for the component will be
92
- * triggered before that of arcgis-map, so the view might not be destroyed
93
- * yet at that point.
94
- */
95
- private _watchViewDestroy;
96
- private _watchViewDestroyHandle?;
97
71
  }
98
72
  export {};