@arcgis/map-components 5.1.0-next.2 → 5.1.0-next.21

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 (490) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{RCWZGU5T.js → 255MJSL7.js} +1 -1
  3. package/dist/cdn/25C2WYON.js +2 -0
  4. package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
  5. package/dist/cdn/2AYGSNEO.js +2 -0
  6. package/dist/cdn/{HH6BDERO.js → 2F4VMURG.js} +1 -1
  7. package/dist/cdn/2ID4LW4Y.js +2 -0
  8. package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
  9. package/dist/cdn/2XOP6ODR.js +2 -0
  10. package/dist/cdn/{YZ5ZVEPC.js → 2ZPMEF52.js} +1 -1
  11. package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
  12. package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
  13. package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
  14. package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
  15. package/dist/cdn/3OVSVCGF.js +2 -0
  16. package/dist/cdn/45DIIV4Z.js +2 -0
  17. package/dist/cdn/{5PRNT4KD.js → 4723UCGJ.js} +1 -1
  18. package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
  19. package/dist/cdn/{NIUIKBRD.js → 4GMSBMTS.js} +1 -1
  20. package/dist/cdn/{M65HMJZA.js → 4IATWN2B.js} +1 -1
  21. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  22. package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
  23. package/dist/cdn/4S2ZIUO2.js +2 -0
  24. package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
  25. package/dist/cdn/{63P5VYGP.js → 5EEHZIM7.js} +1 -1
  26. package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
  27. package/dist/cdn/5LIIGBMB.js +2 -0
  28. package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
  29. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  30. package/dist/cdn/6HVUFH5B.js +2 -0
  31. package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
  32. package/dist/cdn/{ZURN5EZI.js → 6QW2EUPX.js} +1 -1
  33. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  34. package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
  35. package/dist/cdn/6YZHULFG.js +2 -0
  36. package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
  37. package/dist/cdn/{UVCYUIKZ.js → 7D3Z55D3.js} +1 -1
  38. package/dist/cdn/{2XSXH4TM.js → 7SCKZLOG.js} +1 -1
  39. package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
  40. package/dist/cdn/7WLTT4K3.js +2 -0
  41. package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
  42. package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
  43. package/dist/cdn/AN7CPHB7.js +2 -0
  44. package/dist/cdn/{FJJVAOBW.js → AOYK64AS.js} +1 -1
  45. package/dist/cdn/{TSPKG2WN.js → ATG3WC6M.js} +2 -2
  46. package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
  47. package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
  48. package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
  49. package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
  50. package/dist/cdn/BOM3XB6A.js +2 -0
  51. package/dist/cdn/BQRJK2MF.js +2 -0
  52. package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
  53. package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
  54. package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
  55. package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
  56. package/dist/cdn/C4FXVPMR.js +2 -0
  57. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  58. package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
  59. package/dist/cdn/COSZXJ2Q.js +2 -0
  60. package/dist/cdn/{PISCYSA5.js → CQZVPPYJ.js} +1 -1
  61. package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
  62. package/dist/cdn/CWODI2VY.js +2 -0
  63. package/dist/cdn/D27YXH3W.js +2 -0
  64. package/dist/cdn/{R4V6HGJH.js → D3NPU6MI.js} +1 -1
  65. package/dist/cdn/DDYVX52H.js +2 -0
  66. package/dist/cdn/DEJGWX76.js +2 -0
  67. package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
  68. package/dist/cdn/DY3ERISU.js +2 -0
  69. package/dist/cdn/E44RUDE7.js +2 -0
  70. package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
  71. package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
  72. package/dist/cdn/EQ4FEO75.js +2 -0
  73. package/dist/cdn/EQPJBPD5.js +2 -0
  74. package/dist/cdn/EVC4MXIZ.js +2 -0
  75. package/dist/cdn/{KHM3S4Q6.js → F2JFRFTT.js} +1 -1
  76. package/dist/cdn/F7S63XRR.js +2 -0
  77. package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
  78. package/dist/cdn/{EVRFMTMV.js → FNJ3HMEN.js} +1 -1
  79. package/dist/cdn/FTAYHPMM.js +2 -0
  80. package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
  81. package/dist/cdn/{H6ILOF27.js → FUXY5EKO.js} +1 -1
  82. package/dist/cdn/FZDIAVC4.js +2 -0
  83. package/dist/cdn/G7QZJNAC.js +2 -0
  84. package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
  85. package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
  86. package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
  87. package/dist/cdn/GXBHOVJY.js +2 -0
  88. package/dist/cdn/{KY4FMFIC.js → GZ3XKDIF.js} +1 -1
  89. package/dist/cdn/HDL76VD5.js +2 -0
  90. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  91. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  92. package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
  93. package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
  94. package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
  95. package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
  96. package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
  97. package/dist/cdn/{F4HWT5H3.js → IM47JQ76.js} +1 -1
  98. package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
  99. package/dist/cdn/IQPGSWSL.js +2 -0
  100. package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
  101. package/dist/cdn/IW7IOW5D.js +2 -0
  102. package/dist/cdn/{FQGKKJL7.js → IX5YLGNO.js} +1 -1
  103. package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
  104. package/dist/cdn/{OCEXQCFT.js → JEFKCKHC.js} +1 -1
  105. package/dist/cdn/JSD5CN5Q.js +2 -0
  106. package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
  107. package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
  108. package/dist/cdn/JXUAJ4MS.js +2 -0
  109. package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
  110. package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
  111. package/dist/cdn/LB32PLWG.js +2 -0
  112. package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
  113. package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
  114. package/dist/cdn/{2VC2VUTP.js → MIXNJBCA.js} +1 -1
  115. package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
  116. package/dist/cdn/{FC6W37TT.js → MSWQUZSG.js} +1 -1
  117. package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
  118. package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
  119. package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
  120. package/dist/cdn/NHMOFXEE.js +2 -0
  121. package/dist/cdn/{52GXKBGP.js → NLRKDVIJ.js} +1 -1
  122. package/dist/cdn/NPEA453T.js +2 -0
  123. package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
  124. package/dist/cdn/NWWJHV2L.js +2 -0
  125. package/dist/cdn/{E2JLZZFR.js → O2BAIE3M.js} +1 -1
  126. package/dist/cdn/OKXFUFPW.js +2 -0
  127. package/dist/cdn/OSIWX2OH.js +2 -0
  128. package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
  129. package/dist/cdn/{SZ5MNKOW.js → PPQASHMO.js} +1 -1
  130. package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
  131. package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
  132. package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
  133. package/dist/cdn/PZC5TBXA.js +2 -0
  134. package/dist/cdn/{3PQT2S7Z.js → QEXDU6P7.js} +1 -1
  135. package/dist/cdn/{4363SIKC.js → QHSQUBMZ.js} +1 -1
  136. package/dist/cdn/QUXORNHT.js +2 -0
  137. package/dist/cdn/R7BJHEHH.js +2 -0
  138. package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
  139. package/dist/cdn/{WJ5HD2YN.js → RMGBO7V2.js} +1 -1
  140. package/dist/cdn/S4I3X6AX.js +2 -0
  141. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  142. package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
  143. package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
  144. package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
  145. package/dist/cdn/TK4IQ72L.js +2 -0
  146. package/dist/cdn/TKFT2JL7.js +2 -0
  147. package/dist/cdn/TKK5PRP5.js +2 -0
  148. package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
  149. package/dist/cdn/{JBJ5NQTI.js → UH33CM5U.js} +1 -1
  150. package/dist/cdn/UNY32K3R.js +2 -0
  151. package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
  152. package/dist/cdn/VYAUH7PN.js +2 -0
  153. package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
  154. package/dist/cdn/W5T5EBL3.js +2 -0
  155. package/dist/cdn/{NZAO2BVV.js → WHGU6HOR.js} +1 -1
  156. package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
  157. package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
  158. package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
  159. package/dist/cdn/{JLK664TB.js → X5NCN674.js} +1 -1
  160. package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
  161. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  162. package/dist/cdn/Y33DXW66.js +2 -0
  163. package/dist/cdn/{YC423DBS.js → Y4JTATJ2.js} +1 -1
  164. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  165. package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
  166. package/dist/cdn/{BGOWWLCQ.js → YC562S5E.js} +1 -1
  167. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  168. package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
  169. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  170. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  171. package/dist/cdn/index.js +1 -1
  172. package/dist/cdn/main.css +1 -1
  173. package/dist/chunks/AnalysisViewModel.js +106 -99
  174. package/dist/chunks/esri-main.js +1 -1
  175. package/dist/chunks/feature-utils.js +73 -73
  176. package/dist/chunks/layer-utils.js +33 -16
  177. package/dist/chunks/measurementUtils.js +45 -22
  178. package/dist/chunks/slots.js +20 -20
  179. package/dist/chunks/time-utils.js +24 -22
  180. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  181. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  182. package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
  183. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  184. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
  185. package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
  186. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  187. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  188. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  189. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  190. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
  191. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  192. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  193. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  194. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  195. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  196. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
  197. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  198. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  199. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  200. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  201. package/dist/components/arcgis-daylight/customElement.js +202 -200
  202. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  203. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
  204. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
  205. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  206. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  207. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  208. package/dist/components/arcgis-directions/customElement.js +28 -6
  209. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  210. package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
  211. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  212. package/dist/components/arcgis-editor/customElement.d.ts +27 -19
  213. package/dist/components/arcgis-editor/customElement.js +3 -3
  214. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  215. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  216. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  217. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  218. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  219. package/dist/components/arcgis-expand/types.d.ts +1 -0
  220. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  221. package/dist/components/arcgis-feature/customElement.js +39 -39
  222. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  223. package/dist/components/arcgis-feature-fields/customElement.js +28 -27
  224. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  225. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  226. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  227. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  228. package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
  229. package/dist/components/arcgis-feature-table/customElement.js +47 -31
  230. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  231. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  232. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  233. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
  234. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
  235. package/dist/components/arcgis-features/customElement.d.ts +66 -70
  236. package/dist/components/arcgis-features/customElement.js +49 -49
  237. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  238. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  239. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  240. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  241. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  242. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  243. package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
  244. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  245. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  246. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  247. package/dist/components/arcgis-link-chart/customElement.d.ts +61 -71
  248. package/dist/components/arcgis-link-chart/customElement.js +15 -15
  249. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  250. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  251. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  252. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  253. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  254. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  255. package/dist/components/arcgis-map/customElement.d.ts +174 -184
  256. package/dist/components/arcgis-map/customElement.js +11 -11
  257. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  258. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  259. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  260. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  261. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  262. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  263. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  264. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  265. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  266. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  267. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  268. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  269. package/dist/components/arcgis-paste/customElement.js +57 -54
  270. package/dist/components/arcgis-paste/index.js +1 -1
  271. package/dist/components/arcgis-popup/customElement.d.ts +67 -70
  272. package/dist/components/arcgis-popup/customElement.js +121 -119
  273. package/dist/components/arcgis-popup/types.d.ts +2 -2
  274. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  275. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  276. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  277. package/dist/components/arcgis-print/customElement.js +7 -7
  278. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  279. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  280. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  281. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  282. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  283. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  284. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  285. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  286. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  287. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  288. package/dist/components/arcgis-scene/customElement.d.ts +185 -200
  289. package/dist/components/arcgis-scene/customElement.js +14 -14
  290. package/dist/components/arcgis-search/customElement.d.ts +63 -59
  291. package/dist/components/arcgis-search/customElement.js +19 -18
  292. package/dist/components/arcgis-search/types.d.ts +1 -0
  293. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  294. package/dist/components/arcgis-sketch/customElement.d.ts +57 -39
  295. package/dist/components/arcgis-sketch/customElement.js +20 -8
  296. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  297. package/dist/components/arcgis-slice/customElement.js +6 -6
  298. package/dist/components/arcgis-slice/types.d.ts +4 -0
  299. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  300. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  301. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  302. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  303. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
  304. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  305. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
  306. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  307. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
  308. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  309. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
  310. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  311. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  312. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  313. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
  314. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  315. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
  316. package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
  317. package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
  318. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  319. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  320. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  321. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  322. package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
  323. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  324. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  325. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  326. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  327. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +15 -2
  328. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  329. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  330. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  331. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  332. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
  333. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -59
  334. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  335. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  336. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
  337. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +93 -64
  338. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
  339. package/dist/components/arcgis-utility-network-trace-location/customElement.js +96 -91
  340. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  341. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +17 -2
  342. package/dist/components/arcgis-utility-network-trace-results/customElement.js +96 -75
  343. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  344. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  345. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  346. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  347. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  348. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  349. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  350. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  351. package/dist/components/arcgis-video-player/customElement.js +2 -2
  352. package/dist/components/arcgis-volume-measurement/customElement.d.ts +45 -41
  353. package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
  354. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  355. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  356. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  357. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  358. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  359. package/dist/components/types.d.ts +58 -1
  360. package/dist/docs/api.json +1 -1
  361. package/dist/docs/docs.json +1 -1
  362. package/dist/docs/vscode.html-custom-data.json +1 -1
  363. package/dist/docs/web-types.json +1 -1
  364. package/dist/index.d.ts +13 -35
  365. package/dist/loader.js +36 -36
  366. package/dist/types/lumina.d.ts +36 -58
  367. package/dist/types/preact.d.ts +37 -63
  368. package/dist/types/react.d.ts +38 -68
  369. package/dist/types/stencil.d.ts +36 -58
  370. package/package.json +4 -4
  371. package/dist/cdn/22LNBUKE.js +0 -2
  372. package/dist/cdn/23UYZVTW.js +0 -2
  373. package/dist/cdn/3GZCJE62.js +0 -2
  374. package/dist/cdn/4TURMTXA.js +0 -2
  375. package/dist/cdn/55QGHI47.js +0 -2
  376. package/dist/cdn/7UR4M6PN.js +0 -2
  377. package/dist/cdn/A4UJ53JS.js +0 -2
  378. package/dist/cdn/AGYDL2DX.js +0 -2
  379. package/dist/cdn/B5XR4LXQ.js +0 -2
  380. package/dist/cdn/CKNH5OMJ.js +0 -2
  381. package/dist/cdn/DOLELC6W.js +0 -2
  382. package/dist/cdn/E7FLH54K.js +0 -2
  383. package/dist/cdn/EL62JS5C.js +0 -2
  384. package/dist/cdn/EYNKJZG3.js +0 -2
  385. package/dist/cdn/F2TXAMXM.js +0 -2
  386. package/dist/cdn/FEQLUSM2.js +0 -2
  387. package/dist/cdn/HNHCO4OD.js +0 -2
  388. package/dist/cdn/HR2OOT3F.js +0 -2
  389. package/dist/cdn/I2MQQXVU.js +0 -2
  390. package/dist/cdn/IDDSHZVB.js +0 -2
  391. package/dist/cdn/JDZWJLJX.js +0 -2
  392. package/dist/cdn/KECAR2NZ.js +0 -2
  393. package/dist/cdn/KEFY4XPI.js +0 -2
  394. package/dist/cdn/KXF2562U.js +0 -2
  395. package/dist/cdn/LHEP4QSS.js +0 -2
  396. package/dist/cdn/LZFDWRYI.js +0 -2
  397. package/dist/cdn/M7VTEC3S.js +0 -2
  398. package/dist/cdn/MSMDSEFM.js +0 -2
  399. package/dist/cdn/MW73TE2N.js +0 -2
  400. package/dist/cdn/MWBGBBXT.js +0 -2
  401. package/dist/cdn/NVACRYY6.js +0 -2
  402. package/dist/cdn/NZ5M5SVG.js +0 -2
  403. package/dist/cdn/PNDLNFML.js +0 -2
  404. package/dist/cdn/RJ76OXB6.js +0 -2
  405. package/dist/cdn/S4XGBADW.js +0 -2
  406. package/dist/cdn/S6G6XXTM.js +0 -2
  407. package/dist/cdn/SKW7HQZ6.js +0 -2
  408. package/dist/cdn/SRSYUCVL.js +0 -2
  409. package/dist/cdn/TM5C2P2F.js +0 -2
  410. package/dist/cdn/U3LH3AZH.js +0 -2
  411. package/dist/cdn/UTH3SGAS.js +0 -2
  412. package/dist/cdn/VJMMA6UX.js +0 -2
  413. package/dist/cdn/W2E5L6DS.js +0 -2
  414. package/dist/cdn/WGXSSEAL.js +0 -2
  415. package/dist/cdn/X6OVNOLQ.js +0 -2
  416. package/dist/cdn/X7YUU7TS.js +0 -2
  417. package/dist/cdn/XO6U6OVM.js +0 -2
  418. package/dist/cdn/Y53D5YAC.js +0 -2
  419. package/dist/cdn/YKTB6AFH.js +0 -2
  420. package/dist/cdn/YWQGP6MB.js +0 -2
  421. package/dist/cdn/ZMLRDNKR.js +0 -2
  422. package/dist/cdn/ZUTQE3OX.js +0 -2
  423. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  424. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  425. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  426. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  427. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  428. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  429. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  430. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  431. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  432. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  433. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  434. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  435. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  436. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  437. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  438. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  439. package/dist/components/support/goTo.d.ts +0 -37
  440. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  441. package/dist/support/heading.d.ts +0 -1
  442. package/dist/support/measurementUtils.d.ts +0 -1
  443. package/dist/utils/action-utils.d.ts +0 -3
  444. package/dist/utils/component-utils.d.ts +0 -5
  445. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  446. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  447. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  448. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  449. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  450. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  451. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  452. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  453. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  454. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  455. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  456. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  457. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  458. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  459. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  460. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  461. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  462. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  463. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  464. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  465. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  466. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  467. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  468. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  469. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  470. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  471. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  472. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  473. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  474. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  475. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  476. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  477. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  478. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  479. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  480. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  481. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  482. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  483. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  484. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  485. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  486. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
  487. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  488. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  489. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  490. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,27 +1,27 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as p } from "../../chunks/runtime.js";
2
+ import { c as l } from "../../chunks/runtime.js";
3
3
  import { html as a } from "lit";
4
- import l from "@arcgis/core/Camera.js";
4
+ import p 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
7
  import g from "@arcgis/core/views/SceneView.js";
8
8
  import u 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, {});
17
- class k extends d {
16
+ const I = w(u, {}), R = w(g, {});
17
+ class M extends d {
18
18
  constructor() {
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.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.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 = {
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.selectionManager = this.view.selectionManager, 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 = {
20
20
  components: []
21
21
  };
22
22
  }
23
23
  static {
24
- this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, highlightOptions: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, updating: 36, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
24
+ this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, updating: 36, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
25
25
  }
26
26
  static {
27
27
  this.styles = [C, E];
@@ -208,7 +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
- })
211
+ }, { initial: !0 })
212
212
  ]);
213
213
  }
214
214
  _mutateCamera(i) {
@@ -216,17 +216,17 @@ class k extends d {
216
216
  i(this._cameraProperties);
217
217
  return;
218
218
  }
219
- const e = this.view.camera?.clone() ?? new l();
219
+ const e = this.view.camera?.clone() ?? new p();
220
220
  i(e), this.camera = e;
221
221
  }
222
222
  renderMain() {
223
- return a`<div class=${n(w.base)} ${h(this._mapRef)}></div>`;
223
+ return a`<div class=${n(c.base)} ${h(this._mapRef)}></div>`;
224
224
  }
225
225
  render() {
226
- 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>`;
227
227
  }
228
228
  }
229
- p("arcgis-scene", k);
229
+ l("arcgis-scene", M);
230
230
  export {
231
- k as ArcgisScene
231
+ M as ArcgisScene
232
232
  };
@@ -1,26 +1,24 @@
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
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
10
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
- import type { IconName } from "../../utils/action-utils.js";
14
- 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";
13
+ import type { ActiveMenu } from "./types.js";
15
14
  import type { T9nMeta } from "@arcgis/lumina/controllers";
16
15
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
17
16
  import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
18
- import type { SupportedSearchSource, SourcesHandler, SearchResults, SearchResult, SuggestResults as SuggestResults2 } from "@arcgis/core/widgets/Search/types.js";
19
17
 
20
18
  /**
21
19
  * 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,
22
20
  * BuildingComponentSublayer with an associated feature layer, GeoJSONLayer, CSVLayer, OGCFeatureLayer, and/or table(s). If using a locator with a geocoding service, the
23
- * findAddressCandidates operation is used, whereas queries are used on feature layers.
21
+ * `findAddressCandidates` operation is used, whereas queries are used on feature layers.
24
22
  *
25
23
  * By default, the Search component uses the ArcGIS World Geocoding Service via this URL: `https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer`.
26
24
  * 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
@@ -43,8 +41,8 @@ export abstract class ArcgisSearch extends LitElement {
43
41
  */
44
42
  accessor activeMenu: ActiveMenu;
45
43
  /**
46
- * The [source](#sources) object currently selected. Can be either a
47
- * [LayerSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html) or a [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html).
44
+ * The [sources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#sources) object currently selected. Can be either a
45
+ * [LayerSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LayerSearchSource/) or a [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LocatorSearchSource/).
48
46
  *
49
47
  * @default null
50
48
  */
@@ -59,15 +57,15 @@ export abstract class ArcgisSearch extends LitElement {
59
57
  * String value used as a hint for input text when searching on multiple sources. See
60
58
  * the image below to view the location and style of this text in the context of the component.
61
59
  *
62
- * ![search-allPlaceholder](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/search-allplaceholder.png)
60
+ * ![search-allPlaceholder](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/search-allplaceholder.png)
63
61
  *
64
62
  * @default "Find address or place"
65
63
  */
66
64
  accessor allPlaceholder: string | null | undefined;
67
65
  /**
68
- * The combined collection of [defaultSources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources)
69
- * and [sources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources).
70
- * The [defaultSources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources)
66
+ * The combined collection of [defaultSources](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#defaultSources)
67
+ * and [sources](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#sources).
68
+ * The [defaultSources](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#defaultSources)
71
69
  * displays first in the Search UI.
72
70
  *
73
71
  * @since 4.8
@@ -93,30 +91,30 @@ export abstract class ArcgisSearch extends LitElement {
93
91
  * By default, the component will automatically select and zoom to the first geocoded result. When `true`, the
94
92
  * [findAddressCandidates](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm)
95
93
  * operation will still geocode the input string, but the top result will not be selected. To work with the
96
- * geocoded results, you can set up a [search-complete](#event-search-complete) event handler and get the results
94
+ * geocoded results, you can set up a [@arcgisSearchComplete](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#event-arcgisSearchComplete) event handler and get the results
97
95
  * through the event object.
98
96
  *
99
97
  * @default false
100
98
  */
101
99
  accessor autoSelectDisabled: boolean;
102
100
  /**
103
- * A read-only property that is a [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)
104
- * of [LayerSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html)
105
- * and/or [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html). This property
101
+ * A read-only property that is a [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/)
102
+ * of [LayerSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LayerSearchSource/)
103
+ * and/or [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LocatorSearchSource/). This property
106
104
  * may contain [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/)
107
105
  * [locators](http://enterprise.arcgis.com/en/server/latest/publish-services/windows/geocode-services.htm)
108
106
  * and any web map or web scene [configurable search sources](http://doc.arcgis.com/en/arcgis-online/create-maps/configure-feature-search.htm).
109
107
  * Web maps or web scenes may contain
110
- * [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html)/[feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) service feature
111
- * layer(s), and/or [table(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-webdoc-applicationProperties-SearchTable.html) as sources.
108
+ * [map](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/)/[feature](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) service feature
109
+ * layer(s), and/or [table(s)](https://developers.arcgis.com/javascript/latest/references/core/webdoc/applicationProperties/SearchTable/) as sources.
112
110
  *
113
- * This property is used to populate the Search UI if the [sources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources) property is not set.
111
+ * This property is used to populate the Search UI if the [sources](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#sources) property is not set.
114
112
  *
115
113
  * @since 4.8
116
114
  */
117
115
  get defaultSources(): Collection<SupportedSearchSource>;
118
116
  /**
119
- * When `true`, the component is visually withdrawn and cannot be interacted with.
117
+ * When true, the component is visually withdrawn and cannot receive user interaction.
120
118
  *
121
119
  * @default false
122
120
  */
@@ -145,7 +143,7 @@ export abstract class ArcgisSearch extends LitElement {
145
143
  */
146
144
  accessor icon: IconName;
147
145
  /**
148
- * When `true`, will not include [defaultSources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources) in the Search UI.
146
+ * When `true`, will not include [defaultSources](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#defaultSources) in the Search UI.
149
147
  *
150
148
  * @default false
151
149
  */
@@ -155,7 +153,7 @@ export abstract class ArcgisSearch extends LitElement {
155
153
  /**
156
154
  * When `true`, will disable location services within the component.
157
155
  *
158
- * ![locationDisabled](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/search-locationEnabled.png)
156
+ * ![locationDisabled](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/search-locationEnabled.png)
159
157
  *
160
158
  * **Note:**
161
159
  * The use of this property is only supported on secure origins.
@@ -252,16 +250,16 @@ export abstract class ArcgisSearch extends LitElement {
252
250
  */
253
251
  accessor minSuggestCharacters: number;
254
252
  /**
255
- * By default, the graphic can be clicked to display a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
256
- * When `true`, disables displaying the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) on feature click.
253
+ * By default, the graphic can be clicked to display a [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/).
254
+ * When `true`, disables displaying the [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) on feature click.
257
255
  *
258
256
  * @default false
259
257
  */
260
258
  accessor popupDisabled: boolean;
261
259
  /**
262
- * A customized [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) for the selected feature.
263
- * Note that any [templates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
264
- * defined on [allSources](#allSources) take precedence over those defined directly on the template.
260
+ * A customized [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) for the selected feature.
261
+ * Note that any [templates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
262
+ * defined on [allSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#allSources) take precedence over those defined directly on the template.
265
263
  */
266
264
  accessor popupTemplate: PopupTemplate | null | undefined;
267
265
  /**
@@ -282,28 +280,28 @@ export abstract class ArcgisSearch extends LitElement {
282
280
  *
283
281
  * **Note:**
284
282
  * A graphic will be placed in the View's
285
- * [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#graphics)
286
- * for [layer](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
283
+ * [graphics](https://developers.arcgis.com/javascript/latest/references/core/views/View/#graphics)
284
+ * for [layer](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
287
285
  * that do not support the `highlight` method.
288
286
  */
289
- get resultGraphic(): Graphic2 | null | undefined;
287
+ get resultGraphic(): Graphic | null | undefined;
290
288
  /**
291
- * If `true`, the [resultGraphic](#resultGraphic) will not display at the
289
+ * If `true`, the [resultGraphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#resultGraphic) will not display at the
292
290
  * location of the selected feature.
293
291
  *
294
292
  * @default false
295
293
  */
296
294
  accessor resultGraphicDisabled: boolean;
297
- /** An array of objects, each containing a [SearchResult](#SearchResult) from the search. */
295
+ /** An array of objects, each containing a [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult) from the search. */
298
296
  get results(): Array<SearchResults> | null | undefined;
299
297
  /**
300
298
  * By default, the "All" option is displayed by default to search all sources:
301
299
  *
302
- * ![search-searchAllDisabled-true](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/search-enablesearchingall-true.png)
300
+ * ![search-searchAllDisabled-true](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/search-enablesearchingall-true.png)
303
301
  *
304
302
  * When `true`, no option to search all sources at once is available:
305
303
  *
306
- * ![search-searchAllDisabled-false](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/search-enablesearchingall-false.png)
304
+ * ![search-searchAllDisabled-false](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/search-enablesearchingall-false.png)
307
305
  *
308
306
  * @default false
309
307
  */
@@ -313,22 +311,22 @@ export abstract class ArcgisSearch extends LitElement {
313
311
  /**
314
312
  * The result selected from a search.
315
313
  *
316
- * @see [@arcgisSelectResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#event-arcgisSelectResult)
317
- * @see [select()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#select)
314
+ * @see [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult)
315
+ * @see [select()](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/SearchViewModel/#select)
318
316
  */
319
317
  get selectedResult(): SearchResult | null | undefined;
320
318
  /**
321
319
  * The Search component may be used to search features in a
322
- * [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html)/[feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) service feature
323
- * layer(s), [SceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html) with an associated feature layer,
324
- * [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-buildingSublayers-BuildingComponentSublayer.html) with an associated feature layer,
325
- * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html), [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html) or
326
- * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html), or [table](https://developers.arcgis.com/javascript/latest/api-reference/esri-webdoc-applicationProperties-SearchTable.html),
327
- * or geocode locations with a [locator](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html). The `sources` property defines the sources from which
328
- * to search for the [view](#view) specified by the Search component instance. There are two types of sources:
320
+ * [map](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/)/[feature](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) service feature
321
+ * layer(s), [SceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/) with an associated feature layer,
322
+ * [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingComponentSublayer/) with an associated feature layer,
323
+ * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/) or
324
+ * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer/), or [table](https://developers.arcgis.com/javascript/latest/references/core/webdoc/applicationProperties/SearchTable/),
325
+ * or geocode locations with a [locator](https://developers.arcgis.com/javascript/latest/references/core/rest/locator/). The `sources` property defines the sources from which
326
+ * to search for the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#view) specified by the Search component instance. There are two types of sources:
329
327
  *
330
- * * [LayerSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html)
331
- * * [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html)
328
+ * * [LayerSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LayerSearchSource/)
329
+ * * [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LocatorSearchSource/)
332
330
  *
333
331
  * Any combination of these sources may be used
334
332
  * together in the same instance of the Search component.
@@ -415,13 +413,13 @@ export abstract class ArcgisSearch extends LitElement {
415
413
  */
416
414
  get state(): SearchViewModelState;
417
415
  /**
418
- * An array of results from the [suggest method](#suggest).
416
+ * An array of results from the [suggest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#suggest).
419
417
  *
420
418
  * This is available if working with a 10.3 or greater geocoding service that has [suggest capability
421
419
  * loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a
422
420
  * 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
423
421
  */
424
- get suggestions(): Array<SuggestResults2> | null | undefined;
422
+ get suggestions(): Array<SuggestResults> | null | undefined;
425
423
  /**
426
424
  * If `true`, disables suggestions for the component.
427
425
  *
@@ -431,6 +429,14 @@ export abstract class ArcgisSearch extends LitElement {
431
429
  * @default false
432
430
  */
433
431
  accessor suggestionsDisabled: boolean;
432
+ /**
433
+ * When true, disables rendering in the top layer (above overlays and modals).
434
+ * This can be useful for controlling stacking context in complex UI layouts.
435
+ *
436
+ * @default false
437
+ * @since 5.0
438
+ */
439
+ accessor topLayerDisabled: boolean;
434
440
  /**
435
441
  * The view associated with the component.
436
442
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-search component will be associated with a map or scene component rather than using the `view` property.
@@ -445,7 +451,7 @@ export abstract class ArcgisSearch extends LitElement {
445
451
  destroy(): Promise<void>;
446
452
  /**
447
453
  * Depending on the sources specified, search() queries the feature layer(s) and/or performs
448
- * address matching using any specified [locator(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html) and
454
+ * address matching using any specified [locator(s)](https://developers.arcgis.com/javascript/latest/references/core/rest/locator/) and
449
455
  * returns any applicable results.
450
456
  *
451
457
  * @param searchItem
@@ -471,15 +477,15 @@ export abstract class ArcgisSearch extends LitElement {
471
477
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
472
478
  /** Fires when a result is cleared from the input box or a new result is selected. */
473
479
  readonly arcgisSearchClear: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["search-clear"]>;
474
- /** Fires when the [search()](#search) method is called and returns its results. */
480
+ /** Fires when the [search()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#search) method is called and returns its results. */
475
481
  readonly arcgisSearchComplete: import("@arcgis/lumina").TargetedEvent<this, SearchResponse>;
476
- /** Fires when the [search()](#search) method starts. */
482
+ /** Fires when the [search()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#search) method starts. */
477
483
  readonly arcgisSearchStart: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["search-start"]>;
478
484
  /** Fires when a search result is selected. */
479
485
  readonly arcgisSelectResult: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelSelectResultEvent>;
480
- /** Fires when the [suggest](#suggest) method is called and returns its results. */
486
+ /** Fires when the [suggest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#suggest) method is called and returns its results. */
481
487
  readonly arcgisSuggestComplete: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["suggest-complete"]>;
482
- /** Fires when the [suggest()](#suggest) method starts. */
488
+ /** Fires when the [suggest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#suggest) method starts. */
483
489
  readonly arcgisSuggestStart: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["suggest-start"]>;
484
490
  readonly "@eventTypes": {
485
491
  arcgisPropertyChange: ArcgisSearch["arcgisPropertyChange"]["detail"];
@@ -491,6 +497,4 @@ export abstract class ArcgisSearch extends LitElement {
491
497
  arcgisSuggestComplete: ArcgisSearch["arcgisSuggestComplete"]["detail"];
492
498
  arcgisSuggestStart: ArcgisSearch["arcgisSuggestStart"]["detail"];
493
499
  };
494
- }
495
-
496
- export type ActiveMenu = "none" | "source" | "suggestion";
500
+ }
@@ -10,23 +10,23 @@ import { classes as S } from "@arcgis/toolkit/dom";
10
10
  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
- import { substitute as k } from "@arcgis/core/intl.js";
14
- import { usePropertyChange as R } from "@arcgis/lumina/controllers";
15
- import { u as E } from "../../chunks/useT9n.js";
16
- import { watch as d, on as T } from "@arcgis/core/core/reactiveUtils.js";
17
- const A = 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)}`, D = $(v);
13
+ import { substitute as R } from "@arcgis/core/intl.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
+ 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
- class z extends w {
21
+ class L extends w {
22
22
  constructor() {
23
- super(...arguments), this.viewModel = D(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = E({ 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.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = R()("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
- 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, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
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 };
27
27
  }
28
28
  static {
29
- this.styles = A;
29
+ this.styles = T;
30
30
  }
31
31
  get _isDisabled() {
32
32
  const { state: e } = this.viewModel;
@@ -45,7 +45,7 @@ class z extends w {
45
45
  this._locateFailed = !1, this.viewModel.clear();
46
46
  }
47
47
  async destroy() {
48
- await this.manager.destroy(), await this._searchResultRendererEl?.destroy(), this._cancelQueries();
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();
@@ -81,12 +81,12 @@ class z extends w {
81
81
  const e = this.viewModel?.defaultPopupTemplate, { _searchResultRendererEl: t } = this;
82
82
  if (e && t) {
83
83
  const i = document.createElement("div");
84
- i.appendChild(t), e.content = i;
84
+ i.appendChild(t), e.content = i, this._searchResultRendererContentEl = t;
85
85
  }
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
- T(() => 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,7 +96,8 @@ class z 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
- h(this.referenceElement) && this.referenceElement?.popupElement?.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();
100
101
  }
101
102
  _openPopup() {
102
103
  if (h(this.referenceElement)) {
@@ -178,7 +179,7 @@ class z extends w {
178
179
  }
179
180
  _renderSourcesMenu() {
180
181
  const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled: s } = this.viewModel;
181
- return r.length > 1 ? o`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${s ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
182
+ return r.length > 1 ? o`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed .topLayerDisabled=${this.topLayerDisabled} @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${s ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
182
183
  }
183
184
  _renderUseCurrentLocation() {
184
185
  const { _currentLocationValue: e } = this;
@@ -186,7 +187,7 @@ class z extends w {
186
187
  }
187
188
  _renderAutocomplete() {
188
189
  const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder: s, searchTerm: n, state: c } = this.viewModel, g = this.label ?? t.searchButtonTitle ?? "";
189
- return o`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${g} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${s} title=${(n ? "" : s) ?? M} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
190
+ return o`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${g} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${s} .topLayerDisabled=${this.topLayerDisabled} title=${(n ? "" : s) ?? M} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
190
191
  }
191
192
  _renderForm() {
192
193
  return o`<form class="form" @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class="submit-button" type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
@@ -214,7 +215,7 @@ class z extends w {
214
215
  return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e === this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`;
215
216
  }
216
217
  _renderNoResultsWarning(e) {
217
- const { messages: t } = this, i = e ? k(t.noResultsFoundForValue ?? "", {
218
+ const { messages: t } = this, i = e ? R(t.noResultsFoundForValue ?? "", {
218
219
  value: `"${e}"`
219
220
  }) : t.noResultsFound;
220
221
  return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`;
@@ -226,7 +227,7 @@ class z extends w {
226
227
  return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
227
228
  }
228
229
  }
229
- p("arcgis-search", z);
230
+ p("arcgis-search", L);
230
231
  export {
231
- z as ArcgisSearch
232
+ L as ArcgisSearch
232
233
  };
@@ -0,0 +1 @@
1
+ export type ActiveMenu = "none" | "source" | "suggestion";