@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
@@ -10,12 +10,15 @@ import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
10
10
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
11
11
  import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
12
12
  import type { ArcgisReferenceElement } from "../types.js";
13
+ import type { UtilityNetworkTraceResultItemState } from "../arcgis-utility-network-trace-analysis/types.js";
14
+ import type { ArcgisUtilityNetworkTraceElementsResultItem } from "../arcgis-utility-network-trace-elements-result-item/customElement.js";
13
15
  import type { T9nMeta } from "@arcgis/lumina/controllers";
14
16
 
15
17
  /**
16
18
  * This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
17
19
  * It displays a subset of trace result types.
18
20
  *
21
+ * @slot - Default slot for adding trace result items or custom content to the component.
19
22
  * @since 4.34
20
23
  * @internal
21
24
  */
@@ -33,6 +36,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
33
36
  functionResults: string;
34
37
  numFeatures: string;
35
38
  };
39
+ noMatchingResultItems: string;
36
40
  noResultsDescription: string;
37
41
  noResultsHeading: string;
38
42
  noSelectableFeatures: string;
@@ -58,6 +62,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
58
62
  functionResults: string;
59
63
  numFeatures: string;
60
64
  };
65
+ noMatchingResultItems: string;
61
66
  noResultsDescription: string;
62
67
  noResultsHeading: string;
63
68
  noSelectableFeatures: string;
@@ -82,6 +87,14 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
82
87
  * @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
83
88
  */
84
89
  accessor actions: ArcgisFeaturesNext["actions"] | undefined;
90
+ /**
91
+ * The color used to render graphics for aggregated geometries in trace results, specified as a
92
+ * [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
93
+ *
94
+ * Aggregated geometry is only rendered if the trace configuration specifies aggregated geometry as a result type.
95
+ *
96
+ * Default color is #FFFF00.
97
+ */
85
98
  accessor aggregatedGeometryGraphicsColor: Color;
86
99
  /**
87
100
  * If true, the component will not be destroyed automatically when it is
@@ -109,13 +122,36 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
109
122
  * @default false
110
123
  */
111
124
  accessor disableHighlightFeatureResults: boolean;
125
+ /**
126
+ * When `true`, the component can be expanded and collapsed.
127
+ *
128
+ * @default false
129
+ */
130
+ accessor expandable: boolean;
131
+ /**
132
+ * When `true`, expands the component and its contents.
133
+ *
134
+ * @default false
135
+ */
136
+ accessor expanded: boolean;
137
+ /** Specifies the component's heading text. */
112
138
  accessor heading: string | undefined;
113
139
  /**
140
+ * Indicates whether to hide the action bar that holds the feature's
141
+ * [arcgis-features-next.actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) when selecting trace locations
142
+ * and viewing trace result features.
143
+ *
114
144
  * @default false
115
- * @internal
116
145
  */
117
146
  accessor hideActionBar: boolean;
118
- /** @default false */
147
+ /**
148
+ * Whether to hide feature results.
149
+ *
150
+ * A message will be displayed in its place indicating that features were returned by the trace, but are not visible in the component.
151
+ * This string can be overridden with the [messageOverrides](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-results/#messageOverrides) property.
152
+ *
153
+ * @default false
154
+ */
119
155
  accessor hideFeatureResults: boolean;
120
156
  /**
121
157
  * Whether to hide the aggregated geometry [graphics](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-aggregated-geometry-result-item/#geometryGraphics)
@@ -141,13 +177,14 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
141
177
  * @default false
142
178
  */
143
179
  accessor includeDefaultActionsDisabled: boolean;
180
+ /** The layers and tables used to query trace result features. */
144
181
  accessor layers: Layer[];
145
182
  /**
146
183
  * Replace localized message strings with your own strings.
147
184
  *
148
185
  * _**Note**: Individual message keys may change between releases._
149
186
  */
150
- accessor messageOverrides: {
187
+ accessor messageOverrides: NonNullable<ArcgisUtilityNetworkTraceElementsResultItem["messageOverrides"]> & {
151
188
  gettingResults?: string | undefined;
152
189
  headings?: {
153
190
  aggregatedGeometry?: string | undefined;
@@ -159,6 +196,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
159
196
  functionResults?: string | undefined;
160
197
  numFeatures?: string | undefined;
161
198
  } | undefined;
199
+ noMatchingResultItems?: string | undefined;
162
200
  noResultsDescription?: string | undefined;
163
201
  noResultsHeading?: string | undefined;
164
202
  noSelectableFeatures?: string | undefined;
@@ -174,11 +212,11 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
174
212
  traceFailedHeading?: string | undefined;
175
213
  };
176
214
  /**
177
- * The number of unique network element results,
178
- * including elements that did not match any layer in the map.
215
+ * The number of unique network element results, including elements that did not match any layer in the map.
179
216
  *
180
- * TODO: We can remove this after we allow the result items to be rendered declaratively
181
- * as children of the trace results component.
217
+ * If multiple slotted instances [arcgis-utility-network-trace-elements-result-item](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/) exist,
218
+ * this property returns the [number of feature results](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-elements-result-item/#numResults)
219
+ * for the first instance.
182
220
  */
183
221
  get numFeatureResults(): number;
184
222
  /**
@@ -187,11 +225,23 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
187
225
  * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
188
226
  */
189
227
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
190
- /** @default "loading" */
191
- accessor state: State;
228
+ /**
229
+ * The current state of the trace results component.
230
+ *
231
+ * @default "ready"
232
+ */
233
+ get state(): UtilityNetworkTraceResultItemState;
234
+ /** The error returned when the trace could not be completed. */
192
235
  accessor traceError: EsriError<TraceErrorDetails> | undefined;
236
+ /** The trace result to display. */
193
237
  accessor traceResult: TraceResult | undefined;
238
+ /**
239
+ * The features corresponding to the
240
+ * [https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements)
241
+ * returned by the trace result.
242
+ */
194
243
  get traceResultFeatures(): Graphic[];
244
+ /** The utility network used to query trace result features. */
195
245
  accessor utilityNetwork: UtilityNetwork | undefined;
196
246
  /**
197
247
  * The view associated with the component.
@@ -203,19 +253,18 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
203
253
  destroy(): Promise<void>;
204
254
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
205
255
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "aggregatedGeometryGraphicsColor" | "hideGraphics" | "state" | "traceError"; }>;
206
- readonly arcgisTraceResultFeaturesReady: import("@arcgis/lumina").TargetedEvent<this, void>;
256
+ readonly arcgisResultsReady: import("@arcgis/lumina").TargetedEvent<this, void>;
257
+ readonly arcgisTraceResultClear: import("@arcgis/lumina").TargetedEvent<this, void>;
207
258
  /** Emitted when an action is triggered on the component. */
208
259
  readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, ActionEvent>;
209
260
  readonly "@eventTypes": {
210
261
  arcgisPropertyChange: ArcgisUtilityNetworkTraceResults["arcgisPropertyChange"]["detail"];
211
- arcgisTraceResultFeaturesReady: ArcgisUtilityNetworkTraceResults["arcgisTraceResultFeaturesReady"]["detail"];
262
+ arcgisResultsReady: ArcgisUtilityNetworkTraceResults["arcgisResultsReady"]["detail"];
263
+ arcgisTraceResultClear: ArcgisUtilityNetworkTraceResults["arcgisTraceResultClear"]["detail"];
212
264
  arcgisTriggerAction: ArcgisUtilityNetworkTraceResults["arcgisTriggerAction"]["detail"];
213
265
  };
214
266
  }
215
267
 
216
- /** @internal */
217
- export type State = "loading" | "ready";
218
-
219
268
  /** @internal */
220
269
  export interface TraceErrorDetails {
221
270
  url?: string;
@@ -1,112 +1,302 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as o } from "../../chunks/runtime.js";
3
- import { css as d, html as i } from "lit";
4
- import { ref as n } from "lit/directives/ref.js";
5
- import g from "@arcgis/core/Color.js";
6
- import { LitElement as h, createEvent as c } from "@arcgis/lumina";
7
- import { usePropertyChange as u } from "@arcgis/lumina/controllers";
8
- import { log as m, composeMissingPropertyMessage as p } from "@arcgis/toolkit/log";
9
- import { u as f } from "../../chunks/useT9n.js";
10
- const v = d`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, l = {
2
+ import { c as v } from "../../chunks/runtime.js";
3
+ import { ref as h } from "lit/directives/ref.js";
4
+ import I from "@arcgis/core/Color.js";
5
+ import { LitElement as w, createEvent as u } from "@arcgis/lumina";
6
+ import { usePropertyChange as $, bypassReadOnly as d } from "@arcgis/lumina/controllers";
7
+ import { slotChangeGetAssignedElements as b } from "@arcgis/toolkit/dom/slots";
8
+ import { log as G, composeMissingPropertyMessage as E } from "@arcgis/toolkit/log";
9
+ import { css as D, html as r } from "lit";
10
+ import { u as C } from "../../chunks/useT9n.js";
11
+ import { l as F } from "../../chunks/async-utils.js";
12
+ const o = [
13
+ "arcgis-utility-network-trace-aggregated-geometry-result-item",
14
+ "arcgis-utility-network-trace-elements-result-item",
15
+ "arcgis-utility-network-trace-functions-result-item"
16
+ ], R = o.join(", ");
17
+ function g(a) {
18
+ return a.localName === "arcgis-utility-network-trace-aggregated-geometry-result-item";
19
+ }
20
+ function n(a) {
21
+ return a.localName === "arcgis-utility-network-trace-elements-result-item";
22
+ }
23
+ function m(a) {
24
+ return a.localName === "arcgis-utility-network-trace-functions-result-item";
25
+ }
26
+ const k = D`:host{height:100%}slot:not([hidden]),.default-result-items{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.results-block{min-height:100%;margin-top:0;margin-bottom:0}.no-selectable-results{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, A = [
27
+ "hideGraphics",
28
+ "traceResult",
29
+ "view"
30
+ ], P = [
31
+ "actions",
32
+ "autoDestroyDisabled",
33
+ "hideActionBar",
34
+ "hideFeatureResults",
35
+ "hidePlaceholder",
36
+ "includeDefaultActionsDisabled",
37
+ "layers",
38
+ "messageOverrides",
39
+ "referenceElement",
40
+ "traceResult",
41
+ "utilityNetwork",
42
+ "view"
43
+ ], _ = [
44
+ "traceResult"
45
+ ], f = {
11
46
  dirtyAreasDiscovered: -2147208511,
12
47
  noValidControllers: -2147208935,
13
48
  pathNotFound: -2147208444
14
49
  };
15
- class y extends h {
50
+ class x extends w {
16
51
  constructor() {
17
- super(...arguments), this._messages = f({ blocking: !0 }), this.aggregatedGeometryGraphicsColor = new g([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "loading", this.arcgisTraceResultFeaturesReady = c(), this.arcgisTriggerAction = c(), this.arcgisPropertyChange = u()("aggregatedGeometryGraphicsColor", "hideGraphics", "state", "traceError");
52
+ super(...arguments), this._messages = C({ blocking: !0 }), this.#t = /* @__PURE__ */ new Set(), this.#s = /* @__PURE__ */ new Map(), this._slottedResultItems = [], this.aggregatedGeometryGraphicsColor = new I([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.expandable = !1, this.expanded = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "ready", this.arcgisPropertyChange = $()("aggregatedGeometryGraphicsColor", "hideGraphics", "state", "traceError"), this.arcgisResultsReady = u(), this.arcgisTraceResultClear = u(), this.arcgisTriggerAction = u();
18
53
  }
19
54
  static {
20
- this.properties = { actions: 0, aggregatedGeometryGraphicsColor: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, heading: 1, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, layers: 0, messageOverrides: 0, numFeatureResults: 32, referenceElement: 1, state: 1, traceError: 0, traceResult: 0, traceResultFeatures: 32, utilityNetwork: 0, view: 0 };
55
+ this.properties = { _slottedResultItems: 16, actions: 0, aggregatedGeometryGraphicsColor: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, expandable: 5, expanded: 5, heading: 1, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, layers: 0, messageOverrides: 0, numFeatureResults: 32, referenceElement: 1, state: 32, traceError: 0, traceResult: 0, traceResultFeatures: 32, utilityNetwork: 0, view: 0 };
21
56
  }
22
57
  static {
23
- this.styles = v;
58
+ this.styles = k;
24
59
  }
25
- #s;
60
+ #l;
26
61
  #e;
62
+ #n;
63
+ #t;
64
+ #s;
65
+ get #o() {
66
+ return Array.from(this.el.childNodes).some((e) => e.nodeType === Node.TEXT_NODE ? !!e.textContent?.trim() : e instanceof Element && !e.slot);
67
+ }
68
+ get #v() {
69
+ return this.traceResult ? this.#o ? this.#F() : this.#C(this.traceResult) : [];
70
+ }
71
+ get #i() {
72
+ return !!this.traceResult && !this.traceError && this.#c;
73
+ }
74
+ get #h() {
75
+ if (!this.traceResult || !this.#c || !this._slottedResultItems.length)
76
+ return !1;
77
+ const { aggregatedGeometry: e, elements: t, globalFunctionResults: s } = this.traceResult;
78
+ return this._slottedResultItems.some((i) => e != null && g(i) || t.length > 0 && n(i) || s.length > 0 && m(i));
79
+ }
80
+ get #c() {
81
+ if (!this.traceResult)
82
+ return !1;
83
+ const { elements: e, globalFunctionResults: t, aggregatedGeometry: s } = this.traceResult;
84
+ return !!(e.length || t.length || s);
85
+ }
27
86
  get numFeatureResults() {
28
- return this.#e?.numResults ?? 0;
87
+ return this.#e ? this.#e.numResults : this._slottedResultItems.find((t) => n(t))?.numResults ?? 0;
29
88
  }
30
89
  get traceResultFeatures() {
31
- return this.#e?.features ?? [];
90
+ return this.#e ? this.#e.features : this._slottedResultItems.find((t) => n(t))?.features ?? [];
32
91
  }
33
92
  clearResults() {
34
- this.#s?.clearResult(), this.#e?.clearResult();
93
+ this.#u(), this.arcgisTraceResultClear.emit();
35
94
  }
36
95
  async destroy() {
37
- await this.#s?.destroy(), await this.#e?.destroy(), await this.manager.destroy();
96
+ const e = await Promise.allSettled([
97
+ ...this._slottedResultItems.map((t) => t.destroy()),
98
+ this.#l?.destroy(),
99
+ this.#e?.destroy(),
100
+ this.#n?.destroy()
101
+ ]);
102
+ for (const t of e)
103
+ t.status === "rejected" && F(t.reason, this, "Error while destroying trace result item");
104
+ await this.manager.destroy();
38
105
  }
39
106
  load() {
40
- this.traceResult && (this.view || m("warn", this, p("view")));
107
+ this.manager.onLifecycle(() => {
108
+ for (const e of this._slottedResultItems)
109
+ this.#m(e);
110
+ return () => {
111
+ for (const e of this.#s.keys())
112
+ this.#f(e);
113
+ };
114
+ }), this.traceResult && (this.view || G("warn", this, E("view")));
41
115
  }
42
- #i(e) {
43
- e && (this.#s = e);
116
+ willUpdate(e) {
117
+ e.has("view") && this.#D(), e.has("traceResult") && (this.#u(), this.#i && this.#g(this.#v)), this.#i && this._slottedResultItems.length && (this.#b(e), this.#G(e), this.#E(e));
44
118
  }
45
- #a(e) {
119
+ #u() {
120
+ this.#l?.clearResult(), this.#e?.clearResult(), this.#n?.clearResult(), this._slottedResultItems.forEach((e) => e.clearResult()), this.#t.clear(), d(() => this.state = "ready");
121
+ }
122
+ #I(e) {
123
+ e && (this.#l = e);
124
+ }
125
+ #w(e) {
46
126
  e && (this.#e = e);
47
127
  }
48
- #r(e) {
128
+ #$(e) {
129
+ e && (this.#n = e);
130
+ }
131
+ #b(e) {
132
+ const t = this._slottedResultItems.filter((s) => g(s));
133
+ A.filter((s) => e.has(s)).forEach((s) => {
134
+ t.forEach((i) => this.#y(i, s, this[s]));
135
+ }), e.has("aggregatedGeometryGraphicsColor") && t.forEach((s) => this.#y(s, "graphicsColor", this.aggregatedGeometryGraphicsColor));
136
+ }
137
+ #G(e) {
138
+ const t = this._slottedResultItems.filter((s) => n(s));
139
+ P.filter((s) => e.has(s)).forEach((s) => {
140
+ t.forEach((i) => this.#p(i, s, this[s]));
141
+ }), e.has("disableHighlightFeatureResults") && t.forEach((s) => this.#p(s, "disableHighlight", this.disableHighlightFeatureResults));
142
+ }
143
+ #E(e) {
144
+ const t = this._slottedResultItems.filter((s) => m(s));
145
+ _.filter((s) => e.has(s)).forEach((s) => {
146
+ t.forEach((i) => this.#a(i, s, this[s]));
147
+ }), e.has("heading") && t.forEach((s) => this.#a(s, "heading", this._messages.headings.functions));
148
+ }
149
+ async #D() {
150
+ const { view: e } = this;
151
+ if (e) {
152
+ await e.when();
153
+ for (const t of this._slottedResultItems)
154
+ this.#R(t);
155
+ }
156
+ }
157
+ #C(e) {
158
+ const { elements: t, globalFunctionResults: s, aggregatedGeometry: i } = e, [l, y, p] = o, c = [];
159
+ return i != null && c.push(l), t != null && c.push(y), s.length > 0 && c.push(p), c;
160
+ }
161
+ #F() {
162
+ return Array.from(this.el.children).filter((e) => e.matches(R));
163
+ }
164
+ #k(e) {
49
165
  const { detail: t } = e;
50
166
  t.name === "isFeaturesListShown" && this.requestUpdate();
51
167
  }
52
- #l() {
53
- this.arcgisTraceResultFeaturesReady.emit(), this.state = "ready";
54
- }
55
- #n(e) {
168
+ #A(e) {
56
169
  e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
57
170
  }
58
- #c(e) {
171
+ #P(e) {
59
172
  const { detail: t, target: s } = e;
60
173
  t.name === "hideGraphics" ? (e.stopPropagation(), this.hideGraphics = s[t.name]) : t.name === "graphicsColor" && (e.stopPropagation(), this.aggregatedGeometryGraphicsColor = s[t.name]);
61
174
  }
175
+ #_() {
176
+ this.#r(o[0]);
177
+ }
178
+ #x() {
179
+ this.#r(o[1]);
180
+ }
181
+ #N() {
182
+ this.#r(o[2]);
183
+ }
184
+ #d() {
185
+ d(() => this.state = "ready"), this.arcgisResultsReady.emit();
186
+ }
187
+ #g(e) {
188
+ this.#t = new Set(e), this.#t.size === 0 ? this.#d() : d(() => this.state = "loading");
189
+ }
190
+ #m(e) {
191
+ if (this.#s.has(e))
192
+ return;
193
+ const t = ({ target: s }) => this.#r(s);
194
+ this.#s.set(e, t), e.addEventListener("arcgisResultReady", t);
195
+ }
196
+ #f(e) {
197
+ const t = this.#s.get(e);
198
+ t && (e.removeEventListener("arcgisResultReady", t), this.#s.delete(e));
199
+ }
200
+ #T(e) {
201
+ const t = b(e, R);
202
+ for (const s of this.#s.keys())
203
+ t.includes(s) || (this.#f(s), this.#t.delete(s));
204
+ this._slottedResultItems = t, this.#i && this.#g(t);
205
+ for (const s of this._slottedResultItems)
206
+ this.#m(s), this.#R(s);
207
+ }
208
+ #r(e) {
209
+ this.#t.delete(e), this.state === "loading" && this.#t.size === 0 && this.#d();
210
+ }
211
+ #R(e) {
212
+ g(e) ? this.#S(e) : n(e) ? this.#H(e) : m(e) && this.#L(e);
213
+ }
214
+ #y(e, t, s) {
215
+ e[t] = s;
216
+ }
217
+ #S(e) {
218
+ const t = {
219
+ autoDestroyDisabled: this.autoDestroyDisabled,
220
+ graphicsColor: this.aggregatedGeometryGraphicsColor,
221
+ hideGraphics: this.hideGraphics,
222
+ traceResult: this.traceResult,
223
+ view: this.view
224
+ };
225
+ Object.assign(e, t);
226
+ }
227
+ #p(e, t, s) {
228
+ e[t] = s;
229
+ }
230
+ #H(e) {
231
+ const t = {
232
+ actions: this.actions,
233
+ autoDestroyDisabled: this.autoDestroyDisabled,
234
+ disableHighlight: this.disableHighlightFeatureResults,
235
+ hideActionBar: this.hideActionBar,
236
+ hideFeatureResults: this.hideFeatureResults,
237
+ hidePlaceholder: this.hidePlaceholder,
238
+ includeDefaultActionsDisabled: this.includeDefaultActionsDisabled,
239
+ layers: this.layers,
240
+ messageOverrides: this.messageOverrides,
241
+ referenceElement: this.referenceElement,
242
+ traceResult: this.traceResult,
243
+ utilityNetwork: this.utilityNetwork,
244
+ view: this.view
245
+ };
246
+ Object.assign(e, t);
247
+ }
248
+ #a(e, t, s) {
249
+ e[t] = s;
250
+ }
251
+ #L(e) {
252
+ const t = {
253
+ heading: this._messages.headings.functions,
254
+ traceResult: this.traceResult
255
+ };
256
+ this.#a(e, "heading", t.heading), this.#a(e, "traceResult", t.traceResult);
257
+ }
62
258
  render() {
63
259
  const { traceError: e, traceResult: t } = this;
64
- if (e)
65
- return this.#h(e);
66
- if (!t)
67
- return this.#m();
68
- const { elements: s, globalFunctionResults: a, aggregatedGeometry: r } = t;
69
- return !s.length && !a.length && !r ? this.#u() : i`<calcite-panel class="white-panel-background">${this.state === "loading" ? this.#o() : null}${this.#d(t)}</calcite-panel>`;
260
+ let s;
261
+ const i = !this.#i || !this.#o || !this.#h, l = r`<slot .hidden=${i} @slotchange=${this.#T}></slot>`;
262
+ return e ? s = this.#z(e) : t ? this.#c ? this.#o ? this.#h || (s = this.#B()) : s = this.#O(t) : s = this.#j() : s = this.#V(), r`<calcite-block class="results-block" .description=${this.heading} .expandable=${this.expandable} .expanded=${this.expanded} .heading=${this._messages.headings.traceResultsGeneric} .label=${this._messages.headings.traceResultsGeneric} .loading=${this.state === "loading"}>${l}${s}</calcite-block>`;
70
263
  }
71
- #o() {
72
- return i`<calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader>`;
264
+ #O(e) {
265
+ const t = this.#e?.isFeaturesListShown, { elements: s, globalFunctionResults: i, aggregatedGeometry: l } = e;
266
+ return r`<div class="default-result-items">${l != null ? r`<arcgis-utility-network-trace-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .hideGraphics=${this.hideGraphics} .hidden=${t} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#P} @arcgisResultReady=${this.#_} ${h(this.#I)}></arcgis-utility-network-trace-aggregated-geometry-result-item>${!s.length && !t ? this.#M() : null}` : null}${s != null ? r`<arcgis-utility-network-trace-elements-result-item .actions=${this.actions} auto-destroy-disabled .disableHighlight=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .hidden=${!s.length} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.layers} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceResult=${e} .utilityNetwork=${this.utilityNetwork} .view=${this.view} @arcgisPropertyChange=${this.#k} @arcgisResultReady=${this.#x} @arcgisTriggerAction=${this.#A} ${h(this.#w)}></arcgis-utility-network-trace-elements-result-item>` : null}${i.length > 0 ? r`<arcgis-utility-network-trace-functions-result-item .heading=${this._messages.headings.functions} .hidden=${t} .traceResult=${e} @arcgisResultReady=${this.#N} ${h(this.#$)}></arcgis-utility-network-trace-functions-result-item>` : null}</div>`;
73
267
  }
74
- #d(e) {
75
- const t = this.#e?.isFeaturesListShown, { elements: s, globalFunctionResults: a, aggregatedGeometry: r } = e;
76
- return i`<div .hidden=${this.state === "loading"}>${t ? null : this.#t()}${r != null ? i`<arcgis-utility-network-trace-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .hideGraphics=${this.hideGraphics} .hidden=${t} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#c} ${n(this.#i)}></arcgis-utility-network-trace-aggregated-geometry-result-item>${!s.length && !t ? this.#g() : null}` : null}${s != null ? i`<arcgis-utility-network-trace-elements-result-item .actions=${this.actions} auto-destroy-disabled .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .hidden=${!s.length} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.layers} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceResult=${e} .utilityNetwork=${this.utilityNetwork} .view=${this.view} @arcgisPropertyChange=${this.#r} @arcgisResultReady=${this.#l} @arcgisTriggerAction=${this.#n} ${n(this.#a)}></arcgis-utility-network-trace-elements-result-item>` : null}${a.length > 0 ? i`<arcgis-utility-network-trace-functions-result-item .heading=${this._messages.headings.functions} .hidden=${t} .traceResult=${e}></arcgis-utility-network-trace-functions-result-item>` : null}</div>`;
268
+ #B() {
269
+ return r`<div class="no-selectable-results">${this._messages.noMatchingResultItems}</div>`;
77
270
  }
78
- #g() {
79
- return i`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
271
+ #M() {
272
+ return r`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
80
273
  }
81
- #t() {
82
- return i`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.heading ? i`<div class="results-heading-subtitle">${this.heading}</div>` : null}</div>`;
83
- }
84
- #h(e) {
274
+ #z(e) {
85
275
  const { _messages: t } = this;
86
276
  let s = e.message;
87
277
  switch (e.details?.raw?.extendedCode) {
88
- case l.dirtyAreasDiscovered:
278
+ case f.dirtyAreasDiscovered:
89
279
  s = t.traceErrors.dirtyAreasDiscovered;
90
280
  break;
91
- case l.noValidControllers:
281
+ case f.noValidControllers:
92
282
  s = t.traceErrors.noValidControllers;
93
283
  break;
94
- case l.pathNotFound:
284
+ case f.pathNotFound:
95
285
  s = t.traceErrors.pathNotFound;
96
286
  break;
97
287
  }
98
- return i`<calcite-panel class="white-panel-background">${this.#t()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${t.traceFailedHeading}</div><div class="no-results-description">${t.traceFailedDescription}</div><div class="no-results-description">${s}</div></div></calcite-panel>`;
288
+ return r`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${t.traceFailedHeading}</div><div class="no-results-description">${t.traceFailedDescription}</div><div class="no-results-description">${s}</div></div>`;
99
289
  }
100
- #u() {
290
+ #j() {
101
291
  const { _messages: e } = this;
102
- return i`<calcite-panel class="white-panel-background">${this.#t()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${e.noResultsHeading}</div><div class="no-results-description">${e.noResultsDescription}</div></div></calcite-panel>`;
292
+ return r`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${e.noResultsHeading}</div><div class="no-results-description">${e.noResultsDescription}</div></div>`;
103
293
  }
104
- #m() {
294
+ #V() {
105
295
  const { _messages: e } = this;
106
- return i`<calcite-panel class="white-panel-background">${this.#t()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${e.noTraceConfigHeading}</div><div class="no-results-description">${e.noTraceConfigDescription}</div></div></calcite-panel>`;
296
+ return r`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${e.noTraceConfigHeading}</div><div class="no-results-description">${e.noTraceConfigDescription}</div></div>`;
107
297
  }
108
298
  }
109
- o("arcgis-utility-network-trace-results", y);
299
+ v("arcgis-utility-network-trace-results", x);
110
300
  export {
111
- y as ArcgisUtilityNetworkTraceResults
301
+ x as ArcgisUtilityNetworkTraceResults
112
302
  };
@@ -1,5 +1,4 @@
1
- import "@esri/calcite-components/components/calcite-panel";
2
- import "@esri/calcite-components/components/calcite-loader";
1
+ import "@esri/calcite-components/components/calcite-block";
3
2
  import "../arcgis-utility-network-trace-aggregated-geometry-result-item/index.js";
4
3
  import "../arcgis-utility-network-trace-elements-result-item/index.js";
5
4
  import "../arcgis-utility-network-trace-functions-result-item/index.js";
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as i } from "../../chunks/runtime.js";
3
- import { css as n, html as l } from "lit";
4
- import { LitElement as o } from "@arcgis/lumina";
5
- import { slotChangeGetAssignedElements as a } from "@arcgis/toolkit/dom/slots";
3
+ import { css as l, html as n } from "lit";
4
+ import { LitElement as a } from "@arcgis/lumina";
5
+ import { slotChangeGetAssignedElements as o } from "@arcgis/toolkit/dom/slots";
6
6
  import { log as e } from "@arcgis/toolkit/log";
7
- const c = n`:host{height:100%}slot::slotted(:not(arcgis-utility-network-trace-results,slot)){display:none}`;
8
- class h extends o {
7
+ const c = l`:host{height:100%}calcite-panel{--calcite-panel-space: 0}slot::slotted(arcgis-utility-network-trace-results){block-size:auto}slot::slotted(:not(arcgis-utility-network-trace-results,slot)){display:none}`;
8
+ class h extends a {
9
9
  constructor() {
10
10
  super(...arguments), this.hideWarnings = !1;
11
11
  }
@@ -18,7 +18,7 @@ class h extends o {
18
18
  #t(s) {
19
19
  if (this.hideWarnings)
20
20
  return;
21
- const t = a(s);
21
+ const t = o(s);
22
22
  if (!t.length) {
23
23
  e("warn", this, "No elements are assigned to the default slot to render.");
24
24
  return;
@@ -26,7 +26,7 @@ class h extends o {
26
26
  t.filter((r) => r.localName !== "arcgis-utility-network-trace-results").length && e("warn", this, "The trace results pane only renders instances of `arcgis-utility-network-trace-results`.");
27
27
  }
28
28
  render() {
29
- return l`<calcite-panel><slot @slotchange=${this.#t}></slot></calcite-panel>`;
29
+ return n`<calcite-panel><slot @slotchange=${this.#t}></slot></calcite-panel>`;
30
30
  }
31
31
  }
32
32
  i("arcgis-utility-network-trace-results-pane", h);
@@ -11,7 +11,7 @@ import { generateGuid as I } from "@arcgis/toolkit/string";
11
11
  import { u as L } from "../../chunks/useT9n.js";
12
12
  import { u as S } from "../../chunks/useView.js";
13
13
  import { c as C, t as n, i as O, l as D } from "../../chunks/async-utils.js";
14
- import { d as q } from "../../chunks/layer-utils.js";
14
+ import { e as q } from "../../chunks/layer-utils.js";
15
15
  const P = V`: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%)}calcite-block{margin:0;border-bottom:none}calcite-combobox{margin-bottom:var(--calcite-spacing-sm)}calcite-icon{width:32px}`, d = {
16
16
  noDirtyAreasInExtent: -2147208940,
17
17
  operationOnlyAllowedByOwner: -2147217144,