@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,32 +1,33 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { load as m } from "@arcgis/components-controllers";
3
- import { makeAccessorController as o, reEmitEvent as t, accessorSupport as w } from "@arcgis/components-controllers/accessor";
4
- import { newWebScene as v, newViewsSceneView as l, importCoreReactiveUtils as d } from "@arcgis/core-adapter";
5
- import { c as a, p as r, e as h, i as g } from "../../chunks/component-utils.js";
6
- import { LitElement as p, createEvent as n, noShadowRoot as y } from "@arcgis/lumina";
7
- import { css as u } from "@lit/reactive-element/css-tag.js";
1
+ import { c as m } from "../../chunks/runtime.js";
2
+ import { makeAccessorController as c, reEmitEvent as t, accessorSupport as w } from "@arcgis/components-controllers/accessor";
3
+ import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
4
+ import v from "@arcgis/core/views/SceneView.js";
5
+ import l from "@arcgis/core/WebScene.js";
6
+ import { LitElement as d, createEvent as r, noShadowRoot as g } from "@arcgis/lumina";
7
+ import { c as h, p as n, e as o, i as p } from "../../chunks/component-utils.js";
8
+ import { css as y } from "@lit/reactive-element/css-tag.js";
8
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
10
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- v4.32.0-next.84 */
11
- const f = u`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, _ = o(v, {}), b = o(l, {});
12
- class V extends p {
11
+ v4.32.0-next.87 */
12
+ const u = y`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, f = c(l, {}), _ = c(v, {});
13
+ class b extends d {
13
14
  constructor() {
14
- super(...arguments), this._map = _(this, { editConstructorProperties: this._editMapProperties }), this.reactiveUtils = m(d), this.view = b(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.arcgisViewChange = n(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = n();
15
+ super(...arguments), this._map = f(this, { editConstructorProperties: this._editMapProperties }), this.view = _(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r();
15
16
  }
16
17
  static {
17
18
  this.properties = { view: 32, allLayerViews: 0, alphaCompositingEnabled: 5, analyses: 0, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 0, groundView: 0, highlights: 0, highlightOptions: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupDisabled: 5, qualityProfile: 1, ready: 4, resolution: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, updating: 7, viewingMode: 1, viewpoint: 0, zoom: 9 };
18
19
  }
19
20
  static {
20
- this.shadowRootOptions = y;
21
+ this.shadowRootOptions = g;
21
22
  }
22
23
  static {
23
- this.styles = f;
24
+ this.styles = u;
24
25
  }
25
26
  get camera() {
26
27
  return this.view.camera ?? this._camera;
27
28
  }
28
29
  set camera(i) {
29
- this._camera = i, this.ready && !a(this.camera, i) && (this.view.camera = i);
30
+ this._camera = i, this.ready && !h(this.camera, i) && (this.view.camera = i);
30
31
  }
31
32
  /**
32
33
  * The diagonal field of view (fov) angle for the camera. The range of angles must be between 1 and 170 degrees.
@@ -72,7 +73,7 @@ class V extends p {
72
73
  }
73
74
  set cameraPosition(i) {
74
75
  if (this.ready) {
75
- const e = r(this.view.camera?.position, i);
76
+ const e = n(this.view.camera?.position, i);
76
77
  e && this._mutateCamera((s) => {
77
78
  s.position = e;
78
79
  });
@@ -105,7 +106,7 @@ class V extends p {
105
106
  return this.view.center ?? this._center;
106
107
  }
107
108
  set center(i) {
108
- const e = h(i, this.ready ? this.view : void 0);
109
+ const e = o(i, this.ready ? this.view : void 0);
109
110
  e && (this.ready && (this.view.center = e), this._center = e);
110
111
  }
111
112
  /**
@@ -183,7 +184,7 @@ class V extends p {
183
184
  return this.view.viewpoint ?? this._viewpoint;
184
185
  }
185
186
  set viewpoint(i) {
186
- g(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
187
+ p(this.viewpoint, i) && (this.ready && (this.view.viewpoint = i), this._viewpoint = i);
187
188
  }
188
189
  /**
189
190
  * Represents the level of detail (LOD) at the center of the view.
@@ -262,12 +263,11 @@ class V extends p {
262
263
  this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-scene"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
263
264
  }
264
265
  loaded() {
265
- const { watch: i } = this.reactiveUtils;
266
266
  this.manager.onLifecycle(() => [
267
- i(() => this.view.stationary, () => {
267
+ a(() => this.view.stationary, () => {
268
268
  this.arcgisViewChange.emit();
269
269
  }, { initial: !0 }),
270
- i(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
270
+ a(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
271
271
  ]);
272
272
  }
273
273
  // #endregion
@@ -281,17 +281,17 @@ class V extends p {
281
281
  await this.manager.use(this._map), this.view.ui || (i.ui = {
282
282
  components: ["attribution"]
283
283
  }), i.map ??= this._map;
284
- const e = h(this.center, void 0);
284
+ const e = o(this.center, void 0);
285
285
  e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.camera && (i.camera = this.camera);
286
- const s = r(void 0, this.cameraPosition);
286
+ const s = n(void 0, this.cameraPosition);
287
287
  return s && (i.camera ??= {}, i.camera.position = s), this.cameraHeading != null && (i.camera ??= {}, i.camera.heading = this.cameraHeading), this.cameraTilt != null && (i.camera ??= {}, i.camera.tilt = this.cameraTilt), this.cameraFov != null && (i.camera ??= {}, i.camera.fov = this.cameraFov), this.zoom !== void 0 && (i.zoom = this.zoom), i;
288
288
  }
289
289
  _mutateCamera(i) {
290
290
  const e = this.view.camera.clone();
291
- i(e), a(this.view.camera, e) || (this.view.camera = e);
291
+ i(e), h(this.view.camera, e) || (this.view.camera = e);
292
292
  }
293
293
  }
294
- c("arcgis-scene", V);
294
+ m("arcgis-scene", b);
295
295
  export {
296
- V as ArcgisScene
296
+ b as ArcgisScene
297
297
  };
@@ -1,16 +1,17 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference types="../../index.d.ts" />
3
3
  import { Use } from '@arcgis/components-controllers';
4
- import { ArcgisReferenceElement } from '../../utils/component-utils';
5
4
  import { Nil } from '@arcgis/components-utils';
5
+ import { default as Search } from '@arcgis/core/widgets/Search.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useSearchWidget: (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.widgetsSearch, "label" | "viewModel" | "icon" | "disabled" | "activeMenu" | "activeSourceIndex" | "allPlaceholder" | "maxResults" | "maxSuggestions" | "minSuggestCharacters" | "popupTemplate" | "portal" | "searchTerm" | "sources"> & {
14
+ } & Pick<Search, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.SearchViewModel | undefined;
@@ -31,15 +32,15 @@ declare const useSearchWidget: (component: import('@arcgis/components-controller
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.widgetsSearchProperties): __esri.widgetsSearchProperties | Promise<__esri.widgetsSearchProperties>;
35
- } | undefined) => __esri.widgetsSearch;
35
+ editConstructorProperties(props: __esri.widgetsSearchProperties | undefined): __esri.widgetsSearchProperties | Promise<__esri.widgetsSearchProperties | undefined> | undefined;
36
+ } | undefined) => Search;
36
37
  /** [Search](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html) provides a way to perform search operations
37
38
  */
38
39
  export declare class ArcgisSearch extends LitElement {
39
40
  activeMenu: "source" | "none" | "warning" | "suggestion";
40
- readonly activeSource: __esri.LayerSearchSource | __esri.LocatorSearchSource;
41
+ readonly activeSource: nullish | __esri.LayerSearchSource | __esri.LocatorSearchSource;
41
42
  activeSourceIndex: number;
42
- allPlaceholder: string;
43
+ allPlaceholder: string | nullish;
43
44
  readonly allSources: __esri.Collection<__esri.LayerSearchSource | __esri.LocatorSearchSource>;
44
45
  /**
45
46
  * If true, the component will not be destroyed automatically when it is
@@ -66,27 +67,27 @@ export declare class ArcgisSearch extends LitElement {
66
67
  maxSuggestions: number;
67
68
  minSuggestCharacters: number;
68
69
  popupDisabled: boolean;
69
- popupTemplate: __esri.PopupTemplate;
70
- portal: __esri.Portal;
70
+ popupTemplate: nullish | __esri.PopupTemplate;
71
+ portal: nullish | __esri.Portal;
71
72
  position: __esri.UIPosition;
72
73
  referenceElement: ArcgisReferenceElement | Nil | string;
73
- readonly resultGraphic: __esri.Graphic;
74
+ readonly resultGraphic: nullish | __esri.Graphic;
74
75
  resultGraphicDisabled: boolean;
75
- readonly results: any[];
76
+ readonly results: any[] | nullish;
76
77
  searchAllDisabled: boolean;
77
78
  searchTerm: string;
78
- readonly selectedResult: __esri.SearchResult;
79
+ readonly selectedResult: nullish | __esri.SearchResult;
79
80
  sources: __esri.Collection<__esri.SearchSource>;
80
81
  readonly state: "ready" | "disabled" | "loading" | "searching";
81
- readonly suggestions: __esri.SearchResultsSuggestions[];
82
+ readonly suggestions: nullish | __esri.SearchResultsSuggestions[];
82
83
  suggestionsDisabled: boolean;
83
84
  blurSearch(): Promise<void>;
84
85
  clearSearch(): Promise<void>;
85
86
  /** Permanently destroy the component */
86
87
  destroy(): Promise<void>;
87
88
  focusSearch(): Promise<void>;
88
- search(term: __esri.Point | __esri.SuggestResult | number[] | string): Promise<__esri.SearchResponse>;
89
- suggest(term: string): Promise<__esri.SuggestResponse>;
89
+ search(term: __esri.Point | __esri.SuggestResult | nullish | number[] | string): Promise<__esri.SearchResponse | nullish>;
90
+ suggest(term: string): Promise<__esri.SuggestResponse | nullish>;
90
91
  readonly arcgisBlur: TargetedEvent<this, __esri.SearchSearchBlurEvent>;
91
92
  readonly arcgisClear: TargetedEvent<this, __esri.SearchSearchClearEvent>;
92
93
  readonly arcgisComplete: TargetedEvent<this, __esri.SearchSearchCompleteEvent>;
@@ -1,23 +1,23 @@
1
1
  import { c as s } from "../../chunks/runtime.js";
2
2
  import { usePropertyChange as i } from "@arcgis/components-controllers";
3
- import { newWidgetsSearch as a } from "@arcgis/core-adapter";
4
- import { m as r } from "../../chunks/useWidget.js";
5
- import { LitElement as h, createEvent as l, noShadowRoot as c } from "@arcgis/lumina";
6
3
  import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
4
+ import a from "@arcgis/core/widgets/Search.js";
5
+ import { LitElement as r, createEvent as h, noShadowRoot as l } from "@arcgis/lumina";
6
+ import { m as c } from "../../chunks/useWidget.js";
7
7
  import { css as o } 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 g = o`arcgis-search{display:block}`, d = r(a);
12
- class u extends h {
10
+ v4.32.0-next.87 */
11
+ const g = o`arcgis-search{display:block}`, d = c(a);
12
+ class u extends r {
13
13
  constructor() {
14
- super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.activeMenu = this.widget.activeMenu, this.activeSource = this.widget.activeSource, this.activeSourceIndex = this.widget.activeSourceIndex, this.allPlaceholder = this.widget.allPlaceholder, this.allSources = this.widget.allSources, this.autoDestroyDisabled = !1, this.autoSelectDisabled = this.widget.autoSelect, this.defaultSources = this.widget.defaultSources, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.includeDefaultSourcesDisabled = this.widget.includeDefaultSources, this.label = this.widget.label, this.locationDisabled = this.widget.locationEnabled, this.maxResults = this.widget.maxResults, this.maxSuggestions = this.widget.maxSuggestions, this.minSuggestCharacters = this.widget.minSuggestCharacters, this.popupDisabled = this.widget.popupEnabled, this.popupTemplate = this.widget.popupTemplate, this.portal = this.widget.portal, this.position = "top-right", this.resultGraphic = this.widget.resultGraphic, this.resultGraphicDisabled = this.widget.resultGraphicEnabled, this.results = this.widget.results, this.searchAllDisabled = this.widget.searchAllEnabled, this.searchTerm = this.widget.searchTerm, this.selectedResult = this.widget.selectedResult, this.sources = this.widget.sources, this.state = this.viewModel.state, this.suggestions = this.widget.suggestions, this.suggestionsDisabled = this.widget.suggestionsEnabled, this.arcgisBlur = t(() => this.widget, "search-blur"), this.arcgisClear = t(() => this.widget, "search-clear"), this.arcgisComplete = t(() => this.widget, "search-complete"), this.arcgisFocus = t(() => this.widget, "search-focus"), this.arcgisPropertyChange = i()("state"), this.arcgisReady = l(), this.arcgisSelectResult = t(() => this.widget, "select-result"), this.arcgisStart = t(() => this.widget, "search-start"), this.arcgisSuggestComplete = t(() => this.widget, "suggest-complete"), this.arcgisSuggestStart = t(() => this.widget, "suggest-start");
14
+ super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.activeMenu = this.widget.activeMenu, this.activeSource = this.widget.activeSource, this.activeSourceIndex = this.widget.activeSourceIndex, this.allPlaceholder = this.widget.allPlaceholder, this.allSources = this.widget.allSources, this.autoDestroyDisabled = !1, this.autoSelectDisabled = this.widget.autoSelect, this.defaultSources = this.widget.defaultSources, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.includeDefaultSourcesDisabled = this.widget.includeDefaultSources, this.label = this.widget.label, this.locationDisabled = this.widget.locationEnabled, this.maxResults = this.widget.maxResults, this.maxSuggestions = this.widget.maxSuggestions, this.minSuggestCharacters = this.widget.minSuggestCharacters, this.popupDisabled = this.widget.popupEnabled, this.popupTemplate = this.widget.popupTemplate, this.portal = this.widget.portal, this.position = "top-right", this.resultGraphic = this.widget.resultGraphic, this.resultGraphicDisabled = this.widget.resultGraphicEnabled, this.results = this.widget.results, this.searchAllDisabled = this.widget.searchAllEnabled, this.searchTerm = this.widget.searchTerm, this.selectedResult = this.widget.selectedResult, this.sources = this.widget.sources, this.state = this.viewModel.state, this.suggestions = this.widget.suggestions, this.suggestionsDisabled = this.widget.suggestionsEnabled, this.arcgisBlur = t(() => this.widget, "search-blur"), this.arcgisClear = t(() => this.widget, "search-clear"), this.arcgisComplete = t(() => this.widget, "search-complete"), this.arcgisFocus = t(() => this.widget, "search-focus"), this.arcgisPropertyChange = i()("state"), this.arcgisReady = h(), this.arcgisSelectResult = t(() => this.widget, "select-result"), this.arcgisStart = t(() => this.widget, "search-start"), this.arcgisSuggestComplete = t(() => this.widget, "suggest-complete"), this.arcgisSuggestStart = t(() => this.widget, "suggest-start");
15
15
  }
16
16
  static {
17
17
  this.properties = { activeMenu: 1, activeSource: 0, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoDestroyDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 7, icon: 1, includeDefaultSourcesDisabled: 5, label: 1, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, position: 1, referenceElement: 1, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, state: 3, suggestions: 0, suggestionsDisabled: 5 };
18
18
  }
19
19
  static {
20
- this.shadowRootOptions = c;
20
+ this.shadowRootOptions = l;
21
21
  }
22
22
  static {
23
23
  this.styles = g;
@@ -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 ShadowCast } from '@arcgis/core/widgets/ShadowCast.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useShadowCastWidget: (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.ShadowCast, "label" | "viewModel" | "icon" | "headingLevel"> & {
14
+ } & Pick<ShadowCast, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.ShadowCastViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useShadowCastWidget: (component: import('@arcgis/components-contro
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.ShadowCastProperties): __esri.ShadowCastProperties | Promise<__esri.ShadowCastProperties>;
35
- } | undefined) => __esri.ShadowCast;
35
+ editConstructorProperties(props: __esri.ShadowCastProperties | undefined): __esri.ShadowCastProperties | Promise<__esri.ShadowCastProperties | undefined> | undefined;
36
+ } | undefined) => ShadowCast;
36
37
  /** [ShadowCast](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) displays the cumulative shadows of 3D features in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
37
38
  */
38
39
  export declare class ArcgisShadowCast extends LitElement {
@@ -48,12 +49,12 @@ export declare class ArcgisShadowCast extends LitElement {
48
49
  durationOptions: __esri.ShadowCastViewModelDurationOptions;
49
50
  endTimeOfDay: number;
50
51
  headingLevel: number;
51
- hideColorPicker: boolean | undefined;
52
- hideDatePicker: boolean | undefined;
53
- hideTimeRangeSlider: boolean | undefined;
54
- hideTimezone: boolean | undefined;
55
- hideTooltip: boolean | undefined;
56
- hideVisualizationOptions: boolean | undefined;
52
+ hideColorPicker: boolean;
53
+ hideDatePicker: boolean;
54
+ hideTimeRangeSlider: boolean;
55
+ hideTimezone: boolean;
56
+ hideTooltip: boolean;
57
+ hideVisualizationOptions: boolean;
57
58
  /**
58
59
  * Icon which represents the component.
59
60
  * Typically used when the component is controlled by another component (e.g. by the Expand component).
@@ -1,25 +1,25 @@
1
1
  import { c as t } from "../../chunks/runtime.js";
2
- import { newWidgetsShadowCast as e } from "@arcgis/core-adapter";
3
- import { usePropertyChange as s } from "@arcgis/components-controllers";
4
- import { m as o } from "../../chunks/useWidget.js";
5
- import { LitElement as a, createEvent as h, noShadowRoot as d } from "@arcgis/lumina";
6
- import { css as n } from "@lit/reactive-element/css-tag.js";
2
+ import { usePropertyChange as e } from "@arcgis/components-controllers";
3
+ import s from "@arcgis/core/widgets/ShadowCast.js";
4
+ import { LitElement as o, createEvent as a, noShadowRoot as h } from "@arcgis/lumina";
5
+ import { m as d } from "../../chunks/useWidget.js";
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.84 */
10
- const r = n`arcgis-shadow-cast{display:block}`, l = o(e);
11
- class c extends a {
9
+ v4.32.0-next.87 */
10
+ const n = r`arcgis-shadow-cast{display:block}`, l = d(s);
11
+ class c extends o {
12
12
  constructor() {
13
- super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.discreteOptions = this.viewModel.discreteOptions, this.durationOptions = this.viewModel.durationOptions, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = this.widget.headingLevel, this.hideColorPicker = this.widget.visibleElements.colorPicker, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideTimeRangeSlider = this.widget.visibleElements.timeRangeSlider, this.hideTimezone = this.widget.visibleElements.timezone, this.hideTooltip = this.widget.visibleElements.tooltip, this.hideVisualizationOptions = this.widget.visibleElements.visualizationOptions, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.thresholdOptions = this.viewModel.thresholdOptions, this.utcOffset = this.viewModel.utcOffset, this.visualizationType = this.viewModel.visualizationType, this.arcgisPropertyChange = s()("state"), this.arcgisReady = h();
13
+ super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.discreteOptions = this.viewModel.discreteOptions, this.durationOptions = this.viewModel.durationOptions, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = this.widget.headingLevel, this.hideColorPicker = this.widget.visibleElements.colorPicker, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideTimeRangeSlider = this.widget.visibleElements.timeRangeSlider, this.hideTimezone = this.widget.visibleElements.timezone, this.hideTooltip = this.widget.visibleElements.tooltip, this.hideVisualizationOptions = this.widget.visibleElements.visualizationOptions, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.thresholdOptions = this.viewModel.thresholdOptions, this.utcOffset = this.viewModel.utcOffset, this.visualizationType = this.viewModel.visualizationType, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a();
14
14
  }
15
15
  static {
16
16
  this.properties = { autoDestroyDisabled: 5, discreteOptions: 0, durationOptions: 0, endTimeOfDay: 9, headingLevel: 9, hideColorPicker: 5, hideDatePicker: 5, hideTimeRangeSlider: 5, hideTimezone: 5, hideTooltip: 5, hideVisualizationOptions: 5, icon: 1, label: 1, position: 1, referenceElement: 1, startTimeOfDay: 9, state: 3, thresholdOptions: 0, utcOffset: 9, visualizationType: 1 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = d;
19
+ this.shadowRootOptions = h;
20
20
  }
21
21
  static {
22
- this.styles = r;
22
+ this.styles = n;
23
23
  }
24
24
  // #endregion
25
25
  // #region Public Methods
@@ -28,7 +28,7 @@ class c extends a {
28
28
  await this.manager.destroy();
29
29
  }
30
30
  async getDuration(i) {
31
- return this.widget?.viewModel.getDuration(i);
31
+ return await this.widget?.viewModel.getDuration(i);
32
32
  }
33
33
  async start() {
34
34
  this.widget?.viewModel.start();
@@ -1,16 +1,18 @@
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 GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
6
+ import { default as Sketch } from '@arcgis/core/widgets/Sketch.js';
6
7
  import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
8
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
9
 
8
10
  declare const useSketchWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
9
11
  manager: import('@arcgis/components-controllers').ControllerManager;
10
12
  el: HTMLElement;
11
13
  autoDestroyDisabled?: boolean;
12
14
  destroy?: () => Promise<void>;
13
- } & Pick<__esri.Sketch, "scale" | "label" | "viewModel" | "icon" | "layout" | "availableCreateTools" | "creationMode" | "defaultCreateOptions" | "defaultUpdateOptions" | "labelOptions" | "layer" | "selectionManagementStyle" | "snappingOptions" | "tooltipOptions"> & {
15
+ } & Pick<Sketch, never> & {
14
16
  reactiveUtils?: typeof __esri.reactiveUtils;
15
17
  state?: "ready" | "disabled" | "active" | undefined;
16
18
  viewModel?: __esri.SketchViewModel | undefined;
@@ -31,12 +33,12 @@ declare const useSketchWidget: (component: import('@arcgis/components-controller
31
33
  autoDestroyDisabled: boolean;
32
34
  destroy: () => Promise<void>;
33
35
  }, options?: {
34
- editConstructorProperties(props: __esri.SketchProperties): __esri.SketchProperties | Promise<__esri.SketchProperties>;
35
- } | undefined) => __esri.Sketch;
36
+ editConstructorProperties(props: __esri.SketchProperties | undefined): __esri.SketchProperties | Promise<__esri.SketchProperties | undefined> | undefined;
37
+ } | undefined) => Sketch;
36
38
  /** [Sketch](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html) provides a simple UI for creating and updating graphics on a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
37
39
  */
38
40
  export declare class ArcgisSketch extends LitElement {
39
- readonly activeTool: "point" | "multipoint" | "polyline" | "polygon" | "mesh" | "circle" | "rectangle" | "move" | "reshape" | "transform" | "rectangle-selection" | "lasso-selection" | "custom-selection";
41
+ readonly activeTool: nullish | "rectangle" | "polygon" | "point" | "move" | "circle" | "reshape" | "polyline" | "transform" | "multipoint" | "mesh" | "rectangle-selection" | "lasso-selection" | "custom-selection";
40
42
  /**
41
43
  * If true, the component will not be destroyed automatically when it is
42
44
  * disconnected from the document. This is useful when you want to move the
@@ -45,9 +47,9 @@ export declare class ArcgisSketch extends LitElement {
45
47
  * memory leaks.
46
48
  */
47
49
  autoDestroyDisabled: boolean;
48
- availableCreateTools: string[];
49
- readonly createGraphic: __esri.Graphic;
50
- creationMode: "single" | "update" | "continuous";
50
+ availableCreateTools: nullish | string[];
51
+ readonly createGraphic: nullish | __esri.Graphic;
52
+ creationMode: "update" | "single" | "continuous";
51
53
  defaultCreateOptions: __esri.SketchDefaultCreateOptions;
52
54
  /**
53
55
  * By default, sketch will auto-create a new graphics layer if none was
@@ -55,23 +57,23 @@ export declare class ArcgisSketch extends LitElement {
55
57
  */
56
58
  defaultGraphicsLayerDisabled: boolean;
57
59
  defaultUpdateOptions: __esri.SketchDefaultUpdateOptions;
58
- hideCreateToolsCircle: boolean | undefined;
59
- hideCreateToolsPoint: boolean | undefined;
60
- hideCreateToolsPolygon: boolean | undefined;
61
- hideCreateToolsPolyline: boolean | undefined;
62
- hideCreateToolsRectangle: boolean | undefined;
63
- hideDuplicateButton: boolean | undefined;
64
- hideLabelsToggle: boolean | undefined;
65
- hideSelectionToolsLassoSelection: boolean | undefined;
66
- hideSelectionToolsRectangleSelection: boolean | undefined;
67
- hideSettingsMenu: boolean | undefined;
68
- hideSnappingControls: boolean | undefined;
69
- hideSnappingControlsElementsEnabledToggle: boolean | undefined;
70
- hideSnappingControlsElementsFeatureEnabledToggle: boolean | undefined;
71
- hideSnappingControlsElementsLayerList: boolean | undefined;
72
- hideSnappingControlsElementsSelfEnabledToggle: boolean | undefined;
73
- hideTooltipsToggle: boolean | undefined;
74
- hideUndoRedoMenu: boolean | undefined;
60
+ hideCreateToolsCircle: boolean;
61
+ hideCreateToolsPoint: boolean;
62
+ hideCreateToolsPolygon: boolean;
63
+ hideCreateToolsPolyline: boolean;
64
+ hideCreateToolsRectangle: boolean;
65
+ hideDuplicateButton: boolean;
66
+ hideLabelsToggle: boolean;
67
+ hideSelectionToolsLassoSelection: boolean;
68
+ hideSelectionToolsRectangleSelection: boolean;
69
+ hideSettingsMenu: boolean;
70
+ hideSnappingControls: boolean;
71
+ hideSnappingControlsElementsEnabledToggle: boolean;
72
+ hideSnappingControlsElementsFeatureEnabledToggle: boolean;
73
+ hideSnappingControlsElementsLayerList: boolean;
74
+ hideSnappingControlsElementsSelfEnabledToggle: boolean;
75
+ hideTooltipsToggle: boolean;
76
+ hideUndoRedoMenu: boolean;
75
77
  /**
76
78
  * Icon which represents the component.
77
79
  * Typically used when the component is controlled by another component (e.g. by the Expand component).
@@ -81,8 +83,8 @@ export declare class ArcgisSketch extends LitElement {
81
83
  /** The component's default label. */
82
84
  label: string;
83
85
  labelOptions: __esri.SketchLabelOptions;
84
- layer: __esri.GraphicsLayer;
85
- layout: "horizontal" | "vertical";
86
+ layer: GraphicsLayer;
87
+ layout: "vertical" | "horizontal";
86
88
  pointSymbol: __esri.SimpleMarkerSymbol | __esri.PictureMarkerSymbol | __esri.PointSymbol3D | __esri.TextSymbol | __esri.CIMSymbol | __esri.WebStyleSymbol;
87
89
  polygonSymbol: __esri.CIMSymbol | __esri.SimpleFillSymbol | __esri.PolygonSymbol3D;
88
90
  polylineSymbol: __esri.SimpleLineSymbol | __esri.CIMSymbol | __esri.LineSymbol3D;
@@ -90,7 +92,7 @@ export declare class ArcgisSketch extends LitElement {
90
92
  referenceElement: ArcgisReferenceElement | Nil | string;
91
93
  scale: "s" | "l" | "m";
92
94
  selectionManagementStyle: "inline" | "separate";
93
- showSnappingControlsElementsHeader: boolean | undefined;
95
+ showSnappingControlsElementsHeader: boolean;
94
96
  snappingOptions: __esri.SnappingOptions;
95
97
  readonly state: "ready" | "disabled" | "active";
96
98
  tooltipOptions: __esri.SketchTooltipOptions;
@@ -1,25 +1,26 @@
1
1
  import { c as s } from "../../chunks/runtime.js";
2
- import { newLayersGraphicsLayer as o, newWidgetsSketch as l } from "@arcgis/core-adapter";
3
- import { usePropertyChange as a } from "@arcgis/components-controllers";
4
- import { m as n } from "../../chunks/useWidget.js";
5
- import { LitElement as h, createEvent as d, noShadowRoot as r } from "@arcgis/lumina";
2
+ import { usePropertyChange as o } from "@arcgis/components-controllers";
6
3
  import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
4
+ import l from "@arcgis/core/layers/GraphicsLayer.js";
5
+ import n from "@arcgis/core/widgets/Sketch.js";
6
+ import { LitElement as a, createEvent as h, noShadowRoot as d } from "@arcgis/lumina";
7
+ import { m as r } from "../../chunks/useWidget.js";
7
8
  import { css as g } from "@lit/reactive-element/css-tag.js";
8
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
10
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
10
- v4.32.0-next.84 */
11
- const p = g`arcgis-sketch{display:block}`, c = n(l);
12
- class m extends h {
11
+ v4.32.0-next.87 */
12
+ const p = g`arcgis-sketch{display:block}`, c = r(n);
13
+ class m extends a {
13
14
  // #endregion
14
15
  // #region Lifecycle
15
16
  constructor() {
16
- super(), this.widget = c(this, { editConstructorProperties: this._editConstructorProperties }), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.selectionManagementStyle = this.widget.selectionManagementStyle, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = t(() => this.widget, "create"), this.arcgisDelete = t(() => this.widget, "delete"), this.arcgisPropertyChange = a()("state"), this.arcgisReady = d(), this.arcgisRedo = t(() => this.widget, "redo"), this.arcgisUndo = t(() => this.widget, "undo"), this.arcgisUpdate = t(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
17
+ super(), this.widget = c(this, { editConstructorProperties: this._editConstructorProperties }), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.selectionManagementStyle = this.widget.selectionManagementStyle, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = t(() => this.widget, "create"), this.arcgisDelete = t(() => this.widget, "delete"), this.arcgisPropertyChange = o()("state"), this.arcgisReady = h(), this.arcgisRedo = t(() => this.widget, "redo"), this.arcgisUndo = t(() => this.widget, "undo"), this.arcgisUpdate = t(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
17
18
  }
18
19
  static {
19
20
  this.properties = { activeTool: 3, autoDestroyDisabled: 5, availableCreateTools: 0, createGraphic: 0, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, hideCreateToolsCircle: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, position: 1, referenceElement: 1, scale: 1, selectionManagementStyle: 1, showSnappingControlsElementsHeader: 5, snappingOptions: 0, state: 3, tooltipOptions: 0, updateGraphics: 0 };
20
21
  }
21
22
  static {
22
- this.shadowRootOptions = r;
23
+ this.shadowRootOptions = d;
23
24
  }
24
25
  static {
25
26
  this.styles = p;
@@ -60,9 +61,7 @@ class m extends h {
60
61
  this.defaultGraphicsLayerDisabled || this.el.view?.map.add(this.widget.layer);
61
62
  }
62
63
  async _editConstructorProperties(e) {
63
- return this.defaultGraphicsLayerDisabled || (e.layer ??= await o({
64
- title: "Sketch Layer"
65
- })), e;
64
+ return this.defaultGraphicsLayerDisabled || (e.layer ??= new l({ title: "Sketch Layer" })), e;
66
65
  }
67
66
  }
68
67
  s("arcgis-sketch", 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 Slice } from '@arcgis/core/widgets/Slice.js';
6
6
  import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
8
 
8
9
  declare const useSliceWidget: (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.Slice, "label" | "viewModel" | "icon" | "headingLevel" | "analysis"> & {
14
+ } & Pick<Slice, never> & {
14
15
  reactiveUtils?: typeof __esri.reactiveUtils;
15
16
  state?: unknown;
16
17
  viewModel?: __esri.SliceViewModel | undefined;
@@ -31,8 +32,8 @@ declare const useSliceWidget: (component: import('@arcgis/components-controllers
31
32
  autoDestroyDisabled: boolean;
32
33
  destroy: () => Promise<void>;
33
34
  }, options?: {
34
- editConstructorProperties(props: __esri.SliceProperties): __esri.SliceProperties | Promise<__esri.SliceProperties>;
35
- } | undefined) => __esri.Slice;
35
+ editConstructorProperties(props: __esri.SliceProperties | undefined): __esri.SliceProperties | Promise<__esri.SliceProperties | undefined> | undefined;
36
+ } | undefined) => Slice;
36
37
  /** [Slice](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html) is a 3D analysis tool that can be used to reveal occluded content in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
37
38
  */
38
39
  export declare class ArcgisSlice extends LitElement {
@@ -58,7 +59,7 @@ export declare class ArcgisSlice extends LitElement {
58
59
  label: string;
59
60
  position: __esri.UIPosition;
60
61
  referenceElement: ArcgisReferenceElement | Nil | string;
61
- shape: __esri.SlicePlane;
62
+ shape: nullish | __esri.SlicePlane;
62
63
  readonly state: "ready" | "disabled" | "slicing" | "sliced";
63
64
  tiltEnabled: boolean;
64
65
  clear(): Promise<void>;
@@ -1,22 +1,22 @@
1
1
  import { c as e } from "../../chunks/runtime.js";
2
- import { newWidgetsSlice as t } 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 a, createEvent as o, noShadowRoot as l } from "@arcgis/lumina";
2
+ import { usePropertyChange as t } from "@arcgis/components-controllers";
3
+ import s from "@arcgis/core/widgets/Slice.js";
4
+ import { LitElement as i, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
5
+ import { m as l } 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.84 */
10
- const d = r`arcgis-slice{display:block}`, h = i(t);
11
- class c extends a {
9
+ v4.32.0-next.87 */
10
+ const d = r`arcgis-slice{display:block}`, h = l(s);
11
+ class c extends i {
12
12
  constructor() {
13
- super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, 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.excludeGroundSurface = this.viewModel.excludeGroundSurface, this.excludedLayers = this.viewModel.excludedLayers, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.shape = this.viewModel.shape, this.state = this.viewModel.state, this.tiltEnabled = this.viewModel.tiltEnabled, this.arcgisPropertyChange = t()("analysis", "state"), this.arcgisReady = a();
14
14
  }
15
15
  static {
16
16
  this.properties = { analysis: 0, autoDestroyDisabled: 5, excludeGroundSurface: 5, excludedLayers: 0, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, shape: 0, state: 3, tiltEnabled: 5 };
17
17
  }
18
18
  static {
19
- this.shadowRootOptions = l;
19
+ this.shadowRootOptions = o;
20
20
  }
21
21
  static {
22
22
  this.styles = d;