@arcgis/map-components 4.32.0-next.116 → 4.32.0-next.118

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 (272) hide show
  1. package/dist/arcgis-map-components/{Q7HMT6YC.js → 2SLYTOGS.js} +2 -2
  2. package/dist/arcgis-map-components/{QPUXDMMW.js → 32XU4DDZ.js} +2 -2
  3. package/dist/arcgis-map-components/{K5BU3ULI.js → 3BIVBSJD.js} +1 -1
  4. package/dist/arcgis-map-components/3U4SUV5J.js +4 -0
  5. package/dist/arcgis-map-components/{TRA7WGHJ.js → 3ZSERA7V.js} +2 -2
  6. package/dist/arcgis-map-components/{BGTXH5LD.js → 4E6QHIJM.js} +2 -2
  7. package/dist/arcgis-map-components/4UVXENNK.js +4 -0
  8. package/dist/arcgis-map-components/{4HB5XJZJ.js → 5ESSL5X2.js} +2 -2
  9. package/dist/arcgis-map-components/{YW2IECCB.js → 5VYPRKRT.js} +2 -2
  10. package/dist/arcgis-map-components/{UHQVWMIH.js → 647HSNEY.js} +2 -2
  11. package/dist/arcgis-map-components/{UMWCCPE2.js → 7S552M7M.js} +2 -2
  12. package/dist/arcgis-map-components/A5LAJIQH.js +4 -0
  13. package/dist/arcgis-map-components/AA6MP2RR.js +4 -0
  14. package/dist/arcgis-map-components/{7ZVXYGGP.js → AIAMZDR5.js} +2 -2
  15. package/dist/arcgis-map-components/{CE66WQX5.js → BMTHXGOO.js} +2 -2
  16. package/dist/arcgis-map-components/{FOQCZZXN.js → CHY6MSAJ.js} +2 -2
  17. package/dist/arcgis-map-components/{UFOTW5ES.js → CJB4AQNW.js} +2 -2
  18. package/dist/arcgis-map-components/CMCUVR2O.js +4 -0
  19. package/dist/arcgis-map-components/{7YIZHLHX.js → CRTAEAFR.js} +2 -2
  20. package/dist/arcgis-map-components/{UMKIX4CB.js → DBYPOQFN.js} +2 -2
  21. package/dist/arcgis-map-components/DFG567OH.js +4 -0
  22. package/dist/arcgis-map-components/{GCFTNE4V.js → DGXJEZGR.js} +2 -2
  23. package/dist/arcgis-map-components/{DCEWCBP4.js → DJAOHPWN.js} +2 -2
  24. package/dist/arcgis-map-components/{ZA3UWZ2F.js → DJVK4KUC.js} +1 -1
  25. package/dist/arcgis-map-components/E3IXYUMW.js +4 -0
  26. package/dist/arcgis-map-components/{HUN27NCI.js → ELDSUYAU.js} +2 -2
  27. package/dist/arcgis-map-components/{EE3MXPBL.js → FNB2XNIT.js} +2 -2
  28. package/dist/arcgis-map-components/{KPJCCNGQ.js → FUI5OMEA.js} +1 -1
  29. package/dist/arcgis-map-components/{O5QE74PM.js → FWC3YR25.js} +2 -2
  30. package/dist/arcgis-map-components/{SLXK2I7X.js → GOSYOR4U.js} +2 -2
  31. package/dist/arcgis-map-components/{OY6GSDLS.js → GRV2AUVA.js} +2 -2
  32. package/dist/arcgis-map-components/{Z4RL567L.js → HG3SZTGT.js} +2 -2
  33. package/dist/arcgis-map-components/{VV3DWCWP.js → HO5YWPFM.js} +2 -2
  34. package/dist/arcgis-map-components/{2JPSW6AB.js → INRBGBYV.js} +2 -2
  35. package/dist/arcgis-map-components/{SISG3G3P.js → INWHZ7L3.js} +2 -2
  36. package/dist/arcgis-map-components/{XA3UCKEH.js → J6ASGVXU.js} +2 -2
  37. package/dist/arcgis-map-components/{MTLWTLRT.js → J7T2BT5J.js} +2 -2
  38. package/dist/arcgis-map-components/JGCXCURU.js +4 -0
  39. package/dist/arcgis-map-components/{K22UC5QY.js → JJBY3YTG.js} +2 -2
  40. package/dist/arcgis-map-components/{CQVAZY7M.js → KHBA4OYW.js} +2 -2
  41. package/dist/arcgis-map-components/KSME6U5Y.js +4 -0
  42. package/dist/arcgis-map-components/{4UMPFYC3.js → LORQX2JD.js} +2 -2
  43. package/dist/arcgis-map-components/MBBOOAEU.js +4 -0
  44. package/dist/arcgis-map-components/{FQPT5ZC6.js → MZLOVIPA.js} +2 -2
  45. package/dist/arcgis-map-components/{MSVZ2VUT.js → NBDNPA4X.js} +2 -2
  46. package/dist/arcgis-map-components/{Y4QCHU3Q.js → NGUSKYVR.js} +2 -2
  47. package/dist/arcgis-map-components/{USZXNJET.js → NMBSR6NR.js} +2 -2
  48. package/dist/arcgis-map-components/{S3XAFA5J.js → NWYV6L4P.js} +2 -2
  49. package/dist/arcgis-map-components/OBC3S6VT.js +4 -0
  50. package/dist/arcgis-map-components/{M2OWNHMI.js → OGLLW2FV.js} +2 -2
  51. package/dist/arcgis-map-components/P2CLEOHE.js +4 -0
  52. package/dist/arcgis-map-components/{HVQ2NT6X.js → PKKL65A5.js} +2 -2
  53. package/dist/arcgis-map-components/{3A5FC4KQ.js → PKVDVS64.js} +2 -2
  54. package/dist/arcgis-map-components/{AY273L6P.js → PNORYIYX.js} +2 -2
  55. package/dist/arcgis-map-components/QLOX24UX.js +4 -0
  56. package/dist/arcgis-map-components/QZXFWCBX.js +4 -0
  57. package/dist/arcgis-map-components/{QJLLUEEV.js → SMIZOY3N.js} +2 -2
  58. package/dist/arcgis-map-components/{KIAIWKBQ.js → TBXAXPXO.js} +2 -2
  59. package/dist/arcgis-map-components/{KDCGVGYH.js → TSEVAAY5.js} +2 -2
  60. package/dist/arcgis-map-components/{3KZSEZRN.js → U54FPFXH.js} +2 -2
  61. package/dist/arcgis-map-components/{PGWRHIHM.js → UNMBUOHY.js} +2 -2
  62. package/dist/arcgis-map-components/VZM2TQ75.js +4 -0
  63. package/dist/arcgis-map-components/{A53MOEWK.js → WSK43RRV.js} +2 -2
  64. package/dist/arcgis-map-components/WXIB4GL4.js +4 -0
  65. package/dist/arcgis-map-components/{6RVHSQ5H.js → XMDB32OA.js} +2 -2
  66. package/dist/arcgis-map-components/{6VRYEU4N.js → XYKWR2B5.js} +2 -2
  67. package/dist/arcgis-map-components/{BV53SAHJ.js → Y3AWKOXA.js} +2 -2
  68. package/dist/arcgis-map-components/YFYSMCB6.js +4 -0
  69. package/dist/arcgis-map-components/{MIQEZOKO.js → YIEWNW4M.js} +1 -1
  70. package/dist/arcgis-map-components/YKR7TDB2.js +4 -0
  71. package/dist/arcgis-map-components/{PTYXF7GU.js → YV2TPLPI.js} +2 -2
  72. package/dist/arcgis-map-components/{QA27YEDI.js → YZI65CCO.js} +2 -2
  73. package/dist/arcgis-map-components/ZX57SG2S.js +4 -0
  74. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  75. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ar.json +1 -0
  76. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -0
  77. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -0
  78. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -0
  79. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -0
  80. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -0
  81. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -0
  82. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -0
  83. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.en.json +1 -0
  84. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -0
  85. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -0
  86. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -0
  87. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -0
  88. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -0
  89. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -0
  90. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -0
  91. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -0
  92. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -0
  93. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -0
  94. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -0
  95. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -0
  96. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -0
  97. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -0
  98. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -0
  99. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -0
  100. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -0
  101. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -0
  102. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -0
  103. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -0
  104. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -0
  105. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -0
  106. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -0
  107. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -0
  108. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -0
  109. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -0
  110. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -0
  111. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -0
  112. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -0
  113. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -0
  114. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -0
  115. package/dist/chunks/basemap-gallery-item.js +1 -1
  116. package/dist/chunks/component-utils.js +1 -1
  117. package/dist/chunks/disconnected.js +1 -1
  118. package/dist/chunks/globalCss.js +1 -1
  119. package/dist/chunks/legacyIcon.js +1 -1
  120. package/dist/chunks/runtime.js +1 -1
  121. package/dist/chunks/useView.js +64 -0
  122. package/dist/chunks/useViewModel.js +17 -57
  123. package/dist/chunks/useWidget.js +1 -1
  124. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
  125. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  126. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
  127. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  128. package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
  129. package/dist/components/arcgis-attachments/customElement.js +1 -1
  130. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
  131. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -22
  132. package/dist/components/arcgis-basemap-gallery/customElement.js +3 -2
  133. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
  134. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  135. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -22
  136. package/dist/components/arcgis-basemap-toggle/customElement.js +7 -6
  137. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  138. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  139. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
  140. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  141. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +11 -3
  142. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  143. package/dist/components/arcgis-compass/customElement.d.ts +2 -21
  144. package/dist/components/arcgis-compass/customElement.js +6 -5
  145. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  146. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  147. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  148. package/dist/components/arcgis-daylight/customElement.js +1 -1
  149. package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -42
  150. package/dist/components/arcgis-directional-pad/customElement.js +6 -5
  151. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  152. package/dist/components/arcgis-directions/customElement.js +1 -1
  153. package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -1
  154. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  155. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
  156. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  157. package/dist/components/arcgis-editor/customElement.d.ts +1 -2
  158. package/dist/components/arcgis-editor/customElement.js +7 -7
  159. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -10
  160. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  161. package/dist/components/arcgis-expand/customElement.d.ts +1 -1
  162. package/dist/components/arcgis-expand/customElement.js +1 -1
  163. package/dist/components/arcgis-feature/customElement.d.ts +2 -2
  164. package/dist/components/arcgis-feature/customElement.js +1 -1
  165. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  166. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
  167. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  168. package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
  169. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  170. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  171. package/dist/components/arcgis-features/customElement.js +1 -1
  172. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  173. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  174. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -20
  175. package/dist/components/arcgis-fullscreen/customElement.js +7 -6
  176. package/dist/components/arcgis-histogram/customElement.js +1 -1
  177. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  178. package/dist/components/arcgis-home/customElement.d.ts +3 -22
  179. package/dist/components/arcgis-home/customElement.js +6 -5
  180. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  181. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  182. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  183. package/dist/components/arcgis-legend/customElement.js +1 -1
  184. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
  185. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  186. package/dist/components/arcgis-link-chart/customElement.js +14 -14
  187. package/dist/components/arcgis-locate/customElement.d.ts +2 -21
  188. package/dist/components/arcgis-locate/customElement.js +11 -10
  189. package/dist/components/arcgis-map/customElement.d.ts +5 -1
  190. package/dist/components/arcgis-map/customElement.js +20 -12
  191. package/dist/components/arcgis-measurement/customElement.js +1 -1
  192. package/dist/components/arcgis-navigation-toggle/css.d.ts +3 -0
  193. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +34 -39
  194. package/dist/components/arcgis-navigation-toggle/customElement.js +59 -18
  195. package/dist/components/arcgis-navigation-toggle/index.d.ts +2 -0
  196. package/dist/components/arcgis-navigation-toggle/index.js +2 -0
  197. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
  198. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  199. package/dist/components/arcgis-placement/customElement.js +1 -1
  200. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  201. package/dist/components/arcgis-print/customElement.js +1 -1
  202. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -21
  203. package/dist/components/arcgis-scale-bar/customElement.js +22 -21
  204. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
  205. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  206. package/dist/components/arcgis-scene/customElement.d.ts +5 -1
  207. package/dist/components/arcgis-scene/customElement.js +25 -17
  208. package/dist/components/arcgis-search/customElement.d.ts +2 -2
  209. package/dist/components/arcgis-search/customElement.js +1 -1
  210. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  211. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  212. package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
  213. package/dist/components/arcgis-sketch/customElement.js +1 -1
  214. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  215. package/dist/components/arcgis-slice/customElement.js +1 -1
  216. package/dist/components/arcgis-slider/customElement.js +1 -1
  217. package/dist/components/arcgis-swipe/customElement.d.ts +2 -21
  218. package/dist/components/arcgis-swipe/customElement.js +3 -2
  219. package/dist/components/arcgis-table-list/customElement.d.ts +3 -11
  220. package/dist/components/arcgis-table-list/customElement.js +1 -1
  221. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  222. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  223. package/dist/components/arcgis-track/customElement.d.ts +2 -21
  224. package/dist/components/arcgis-track/customElement.js +3 -2
  225. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  226. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  227. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  228. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  229. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
  230. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  231. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  232. package/dist/components/arcgis-version-management/customElement.d.ts +2 -21
  233. package/dist/components/arcgis-version-management/customElement.js +3 -2
  234. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  235. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  236. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  237. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  238. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  239. package/dist/components/arcgis-weather/customElement.js +1 -1
  240. package/dist/components/arcgis-zoom/customElement.d.ts +2 -21
  241. package/dist/components/arcgis-zoom/customElement.js +9 -8
  242. package/dist/controllers/useView.d.ts +41 -0
  243. package/dist/controllers/useViewModel.d.ts +14 -39
  244. package/dist/docs/api.json +383 -198
  245. package/dist/docs/docs.json +251 -84
  246. package/dist/docs/vscode.html-custom-data.json +167 -168
  247. package/dist/docs/web-types.json +113 -120
  248. package/dist/index.js +1 -1
  249. package/dist/loader.js +4 -4
  250. package/dist/types/lumina.d.ts +2 -2
  251. package/dist/types/preact.d.ts +2 -2
  252. package/dist/types/react.d.ts +2 -2
  253. package/dist/types/stencil.d.ts +2 -2
  254. package/package.json +5 -5
  255. package/dist/arcgis-map-components/3H6MAGZA.js +0 -4
  256. package/dist/arcgis-map-components/5TS4EFWI.js +0 -4
  257. package/dist/arcgis-map-components/5WYQRESU.js +0 -4
  258. package/dist/arcgis-map-components/AOVFY7XF.js +0 -4
  259. package/dist/arcgis-map-components/B6CBNZBZ.js +0 -4
  260. package/dist/arcgis-map-components/BWXDNELH.js +0 -4
  261. package/dist/arcgis-map-components/EDCLHEQ4.js +0 -4
  262. package/dist/arcgis-map-components/EUKI6DIN.js +0 -4
  263. package/dist/arcgis-map-components/JUQS4ITT.js +0 -4
  264. package/dist/arcgis-map-components/K4C66BPU.js +0 -4
  265. package/dist/arcgis-map-components/NASMSXGY.js +0 -4
  266. package/dist/arcgis-map-components/O5B2GAVD.js +0 -4
  267. package/dist/arcgis-map-components/TA2MDZPZ.js +0 -4
  268. package/dist/arcgis-map-components/WFVQVSXS.js +0 -4
  269. package/dist/arcgis-map-components/XDGQJKBX.js +0 -4
  270. package/dist/arcgis-map-components/XWL5E4D5.js +0 -4
  271. package/dist/arcgis-map-components/YV2FL2IO.js +0 -4
  272. package/dist/arcgis-map-components/ZC63DPSH.js +0 -4
@@ -5,7 +5,7 @@ import { g as v } from "./runtime.js";
5
5
  import { g as B } from "./globalCss.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
8
- v4.32.0-next.116 */
8
+ v4.32.0-next.118 */
9
9
  const t = "esri-basemap-gallery", i = {
10
10
  base: t,
11
11
  sourceLoading: `${t}--source-loading`,
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
3
- v4.32.0-next.116 */
3
+ v4.32.0-next.118 */
4
4
  function P(e, i) {
5
5
  Array.isArray(i) ? e._watchHandles = [...e._watchHandles, ...i] : e._watchHandles.push(i);
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { devToolsAwareTimeout as d } from "@arcgis/components-utils";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- v4.32.0-next.116 */
4
+ v4.32.0-next.118 */
5
5
  function a(i) {
6
6
  i.el.childElem ? i.el.isConnected || (i.view?.ui ? i.view.ui.remove(i.el.childElem) : i.widget?.view && i.widget.view.ui.remove(i.el.childElem), i._watchHandles && i._watchHandles.forEach((o) => {
7
7
  o.remove();
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
3
- v4.32.0-next.116 */
3
+ v4.32.0-next.118 */
4
4
  const e = {
5
5
  anchor: "esri-widget__anchor",
6
6
  anchorDisabled: "esri-widget__anchor--disabled",
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
3
- v4.32.0-next.116 */
3
+ v4.32.0-next.118 */
4
4
  const i = {
5
5
  arrowDown: "esri-icon-arrow-down",
6
6
  arrowUp: "esri-icon-arrow-up",
@@ -1,7 +1,7 @@
1
1
  import { makeRuntime as t } from "@arcgis/lumina";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- v4.32.0-next.116 */
4
+ v4.32.0-next.118 */
5
5
  const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/map-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: m, setAssetPath: o } = s;
6
6
  export {
7
7
  a as c,
@@ -0,0 +1,64 @@
1
+ import { makeT9nController as a, proxyExports as h, GenericController as l, watch as n } from "@arcgis/components-controllers";
2
+ import { g as d } from "./runtime.js";
3
+ import { signal as m } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
+ import * as p from "@arcgis/core/core/reactiveUtils.js";
5
+ import { a as i } from "./component-utils.js";
6
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
+ See https://js.arcgis.com/4.32/esri/copyright.txt for details.
8
+ v4.32.0-next.118 */
9
+ const E = a(d), _ = (s) => u(s);
10
+ class v extends l {
11
+ constructor(e) {
12
+ super(e), this._view$ = m(void 0), this._viewDestroyHandle = void 0, this._arcgisReadyEmitted = !1;
13
+ const { el: t } = e, r = t.view;
14
+ this.setProvisionalExports(void 0), Object.defineProperty(t, "view", {
15
+ get: () => this._view$.value,
16
+ set: (o) => {
17
+ if (this.exports === o)
18
+ return;
19
+ const c = t.view;
20
+ this._view$.value = o, this.exports = o, this.component.requestUpdate("view", c), !this._arcgisReadyEmitted && o != null && (this._arcgisReadyEmitted = !0, this.component.arcgisReady.emit());
21
+ },
22
+ configurable: !0,
23
+ enumerable: !0
24
+ }), e !== t && Object.defineProperty(e, "view", {
25
+ get: () => t.view,
26
+ set: (o) => {
27
+ t.view = o;
28
+ }
29
+ }), queueMicrotask(() => {
30
+ r && (t.view = r);
31
+ });
32
+ }
33
+ hostConnected() {
34
+ this._viewDestroyHandle ??= p.when(
35
+ () => this._view$.value?.destroyed,
36
+ () => void this.component.destroy?.().catch(console.error),
37
+ { sync: !0 }
38
+ ), this.component.manager.loadedCalled && i(this.component);
39
+ }
40
+ hostLoad() {
41
+ this.component.manager.destroyed || this._watchMetaProperties();
42
+ }
43
+ hostLoaded() {
44
+ const { el: e } = this.component, t = e.shadowRoot?.firstElementChild ?? e.firstElementChild ?? void 0;
45
+ e.childElem = t ?? e.childElem, e.isConnected && i(this.component);
46
+ }
47
+ hostDisconnected() {
48
+ typeof this.component.el.childElem == "object" && this._view$.value?.ui?.remove(this.component.el.childElem);
49
+ }
50
+ hostDestroy() {
51
+ this._viewDestroyHandle?.remove();
52
+ }
53
+ _watchMetaProperties() {
54
+ n(this.component, "position", (e) => {
55
+ this.component.el.childElem != null && typeof e == "string" && i(this.component);
56
+ }), n(this.component, "referenceElement", () => i(this.component));
57
+ }
58
+ }
59
+ const u = h(v);
60
+ export {
61
+ v as V,
62
+ _ as a,
63
+ E as u
64
+ };
@@ -1,68 +1,28 @@
1
- import { makeT9nController as l, proxyExports as m, watch as h } from "@arcgis/components-controllers";
2
- import { g as p } from "./runtime.js";
3
- import { AccessorController as d } from "@arcgis/components-controllers/accessor";
4
- import { a as o } from "./component-utils.js";
1
+ import { proxyExports as r } from "@arcgis/components-controllers";
2
+ import { AccessorController as i } from "@arcgis/components-controllers/accessor";
3
+ import { V as n } from "./useView.js";
5
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
5
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
7
- v4.32.0-next.116 */
8
- const V = l(p), E = (s, e) => (i, t) => y(i, s, t);
9
- class w extends d {
10
- hostConnected() {
11
- this.component.manager.loadedCalled && o(this.component);
6
+ v4.32.0-next.118 */
7
+ const m = (o, t) => (e, s) => l(e, o, s);
8
+ class a extends i {
9
+ constructor() {
10
+ super(...arguments), this.viewController = new n(this.component), this._viewWatchHandle = void 0;
12
11
  }
13
12
  async hostLoad() {
14
- await super.hostLoad(), !this.component.manager.destroyed && this._watchMetaProperties();
15
- }
16
- hostLoaded() {
17
- const { el: e } = this.component, i = e.shadowRoot?.firstElementChild ?? e.firstElementChild ?? void 0;
18
- e.childElem = i ?? e.childElem;
19
- let t = !1;
20
- const n = this.component.el.view;
21
- Object.defineProperty(this.component.el, "view", {
22
- get: () => this._instance.view,
23
- set: (c) => {
24
- const a = this.component.el.view, r = c;
25
- this._instance.view = r, this._instance.map = r?.map, this._watchViewDestroy(), this.component.requestUpdate("view", a), c && !t && (t = !0, this.component.arcgisReady.emit());
13
+ await super.hostLoad(), this._viewWatchHandle = this.reactiveUtils.watch(
14
+ () => this.component.el.view,
15
+ (t) => {
16
+ this._instance.view = t, this._instance.map = t?.map;
26
17
  },
27
- configurable: !0,
28
- enumerable: !0
29
- }), n && (this._instance.view = n), this.component.el.isConnected && (o(this.component), this._watchViewDestroy());
30
- }
31
- hostDisconnected() {
32
- typeof this.component.el.childElem == "object" && this.component.el.view?.ui?.remove(this.component.el.childElem);
18
+ { sync: !0, initial: !0 }
19
+ );
33
20
  }
34
21
  hostDestroy() {
35
- super.hostDestroy(), this._watchViewDestroyHandle?.remove();
36
- }
37
- _watchMetaProperties() {
38
- h(this.component, "position", (e) => {
39
- this.component.el.childElem != null && typeof e == "string" && o(this.component);
40
- }), h(this.component, "referenceElement", () => o(this.component));
41
- }
42
- /**
43
- * Destroy the component if view gets destroyed.
44
- *
45
- * When view is destroyed, component disconnect is triggered, which will
46
- * destroy the component in 1s but that can be too late, because in the
47
- * meanwhile, a watcher on the widget/viewModel instance may get triggered,
48
- * and throw an error if it's not able to access this.view.map or etc
49
- * (happens in VersionManagementViewModel for example).
50
- *
51
- * We can't check for this in disconnectedCallback though as, if the entire
52
- * component tree is removed, the disconnect for the component will be
53
- * triggered before that of arcgis-map, so the view might not be destroyed
54
- * yet at that point.
55
- */
56
- _watchViewDestroy() {
57
- this._watchViewDestroyHandle?.remove(), this._watchViewDestroyHandle = this.reactiveUtils.when(
58
- () => this.component.el.view?.destroyed === !0,
59
- () => void this.component.destroy().catch(console.error),
60
- { sync: !0 }
61
- );
22
+ this._viewWatchHandle?.remove(), super.hostDestroy();
62
23
  }
63
24
  }
64
- const y = m(w);
25
+ const l = r(a);
65
26
  export {
66
- E as m,
67
- V as u
27
+ m
68
28
  };
@@ -3,7 +3,7 @@ import { AccessorController as p, accessorSupport as a } from "@arcgis/component
3
3
  import { a as l } from "./component-utils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
6
- v4.32.0-next.116 */
6
+ v4.32.0-next.118 */
7
7
  const P = (d, s) => (i, e) => _(i, d, e);
8
8
  class y extends p {
9
9
  constructor(s, i, e) {
@@ -38,7 +38,7 @@ declare const useAreaMeasurement2dWidget: (component: import('@arcgis/components
38
38
  } | undefined) => AreaMeasurement2D & {
39
39
  viewModel: __esri.Accessor;
40
40
  };
41
- /** [AreaMeasurement2D](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html) calculates and displays the area and perimeter of a polygon only in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
41
+ /** AreaMeasurement2D component calculates and displays the area and perimeter of a polygon only in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
42
42
  */
43
43
  export declare class ArcgisAreaMeasurement2d extends LitElement {
44
44
  /**
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } 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.116 */
9
+ v4.32.0-next.118 */
10
10
  const m = n`arcgis-area-measurement-2d{display:block}`, h = r(
11
11
  // Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
12
12
  s
@@ -34,7 +34,7 @@ declare const useAreaMeasurement3dWidget: (component: import('@arcgis/components
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.AreaMeasurement3DProperties | undefined): __esri.AreaMeasurement3DProperties | Promise<__esri.AreaMeasurement3DProperties | undefined> | undefined;
36
36
  } | undefined) => AreaMeasurement3D;
37
- /** [AreaMeasurement3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement3D.html) calculates and displays the area and perimeter of a polygon. This component can be used in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) to measure the area and perimeter of a polygon.
37
+ /** AreaMeasurement3D component calculates and displays the area and perimeter of a polygon. This component can be used in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) to measure the area and perimeter of a polygon.
38
38
  */
39
39
  export declare class ArcgisAreaMeasurement3d extends LitElement {
40
40
  readonly analysis: __esri.AreaMeasurementAnalysis;
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
6
6
  import { css as n } 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.116 */
9
+ v4.32.0-next.118 */
10
10
  const l = n`arcgis-area-measurement-3d{display:block}`, h = r(e);
11
11
  class d extends i {
12
12
  constructor() {
@@ -67,7 +67,7 @@ export declare class ArcgisAttachments extends LitElement {
67
67
  label: string | nullish;
68
68
  position: __esri.UIPosition;
69
69
  referenceElement: ArcgisReferenceElement | Nil | string;
70
- readonly state: "ready" | "disabled" | "loading";
70
+ readonly state: "ready" | "loading" | "disabled";
71
71
  readonly submitting: boolean;
72
72
  /** Permanently destroy the component */
73
73
  destroy(): Promise<void>;
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
6
6
  import { css as h } 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.116 */
9
+ v4.32.0-next.118 */
10
10
  const n = h`arcgis-attachments{display:block}`, r = o(i);
11
11
  class l extends s {
12
12
  constructor() {
@@ -6,7 +6,7 @@ import { B as e } from "../../../../chunks/basemap-gallery-item.js";
6
6
  import "../../../../chunks/globalCss.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.116 */
9
+ v4.32.0-next.118 */
10
10
  export {
11
11
  e as BasemapGalleryItem
12
12
  };
@@ -12,29 +12,10 @@ declare const useBasemapGalleryViewModel: (component: import('@arcgis/components
12
12
  el: HTMLElement;
13
13
  autoDestroyDisabled?: boolean;
14
14
  destroy?: () => Promise<void>;
15
- } & Pick<BasemapGalleryViewModel, never> & {
16
- reactiveUtils?: typeof __esri.reactiveUtils;
17
- state?: "ready" | "disabled" | "loading" | "unsupported" | undefined;
18
- icon: Nil | string;
19
- label: Nil | string;
20
- referenceElement: ArcgisReferenceElement | Nil | string;
21
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
22
- position: __esri.UIPosition;
23
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
24
- name: string;
25
- }> | undefined;
26
- el: HTMLElement & {
27
- childElem?: HTMLElement & {
28
- ownedBy?: HTMLElement;
29
- };
30
- view?: __esri.MapView | __esri.SceneView | undefined;
31
- };
32
- autoDestroyDisabled: boolean;
33
- destroy: () => Promise<void>;
34
- }, options?: {
15
+ } & Pick<BasemapGalleryViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<BasemapGalleryViewModel>, options?: {
35
16
  editConstructorProperties(props: unknown): unknown;
36
17
  } | undefined) => BasemapGalleryViewModel;
37
- /** [BasemapGallery](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html) displays a collection images representing basemaps from [ArcGIS.com](https://www.arcgis.com/index.html) or a user-defined set of map or image services. When a new basemap is selected from the BasemapGallery, the map's basemap layers are removed and replaced with the basemap layers of the associated basemap selected in the gallery.
18
+ /** BasemapGallery component displays a collection images representing basemaps from [ArcGIS.com](https://www.arcgis.com/index.html) or a user-defined set of map or image services. When a new basemap is selected from the BasemapGallery, the map's basemap layers are removed and replaced with the basemap layers of the associated basemap selected in the gallery.
38
19
  */
39
20
  export declare class ArcgisBasemapGallery extends LitElement {
40
21
  activeBasemap: __esri.Basemap | nullish;
@@ -74,7 +55,7 @@ export declare class ArcgisBasemapGallery extends LitElement {
74
55
  /**
75
56
  * The current state of the component.
76
57
  */
77
- readonly state: "ready" | "disabled" | "loading" | "unsupported";
58
+ readonly state: "ready" | "loading" | "unsupported" | "disabled";
78
59
  /** Permanently destroy the component */
79
60
  destroy(): Promise<void>;
80
61
  readonly arcgisPropertyChange: TargetedEvent<this, {
@@ -5,14 +5,15 @@ import { classes as v } from "@arcgis/components-utils";
5
5
  import { when as b, watch as p } from "@arcgis/core/core/reactiveUtils.js";
6
6
  import M from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
7
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";
8
+ import { u as L } from "../../chunks/useView.js";
9
+ import { m as R } from "../../chunks/useViewModel.js";
9
10
  import { unsafeStatic as E, html as I } from "lit/static-html.js";
10
11
  import { g as n } from "../../chunks/globalCss.js";
11
12
  import { c as l, B as D } from "../../chunks/basemap-gallery-item.js";
12
13
  import { css as S } from "@lit/reactive-element/css-tag.js";
13
14
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
15
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
15
- v4.32.0-next.116 */
16
+ v4.32.0-next.118 */
16
17
  function A({ level: o, class: t, children: e }) {
17
18
  const s = k(o), a = `h${s}`, i = E(a);
18
19
  return I`<${i} .ariaLevel=${String(s)} class=${r(v(n.heading, t))} role=heading>${e}</${i}>`;
@@ -34,7 +34,7 @@ declare const useBasemapLayerListWidget: (component: import('@arcgis/components-
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.BasemapLayerListProperties | undefined): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties | undefined> | undefined;
36
36
  } | undefined) => BasemapLayerList;
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
+ /** BasemapLayerList component 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.
38
38
  */
39
39
  export declare class ArcgisBasemapLayerList extends LitElement {
40
40
  /**
@@ -88,7 +88,7 @@ export declare class ArcgisBasemapLayerList extends LitElement {
88
88
  showErrors: boolean;
89
89
  showFilter: boolean;
90
90
  showTemporaryLayerIndicators: boolean;
91
- readonly state: "ready" | "disabled" | "loading";
91
+ readonly state: "ready" | "loading" | "disabled";
92
92
  visibilityAppearance: "default" | "checkbox";
93
93
  /** Permanently destroy the component */
94
94
  destroy(): Promise<void>;
@@ -7,7 +7,7 @@ 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.116 */
10
+ v4.32.0-next.118 */
11
11
  const d = h`arcgis-basemap-layer-list{display:block}`, n = o(s);
12
12
  class c extends r {
13
13
  constructor() {
@@ -11,29 +11,10 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
11
11
  el: HTMLElement;
12
12
  autoDestroyDisabled?: boolean;
13
13
  destroy?: () => Promise<void>;
14
- } & Pick<BasemapToggleViewModel, never> & {
15
- reactiveUtils?: typeof __esri.reactiveUtils;
16
- state?: "ready" | "disabled" | "loading" | "incompatible-next-basemap" | undefined;
17
- icon: Nil | string;
18
- label: Nil | string;
19
- referenceElement: ArcgisReferenceElement | Nil | string;
20
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
21
- position: __esri.UIPosition;
22
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
23
- name: string;
24
- }> | undefined;
25
- el: HTMLElement & {
26
- childElem?: HTMLElement & {
27
- ownedBy?: HTMLElement;
28
- };
29
- view?: __esri.MapView | __esri.SceneView | undefined;
30
- };
31
- autoDestroyDisabled: boolean;
32
- destroy: () => Promise<void>;
33
- }, options?: {
14
+ } & Pick<BasemapToggleViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<BasemapToggleViewModel>, options?: {
34
15
  editConstructorProperties(props: unknown): unknown;
35
16
  } | undefined) => BasemapToggleViewModel;
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.
17
+ /** BasemapToggle component 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.
37
18
  */
38
19
  export declare class ArcgisBasemapToggle extends LitElement {
39
20
  private messages;
@@ -61,7 +42,7 @@ export declare class ArcgisBasemapToggle extends LitElement {
61
42
  referenceElement: ArcgisReferenceElement | Nil | string;
62
43
  /** The visible elements that are displayed within the widget. */
63
44
  showTitle: boolean;
64
- readonly state: "ready" | "disabled" | "loading" | "incompatible-next-basemap";
45
+ readonly state: "ready" | "loading" | "disabled" | "incompatible-next-basemap";
65
46
  /** Permanently destroy the component */
66
47
  destroy(): Promise<void>;
67
48
  /** Toggles to the [next basemap](#nextBasemap). */
@@ -1,16 +1,17 @@
1
- import { c as B } from "../../chunks/runtime.js";
1
+ import { c as f } from "../../chunks/runtime.js";
2
2
  import { html as l } from "lit-html";
3
- import { usePropertyChange as f } from "@arcgis/components-controllers";
3
+ import { usePropertyChange as B } from "@arcgis/components-controllers";
4
4
  import { classes as m } from "@arcgis/components-utils";
5
5
  import { getBasemapThumbnailUrl as S } from "@arcgis/core/applications/Components/basemapUtils.js";
6
6
  import x from "@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js";
7
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";
8
+ import { u as I } from "../../chunks/useView.js";
9
+ import { m as C } from "../../chunks/useViewModel.js";
9
10
  import { g as u } from "../../chunks/globalCss.js";
10
11
  import { css as L } from "@lit/reactive-element/css-tag.js";
11
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
13
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
13
- v4.32.0-next.116 */
14
+ v4.32.0-next.118 */
14
15
  const A = L`arcgis-basemap-toggle{display:block}`, s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
15
16
  base: s,
16
17
  secondaryBasemapImage: `${s}__image--secondary`,
@@ -23,7 +24,7 @@ const A = L`arcgis-basemap-toggle{display:block}`, s = "esri-basemap-toggle", o
23
24
  }, D = C(x);
24
25
  class E extends T {
25
26
  constructor() {
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();
27
+ 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 = B()("nextBasemap", "state"), this.arcgisReady = M();
27
28
  }
28
29
  static {
29
30
  this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
@@ -59,7 +60,7 @@ class E extends T {
59
60
  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>`;
60
61
  }
61
62
  }
62
- B("arcgis-basemap-toggle", E);
63
+ f("arcgis-basemap-toggle", E);
63
64
  export {
64
65
  E as ArcgisBasemapToggle
65
66
  };
@@ -34,7 +34,7 @@ declare const useBookmarksWidget: (component: import('@arcgis/components-control
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.BookmarksProperties | undefined): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties | undefined> | undefined;
36
36
  } | undefined) => Bookmarks;
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
+ /** Bookmarks component 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).
38
38
  */
39
39
  export declare class ArcgisBookmarks extends LitElement {
40
40
  /**
@@ -7,7 +7,7 @@ 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.116 */
10
+ v4.32.0-next.118 */
11
11
  const r = d`arcgis-bookmarks{display:block}`, n = h(s);
12
12
  class m extends o {
13
13
  constructor() {
@@ -34,7 +34,7 @@ declare const useBuildingExplorerWidget: (component: import('@arcgis/components-
34
34
  }, options?: {
35
35
  editConstructorProperties(props: __esri.BuildingExplorerProperties | undefined): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties | undefined> | undefined;
36
36
  } | undefined) => BuildingExplorer;
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
+ /** BuildingExplorer component 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.
38
38
  */
39
39
  export declare class ArcgisBuildingExplorer extends LitElement {
40
40
  /**
@@ -62,7 +62,7 @@ export declare class ArcgisBuildingExplorer extends LitElement {
62
62
  readonly phase: __esri.BuildingPhase;
63
63
  position: __esri.UIPosition;
64
64
  referenceElement: ArcgisReferenceElement | Nil | string;
65
- readonly state: "ready" | "disabled" | "loading" | "failed";
65
+ readonly state: "ready" | "loading" | "failed" | "disabled";
66
66
  /** Permanently destroy the component */
67
67
  destroy(): Promise<void>;
68
68
  readonly arcgisPropertyChange: TargetedEvent<this, {
@@ -6,7 +6,7 @@ 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.116 */
9
+ v4.32.0-next.118 */
10
10
  const a = r`arcgis-building-explorer{display:block}`, d = h(s);
11
11
  class n extends t {
12
12
  constructor() {
@@ -18,7 +18,15 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
18
18
  icon: Nil | string;
19
19
  label: Nil | string;
20
20
  referenceElement: ArcgisReferenceElement | Nil | string;
21
- position: __esri.UIPosition;
21
+ position: __esri.
22
+ /**
23
+ * If true, the component will not be destroyed automatically when it is
24
+ * disconnected from the document. This is useful when you want to move the
25
+ * component to a different place on the page, or temporarily hide it. If this
26
+ * is set, make sure to call the \`destroy\` method when you are done to prevent
27
+ * memory leaks.
28
+ */
29
+ UIPosition;
22
30
  arcgisReady: import('@arcgis/components-controllers').EventEmitter;
23
31
  arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
24
32
  name: string;
@@ -34,7 +42,7 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
34
42
  }, options?: {
35
43
  editConstructorProperties(props: __esri.CatalogLayerListProperties | undefined): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties | undefined> | undefined;
36
44
  } | undefined) => CatalogLayerList;
37
- /** The [CatalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html) provides a way to display and interact with CatalogLayers.
45
+ /** The CatalogLayerList component provides a way to display and interact with CatalogLayers.
38
46
  */
39
47
  export declare class ArcgisCatalogLayerList extends LitElement {
40
48
  /**
@@ -75,7 +83,7 @@ export declare class ArcgisCatalogLayerList extends LitElement {
75
83
  showFilter: boolean;
76
84
  showHeading: boolean;
77
85
  showTemporaryLayerIndicators: boolean;
78
- readonly state: "ready" | "disabled" | "loading";
86
+ readonly state: "ready" | "loading" | "disabled";
79
87
  visibilityAppearance: "default" | "checkbox";
80
88
  /** Permanently destroy the component */
81
89
  destroy(): Promise<void>;
@@ -7,7 +7,7 @@ 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.116 */
10
+ v4.32.0-next.118 */
11
11
  const d = h`arcgis-catalog-layer-list{display:block}`, n = r(s);
12
12
  class c extends o {
13
13
  constructor() {
@@ -11,29 +11,10 @@ declare const useCompassViewModel: (component: import('@arcgis/components-contro
11
11
  el: HTMLElement;
12
12
  autoDestroyDisabled?: boolean;
13
13
  destroy?: () => Promise<void>;
14
- } & Pick<CompassViewModel, never> & {
15
- reactiveUtils?: typeof __esri.reactiveUtils;
16
- state?: "rotation" | "disabled" | "compass" | undefined;
17
- icon: Nil | string;
18
- label: Nil | string;
19
- referenceElement: ArcgisReferenceElement | Nil | string;
20
- arcgisReady: import('@arcgis/components-controllers').EventEmitter;
21
- position: __esri.UIPosition;
22
- arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
23
- name: string;
24
- }> | undefined;
25
- el: HTMLElement & {
26
- childElem?: HTMLElement & {
27
- ownedBy?: HTMLElement;
28
- };
29
- view?: __esri.MapView | __esri.SceneView | undefined;
30
- };
31
- autoDestroyDisabled: boolean;
32
- destroy: () => Promise<void>;
33
- }, options?: {
14
+ } & Pick<CompassViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<CompassViewModel>, options?: {
34
15
  editConstructorProperties(props: unknown): unknown;
35
16
  } | undefined) => CompassViewModel;
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).
17
+ /** The Compass component 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).
37
18
  */
38
19
  export declare class ArcgisCompass extends LitElement {
39
20
  private messages;