@arcgis/map-components 4.32.0-next.85 → 4.32.0-next.88

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 (274) hide show
  1. package/dist/arcgis-map-components/3577APUZ.js +4 -0
  2. package/dist/arcgis-map-components/3DL27QZW.js +4 -0
  3. package/dist/arcgis-map-components/3MEU7B7Y.js +4 -0
  4. package/dist/arcgis-map-components/3X5AYNOM.js +4 -0
  5. package/dist/arcgis-map-components/4L7FLT2D.js +4 -0
  6. package/dist/arcgis-map-components/4TXYBQNO.js +4 -0
  7. package/dist/arcgis-map-components/52PI4GNZ.js +4 -0
  8. package/dist/arcgis-map-components/5CLL3KLZ.js +4 -0
  9. package/dist/arcgis-map-components/5MDOFYJ5.js +4 -0
  10. package/dist/arcgis-map-components/5ME5UGYB.js +4 -0
  11. package/dist/arcgis-map-components/634RHQXB.js +4 -0
  12. package/dist/arcgis-map-components/6LUJE54O.js +4 -0
  13. package/dist/arcgis-map-components/{HW7Z4CZB.js → 6QYZTRCR.js} +1 -1
  14. package/dist/arcgis-map-components/75JC4FOA.js +4 -0
  15. package/dist/arcgis-map-components/7DIZ4ZQF.js +4 -0
  16. package/dist/arcgis-map-components/7JH5N2Z4.js +4 -0
  17. package/dist/arcgis-map-components/AKAZWNFN.js +4 -0
  18. package/dist/arcgis-map-components/ANMDMRT6.js +4 -0
  19. package/dist/arcgis-map-components/ARAAAHQV.js +4 -0
  20. package/dist/arcgis-map-components/{DBPKJOYW.js → ARYREPG3.js} +1 -1
  21. package/dist/arcgis-map-components/{VHE6RZA2.js → AZIVIOUI.js} +2 -2
  22. package/dist/arcgis-map-components/B2YPOJTB.js +4 -0
  23. package/dist/arcgis-map-components/BQJNTFP2.js +4 -0
  24. package/dist/arcgis-map-components/C2U3XZFG.js +4 -0
  25. package/dist/arcgis-map-components/D7EQNFBC.js +4 -0
  26. package/dist/arcgis-map-components/DTFTBCRQ.js +4 -0
  27. package/dist/arcgis-map-components/ESAK72A6.js +4 -0
  28. package/dist/arcgis-map-components/F6JMRH7D.js +4 -0
  29. package/dist/arcgis-map-components/FDUTHDCI.js +4 -0
  30. package/dist/arcgis-map-components/HTT4KQQN.js +4 -0
  31. package/dist/arcgis-map-components/HWIWVCAD.js +4 -0
  32. package/dist/arcgis-map-components/HWQZOTBV.js +4 -0
  33. package/dist/arcgis-map-components/IKR6XIOI.js +4 -0
  34. package/dist/arcgis-map-components/J4HMJHED.js +4 -0
  35. package/dist/arcgis-map-components/JKA5ICCI.js +4 -0
  36. package/dist/arcgis-map-components/KCUKOSJ4.js +4 -0
  37. package/dist/arcgis-map-components/KD6RA2AT.js +4 -0
  38. package/dist/arcgis-map-components/LLDA6O2O.js +4 -0
  39. package/dist/arcgis-map-components/MH6F3GX3.js +4 -0
  40. package/dist/arcgis-map-components/{ERS4HX5J.js → MIWOTQVJ.js} +1 -1
  41. package/dist/arcgis-map-components/{MDHKEFLL.js → MRK3TYGR.js} +4 -4
  42. package/dist/arcgis-map-components/MRZIS6VP.js +4 -0
  43. package/dist/arcgis-map-components/MYSTZ72O.js +4 -0
  44. package/dist/arcgis-map-components/NBEYX2WQ.js +4 -0
  45. package/dist/arcgis-map-components/{WZV3Y366.js → NOSLMKCR.js} +2 -2
  46. package/dist/arcgis-map-components/NS7AFHW7.js +4 -0
  47. package/dist/arcgis-map-components/{564KMD2H.js → NSIEQOMU.js} +2 -2
  48. package/dist/arcgis-map-components/{FHOJWHL5.js → NVAEPG23.js} +2 -2
  49. package/dist/arcgis-map-components/OLPXZA6L.js +4 -0
  50. package/dist/arcgis-map-components/OVZUD7TM.js +4 -0
  51. package/dist/arcgis-map-components/{LMOFB4IY.js → P44CMUQU.js} +2 -2
  52. package/dist/arcgis-map-components/QB7LWCYY.js +4 -0
  53. package/dist/arcgis-map-components/QQPIYHFQ.js +4 -0
  54. package/dist/arcgis-map-components/QV6KVTEC.js +4 -0
  55. package/dist/arcgis-map-components/RGZX5TZG.js +4 -0
  56. package/dist/arcgis-map-components/{Z6JJJVA2.js → RM37L5XX.js} +2 -2
  57. package/dist/arcgis-map-components/RO37UZGN.js +4 -0
  58. package/dist/arcgis-map-components/SEGZL4JX.js +4 -0
  59. package/dist/arcgis-map-components/SVQZHKIH.js +4 -0
  60. package/dist/arcgis-map-components/TGU4DNKS.js +4 -0
  61. package/dist/arcgis-map-components/TX5S76AE.js +4 -0
  62. package/dist/arcgis-map-components/UAC5G3QY.js +4 -0
  63. package/dist/arcgis-map-components/UHGOOASX.js +4 -0
  64. package/dist/arcgis-map-components/URSAFWHZ.js +4 -0
  65. package/dist/arcgis-map-components/VKEL67GU.js +4 -0
  66. package/dist/arcgis-map-components/W2XVFUNW.js +4 -0
  67. package/dist/arcgis-map-components/WVDHWJMU.js +4 -0
  68. package/dist/arcgis-map-components/X6EW4NUK.js +4 -0
  69. package/dist/arcgis-map-components/YV5MVH6W.js +4 -0
  70. package/dist/arcgis-map-components/YYZTWFQX.js +4 -0
  71. package/dist/arcgis-map-components/{4GMWGCYP.js → ZVH6KCO6.js} +2 -2
  72. package/dist/arcgis-map-components/ZZL7HBWM.js +4 -0
  73. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  74. package/dist/chunks/basemap-gallery-item.js +1 -1
  75. package/dist/chunks/component-utils.js +1 -1
  76. package/dist/chunks/disconnected.js +1 -1
  77. package/dist/chunks/globalCss.js +1 -1
  78. package/dist/chunks/legacyIcon.js +1 -1
  79. package/dist/chunks/runtime.js +1 -1
  80. package/dist/chunks/useViewModel.js +1 -1
  81. package/dist/chunks/useWidget.js +1 -1
  82. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -3
  83. package/dist/components/arcgis-area-measurement-2d/customElement.js +10 -10
  84. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -4
  85. package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
  86. package/dist/components/arcgis-attachments/customElement.d.ts +5 -4
  87. package/dist/components/arcgis-attachments/customElement.js +9 -9
  88. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
  89. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -3
  90. package/dist/components/arcgis-basemap-gallery/customElement.js +37 -36
  91. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -4
  92. package/dist/components/arcgis-basemap-layer-list/customElement.js +6 -6
  93. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +7 -6
  94. package/dist/components/arcgis-basemap-toggle/customElement.js +18 -17
  95. package/dist/components/arcgis-bookmarks/customElement.d.ts +5 -4
  96. package/dist/components/arcgis-bookmarks/customElement.js +9 -9
  97. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -4
  98. package/dist/components/arcgis-building-explorer/customElement.js +9 -9
  99. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -4
  100. package/dist/components/arcgis-catalog-layer-list/customElement.js +6 -6
  101. package/dist/components/arcgis-compass/customElement.d.ts +4 -3
  102. package/dist/components/arcgis-compass/customElement.js +10 -10
  103. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -5
  104. package/dist/components/arcgis-coordinate-conversion/customElement.js +9 -9
  105. package/dist/components/arcgis-daylight/customElement.d.ts +5 -4
  106. package/dist/components/arcgis-daylight/customElement.js +8 -8
  107. package/dist/components/arcgis-directional-pad/customElement.d.ts +28 -5
  108. package/dist/components/arcgis-directional-pad/customElement.js +37 -36
  109. package/dist/components/arcgis-directions/customElement.d.ts +7 -5
  110. package/dist/components/arcgis-directions/customElement.js +28 -31
  111. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +5 -4
  112. package/dist/components/arcgis-directline-measurement-3d/customElement.js +9 -9
  113. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -4
  114. package/dist/components/arcgis-distance-measurement-2d/customElement.js +9 -9
  115. package/dist/components/arcgis-editor/customElement.d.ts +5 -4
  116. package/dist/components/arcgis-editor/customElement.js +9 -9
  117. package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -11
  118. package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
  119. package/dist/components/arcgis-expand/customElement.d.ts +5 -4
  120. package/dist/components/arcgis-expand/customElement.js +9 -9
  121. package/dist/components/arcgis-feature/customElement.d.ts +7 -14
  122. package/dist/components/arcgis-feature/customElement.js +8 -8
  123. package/dist/components/arcgis-feature-form/customElement.d.ts +6 -5
  124. package/dist/components/arcgis-feature-form/customElement.js +9 -9
  125. package/dist/components/arcgis-feature-table/customElement.d.ts +10 -9
  126. package/dist/components/arcgis-feature-table/customElement.js +17 -16
  127. package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -4
  128. package/dist/components/arcgis-feature-templates/customElement.js +10 -10
  129. package/dist/components/arcgis-features/customElement.d.ts +5 -4
  130. package/dist/components/arcgis-features/customElement.js +6 -6
  131. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
  132. package/dist/components/arcgis-floor-filter/customElement.js +10 -10
  133. package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -3
  134. package/dist/components/arcgis-fullscreen/customElement.js +11 -11
  135. package/dist/components/arcgis-histogram/customElement.d.ts +5 -4
  136. package/dist/components/arcgis-histogram/customElement.js +9 -9
  137. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -4
  138. package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
  139. package/dist/components/arcgis-home/customElement.d.ts +6 -5
  140. package/dist/components/arcgis-home/customElement.js +12 -12
  141. package/dist/components/arcgis-layer-list/customElement.d.ts +5 -4
  142. package/dist/components/arcgis-layer-list/customElement.js +10 -10
  143. package/dist/components/arcgis-legend/customElement.d.ts +5 -4
  144. package/dist/components/arcgis-legend/customElement.js +9 -9
  145. package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -4
  146. package/dist/components/arcgis-line-of-sight/customElement.js +9 -9
  147. package/dist/components/arcgis-link-chart/customElement.d.ts +11 -9
  148. package/dist/components/arcgis-link-chart/customElement.js +27 -27
  149. package/dist/components/arcgis-locate/customElement.d.ts +5 -4
  150. package/dist/components/arcgis-locate/customElement.js +15 -15
  151. package/dist/components/arcgis-map/customElement.d.ts +10 -8
  152. package/dist/components/arcgis-map/customElement.js +27 -27
  153. package/dist/components/arcgis-measurement/customElement.d.ts +5 -4
  154. package/dist/components/arcgis-measurement/customElement.js +9 -9
  155. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +5 -4
  156. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -9
  157. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +7 -6
  158. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +16 -17
  159. package/dist/components/arcgis-placement/customElement.js +1 -1
  160. package/dist/components/arcgis-print/customElement.d.ts +5 -4
  161. package/dist/components/arcgis-print/customElement.js +9 -9
  162. package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -5
  163. package/dist/components/arcgis-scale-bar/customElement.js +39 -38
  164. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
  165. package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
  166. package/dist/components/arcgis-scene/customElement.d.ts +10 -8
  167. package/dist/components/arcgis-scene/customElement.js +25 -25
  168. package/dist/components/arcgis-search/customElement.d.ts +5 -4
  169. package/dist/components/arcgis-search/customElement.js +8 -8
  170. package/dist/components/arcgis-shadow-cast/customElement.d.ts +5 -4
  171. package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
  172. package/dist/components/arcgis-sketch/customElement.d.ts +7 -5
  173. package/dist/components/arcgis-sketch/customElement.js +11 -12
  174. package/dist/components/arcgis-slice/customElement.d.ts +5 -4
  175. package/dist/components/arcgis-slice/customElement.js +9 -9
  176. package/dist/components/arcgis-slider/customElement.d.ts +5 -4
  177. package/dist/components/arcgis-slider/customElement.js +9 -9
  178. package/dist/components/arcgis-swipe/customElement.d.ts +5 -4
  179. package/dist/components/arcgis-swipe/customElement.js +17 -17
  180. package/dist/components/arcgis-table-list/customElement.d.ts +15 -12
  181. package/dist/components/arcgis-table-list/customElement.js +6 -6
  182. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -4
  183. package/dist/components/arcgis-time-slider/customElement.js +9 -9
  184. package/dist/components/arcgis-track/customElement.d.ts +5 -4
  185. package/dist/components/arcgis-track/customElement.js +15 -15
  186. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +6 -6
  187. package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
  188. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  189. package/dist/components/arcgis-utility-network-trace/customElement.js +7 -7
  190. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
  191. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +8 -8
  192. package/dist/components/arcgis-value-picker/customElement.d.ts +5 -4
  193. package/dist/components/arcgis-value-picker/customElement.js +9 -9
  194. package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
  195. package/dist/components/arcgis-version-management/customElement.js +96 -97
  196. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  197. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  198. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  199. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  200. package/dist/components/arcgis-weather/customElement.d.ts +5 -4
  201. package/dist/components/arcgis-weather/customElement.js +9 -9
  202. package/dist/components/arcgis-zoom/customElement.d.ts +4 -3
  203. package/dist/components/arcgis-zoom/customElement.js +8 -8
  204. package/dist/controllers/useViewModel.d.ts +1 -1
  205. package/dist/controllers/useWidget.d.ts +2 -2
  206. package/dist/docs/api.json +304 -305
  207. package/dist/docs/docs.json +172 -172
  208. package/dist/docs/vscode.html-custom-data.json +133 -133
  209. package/dist/docs/web-types.json +303 -304
  210. package/dist/index.js +1 -1
  211. package/dist/loader.js +1 -1
  212. package/package.json +4 -5
  213. package/dist/arcgis-map-components/2TNEAZAF.js +0 -4
  214. package/dist/arcgis-map-components/32WNMGSE.js +0 -4
  215. package/dist/arcgis-map-components/35HPYV25.js +0 -4
  216. package/dist/arcgis-map-components/3LZI4V7A.js +0 -4
  217. package/dist/arcgis-map-components/44SXKBON.js +0 -4
  218. package/dist/arcgis-map-components/4OPF2YIS.js +0 -4
  219. package/dist/arcgis-map-components/5TMK2FY7.js +0 -4
  220. package/dist/arcgis-map-components/6ADYLVHO.js +0 -4
  221. package/dist/arcgis-map-components/6IUOO2CX.js +0 -4
  222. package/dist/arcgis-map-components/7XE2PHMN.js +0 -4
  223. package/dist/arcgis-map-components/AHJ77DDX.js +0 -4
  224. package/dist/arcgis-map-components/BO53EV22.js +0 -4
  225. package/dist/arcgis-map-components/CCYD3GJL.js +0 -4
  226. package/dist/arcgis-map-components/CF5DOP3R.js +0 -4
  227. package/dist/arcgis-map-components/CSHTSK3A.js +0 -4
  228. package/dist/arcgis-map-components/CZMG37KX.js +0 -4
  229. package/dist/arcgis-map-components/D727YOOX.js +0 -4
  230. package/dist/arcgis-map-components/DLEN4ORI.js +0 -4
  231. package/dist/arcgis-map-components/DWMEEDHE.js +0 -4
  232. package/dist/arcgis-map-components/DZF434YD.js +0 -4
  233. package/dist/arcgis-map-components/ELYTB4XJ.js +0 -4
  234. package/dist/arcgis-map-components/FRIJ3FSA.js +0 -4
  235. package/dist/arcgis-map-components/GAAOXAL6.js +0 -4
  236. package/dist/arcgis-map-components/HG2VALA3.js +0 -4
  237. package/dist/arcgis-map-components/HZNRXF47.js +0 -4
  238. package/dist/arcgis-map-components/IKGSM2C2.js +0 -4
  239. package/dist/arcgis-map-components/ITFN6HQK.js +0 -4
  240. package/dist/arcgis-map-components/IUDW2ZVM.js +0 -4
  241. package/dist/arcgis-map-components/IW775SZ3.js +0 -4
  242. package/dist/arcgis-map-components/IXPHHN4Z.js +0 -4
  243. package/dist/arcgis-map-components/J7HGN3TZ.js +0 -4
  244. package/dist/arcgis-map-components/JAQQBKX6.js +0 -4
  245. package/dist/arcgis-map-components/K6PW23T7.js +0 -4
  246. package/dist/arcgis-map-components/K77QPLOY.js +0 -4
  247. package/dist/arcgis-map-components/M6O6GD4O.js +0 -4
  248. package/dist/arcgis-map-components/MAMFUB2L.js +0 -4
  249. package/dist/arcgis-map-components/MP3QQQKU.js +0 -4
  250. package/dist/arcgis-map-components/MSOBY6NR.js +0 -4
  251. package/dist/arcgis-map-components/NCWZPEUO.js +0 -4
  252. package/dist/arcgis-map-components/NVIX6GNC.js +0 -4
  253. package/dist/arcgis-map-components/NYN35UXK.js +0 -4
  254. package/dist/arcgis-map-components/OMIYZ5A3.js +0 -4
  255. package/dist/arcgis-map-components/OYUYZKN2.js +0 -4
  256. package/dist/arcgis-map-components/PFRBRWGY.js +0 -4
  257. package/dist/arcgis-map-components/QBCARJYO.js +0 -4
  258. package/dist/arcgis-map-components/QCYDFQGT.js +0 -4
  259. package/dist/arcgis-map-components/QVOQDJ5B.js +0 -4
  260. package/dist/arcgis-map-components/R3AVBSDU.js +0 -4
  261. package/dist/arcgis-map-components/RBXK5JR3.js +0 -4
  262. package/dist/arcgis-map-components/S3H7IQQP.js +0 -4
  263. package/dist/arcgis-map-components/S76V3WVV.js +0 -4
  264. package/dist/arcgis-map-components/SI357SRE.js +0 -4
  265. package/dist/arcgis-map-components/SPVD3PYB.js +0 -4
  266. package/dist/arcgis-map-components/U6C4ZCMS.js +0 -4
  267. package/dist/arcgis-map-components/VIUD4NSE.js +0 -4
  268. package/dist/arcgis-map-components/VIVRU3Y4.js +0 -4
  269. package/dist/arcgis-map-components/VWEH2LWN.js +0 -4
  270. package/dist/arcgis-map-components/X7EWPPQH.js +0 -4
  271. package/dist/arcgis-map-components/YHASKKJ6.js +0 -4
  272. package/dist/arcgis-map-components/YK5CBUJC.js +0 -4
  273. package/dist/arcgis-map-components/YXSRE3F6.js +0 -4
  274. package/dist/arcgis-map-components/ZVNCPLXY.js +0 -4
@@ -1,28 +1,29 @@
1
1
  import { c as y } from "../../chunks/runtime.js";
2
- import { html as d } from "lit-html";
3
- import { load as u, usePropertyChange as f } from "@arcgis/components-controllers";
4
- import { classes as g } from "@arcgis/components-utils";
5
- import { importApplicationsComponentsBasemapUtils as b, importCoreReactiveUtils as M, newWidgetsBasemapGalleryBasemapGalleryViewModel as $ } from "@arcgis/core-adapter";
6
- import { safeClassMap as r, LitElement as B, createEvent as _, noShadowRoot as x, nothing as v, safeStyleMap as R } from "@arcgis/lumina";
7
- import { u as L, m as E } from "../../chunks/useViewModel.js";
8
- import { unsafeStatic as I, html as U } from "lit/static-html.js";
2
+ import { html as c } from "lit-html";
3
+ import { usePropertyChange as f } from "@arcgis/components-controllers";
4
+ import { classes as v } from "@arcgis/components-utils";
5
+ import { when as b, watch as p } from "@arcgis/core/core/reactiveUtils.js";
6
+ import M from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
7
+ import { safeClassMap as r, LitElement as $, createEvent as _, noShadowRoot as B, nothing as g, safeStyleMap as x } from "@arcgis/lumina";
8
+ import { u as L, m as R } from "../../chunks/useViewModel.js";
9
+ import { unsafeStatic as E, html as I } from "lit/static-html.js";
9
10
  import { g as n } from "../../chunks/globalCss.js";
10
- import { c as l, B as C } from "../../chunks/basemap-gallery-item.js";
11
- import { css as D } from "@lit/reactive-element/css-tag.js";
11
+ import { c as l, B as D } from "../../chunks/basemap-gallery-item.js";
12
+ import { css as S } from "@lit/reactive-element/css-tag.js";
12
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
14
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
14
- v4.32.0-next.85 */
15
- function S({ level: o, class: t, children: e }) {
16
- const s = G(o), i = `h${s}`, a = I(i);
17
- return U`<${a} .ariaLevel=${String(s)} class=${r(g(n.heading, t))} role=heading>${e}</${a}>`;
15
+ v4.32.0-next.88 */
16
+ function A({ level: o, class: t, children: e }) {
17
+ const s = k(o), a = `h${s}`, i = E(a);
18
+ return I`<${i} .ariaLevel=${String(s)} class=${r(v(n.heading, t))} role=heading>${e}</${i}>`;
18
19
  }
19
- function A(o, t, e) {
20
+ function C(o, t, e) {
20
21
  return Math.min(Math.max(o, t), e);
21
22
  }
22
- function G(o) {
23
- return A(Math.ceil(o), 1, 6);
23
+ function k(o) {
24
+ return C(Math.ceil(o), 1, 6);
24
25
  }
25
- const k = D`arcgis-basemap-gallery{display:block}`, K = E($), h = {
26
+ const G = S`arcgis-basemap-gallery{display:block}`, K = R(M), m = {
26
27
  // Below this width, items are displayed as a single column and the thumbnail is placed above the title.
27
28
  small: 200,
28
29
  // Below this width, items are displayed as a single column but with the thumbnail side-by-side
@@ -32,18 +33,18 @@ const k = D`arcgis-basemap-gallery{display:block}`, K = E($), h = {
32
33
  // Above this width, items are displayed in a grid.
33
34
  wide: 420
34
35
  };
35
- class H extends B {
36
+ class H extends $ {
36
37
  constructor() {
37
- super(...arguments), this.messages = L({}), this.viewModel = K(this), this.basemapUtils = u(b), this.reactiveUtils = u(M), this._width = 0, this._state = "", this._itemsState = "", this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = _();
38
+ super(...arguments), this.messages = L({}), this.viewModel = K(this), this._width = 0, this._state = "", this._itemsState = "", this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = _();
38
39
  }
39
40
  static {
40
41
  this.properties = { _width: 16, _state: 16, _itemsState: 16, activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3 };
41
42
  }
42
43
  static {
43
- this.shadowRootOptions = x;
44
+ this.shadowRootOptions = B;
44
45
  }
45
46
  static {
46
- this.styles = k;
47
+ this.styles = G;
47
48
  }
48
49
  //#endregion
49
50
  //#region Public Methods
@@ -55,22 +56,22 @@ class H extends B {
55
56
  //#region Lifecycle
56
57
  loaded() {
57
58
  this.manager.onLifecycle(() => [
58
- this.reactiveUtils.when(() => this.source, () => {
59
+ b(() => this.source, () => {
59
60
  this.viewModel.loadSource();
60
61
  }, { sync: !0, initial: !0 }),
61
- this.reactiveUtils.watch(() => this.source.state, () => {
62
+ p(() => this.source.state, () => {
62
63
  this._state = this.source.state;
63
64
  }, { sync: !0 }),
64
- this.reactiveUtils.watch(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
65
+ p(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
65
66
  this._itemsState = s > 0 ? "loading" : "ready";
66
67
  }, { sync: !0 }),
67
- this.reactiveUtils.watch(() => this.viewModel.activeBasemap, () => {
68
+ p(() => this.viewModel.activeBasemap, () => {
68
69
  this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus();
69
70
  }, { sync: !0 })
70
71
  ]);
71
72
  const t = new ResizeObserver((s) => {
72
- for (const i of s)
73
- this._width = i.contentRect.width;
73
+ for (const a of s)
74
+ this._width = a.contentRect.width;
74
75
  }), e = this.el.childElem;
75
76
  e && t.observe(e);
76
77
  }
@@ -84,23 +85,23 @@ class H extends B {
84
85
  if (!["ArrowUp", "ArrowDown", "ArrowRight", "ArrowLeft"].includes(e))
85
86
  return;
86
87
  t.preventDefault();
87
- const { items: i, activeBasemapIndex: a } = this.viewModel, m = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(a - 1, -1), i.length) : this._getRoundRobinIndex(a + 1, i.length), c = i.at(m);
88
- c?.state === "ready" && (this.viewModel.activeBasemap = c.basemap);
88
+ const { items: a, activeBasemapIndex: i } = this.viewModel, h = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(i - 1, -1), a.length) : this._getRoundRobinIndex(i + 1, a.length), d = a.at(h);
89
+ d?.state === "ready" && (this.viewModel.activeBasemap = d.basemap);
89
90
  }
90
91
  //#endregion
91
92
  //#region Rendering
92
93
  render() {
93
- const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items, i = {
94
+ const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items, a = {
94
95
  [l.sourceLoading]: t,
95
96
  [n.disabled]: e,
96
97
  "esri-component": !0
97
98
  // For compatibility with Esri View UI
98
- }, a = this._width;
99
- a <= h.small || a >= h.wide ? i[l.layoutGrid] = !0 : a < h.default && (i[l.narrowItems] = !0);
100
- const m = t ? d`<div class=${r(l.loader)}></div>` : null, c = t ? null : s.length > 0 ? d`<div aria-disabled=${this.disabled ?? v} aria-label=${this.label ?? v} class=${r(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p, w) => C({ disabled: e, item: p, itemIndex: w, viewModel: this.viewModel, messages: this.messages, state: p.state }))}</div>` : d`<div class=${r(n.empty)}>${S({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
101
- return d`<div class=${r(g(l.base, n.widget, n.panel, i))} style=${R({
102
- "--esri-basemap-gallery-small": `${h.small}px`
103
- })}>${[m, c]}</div>`;
99
+ }, i = this._width;
100
+ i <= m.small || i >= m.wide ? a[l.layoutGrid] = !0 : i < m.default && (a[l.narrowItems] = !0);
101
+ const h = t ? c`<div class=${r(l.loader)}></div>` : null, d = t ? null : s.length > 0 ? c`<div aria-disabled=${this.disabled ?? g} aria-label=${this.label ?? g} class=${r(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((u, w) => D({ disabled: e, item: u, itemIndex: w, viewModel: this.viewModel, messages: this.messages, state: u.state }))}</div>` : c`<div class=${r(n.empty)}>${A({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
102
+ return c`<div class=${r(v(l.base, n.widget, n.panel, a))} style=${x({
103
+ "--esri-basemap-gallery-small": `${m.small}px`
104
+ })}>${[h, d]}</div>`;
104
105
  }
105
106
  }
106
107
  y("arcgis-basemap-gallery", H);
@@ -2,15 +2,16 @@
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/components-controllers';
4
4
  import { Nil } from '@arcgis/components-utils';
5
- import { ArcgisReferenceElement } from '../../utils/component-utils';
5
+ import { default as BasemapLayerList } from '@arcgis/core/widgets/BasemapLayerList.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useBasemapLayerListWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.BasemapLayerList, "label" | "viewModel" | "icon" | "headingLevel" | "collapsed" | "dragEnabled" | "filterPlaceholder" | "minFilterItems" | "selectedItems" | "selectionMode" | "catalogOptions" | "visibilityAppearance" | "baseFilterPredicate" | "baseFilterText" | "baseListItemCreatedFunction" | "basemapTitle" | "editingTitle" | "referenceFilterPredicate" | "referenceFilterText" | "referenceListItemCreatedFunction"> & {
14
+ } & Pick<BasemapLayerList, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.BasemapLayerListViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useBasemapLayerListWidget: (component: import('@arcgis/components-
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.BasemapLayerListProperties): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties>;
35
- } | undefined) => __esri.BasemapLayerList;
35
+ editConstructorProperties(props: __esri.BasemapLayerListProperties | undefined): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties | undefined> | undefined;
36
+ } | undefined) => BasemapLayerList;
36
37
  /** [BasemapLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html) provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.
37
38
  */
38
39
  export declare class ArcgisBasemapLayerList extends LitElement {
@@ -1,17 +1,17 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
2
  import { usePropertyChange as t } from "@arcgis/components-controllers";
3
- import { newWidgetsBasemapLayerList as i } from "@arcgis/core-adapter";
4
- import { m as s } from "../../chunks/useWidget.js";
3
+ import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
4
+ import s from "@arcgis/core/widgets/BasemapLayerList.js";
5
5
  import { LitElement as r, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
6
- import { reEmitEvent as o } from "@arcgis/components-controllers/accessor";
6
+ import { m as o } from "../../chunks/useWidget.js";
7
7
  import { css as h } 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.32/esri/copyright.txt for details.
10
- v4.32.0-next.85 */
11
- const d = h`arcgis-basemap-layer-list{display:block}`, n = s(i);
10
+ v4.32.0-next.88 */
11
+ const d = h`arcgis-basemap-layer-list{display:block}`, n = o(s);
12
12
  class c extends r {
13
13
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = o(() => this.widget, "trigger-action");
14
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
15
15
  }
16
16
  static {
17
17
  this.properties = { autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItems: 32, baseListItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideFlow: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, label: 1, minFilterItems: 9, position: 1, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceListItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
@@ -1,16 +1,17 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { ArcgisReferenceElement } from '../../utils/component-utils';
4
- import { Nil } from '@arcgis/components-utils';
5
3
  import { Use } from '@arcgis/components-controllers';
4
+ import { Nil } from '@arcgis/components-utils';
5
+ import { default as BasemapToggleViewModel } from '@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js';
6
6
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useBasemapToggleViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.BasemapToggleViewModel, never> & {
14
+ } & Pick<BasemapToggleViewModel, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: "ready" | "disabled" | "loading" | "incompatible-next-basemap" | undefined;
16
17
  icon: Nil | string;
@@ -31,12 +32,12 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
31
32
  destroy: () => Promise<void>;
32
33
  }, options?: {
33
34
  editConstructorProperties(props: unknown): unknown;
34
- } | undefined) => __esri.BasemapToggleViewModel;
35
+ } | undefined) => BasemapToggleViewModel;
35
36
  /** [BasemapToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html) allows an end-user to switch between two basemaps. The toggled basemap is set inside the [view's](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html#view) [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#map) object.
36
37
  */
37
38
  export declare class ArcgisBasemapToggle extends LitElement {
38
39
  private messages;
39
- readonly activeBasemap: nullish | __esri.Basemap;
40
+ readonly activeBasemap: __esri.Basemap | nullish;
40
41
  /**
41
42
  * If true, the component will not be destroyed automatically when
42
43
  * it is disconnected from the document. This is useful when you
@@ -55,7 +56,7 @@ export declare class ArcgisBasemapToggle extends LitElement {
55
56
  /** Overwrite localized strings for this component */
56
57
  messageOverrides?: typeof this.messages._overrides;
57
58
  /** The next basemap for toggling. */
58
- nextBasemap: nullish | __esri.Basemap;
59
+ nextBasemap: __esri.Basemap | nullish;
59
60
  position: __esri.UIPosition;
60
61
  referenceElement: ArcgisReferenceElement | Nil | string;
61
62
  /** The visible elements that are displayed within the widget. */
@@ -1,16 +1,17 @@
1
1
  import { c as B } from "../../chunks/runtime.js";
2
2
  import { html as l } from "lit-html";
3
- import { g as v } from "../../chunks/globalCss.js";
4
- import { u as f, m as S } from "../../chunks/useViewModel.js";
5
- import { classes as r } from "@arcgis/components-utils";
6
- import { load as T, usePropertyChange as x } from "@arcgis/components-controllers";
7
- import { importApplicationsComponentsBasemapUtils as M, newWidgetsBasemapToggleBasemapToggleViewModel as k } from "@arcgis/core-adapter";
8
- import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as c, safeStyleMap as u } from "@arcgis/lumina";
3
+ import { usePropertyChange as f } from "@arcgis/components-controllers";
4
+ import { classes as m } from "@arcgis/components-utils";
5
+ import { getBasemapThumbnailUrl as S } from "@arcgis/core/applications/Components/basemapUtils.js";
6
+ import x from "@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js";
7
+ import { LitElement as T, createEvent as M, noShadowRoot as k, safeClassMap as a, nothing as c, safeStyleMap as b } from "@arcgis/lumina";
8
+ import { u as I, m as C } from "../../chunks/useViewModel.js";
9
+ import { g as u } from "../../chunks/globalCss.js";
9
10
  import { css as L } from "@lit/reactive-element/css-tag.js";
10
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
12
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
12
- v4.32.0-next.85 */
13
- const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
13
+ v4.32.0-next.88 */
14
+ const A = L`arcgis-basemap-toggle{display:block}`, s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
14
15
  base: s,
15
16
  secondaryBasemapImage: `${s}__image--secondary`,
16
17
  container: `${o} ${s}__container`,
@@ -19,19 +20,19 @@ const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
19
20
  overlay: `${o}__overlay ${s}__image-overlay`,
20
21
  title: `${o}__title ${s}__title`,
21
22
  overlayScrim: `${o}__overlay-scrim`
22
- }, U = L`arcgis-basemap-toggle{display:block}`, D = S(k);
23
- class E extends C {
23
+ }, D = C(x);
24
+ class E extends T {
24
25
  constructor() {
25
- super(...arguments), this.basemapUtils = T(M), this.messages = f(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = x()("nextBasemap", "state"), this.arcgisReady = I();
26
+ super(...arguments), this.messages = I(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("nextBasemap", "state"), this.arcgisReady = M();
26
27
  }
27
28
  static {
28
29
  this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
29
30
  }
30
31
  static {
31
- this.shadowRootOptions = A;
32
+ this.shadowRootOptions = k;
32
33
  }
33
34
  static {
34
- this.styles = U;
35
+ this.styles = A;
35
36
  }
36
37
  // #endregion
37
38
  // #region Public Methods
@@ -46,16 +47,16 @@ class E extends C {
46
47
  // #endregion
47
48
  // #region Private Methods
48
49
  _getThumbnailStyles(t) {
49
- const n = this.basemapUtils.getBasemapThumbnailUrl(t);
50
+ const n = S(t);
50
51
  return n ? { backgroundImage: `url(${n})` } : { backgroundImage: "" };
51
52
  }
52
53
  // #endregion
53
54
  // #region Rendering
54
55
  render() {
55
- const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap", m = i?.title ?? "", d = i && i.loadStatus !== "loaded";
56
+ const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", d = t.state === "incompatible-next-basemap", r = i?.title ?? "", p = i && i.loadStatus !== "loaded";
56
57
  let g;
57
- const h = this.showTitle && m, b = p, y = h || b, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
58
- return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${m ?? c}>${m}</span>` : null}${b ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(r(e.base, v.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${p} kind=neutral .label=${this.label ?? void 0} @click=${() => void this.toggle()} title=${this.label ?? void 0 ?? c}><div class=${a(r(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${u(w)}></div></div><div class=${a(e.container)}><div class=${a(r(e.image, d ? e.imageLoading : null))} style=${u(_)}>${d || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(v.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
58
+ const h = this.showTitle && r, v = d, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
59
+ return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${r ?? c}>${r}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(m(e.base, u.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${d} kind=neutral .label=${this.label ?? void 0} @click=${() => void this.toggle()} title=${this.label ?? void 0 ?? c}><div class=${a(m(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${b(w)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image, p ? e.imageLoading : null))} style=${b(_)}>${p || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(u.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
59
60
  }
60
61
  }
61
62
  B("arcgis-basemap-toggle", E);
@@ -1,16 +1,17 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { ArcgisReferenceElement } from '../../utils/component-utils';
4
3
  import { Use } from '@arcgis/components-controllers';
5
4
  import { Nil } from '@arcgis/components-utils';
5
+ import { default as Bookmarks } from '@arcgis/core/widgets/Bookmarks.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useBookmarksWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.Bookmarks, "bookmarks" | "label" | "viewModel" | "icon" | "disabled" | "dragEnabled" | "filterPlaceholder" | "filterText" | "defaultCreateOptions" | "defaultEditOptions"> & {
14
+ } & Pick<Bookmarks, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.BookmarksViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useBookmarksWidget: (component: import('@arcgis/components-control
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.BookmarksProperties): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties>;
35
- } | undefined) => __esri.Bookmarks;
35
+ editConstructorProperties(props: __esri.BookmarksProperties | undefined): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties | undefined> | undefined;
36
+ } | undefined) => Bookmarks;
36
37
  /** [Bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html) allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).
37
38
  */
38
39
  export declare class ArcgisBookmarks extends LitElement {
@@ -1,23 +1,23 @@
1
1
  import { c as i } from "../../chunks/runtime.js";
2
- import { newWidgetsBookmarks as e } from "@arcgis/core-adapter";
3
- import { usePropertyChange as s } from "@arcgis/components-controllers";
4
- import { m as o } from "../../chunks/useWidget.js";
5
- import { LitElement as a, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
2
+ import { usePropertyChange as e } from "@arcgis/components-controllers";
6
3
  import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
4
+ import s from "@arcgis/core/widgets/Bookmarks.js";
5
+ import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
6
+ import { m as h } 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.32/esri/copyright.txt for details.
10
- v4.32.0-next.85 */
11
- const r = d`arcgis-bookmarks{display:block}`, n = o(e);
12
- class m extends a {
10
+ v4.32.0-next.88 */
11
+ const r = d`arcgis-bookmarks{display:block}`, n = h(s);
12
+ class m extends o {
13
13
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
14
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
15
15
  }
16
16
  static {
17
17
  this.properties = { autoDestroyDisabled: 5, bookmarks: 0, defaultCreateOptions: 0, defaultEditOptions: 0, disabled: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, hideFlow: 5, hideThumbnail: 5, hideTime: 5, icon: 1, label: 1, position: 1, referenceElement: 1, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, state: 3 };
18
18
  }
19
19
  static {
20
- this.shadowRootOptions = h;
20
+ this.shadowRootOptions = l;
21
21
  }
22
22
  static {
23
23
  this.styles = r;
@@ -1,16 +1,17 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { ArcgisReferenceElement } from '../../utils/component-utils';
4
3
  import { Use } from '@arcgis/components-controllers';
5
4
  import { Nil } from '@arcgis/components-utils';
5
+ import { default as BuildingExplorer } from '@arcgis/core/widgets/BuildingExplorer.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useBuildingExplorerWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.BuildingExplorer, "layers" | "label" | "viewModel" | "icon" | "headingLevel"> & {
14
+ } & Pick<BuildingExplorer, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.BuildingExplorerViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useBuildingExplorerWidget: (component: import('@arcgis/components-
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.BuildingExplorerProperties): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties>;
35
- } | undefined) => __esri.BuildingExplorer;
35
+ editConstructorProperties(props: __esri.BuildingExplorerProperties | undefined): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties | undefined> | undefined;
36
+ } | undefined) => BuildingExplorer;
36
37
  /** [BuildingExplorer](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BuildingExplorer.html) is used to filter and explore the various components of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of components grouped in sublayers. Using this component, buildings can be filtered by level, construction phase or by disciplines and categories.
37
38
  */
38
39
  export declare class ArcgisBuildingExplorer extends LitElement {
@@ -1,22 +1,22 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
- import { newWidgetsBuildingExplorer as i } from "@arcgis/core-adapter";
3
- import { m as s } from "../../chunks/useWidget.js";
4
- import { usePropertyChange as t } from "@arcgis/components-controllers";
5
- import { LitElement as l, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
2
+ import { usePropertyChange as i } from "@arcgis/components-controllers";
3
+ import s from "@arcgis/core/widgets/BuildingExplorer.js";
4
+ import { LitElement as t, createEvent as l, noShadowRoot as o } from "@arcgis/lumina";
5
+ import { m as h } from "../../chunks/useWidget.js";
6
6
  import { css as r } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- v4.32.0-next.85 */
10
- const a = r`arcgis-building-explorer{display:block}`, d = s(i);
11
- class n extends l {
9
+ v4.32.0-next.88 */
10
+ const a = r`arcgis-building-explorer{display:block}`, d = h(s);
11
+ class n extends t {
12
12
  constructor() {
13
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = t()("level", "phase", "state"), this.arcgisReady = o();
13
+ super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = i()("level", "phase", "state"), this.arcgisReady = l();
14
14
  }
15
15
  static {
16
16
  this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 0, phase: 0, position: 1, referenceElement: 1, state: 3 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = h;
19
+ this.shadowRootOptions = o;
20
20
  }
21
21
  static {
22
22
  this.styles = a;
@@ -2,15 +2,16 @@
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/components-controllers';
4
4
  import { Nil } from '@arcgis/components-utils';
5
- import { ArcgisReferenceElement } from '../../utils/component-utils';
5
+ import { default as CatalogLayerList } from '@arcgis/core/widgets/CatalogLayerList.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useCatalogLayerListWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.CatalogLayerList, "label" | "viewModel" | "icon" | "headingLevel" | "collapsed" | "filterPlaceholder" | "filterPredicate" | "filterText" | "listItemCreatedFunction" | "minFilterItems" | "selectedItems" | "selectionMode" | "visibilityAppearance" | "catalogLayer"> & {
14
+ } & Pick<CatalogLayerList, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.CatalogLayerListViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.CatalogLayerListProperties): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties>;
35
- } | undefined) => __esri.CatalogLayerList;
35
+ editConstructorProperties(props: __esri.CatalogLayerListProperties | undefined): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties | undefined> | undefined;
36
+ } | undefined) => CatalogLayerList;
36
37
  /** The [CatalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html) provides a way to display and interact with CatalogLayers.
37
38
  */
38
39
  export declare class ArcgisCatalogLayerList extends LitElement {
@@ -1,17 +1,17 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
2
  import { usePropertyChange as e } from "@arcgis/components-controllers";
3
- import { newWidgetsCatalogLayerList as i } from "@arcgis/core-adapter";
4
- import { m as s } from "../../chunks/useWidget.js";
3
+ import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
4
+ import s from "@arcgis/core/widgets/CatalogLayerList.js";
5
5
  import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
6
- import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
6
+ import { m as r } from "../../chunks/useWidget.js";
7
7
  import { css as h } 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.32/esri/copyright.txt for details.
10
- v4.32.0-next.85 */
11
- const d = h`arcgis-catalog-layer-list{display:block}`, n = s(i);
10
+ v4.32.0-next.88 */
11
+ const d = h`arcgis-catalog-layer-list{display:block}`, n = r(s);
12
12
  class c extends o {
13
13
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = r(() => this.widget, "trigger-action");
14
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
15
15
  }
16
16
  static {
17
17
  this.properties = { autoDestroyDisabled: 5, catalogItems: 32, catalogLayer: 0, collapsed: 7, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideFlow: 5, hideStatusIndicators: 5, icon: 1, label: 1, listItemCreatedFunction: 0, minFilterItems: 9, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
@@ -2,15 +2,16 @@
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/components-controllers';
4
4
  import { Nil } from '@arcgis/components-utils';
5
- import { ArcgisReferenceElement } from '../../utils/component-utils';
5
+ import { default as CompassViewModel } from '@arcgis/core/widgets/Compass/CompassViewModel.js';
6
6
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useCompassViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.CompassViewModel, never> & {
14
+ } & Pick<CompassViewModel, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: "rotation" | "disabled" | "compass" | undefined;
16
17
  icon: Nil | string;
@@ -31,7 +32,7 @@ declare const useCompassViewModel: (component: import('@arcgis/components-contro
31
32
  destroy: () => Promise<void>;
32
33
  }, options?: {
33
34
  editConstructorProperties(props: unknown): unknown;
34
- } | undefined) => __esri.CompassViewModel;
35
+ } | undefined) => CompassViewModel;
35
36
  /** The [Compass](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Compass.html) indicates where north is in relation to the current view [rotation](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#rotation) or [camera heading](https://developers.arcgis.com/javascript/latest/api-reference/esri-Camera.html#heading).
36
37
  */
37
38
  export declare class ArcgisCompass extends LitElement {
@@ -2,27 +2,27 @@ import { c } from "../../chunks/runtime.js";
2
2
  import { html as l } from "lit-html";
3
3
  import { usePropertyChange as m } from "@arcgis/components-controllers";
4
4
  import { classes as d } from "@arcgis/components-utils";
5
- import { newWidgetsCompassCompassViewModel as h } from "@arcgis/core-adapter";
6
- import { u as p, m as g } from "../../chunks/useViewModel.js";
7
- import { g as i } from "../../chunks/globalCss.js";
8
- import { LitElement as u, createEvent as f, noShadowRoot as w, safeClassMap as s, nothing as o, safeStyleMap as y } from "@arcgis/lumina";
5
+ import h from "@arcgis/core/widgets/Compass/CompassViewModel.js";
6
+ import { LitElement as p, createEvent as g, noShadowRoot as u, safeClassMap as s, nothing as i, safeStyleMap as f } from "@arcgis/lumina";
7
+ import { u as w, m as y } from "../../chunks/useViewModel.js";
8
+ import { g as o } from "../../chunks/globalCss.js";
9
9
  import { css as $ } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
12
- v4.32.0-next.85 */
12
+ v4.32.0-next.88 */
13
13
  const b = $`arcgis-compass{display:block}`, a = "esri-compass", r = {
14
14
  base: a,
15
15
  iconContainer: `${a}__icon-container`
16
- }, v = g(h);
17
- class C extends u {
16
+ }, v = y(h);
17
+ class C extends p {
18
18
  constructor() {
19
- super(...arguments), this.messages = p(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = f();
19
+ super(...arguments), this.messages = w(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = g();
20
20
  }
21
21
  static {
22
22
  this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, orientation: 0, position: 3, referenceElement: 1, state: 3 };
23
23
  }
24
24
  static {
25
- this.shadowRootOptions = w;
25
+ this.shadowRootOptions = u;
26
26
  }
27
27
  static {
28
28
  this.styles = b;
@@ -50,7 +50,7 @@ class C extends u {
50
50
  // #region Rendering
51
51
  render() {
52
52
  const { messages: t, icon: n } = this;
53
- return l`<div class=${s(d(r.base, i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? o}><div aria-hidden=true class=${s(r.iconContainer)} title=${t.reset ?? o}><calcite-icon .icon=${n} style=${y(M(this.orientation))}></calcite-icon></div></calcite-button></div>`;
53
+ return l`<div class=${s(d(r.base, o.widget))}><calcite-button class=${s(o.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? i}><div aria-hidden=true class=${s(r.iconContainer)} title=${t.reset ?? i}><calcite-icon .icon=${n} style=${f(M(this.orientation))}></calcite-icon></div></calcite-button></div>`;
54
54
  }
55
55
  }
56
56
  const M = (e) => ({