@arcgis/map-components 4.33.0-next.111 → 4.33.0-next.113

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 (329) hide show
  1. package/dist/arcgis-map-components/2AQ3FVSG.js +4 -0
  2. package/dist/arcgis-map-components/{EA3TC6K7.js → 3MV55J2Y.js} +2 -2
  3. package/dist/arcgis-map-components/{ONHNWJ4G.js → 3TU7GQAD.js} +2 -2
  4. package/dist/arcgis-map-components/{NSY5QX3Y.js → 3X2GMJR5.js} +2 -2
  5. package/dist/arcgis-map-components/{YCW7WEIG.js → 4PNI7N5K.js} +2 -2
  6. package/dist/arcgis-map-components/{V6JTRMC6.js → 4VZMXBAV.js} +2 -2
  7. package/dist/arcgis-map-components/{4KI5LTBT.js → 5DK3QO7V.js} +2 -2
  8. package/dist/arcgis-map-components/{WJZT3YSK.js → 5MALNCHN.js} +2 -2
  9. package/dist/arcgis-map-components/637MOVRS.js +4 -0
  10. package/dist/arcgis-map-components/{M3A4KSBF.js → 6D6E7PDC.js} +2 -2
  11. package/dist/arcgis-map-components/6EUNJFNY.js +4 -0
  12. package/dist/arcgis-map-components/{FS6TCALO.js → 6HIGMCOE.js} +2 -2
  13. package/dist/arcgis-map-components/{22DRMCE7.js → 6TVXN5DT.js} +2 -2
  14. package/dist/arcgis-map-components/{6GAXEZBV.js → 6UMBZW3J.js} +2 -2
  15. package/dist/arcgis-map-components/6XQQ4RSR.js +4 -0
  16. package/dist/arcgis-map-components/{UIW2DTC6.js → 7BES3HZK.js} +2 -2
  17. package/dist/arcgis-map-components/{RCABX7AW.js → 7FA2K3OP.js} +2 -2
  18. package/dist/arcgis-map-components/{R6ZIPSXW.js → 7LDOMSRS.js} +2 -2
  19. package/dist/arcgis-map-components/{A3MGH64K.js → 7PTTKRXU.js} +2 -2
  20. package/dist/arcgis-map-components/{DIHBACUV.js → 7SH3DBCY.js} +2 -2
  21. package/dist/arcgis-map-components/{LCFTBEO7.js → 7TB7JKNU.js} +2 -2
  22. package/dist/arcgis-map-components/{WHRW63HY.js → 7YAC5GLA.js} +2 -2
  23. package/dist/arcgis-map-components/A23LK2MB.js +4 -0
  24. package/dist/arcgis-map-components/{NIE5OX6V.js → AD3IM2RV.js} +2 -2
  25. package/dist/arcgis-map-components/{5XC5KA5R.js → ANPX3M3T.js} +2 -2
  26. package/dist/arcgis-map-components/{4KTUJ3UM.js → AQ46PB7T.js} +2 -2
  27. package/dist/arcgis-map-components/{MFT3EQ7H.js → ATAZTDCH.js} +2 -2
  28. package/dist/arcgis-map-components/{6KVIMJ26.js → AYNCXSJA.js} +2 -2
  29. package/dist/arcgis-map-components/{IAE64AJ5.js → AYNUADWD.js} +2 -2
  30. package/dist/arcgis-map-components/B7OPBGVT.js +4 -0
  31. package/dist/arcgis-map-components/{7MJL6PXW.js → BNDCYZDT.js} +1 -1
  32. package/dist/arcgis-map-components/{WNFHLHF3.js → BRRHFKKW.js} +2 -2
  33. package/dist/arcgis-map-components/{BILSEGGP.js → BWJANLLR.js} +2 -2
  34. package/dist/arcgis-map-components/{H3ERSP6X.js → C4B35TTR.js} +2 -2
  35. package/dist/arcgis-map-components/C4KDC4WX.js +4 -0
  36. package/dist/arcgis-map-components/{VPEHQO4U.js → CH6YS2M3.js} +2 -2
  37. package/dist/arcgis-map-components/{VJPDMVYT.js → CIMDCPCB.js} +2 -2
  38. package/dist/arcgis-map-components/{RNQHGGIY.js → CKQSYSOF.js} +2 -2
  39. package/dist/arcgis-map-components/{UXKBPFT5.js → CUQNI3HG.js} +1 -1
  40. package/dist/arcgis-map-components/{T6A33AIR.js → DI7RDP6N.js} +1 -1
  41. package/dist/arcgis-map-components/{MSN4E7R4.js → DKOPT4NA.js} +2 -2
  42. package/dist/arcgis-map-components/{L32ZD67G.js → DU2GGA4Q.js} +2 -2
  43. package/dist/arcgis-map-components/{RE3QTDHA.js → ET4IRT5G.js} +2 -2
  44. package/dist/arcgis-map-components/EWMEU34N.js +4 -0
  45. package/dist/arcgis-map-components/{PASYJQJB.js → F3BVHIIC.js} +2 -2
  46. package/dist/arcgis-map-components/{OFGL6WQB.js → FZOABTDK.js} +2 -2
  47. package/dist/arcgis-map-components/{FN6BXFH5.js → G3WBK6OC.js} +2 -2
  48. package/dist/arcgis-map-components/{KUJKLDWE.js → GATPKJVX.js} +2 -2
  49. package/dist/arcgis-map-components/{FL3BKL33.js → GZPGV6LA.js} +2 -2
  50. package/dist/arcgis-map-components/HBUUVPXK.js +4 -0
  51. package/dist/arcgis-map-components/{Q2LOGABL.js → HNO5A756.js} +2 -2
  52. package/dist/arcgis-map-components/{JSCHPQVZ.js → HYVA2OKF.js} +2 -2
  53. package/dist/arcgis-map-components/I3SPMV64.js +4 -0
  54. package/dist/arcgis-map-components/{OLUAIMBO.js → IIDV3KD7.js} +2 -2
  55. package/dist/arcgis-map-components/IQXZNGHL.js +4 -0
  56. package/dist/arcgis-map-components/{O5BYILQC.js → JYFCNNNY.js} +2 -2
  57. package/dist/arcgis-map-components/{KAOXX4TW.js → KB3GLGHJ.js} +2 -2
  58. package/dist/arcgis-map-components/{J5SRFFNF.js → KJE363IH.js} +2 -2
  59. package/dist/arcgis-map-components/{PVRIT3WW.js → KJW4V2S4.js} +2 -2
  60. package/dist/arcgis-map-components/{DCLNNAEW.js → KPGCUIJT.js} +2 -2
  61. package/dist/arcgis-map-components/{6ROX7HML.js → KYJS4SG7.js} +2 -2
  62. package/dist/arcgis-map-components/LD2ZOJIB.js +4 -0
  63. package/dist/arcgis-map-components/{5UQEX3KX.js → LM6BLU7I.js} +2 -2
  64. package/dist/arcgis-map-components/{5ZJ6X34Q.js → LRM3I52Y.js} +2 -2
  65. package/dist/arcgis-map-components/MLXLT2NU.js +4 -0
  66. package/dist/arcgis-map-components/{2RKMR5D3.js → MXKENIC7.js} +2 -2
  67. package/dist/arcgis-map-components/NQOCQBYV.js +4 -0
  68. package/dist/arcgis-map-components/O3FWYZEE.js +4 -0
  69. package/dist/arcgis-map-components/{JJLKYP2G.js → ONQMSUPO.js} +1 -1
  70. package/dist/arcgis-map-components/{LNILATCN.js → OXX3UKTL.js} +2 -2
  71. package/dist/arcgis-map-components/{B4NV3HNZ.js → OYUTAXFP.js} +2 -2
  72. package/dist/arcgis-map-components/{NP2IER7N.js → PI2WYIV5.js} +2 -2
  73. package/dist/arcgis-map-components/{KYKFR7WY.js → PPOHUKZ2.js} +2 -2
  74. package/dist/arcgis-map-components/{LYTQHYOJ.js → PTDAGJR6.js} +2 -2
  75. package/dist/arcgis-map-components/{QD2XMEWV.js → PUTVBMOH.js} +1 -1
  76. package/dist/arcgis-map-components/PYVDWEMX.js +4 -0
  77. package/dist/arcgis-map-components/{VB2HTFGR.js → PYZN42J2.js} +1 -1
  78. package/dist/arcgis-map-components/{JYYODT4B.js → Q4IPOH3Q.js} +2 -2
  79. package/dist/arcgis-map-components/{HQOY7NMV.js → QDRYAIL6.js} +2 -2
  80. package/dist/arcgis-map-components/QMEQNV4W.js +4 -0
  81. package/dist/arcgis-map-components/{7THDR7PZ.js → RIQ7QCBK.js} +2 -2
  82. package/dist/arcgis-map-components/{3TH5IMVA.js → RSOOXAWQ.js} +2 -2
  83. package/dist/arcgis-map-components/{V2HEJBZJ.js → S352QOLG.js} +2 -2
  84. package/dist/arcgis-map-components/{FRYGGYQS.js → S6QAKH4U.js} +2 -2
  85. package/dist/arcgis-map-components/SFCQKRYF.js +4 -0
  86. package/dist/arcgis-map-components/SLVAMXGX.js +4 -0
  87. package/dist/arcgis-map-components/{NWVJBVOG.js → SU3JV7YB.js} +2 -2
  88. package/dist/arcgis-map-components/{25QYNIED.js → T5HRUVJD.js} +2 -2
  89. package/dist/arcgis-map-components/{P3MXZYP2.js → TBLZPYNC.js} +2 -2
  90. package/dist/arcgis-map-components/{XNNKRFXI.js → TCV34WIR.js} +2 -2
  91. package/dist/arcgis-map-components/{BZD36B3T.js → TDDXEDKS.js} +2 -2
  92. package/dist/arcgis-map-components/{YJPYKZUF.js → TRAKHXYB.js} +2 -2
  93. package/dist/arcgis-map-components/{TDD7QY3M.js → TT5IOPJV.js} +2 -2
  94. package/dist/arcgis-map-components/{GYG4OKTQ.js → U6B24E7V.js} +2 -2
  95. package/dist/arcgis-map-components/{7NE563FZ.js → U6LCW7DG.js} +2 -2
  96. package/dist/arcgis-map-components/UJYHTBUO.js +4 -0
  97. package/dist/arcgis-map-components/UOEFZRSX.js +4 -0
  98. package/dist/arcgis-map-components/{YSJ5WJGA.js → UUVFLUGE.js} +2 -2
  99. package/dist/arcgis-map-components/{NPKQNHF6.js → UZCB5WLH.js} +2 -2
  100. package/dist/arcgis-map-components/{PHCL6OJF.js → VIHA3QH2.js} +2 -2
  101. package/dist/arcgis-map-components/{R3MJAEFF.js → VTXTLR2G.js} +2 -2
  102. package/dist/arcgis-map-components/{5NH5I6EQ.js → WGIDJRIA.js} +2 -2
  103. package/dist/arcgis-map-components/{DW6OHYHJ.js → WITQYJC4.js} +2 -2
  104. package/dist/arcgis-map-components/{VUR35IT3.js → WPFYA7FW.js} +2 -2
  105. package/dist/arcgis-map-components/{IYUXSCBA.js → XDMRCMJI.js} +1 -1
  106. package/dist/arcgis-map-components/{UANEK66D.js → XIWHNK55.js} +2 -2
  107. package/dist/arcgis-map-components/{DFBVKWJB.js → XXXXSDUR.js} +2 -2
  108. package/dist/arcgis-map-components/{AO3ZLLTB.js → Y5OOL2WE.js} +2 -2
  109. package/dist/arcgis-map-components/{TRCUQQ3K.js → Y7OSESUK.js} +2 -2
  110. package/dist/arcgis-map-components/{SIJ3CVFK.js → YBEVWFZD.js} +2 -2
  111. package/dist/arcgis-map-components/YZCOAFOO.js +4 -0
  112. package/dist/arcgis-map-components/{MSKS7TSN.js → Z32XN7NB.js} +2 -2
  113. package/dist/arcgis-map-components/{57BPFHRY.js → Z77VZ34G.js} +2 -2
  114. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  115. package/dist/chunks/basemap-gallery-resources.js +1 -1
  116. package/dist/chunks/component-utils.js +1 -1
  117. package/dist/chunks/createCloseEvent.js +1 -1
  118. package/dist/chunks/globalCss.js +1 -1
  119. package/dist/chunks/heading.js +1 -1
  120. package/dist/chunks/layer-list.js +1 -1
  121. package/dist/chunks/legacyIcon.js +1 -1
  122. package/dist/chunks/maybe.js +1 -1
  123. package/dist/chunks/runtime.js +1 -1
  124. package/dist/chunks/useHandles.js +4 -4
  125. package/dist/chunks/useView.js +13 -11
  126. package/dist/chunks/useViewModel.js +1 -1
  127. package/dist/chunks/useWidget.js +1 -1
  128. package/dist/chunks/utils.js +1 -1
  129. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +47 -18
  130. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -6
  131. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +45 -8
  132. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -4
  133. package/dist/components/arcgis-attachments/customElement.d.ts +60 -7
  134. package/dist/components/arcgis-attachments/customElement.js +1 -4
  135. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +28 -14
  136. package/dist/components/arcgis-basemap-gallery/customElement.js +2 -11
  137. package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +2 -1
  138. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -5
  139. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +154 -8
  140. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -7
  141. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +33 -12
  142. package/dist/components/arcgis-basemap-toggle/customElement.js +3 -11
  143. package/dist/components/arcgis-bookmarks/customElement.d.ts +85 -8
  144. package/dist/components/arcgis-bookmarks/customElement.js +1 -4
  145. package/dist/components/arcgis-building-explorer/customElement.d.ts +63 -17
  146. package/dist/components/arcgis-building-explorer/customElement.js +1 -4
  147. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -8
  148. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -5
  149. package/dist/components/arcgis-compass/customElement.d.ts +38 -5
  150. package/dist/components/arcgis-compass/customElement.js +2 -8
  151. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +95 -9
  152. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -4
  153. package/dist/components/arcgis-daylight/customElement.d.ts +76 -8
  154. package/dist/components/arcgis-daylight/customElement.js +1 -4
  155. package/dist/components/arcgis-directional-pad/customElement.d.ts +54 -8
  156. package/dist/components/arcgis-directional-pad/customElement.js +3 -27
  157. package/dist/components/arcgis-directions/customElement.d.ts +84 -8
  158. package/dist/components/arcgis-directions/customElement.js +5 -13
  159. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +45 -8
  160. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -4
  161. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +40 -8
  162. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -6
  163. package/dist/components/arcgis-editor/customElement.d.ts +74 -8
  164. package/dist/components/arcgis-editor/customElement.js +1 -4
  165. package/dist/components/arcgis-elevation-profile/customElement.d.ts +94 -8
  166. package/dist/components/arcgis-elevation-profile/customElement.js +1 -4
  167. package/dist/components/arcgis-expand/customElement.d.ts +96 -10
  168. package/dist/components/arcgis-expand/customElement.js +1 -6
  169. package/dist/components/arcgis-feature/customElement.d.ts +119 -17
  170. package/dist/components/arcgis-feature/customElement.js +1 -9
  171. package/dist/components/arcgis-feature-form/customElement.d.ts +61 -7
  172. package/dist/components/arcgis-feature-form/customElement.js +1 -6
  173. package/dist/components/arcgis-feature-table/customElement.d.ts +316 -38
  174. package/dist/components/arcgis-feature-table/customElement.js +1 -6
  175. package/dist/components/arcgis-feature-templates/customElement.d.ts +72 -7
  176. package/dist/components/arcgis-feature-templates/customElement.js +1 -4
  177. package/dist/components/arcgis-features/customElement.d.ts +191 -19
  178. package/dist/components/arcgis-features/customElement.js +1 -10
  179. package/dist/components/arcgis-floor-filter/customElement.d.ts +51 -8
  180. package/dist/components/arcgis-floor-filter/customElement.js +1 -4
  181. package/dist/components/arcgis-fullscreen/customElement.d.ts +17 -13
  182. package/dist/components/arcgis-fullscreen/customElement.js +2 -12
  183. package/dist/components/arcgis-grid-controls/customElement.d.ts +120 -22
  184. package/dist/components/arcgis-grid-controls/customElement.js +5 -24
  185. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +113 -7
  186. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -8
  187. package/dist/components/arcgis-home/customElement.d.ts +36 -7
  188. package/dist/components/arcgis-home/customElement.js +3 -20
  189. package/dist/components/arcgis-labeled-switch/customElement.d.ts +11 -13
  190. package/dist/components/arcgis-labeled-switch/customElement.js +1 -8
  191. package/dist/components/arcgis-layer-list/customElement.d.ts +145 -8
  192. package/dist/components/arcgis-layer-list/customElement.js +1 -7
  193. package/dist/components/arcgis-layer-list-item/customElement.d.ts +60 -50
  194. package/dist/components/arcgis-layer-list-item/customElement.js +41 -58
  195. package/dist/components/arcgis-legend/customElement.d.ts +87 -9
  196. package/dist/components/arcgis-legend/customElement.js +1 -4
  197. package/dist/components/arcgis-line-of-sight/customElement.d.ts +35 -8
  198. package/dist/components/arcgis-line-of-sight/customElement.js +1 -4
  199. package/dist/components/arcgis-link-chart/customElement.d.ts +83 -29
  200. package/dist/components/arcgis-link-chart/customElement.js +1 -71
  201. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +38 -10
  202. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -11
  203. package/dist/components/arcgis-locate/customElement.d.ts +61 -11
  204. package/dist/components/arcgis-locate/customElement.js +3 -16
  205. package/dist/components/arcgis-map/customElement.d.ts +101 -40
  206. package/dist/components/arcgis-map/customElement.js +1 -83
  207. package/dist/components/arcgis-measurement/customElement.d.ts +52 -7
  208. package/dist/components/arcgis-measurement/customElement.js +1 -4
  209. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -1
  210. package/dist/components/arcgis-navigation-toggle/customElement.js +7 -16
  211. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +104 -15
  212. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -10
  213. package/dist/components/arcgis-placement/customElement.d.ts +6 -1
  214. package/dist/components/arcgis-placement/customElement.js +1 -12
  215. package/dist/components/arcgis-print/customElement.d.ts +196 -25
  216. package/dist/components/arcgis-print/customElement.js +3 -12
  217. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -5
  218. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -7
  219. package/dist/components/arcgis-print-export-button/customElement.js +1 -7
  220. package/dist/components/arcgis-print-exported-link/customElement.js +1 -5
  221. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -5
  222. package/dist/components/arcgis-print-format-select/customElement.js +1 -5
  223. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -5
  224. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -5
  225. package/dist/components/arcgis-print-main-panel/customElement.js +1 -7
  226. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -5
  227. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -5
  228. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -5
  229. package/dist/components/arcgis-print-preview-input/customElement.js +1 -5
  230. package/dist/components/arcgis-print-scale-section/customElement.js +1 -7
  231. package/dist/components/arcgis-print-template-select/customElement.js +1 -5
  232. package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -0
  233. package/dist/components/arcgis-print-template-selector/customElement.js +1 -7
  234. package/dist/components/arcgis-scale-bar/customElement.d.ts +22 -8
  235. package/dist/components/arcgis-scale-bar/customElement.js +3 -18
  236. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +79 -8
  237. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -4
  238. package/dist/components/arcgis-scene/customElement.d.ts +200 -108
  239. package/dist/components/arcgis-scene/customElement.js +1 -195
  240. package/dist/components/arcgis-search/customElement.d.ts +108 -64
  241. package/dist/components/arcgis-search/customElement.js +3 -40
  242. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +13 -7
  243. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -10
  244. package/dist/components/arcgis-shadow-cast/customElement.d.ts +86 -8
  245. package/dist/components/arcgis-shadow-cast/customElement.js +1 -4
  246. package/dist/components/arcgis-sketch/customElement.d.ts +147 -8
  247. package/dist/components/arcgis-sketch/customElement.js +2 -9
  248. package/dist/components/arcgis-slice/customElement.d.ts +67 -8
  249. package/dist/components/arcgis-slice/customElement.js +1 -4
  250. package/dist/components/arcgis-slider/customElement.d.ts +171 -7
  251. package/dist/components/arcgis-slider/customElement.js +1 -4
  252. package/dist/components/arcgis-swipe/customElement.d.ts +41 -15
  253. package/dist/components/arcgis-swipe/customElement.js +3 -12
  254. package/dist/components/arcgis-table-list/customElement.d.ts +106 -8
  255. package/dist/components/arcgis-table-list/customElement.js +1 -5
  256. package/dist/components/arcgis-time-slider/customElement.d.ts +117 -8
  257. package/dist/components/arcgis-time-slider/customElement.js +1 -4
  258. package/dist/components/arcgis-time-zone-label/customElement.d.ts +25 -4
  259. package/dist/components/arcgis-time-zone-label/customElement.js +5 -23
  260. package/dist/components/arcgis-track/customElement.d.ts +84 -9
  261. package/dist/components/arcgis-track/customElement.js +3 -10
  262. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +157 -21
  263. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -8
  264. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +79 -11
  265. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -4
  266. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +27 -8
  267. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -8
  268. package/dist/components/arcgis-value-picker/customElement.d.ts +87 -7
  269. package/dist/components/arcgis-value-picker/customElement.js +1 -4
  270. package/dist/components/arcgis-version-management/customElement.d.ts +27 -11
  271. package/dist/components/arcgis-version-management/customElement.js +3 -16
  272. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -5
  273. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -3
  274. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +3 -0
  275. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -8
  276. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
  277. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -8
  278. package/dist/components/arcgis-video/customElement.d.ts +17 -1
  279. package/dist/components/arcgis-video/customElement.js +1 -8
  280. package/dist/components/arcgis-video-player/customElement.d.ts +84 -16
  281. package/dist/components/arcgis-video-player/customElement.js +3 -10
  282. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -3
  283. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -5
  284. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -5
  285. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -5
  286. package/dist/components/arcgis-video-player-settings/customElement.js +1 -5
  287. package/dist/components/arcgis-video-player-slider/customElement.js +1 -5
  288. package/dist/components/arcgis-weather/customElement.d.ts +24 -6
  289. package/dist/components/arcgis-weather/customElement.js +2 -19
  290. package/dist/components/arcgis-zoom/customElement.d.ts +27 -12
  291. package/dist/components/arcgis-zoom/customElement.js +6 -19
  292. package/dist/controllers/Handles.d.ts +2 -2
  293. package/dist/controllers/useHandles.d.ts +4 -4
  294. package/dist/docs/api.json +1405 -756
  295. package/dist/docs/docs.json +555 -358
  296. package/dist/docs/vscode.html-custom-data.json +297 -223
  297. package/dist/docs/web-types.json +569 -550
  298. package/dist/geolocation/GeolocationPositioning.d.ts +1 -1
  299. package/dist/index.js +1 -1
  300. package/dist/loader.js +5 -5
  301. package/dist/types/lumina.d.ts +1 -1
  302. package/dist/types/preact.d.ts +1 -1
  303. package/dist/types/react.d.ts +1 -1
  304. package/dist/types/stencil.d.ts +1 -1
  305. package/package.json +4 -4
  306. package/dist/arcgis-map-components/35ACNFDJ.js +0 -4
  307. package/dist/arcgis-map-components/3UHY22IE.js +0 -4
  308. package/dist/arcgis-map-components/42S4MYFD.js +0 -4
  309. package/dist/arcgis-map-components/7S3K56VC.js +0 -4
  310. package/dist/arcgis-map-components/B7XTMIOE.js +0 -4
  311. package/dist/arcgis-map-components/BCDZNQXR.js +0 -4
  312. package/dist/arcgis-map-components/BRAN3HL4.js +0 -4
  313. package/dist/arcgis-map-components/CJJHKB5C.js +0 -4
  314. package/dist/arcgis-map-components/DU3P5Y56.js +0 -4
  315. package/dist/arcgis-map-components/EAJFJJIY.js +0 -4
  316. package/dist/arcgis-map-components/EIOFZZ7P.js +0 -4
  317. package/dist/arcgis-map-components/GSUAUMLS.js +0 -4
  318. package/dist/arcgis-map-components/KOCJX6MQ.js +0 -4
  319. package/dist/arcgis-map-components/L3KCGCYD.js +0 -4
  320. package/dist/arcgis-map-components/LPJDL3CA.js +0 -4
  321. package/dist/arcgis-map-components/MZ54YR5C.js +0 -4
  322. package/dist/arcgis-map-components/U6LDGDZ2.js +0 -4
  323. package/dist/arcgis-map-components/UJCSKXV3.js +0 -4
  324. package/dist/arcgis-map-components/VCAW5C2U.js +0 -4
  325. package/dist/arcgis-map-components/WL27TRU6.js +0 -4
  326. package/dist/arcgis-map-components/WVLNMUKX.js +0 -4
  327. package/dist/arcgis-map-components/X7NTYVHN.js +0 -4
  328. package/dist/arcgis-map-components/YU6GRPC2.js +0 -4
  329. package/dist/chunks/useT9n.js +0 -9
@@ -4,7 +4,7 @@ import { usePropertyChange as k } from "@arcgis/lumina/controllers";
4
4
  import { classes as H } from "@arcgis/components-utils";
5
5
  import { watch as v } from "@arcgis/core/core/reactiveUtils.js";
6
6
  import { LitElement as V, createEvent as b, noShadowRoot as Q, safeClassMap as P, nothing as K } from "@arcgis/lumina";
7
- import { u as J } from "../../chunks/useT9n.js";
7
+ import { u as J } from "../../chunks/useView.js";
8
8
  import { m as q } from "../../chunks/useViewModel.js";
9
9
  import { g as C } from "../../chunks/globalCss.js";
10
10
  import { l as W } from "../../chunks/legacyIcon.js";
@@ -27,7 +27,7 @@ import { project as ae } from "@arcgis/core/rest/geometryService.js";
27
27
  import se from "@arcgis/core/rest/support/ProjectParameters.js";
28
28
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
29
29
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
30
- v4.33.0-next.111 */
30
+ v4.33.0-next.113 */
31
31
  const ne = X`@layer{arcgis-locate{display:block}}`;
32
32
  var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, m = (e, t, o, r) => {
33
33
  for (var i = r > 1 ? void 0 : r ? ce(t, o) : t, a = e.length - 1, s; a >= 0; a--)
@@ -670,7 +670,7 @@ class ze extends V {
670
670
  super(...arguments), this.messages = J(), this.viewModel = je(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = _, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = b(), this.arcgisPropertyChange = k()("state"), this.arcgisReady = b(), this.arcgisSuccess = b();
671
671
  }
672
672
  static {
673
- this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 3, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
673
+ this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 1, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
674
674
  }
675
675
  static {
676
676
  this.shadowRootOptions = Q;
@@ -678,24 +678,15 @@ class ze extends V {
678
678
  static {
679
679
  this.styles = ne;
680
680
  }
681
- //#endregion
682
- //#region Public Methods
683
- /**
684
- * This function provides the ability to interrupt and cancel the process of
685
- * programmatically obtaining the location of the user's device.
686
- */
687
681
  async cancelLocate() {
688
682
  this.viewModel.cancelLocate();
689
683
  }
690
- /** Permanently destroy the component */
691
684
  async destroy() {
692
685
  await this.manager.destroy();
693
686
  }
694
687
  async locate() {
695
688
  return await this.viewModel.locate();
696
689
  }
697
- //#endregion
698
- //#region Lifecycle
699
690
  loaded() {
700
691
  this.viewModel.messages = { ...this.messages, ...this.messageOverrides }, this.manager.onLifecycle(() => [
701
692
  v(() => this.viewModel.error, (t) => {
@@ -706,8 +697,6 @@ class ze extends V {
706
697
  })
707
698
  ]);
708
699
  }
709
- //#endregion
710
- //#region Private Methods
711
700
  _localizeError(t) {
712
701
  if (t instanceof GeolocationPositionError)
713
702
  return t.code === GeolocationPositionError.PERMISSION_DENIED ? this.messages?.permissionError : t.code === GeolocationPositionError.TIMEOUT ? this.messages?.timeoutError : this.messages?.positionUnavailable;
@@ -719,8 +708,6 @@ class ze extends V {
719
708
  t.state === "locating" ? t.cancelLocate() : t.locate().catch(() => {
720
709
  });
721
710
  }
722
- //#endregion
723
- //#region Rendering
724
711
  render() {
725
712
  const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", y = W === void 0 ? _ : void 0, g = this._localizeError(this.viewModel?.error);
726
713
  return f`<div class=${P(H(Fe.base, C.widget))}>${!s && f`<calcite-button class=${P(C.widgetButton)} .disabled=${r === "disabled"} .iconStart=${i ? void 0 : o ?? y} kind=neutral .label=${a} @click=${this._locate} title=${a ?? K}>${i ? f`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${g ? f`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${g}</calcite-tooltip>` : null}</div>`;
@@ -18,7 +18,8 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
18
18
  }, options?: {
19
19
  editConstructorProperties(props: __esri.MapViewProperties | undefined): __esri.MapViewProperties | Promise<__esri.MapViewProperties | undefined> | undefined;
20
20
  } | undefined) => MapView;
21
- /** The ArcGIS Map Component is used to add 2D maps to web applications. For 3D maps, use the
21
+ /**
22
+ * The ArcGIS Map Component is used to add 2D maps to web applications. For 3D maps, use the
22
23
  * [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
23
24
  *
24
25
  * The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
@@ -34,11 +35,11 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
34
35
  * ```
35
36
  *
36
37
  * Other components can be added and connected to the Map component.
37
-
38
+ *
38
39
  * ```html
39
40
  * <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca">
40
- * <arcgis-zoom position="top-left"></arcgis-zoom>
41
- * <arcgis-legend position="bottom-left"></arcgis-legend>
41
+ * <arcgis-zoom position="top-left"></arcgis-zoom>
42
+ * <arcgis-legend position="bottom-left"></arcgis-legend>
42
43
  * </arcgis-map>
43
44
  * ```
44
45
  *
@@ -47,8 +48,8 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
47
48
  * ```js
48
49
  * const arcgisMap = document.querySelector("arcgis-map");
49
50
  * arcgisMap.addEventListener("arcgisViewReadyChange", () => {
50
- * const layer = new GraphicsLayer({ title: "My Layer" });
51
- * arcgisMap.map.add(layer);
51
+ * const layer = new GraphicsLayer({ title: "My Layer" });
52
+ * arcgisMap.map.add(layer);
52
53
  * });
53
54
  * ```
54
55
  *
@@ -56,9 +57,11 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
56
57
  * - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
57
58
  * - [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)
58
59
  * - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
60
+ *
61
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
59
62
  */
60
63
  export declare class ArcgisMap extends LitElement {
61
- /** Internal view of the component. */
64
+ /** The [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) instance created and manged by the component. Accessible once the component is fully loaded. */
62
65
  readonly view: MapView;
63
66
  /**
64
67
  * Collection containing a flat list of all the created LayerViews
@@ -69,25 +72,29 @@ export declare class ArcgisMap extends LitElement {
69
72
  * If true, the component will not be destroyed automatically when it is
70
73
  * disconnected from the document. This is useful when you want to move the
71
74
  * component to a different place on the page, or temporarily hide it. If this
72
- * is set, make sure to call the \`destroy\` method when you are done to prevent
73
- * memory leaks.
75
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#destroy) method when you are done to
76
+ * prevent memory leaks.
77
+ *
78
+ * @default false
74
79
  */
75
80
  autoDestroyDisabled: boolean;
76
81
  /**
77
82
  * The background color of the MapView. If the view's map changes, the view's `background` is reset to the map's background,
78
83
  * even if the user set it previously.
84
+ *
85
+ * @default null
79
86
  */
80
87
  background: nullish | __esri.ColorBackground;
81
88
  /**
82
- * Specifies a basemap for the map. The basemap is a set of layers that give
83
- * geographic context to the view and the other operational layers
84
- * in the map.
85
- * It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)),
86
- * [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html)
87
- * or [BasemapStyle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-BasemapStyle.html).
88
- *
89
- * [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)
90
- */
89
+ * Specifies a basemap for the map. The basemap is a set of layers that give
90
+ * geographic context to the view and the other operational layers
91
+ * in the map.
92
+ * It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)),
93
+ * [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html)
94
+ * or [BasemapStyle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-BasemapStyle.html).
95
+ *
96
+ * [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)
97
+ */
91
98
  get basemap(): typeof this._map.basemap;
92
99
  set basemap(value: __esri.Basemap | nullish | string);
93
100
  /** Represents the view for a single basemap after it has been added to the map. */
@@ -150,20 +157,26 @@ export declare class ArcgisMap extends LitElement {
150
157
  */
151
158
  highlights: __esri.Collection<__esri.HighlightOptions>;
152
159
  /**
153
- * @deprecated
160
+ * Options for configuring the highlight.
161
+ *
162
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#highlightOptions)
154
163
  *
164
+ * @deprecated
155
165
  * Options for configuring the highlight. Use the highlight method on the
156
166
  * appropriate esri/views/layers/LayerView to highlight a feature.
157
167
  * The layerView's `highlightOptions` will take precedence over the MapView's `highlightOptions` if both properties are set.
158
168
  */
159
169
  highlightOptions: __esri.HighlightOptions;
160
- /** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
161
- get interacting(): boolean;
162
170
  /**
163
- * Contains indoor positioning system information for the map.
171
+ * Indication whether the view is being interacted with (for example when panning or by an interactive tool).
172
+ *
173
+ * @default false
164
174
  */
175
+ get interacting(): boolean;
176
+ /** Contains indoor positioning system information for the map. */
165
177
  ipsInfo: nullish | __esri.IPSInfo;
166
- /** The ID of a WebMap from ArcGIS Online or ArcGIS Enterprise portal.
178
+ /**
179
+ * The ID of a WebMap from ArcGIS Online or ArcGIS Enterprise portal.
167
180
  *
168
181
  * To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the `arcgis-map` component loads.
169
182
  */
@@ -178,12 +191,30 @@ export declare class ArcgisMap extends LitElement {
178
191
  /** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
179
192
  readonly magnifier: __esri.Magnifier;
180
193
  /** An instance of a esri/Map object to display in the view. */
181
- map: __esri.Map;
182
- /** Indication whether the view is being navigated (for example when panning). */
194
+ map: __esri.Map | nullish;
195
+ /**
196
+ * Indication whether the view is being navigated (for example when panning).
197
+ *
198
+ * @default false
199
+ */
183
200
  get navigating(): boolean;
184
201
  /** Options to configure the navigation behavior of the View. */
185
202
  navigation: __esri.Navigation;
203
+ /**
204
+ * Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#center),
205
+ * and [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent), etc.
206
+ *
207
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#padding)
208
+ *
209
+ * @default {left: 0, top: 0, right: 0, bottom: 0}
210
+ */
186
211
  padding: __esri.ViewPadding;
212
+ /**
213
+ * A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) object that displays general content or attributes from
214
+ * [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#map).
215
+ *
216
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popup)
217
+ */
187
218
  popup: nullish | __esri.Popup;
188
219
  /**
189
220
  * Controls whether the popup opens when users click on the view.
@@ -194,12 +225,16 @@ export declare class ArcgisMap extends LitElement {
194
225
  /**
195
226
  * When `true`, this property indicates whether the view successfully satisfied all dependencies,
196
227
  * signaling that the following conditions are met.
228
+ *
229
+ * @default false
197
230
  */
198
231
  readonly ready: boolean;
199
232
  /**
200
233
  * Defines which anchor stays still while resizing the browser window. The default, `center`,
201
234
  * ensures the view's center point remains constantly visible as the window size changes. The other
202
235
  * options allow the respective portion of the view to remain visible when the window's size is changed.
236
+ *
237
+ * @default "center"
203
238
  */
204
239
  resizeAlign: "center" | "bottom-left" | "bottom-right" | "top-left" | "top-right" | "left" | "right" | "top" | "bottom";
205
240
  /**
@@ -215,6 +250,8 @@ export declare class ArcgisMap extends LitElement {
215
250
  * Map rotation may be disabled by setting the `rotationEnabled` property
216
251
  * in [constraints](#constraints) to `false`. See the code snippet below for
217
252
  * an example of this.
253
+ *
254
+ * @default 0
218
255
  */
219
256
  rotation: number;
220
257
  /**
@@ -227,15 +264,27 @@ export declare class ArcgisMap extends LitElement {
227
264
  * The spatial reference of the view.
228
265
  * This indicates the projected or geographic coordinate system used
229
266
  * to locate geographic features in the map.
267
+ *
268
+ * @default null
230
269
  */
231
270
  spatialReference: __esri.SpatialReference;
232
- /** Indication whether the view is animating, being navigated with or resizing. */
271
+ /**
272
+ * Indication whether the view is animating, being navigated with or resizing.
273
+ *
274
+ * @default false
275
+ */
233
276
  get stationary(): boolean;
234
- /** Indicates if the view is visible on the page. */
277
+ /**
278
+ * Indicates if the view is visible on the page.
279
+ *
280
+ * @default true
281
+ */
235
282
  readonly suspended: boolean;
236
283
  /**
237
284
  * This property specifies the base colors used by some widgets
238
285
  * and components to render graphics and labels.
286
+ *
287
+ * @default null
239
288
  */
240
289
  theme: nullish | __esri.Theme;
241
290
  /**
@@ -243,17 +292,23 @@ export declare class ArcgisMap extends LitElement {
243
292
  * the view's time extent. Setting the view's time extent is similar to setting the spatial
244
293
  * extent because once the time extent is set, the
245
294
  * view updates automatically to conform to the change.
295
+ *
296
+ * @default null
246
297
  */
247
298
  timeExtent: nullish | __esri.TimeExtent;
248
299
  /**
249
300
  * Defines the time zone of the view.
250
301
  * The time zone property determines how dates and times are represented to the user,
251
302
  * but the underlying data is unchanged.
303
+ *
304
+ * @default "system"
252
305
  */
253
306
  timeZone: string;
254
307
  /**
255
308
  * Indicates whether the view is being updated by additional data requests to the network,
256
309
  * or by processing received data.
310
+ *
311
+ * @default false
257
312
  */
258
313
  readonly updating: boolean;
259
314
  /**
@@ -263,6 +318,12 @@ export declare class ArcgisMap extends LitElement {
263
318
  */
264
319
  get viewpoint(): __esri.Viewpoint;
265
320
  set viewpoint(newValue: __esri.Viewpoint);
321
+ /**
322
+ * The visibleArea represents the visible portion of a [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) within the view as
323
+ * an instance of a [Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html).
324
+ *
325
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#visibleArea)
326
+ */
266
327
  readonly visibleArea: nullish | __esri.Polygon;
267
328
  /**
268
329
  * Represents the level of detail (LOD) at the center of the view.
@@ -278,28 +339,32 @@ export declare class ArcgisMap extends LitElement {
278
339
  get zoom(): number;
279
340
  set zoom(newValue: number);
280
341
  /**
281
- * @deprecated **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
342
+ * @deprecated
343
+ * **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
282
344
  *
283
345
  * Adds a layer to the map layers collection.
284
- * */
346
+ */
285
347
  addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
286
348
  /**
287
- * @deprecated **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
349
+ * @deprecated
350
+ * **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
288
351
  *
289
352
  * Adds a layer or array of layers to the map layers collection.
290
- * */
353
+ */
291
354
  addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
292
355
  /**
293
- * @deprecated **Deprecated** since 4.33. Use `element.map.tables.add(table)` instead.
356
+ * @deprecated
357
+ * **Deprecated** since 4.33. Use `element.map.tables.add(table)` instead.
294
358
  *
295
359
  * Adds a table to the map tables collection.
296
- * */
360
+ */
297
361
  addTable(table: __esri.FeatureLayer): Promise<void>;
298
362
  /**
299
- * @deprecated **Deprecated** since 4.33. Use `element.map.tables.addMany([table])` instead.
363
+ * @deprecated
364
+ * **Deprecated** since 4.33. Use `element.map.tables.addMany([table])` instead.
300
365
  *
301
366
  * Adds a table or array of tables to the map tables collection.
302
- * */
367
+ */
303
368
  addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
304
369
  /** Closes the popup. */
305
370
  closePopup(): Promise<void>;
@@ -371,11 +436,7 @@ export declare class ArcgisMap extends LitElement {
371
436
  * This event will also emit if the `map` property is changed.
372
437
  */
373
438
  readonly arcgisViewReadyChange: TargetedEvent<this, void>;
374
- /**
375
- * This WebMap will be created only if user did not provide a map. Otherwise,
376
- * it will be equal to this.view.map
377
- */
378
- private _map;
439
+ private _map: __esri.Map;
379
440
  readonly _setterTypes: {
380
441
  basemap?: __esri.Basemap | nullish | string;
381
442
  center?: __esri.MapView["center"] | Nil | number[] | string;
@@ -8,7 +8,7 @@ import { c as h, i as g } from "../../chunks/component-utils.js";
8
8
  import { css as y } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.111 */
11
+ v4.33.0-next.113 */
12
12
  const u = y`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = r(
13
13
  o,
14
14
  /**
@@ -34,13 +34,6 @@ class b extends l {
34
34
  static {
35
35
  this.styles = u;
36
36
  }
37
- /**
38
- * Represents the view's center point; when setting the center, you may pass a
39
- * esri/geometry/Point instance or a string representing
40
- * a longitude/latitude pair (`"-100.4593, 36.9014"`).
41
- * Setting the center immediately changes the current view.
42
- * For animating the view, see this component's goTo() method.
43
- */
44
37
  get center() {
45
38
  return this.view.center ?? this._center;
46
39
  }
@@ -48,30 +41,18 @@ class b extends l {
48
41
  const t = h(i, this.ready ? this.view : void 0);
49
42
  t && (this.ready && (this.view.center = t), this._center = t);
50
43
  }
51
- /**
52
- * The extent represents the visible portion of a map within the view as an instance of esri/geometry/Extent.
53
- * Setting the extent immediately changes the view without animation. To animate
54
- * the view, see this component's goTo() method.
55
- * When the view is rotated, the extent does not update to include the newly visible portions of the map.
56
- */
57
44
  get extent() {
58
45
  return this.view.extent ?? this._extent;
59
46
  }
60
47
  set extent(i) {
61
48
  this.view.ready || (this._extent = i), i && !this.extent?.equals(i) && (this.view.extent = i);
62
49
  }
63
- /** Gamepad input specific configuration settings. */
64
50
  get gamepad() {
65
51
  return this.ready ? this.view.input.gamepad : void 0;
66
52
  }
67
- /** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
68
53
  get interacting() {
69
54
  return this.view.interacting;
70
55
  }
71
- /** The ID of a WebMap from ArcGIS Online or ArcGIS Enterprise portal.
72
- *
73
- * To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the `arcgis-map` component loads.
74
- */
75
56
  get itemId() {
76
57
  return this._map.portalItem?.id ?? this._itemId;
77
58
  }
@@ -80,110 +61,57 @@ class b extends l {
80
61
  this.view.map = this._map;
81
62
  }).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new o(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
82
63
  }
83
- /** Indication whether the view is being navigated (for example when panning). */
84
64
  get navigating() {
85
65
  return this.view.navigating;
86
66
  }
87
- /**
88
- * Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
89
- * the view, see this component's goTo() method.
90
- */
91
67
  get scale() {
92
68
  return this.view.scale ?? this._scale;
93
69
  }
94
70
  set scale(i) {
95
71
  this.ready && (this.view.scale = i), this._scale = i;
96
72
  }
97
- /** Indication whether the view is animating, being navigated with or resizing. */
98
73
  get stationary() {
99
74
  return this.view.stationary;
100
75
  }
101
- /**
102
- * Represents the current view as a Viewpoint or point of observation on the view.
103
- * Setting the viewpoint immediately changes the current view. For animating
104
- * the view, see this component's goTo() method.
105
- */
106
76
  get viewpoint() {
107
77
  return this.view.viewpoint ?? this._viewpoint;
108
78
  }
109
79
  set viewpoint(i) {
110
80
  this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
111
81
  }
112
- /**
113
- * Represents the level of detail (LOD) at the center of the view.
114
- * A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a map view.
115
- * Zoom level is a number usually between 0 (global view) and 23 (very detailed view) and is used as a shorthand for predetermined scale values.
116
- * A value of -1 means the view has no LODs.
117
- * When setting the zoom value, the MapView converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
118
- * MapView can display maps with different projections at a full range of scales, and so use the scale property on this component rather than zoom level.
119
- *
120
- * Setting the zoom immediately changes the current view. For animating the view, see this component's goTo() method.
121
- * Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
122
- */
123
82
  get zoom() {
124
83
  return this.view.zoom ?? this._zoom;
125
84
  }
126
85
  set zoom(i) {
127
86
  this.ready && (this.view.zoom = i), this._zoom = i;
128
87
  }
129
- //#endregion
130
- //#region Public Methods
131
- /**
132
- * @deprecated **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
133
- *
134
- * Adds a layer to the map layers collection.
135
- * */
136
88
  async addLayer(i, t) {
137
89
  this.map?.add(i, t);
138
90
  }
139
- /**
140
- * @deprecated **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
141
- *
142
- * Adds a layer or array of layers to the map layers collection.
143
- * */
144
91
  async addLayers(i, t) {
145
92
  this.map?.addMany(i, t);
146
93
  }
147
- /**
148
- * @deprecated **Deprecated** since 4.33. Use `element.map.tables.add(table)` instead.
149
- *
150
- * Adds a table to the map tables collection.
151
- * */
152
94
  async addTable(i) {
153
95
  this.map?.tables.add(i);
154
96
  }
155
- /**
156
- * @deprecated **Deprecated** since 4.33. Use `element.map.tables.addMany([table])` instead.
157
- *
158
- * Adds a table or array of tables to the map tables collection.
159
- * */
160
97
  async addTables(i, t) {
161
98
  this.map?.tables.addMany(i, t);
162
99
  }
163
- /** Closes the popup. */
164
100
  async closePopup() {
165
101
  this.view?.closePopup();
166
102
  }
167
- /** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
168
103
  async destroy() {
169
104
  await this.manager.destroy();
170
105
  }
171
- /** Sets the view to a given target. */
172
106
  async goTo(i, t) {
173
107
  return await this.view?.goTo(i, t);
174
108
  }
175
- /** Returns hit test results from each layer that intersects the specified screen coordinates. */
176
109
  async hitTest(i, t) {
177
110
  return await this.view?.hitTest(i, t);
178
111
  }
179
- /**
180
- * Opens the popup at the given location with content defined either explicitly with content or driven
181
- * from the PopupTemplate of input features.
182
- */
183
112
  async openPopup(i) {
184
113
  await this.view?.openPopup(i);
185
114
  }
186
- /** Create a screenshot of the current view. */
187
115
  async takeScreenshot(i) {
188
116
  return await this.view?.takeScreenshot(i);
189
117
  }
@@ -193,23 +121,15 @@ class b extends l {
193
121
  toScreen(i, t) {
194
122
  return this.view.toScreen(i, t);
195
123
  }
196
- /** Call this method to clear any fatal errors resulting from a lost WebGL context. */
197
124
  async tryFatalErrorRecovery() {
198
125
  this.view?.tryFatalErrorRecovery();
199
126
  }
200
- /** Gets the LayerView created on the view for the given layer. */
201
127
  async whenLayerView(i) {
202
128
  return await this.view?.whenLayerView(i);
203
129
  }
204
- /**
205
- * `viewOnReady()` may be leveraged once an instance of the component is created and ready.
206
- * This method takes two input parameters: a `callback` function and an `errback` function.
207
- */
208
130
  async viewOnReady(i, t) {
209
131
  return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
210
132
  }
211
- //#endregion
212
- //#region Lifecycle
213
133
  load() {
214
134
  const i = this;
215
135
  i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
@@ -222,8 +142,6 @@ class b extends l {
222
142
  s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
223
143
  ]);
224
144
  }
225
- //#endregion
226
- //#region Private Methods
227
145
  _editMapProperties(i) {
228
146
  this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
229
147
  const { basemap: t, ...n } = i;
@@ -29,39 +29,84 @@ declare const useMeasurementWidget: (component: LitElement & Pick<Measurement, n
29
29
  editConstructorProperties(props: __esri.MeasurementProperties | undefined): __esri.MeasurementProperties | Promise<__esri.MeasurementProperties | undefined> | undefined;
30
30
  } | undefined) => Measurement;
31
31
  /**
32
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-measurement/)
33
+ *
32
34
  * @internal
33
35
  */
34
36
  export declare class ArcgisMeasurement extends LitElement {
37
+ /**
38
+ * Specifies the current measurement tool to display.
39
+ *
40
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#activeTool)
41
+ *
42
+ * @default null
43
+ */
35
44
  activeTool: "area" | nullish | "distance" | "direct-line";
45
+ /**
46
+ * The measurement widget that is currently being used.
47
+ *
48
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#activeWidget)
49
+ *
50
+ * @default null
51
+ */
36
52
  readonly activeWidget: nullish | __esri.DistanceMeasurement2D | __esri.DirectLineMeasurement3D | __esri.AreaMeasurement3D | __esri.AreaMeasurement2D;
53
+ /**
54
+ * Unit system (imperial, metric) or specific unit used for displaying the area values.
55
+ *
56
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#areaUnit)
57
+ */
37
58
  areaUnit: __esri.SystemOrAreaUnit;
38
59
  /**
39
60
  * If true, the component will not be destroyed automatically when it is
40
61
  * disconnected from the document. This is useful when you want to move the
41
62
  * component to a different place on the page, or temporarily hide it. If this
42
- * is set, make sure to call the \`destroy\` method when you are done to prevent
43
- * memory leaks.
63
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-measurement/#destroy) method when you are done to
64
+ * prevent memory leaks.
65
+ *
66
+ * @default false
44
67
  */
45
68
  autoDestroyDisabled: boolean;
46
69
  /**
47
- * Icon which represents the component.
48
- * Typically used when the component is controlled by another component (e.g. by the Expand component).
49
- * Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
70
+ * Icon which represents the widget.
71
+ *
72
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#icon)
73
+ *
74
+ * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
75
+ * @default "measure"
50
76
  */
51
77
  icon: string;
52
- /** The component's default label. */
78
+ /**
79
+ * The widget's default label.
80
+ *
81
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#label)
82
+ */
53
83
  label: string;
84
+ /**
85
+ * Unit system (imperial, metric) or specific unit used for displaying the distance values.
86
+ *
87
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#linearUnit)
88
+ */
54
89
  linearUnit: __esri.SystemOrLengthUnit;
90
+ /** @default "bottom-left" */
55
91
  position: __esri.UIPosition;
56
92
  referenceElement: ArcgisReferenceElement | Nil | string;
93
+ /**
94
+ * The ViewModel's state.
95
+ *
96
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement-MeasurementViewModel.html#state)
97
+ *
98
+ * @default "disabled"
99
+ */
57
100
  readonly state: "ready" | "disabled" | "measuring" | "measured";
58
101
  clear(): Promise<void>;
59
- /** Permanently destroy the component */
102
+ /** Permanently destroy the component. */
60
103
  destroy(): Promise<void>;
61
104
  startMeasurement(): Promise<void>;
105
+ /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
62
106
  readonly arcgisPropertyChange: TargetedEvent<this, {
63
107
  name: "state" | "activeTool";
64
108
  }>;
109
+ /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
65
110
  readonly arcgisReady: TargetedEvent<this, undefined>;
66
111
  }
67
112
  export {};