@arcgis/map-components 6.0.0-next.26 → 6.0.0-next.28

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 (419) hide show
  1. package/dist/cdn/{Q2ZQOGM2.js → 25PLRKZK.js} +1 -1
  2. package/dist/cdn/27VBOPFN.js +2 -0
  3. package/dist/cdn/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
  4. package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.js} +1 -1
  5. package/dist/cdn/{6K4IASNK.js → 2JXK3AW7.js} +1 -1
  6. package/dist/cdn/2NMV3XLT.js +2 -0
  7. package/dist/cdn/2RTEHAVG.js +2 -0
  8. package/dist/cdn/{GZ6UBR6R.js → 3NUN6DK3.js} +1 -1
  9. package/dist/cdn/3P44HZ3K.js +2 -0
  10. package/dist/cdn/3RSMD7RR.js +2 -0
  11. package/dist/cdn/3XHI22WD.js +2 -0
  12. package/dist/cdn/{FMLDKHWP.js → 3Y6GBQLR.js} +1 -1
  13. package/dist/cdn/4CBB6BPG.js +2 -0
  14. package/dist/cdn/{EZHYSI6R.js → 4HCQOJIM.js} +1 -1
  15. package/dist/cdn/4ZAEHJPD.js +2 -0
  16. package/dist/cdn/5B22465P.js +2 -0
  17. package/dist/cdn/5OABHJND.js +2 -0
  18. package/dist/cdn/5XMKJYT6.js +2 -0
  19. package/dist/cdn/{4DPAOAMZ.js → 6NSO42OW.js} +1 -1
  20. package/dist/cdn/6TXZMHLZ.js +2 -0
  21. package/dist/cdn/6Y36YFPN.js +2 -0
  22. package/dist/cdn/7BU454HH.js +2 -0
  23. package/dist/cdn/{Y7IM3OFU.js → 7HBOZBSC.js} +1 -1
  24. package/dist/cdn/{2YXWKKNB.js → 7ID5HLPS.js} +1 -1
  25. package/dist/cdn/7RO6N4XQ.js +2 -0
  26. package/dist/cdn/AGXUHDNS.js +2 -0
  27. package/dist/cdn/ARLGT35P.js +2 -0
  28. package/dist/cdn/BBKQM2GF.js +2 -0
  29. package/dist/cdn/BZXGVKKW.js +2 -0
  30. package/dist/cdn/{VWUH2VUY.js → C53YBNQ4.js} +1 -1
  31. package/dist/cdn/{2UAH624K.js → C74S3MND.js} +1 -1
  32. package/dist/cdn/CNXH745H.js +2 -0
  33. package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.js} +1 -1
  34. package/dist/cdn/{FZGMIIBX.js → CPWIRCCP.js} +1 -1
  35. package/dist/cdn/D6UG734Y.js +2 -0
  36. package/dist/cdn/DF2MPD7N.js +2 -0
  37. package/dist/cdn/DGE5KKLM.js +2 -0
  38. package/dist/cdn/DU2IPXWR.js +2 -0
  39. package/dist/cdn/DXTK47ES.js +2 -0
  40. package/dist/cdn/DXXGERVD.js +2 -0
  41. package/dist/cdn/{FH6Q5A5L.js → ETD3FAGO.js} +1 -1
  42. package/dist/cdn/F2YSSNVY.js +2 -0
  43. package/dist/cdn/FUNBSU6V.js +2 -0
  44. package/dist/cdn/G6L4BDEL.js +2 -0
  45. package/dist/cdn/GBMEEEGZ.js +2 -0
  46. package/dist/cdn/HGEK42FO.js +2 -0
  47. package/dist/cdn/HSBDELT3.js +2 -0
  48. package/dist/cdn/HTYTZ7GK.js +2 -0
  49. package/dist/cdn/{7U2V3LDM.js → I5F7MVDT.js} +1 -1
  50. package/dist/cdn/IIX2OICP.js +2 -0
  51. package/dist/cdn/{2SQGIY7T.js → IUYW4QOS.js} +1 -1
  52. package/dist/cdn/{QQLN6RWA.js → IYMK2NGU.js} +1 -1
  53. package/dist/cdn/IZYFQNW2.js +2 -0
  54. package/dist/cdn/J4FR5WZG.js +2 -0
  55. package/dist/cdn/J4K4UZ37.js +2 -0
  56. package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
  57. package/dist/cdn/JNNI75UW.js +2 -0
  58. package/dist/cdn/JWHVCBA3.js +2 -0
  59. package/dist/cdn/KWIZ45T7.js +2 -0
  60. package/dist/cdn/{VW35MSDL.js → L3MJ5NAZ.js} +1 -1
  61. package/dist/cdn/LC2ZSIJY.js +2 -0
  62. package/dist/cdn/LFA3XEWF.js +2 -0
  63. package/dist/cdn/LNTE4FDB.js +2 -0
  64. package/dist/cdn/LXTP2MVM.js +2 -0
  65. package/dist/cdn/M4GAOTVS.js +2 -0
  66. package/dist/cdn/M7ENWEKN.js +2 -0
  67. package/dist/cdn/NEPTDMLE.js +2 -0
  68. package/dist/cdn/NQXXIEV2.js +2 -0
  69. package/dist/cdn/NRFCVOMM.js +2 -0
  70. package/dist/cdn/{NLG5U5ZN.js → NVPN3I72.js} +1 -1
  71. package/dist/cdn/O2LMVVKS.js +2 -0
  72. package/dist/cdn/{FGU7NUST.js → O6KVILZF.js} +1 -1
  73. package/dist/cdn/O7OKLWBW.js +2 -0
  74. package/dist/cdn/OKAGFDAM.js +2 -0
  75. package/dist/cdn/ORKCIBIY.js +2 -0
  76. package/dist/cdn/{WU4NDBMC.js → P5U37XIA.js} +1 -1
  77. package/dist/cdn/{55VX76T5.js → PD4ELTMF.js} +1 -1
  78. package/dist/cdn/PD7SLPIK.js +2 -0
  79. package/dist/cdn/PLDTM6JH.js +2 -0
  80. package/dist/cdn/PMXSSYFB.js +2 -0
  81. package/dist/cdn/PSTG4I4W.js +2 -0
  82. package/dist/cdn/PYCFYJ6M.js +2 -0
  83. package/dist/cdn/{Q2GYNZYQ.js → Q6A6EI6P.js} +1 -1
  84. package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
  85. package/dist/cdn/{NTT5IV4A.js → QVD4YHTQ.js} +1 -1
  86. package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
  87. package/dist/cdn/R6X3R7P2.js +2 -0
  88. package/dist/cdn/RAADOJWX.js +2 -0
  89. package/dist/cdn/RVXA65TI.js +2 -0
  90. package/dist/cdn/SI6RI664.js +2 -0
  91. package/dist/cdn/{7EKBNXGL.js → SOIBQ3FH.js} +1 -1
  92. package/dist/cdn/SOLTOPI3.js +2 -0
  93. package/dist/cdn/SSB4SQXA.js +2 -0
  94. package/dist/cdn/{YTZZRJ7Z.js → T4DVKA6R.js} +1 -1
  95. package/dist/cdn/TEDWUEQ4.js +2 -0
  96. package/dist/cdn/TEPHXOQ2.js +2 -0
  97. package/dist/cdn/TI7UH6FZ.js +2 -0
  98. package/dist/cdn/TLAJ3GMX.js +2 -0
  99. package/dist/cdn/ULOXCWFO.js +2 -0
  100. package/dist/cdn/UTJTCZCF.js +2 -0
  101. package/dist/cdn/UXMKSIYL.js +2 -0
  102. package/dist/cdn/UYJB3OR4.js +2 -0
  103. package/dist/cdn/UZ4VANCL.js +2 -0
  104. package/dist/cdn/VHLDFKDS.js +2 -0
  105. package/dist/cdn/VPREN7P6.js +2 -0
  106. package/dist/cdn/VTDB4D2K.js +2 -0
  107. package/dist/cdn/{UJURQACP.js → VXPGE37T.js} +1 -1
  108. package/dist/cdn/{SJGWHUCR.js → VXXXOGU7.js} +1 -1
  109. package/dist/cdn/W73JDM22.js +2 -0
  110. package/dist/cdn/{RFO3M46K.js → WEMTOBBB.js} +1 -1
  111. package/dist/cdn/WGLTX4YP.js +2 -0
  112. package/dist/cdn/WKRW6DI5.js +2 -0
  113. package/dist/cdn/WPXCX7TX.js +2 -0
  114. package/dist/cdn/WYYUFJHO.js +2 -0
  115. package/dist/cdn/X2M3ZYHO.js +2 -0
  116. package/dist/cdn/XCDMOCWN.js +2 -0
  117. package/dist/cdn/XLYOZSWI.js +2 -0
  118. package/dist/cdn/XQBN6SO5.js +2 -0
  119. package/dist/cdn/{GKNGEZCO.js → XVZ74ZME.js} +1 -1
  120. package/dist/cdn/YBTMO6HU.js +2 -0
  121. package/dist/cdn/YFX2STSS.js +2 -0
  122. package/dist/cdn/{2Z36ICJZ.js → YME6EWHF.js} +1 -1
  123. package/dist/cdn/{62OAO327.js → Z42YLJMZ.js} +1 -1
  124. package/dist/cdn/{AKGUTL2V.js → Z46QEYSO.js} +1 -1
  125. package/dist/cdn/Z6ZEF6NC.js +2 -0
  126. package/dist/cdn/ZAW644CF.js +2 -0
  127. package/dist/cdn/ZCI6T4IU.js +2 -0
  128. package/dist/cdn/{XKGD4N75.js → ZEQHIKTN.js} +1 -1
  129. package/dist/cdn/ZMP3REWL.js +2 -0
  130. package/dist/cdn/ZP2VJX3N.js +2 -0
  131. package/dist/cdn/index.js +1 -1
  132. package/dist/chunks/esri-main.js +1 -1
  133. package/dist/chunks/layer-list-next.js +1 -1
  134. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  135. package/dist/chunks/screenLocation.js +10 -10
  136. package/dist/chunks/slots.js +6 -6
  137. package/dist/chunks/useArcgisViewReadyError.js +46 -46
  138. package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
  139. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
  140. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  141. package/dist/components/arcgis-attachments/customElement.js +3 -3
  142. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  143. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  144. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
  145. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +15 -15
  146. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  147. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  148. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  149. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  150. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  151. package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
  152. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  153. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  154. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
  155. package/dist/components/arcgis-compass/customElement.js +1 -1
  156. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  157. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +9 -9
  158. package/dist/components/arcgis-daylight/customElement.d.ts +4 -4
  159. package/dist/components/arcgis-daylight/customElement.js +1 -1
  160. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
  161. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  162. package/dist/components/arcgis-directional-pad/customElement.js +53 -58
  163. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  164. package/dist/components/arcgis-directions/customElement.js +4 -4
  165. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  166. package/dist/components/arcgis-editor/customElement.d.ts +19 -2
  167. package/dist/components/arcgis-editor/customElement.js +7 -7
  168. package/dist/components/arcgis-elevation-profile/customElement.js +10 -10
  169. package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
  170. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  171. package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
  172. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
  173. package/dist/components/arcgis-expand/customElement.d.ts +49 -2
  174. package/dist/components/arcgis-expand/customElement.js +47 -47
  175. package/dist/components/arcgis-exploratory-analysis/customElement.js +7 -7
  176. package/dist/components/arcgis-feature/customElement.js +1 -1
  177. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  178. package/dist/components/arcgis-feature-content/customElement.js +4 -4
  179. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  180. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  181. package/dist/components/arcgis-feature-fields/customElement.js +17 -17
  182. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  183. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  184. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
  185. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  186. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  187. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  188. package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
  189. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  190. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  191. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  192. package/dist/components/arcgis-features/customElement.d.ts +5 -5
  193. package/dist/components/arcgis-features/customElement.js +8 -8
  194. package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
  195. package/dist/components/arcgis-features-next/customElement.js +28 -27
  196. package/dist/components/arcgis-floor-filter/customElement.js +38 -38
  197. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  198. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  199. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  200. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  201. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  202. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  203. package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
  204. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  205. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  206. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  207. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  208. package/dist/components/arcgis-link-chart/customElement.d.ts +14 -6
  209. package/dist/components/arcgis-map/customElement.d.ts +21 -17
  210. package/dist/components/arcgis-measurement-content/customElement.js +9 -9
  211. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  212. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  213. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  214. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  215. package/dist/components/arcgis-paste/customElement.js +1 -1
  216. package/dist/components/arcgis-popup/customElement.d.ts +8 -7
  217. package/dist/components/arcgis-popup/customElement.js +1 -1
  218. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  219. package/dist/components/arcgis-presentation/customElement.js +1 -1
  220. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  221. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  222. package/dist/components/arcgis-print/customElement.js +1 -1
  223. package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
  224. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  225. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  226. package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
  227. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  228. package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
  229. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  230. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  231. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  232. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  233. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  234. package/dist/components/arcgis-scene/customElement.d.ts +42 -13
  235. package/dist/components/arcgis-search/customElement.d.ts +4 -4
  236. package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
  237. package/dist/components/arcgis-selection-list/customElement.js +9 -9
  238. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +14 -6
  239. package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
  240. package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
  241. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  242. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  243. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  244. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
  245. package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
  246. package/dist/components/arcgis-sketch/customElement.js +144 -142
  247. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  248. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  249. package/dist/components/arcgis-slice/customElement.js +16 -16
  250. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  251. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
  252. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  253. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  254. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  255. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  256. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  257. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  258. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  259. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
  260. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  261. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  262. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  263. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
  264. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
  265. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  266. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  267. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  268. package/dist/components/arcgis-spinner/customElement.js +1 -1
  269. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  270. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  271. package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
  272. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
  273. package/dist/components/arcgis-time-bar-slider/customElement.js +17 -17
  274. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
  275. package/dist/components/arcgis-time-slider/customElement.js +4 -4
  276. package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
  277. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  278. package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
  279. package/dist/components/arcgis-track/customElement.d.ts +4 -4
  280. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  281. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  282. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  283. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  284. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
  285. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  286. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  287. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +5 -4
  288. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +26 -22
  289. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -7
  290. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +10 -10
  291. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  292. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +1 -1
  293. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
  294. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +5 -4
  295. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +50 -46
  296. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +1 -1
  297. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +10 -9
  298. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
  299. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
  300. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -4
  301. package/dist/components/arcgis-utility-network-trace-results/customElement.js +13 -13
  302. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +0 -2
  303. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  304. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  305. package/dist/components/arcgis-version-management/customElement.js +1 -1
  306. package/dist/components/arcgis-video/customElement.d.ts +9 -1
  307. package/dist/components/arcgis-video-player/customElement.js +6 -6
  308. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  309. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  310. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  311. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  312. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  313. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  314. package/dist/components/arcgis-weather/customElement.js +1 -1
  315. package/dist/components/slider-legacy/types.d.ts +2 -3
  316. package/dist/docs/api.json +1 -1
  317. package/dist/docs/docs.json +1 -1
  318. package/dist/docs/vscode.css-custom-data.json +1 -1
  319. package/dist/docs/vscode.html-custom-data.json +1 -1
  320. package/dist/docs/web-types.json +1 -1
  321. package/dist/loader.js +2 -2
  322. package/dist/types/lumina.d.ts +2 -2
  323. package/dist/types/preact.d.ts +2 -2
  324. package/dist/types/react.d.ts +2 -2
  325. package/dist/types/stencil.d.ts +2 -2
  326. package/package.json +7 -7
  327. package/dist/cdn/22RLIDCP.js +0 -2
  328. package/dist/cdn/2PLAZVGP.js +0 -2
  329. package/dist/cdn/2RQGZLOJ.js +0 -2
  330. package/dist/cdn/2S6RQ6Q4.js +0 -2
  331. package/dist/cdn/3EXEL7AM.js +0 -2
  332. package/dist/cdn/3W7KESW7.js +0 -2
  333. package/dist/cdn/4N4XDCDQ.js +0 -2
  334. package/dist/cdn/4NG7CALI.js +0 -2
  335. package/dist/cdn/4PDZTEB2.js +0 -2
  336. package/dist/cdn/5DEJDR4W.js +0 -2
  337. package/dist/cdn/5PPYHS6V.js +0 -2
  338. package/dist/cdn/5V6BNJ5O.js +0 -2
  339. package/dist/cdn/5V6K43GW.js +0 -2
  340. package/dist/cdn/66GRDX36.js +0 -2
  341. package/dist/cdn/6DRXFSTW.js +0 -2
  342. package/dist/cdn/6G5QADEG.js +0 -2
  343. package/dist/cdn/6GE2WBKV.js +0 -2
  344. package/dist/cdn/6QWLMG5M.js +0 -2
  345. package/dist/cdn/6T4BDMND.js +0 -2
  346. package/dist/cdn/6VV5SX76.js +0 -2
  347. package/dist/cdn/74PUSJU5.js +0 -2
  348. package/dist/cdn/7JK4JGPG.js +0 -2
  349. package/dist/cdn/APFZ2FVO.js +0 -2
  350. package/dist/cdn/BJI5DVB5.js +0 -2
  351. package/dist/cdn/BM3FQ4OG.js +0 -2
  352. package/dist/cdn/CGE6E3O3.js +0 -2
  353. package/dist/cdn/CVLOQWUD.js +0 -2
  354. package/dist/cdn/CXXBV6RJ.js +0 -2
  355. package/dist/cdn/DEW5IWND.js +0 -2
  356. package/dist/cdn/E5CGORXN.js +0 -2
  357. package/dist/cdn/E5X5BYWA.js +0 -2
  358. package/dist/cdn/EB4V6SPF.js +0 -2
  359. package/dist/cdn/ECUVJOIW.js +0 -2
  360. package/dist/cdn/G2ACNJGG.js +0 -2
  361. package/dist/cdn/GIQT67VT.js +0 -2
  362. package/dist/cdn/H66E4VOY.js +0 -2
  363. package/dist/cdn/HADZXZIE.js +0 -2
  364. package/dist/cdn/HL6WL2YA.js +0 -2
  365. package/dist/cdn/HTCPPGCR.js +0 -2
  366. package/dist/cdn/HTONXZBP.js +0 -2
  367. package/dist/cdn/HUWIY53T.js +0 -2
  368. package/dist/cdn/IOUO7KBT.js +0 -2
  369. package/dist/cdn/JRO4IBJP.js +0 -2
  370. package/dist/cdn/JUOOKKZJ.js +0 -2
  371. package/dist/cdn/KE2ER3F7.js +0 -2
  372. package/dist/cdn/KIHYSYOL.js +0 -2
  373. package/dist/cdn/L4WLEN3C.js +0 -2
  374. package/dist/cdn/LHYI2QBZ.js +0 -2
  375. package/dist/cdn/LILX2DJE.js +0 -2
  376. package/dist/cdn/MDS3NVWM.js +0 -2
  377. package/dist/cdn/MW27GSDX.js +0 -2
  378. package/dist/cdn/NZQLQGTQ.js +0 -2
  379. package/dist/cdn/O46PVNMT.js +0 -2
  380. package/dist/cdn/ONYCZO7Y.js +0 -2
  381. package/dist/cdn/ORVSAF3Z.js +0 -2
  382. package/dist/cdn/OZF64H7N.js +0 -2
  383. package/dist/cdn/P65FMRMP.js +0 -2
  384. package/dist/cdn/PPGKQRNY.js +0 -2
  385. package/dist/cdn/PRUHLC54.js +0 -2
  386. package/dist/cdn/PW3QCZXY.js +0 -2
  387. package/dist/cdn/PXDX3LCI.js +0 -2
  388. package/dist/cdn/QET5SVDO.js +0 -2
  389. package/dist/cdn/QUPDTNAC.js +0 -2
  390. package/dist/cdn/R6ARQKAY.js +0 -2
  391. package/dist/cdn/RBRDUDEY.js +0 -2
  392. package/dist/cdn/RQPOCDJS.js +0 -2
  393. package/dist/cdn/RT53VCER.js +0 -2
  394. package/dist/cdn/T3MDSQ3T.js +0 -2
  395. package/dist/cdn/TKD5T5DW.js +0 -2
  396. package/dist/cdn/TTERKXN5.js +0 -2
  397. package/dist/cdn/UB6BQW3G.js +0 -2
  398. package/dist/cdn/UFDB6U6V.js +0 -2
  399. package/dist/cdn/UKIVMO7H.js +0 -2
  400. package/dist/cdn/UR3Z5YHW.js +0 -2
  401. package/dist/cdn/VM5QVCMC.js +0 -2
  402. package/dist/cdn/VPDDFGYQ.js +0 -2
  403. package/dist/cdn/W4GNRGIN.js +0 -2
  404. package/dist/cdn/WG5PHRPT.js +0 -2
  405. package/dist/cdn/WW7YOPDY.js +0 -2
  406. package/dist/cdn/XN3MG6YU.js +0 -2
  407. package/dist/cdn/XWBR6FXI.js +0 -2
  408. package/dist/cdn/Y5ZZCA3R.js +0 -2
  409. package/dist/cdn/Y6NC7ML3.js +0 -2
  410. package/dist/cdn/Y7XSHXVA.js +0 -2
  411. package/dist/cdn/YBSEIOQX.js +0 -2
  412. package/dist/cdn/YC7VLNKI.js +0 -2
  413. package/dist/cdn/YITBBUPR.js +0 -2
  414. package/dist/cdn/YJROHURO.js +0 -2
  415. package/dist/cdn/YXIJXXTK.js +0 -2
  416. package/dist/cdn/Z3674FMT.js +0 -2
  417. package/dist/cdn/Z6NHKWWS.js +0 -2
  418. package/dist/cdn/ZKKZQVJT.js +0 -2
  419. /package/dist/cdn/{ROHGHCK6.js → WFTJ4E4F.js} +0 -0
@@ -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
  }
@@ -39,7 +39,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
39
39
  * ```javascript
40
40
  * const picker = document.createElement("arcgis-utility-network-trace-configuration-picker");
41
41
  * picker.utilityNetwork = utilityNetwork;
42
- * picker.traceConfigurations = namedTraceConfigurations;
42
+ * picker.traceConfigurations = utilityNetwork.sharedNamedTraceConfigurations;
43
43
  * document.body.append(picker);
44
44
  * ```
45
45
  * @since 5.2
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as d } from "../../chunks/runtime.js";
2
+ import { c as m } from "../../chunks/runtime.js";
3
3
  import c from "@arcgis/core/networks/support/UNTraceConfiguration.js";
4
- import { LitElement as m, createEvent as h } from "@arcgis/lumina";
4
+ import { LitElement as d, createEvent as h } from "@arcgis/lumina";
5
5
  import { u as b } from "../../chunks/useT9n.js";
6
6
  import { css as g, html as r } from "lit";
7
7
  import { log as l } from "@arcgis/toolkit/log";
8
8
  import { usePropertyChange as f } from "@arcgis/lumina/controllers";
9
9
  import { q as k } from "../../chunks/layer-utils.js";
10
- const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block>:last-child{margin-bottom:0}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`, C = 20, p = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]);
11
- class N extends m {
10
+ const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md)}calcite-block>:is(calcite-combobox,calcite-input,calcite-notice):not(:last-child){margin-bottom:var(--calcite-space-md)}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`, p = 20, C = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]);
11
+ class N extends d {
12
12
  constructor() {
13
13
  super(...arguments), this._messages = b({ blocking: !0 }), this._subnetworkNamesState = "ready", this._compatibleSubnetworkNames = [], this.traceConfigurations = [], this.hideSubnetworkInfo = !1, this.hideErrors = !1, this.state = "ready", this.arcgisPropertyChange = f()("selectedNamedTraceConfiguration", "traceConfiguration"), this.arcgisError = h();
14
14
  }
@@ -29,12 +29,12 @@ class N extends m {
29
29
  return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
30
30
  }
31
31
  willUpdate(e) {
32
- e.has("traceConfigurations") && this.#m(), e.has("selectedNamedTraceConfiguration") && this.#o(), e.has("utilityNetwork") && this.#d();
32
+ e.has("traceConfigurations") && this.#m(), e.has("selectedNamedTraceConfiguration") && this.#o(), e.has("utilityNetwork") && this.#u();
33
33
  }
34
34
  async #o() {
35
- const { selectedNamedTraceConfiguration: e, _messages: t } = this;
36
- if (!(e?.traceConfiguration instanceof c)) {
37
- this.#t(t.errors.noTraceConfiguration), this.traceConfiguration = void 0, this.arcgisPropertyChange.emit({ name: "traceConfiguration" });
35
+ const { selectedNamedTraceConfiguration: e } = this;
36
+ if (!e || !(e.traceConfiguration instanceof c)) {
37
+ this.#t(e ? this._messages.errors.noTraceConfiguration : this._messages.errors.traceConfigurationNotFound), this.traceConfiguration = void 0, this.arcgisPropertyChange.emit({ name: "traceConfiguration" });
38
38
  return;
39
39
  }
40
40
  this.#i(), this.traceConfiguration = e.traceConfiguration.clone(), this.arcgisPropertyChange.emit({ name: "selectedNamedTraceConfiguration" }), this.arcgisPropertyChange.emit({ name: "traceConfiguration" }), this.isSubnetworkNameTraceSelected && (this._subnetworkNamesState = "loading", this.state = "loading", await this.#s(this.traceConfiguration), this._subnetworkNamesState = "ready", this.state = "ready");
@@ -58,19 +58,11 @@ class N extends m {
58
58
  const e = this.traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
59
59
  return [t, i].join(" AND ");
60
60
  }
61
- #u(e) {
62
- const t = this.traceConfigurations.find((i) => i.globalId === e);
63
- if (!t) {
64
- this.#t(this._messages.errors.traceConfigurationNotFound), this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0;
65
- return;
66
- }
67
- this.#i(), this.selectedNamedTraceConfiguration = t;
68
- }
69
- #d() {
61
+ #u() {
70
62
  this.#e = void 0, this._subnetworksTable = void 0, this._compatibleSubnetworkNames = [];
71
63
  }
72
64
  #m() {
73
- this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations.length ? (this.#i(), this.selectedNamedTraceConfiguration = this.traceConfigurations.find((e) => e.traceConfiguration instanceof c), this.#o()) : this.#t(this._messages.errors.noTraceConfigurations);
65
+ this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations.length ? (this.#i(), this.selectedNamedTraceConfiguration = this.traceConfigurations.find((e) => e.traceConfiguration instanceof c) ?? this.traceConfigurations.at(0)) : this.#t(this._messages.errors.noTraceConfigurations);
74
66
  }
75
67
  #t(e) {
76
68
  l("error", this, e), this.error = e, this.state = "error", this.arcgisError.emit();
@@ -84,25 +76,25 @@ class N extends m {
84
76
  #r(e, t = !1, i = "exclamation-mark-triangle") {
85
77
  return this.hideErrors ? null : r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
86
78
  }
87
- #h() {
88
- const { selectedNamedTraceConfiguration: e } = this;
89
- return r`<calcite-label>${e?.title}</calcite-label>`;
79
+ #d() {
80
+ const e = this.selectedNamedTraceConfiguration?.title;
81
+ return e ? r`<calcite-label>${e}</calcite-label>` : null;
90
82
  }
91
- #b() {
83
+ #h() {
92
84
  const e = this.traceConfigurations.map((i) => r`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId === this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`), t = this._messages.labels.traceConfiguration;
93
85
  return r`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
94
86
  const a = i.selectedItems[0]?.value;
95
- this.#u(a);
87
+ this.selectedNamedTraceConfiguration = this.traceConfigurations.find((o) => o.globalId === a);
96
88
  }}>${e}</calcite-combobox>`;
97
89
  }
98
- #g() {
90
+ #b() {
99
91
  const { _messages: e } = this;
100
92
  if (this.error === e.errors.noTraceConfigurations)
101
93
  return this.#r(e.errors.noTraceConfigurations);
102
- const t = this.error ? this.#r(this.error) : null, i = this.traceConfigurations.length > 1 ? this.#b() : this.#h(), a = this._messages.labels.traceConfiguration, o = this.heading ?? a;
94
+ const t = this.error ? this.#r(this.error) : null, i = this.traceConfigurations.length > 1 ? this.#h() : this.#d(), a = this._messages.labels.traceConfiguration, o = this.heading ?? a;
103
95
  return r`<calcite-block .heading=${o} .label=${a} expanded>${i}${t}</calcite-block>`;
104
96
  }
105
- #f() {
97
+ #g() {
106
98
  if (this.hideSubnetworkInfo)
107
99
  return null;
108
100
  const { _messages: e, selectedNamedTraceConfiguration: t } = this;
@@ -112,26 +104,26 @@ class N extends m {
112
104
  const { domainNetworkName: i, tierName: a, targetTierName: o } = t.traceConfiguration;
113
105
  return !i && !a && !o ? (l("warn", this, "`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."), null) : r`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><div class="subnetwork-details">${i ? this.#a(e.headings.domainNetwork, i) : null}${a ? this.#a(e.headings.tier, a) : null}${o ? this.#a(e.headings.targetTier, o) : null}</div></calcite-block>`;
114
106
  }
115
- #k() {
107
+ #f() {
116
108
  const { _messages: e } = this, t = e.labels.subnetworkName;
117
- return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > C ? this.#w() : this.#C()}</calcite-block>` : this.#r(e.errors.noCompatibleSubnetworks) : null;
109
+ return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > p ? this.#k() : this.#w()}</calcite-block>` : this.#r(e.errors.noCompatibleSubnetworks) : null;
118
110
  }
119
- #w() {
111
+ #k() {
120
112
  const { _messages: e } = this;
121
113
  return r`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e ? "valid" : "invalid"} .value=${this.#e} @calciteInputInput=${(t) => this.#e = t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`;
122
114
  }
123
- #C() {
115
+ #w() {
124
116
  return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: e }) => {
125
117
  const t = e.selectedItems[0]?.value;
126
118
  this.#e = t;
127
119
  }}>${this._compatibleSubnetworkNames.map((e) => r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e === this.#e}></calcite-combobox-item>`)}</calcite-combobox>`;
128
120
  }
129
121
  render() {
130
- const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType && p.has(e.traceType) ? r`${this.#f()}${this.#k()}` : null;
131
- return r`${this.#g()}${i}`;
122
+ const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType && C.has(e.traceType) ? r`${this.#g()}${this.#f()}` : null;
123
+ return r`${this.#b()}${i}`;
132
124
  }
133
125
  }
134
- d("arcgis-utility-network-trace-configuration-picker", N);
126
+ m("arcgis-utility-network-trace-configuration-picker", N);
135
127
  export {
136
128
  N as ArcgisUtilityNetworkTraceConfigurationPicker
137
129
  };
@@ -258,11 +258,12 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
258
258
  get view(): MapView | undefined;
259
259
  /**
260
260
  * Cancels feature queries in progress, removes trace-element highlights from the map,
261
- * clears [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#features), closes the features list,
262
- * and resets [state](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#state) to `"ready"`.
261
+ * clears [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#features),
262
+ * and [traceResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#traceResult),
263
+ * closes the features list, and resets
264
+ * [state](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#state) to `"ready"`.
263
265
  *
264
- * Does not clear the parent-provided [traceResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#traceResult)
265
- * or emit [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#event-arcgisResultReady).
266
+ * Does not emit [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#event-arcgisResultReady).
266
267
  */
267
268
  clearResult(): void;
268
269
  /** Permanently destroy the component. */