@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
@@ -28,53 +28,162 @@ declare const useTimeSliderWidget: (component: LitElement & Pick<TimeSlider, nev
28
28
  }, options?: {
29
29
  editConstructorProperties(props: __esri.widgetsTimeSliderProperties | undefined): __esri.widgetsTimeSliderProperties | Promise<__esri.widgetsTimeSliderProperties | undefined> | undefined;
30
30
  } | undefined) => TimeSlider;
31
- /** The Time Slider component simplifies visualization of temporal data in your application.
31
+ /**
32
+ * The Time Slider component simplifies visualization of temporal data in your application.
33
+ *
34
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-time-slider/)
32
35
  */
33
36
  export declare class ArcgisTimeSlider extends LitElement {
37
+ /**
38
+ * Defines actions that will appear in a menu when the user clicks the ellipsis button
39
+ * ![timeSlider-actions-menu](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/ellipsis.png) in the widget.
40
+ *
41
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#actions)
42
+ */
34
43
  actions: __esri.Collection<__esri.Action>;
35
44
  /**
36
45
  * If true, the component will not be destroyed automatically when it is
37
46
  * disconnected from the document. This is useful when you want to move the
38
47
  * component to a different place on the page, or temporarily hide it. If this
39
- * is set, make sure to call the \`destroy\` method when you are done to prevent
40
- * memory leaks.
48
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-time-slider/#destroy) method when you are done to
49
+ * prevent memory leaks.
50
+ *
51
+ * @default false
41
52
  */
42
53
  autoDestroyDisabled: boolean;
54
+ /**
55
+ * When `true`, sets the widget to a disabled state so the user cannot interact with it.
56
+ *
57
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#disabled)
58
+ *
59
+ * @default false
60
+ */
43
61
  disabled: boolean;
62
+ /**
63
+ * Lists the specific locations on the timeline where handle(s) will snap to when manipulated.
64
+ *
65
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#effectiveStops)
66
+ *
67
+ * @default null
68
+ */
44
69
  readonly effectiveStops: nullish | Date[];
70
+ /**
71
+ * The temporal extent of the entire slider.
72
+ *
73
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#fullTimeExtent)
74
+ */
45
75
  fullTimeExtent: nullish | __esri.TimeExtent;
46
76
  /**
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.
77
+ * Icon which represents the widget.
78
+ *
79
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#icon)
80
+ *
81
+ * @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
82
+ * @default "clock"
50
83
  */
51
84
  icon: string;
52
- /** The component's default label. */
85
+ /**
86
+ * The widget's default label.
87
+ *
88
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#label)
89
+ */
53
90
  label: string;
91
+ /**
92
+ * Determines the layout used by the TimeSlider widget.
93
+ *
94
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#layout)
95
+ *
96
+ * @default "auto"
97
+ */
54
98
  layout: "auto" | "compact" | "wide";
99
+ /**
100
+ * When `true`, the time slider will play its animation in a loop.
101
+ *
102
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#loop)
103
+ *
104
+ * @default false
105
+ */
55
106
  loop: boolean;
107
+ /**
108
+ * The time slider mode.
109
+ *
110
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#mode)
111
+ *
112
+ * @default "time-window"
113
+ */
56
114
  mode: "instant" | "time-window" | "cumulative-from-start" | "cumulative-from-end";
115
+ /**
116
+ * The time (in milliseconds) between animation steps.
117
+ *
118
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#playRate)
119
+ *
120
+ * @default 1000
121
+ */
57
122
  playRate: number;
123
+ /** @default "bottom-left" */
58
124
  position: __esri.UIPosition;
59
125
  referenceElement: ArcgisReferenceElement | Nil | string;
126
+ /**
127
+ * The view model's state.
128
+ *
129
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-TimeSliderViewModel.html#state)
130
+ *
131
+ * @default "disabled"
132
+ */
60
133
  readonly state: "ready" | "disabled" | "playing";
134
+ /**
135
+ * Defines specific locations on the time slider where thumbs will snap to when manipulated.
136
+ *
137
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops)
138
+ *
139
+ * @default { count : 10 }
140
+ */
61
141
  stops: nullish | __esri.StopsByDates | __esri.StopsByCount | __esri.StopsByInterval;
142
+ /**
143
+ * When set, overrides the default TimeSlider ticks labelling system.
144
+ *
145
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#tickConfigs)
146
+ *
147
+ * @default null
148
+ */
62
149
  tickConfigs: nullish | __esri.TickConfig[];
150
+ /**
151
+ * The current time extent of the time slider.
152
+ *
153
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent)
154
+ *
155
+ * @default null
156
+ */
63
157
  timeExtent: nullish | __esri.TimeExtent;
158
+ /**
159
+ * Shows/hides time in the display.
160
+ *
161
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeVisible)
162
+ *
163
+ * @default false
164
+ */
64
165
  timeVisible: boolean;
166
+ /**
167
+ * Dates and times displayed in the widget will be displayed in this time zone.
168
+ *
169
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeZone)
170
+ */
65
171
  timeZone: string;
66
172
  applyTimeSliderSettings(settings: Pick<__esri.TimeSliderProperties, "fullTimeExtent" | "loop" | "stops">): Promise<void>;
67
- /** Permanently destroy the component */
173
+ /** Permanently destroy the component. */
68
174
  destroy(): Promise<void>;
69
175
  next(): Promise<void>;
70
176
  play(): Promise<void>;
71
177
  previous(): Promise<void>;
72
178
  stop(): Promise<void>;
73
179
  updateWebDocument(webmap: __esri.WebMap): Promise<void>;
180
+ /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
74
181
  readonly arcgisPropertyChange: TargetedEvent<this, {
75
182
  name: "state" | "timeExtent" | "effectiveStops" | "fullTimeExtent";
76
183
  }>;
184
+ /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
77
185
  readonly arcgisReady: TargetedEvent<this, undefined>;
186
+ /** Emitted when an action is triggered on the component. */
78
187
  readonly arcgisTriggerAction: TargetedEvent<this, __esri.TimeSliderTriggerActionEvent>;
79
188
  }
80
189
  export {};
@@ -7,7 +7,7 @@ import { m as r } from "../../chunks/useWidget.js";
7
7
  import { css as d } from "@lit/reactive-element/css-tag.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.111 */
10
+ v4.33.0-next.113 */
11
11
  const n = d`@layer{arcgis-time-slider{display:block}}`, m = r(o);
12
12
  class c extends a {
13
13
  constructor() {
@@ -22,12 +22,9 @@ class c extends a {
22
22
  static {
23
23
  this.styles = n;
24
24
  }
25
- //#endregion
26
- //#region Public Methods
27
25
  async applyTimeSliderSettings(t) {
28
26
  Object.assign(this, t);
29
27
  }
30
- /** Permanently destroy the component */
31
28
  async destroy() {
32
29
  await this.manager.destroy();
33
30
  }
@@ -16,16 +16,24 @@ type State = "disabled" | "ready";
16
16
  *
17
17
  * When expanding, the component will lengthen inwards when [positioned](#position) within a Map.
18
18
  * This behavior can be overridden by setting the [expandDirection](#expandDirection) property to either `"start"` or `"end"`.
19
+ *
20
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-time-zone-label/)
19
21
  */
20
22
  export declare class ArcgisTimeZoneLabel extends LitElement {
21
23
  /**
22
24
  * The state of the component.
23
- * @readonly
25
+ *
26
+ * @default "disabled"
24
27
  */
25
28
  readonly state: State;
26
29
  referenceElement: ArcgisReferenceElement | Nil | string;
30
+ /** @default "top-left" */
27
31
  position: __esri.UIPosition;
28
- /** When `true`, sets the component to a disabled state so the user cannot interact with it. */
32
+ /**
33
+ * When `true`, sets the component to a disabled state so the user cannot interact with it.
34
+ *
35
+ * @default false
36
+ */
29
37
  disabled: boolean;
30
38
  /**
31
39
  * The direction the component will expand.
@@ -35,7 +43,11 @@ export declare class ArcgisTimeZoneLabel extends LitElement {
35
43
  */
36
44
  get expandDirection(): ExpandDirection;
37
45
  set expandDirection(value: ExpandDirection | Nil);
38
- /** The expanded state of the component. */
46
+ /**
47
+ * The expanded state of the component.
48
+ *
49
+ * @default false
50
+ */
39
51
  expanded: boolean;
40
52
  /**
41
53
  * Icon which represents the component. It is typically used when the
@@ -43,17 +55,26 @@ export declare class ArcgisTimeZoneLabel extends LitElement {
43
55
  * component).
44
56
  *
45
57
  * @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
58
+ * @default "time-zone"
46
59
  */
47
60
  icon: HTMLCalciteIconElement["icon"] | Nil;
48
61
  /** Overwrite localized strings for this component */
49
62
  messageOverrides?: typeof this._messages._overrides;
50
63
  /** The component's default label. */
51
64
  label: Nil | string;
65
+ /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
52
66
  readonly arcgisPropertyChange: TargetedEvent<this, {
53
67
  name: "state";
54
68
  }>;
69
+ /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
55
70
  readonly arcgisReady: TargetedEvent<this, undefined>;
56
- private _messages;
71
+ private _messages: {
72
+ componentLabel: string;
73
+ noAdjustment: string;
74
+ } & import('@arcgis/lumina/controllers').T9nMeta<{
75
+ componentLabel: string;
76
+ noAdjustment: string;
77
+ }>;
57
78
  readonly _setterTypes: {
58
79
  expandDirection?: ExpandDirection | Nil;
59
80
  };
@@ -3,15 +3,14 @@ import { html as s } from "lit-html";
3
3
  import { useDirection as p, usePropertyChange as _ } from "@arcgis/lumina/controllers";
4
4
  import { classes as c } from "@arcgis/components-utils";
5
5
  import { LitElement as g, createEvent as u, noShadowRoot as v, nothing as d, safeClassMap as n } from "@arcgis/lumina";
6
- import { u as x } from "../../chunks/useT9n.js";
6
+ import { u as x, a as f } from "../../chunks/useView.js";
7
7
  import { g as m } from "../../chunks/globalCss.js";
8
- import { css as f } from "@lit/reactive-element/css-tag.js";
9
- import { u as $ } from "../../chunks/useView.js";
8
+ import { css as $ } from "@lit/reactive-element/css-tag.js";
10
9
  import { when as y, watch as z } from "@arcgis/core/core/reactiveUtils.js";
11
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
11
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
13
- v4.33.0-next.111 */
14
- const D = f`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`, t = "esri-time-zone-label", i = {
12
+ v4.33.0-next.113 */
13
+ const D = $`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`, t = "esri-time-zone-label", i = {
15
14
  base: t,
16
15
  badge: `${t}__badge`,
17
16
  badgeDisabled: `${t}__badge--disabled`,
@@ -28,7 +27,7 @@ class w extends g {
28
27
  constructor() {
29
28
  super(...arguments), this._messages = x({ blocking: !0 }), this._onExpanderClick = () => {
30
29
  this.expanded = !this.expanded;
31
- }, this.view = $(this), this._direction = p(), this._expandDirection = null, this._timeZone = null, this.state = "disabled", this.position = "top-left", this.disabled = !1, this.expanded = !1, this.icon = "time-zone", this.arcgisPropertyChange = _()("state"), this.arcgisReady = u();
30
+ }, this.view = f(this), this._direction = p(), this._expandDirection = null, this._timeZone = null, this.state = "disabled", this.position = "top-left", this.disabled = !1, this.expanded = !1, this.icon = "time-zone", this.arcgisPropertyChange = _()("state"), this.arcgisReady = u();
32
31
  }
33
32
  static {
34
33
  this.properties = { _interactive: 16, _direction: 16, _expandDirection: 16, _timeZone: 16, state: 3, referenceElement: 1, position: 3, disabled: 7, expandDirection: 3, expanded: 7, icon: 3, messageOverrides: 0, label: 1 };
@@ -39,28 +38,15 @@ class w extends g {
39
38
  static {
40
39
  this.shadowRootOptions = v;
41
40
  }
42
- //#endregion
43
- //#region State Properties
44
- /** Convenience property to determine if the component is interactive. */
45
41
  get _interactive() {
46
42
  return !(this.disabled || this.state === "disabled");
47
43
  }
48
- /**
49
- * The direction the component will expand.
50
- *
51
- * By default, the component will expand inward if assigned to a View UI corner. If the component is positioned manually,
52
- * the component will expand towards the "end" which is equivalent to right in a LTR application.
53
- */
54
44
  get expandDirection() {
55
45
  return this._expandDirection ?? this._computeExpandDirection();
56
46
  }
57
47
  set expandDirection(e) {
58
48
  this._expandDirection = e;
59
49
  }
60
- //#endregion
61
- //#region Lifecycle
62
- // The following method is a temporary fix for a reactive issue.
63
- // When corrected, remove this method and add a getter for `state` instead.
64
50
  loaded() {
65
51
  this.state = this.view?.ready ? "ready" : "disabled", this.manager.onLifecycle(() => [
66
52
  y(() => this.view?.ready, (e) => {
@@ -71,8 +57,6 @@ class w extends g {
71
57
  })
72
58
  ]);
73
59
  }
74
- //#endregion
75
- //#region Private Methods
76
60
  _computeExpandDirection() {
77
61
  if (!this.referenceElement)
78
62
  return "end";
@@ -95,8 +79,6 @@ class w extends g {
95
79
  const { expanded: e, expandDirection: a } = this;
96
80
  return e ? this._direction === "rtl" ? a === "start" ? "chevrons-left" : "chevrons-right" : a === "start" ? "chevrons-right" : "chevrons-left" : "time-zone";
97
81
  }
98
- //#endregion
99
- //#region Rendering
100
82
  render() {
101
83
  const e = c(i.base, m.widget, !this._interactive && m.disabled), a = this._renderExpander(), o = this._renderName(), r = this._renderBadge(), l = [a, o, r];
102
84
  return this.expandDirection === "start" && l.reverse(), s`<div aria-label=${this.label ?? d} class=${n(e)}>${l}</div>`;
@@ -17,47 +17,122 @@ declare const useTrackViewModel: (component: LitElement & Pick<TrackViewModel, n
17
17
  * **Known Limitations**
18
18
  *
19
19
  * - The heading symbol is not currently supported within an `arcgis-scene` component.
20
+ *
21
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-track/)
20
22
  */
21
23
  export declare class ArcgisTrack extends LitElement {
22
24
  /**
23
- * If true, the component will not be destroyed automatically when
24
- * it is disconnected from the document. This is useful when you
25
- * want to move the component to a different place on the page, or
26
- * temporary hide it. If this is set, make sure to call the
27
- * \`destroy\` method when you are done to prevent memory leaks.
25
+ * If true, the component will not be destroyed automatically when it is
26
+ * disconnected from the document. This is useful when you want to move the
27
+ * component to a different place on the page, or temporarily hide it. If this
28
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-track/#destroy) method when you are done to
29
+ * prevent memory leaks.
30
+ *
31
+ * @default false
28
32
  */
29
33
  autoDestroyDisabled: boolean;
34
+ /**
35
+ * Error that caused the last [track-error](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#event:track-error) event to fire.
36
+ *
37
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#error)
38
+ *
39
+ * @default null
40
+ */
30
41
  error: any;
42
+ /**
43
+ * An object used for setting optional position parameters.
44
+ *
45
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#geolocationOptions)
46
+ *
47
+ * @default null
48
+ */
31
49
  geolocationOptions: any;
50
+ /**
51
+ * This function provides the ability to override either the
52
+ * [MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or
53
+ * [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
54
+ *
55
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#goToOverride)
56
+ */
32
57
  goToOverride: nullish | __esri.GoToOverride;
33
- /** @default false */
58
+ /**
59
+ * Indicates whether to navigate the view to the position and scale of the geolocated result.
60
+ *
61
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#goToLocationEnabled)
62
+ *
63
+ * @default false
64
+ */
34
65
  goToLocationDisabled: boolean;
66
+ /**
67
+ * The graphic used to show the user's location on the map.
68
+ *
69
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#graphic)
70
+ */
35
71
  graphic: __esri.Graphic;
72
+ /** @default "compass-north-circle" */
36
73
  icon: Nil | string;
37
74
  /** The component's default label. */
38
75
  label: Nil | string;
39
76
  /** Replace localized message strings with your own strings. */
40
77
  messageOverrides?: typeof this.messages._overrides;
78
+ /** @default "top-left" */
41
79
  position: __esri.UIPosition;
80
+ /**
81
+ * A function that is used as an expression to evaluate geolocation points, and returns a boolean
82
+ * value.
83
+ *
84
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#positionFilterFunction)
85
+ *
86
+ * @default null
87
+ */
42
88
  positionFilterFunction: Function | nullish;
43
89
  referenceElement: ArcgisReferenceElement | Nil | string;
44
- /** @default false */
90
+ /**
91
+ * Indicates whether the component will automatically rotate to the device heading based on
92
+ * the Geolocation APIs [`GeolocationCoordinates.heading`](https://developer.mozilla.org/en-US/docs/Web/API/GeolocationCoordinates/heading)
93
+ * property.
94
+ *
95
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#rotationEnabled)
96
+ *
97
+ * @default false
98
+ */
45
99
  rotationDisabled: boolean;
100
+ /**
101
+ * Indicates the scale to set on the view when navigating to the position of the geolocated
102
+ * result, after a location is returned from the [track](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#event-track) event.
103
+ *
104
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#scale)
105
+ *
106
+ * @default null
107
+ */
46
108
  scale: number | nullish;
47
109
  /**
48
- * The current state of the component.
110
+ * The current state of the widget.
111
+ *
112
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#state)
113
+ *
114
+ * @default "disabled"
49
115
  */
50
116
  readonly state: "ready" | "disabled" | "error" | "tracking" | "waiting" | "feature-unsupported";
117
+ /**
118
+ * Indicates whether new positions are being watched.
119
+ *
120
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html#tracking)
121
+ *
122
+ * @default false
123
+ */
51
124
  readonly tracking: boolean;
52
- /** Permanently destroy the component */
125
+ /** Permanently destroy the component. */
53
126
  destroy(): Promise<void>;
54
127
  start(): Promise<void>;
55
128
  stop(): Promise<void>;
56
129
  readonly arcgisComplete: TargetedEvent<this, __esri.TrackViewModelTrackEvent>;
57
130
  readonly arcgisError: TargetedEvent<this, __esri.TrackViewModelTrackErrorEvent>;
131
+ /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
58
132
  readonly arcgisPropertyChange: TargetedEvent<this, {
59
133
  name: "state";
60
134
  }>;
135
+ /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
61
136
  readonly arcgisReady: TargetedEvent<this, undefined>;
62
137
  private messages: Partial<{
63
138
  componentLabel: string;
@@ -5,13 +5,13 @@ import { reEmitEvent as a } from "@arcgis/lumina/controllers/accessor";
5
5
  import { classes as u } from "@arcgis/components-utils";
6
6
  import v from "@arcgis/core/widgets/Track/TrackViewModel.js";
7
7
  import { LitElement as w, createEvent as f, noShadowRoot as M, safeClassMap as n, nothing as k } from "@arcgis/lumina";
8
- import { u as E } from "../../chunks/useT9n.js";
8
+ import { u as E } from "../../chunks/useView.js";
9
9
  import { m as b } from "../../chunks/useViewModel.js";
10
10
  import { g as c } from "../../chunks/globalCss.js";
11
11
  import { css as T } from "@lit/reactive-element/css-tag.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
14
- v4.33.0-next.111 */
14
+ v4.33.0-next.113 */
15
15
  const y = T`@layer{arcgis-track{display:block}}`, $ = {
16
16
  base: "esri-track"
17
17
  }, D = b(v);
@@ -20,7 +20,7 @@ class O extends w {
20
20
  super(...arguments), this.messages = E(), this.viewModel = D(this), this.autoDestroyDisabled = !1, this.error = this.viewModel.error, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToOverride = this.viewModel.goToOverride, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.graphic = this.viewModel.graphic, this.icon = "compass-north-circle", this.position = "top-left", this.positionFilterFunction = this.viewModel.positionFilterFunction, this.rotationDisabled = this.viewModel.rotationEnabled, this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.tracking = this.viewModel.tracking, this.arcgisComplete = a(() => this.viewModel, "track"), this.arcgisError = a(() => this.viewModel, "track-error"), this.arcgisPropertyChange = m()("state"), this.arcgisReady = f();
21
21
  }
22
22
  static {
23
- this.properties = { autoDestroyDisabled: 5, error: 1, geolocationOptions: 1, goToOverride: 0, goToLocationDisabled: 7, graphic: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, positionFilterFunction: 0, referenceElement: 1, rotationDisabled: 5, scale: 9, state: 0, tracking: 4 };
23
+ this.properties = { autoDestroyDisabled: 5, error: 1, geolocationOptions: 1, goToOverride: 0, goToLocationDisabled: 7, graphic: 0, icon: 1, label: 1, messageOverrides: 0, position: 3, positionFilterFunction: 0, referenceElement: 1, rotationDisabled: 5, scale: 9, state: 3, tracking: 4 };
24
24
  }
25
25
  static {
26
26
  this.shadowRootOptions = M;
@@ -28,9 +28,6 @@ class O extends w {
28
28
  static {
29
29
  this.styles = y;
30
30
  }
31
- //#endregion
32
- //#region Public Methods
33
- /** Permanently destroy the component */
34
31
  async destroy() {
35
32
  await this.manager.destroy();
36
33
  }
@@ -40,8 +37,6 @@ class O extends w {
40
37
  async stop() {
41
38
  this.viewModel.stop();
42
39
  }
43
- //#endregion
44
- //#region Private Methods
45
40
  _localizeError(t) {
46
41
  if (t instanceof GeolocationPositionError)
47
42
  return t.code === GeolocationPositionError.PERMISSION_DENIED ? this.messages?.permissionError : t.code === GeolocationPositionError.TIMEOUT ? this.messages?.timeoutError : this.messages?.positionUnavailable;
@@ -60,8 +55,6 @@ class O extends w {
60
55
  this.viewModel.start();
61
56
  }
62
57
  }
63
- //#endregion
64
- //#region Rendering
65
58
  render() {
66
59
  const { viewModel: t, messages: o, icon: l } = this, i = t?.state, d = i === "tracking", s = this._localizeError(this.viewModel?.error), r = (d ? o?.stopTracking : o?.startTracking) ?? "", h = i === "feature-unsupported", g = (i === "tracking" ? "pause" : void 0) ?? l ?? void 0;
67
60
  return e`<div class=${n(u($.base, c.widget))}>${!h && e`<calcite-button class=${n(c.widgetButton)} .disabled=${i === "disabled"} .iconStart=${g} kind=neutral .label=${r} .loading=${i === "waiting"} @click=${this._toggleTracking} title=${r ?? k}></calcite-button>` || ""}${s ? e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${s}</calcite-tooltip>` : null}</div>`;