@arcgis/map-components 4.32.0-next.84 → 4.32.0-next.87

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 (286) hide show
  1. package/dist/arcgis-map-components/2XHX4GRY.js +4 -0
  2. package/dist/arcgis-map-components/32X3ZYOM.js +4 -0
  3. package/dist/arcgis-map-components/35DMTE4K.js +4 -0
  4. package/dist/arcgis-map-components/3JTGHVNB.js +4 -0
  5. package/dist/arcgis-map-components/3ZDFYLLA.js +4 -0
  6. package/dist/arcgis-map-components/4CKEV5R3.js +4 -0
  7. package/dist/arcgis-map-components/4J4AUJFF.js +4 -0
  8. package/dist/arcgis-map-components/4ZIFQORV.js +4 -0
  9. package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
  10. package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
  11. package/dist/arcgis-map-components/{QDTORANP.js → 7JPD33PS.js} +1 -1
  12. package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
  13. package/dist/arcgis-map-components/{LABTBYBR.js → A6QXV7MU.js} +2 -2
  14. package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
  15. package/dist/arcgis-map-components/{4HWKFVOD.js → AGWGNRMW.js} +2 -2
  16. package/dist/arcgis-map-components/AOZPIV4A.js +4 -0
  17. package/dist/arcgis-map-components/AVGUWUIP.js +4 -0
  18. package/dist/arcgis-map-components/AXIJBJKN.js +4 -0
  19. package/dist/arcgis-map-components/B5NOO6HX.js +4 -0
  20. package/dist/arcgis-map-components/CE62RYPI.js +4 -0
  21. package/dist/arcgis-map-components/CEIGROJD.js +4 -0
  22. package/dist/arcgis-map-components/CLH7HQDS.js +4 -0
  23. package/dist/arcgis-map-components/DAXKVFKC.js +4 -0
  24. package/dist/arcgis-map-components/DBWEC62Z.js +4 -0
  25. package/dist/arcgis-map-components/E2S64U4Z.js +4 -0
  26. package/dist/arcgis-map-components/E3RBXZMD.js +4 -0
  27. package/dist/arcgis-map-components/{ALE6KF3F.js → ETORB2CW.js} +4 -4
  28. package/dist/arcgis-map-components/G2AUFB2V.js +4 -0
  29. package/dist/arcgis-map-components/GFFY2SOD.js +4 -0
  30. package/dist/arcgis-map-components/GGRINU7O.js +4 -0
  31. package/dist/arcgis-map-components/HFOLCVHE.js +4 -0
  32. package/dist/arcgis-map-components/HN2B2WVM.js +4 -0
  33. package/dist/arcgis-map-components/HYBGAIIH.js +4 -0
  34. package/dist/arcgis-map-components/IJ4I2C2Q.js +4 -0
  35. package/dist/arcgis-map-components/ILVOJPYP.js +4 -0
  36. package/dist/arcgis-map-components/IUSB5KZR.js +4 -0
  37. package/dist/arcgis-map-components/{D5YSPPQY.js → KES7H4RV.js} +1 -1
  38. package/dist/arcgis-map-components/KFWRSEL5.js +4 -0
  39. package/dist/arcgis-map-components/KTPXF7QU.js +4 -0
  40. package/dist/arcgis-map-components/LXNOWS2N.js +4 -0
  41. package/dist/arcgis-map-components/MAZ73QH3.js +4 -0
  42. package/dist/arcgis-map-components/MKBRZJPK.js +4 -0
  43. package/dist/arcgis-map-components/{X3DKJFAI.js → MNAEUWGF.js} +2 -2
  44. package/dist/arcgis-map-components/NFID37OS.js +4 -0
  45. package/dist/arcgis-map-components/NH2PJWZN.js +4 -0
  46. package/dist/arcgis-map-components/NINSVERY.js +4 -0
  47. package/dist/arcgis-map-components/OWAZAAPU.js +4 -0
  48. package/dist/arcgis-map-components/{CTCO63FH.js → OXPBMLUL.js} +2 -2
  49. package/dist/arcgis-map-components/OXZIRB5Z.js +4 -0
  50. package/dist/arcgis-map-components/P254GL27.js +4 -0
  51. package/dist/arcgis-map-components/P2PVJ4AF.js +4 -0
  52. package/dist/arcgis-map-components/QAIK42DS.js +4 -0
  53. package/dist/arcgis-map-components/QHZ2NQDS.js +4 -0
  54. package/dist/arcgis-map-components/RIESOZ3J.js +4 -0
  55. package/dist/arcgis-map-components/RN7HCA5M.js +4 -0
  56. package/dist/arcgis-map-components/S732TQFW.js +4 -0
  57. package/dist/arcgis-map-components/SWD2W5AQ.js +4 -0
  58. package/dist/arcgis-map-components/T2IZZQA6.js +4 -0
  59. package/dist/arcgis-map-components/TYHESC7C.js +4 -0
  60. package/dist/arcgis-map-components/TYLB5V7D.js +4 -0
  61. package/dist/arcgis-map-components/U3JMNMD5.js +4 -0
  62. package/dist/arcgis-map-components/U5BKFVZA.js +4 -0
  63. package/dist/arcgis-map-components/{ADHZXMHO.js → VOAP25R5.js} +2 -2
  64. package/dist/arcgis-map-components/{F2U6NY4G.js → VPAITV6T.js} +2 -2
  65. package/dist/arcgis-map-components/VPDLR5PZ.js +4 -0
  66. package/dist/arcgis-map-components/VYAG6QFL.js +4 -0
  67. package/dist/arcgis-map-components/WRLAAWYP.js +4 -0
  68. package/dist/arcgis-map-components/XGMH4FTN.js +4 -0
  69. package/dist/arcgis-map-components/{B2AHBB47.js → XXMI6R5H.js} +2 -2
  70. package/dist/arcgis-map-components/YN7363HF.js +4 -0
  71. package/dist/arcgis-map-components/YWCFGHSS.js +4 -0
  72. package/dist/arcgis-map-components/ZZWXJ7BT.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 +43 -43
  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 +7 -6
  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 +38 -37
  91. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -22
  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 +14 -13
  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 +16 -15
  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 +8 -7
  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 +10 -8
  110. package/dist/components/arcgis-directions/customElement.js +24 -24
  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 +17 -16
  116. package/dist/components/arcgis-editor/customElement.js +9 -9
  117. package/dist/components/arcgis-elevation-profile/customElement.d.ts +16 -21
  118. package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
  119. package/dist/components/arcgis-expand/customElement.d.ts +9 -8
  120. package/dist/components/arcgis-expand/customElement.js +9 -9
  121. package/dist/components/arcgis-feature/customElement.d.ts +10 -17
  122. package/dist/components/arcgis-feature/customElement.js +8 -8
  123. package/dist/components/arcgis-feature-form/customElement.d.ts +8 -7
  124. package/dist/components/arcgis-feature-form/customElement.js +9 -9
  125. package/dist/components/arcgis-feature-table/customElement.d.ts +24 -23
  126. package/dist/components/arcgis-feature-table/customElement.js +17 -16
  127. package/dist/components/arcgis-feature-templates/customElement.d.ts +8 -7
  128. package/dist/components/arcgis-feature-templates/customElement.js +10 -10
  129. package/dist/components/arcgis-features/customElement.d.ts +21 -20
  130. package/dist/components/arcgis-features/customElement.js +6 -6
  131. package/dist/components/arcgis-floor-filter/customElement.d.ts +9 -8
  132. package/dist/components/arcgis-floor-filter/customElement.js +10 -10
  133. package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -4
  134. package/dist/components/arcgis-fullscreen/customElement.js +11 -11
  135. package/dist/components/arcgis-histogram/customElement.d.ts +14 -13
  136. package/dist/components/arcgis-histogram/customElement.js +9 -9
  137. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +15 -14
  138. package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
  139. package/dist/components/arcgis-home/customElement.d.ts +7 -6
  140. package/dist/components/arcgis-home/customElement.js +12 -12
  141. package/dist/components/arcgis-layer-list/customElement.d.ts +21 -20
  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 +20 -18
  148. package/dist/components/arcgis-link-chart/customElement.js +27 -27
  149. package/dist/components/arcgis-locate/customElement.d.ts +7 -6
  150. package/dist/components/arcgis-locate/customElement.js +15 -15
  151. package/dist/components/arcgis-map/customElement.d.ts +19 -17
  152. package/dist/components/arcgis-map/customElement.js +27 -27
  153. package/dist/components/arcgis-measurement/customElement.d.ts +7 -6
  154. package/dist/components/arcgis-measurement/customElement.js +9 -9
  155. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +8 -6
  156. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -11
  157. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +8 -7
  158. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +33 -28
  159. package/dist/components/arcgis-placement/customElement.js +2 -2
  160. package/dist/components/arcgis-print/customElement.d.ts +7 -6
  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 +70 -63
  164. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
  165. package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
  166. package/dist/components/arcgis-scene/customElement.d.ts +18 -16
  167. package/dist/components/arcgis-scene/customElement.js +25 -25
  168. package/dist/components/arcgis-search/customElement.d.ts +15 -14
  169. package/dist/components/arcgis-search/customElement.js +8 -8
  170. package/dist/components/arcgis-shadow-cast/customElement.d.ts +11 -10
  171. package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
  172. package/dist/components/arcgis-sketch/customElement.d.ts +30 -28
  173. package/dist/components/arcgis-sketch/customElement.js +11 -12
  174. package/dist/components/arcgis-slice/customElement.d.ts +6 -5
  175. package/dist/components/arcgis-slice/customElement.js +9 -9
  176. package/dist/components/arcgis-slider/customElement.d.ts +15 -14
  177. package/dist/components/arcgis-slider/customElement.js +9 -9
  178. package/dist/components/arcgis-swipe/customElement.d.ts +6 -5
  179. package/dist/components/arcgis-swipe/customElement.js +17 -17
  180. package/dist/components/arcgis-table-list/customElement.d.ts +25 -22
  181. package/dist/components/arcgis-table-list/customElement.js +6 -6
  182. package/dist/components/arcgis-time-slider/customElement.d.ts +10 -9
  183. package/dist/components/arcgis-time-slider/customElement.js +9 -9
  184. package/dist/components/arcgis-track/customElement.d.ts +8 -7
  185. package/dist/components/arcgis-track/customElement.js +15 -15
  186. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +85 -14
  187. package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
  188. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  189. package/dist/components/arcgis-utility-network-trace/customElement.js +8 -8
  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 +11 -11
  192. package/dist/components/arcgis-value-picker/customElement.d.ts +10 -9
  193. package/dist/components/arcgis-value-picker/customElement.js +9 -9
  194. package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
  195. package/dist/components/arcgis-version-management/customElement.js +99 -100
  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.d.ts +1 -1
  199. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  200. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  201. package/dist/components/arcgis-weather/customElement.d.ts +6 -5
  202. package/dist/components/arcgis-weather/customElement.js +9 -9
  203. package/dist/components/arcgis-zoom/customElement.d.ts +4 -3
  204. package/dist/components/arcgis-zoom/customElement.js +8 -8
  205. package/dist/controllers/useViewModel.d.ts +2 -2
  206. package/dist/controllers/useWidget.d.ts +2 -2
  207. package/dist/docs/api.json +1105 -462
  208. package/dist/docs/docs.json +823 -345
  209. package/dist/docs/vscode.html-custom-data.json +229 -137
  210. package/dist/docs/web-types.json +582 -374
  211. package/dist/index.js +1 -1
  212. package/dist/loader.js +3 -3
  213. package/dist/testing/commonSpatialReferences.d.ts +8 -0
  214. package/dist/testing/mockServices.d.ts +9 -0
  215. package/dist/testing/setupFile.d.ts +1 -0
  216. package/dist/testing/testUtils.d.ts +49 -0
  217. package/dist/testing/tileInfoUtils.d.ts +10 -0
  218. package/dist/types/lumina.d.ts +6 -6
  219. package/dist/types/preact.d.ts +6 -6
  220. package/dist/types/react.d.ts +6 -6
  221. package/dist/types/stencil.d.ts +6 -6
  222. package/dist/utils/component-utils.d.ts +2 -2
  223. package/package.json +4 -5
  224. package/dist/arcgis-map-components/2LH365WX.js +0 -4
  225. package/dist/arcgis-map-components/6JAD4WKP.js +0 -4
  226. package/dist/arcgis-map-components/7IYUKHGU.js +0 -4
  227. package/dist/arcgis-map-components/7PRXTQ4Y.js +0 -4
  228. package/dist/arcgis-map-components/ASLMMNFG.js +0 -4
  229. package/dist/arcgis-map-components/BCSTA4MD.js +0 -4
  230. package/dist/arcgis-map-components/BMZIKLJT.js +0 -4
  231. package/dist/arcgis-map-components/BVS52H6M.js +0 -4
  232. package/dist/arcgis-map-components/C542LZ3W.js +0 -4
  233. package/dist/arcgis-map-components/CAQQA5ME.js +0 -4
  234. package/dist/arcgis-map-components/CCF5WJQL.js +0 -4
  235. package/dist/arcgis-map-components/CHN4JGNG.js +0 -4
  236. package/dist/arcgis-map-components/CLW7FHWH.js +0 -4
  237. package/dist/arcgis-map-components/CSEA27MX.js +0 -4
  238. package/dist/arcgis-map-components/FTOHM6K7.js +0 -4
  239. package/dist/arcgis-map-components/G6CP2VYU.js +0 -4
  240. package/dist/arcgis-map-components/GHPCV4MN.js +0 -4
  241. package/dist/arcgis-map-components/GP5KXKC6.js +0 -4
  242. package/dist/arcgis-map-components/GUBVA4HI.js +0 -4
  243. package/dist/arcgis-map-components/H3QUUUNO.js +0 -4
  244. package/dist/arcgis-map-components/HNBQDWNV.js +0 -4
  245. package/dist/arcgis-map-components/IF6ICBVD.js +0 -4
  246. package/dist/arcgis-map-components/JDYFIYT3.js +0 -4
  247. package/dist/arcgis-map-components/JG6SSII2.js +0 -4
  248. package/dist/arcgis-map-components/JPFJWSQT.js +0 -4
  249. package/dist/arcgis-map-components/JY2BL6QD.js +0 -4
  250. package/dist/arcgis-map-components/LW4HCA3P.js +0 -4
  251. package/dist/arcgis-map-components/MCAPSEE3.js +0 -4
  252. package/dist/arcgis-map-components/MJBNTJRW.js +0 -4
  253. package/dist/arcgis-map-components/NAN3TPDO.js +0 -4
  254. package/dist/arcgis-map-components/NUF2ZXJB.js +0 -4
  255. package/dist/arcgis-map-components/OF62ZZDT.js +0 -4
  256. package/dist/arcgis-map-components/OODDLGXW.js +0 -4
  257. package/dist/arcgis-map-components/OUTOCGVP.js +0 -4
  258. package/dist/arcgis-map-components/PBYUEHJ2.js +0 -4
  259. package/dist/arcgis-map-components/QWBNGCQZ.js +0 -4
  260. package/dist/arcgis-map-components/QXH6QBCY.js +0 -4
  261. package/dist/arcgis-map-components/RLXPUR6U.js +0 -4
  262. package/dist/arcgis-map-components/S2QUE2PT.js +0 -4
  263. package/dist/arcgis-map-components/S3HVEU43.js +0 -4
  264. package/dist/arcgis-map-components/SBFEI7G7.js +0 -4
  265. package/dist/arcgis-map-components/SDIRYXNN.js +0 -4
  266. package/dist/arcgis-map-components/SDTEUQJF.js +0 -4
  267. package/dist/arcgis-map-components/SJ23WYPX.js +0 -4
  268. package/dist/arcgis-map-components/SM27BTYQ.js +0 -4
  269. package/dist/arcgis-map-components/SV37GYTZ.js +0 -4
  270. package/dist/arcgis-map-components/SZI3EYQQ.js +0 -4
  271. package/dist/arcgis-map-components/TRRQPVCK.js +0 -4
  272. package/dist/arcgis-map-components/UJJUHEQP.js +0 -4
  273. package/dist/arcgis-map-components/USOW5GMA.js +0 -4
  274. package/dist/arcgis-map-components/VCU3GSEE.js +0 -4
  275. package/dist/arcgis-map-components/VHDI7NKV.js +0 -4
  276. package/dist/arcgis-map-components/VIEKXUEC.js +0 -4
  277. package/dist/arcgis-map-components/VQUVK2Z4.js +0 -4
  278. package/dist/arcgis-map-components/VY2AN4QN.js +0 -4
  279. package/dist/arcgis-map-components/WCITYN6U.js +0 -4
  280. package/dist/arcgis-map-components/WOWZWSL5.js +0 -4
  281. package/dist/arcgis-map-components/WZIB63XY.js +0 -4
  282. package/dist/arcgis-map-components/XJ5ZDZD5.js +0 -4
  283. package/dist/arcgis-map-components/XKFVFNRT.js +0 -4
  284. package/dist/arcgis-map-components/XKY2Q5V6.js +0 -4
  285. package/dist/arcgis-map-components/ZANDAN6Q.js +0 -4
  286. package/dist/arcgis-map-components/ZD343J42.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 AreaMeasurement2D } from '@arcgis/core/widgets/AreaMeasurement2D.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useAreaMeasurement2dWidget: (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.AreaMeasurement2D & {
14
+ } & Pick<AreaMeasurement2D & {
14
15
  viewModel: __esri.Accessor;
15
16
  }, "label" | "viewModel" | "icon" | "unit" | "unitOptions"> & {
16
17
  reactiveUtils?: typeof __esri.reactiveUtils;
@@ -34,7 +35,7 @@ declare const useAreaMeasurement2dWidget: (component: import('@arcgis/components
34
35
  destroy: () => Promise<void>;
35
36
  }, options?: {
36
37
  editConstructorProperties(props: __esri.AreaMeasurement2DProperties): __esri.AreaMeasurement2DProperties | Promise<__esri.AreaMeasurement2DProperties>;
37
- } | undefined) => __esri.AreaMeasurement2D & {
38
+ } | undefined) => AreaMeasurement2D & {
38
39
  viewModel: __esri.Accessor;
39
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).
@@ -1,25 +1,25 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsAreaMeasurement2D as e } from "@arcgis/core-adapter";
3
- import { usePropertyChange as s } from "@arcgis/components-controllers";
4
- import { m as i } from "../../chunks/useWidget.js";
5
- import { LitElement as o, createEvent as a, noShadowRoot as r } from "@arcgis/lumina";
2
+ import { usePropertyChange as e } from "@arcgis/components-controllers";
3
+ import s from "@arcgis/core/widgets/AreaMeasurement2D.js";
4
+ import { LitElement as i, createEvent as o, noShadowRoot as a } from "@arcgis/lumina";
5
+ 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.84 */
10
- const m = n`arcgis-area-measurement-2d{display:block}`, h = i(
9
+ v4.32.0-next.87 */
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
- e
12
+ s
13
13
  );
14
- class d extends o {
14
+ class d extends i {
15
15
  constructor() {
16
- super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = s()("state"), this.arcgisReady = a();
16
+ super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = e()("state"), this.arcgisReady = o();
17
17
  }
18
18
  static {
19
19
  this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
20
20
  }
21
21
  static {
22
- this.shadowRootOptions = r;
22
+ this.shadowRootOptions = a;
23
23
  }
24
24
  static {
25
25
  this.styles = m;
@@ -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 AreaMeasurement3D } from '@arcgis/core/widgets/AreaMeasurement3D.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useAreaMeasurement3dWidget: (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.AreaMeasurement3D, "label" | "viewModel" | "icon" | "analysis" | "unit" | "unitOptions"> & {
14
+ } & Pick<AreaMeasurement3D, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.AreaMeasurement3DViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useAreaMeasurement3dWidget: (component: import('@arcgis/components
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.AreaMeasurement3DProperties): __esri.AreaMeasurement3DProperties | Promise<__esri.AreaMeasurement3DProperties>;
35
- } | undefined) => __esri.AreaMeasurement3D;
35
+ editConstructorProperties(props: __esri.AreaMeasurement3DProperties | undefined): __esri.AreaMeasurement3DProperties | Promise<__esri.AreaMeasurement3DProperties | undefined> | undefined;
36
+ } | undefined) => AreaMeasurement3D;
36
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
38
  */
38
39
  export declare class ArcgisAreaMeasurement3d extends LitElement {
@@ -1,22 +1,22 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsAreaMeasurement3D as e } from "@arcgis/core-adapter";
3
2
  import { usePropertyChange as s } from "@arcgis/components-controllers";
4
- import { m as i } from "../../chunks/useWidget.js";
5
- import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
3
+ import e from "@arcgis/core/widgets/AreaMeasurement3D.js";
4
+ import { LitElement as i, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
5
+ 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.84 */
10
- const l = n`arcgis-area-measurement-3d{display:block}`, d = i(e);
11
- class h extends a {
9
+ v4.32.0-next.87 */
10
+ const l = n`arcgis-area-measurement-3d{display:block}`, h = r(e);
11
+ class d extends i {
12
12
  constructor() {
13
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = s()("analysis", "state"), this.arcgisReady = o();
13
+ super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = s()("analysis", "state"), this.arcgisReady = a();
14
14
  }
15
15
  static {
16
16
  this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = r;
19
+ this.shadowRootOptions = o;
20
20
  }
21
21
  static {
22
22
  this.styles = l;
@@ -34,7 +34,7 @@ class h extends a {
34
34
  this.widget?.viewModel.start();
35
35
  }
36
36
  }
37
- t("arcgis-area-measurement-3d", h);
37
+ t("arcgis-area-measurement-3d", d);
38
38
  export {
39
- h as ArcgisAreaMeasurement3d
39
+ d as ArcgisAreaMeasurement3d
40
40
  };
@@ -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 Attachments } from '@arcgis/core/widgets/Attachments.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useAttachmentsWidget: (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.Attachments, "label" | "viewModel" | "icon" | "graphic" | "capabilities" | "displayType"> & {
14
+ } & Pick<Attachments, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.AttachmentsViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useAttachmentsWidget: (component: import('@arcgis/components-contr
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.AttachmentsProperties): __esri.AttachmentsProperties | Promise<__esri.AttachmentsProperties>;
35
- } | undefined) => __esri.Attachments;
35
+ editConstructorProperties(props: __esri.AttachmentsProperties | undefined): __esri.AttachmentsProperties | Promise<__esri.AttachmentsProperties | undefined> | undefined;
36
+ } | undefined) => Attachments;
36
37
  /**
37
38
  * @internal
38
39
  */
@@ -47,7 +48,7 @@ export declare class ArcgisAttachments extends LitElement {
47
48
  autoDestroyDisabled: boolean;
48
49
  capabilities: __esri.AttachmentsCapabilities;
49
50
  displayType: "auto" | "list" | "preview";
50
- graphic: __esri.Graphic;
51
+ graphic: nullish | __esri.Graphic;
51
52
  hideAddButton: boolean | undefined;
52
53
  hideAddSubmitButton: boolean | undefined;
53
54
  hideCancelAddButton: boolean | undefined;
@@ -63,7 +64,7 @@ export declare class ArcgisAttachments extends LitElement {
63
64
  */
64
65
  icon: string;
65
66
  /** The component's default label. */
66
- label: string;
67
+ label: string | nullish;
67
68
  position: __esri.UIPosition;
68
69
  referenceElement: ArcgisReferenceElement | Nil | string;
69
70
  readonly state: "ready" | "disabled" | "loading";
@@ -1,22 +1,22 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsAttachments as e } from "@arcgis/core-adapter";
3
- import { m as i } from "../../chunks/useWidget.js";
4
- import { usePropertyChange as s } from "@arcgis/components-controllers";
5
- import { LitElement as a, createEvent as d, noShadowRoot as o } from "@arcgis/lumina";
2
+ import { usePropertyChange as e } from "@arcgis/components-controllers";
3
+ import i from "@arcgis/core/widgets/Attachments.js";
4
+ import { LitElement as s, createEvent as a, noShadowRoot as d } from "@arcgis/lumina";
5
+ 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.84 */
10
- const n = h`arcgis-attachments{display:block}`, r = i(e);
11
- class l extends a {
9
+ v4.32.0-next.87 */
10
+ const n = h`arcgis-attachments{display:block}`, r = o(i);
11
+ class l extends s {
12
12
  constructor() {
13
- super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.capabilities = this.widget.capabilities, this.displayType = this.widget.displayType, this.graphic = this.widget.graphic, this.hideAddButton = this.widget.visibleElements.addButton, this.hideAddSubmitButton = this.widget.visibleElements.addSubmitButton, this.hideCancelAddButton = this.widget.visibleElements.cancelAddButton, this.hideCancelUpdateButton = this.widget.visibleElements.cancelUpdateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideErrorMessage = this.widget.visibleElements.errorMessage, this.hideProgressBar = this.widget.visibleElements.progressBar, this.hideUpdateButton = this.widget.visibleElements.updateButton, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.submitting = this.widget.submitting, this.arcgisPropertyChange = s()("submitting", "state"), this.arcgisReady = d();
13
+ super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.capabilities = this.widget.capabilities, this.displayType = this.widget.displayType, this.graphic = this.widget.graphic, this.hideAddButton = this.widget.visibleElements.addButton, this.hideAddSubmitButton = this.widget.visibleElements.addSubmitButton, this.hideCancelAddButton = this.widget.visibleElements.cancelAddButton, this.hideCancelUpdateButton = this.widget.visibleElements.cancelUpdateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideErrorMessage = this.widget.visibleElements.errorMessage, this.hideProgressBar = this.widget.visibleElements.progressBar, this.hideUpdateButton = this.widget.visibleElements.updateButton, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.submitting = this.widget.submitting, this.arcgisPropertyChange = e()("submitting", "state"), this.arcgisReady = a();
14
14
  }
15
15
  static {
16
16
  this.properties = { autoDestroyDisabled: 5, capabilities: 0, displayType: 1, graphic: 0, hideAddButton: 5, hideAddSubmitButton: 5, hideCancelAddButton: 5, hideCancelUpdateButton: 5, hideDeleteButton: 5, hideErrorMessage: 5, hideProgressBar: 5, hideUpdateButton: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, submitting: 4 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = o;
19
+ this.shadowRootOptions = d;
20
20
  }
21
21
  static {
22
22
  this.styles = n;
@@ -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.84 */
9
+ v4.32.0-next.87 */
10
10
  export {
11
11
  e as BasemapGalleryItem
12
12
  };
@@ -2,6 +2,7 @@
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 BasemapGalleryViewModel } from '@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js';
5
6
  import { JsxNode, ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
7
  import { HeadingLevel } from '../../support/heading';
7
8
  import { ArcgisReferenceElement } from '../../utils/component-utils';
@@ -11,7 +12,7 @@ declare const useBasemapGalleryViewModel: (component: import('@arcgis/components
11
12
  el: HTMLElement;
12
13
  autoDestroyDisabled?: boolean;
13
14
  destroy?: () => Promise<void>;
14
- } & Pick<__esri.BasemapGalleryViewModel, never> & {
15
+ } & Pick<BasemapGalleryViewModel, never> & {
15
16
  reactiveUtils?: typeof __esri.reactiveUtils;
16
17
  state?: "ready" | "disabled" | "loading" | "unsupported" | undefined;
17
18
  icon: Nil | string;
@@ -32,11 +33,11 @@ declare const useBasemapGalleryViewModel: (component: import('@arcgis/components
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
35
  editConstructorProperties(props: unknown): unknown;
35
- } | undefined) => __esri.BasemapGalleryViewModel;
36
+ } | undefined) => BasemapGalleryViewModel;
36
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.
37
38
  */
38
39
  export declare class ArcgisBasemapGallery extends LitElement {
39
- activeBasemap: __esri.Basemap;
40
+ activeBasemap: __esri.Basemap | nullish;
40
41
  /**
41
42
  * If true, the component will not be destroyed automatically when it is
42
43
  * disconnected from the document. This is useful when you want to move the
@@ -1,28 +1,29 @@
1
1
  import { c as y } from "../../chunks/runtime.js";
2
- import { html as d } from "lit-html";
3
- import { load as u, usePropertyChange as f } from "@arcgis/components-controllers";
4
- import { classes as g } from "@arcgis/components-utils";
5
- import { importApplicationsComponentsBasemapUtils as b, importCoreReactiveUtils as M, newWidgetsBasemapGalleryBasemapGalleryViewModel as $ } from "@arcgis/core-adapter";
6
- import { safeClassMap as r, LitElement as B, createEvent as _, noShadowRoot as x, nothing as v, safeStyleMap as R } from "@arcgis/lumina";
7
- import { u as L, m as E } from "../../chunks/useViewModel.js";
8
- import { unsafeStatic as I, html as U } from "lit/static-html.js";
2
+ import { html as c } from "lit-html";
3
+ import { usePropertyChange as f } from "@arcgis/components-controllers";
4
+ import { classes as v } from "@arcgis/components-utils";
5
+ import { when as b, watch as p } from "@arcgis/core/core/reactiveUtils.js";
6
+ import M from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
7
+ import { safeClassMap as r, LitElement as $, createEvent as _, noShadowRoot as B, nothing as g, safeStyleMap as x } from "@arcgis/lumina";
8
+ import { u as L, m as R } from "../../chunks/useViewModel.js";
9
+ import { unsafeStatic as E, html as I } from "lit/static-html.js";
9
10
  import { g as n } from "../../chunks/globalCss.js";
10
- import { c as l, B as C } from "../../chunks/basemap-gallery-item.js";
11
- import { css as D } from "@lit/reactive-element/css-tag.js";
11
+ import { c as l, B as D } from "../../chunks/basemap-gallery-item.js";
12
+ import { css as S } from "@lit/reactive-element/css-tag.js";
12
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
14
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
14
- v4.32.0-next.84 */
15
- function S({ level: o, class: t, children: e }) {
16
- const s = G(o), i = `h${s}`, a = I(i);
17
- return U`<${a} .ariaLevel=${String(s)} class=${r(g(n.heading, t))} role=heading>${e}</${a}>`;
15
+ v4.32.0-next.87 */
16
+ function A({ level: o, class: t, children: e }) {
17
+ const s = k(o), a = `h${s}`, i = E(a);
18
+ return I`<${i} .ariaLevel=${String(s)} class=${r(v(n.heading, t))} role=heading>${e}</${i}>`;
18
19
  }
19
- function A(o, t, e) {
20
+ function C(o, t, e) {
20
21
  return Math.min(Math.max(o, t), e);
21
22
  }
22
- function G(o) {
23
- return A(Math.ceil(o), 1, 6);
23
+ function k(o) {
24
+ return C(Math.ceil(o), 1, 6);
24
25
  }
25
- const k = D`arcgis-basemap-gallery{display:block}`, K = E($), h = {
26
+ const G = S`arcgis-basemap-gallery{display:block}`, K = R(M), m = {
26
27
  // Below this width, items are displayed as a single column and the thumbnail is placed above the title.
27
28
  small: 200,
28
29
  // Below this width, items are displayed as a single column but with the thumbnail side-by-side
@@ -32,18 +33,18 @@ const k = D`arcgis-basemap-gallery{display:block}`, K = E($), h = {
32
33
  // Above this width, items are displayed in a grid.
33
34
  wide: 420
34
35
  };
35
- class H extends B {
36
+ class H extends $ {
36
37
  constructor() {
37
- super(...arguments), this.messages = L({}), this.viewModel = K(this), this.basemapUtils = u(b), this.reactiveUtils = u(M), this._width = 0, this._state = "", this._itemsState = "", this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = _();
38
+ super(...arguments), this.messages = L({}), this.viewModel = K(this), this._width = 0, this._state = "", this._itemsState = "", this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = _();
38
39
  }
39
40
  static {
40
41
  this.properties = { _width: 16, _state: 16, _itemsState: 16, activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3 };
41
42
  }
42
43
  static {
43
- this.shadowRootOptions = x;
44
+ this.shadowRootOptions = B;
44
45
  }
45
46
  static {
46
- this.styles = k;
47
+ this.styles = G;
47
48
  }
48
49
  //#endregion
49
50
  //#region Public Methods
@@ -55,22 +56,22 @@ class H extends B {
55
56
  //#region Lifecycle
56
57
  loaded() {
57
58
  this.manager.onLifecycle(() => [
58
- this.reactiveUtils.when(() => this.source, () => {
59
+ b(() => this.source, () => {
59
60
  this.viewModel.loadSource();
60
61
  }, { sync: !0, initial: !0 }),
61
- this.reactiveUtils.watch(() => this.source.state, () => {
62
+ p(() => this.source.state, () => {
62
63
  this._state = this.source.state;
63
64
  }, { sync: !0 }),
64
- this.reactiveUtils.watch(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
65
+ p(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
65
66
  this._itemsState = s > 0 ? "loading" : "ready";
66
67
  }, { sync: !0 }),
67
- this.reactiveUtils.watch(() => this.viewModel.activeBasemap, () => {
68
- this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap.id}"]`)?.focus();
68
+ p(() => this.viewModel.activeBasemap, () => {
69
+ this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus();
69
70
  }, { sync: !0 })
70
71
  ]);
71
72
  const t = new ResizeObserver((s) => {
72
- for (const i of s)
73
- this._width = i.contentRect.width;
73
+ for (const a of s)
74
+ this._width = a.contentRect.width;
74
75
  }), e = this.el.childElem;
75
76
  e && t.observe(e);
76
77
  }
@@ -84,23 +85,23 @@ class H extends B {
84
85
  if (!["ArrowUp", "ArrowDown", "ArrowRight", "ArrowLeft"].includes(e))
85
86
  return;
86
87
  t.preventDefault();
87
- const { items: i, activeBasemapIndex: a } = this.viewModel, m = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(a - 1, -1), i.length) : this._getRoundRobinIndex(a + 1, i.length), c = i.at(m);
88
- c?.state === "ready" && (this.viewModel.activeBasemap = c.basemap);
88
+ const { items: a, activeBasemapIndex: i } = this.viewModel, h = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(i - 1, -1), a.length) : this._getRoundRobinIndex(i + 1, a.length), d = a.at(h);
89
+ d?.state === "ready" && (this.viewModel.activeBasemap = d.basemap);
89
90
  }
90
91
  //#endregion
91
92
  //#region Rendering
92
93
  render() {
93
- const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items, i = {
94
+ const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items, a = {
94
95
  [l.sourceLoading]: t,
95
96
  [n.disabled]: e,
96
97
  "esri-component": !0
97
98
  // For compatibility with Esri View UI
98
- }, a = this._width;
99
- a <= h.small || a >= h.wide ? i[l.layoutGrid] = !0 : a < h.default && (i[l.narrowItems] = !0);
100
- const m = t ? d`<div class=${r(l.loader)}></div>` : null, c = t ? null : s.length > 0 ? d`<div aria-disabled=${this.disabled ?? v} aria-label=${this.label ?? v} class=${r(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p, w) => C({ disabled: e, item: p, itemIndex: w, viewModel: this.viewModel, messages: this.messages, state: p.state }))}</div>` : d`<div class=${r(n.empty)}>${S({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
101
- return d`<div class=${r(g(l.base, n.widget, n.panel, i))} style=${R({
102
- "--esri-basemap-gallery-small": `${h.small}px`
103
- })}>${[m, c]}</div>`;
99
+ }, i = this._width;
100
+ i <= m.small || i >= m.wide ? a[l.layoutGrid] = !0 : i < m.default && (a[l.narrowItems] = !0);
101
+ const h = t ? c`<div class=${r(l.loader)}></div>` : null, d = t ? null : s.length > 0 ? c`<div aria-disabled=${this.disabled ?? g} aria-label=${this.label ?? g} class=${r(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((u, w) => D({ disabled: e, item: u, itemIndex: w, viewModel: this.viewModel, messages: this.messages, state: u.state }))}</div>` : c`<div class=${r(n.empty)}>${A({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
102
+ return c`<div class=${r(v(l.base, n.widget, n.panel, a))} style=${x({
103
+ "--esri-basemap-gallery-small": `${m.small}px`
104
+ })}>${[h, d]}</div>`;
104
105
  }
105
106
  }
106
107
  y("arcgis-basemap-gallery", H);
@@ -2,15 +2,16 @@
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/components-controllers';
4
4
  import { Nil } from '@arcgis/components-utils';
5
- import { ArcgisReferenceElement } from '../../utils/component-utils';
5
+ import { default as BasemapLayerList } from '@arcgis/core/widgets/BasemapLayerList.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useBasemapLayerListWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.BasemapLayerList, "label" | "viewModel" | "icon" | "headingLevel" | "collapsed" | "dragEnabled" | "filterPlaceholder" | "minFilterItems" | "selectedItems" | "selectionMode" | "catalogOptions" | "visibilityAppearance" | "baseFilterPredicate" | "baseFilterText" | "baseListItemCreatedFunction" | "basemapTitle" | "editingTitle" | "referenceFilterPredicate" | "referenceFilterText" | "referenceListItemCreatedFunction"> & {
14
+ } & Pick<BasemapLayerList, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.BasemapLayerListViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useBasemapLayerListWidget: (component: import('@arcgis/components-
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.BasemapLayerListProperties): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties>;
35
- } | undefined) => __esri.BasemapLayerList;
35
+ editConstructorProperties(props: __esri.BasemapLayerListProperties | undefined): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties | undefined> | undefined;
36
+ } | undefined) => BasemapLayerList;
36
37
  /** [BasemapLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html) provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.
37
38
  */
38
39
  export declare class ArcgisBasemapLayerList extends LitElement {
@@ -44,25 +45,25 @@ export declare class ArcgisBasemapLayerList extends LitElement {
44
45
  * memory leaks.
45
46
  */
46
47
  autoDestroyDisabled: boolean;
47
- baseFilterPredicate: __esri.BaseFilterPredicate;
48
+ baseFilterPredicate: nullish | __esri.BaseFilterPredicate;
48
49
  baseFilterText: string;
49
50
  /** A collection of ListItems representing the baseLayers. */
50
51
  get baseItems(): __esri.Collection<__esri.ListItem>;
51
- baseListItemCreatedFunction: __esri.ListItemCreatedHandler;
52
- basemapTitle: string;
52
+ baseListItemCreatedFunction: nullish | __esri.ListItemCreatedHandler;
53
+ basemapTitle: string | nullish;
53
54
  /** The CatalogLayerList that displays a catalog layer's dynamic group layer. */
54
- get catalogLayerList(): __esri.CatalogLayerList;
55
- catalogOptions: __esri.BasemapLayerListCatalogOptions;
55
+ get catalogLayerList(): __esri.CatalogLayerList | nullish;
56
+ catalogOptions: nullish | __esri.BasemapLayerListCatalogOptions;
56
57
  collapsed: boolean;
57
58
  dragEnabled: boolean;
58
59
  editingTitle: boolean;
59
60
  filterPlaceholder: string;
60
61
  headingLevel: number;
61
- hideBaseLayers: boolean | undefined;
62
- hideFlow: boolean | undefined;
63
- hideHeading: boolean | undefined;
64
- hideReferenceLayers: boolean | undefined;
65
- hideStatusIndicators: boolean | undefined;
62
+ hideBaseLayers: boolean;
63
+ hideFlow: boolean;
64
+ hideHeading: boolean;
65
+ hideReferenceLayers: boolean;
66
+ hideStatusIndicators: boolean;
66
67
  /**
67
68
  * Icon which represents the component.
68
69
  * Typically used when the component is controlled by another component (e.g. by the Expand component).
@@ -74,19 +75,19 @@ export declare class ArcgisBasemapLayerList extends LitElement {
74
75
  minFilterItems: number;
75
76
  position: __esri.UIPosition;
76
77
  referenceElement: ArcgisReferenceElement | Nil | string;
77
- referenceFilterPredicate: __esri.ReferenceFilterPredicate;
78
+ referenceFilterPredicate: nullish | __esri.ReferenceFilterPredicate;
78
79
  referenceFilterText: string;
79
80
  /** A collection of ListItems representing the referenceLayers. */
80
81
  get referenceItems(): __esri.Collection<__esri.ListItem>;
81
- referenceListItemCreatedFunction: __esri.ListItemCreatedHandler;
82
+ referenceListItemCreatedFunction: nullish | __esri.ListItemCreatedHandler;
82
83
  selectedItems: __esri.Collection<__esri.ListItem>;
83
84
  selectionMode: "none" | "single" | "multiple" | "single-persist";
84
- showCloseButton: boolean | undefined;
85
- showCollapseButton: boolean | undefined;
86
- showEditTitleButton: boolean | undefined;
87
- showErrors: boolean | undefined;
88
- showFilter: boolean | undefined;
89
- showTemporaryLayerIndicators: boolean | undefined;
85
+ showCloseButton: boolean;
86
+ showCollapseButton: boolean;
87
+ showEditTitleButton: boolean;
88
+ showErrors: boolean;
89
+ showFilter: boolean;
90
+ showTemporaryLayerIndicators: boolean;
90
91
  readonly state: "ready" | "disabled" | "loading";
91
92
  visibilityAppearance: "default" | "checkbox";
92
93
  /** Permanently destroy the component */
@@ -1,17 +1,17 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
2
  import { usePropertyChange as t } from "@arcgis/components-controllers";
3
- import { newWidgetsBasemapLayerList as i } from "@arcgis/core-adapter";
4
- import { m as s } from "../../chunks/useWidget.js";
3
+ import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
4
+ import s from "@arcgis/core/widgets/BasemapLayerList.js";
5
5
  import { LitElement as r, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
6
- import { reEmitEvent as o } from "@arcgis/components-controllers/accessor";
6
+ import { m as o } from "../../chunks/useWidget.js";
7
7
  import { css as h } from "@lit/reactive-element/css-tag.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- v4.32.0-next.84 */
11
- const d = h`arcgis-basemap-layer-list{display:block}`, n = s(i);
10
+ v4.32.0-next.87 */
11
+ const d = h`arcgis-basemap-layer-list{display:block}`, n = o(s);
12
12
  class c extends r {
13
13
  constructor() {
14
- super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = o(() => this.widget, "trigger-action");
14
+ super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
15
15
  }
16
16
  static {
17
17
  this.properties = { autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItems: 32, baseListItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideFlow: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, label: 1, minFilterItems: 9, position: 1, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceListItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
@@ -1,16 +1,17 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
- import { ArcgisReferenceElement } from '../../utils/component-utils';
4
- import { Nil } from '@arcgis/components-utils';
5
3
  import { Use } from '@arcgis/components-controllers';
4
+ import { Nil } from '@arcgis/components-utils';
5
+ import { default as BasemapToggleViewModel } from '@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js';
6
6
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useBasemapToggleViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
10
  manager: import('@arcgis/components-controllers').ControllerManager;
10
11
  el: HTMLElement;
11
12
  autoDestroyDisabled?: boolean;
12
13
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.BasemapToggleViewModel, never> & {
14
+ } & Pick<BasemapToggleViewModel, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: "ready" | "disabled" | "loading" | "incompatible-next-basemap" | undefined;
16
17
  icon: Nil | string;
@@ -31,12 +32,12 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
31
32
  destroy: () => Promise<void>;
32
33
  }, options?: {
33
34
  editConstructorProperties(props: unknown): unknown;
34
- } | undefined) => __esri.BasemapToggleViewModel;
35
+ } | undefined) => BasemapToggleViewModel;
35
36
  /** [BasemapToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html) allows an end-user to switch between two basemaps. The toggled basemap is set inside the [view's](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html#view) [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#map) object.
36
37
  */
37
38
  export declare class ArcgisBasemapToggle extends LitElement {
38
39
  private messages;
39
- readonly activeBasemap: __esri.Basemap;
40
+ readonly activeBasemap: __esri.Basemap | nullish;
40
41
  /**
41
42
  * If true, the component will not be destroyed automatically when
42
43
  * it is disconnected from the document. This is useful when you
@@ -55,7 +56,7 @@ export declare class ArcgisBasemapToggle extends LitElement {
55
56
  /** Overwrite localized strings for this component */
56
57
  messageOverrides?: typeof this.messages._overrides;
57
58
  /** The next basemap for toggling. */
58
- nextBasemap: __esri.Basemap;
59
+ nextBasemap: __esri.Basemap | nullish;
59
60
  position: __esri.UIPosition;
60
61
  referenceElement: ArcgisReferenceElement | Nil | string;
61
62
  /** The visible elements that are displayed within the widget. */