@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,311 +1,67 @@
1
- import { c as A } from "../../chunks/runtime.js";
2
- import { html as y } from "lit-html";
3
- import { usePropertyChange as $ } from "@arcgis/lumina/controllers";
4
- import { LitElement as C, createEvent as M, noShadowRoot as T, safeClassMap as d } from "@arcgis/lumina";
5
- import { css as U } from "@lit/reactive-element/css-tag.js";
6
- import { g as v } from "../../chunks/globalCss.js";
7
- import { u as x } from "../../chunks/useT9n.js";
8
- import { watch as w, whenOnce as S } from "@arcgis/core/core/reactiveUtils.js";
9
- import { m as F } from "../../chunks/useViewModel.js";
10
- import { c as g, a as R, t as I, i as k } from "../../chunks/async-utils.js";
11
- import { property as r, subclass as b } from "@arcgis/core/core/accessorSupport/decorators.js";
12
- import E from "@arcgis/core/core/Accessor.js";
13
- import { a as u, r as m } from "../../chunks/maybe.js";
14
- import { forceInteractive as D } from "@arcgis/core/applications/Components/analysisUtils.js";
15
- import H from "@arcgis/core/analysis/LineOfSightAnalysis.js";
1
+ import { c as f } from "../../chunks/runtime.js";
2
+ import { html as l } from "lit-html";
3
+ import { usePropertyChange as y } from "@arcgis/lumina/controllers";
4
+ import { LitElement as m, createEvent as v, noShadowRoot as w, safeClassMap as n } from "@arcgis/lumina";
5
+ import { css as _ } from "@lit/reactive-element/css-tag.js";
6
+ import { g } from "../../chunks/globalCss.js";
7
+ import { u as $ } from "../../chunks/useT9n.js";
8
+ import { m as b } from "../../chunks/useViewModel.js";
9
+ import { A as M } from "../../chunks/AnalysisViewModel.js";
10
+ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
11
+ import { property as A, subclass as O } from "@arcgis/core/core/accessorSupport/decorators.js";
16
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
17
13
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
18
- v4.33.0-next.124 */
19
- const P = U`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, h = "arcgis-line-of-sight", p = {
20
- base: h,
21
- actions: `${h}__actions`,
22
- container: `${h}__container`,
23
- error: `${h}__error`,
24
- hint: `${h}__hint`,
25
- hintText: `${h}__hint-text`,
26
- newAnalysisButton: `${h}__new-analysis-button`
14
+ v4.33.0-next.126 */
15
+ const C = _`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
16
+ base: a,
17
+ actions: `${a}__actions`,
18
+ container: `${a}__container`,
19
+ error: `${a}__error`,
20
+ hint: `${a}__hint`,
21
+ hintText: `${a}__hint-text`,
22
+ newAnalysisButton: `${a}__new-analysis-button`
27
23
  };
28
- var N = Object.defineProperty, L = Object.getOwnPropertyDescriptor, o = (e, t, s, a) => {
29
- for (var i = a > 1 ? void 0 : a ? L(t, s) : t, l = e.length - 1, c; l >= 0; l--)
30
- (c = e[l]) && (i = (a ? c(t, s, i) : c(i)) || i);
31
- return a && i && N(t, s, i), i;
24
+ var S = Object.defineProperty, V = Object.getOwnPropertyDescriptor, u = (s, e, i, o) => {
25
+ for (var t = o > 1 ? void 0 : o ? V(e, i) : e, d = s.length - 1, p; d >= 0; d--)
26
+ (p = s[d]) && (t = (o ? p(e, i, t) : p(t)) || t);
27
+ return o && t && S(e, i, t), t;
32
28
  };
33
- let n = class extends E {
34
- constructor(e = {}) {
35
- super(e), this._loggedUnsupportedErrorMessage = !1, this.view = null, this._analysisView = null, this._reconnectViewTask = null, this._forceInteractiveHandle = null, this._operationState = "inactive", this._unsupportedErrorMessage = !1, this._parentChangeFromReconnect = !1, this._startUserOperation = null;
36
- const t = e?.analysis;
37
- t != null ? this.analysis = t : (this._set("analysis", this.constructAnalysis()), this._set("isAnalysisOwner", !0)), e?.visible != null && (this.visible = e.visible);
38
- }
39
- // @ts-expect-error TODO - ignore
40
- normalizeCtorArgs(e) {
41
- const { analysis: t, ...s } = e;
42
- return s;
43
- }
44
- initialize() {
45
- this.addHandles([
46
- w(
47
- () => ({ readyAndNotSupported: this.view != null && this.view.ready && !this.supported }),
48
- ({ readyAndNotSupported: e }) => {
49
- e && !this._loggedUnsupportedErrorMessage && console.error(this._unsupportedErrorMessage);
50
- },
51
- { sync: !0, initial: !0 }
52
- ),
53
- w(
54
- () => (
55
- // @ts-expect-error TODO - expose parent
56
- this.analysis?.parent
57
- ),
58
- (e) => {
59
- !this._parentChangeFromReconnect && e !== this.view && this._set("isAnalysisOwner", !1);
60
- const t = !this._parentChangeFromReconnect;
61
- this._parentChangeFromReconnect = !1, t && this._scheduleViewReconnect();
62
- },
63
- { sync: !0 }
64
- ),
65
- w(
66
- () => ({
67
- view: this.view,
68
- ready: !!this.view?.ready,
69
- supported: this.supported
70
- }),
71
- ({ view: e }, t) => {
72
- const s = t?.view;
73
- e !== s && (this._startUserOperation = u(this._startUserOperation), this._disconnectFromView(s)), this._scheduleViewReconnect();
74
- },
75
- { sync: !0, initial: !0 }
76
- )
77
- ]);
78
- }
79
- destroy() {
80
- this._reconnectViewTask = u(this._reconnectViewTask), this._startUserOperation = u(this._startUserOperation), this._analysisView != null && (this._analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this.analysis != null && this.isAnalysisOwner && (this.analysis.destroy(), this._set("analysis", null));
81
- }
82
- get supported() {
83
- return this.view == null || this.view.type === this.supportedViewType;
84
- }
85
- set visible(e) {
86
- this._set("visible", e), this._analysisView != null && (this._analysisView.visible = e);
87
- }
88
- get active() {
89
- return this._startUserOperation?.state === 2;
90
- }
91
- get disabled() {
92
- return this.view == null || !this.view.ready || !this.supported;
93
- }
94
- set analysis(e) {
95
- e !== this._get("analysis") && (this._startUserOperation = u(this._startUserOperation), this._disconnectFromView(this.view), this._setExternalAnalysis(e), this._scheduleViewReconnect());
96
- }
97
- get analysisView() {
98
- return this._analysisView;
99
- }
100
- get ready() {
101
- return this._analysisView != null && !this.connectingToView;
102
- }
103
- get connectingToView() {
104
- return this._reconnectViewTask != null;
105
- }
106
- get isAnalysisOwner() {
107
- return this._get("isAnalysisOwner");
108
- }
109
- get operationState() {
110
- return this._operationState;
111
- }
112
- /**
113
- * Removes the tool and clears the analysis by resetting its inputs.
114
- */
115
- clear() {
116
- this.clearAnalysis(), this._startUserOperation = u(this._startUserOperation), this._resetInteractiveCreationState();
117
- }
118
- /**
119
- * If analysis has unset inputs, start() will kick off the user operation to specify those inputs.
120
- */
121
- async start() {
122
- if (!this.visible) {
123
- console.warn("Cannot start analysis when not visible");
124
- return;
125
- }
126
- const e = {
127
- task: null,
128
- abort: null,
129
- state: 0
130
- /* PENDING */
131
- }, t = g(async (s) => {
132
- if (e.state = 1, await S(() => this.ready, s), e.state = 2, !(this._analysisView == null || this.view == null))
133
- return this._operationState = "active", void await this.place({ signal: s });
134
- });
135
- return t.promise.finally(() => {
136
- this._operationState = "inactive";
137
- }), e.task = t, e.abort = () => t.abort(), this._startUserOperation = e, void await t.promise;
138
- }
139
- startNewAnalysis() {
140
- return this.clear(), this.start();
141
- }
142
- continue() {
143
- return this.start();
144
- }
145
- stop() {
146
- this._startUserOperation?.abort();
147
- }
148
- /**
149
- * A callback used by view models that manage an analysis belonging to an Layer.
150
- *
151
- * The function will be called each time the view becomes ready, the internal Layer of
152
- * the view model has been added to the map and the analysis view of the analysis has been created.
153
- */
154
- onConnectToAnalysisView(e) {
155
- }
156
- /**
157
- * A callback used by view models that manage an analysis.
158
- *
159
- * The function will be called each time the view becomes unready and the internal analysis
160
- * has been removed the map or analyses.
161
- */
162
- onDisconnectFromAnalysisView() {
163
- }
164
- _scheduleViewReconnect() {
165
- this._reconnectViewTask = u(this._reconnectViewTask);
166
- const e = g(async (t) => {
167
- try {
168
- await this._reconnectView(t);
169
- } catch (s) {
170
- if (I(t), !k(s)) {
171
- console.warn("Failed to use analysis in view model", s);
172
- return;
173
- }
174
- throw s;
175
- } finally {
176
- e === this._reconnectViewTask && (this._reconnectViewTask = null);
177
- }
178
- });
179
- this._reconnectViewTask = e;
180
- }
181
- async _reconnectView(e) {
182
- const { view: t } = this, s = t != null && t.ready && this.supported, a = this.analysis;
183
- if (this._startUserOperation = V(this._startUserOperation), this._disconnectFromView(t), !s || t == null || a == null)
184
- return;
185
- if (this.isAnalysisOwner) {
186
- if (a.parent != null) {
187
- console.error("expected owned analysis to have null parent when connecting to view");
188
- return;
189
- }
190
- this._parentChangeFromReconnect = !0, t.analyses.add(a);
191
- }
192
- const i = await t.whenAnalysisView(a);
193
- if (this._analysisView = i, R(e)) {
194
- this._startUserOperation = V(this._startUserOperation);
195
- return;
196
- }
197
- i.visible = this.visible, this._forceInteractiveHandle = D(i), this.addHandles(this._forceInteractiveHandle), this.onConnectToAnalysisView(i);
198
- }
199
- _disconnectFromView(e) {
200
- e != null && this.isAnalysisOwner && e.analyses.includes(this.analysis) && (this._parentChangeFromReconnect = !0, this.analysis.clear(), e.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this._forceInteractiveHandle = m(this._forceInteractiveHandle), this._analysisView = null;
201
- }
202
- _setExternalAnalysis(e) {
203
- this._analysisView != null && !this.isAnalysisOwner && (this._analysisView.visible = void 0, this._forceInteractiveHandle = m(this._forceInteractiveHandle)), this._analysisView = null, this._set("isAnalysisOwner", !1), this._set("analysis", e), this._parentChangeFromReconnect = !1;
204
- }
205
- /**
206
- * Reset the analysis and tool to a state that will allow the interactive creation of a fresh analysis.
207
- * The 'start()' method uses 'tool.created' to determine when the tool can be deactivated, so we must
208
- * also reset that property here.
209
- *
210
- * In the future this should happen in the creation methods on analysis views:
211
- * https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/43397
212
- */
213
- _resetInteractiveCreationState() {
214
- this._analysisView?.tool?.resetCreated();
215
- }
216
- };
217
- o([
218
- r()
219
- ], n.prototype, "supported", 1);
220
- o([
221
- r()
222
- ], n.prototype, "view", 2);
223
- o([
224
- r({ type: Boolean, value: !0 })
225
- ], n.prototype, "visible", 1);
226
- o([
227
- r()
228
- ], n.prototype, "active", 1);
229
- o([
230
- r()
231
- ], n.prototype, "disabled", 1);
232
- o([
233
- r({ nonNullable: !0 })
234
- ], n.prototype, "analysis", 1);
235
- o([
236
- r()
237
- ], n.prototype, "_analysisView", 2);
238
- o([
239
- r()
240
- ], n.prototype, "analysisView", 1);
241
- o([
242
- r()
243
- ], n.prototype, "ready", 1);
244
- o([
245
- r()
246
- ], n.prototype, "connectingToView", 1);
247
- o([
248
- r({ readOnly: !0 })
249
- ], n.prototype, "isAnalysisOwner", 1);
250
- o([
251
- r()
252
- ], n.prototype, "_reconnectViewTask", 2);
253
- o([
254
- r()
255
- ], n.prototype, "_forceInteractiveHandle", 2);
256
- o([
257
- r()
258
- ], n.prototype, "_operationState", 2);
259
- o([
260
- r()
261
- ], n.prototype, "operationState", 1);
262
- n = o([
263
- b("esri.widgets.support.AnalysisViewModel")
264
- ], n);
265
- function V(e) {
266
- return e != null && e.state >= 2 ? (e.abort(), null) : e;
267
- }
268
- var j = Object.defineProperty, B = Object.getOwnPropertyDescriptor, O = (e, t, s, a) => {
269
- for (var i = a > 1 ? void 0 : a ? B(t, s) : t, l = e.length - 1, c; l >= 0; l--)
270
- (c = e[l]) && (i = (a ? c(t, s, i) : c(i)) || i);
271
- return a && i && j(t, s, i), i;
272
- };
273
- let _ = class extends n {
274
- constructor(e) {
275
- super(e), this.supportedViewType = "3d", this.unsupportedErrorMessage = "LineOfSightViewModel is only supported in 3D views.";
29
+ let c = class extends M {
30
+ constructor(s) {
31
+ super(s), this.supportedViewType = "3d", this.unsupportedErrorMessage = "LineOfSightViewModel is only supported in 3D views.";
276
32
  }
277
33
  get state() {
278
34
  return this.disabled || !this.ready ? "disabled" : this.operationState === "active" ? "creating" : this.analysis.valid ? "created" : "ready";
279
35
  }
280
36
  constructAnalysis() {
281
- return new H();
37
+ return new x();
282
38
  }
283
39
  clearAnalysis() {
284
40
  this.analysis.observer = null, this.analysis.targets.removeAll();
285
41
  }
286
- async place(e) {
287
- return await this.analysisView?.place(e);
42
+ async place(s) {
43
+ return await this.analysisView?.place(s);
288
44
  }
289
45
  };
290
- O([
291
- r({ readOnly: !0 })
292
- ], _.prototype, "state", 1);
293
- _ = O([
294
- b("esri.widgets.LineOfSight.LineOfSightViewModel")
295
- ], _);
296
- const z = F(_);
297
- class q extends C {
46
+ u([
47
+ A({ readOnly: !0 })
48
+ ], c.prototype, "state", 1);
49
+ c = u([
50
+ O("esri.components.LineOfSight.LineOfSightViewModel")
51
+ ], c);
52
+ const D = b(c);
53
+ class L extends m {
298
54
  constructor() {
299
- super(...arguments), this.viewModel = z(this), this._messages = x(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = $()("analysis", "state"), this.arcgisReady = M();
55
+ super(...arguments), this.viewModel = D(this), this._messages = $(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
300
56
  }
301
57
  static {
302
58
  this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 32, supported: 32 };
303
59
  }
304
60
  static {
305
- this.shadowRootOptions = T;
61
+ this.shadowRootOptions = w;
306
62
  }
307
63
  static {
308
- this.styles = P;
64
+ this.styles = C;
309
65
  }
310
66
  get analysis() {
311
67
  return this.viewModel.analysis;
@@ -331,35 +87,30 @@ class q extends C {
331
87
  async stop() {
332
88
  this.viewModel.stop();
333
89
  }
334
- load() {
335
- this.manager.onLifecycle(() => [
336
- w(() => this._renderContainerNode(), () => this.requestUpdate())
337
- ]);
338
- }
339
90
  render() {
340
- return y`<div class=${d({
341
- [p.base]: !0,
342
- [v.widget]: !0,
343
- [v.panel]: !0
91
+ return l`<div class=${n({
92
+ [r.base]: !0,
93
+ [g.widget]: !0,
94
+ [g.panel]: !0
344
95
  })} role=presentation>${this._renderContainerNode()}</div>`;
345
96
  }
346
97
  _renderContainerNode() {
347
98
  if (!this.supported)
348
- return y`<div class=${d(p.error)}><p>${this._messages.unsupported}</p></div>`;
349
- const t = this.viewModel.state, s = t === "creating";
350
- return y`<div class=${d(p.container)}>${s ? y`<div class=${d(p.hint)}><p class=${d(p.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${d(p.actions)}>${t === "creating" ? f({ onClick: () => {
99
+ return l`<div class=${n(r.error)}><p>${this._messages.unsupported}</p></div>`;
100
+ const e = this.viewModel.state, i = e === "creating";
101
+ return l`<div class=${n(r.container)}>${i ? l`<div class=${n(r.hint)}><p class=${n(r.hintText)}>${this._messages.hint}</p></div>` : null}<div class=${n(r.actions)}>${e === "creating" ? h({ onClick: () => {
351
102
  this.stop();
352
- }, children: this._messages.done }) : null}${t === "created" ? f({ onClick: () => {
103
+ }, children: this._messages.done }) : null}${e === "created" ? h({ onClick: () => {
353
104
  this.continue();
354
- }, children: this._messages.continueAnalysis }) : null}${f({ className: p.newAnalysisButton, onClick: () => {
105
+ }, children: this._messages.continueAnalysis }) : null}${h({ className: r.newAnalysisButton, onClick: () => {
355
106
  this.start();
356
- }, primary: !0, disabled: t === "disabled", children: this._messages.newAnalysis })}</div></div>`;
107
+ }, primary: !0, disabled: e === "disabled", children: this._messages.newAnalysis })}</div></div>`;
357
108
  }
358
109
  }
359
- function f({ className: e, onClick: t, primary: s, disabled: a, children: i }) {
360
- return y`<calcite-button .appearance=${s ? "solid" : "outline-fill"} class=${d(e)} .disabled=${a} @click=${t}>${i}</calcite-button>`;
110
+ function h({ className: s, onClick: e, primary: i, disabled: o, children: t }) {
111
+ return l`<calcite-button .appearance=${i ? "solid" : "outline-fill"} class=${n(s)} .disabled=${o} @click=${e}>${t}</calcite-button>`;
361
112
  }
362
- A("arcgis-line-of-sight", q);
113
+ f("arcgis-line-of-sight", L);
363
114
  export {
364
- q as ArcgisLineOfSight
115
+ L as ArcgisLineOfSight
365
116
  };
@@ -6,18 +6,14 @@ import { default as LinkChartView } from '@arcgis/core/views/LinkChartView.js';
6
6
  import { default as WebLinkChart } from '@arcgis/core/WebLinkChart.js';
7
7
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
8
8
 
9
- declare const useWebLinkChart: (component: LitElement & Pick<WebLinkChart, never> & {
9
+ declare const useWebLinkChart: (component: LitElement & Omit<Pick<WebLinkChart, "basemap" | "ground" | "layers" | "bookmarks" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "initialViewProperties" | "linkChartProperties" | "mapType" | "portalItem" | "thumbnailUrl">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "knowledgeGraph" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "entityCount" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "linkChartProperties" | "mapType" | "portalItem" | "relationshipCount" | "thumbnailUrl"> & {
10
10
  autoDestroyDisabled: boolean;
11
11
  destroy: () => Promise<void>;
12
- }, options?: {
13
- editConstructorProperties(props: __esri.WebLinkChartProperties | undefined): __esri.WebLinkChartProperties | Promise<__esri.WebLinkChartProperties | undefined> | undefined;
14
- } | undefined) => WebLinkChart;
15
- declare const useLinkChartView: (component: LitElement & Pick<LinkChartView, never> & {
12
+ }) => WebLinkChart;
13
+ declare const useLinkChartView: (component: LitElement & Omit<Pick<LinkChartView, "container" | "map" | "background" | "basemapView" | "center" | "constraints" | "extent" | "fatalError" | "graphics" | "highlights" | "navigation" | "padding" | "popup" | "resizeAlign" | "rotation" | "scale" | "spatialReference" | "theme" | "timeExtent" | "timeZone" | "viewpoint" | "zoom" | "floors" | "highlightOptions" | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "spatialReferenceLocked" | "widthBreakpoint" | "ui" | "animation" | "displayFilterEnabled">, "container" | "floors" | "highlightOptions" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "spatialReferenceLocked" | "widthBreakpoint" | "ui" | "animation" | "displayFilterEnabled"> & {
16
14
  autoDestroyDisabled: boolean;
17
15
  destroy: () => Promise<void>;
18
- }, options?: {
19
- editConstructorProperties(props: __esri.LinkChartViewProperties | undefined): __esri.LinkChartViewProperties | Promise<__esri.LinkChartViewProperties | undefined> | undefined;
20
- } | undefined) => LinkChartView;
16
+ }) => LinkChartView;
21
17
  /**
22
18
  * Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).
23
19
  *
@@ -149,8 +145,6 @@ export declare class ArcgisLinkChart extends LitElement {
149
145
  * Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#center),
150
146
  * and [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent), etc.
151
147
  *
152
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#padding)
153
- *
154
148
  * @default {left: 0, top: 0, right: 0, bottom: 0}
155
149
  */
156
150
  padding: __esri.ViewPadding;
@@ -355,7 +349,7 @@ export declare class ArcgisLinkChart extends LitElement {
355
349
  * This event will also emit if the `map` property is changed.
356
350
  */
357
351
  readonly arcgisViewReadyChange: TargetedEvent<this, void>;
358
- private _map: __esri.WebLinkChart;
352
+ private _map: WebLinkChart;
359
353
  readonly _setterTypes: {
360
354
  basemap?: __esri.Basemap | string | null | undefined;
361
355
  center?: __esri.LinkChartView["center"] | Nil | number[] | string;
@@ -1,16 +1,16 @@
1
- import { c as v } from "../../chunks/runtime.js";
2
- import { makeAccessorController as h, reEmitEvent as e, accessorSupport as d } from "@arcgis/lumina/controllers/accessor";
1
+ import { c as h } from "../../chunks/runtime.js";
2
+ import { makeAccessorController as r, reEmitEvent as e, reCreateAccessor as n } from "@arcgis/lumina/controllers/accessor";
3
3
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
- import p from "@arcgis/core/views/LinkChartView.js";
5
- import n from "@arcgis/core/WebLinkChart.js";
6
- import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
7
- import { c as r, i as g } from "../../chunks/component-utils.js";
8
- import { css as y } from "@lit/reactive-element/css-tag.js";
4
+ import o from "@arcgis/core/views/LinkChartView.js";
5
+ import w from "@arcgis/core/WebLinkChart.js";
6
+ import { LitElement as c, createEvent as a, noShadowRoot as p } from "@arcgis/lumina";
7
+ import { c as v, i as l } from "../../chunks/component-utils.js";
8
+ import { css as m } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.124 */
12
- const u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = h(
13
- n,
11
+ v4.33.0-next.126 */
12
+ const d = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
13
+ w,
14
14
  /**
15
15
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
16
16
  * a hack to remove them from the runtime code. This argument is not used at
@@ -20,87 +20,85 @@ const u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height
20
20
  * in an externalized package.
21
21
  */
22
22
  {}
23
- ), _ = h(p, {});
24
- class V extends l {
23
+ ), y = r(o, {});
24
+ class u extends c {
25
25
  constructor() {
26
- super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this._map = f(this, {
27
- editConstructorProperties: this._editMapProperties
28
- }), this.view = _(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
26
+ super(), this._map = g(this), this.view = y(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
27
+ components: ["attribution"]
28
+ };
29
29
  }
30
30
  static {
31
- this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
31
+ this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, zoom: 9 };
32
32
  }
33
33
  static {
34
- this.shadowRootOptions = m;
34
+ this.shadowRootOptions = p;
35
35
  }
36
36
  static {
37
- this.styles = u;
37
+ this.styles = d;
38
38
  }
39
39
  get center() {
40
- return this.view.center ?? this._center;
40
+ return this.view.center;
41
41
  }
42
42
  set center(i) {
43
- const t = r(i, this.ready ? this.view : void 0);
44
- t && (this.ready && (this.view.center = t), this._center = t);
43
+ const t = v(i, this.view);
44
+ t && (this.view.center = t);
45
45
  }
46
46
  get extent() {
47
- return this.view.extent ?? this._extent;
47
+ return this.view.extent;
48
48
  }
49
49
  set extent(i) {
50
- this.view.ready && !this.extent?.equals(i) && (this.view.extent = i), this._extent = i;
50
+ this.extent?.equals(i) || (this.view.extent = i);
51
51
  }
52
52
  get interacting() {
53
53
  return this.view.interacting;
54
54
  }
55
55
  get itemId() {
56
- return this._map.portalItem?.id ?? this._itemId;
56
+ return this._map.portalItem?.id;
57
57
  }
58
58
  set itemId(i) {
59
- this._itemId = i, this.ready ? d.reCreate(this._map, this).then(() => {
60
- this.view.map = this._map;
61
- }).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new n(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
59
+ n(this._map, this), this._map.portalItem = { id: i }, this.view.map = this._map;
62
60
  }
63
61
  get navigating() {
64
62
  return this.view.navigating;
65
63
  }
66
64
  get scale() {
67
- return this.view.scale ?? this._scale;
65
+ return this.view.scale;
68
66
  }
69
67
  set scale(i) {
70
- this.ready && (this.view.scale = i), this._scale = i;
68
+ this.view.scale = i;
71
69
  }
72
70
  get stationary() {
73
71
  return this.view.stationary;
74
72
  }
75
73
  get viewpoint() {
76
- return this.view.viewpoint ?? this._viewpoint;
74
+ return this.view.viewpoint;
77
75
  }
78
76
  set viewpoint(i) {
79
- this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
77
+ l(this.viewpoint, i) && (this.view.viewpoint = i);
80
78
  }
81
79
  get zoom() {
82
- return this.view.zoom ?? this._zoom;
80
+ return this.view.zoom;
83
81
  }
84
82
  set zoom(i) {
85
- this.ready && (this.view.zoom = i), this._zoom = i;
83
+ this.view.zoom = i;
86
84
  }
87
85
  async addLayer(i, t) {
88
- this.map?.add(i, t);
86
+ this.map.add(i, t);
89
87
  }
90
88
  async addLayers(i, t) {
91
- this.map?.addMany(i, t);
89
+ this.map.addMany(i, t);
92
90
  }
93
91
  async closePopup() {
94
- this.view?.closePopup();
92
+ this.view.closePopup();
95
93
  }
96
94
  async destroy() {
97
95
  await this.manager.destroy();
98
96
  }
99
97
  async goTo(i, t) {
100
- return await this.view?.goTo(i, t);
98
+ return await this.view.goTo(i, t);
101
99
  }
102
100
  async openPopup(i) {
103
- await this.view?.openPopup(i);
101
+ await this.view.openPopup(i);
104
102
  }
105
103
  toMap(i) {
106
104
  return this.view.toMap(i);
@@ -109,44 +107,27 @@ class V extends l {
109
107
  return this.view.toScreen(i, t);
110
108
  }
111
109
  async tryFatalErrorRecovery() {
112
- this.view?.tryFatalErrorRecovery();
110
+ this.view.tryFatalErrorRecovery();
113
111
  }
114
112
  async whenLayerView(i) {
115
- return await this.view?.whenLayerView(i);
113
+ return await this.view.whenLayerView(i);
116
114
  }
117
115
  async viewOnReady(i, t) {
118
116
  return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
119
117
  }
120
118
  load() {
121
119
  const i = this;
122
- i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
120
+ i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container = i.el.childElem;
123
121
  }
124
122
  loaded() {
125
- this.manager.onLifecycle(() => [
126
- s(() => this.view.stationary, () => {
127
- this.arcgisViewChange.emit();
128
- }, { initial: !0 }),
129
- s(() => this.view.ready, () => {
130
- this.arcgisViewReadyChange.emit();
131
- }, { initial: this.view.ready })
123
+ this.map ||= this._map, this.manager.onLifecycle(() => [
124
+ s(() => this.map, () => this._map = this.map, { initial: !0, sync: !0 }),
125
+ s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
126
+ s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
132
127
  ]);
133
128
  }
134
- _editMapProperties(i) {
135
- this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
136
- const { basemap: t, ...o } = i;
137
- t || (i = o);
138
- const { ground: w, ...c } = i;
139
- return w || (i = c), i;
140
- }
141
- async _editViewProperties(i) {
142
- await this.manager.use(this._map), this.view.ui || (i.ui = {
143
- components: ["attribution"]
144
- }), i.map ??= this._map;
145
- const t = r(this.center, void 0);
146
- return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
147
- }
148
129
  }
149
- v("arcgis-link-chart", V);
130
+ h("arcgis-link-chart", u);
150
131
  export {
151
- V as ArcgisLinkChart
132
+ u as ArcgisLinkChart
152
133
  };