@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.8

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 (458) hide show
  1. package/dist/cdn/{BD5LNODX.js → 23ASAGYP.js} +2 -2
  2. package/dist/cdn/{FGRJXTC4.js → 2554QVRC.js} +2 -2
  3. package/dist/cdn/{N35AGRPR.js → 26QXSRVS.js} +2 -2
  4. package/dist/cdn/2CECWMVK.js +4 -0
  5. package/dist/cdn/{YNUARQV3.js → 2FRPZWMI.js} +2 -2
  6. package/dist/cdn/{KY4EUKNJ.js → 2FUC7QP6.js} +2 -2
  7. package/dist/cdn/2LM2R7B3.js +4 -0
  8. package/dist/cdn/{UAIGXACR.js → 2MJKZQFY.js} +2 -2
  9. package/dist/cdn/{Q4AC6G46.js → 2PLOTVLI.js} +2 -2
  10. package/dist/cdn/{MJ4YBES2.js → 2PSREXHQ.js} +2 -2
  11. package/dist/cdn/{CGL4MV5F.js → 2TDRLZ7S.js} +2 -2
  12. package/dist/cdn/{7KMCO32Q.js → 2TTMDDIE.js} +2 -2
  13. package/dist/cdn/{JT24YIBS.js → 2VBGQQ7G.js} +2 -2
  14. package/dist/cdn/{SNZU6GQA.js → 2ZKJ3OQJ.js} +2 -2
  15. package/dist/cdn/{YHSECDVX.js → 32WBTYH4.js} +2 -2
  16. package/dist/cdn/{2PXF3GPF.js → 33WLMRAZ.js} +2 -2
  17. package/dist/cdn/355WACH3.js +4 -0
  18. package/dist/cdn/{KQBARG67.js → 3QVZ6V7G.js} +2 -2
  19. package/dist/cdn/{JGAMA7FC.js → 3S3DT5VV.js} +2 -2
  20. package/dist/cdn/{OM5T7IMH.js → 3VALLIQN.js} +2 -2
  21. package/dist/cdn/{4PNCM4AX.js → 3VHC25P4.js} +2 -2
  22. package/dist/cdn/{YLUUTWQL.js → 3ZJW5QWB.js} +1 -1
  23. package/dist/cdn/{5GGEMLNR.js → 4DX6NMYX.js} +1 -1
  24. package/dist/cdn/{7B3GFLM4.js → 4MBDMR4B.js} +2 -2
  25. package/dist/cdn/{JCYH652U.js → 4QMTMF4A.js} +2 -2
  26. package/dist/cdn/{OB7MFKZ2.js → 4UGJ23D4.js} +2 -2
  27. package/dist/cdn/{GBFC7BDF.js → 4XQBP25B.js} +2 -2
  28. package/dist/cdn/{KKW7L2H6.js → 55JWAAO7.js} +2 -2
  29. package/dist/cdn/{24FIOFGL.js → 55U3YBF3.js} +2 -2
  30. package/dist/cdn/{YXLQEOV6.js → 5JMTQ2US.js} +2 -2
  31. package/dist/cdn/{U4WWVT6W.js → 5LA55TQF.js} +2 -2
  32. package/dist/cdn/5Q3SJX5R.js +4 -0
  33. package/dist/cdn/5Q4EJVSR.js +4 -0
  34. package/dist/cdn/5XK6MNTC.js +4 -0
  35. package/dist/cdn/{LDRCHRH6.js → 5XUPDERZ.js} +2 -2
  36. package/dist/cdn/{3KXHDPQI.js → 5XVI44I7.js} +1 -1
  37. package/dist/cdn/{U4PIL5HO.js → 64SN6WSY.js} +1 -1
  38. package/dist/cdn/{NYJGMFYD.js → 6N6E5455.js} +2 -2
  39. package/dist/cdn/{VRJQ2TUN.js → 6NO6BM5P.js} +2 -2
  40. package/dist/cdn/{4XPC3USH.js → 6R7D4RJE.js} +2 -2
  41. package/dist/cdn/{F75STQIS.js → 77LZNLNM.js} +2 -2
  42. package/dist/cdn/{BZSTQJWD.js → 7G4RDHXH.js} +2 -2
  43. package/dist/cdn/{EMQJDRYZ.js → A25BQHL2.js} +2 -2
  44. package/dist/cdn/AA3LXKI7.js +4 -0
  45. package/dist/cdn/AA3QNSWT.js +4 -0
  46. package/dist/cdn/ABP2SI4D.js +4 -0
  47. package/dist/cdn/{N54JLHJH.js → ATWX77AZ.js} +2 -2
  48. package/dist/cdn/{K7O52SLI.js → AZO24OGM.js} +1 -1
  49. package/dist/cdn/{KUGNRX5I.js → BOPWKAAG.js} +2 -2
  50. package/dist/cdn/{5KFUEZNB.js → BXULVDX2.js} +2 -2
  51. package/dist/cdn/{6N5YEI5U.js → BYJWYYJD.js} +2 -2
  52. package/dist/cdn/{A5LDRWTA.js → CBBDZGRH.js} +2 -2
  53. package/dist/cdn/{2WK2MSUI.js → CCZV7WQU.js} +2 -2
  54. package/dist/cdn/{JEKQ4FH3.js → CERY5KV5.js} +2 -2
  55. package/dist/cdn/{GLZM6JSO.js → CGY52QHC.js} +2 -2
  56. package/dist/cdn/CGZ4Z6PI.js +4 -0
  57. package/dist/cdn/CJGHGUKT.js +4 -0
  58. package/dist/cdn/{KK2JJGUK.js → CM7JBESZ.js} +2 -2
  59. package/dist/cdn/{ZON57F3Z.js → CMDH2LBN.js} +2 -2
  60. package/dist/cdn/{5PLNMTFM.js → D7TRZ6UC.js} +2 -2
  61. package/dist/cdn/{3R4HANKL.js → DCV54J4B.js} +1 -1
  62. package/dist/cdn/{7L55KE2V.js → DCVGLEXP.js} +2 -2
  63. package/dist/cdn/{XE4A4ZAW.js → DEXACXUX.js} +2 -2
  64. package/dist/cdn/{NICHIV22.js → DGKHPMEW.js} +2 -2
  65. package/dist/cdn/{GHCICMTZ.js → DH27WENW.js} +2 -2
  66. package/dist/cdn/{5VFO3P34.js → DH3KYNDW.js} +2 -2
  67. package/dist/cdn/{QZVSJ65F.js → DJN2OAET.js} +2 -2
  68. package/dist/cdn/{5ROISKK5.js → DJPESWJI.js} +2 -2
  69. package/dist/cdn/DKF7SNJS.js +4 -0
  70. package/dist/cdn/DOGXB6MI.js +4 -0
  71. package/dist/cdn/{MKR5A67F.js → DROYBBTC.js} +2 -2
  72. package/dist/cdn/{ZWJFEUXM.js → DSMC5XKI.js} +2 -2
  73. package/dist/cdn/{2TT7JHKU.js → DV4HYRLM.js} +2 -2
  74. package/dist/cdn/{ISGJWGMP.js → DXQSWPW6.js} +2 -2
  75. package/dist/cdn/{HTTTUKFU.js → DYDTLPK5.js} +2 -2
  76. package/dist/cdn/{ER5OU65T.js → E4ZG4KEB.js} +2 -2
  77. package/dist/cdn/{J52AVBWV.js → E5L65GS6.js} +2 -2
  78. package/dist/cdn/{VVDPWDSN.js → E6QVA3FP.js} +2 -2
  79. package/dist/cdn/{3ETI3KHD.js → E76HTPPH.js} +2 -2
  80. package/dist/cdn/{HSORIPSD.js → ENKOZHOF.js} +2 -2
  81. package/dist/cdn/{VN5JPWXN.js → EPDXVNDZ.js} +1 -1
  82. package/dist/cdn/EPRPWV56.js +4 -0
  83. package/dist/cdn/EYJHVNJU.js +4 -0
  84. package/dist/cdn/{KD63FUE7.js → F22PT2MZ.js} +2 -2
  85. package/dist/cdn/{H4FO43TQ.js → F5L2JKYI.js} +2 -2
  86. package/dist/cdn/{OOARTTCF.js → FVOINB4E.js} +2 -2
  87. package/dist/cdn/{PKTRQSJ3.js → FX75AH3E.js} +2 -2
  88. package/dist/cdn/{G6YBBKHU.js → FXGB76UZ.js} +2 -2
  89. package/dist/cdn/{NNNE2APH.js → FXYCD3QI.js} +2 -2
  90. package/dist/cdn/G4HP5PXO.js +4 -0
  91. package/dist/cdn/{OODU2NAN.js → GGQ4NF5E.js} +2 -2
  92. package/dist/cdn/GISW2E2C.js +9 -0
  93. package/dist/cdn/{M3JCFUWF.js → GJXC7JWJ.js} +2 -2
  94. package/dist/cdn/{TVDSU7R2.js → GNRVWBIT.js} +2 -2
  95. package/dist/cdn/{D2LJXS5O.js → GWLX6RBH.js} +2 -2
  96. package/dist/cdn/{CJGNIR2H.js → GXSY2G2F.js} +2 -2
  97. package/dist/cdn/{GIDT5OTS.js → HCNOUG4I.js} +2 -2
  98. package/dist/cdn/{7BDY3BU7.js → HCXSIJLL.js} +2 -2
  99. package/dist/cdn/{GOGBHK5W.js → HI56FAC2.js} +2 -2
  100. package/dist/cdn/{X3OIHTMN.js → HJ3TKQPT.js} +2 -2
  101. package/dist/cdn/{6XWHYYCL.js → HRRUDEN4.js} +2 -2
  102. package/dist/cdn/{FUNOEGEP.js → HT2VNFBY.js} +2 -2
  103. package/dist/cdn/{3UTRV5F5.js → HUMCQYTE.js} +2 -2
  104. package/dist/cdn/{FIOK6KKP.js → I5GCMMZ6.js} +2 -2
  105. package/dist/cdn/{MSBMMGC7.js → I7FTN4SS.js} +2 -2
  106. package/dist/cdn/{OLAIRBN2.js → IA3FETL7.js} +2 -2
  107. package/dist/cdn/{F32DNIAM.js → IAMC4UQF.js} +2 -2
  108. package/dist/cdn/{E5DTA2QE.js → IB7DLO5L.js} +2 -2
  109. package/dist/cdn/IEWSU3AP.js +4 -0
  110. package/dist/cdn/IHPALLAT.js +5 -0
  111. package/dist/cdn/{XOUKYVQ4.js → J4CP3NSB.js} +2 -2
  112. package/dist/cdn/{KOTDYNET.js → JDI4NVR3.js} +2 -2
  113. package/dist/cdn/{KYK5G6U6.js → JI265SUK.js} +2 -2
  114. package/dist/cdn/{QQHBOFYP.js → JMZMSG7L.js} +2 -2
  115. package/dist/cdn/JW5HQYPI.js +4 -0
  116. package/dist/cdn/{SN7O2A3T.js → K3OEW4P7.js} +2 -2
  117. package/dist/cdn/{OO6TJIN7.js → K7DJA6BL.js} +2 -2
  118. package/dist/cdn/{36IQDZ3G.js → KAWYFYCS.js} +2 -2
  119. package/dist/cdn/{YEZT5OD7.js → KLAQ4QRJ.js} +2 -2
  120. package/dist/cdn/{CZZ7Y35Z.js → KMNCOGEA.js} +2 -2
  121. package/dist/cdn/{PIEJP6YZ.js → KON4FD5Q.js} +2 -2
  122. package/dist/cdn/{L4NOWY7R.js → KS7BA3SG.js} +2 -2
  123. package/dist/cdn/{B2ZFGOXD.js → KUTYXTS7.js} +2 -2
  124. package/dist/cdn/KWAJCVXT.js +4 -0
  125. package/dist/cdn/{VOZF6LQJ.js → KXKIPFUU.js} +2 -2
  126. package/dist/cdn/KXXPEYRC.js +4 -0
  127. package/dist/cdn/KZ2KNB3O.js +4 -0
  128. package/dist/cdn/{6AJF75LJ.js → L2XTODY4.js} +2 -2
  129. package/dist/cdn/{LNOGOTUO.js → L5TGGSAL.js} +2 -2
  130. package/dist/cdn/{UK5FKXNT.js → LAQ7KJOZ.js} +2 -2
  131. package/dist/cdn/{Q7RJTSMT.js → LKMAWAR5.js} +2 -2
  132. package/dist/cdn/LQCATF7G.js +4 -0
  133. package/dist/cdn/{RBW5EUUZ.js → LSD6WMMC.js} +2 -2
  134. package/dist/cdn/{XHJW7EJB.js → LTD6T2Q3.js} +2 -2
  135. package/dist/cdn/{M35EWG3A.js → LZOLBXMF.js} +2 -2
  136. package/dist/cdn/{GLWAKTJ6.js → M4IDYG6A.js} +2 -2
  137. package/dist/cdn/{TDWHOSGC.js → MAI5N3QC.js} +2 -2
  138. package/dist/cdn/{ISU7UB5C.js → MAU2UOK7.js} +2 -2
  139. package/dist/cdn/{P7BS2OQL.js → MG3ZY5RH.js} +2 -2
  140. package/dist/cdn/{BIUV2EW2.js → MUOOVLST.js} +2 -2
  141. package/dist/cdn/{IM3WBCCU.js → MWVBHJI3.js} +2 -2
  142. package/dist/cdn/{ILS226ZZ.js → N3KBPLDD.js} +2 -2
  143. package/dist/cdn/{KRJQ47FX.js → N4LFGHKK.js} +2 -2
  144. package/dist/cdn/{NHJUZYR7.js → NJFWKOSW.js} +2 -2
  145. package/dist/cdn/{NINFL2YQ.js → NT4I6O5D.js} +2 -2
  146. package/dist/cdn/{2QAML4P7.js → NWLLTDPL.js} +2 -2
  147. package/dist/cdn/{7333ELLT.js → NXQMACSR.js} +2 -2
  148. package/dist/cdn/{HD7BQXXH.js → O3CMJ47P.js} +2 -2
  149. package/dist/cdn/OBE3UR44.js +4 -0
  150. package/dist/cdn/{YWD7ZFOR.js → OM2J6G7R.js} +2 -2
  151. package/dist/cdn/{IBLIJJ2U.js → OT2QCJH7.js} +2 -2
  152. package/dist/cdn/OWZ7RK5W.js +4 -0
  153. package/dist/cdn/{6L4TZHKU.js → OX6WUMOC.js} +2 -2
  154. package/dist/cdn/P3ZYOIZR.js +4 -0
  155. package/dist/cdn/{TSL3GRQ7.js → P76F7K2L.js} +2 -2
  156. package/dist/cdn/{C7O5KTPB.js → PD32M3AF.js} +2 -2
  157. package/dist/cdn/{MBMAIEIY.js → PLFIWWJT.js} +2 -2
  158. package/dist/cdn/{ENPAUNXX.js → PM4A2XL2.js} +2 -2
  159. package/dist/cdn/{RYZGV3PB.js → PMTYAVRQ.js} +2 -2
  160. package/dist/cdn/{VGTBOKKG.js → POU44SBV.js} +2 -2
  161. package/dist/cdn/PQP6YSCC.js +4 -0
  162. package/dist/cdn/{4WMRWSKE.js → PWI6J5R7.js} +2 -2
  163. package/dist/cdn/{PKSMBCZG.js → PX2LCRY2.js} +2 -2
  164. package/dist/cdn/{XCQMZYFT.js → PY36ZZE3.js} +2 -2
  165. package/dist/cdn/{OAL2DV3H.js → Q5LUZLLH.js} +2 -2
  166. package/dist/cdn/{OAVOMLYV.js → Q67KHNIN.js} +2 -2
  167. package/dist/cdn/{GPNRFEBQ.js → QLUMG45S.js} +2 -2
  168. package/dist/cdn/{ZNGXUT36.js → QWEVJ374.js} +1 -1
  169. package/dist/cdn/{G4KOFHHD.js → R5KPEW23.js} +2 -2
  170. package/dist/cdn/{EDBEJKG4.js → R5KRPIJ5.js} +2 -2
  171. package/dist/cdn/{IQ2UBST6.js → RAIKE7CC.js} +2 -2
  172. package/dist/cdn/{2ZOE2EB7.js → REY2RQSK.js} +2 -2
  173. package/dist/cdn/{FYLKCHLA.js → RIRH4ORC.js} +2 -2
  174. package/dist/cdn/{5KTQXHUJ.js → RK2H6BOT.js} +2 -2
  175. package/dist/cdn/{I3NH27UL.js → RLI75H6A.js} +2 -2
  176. package/dist/cdn/{J5DMYV4L.js → RVMTJPZF.js} +2 -2
  177. package/dist/cdn/{R4KHFOUZ.js → SB7N26WT.js} +2 -2
  178. package/dist/cdn/{VA6J4CYT.js → SBPPEESE.js} +2 -2
  179. package/dist/cdn/{6AFC4KYA.js → SKD5DYJC.js} +2 -2
  180. package/dist/cdn/{4MWLYDY5.js → SOVBG5WN.js} +2 -2
  181. package/dist/cdn/{6H5AZ4GE.js → SQAQVB6N.js} +1 -1
  182. package/dist/cdn/SWN74NVP.js +4 -0
  183. package/dist/cdn/{YUWKUAFN.js → T4J36IUE.js} +2 -2
  184. package/dist/cdn/{FQHCN5PI.js → T5U7SYHL.js} +2 -2
  185. package/dist/cdn/{LM6HXX6Z.js → T6FMXPFZ.js} +2 -2
  186. package/dist/cdn/{Q4MGAVXA.js → T7PRQSQS.js} +1 -1
  187. package/dist/cdn/{MGEO265K.js → U6I6EQ5X.js} +2 -2
  188. package/dist/cdn/{6JZBRZQZ.js → UCJQJNCW.js} +2 -2
  189. package/dist/cdn/{ZXP6O3VA.js → UCWGIUTB.js} +2 -2
  190. package/dist/cdn/{GTFTLDMW.js → UGG34DPF.js} +2 -2
  191. package/dist/cdn/{QMJS7YYV.js → UH64RQEO.js} +2 -2
  192. package/dist/cdn/{CHYFQH6P.js → UMQH67XW.js} +2 -2
  193. package/dist/cdn/{DUZNF3KO.js → UN3LXMCA.js} +2 -2
  194. package/dist/cdn/UTZYPKFK.js +4 -0
  195. package/dist/cdn/{3MHCWB64.js → UZ7EH5BZ.js} +2 -2
  196. package/dist/cdn/{3GLBQK27.js → V7VXXJT5.js} +2 -2
  197. package/dist/cdn/{HXA2FJLS.js → VDD3AXI3.js} +2 -2
  198. package/dist/cdn/{TELKXVUT.js → VJO4MRNH.js} +2 -2
  199. package/dist/cdn/{2QEVKF3M.js → VPU3T6IE.js} +2 -2
  200. package/dist/cdn/{IRJJTNFE.js → VQHCTGSO.js} +2 -2
  201. package/dist/cdn/{GLODJKMZ.js → VWLYSTIX.js} +2 -2
  202. package/dist/cdn/{EMMLC2ML.js → VWV6FXWM.js} +2 -2
  203. package/dist/cdn/{D67SAEXC.js → VXF4VRMN.js} +2 -2
  204. package/dist/cdn/{ZNSS52UU.js → W26VR5XP.js} +2 -2
  205. package/dist/cdn/{5S42PJTM.js → WJJH5MQ4.js} +2 -2
  206. package/dist/cdn/{FEJPBDMX.js → WO35VYIC.js} +2 -2
  207. package/dist/cdn/{ABX2KJWQ.js → WYUWCPHL.js} +2 -2
  208. package/dist/cdn/{DQFSD3BZ.js → X2QJHLVQ.js} +2 -2
  209. package/dist/cdn/XFABQCAS.js +4 -0
  210. package/dist/cdn/{ZTB6OSGP.js → XQFBPGTI.js} +2 -2
  211. package/dist/cdn/{4VC56N4L.js → Y2IFECMM.js} +2 -2
  212. package/dist/cdn/{J376WYHL.js → Y3O3FJ5I.js} +2 -2
  213. package/dist/cdn/{B2W4EWK6.js → Y5ULX2UV.js} +2 -2
  214. package/dist/cdn/YJA3BX4K.js +4 -0
  215. package/dist/cdn/{F2RWK5EM.js → YJAGQMYM.js} +2 -2
  216. package/dist/cdn/{DPDBGZUQ.js → YMIC2GK4.js} +2 -2
  217. package/dist/cdn/{5NGQ34PO.js → YMPRD7FJ.js} +2 -2
  218. package/dist/cdn/{4LLXQ7MU.js → YPBNZLPI.js} +1 -1
  219. package/dist/cdn/{LB5CIPFL.js → YQQW7W3B.js} +2 -2
  220. package/dist/cdn/{SRQV7IAC.js → YY5ZTFUT.js} +2 -2
  221. package/dist/cdn/{A4AKT4LY.js → Z4MIQP7M.js} +2 -2
  222. package/dist/cdn/{KTUEXPGY.js → ZDLYK2Z4.js} +2 -2
  223. package/dist/cdn/{C56GZNCL.js → ZHBT7VMK.js} +2 -2
  224. package/dist/cdn/{4VJ33WZ7.js → ZJES24AO.js} +2 -2
  225. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  226. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  227. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  228. package/dist/cdn/index.js +2 -2
  229. package/dist/cdn/main.css +1 -1
  230. package/dist/chunks/AnalysisViewModel.js +39 -35
  231. package/dist/chunks/action-utils.js +1 -1
  232. package/dist/chunks/async-utils.js +1 -1
  233. package/dist/chunks/basemap-gallery-resources.js +1 -1
  234. package/dist/chunks/chart-utils.js +1 -1
  235. package/dist/chunks/chartCommon.js +1 -1
  236. package/dist/chunks/component-utils.js +1 -1
  237. package/dist/chunks/createCloseEvent.js +1 -1
  238. package/dist/chunks/esri-main.js +2 -2
  239. package/dist/chunks/feature-utils.js +152 -107
  240. package/dist/chunks/globalCss.js +1 -1
  241. package/dist/chunks/handle.js +14 -0
  242. package/dist/chunks/heading.js +1 -1
  243. package/dist/chunks/layer-list.js +1 -1
  244. package/dist/chunks/legacyIcon.js +1 -1
  245. package/dist/chunks/maybe.js +1 -1
  246. package/dist/chunks/measurementUtils.js +1 -1
  247. package/dist/chunks/runtime.js +1 -1
  248. package/dist/chunks/screenLocation.js +1 -1
  249. package/dist/chunks/slots.js +1 -1
  250. package/dist/chunks/svgUtils.js +1 -1
  251. package/dist/chunks/univariateUtils.js +1 -1
  252. package/dist/chunks/useArcgisViewReadyError.js +32 -31
  253. package/dist/chunks/useHandles.js +1 -1
  254. package/dist/chunks/useT9n.js +1 -1
  255. package/dist/chunks/useView.js +1 -1
  256. package/dist/chunks/useViewModel.js +1 -1
  257. package/dist/chunks/useWidget.js +1 -1
  258. package/dist/chunks/utils.js +11 -16
  259. package/dist/chunks/utils2.js +1 -1
  260. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  261. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  262. package/dist/components/arcgis-attachments/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  266. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  267. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  268. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  269. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  270. package/dist/components/arcgis-compass/customElement.js +1 -1
  271. package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
  272. package/dist/components/arcgis-daylight/customElement.js +13 -17
  273. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  274. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  275. package/dist/components/arcgis-directions/customElement.js +1 -1
  276. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  277. package/dist/components/arcgis-editor/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  279. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  280. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  281. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  282. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  283. package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
  284. package/dist/components/arcgis-elevation-profile-next/customElement.js +196 -147
  285. package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
  286. package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +1 -8
  287. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  288. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  289. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  290. package/dist/components/arcgis-expand/customElement.js +1 -1
  291. package/dist/components/arcgis-feature/customElement.js +49 -49
  292. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  294. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-fields/customElement.d.ts +5 -0
  297. package/dist/components/arcgis-feature-fields/customElement.js +38 -34
  298. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-media/customElement.js +177 -176
  300. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  304. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  305. package/dist/components/arcgis-features/customElement.js +2 -2
  306. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  307. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  308. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  309. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  310. package/dist/components/arcgis-home/customElement.js +1 -1
  311. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  312. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  313. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  314. package/dist/components/arcgis-legend/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  319. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  320. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  330. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -0
  331. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  332. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  333. package/dist/components/arcgis-locate/customElement.js +1 -1
  334. package/dist/components/arcgis-map/customElement.d.ts +34 -28
  335. package/dist/components/arcgis-map/customElement.js +1 -1
  336. package/dist/components/arcgis-measurement/customElement.js +1 -1
  337. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  338. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  339. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  340. package/dist/components/arcgis-placement/customElement.js +1 -1
  341. package/dist/components/arcgis-popup/customElement.d.ts +37 -1
  342. package/dist/components/arcgis-popup/customElement.js +1 -1
  343. package/dist/components/arcgis-print/customElement.js +1 -1
  344. package/dist/components/arcgis-print/utils.d.ts +1 -1
  345. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  346. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  347. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  348. package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
  349. package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
  350. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  351. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  352. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  353. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  354. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  355. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  356. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  357. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  358. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  359. package/dist/components/arcgis-print-template-select/customElement.js +17 -15
  360. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  361. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  362. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  363. package/dist/components/arcgis-scene/customElement.d.ts +1 -0
  364. package/dist/components/arcgis-scene/customElement.js +1 -1
  365. package/dist/components/arcgis-search/customElement.js +1 -1
  366. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  367. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  368. package/dist/components/arcgis-sketch/customElement.js +1 -1
  369. package/dist/components/arcgis-slice/customElement.js +1 -1
  370. package/dist/components/arcgis-spinner/customElement.js +1 -1
  371. package/dist/components/arcgis-swipe/customElement.js +1 -1
  372. package/dist/components/arcgis-table-list/customElement.js +1 -1
  373. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  374. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  375. package/dist/components/arcgis-track/customElement.js +1 -1
  376. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  381. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  382. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  383. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  384. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  385. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
  386. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
  387. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
  388. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
  389. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  390. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  391. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
  392. package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
  393. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
  394. package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
  395. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  396. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  397. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  398. package/dist/components/arcgis-version-management/customElement.js +1 -1
  399. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  400. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  401. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  402. package/dist/components/arcgis-video/customElement.js +1 -1
  403. package/dist/components/arcgis-video-player/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  406. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  407. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  408. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  409. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  410. package/dist/components/arcgis-weather/customElement.js +1 -1
  411. package/dist/components/arcgis-zoom/customElement.js +1 -1
  412. package/dist/docs/api.json +496 -41
  413. package/dist/docs/docs.json +503 -34
  414. package/dist/docs/vscode.html-custom-data.json +50 -10
  415. package/dist/docs/web-types.json +146 -28
  416. package/dist/index.d.ts +26 -0
  417. package/dist/index.js +1 -1
  418. package/dist/loader.js +9 -7
  419. package/dist/support/AnalysisViewModel.d.ts +1 -0
  420. package/dist/support/handle.d.ts +1 -1
  421. package/dist/types/lumina.d.ts +14 -1
  422. package/dist/types/preact.d.ts +16 -1
  423. package/dist/types/preact10.d.ts +18 -1
  424. package/dist/types/react.d.ts +18 -1
  425. package/dist/types/stencil.d.ts +14 -1
  426. package/dist/utils/feature-utils.d.ts +16 -1
  427. package/dist/utils/highlight-utils.d.ts +22 -0
  428. package/dist/utils/layer-utils.d.ts +4 -0
  429. package/package.json +3 -3
  430. package/dist/cdn/4P5DFLTX.js +0 -5
  431. package/dist/cdn/637CWHOC.js +0 -4
  432. package/dist/cdn/65HNRYB4.js +0 -4
  433. package/dist/cdn/A3MI5N43.js +0 -4
  434. package/dist/cdn/BL6DFV7R.js +0 -4
  435. package/dist/cdn/BUFQD3QO.js +0 -4
  436. package/dist/cdn/DRMOWRTY.js +0 -4
  437. package/dist/cdn/DXPNHQ2A.js +0 -4
  438. package/dist/cdn/EJLSAJ7Z.js +0 -4
  439. package/dist/cdn/FYLZIBTR.js +0 -4
  440. package/dist/cdn/G6RKDMGY.js +0 -4
  441. package/dist/cdn/HAD7DDQH.js +0 -4
  442. package/dist/cdn/HT5P52JJ.js +0 -4
  443. package/dist/cdn/IXUH65C6.js +0 -4
  444. package/dist/cdn/JO46OYZR.js +0 -4
  445. package/dist/cdn/M6XAZZYO.js +0 -4
  446. package/dist/cdn/MA6HL7K7.js +0 -4
  447. package/dist/cdn/MTOZCJE4.js +0 -4
  448. package/dist/cdn/NTGYJRE6.js +0 -4
  449. package/dist/cdn/PF2BHU63.js +0 -4
  450. package/dist/cdn/Q7E3BJCS.js +0 -4
  451. package/dist/cdn/QNRNXYW4.js +0 -4
  452. package/dist/cdn/RTELX7UO.js +0 -4
  453. package/dist/cdn/SI3EGWNU.js +0 -4
  454. package/dist/cdn/SQHW7ZPZ.js +0 -4
  455. package/dist/cdn/UKRZFM6L.js +0 -9
  456. package/dist/cdn/Y3TA75KJ.js +0 -4
  457. package/dist/cdn/YGES3DLF.js +0 -4
  458. package/dist/cdn/ZJE52YLT.js +0 -4
@@ -1,21 +1,21 @@
1
1
  import { c as a } from "../../chunks/runtime.js";
2
2
  import { css as d, html as o } from "lit";
3
- import { keyed as n } from "lit/directives/keyed.js";
3
+ import { keyed as r } from "lit/directives/keyed.js";
4
4
  import h from "@arcgis/core/widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel.js";
5
5
  import { LitElement as b, createEvent as f } from "@arcgis/lumina";
6
- import { createRef as c, ref as s } from "lit/directives/ref.js";
6
+ import { createRef as n, ref as c } from "lit/directives/ref.js";
7
7
  import { u as g } from "../../chunks/useT9n.js";
8
8
  import { m as u } from "../../chunks/useViewModel.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
11
- v5.0.0-next.6 */
12
- const p = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{min-width:300px}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`, w = u(h), r = "map-components:utility-network-trace-analysis";
13
- class m extends b {
11
+ v5.0.0-next.8 */
12
+ const p = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`, m = u(h), s = "map-components:utility-network-trace-analysis";
13
+ class w extends b {
14
14
  constructor() {
15
- super(...arguments), this._traceInputsRef = c(), this._traceResultsRef = c(), this.messages = g({ blocking: !0 }), this.viewModel = w(this), this._activeTab = "input", this._enableRunTraceButton = !1, this._viewLoaded = !1, this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.arcgisReady = f();
15
+ super(...arguments), this._messages = g({ blocking: !0 }), this._viewModel = m(this), this._traceInputsRef = n(), this._traceResultsRef = n(), this.activeTab = "input", this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisReady = f();
16
16
  }
17
17
  static {
18
- this.properties = { _activeTab: 16, _enableRunTraceButton: 16, _traceResult: 16, _viewLoaded: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, icon: 1, label: 3, messageOverrides: 0, mode: 1, referenceElement: 1, state: 3, view: 0 };
18
+ this.properties = { activeTab: 16, traceResult: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, icon: 1, label: 3, messageOverrides: 0, mode: 1, referenceElement: 1, state: 3, view: 0 };
19
19
  }
20
20
  static {
21
21
  this.styles = p;
@@ -25,24 +25,24 @@ class m extends b {
25
25
  return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
26
26
  }
27
27
  get _traceResultsExist() {
28
- const { _traceResult: e } = this;
28
+ const { traceResult: e } = this;
29
29
  return e !== void 0 && this._numTraceResults > 0;
30
30
  }
31
31
  get _numTraceResults() {
32
- const { _traceResult: e } = this;
32
+ const { traceResult: e } = this;
33
33
  return e ? e.elements.length + e.globalFunctionResults.length : 0;
34
34
  }
35
35
  async destroy() {
36
36
  await this.manager.destroy();
37
37
  }
38
38
  _clearTraceResult() {
39
- this._traceResult = void 0;
39
+ this.traceResult = void 0;
40
40
  }
41
41
  _switchTab(e) {
42
- this._activeTab = e;
42
+ this.activeTab = e;
43
43
  }
44
44
  _getLoadError(e) {
45
- const { messages: i } = this;
45
+ const { _messages: i } = this;
46
46
  switch (e) {
47
47
  case "no-user-type-extension":
48
48
  return i.loadErrors.noUserTypeExtension;
@@ -57,74 +57,53 @@ class m extends b {
57
57
  }
58
58
  }
59
59
  async _runTrace() {
60
- const { viewModel: e, _selectedTraceConfig: i } = this;
61
- if (!i) {
62
- console.error(`${r} - Trace configuration not found`);
60
+ const e = this._traceInputsRef.value?.selectedTraceConfiguration;
61
+ if (!e?.traceConfiguration) {
62
+ console.error(`${s} - Trace configuration not found`);
63
63
  return;
64
64
  }
65
+ const i = this._traceInputsRef.value?.traceLocations;
65
66
  try {
66
- this._traceResult = await e.executeNamedTraceConfiguration({
67
- namedTraceConfigurationGlobalId: i.globalId
67
+ this.traceResult = await this._viewModel.executeNamedTraceConfiguration({
68
+ namedTraceConfigurationGlobalId: e.globalId,
69
+ traceLocations: i ?? []
68
70
  });
69
71
  } catch (t) {
70
- console.error(`${r} - Error while running trace: `, String(t)), this._traceResult = void 0;
71
- }
72
- }
73
- _handleSubnetworkTraceConfigChange() {
74
- const { _selectedTraceConfig: e } = this;
75
- if (!e?.traceConfiguration) {
76
- console.error(`${r} - Trace configuration not found`);
77
- return;
78
- }
79
- const t = (e.traceConfiguration.subnetworkName ?? "") !== "";
80
- this._enableRunTraceButton = t;
81
- }
82
- _handleTraceConfigChange() {
83
- if (this._enableRunTraceButton = !1, this._selectedTraceConfig = this._traceInputsRef.value?.selectedTraceConfiguration, !this._selectedTraceConfig) {
84
- console.error(`${r} - Trace configuration not found`);
85
- return;
86
- }
87
- switch (this._selectedTraceConfig.traceType) {
88
- case "subnetwork":
89
- this._handleSubnetworkTraceConfigChange();
90
- break;
91
- default:
92
- console.error(`${r} - Unknown trace configuration type`);
72
+ console.error(`${s} - Error while running trace: `, String(t)), this.traceResult = void 0;
93
73
  }
94
74
  }
95
75
  _handleTraceInputsChange() {
96
- this._handleTraceConfigChange();
97
76
  }
98
77
  _handleUtilityNetworkChange() {
99
- this.viewModel.utilityNetwork = this._traceInputsRef.value?.selectedUtilityNetwork;
78
+ this._viewModel.utilityNetwork = this._traceInputsRef.value?.selectedUtilityNetwork;
100
79
  }
101
80
  renderResultsTab() {
102
- return n(`${this.el.id}__results-tab-item`, o`<calcite-tab .selected=${this._activeTab === "results"}>${this.viewModel.state === "executing" ? o`<calcite-loader .label=${this.messages.runningTrace} .text=${this.messages.runningTrace}></calcite-loader>` : o`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this._traceResult} .utilityNetwork=${this.viewModel.utilityNetwork ?? void 0} ${s(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
81
+ return r(`${this.el.id}__results-tab-item`, o`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? o`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>` : o`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} ${c(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
103
82
  }
104
83
  renderResultsFooter() {
105
84
  const { _numTraceResults: e, _traceResultsExist: i } = this;
106
85
  return o`<calcite-button appearance=outline width=full @click=${() => {
107
86
  this._switchTab("input"), this._clearTraceResult();
108
- }} .disabled=${!i} slot=footer>${i ? this.messages.buttons.clearResultsCustom.replace("{number}", e.toString()) : this.messages.buttons.clearResultsGeneric}</calcite-button>`;
87
+ }} .disabled=${!i} slot=footer>${i ? this._messages.buttons.clearResultsCustom.replace("{number}", e.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
109
88
  }
110
89
  renderInputTab() {
111
- return n(`${this.el.id}__inputs-tab-item`, o`<calcite-tab .selected=${this._activeTab === "input"}><arcgis-utility-network-trace-inputs .view=${this.view || void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} ${s(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`);
90
+ return r(`${this.el.id}__inputs-tab-item`, o`<calcite-tab .selected=${this.activeTab === "input"}><arcgis-utility-network-trace-inputs .view=${this.view || void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} ${c(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`);
112
91
  }
113
92
  renderInputFooter() {
114
93
  return o`<calcite-button appearance=solid width=full @click=${() => {
115
94
  this._switchTab("results"), this._runTrace();
116
- }} .disabled=${!this._enableRunTraceButton} slot=footer>${this.messages.buttons.getResults}</calcite-button>`;
95
+ }} slot=footer>${this._messages.buttons.getResults}</calcite-button>`;
117
96
  }
118
97
  render() {
119
- const { messages: e, viewModel: { loadError: i, state: t } } = this, l = t === "disabled" && i != null && i !== "no-utility-network" ? o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>` : void 0;
98
+ const { _messages: e, _viewModel: { loadError: i, state: t } } = this, l = t === "disabled" && i != null && i !== "no-utility-network" ? o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>` : void 0;
120
99
  return o`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view === void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => {
121
100
  this._switchTab("input");
122
- }} .selected=${this._activeTab === "input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => {
101
+ }} .selected=${this.activeTab === "input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => {
123
102
  this._switchTab("results");
124
- }} .selected=${this._activeTab === "results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view !== void 0 ? o`${this.renderInputTab()}${this.renderResultsTab()}` : null}</calcite-tabs>${l}${this._activeTab === "input" ? this.renderInputFooter() : null}${this._activeTab === "results" ? this.renderResultsFooter() : null}</calcite-panel></div>`;
103
+ }} .selected=${this.activeTab === "results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view !== void 0 ? o`${this.renderInputTab()}${this.renderResultsTab()}` : null}</calcite-tabs>${l}${this.activeTab === "input" ? this.renderInputFooter() : null}${this.activeTab === "results" ? this.renderResultsFooter() : null}</calcite-panel></div>`;
125
104
  }
126
105
  }
127
- a("arcgis-utility-network-trace-analysis", m);
106
+ a("arcgis-utility-network-trace-analysis", w);
128
107
  export {
129
- m as ArcgisUtilityNetworkTraceAnalysis
108
+ w as ArcgisUtilityNetworkTraceAnalysis
130
109
  };
@@ -1,11 +1,13 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  /// <reference path="../../index.d.ts" />
3
+ import { default as Collection } from '@arcgis/core/core/Collection.js';
4
+ import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer';
5
+ import { default as NamedTraceConfiguration } from '@arcgis/core/networks/support/NamedTraceConfiguration.js';
3
6
  import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
7
+ import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
4
8
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
5
- import { default as NamedTraceConfiguration } from '@arcgis/core/networks/support/NamedTraceConfiguration.js';
6
- import { ArcgisReferenceElement } from '../../utils/component-utils';
7
9
  import { PropertyValues } from 'lit';
8
- import { default as Collection } from '@arcgis/core/core/Collection.js';
10
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
9
11
 
10
12
  type State = "disabled" | "error" | "loading" | "ready";
11
13
  /**
@@ -22,14 +24,11 @@ type State = "disabled" | "error" | "loading" | "ready";
22
24
  export declare class ArcgisUtilityNetworkTraceInputs extends LitElement {
23
25
  /** @required */
24
26
  view?: __esri.MapView;
27
+ selectedSubnetworkName?: string;
25
28
  selectedUtilityNetwork?: UtilityNetwork;
26
29
  selectedTraceConfiguration?: NamedTraceConfiguration;
27
- /**
28
- * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
29
- *
30
- * @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)
31
- */
32
30
  referenceElement?: ArcgisReferenceElement | string;
31
+ get traceLocations(): TraceLocation[];
33
32
  readonly arcgisTraceInputsChange: TargetedEvent<this, void>;
34
33
  readonly arcgisUtilityNetworkChange: TargetedEvent<this, void>;
35
34
  }
@@ -1,103 +1,261 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { repeat as l } from "lit/directives/repeat.js";
3
- import { LitElement as u, createEvent as n } from "@arcgis/lumina";
4
- import { u as d } from "../../chunks/useT9n.js";
5
- import { css as h, html as s } from "lit";
1
+ import { c as b } from "../../chunks/runtime.js";
2
+ import { repeat as h } from "lit/directives/repeat.js";
3
+ import { queryAllJSON as m } from "@arcgis/core/applications/Components/featureUtils.js";
4
+ import n from "@arcgis/core/core/Collection.js";
5
+ import f from "@arcgis/core/layers/GraphicsLayer.js";
6
+ import d from "@arcgis/core/networks/support/UNTraceConfiguration.js";
7
+ import _ from "@arcgis/core/rest/support/FeatureSet.js";
8
+ import u from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
9
+ import S from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
10
+ import { LitElement as T, createEvent as g, safeClassMap as p } from "@arcgis/lumina";
11
+ import { css as N, html as s } from "lit";
12
+ import { u as $ } from "../../chunks/useT9n.js";
6
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
14
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.6 */
9
- const g = h`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-xs)}`, o = "map-components:utility-network-trace-inputs";
10
- class w extends u {
15
+ v5.0.0-next.8 */
16
+ const L = N`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`, w = "arcgis-utility-network-trace-inputs", k = {
17
+ // popup renderer
18
+ base: w,
19
+ // containers and content
20
+ addSpatialMode: `${w}__add-spatial-mode`
21
+ }, c = "map-components:utility-network-trace-inputs", y = `utility-network-trace-inputs-sketch-${Date.now()}`, l = `utility-network-trace-inputs-flags-${Date.now()}`;
22
+ class C extends T {
11
23
  constructor() {
12
- super(...arguments), this.messages = d({ blocking: !0 }), this.traceConfigurations = [], this._state = "ready", this.arcgisTraceInputsChange = n(), this.arcgisUtilityNetworkChange = n();
24
+ super(...arguments), this._messages = $({ blocking: !0 }), this._startingPoints = new n(), this._barriers = new n(), this._stoppingPoints = new n(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
25
+ "subnetwork",
26
+ "subnetwork-controller",
27
+ "upstream",
28
+ "downstream",
29
+ "isolation"
30
+ ]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._mode = "default", this.arcgisTraceInputsChange = g(), this.arcgisUtilityNetworkChange = g();
13
31
  }
14
32
  static {
15
- this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1 };
33
+ this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _state: 16, _mode: 16, _activeTraceLocationType: 16, view: 0, selectedSubnetworkName: 1, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1, traceLocations: 32 };
16
34
  }
17
35
  static {
18
- this.styles = g;
36
+ this.styles = L;
37
+ }
38
+ get _allLayers() {
39
+ const { view: e } = this;
40
+ return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
41
+ }
42
+ get traceLocations() {
43
+ const e = this._startingPoints.toArray().map((a) => a.traceLocation), t = this._barriers.toArray().map((a) => a.traceLocation), i = this._stoppingPoints.toArray().map((a) => a.traceLocation);
44
+ return [...e, ...t, ...i];
19
45
  }
20
46
  load() {
21
- this._setupUtilityNetwork();
47
+ this._setupUtilityNetwork(), this._setupSketchViewModel();
22
48
  }
23
- willUpdate(t) {
24
- const { utilityNetworks: e, selectedUtilityNetwork: i } = this;
25
- (t.has("utilityNetworks") || !e || e.length === 0 || !i || !e?.includes(i)) && this._handleUtilityNetworksChange(), t.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._setupTraceConfigurations()), t.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange());
49
+ willUpdate(e) {
50
+ const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
51
+ (e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
26
52
  }
27
- _handleSubnetworkTraceConfigChange(t) {
28
- if (!t.traceConfiguration) {
29
- console.error(`${o} - Trace configuration not found`);
53
+ _clearTraceLocations() {
54
+ this._getGraphicLayer(l)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
55
+ }
56
+ _addUniqueLayer(e, t, i) {
57
+ if (!t || !e?.map)
30
58
  return;
59
+ const { map: a } = e, r = a.layers.find((o) => o === t);
60
+ r || a.add(t, i), r && i != null && a.layers.reorder(r, i);
61
+ }
62
+ _createGraphicLayer(e) {
63
+ const { map: t } = this.view;
64
+ if (!t?.findLayerById(e)) {
65
+ const a = new f({
66
+ id: e,
67
+ listMode: "hide",
68
+ title: e
69
+ });
70
+ this._addUniqueLayer(this.view, a);
71
+ }
72
+ }
73
+ _getGraphicLayer(e) {
74
+ const { map: t } = this.view;
75
+ if (t) {
76
+ const i = t.findLayerById(e);
77
+ if (i && i.type === "graphics")
78
+ return i;
79
+ }
80
+ return null;
81
+ }
82
+ _setSnappingOption() {
83
+ const { _sketchViewModel: e, _unLayers: t } = this;
84
+ if (e && t && t.length > 0) {
85
+ const i = new n();
86
+ t.forEach((a) => {
87
+ a.type === "subtype-group" ? a.sublayers.forEach((r) => {
88
+ i.add(new u({
89
+ layer: r,
90
+ enabled: !0
91
+ }));
92
+ }) : i.add(new u({
93
+ layer: a,
94
+ enabled: !0
95
+ }));
96
+ }), e.snappingOptions = {
97
+ enabled: !0,
98
+ featureEnabled: !0,
99
+ featureSources: i
100
+ };
31
101
  }
32
102
  }
33
- _selectTraceConfigurationByGuid(t) {
34
- const e = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === t);
35
- if (!e) {
36
- console.error(`${o} - Trace configuration not found`);
103
+ _initializeSketchViewModel() {
104
+ const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(y), a = new n();
105
+ return t?.forEach((r) => a.add(new u({
106
+ layer: r,
107
+ enabled: !0
108
+ }))), new S({
109
+ layer: i,
110
+ view: e
111
+ });
112
+ }
113
+ _setupSketchViewModel() {
114
+ this._createGraphicLayer(y), this._createGraphicLayer(l), this._sketchViewModel = this._initializeSketchViewModel();
115
+ }
116
+ _clearSubnetworks() {
117
+ this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
118
+ }
119
+ async _loadSubnetworksTable() {
120
+ this.subnetworksTable || (this.subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
121
+ }
122
+ async _querySubnetworks() {
123
+ const { subnetworksTable: e } = this;
124
+ if (!e)
125
+ return;
126
+ const t = e.createQuery();
127
+ t.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, t.where = this._getSubnetworkQueryWhereClause(), t.outFields = ["SUBNETWORKNAME"], t.orderByFields = ["SUBNETWORKNAME"];
128
+ const i = _.fromJSON(await m(e, t));
129
+ this.compatibleSubnetworkNames = i.features.filter(this._removeDuplicateSubnetworkNames).map((a) => a.getAttribute("SUBNETWORKNAME"));
130
+ }
131
+ _getSubnetworkQueryWhereClause() {
132
+ const e = this.selectedTraceConfiguration?.traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
133
+ return [t, i].join(" AND ");
134
+ }
135
+ async _handleSubnetworkTraceConfigChange(e) {
136
+ const { traceConfiguration: t } = e;
137
+ if (!(t instanceof d)) {
138
+ console.error(`${c} - Trace configuration not found`);
37
139
  return;
38
140
  }
39
- this.selectedTraceConfiguration = e;
141
+ await this._loadSubnetworksTable(), await this._querySubnetworks(), this.selectedSubnetworkName = this.compatibleSubnetworkNames.find((i) => i === t.subnetworkName) ?? this.compatibleSubnetworkNames.at(0);
142
+ }
143
+ _selectTraceConfigurationByGuid(e) {
144
+ const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
145
+ if (!t) {
146
+ console.error(`${c} - Trace configuration not found`);
147
+ return;
148
+ }
149
+ this.selectedTraceConfiguration = t;
40
150
  }
41
151
  _handleTraceConfigChange() {
42
- const { selectedTraceConfiguration: t } = this;
43
- if (t)
44
- switch (t.traceType) {
152
+ const { selectedTraceConfiguration: e } = this;
153
+ if (e)
154
+ switch (e.traceType) {
45
155
  case "subnetwork":
46
- this._handleSubnetworkTraceConfigChange(t);
156
+ this._handleSubnetworkTraceConfigChange(e);
47
157
  break;
48
158
  default:
49
- console.error(`${o} - Unknown trace configuration type`);
159
+ console.error(`${c} - Unknown trace configuration type`);
50
160
  }
51
161
  }
52
- async _setupTraceConfigurations() {
53
- await this.selectedUtilityNetwork?.load(), this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
162
+ async _handleSelectedUtilityNetworkChange() {
163
+ await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
164
+ }
165
+ _setupTraceConfigurations() {
166
+ this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
167
+ }
168
+ _filterUnLayers() {
169
+ const { selectedUtilityNetwork: e } = this;
170
+ this._unLayers = new n(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
54
171
  }
55
172
  _handleUtilityNetworksChange() {
56
- const { utilityNetworks: t } = this;
57
- if (!t || t.length === 0) {
58
- this._state = "error", console.error(`${o} - No utility networks found in the map`);
173
+ const { utilityNetworks: e } = this;
174
+ if (!e || e.length === 0) {
175
+ this._state = "error", console.error(`${c} - No utility networks found in the map`);
59
176
  return;
60
177
  }
61
- (!this.selectedUtilityNetwork || !t.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = t.at(0));
178
+ (!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
62
179
  }
63
180
  async _setupUtilityNetwork() {
64
181
  if (this.view?.map) {
65
- const t = this.view.map;
66
- await t.load(), this.utilityNetworks = t.utilityNetworks || void 0;
182
+ const e = this.view.map;
183
+ await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
67
184
  } else
68
- this._state = "disabled", console.error(`${o} - No view or map available to load utility networks`);
185
+ this._state = "disabled", console.error(`${c} - No view or map available to load utility networks`);
69
186
  }
70
- renderError(t, e = !1) {
71
- return s`<calcite-notice .closable=${e} kind=danger open scale=s width=full><div slot=message>${t}</div></calcite-notice>`;
187
+ _handleTraceLocationSelectStart(e) {
188
+ this._activeTraceLocationType = e?.target?.traceLocationType, this._mode = "add-spatial";
189
+ }
190
+ _handleTraceLocationSelectEnd() {
191
+ this._activeTraceLocationType = void 0, this._mode = "default";
192
+ }
193
+ _handleFlowItemBack() {
194
+ this._mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
195
+ }
196
+ renderError(e, t = !1, i) {
197
+ return s`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
72
198
  }
73
199
  renderLoader() {
74
200
  return s`<calcite-loader label=loading></calcite-loader>`;
75
201
  }
76
202
  renderTraceSelection() {
77
- const { messages: t, traceConfigurations: e } = this, i = t.labels.traceConfiguration;
78
- if (e.length === 0)
79
- return this.renderError(t.errors.noTraceConfigurationError, !0);
80
- const r = l(e, (a) => a.globalId, (a) => s`<calcite-option .value=${a.globalId}>${a.title}</calcite-option>`);
81
- return s`<calcite-label>${i}<calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(a) => {
82
- this._selectTraceConfigurationByGuid(a.target.value);
83
- }}>${r}</calcite-select></calcite-label>`;
203
+ const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
204
+ if (t.length === 0)
205
+ return this.renderError(e.errors.noTraceConfigurationError, !0);
206
+ const a = h(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
207
+ return s`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
208
+ this._selectTraceConfigurationByGuid(r.target.value);
209
+ }}>${a}</calcite-select></calcite-block>`;
84
210
  }
85
211
  renderUtilityNetworkSelection() {
86
- const { messages: t } = this, e = t.labels.utilityNetwork, i = l(this.utilityNetworks, (r) => r.id, (r) => s`<calcite-option .value=${r.id}>${r.title}</calcite-option>`);
87
- return s`<calcite-label>${e}<calcite-select .label=${e} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(r) => {
88
- this.selectedUtilityNetwork?.id !== r.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((a) => a.id === r.target.value));
89
- }}>${i}</calcite-select></calcite-label>`;
212
+ const { _messages: e } = this, t = e.labels.utilityNetwork, i = h(this.utilityNetworks, (a) => a.id, (a) => s`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);
213
+ return s`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
214
+ this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
215
+ }}>${i}</calcite-select></calcite-block>`;
216
+ }
217
+ renderDefaultMode() {
218
+ const { _messages: e, _state: t, _mode: i } = this;
219
+ return s`<calcite-flow-item .selected=${i === "default"}>${t === "disabled" ? this.renderError(e.errors.noMapError) : this.renderContent()}</calcite-flow-item>`;
220
+ }
221
+ renderAddSpatialMode() {
222
+ const { _messages: e, _activeTraceLocationType: t } = this, i = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
223
+ return s`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${p(k.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`;
224
+ }
225
+ renderStartingPointSelection() {
226
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`;
227
+ }
228
+ renderStoppingPointSelection() {
229
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`;
230
+ }
231
+ renderBarrierSelection() {
232
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`;
233
+ }
234
+ renderSubnetworkSelectList() {
235
+ const { compatibleSubnetworkNames: e, selectedSubnetworkName: t, _messages: i } = this, a = i.labels.subnetworkName, r = e.map((o) => s`<calcite-option .value=${o}>${o}</calcite-option>`);
236
+ return s`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${(o) => this.selectedSubnetworkName = o.target.value}>${r}</calcite-select></calcite-block>`;
237
+ }
238
+ renderSubnetworkSelection() {
239
+ const { compatibleSubnetworkNames: e, _messages: t, selectedTraceConfiguration: i } = this;
240
+ return i?.traceConfiguration instanceof d && i.traceType === "subnetwork" && i.traceConfiguration.subnetworkName ? this.subnetworksTable?.loaded ? e.length ? this.renderSubnetworkSelectList() : this.renderError(t.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : null;
241
+ }
242
+ renderSubnetworkInfo() {
243
+ const { _messages: e, selectedTraceConfiguration: t } = this;
244
+ return t?.traceConfiguration instanceof d && t.traceType && this._subnetworkTraceTypes.has(t.traceType) ? s`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>` : null;
90
245
  }
91
246
  renderContent() {
92
- const { messages: t, utilityNetworks: e } = this;
93
- return !e || e.length === 0 ? this.renderError(t.errors.noUtilityNetworkError) : s`${e.length === 1 ? null : this.renderUtilityNetworkSelection()}${this.selectedUtilityNetwork?.loaded ? this.renderTraceSelection() : this.renderLoader()}`;
247
+ const { _messages: e, utilityNetworks: t } = this;
248
+ if (!t || t.length === 0)
249
+ return this.renderError(e.errors.noUtilityNetworkError);
250
+ const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`;
251
+ return s`<calcite-block-group .label=${e.labels.traceInputs}>${t.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${this.selectedTraceConfiguration ? this.renderStartingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderStoppingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderBarrierSelection() : null}</calcite-block-group>`;
94
252
  }
95
253
  render() {
96
- const { messages: t, _state: e } = this;
97
- return s`<div class="arcgis-utility-network-trace-inputs"><calcite-block expanded .label=${t.labels.traceInputs}>${e === "disabled" ? this.renderError(t.errors.noMapError) : this.renderContent()}</calcite-block></div>`;
254
+ const { _mode: e } = this;
255
+ return s`<div class=${p(k.base)}><calcite-flow>${this.renderDefaultMode()}${e === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
98
256
  }
99
257
  }
100
- c("arcgis-utility-network-trace-inputs", w);
258
+ b("arcgis-utility-network-trace-inputs", C);
101
259
  export {
102
- w as ArcgisUtilityNetworkTraceInputs
260
+ C as ArcgisUtilityNetworkTraceInputs
103
261
  };