@arcgis/map-components 5.1.0-next.12 → 5.1.0-next.14

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 (257) hide show
  1. package/dist/cdn/{7JQZBAFA.js → 255MJSL7.js} +1 -1
  2. package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
  3. package/dist/cdn/{EGN3YTD6.js → 2ID4LW4Y.js} +1 -1
  4. package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
  5. package/dist/cdn/2XOP6ODR.js +2 -0
  6. package/dist/cdn/{NRBM3YR6.js → 2XULQGZU.js} +1 -1
  7. package/dist/cdn/{KY2UAUNI.js → 2YBN6D3R.js} +1 -1
  8. package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
  9. package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
  10. package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
  11. package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
  12. package/dist/cdn/{U4QW6VHU.js → 4723UCGJ.js} +1 -1
  13. package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
  14. package/dist/cdn/{FYTMMPPG.js → 4GMSBMTS.js} +1 -1
  15. package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
  16. package/dist/cdn/4S2ZIUO2.js +2 -0
  17. package/dist/cdn/{ZURN5EZI.js → 4WDHTN24.js} +1 -1
  18. package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
  19. package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
  20. package/dist/cdn/5IXIFOQE.js +2 -0
  21. package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
  22. package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
  23. package/dist/cdn/6PXPLFFB.js +2 -0
  24. package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
  25. package/dist/cdn/6YZHULFG.js +2 -0
  26. package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
  27. package/dist/cdn/{UNX4CKAF.js → 7D3Z55D3.js} +1 -1
  28. package/dist/cdn/{RRXH4CSV.js → 7SCKZLOG.js} +1 -1
  29. package/dist/cdn/7SIDRD63.js +2 -0
  30. package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
  31. package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
  32. package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
  33. package/dist/cdn/{F4HWT5H3.js → ANLNLB7F.js} +1 -1
  34. package/dist/cdn/{A44ZCOCX.js → ATG3WC6M.js} +1 -1
  35. package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
  36. package/dist/cdn/{BUOIT34V.js → B4IPMHN5.js} +1 -1
  37. package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
  38. package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
  39. package/dist/cdn/{XMSGTOUV.js → BOM3XB6A.js} +1 -1
  40. package/dist/cdn/BQRJK2MF.js +2 -0
  41. package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
  42. package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
  43. package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
  44. package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
  45. package/dist/cdn/C4FXVPMR.js +2 -0
  46. package/dist/cdn/{HH6BDERO.js → CJX4GSEZ.js} +1 -1
  47. package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
  48. package/dist/cdn/COSZXJ2Q.js +2 -0
  49. package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
  50. package/dist/cdn/CWODI2VY.js +2 -0
  51. package/dist/cdn/{A2JO7DWO.js → DDYVX52H.js} +1 -1
  52. package/dist/cdn/{2MTWUJIA.js → DEJGWX76.js} +1 -1
  53. package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
  54. package/dist/cdn/{FB6YQKF2.js → DMGQRIIZ.js} +1 -1
  55. package/dist/cdn/E44RUDE7.js +2 -0
  56. package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
  57. package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
  58. package/dist/cdn/EQPJBPD5.js +2 -0
  59. package/dist/cdn/{KHM3S4Q6.js → F2JFRFTT.js} +1 -1
  60. package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
  61. package/dist/cdn/{2NOL7QIE.js → FNJ3HMEN.js} +1 -1
  62. package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
  63. package/dist/cdn/{AEYZDEAH.js → FUXY5EKO.js} +1 -1
  64. package/dist/cdn/{OD5DHUHZ.js → FZDIAVC4.js} +1 -1
  65. package/dist/cdn/{VNOZYJLP.js → G7QZJNAC.js} +1 -1
  66. package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
  67. package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
  68. package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
  69. package/dist/cdn/GJPX2JLE.js +2 -0
  70. package/dist/cdn/HDL76VD5.js +2 -0
  71. package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
  72. package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
  73. package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
  74. package/dist/cdn/{5ITF7Q7U.js → I4SD3GKU.js} +1 -1
  75. package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
  76. package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
  77. package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
  78. package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
  79. package/dist/cdn/{SZ5MNKOW.js → IVHQAQZW.js} +1 -1
  80. package/dist/cdn/{6F6VOBIA.js → IX5YLGNO.js} +1 -1
  81. package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
  82. package/dist/cdn/JSD5CN5Q.js +2 -0
  83. package/dist/cdn/{ZD5FJHIQ.js → JSISELHB.js} +1 -1
  84. package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
  85. package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
  86. package/dist/cdn/{NZAO2BVV.js → L6E647YW.js} +1 -1
  87. package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
  88. package/dist/cdn/LB32PLWG.js +2 -0
  89. package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
  90. package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
  91. package/dist/cdn/{R4V6HGJH.js → LYJM7ALP.js} +1 -1
  92. package/dist/cdn/{OCEXQCFT.js → MIGWB3PK.js} +1 -1
  93. package/dist/cdn/{RUB6EORR.js → MIXNJBCA.js} +1 -1
  94. package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
  95. package/dist/cdn/{NSGDR7V5.js → MSWQUZSG.js} +1 -1
  96. package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
  97. package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
  98. package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
  99. package/dist/cdn/{XE5UPQ5E.js → NKO7ZJZN.js} +1 -1
  100. package/dist/cdn/{UHFSSX2G.js → NLRKDVIJ.js} +1 -1
  101. package/dist/cdn/{LZQCXN6A.js → NPEA453T.js} +1 -1
  102. package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
  103. package/dist/cdn/{VU3SJK5Z.js → NWWJHV2L.js} +1 -1
  104. package/dist/cdn/{YA6FUJR2.js → O2BAIE3M.js} +1 -1
  105. package/dist/cdn/{A7JPWYKR.js → OJCZ3DV5.js} +1 -1
  106. package/dist/cdn/{TP6I2LJO.js → OKXFUFPW.js} +1 -1
  107. package/dist/cdn/{M65HMJZA.js → PJHO2DXQ.js} +1 -1
  108. package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
  109. package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
  110. package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
  111. package/dist/cdn/{MDCB7SO4.js → QEXDU6P7.js} +1 -1
  112. package/dist/cdn/{TJG4UE24.js → QHSQUBMZ.js} +1 -1
  113. package/dist/cdn/QUXORNHT.js +2 -0
  114. package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
  115. package/dist/cdn/{ZM2YXU7Y.js → RMGBO7V2.js} +1 -1
  116. package/dist/cdn/{CVBNRF34.js → S726H24O.js} +1 -1
  117. package/dist/cdn/{XXZ3CKTX.js → SKUQ3U6A.js} +1 -1
  118. package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
  119. package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
  120. package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
  121. package/dist/cdn/{5LBJB4MP.js → TK4IQ72L.js} +1 -1
  122. package/dist/cdn/TKFT2JL7.js +2 -0
  123. package/dist/cdn/TKK5PRP5.js +2 -0
  124. package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
  125. package/dist/cdn/{GY5226CJ.js → UNY32K3R.js} +1 -1
  126. package/dist/cdn/US7LKUHP.js +2 -0
  127. package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
  128. package/dist/cdn/VYAUH7PN.js +2 -0
  129. package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
  130. package/dist/cdn/{HB3W3CO5.js → WCIXC6UR.js} +1 -1
  131. package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
  132. package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
  133. package/dist/cdn/{PISCYSA5.js → X35NN2TZ.js} +1 -1
  134. package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
  135. package/dist/cdn/{QXUY4FOY.js → X5NCN674.js} +1 -1
  136. package/dist/cdn/{63P5VYGP.js → XLB7XDRF.js} +1 -1
  137. package/dist/cdn/{C24SOTLL.js → Y4JTATJ2.js} +1 -1
  138. package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
  139. package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
  140. package/dist/cdn/index.js +1 -1
  141. package/dist/chunks/esri-main.js +1 -1
  142. package/dist/chunks/measurementUtils.js +3 -3
  143. package/dist/components/arcgis-area-measurement-2d/customElement.js +62 -74
  144. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  145. package/dist/components/arcgis-area-measurement-3d/customElement.js +52 -64
  146. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
  147. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
  148. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
  149. package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
  150. package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
  151. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
  152. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  153. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -3
  154. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  155. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +59 -71
  156. package/dist/components/arcgis-directions/customElement.d.ts +21 -5
  157. package/dist/components/arcgis-directions/customElement.js +5 -5
  158. package/dist/components/arcgis-distance-measurement-2d/customElement.js +58 -70
  159. package/dist/components/arcgis-editor/customElement.d.ts +2 -3
  160. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  161. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  162. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  163. package/dist/components/arcgis-feature/customElement.js +6 -6
  164. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -2
  165. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  166. package/dist/components/arcgis-feature-table/customElement.d.ts +72 -24
  167. package/dist/components/arcgis-feature-table/customElement.js +28 -13
  168. package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
  169. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  170. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +60 -60
  171. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
  172. package/dist/components/arcgis-features/customElement.js +25 -31
  173. package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
  174. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  175. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  176. package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
  177. package/dist/components/arcgis-legend/customElement.d.ts +3 -3
  178. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  179. package/dist/components/arcgis-link-chart/customElement.d.ts +15 -17
  180. package/dist/components/arcgis-link-chart/customElement.js +10 -15
  181. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
  182. package/dist/components/arcgis-map/customElement.d.ts +16 -18
  183. package/dist/components/arcgis-map/customElement.js +1 -6
  184. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +7 -9
  185. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
  186. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
  187. package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
  188. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
  189. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
  190. package/dist/components/arcgis-paste/customElement.d.ts +4 -4
  191. package/dist/components/arcgis-popup/customElement.js +106 -99
  192. package/dist/components/arcgis-popup/types.d.ts +1 -1
  193. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
  194. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  195. package/dist/components/arcgis-print/customElement.d.ts +16 -7
  196. package/dist/components/arcgis-print/customElement.js +7 -7
  197. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
  198. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  199. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  200. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
  201. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  202. package/dist/components/arcgis-scene/customElement.d.ts +21 -23
  203. package/dist/components/arcgis-scene/customElement.js +8 -13
  204. package/dist/components/arcgis-search/customElement.d.ts +10 -12
  205. package/dist/components/arcgis-search/customElement.js +8 -9
  206. package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
  207. package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
  208. package/dist/components/arcgis-slice/types.d.ts +2 -2
  209. package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
  210. package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
  211. package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
  212. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +14 -2
  213. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  214. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -3
  215. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +74 -14
  216. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
  217. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
  218. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
  219. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
  220. package/dist/components/arcgis-utility-network-trace-location/customElement.js +17 -14
  221. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
  222. package/dist/components/arcgis-utility-network-trace-results/customElement.js +39 -26
  223. package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
  224. package/dist/components/arcgis-volume-measurement/customElement.d.ts +3 -3
  225. package/dist/components/arcgis-volume-measurement/customElement.js +84 -84
  226. package/dist/components/types.d.ts +8 -6
  227. package/dist/docs/api.json +1 -1
  228. package/dist/docs/docs.json +1 -1
  229. package/dist/docs/vscode.html-custom-data.json +1 -1
  230. package/dist/docs/web-types.json +1 -1
  231. package/dist/loader.js +13 -13
  232. package/dist/types/lumina.d.ts +6 -6
  233. package/dist/types/preact.d.ts +6 -6
  234. package/dist/types/react.d.ts +6 -6
  235. package/dist/types/stencil.d.ts +6 -6
  236. package/package.json +4 -4
  237. package/dist/cdn/22LNBUKE.js +0 -2
  238. package/dist/cdn/6CGPJGIB.js +0 -2
  239. package/dist/cdn/A4UJ53JS.js +0 -2
  240. package/dist/cdn/CTSWZC3O.js +0 -2
  241. package/dist/cdn/CWJ5OA5A.js +0 -2
  242. package/dist/cdn/D73JFV2R.js +0 -2
  243. package/dist/cdn/DINM6JDS.js +0 -2
  244. package/dist/cdn/EL62JS5C.js +0 -2
  245. package/dist/cdn/EM7YCHTU.js +0 -2
  246. package/dist/cdn/HE6QV4XG.js +0 -2
  247. package/dist/cdn/IDDSHZVB.js +0 -2
  248. package/dist/cdn/JRPIJ24K.js +0 -2
  249. package/dist/cdn/KEFY4XPI.js +0 -2
  250. package/dist/cdn/LHEP4QSS.js +0 -2
  251. package/dist/cdn/LIEE5WCD.js +0 -2
  252. package/dist/cdn/MSMDSEFM.js +0 -2
  253. package/dist/cdn/N3BD4UQD.js +0 -2
  254. package/dist/cdn/QJOQNSYB.js +0 -2
  255. package/dist/cdn/S6G6XXTM.js +0 -2
  256. package/dist/cdn/TM5C2P2F.js +0 -2
  257. package/dist/cdn/Z4F6DHBB.js +0 -2
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as n } from "../../chunks/runtime.js";
3
3
  import { css as r, html as t } from "lit";
4
- import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
5
5
  import { LitElement as c } from "@arcgis/lumina";
6
6
  import { u as h } from "../../chunks/useHandles.js";
7
- const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, p = [
7
+ const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, d = [
8
8
  "catalog-footprint",
9
9
  "geojson",
10
10
  "csv",
@@ -13,16 +13,16 @@ const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);displ
13
13
  "map-notes",
14
14
  "stream"
15
15
  ];
16
- function d(i) {
16
+ function p(i) {
17
17
  if (!i)
18
18
  return !1;
19
19
  const { map: e, graphics: o } = i;
20
20
  return o?.length ? !0 : e?.allLayers.some((a) => {
21
21
  if (a.type === "feature" && "source" in a) {
22
- const { type: s } = a.source;
23
- return s !== "feature-layer" && s !== "ogc-feature";
22
+ const { type: l } = a.source;
23
+ return l !== "feature-layer" && l !== "ogc-feature";
24
24
  }
25
- return p.includes(a.type);
25
+ return d.includes(a.type);
26
26
  }) ?? !1;
27
27
  }
28
28
  function m(i) {
@@ -31,28 +31,28 @@ function m(i) {
31
31
  }
32
32
  class g extends c {
33
33
  constructor() {
34
- super(...arguments), this._handles = h("disconnect"), this.autoPopulateAuthor = !1;
34
+ super(...arguments), this._handles = h("disconnect"), this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
35
35
  }
36
36
  static {
37
- this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, _showForceFeatureAttributes: 16, _showTablesInput: 16, autoPopulateAuthor: 5, viewModel: 0, messages: 0 };
37
+ this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, _showForceFeatureAttributes: 16, _showTablesInput: 16, autoPopulateAuthor: 5, viewModel: 0, messages: 0, hideFeatureAttributes: 5, hideIncludeTables: 5 };
38
38
  }
39
39
  static {
40
40
  this.styles = u;
41
41
  }
42
42
  loaded() {
43
43
  this.manager.onLifecycle(() => [
44
- l(() => this.viewModel.templateOptions.id, (e) => {
45
- this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(l(() => [
44
+ s(() => this.viewModel.templateOptions.id, (e) => {
45
+ this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(s(() => [
46
46
  this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,
47
47
  this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,
48
48
  this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,
49
49
  this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,
50
50
  this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length
51
51
  ], () => {
52
- this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length, this._showForceFeatureAttributes = d(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id, this._showTablesInput = m(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id;
52
+ this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length, this._showForceFeatureAttributes = p(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id && !this.hideFeatureAttributes, this._showTablesInput = m(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id && !this.hideIncludeTables;
53
53
  }, { initial: !0 }), "template-handle");
54
54
  }, { initial: !0 }),
55
- l(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
55
+ s(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
56
56
  !this.viewModel.templateOptions.author && this.autoPopulateAuthor && this.viewModel.portal?.user?.username && (this.viewModel.templateOptions.author = this.viewModel.portal.user.username, this.requestUpdate());
57
57
  }, { initial: !0 })
58
58
  ]);
@@ -2,15 +2,15 @@
2
2
  import { c as l } from "../../chunks/runtime.js";
3
3
  import { css as o, html as e } from "lit";
4
4
  import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
5
- import { LitElement as n } from "@arcgis/lumina";
6
- import { u as r } from "../../chunks/useHandles.js";
5
+ import { LitElement as r } from "@arcgis/lumina";
6
+ import { u as n } from "../../chunks/useHandles.js";
7
7
  const c = o`:host{display:flex;flex-direction:column;height:100%}.layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`;
8
- class d extends n {
8
+ class d extends r {
9
9
  constructor() {
10
- super(...arguments), this._handles = r("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
10
+ super(...arguments), this._handles = n("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
11
11
  }
12
12
  static {
13
- this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
13
+ this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0, hideFeatureAttributes: 5, hideIncludeTables: 5 };
14
14
  }
15
15
  static {
16
16
  this.styles = c;
@@ -42,7 +42,7 @@ class d extends n {
42
42
  return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
43
43
  }
44
44
  _renderAdvancedSection() {
45
- return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
45
+ return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
46
46
  }
47
47
  _renderExportButton() {
48
48
  return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
@@ -4,22 +4,22 @@ import { css as i, html as a } from "lit";
4
4
  import { LitElement as l } from "@arcgis/lumina";
5
5
  import { i as o } from "../../chunks/utils2.js";
6
6
  import { u as c } from "../../chunks/useHandles.js";
7
- import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
8
- const p = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
7
+ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
8
+ const n = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
9
9
  class r extends l {
10
10
  constructor() {
11
- super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
11
+ super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
12
12
  }
13
13
  static {
14
- this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
14
+ this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1, hideFeatureAttributes: 5, hideIncludeTables: 5 };
15
15
  }
16
16
  static {
17
- this.styles = p;
17
+ this.styles = n;
18
18
  }
19
19
  loaded() {
20
20
  this.manager.onLifecycle(() => [
21
21
  this.viewModel.exportedLinks.on("change", () => {
22
- this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => n(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
22
+ this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => d(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
23
23
  })
24
24
  ]);
25
25
  }
@@ -41,7 +41,7 @@ class r extends l {
41
41
  }
42
42
  render() {
43
43
  const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
44
- return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
44
+ return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
45
45
  }
46
46
  }
47
47
  s("arcgis-print-main-panel", r);
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Portal from "@arcgis/core/portal/Portal.js";
3
- import type Point from "@arcgis/core/geometry/Point";
3
+ import type Point from "@arcgis/core/geometry/Point.js";
4
4
  import type { HeadingLevel } from "../types.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type MapView from "@arcgis/core/views/MapView.js";
3
- import type { MeasurementSystem } from "@arcgis/core/core/units";
3
+ import type { MeasurementSystem } from "@arcgis/core/core/units.js";
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
5
  import type { ArcgisReferenceElement } from "../types.js";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
@@ -2,18 +2,17 @@
2
2
  import type Camera from "@arcgis/core/Camera.js";
3
3
  import type Point from "@arcgis/core/geometry/Point.js";
4
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
5
- import type LayerView from "@arcgis/core/views/layers/LayerView";
6
- import type Layer from "@arcgis/core/layers/Layer";
7
- import type Analysis from "@arcgis/core/analysis/Analysis";
8
- import type Viewpoint from "@arcgis/core/Viewpoint";
9
- import type SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo";
10
- import type Ground from "@arcgis/core/Ground";
11
- import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings";
12
- import type FocusAreas from "@arcgis/core/effects/FocusAreas";
13
- import type Basemap from "@arcgis/core/Basemap";
14
- import type LayerView2 from "@arcgis/core/views/layers/LayerView.js";
5
+ import type LayerView from "@arcgis/core/views/layers/LayerView.js";
6
+ import type Layer from "@arcgis/core/layers/Layer.js";
7
+ import type Analysis from "@arcgis/core/analysis/Analysis.js";
8
+ import type Viewpoint from "@arcgis/core/Viewpoint.js";
9
+ import type SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo.js";
10
+ import type Ground from "@arcgis/core/Ground.js";
11
+ import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
12
+ import type FocusAreas from "@arcgis/core/effects/FocusAreas.js";
13
+ import type Basemap from "@arcgis/core/Basemap.js";
14
+ import type Map from "@arcgis/core/Map.js";
15
15
  import type Collection from "@arcgis/core/core/Collection.js";
16
- import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
17
16
  import type BasemapView from "@arcgis/core/views/BasemapView.js";
18
17
  import type Extent from "@arcgis/core/geometry/Extent.js";
19
18
  import type Constraints from "@arcgis/core/views/3d/constraints/Constraints.js";
@@ -23,7 +22,6 @@ import type Graphic from "@arcgis/core/Graphic.js";
23
22
  import type GroundView from "@arcgis/core/views/GroundView.js";
24
23
  import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
25
24
  import type Magnifier from "@arcgis/core/views/Magnifier.js";
26
- import type Map2 from "@arcgis/core/Map.js";
27
25
  import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
28
26
  import type Popup from "@arcgis/core/widgets/Popup.js";
29
27
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
@@ -33,12 +31,12 @@ import type Polygon from "@arcgis/core/geometry/Polygon.js";
33
31
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
34
32
  import type { LoadErrorSource } from "../types.js";
35
33
  import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
36
- import type { AnalysisView3DFor } from "@arcgis/core/views/3d/analysis/types";
37
- import type { LayerView3DFor } from "@arcgis/core/views/3d/types";
38
- import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types";
39
- import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, HitTestOptions3D, Screenshot, UserSettings, SceneViewHitTestResult, GoToOptions3D, GoToTarget3D } from "@arcgis/core/views/types";
40
- import type { ScreenPoint } from "@arcgis/core/core/types";
41
- import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
34
+ import type { AnalysisView3DFor } from "@arcgis/core/views/3d/analysis/types.js";
35
+ import type { LayerView3DFor } from "@arcgis/core/views/3d/types.js";
36
+ import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
37
+ import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, HitTestOptions3D, Screenshot, UserSettings, SceneViewHitTestResult, GoToOptions3D, GoToTarget3D } from "@arcgis/core/views/types.js";
38
+ import type { ScreenPoint } from "@arcgis/core/core/types.js";
39
+ import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
42
40
  import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
43
41
  import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
44
42
 
@@ -115,7 +113,7 @@ export abstract class ArcgisScene extends LitElement {
115
113
  *
116
114
  * @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
117
115
  */
118
- get allLayerViews(): ReadonlyCollection<LayerView2>;
116
+ get allLayerViews(): ReadonlyCollection<LayerView>;
119
117
  /**
120
118
  * Allows the view to be partially or fully transparent when composited with the webpage elements behind it.
121
119
  *
@@ -150,7 +148,7 @@ export abstract class ArcgisScene extends LitElement {
150
148
  * // Removes an analysis from the View
151
149
  * view.analyses.remove(lineOfSightAnalysis);
152
150
  */
153
- accessor analyses: Collection<Analysis2>;
151
+ accessor analyses: Collection<Analysis>;
154
152
  /**
155
153
  * Indicates whether animations are disabled in the view. This includes animated symbols (animated
156
154
  * [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
@@ -212,7 +210,7 @@ export abstract class ArcgisScene extends LitElement {
212
210
  * Represents the [view for a single basemap](https://developers.arcgis.com/javascript/latest/references/core/views/BasemapView/)
213
211
  * after it has been added to the map.
214
212
  */
215
- accessor basemapView: BasemapView<LayerView2>;
213
+ accessor basemapView: BasemapView<LayerView>;
216
214
  /**
217
215
  * The [camera](https://developers.arcgis.com/javascript/latest/references/core/Camera/) allows to set the observation point from which the visible portion (or perspective)
218
216
  * of the view is determined. When set in the constructor, this property overrides the [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#extent), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#scale), [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#viewpoint), and [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#zoom) properties.
@@ -572,7 +570,7 @@ export abstract class ArcgisScene extends LitElement {
572
570
  *
573
571
  * @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
574
572
  */
575
- get layerViews(): Collection<LayerView2>;
573
+ get layerViews(): Collection<LayerView>;
576
574
  /**
577
575
  * An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
578
576
  *
@@ -586,7 +584,7 @@ export abstract class ArcgisScene extends LitElement {
586
584
  */
587
585
  get magnifier(): Magnifier;
588
586
  /** An instance of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) object to display in the view. */
589
- accessor map: Map2 | null | undefined;
587
+ accessor map: Map | null | undefined;
590
588
  /**
591
589
  * Indication whether the view is being navigated (for example when panning).
592
590
  *
@@ -4,16 +4,16 @@ import { html as a } from "lit";
4
4
  import l from "@arcgis/core/Camera.js";
5
5
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
6
6
  import v from "@arcgis/core/geometry/Point.js";
7
- import g from "@arcgis/core/views/SceneView.js";
8
- import u from "@arcgis/core/WebScene.js";
7
+ import u from "@arcgis/core/views/SceneView.js";
8
+ import g from "@arcgis/core/WebScene.js";
9
9
  import { LitElement as d, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
10
- import { makeAccessorController as c, reEmitEvent as t, reCreateAccessor as y } from "@arcgis/lumina/controllers/accessor";
10
+ import { makeAccessorController as w, reEmitEvent as t, reCreateAccessor as y } from "@arcgis/lumina/controllers/accessor";
11
11
  import { createRef as o, ref as h } from "lit/directives/ref.js";
12
12
  import { U as f, u as b, a as V } from "../../chunks/useArcgisViewReadyError.js";
13
13
  import { s as C } from "../../chunks/esri-main.js";
14
- import { s as E, C as w } from "../../chunks/slots.js";
14
+ import { s as E, C as c } from "../../chunks/slots.js";
15
15
  import { b as _, c as A, p as P, i as D } from "../../chunks/component-utils.js";
16
- const I = c(u, {}), R = c(g, {});
16
+ const I = w(g, {}), R = w(u, {});
17
17
  class k extends d {
18
18
  constructor() {
19
19
  super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = I(this), this.view = R(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, 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.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.popupComponentEnabled = !1, 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.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), 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, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-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(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
@@ -208,12 +208,7 @@ class k extends d {
208
208
  }, { initial: this.view.ready }),
209
209
  s(() => this.view.attributionHeight, (e) => {
210
210
  this._uiController.handleAttributionHeightChange(e);
211
- }, { initial: !0 }),
212
- // Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
213
- // Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
214
- s(() => this.view.ready, () => {
215
- this.view.notifyChange("attributionHeight");
216
- })
211
+ }, { initial: !0 })
217
212
  ]);
218
213
  }
219
214
  _mutateCamera(i) {
@@ -225,10 +220,10 @@ class k extends d {
225
220
  i(e), this.camera = e;
226
221
  }
227
222
  renderMain() {
228
- return a`<div class=${n(w.base)} ${h(this._mapRef)}></div>`;
223
+ return a`<div class=${n(c.base)} ${h(this._mapRef)}></div>`;
229
224
  }
230
225
  render() {
231
- return a`${this.renderMain()}<section class=${n(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
226
+ return a`${this.renderMain()}<section class=${n(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
232
227
  }
233
228
  }
234
229
  p("arcgis-scene", k);
@@ -1,25 +1,23 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Graphic from "@arcgis/core/Graphic";
3
- import type Point from "@arcgis/core/geometry/Point";
4
- import type LocatorSearchSource from "@arcgis/core/widgets/Search/LocatorSearchSource";
5
- import type LayerSearchSource from "@arcgis/core/widgets/Search/LayerSearchSource";
2
+ import type Graphic from "@arcgis/core/Graphic.js";
3
+ import type Point from "@arcgis/core/geometry/Point.js";
4
+ import type LocatorSearchSource from "@arcgis/core/widgets/Search/LocatorSearchSource.js";
5
+ import type LayerSearchSource from "@arcgis/core/widgets/Search/LayerSearchSource.js";
6
6
  import type Collection from "@arcgis/core/core/Collection.js";
7
7
  import type PopupTemplate from "@arcgis/core/PopupTemplate.js";
8
8
  import type Portal from "@arcgis/core/portal/Portal.js";
9
- import type Graphic2 from "@arcgis/core/Graphic.js";
10
9
  import type { SearchViewModelEvents, SearchViewModelSelectResultEvent, SearchViewModelState } from "@arcgis/core/widgets/Search/SearchViewModel.js";
11
10
  import type { ArcgisReferenceElement, IconName } from "../types.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
- import type { SuggestResult, SearchResponse, SuggestResponse } from "@arcgis/core/widgets/Search/types";
12
+ import type { SuggestResult, SuggestResults, SearchResponse, SuggestResponse, SupportedSearchSource, SourcesHandler, SearchResults, SearchResult } from "@arcgis/core/widgets/Search/types.js";
14
13
  import type { T9nMeta } from "@arcgis/lumina/controllers";
15
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
16
15
  import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
17
- import type { SupportedSearchSource, SourcesHandler, SearchResults, SearchResult, SuggestResults as SuggestResults2 } from "@arcgis/core/widgets/Search/types.js";
18
16
 
19
17
  /**
20
18
  * The Search component provides a way to perform search operations on locator service(s), map/feature service feature layer(s), SceneLayers with an associated feature layer,
21
19
  * BuildingComponentSublayer with an associated feature layer, GeoJSONLayer, CSVLayer, OGCFeatureLayer, and/or table(s). If using a locator with a geocoding service, the
22
- * findAddressCandidates operation is used, whereas queries are used on feature layers.
20
+ * `findAddressCandidates` operation is used, whereas queries are used on feature layers.
23
21
  *
24
22
  * By default, the Search component uses the ArcGIS World Geocoding Service via this URL: `https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer`.
25
23
  * If a global apiKey is present, the Search component uses this URL: `https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer`. If an apiKey
@@ -285,7 +283,7 @@ export abstract class ArcgisSearch extends LitElement {
285
283
  * for [layer](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
286
284
  * that do not support the `highlight` method.
287
285
  */
288
- get resultGraphic(): Graphic2 | null | undefined;
286
+ get resultGraphic(): Graphic | null | undefined;
289
287
  /**
290
288
  * If `true`, the [resultGraphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#resultGraphic) will not display at the
291
289
  * location of the selected feature.
@@ -293,7 +291,7 @@ export abstract class ArcgisSearch extends LitElement {
293
291
  * @default false
294
292
  */
295
293
  accessor resultGraphicDisabled: boolean;
296
- /** An array of objects, each containing a search result from the search. */
294
+ /** An array of objects, each containing a [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult) from the search. */
297
295
  get results(): Array<SearchResults> | null | undefined;
298
296
  /**
299
297
  * By default, the "All" option is displayed by default to search all sources:
@@ -312,7 +310,7 @@ export abstract class ArcgisSearch extends LitElement {
312
310
  /**
313
311
  * The result selected from a search.
314
312
  *
315
- * @see [@arcgisSelectResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#event-arcgisSelectResult)
313
+ * @see [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult)
316
314
  * @see [select()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#select)
317
315
  */
318
316
  get selectedResult(): SearchResult | null | undefined;
@@ -420,7 +418,7 @@ export abstract class ArcgisSearch extends LitElement {
420
418
  * loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a
421
419
  * 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
422
420
  */
423
- get suggestions(): Array<SuggestResults2> | null | undefined;
421
+ get suggestions(): Array<SuggestResults> | null | undefined;
424
422
  /**
425
423
  * If `true`, disables suggestions for the component.
426
424
  *
@@ -11,16 +11,16 @@ import { g as y } from "../../chunks/globalCss.js";
11
11
  import { isAbortError as C } from "@arcgis/core/core/promiseUtils.js";
12
12
  import { m as $ } from "../../chunks/useViewModel.js";
13
13
  import { substitute as R } from "@arcgis/core/intl.js";
14
- import { usePropertyChange as E } from "@arcgis/lumina/controllers";
15
- import { u as k } from "../../chunks/useT9n.js";
16
- import { watch as d, on as D } from "@arcgis/core/core/reactiveUtils.js";
14
+ import { usePropertyChange as k } from "@arcgis/lumina/controllers";
15
+ import { u as D } from "../../chunks/useT9n.js";
16
+ import { watch as d, on as E } from "@arcgis/core/core/reactiveUtils.js";
17
17
  const T = m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{width:240px}.root{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.autocomplete{flex:1}.container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`, A = $(v);
18
18
  function h(a) {
19
19
  return typeof a == "object" && a !== null && "openPopup" in a && "closePopup" in a;
20
20
  }
21
21
  class L extends w {
22
22
  constructor() {
23
- super(...arguments), this.viewModel = A(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._searchResultRendererContentEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = k({ blocking: !0 }), this._locateFailed = !1, this._showNoResults = !1, this.view = this.viewModel.view, this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = E()("state"), this.arcgisReady = f(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
23
+ super(...arguments), this.viewModel = A(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._searchResultRendererContentEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = D({ blocking: !0 }), this._locateFailed = !1, this._showNoResults = !1, this.view = this.viewModel.view, this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = k()("state"), this.arcgisReady = f(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
24
24
  }
25
25
  static {
26
26
  this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, view: 0, referenceElement: 1, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigateDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 5, includeDefaultSourcesDisabled: 5, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, suggestions: 32, suggestionsDisabled: 5, topLayerDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
@@ -45,7 +45,7 @@ class L extends w {
45
45
  this._locateFailed = !1, this.viewModel.clear();
46
46
  }
47
47
  async destroy() {
48
- this._cancelQueries(), await this._searchResultRendererEl?.destroy(), await this._searchResultRendererContentEl?.destroy(), await this.manager.destroy();
48
+ this._closePopup(this.viewModel.resultGraphic), this._cancelQueries(), await this._searchResultRendererEl?.destroy(), await this._searchResultRendererContentEl?.destroy(), await this.manager.destroy();
49
49
  }
50
50
  async search(e) {
51
51
  this._cancelQueries();
@@ -86,7 +86,7 @@ class L extends w {
86
86
  }, { initial: !0 }),
87
87
  d(() => this.messages, (e) => this.viewModel.messages = e, { initial: !0 }),
88
88
  d(() => this.viewModel?.resultGraphic, (e, t) => this._closePopup(t)),
89
- D(() => this.viewModel, "select-result", (e) => {
89
+ E(() => this.viewModel, "select-result", (e) => {
90
90
  const { popupEnabled: t } = e;
91
91
  t && this._openPopup();
92
92
  })
@@ -96,9 +96,8 @@ class L extends w {
96
96
  this._searchResultRendererEl = b(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
97
97
  }
98
98
  _closePopup(e) {
99
- if (!h(this.referenceElement))
100
- return;
101
- (this.referenceElement.popupElement ?? this.referenceElement.popup)?.selectedFeature === e && this.referenceElement?.closePopup();
99
+ const { referenceElement: t, view: i } = this;
100
+ h(t) && t.popupElement?.selectedFeature === e ? t?.closePopup() : i?.popup?.selectedFeature === e && i?.closePopup();
102
101
  }
103
102
  _openPopup() {
104
103
  if (h(this.referenceElement)) {
@@ -1,13 +1,13 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Point from "@arcgis/core/geometry/Point";
2
+ import type Point from "@arcgis/core/geometry/Point.js";
3
3
  import type ShadowCastAnalysis from "@arcgis/core/analysis/ShadowCastAnalysis.js";
4
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
5
5
  import type Color from "@arcgis/core/Color.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
7
  import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
8
+ import type { ShadowCastMode, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
8
9
  import type { T9nMeta } from "@arcgis/lumina/controllers";
9
10
  import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
10
- import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
11
11
 
12
12
  /**
13
13
  * The Shadow Cast component displays the cumulative shadows of 3D features in a
@@ -430,7 +430,7 @@ export abstract class ArcgisShadowCast extends LitElement {
430
430
  *
431
431
  * @since 5.0
432
432
  */
433
- accessor mode: ShadowCastMode2;
433
+ accessor mode: ShadowCastMode;
434
434
  /**
435
435
  * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
436
436
  *
@@ -10,9 +10,8 @@ import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/Ske
10
10
  import type Collection from "@arcgis/core/core/Collection.js";
11
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
12
  import type { ArcgisReferenceElement, IconName } from "../types.js";
13
- import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent } from "@arcgis/core/widgets/Sketch/types";
13
+ import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent, SketchTool, SelectionTool, CreationMode, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
14
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
15
- import type { SketchTool, SelectionTool, CreateTool as CreateTool2, CreationMode, CreateOptions as CreateOptions2, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
16
15
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
17
16
  import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
18
17
 
@@ -59,7 +58,7 @@ export abstract class ArcgisSketch extends LitElement {
59
58
  *
60
59
  * @default ["point", "polyline", "freehandPolyline", "polygon", "freehandPolygon", "rectangle", "circle"]
61
60
  */
62
- accessor availableCreateTools: Array<CreateTool2> | null | undefined;
61
+ accessor availableCreateTools: Array<CreateTool> | null | undefined;
63
62
  /** The graphic that is being created. */
64
63
  get createGraphic(): Graphic | null | undefined;
65
64
  /**
@@ -83,7 +82,7 @@ export abstract class ArcgisSketch extends LitElement {
83
82
  *
84
83
  * @since 4.14
85
84
  */
86
- accessor defaultCreateOptions: CreateOptions2;
85
+ accessor defaultCreateOptions: CreateOptions;
87
86
  /**
88
87
  * By default, sketch will auto-create a new graphics layer if none was
89
88
  * provided. Set this prop to true to disable this behavior.
@@ -1,4 +1,4 @@
1
- import type BuildingComponentSublayer from "@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer";
2
- import type Layer from "@arcgis/core/layers/Layer";
1
+ import type BuildingComponentSublayer from "@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer.js";
2
+ import type Layer from "@arcgis/core/layers/Layer.js";
3
3
 
4
4
  export type SliceableLayer = BuildingComponentSublayer | Layer;
@@ -1,16 +1,15 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type SceneView from "@arcgis/core/views/SceneView";
3
- import type MapView from "@arcgis/core/views/MapView";
4
- import type LinkChartView from "@arcgis/core/views/LinkChartView";
5
- import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem";
6
- import type Collection from "@arcgis/core/core/Collection";
2
+ import type SceneView from "@arcgis/core/views/SceneView.js";
3
+ import type MapView from "@arcgis/core/views/MapView.js";
4
+ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
5
+ import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem.js";
6
+ import type Collection from "@arcgis/core/core/Collection.js";
7
7
  import type WebMap from "@arcgis/core/WebMap.js";
8
8
  import type WebScene from "@arcgis/core/WebScene.js";
9
- import type Collection2 from "@arcgis/core/core/Collection.js";
10
9
  import type ListItem from "@arcgis/core/widgets/TableList/ListItem.js";
11
10
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
11
  import type { ArcgisReferenceElement, IconName } from "../types.js";
13
- import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel";
12
+ import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel.js";
14
13
  import type { FilterPredicate } from "@arcgis/core/widgets/TableList.js";
15
14
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
16
15
  import type { ListItemModifier, State } from "@arcgis/core/widgets/TableList/types.js";
@@ -231,7 +230,7 @@ export abstract class ArcgisTableList extends LitElement {
231
230
  *
232
231
  * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectionMode)
233
232
  */
234
- accessor selectedItems: Collection2<ListItem>;
233
+ accessor selectedItems: Collection<ListItem>;
235
234
  /**
236
235
  * Specifies the selection mode.
237
236
  * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems) property.
@@ -1,11 +1,11 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type WebMap from "@arcgis/core/WebMap";
2
+ import type WebMap from "@arcgis/core/WebMap.js";
3
3
  import type Collection from "@arcgis/core/core/Collection.js";
4
4
  import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
6
  import type { ArcgisReferenceElement, IconName } from "../types.js";
7
- import type { TimeSliderViewModelTriggerActionEvent } from "@arcgis/core/widgets/TimeSlider/TimeSliderViewModel";
8
- import type { TimeSliderProperties } from "@arcgis/core/webdoc/widgets/TimeSlider";
7
+ import type { TimeSliderViewModelTriggerActionEvent } from "@arcgis/core/widgets/TimeSlider/TimeSliderViewModel.js";
8
+ import type { TimeSliderProperties } from "@arcgis/core/webdoc/widgets/TimeSlider.js";
9
9
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
10
10
  import type { Action, TimeSliderMode, TimeSliderState, Stops } from "@arcgis/core/widgets/TimeSlider/types.js";
11
11
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
@@ -1,5 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type MapView from "@arcgis/core/views/MapView";
2
+ import type MapView from "@arcgis/core/views/MapView.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
  import type { ArcgisReferenceElement } from "../types.js";
5
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";