@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,16 +1,74 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Color from "@arcgis/core/Color.js";
3
- import type Graphic from "@arcgis/core/Graphic";
4
- import type MapView2 from "@arcgis/core/views/MapView.js";
3
+ import type Graphic from "@arcgis/core/Graphic.js";
4
+ import type MapView from "@arcgis/core/views/MapView.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
6
+ import type { ArcgisReferenceElement } from "../types.js";
7
7
  import type { SelectStartPayload } from "../arcgis-utility-network-trace-location/customElement.js";
8
8
  import type { ArcgisUtilityNetworkTraceResults } from "../arcgis-utility-network-trace-results/customElement.js";
9
9
  import type { T9nMeta } from "@arcgis/lumina/controllers";
10
10
  import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
11
11
 
12
- export type UtilityNetworkTraceAnalysisDisplayMode = "add-spatial-feature-list" | "add-spatial-feature" | "add-spatial-instructions" | "default";
13
-
12
+ /**
13
+ * ## Overview
14
+ *
15
+ * The Utility Network Trace Analysis component allows users to run traces and view trace results in a utility network.
16
+ *
17
+ * - The component supports selecting a utility network and a named trace configuration in that utility network. Both the utility network and trace configuration must be [stored in the map](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#utilityNetworks).
18
+ * - Trace locations (starting points and barriers) are set by selecting features on the view.
19
+ * - When a subnetwork-based trace is selected, the component displays the domain, tier, and target tier specified by the selected named trace configuration.
20
+ * - If the user selects a subnetwork trace with a specified subnetwork name, the component provides an option to choose a subnetwork name instead of starting location(s) to run the trace with.
21
+ *
22
+ * Supported trace types are: `connected`, `upstream`, `downstream`, `shortest-path`, `subnetwork`, `subnetwork-controller`, `loops`, and `isolation`.
23
+ *
24
+ * The component can display the following from a trace result: elements (as [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures)), aggregated geometries, and function results.
25
+ * If the trace result includes elements that originate from a [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/)
26
+ * that is not included in the map, the Results tab displays an `Unknown` layer with a count of those elements.
27
+ * The component's [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) property also does not include these elements.
28
+ *
29
+ * > [!WARNING]
30
+ * >
31
+ * > The Utility Network Trace Analysis component does not support proxied feature services or feature services that utilize stored credentials.
32
+ * >
33
+ * > This component also does not support `path` and `circuit` trace types or the `paths` and `circuits` result types.
34
+ *
35
+ * ## Working with nonspatial objects
36
+ *
37
+ * The Utility Network Trace Analysis component supports selecting nonspatial objects as trace locations by traversing associations.
38
+ *
39
+ * When selecting a trace location or viewing a trace result feature, information about the feature is displayed according to the
40
+ * [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) of the layer that the feature belongs to.
41
+ * If the feature's layer has no PopupTemplate, a default template is used to display the feature's attributes.
42
+ *
43
+ * To select a nonspatial object as a trace location, first select a spatial feature on the map that is associated with the target nonspatial object.
44
+ * The spatial feature's layer must have a PopupTemplate that includes a [UtilityNetworkAssociationsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/).
45
+ * Navigate through the spatial feature's associations to the target nonspatial object, then add the object as a trace location.
46
+ *
47
+ * ## Examples
48
+ *
49
+ * This component can be used slotted into an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/):
50
+ *
51
+ * ```html
52
+ * <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
53
+ * <arcgis-utility-network-trace-analysis slot="bottom-left"></arcgis-utility-network-trace-analysis>
54
+ * </arcgis-map>
55
+ * ```
56
+ *
57
+ * Alternatively, this component can be used outside of a map by providing a [referenceElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#referenceElement):
58
+ *
59
+ * ```html
60
+ * <calcite-shell>
61
+ * <calcite-shell-panel slot="panel-start" position="start" width-scale="l">
62
+ * <arcgis-utility-network-trace-analysis reference-element="#map-element"></arcgis-utility-network-trace-analysis>
63
+ * </calcite-shell-panel>
64
+ * <arcgis-map id="map-element" item-id="471eb0bf37074b1fbb972b1da70fb310"></arcgis-map>
65
+ * </calcite-shell>
66
+ * ```
67
+ *
68
+ * Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
69
+ *
70
+ * @since 5.0
71
+ */
14
72
  export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
15
73
  /** @internal */
16
74
  protected _messages: {
@@ -70,15 +128,15 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
70
128
  }>;
71
129
  /**
72
130
  * The color used to render graphics for aggregated geometries in trace results, specified as a
73
- * [Color](https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html) object.
131
+ * [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
132
+ *
74
133
  * Aggregated geometry is only rendered if the trace configuration specifies aggregated geometry as a result type.
134
+ *
75
135
  * Default color is #FFFF00.
76
136
  *
77
- * @see [Color constructor](https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html#constructors-summary)
137
+ * @see [Color constructor](https://developers.arcgis.com/javascript/latest/references/core/Color/#constructors-summary)
78
138
  */
79
139
  accessor aggregatedGeometryGraphicsColor: Color;
80
- /** @default false */
81
- accessor allowEditingDisabled: boolean;
82
140
  /**
83
141
  * If true, the component will not be destroyed automatically when it is
84
142
  * disconnected from the document. This is useful when you want to move the
@@ -92,7 +150,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
92
150
  /**
93
151
  * A function to run before trace location selection starts.
94
152
  *
95
- * @experimental
153
+ * @internal
96
154
  * @example
97
155
  * ```js
98
156
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -100,11 +158,10 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
100
158
  * ```
101
159
  */
102
160
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
103
- /** @default false */
104
- accessor closable: boolean;
105
161
  /**
106
162
  * Whether to disable highlighting trace result features on the map.
107
- * If set to true, the features returned by a trace will not be highlighted on the map.
163
+ *
164
+ * If true, the features returned by a trace will not be highlighted on the map.
108
165
  *
109
166
  * @default false
110
167
  * @example
@@ -118,6 +175,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
118
175
  accessor disableHighlightFeatureResults: boolean;
119
176
  /**
120
177
  * Whether to hide feature results in the results tab.
178
+ *
121
179
  * If true, when features are returned by a trace, they will not be visible in the results tab.
122
180
  * A message will be displayed in its place indicating that features were returned by the trace, but are not visible in the results pane.
123
181
  * This string can be overridden with the `messageOverrides` property.
@@ -138,7 +196,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
138
196
  * ```
139
197
  */
140
198
  accessor hideFeatureResults: boolean;
141
- accessor icon: string | undefined;
199
+ /** The component's default label. */
142
200
  accessor label: string | undefined;
143
201
  /**
144
202
  * Replace localized message strings with your own strings.
@@ -173,34 +231,35 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
173
231
  resultsTab?: string | undefined;
174
232
  } | undefined;
175
233
  };
176
- accessor mode: string | undefined;
177
234
  /**
178
235
  * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
179
236
  *
180
237
  * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
181
238
  */
182
239
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
240
+ /** The current state of the component. */
241
+ get state(): UtilityNetworkTraceAnalysisState;
183
242
  /**
184
- * The current state of the component.
243
+ * An array of features returned by the trace result.
244
+ *
245
+ * This array is populated if the trace returned [element](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements) results.
185
246
  *
186
- * @since 5.0
247
+ * When [@arcgisTraceResultFeaturesReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#event-arcgisTraceResultFeaturesReady) is raised, trace result features are available.
248
+ * When a new trace has been run, or the trace results are cleared, this array is cleared.
187
249
  */
188
- get state(): UtilityNetworkTraceAnalysisState;
189
250
  get traceResultFeatures(): Graphic[];
190
251
  /**
191
- * This property defines the target [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
192
- *
193
- * @since 5.0
252
+ * The view associated with the component.
253
+ * > **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-utility-network-trace-analysis component will be associated with a map or scene component rather than using the `view` property.
194
254
  */
195
- accessor view: MapView2 | null | undefined;
255
+ accessor view: MapView | null | undefined;
196
256
  /** Permanently destroy the component. */
197
257
  destroy(): Promise<void>;
198
258
  /**
199
259
  * Fires when the user toggles displaying aggregated geometry results in the result pane.
200
260
  * Event payload contains a boolean representing whether the aggregated geometry graphics are hidden.
201
- * If true, the user has hidden the graphics on the view's map.
261
+ * If true, the aggregated geometry graphics are hidden on the view.
202
262
  *
203
- * @experimental
204
263
  * @example
205
264
  * ```js
206
265
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -216,7 +275,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
216
275
  /**
217
276
  * Fires when the user completes the selection of a trace location.
218
277
  *
219
- * @experimental
278
+ * @internal
220
279
  * @example
221
280
  * ```js
222
281
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -231,7 +290,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
231
290
  * Event payload contains a callback method `cancelSelect` to cancel a selection in progress.
232
291
  * The event can also be prevented with `event.preventDefault()` to stop the selection.
233
292
  *
234
- * @experimental
293
+ * @internal
235
294
  * @example
236
295
  * ```js
237
296
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -256,7 +315,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
256
315
  /**
257
316
  * Fires when the trace result is cleared from the results tab.
258
317
  *
259
- * @experimental
260
318
  * @example
261
319
  * ```js
262
320
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -268,9 +326,8 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
268
326
  readonly arcgisTraceResultClear: import("@arcgis/lumina").TargetedEvent<this, void>;
269
327
  /**
270
328
  * Fires when the trace result features are ready.
271
- * Check property `traceResultFeatures` for the trace result features.
329
+ * Check property [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) for the trace result features.
272
330
  *
273
- * @experimental
274
331
  * @example
275
332
  * ```js
276
333
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -1,49 +1,53 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as m } from "../../chunks/runtime.js";
3
- import { css as w, html as o } from "lit";
4
- import { keyed as l } from "lit/directives/keyed.js";
5
- import h from "@arcgis/core/Color.js";
2
+ import { c as y } from "../../chunks/runtime.js";
3
+ import { css as f, html as r } from "lit";
4
+ import { ref as o } from "lit/directives/ref.js";
5
+ import { keyed as h } from "lit/directives/keyed.js";
6
+ import g from "@arcgis/core/Color.js";
6
7
  import "@arcgis/core/core/Error.js";
7
- import _ from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
8
- import { LitElement as v, createEvent as c } from "@arcgis/lumina";
9
- import { log as d } from "@arcgis/toolkit/log";
10
- import { createRef as g, ref as f } from "lit/directives/ref.js";
11
- import { u as y } from "../../chunks/useT9n.js";
12
- import { m as x } from "../../chunks/useViewModel.js";
13
- const k = w`.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}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.root #no-starting-points-warning{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}.root{flex:auto;width:300px}.root calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.root calcite-tab:not([selected]){flex:0}.root calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.root calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.root calcite-notice{padding:var(--calcite-spacing-xs)}`, T = x(_);
14
- class R extends v {
8
+ import b from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
9
+ import { LitElement as v, createEvent as n } from "@arcgis/lumina";
10
+ import { log as u } from "@arcgis/toolkit/log";
11
+ import { u as w } from "../../chunks/useT9n.js";
12
+ import { m as _ } from "../../chunks/useViewModel.js";
13
+ const T = f`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}#no-starting-points-panel{flex:none;height:fit-content;--calcite-panel-background-color: var(--calcite-color-foreground-1)}#no-starting-points-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}`, R = _(b);
14
+ class $ extends v {
15
15
  constructor() {
16
- super(...arguments), this._messages = y({ blocking: !0 }), this._viewModel = T(this), this._traceInputsRef = g(), this._traceResultsRef = g(), this._highlightHandles = [], this._handleRunTraceButtonClick = () => {
17
- const t = this._traceInputsRef.value?.traceLocations?.some((i) => i.type === "starting-point");
16
+ super(...arguments), this._messages = w({ blocking: !0 }), this._viewModel = R(this), this._highlightHandles = [], this._handleRunTraceButtonClick = () => {
17
+ const t = this._traceInputsElement?.traceLocations?.some((a) => a.type === "starting-point");
18
18
  if (this.traceError = void 0, !this._isSubnetworkNameTraceSelected && !t) {
19
19
  this.showNoStartingPointsWarning = !0;
20
20
  return;
21
21
  }
22
- this.showNoStartingPointsWarning = !1, this._clearHighlights(), this._switchTab("results"), this._runTrace();
23
- }, this.activeTab = "input", this.showNoStartingPointsWarning = !1, this._mode = "default", this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new h([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideFeatureResults = !1, this.closable = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisHideGraphicsChange = c(), this.arcgisTraceLocationSelectStart = c(), this.arcgisTraceLocationSelectEnd = c(), this.arcgisTraceResultFeaturesReady = c(), this.arcgisTraceResultClear = c(), this.arcgisReady = c();
22
+ this.showNoStartingPointsWarning = !1, this._clearTraceResult(), this._switchTab("results"), this._runTrace();
23
+ }, this._handleTraceInputsRefChange = (e) => {
24
+ e && (this._traceInputsElement = e);
25
+ }, this._handleTraceResultsRefChange = (e) => {
26
+ e && (this._traceResultsElement = e);
27
+ }, this.activeTab = "input", this.showNoStartingPointsWarning = !1, this.mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new g([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideFeatureResults = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisHideGraphicsChange = n(), this.arcgisTraceLocationSelectStart = n(), this.arcgisTraceLocationSelectEnd = n(), this.arcgisTraceResultFeaturesReady = n(), this.arcgisTraceResultClear = n(), this.arcgisReady = n();
24
28
  }
25
29
  static {
26
- this.properties = { activeTab: 16, traceError: 16, traceResult: 16, showNoStartingPointsWarning: 16, _mode: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideFeatureResults: 5, closable: 7, icon: 1, label: 3, messageOverrides: 0, mode: 1, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
30
+ this.properties = { activeTab: 16, traceError: 16, traceResult: 16, showNoStartingPointsWarning: 16, mode: 16, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideFeatureResults: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
27
31
  }
28
32
  static {
29
- this.styles = k;
33
+ this.styles = T;
30
34
  }
31
35
  get _allLayers() {
32
36
  const { view: e } = this;
33
37
  return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
34
38
  }
35
39
  get _isSubnetworkNameTraceSelected() {
36
- const e = this._traceInputsRef.value?.selectedNamedTraceConfiguration?.traceType;
37
- return !!this._traceInputsRef.value?.selectedNamedTraceConfiguration?.traceConfiguration?.subnetworkName && e === "subnetwork";
40
+ const e = this._traceInputsElement?.selectedNamedTraceConfiguration?.traceType;
41
+ return !!this._traceInputsElement?.selectedNamedTraceConfiguration?.traceConfiguration?.subnetworkName && e === "subnetwork";
38
42
  }
39
43
  get traceResultFeatures() {
40
- return this._traceResultsRef.value?.traceResultFeatures ?? [];
44
+ return this._traceResultsElement?.traceResultFeatures ?? [];
41
45
  }
42
46
  async destroy() {
43
- await this.manager.destroy(), this._clearHighlights();
47
+ this._clearHighlights(), this._traceResultsElement?.destroy(), this._traceInputsElement?.destroy(), await this.manager.destroy();
44
48
  }
45
49
  _clearTraceResult() {
46
- this.traceResult = void 0, this._clearHighlights();
50
+ this.traceResult = void 0, this._clearHighlights(), this._clearAggregatedGeometryGraphics();
47
51
  }
48
52
  _switchTab(e) {
49
53
  this.activeTab = e;
@@ -66,43 +70,45 @@ class R extends v {
66
70
  _clearHighlights() {
67
71
  this._highlightHandles.forEach((e) => e.remove()), this._highlightHandles = [];
68
72
  }
73
+ _clearAggregatedGeometryGraphics() {
74
+ this._traceResultsElement?.clearAggregatedGeometryGraphics();
75
+ }
69
76
  _highlightResults() {
70
- const { traceResult: e, view: t } = this, i = this._viewModel.utilityNetwork;
71
- if (!i || !e?.elements || !t)
77
+ const { traceResult: e, view: t } = this, a = this._viewModel.utilityNetwork;
78
+ if (!a || !e?.elements || !t)
72
79
  return;
73
- i.getObjectIdsFromElements(e.elements).forEach((r) => {
74
- const s = t.allLayerViews.find((u) => {
75
- const a = u.layer;
76
- if (i.isUtilityLayer(a)) {
77
- const p = Number(r.layerUrl.split("/").pop());
78
- return a.layerId === p;
80
+ a.getObjectIdsFromElements(e.elements).forEach((i) => {
81
+ const l = t.allLayerViews.find((p) => {
82
+ const c = p.layer;
83
+ if (a.isUtilityLayer(c)) {
84
+ const m = Number(i.layerUrl.split("/").pop());
85
+ return c.layerId === m;
79
86
  }
80
87
  return !1;
81
88
  });
82
- if (!s)
89
+ if (!l)
83
90
  return;
84
- const b = s.highlight(r.objectIds);
85
- this._highlightHandles.push(b);
91
+ const d = l.highlight(i.objectIds);
92
+ this._highlightHandles.push(d);
86
93
  });
87
94
  }
88
95
  async _runTrace() {
89
- const e = this._traceInputsRef.value?.selectedNamedTraceConfiguration, t = this._traceInputsRef.value?.unTraceConfiguration;
96
+ const e = this._traceInputsElement?.selectedNamedTraceConfiguration, t = this._traceInputsElement?.unTraceConfiguration;
90
97
  if (!(e?.traceType && t)) {
91
- d("error", this, "Trace configuration not found");
98
+ u("error", this, "Trace configuration not found");
92
99
  return;
93
100
  }
94
- const i = this._traceInputsRef.value?.traceLocations;
101
+ const a = this._traceInputsElement?.traceLocations;
95
102
  try {
96
103
  this.traceResult = await this._viewModel.executeTraceConfiguration({
97
104
  traceType: e.traceType,
98
105
  traceConfiguration: t,
99
- traceLocations: i ?? [],
100
- //@ts-expect-error: Waiting on typings update
106
+ traceLocations: a ?? [],
101
107
  resultTypes: e.resultTypes
102
108
  }), this.disableHighlightFeatureResults || this._highlightResults();
103
- } catch (n) {
104
- const r = n, s = r.details ? { detail: r.details } : void 0;
105
- d("error", this, `Error while running trace: ${String(r)}`, s), this.traceError = r, this.traceResult = void 0;
109
+ } catch (s) {
110
+ const i = s, l = i.details ? { detail: i.details } : void 0;
111
+ u("error", this, `Error while running trace: ${String(i)}`, l), this.traceError = i, this.traceResult = void 0;
106
112
  }
107
113
  }
108
114
  _handleHideGraphicsChange(e) {
@@ -119,7 +125,7 @@ class R extends v {
119
125
  }
120
126
  _handleAggregatedGeometryGraphicsColorChange(e) {
121
127
  const t = e.detail;
122
- this.aggregatedGeometryGraphicsColor = new h(t);
128
+ this.aggregatedGeometryGraphicsColor = new g(t);
123
129
  }
124
130
  _handleTraceInputsChange() {
125
131
  }
@@ -127,38 +133,38 @@ class R extends v {
127
133
  this.showNoStartingPointsWarning = !1;
128
134
  }
129
135
  _handleUtilityNetworkChange() {
130
- this._viewModel.utilityNetwork = this._traceInputsRef.value?.selectedUtilityNetwork;
136
+ this._viewModel.utilityNetwork = this._traceInputsElement?.selectedUtilityNetwork;
131
137
  }
132
138
  renderNoStartingPointsWarning() {
133
- return o`<calcite-notice id=no-starting-points-warning open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this.showNoStartingPointsWarning = !1}><div slot=title>${this._messages.errors.noStartingPointsTitle}</div><div slot=message>${this._messages.errors.noStartingPointsBody}</div></calcite-notice>`;
139
+ return r`<calcite-panel id=no-starting-points-panel><calcite-notice id=no-starting-points-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this.showNoStartingPointsWarning = !1}><div slot=title>${this._messages.errors.noStartingPointsTitle}</div><div slot=message>${this._messages.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
134
140
  }
135
141
  renderResultsTab() {
136
- return l(`${this.el.id}__results-tab-item`, o`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? o`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>` : o`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} ${f(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
142
+ return h(`${this.el.id}__results-tab-item`, r`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? r`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : r`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceResultsRefChange)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
137
143
  }
138
144
  renderResultsFooter() {
139
- const { _mode: e } = this;
145
+ const { mode: e, state: t } = this;
140
146
  if (e !== "default")
141
147
  return null;
142
- const { traceResult: t } = this, n = !!(t?.elements.length || t?.globalFunctionResults.length || t?.aggregatedGeometry) && this._traceResultsRef.value?.state === "ready";
143
- return o`<calcite-button appearance=outline width=full @click=${() => {
148
+ const { traceResult: a } = this, i = !!(a?.elements.length || a?.globalFunctionResults.length || a?.aggregatedGeometry) && this._traceResultsElement?.state === "ready";
149
+ return r`<calcite-button appearance=outline width=full @click=${() => {
144
150
  this._switchTab("input"), this._clearTraceResult(), this.arcgisTraceResultClear.emit();
145
- }} .disabled=${!n} slot=footer>${this.traceResultFeatures.length > 0 && !this.hideFeatureResults ? this._messages.buttons.clearResultsCustom.replace("{number}", this.traceResultFeatures.length.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
151
+ }} .disabled=${!i} slot=footer>${this.traceResultFeatures.length > 0 && !this.hideFeatureResults && t !== "executing" ? this._messages.buttons.clearResultsCustom.replace("{number}", this.traceResultFeatures.length.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
146
152
  }
147
153
  renderInputTab() {
148
- return l(`${this.el.id}__inputs-tab-item`, o`<calcite-tab .selected=${this.activeTab === "input"}>${this.showNoStartingPointsWarning && this._mode === "default" ? this.renderNoStartingPointsWarning() : null}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
149
- e.stopPropagation(), e.detail.name === "mode" && (this._mode = e.target.mode);
150
- }} ${f(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`);
154
+ return h(`${this.el.id}__inputs-tab-item`, r`<calcite-tab .selected=${this.activeTab === "input"}><div class="inputs-tab-container">${this.showNoStartingPointsWarning && this.mode === "default" ? this.renderNoStartingPointsWarning() : null}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .referenceElement=${this.referenceElement} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
155
+ e.stopPropagation(), e.detail.name === "mode" && (this.mode = e.target.mode);
156
+ }} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceInputsRefChange)}></arcgis-utility-network-trace-inputs></div></calcite-tab>`);
151
157
  }
152
158
  renderInputFooter() {
153
- const { _mode: e, _viewModel: { state: t } } = this;
154
- return e !== "default" ? null : o`<calcite-button appearance=solid width=full @click=${this._handleRunTraceButtonClick} slot=footer .disabled=${t === "disabled"}>${this._messages.buttons.getResults}</calcite-button>`;
159
+ const { mode: e, _viewModel: { state: t } } = this;
160
+ return e !== "default" ? null : r`<calcite-button appearance=solid width=full @click=${this._handleRunTraceButtonClick} slot=footer .disabled=${t === "disabled"}>${this._messages.buttons.getResults}</calcite-button>`;
155
161
  }
156
162
  render() {
157
- const { _messages: e, _viewModel: { loadError: t, state: i } } = this, n = i === "disabled" && t != null, r = n && t !== "no-utility-network" ? o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(t)}</div></calcite-notice>` : void 0;
158
- return o`<div class="root"><calcite-panel .loading=${this.view === void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this._switchTab("input")} .selected=${this.activeTab === "input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this._switchTab("results")} .selected=${this.activeTab === "results"} .disabled=${n}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view ? this.renderInputTab() : null}${this.view && this._viewModel.utilityNetwork ? this.renderResultsTab() : null}</calcite-tabs>${r}${this.activeTab === "input" ? this.renderInputFooter() : null}${this.activeTab === "results" ? this.renderResultsFooter() : null}</calcite-panel></div>`;
163
+ const { _messages: e, _viewModel: { loadError: t, state: a } } = this, s = a === "disabled" && t != null, i = s && t !== "no-utility-network" ? r`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(t)}</div></calcite-notice>` : void 0;
164
+ return r`<calcite-panel .loading=${this.view === void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this._switchTab("input")} .selected=${this.activeTab === "input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this._switchTab("results")} .selected=${this.activeTab === "results"} .disabled=${s}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view ? this.renderInputTab() : null}${this.view && this._viewModel.utilityNetwork ? this.renderResultsTab() : null}</calcite-tabs>${i}${this.activeTab === "input" ? this.renderInputFooter() : null}${this.activeTab === "results" ? this.renderResultsFooter() : null}</calcite-panel>`;
159
165
  }
160
166
  }
161
- m("arcgis-utility-network-trace-analysis", R);
167
+ y("arcgis-utility-network-trace-analysis", $);
162
168
  export {
163
- R as ArcgisUtilityNetworkTraceAnalysis
169
+ $ as ArcgisUtilityNetworkTraceAnalysis
164
170
  };
@@ -1,10 +1,10 @@
1
+ import "@esri/calcite-components/components/calcite-panel";
1
2
  import "@esri/calcite-components/components/calcite-notice";
2
3
  import "@esri/calcite-components/components/calcite-tab";
3
4
  import "@esri/calcite-components/components/calcite-loader";
4
5
  import "../arcgis-utility-network-trace-results/index.js";
5
6
  import "@esri/calcite-components/components/calcite-button";
6
7
  import "../arcgis-utility-network-trace-inputs/index.js";
7
- import "@esri/calcite-components/components/calcite-panel";
8
8
  import "@esri/calcite-components/components/calcite-tabs";
9
9
  import "@esri/calcite-components/components/calcite-tab-nav";
10
10
  import "@esri/calcite-components/components/calcite-tab-title";
@@ -0,0 +1 @@
1
+ export type UtilityNetworkTraceAnalysisDisplayMode = "add-spatial-feature-list" | "add-spatial-feature" | "add-spatial-instructions" | "default";
@@ -3,10 +3,10 @@ import type NamedTraceConfiguration from "@arcgis/core/networks/support/NamedTra
3
3
  import type UNTraceConfiguration from "@arcgis/core/networks/support/UNTraceConfiguration.js";
4
4
  import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
5
5
  import type TraceLocation from "@arcgis/core/rest/networks/support/TraceLocation.js";
6
- import type MapView from "@arcgis/core/views/MapView";
6
+ import type MapView from "@arcgis/core/views/MapView.js";
7
7
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
8
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
9
- import type { UtilityNetworkTraceAnalysisDisplayMode } from "../arcgis-utility-network-trace-analysis/customElement.js";
8
+ import type { ArcgisReferenceElement } from "../types.js";
9
+ import type { UtilityNetworkTraceAnalysisDisplayMode } from "../arcgis-utility-network-trace-analysis/types.js";
10
10
  import type { SelectStartPayload } from "../arcgis-utility-network-trace-location/customElement.js";
11
11
  import type { T9nMeta } from "@arcgis/lumina/controllers";
12
12
 
@@ -104,10 +104,20 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
104
104
  unknown: string;
105
105
  warnings: { exceededDisplayLimit: string; };
106
106
  }>;
107
+ /**
108
+ * If true, the component will not be destroyed automatically when it is
109
+ * disconnected from the document. This is useful when you want to move the
110
+ * component to a different place on the page, or temporarily hide it. If this
111
+ * is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-inputs/#destroy) method when you are done to
112
+ * prevent memory leaks.
113
+ *
114
+ * @default false
115
+ */
116
+ accessor autoDestroyDisabled: boolean;
107
117
  /**
108
118
  * A function to run before trace location selection starts.
109
119
  *
110
- * @experimental
120
+ * @internal
111
121
  */
112
122
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
113
123
  /** @default "default" */
@@ -124,6 +134,8 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
124
134
  get unTraceConfiguration(): UNTraceConfiguration | undefined;
125
135
  /** @required */
126
136
  accessor view: MapView | undefined;
137
+ /** Permanently destroy the component. */
138
+ destroy(): Promise<void>;
127
139
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "mode"; }>;
128
140
  /** Fires when the user changes the selected named trace configuration. */
129
141
  readonly arcgisSelectedNamedTraceConfigurationChange: import("@arcgis/lumina").TargetedEvent<this, void>;
@@ -132,14 +144,14 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
132
144
  /**
133
145
  * Fires when the user completes the selection of a trace location.
134
146
  *
135
- * @experimental
147
+ * @internal
136
148
  */
137
149
  readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
138
150
  /**
139
151
  * Fires when the user begins selection of a trace location.
140
152
  * Can be prevented to stop the selection.
141
153
  *
142
- * @experimental
154
+ * @internal
143
155
  */
144
156
  readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
145
157
  /** This will be fired less often than above, only when the utility network changes */