@arcgis/map-components 5.2.0-next.120 → 5.2.0-next.122

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 (316) hide show
  1. package/dist/cdn/33C5FBRZ.js +2 -0
  2. package/dist/cdn/{JD46SR26.js → 34E7N7GU.js} +1 -1
  3. package/dist/cdn/{IR2RGKT4.js → 3E36QFXG.js} +2 -2
  4. package/dist/cdn/3FRV7BIJ.js +2 -0
  5. package/dist/cdn/{Z4FIADPO.js → 3TR7QOHP.js} +1 -1
  6. package/dist/cdn/464EB67Q.js +2 -0
  7. package/dist/cdn/{W5B2F2LI.js → 4DENNWA5.js} +1 -1
  8. package/dist/cdn/{POEFPML6.js → 55AZTWOF.js} +1 -1
  9. package/dist/cdn/{2DDAZ3QO.js → 56PUZWIU.js} +1 -1
  10. package/dist/cdn/{YZUEPMQZ.js → 5IFQI7ML.js} +1 -1
  11. package/dist/cdn/{JMWMN4DG.js → 5SLLYIWJ.js} +1 -1
  12. package/dist/cdn/{7QH5PIWM.js → 6EQW3YHG.js} +1 -1
  13. package/dist/cdn/{U35IJFNU.js → 6VR7MKOM.js} +1 -1
  14. package/dist/cdn/6XJFRQ75.js +2 -0
  15. package/dist/cdn/7WBDTHNZ.js +2 -0
  16. package/dist/cdn/{RRC7AD75.js → AXFCL6D2.js} +1 -1
  17. package/dist/cdn/{LBVSFCZG.js → B4QA6HTE.js} +1 -1
  18. package/dist/cdn/BAV6JF4F.js +2 -0
  19. package/dist/cdn/{HNMWTX7W.js → BEZWJEYM.js} +1 -1
  20. package/dist/cdn/{LCNYVSCF.js → BTQUD5J4.js} +1 -1
  21. package/dist/cdn/CCFGYVBQ.js +2 -0
  22. package/dist/cdn/{FAN45DMA.js → CNYKQYK2.js} +1 -1
  23. package/dist/cdn/DOR5MVML.js +2 -0
  24. package/dist/cdn/E4JAHCCG.js +2 -0
  25. package/dist/cdn/{JD562WMM.js → EDMWGUZ2.js} +1 -1
  26. package/dist/cdn/{JKZMOIRA.js → EEHSPW4M.js} +1 -1
  27. package/dist/cdn/{GN4BH6SY.js → EMJLCAFX.js} +1 -1
  28. package/dist/cdn/{FAFDJABP.js → ESAIFZ6N.js} +1 -1
  29. package/dist/cdn/{2L6YCWXJ.js → EUV2XFUO.js} +1 -1
  30. package/dist/cdn/{GPIHHNP7.js → F46CTQWP.js} +1 -1
  31. package/dist/cdn/F5LP5CU2.js +2 -0
  32. package/dist/cdn/FKCRBOFP.js +2 -0
  33. package/dist/cdn/G3KYGRHM.js +2 -0
  34. package/dist/cdn/{3VGRIUOZ.js → G4HKU5PR.js} +1 -1
  35. package/dist/cdn/{Y5Q3Q4GW.js → GIOUZTHM.js} +1 -1
  36. package/dist/cdn/{4DWURRQB.js → GLH5GJZC.js} +1 -1
  37. package/dist/cdn/{BFGF2JTH.js → GLOUXFQV.js} +1 -1
  38. package/dist/cdn/{3VBI4PPT.js → H3CCHIXN.js} +1 -1
  39. package/dist/cdn/{W5O3OCTG.js → H5FV4C72.js} +1 -1
  40. package/dist/cdn/{ACIG6774.js → HH5GEJCC.js} +1 -1
  41. package/dist/cdn/{P2X5UYZB.js → I2IBXGQM.js} +1 -1
  42. package/dist/cdn/{VFSWB7LJ.js → IWOKTFPQ.js} +1 -1
  43. package/dist/cdn/{XO3NPMHQ.js → J4BQSA3J.js} +1 -1
  44. package/dist/cdn/{Z3JADSL3.js → J4TWDZII.js} +1 -1
  45. package/dist/cdn/{23KFFLAG.js → JBGNMAZ7.js} +1 -1
  46. package/dist/cdn/{3OQZ3SMG.js → JSYLRK26.js} +1 -1
  47. package/dist/cdn/{5FBX5V2M.js → KHHVCV55.js} +1 -1
  48. package/dist/cdn/{ZSQCIUGN.js → KIHX5LRN.js} +1 -1
  49. package/dist/cdn/{LBJMKYT2.js → KM2GXXBO.js} +1 -1
  50. package/dist/cdn/{F5EC22X4.js → KRYDKCJG.js} +1 -1
  51. package/dist/cdn/{46ZZWK6X.js → KY3ND2AY.js} +1 -1
  52. package/dist/cdn/KYWVUIH5.js +2 -0
  53. package/dist/cdn/{UJVNCEXT.js → LAY2RKKS.js} +1 -1
  54. package/dist/cdn/{REDWVTQJ.js → LP2PF2VT.js} +1 -1
  55. package/dist/cdn/LV5KLLVW.js +2 -0
  56. package/dist/cdn/{4IB44LRA.js → LWW6FUI2.js} +1 -1
  57. package/dist/cdn/{B6JX5OWP.js → M3EXGLNJ.js} +1 -1
  58. package/dist/cdn/{TOBWMRET.js → M3EZM5X5.js} +1 -1
  59. package/dist/cdn/{LH33ZRF7.js → MFBQRTJ3.js} +1 -1
  60. package/dist/cdn/{5RBUI62E.js → MLJ5RYY3.js} +1 -1
  61. package/dist/cdn/{2JMMBI2U.js → MV2EKVMR.js} +1 -1
  62. package/dist/cdn/{WWGWIJMC.js → NZSCPBS7.js} +1 -1
  63. package/dist/cdn/{PQTX5YLB.js → OKW62U6T.js} +1 -1
  64. package/dist/cdn/{3EYHGXI5.js → PLTLRYBF.js} +1 -1
  65. package/dist/cdn/PR6OAZWA.js +2 -0
  66. package/dist/cdn/{UNP7N3DO.js → PUYZDQHZ.js} +1 -1
  67. package/dist/cdn/{KKDZFKGV.js → PYP3U5W5.js} +1 -1
  68. package/dist/cdn/{OMZESNEM.js → Q4AJYCNY.js} +1 -1
  69. package/dist/cdn/{HGYJFGKA.js → QGFWUN5S.js} +1 -1
  70. package/dist/cdn/{X7KSMNND.js → QIEX43LK.js} +1 -1
  71. package/dist/cdn/{HH4T6PVP.js → QMQV37ML.js} +1 -1
  72. package/dist/cdn/QXVHT3RD.js +5 -0
  73. package/dist/cdn/{MZZGKPLV.js → R7E5VLXC.js} +1 -1
  74. package/dist/cdn/{CWQN57H6.js → RJSFDOIW.js} +1 -1
  75. package/dist/cdn/{TNY5ERJS.js → RKAZH2LM.js} +1 -1
  76. package/dist/cdn/{5IQQ6P2J.js → RU7PGLLB.js} +1 -1
  77. package/dist/cdn/{4W6PAHFY.js → S62FQUEJ.js} +1 -1
  78. package/dist/cdn/S7T2NPCW.js +2 -0
  79. package/dist/cdn/{NK74ZCP7.js → SXQRPAPL.js} +1 -1
  80. package/dist/cdn/{2KN3VFRG.js → TH6TT77M.js} +1 -1
  81. package/dist/cdn/{MU54WQG6.js → TILA2OKK.js} +1 -1
  82. package/dist/cdn/TJDMX7ZL.js +2 -0
  83. package/dist/cdn/TMJX7DFH.js +2 -0
  84. package/dist/cdn/{6XZKWBWD.js → TVZZB4KV.js} +1 -1
  85. package/dist/cdn/TZHXSIXK.js +2 -0
  86. package/dist/cdn/{SEMVPT7E.js → UJUD6U2G.js} +1 -1
  87. package/dist/cdn/US6PRR7S.js +2 -0
  88. package/dist/cdn/{TL7OKFLN.js → V7BQUMJL.js} +1 -1
  89. package/dist/cdn/VSH4WLRS.js +2 -0
  90. package/dist/cdn/{Q6MJXAPZ.js → WNLOSRMS.js} +1 -1
  91. package/dist/cdn/X6EQMX6U.js +2 -0
  92. package/dist/cdn/{6SKPV2U5.js → XGZ36AOT.js} +1 -1
  93. package/dist/cdn/{D3F6S7NU.js → XQKZNHH7.js} +1 -1
  94. package/dist/cdn/{CONE7FEI.js → YG4HDEP3.js} +1 -1
  95. package/dist/cdn/{NEQHSO5U.js → YRZRKOE3.js} +1 -1
  96. package/dist/cdn/YZ55QJUM.js +2 -0
  97. package/dist/cdn/{EZVWEV6T.js → ZSVZL6PT.js} +1 -1
  98. package/dist/cdn/ZUAZUUTW.js +2 -0
  99. package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -1
  100. package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -1
  101. package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -1
  102. package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -1
  103. package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -1
  104. package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -1
  105. package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -1
  106. package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
  107. package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -1
  108. package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -1
  109. package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -1
  110. package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -1
  111. package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -1
  112. package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -1
  113. package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -1
  114. package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -1
  115. package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -1
  116. package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -1
  117. package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -1
  118. package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -1
  119. package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -1
  120. package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -1
  121. package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -1
  122. package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -1
  123. package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -1
  124. package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -1
  125. package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -1
  126. package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -1
  127. package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -1
  128. package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -1
  129. package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -1
  130. package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -1
  131. package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -1
  132. package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -1
  133. package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -1
  134. package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -1
  135. package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -1
  136. package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -1
  137. package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -1
  138. package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -1
  139. package/dist/cdn/assets/sketch/t9n/messages.ar.json +1 -1
  140. package/dist/cdn/assets/sketch/t9n/messages.bg.json +1 -1
  141. package/dist/cdn/assets/sketch/t9n/messages.bs.json +1 -1
  142. package/dist/cdn/assets/sketch/t9n/messages.ca.json +1 -1
  143. package/dist/cdn/assets/sketch/t9n/messages.cs.json +1 -1
  144. package/dist/cdn/assets/sketch/t9n/messages.da.json +1 -1
  145. package/dist/cdn/assets/sketch/t9n/messages.de.json +1 -1
  146. package/dist/cdn/assets/sketch/t9n/messages.el.json +1 -1
  147. package/dist/cdn/assets/sketch/t9n/messages.es.json +1 -1
  148. package/dist/cdn/assets/sketch/t9n/messages.et.json +1 -1
  149. package/dist/cdn/assets/sketch/t9n/messages.fi.json +1 -1
  150. package/dist/cdn/assets/sketch/t9n/messages.fr.json +1 -1
  151. package/dist/cdn/assets/sketch/t9n/messages.he.json +1 -1
  152. package/dist/cdn/assets/sketch/t9n/messages.hr.json +1 -1
  153. package/dist/cdn/assets/sketch/t9n/messages.hu.json +1 -1
  154. package/dist/cdn/assets/sketch/t9n/messages.id.json +1 -1
  155. package/dist/cdn/assets/sketch/t9n/messages.it.json +1 -1
  156. package/dist/cdn/assets/sketch/t9n/messages.ja.json +1 -1
  157. package/dist/cdn/assets/sketch/t9n/messages.ko.json +1 -1
  158. package/dist/cdn/assets/sketch/t9n/messages.lt.json +1 -1
  159. package/dist/cdn/assets/sketch/t9n/messages.lv.json +1 -1
  160. package/dist/cdn/assets/sketch/t9n/messages.nl.json +1 -1
  161. package/dist/cdn/assets/sketch/t9n/messages.no.json +1 -1
  162. package/dist/cdn/assets/sketch/t9n/messages.pl.json +1 -1
  163. package/dist/cdn/assets/sketch/t9n/messages.pt-BR.json +1 -1
  164. package/dist/cdn/assets/sketch/t9n/messages.pt-PT.json +1 -1
  165. package/dist/cdn/assets/sketch/t9n/messages.ro.json +1 -1
  166. package/dist/cdn/assets/sketch/t9n/messages.ru.json +1 -1
  167. package/dist/cdn/assets/sketch/t9n/messages.sk.json +1 -1
  168. package/dist/cdn/assets/sketch/t9n/messages.sl.json +1 -1
  169. package/dist/cdn/assets/sketch/t9n/messages.sr.json +1 -1
  170. package/dist/cdn/assets/sketch/t9n/messages.sv.json +1 -1
  171. package/dist/cdn/assets/sketch/t9n/messages.th.json +1 -1
  172. package/dist/cdn/assets/sketch/t9n/messages.tr.json +1 -1
  173. package/dist/cdn/assets/sketch/t9n/messages.uk.json +1 -1
  174. package/dist/cdn/assets/sketch/t9n/messages.vi.json +1 -1
  175. package/dist/cdn/assets/sketch/t9n/messages.zh-CN.json +1 -1
  176. package/dist/cdn/assets/sketch/t9n/messages.zh-HK.json +1 -1
  177. package/dist/cdn/assets/sketch/t9n/messages.zh-TW.json +1 -1
  178. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
  179. package/dist/cdn/index.js +1 -1
  180. package/dist/cdn/main.css +1 -1
  181. package/dist/chunks/async-utils.js +3 -3
  182. package/dist/chunks/layer-utils.js +48 -44
  183. package/dist/chunks/slots.js +1 -1
  184. package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +81 -0
  185. package/dist/components/arcgis-attachment-validation-view/customElement.js +109 -0
  186. package/dist/components/arcgis-attachment-validation-view/index.d.ts +1 -0
  187. package/dist/components/arcgis-attachment-validation-view/index.js +2 -0
  188. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -9
  189. package/dist/components/arcgis-basemap-gallery/customElement.js +39 -28
  190. package/dist/components/arcgis-basemap-gallery-item/customElement.js +30 -30
  191. package/dist/components/arcgis-editor/customElement.d.ts +10 -2
  192. package/dist/components/arcgis-editor/customElement.js +2 -2
  193. package/dist/components/arcgis-expand/customElement.d.ts +9 -0
  194. package/dist/components/arcgis-expand/customElement.js +47 -41
  195. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +23 -0
  196. package/dist/components/arcgis-exploratory-analysis/customElement.js +21 -21
  197. package/dist/components/arcgis-feature-attachments/customElement.js +17 -17
  198. package/dist/components/arcgis-feature-form-field/customElement.d.ts +48 -0
  199. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  200. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  201. package/dist/components/arcgis-fullscreen/customElement.js +9 -10
  202. package/dist/components/arcgis-legend/customElement.d.ts +5 -6
  203. package/dist/components/arcgis-legend/customElement.js +5 -5
  204. package/dist/components/arcgis-legend-card-element/customElement.js +26 -26
  205. package/dist/components/arcgis-link-chart/customElement.d.ts +9 -0
  206. package/dist/components/arcgis-link-chart/customElement.js +14 -11
  207. package/dist/components/arcgis-map/customElement.d.ts +9 -0
  208. package/dist/components/arcgis-map/customElement.js +9 -6
  209. package/dist/components/arcgis-paste/customElement.js +1 -1
  210. package/dist/components/arcgis-presentation/customElement.js +62 -62
  211. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  212. package/dist/components/arcgis-scale-bar/customElement.js +8 -8
  213. package/dist/components/arcgis-scene/customElement.d.ts +9 -0
  214. package/dist/components/arcgis-scene/customElement.js +5 -2
  215. package/dist/components/arcgis-selection-list/customElement.d.ts +33 -12
  216. package/dist/components/arcgis-selection-list/customElement.js +79 -63
  217. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +42 -2
  218. package/dist/components/arcgis-selection-toolbar/customElement.js +60 -37
  219. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +84 -0
  220. package/dist/components/arcgis-sketch/configuration.d.ts +33 -0
  221. package/dist/components/arcgis-sketch/customElement.d.ts +3 -2
  222. package/dist/components/arcgis-sketch/customElement.js +25 -21
  223. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +18 -3
  224. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +63 -53
  225. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +11 -3
  226. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +107 -53
  227. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -0
  228. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +5 -1
  229. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +19 -11
  230. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +124 -110
  231. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +29 -0
  232. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +31 -17
  233. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  234. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +63 -14
  235. package/dist/components/arcgis-utility-network-trace-results/customElement.js +245 -55
  236. package/dist/components/arcgis-utility-network-trace-results/index.js +1 -2
  237. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +7 -7
  238. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  239. package/dist/docs/api.json +1 -1
  240. package/dist/docs/docs.json +1 -1
  241. package/dist/docs/vscode.html-custom-data.json +1 -1
  242. package/dist/docs/web-types.json +1 -1
  243. package/dist/index.d.ts +10 -0
  244. package/dist/loader.js +12 -11
  245. package/dist/types/lumina.d.ts +20 -10
  246. package/dist/types/preact.d.ts +21 -10
  247. package/dist/types/react.d.ts +22 -10
  248. package/dist/types/stencil.d.ts +20 -10
  249. package/package.json +8 -8
  250. package/dist/cdn/2OGEVHBC.js +0 -2
  251. package/dist/cdn/4FADGEJD.js +0 -2
  252. package/dist/cdn/5DV4N5DK.js +0 -2
  253. package/dist/cdn/5PNAHYUT.js +0 -2
  254. package/dist/cdn/7AKMHKTT.js +0 -2
  255. package/dist/cdn/A2FK4TED.js +0 -2
  256. package/dist/cdn/BOEHQXPR.js +0 -2
  257. package/dist/cdn/C2HB2U6P.js +0 -2
  258. package/dist/cdn/CRWARUC7.js +0 -2
  259. package/dist/cdn/CST7D7GR.js +0 -2
  260. package/dist/cdn/DDSMWDPS.js +0 -2
  261. package/dist/cdn/DOHO6T7Z.js +0 -2
  262. package/dist/cdn/GJZCVU6G.js +0 -5
  263. package/dist/cdn/IDE4IFH7.js +0 -2
  264. package/dist/cdn/IJTCIWOA.js +0 -2
  265. package/dist/cdn/IXVJQIMH.js +0 -2
  266. package/dist/cdn/KGBACXRG.js +0 -2
  267. package/dist/cdn/KWJAKUM4.js +0 -2
  268. package/dist/cdn/MRC7R44N.js +0 -2
  269. package/dist/cdn/MT6BTCFR.js +0 -2
  270. package/dist/cdn/QD7ELNLS.js +0 -2
  271. package/dist/cdn/TBSKBHHL.js +0 -2
  272. package/dist/cdn/WU7R423Z.js +0 -2
  273. package/dist/cdn/ZB6W452H.js +0 -2
  274. /package/dist/cdn/{ZU6D3YMF.js → 27MP6TEF.js} +0 -0
  275. /package/dist/cdn/{3XRSSDOC.js → 3JCF73F4.js} +0 -0
  276. /package/dist/cdn/{RLTZHJ26.js → 3XEPXV4Q.js} +0 -0
  277. /package/dist/cdn/{IMINWWQN.js → 43IOCYG5.js} +0 -0
  278. /package/dist/cdn/{HMZDI4HQ.js → 45JO7F4Y.js} +0 -0
  279. /package/dist/cdn/{232VF5GS.js → 4W35GLNO.js} +0 -0
  280. /package/dist/cdn/{7HQJTIYO.js → 5CER2N5T.js} +0 -0
  281. /package/dist/cdn/{33AEAI5T.js → 5M56ZA46.js} +0 -0
  282. /package/dist/cdn/{W6X34YBZ.js → 6NWR2Z4F.js} +0 -0
  283. /package/dist/cdn/{KMODOE6H.js → 7FVXPOAG.js} +0 -0
  284. /package/dist/cdn/{2PRRRGTC.js → AYJQLWX4.js} +0 -0
  285. /package/dist/cdn/{HJP2DQC3.js → AZ73DBU3.js} +0 -0
  286. /package/dist/cdn/{CQW2542N.js → B4CANXID.js} +0 -0
  287. /package/dist/cdn/{HLHFT3VN.js → BEFZSVBT.js} +0 -0
  288. /package/dist/cdn/{55Q2U4HS.js → BIWQEPK4.js} +0 -0
  289. /package/dist/cdn/{N5NLF7RI.js → BLYJE76S.js} +0 -0
  290. /package/dist/cdn/{2Q7J34UP.js → CESFJ6AD.js} +0 -0
  291. /package/dist/cdn/{5ZZ7JN5X.js → COKGOKO2.js} +0 -0
  292. /package/dist/cdn/{7Y65HW7Z.js → D3LYSFXK.js} +0 -0
  293. /package/dist/cdn/{FZATLDJD.js → EAM45WZP.js} +0 -0
  294. /package/dist/cdn/{6VBFCBUV.js → EDTGV4YF.js} +0 -0
  295. /package/dist/cdn/{62XRQDSI.js → FMBY3L4S.js} +0 -0
  296. /package/dist/cdn/{TKC3X6S6.js → GQ6SYNZS.js} +0 -0
  297. /package/dist/cdn/{YUZAZ3CJ.js → H4FH2RBM.js} +0 -0
  298. /package/dist/cdn/{P3MLJ7YL.js → I5ZESLWO.js} +0 -0
  299. /package/dist/cdn/{MM6LPGBW.js → KO7RD6SS.js} +0 -0
  300. /package/dist/cdn/{2LEEKX4J.js → LQ76PRWK.js} +0 -0
  301. /package/dist/cdn/{CTHAODQE.js → MUWOF7W4.js} +0 -0
  302. /package/dist/cdn/{G5DB24SO.js → OCLOCCB6.js} +0 -0
  303. /package/dist/cdn/{2UG26OVP.js → OJXNUBIA.js} +0 -0
  304. /package/dist/cdn/{ANRJPTRX.js → OUXE3CSQ.js} +0 -0
  305. /package/dist/cdn/{AKKV6RKF.js → PXAY7IM4.js} +0 -0
  306. /package/dist/cdn/{4PMOT2RS.js → QMYL4UM7.js} +0 -0
  307. /package/dist/cdn/{UCFBAQVW.js → QPFX5XH3.js} +0 -0
  308. /package/dist/cdn/{EGN54PEX.js → RFSBZHJD.js} +0 -0
  309. /package/dist/cdn/{4TZLBS5N.js → RYYBMDGS.js} +0 -0
  310. /package/dist/cdn/{CDGKQKVU.js → T2DT5I33.js} +0 -0
  311. /package/dist/cdn/{EJ5KLAEE.js → UINNR6FV.js} +0 -0
  312. /package/dist/cdn/{KWL3F4UP.js → UPZVIKOH.js} +0 -0
  313. /package/dist/cdn/{KXCLNNE5.js → VCRVQMYT.js} +0 -0
  314. /package/dist/cdn/{COSLSZXO.js → VWN2LORT.js} +0 -0
  315. /package/dist/cdn/{3NKJ4HFO.js → XAMLHDWZ.js} +0 -0
  316. /package/dist/cdn/{N43ZQ4C7.js → ZWN6DXNO.js} +0 -0
@@ -1,88 +1,82 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as p } from "../../chunks/runtime.js";
2
+ import { c as n } from "../../chunks/runtime.js";
3
3
  import l from "@arcgis/core/Color.js";
4
4
  import m from "@arcgis/core/Graphic.js";
5
5
  import d from "@arcgis/core/layers/GraphicsLayer.js";
6
- import n from "@arcgis/core/symbols/SimpleFillSymbol.js";
7
- import y from "@arcgis/core/symbols/SimpleLineSymbol.js";
8
- import u from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
9
- import { LitElement as f, createEvent as w, nothing as v } from "@arcgis/lumina";
10
- import { usePropertyChange as G, bypassReadOnly as b } from "@arcgis/lumina/controllers";
11
- import { log as s, composeMissingPropertyMessage as o } from "@arcgis/toolkit/log";
12
- import { css as R, html as g } from "lit";
13
- import { createRef as L, ref as C } from "lit/directives/ref.js";
14
- import { u as S } from "../../chunks/useT9n.js";
15
- import { a as c, b as $ } from "../../chunks/layer-utils.js";
16
- const k = R`.aggregated-geometry-container{display:flex;justify-content:space-between;margin:0 var(--calcite-space-md) var(--calcite-space-md)}.geometry-heading{margin:var(--calcite-space-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`;
17
- class z extends f {
6
+ import y from "@arcgis/core/symbols/SimpleFillSymbol.js";
7
+ import u from "@arcgis/core/symbols/SimpleLineSymbol.js";
8
+ import f from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
9
+ import { LitElement as w, createEvent as G, nothing as v } from "@arcgis/lumina";
10
+ import { usePropertyChange as b, bypassReadOnly as a } from "@arcgis/lumina/controllers";
11
+ import { log as o, composeMissingPropertyMessage as h } from "@arcgis/toolkit/log";
12
+ import { generateGuid as R } from "@arcgis/toolkit/string";
13
+ import { css as L, html as g } from "lit";
14
+ import { createRef as C, ref as S } from "lit/directives/ref.js";
15
+ import { u as $ } from "../../chunks/useT9n.js";
16
+ import { a as p, b as k } from "../../chunks/layer-utils.js";
17
+ const x = L`.aggregated-geometry-container{display:flex;align-items:center;justify-content:space-between}.geometry-heading{margin:0 0 var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`;
18
+ class z extends w {
18
19
  constructor() {
19
- super(...arguments), this._messages = S({ blocking: !0 }), this.#t = "arcgis-utility-network-trace-aggregated-geometry-result-item-graphics", this.#e = L(), this.defaultSelectionSize = 12, this.geometryGraphics = [], this.hideGraphics = !1, this.graphicsColor = new l([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.arcgisPropertyChange = G()("defaultSelectionSize", "geometryGraphics", "hideGraphics", "graphicsColor"), this.arcgisResultReady = w();
20
+ super(...arguments), this._messages = $({ blocking: !0 }), this.#r = `aggregated-geometry-graphics-${R()}`, this.#e = C(), this.defaultSelectionSize = 12, this.emitsArcgisResultReady = !0, this.geometryGraphics = [], this.hideGraphics = !1, this.state = "ready", this.graphicsColor = new l([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.arcgisPropertyChange = b()("defaultSelectionSize", "hideGraphics", "geometryGraphics", "graphicsColor", "state"), this.arcgisResultReady = G();
20
21
  }
21
22
  static {
22
- this.properties = { defaultSelectionSize: 9, heading: 1, traceResult: 0, geometryGraphics: 32, hideGraphics: 5, graphicsColor: 0, graphicsLayer: 0, view: 0, autoDestroyDisabled: 5 };
23
+ this.properties = { defaultSelectionSize: 9, emitsArcgisResultReady: 32, heading: 1, traceResult: 0, geometryGraphics: 32, hideGraphics: 5, state: 32, graphicsColor: 0, graphicsLayer: 0, view: 0, autoDestroyDisabled: 5 };
23
24
  }
24
25
  static {
25
- this.styles = k;
26
+ this.styles = x;
26
27
  }
28
+ #r;
27
29
  #t;
28
30
  #e;
29
31
  clearResult() {
30
- this.view?.map && this.graphicsLayer && this.view.map.remove(this.graphicsLayer);
32
+ this.#e.value && (this.#e.value.open = !1);
33
+ const { graphicsLayer: e } = this;
34
+ e && (e.removeMany(this.geometryGraphics), e === this.#t && (this.view?.map?.remove(e), this.graphicsLayer = void 0, this.#t = void 0)), a(() => this.geometryGraphics = []), a(() => this.state = "ready");
31
35
  }
32
36
  async destroy() {
33
37
  this.clearResult(), await this.manager.destroy();
34
38
  }
35
39
  connectedCallback() {
36
- super.connectedCallback(), this.view && this.graphicsLayer && (c(this.view, this.graphicsLayer), this.arcgisResultReady.emit());
40
+ super.connectedCallback(), this.view && this.graphicsLayer && (p(this.view, this.graphicsLayer), this.arcgisResultReady.emit());
37
41
  }
38
42
  load() {
39
- if (!this.traceResult?.aggregatedGeometry || !this.view?.map) {
40
- this.arcgisResultReady.emit();
41
- return;
42
- }
43
- this.graphicsLayer || this.#a(this.view);
43
+ this.traceResult && this.#i();
44
44
  }
45
45
  willUpdate(e) {
46
- if (e.has("hideGraphics") && this.#s(), e.has("graphicsColor") && this.#c(), e.has("traceResult") && (this.graphicsLayer?.removeAll(), this.traceResult?.aggregatedGeometry && this.view && (this.#i(this.traceResult.aggregatedGeometry), this.arcgisResultReady.emit())), e.has("view")) {
46
+ if (e.has("traceResult") && this.#i(), e.has("view")) {
47
47
  const t = e.get("view");
48
- t?.map && this.graphicsLayer && (t.map.remove(this.graphicsLayer), this.traceResult?.aggregatedGeometry && this.view && (c(this.view, this.graphicsLayer), this.#i(this.traceResult.aggregatedGeometry), this.arcgisResultReady.emit()));
48
+ t?.map && this.graphicsLayer && t.map.remove(this.graphicsLayer), this.#i();
49
49
  }
50
+ e.has("hideGraphics") && this.#c(), e.has("graphicsColor") && this.#l();
50
51
  }
51
52
  loaded() {
52
- this.traceResult ? this.traceResult.aggregatedGeometry || s("error", this, o("The property `traceResult` was provided, but `traceResult.aggregatedGeometry` is null. Cannot draw aggregated geometry.")) : s("error", this, o("traceResult")), this.view ? this.view.map || s("error", this, o("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : s("error", this, o("view"));
53
+ this.traceResult && (this.traceResult.aggregatedGeometry || o("warn", this, h("traceResult.aggregatedGeometry")), this.view ? this.view.map || o("error", this, h("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : o("error", this, h("view")));
53
54
  }
54
- #i(e) {
55
+ #a(e) {
55
56
  const { line: t, multipoint: i, polygon: r } = e;
56
- b(() => {
57
- this.geometryGraphics = [t, i, r].filter((a) => a != null).map((a) => this.#o(a));
58
- }), this.graphicsLayer?.addMany(this.geometryGraphics);
57
+ a(() => {
58
+ this.geometryGraphics = [t, i, r].filter((s) => s != null).map((s) => this.#h(s));
59
+ });
59
60
  }
60
- #a(e) {
61
- const t = this.#t, i = e.map?.findLayerById(t);
62
- if (i && $(i)) {
63
- this.graphicsLayer = i;
64
- return;
65
- }
66
- this.graphicsLayer = new d({
61
+ #o(e) {
62
+ const t = this.#r, i = e.map?.findLayerById(t);
63
+ return i && k(i) ? i : new d({
67
64
  id: t,
68
65
  listMode: "hide",
69
66
  title: t
70
- }), c(e, this.graphicsLayer);
71
- }
72
- #s() {
73
- this.hideGraphics ? (this.graphicsLayer?.removeAll(), this.#e.value?.open && (this.#e.value.open = !1)) : this.graphicsLayer?.addMany(this.geometryGraphics);
67
+ });
74
68
  }
75
- #o(e) {
69
+ #h(e) {
76
70
  return new m({
77
71
  geometry: e,
78
- symbol: this.#r(e)
72
+ symbol: this.#s(e)
79
73
  });
80
74
  }
81
- #r(e) {
75
+ #s(e) {
82
76
  const { defaultSelectionSize: t, graphicsColor: i } = this;
83
77
  switch (e.type) {
84
78
  case "multipoint":
85
- return new u({
79
+ return new f({
86
80
  color: i,
87
81
  size: t,
88
82
  outline: {
@@ -91,7 +85,7 @@ class z extends f {
91
85
  }
92
86
  });
93
87
  case "polygon":
94
- return new n({
88
+ return new y({
95
89
  color: i,
96
90
  outline: {
97
91
  color: i,
@@ -99,27 +93,43 @@ class z extends f {
99
93
  }
100
94
  });
101
95
  case "polyline":
102
- return new y({
96
+ return new u({
103
97
  color: i,
104
98
  width: t
105
99
  });
106
100
  }
107
101
  }
108
102
  #c() {
109
- this.graphicsLayer?.graphics.forEach((e) => {
103
+ this.hideGraphics ? (this.graphicsLayer?.removeAll(), this.#e.value?.open && (this.#e.value.open = !1)) : this.graphicsLayer?.addMany(this.geometryGraphics);
104
+ }
105
+ #i() {
106
+ this.clearResult();
107
+ const e = () => {
108
+ a(() => this.state = "ready"), this.arcgisResultReady.emit();
109
+ };
110
+ if (!this.traceResult?.aggregatedGeometry || !this.view?.map) {
111
+ e();
112
+ return;
113
+ }
114
+ a(() => this.state = "loading"), this.graphicsLayer || (this.graphicsLayer = this.#o(this.view), this.#t = this.graphicsLayer, p(this.view, this.graphicsLayer)), this.#a(this.traceResult.aggregatedGeometry), this.hideGraphics || this.graphicsLayer.addMany(this.geometryGraphics), e();
115
+ }
116
+ #l() {
117
+ this.geometryGraphics.forEach((e) => {
110
118
  const t = e.geometry;
111
- e.symbol = this.#r(t);
119
+ e.symbol = this.#s(t);
112
120
  });
113
121
  }
114
122
  render() {
123
+ if (!this.traceResult?.aggregatedGeometry)
124
+ return null;
115
125
  const { graphicsColor: e, heading: t, hideGraphics: i, _messages: r } = this;
116
- return g`${t && g`<div class="geometry-heading">${t}</div>` || ""}<div class="aggregated-geometry-container"><calcite-switch .checked=${!i} .label=${r.labels.showGraphicsToggle} label-text-end=${r.showGraphics ?? v} @calciteSwitchChange=${() => this.hideGraphics = !this.hideGraphics}></calcite-switch><calcite-swatch .color=${e.toCss()} .disabled=${i} id=geometry-color-swatch .label=${r.labels.aggregatedGeometryGraphicsColor}></calcite-swatch><calcite-popover closable .heading=${r.headings.setColor} .label=${r.headings.setColor} reference-element=geometry-color-swatch ${C(this.#e)}><calcite-color-picker alpha-channel channels-disabled clearable .disabled=${i} hex-disabled saved-disabled .value=${e.toCss(!0)} @calciteColorPickerChange=${(a) => {
117
- const h = a.target.value;
118
- h && (this.graphicsColor = new l(h));
126
+ return g`${t && g`<div class="geometry-heading">${t}</div>` || ""}<div class="aggregated-geometry-container"><calcite-switch .checked=${!i} .label=${r.labels.showGraphicsToggle} label-text-end=${r.showGraphics ?? v} @calciteSwitchChange=${() => this.hideGraphics = !this.hideGraphics}></calcite-switch><calcite-swatch .color=${e.toCss()} .disabled=${i} id=geometry-color-swatch .label=${r.labels.aggregatedGeometryGraphicsColor}></calcite-swatch><calcite-popover closable .heading=${r.headings.setColor} .label=${r.headings.setColor} reference-element=geometry-color-swatch ${S(this.#e)}><calcite-color-picker alpha-channel channels-disabled clearable .disabled=${i} hex-disabled saved-disabled .value=${e.toCss(!0)} @calciteColorPickerChange=${(s) => {
127
+ const c = s.target.value;
128
+ c && (this.graphicsColor = new l(c));
119
129
  }}></calcite-color-picker></calcite-popover></div>`;
120
130
  }
121
131
  }
122
- p("arcgis-utility-network-trace-aggregated-geometry-result-item", z);
132
+ n("arcgis-utility-network-trace-aggregated-geometry-result-item", z);
123
133
  export {
124
134
  z as ArcgisUtilityNetworkTraceAggregatedGeometryResultItem
125
135
  };
@@ -14,6 +14,12 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
14
14
  /**
15
15
  * ## Overview
16
16
  *
17
+ * > [!WARNING]
18
+ * > This component is the successor to the `utility-network-trace-analysis` component.
19
+ * > The `utility-network-trace-analysis` component is being substantially refactored to expose public trace sub-components in release 5.2 and 6.0.
20
+ * > To avoid destabilizing the public version of `utility-network-trace-analysis`, the refactoring work is being performed in this component.
21
+ * > At release, this "next" component will replace the original.
22
+ *
17
23
  * The Utility Network Trace Analysis component allows users to run traces and view trace results in a utility network.
18
24
  *
19
25
  * - The component supports selecting a utility network and a named trace configuration in that utility network. Both the utility network and trace configuration must be [stored in the map](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#utilityNetworks).
@@ -79,6 +85,9 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
79
85
  *
80
86
  * Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
81
87
  *
88
+ * @slot
89
+ * [results] - Slot for instances of [arcgis-utility-network-trace-results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/),
90
+ * for displaying the results of one or more traces.
82
91
  * @internal
83
92
  * @since 5.0
84
93
  */
@@ -218,11 +227,10 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
218
227
  accessor disableHighlightFeatureResults: boolean;
219
228
  /**
220
229
  * Indicates whether to hide the action bar that holds the feature's
221
- * [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#actions)
222
- * when selecting trace locations and viewing trace result features.
230
+ * [arcgis-features-next.actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) when selecting trace locations
231
+ * and viewing trace result features.
223
232
  *
224
233
  * @default false
225
- * @internal
226
234
  */
227
235
  accessor hideActionBar: boolean;
228
236
  /**
@@ -1,27 +1,41 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as u } from "../../chunks/runtime.js";
3
- import { css as d, html as a } from "lit";
2
+ import { c as m } from "../../chunks/runtime.js";
4
3
  import { ref as c } from "lit/directives/ref.js";
5
- import { keyed as l } from "lit/directives/keyed.js";
6
- import p from "@arcgis/core/Color.js";
7
- import { when as m } from "@arcgis/core/core/reactiveUtils.js";
8
- import f from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
9
- import { LitElement as y, createEvent as r } from "@arcgis/lumina";
10
- import { usePropertyChange as b } from "@arcgis/lumina/controllers";
11
- import { log as w } from "@arcgis/toolkit/log";
12
- import { u as v } from "../../chunks/useT9n.js";
13
- import { m as T } from "../../chunks/useViewModel.js";
14
- import { l as $ } from "../../chunks/async-utils.js";
15
- const R = d`: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;min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}.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}}`, _ = T(f);
16
- class x extends y {
4
+ import y from "@arcgis/core/Color.js";
5
+ import { when as f } from "@arcgis/core/core/reactiveUtils.js";
6
+ import b from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
7
+ import { LitElement as w, createEvent as r } from "@arcgis/lumina";
8
+ import { usePropertyChange as v } from "@arcgis/lumina/controllers";
9
+ import { slotChangeGetAssignedElements as h } from "@arcgis/toolkit/dom/slots";
10
+ import { log as o } from "@arcgis/toolkit/log";
11
+ import { css as T, html as a } from "lit";
12
+ import { u as R } from "../../chunks/useT9n.js";
13
+ import { m as $ } from "../../chunks/useViewModel.js";
14
+ import { l as _ } from "../../chunks/async-utils.js";
15
+ const k = T`: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)}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 = $(b), g = "arcgis-utility-network-trace-results", u = "arcgis-hidden-results-slot-item", C = [
16
+ "actions",
17
+ "autoDestroyDisabled",
18
+ "aggregatedGeometryGraphicsColor",
19
+ "disableHighlightFeatureResults",
20
+ "hideActionBar",
21
+ "hideFeatureResults",
22
+ "hidePlaceholder",
23
+ "includeDefaultActionsDisabled",
24
+ "messageOverrides",
25
+ "referenceElement",
26
+ "view",
27
+ "_traceError",
28
+ "_traceResult"
29
+ ];
30
+ class S extends w {
17
31
  constructor() {
18
- super(...arguments), this._messages = v({ blocking: !0 }), this.#e = _(this), this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new p([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.state = this.#e.state, this.view = this.#e.view, this.arcgisHideGraphicsChange = r(), this.arcgisPropertyChange = b()("aggregatedGeometryGraphicsColor", "hideGraphics"), this.arcgisReady = r(), this.arcgisTriggerAction = r(), this.arcgisTraceLocationSelectEnd = r(), this.arcgisTraceLocationSelectStart = r(), this.arcgisTraceResultClear = r(), this.arcgisTraceResultFeaturesReady = r();
32
+ super(...arguments), this._messages = R({ blocking: !0 }), this.#e = x(this), this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._slottedElements = [], this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new y([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.state = this.#e.state, this.view = this.#e.view, this.arcgisHideGraphicsChange = r(), this.arcgisPropertyChange = v()("aggregatedGeometryGraphicsColor", "hideGraphics"), this.arcgisReady = r(), this.arcgisTriggerAction = r(), this.arcgisTraceLocationSelectEnd = r(), this.arcgisTraceLocationSelectStart = r(), this.arcgisTraceResultClear = r(), this.arcgisTraceResultFeaturesReady = r();
19
33
  }
20
34
  static {
21
- this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _mode: 16, actions: 0, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
35
+ this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _slottedElements: 16, _mode: 16, actions: 0, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
22
36
  }
23
37
  static {
24
- this.styles = R;
38
+ this.styles = k;
25
39
  }
26
40
  #e;
27
41
  #t;
@@ -30,7 +44,9 @@ class x extends y {
30
44
  const { view: e } = this;
31
45
  return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
32
46
  }
33
- #n;
47
+ get #o() {
48
+ return Array.from(this.el.children).some((e) => e.slot === "results" && e.matches(g));
49
+ }
34
50
  get traceResultFeatures() {
35
51
  return this.#i?.traceResultFeatures ?? [];
36
52
  }
@@ -39,22 +55,48 @@ class x extends y {
39
55
  }
40
56
  load() {
41
57
  this.manager.onLifecycle(() => [
42
- m(() => !this.#e.utilityNetwork, () => this.#a("input"))
58
+ f(() => !this.#e.utilityNetwork, () => this.#s("input"))
43
59
  ]);
44
60
  }
45
- #s() {
61
+ willUpdate(e) {
62
+ C.some((t) => e.has(t)) && this.#a();
63
+ }
64
+ #n() {
46
65
  this._traceResult = void 0, this.#i?.clearResults();
47
66
  }
48
- #o() {
67
+ #c() {
49
68
  if (!this.#t)
50
69
  return;
51
- const { traceLocations: e, traceLocationDetails: t, traceConfiguration: i, isSubnetworkNameTraceSelected: s } = this.#t, n = !!i?.subnetworkName, h = e?.some((o) => o.type === "starting-point"), g = t?.some((o) => !!o.flagProperties.terminalConfiguration && !o.flagProperties.selectedTerminals?.size) ?? !1;
52
- this._traceError = void 0, this._showNoStartingPointsWarning = !s && !h || s && !n, this._showMissingTerminalWarning = g;
70
+ const { traceLocations: e, traceLocationDetails: t, traceConfiguration: i, isSubnetworkNameTraceSelected: s } = this.#t, n = !!i?.subnetworkName, d = e?.some((l) => l.type === "starting-point"), p = t?.some((l) => !!l.flagProperties.terminalConfiguration && !l.flagProperties.selectedTerminals?.size) ?? !1;
71
+ this._traceError = void 0, this._showNoStartingPointsWarning = !s && !d || s && !n, this._showMissingTerminalWarning = p;
53
72
  }
54
- #a(e) {
73
+ #s(e) {
55
74
  this._activeTab = e;
56
75
  }
57
- #c(e) {
76
+ #a() {
77
+ if (!this.#i)
78
+ return;
79
+ const e = {
80
+ actions: this.actions,
81
+ autoDestroyDisabled: this.autoDestroyDisabled,
82
+ aggregatedGeometryGraphicsColor: this.aggregatedGeometryGraphicsColor,
83
+ disableHighlightFeatureResults: this.disableHighlightFeatureResults,
84
+ expanded: !0,
85
+ hideActionBar: this.hideActionBar,
86
+ hideFeatureResults: this.hideFeatureResults,
87
+ hidePlaceholder: this.hidePlaceholder,
88
+ includeDefaultActionsDisabled: this.includeDefaultActionsDisabled,
89
+ layers: this.#r,
90
+ messageOverrides: this.messageOverrides,
91
+ referenceElement: this.referenceElement,
92
+ traceError: this._traceError,
93
+ traceResult: this._traceResult,
94
+ utilityNetwork: this.#e.utilityNetwork ?? void 0,
95
+ view: this.view ?? void 0
96
+ };
97
+ Object.assign(this.#i, e);
98
+ }
99
+ #h(e) {
58
100
  const { _messages: t } = this;
59
101
  switch (e) {
60
102
  case "no-user-type-extension":
@@ -69,10 +111,10 @@ class x extends y {
69
111
  return e;
70
112
  }
71
113
  }
72
- async #l() {
114
+ async #g() {
73
115
  const e = this.#t?.selectedNamedTraceConfiguration, t = this.#t?.traceConfiguration;
74
116
  if (!(e?.traceType && t)) {
75
- w("error", this, "Trace configuration not found");
117
+ o("error", this, "Trace configuration not found");
76
118
  return;
77
119
  }
78
120
  const i = this.#t?.traceLocations;
@@ -85,72 +127,84 @@ class x extends y {
85
127
  outSpatialReference: this.view?.spatialReference
86
128
  });
87
129
  } catch (s) {
88
- $(s, this, "Error while running trace"), this._traceError = s, this._traceResult = void 0;
130
+ _(s, this, "Error while running trace"), this._traceError = s, this._traceResult = void 0;
89
131
  }
90
132
  }
91
- #h() {
92
- this.#o(), !(this._showNoStartingPointsWarning || this._showMissingTerminalWarning) && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1, this.#s(), this.#a("results"), this.#l());
133
+ #u() {
134
+ this.#c(), !(this._showNoStartingPointsWarning || this._showMissingTerminalWarning) && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1, this.#n(), this.#s("results"), this.#g());
93
135
  }
94
- #g(e) {
136
+ #d(e) {
95
137
  e && (this.#t = e);
96
138
  }
97
- #u(e) {
139
+ #l(e) {
98
140
  e && (this.#i = e);
99
141
  }
100
- #d(e) {
142
+ #p(e) {
143
+ this._slottedElements = h(e);
144
+ const t = h(e, g);
145
+ t.length < this._slottedElements.length && o("warn", this, "The trace results pane only renders instances of `arcgis-utility-network-trace-results` in the `results` slot."), t.length > 1 && o("warn", this, "Multiple `arcgis-utility-network-trace-results` elements were provided in the `results` slot. Only the first will render.");
146
+ const [i] = t;
147
+ for (const s of t)
148
+ s === i ? s.removeAttribute(u) : s.setAttribute(u, "");
149
+ this.#l(i), this.#a();
150
+ }
151
+ #m(e) {
101
152
  const { detail: t, target: i } = e;
102
153
  t.name === "aggregatedGeometryGraphicsColor" ? (e.stopPropagation(), this.aggregatedGeometryGraphicsColor = i[t.name]) : t.name === "hideGraphics" && (e.stopPropagation(), this.hideGraphics = i[t.name], this.arcgisHideGraphicsChange.emit(this.hideGraphics));
103
154
  }
104
- #p(e) {
155
+ #y(e) {
105
156
  e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented && e.preventDefault();
106
157
  }
107
- #m(e) {
158
+ #f(e) {
108
159
  e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit();
109
160
  }
110
- #f(e) {
161
+ #b(e) {
162
+ e.stopPropagation(), this.arcgisTraceResultClear.emit();
163
+ }
164
+ #w(e) {
111
165
  e.stopPropagation(), this.arcgisTraceResultFeaturesReady.emit();
112
166
  }
113
- #y(e) {
167
+ #v(e) {
114
168
  e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
115
169
  }
116
- #b(e) {
170
+ #T(e) {
117
171
  const { detail: t, target: i } = e;
118
- e.stopPropagation(), t.name === "selectedUtilityNetwork" && (this.#e.utilityNetwork = i.selectedUtilityNetwork), t.name === "selectedNamedTraceConfiguration" && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1), t.name === "mode" && (this._mode = i.mode);
172
+ e.stopPropagation(), t.name === "selectedUtilityNetwork" && (this.#e.utilityNetwork = i.selectedUtilityNetwork, this.#a()), t.name === "selectedNamedTraceConfiguration" && (this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1), t.name === "mode" && (this._mode = i.mode);
119
173
  }
120
- #w() {
174
+ #R() {
121
175
  const { _messages: e } = this;
122
176
  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>`;
123
177
  }
124
- #v() {
178
+ #$() {
125
179
  const { _messages: e } = this;
126
180
  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>`;
127
181
  }
128
- #T() {
129
- return l(`${this.el.id}__results-tab-item`, 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>` : a`<arcgis-utility-network-trace-results .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .heading=${this.#n?.title} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#r} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#e.utilityNetwork ?? void 0} .view=${this.view ?? void 0} @arcgisPropertyChange=${this.#d} @arcgisTraceResultFeaturesReady=${this.#f} @arcgisTriggerAction=${this.#y} ${c(this.#u)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
182
+ #_() {
183
+ 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"}><slot name=results @slotchange=${this.#p}></slot>${this.#o ? null : a`<arcgis-utility-network-trace-results .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} expanded .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#r} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this._traceError} .traceResult=${this._traceResult} .utilityNetwork=${this.#e.utilityNetwork ?? void 0} .view=${this.view ?? void 0} @arcgisPropertyChange=${this.#m} @arcgisResultsReady=${this.#w} @arcgisTraceResultClear=${this.#b} @arcgisTriggerAction=${this.#v} ${c(this.#l)}></arcgis-utility-network-trace-results>`}</arcgis-utility-network-trace-results-pane></calcite-tab>`;
130
184
  }
131
- #$() {
185
+ #k() {
132
186
  const { _messages: e, _traceResult: t } = this, s = !!(t?.elements.length || t?.globalFunctionResults.length || t?.aggregatedGeometry) && this.#i?.state === "ready", n = this.#i?.numFeatureResults ?? 0;
133
187
  return a`<calcite-button appearance=outline width=full @click=${() => {
134
- this.#a("input"), this.#s(), this.arcgisTraceResultClear.emit();
188
+ this.#s("input"), this.#n();
135
189
  }} .disabled=${!s} slot=footer>${n > 0 && !this.hideFeatureResults && this.state !== "executing" ? e.buttons.clearResultsCustom.replace("{number}", n.toString()) : e.buttons.clearResultsGeneric}</calcite-button>`;
136
190
  }
137
- #R() {
138
- const { _mode: e } = this, { loadError: t } = this.#e, s = (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.#c(t)}</div></calcite-notice>` : void 0) ?? a`${this._showNoStartingPointsWarning && e === "default" && this.#v() || ""}${this._showMissingTerminalWarning && e === "default" && this.#w() || ""}<arcgis-utility-network-trace-inputs .autoDestroyDisabled=${this.autoDestroyDisabled} .hideFeaturesActionBar=${this.hideActionBar} .referenceElement=${this.referenceElement} .view=${this.view ?? void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisPropertyChange=${this.#b} @arcgisTraceLocationSelectEnd=${this.#m} @arcgisTraceLocationSelectStart=${this.#p} ${c(this.#g)}></arcgis-utility-network-trace-inputs>`;
139
- return l(`${this.el.id}__inputs-tab-item`, a`<calcite-tab .selected=${this._activeTab === "input"}><div class="inputs-tab-container">${s}</div></calcite-tab>`);
191
+ #x() {
192
+ const { _mode: e } = this, { loadError: t } = this.#e, s = (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.#h(t)}</div></calcite-notice>` : void 0) ?? a`${this._showNoStartingPointsWarning && e === "default" && this.#$() || ""}${this._showMissingTerminalWarning && e === "default" && this.#R() || ""}<arcgis-utility-network-trace-inputs .autoDestroyDisabled=${this.autoDestroyDisabled} .hideFeaturesActionBar=${this.hideActionBar} .referenceElement=${this.referenceElement} .view=${this.view ?? void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisPropertyChange=${this.#T} @arcgisTraceLocationSelectEnd=${this.#f} @arcgisTraceLocationSelectStart=${this.#y} ${c(this.#d)}></arcgis-utility-network-trace-inputs>`;
193
+ return a`<calcite-tab .selected=${this._activeTab === "input"}><div class="inputs-tab-container">${s}</div></calcite-tab>`;
140
194
  }
141
- #_() {
195
+ #C() {
142
196
  const { state: e } = this;
143
197
  if (this._mode !== "default")
144
198
  return null;
145
199
  const t = e === "disabled" || e === "loading" || !this.#t?.traceConfiguration;
146
- return a`<calcite-button appearance=solid width=full @click=${this.#h} slot=footer .disabled=${t}>${this._messages.buttons.getResults}</calcite-button>`;
200
+ return a`<calcite-button appearance=solid width=full @click=${this.#u} slot=footer .disabled=${t}>${this._messages.buttons.getResults}</calcite-button>`;
147
201
  }
148
202
  render() {
149
203
  const { _activeTab: e, state: t } = this;
150
- return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this.#a("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this.#a("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#R()}${this.#T()}</calcite-tabs>${e === "input" ? this.#_() : null}${e === "results" ? this.#$() : null}</calcite-panel>`;
204
+ return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this.#s("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this.#s("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#x()}${this.#_()}</calcite-tabs>${e === "input" ? this.#C() : null}${e === "results" ? this.#k() : null}</calcite-panel>`;
151
205
  }
152
206
  }
153
- u("arcgis-utility-network-trace-analysis", x);
207
+ m("arcgis-utility-network-trace-analysis", S);
154
208
  export {
155
- x as ArcgisUtilityNetworkTraceAnalysis
209
+ S as ArcgisUtilityNetworkTraceAnalysis
156
210
  };
@@ -2,6 +2,7 @@ import "@esri/calcite-components/components/calcite-panel";
2
2
  import "@esri/calcite-components/components/calcite-notice";
3
3
  import "@esri/calcite-components/components/calcite-tab";
4
4
  import "@esri/calcite-components/components/calcite-loader";
5
+ import "../arcgis-utility-network-trace-results-pane/index.js";
5
6
  import "../arcgis-utility-network-trace-results/index.js";
6
7
  import "@esri/calcite-components/components/calcite-button";
7
8
  import "../arcgis-utility-network-trace-inputs/index.js";
@@ -5,6 +5,8 @@ import type MapView from "@arcgis/core/views/MapView.js";
5
5
 
6
6
  export type UtilityNetworkTraceAnalysisDisplayMode = "add-spatial-feature" | "add-spatial-instructions" | "default";
7
7
 
8
+ export type UtilityNetworkTraceResultItemState = "disabled" | "loading" | "ready";
9
+
8
10
  /**
9
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/).
10
12
  *
@@ -22,6 +24,8 @@ export interface UtilityNetworkTraceResultItem {
22
24
  utilityNetwork?: UtilityNetwork;
23
25
  /** The MapView used by the result item. */
24
26
  view?: MapView;
27
+ /** Whether the result item intends to emit event `arcgisResultReady`. */
28
+ emitsArcgisResultReady: boolean;
25
29
  /** A method to clean up side effects from the result item. */
26
- clearResult?: () => void;
30
+ clearResult: () => void;
27
31
  }
@@ -8,6 +8,7 @@ import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
8
8
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
9
9
  import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
10
10
  import type { ArcgisReferenceElement } from "../types.js";
11
+ import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
11
12
  import type { T9nMeta } from "@arcgis/lumina/controllers";
12
13
 
13
14
  /**
@@ -63,7 +64,14 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
63
64
  *
64
65
  * @default false
65
66
  */
66
- accessor disableHighlightFeatureResults: boolean;
67
+ accessor disableHighlight: boolean;
68
+ /**
69
+ * Whether the component emits event [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#event-arcgisResultReady).
70
+ * This property is always `true` for [arcgis-utility-network-trace-elements-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/).
71
+ *
72
+ * @default false
73
+ */
74
+ get emitsArcgisResultReady(): true;
67
75
  /** The features corresponding to the trace result elements. */
68
76
  get features(): Graphic[];
69
77
  /** The heading of the result item. */
@@ -115,10 +123,10 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
115
123
  */
116
124
  get isFeaturesListShown(): boolean;
117
125
  /**
118
- * The map layers to derive utility network layers from.
126
+ * The utility network layers used to query trace result features.
119
127
  *
120
- * These layers are filtered by those belonging to the specified utility network.
121
- * The utility network layers are used for querying the trace result features.
128
+ * If none are provided, the component uses all layers in the map belonging to
129
+ * the specified [utilityNetwork](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#utilityNetwork).
122
130
  */
123
131
  accessor layers: Layer[];
124
132
  /**
@@ -153,9 +161,9 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
153
161
  /**
154
162
  * Whether the component has finished querying trace result features.
155
163
  *
156
- * @default "loading"
164
+ * @default "ready"
157
165
  */
158
- accessor state: State;
166
+ get state(): UtilityNetworkTraceResultItemState;
159
167
  /**
160
168
  * The trace result containing the element results to render features for.
161
169
  *
@@ -173,7 +181,10 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
173
181
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-utility-network-trace-elements-result-item component will be associated with a map or scene component rather than using the `view` property.
174
182
  */
175
183
  accessor view: MapView | undefined;
176
- /** Destroys the `arcgis-features-next` component used to render the trace result features. */
184
+ /**
185
+ * Cancels any feature queries in progress, removes feature highlights from the map,
186
+ * and clears [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#features).
187
+ */
177
188
  clearResult(): void;
178
189
  /** Permanently destroy the component. */
179
190
  destroy(): Promise<void>;
@@ -187,7 +198,4 @@ export abstract class ArcgisUtilityNetworkTraceElementsResultItem extends LitEle
187
198
  arcgisResultReady: ArcgisUtilityNetworkTraceElementsResultItem["arcgisResultReady"]["detail"];
188
199
  arcgisTriggerAction: ArcgisUtilityNetworkTraceElementsResultItem["arcgisTriggerAction"]["detail"];
189
200
  };
190
- }
191
-
192
- /** @internal */
193
- export type State = "loading" | "ready";
201
+ }