@arcgis/map-components 6.0.0-next.27 → 6.0.0-next.29

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 (417) hide show
  1. package/dist/cdn/{Q2ZQOGM2.js → 25PLRKZK.js} +1 -1
  2. package/dist/cdn/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
  3. package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.js} +1 -1
  4. package/dist/cdn/2NMV3XLT.js +2 -0
  5. package/dist/cdn/2RTEHAVG.js +2 -0
  6. package/dist/cdn/{GZ6UBR6R.js → 3NUN6DK3.js} +1 -1
  7. package/dist/cdn/3P44HZ3K.js +2 -0
  8. package/dist/cdn/3RSMD7RR.js +2 -0
  9. package/dist/cdn/3XHI22WD.js +2 -0
  10. package/dist/cdn/4ZAEHJPD.js +2 -0
  11. package/dist/cdn/5B22465P.js +2 -0
  12. package/dist/cdn/5OABHJND.js +2 -0
  13. package/dist/cdn/5XMKJYT6.js +2 -0
  14. package/dist/cdn/{4DPAOAMZ.js → 6NSO42OW.js} +1 -1
  15. package/dist/cdn/6TXZMHLZ.js +2 -0
  16. package/dist/cdn/6Y36YFPN.js +2 -0
  17. package/dist/cdn/7BU454HH.js +2 -0
  18. package/dist/cdn/{Y7IM3OFU.js → 7HBOZBSC.js} +1 -1
  19. package/dist/cdn/{2YXWKKNB.js → 7ID5HLPS.js} +1 -1
  20. package/dist/cdn/7RO6N4XQ.js +2 -0
  21. package/dist/cdn/A6DDWCVW.js +2 -0
  22. package/dist/cdn/AGXUHDNS.js +2 -0
  23. package/dist/cdn/AKIHNM7C.js +2 -0
  24. package/dist/cdn/APCXGAD5.js +2 -0
  25. package/dist/cdn/ARLGT35P.js +2 -0
  26. package/dist/cdn/BBKQM2GF.js +2 -0
  27. package/dist/cdn/BZXGVKKW.js +2 -0
  28. package/dist/cdn/{VWUH2VUY.js → C53YBNQ4.js} +1 -1
  29. package/dist/cdn/{2UAH624K.js → C74S3MND.js} +1 -1
  30. package/dist/cdn/{NTT5IV4A.js → CGGVQCCL.js} +1 -1
  31. package/dist/cdn/CNXH745H.js +2 -0
  32. package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.js} +1 -1
  33. package/dist/cdn/D6UG734Y.js +2 -0
  34. package/dist/cdn/DF2MPD7N.js +2 -0
  35. package/dist/cdn/DGE5KKLM.js +2 -0
  36. package/dist/cdn/DU2IPXWR.js +2 -0
  37. package/dist/cdn/DXTK47ES.js +2 -0
  38. package/dist/cdn/DXXGERVD.js +2 -0
  39. package/dist/cdn/{FH6Q5A5L.js → ETD3FAGO.js} +1 -1
  40. package/dist/cdn/F2YSSNVY.js +2 -0
  41. package/dist/cdn/FAPDKS2C.js +2 -0
  42. package/dist/cdn/G6L4BDEL.js +2 -0
  43. package/dist/cdn/GBMEEEGZ.js +2 -0
  44. package/dist/cdn/HGEK42FO.js +2 -0
  45. package/dist/cdn/HTYTZ7GK.js +2 -0
  46. package/dist/cdn/{7U2V3LDM.js → I5F7MVDT.js} +1 -1
  47. package/dist/cdn/IIX2OICP.js +2 -0
  48. package/dist/cdn/{2SQGIY7T.js → IUYW4QOS.js} +1 -1
  49. package/dist/cdn/{QQLN6RWA.js → IYMK2NGU.js} +1 -1
  50. package/dist/cdn/IZYFQNW2.js +2 -0
  51. package/dist/cdn/J4FR5WZG.js +2 -0
  52. package/dist/cdn/J6ZEZ4NE.js +2 -0
  53. package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
  54. package/dist/cdn/JWHVCBA3.js +2 -0
  55. package/dist/cdn/KWIZ45T7.js +2 -0
  56. package/dist/cdn/{VW35MSDL.js → L3MJ5NAZ.js} +1 -1
  57. package/dist/cdn/LC2ZSIJY.js +2 -0
  58. package/dist/cdn/LFA3XEWF.js +2 -0
  59. package/dist/cdn/LNTE4FDB.js +2 -0
  60. package/dist/cdn/LXTP2MVM.js +2 -0
  61. package/dist/cdn/M4GAOTVS.js +2 -0
  62. package/dist/cdn/M7ENWEKN.js +2 -0
  63. package/dist/cdn/NEPTDMLE.js +2 -0
  64. package/dist/cdn/NQXXIEV2.js +2 -0
  65. package/dist/cdn/NRFCVOMM.js +2 -0
  66. package/dist/cdn/{NLG5U5ZN.js → NVPN3I72.js} +1 -1
  67. package/dist/cdn/NXLWTRS6.js +3 -0
  68. package/dist/cdn/O2LMVVKS.js +2 -0
  69. package/dist/cdn/{FGU7NUST.js → O6KVILZF.js} +1 -1
  70. package/dist/cdn/O7OKLWBW.js +2 -0
  71. package/dist/cdn/OKAGFDAM.js +2 -0
  72. package/dist/cdn/ORKCIBIY.js +2 -0
  73. package/dist/cdn/{WU4NDBMC.js → P5U37XIA.js} +1 -1
  74. package/dist/cdn/PD7SLPIK.js +2 -0
  75. package/dist/cdn/PJIES74D.js +2 -0
  76. package/dist/cdn/PLDTM6JH.js +2 -0
  77. package/dist/cdn/PMXSSYFB.js +2 -0
  78. package/dist/cdn/{T4Z2B3T7.js → PSPUWCU5.js} +1 -1
  79. package/dist/cdn/PSTG4I4W.js +2 -0
  80. package/dist/cdn/Q2KWXSLQ.js +2 -0
  81. package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
  82. package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
  83. package/dist/cdn/RAADOJWX.js +2 -0
  84. package/dist/cdn/RVXA65TI.js +2 -0
  85. package/dist/cdn/SI6RI664.js +2 -0
  86. package/dist/cdn/{7EKBNXGL.js → SOIBQ3FH.js} +1 -1
  87. package/dist/cdn/SOLTOPI3.js +2 -0
  88. package/dist/cdn/SSB4SQXA.js +2 -0
  89. package/dist/cdn/{YTZZRJ7Z.js → T4DVKA6R.js} +1 -1
  90. package/dist/cdn/TEDWUEQ4.js +2 -0
  91. package/dist/cdn/TEPHXOQ2.js +2 -0
  92. package/dist/cdn/TI7UH6FZ.js +2 -0
  93. package/dist/cdn/TLAJ3GMX.js +2 -0
  94. package/dist/cdn/ULOXCWFO.js +2 -0
  95. package/dist/cdn/UTJTCZCF.js +2 -0
  96. package/dist/cdn/UXMKSIYL.js +2 -0
  97. package/dist/cdn/UYJB3OR4.js +2 -0
  98. package/dist/cdn/UZ4VANCL.js +2 -0
  99. package/dist/cdn/UZXVNOOD.js +2 -0
  100. package/dist/cdn/VHLDFKDS.js +2 -0
  101. package/dist/cdn/VPREN7P6.js +2 -0
  102. package/dist/cdn/VTDB4D2K.js +2 -0
  103. package/dist/cdn/{UJURQACP.js → VXPGE37T.js} +1 -1
  104. package/dist/cdn/{SJGWHUCR.js → VXXXOGU7.js} +1 -1
  105. package/dist/cdn/W73JDM22.js +2 -0
  106. package/dist/cdn/{RFO3M46K.js → WEMTOBBB.js} +1 -1
  107. package/dist/cdn/WGLTX4YP.js +2 -0
  108. package/dist/cdn/WKRW6DI5.js +2 -0
  109. package/dist/cdn/WPXCX7TX.js +2 -0
  110. package/dist/cdn/WYYUFJHO.js +2 -0
  111. package/dist/cdn/X2M3ZYHO.js +2 -0
  112. package/dist/cdn/XCDMOCWN.js +2 -0
  113. package/dist/cdn/XLYOZSWI.js +2 -0
  114. package/dist/cdn/XQBN6SO5.js +2 -0
  115. package/dist/cdn/{GKNGEZCO.js → XVZ74ZME.js} +1 -1
  116. package/dist/cdn/YBTMO6HU.js +2 -0
  117. package/dist/cdn/YFX2STSS.js +2 -0
  118. package/dist/cdn/{2Z36ICJZ.js → YME6EWHF.js} +1 -1
  119. package/dist/cdn/{62OAO327.js → Z42YLJMZ.js} +1 -1
  120. package/dist/cdn/{AKGUTL2V.js → Z46QEYSO.js} +1 -1
  121. package/dist/cdn/Z6ZEF6NC.js +2 -0
  122. package/dist/cdn/ZAW644CF.js +2 -0
  123. package/dist/cdn/ZCI6T4IU.js +2 -0
  124. package/dist/cdn/{XKGD4N75.js → ZEQHIKTN.js} +1 -1
  125. package/dist/cdn/ZMP3REWL.js +2 -0
  126. package/dist/cdn/ZP2VJX3N.js +2 -0
  127. package/dist/cdn/index.js +1 -1
  128. package/dist/cdn/main.css +1 -1
  129. package/dist/chunks/esri-main.js +1 -1
  130. package/dist/chunks/layer-list-next.js +1 -1
  131. package/dist/chunks/screenLocation.js +10 -10
  132. package/dist/chunks/slots.js +6 -6
  133. package/dist/chunks/useArcgisViewReadyError.js +46 -46
  134. package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
  135. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
  136. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  137. package/dist/components/arcgis-attachments/customElement.js +3 -3
  138. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  139. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  140. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
  141. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +15 -15
  142. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  143. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  144. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  145. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  146. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  147. package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
  148. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  149. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  150. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
  151. package/dist/components/arcgis-compass/customElement.js +1 -1
  152. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  153. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +9 -9
  154. package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
  155. package/dist/components/arcgis-daylight/customElement.js +1 -1
  156. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
  157. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  158. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  159. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  160. package/dist/components/arcgis-directions/customElement.js +4 -4
  161. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  162. package/dist/components/arcgis-editor/customElement.d.ts +19 -2
  163. package/dist/components/arcgis-editor/customElement.js +7 -7
  164. package/dist/components/arcgis-elevation-profile/customElement.js +10 -10
  165. package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
  166. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  167. package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
  168. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
  169. package/dist/components/arcgis-expand/customElement.d.ts +2 -1
  170. package/dist/components/arcgis-expand/customElement.js +1 -1
  171. package/dist/components/arcgis-exploratory-analysis/customElement.js +7 -7
  172. package/dist/components/arcgis-feature/customElement.js +1 -1
  173. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  174. package/dist/components/arcgis-feature-content/customElement.js +4 -4
  175. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  176. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  177. package/dist/components/arcgis-feature-fields/customElement.js +17 -17
  178. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  179. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  180. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
  181. package/dist/components/arcgis-feature-media/customElement.js +63 -60
  182. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  183. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  184. package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
  185. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  186. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  187. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  188. package/dist/components/arcgis-features/customElement.d.ts +5 -5
  189. package/dist/components/arcgis-features/customElement.js +8 -8
  190. package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
  191. package/dist/components/arcgis-features-next/customElement.js +28 -27
  192. package/dist/components/arcgis-floor-filter/customElement.js +38 -38
  193. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  194. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  195. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  196. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  197. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  198. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  199. package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
  200. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  201. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  202. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  203. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  204. package/dist/components/arcgis-link-chart/customElement.d.ts +14 -6
  205. package/dist/components/arcgis-map/customElement.d.ts +21 -17
  206. package/dist/components/arcgis-measurement-content/customElement.js +9 -9
  207. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  208. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  209. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  210. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  211. package/dist/components/arcgis-paste/customElement.js +1 -1
  212. package/dist/components/arcgis-popup/customElement.d.ts +8 -7
  213. package/dist/components/arcgis-popup/customElement.js +144 -138
  214. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  215. package/dist/components/arcgis-presentation/customElement.js +74 -75
  216. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  217. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  218. package/dist/components/arcgis-print/customElement.js +1 -1
  219. package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
  220. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  221. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  222. package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
  223. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  224. package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
  225. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  226. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  227. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  228. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  229. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  230. package/dist/components/arcgis-scene/customElement.d.ts +42 -13
  231. package/dist/components/arcgis-search/customElement.d.ts +4 -4
  232. package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
  233. package/dist/components/arcgis-selection-list/customElement.js +9 -9
  234. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
  235. package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
  236. package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
  237. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  238. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  239. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  240. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
  241. package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
  242. package/dist/components/arcgis-sketch/customElement.js +144 -142
  243. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  244. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  245. package/dist/components/arcgis-slice/customElement.js +16 -16
  246. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  247. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
  248. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  249. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  250. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  251. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  252. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  253. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  254. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  255. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
  256. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  257. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  258. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  259. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
  260. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
  261. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  262. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  263. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  264. package/dist/components/arcgis-spinner/customElement.js +1 -1
  265. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  266. package/dist/components/arcgis-time-bar/customElement.js +2 -2
  267. package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
  268. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
  269. package/dist/components/arcgis-time-bar-slider/customElement.js +17 -17
  270. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
  271. package/dist/components/arcgis-time-slider/customElement.js +4 -4
  272. package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
  273. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  274. package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
  275. package/dist/components/arcgis-track/customElement.d.ts +4 -4
  276. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  277. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  278. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  279. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  280. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +2 -2
  281. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  282. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +7 -7
  283. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +8 -5
  284. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +51 -43
  285. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  286. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +20 -4
  287. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
  288. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  289. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
  290. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +23 -16
  291. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
  292. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  293. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  294. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  295. package/dist/components/arcgis-version-management/customElement.js +1 -1
  296. package/dist/components/arcgis-video/customElement.d.ts +19 -1
  297. package/dist/components/arcgis-video/customElement.js +7 -4
  298. package/dist/components/arcgis-video-player/customElement.d.ts +17 -0
  299. package/dist/components/arcgis-video-player/customElement.js +60 -52
  300. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  301. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  302. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  303. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  304. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  305. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  306. package/dist/components/arcgis-weather/customElement.js +1 -1
  307. package/dist/components/slider-legacy/types.d.ts +2 -3
  308. package/dist/docs/api.json +1 -1
  309. package/dist/docs/docs.json +1 -1
  310. package/dist/docs/vscode.css-custom-data.json +1 -1
  311. package/dist/docs/vscode.html-custom-data.json +1 -1
  312. package/dist/docs/web-types.json +1 -1
  313. package/dist/index.d.ts +0 -4
  314. package/dist/loader.js +5 -5
  315. package/dist/types/lumina.d.ts +1 -6
  316. package/dist/types/preact.d.ts +1 -7
  317. package/dist/types/react.d.ts +1 -8
  318. package/dist/types/stencil.d.ts +1 -6
  319. package/package.json +6 -6
  320. package/dist/cdn/22RLIDCP.js +0 -2
  321. package/dist/cdn/2PLAZVGP.js +0 -2
  322. package/dist/cdn/2RQGZLOJ.js +0 -2
  323. package/dist/cdn/2S6RQ6Q4.js +0 -2
  324. package/dist/cdn/3EXEL7AM.js +0 -2
  325. package/dist/cdn/3W7KESW7.js +0 -2
  326. package/dist/cdn/4N4XDCDQ.js +0 -2
  327. package/dist/cdn/4NG7CALI.js +0 -2
  328. package/dist/cdn/4PDZTEB2.js +0 -2
  329. package/dist/cdn/5DEJDR4W.js +0 -2
  330. package/dist/cdn/5PPYHS6V.js +0 -2
  331. package/dist/cdn/5V6BNJ5O.js +0 -2
  332. package/dist/cdn/5V6K43GW.js +0 -2
  333. package/dist/cdn/66GRDX36.js +0 -2
  334. package/dist/cdn/6G5QADEG.js +0 -2
  335. package/dist/cdn/6GE2WBKV.js +0 -2
  336. package/dist/cdn/6QWLMG5M.js +0 -2
  337. package/dist/cdn/6T4BDMND.js +0 -2
  338. package/dist/cdn/6VV5SX76.js +0 -2
  339. package/dist/cdn/74PUSJU5.js +0 -2
  340. package/dist/cdn/7JK4JGPG.js +0 -2
  341. package/dist/cdn/APFZ2FVO.js +0 -2
  342. package/dist/cdn/BJI5DVB5.js +0 -2
  343. package/dist/cdn/BM3FQ4OG.js +0 -2
  344. package/dist/cdn/CGE6E3O3.js +0 -2
  345. package/dist/cdn/CXXBV6RJ.js +0 -2
  346. package/dist/cdn/DEW5IWND.js +0 -2
  347. package/dist/cdn/E5CGORXN.js +0 -2
  348. package/dist/cdn/E5X5BYWA.js +0 -2
  349. package/dist/cdn/EB4V6SPF.js +0 -2
  350. package/dist/cdn/ECUVJOIW.js +0 -2
  351. package/dist/cdn/FMLDKHWP.js +0 -3
  352. package/dist/cdn/G2ACNJGG.js +0 -2
  353. package/dist/cdn/GIQT67VT.js +0 -2
  354. package/dist/cdn/H66E4VOY.js +0 -2
  355. package/dist/cdn/HL6WL2YA.js +0 -2
  356. package/dist/cdn/HTONXZBP.js +0 -2
  357. package/dist/cdn/HUWIY53T.js +0 -2
  358. package/dist/cdn/IJ7EV66N.js +0 -2
  359. package/dist/cdn/IOUO7KBT.js +0 -2
  360. package/dist/cdn/JRO4IBJP.js +0 -2
  361. package/dist/cdn/JUOOKKZJ.js +0 -2
  362. package/dist/cdn/KE2ER3F7.js +0 -2
  363. package/dist/cdn/KIHYSYOL.js +0 -2
  364. package/dist/cdn/KJISACOI.js +0 -2
  365. package/dist/cdn/L4WLEN3C.js +0 -2
  366. package/dist/cdn/LILX2DJE.js +0 -2
  367. package/dist/cdn/LP4ETJF7.js +0 -2
  368. package/dist/cdn/MDS3NVWM.js +0 -2
  369. package/dist/cdn/MW27GSDX.js +0 -2
  370. package/dist/cdn/NZQLQGTQ.js +0 -2
  371. package/dist/cdn/O46PVNMT.js +0 -2
  372. package/dist/cdn/ONYCZO7Y.js +0 -2
  373. package/dist/cdn/ORVSAF3Z.js +0 -2
  374. package/dist/cdn/OZF64H7N.js +0 -2
  375. package/dist/cdn/P65FMRMP.js +0 -2
  376. package/dist/cdn/PXDX3LCI.js +0 -2
  377. package/dist/cdn/Q2GYNZYQ.js +0 -2
  378. package/dist/cdn/QET5SVDO.js +0 -2
  379. package/dist/cdn/QUPDTNAC.js +0 -2
  380. package/dist/cdn/R5PT7JNG.js +0 -2
  381. package/dist/cdn/R6ARQKAY.js +0 -2
  382. package/dist/cdn/RBRDUDEY.js +0 -2
  383. package/dist/cdn/RQPOCDJS.js +0 -2
  384. package/dist/cdn/RSKBANQ5.js +0 -2
  385. package/dist/cdn/RT53VCER.js +0 -2
  386. package/dist/cdn/T3MDSQ3T.js +0 -2
  387. package/dist/cdn/TDQYO6FQ.js +0 -2
  388. package/dist/cdn/TKD5T5DW.js +0 -2
  389. package/dist/cdn/UB6BQW3G.js +0 -2
  390. package/dist/cdn/UFDB6U6V.js +0 -2
  391. package/dist/cdn/UI5E3MX7.js +0 -2
  392. package/dist/cdn/UKIVMO7H.js +0 -2
  393. package/dist/cdn/UR3Z5YHW.js +0 -2
  394. package/dist/cdn/VM5QVCMC.js +0 -2
  395. package/dist/cdn/VPDDFGYQ.js +0 -2
  396. package/dist/cdn/W4GNRGIN.js +0 -2
  397. package/dist/cdn/WG5PHRPT.js +0 -2
  398. package/dist/cdn/WW7YOPDY.js +0 -2
  399. package/dist/cdn/XN3MG6YU.js +0 -2
  400. package/dist/cdn/XWBR6FXI.js +0 -2
  401. package/dist/cdn/Y5ZZCA3R.js +0 -2
  402. package/dist/cdn/Y6NC7ML3.js +0 -2
  403. package/dist/cdn/Y7XSHXVA.js +0 -2
  404. package/dist/cdn/YBSEIOQX.js +0 -2
  405. package/dist/cdn/YC7VLNKI.js +0 -2
  406. package/dist/cdn/YITBBUPR.js +0 -2
  407. package/dist/cdn/YJROHURO.js +0 -2
  408. package/dist/cdn/YXIJXXTK.js +0 -2
  409. package/dist/cdn/Z3674FMT.js +0 -2
  410. package/dist/cdn/Z6NHKWWS.js +0 -2
  411. package/dist/cdn/ZJPYW3TN.js +0 -2
  412. package/dist/cdn/ZKKZQVJT.js +0 -2
  413. package/dist/components/arcgis-feature-form-field/customElement.d.ts +0 -189
  414. package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
  415. package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
  416. package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
  417. package/dist/components/arcgis-feature-form-field-number/index.d.ts +0 -1
@@ -1,21 +1,21 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as v } from "../../chunks/runtime.js";
3
- import { ref as c } from "lit/directives/ref.js";
4
- import h from "@arcgis/core/Color.js";
5
- import R from "@arcgis/core/core/Collection.js";
2
+ import { c as R } from "../../chunks/runtime.js";
3
+ import { ref as h } from "lit/directives/ref.js";
4
+ import n from "@arcgis/core/Color.js";
5
+ import v from "@arcgis/core/core/Collection.js";
6
6
  import w from "@arcgis/core/core/Error.js";
7
7
  import { when as T } from "@arcgis/core/core/reactiveUtils.js";
8
8
  import $ from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
9
9
  import { LitElement as C, createEvent as r } from "@arcgis/lumina";
10
- import { usePropertyChange as E, bypassReadOnly as g } from "@arcgis/lumina/controllers";
11
- import { slotChangeGetAssignedElements as d } from "@arcgis/toolkit/dom/slots";
10
+ import { usePropertyChange as G, bypassReadOnly as g } from "@arcgis/lumina/controllers";
11
+ import { slotChangeGetAssignedElements as p } from "@arcgis/toolkit/dom/slots";
12
12
  import { log as u } from "@arcgis/toolkit/log";
13
- import { css as k, html as a } from "lit";
14
- import { u as G } from "../../chunks/useT9n.js";
15
- import { m as S } from "../../chunks/useViewModel.js";
16
- import { l as p } from "../../chunks/async-utils.js";
17
- import { a as m } from "../../chunks/types.js";
18
- const P = k`: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%)}arcgis-utility-network-trace-inputs[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;--calcite-panel-background-color: var(--calcite-color-background);min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}arcgis-utility-network-trace-results,slot[name=results]::slotted(arcgis-utility-network-trace-results){--arcgis-internal-trace-results-height: 100%;height:100%}slot[name=results]::slotted(:not(arcgis-utility-network-trace-results)){display:none}slot[name=results]::slotted([arcgis-hidden-results-slot-item]){display:none}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`, x = S($), f = "arcgis-utility-network-trace-results", y = "arcgis-hidden-results-slot-item", _ = [
13
+ import { css as E, html as a } from "lit";
14
+ import { u as S } from "../../chunks/useT9n.js";
15
+ import { m as k } from "../../chunks/useViewModel.js";
16
+ import { l as m } from "../../chunks/async-utils.js";
17
+ import { a as d } from "../../chunks/types.js";
18
+ const P = E`: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-space-lg);--arcgis-internal-panel-actions-gap: var(--calcite-space-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%)}arcgis-utility-network-trace-inputs[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;--calcite-panel-background-color: var(--calcite-color-surface-1);min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2)}calcite-notice{margin:var(--calcite-space-md)}arcgis-utility-network-trace-results,slot[name=results]::slotted(arcgis-utility-network-trace-results){--arcgis-internal-trace-results-height: 100%;height:100%}slot[name=results]::slotted(:not(arcgis-utility-network-trace-results)){display:none}slot[name=results]::slotted([arcgis-hidden-results-slot-item]){display:none}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-space-md) var(--calcite-space-md) 0}}`, x = k($), y = "arcgis-utility-network-trace-results", f = "arcgis-hidden-results-slot-item", A = [
19
19
  "actions",
20
20
  "autoDestroyDisabled",
21
21
  "aggregatedGeometryResultsGraphicsColor",
@@ -32,9 +32,9 @@ const P = k`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 3
32
32
  "traceResult",
33
33
  "view"
34
34
  ];
35
- class A extends C {
35
+ class _ extends C {
36
36
  constructor() {
37
- super(...arguments), this._messages = G({ blocking: !0 }), this.#s = x(this), this.#r = (e) => {
37
+ super(...arguments), this._messages = S({ blocking: !0 }), this.#s = x(this), this.#r = (e) => {
38
38
  const { detail: t, target: s } = e;
39
39
  t.name === "hideGraphics" ? (e.stopPropagation(), this.hideGraphics = s[t.name], this.arcgisHideGraphicsChange.emit(this.hideGraphics)) : t.name === "aggregatedGeometryResultsGraphicsColor" ? (e.stopPropagation(), this.aggregatedGeometryResultsGraphicsColor = s[t.name]) : t.name === "aggregatedGeometryResultsSize" ? (e.stopPropagation(), this.aggregatedGeometryResultsSize = s[t.name]) : (t.name === "state" || t.name === "traceError" || t.name === "traceResult") && e.stopPropagation();
40
40
  }, this.#n = (e) => {
@@ -43,11 +43,13 @@ class A extends C {
43
43
  e.stopPropagation(), this.arcgisTraceResultFeaturesReady.emit(), this.arcgisTraceResultReady.emit();
44
44
  }, this.#a = (e) => {
45
45
  e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
46
- }, this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._slottedElements = [], this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryResultsGraphicsColor = new h(m), this.aggregatedGeometryResultsSize = 12, this.disableHighlightFeatureResults = !1, this.flowItems = new R(), this.hideActionBar = !1, this.hideClearResultsCount = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.state = this.#s.state, this.view = this.#s.view, this.arcgisError = r(), this.arcgisHideGraphicsChange = r(), this.arcgisPropertyChange = E()("aggregatedGeometryResultsGraphicsColor", "hideGraphics", "state", "traceError", "traceResult"), this.arcgisReady = r(), this.arcgisTraceLocationSelectEnd = r(), this.arcgisTraceLocationSelectStart = r(), this.arcgisTraceResultClear = r(), this.arcgisTraceResultFeaturesReady = r(), this.arcgisTraceResultReady = r(), this.arcgisTriggerAction = r();
46
+ }, this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._slottedElements = [], this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryResultsGraphicsColor = new n(d), this.aggregatedGeometryResultsSize = 12, this.disableHighlightFeatureResults = !1, this.flowItems = new v(), this.hideActionBar = !1, this.hideClearResultsCount = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.state = this.#s.state, this.view = this.#s.view, this.arcgisError = r(), this.arcgisHideGraphicsChange = r(), this.arcgisPropertyChange = G()("aggregatedGeometryGraphicsColor", "aggregatedGeometryResultsGraphicsColor", "hideGraphics", "state", "traceError", "traceResult"), this.arcgisReady = r(), this.arcgisTraceLocationSelectEnd = r(), this.arcgisTraceLocationSelectStart = r(), this.arcgisTraceResultClear = r(), this.arcgisTraceResultFeaturesReady = r(), this.arcgisTraceResultReady = r(), this.arcgisTriggerAction = r();
47
47
  }
48
48
  static {
49
49
  this.properties = { _activeTab: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _slottedElements: 16, _mode: 16, actions: 0, autoDestroyDisabled: 5, beforeMapInteraction: 0, aggregatedGeometryResultsGraphicsColor: [1, { converter: {
50
- fromAttribute: (e) => h.fromString(e) ?? new h(m)
50
+ fromAttribute: (e) => n.fromString(e) ?? new n(d)
51
+ } }], aggregatedGeometryGraphicsColor: [1, { converter: {
52
+ fromAttribute: (e) => n.fromString(e) ?? new n(d)
51
53
  } }], aggregatedGeometryResultsSize: 9, disableHighlightFeatureResults: 5, flowItems: 32, hideActionBar: 5, hideClearResultsCount: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, traceResult: 0, traceError: 32, referenceElement: 1, state: 32, view: 0 };
52
54
  }
53
55
  static {
@@ -61,12 +63,18 @@ class A extends C {
61
63
  #h;
62
64
  #s;
63
65
  get #p() {
64
- return Array.from(this.el.children).some((e) => e.slot === "results" && e.matches(f));
66
+ return Array.from(this.el.children).some((e) => e.slot === "results" && e.matches(y));
65
67
  }
66
68
  #r;
67
69
  #n;
68
70
  #o;
69
71
  #a;
72
+ get aggregatedGeometryGraphicsColor() {
73
+ return this.aggregatedGeometryResultsGraphicsColor;
74
+ }
75
+ set aggregatedGeometryGraphicsColor(e) {
76
+ this.aggregatedGeometryResultsGraphicsColor = e;
77
+ }
70
78
  get traceResultFeatures() {
71
79
  return this.#e?.traceResultFeatures ?? [];
72
80
  }
@@ -77,7 +85,7 @@ class A extends C {
77
85
  this.#t?.destroy()
78
86
  ]);
79
87
  for (const t of e)
80
- t.status === "rejected" && p(t.reason, this, "Error while destroying trace analysis component");
88
+ t.status === "rejected" && m(t.reason, this, "Error while destroying trace analysis component");
81
89
  this.#t = void 0, this.#e = void 0, await this.manager.destroy();
82
90
  }
83
91
  load() {
@@ -86,7 +94,7 @@ class A extends C {
86
94
  ]);
87
95
  }
88
96
  willUpdate(e) {
89
- _.some((t) => e.has(t)) && this.#l(this.#e);
97
+ A.some((t) => e.has(t)) && this.#l(this.#e);
90
98
  }
91
99
  #g() {
92
100
  this.traceResult = void 0, g(() => this.traceError = void 0), this.#e?.clearResults(), this.#h?.flowItems.removeAll();
@@ -94,8 +102,8 @@ class A extends C {
94
102
  #m() {
95
103
  if (!this.#t)
96
104
  return;
97
- const { traceLocations: e, traceLocationDetails: t, traceConfiguration: s, isSubnetworkNameTraceSelected: i } = this.#t, n = !!s?.subnetworkName, l = e?.some((o) => o.type === "starting-point"), b = t?.some((o) => !!o.flagProperties.terminalConfiguration && !o.flagProperties.selectedTerminals?.size) ?? !1;
98
- this._showNoStartingPointsWarning = !i && !l || i && !n, this._showMissingTerminalWarning = b;
105
+ const { traceLocations: e, traceLocationDetails: t, traceConfiguration: s, isSubnetworkNameTraceSelected: i } = this.#t, o = !!s?.subnetworkName, c = e?.some((l) => l.type === "starting-point"), b = t?.some((l) => !!l.flagProperties.terminalConfiguration && !l.flagProperties.selectedTerminals?.size) ?? !1;
106
+ this._showNoStartingPointsWarning = !i && !c || i && !o, this._showMissingTerminalWarning = b;
99
107
  }
100
108
  #i(e) {
101
109
  this._activeTab = e;
@@ -125,13 +133,13 @@ class A extends C {
125
133
  };
126
134
  Object.assign(e, t);
127
135
  }
128
- #f(e) {
136
+ #y(e) {
129
137
  e && (e.addEventListener("arcgisPropertyChange", this.#r), e.addEventListener("arcgisResultsReady", this.#o), e.addEventListener("arcgisTraceResultClear", this.#n), e.addEventListener("arcgisTriggerAction", this.#a));
130
138
  }
131
139
  #u(e) {
132
140
  e && (e.removeEventListener("arcgisPropertyChange", this.#r), e.removeEventListener("arcgisResultsReady", this.#o), e.removeEventListener("arcgisTraceResultClear", this.#n), e.removeEventListener("arcgisTriggerAction", this.#a));
133
141
  }
134
- #y(e) {
142
+ #f(e) {
135
143
  const { _messages: t } = this;
136
144
  switch (e) {
137
145
  case "no-user-type-extension":
@@ -164,29 +172,29 @@ class A extends C {
164
172
  outSpatialReference: this.view?.spatialReference
165
173
  });
166
174
  } catch (i) {
167
- p(i, this, "Error while running trace"), g(() => this.traceError = i), this.traceResult = void 0, this.arcgisError.emit();
175
+ m(i, this, "Error while running trace"), g(() => this.traceError = i), this.traceResult = void 0, this.arcgisError.emit();
168
176
  }
169
177
  }
170
- #v() {
178
+ #R() {
171
179
  this.#m(), !(this._showNoStartingPointsWarning || this._showMissingTerminalWarning) && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1, this.#g(), this.#i("results"), this.#b());
172
180
  }
173
- #R(e) {
181
+ #v(e) {
174
182
  e && (this.#t = e);
175
183
  }
176
184
  #d(e) {
177
- !e || e === this.#e || (this.#u(this.#e), this.#e = e, this.#f(e));
185
+ !e || e === this.#e || (this.#u(this.#e), this.#e = e, this.#y(e));
178
186
  }
179
187
  #w(e) {
180
188
  this.#h = e;
181
189
  }
182
190
  #T(e) {
183
- this._slottedElements = d(e);
184
- const t = d(e, f);
191
+ this._slottedElements = p(e);
192
+ const t = p(e, y);
185
193
  if ((!t.length || t.length < this._slottedElements.length) && u("warn", this, "The trace results pane only renders instances of `arcgis-utility-network-trace-results` in the `results` slot."), t.length > 1 && u("warn", this, "Multiple `arcgis-utility-network-trace-results` elements were provided in the `results` slot. Only the first will render."), !t.length)
186
194
  return;
187
195
  const [s] = t;
188
196
  for (const i of t)
189
- i === s ? i.removeAttribute(y) : i.setAttribute(y, "");
197
+ i === s ? i.removeAttribute(f) : i.setAttribute(f, "");
190
198
  this.#d(s), this.#l(s);
191
199
  }
192
200
  #$(e) {
@@ -195,44 +203,44 @@ class A extends C {
195
203
  #C(e) {
196
204
  e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit();
197
205
  }
198
- #E(e) {
206
+ #G(e) {
199
207
  const { detail: t, target: s } = e;
200
208
  e.stopPropagation(), t.name === "selectedUtilityNetwork" && (this.#s.utilityNetwork = s.selectedUtilityNetwork, this.#l(this.#e)), t.name === "selectedNamedTraceConfiguration" && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1), t.name === "mode" && (this._mode = s.mode);
201
209
  }
202
- #k() {
210
+ #E() {
203
211
  const { _messages: e } = this;
204
212
  return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showMissingTerminalWarning = !1}><div slot=title>${e.errors.missingTerminalTitle}</div><div slot=message>${e.errors.missingTerminalBody}</div></calcite-notice></calcite-panel>`;
205
213
  }
206
- #G() {
214
+ #S() {
207
215
  const { _messages: e } = this;
208
216
  return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this._showNoStartingPointsWarning = !1}><div slot=title>${e.errors.noStartingPointsTitle}</div><div slot=message>${e.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
209
217
  }
210
- #S() {
211
- return a`<calcite-tab .selected=${this._activeTab === "results"}>${this.state === "executing" && a`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` || ""}<arcgis-utility-network-trace-results-pane hide-warnings .hidden=${this.state === "executing"} ${c(this.#w)}><slot name=results @slotchange=${this.#T}></slot>${this.#p ? null : a`<arcgis-utility-network-trace-results .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryResultsGraphicsColor=${this.aggregatedGeometryResultsGraphicsColor} .aggregatedGeometryResultsSize=${this.aggregatedGeometryResultsSize} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} expanded .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hideGraphics=${this.hideGraphics} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#c} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this.#s.utilityNetwork ?? void 0} .view=${this.view ?? void 0} ${c(this.#d)}></arcgis-utility-network-trace-results>`}</arcgis-utility-network-trace-results-pane></calcite-tab>`;
218
+ #k() {
219
+ return a`<calcite-tab .selected=${this._activeTab === "results"}>${this.state === "executing" && a`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` || ""}<arcgis-utility-network-trace-results-pane hide-warnings .hidden=${this.state === "executing"} ${h(this.#w)}><slot name=results @slotchange=${this.#T}></slot>${this.#p ? null : a`<arcgis-utility-network-trace-results .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryResultsGraphicsColor=${this.aggregatedGeometryResultsGraphicsColor} .aggregatedGeometryResultsSize=${this.aggregatedGeometryResultsSize} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} expanded .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hideGraphics=${this.hideGraphics} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#c} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this.#s.utilityNetwork ?? void 0} .view=${this.view ?? void 0} ${h(this.#d)}></arcgis-utility-network-trace-results>`}</arcgis-utility-network-trace-results-pane></calcite-tab>`;
212
220
  }
213
221
  #P() {
214
- const { _messages: e, traceResult: t } = this, i = !!(t?.elements.length || t?.globalFunctionResults.length || t?.aggregatedGeometry) && this.#e?.state === "ready", n = this.#e?.numFeatureResults ?? 0, l = n > 0 && !this.hideFeatureResults && !this.hideClearResultsCount && this.state !== "executing";
222
+ const { _messages: e, traceResult: t } = this, i = !!(t?.elements.length || t?.globalFunctionResults.length || t?.aggregatedGeometry) && this.#e?.state === "ready", o = this.#e?.numFeatureResults ?? 0, c = o > 0 && !this.hideFeatureResults && !this.hideClearResultsCount && this.state !== "executing";
215
223
  return a`<calcite-button appearance=outline width=full @click=${() => {
216
224
  this.#i("input"), this.#g();
217
- }} .disabled=${!i} slot=footer>${l ? e.buttons.clearResultsCustom.replace("{number}", n.toString()) : e.buttons.clearResultsGeneric}</calcite-button>`;
225
+ }} .disabled=${!i} slot=footer>${c ? e.buttons.clearResultsCustom.replace("{number}", o.toString()) : e.buttons.clearResultsGeneric}</calcite-button>`;
218
226
  }
219
227
  #x() {
220
- const { _mode: e } = this, { loadError: t } = this.#s, i = (t === "no-user-type-extension" || t === "sceneView-not-supported" ? a`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#y(t)}</div></calcite-notice>` : void 0) ?? a`${this._showNoStartingPointsWarning && e === "default" && this.#G() || ""}${this._showMissingTerminalWarning && e === "default" && this.#k() || ""}<arcgis-utility-network-trace-inputs .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .hideActionBar=${this.hideActionBar} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .view=${this.view ?? void 0} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisPropertyChange=${this.#E} @arcgisTraceLocationSelectEnd=${this.#C} @arcgisTraceLocationSelectStart=${this.#$} @arcgisTriggerAction=${this.#a} ${c(this.#R)}></arcgis-utility-network-trace-inputs>`;
228
+ const { _mode: e } = this, { loadError: t } = this.#s, i = (t === "no-user-type-extension" || t === "sceneView-not-supported" ? a`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#f(t)}</div></calcite-notice>` : void 0) ?? a`${this._showNoStartingPointsWarning && e === "default" && this.#S() || ""}${this._showMissingTerminalWarning && e === "default" && this.#E() || ""}<arcgis-utility-network-trace-inputs .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .hideActionBar=${this.hideActionBar} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .view=${this.view ?? void 0} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisPropertyChange=${this.#G} @arcgisTraceLocationSelectEnd=${this.#C} @arcgisTraceLocationSelectStart=${this.#$} @arcgisTriggerAction=${this.#a} ${h(this.#v)}></arcgis-utility-network-trace-inputs>`;
221
229
  return a`<calcite-tab .selected=${this._activeTab === "input"}><div class="inputs-tab-container">${i}</div></calcite-tab>`;
222
230
  }
223
- #_() {
231
+ #A() {
224
232
  const { state: e } = this;
225
233
  if (this._mode !== "default")
226
234
  return null;
227
235
  const t = e === "disabled" || e === "loading" || !this.#t?.traceConfiguration;
228
- return a`<calcite-button appearance=solid width=full @click=${this.#v} slot=footer .disabled=${t}>${this._messages.buttons.getResults}</calcite-button>`;
236
+ return a`<calcite-button appearance=solid width=full @click=${this.#R} slot=footer .disabled=${t}>${this._messages.buttons.getResults}</calcite-button>`;
229
237
  }
230
238
  render() {
231
239
  const { _activeTab: e, state: t } = this;
232
- return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${() => this.#i("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${() => this.#i("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#x()}${this.#S()}</calcite-tabs>${e === "input" ? this.#_() : null}${e === "results" ? this.#P() : null}</calcite-panel>`;
240
+ return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${() => this.#i("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${() => this.#i("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#x()}${this.#k()}</calcite-tabs>${e === "input" ? this.#A() : null}${e === "results" ? this.#P() : null}</calcite-panel>`;
233
241
  }
234
242
  }
235
- v("arcgis-utility-network-trace-analysis", A);
243
+ R("arcgis-utility-network-trace-analysis", _);
236
244
  export {
237
- A as ArcgisUtilityNetworkTraceAnalysis
245
+ _ as ArcgisUtilityNetworkTraceAnalysis
238
246
  };
@@ -8,24 +8,287 @@ export type UtilityNetworkTraceAnalysisDisplayMode = "add-spatial-feature" | "ad
8
8
  export type UtilityNetworkTraceResultItemState = "disabled" | "loading" | "ready";
9
9
 
10
10
  /**
11
- * Defines the common properties shared by all children of [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/).
11
+ * Describes the properties and lifecycle methods used by the built-in trace result item components.
12
+ *
13
+ * Use this interface as a reference when creating a custom trace result item component to place in the default
14
+ * slot of [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/). It describes the context, configuration, readiness,
15
+ * and cleanup behavior you may want to implement, depending on what your custom result item component displays or does.
16
+ *
17
+ * A custom result item component only needs the optional context and configuration properties it uses.
18
+ *
19
+ * The trace results component does not assign these properties to slotted custom result item components.
20
+ * Set the properties your custom result item component needs, for example by reading the
21
+ * [trace result](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#traceResult) from the parent trace results component.
22
+ * Listen for the parent's [arcgis-utility-network-trace-results.@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#event-arcgisPropertyChange)
23
+ * event to handle subsequent changes, ignoring events whose target is not the parent.
24
+ * Remove event listeners when the custom result item component disconnects.
25
+ *
26
+ * ## Coordinate result readiness
27
+ *
28
+ * Set [UtilityNetworkTraceResultItem](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/types#UtilityNetworkTraceResultItem-emitsArcgisResultReady)
29
+ * to `true` before slotting a custom item if the trace results component should wait for that result item to emit
30
+ * `arcgisResultReady` before displaying trace results. For example, a result item that queries features should
31
+ * set `emitsArcgisResultReady` to `true` and emit `arcgisResultReady` after the feature queries finish and the
32
+ * result item is ready to display its results.
33
+ *
34
+ * The trace results component stays in its [loading state](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#state)
35
+ * until every participating result item (including default result items) has signaled completion by emitting `arcgisResultReady`.
36
+ * The trace results component then emits [arcgis-utility-network-trace-results.@arcgisResultsReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#event-arcgisResultsReady).
37
+ *
38
+ * Signal completion even when processing produces no applicable results or fails, after displaying any error.
39
+ * Otherwise, the trace results component keeps waiting.
40
+ *
41
+ * Set `emitsArcgisResultReady` to `false` for an item that does not need to delay readiness,
42
+ * such as static content about the trace results.
43
+ *
44
+ * ## Clear output between trace results
45
+ *
46
+ * Specify a [UtilityNetworkTraceResultItem](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/types#UtilityNetworkTraceResultItem-clearResult)
47
+ * method to clean up a custom result item component's side effects. The trace results component calls this method
48
+ * when its [trace result](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#traceResult) changes or
49
+ * [arcgis-utility-network-trace-results.clearResults()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#clearResults) is called.
50
+ * For example, if a custom result item adds graphics to the map, its `clearResult` callback may
51
+ * remove the graphics from the map.
52
+ *
53
+ * Cleanup is independent of readiness: an item with `emitsArcgisResultReady` set to `false` can still provide
54
+ * `clearResult`. Cleanup must be safe to repeat and must not emit `arcgisResultReady` or destroy the item.
55
+ * Keep the item ready to process the next trace result.
56
+ *
57
+ * Adding any content to the trace results component's default slot replaces all default result items,
58
+ * so include each built-in or custom item you want to display.
12
59
  *
13
- * @internal
14
60
  * @since 5.2
61
+ * @example
62
+ * After registering a custom element named `my-trace-result-item`, add it alongside a built-in result item.
63
+ * The custom item is responsible for reading its context from the trace results component and processing each trace result.
64
+ * ```html
65
+ * <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
66
+ * <arcgis-utility-network-trace-analysis slot="bottom-left">
67
+ * <arcgis-utility-network-trace-results slot="results">
68
+ * <arcgis-utility-network-trace-elements-result-item></arcgis-utility-network-trace-elements-result-item>
69
+ * <my-trace-result-item></my-trace-result-item>
70
+ * </arcgis-utility-network-trace-results>
71
+ * </arcgis-utility-network-trace-analysis>
72
+ * </arcgis-map>
73
+ * ```
74
+ * @example
75
+ * This custom element excerpt queries up to 25 point features in the current view extent, adds them to the map,
76
+ * and removes them when `clearResult` is called.
77
+ * ```ts
78
+ * import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
79
+ * import type Graphic from "@arcgis/core/Graphic.js";
80
+ * import type MapView from "@arcgis/core/views/MapView.js";
81
+ *
82
+ * class MyTraceResultItem extends HTMLElement {
83
+ * emitsArcgisResultReady = true;
84
+ * #controller?: AbortController;
85
+ * #view?: MapView;
86
+ * #graphics: Graphic[] = [];
87
+ *
88
+ * async processResult(layer: FeatureLayer, view: MapView): Promise<void> {
89
+ * this.clearResult();
90
+ * const controller = new AbortController();
91
+ * this.#controller = controller;
92
+ *
93
+ * try {
94
+ * const query = layer.createQuery();
95
+ * query.geometry = view.extent;
96
+ * query.num = 25;
97
+ * query.returnGeometry = true;
98
+ * query.outSpatialReference = view.spatialReference;
99
+ * const { features } = await layer.queryFeatures(query, { signal: controller.signal });
100
+ * if (controller.signal.aborted) {
101
+ * return;
102
+ * }
103
+ *
104
+ * this.#view = view;
105
+ * this.#graphics = features;
106
+ * view.graphics.addMany(features);
107
+ * } catch (error) {
108
+ * if (!controller.signal.aborted) {
109
+ * console.error(error);
110
+ * this.textContent = "Could not load trace results.";
111
+ * }
112
+ * } finally {
113
+ * if (this.#controller === controller) {
114
+ * this.#controller = undefined;
115
+ * this.dispatchEvent(new CustomEvent("arcgisResultReady"));
116
+ * }
117
+ * }
118
+ * }
119
+ *
120
+ * clearResult(): void {
121
+ * this.#controller?.abort();
122
+ * this.#controller = undefined;
123
+ * this.#view?.graphics.removeMany(this.#graphics);
124
+ * this.#view = undefined;
125
+ * this.#graphics = [];
126
+ * this.replaceChildren();
127
+ * }
128
+ * }
129
+ * ```
130
+ * `clearResult` aborts an in-flight query; its canceled work does not emit `arcgisResultReady`.
131
+ * The sample's extent query is illustrative; use a query appropriate to the trace result in your component.
132
+ * @see [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/)
133
+ * @see [arcgis-utility-network-trace-aggregated-geometry-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/)
134
+ * @see [arcgis-utility-network-trace-elements-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/)
135
+ * @see [arcgis-utility-network-trace-functions-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/)
15
136
  */
16
137
  export interface UtilityNetworkTraceResultItem {
17
- /** The layers used by the result item. */
138
+ /**
139
+ * The [layers and tables](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)
140
+ * used to query features associated with the trace result.
141
+ *
142
+ * The [elements result item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#layers)
143
+ * uses this configuration to restrict feature queries to specific utility network layers and tables.
144
+ * An empty array uses the map's layers and tables that belong to the selected utility network.
145
+ *
146
+ * The trace results component forwards its [layers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#layers)
147
+ * only to its internally created elements result item. Custom result items decide how to use this property.
148
+ *
149
+ * @see [arcgis-utility-network-trace-results.layers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#layers)
150
+ * @see [arcgis-utility-network-trace-elements-result-item.layers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#layers)
151
+ */
18
152
  layers?: Layer[];
19
- /** The heading of the result item. */
153
+ /**
154
+ * The heading displayed by the result item.
155
+ *
156
+ * Configure this on the custom result item component, not on the trace results component.
157
+ * The [trace results component heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#heading)
158
+ * describes the whole trace rather than an individual item.
159
+ *
160
+ * For example,
161
+ * the [functions result item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#heading)
162
+ * displays this heading above its table and uses a localized default when it is omitted or empty.
163
+ * Custom items control where the heading appears and whether a default is provided.
164
+ *
165
+ * @see [arcgis-utility-network-trace-aggregated-geometry-result-item.heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#heading)
166
+ * @see [arcgis-utility-network-trace-elements-result-item.heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#heading)
167
+ * @see [arcgis-utility-network-trace-functions-result-item.heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#heading)
168
+ */
20
169
  heading?: string;
21
- /** The trace result used by the result item. */
170
+ /**
171
+ * The [trace result](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/)
172
+ * processed and displayed by the result item.
173
+ *
174
+ * Read this value from the parent [trace results component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#traceResult).
175
+ * Built-in items process the relevant part of the result: elements, aggregated geometry, or function results.
176
+ * Custom items can process any part they need.
177
+ *
178
+ * To access the full trace response in JSON format, including fields not exposed by the `TraceResult` class, use
179
+ * [`TraceResult.sourceJSON`](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#sourceJSON).
180
+ *
181
+ * Handle an `undefined` value when no result is available, and replace output from the previous result when a
182
+ * new result arrives.
183
+ *
184
+ * If the item participates in
185
+ * [readiness tracking](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/types#UtilityNetworkTraceResultItem-emitsArcgisResultReady),
186
+ * signal completion even when the result contains no data relevant to the item.
187
+ *
188
+ * @see [arcgis-utility-network-trace-results.traceResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#traceResult)
189
+ * @see [TraceResult.sourceJSON](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#sourceJSON)
190
+ */
22
191
  traceResult?: TraceResult;
23
- /** The utility network used by the result item. */
192
+ /**
193
+ * The [utility network](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/)
194
+ * associated with the trace result.
195
+ *
196
+ * Read this value from the parent
197
+ * [trace results component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#utilityNetwork).
198
+ * The [elements result item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#utilityNetwork)
199
+ * uses it to identify utility network layers and resolve trace elements to features.
200
+ *
201
+ * @see [arcgis-utility-network-trace-results.utilityNetwork](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#utilityNetwork)
202
+ * @see [arcgis-utility-network-trace-elements-result-item.utilityNetwork](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#utilityNetwork)
203
+ */
24
204
  utilityNetwork?: UtilityNetwork;
25
- /** The MapView used by the result item. */
205
+ /**
206
+ * The [map view](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/)
207
+ * used to display and interact with the trace result.
208
+ *
209
+ * Read this value from the parent [trace results component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#view).
210
+ * The [elements result item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#view)
211
+ * uses it to query layers and highlight features. The
212
+ * [aggregated geometry result item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#view)
213
+ * uses it to display graphics.
214
+ *
215
+ * @see [arcgis-utility-network-trace-results.view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#view)
216
+ * @see [arcgis-utility-network-trace-elements-result-item.view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#view)
217
+ * @see [arcgis-utility-network-trace-aggregated-geometry-result-item.view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#view)
218
+ */
26
219
  view?: MapView;
27
- /** Whether the result item intends to emit event `arcgisResultReady`. */
220
+ /**
221
+ * Indicates whether the result item emits an `arcgisResultReady` event after processing a trace result.
222
+ *
223
+ * Set this to `true` before adding the item to the trace results component to participate in readiness tracking.
224
+ * Dispatch `arcgisResultReady` from the custom result item component after processing a trace result. No event detail is required.
225
+ * Once all participating result item components (including default result items) emit `arcgisResultReady`,
226
+ * the trace results component changes its state to `"ready"` and emits
227
+ * [arcgis-utility-network-trace-results.@arcgisResultsReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#event-arcgisResultsReady).
228
+ *
229
+ * Signal completion when processing finishes, including when there are no applicable results or processing fails.
230
+ * If this property is `true` and a custom result item never emits `arcgisResultReady`, the trace results component remains
231
+ * in its `"loading"` state and does not emit `arcgisResultsReady`.
232
+ * Do not emit `arcgisResultReady` for work canceled by `clearResult`.
233
+ *
234
+ * Set this to `false` when the trace results component does not need to wait for the custom result item,
235
+ * e.g., displaying static content for the trace result.
236
+ *
237
+ * @example
238
+ * Set the property and dispatch the event after the current result has finished processing:
239
+ * ```ts
240
+ * class MyTraceResultItem extends HTMLElement {
241
+ * emitsArcgisResultReady = true;
242
+ *
243
+ * finishProcessing(): void {
244
+ * this.dispatchEvent(new CustomEvent("arcgisResultReady"));
245
+ * }
246
+ * }
247
+ * ```
248
+ * @see [arcgis-utility-network-trace-results.state](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#state)
249
+ * @see [arcgis-utility-network-trace-results.@arcgisResultsReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#event-arcgisResultsReady)
250
+ * @see [UtilityNetworkTraceResultItem](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/types#UtilityNetworkTraceResultItem-clearResult)
251
+ */
28
252
  emitsArcgisResultReady: boolean;
29
- /** A method to clean up side effects from the result item. */
253
+ /**
254
+ * Clears the result item's rendered output and side effects, such as graphics added to the map.
255
+ *
256
+ * The trace results component calls this function when its
257
+ * [arcgis-utility-network-trace-results.clearResults()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#clearResults) method is called or its
258
+ * [trace result](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#traceResult) changes.
259
+ *
260
+ * Cancel pending work, clear the item's stored trace result and rendered output, and undo other side effects here.
261
+ * Ensure canceled work cannot restore stale output or emit `arcgisResultReady`.
262
+ * It must be safe to call this function when the item is already clear.
263
+ *
264
+ * This function is synchronous and must not emit `arcgisResultReady`. It does not destroy the item or remove
265
+ * its context listeners; the item can be reused for subsequent trace results.
266
+ *
267
+ * @example
268
+ * This excerpt shows cleanup for the query example above. Abort the pending query, remove only the graphics
269
+ * created by this component, and clear any displayed error:
270
+ * ```ts
271
+ * import type Graphic from "@arcgis/core/Graphic.js";
272
+ * import type MapView from "@arcgis/core/views/MapView.js";
273
+ *
274
+ * class MyTraceResultItem extends HTMLElement {
275
+ * #controller?: AbortController;
276
+ * #view?: MapView;
277
+ * #graphics: Graphic[] = [];
278
+ *
279
+ * clearResult(): void {
280
+ * this.#controller?.abort();
281
+ * this.#controller = undefined;
282
+ * this.#view?.graphics.removeMany(this.#graphics);
283
+ * this.#view = undefined;
284
+ * this.#graphics = [];
285
+ * this.replaceChildren();
286
+ * }
287
+ * }
288
+ * ```
289
+ * @see [arcgis-utility-network-trace-results.clearResults()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#clearResults)
290
+ * @see [arcgis-utility-network-trace-results.traceResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#traceResult)
291
+ * @see [UtilityNetworkTraceResultItem](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/types#UtilityNetworkTraceResultItem-emitsArcgisResultReady)
292
+ */
30
293
  clearResult: () => void;
31
294
  }
@@ -14,7 +14,8 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
14
14
  * [UtilityNetwork](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/)
15
15
  * and provide its named trace configurations through
16
16
  * [traceConfigurations](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfigurations).
17
- * The component displays a title for a single configuration or a picker for multiple configurations.
17
+ * The component displays a title for a single configuration or a
18
+ * [combobox](https://developers.arcgis.com/calcite-design-system/components/combobox/) for multiple configurations.
18
19
  * Changing the list resets the selection to the first configuration backed by a
19
20
  * [UNTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/UNTraceConfiguration/).
20
21
  *
@@ -39,7 +40,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
39
40
  * ```javascript
40
41
  * const picker = document.createElement("arcgis-utility-network-trace-configuration-picker");
41
42
  * picker.utilityNetwork = utilityNetwork;
42
- * picker.traceConfigurations = namedTraceConfigurations;
43
+ * picker.traceConfigurations = utilityNetwork.sharedNamedTraceConfigurations;
43
44
  * document.body.append(picker);
44
45
  * ```
45
46
  * @since 5.2
@@ -94,7 +95,7 @@ export abstract class ArcgisUtilityNetworkTraceConfigurationPicker extends LitEl
94
95
  accessor error: string | undefined;
95
96
  /**
96
97
  * The heading above the
97
- * [traceConfigurations](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfigurations) selector.
98
+ * [traceConfigurations](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#traceConfigurations) combobox or title.
98
99
  * When not set, the component uses the localized trace configuration label.
99
100
  */
100
101
  accessor heading: string | undefined;
@@ -110,7 +111,7 @@ export abstract class ArcgisUtilityNetworkTraceConfigurationPicker extends LitEl
110
111
  /**
111
112
  * Indicates whether to hide the domain network, tier, and target tier names from
112
113
  * [selectedNamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#selectedNamedTraceConfiguration).
113
- * This does not hide the subnetwork name selector.
114
+ * This does not hide the subnetwork selection control.
114
115
  *
115
116
  * @default false
116
117
  */
@@ -186,11 +187,26 @@ export abstract class ArcgisUtilityNetworkTraceConfigurationPicker extends LitEl
186
187
  /**
187
188
  * The named trace configurations available for selection. Each configuration must contain a
188
189
  * [UNTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/UNTraceConfiguration/).
190
+ * Your application must set this property explicitly; the component does not derive the configurations
191
+ * from the utility network or map. For example, assign the loaded utility network's
192
+ * [sharedNamedTraceConfigurations](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/#sharedNamedTraceConfigurations).
193
+ *
189
194
  * Changing this array resets
190
195
  * [selectedNamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-configuration-picker/#selectedNamedTraceConfiguration)
191
196
  * to the first entry backed by a `UNTraceConfiguration`. An empty array displays an error.
192
197
  *
193
198
  * @required
199
+ * @example
200
+ * Provide configurations with a specific tag from an existing utility network.
201
+ * ```js
202
+ * const picker = document.querySelector("arcgis-utility-network-trace-configuration-picker");
203
+ * await Promise.all([picker.componentOnReady(), utilityNetwork.load()]);
204
+ *
205
+ * picker.utilityNetwork = utilityNetwork;
206
+ * picker.traceConfigurations = utilityNetwork.sharedNamedTraceConfigurations.filter(
207
+ * (configuration) => configuration.tags.includes("your-tag-name"),
208
+ * );
209
+ * ```
194
210
  */
195
211
  accessor traceConfigurations: NamedTraceConfiguration[];
196
212
  /**