@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,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 NavigationToggle } from '@arcgis/core/widgets/NavigationToggle.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useNavigationToggleWidget: (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.NavigationToggle, "label" | "viewModel" | "icon" | "layout"> & {
14
+ } & Pick<NavigationToggle, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.NavigationToggleViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useNavigationToggleWidget: (component: import('@arcgis/components-
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.NavigationToggleProperties): __esri.NavigationToggleProperties | Promise<__esri.NavigationToggleProperties>;
35
- } | undefined) => __esri.NavigationToggle;
35
+ editConstructorProperties(props: __esri.NavigationToggleProperties | undefined): __esri.NavigationToggleProperties | Promise<__esri.NavigationToggleProperties | undefined> | undefined;
36
+ } | undefined) => NavigationToggle;
36
37
  /** The [NavigationToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle.html) two simple buttons for toggling the [navigation mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle-NavigationToggleViewModel.html#navigationMode) of a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
37
38
  */
38
39
  export declare class ArcgisNavigationToggle extends LitElement {
@@ -1,22 +1,22 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsNavigationToggle as i } from "@arcgis/core-adapter";
3
- import { usePropertyChange as e } from "@arcgis/components-controllers";
4
- import { m as o } from "../../chunks/useWidget.js";
5
- import { LitElement as s, createEvent as a, noShadowRoot as g } from "@arcgis/lumina";
2
+ import { usePropertyChange as i } from "@arcgis/components-controllers";
3
+ import e from "@arcgis/core/widgets/NavigationToggle.js";
4
+ import { LitElement as o, createEvent as s, noShadowRoot as a } from "@arcgis/lumina";
5
+ import { m as g } 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 n = r`arcgis-navigation-toggle{display:block}`, l = o(i);
11
- class h extends s {
9
+ v4.32.0-next.88 */
10
+ const n = r`arcgis-navigation-toggle{display:block}`, l = g(e);
11
+ class h extends o {
12
12
  constructor() {
13
- super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.position = "bottom-left", this.state = this.viewModel.state, this.navigationMode = this.viewModel.navigationMode, this.arcgisPropertyChange = e()("layout", "state"), this.arcgisReady = a();
13
+ super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.position = "bottom-left", this.state = this.viewModel.state, this.navigationMode = this.viewModel.navigationMode, this.arcgisPropertyChange = i()("layout", "state"), this.arcgisReady = s();
14
14
  }
15
15
  static {
16
16
  this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, position: 1, referenceElement: 1, state: 3, navigationMode: 3 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = g;
19
+ this.shadowRootOptions = a;
20
20
  }
21
21
  static {
22
22
  this.styles = n;
@@ -2,10 +2,11 @@
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 { default as OrientedImageryViewer } from '@arcgis/core/widgets/OrientedImageryViewer';
5
+ import { default as OrientedImageryLayer } from '@arcgis/core/layers/OrientedImageryLayer.js';
6
+ import { default as OrientedImageryViewer } from '@arcgis/core/widgets/OrientedImageryViewer.js';
6
7
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
- import { ArcgisReferenceElement } from '../../utils/component-utils';
8
8
  import { PropertyValues } from 'lit';
9
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
9
10
 
10
11
  export type OrientedImageryViewerWidget = InstanceType<typeof OrientedImageryViewer>;
11
12
  declare const useOrientedImageryViewerWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
@@ -13,7 +14,7 @@ declare const useOrientedImageryViewerWidget: (component: import('@arcgis/compon
13
14
  el: HTMLElement;
14
15
  autoDestroyDisabled?: boolean;
15
16
  destroy?: () => Promise<void>;
16
- } & Pick<OrientedImageryViewer, "label" | "viewModel" | "icon" | "disabled" | "layer" | "currentCoverageVisible" | "galleryOpened" | "imageEnhancementToolActive" | "isAdditionalCoverageVisible" | "isAdditionalPointSourcesVisible" | "mapImageConversionToolState" | "navigationToolActive"> & {
17
+ } & Pick<OrientedImageryViewer, never> & {
17
18
  reactiveUtils?: typeof __esri.reactiveUtils;
18
19
  state?: unknown;
19
20
  viewModel?: __esri.OrientedImageryViewerViewModel | undefined;
@@ -34,7 +35,7 @@ declare const useOrientedImageryViewerWidget: (component: import('@arcgis/compon
34
35
  autoDestroyDisabled: boolean;
35
36
  destroy: () => Promise<void>;
36
37
  }, options?: {
37
- editConstructorProperties(props: __esri.OrientedImageryViewerProperties): __esri.OrientedImageryViewerProperties | Promise<__esri.OrientedImageryViewerProperties>;
38
+ editConstructorProperties(props: __esri.OrientedImageryViewerProperties | undefined): __esri.OrientedImageryViewerProperties | Promise<__esri.OrientedImageryViewerProperties | undefined> | undefined;
38
39
  } | undefined) => OrientedImageryViewer;
39
40
  /** The [OrientedImageryViewer](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-OrientedImageryViewer.html) allows the user to explore and use their oriented images.
40
41
  */
@@ -62,13 +63,13 @@ export declare class ArcgisOrientedImageryViewer extends LitElement {
62
63
  isAdditionalPointSourcesVisible: boolean;
63
64
  /** The component's default label. */
64
65
  label: string | nullish;
65
- layer: nullish | __esri.OrientedImageryLayer;
66
+ layer: OrientedImageryLayer | nullish;
66
67
  mapImageConversionToolState: boolean;
67
68
  navigationToolActive: boolean;
68
69
  orientedImageryLayerItemId?: string;
69
70
  position: __esri.UIPosition;
70
71
  referenceElement: ArcgisReferenceElement | Nil | string;
71
- readonly referencePoint: nullish | __esri.Point;
72
+ readonly referencePoint: __esri.Point | nullish;
72
73
  /** Permanently destroy the component */
73
74
  destroy(): Promise<void>;
74
75
  readonly arcgisPropertyChange: TargetedEvent<this, {
@@ -1,25 +1,26 @@
1
- import { c as s } from "../../chunks/runtime.js";
1
+ import { c as t } from "../../chunks/runtime.js";
2
2
  import { usePropertyChange as a } from "@arcgis/components-controllers";
3
- import { newLayersOrientedImageryLayer as r, newWidgetsOrientedImageryViewer as o } from "@arcgis/core-adapter";
4
- import { m as d } from "../../chunks/useWidget.js";
5
- import { LitElement as n, createEvent as l, noShadowRoot as g } from "@arcgis/lumina";
6
- import { css as h } from "@lit/reactive-element/css-tag.js";
3
+ import s from "@arcgis/core/layers/OrientedImageryLayer.js";
4
+ import r from "@arcgis/core/widgets/OrientedImageryViewer.js";
5
+ import { LitElement as o, createEvent as d, noShadowRoot as n } from "@arcgis/lumina";
6
+ import { m as l } from "../../chunks/useWidget.js";
7
+ import { css as g } from "@lit/reactive-element/css-tag.js";
7
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
9
- v4.32.0-next.85 */
10
- const m = h`arcgis-oriented-imagery-viewer{display:block}`, y = d(o);
11
- class c extends n {
10
+ v4.32.0-next.88 */
11
+ const h = g`arcgis-oriented-imagery-viewer{display:block}`, m = l(r);
12
+ class y extends o {
12
13
  constructor() {
13
- super(...arguments), this.widget = y(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.position = "bottom-left", this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = a()("imageGalleryEnabled", "layer"), this.arcgisReady = l();
14
+ super(...arguments), this.widget = m(this), this._hasOrientedImageryLayerToAdd = !1, this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentCoverageVisible = this.widget.currentCoverageVisible, this.disabled = this.widget.disabled, this.galleryOpened = this.widget.galleryOpened, this.icon = this.widget.icon, this.imageEnhancementToolActive = this.widget.imageEnhancementToolActive, this.imageGalleryEnabled = this.widget.imageGalleryEnabled, this.isAdditionalCoverageVisible = this.widget.isAdditionalCoverageVisible, this.isAdditionalPointSourcesVisible = this.widget.isAdditionalPointSourcesVisible, this.label = this.widget.label, this.layer = this.widget.layer, this.mapImageConversionToolState = this.widget.mapImageConversionToolState, this.navigationToolActive = this.widget.navigationToolActive, this.position = "bottom-left", this.referencePoint = this.widget.referencePoint, this.arcgisPropertyChange = a()("imageGalleryEnabled", "layer"), this.arcgisReady = d();
14
15
  }
15
16
  static {
16
17
  this.properties = { autoDestroyDisabled: 5, currentCoverageVisible: 5, disabled: 5, galleryOpened: 5, icon: 1, imageEnhancementToolActive: 5, imageGalleryEnabled: 4, isAdditionalCoverageVisible: 5, isAdditionalPointSourcesVisible: 5, label: 1, layer: 0, mapImageConversionToolState: 5, navigationToolActive: 5, orientedImageryLayerItemId: 1, position: 1, referenceElement: 1, referencePoint: 0 };
17
18
  }
18
19
  static {
19
- this.shadowRootOptions = g;
20
+ this.shadowRootOptions = n;
20
21
  }
21
22
  static {
22
- this.styles = m;
23
+ this.styles = h;
23
24
  }
24
25
  //#endregion
25
26
  //#region Public Methods
@@ -32,13 +33,11 @@ class c extends n {
32
33
  willUpdate(e) {
33
34
  if (e.has("orientedImageryLayerItemId")) {
34
35
  const i = this.orientedImageryLayerItemId;
35
- i && this.widget && r({
36
+ i && this.widget && (this.layer = new s({
36
37
  portalItem: {
37
38
  id: i
38
39
  }
39
- }).then((t) => {
40
- this.layer = t, this.widget.view ? this.widget.view.map.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0;
41
- }).catch(console.error);
40
+ }), this.widget.view ? this.widget.view.map.add(this.layer) : this._hasOrientedImageryLayerToAdd = !0);
42
41
  }
43
42
  }
44
43
  loaded() {
@@ -53,7 +52,7 @@ class c extends n {
53
52
  e && (this.widget.view?.map.add(e), this._hasOrientedImageryLayerToAdd = !1);
54
53
  }
55
54
  }
56
- s("arcgis-oriented-imagery-viewer", c);
55
+ t("arcgis-oriented-imagery-viewer", y);
57
56
  export {
58
- c as ArcgisOrientedImageryViewer
57
+ y as ArcgisOrientedImageryViewer
59
58
  };
@@ -4,7 +4,7 @@ import { LitElement as r, createEvent as o, noShadowRoot as n } from "@arcgis/lu
4
4
  import { css as c } from "@lit/reactive-element/css-tag.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
7
- v4.32.0-next.85 */
7
+ v4.32.0-next.88 */
8
8
  const h = c`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`;
9
9
  class a extends r {
10
10
  //#endregion
@@ -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 Print } from '@arcgis/core/widgets/Print.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const usePrintWidget: (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.Print, "label" | "viewModel" | "icon" | "headingLevel" | "portal" | "allowedFormats" | "allowedLayouts" | "exportedLinks" | "extraParameters" | "printServiceUrl" | "showPrintAreaEnabled" | "templateCustomTextElements" | "templateOptions"> & {
14
+ } & Pick<Print, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.PrintViewModel | undefined;
@@ -31,8 +32,8 @@ declare const usePrintWidget: (component: import('@arcgis/components-controllers
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.PrintProperties): __esri.PrintProperties | Promise<__esri.PrintProperties>;
35
- } | undefined) => __esri.Print;
35
+ editConstructorProperties(props: __esri.PrintProperties | undefined): __esri.PrintProperties | Promise<__esri.PrintProperties | undefined> | undefined;
36
+ } | undefined) => Print;
36
37
  /** [Print](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html) connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
37
38
  */
38
39
  export declare class ArcgisPrint extends LitElement {
@@ -1,23 +1,23 @@
1
1
  import { c as i } from "../../chunks/runtime.js";
2
- import { newWidgetsPrint as s } from "@arcgis/core-adapter";
3
- import { usePropertyChange as r } from "@arcgis/components-controllers";
4
- import { m as o } from "../../chunks/useWidget.js";
5
- import { LitElement as a, createEvent as l, noShadowRoot as n } from "@arcgis/lumina";
2
+ import { usePropertyChange as s } from "@arcgis/components-controllers";
6
3
  import { reEmitEvent as e } from "@arcgis/components-controllers/accessor";
4
+ import r from "@arcgis/core/widgets/Print.js";
5
+ import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
6
+ import { m as n } 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-print{display:block}`, m = o(s);
12
- class p extends a {
10
+ v4.32.0-next.88 */
11
+ const d = h`arcgis-print{display:block}`, m = n(r);
12
+ class p extends o {
13
13
  constructor() {
14
- super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.allowedFormats = this.widget.allowedFormats, this.allowedLayouts = this.widget.allowedLayouts, this.autoDestroyDisabled = !1, this.exportedLinks = this.widget.exportedLinks, this.extraParameters = this.widget.extraParameters, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.includeDefaultTemplatesDisabled = this.widget.includeDefaultTemplates, this.label = this.widget.label, this.portal = this.widget.portal, this.position = "bottom-left", this.printServiceUrl = this.widget.printServiceUrl, this.showPrintAreaEnabled = this.widget.showPrintAreaEnabled, this.state = this.viewModel.state, this.templateCustomTextElements = this.widget.templateCustomTextElements, this.templateOptions = this.widget.templateOptions, this.arcgisComplete = e(() => this.widget, "complete"), this.arcgisPropertyChange = r()("state"), this.arcgisReady = l(), this.arcgisSubmit = e(() => this.widget, "submit");
14
+ super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.allowedFormats = this.widget.allowedFormats, this.allowedLayouts = this.widget.allowedLayouts, this.autoDestroyDisabled = !1, this.exportedLinks = this.widget.exportedLinks, this.extraParameters = this.widget.extraParameters, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.includeDefaultTemplatesDisabled = this.widget.includeDefaultTemplates, this.label = this.widget.label, this.portal = this.widget.portal, this.position = "bottom-left", this.printServiceUrl = this.widget.printServiceUrl, this.showPrintAreaEnabled = this.widget.showPrintAreaEnabled, this.state = this.viewModel.state, this.templateCustomTextElements = this.widget.templateCustomTextElements, this.templateOptions = this.widget.templateOptions, this.arcgisComplete = e(() => this.widget, "complete"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = a(), this.arcgisSubmit = e(() => this.widget, "submit");
15
15
  }
16
16
  static {
17
17
  this.properties = { allowedFormats: [1, { converter: (t) => typeof t == "string" && t !== "all" ? t.split(",") : t }], allowedLayouts: [1, { converter: (t) => typeof t == "string" && t !== "all" ? t.split(",") : t }], autoDestroyDisabled: 5, exportedLinks: 0, extraParameters: 1, headingLevel: 9, icon: 1, includeDefaultTemplatesDisabled: 5, label: 1, portal: 0, position: 1, printServiceUrl: 1, referenceElement: 1, showPrintAreaEnabled: 7, state: 3, templateCustomTextElements: 0, templateOptions: 0 };
18
18
  }
19
19
  static {
20
- this.shadowRootOptions = n;
20
+ this.shadowRootOptions = l;
21
21
  }
22
22
  static {
23
23
  this.styles = d;
@@ -1,10 +1,11 @@
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';
6
- import { MeasurementSystem } from '../types';
4
+ import { Nil } from '@arcgis/components-utils';
5
+ import { default as ScaleBarViewModel } from '@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js';
7
6
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
8
+ import { MeasurementSystem } from '../types';
8
9
 
9
10
  type ScaleBarStyle = "line" | "ruler";
10
11
  type ScaleBarUnit = MeasurementSystem | "dual";
@@ -13,7 +14,7 @@ declare const useScaleBarViewModel: (component: import('@arcgis/components-contr
13
14
  el: HTMLElement;
14
15
  autoDestroyDisabled?: boolean;
15
16
  destroy?: () => Promise<void>;
16
- } & Pick<__esri.ScaleBarViewModel, never> & {
17
+ } & Pick<ScaleBarViewModel, never> & {
17
18
  reactiveUtils?: typeof __esri.reactiveUtils;
18
19
  state?: "ready" | "disabled" | undefined;
19
20
  icon: Nil | string;
@@ -34,7 +35,7 @@ declare const useScaleBarViewModel: (component: import('@arcgis/components-contr
34
35
  destroy: () => Promise<void>;
35
36
  }, options?: {
36
37
  editConstructorProperties(props: unknown): unknown;
37
- } | undefined) => __esri.ScaleBarViewModel;
38
+ } | undefined) => ScaleBarViewModel;
38
39
  /** The [ScaleBar](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html) displays a scale bar on the map or in a specified HTML node.
39
40
  */
40
41
  export declare class ArcgisScaleBar extends LitElement {
@@ -1,15 +1,20 @@
1
- import { c as g } from "../../chunks/runtime.js";
2
- import { ref as w } from "lit-html/directives/ref.js";
1
+ import { c as C } from "../../chunks/runtime.js";
2
+ import { ref as g } from "lit-html/directives/ref.js";
3
3
  import { html as u } from "lit-html";
4
- import { g as v } from "../../chunks/globalCss.js";
5
- import { u as y, m as S } from "../../chunks/useViewModel.js";
6
4
  import { classes as d } from "@arcgis/components-utils";
7
- import { load as _ } from "@arcgis/components-controllers";
8
- import { importIntl as B, importCoreReactiveUtils as L, importApplicationsComponentsGetDefaultUnits as U, newWidgetsScaleBarScaleBarViewModel as M } from "@arcgis/core-adapter";
9
- import { LitElement as R, createEvent as D, noShadowRoot as x, safeClassMap as a, safeStyleMap as C } from "@arcgis/lumina";
5
+ import { getDefaultUnitForView as w } from "@arcgis/core/applications/Components/getDefaultUnits.js";
6
+ import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
7
+ import { formatNumber as S } from "@arcgis/core/intl.js";
8
+ import L from "@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js";
9
+ import { LitElement as B, createEvent as M, noShadowRoot as R, safeClassMap as a, safeStyleMap as f } from "@arcgis/lumina";
10
+ import { u as x, m as D } from "../../chunks/useViewModel.js";
11
+ import { g as v } from "../../chunks/globalCss.js";
10
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
13
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
12
- v4.32.0-next.85 */
14
+ v4.32.0-next.88 */
15
+ function $(_ = 0, e = 0) {
16
+ return { x: _, y: e };
17
+ }
13
18
  const r = "esri-scale-bar", t = {
14
19
  base: r,
15
20
  labelContainer: `${r}__label-container`,
@@ -26,20 +31,16 @@ const r = "esri-scale-bar", t = {
26
31
  barContainer: `${r}__bar-container`,
27
32
  rulerBarContainer: `${r}__bar-container--ruler`,
28
33
  lineBarContainer: `${r}__bar-container--line`
29
- };
30
- function $(f = 0, e = 0) {
31
- return { x: f, y: e };
32
- }
33
- const k = S(M);
34
- class O extends R {
34
+ }, U = D(L);
35
+ class k extends B {
35
36
  constructor() {
36
- super(...arguments), this._defaultUnit = "metric", this.intlUtils = _(B), this.messages = y(), this.reactiveUtils = _(L), this._scaleComputedFrom = $(), this.unitUtils = _(U), this.viewModel = k(this), this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.position = "top-left", this.arcgisReady = D();
37
+ super(...arguments), this._defaultUnit = "metric", this.messages = x(), this._scaleComputedFrom = $(), this.viewModel = U(this), this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.position = "top-left", this.arcgisReady = M();
37
38
  }
38
39
  static {
39
40
  this.properties = { autoDestroyDisabled: 5, barStyle: 1, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, unit: 1 };
40
41
  }
41
42
  static {
42
- this.shadowRootOptions = x;
43
+ this.shadowRootOptions = R;
43
44
  }
44
45
  /**
45
46
  * Units to use for the scale bar.
@@ -65,10 +66,10 @@ class O extends R {
65
66
  this._handleRootCreateOrUpdate();
66
67
  }
67
68
  loaded() {
68
- this.manager.onLifecycle(() => this.reactiveUtils.watch(() => {
69
+ this.manager.onLifecycle(() => y(() => {
69
70
  const e = this.viewModel.view;
70
71
  return {
71
- defaultUnit: e ? this.unitUtils.getDefaultUnitForView(e) : void 0,
72
+ defaultUnit: e ? w(e) : void 0,
72
73
  stationary: e?.stationary,
73
74
  center: e?.center,
74
75
  scale: e?.scale,
@@ -86,11 +87,11 @@ class O extends R {
86
87
  _handleRootCreateOrUpdate() {
87
88
  if (!this.viewModel)
88
89
  return;
89
- const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(), l = i.left + window.pageXOffset, o = i.top + window.pageYOffset, s = $(l, o);
90
- (s.x !== e.x || s.y !== e.y) && (this._scaleComputedFrom = s);
90
+ const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(), o = i.left + window.pageXOffset, l = i.top + window.pageYOffset, n = $(o, l);
91
+ (n.x !== e.x || n.y !== e.y) && (this._scaleComputedFrom = n);
91
92
  }
92
93
  _formatDistance(e, i) {
93
- return this.intlUtils.formatNumber(e, {
94
+ return S(e, {
94
95
  style: "unit",
95
96
  unit: i,
96
97
  unitDisplay: "short"
@@ -102,36 +103,36 @@ class O extends R {
102
103
  const e = this.viewModel.state === "disabled", i = {
103
104
  [v.disabled]: e
104
105
  };
105
- let l, o;
106
+ let o, l;
106
107
  if (!e) {
107
- const { unit: s, barStyle: c } = this, p = s === "imperial" || s === "dual", b = s === "metric" || s === "dual", m = 100, h = s === "dual" ? "line" : c;
108
- if (p) {
109
- const n = this.viewModel.getScaleBarProperties(m, "imperial");
110
- n && (o = h === "ruler" ? this._renderRuler(n) : this._renderLine(n, "bottom"));
111
- }
108
+ const { unit: n, barStyle: c } = this, b = n === "imperial" || n === "dual", p = n === "metric" || n === "dual", m = 100, h = n === "dual" ? "line" : c;
112
109
  if (b) {
113
- const n = this.viewModel.getScaleBarProperties(m, "metric");
114
- n && (l = h === "ruler" ? this._renderRuler(n) : this._renderLine(n, "top"));
110
+ const s = this.viewModel.getScaleBarProperties(m, "imperial");
111
+ s && (l = h === "ruler" ? this._renderRuler(s) : this._renderLine(s, "bottom"));
112
+ }
113
+ if (p) {
114
+ const s = this.viewModel.getScaleBarProperties(m, "metric");
115
+ s && (o = h === "ruler" ? this._renderRuler(s) : this._renderLine(s, "top"));
115
116
  }
116
117
  }
117
- return u`<div class=${a(d(t.base, v.widget, i))} ${w(this._handleContainerRef)}>${l}${o}</div>`;
118
+ return u`<div class=${a(d(t.base, v.widget, i))} ${g(this._handleContainerRef)}>${o}${l}</div>`;
118
119
  }
119
120
  _renderRuler(e) {
120
- const { length: i, unit: l, value: o } = e, s = Math.round(i), c = this._formatDistance(o, l);
121
- return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${C({ width: `${s}px` })}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer, t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${c}</div></div></div>`;
121
+ const { length: i, unit: o, value: l } = e, n = Math.round(i), c = this._formatDistance(l, o);
122
+ return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${f({ width: `${n}px` })}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer, t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${c}</div></div></div>`;
122
123
  }
123
124
  _renderLine(e, i) {
124
- const { length: l, unit: o, value: s } = e, c = Math.round(l), p = this._formatDistance(s, o), b = {
125
+ const { length: o, unit: l, value: n } = e, c = Math.round(o), b = this._formatDistance(n, l), p = {
125
126
  [t.topLabelContainer]: i === "top",
126
127
  [t.bottomLabelContainer]: i === "bottom"
127
- }, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer, b))}><div class=${a(t.label)}>${p}</div></div>`, h = {
128
+ }, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer, p))}><div class=${a(t.label)}>${b}</div></div>`, h = {
128
129
  [t.topLine]: i === "top",
129
130
  [t.bottomLine]: i === "bottom"
130
- }, n = u`<div class=${a(d(t.line, h))} style=${C({ width: `${c}px` })}></div>`;
131
- return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[n, m]}</div>`;
131
+ }, s = u`<div class=${a(d(t.line, h))} style=${f({ width: `${c}px` })}></div>`;
132
+ return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[s, m]}</div>`;
132
133
  }
133
134
  }
134
- g("arcgis-scale-bar", O);
135
+ C("arcgis-scale-bar", k);
135
136
  export {
136
- O as ArcgisScaleBar
137
+ k as ArcgisScaleBar
137
138
  };
@@ -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 ScaleRangeSlider } from '@arcgis/core/widgets/ScaleRangeSlider.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useScaleRangeSliderWidget: (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.ScaleRangeSlider, "label" | "viewModel" | "icon" | "mode" | "disabled" | "layer" | "maxScale" | "maxScaleLimit" | "minScale" | "minScaleLimit" | "region"> & {
14
+ } & Pick<ScaleRangeSlider, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.ScaleRangeSliderViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useScaleRangeSliderWidget: (component: import('@arcgis/components-
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.ScaleRangeSliderProperties): __esri.ScaleRangeSliderProperties | Promise<__esri.ScaleRangeSliderProperties>;
35
- } | undefined) => __esri.ScaleRangeSlider;
35
+ editConstructorProperties(props: __esri.ScaleRangeSliderProperties | undefined): __esri.ScaleRangeSliderProperties | Promise<__esri.ScaleRangeSliderProperties | undefined> | undefined;
36
+ } | undefined) => ScaleRangeSlider;
36
37
  /** The [ScaleRangeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html) allows the user to set a minimum and maximum scale based on named scale ranges.
37
38
  */
38
39
  export declare class ArcgisScaleRangeSlider extends LitElement {
@@ -1,22 +1,22 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
- import { newWidgetsScaleRangeSlider as i } from "@arcgis/core-adapter";
3
- import { usePropertyChange as t } from "@arcgis/components-controllers";
4
- import { m as s } from "../../chunks/useWidget.js";
5
- import { LitElement as a, createEvent as l, noShadowRoot as n } from "@arcgis/lumina";
6
- import { css as o } from "@lit/reactive-element/css-tag.js";
2
+ import { usePropertyChange as i } from "@arcgis/components-controllers";
3
+ import t from "@arcgis/core/widgets/ScaleRangeSlider.js";
4
+ import { LitElement as s, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
5
+ import { m as o } from "../../chunks/useWidget.js";
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.85 */
10
- const c = o`arcgis-scale-range-slider{display:block}`, r = s(i);
11
- class d extends a {
9
+ v4.32.0-next.88 */
10
+ const c = n`arcgis-scale-range-slider{display:block}`, r = o(t);
11
+ class h extends s {
12
12
  constructor() {
13
- super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.hidePreview = this.widget.visibleElements.preview, this.hideScaleMenusMaxScaleMenu = this.widget.visibleElements.scaleMenus.maxScaleMenu, this.hideScaleMenusMinScaleMenu = this.widget.visibleElements.scaleMenus.minScaleMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.maxScale = this.widget.maxScale, this.maxScaleLimit = this.widget.maxScaleLimit, this.minScale = this.widget.minScale, this.minScaleLimit = this.widget.minScaleLimit, this.mode = this.widget.mode, this.position = "bottom-left", this.region = this.widget.region, this.state = this.viewModel.state, this.arcgisPropertyChange = t()("state", "minScale", "maxScale"), this.arcgisReady = l();
13
+ super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.hidePreview = this.widget.visibleElements.preview, this.hideScaleMenusMaxScaleMenu = this.widget.visibleElements.scaleMenus.maxScaleMenu, this.hideScaleMenusMinScaleMenu = this.widget.visibleElements.scaleMenus.minScaleMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.maxScale = this.widget.maxScale, this.maxScaleLimit = this.widget.maxScaleLimit, this.minScale = this.widget.minScale, this.minScaleLimit = this.widget.minScaleLimit, this.mode = this.widget.mode, this.position = "bottom-left", this.region = this.widget.region, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state", "minScale", "maxScale"), this.arcgisReady = a();
14
14
  }
15
15
  static {
16
16
  this.properties = { autoDestroyDisabled: 5, disabled: 7, hidePreview: 5, hideScaleMenusMaxScaleMenu: 5, hideScaleMenusMinScaleMenu: 5, icon: 1, label: 1, layer: 0, maxScale: 9, maxScaleLimit: 9, minScale: 9, minScaleLimit: 9, mode: 1, position: 1, referenceElement: 1, region: 0, state: 3 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = n;
19
+ this.shadowRootOptions = l;
20
20
  }
21
21
  static {
22
22
  this.styles = c;
@@ -28,7 +28,7 @@ class d extends a {
28
28
  await this.manager.destroy();
29
29
  }
30
30
  }
31
- e("arcgis-scale-range-slider", d);
31
+ e("arcgis-scale-range-slider", h);
32
32
  export {
33
- d as ArcgisScaleRangeSlider
33
+ h as ArcgisScaleRangeSlider
34
34
  };
@@ -2,6 +2,8 @@
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 { default as SceneView } from '@arcgis/core/views/SceneView.js';
6
+ import { default as WebScene } from '@arcgis/core/WebScene.js';
5
7
  import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
6
8
 
7
9
  declare const useWebScene: (component: import('@arcgis/components-controllers').StencilLifecycles & {
@@ -9,30 +11,30 @@ declare const useWebScene: (component: import('@arcgis/components-controllers').
9
11
  el: HTMLElement;
10
12
  autoDestroyDisabled?: boolean;
11
13
  destroy?: () => Promise<void>;
12
- } & Pick<__esri.WebScene, "ground" | "clippingArea"> & {
14
+ } & Pick<WebScene, never> & {
13
15
  reactiveUtils?: typeof __esri.reactiveUtils;
14
16
  autoDestroyDisabled: boolean;
15
17
  destroy: () => Promise<void>;
16
18
  }, options?: {
17
- editConstructorProperties(props: __esri.WebSceneProperties): __esri.WebSceneProperties | Promise<__esri.WebSceneProperties>;
18
- } | undefined) => __esri.WebScene;
19
+ editConstructorProperties(props: __esri.WebSceneProperties | undefined): __esri.WebSceneProperties | Promise<__esri.WebSceneProperties | undefined> | undefined;
20
+ } | undefined) => WebScene;
19
21
  declare const useSceneView: (component: import('@arcgis/components-controllers').StencilLifecycles & {
20
22
  manager: import('@arcgis/components-controllers').ControllerManager;
21
23
  el: HTMLElement;
22
24
  autoDestroyDisabled?: boolean;
23
25
  destroy?: () => Promise<void>;
24
- } & Pick<__esri.SceneView, "map" | "basemapView" | "constraints" | "extent" | "fatalError" | "floors" | "graphics" | "highlightOptions" | "layerViews" | "navigation" | "padding" | "popup" | "scale" | "spatialReference" | "theme" | "timeExtent" | "viewpoint" | "zoom" | "alphaCompositingEnabled" | "analyses" | "camera" | "clippingArea" | "environment" | "qualityProfile" | "viewingMode"> & {
26
+ } & Pick<SceneView, never> & {
25
27
  reactiveUtils?: typeof __esri.reactiveUtils;
26
28
  autoDestroyDisabled: boolean;
27
29
  destroy: () => Promise<void>;
28
30
  }, options?: {
29
- editConstructorProperties(props: __esri.SceneViewProperties): __esri.SceneViewProperties | Promise<__esri.SceneViewProperties>;
30
- } | undefined) => __esri.SceneView;
31
+ editConstructorProperties(props: __esri.SceneViewProperties | undefined): __esri.SceneViewProperties | Promise<__esri.SceneViewProperties | undefined> | undefined;
32
+ } | undefined) => SceneView;
31
33
  /** The web [scene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is the core element of 3D mapping across ArcGIS. It defines the content, style, environment, and slides of your scene and it can be shared across multiple ArcGIS web and desktop applications.
32
34
  */
33
35
  export declare class ArcgisScene extends LitElement {
34
36
  /** Internal view of the component. */
35
- readonly view: __esri.SceneView;
37
+ readonly view: SceneView;
36
38
  /**
37
39
  * Collection containing a flat list of all the created LayerViews
38
40
  * related to the basemap, operational layers, and group layers in this view.
@@ -105,7 +107,7 @@ export declare class ArcgisScene extends LitElement {
105
107
  */
106
108
  get center(): __esri.SceneView["center"];
107
109
  set center(newValue: __esri.SceneView["center"] | Nil | number[] | string);
108
- clippingArea: nullish | __esri.Extent;
110
+ clippingArea: __esri.Extent | nullish;
109
111
  /** Specifies constraints to scale, zoom, and rotation that may be applied to the MapView. */
110
112
  constraints: __esri.SceneViewConstraints;
111
113
  /**