@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
@@ -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
+ }
@@ -1,175 +1,189 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as F } from "../../chunks/runtime.js";
3
- import { ref as w } from "lit/directives/ref.js";
4
- import { getOrCreateMapValue as f } from "@arcgis/core/applications/Components/featureUtils.js";
5
- import { LitElement as R, createEvent as y } from "@arcgis/lumina";
6
- import { usePropertyChange as b, bypassReadOnly as g } from "@arcgis/lumina/controllers";
7
- import { log as n, composeMissingPropertyMessage as c } from "@arcgis/toolkit/log";
8
- import { css as E, html as d } from "lit";
9
- import { u as L } from "../../chunks/useT9n.js";
10
- import { l as I } from "../../chunks/async-utils.js";
11
- import { q as S, c as p, d as v } from "../../chunks/layer-utils.js";
12
- const $ = E`arcgis-features-next{height:100%}.elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.features-hidden{margin:var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}`;
13
- class A extends R {
2
+ import { c as R } from "../../chunks/runtime.js";
3
+ import { ref as b } from "lit/directives/ref.js";
4
+ import { getOrCreateMapValue as E } from "@arcgis/core/applications/Components/featureUtils.js";
5
+ import { LitElement as L, createEvent as m } from "@arcgis/lumina";
6
+ import { usePropertyChange as T, bypassReadOnly as h } from "@arcgis/lumina/controllers";
7
+ import { log as d, composeMissingPropertyMessage as g } from "@arcgis/toolkit/log";
8
+ import { css as v, html as y } from "lit";
9
+ import { u as A } from "../../chunks/useT9n.js";
10
+ import { i as p, l as w, t as u, c as I } from "../../chunks/async-utils.js";
11
+ import { c as $, q as S, d as F, e as P } from "../../chunks/layer-utils.js";
12
+ const D = v`arcgis-features-next{height:100%}.elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm)}.features-hidden{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size);overflow-wrap:anywhere}`;
13
+ class k extends L {
14
14
  constructor() {
15
- super(...arguments), this._messages = L({ blocking: !0 }), this.#l = !0, this.#e = [], this.#t = [], this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#r = /* @__PURE__ */ new Map(), this.#a = [], this._isFeaturesSelected = !1, this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.features = [], this.hideActionBar = !1, this.hideFeatureResults = !1, this.hidePlaceholder = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "loading", this.arcgisPropertyChange = b()("isFeaturesListShown", "selectedResultFeature", "state"), this.arcgisTriggerAction = y(), this.arcgisResultReady = y();
15
+ super(...arguments), this._messages = A({ blocking: !0 }), this.#n = !0, this.#s = [], this.#i = [], this.#r = /* @__PURE__ */ new Map(), this.#a = /* @__PURE__ */ new Map(), this.#l = /* @__PURE__ */ new Map(), this.#o = /* @__PURE__ */ new Map(), this.#e = [], this._isFeaturesSelected = !1, this.autoDestroyDisabled = !1, this.disableHighlight = !1, this.emitsArcgisResultReady = !0, this.features = [], this.hideActionBar = !1, this.hideFeatureResults = !1, this.hidePlaceholder = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "ready", this.arcgisPropertyChange = T()("isFeaturesListShown", "selectedResultFeature", "state"), this.arcgisTriggerAction = m(), this.arcgisResultReady = m();
16
16
  }
17
17
  static {
18
- this.properties = { _featuresComponentElement: 16, _isFeaturesSelected: 16, actions: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, features: 32, heading: 1, hideActionBar: 5, hideFeatureResults: 5, hidePlaceholder: 5, includeDefaultActionsDisabled: 5, isFeaturesListShown: 32, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedResultFeature: 32, state: 1, traceResult: 0, utilityNetwork: 0, view: 0 };
18
+ this.properties = { _featuresComponentElement: 16, _isFeaturesSelected: 16, actions: 0, autoDestroyDisabled: 5, disableHighlight: 5, emitsArcgisResultReady: 32, features: 32, heading: 1, hideActionBar: 5, hideFeatureResults: 5, hidePlaceholder: 5, includeDefaultActionsDisabled: 5, isFeaturesListShown: 32, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedResultFeature: 32, state: 32, traceResult: 0, utilityNetwork: 0, view: 0 };
19
19
  }
20
20
  static {
21
- this.styles = $;
21
+ this.styles = D;
22
22
  }
23
- #l;
24
- #e;
25
- get #o() {
23
+ #n;
24
+ #s;
25
+ get #h() {
26
26
  if (!this.traceResult)
27
27
  return !1;
28
- const { elements: e, globalFunctionResults: t, aggregatedGeometry: r } = this.traceResult;
29
- return e.length > 0 && !t.length && !r;
28
+ const { elements: e, globalFunctionResults: t, aggregatedGeometry: s } = this.traceResult;
29
+ return e.length > 0 && !t.length && !s;
30
30
  }
31
- #t;
32
- #s;
33
- #n;
34
31
  #i;
35
32
  #r;
36
33
  #a;
34
+ #t;
35
+ #l;
36
+ #o;
37
+ #e;
37
38
  get isFeaturesListShown() {
38
- return (this._isFeaturesSelected || this.#o) && !this.hideFeatureResults && !this._featuresComponentElement?.manager?.destroyed;
39
+ return (this._isFeaturesSelected || this.#h) && !this.hideFeatureResults;
39
40
  }
40
41
  get numResults() {
41
- return this.features.length + this.#e.length;
42
+ return this.features.length + this.#s.length;
42
43
  }
43
44
  get selectedResultFeature() {
44
45
  return this._featuresComponentElement?.selectedDrillInFeature ?? this._featuresComponentElement?.selectedFeature ?? void 0;
45
46
  }
46
47
  clearResult() {
47
- this._featuresComponentElement?.destroy(), this.#u(), g(() => this.features = []), this.#e = [], this.#s.clear(), this.#n.clear(), this.#i.clear(), this.#r.clear();
48
+ this._isFeaturesSelected = !1, this.#t?.abort(), this.#c(), h(() => this.features = []), this.#e = [], this.#s = [], this.#r.clear(), this.#a.clear(), this.#l.clear(), this.#o.clear(), h(() => this.state = "ready");
48
49
  }
49
50
  async destroy() {
50
- this.clearResult(), await this.manager.destroy();
51
+ this.clearResult(), this._featuresComponentElement?.destroy(), await this.manager.destroy();
51
52
  }
52
53
  load() {
53
- const e = this.traceResult?.elements, t = () => {
54
- this.arcgisResultReady.emit(), this.state = "ready";
55
- };
56
- if (!e?.length) {
57
- t();
58
- return;
59
- }
60
- this.#p(e), this.#f().then(() => this.#g()).then(() => {
61
- this.disableHighlightFeatureResults || this.#m();
62
- }).finally(t);
63
- }
64
- loaded() {
65
- this.traceResult ? this.traceResult.elements || n("error", this, c("traceResult.elements")) : n("error", this, c("traceResult")), this.utilityNetwork || n("error", this, c("utilityNetwork"));
54
+ this.traceResult && this.#u();
66
55
  }
67
56
  willUpdate(e) {
68
- e.has("_isFeaturesSelected") && (this.#o || (e.get("_isFeaturesSelected") ?? !1)) !== this.isFeaturesListShown && this.arcgisPropertyChange.emit({ name: "isFeaturesListShown" });
57
+ e.has("traceResult") && this.#u(), e.has("_isFeaturesSelected") && (this.#h || (e.get("_isFeaturesSelected") ?? !1)) !== this.isFeaturesListShown && this.arcgisPropertyChange.emit({ name: "isFeaturesListShown" });
69
58
  }
70
- #u() {
71
- this.#t.forEach((e) => e.remove()), this.#t = [];
59
+ loaded() {
60
+ this.traceResult && (this.traceResult.elements || d("error", this, g("traceResult.elements")), this.utilityNetwork || d("error", this, g("utilityNetwork")));
72
61
  }
73
- #h(e) {
62
+ #c() {
63
+ this.#i.forEach((e) => e.remove()), this.#i = [];
64
+ }
65
+ #d(e) {
74
66
  e && (this._featuresComponentElement = e);
75
67
  }
76
- #c(e) {
68
+ #f(e) {
77
69
  return Array.from(new Map(e.map((t) => [t.globalId, t])).values());
78
70
  }
79
- #d(e) {
80
- if (e == null)
81
- return;
82
- const t = this.#n, r = this.#a, a = t.get(e);
83
- if (a)
84
- return a;
85
- if (!r)
71
+ #y(e) {
72
+ if (e == null || !this.#e.length)
86
73
  return;
87
- const s = r.find((i) => "layerId" in i && i.layerId === e);
88
- return s && t.set(e, s), s;
74
+ const t = this.#a.get(e);
75
+ if (t)
76
+ return t;
77
+ const s = this.#e.find((r) => "layerId" in r && r.layerId === e);
78
+ return s && this.#a.set(e, s), s;
89
79
  }
90
80
  #m() {
91
- const { traceResult: e, utilityNetwork: t, view: r } = this;
92
- if (!t || !e?.elements?.length || !r)
81
+ const { traceResult: e, utilityNetwork: t, view: s } = this;
82
+ if (!t || !e?.elements?.length || !s)
93
83
  return;
94
- const a = (o) => (v(o.layer) || p(o.layer)) && t.isUtilityLayer(o.layer), s = t.getObjectIdsFromElements(e.elements), i = r.allLayerViews.filter(a);
95
- s.forEach(({ layerUrl: o, objectIds: l }) => {
96
- const u = Number(o.split("/").pop()), m = i.find(({ layer: h }) => h.layerId === u);
97
- if (m) {
98
- const h = m.highlight(l);
99
- this.#t.push(h);
84
+ const r = (i) => (P(i.layer) || F(i.layer)) && t.isUtilityLayer(i.layer), o = t.getObjectIdsFromElements(e.elements), n = s.allLayerViews.filter(r);
85
+ o.forEach(({ layerUrl: i, objectIds: l }) => {
86
+ const a = Number(i.split("/").pop()), c = n.find(({ layer: f }) => f.layerId === a);
87
+ if (c) {
88
+ const f = c.highlight(l);
89
+ this.#i.push(f);
100
90
  }
101
91
  });
102
92
  }
103
- async #f() {
104
- const { layers: e, utilityNetwork: t } = this;
105
- if (!t)
93
+ async #g(e) {
94
+ const { layers: t, utilityNetwork: s, view: r } = this;
95
+ if (!r || !s)
106
96
  return;
107
97
  try {
108
- t.loaded || (this.state = "loading", await t.load());
98
+ s.loaded || await s.load({ signal: e });
99
+ } catch (i) {
100
+ if (p(i))
101
+ throw i;
102
+ w(i, this, "Error while loading the selected utility network");
103
+ }
104
+ u(e), this.#e = t.length ? t.filter((i) => s.isUtilityLayer(i)) : $(r, s);
105
+ const n = this.#e.filter((i) => !i.loaded).map((i) => i.load({ signal: e }));
106
+ if (n.length > 0) {
107
+ const i = await Promise.allSettled(n);
108
+ u(e), i.forEach((l) => {
109
+ l.status === "rejected" && d("error", this, `Failed to load layer. Reason: ${l.reason}`);
110
+ });
111
+ }
112
+ }
113
+ async #u() {
114
+ this.clearResult();
115
+ const e = () => {
116
+ h(() => this.state = "ready"), this.arcgisResultReady.emit();
117
+ }, t = I(async (s) => {
118
+ const r = this.traceResult?.elements;
119
+ if (!r?.length) {
120
+ e();
121
+ return;
122
+ }
123
+ h(() => this.state = "loading"), this.#F(r), await this.#g(s), await this.#w(s), u(s), this.disableHighlight || this.#m(), e();
124
+ });
125
+ this.#t = t;
126
+ try {
127
+ await t.promise;
109
128
  } catch (s) {
110
- I(s, this, "Error while loading the selected utility network");
129
+ p(s) || (w(s, this, "Error while loading trace result"), this.#t === t && e());
130
+ } finally {
131
+ this.#t === t && (this.#t = void 0, h(() => this.state = "ready"));
111
132
  }
112
- this.#a = e.filter((s) => t.isUtilityLayer(s));
113
- const a = this.#a.filter((s) => !s.loaded).map((s) => s.load());
114
- a.length > 0 && (this.state = "loading", (await Promise.allSettled(a)).forEach((i) => {
115
- i.status === "rejected" && n("error", this, `Failed to load layer. Reason: ${i.reason}`);
116
- }));
117
- }
118
- async #y([e, t]) {
119
- const r = this.utilityNetwork?.getLayerIdBySourceId(e), a = this.#d(r), s = this.#c(t);
120
- if (r == null || !a) {
121
- this.#e.push(...s);
133
+ }
134
+ async #p([e, t], s) {
135
+ u(s);
136
+ const r = this.utilityNetwork?.getLayerIdBySourceId(e), o = this.#y(r), n = this.#f(t);
137
+ if (r == null || !o) {
138
+ this.#s.push(...n);
122
139
  return;
123
140
  }
124
- const i = a.createQuery();
125
- i.gdbVersion = this.utilityNetwork?.gdbVersion, i.objectIds = s.map((l) => l.objectId), i.outFields = ["*"];
126
- const { features: o } = await S(a, i);
127
- o.forEach((l) => {
128
- const u = l.layer;
129
- l.getEffectivePopupTemplate(this.#l) || (l.popupTemplate = u.createPopupTemplate());
130
- }), p(a) ? o.forEach((l) => {
131
- f(this.#i, l.layer.subtypeCode, () => []).push(l);
132
- }) : this.#s.set(r, o);
133
- }
134
- async #g() {
135
- const e = Array.from(this.#r.entries());
136
- if (!e.length)
141
+ const i = o.createQuery();
142
+ i.gdbVersion = this.utilityNetwork?.gdbVersion, i.objectIds = n.map((a) => a.objectId), i.outFields = ["*"];
143
+ const { features: l } = await S(o, i, { signal: s });
144
+ u(s), l.forEach((a) => {
145
+ const c = a.layer;
146
+ a.getEffectivePopupTemplate(this.#n) || (a.popupTemplate = c.createPopupTemplate());
147
+ }), F(o) ? l.forEach((a) => {
148
+ E(this.#l, a.layer.subtypeCode, () => []).push(a);
149
+ }) : this.#r.set(r, l);
150
+ }
151
+ async #w(e) {
152
+ const t = Array.from(this.#o.entries());
153
+ if (!t.length)
137
154
  return;
138
- this.state = "loading";
139
- const t = e.map((i) => this.#y(i));
140
- (await Promise.allSettled(t)).forEach((i, o) => {
155
+ const s = t.map((i) => this.#p(i, e)), r = await Promise.allSettled(s);
156
+ u(e), r.forEach((i, l) => {
141
157
  if (i.status === "rejected") {
142
- const [l] = e[o];
143
- n("error", this, `Failed to query features for source ${l}. Reason: ${i.reason}`);
158
+ const [a] = t[l];
159
+ d("error", this, `Failed to query features for source ${a}. Reason: ${i.reason}`);
144
160
  }
145
161
  });
146
- const a = Array.from(this.#s.values()), s = Array.from(this.#i.values());
147
- g(() => this.features = a.concat(s).flat());
148
- }
149
- #p(e) {
150
- e.forEach((t) => {
151
- f(this.#r, t.networkSourceId, () => []).push(t);
152
- });
162
+ const o = Array.from(this.#r.values()), n = Array.from(this.#l.values());
163
+ h(() => this.features = o.concat(n).flat());
153
164
  }
154
165
  #F(e) {
166
+ this.#o = Map.groupBy(e, ({ networkSourceId: t }) => t);
167
+ }
168
+ #R(e) {
155
169
  const { detail: t } = e;
156
170
  (t.name === "selectedDrillInFeature" || t.name === "selectedFeature") && (e.stopPropagation(), this.arcgisPropertyChange.emit({ name: "selectedResultFeature" }));
157
171
  }
158
- #w(e) {
172
+ #b(e) {
159
173
  e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
160
174
  }
161
- #R() {
162
- return d`<div class="features-hidden">${this._messages.resultFeaturesAreHidden}</div>`;
175
+ #E() {
176
+ return y`<div class="features-hidden">${this._messages.resultFeaturesAreHidden}</div>`;
163
177
  }
164
- #b() {
178
+ #L() {
165
179
  const { heading: e, _messages: t } = this;
166
- return d`<calcite-list .label=${t.headings.features}><calcite-list-item class="elements-list-item" .label=${e || t.headings.features} @calciteListItemSelect=${() => this._isFeaturesSelected = !0}><calcite-chip .label=${t.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
180
+ return y`<calcite-list .label=${t.headings.features}><calcite-list-item class="elements-list-item" .label=${e || t.headings.features} @calciteListItemSelect=${() => this._isFeaturesSelected = !0}><calcite-chip .label=${t.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
167
181
  }
168
182
  render() {
169
- return this.state === "loading" ? null : this.hideFeatureResults ? this.hidePlaceholder ? null : this.#R() : this.isFeaturesListShown ? d`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#l} .features=${this.features} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.#o} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} initial-display-mode=list .messageOverrides=${this.messageOverrides} open .referenceElement=${this.referenceElement} .view=${this.view} @arcgisClose=${() => this._isFeaturesSelected = !1} @arcgisPropertyChange=${this.#F} @arcgisTriggerAction=${this.#w} ${w(this.#h)}></arcgis-features-next>` : this.#b();
183
+ return !this.traceResult?.elements.length || this.manager.destroyed ? null : this.hideFeatureResults ? this.hidePlaceholder ? null : this.#E() : this.isFeaturesListShown ? y`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#n} .features=${this.features} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.#h} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} initial-display-mode=list .messageOverrides=${this.messageOverrides} open .referenceElement=${this.referenceElement} .view=${this.view} @arcgisClose=${() => this._isFeaturesSelected = !1} @arcgisPropertyChange=${this.#R} @arcgisTriggerAction=${this.#b} ${b(this.#d)}></arcgis-features-next>` : this.#L();
170
184
  }
171
185
  }
172
- F("arcgis-utility-network-trace-elements-result-item", A);
186
+ R("arcgis-utility-network-trace-elements-result-item", k);
173
187
  export {
174
- A as ArcgisUtilityNetworkTraceElementsResultItem
188
+ k as ArcgisUtilityNetworkTraceElementsResultItem
175
189
  };
@@ -1,6 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
+ import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
4
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
5
6
 
6
7
  /**
@@ -19,12 +20,40 @@ export abstract class ArcgisUtilityNetworkTraceFunctionsResultItem extends LitEl
19
20
  componentLabel: string;
20
21
  labels: { functionResults: string; };
21
22
  }>;
23
+ /**
24
+ * Whether the component emits event [@arcgisResultReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/#event-arcgisResultReady).
25
+ * This property is always `true` for [arcgis-utility-network-trace-functions-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-functions-result-item/).
26
+ *
27
+ * @default false
28
+ */
29
+ get emitsArcgisResultReady(): true;
22
30
  /** The heading displayed above the result item. */
23
31
  accessor heading: string | undefined;
32
+ /**
33
+ * @default "ready"
34
+ * @internal
35
+ */
36
+ get state(): UtilityNetworkTraceResultItemState;
24
37
  /**
25
38
  * The trace result containing the function results to render.
26
39
  *
27
40
  * @required
28
41
  */
29
42
  accessor traceResult: TraceResult | undefined;
43
+ /**
44
+ * Clears the result item.
45
+ * This result item has no side effects to clear.
46
+ *
47
+ * @internal
48
+ */
49
+ clearResult(): void;
50
+ /** Permanently destroy the component. */
51
+ destroy(): Promise<void>;
52
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
53
+ /** Fires when the component is finished rendering its results. */
54
+ readonly arcgisResultReady: import("@arcgis/lumina").TargetedEvent<this, void>;
55
+ readonly "@eventTypes": {
56
+ arcgisPropertyChange: ArcgisUtilityNetworkTraceFunctionsResultItem["arcgisPropertyChange"]["detail"];
57
+ arcgisResultReady: ArcgisUtilityNetworkTraceFunctionsResultItem["arcgisResultReady"]["detail"];
58
+ };
30
59
  }
@@ -1,34 +1,48 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as m } from "../../chunks/runtime.js";
3
- import { css as g, html as e } from "lit";
4
- import { LitElement as b } from "@arcgis/lumina";
5
- import { log as l, composeMissingPropertyMessage as p, composeEmptyPropertyMessage as h } from "@arcgis/toolkit/log";
6
- import { u as f } from "../../chunks/useT9n.js";
7
- const d = g`calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.functions-heading{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`;
8
- class w extends b {
2
+ import { c as u } from "../../chunks/runtime.js";
3
+ import { LitElement as m, createEvent as h } from "@arcgis/lumina";
4
+ import { usePropertyChange as g, bypassReadOnly as d } from "@arcgis/lumina/controllers";
5
+ import { log as b, composeEmptyPropertyMessage as R } from "@arcgis/toolkit/log";
6
+ import { css as f, html as s } from "lit";
7
+ import { u as p } from "../../chunks/useT9n.js";
8
+ const y = f`calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.functions-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)}`;
9
+ class w extends m {
9
10
  constructor() {
10
- super(...arguments), this._messages = f({ blocking: !0 });
11
+ super(...arguments), this._messages = p({ blocking: !0 }), this.emitsArcgisResultReady = !0, this.state = "ready", this.arcgisPropertyChange = g()("state"), this.arcgisResultReady = h();
11
12
  }
12
13
  static {
13
- this.properties = { heading: 1, traceResult: 0 };
14
+ this.properties = { emitsArcgisResultReady: 32, heading: 1, state: 32, traceResult: 0 };
14
15
  }
15
16
  static {
16
- this.styles = d;
17
+ this.styles = y;
18
+ }
19
+ clearResult() {
20
+ }
21
+ async destroy() {
22
+ }
23
+ load() {
24
+ this.traceResult && this.#t();
25
+ }
26
+ willUpdate(e) {
27
+ e.has("traceResult") && this.#t();
17
28
  }
18
29
  loaded() {
19
- this.traceResult ? this.traceResult.globalFunctionResults.length || l("warn", this, h("traceResult")) : l("warn", this, p("traceResult"));
30
+ this.traceResult && !this.traceResult.globalFunctionResults.length && b("warn", this, R("traceResult.globalFunctionResults"));
31
+ }
32
+ #t() {
33
+ d(() => this.state = "ready"), this.arcgisResultReady.emit();
20
34
  }
21
35
  render() {
22
36
  if (!this.traceResult?.globalFunctionResults.length)
23
- return;
24
- const { heading: c, _messages: s } = this, { globalFunctionResults: i } = this.traceResult;
25
- return e`${c && e`<div class="functions-heading">${c}</div>` || ""}<calcite-table .caption=${s.labels.functionResults}>${i.filter((t) => t.networkAttributeName != null && t.result != null && t.functionType != null).map((t) => {
26
- const { functionName: a, networkAttributeName: r, functionType: o, result: n } = t, u = a || `${r} ${o}`;
27
- return e`<calcite-table-row><calcite-table-cell>${u}</calcite-table-cell><calcite-table-cell>${n}</calcite-table-cell></calcite-table-row>`;
37
+ return null;
38
+ const { heading: e, _messages: l } = this, { globalFunctionResults: a } = this.traceResult;
39
+ return s`${e && s`<div class="functions-heading">${e}</div>` || ""}<calcite-table .caption=${l.labels.functionResults}>${a.filter((t) => t.networkAttributeName != null && t.result != null && t.functionType != null).map((t) => {
40
+ const { functionName: i, networkAttributeName: c, functionType: r, result: o } = t, n = i || `${c} ${r}`;
41
+ return s`<calcite-table-row><calcite-table-cell>${n}</calcite-table-cell><calcite-table-cell>${o}</calcite-table-cell></calcite-table-row>`;
28
42
  })}</calcite-table>`;
29
43
  }
30
44
  }
31
- m("arcgis-utility-network-trace-functions-result-item", w);
45
+ u("arcgis-utility-network-trace-functions-result-item", w);
32
46
  export {
33
47
  w as ArcgisUtilityNetworkTraceFunctionsResultItem
34
48
  };
@@ -14,7 +14,7 @@ import B from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
14
14
  import { LitElement as N, createEvent as S } from "@arcgis/lumina";
15
15
  import { log as u, composeMissingPropertyMessage as b } from "@arcgis/toolkit/log";
16
16
  import { u as q } from "../../chunks/useT9n.js";
17
- import { a as D, c as j, d as G, i as H } from "../../chunks/layer-utils.js";
17
+ import { a as D, d as j, e as G, i as H } from "../../chunks/layer-utils.js";
18
18
  import { css as O, html as p } from "lit";
19
19
  import v from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
20
20
  import { substitute as U } from "@arcgis/core/intl.js";