@arcgis/map-components 5.2.0-next.121 → 5.2.0-next.123

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 (279) hide show
  1. package/dist/cdn/{XJGJMS7L.js → 2CE24IDF.js} +1 -1
  2. package/dist/cdn/{K3J3WDMO.js → 2FR4GN2W.js} +1 -1
  3. package/dist/cdn/{QLJEWRH3.js → 2N2VGYUB.js} +1 -1
  4. package/dist/cdn/{Q6LQ5BUX.js → 34E7N7GU.js} +1 -1
  5. package/dist/cdn/{WC2DVIUW.js → 3E36QFXG.js} +2 -2
  6. package/dist/cdn/3FRV7BIJ.js +2 -0
  7. package/dist/cdn/{GLOUXFQV.js → 3IPZE7AH.js} +1 -1
  8. package/dist/cdn/{H5FV4C72.js → 3KIT2HLC.js} +1 -1
  9. package/dist/cdn/{3KTHEK76.js → 3T274BES.js} +1 -1
  10. package/dist/cdn/{Z4FIADPO.js → 3TR7QOHP.js} +1 -1
  11. package/dist/cdn/{OTPKIKAJ.js → 3XZSI7I3.js} +1 -1
  12. package/dist/cdn/464EB67Q.js +2 -0
  13. package/dist/cdn/{I2IBXGQM.js → 5AV2IOLR.js} +1 -1
  14. package/dist/cdn/{JMWMN4DG.js → 5SLLYIWJ.js} +1 -1
  15. package/dist/cdn/{TH6TT77M.js → 5XQHTWAB.js} +1 -1
  16. package/dist/cdn/{XCARHZUP.js → 5YJQOF7B.js} +1 -1
  17. package/dist/cdn/{BAV6JF4F.js → 5Z4QFELH.js} +1 -1
  18. package/dist/cdn/5ZRBWOVW.js +2 -0
  19. package/dist/cdn/{7QH5PIWM.js → 6EQW3YHG.js} +1 -1
  20. package/dist/cdn/{6ZKGF6SQ.js → 6HN7AAG3.js} +1 -1
  21. package/dist/cdn/6LL2ILG2.js +2 -0
  22. package/dist/cdn/{FTTOI66H.js → 6UGAJNGV.js} +1 -1
  23. package/dist/cdn/{KRSOL3FL.js → 7K2PSLD3.js} +1 -1
  24. package/dist/cdn/{ALEBI75Z.js → AXFCL6D2.js} +1 -1
  25. package/dist/cdn/{FR7ARNMJ.js → B4QA6HTE.js} +1 -1
  26. package/dist/cdn/CCFGYVBQ.js +2 -0
  27. package/dist/cdn/{GYCEMWMN.js → CNXCJR63.js} +1 -1
  28. package/dist/cdn/{LM6RYRCS.js → CNYKQYK2.js} +1 -1
  29. package/dist/cdn/{UNUMT2DZ.js → D36LYGSR.js} +1 -1
  30. package/dist/cdn/{B67VAZX4.js → DJSH4JQR.js} +1 -1
  31. package/dist/cdn/{CPBFA25A.js → DLFRE6XN.js} +1 -1
  32. package/dist/cdn/{F6BRM6HX.js → DLW55IF2.js} +1 -1
  33. package/dist/cdn/{JD562WMM.js → EDMWGUZ2.js} +1 -1
  34. package/dist/cdn/{KKDWRLQ4.js → ESUJ7IS2.js} +1 -1
  35. package/dist/cdn/{FAFDJABP.js → EWPICNWR.js} +1 -1
  36. package/dist/cdn/{KIHX5LRN.js → EZFBF4SK.js} +1 -1
  37. package/dist/cdn/{GPIHHNP7.js → F46CTQWP.js} +1 -1
  38. package/dist/cdn/FDTUX3BC.js +2 -0
  39. package/dist/cdn/{QIEX43LK.js → FVI77DR5.js} +1 -1
  40. package/dist/cdn/{DAPKG4DY.js → G3KYGRHM.js} +1 -1
  41. package/dist/cdn/{Y3Y3AB5L.js → G4HKU5PR.js} +1 -1
  42. package/dist/cdn/{TVZZB4KV.js → G6ZEXGBJ.js} +1 -1
  43. package/dist/cdn/{56PUZWIU.js → G75EAA46.js} +1 -1
  44. package/dist/cdn/{Y5Q3Q4GW.js → GIOUZTHM.js} +1 -1
  45. package/dist/cdn/{4DWURRQB.js → GLH5GJZC.js} +1 -1
  46. package/dist/cdn/{3VBI4PPT.js → H3CCHIXN.js} +1 -1
  47. package/dist/cdn/{ACIG6774.js → HH5GEJCC.js} +1 -1
  48. package/dist/cdn/{MXA65YBP.js → HTQSLNPO.js} +1 -1
  49. package/dist/cdn/I7PSZ2EP.js +2 -0
  50. package/dist/cdn/ISK7BEJR.js +2 -0
  51. package/dist/cdn/{VFSWB7LJ.js → IWOKTFPQ.js} +1 -1
  52. package/dist/cdn/{OPLR5W7O.js → JSYLRK26.js} +1 -1
  53. package/dist/cdn/{WJ3JWM5S.js → JZITIN62.js} +1 -1
  54. package/dist/cdn/{5FBX5V2M.js → KHHVCV55.js} +1 -1
  55. package/dist/cdn/{LBJMKYT2.js → KM2GXXBO.js} +1 -1
  56. package/dist/cdn/{46ZZWK6X.js → KY3ND2AY.js} +1 -1
  57. package/dist/cdn/KYWVUIH5.js +2 -0
  58. package/dist/cdn/{7KWX2CED.js → LAY2RKKS.js} +1 -1
  59. package/dist/cdn/{TCYOOMSU.js → LCB5NFAN.js} +1 -1
  60. package/dist/cdn/{DOR5MVML.js → LTTYKRLO.js} +1 -1
  61. package/dist/cdn/{QNHJY7QE.js → M3EXGLNJ.js} +1 -1
  62. package/dist/cdn/{KQ3E54MW.js → M4JE53PK.js} +1 -1
  63. package/dist/cdn/MPYSRYIP.js +2 -0
  64. package/dist/cdn/{LP2PF2VT.js → NGCMS3XY.js} +1 -1
  65. package/dist/cdn/{6VR7MKOM.js → NVAZ2KQI.js} +1 -1
  66. package/dist/cdn/{KFE2444H.js → OQKO2TQ6.js} +1 -1
  67. package/dist/cdn/{VSJ3MYSY.js → P2YZCB7M.js} +1 -1
  68. package/dist/cdn/{6XJFRQ75.js → P7GH36VO.js} +1 -1
  69. package/dist/cdn/{BB66E2IZ.js → PCB2C5PV.js} +1 -1
  70. package/dist/cdn/{3EYHGXI5.js → PLTLRYBF.js} +1 -1
  71. package/dist/cdn/PR6OAZWA.js +2 -0
  72. package/dist/cdn/{LWW6FUI2.js → PT5PXWSP.js} +1 -1
  73. package/dist/cdn/{UNP7N3DO.js → PUYZDQHZ.js} +1 -1
  74. package/dist/cdn/{WLVBYYQ7.js → PYIO65MV.js} +1 -1
  75. package/dist/cdn/{JB46R4PC.js → Q2DV5IF7.js} +1 -1
  76. package/dist/cdn/{JOOXDIS7.js → Q4AJYCNY.js} +1 -1
  77. package/dist/cdn/{GG3LRZHU.js → QARN2LHH.js} +1 -1
  78. package/dist/cdn/{HH4T6PVP.js → QMQV37ML.js} +1 -1
  79. package/dist/cdn/{24SNB22W.js → QMSOVSAE.js} +1 -1
  80. package/dist/cdn/QXVHT3RD.js +5 -0
  81. package/dist/cdn/{EUV2XFUO.js → R73HRX3M.js} +1 -1
  82. package/dist/cdn/{UXUG6DBJ.js → R7E5VLXC.js} +1 -1
  83. package/dist/cdn/{7VLIHMQS.js → ROP6JGKX.js} +1 -1
  84. package/dist/cdn/{4YDQKGDY.js → RPVAC6LC.js} +1 -1
  85. package/dist/cdn/{5IQQ6P2J.js → RU7PGLLB.js} +1 -1
  86. package/dist/cdn/RVFDK6O7.js +2 -0
  87. package/dist/cdn/{4W6PAHFY.js → S62FQUEJ.js} +1 -1
  88. package/dist/cdn/S7T2NPCW.js +2 -0
  89. package/dist/cdn/{ILBDNJQP.js → SJOO6JRD.js} +1 -1
  90. package/dist/cdn/{NK74ZCP7.js → SXQRPAPL.js} +1 -1
  91. package/dist/cdn/{HGCKG3CA.js → SXRL4VDZ.js} +1 -1
  92. package/dist/cdn/{AA5T4ECA.js → T7IZYFCL.js} +1 -1
  93. package/dist/cdn/{MU54WQG6.js → TILA2OKK.js} +1 -1
  94. package/dist/cdn/{5E2DZJWK.js → TM2C2UJ2.js} +1 -1
  95. package/dist/cdn/TMJX7DFH.js +2 -0
  96. package/dist/cdn/{BFVEHL3M.js → TOM7OOAW.js} +1 -1
  97. package/dist/cdn/{UA5FRNJG.js → TSVBA2RT.js} +1 -1
  98. package/dist/cdn/{W5B2F2LI.js → TTF3OFS7.js} +1 -1
  99. package/dist/cdn/TZHXSIXK.js +2 -0
  100. package/dist/cdn/{XGZ36AOT.js → U65VFGZD.js} +1 -1
  101. package/dist/cdn/{V7BQUMJL.js → U7XNKUUX.js} +1 -1
  102. package/dist/cdn/UELKEVHS.js +2 -0
  103. package/dist/cdn/US6PRR7S.js +2 -0
  104. package/dist/cdn/{2JMMBI2U.js → UUZB2BTT.js} +1 -1
  105. package/dist/cdn/{JZKIH22R.js → UVVQOKEQ.js} +1 -1
  106. package/dist/cdn/{VHQAII6W.js → VHXR7S7C.js} +1 -1
  107. package/dist/cdn/VSH4WLRS.js +2 -0
  108. package/dist/cdn/{LGLKLXNY.js → W4KEAKF6.js} +1 -1
  109. package/dist/cdn/{QSZJFQJC.js → W7STZRDX.js} +1 -1
  110. package/dist/cdn/{IZ7UWAQP.js → WSQEOUFE.js} +1 -1
  111. package/dist/cdn/{W5YXSHEP.js → WVSZE7NB.js} +1 -1
  112. package/dist/cdn/{MFBQRTJ3.js → XHGWAHOF.js} +1 -1
  113. package/dist/cdn/XTYPZLPL.js +2 -0
  114. package/dist/cdn/{ESISPXFF.js → Y462FZAE.js} +1 -1
  115. package/dist/cdn/{EGFWED7R.js → YAUITFVH.js} +1 -1
  116. package/dist/cdn/{SR3XJAI3.js → YCK3FBCL.js} +1 -1
  117. package/dist/cdn/{55AZTWOF.js → YHN67JH4.js} +1 -1
  118. package/dist/cdn/{TOBWMRET.js → YHZFK4FD.js} +1 -1
  119. package/dist/cdn/{TB3M7LUD.js → YR2AO44W.js} +1 -1
  120. package/dist/cdn/{XP4IZ2KQ.js → YRZRKOE3.js} +1 -1
  121. package/dist/cdn/{MJK57OXC.js → YTNVFW4X.js} +1 -1
  122. package/dist/cdn/{BTQUD5J4.js → YYSME7RS.js} +1 -1
  123. package/dist/cdn/{5LLUEI66.js → ZHKAXGX4.js} +1 -1
  124. package/dist/cdn/ZUAZUUTW.js +2 -0
  125. package/dist/cdn/{NZSCPBS7.js → ZZ465HDX.js} +1 -1
  126. package/dist/cdn/{2DZOKMWP.js → ZZJWG3GK.js} +1 -1
  127. package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -1
  128. package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -1
  129. package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -1
  130. package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -1
  131. package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -1
  132. package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -1
  133. package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -1
  134. package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -1
  135. package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -1
  136. package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -1
  137. package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -1
  138. package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -1
  139. package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -1
  140. package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -1
  141. package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -1
  142. package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -1
  143. package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -1
  144. package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -1
  145. package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -1
  146. package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -1
  147. package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -1
  148. package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -1
  149. package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -1
  150. package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -1
  151. package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -1
  152. package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -1
  153. package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -1
  154. package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -1
  155. package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -1
  156. package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -1
  157. package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -1
  158. package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -1
  159. package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -1
  160. package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -1
  161. package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -1
  162. package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -1
  163. package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -1
  164. package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -1
  165. package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -1
  166. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
  167. package/dist/cdn/index.js +1 -1
  168. package/dist/chunks/layer-utils.js +48 -44
  169. package/dist/chunks/slots.js +1 -1
  170. package/dist/components/arcgis-expand/customElement.d.ts +9 -0
  171. package/dist/components/arcgis-expand/customElement.js +27 -27
  172. package/dist/components/arcgis-exploratory-analysis/customElement.js +46 -46
  173. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  174. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  175. package/dist/components/arcgis-fullscreen/customElement.js +9 -10
  176. package/dist/components/arcgis-legend-card-element/customElement.js +26 -26
  177. package/dist/components/arcgis-link-chart/customElement.d.ts +9 -0
  178. package/dist/components/arcgis-link-chart/customElement.js +11 -11
  179. package/dist/components/arcgis-map/customElement.d.ts +9 -0
  180. package/dist/components/arcgis-map/customElement.js +2 -2
  181. package/dist/components/arcgis-paste/customElement.js +1 -1
  182. package/dist/components/arcgis-scale-bar/customElement.js +8 -8
  183. package/dist/components/arcgis-scene/customElement.d.ts +9 -0
  184. package/dist/components/arcgis-scene/customElement.js +6 -6
  185. package/dist/components/arcgis-selection-list/customElement.d.ts +33 -12
  186. package/dist/components/arcgis-selection-list/customElement.js +79 -63
  187. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +42 -2
  188. package/dist/components/arcgis-selection-toolbar/customElement.js +60 -37
  189. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +18 -3
  190. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +63 -53
  191. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +11 -3
  192. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +107 -53
  193. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -0
  194. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +5 -1
  195. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +19 -11
  196. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +124 -110
  197. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +29 -0
  198. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +31 -17
  199. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  200. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +63 -14
  201. package/dist/components/arcgis-utility-network-trace-results/customElement.js +245 -55
  202. package/dist/components/arcgis-utility-network-trace-results/index.js +1 -2
  203. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +7 -7
  204. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  205. package/dist/docs/api.json +1 -1
  206. package/dist/docs/docs.json +1 -1
  207. package/dist/docs/vscode.html-custom-data.json +1 -1
  208. package/dist/docs/web-types.json +1 -1
  209. package/dist/index.d.ts +6 -0
  210. package/dist/loader.js +10 -10
  211. package/dist/types/lumina.d.ts +14 -9
  212. package/dist/types/preact.d.ts +14 -9
  213. package/dist/types/react.d.ts +14 -9
  214. package/dist/types/stencil.d.ts +14 -9
  215. package/package.json +7 -7
  216. package/dist/cdn/4FADGEJD.js +0 -2
  217. package/dist/cdn/4FBTH6YD.js +0 -2
  218. package/dist/cdn/4SLCQ6RS.js +0 -2
  219. package/dist/cdn/A2FK4TED.js +0 -2
  220. package/dist/cdn/BOEHQXPR.js +0 -2
  221. package/dist/cdn/C2HB2U6P.js +0 -2
  222. package/dist/cdn/CRWARUC7.js +0 -2
  223. package/dist/cdn/GC4D3K6B.js +0 -2
  224. package/dist/cdn/GJZCVU6G.js +0 -5
  225. package/dist/cdn/GYTTYWIC.js +0 -2
  226. package/dist/cdn/JGHPNDIO.js +0 -2
  227. package/dist/cdn/JRFQGFRL.js +0 -2
  228. package/dist/cdn/MRC7R44N.js +0 -2
  229. package/dist/cdn/MT6BTCFR.js +0 -2
  230. package/dist/cdn/OYD6YL32.js +0 -2
  231. package/dist/cdn/QD7ELNLS.js +0 -2
  232. package/dist/cdn/RVJTWRVG.js +0 -2
  233. package/dist/cdn/TBSKBHHL.js +0 -2
  234. package/dist/cdn/TIDNGXMD.js +0 -2
  235. package/dist/cdn/Z44GSKHZ.js +0 -2
  236. package/dist/cdn/ZB6W452H.js +0 -2
  237. /package/dist/cdn/{ZU6D3YMF.js → 27MP6TEF.js} +0 -0
  238. /package/dist/cdn/{3XRSSDOC.js → 3JCF73F4.js} +0 -0
  239. /package/dist/cdn/{RLTZHJ26.js → 3XEPXV4Q.js} +0 -0
  240. /package/dist/cdn/{IMINWWQN.js → 43IOCYG5.js} +0 -0
  241. /package/dist/cdn/{HMZDI4HQ.js → 45JO7F4Y.js} +0 -0
  242. /package/dist/cdn/{232VF5GS.js → 4W35GLNO.js} +0 -0
  243. /package/dist/cdn/{7HQJTIYO.js → 5CER2N5T.js} +0 -0
  244. /package/dist/cdn/{33AEAI5T.js → 5M56ZA46.js} +0 -0
  245. /package/dist/cdn/{W6X34YBZ.js → 6NWR2Z4F.js} +0 -0
  246. /package/dist/cdn/{KMODOE6H.js → 7FVXPOAG.js} +0 -0
  247. /package/dist/cdn/{2PRRRGTC.js → AYJQLWX4.js} +0 -0
  248. /package/dist/cdn/{HJP2DQC3.js → AZ73DBU3.js} +0 -0
  249. /package/dist/cdn/{CQW2542N.js → B4CANXID.js} +0 -0
  250. /package/dist/cdn/{HLHFT3VN.js → BEFZSVBT.js} +0 -0
  251. /package/dist/cdn/{55Q2U4HS.js → BIWQEPK4.js} +0 -0
  252. /package/dist/cdn/{N5NLF7RI.js → BLYJE76S.js} +0 -0
  253. /package/dist/cdn/{2Q7J34UP.js → CESFJ6AD.js} +0 -0
  254. /package/dist/cdn/{5ZZ7JN5X.js → COKGOKO2.js} +0 -0
  255. /package/dist/cdn/{7Y65HW7Z.js → D3LYSFXK.js} +0 -0
  256. /package/dist/cdn/{FZATLDJD.js → EAM45WZP.js} +0 -0
  257. /package/dist/cdn/{6VBFCBUV.js → EDTGV4YF.js} +0 -0
  258. /package/dist/cdn/{62XRQDSI.js → FMBY3L4S.js} +0 -0
  259. /package/dist/cdn/{TKC3X6S6.js → GQ6SYNZS.js} +0 -0
  260. /package/dist/cdn/{YUZAZ3CJ.js → H4FH2RBM.js} +0 -0
  261. /package/dist/cdn/{P3MLJ7YL.js → I5ZESLWO.js} +0 -0
  262. /package/dist/cdn/{MM6LPGBW.js → KO7RD6SS.js} +0 -0
  263. /package/dist/cdn/{2LEEKX4J.js → LQ76PRWK.js} +0 -0
  264. /package/dist/cdn/{CTHAODQE.js → MUWOF7W4.js} +0 -0
  265. /package/dist/cdn/{G5DB24SO.js → OCLOCCB6.js} +0 -0
  266. /package/dist/cdn/{2UG26OVP.js → OJXNUBIA.js} +0 -0
  267. /package/dist/cdn/{ANRJPTRX.js → OUXE3CSQ.js} +0 -0
  268. /package/dist/cdn/{AKKV6RKF.js → PXAY7IM4.js} +0 -0
  269. /package/dist/cdn/{4PMOT2RS.js → QMYL4UM7.js} +0 -0
  270. /package/dist/cdn/{UCFBAQVW.js → QPFX5XH3.js} +0 -0
  271. /package/dist/cdn/{EGN54PEX.js → RFSBZHJD.js} +0 -0
  272. /package/dist/cdn/{4TZLBS5N.js → RYYBMDGS.js} +0 -0
  273. /package/dist/cdn/{CDGKQKVU.js → T2DT5I33.js} +0 -0
  274. /package/dist/cdn/{EJ5KLAEE.js → UINNR6FV.js} +0 -0
  275. /package/dist/cdn/{KWL3F4UP.js → UPZVIKOH.js} +0 -0
  276. /package/dist/cdn/{KXCLNNE5.js → VCRVQMYT.js} +0 -0
  277. /package/dist/cdn/{COSLSZXO.js → VWN2LORT.js} +0 -0
  278. /package/dist/cdn/{3NKJ4HFO.js → XAMLHDWZ.js} +0 -0
  279. /package/dist/cdn/{N43ZQ4C7.js → ZWN6DXNO.js} +0 -0
@@ -5,6 +5,7 @@ import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
5
5
  import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
6
6
  import type MapView from "@arcgis/core/views/MapView.js";
7
7
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
8
+ import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
8
9
  import type { T9nMeta } from "@arcgis/lumina/controllers";
9
10
 
10
11
  /**
@@ -56,6 +57,13 @@ export abstract class ArcgisUtilityNetworkTraceAggregatedGeometryResultItem exte
56
57
  * @default 12
57
58
  */
58
59
  accessor defaultSelectionSize: number;
60
+ /**
61
+ * Whether the component emits event [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#event-arcgisResultReady).
62
+ * This property is always `true` for [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/).
63
+ *
64
+ * @default false
65
+ */
66
+ get emitsArcgisResultReady(): true;
59
67
  /** The graphics which represent the aggregated geometry results from the trace. */
60
68
  get geometryGraphics(): Graphic[];
61
69
  /**
@@ -77,6 +85,12 @@ export abstract class ArcgisUtilityNetworkTraceAggregatedGeometryResultItem exte
77
85
  * @default false
78
86
  */
79
87
  accessor hideGraphics: boolean;
88
+ /**
89
+ * Whether the component has finished adding aggregated geometry graphics to the map.
90
+ *
91
+ * @default "ready"
92
+ */
93
+ get state(): UtilityNetworkTraceResultItemState;
80
94
  /**
81
95
  * The trace result containing the aggregated geometry result to render graphics for.
82
96
  *
@@ -91,13 +105,14 @@ export abstract class ArcgisUtilityNetworkTraceAggregatedGeometryResultItem exte
91
105
  */
92
106
  accessor view: MapView | undefined;
93
107
  /**
94
- * Removes the [layer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#graphicsLayer)
95
- * containing the aggregated geometry graphics from the map.
108
+ * Removes the aggregated geometry graphics from the
109
+ * [graphicsLayer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#graphicsLayer).
110
+ * If the layer was created by the component, it is also removed from the map.
96
111
  */
97
112
  clearResult(): void;
98
113
  /** Permanently destroy the component. */
99
114
  destroy(): Promise<void>;
100
- readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "defaultSelectionSize" | "geometryGraphics" | "hideGraphics" | "graphicsColor"; }>;
115
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "defaultSelectionSize" | "hideGraphics" | "geometryGraphics" | "graphicsColor" | "state"; }>;
101
116
  /**
102
117
  * Fires when the component finishes processing the aggregated geometry results.
103
118
  *
@@ -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
  }