@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
package/dist/index.d.ts CHANGED
@@ -59,7 +59,9 @@ import type { ArcgisUtilityNetworkAssociations } from "./components/arcgis-utili
59
59
  import type { ArcgisUtilityNetworkTrace } from "./components/arcgis-utility-network-trace";
60
60
  import type { ArcgisUtilityNetworkTraceAnalysis } from "./components/arcgis-utility-network-trace-analysis";
61
61
  import type { ArcgisUtilityNetworkResultFeatureList } from "./components/arcgis-utility-network-result-feature-list";
62
+ import type { ArcgisUtilityNetworkSubnetworkInfo } from "./components/arcgis-utility-network-subnetwork-info";
62
63
  import type { ArcgisUtilityNetworkTraceInputs } from "./components/arcgis-utility-network-trace-inputs";
64
+ import type { ArcgisUtilityNetworkTraceLocation } from "./components/arcgis-utility-network-trace-location";
63
65
  import type { ArcgisUtilityNetworkTraceResults } from "./components/arcgis-utility-network-trace-results";
64
66
  import type { ArcgisUtilityNetworkValidateTopology } from "./components/arcgis-utility-network-validate-topology";
65
67
  import type { ArcgisValuePicker } from "./components/arcgis-value-picker";
@@ -390,6 +392,11 @@ export interface ArcgisUtilityNetworkTraceInputsCustomEvent<T> extends CustomEve
390
392
  target: HTMLArcgisUtilityNetworkTraceInputsElement;
391
393
  currentTarget: HTMLArcgisUtilityNetworkTraceInputsElement;
392
394
  }
395
+ export interface ArcgisUtilityNetworkTraceLocationCustomEvent<T> extends CustomEvent<T> {
396
+ detail: T;
397
+ target: HTMLArcgisUtilityNetworkTraceLocationElement;
398
+ currentTarget: HTMLArcgisUtilityNetworkTraceLocationElement;
399
+ }
393
400
  export interface ArcgisUtilityNetworkTraceResultsCustomEvent<T> extends CustomEvent<T> {
394
401
  detail: T;
395
402
  target: HTMLArcgisUtilityNetworkTraceResultsElement;
@@ -496,7 +503,9 @@ declare global {
496
503
  "arcgis-utility-network-trace": HTMLArcgisUtilityNetworkTraceElement;
497
504
  "arcgis-utility-network-trace-analysis": HTMLArcgisUtilityNetworkTraceAnalysisElement;
498
505
  "arcgis-utility-network-result-feature-list": HTMLArcgisUtilityNetworkResultFeatureListElement;
506
+ "arcgis-utility-network-subnetwork-info": HTMLArcgisUtilityNetworkSubnetworkInfoElement;
499
507
  "arcgis-utility-network-trace-inputs": HTMLArcgisUtilityNetworkTraceInputsElement;
508
+ "arcgis-utility-network-trace-location": HTMLArcgisUtilityNetworkTraceLocationElement;
500
509
  "arcgis-utility-network-trace-results": HTMLArcgisUtilityNetworkTraceResultsElement;
501
510
  "arcgis-utility-network-validate-topology": HTMLArcgisUtilityNetworkValidateTopologyElement;
502
511
  "arcgis-value-picker": HTMLArcgisValuePickerElement;
@@ -1412,6 +1421,9 @@ declare global {
1412
1421
  removeEventListener<K extends keyof HTMLArcgisUtilityNetworkResultFeatureListElementEventMap>(type: K, listener: (this: HTMLArcgisUtilityNetworkResultFeatureListElement, ev: ArcgisUtilityNetworkResultFeatureListCustomEvent<HTMLArcgisUtilityNetworkResultFeatureListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1413
1422
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1414
1423
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1424
+ }
1425
+ interface HTMLArcgisUtilityNetworkSubnetworkInfoElement extends ArcgisUtilityNetworkSubnetworkInfo {
1426
+
1415
1427
  }
1416
1428
  interface HTMLArcgisUtilityNetworkTraceInputsElementEventMap {
1417
1429
  "arcgisTraceInputsChange": ArcgisUtilityNetworkTraceInputs["arcgisTraceInputsChange"]["detail"];
@@ -1426,6 +1438,20 @@ declare global {
1426
1438
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1427
1439
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1428
1440
  }
1441
+ interface HTMLArcgisUtilityNetworkTraceLocationElementEventMap {
1442
+ "arcgisTraceLocationChange": ArcgisUtilityNetworkTraceLocation["arcgisTraceLocationChange"]["detail"];
1443
+ "arcgisTraceLocationSelectEnd": ArcgisUtilityNetworkTraceLocation["arcgisTraceLocationSelectEnd"]["detail"];
1444
+ "arcgisTraceLocationSelectStart": ArcgisUtilityNetworkTraceLocation["arcgisTraceLocationSelectStart"]["detail"];
1445
+ }
1446
+
1447
+ interface HTMLArcgisUtilityNetworkTraceLocationElement extends ArcgisUtilityNetworkTraceLocation {
1448
+ addEventListener<K extends keyof HTMLArcgisUtilityNetworkTraceLocationElementEventMap>(type: K, listener: (this: HTMLArcgisUtilityNetworkTraceLocationElement, ev: ArcgisUtilityNetworkTraceLocationCustomEvent<HTMLArcgisUtilityNetworkTraceLocationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1449
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1450
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1451
+ removeEventListener<K extends keyof HTMLArcgisUtilityNetworkTraceLocationElementEventMap>(type: K, listener: (this: HTMLArcgisUtilityNetworkTraceLocationElement, ev: ArcgisUtilityNetworkTraceLocationCustomEvent<HTMLArcgisUtilityNetworkTraceLocationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1452
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1453
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1454
+ }
1429
1455
  interface HTMLArcgisUtilityNetworkTraceResultsElementEventMap {
1430
1456
  "arcgisSelectedResultTypeChange": ArcgisUtilityNetworkTraceResults["arcgisSelectedResultTypeChange"]["detail"];
1431
1457
  }
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s, g as t } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.6 */
4
+ v5.0.0-next.8 */
5
5
  const a = s, A = t;
6
6
  export {
7
7
  A as getArcgisAssetPath,
package/dist/loader.js CHANGED
@@ -2,8 +2,8 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.6 */
6
- const s = t(e, {
5
+ v5.0.0-next.8 */
6
+ const o = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:,view:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
9
9
  "arcgis-attachments": [() => import("./components/arcgis-attachments/customElement.js"), "attachmentInfos:,attachmentKeywords:,attachmentTypes:,autoDestroyDisabled,capabilities:,displayType,graphic:,hideAddButton,hideAddSubmitButton,hideCancelAddButton,hideCancelUpdateButton,hideDeleteButton,hideErrorMessage,hideProgressBar,hideUpdateButton,icon,label,position,referenceElement,state,submitting:;destroy"],
@@ -25,8 +25,8 @@ const s = t(e, {
25
25
  "arcgis-editor": [() => import("./components/arcgis-editor/customElement.js"), "activeWorkflow:,autoDestroyDisabled,headingLevel,hideCreateFeaturesSection,hideEditFeaturesSection,hideLabelsToggle,hideSnappingControlsElementsEnabledToggle,hideSnappingControlsElementsFeatureEnabledToggle,hideSnappingControlsElementsLayerList,hideSnappingControlsElementsSelfEnabledToggle,hideTooltipsToggle,icon,label,labelOptions:,layerInfos:,position,referenceElement,showSnappingControlsElementsHeader,snappingOptions:,state,supportingWidgetDefaults:,tooltipOptions:,view:;cancelWorkflow,deleteFeatureFromWorkflow,destroy,startCreateFeaturesWorkflowAtFeatureCreation,startCreateFeaturesWorkflowAtFeatureTypeSelection,startUpdateWorkflowAtFeatureEdit,startUpdateWorkflowAtFeatureSelection,startUpdateWorkflowAtMultipleFeatureSelection"],
26
26
  "arcgis-elevation-profile": [() => import("./components/arcgis-elevation-profile/customElement.js"), "autoDestroyDisabled,effectiveUnits:,hideChart,hideClearButton,hideLegend,hideSelectButton,hideSettingsButton,hideSketchButton,hideUniformChartScalingToggle,hideUnitSelector,highlightEnabled,hoveredChartPosition,icon,input:,label,position,profiles:,progress:,referenceElement,state,uniformChartScaling,unit,unitOptions:,view:;destroy,start,stop"],
27
27
  "arcgis-elevation-profile-next": [() => import("./components/arcgis-elevation-profile-next/customElement.js"), "analysis:,autoDestroyDisabled,effectiveDisplayUnits:,elevationInfo:,geometry:,hideChart,hideClearButton,hideLegend,hideSelectButton,hideSettingsButton,hideSketchButton,hideUniformChartScalingToggle,hideUnitSelector,highlightEnabled,hoveredPosition,icon,label,messageOverrides:,position,profiles:,progress:,referenceElement,state,uniformChartScaling,unitDistance,unitElevation,unitOptionsDistance:,unitOptionsElevation:,view:;destroy,select,start,stop"],
28
- "arcgis-elevation-profile-legend": [() => import("./components/arcgis-elevation-profile-legend/customElement.js"), "effectiveDisplayUnits:,messages:,results:;destroy"],
29
- "arcgis-elevation-profile-legend-item": [() => import("./components/arcgis-elevation-profile-legend-item/customElement.js"), "effectiveDisplayUnits:,expanded,hideCheckbox,messages:,result:;destroy"],
28
+ "arcgis-elevation-profile-legend": [() => import("./components/arcgis-elevation-profile-legend/customElement.js"), "effectiveDisplayUnits:,featureSelected,messages:,results:;destroy"],
29
+ "arcgis-elevation-profile-legend-item": [() => import("./components/arcgis-elevation-profile-legend-item/customElement.js"), "effectiveDisplayUnits:,expanded,featureSelected,hideCheckbox,messages:,result:;destroy"],
30
30
  "arcgis-elevation-profile-settings": [() => import("./components/arcgis-elevation-profile-settings/customElement.js"), "analysis:,hideUniformChartScalingToggle,hideUnitSelector,messages:,uniformChartScaling,unitOptionsDistance:,unitOptionsElevation:;destroy"],
31
31
  "arcgis-elevation-profile-statistics": [() => import("./components/arcgis-elevation-profile-statistics/customElement.js"), "effectiveDisplayUnits:,messages:,result:;destroy"],
32
32
  "arcgis-expand": [() => import("./components/arcgis-expand/customElement.js"), "autoCollapse,autoDestroyDisabled,closeOnEscDisabled,collapseIcon,collapseTooltip,content,expanded,expandIcon,expandTooltip,focusTrapDisabled,focusTrapEnabled,group,icon,iconNumber,label,messageOverrides:,mode,placement,position,referenceElement,state,view:;collapse,destroy,expand"],
@@ -35,7 +35,7 @@ const s = t(e, {
35
35
  "arcgis-feature-content": [() => import("./components/arcgis-feature-content/customElement.js"), "creator,destroyer:,graphic:"],
36
36
  "arcgis-feature-element-info": [() => import("./components/arcgis-feature-element-info/customElement.js"), "description,heading,headingLevel"],
37
37
  "arcgis-feature-expression": [() => import("./components/arcgis-feature-expression/customElement.js"), "expressionInfo:,fieldInfoMap:,graphic:,headingLevel,interceptor:,location:,map:,messages:,spatialReference:,values:,view:"],
38
- "arcgis-feature-fields": [() => import("./components/arcgis-feature-fields/customElement.js"), "description,expressionInfos:,fieldInfos:,heading,headingLevel,messages:,values:"],
38
+ "arcgis-feature-fields": [() => import("./components/arcgis-feature-fields/customElement.js"), "description,expressionInfos:,fieldInfos:,heading,headingLevel,isAggregate,isContentFieldInfos,layer:,messages:,values:"],
39
39
  "arcgis-feature-form": [() => import("./components/arcgis-feature-form/customElement.js"), "autoDestroyDisabled,editType,feature:,formTemplate:,groupDisplay,headingLevel,icon,label,layer:,position,referenceElement,state,timeZone;destroy,getValues,submit"],
40
40
  "arcgis-feature-media": [() => import("./components/arcgis-feature-media/customElement.js"), "activeMediaInfo:,activeMediaInfoIndex,chartAnimationDisabled,description,fieldInfoMap:,formattedMediaInfoCount:,formattedMediaInfos:,formattedValues:,heading,headingLevel,isAggregate,layer:,mediaInfos:,messages:,popupTemplate:,relatedInfos:,values:;;next,previous,setActiveMedia"],
41
41
  "arcgis-feature-relationship": [() => import("./components/arcgis-feature-relationship/customElement.js"), "activeCategory:,allItemsDescription:,autoDestroyDisabled,description,displayCount,featurePage,featuresPerPage,flowItems:,flowType,graphic:,heading,headingLevel,hideDescription,hideHeading,label,layer:,map:,messages:,orderByFields:,relationshipId,showAllEnabled,spatialReference:,timeZone,values:,view:;destroy"],
@@ -115,7 +115,9 @@ const s = t(e, {
115
115
  "arcgis-utility-network-trace": [() => import("./components/arcgis-utility-network-trace/customElement.js"), "autoDestroyDisabled,defaultGraphicColor:,disabled,enableResultArea,flags:,icon,inputSettings:,label,position,referenceElement,resultAreaProperties:,selectedTraces:,selectOnCompleteDisabled,showGraphicsOnCompleteDisabled,showSelectionAttributesDisabled,state,traceResults:,view:;checkCanTrace,confirmReset,destroy"],
116
116
  "arcgis-utility-network-trace-analysis": [() => import("./components/arcgis-utility-network-trace-analysis/customElement.js"), "allowEditingDisabled,autoDestroyDisabled,closable,icon,label,messageOverrides:,mode,referenceElement,state,view:;destroy"],
117
117
  "arcgis-utility-network-result-feature-list": [() => import("./components/arcgis-utility-network-result-feature-list/customElement.js"), "elements:,layers:,messageOverrides:,selectedLayer:,utilityNetwork:"],
118
- "arcgis-utility-network-trace-inputs": [() => import("./components/arcgis-utility-network-trace-inputs/customElement.js"), "referenceElement,selectedTraceConfiguration:,selectedUtilityNetwork:,view:"],
118
+ "arcgis-utility-network-subnetwork-info": [() => import("./components/arcgis-utility-network-subnetwork-info/customElement.js"), "namedTraceConfig:"],
119
+ "arcgis-utility-network-trace-inputs": [() => import("./components/arcgis-utility-network-trace-inputs/customElement.js"), "referenceElement,selectedSubnetworkName,selectedTraceConfiguration:,selectedUtilityNetwork:,traceLocations:,view:"],
120
+ "arcgis-utility-network-trace-location": [() => import("./components/arcgis-utility-network-trace-location/customElement.js"), "filterLayers:,flagLayer:,sketchViewModel:,traceLocations:,traceLocationType,utilityNetwork:,view:"],
119
121
  "arcgis-utility-network-trace-results": [() => import("./components/arcgis-utility-network-trace-results/customElement.js"), "layers:,messageOverrides:,selectedResultType:,traceConfigTitle,traceResult:,utilityNetwork:"],
120
122
  "arcgis-utility-network-validate-topology": [() => import("./components/arcgis-utility-network-validate-topology/customElement.js"), "autoDestroyDisabled,extentToValidate,icon,label,position,referenceElement,state,utilityNetwork:,view:;destroy"],
121
123
  "arcgis-value-picker": [() => import("./components/arcgis-value-picker/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,caption,component:,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,playRate,position,referenceElement,values:;destroy,next,pause,play,previous"],
@@ -135,5 +137,5 @@ const s = t(e, {
135
137
  "arcgis-zoom": [() => import("./components/arcgis-zoom/customElement.js"), "autoDestroyDisabled,icon,label,layout,messageOverrides:,position,referenceElement,state,view:;destroy,zoomIn,zoomOut"]
136
138
  });
137
139
  export {
138
- s as defineCustomElements
140
+ o as defineCustomElements
139
141
  };
@@ -30,6 +30,7 @@ export declare abstract class AnalysisViewModel<IViewType extends MapView | Scen
30
30
  */
31
31
  set analysis(v: AnalysisType);
32
32
  protected _analysisView?: AnalysisViewFor<AnalysisType>;
33
+ protected shouldForceInteractive: boolean;
33
34
  get analysisView(): AnalysisViewFor<AnalysisType> | undefined;
34
35
  get ready(): boolean;
35
36
  get connectingToView(): boolean;
@@ -1 +1 @@
1
- export declare function makeHandle(cleanup: () => void): IHandle;
1
+ export declare function makeHandle(cleanup?: () => void): IHandle;
@@ -60,7 +60,9 @@ import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-util
60
60
  import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace";
61
61
  import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis";
62
62
  import type { ArcgisUtilityNetworkResultFeatureList } from "../components/arcgis-utility-network-result-feature-list";
63
+ import type { ArcgisUtilityNetworkSubnetworkInfo } from "../components/arcgis-utility-network-subnetwork-info";
63
64
  import type { ArcgisUtilityNetworkTraceInputs } from "../components/arcgis-utility-network-trace-inputs";
65
+ import type { ArcgisUtilityNetworkTraceLocation } from "../components/arcgis-utility-network-trace-location";
64
66
  import type { ArcgisUtilityNetworkTraceResults } from "../components/arcgis-utility-network-trace-results";
65
67
  import type { ArcgisUtilityNetworkValidateTopology } from "../components/arcgis-utility-network-validate-topology";
66
68
  import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
@@ -498,11 +500,20 @@ interface LuminaArcgisUtilityNetworkResultFeatureList extends Required<Pick<Arcg
498
500
  onarcgisSelectedLayerChange?: EventHandler<HTMLArcgisUtilityNetworkResultFeatureListElement["arcgisSelectedLayerChange"]>;
499
501
  }
500
502
 
501
- interface LuminaArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
503
+ interface LuminaArcgisUtilityNetworkSubnetworkInfo extends Required<Pick<ArcgisUtilityNetworkSubnetworkInfo, 'namedTraceConfig'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkSubnetworkInfoElement> {
504
+ }
505
+
506
+ interface LuminaArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedSubnetworkName' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
502
507
  onarcgisTraceInputsChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisTraceInputsChange"]>;
503
508
  onarcgisUtilityNetworkChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisUtilityNetworkChange"]>;
504
509
  }
505
510
 
511
+ interface LuminaArcgisUtilityNetworkTraceLocation extends Required<Pick<ArcgisUtilityNetworkTraceLocation, 'utilityNetwork' | 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceLocation, 'filterLayers' | 'flagLayer' | 'sketchViewModel' | 'traceLocations' | 'traceLocationType'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkTraceLocationElement> {
512
+ onarcgisTraceLocationChange?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationChange"]>;
513
+ onarcgisTraceLocationSelectEnd?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectEnd"]>;
514
+ onarcgisTraceLocationSelectStart?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectStart"]>;
515
+ }
516
+
506
517
  interface LuminaArcgisUtilityNetworkTraceResults extends Partial<Pick<ArcgisUtilityNetworkTraceResults, 'layers' | 'messageOverrides' | 'traceConfigTitle' | 'traceResult' | 'utilityNetwork'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkTraceResultsElement> {
507
518
  onarcgisSelectedResultTypeChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedResultTypeChange"]>;
508
519
  }
@@ -611,7 +622,9 @@ declare module "@arcgis/lumina" {
611
622
  "arcgis-utility-network-trace": LuminaArcgisUtilityNetworkTrace;
612
623
  "arcgis-utility-network-trace-analysis": LuminaArcgisUtilityNetworkTraceAnalysis;
613
624
  "arcgis-utility-network-result-feature-list": LuminaArcgisUtilityNetworkResultFeatureList;
625
+ "arcgis-utility-network-subnetwork-info": LuminaArcgisUtilityNetworkSubnetworkInfo;
614
626
  "arcgis-utility-network-trace-inputs": LuminaArcgisUtilityNetworkTraceInputs;
627
+ "arcgis-utility-network-trace-location": LuminaArcgisUtilityNetworkTraceLocation;
615
628
  "arcgis-utility-network-trace-results": LuminaArcgisUtilityNetworkTraceResults;
616
629
  "arcgis-utility-network-validate-topology": LuminaArcgisUtilityNetworkValidateTopology;
617
630
  "arcgis-value-picker": LuminaArcgisValuePicker;
@@ -60,7 +60,9 @@ import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-util
60
60
  import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace";
61
61
  import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis";
62
62
  import type { ArcgisUtilityNetworkResultFeatureList } from "../components/arcgis-utility-network-result-feature-list";
63
+ import type { ArcgisUtilityNetworkSubnetworkInfo } from "../components/arcgis-utility-network-subnetwork-info";
63
64
  import type { ArcgisUtilityNetworkTraceInputs } from "../components/arcgis-utility-network-trace-inputs";
65
+ import type { ArcgisUtilityNetworkTraceLocation } from "../components/arcgis-utility-network-trace-location";
64
66
  import type { ArcgisUtilityNetworkTraceResults } from "../components/arcgis-utility-network-trace-results";
65
67
  import type { ArcgisUtilityNetworkValidateTopology } from "../components/arcgis-utility-network-validate-topology";
66
68
  import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
@@ -499,11 +501,20 @@ interface PreactArcgisUtilityNetworkResultFeatureList extends Required<Pick<Arcg
499
501
  onarcgisSelectedLayerChange?: EventHandler<HTMLArcgisUtilityNetworkResultFeatureListElement["arcgisSelectedLayerChange"]>;
500
502
  }
501
503
 
502
- interface PreactArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
504
+ interface PreactArcgisUtilityNetworkSubnetworkInfo extends Required<Pick<ArcgisUtilityNetworkSubnetworkInfo, 'namedTraceConfig'>>, HTMLAttributes<HTMLArcgisUtilityNetworkSubnetworkInfoElement> {
505
+ }
506
+
507
+ interface PreactArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedSubnetworkName' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
503
508
  onarcgisTraceInputsChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisTraceInputsChange"]>;
504
509
  onarcgisUtilityNetworkChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisUtilityNetworkChange"]>;
505
510
  }
506
511
 
512
+ interface PreactArcgisUtilityNetworkTraceLocation extends Required<Pick<ArcgisUtilityNetworkTraceLocation, 'utilityNetwork' | 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceLocation, 'filterLayers' | 'flagLayer' | 'sketchViewModel' | 'traceLocations' | 'traceLocationType'>>, HTMLAttributes<HTMLArcgisUtilityNetworkTraceLocationElement> {
513
+ onarcgisTraceLocationChange?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationChange"]>;
514
+ onarcgisTraceLocationSelectEnd?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectEnd"]>;
515
+ onarcgisTraceLocationSelectStart?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectStart"]>;
516
+ }
517
+
507
518
  interface PreactArcgisUtilityNetworkTraceResults extends Partial<Pick<ArcgisUtilityNetworkTraceResults, 'layers' | 'messageOverrides' | 'traceConfigTitle' | 'traceResult' | 'utilityNetwork'>>, HTMLAttributes<HTMLArcgisUtilityNetworkTraceResultsElement> {
508
519
  onarcgisSelectedResultTypeChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedResultTypeChange"]>;
509
520
  }
@@ -612,7 +623,9 @@ declare module 'preact' {
612
623
  "arcgis-utility-network-trace": PreactArcgisUtilityNetworkTrace;
613
624
  "arcgis-utility-network-trace-analysis": PreactArcgisUtilityNetworkTraceAnalysis;
614
625
  "arcgis-utility-network-result-feature-list": PreactArcgisUtilityNetworkResultFeatureList;
626
+ "arcgis-utility-network-subnetwork-info": PreactArcgisUtilityNetworkSubnetworkInfo;
615
627
  "arcgis-utility-network-trace-inputs": PreactArcgisUtilityNetworkTraceInputs;
628
+ "arcgis-utility-network-trace-location": PreactArcgisUtilityNetworkTraceLocation;
616
629
  "arcgis-utility-network-trace-results": PreactArcgisUtilityNetworkTraceResults;
617
630
  "arcgis-utility-network-validate-topology": PreactArcgisUtilityNetworkValidateTopology;
618
631
  "arcgis-value-picker": PreactArcgisValuePicker;
@@ -686,7 +699,9 @@ declare module 'preact' {
686
699
  "arcgis-utility-network-trace": PreactArcgisUtilityNetworkTrace;
687
700
  "arcgis-utility-network-trace-analysis": PreactArcgisUtilityNetworkTraceAnalysis;
688
701
  "arcgis-utility-network-result-feature-list": PreactArcgisUtilityNetworkResultFeatureList;
702
+ "arcgis-utility-network-subnetwork-info": PreactArcgisUtilityNetworkSubnetworkInfo;
689
703
  "arcgis-utility-network-trace-inputs": PreactArcgisUtilityNetworkTraceInputs;
704
+ "arcgis-utility-network-trace-location": PreactArcgisUtilityNetworkTraceLocation;
690
705
  "arcgis-utility-network-trace-results": PreactArcgisUtilityNetworkTraceResults;
691
706
  "arcgis-utility-network-validate-topology": PreactArcgisUtilityNetworkValidateTopology;
692
707
  "arcgis-value-picker": PreactArcgisValuePicker;
@@ -60,7 +60,9 @@ import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-util
60
60
  import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace";
61
61
  import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis";
62
62
  import type { ArcgisUtilityNetworkResultFeatureList } from "../components/arcgis-utility-network-result-feature-list";
63
+ import type { ArcgisUtilityNetworkSubnetworkInfo } from "../components/arcgis-utility-network-subnetwork-info";
63
64
  import type { ArcgisUtilityNetworkTraceInputs } from "../components/arcgis-utility-network-trace-inputs";
65
+ import type { ArcgisUtilityNetworkTraceLocation } from "../components/arcgis-utility-network-trace-location";
64
66
  import type { ArcgisUtilityNetworkTraceResults } from "../components/arcgis-utility-network-trace-results";
65
67
  import type { ArcgisUtilityNetworkValidateTopology } from "../components/arcgis-utility-network-validate-topology";
66
68
  import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
@@ -561,11 +563,22 @@ interface PreactArcgisUtilityNetworkResultFeatureList extends Required<Pick<Arcg
561
563
  }
562
564
 
563
565
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
564
- interface PreactArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
566
+ interface PreactArcgisUtilityNetworkSubnetworkInfo extends Required<Pick<ArcgisUtilityNetworkSubnetworkInfo, 'namedTraceConfig'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkSubnetworkInfoElement> {
567
+ }
568
+
569
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
570
+ interface PreactArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedSubnetworkName' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
565
571
  onarcgisTraceInputsChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisTraceInputsChange"]>;
566
572
  onarcgisUtilityNetworkChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisUtilityNetworkChange"]>;
567
573
  }
568
574
 
575
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
576
+ interface PreactArcgisUtilityNetworkTraceLocation extends Required<Pick<ArcgisUtilityNetworkTraceLocation, 'utilityNetwork' | 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceLocation, 'filterLayers' | 'flagLayer' | 'sketchViewModel' | 'traceLocations' | 'traceLocationType'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceLocationElement> {
577
+ onarcgisTraceLocationChange?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationChange"]>;
578
+ onarcgisTraceLocationSelectEnd?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectEnd"]>;
579
+ onarcgisTraceLocationSelectStart?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectStart"]>;
580
+ }
581
+
569
582
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
570
583
  interface PreactArcgisUtilityNetworkTraceResults extends Partial<Pick<ArcgisUtilityNetworkTraceResults, 'layers' | 'messageOverrides' | 'traceConfigTitle' | 'traceResult' | 'utilityNetwork'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceResultsElement> {
571
584
  onarcgisSelectedResultTypeChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedResultTypeChange"]>;
@@ -682,7 +695,9 @@ declare module 'preact' {
682
695
  "arcgis-utility-network-trace": PreactArcgisUtilityNetworkTrace;
683
696
  "arcgis-utility-network-trace-analysis": PreactArcgisUtilityNetworkTraceAnalysis;
684
697
  "arcgis-utility-network-result-feature-list": PreactArcgisUtilityNetworkResultFeatureList;
698
+ "arcgis-utility-network-subnetwork-info": PreactArcgisUtilityNetworkSubnetworkInfo;
685
699
  "arcgis-utility-network-trace-inputs": PreactArcgisUtilityNetworkTraceInputs;
700
+ "arcgis-utility-network-trace-location": PreactArcgisUtilityNetworkTraceLocation;
686
701
  "arcgis-utility-network-trace-results": PreactArcgisUtilityNetworkTraceResults;
687
702
  "arcgis-utility-network-validate-topology": PreactArcgisUtilityNetworkValidateTopology;
688
703
  "arcgis-value-picker": PreactArcgisValuePicker;
@@ -756,7 +771,9 @@ declare module 'preact' {
756
771
  "arcgis-utility-network-trace": PreactArcgisUtilityNetworkTrace;
757
772
  "arcgis-utility-network-trace-analysis": PreactArcgisUtilityNetworkTraceAnalysis;
758
773
  "arcgis-utility-network-result-feature-list": PreactArcgisUtilityNetworkResultFeatureList;
774
+ "arcgis-utility-network-subnetwork-info": PreactArcgisUtilityNetworkSubnetworkInfo;
759
775
  "arcgis-utility-network-trace-inputs": PreactArcgisUtilityNetworkTraceInputs;
776
+ "arcgis-utility-network-trace-location": PreactArcgisUtilityNetworkTraceLocation;
760
777
  "arcgis-utility-network-trace-results": PreactArcgisUtilityNetworkTraceResults;
761
778
  "arcgis-utility-network-validate-topology": PreactArcgisUtilityNetworkValidateTopology;
762
779
  "arcgis-value-picker": PreactArcgisValuePicker;
@@ -60,7 +60,9 @@ import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-util
60
60
  import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace";
61
61
  import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis";
62
62
  import type { ArcgisUtilityNetworkResultFeatureList } from "../components/arcgis-utility-network-result-feature-list";
63
+ import type { ArcgisUtilityNetworkSubnetworkInfo } from "../components/arcgis-utility-network-subnetwork-info";
63
64
  import type { ArcgisUtilityNetworkTraceInputs } from "../components/arcgis-utility-network-trace-inputs";
65
+ import type { ArcgisUtilityNetworkTraceLocation } from "../components/arcgis-utility-network-trace-location";
64
66
  import type { ArcgisUtilityNetworkTraceResults } from "../components/arcgis-utility-network-trace-results";
65
67
  import type { ArcgisUtilityNetworkValidateTopology } from "../components/arcgis-utility-network-validate-topology";
66
68
  import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
@@ -499,11 +501,20 @@ interface ReactArcgisUtilityNetworkResultFeatureList extends Required<Pick<Arcgi
499
501
  onarcgisSelectedLayerChange?: EventHandler<HTMLArcgisUtilityNetworkResultFeatureListElement["arcgisSelectedLayerChange"]>;
500
502
  }
501
503
 
502
- interface ReactArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, HTMLProps<HTMLArcgisUtilityNetworkTraceInputsElement> {
504
+ interface ReactArcgisUtilityNetworkSubnetworkInfo extends Required<Pick<ArcgisUtilityNetworkSubnetworkInfo, 'namedTraceConfig'>>, HTMLProps<HTMLArcgisUtilityNetworkSubnetworkInfoElement> {
505
+ }
506
+
507
+ interface ReactArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedSubnetworkName' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, HTMLProps<HTMLArcgisUtilityNetworkTraceInputsElement> {
503
508
  onarcgisTraceInputsChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisTraceInputsChange"]>;
504
509
  onarcgisUtilityNetworkChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisUtilityNetworkChange"]>;
505
510
  }
506
511
 
512
+ interface ReactArcgisUtilityNetworkTraceLocation extends Required<Pick<ArcgisUtilityNetworkTraceLocation, 'utilityNetwork' | 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceLocation, 'filterLayers' | 'flagLayer' | 'sketchViewModel' | 'traceLocations' | 'traceLocationType'>>, HTMLProps<HTMLArcgisUtilityNetworkTraceLocationElement> {
513
+ onarcgisTraceLocationChange?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationChange"]>;
514
+ onarcgisTraceLocationSelectEnd?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectEnd"]>;
515
+ onarcgisTraceLocationSelectStart?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectStart"]>;
516
+ }
517
+
507
518
  interface ReactArcgisUtilityNetworkTraceResults extends Partial<Pick<ArcgisUtilityNetworkTraceResults, 'layers' | 'messageOverrides' | 'traceConfigTitle' | 'traceResult' | 'utilityNetwork'>>, HTMLProps<HTMLArcgisUtilityNetworkTraceResultsElement> {
508
519
  onarcgisSelectedResultTypeChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedResultTypeChange"]>;
509
520
  }
@@ -612,7 +623,9 @@ declare module "react" {
612
623
  "arcgis-utility-network-trace": ReactArcgisUtilityNetworkTrace;
613
624
  "arcgis-utility-network-trace-analysis": ReactArcgisUtilityNetworkTraceAnalysis;
614
625
  "arcgis-utility-network-result-feature-list": ReactArcgisUtilityNetworkResultFeatureList;
626
+ "arcgis-utility-network-subnetwork-info": ReactArcgisUtilityNetworkSubnetworkInfo;
615
627
  "arcgis-utility-network-trace-inputs": ReactArcgisUtilityNetworkTraceInputs;
628
+ "arcgis-utility-network-trace-location": ReactArcgisUtilityNetworkTraceLocation;
616
629
  "arcgis-utility-network-trace-results": ReactArcgisUtilityNetworkTraceResults;
617
630
  "arcgis-utility-network-validate-topology": ReactArcgisUtilityNetworkValidateTopology;
618
631
  "arcgis-value-picker": ReactArcgisValuePicker;
@@ -688,7 +701,9 @@ declare module "react/jsx-runtime" {
688
701
  "arcgis-utility-network-trace": ReactArcgisUtilityNetworkTrace;
689
702
  "arcgis-utility-network-trace-analysis": ReactArcgisUtilityNetworkTraceAnalysis;
690
703
  "arcgis-utility-network-result-feature-list": ReactArcgisUtilityNetworkResultFeatureList;
704
+ "arcgis-utility-network-subnetwork-info": ReactArcgisUtilityNetworkSubnetworkInfo;
691
705
  "arcgis-utility-network-trace-inputs": ReactArcgisUtilityNetworkTraceInputs;
706
+ "arcgis-utility-network-trace-location": ReactArcgisUtilityNetworkTraceLocation;
692
707
  "arcgis-utility-network-trace-results": ReactArcgisUtilityNetworkTraceResults;
693
708
  "arcgis-utility-network-validate-topology": ReactArcgisUtilityNetworkValidateTopology;
694
709
  "arcgis-value-picker": ReactArcgisValuePicker;
@@ -764,7 +779,9 @@ declare module "react/jsx-dev-runtime" {
764
779
  "arcgis-utility-network-trace": ReactArcgisUtilityNetworkTrace;
765
780
  "arcgis-utility-network-trace-analysis": ReactArcgisUtilityNetworkTraceAnalysis;
766
781
  "arcgis-utility-network-result-feature-list": ReactArcgisUtilityNetworkResultFeatureList;
782
+ "arcgis-utility-network-subnetwork-info": ReactArcgisUtilityNetworkSubnetworkInfo;
767
783
  "arcgis-utility-network-trace-inputs": ReactArcgisUtilityNetworkTraceInputs;
784
+ "arcgis-utility-network-trace-location": ReactArcgisUtilityNetworkTraceLocation;
768
785
  "arcgis-utility-network-trace-results": ReactArcgisUtilityNetworkTraceResults;
769
786
  "arcgis-utility-network-validate-topology": ReactArcgisUtilityNetworkValidateTopology;
770
787
  "arcgis-value-picker": ReactArcgisValuePicker;
@@ -60,7 +60,9 @@ import type { ArcgisUtilityNetworkAssociations } from "../components/arcgis-util
60
60
  import type { ArcgisUtilityNetworkTrace } from "../components/arcgis-utility-network-trace";
61
61
  import type { ArcgisUtilityNetworkTraceAnalysis } from "../components/arcgis-utility-network-trace-analysis";
62
62
  import type { ArcgisUtilityNetworkResultFeatureList } from "../components/arcgis-utility-network-result-feature-list";
63
+ import type { ArcgisUtilityNetworkSubnetworkInfo } from "../components/arcgis-utility-network-subnetwork-info";
63
64
  import type { ArcgisUtilityNetworkTraceInputs } from "../components/arcgis-utility-network-trace-inputs";
65
+ import type { ArcgisUtilityNetworkTraceLocation } from "../components/arcgis-utility-network-trace-location";
64
66
  import type { ArcgisUtilityNetworkTraceResults } from "../components/arcgis-utility-network-trace-results";
65
67
  import type { ArcgisUtilityNetworkValidateTopology } from "../components/arcgis-utility-network-validate-topology";
66
68
  import type { ArcgisValuePicker } from "../components/arcgis-value-picker";
@@ -499,11 +501,20 @@ interface StencilArcgisUtilityNetworkResultFeatureList extends Required<Pick<Arc
499
501
  onArcgisSelectedLayerChange?: EventHandler<HTMLArcgisUtilityNetworkResultFeatureListElement["arcgisSelectedLayerChange"]>;
500
502
  }
501
503
 
502
- interface StencilArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
504
+ interface StencilArcgisUtilityNetworkSubnetworkInfo extends Required<Pick<ArcgisUtilityNetworkSubnetworkInfo, 'namedTraceConfig'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkSubnetworkInfoElement> {
505
+ }
506
+
507
+ interface StencilArcgisUtilityNetworkTraceInputs extends Required<Pick<ArcgisUtilityNetworkTraceInputs, 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceInputs, 'referenceElement' | 'selectedSubnetworkName' | 'selectedTraceConfiguration' | 'selectedUtilityNetwork'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceInputsElement> {
503
508
  onArcgisTraceInputsChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisTraceInputsChange"]>;
504
509
  onArcgisUtilityNetworkChange?: EventHandler<HTMLArcgisUtilityNetworkTraceInputsElement["arcgisUtilityNetworkChange"]>;
505
510
  }
506
511
 
512
+ interface StencilArcgisUtilityNetworkTraceLocation extends Required<Pick<ArcgisUtilityNetworkTraceLocation, 'utilityNetwork' | 'view'>>, Partial<Pick<ArcgisUtilityNetworkTraceLocation, 'filterLayers' | 'flagLayer' | 'sketchViewModel' | 'traceLocations' | 'traceLocationType'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceLocationElement> {
513
+ onArcgisTraceLocationChange?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationChange"]>;
514
+ onArcgisTraceLocationSelectEnd?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectEnd"]>;
515
+ onArcgisTraceLocationSelectStart?: EventHandler<HTMLArcgisUtilityNetworkTraceLocationElement["arcgisTraceLocationSelectStart"]>;
516
+ }
517
+
507
518
  interface StencilArcgisUtilityNetworkTraceResults extends Partial<Pick<ArcgisUtilityNetworkTraceResults, 'layers' | 'messageOverrides' | 'traceConfigTitle' | 'traceResult' | 'utilityNetwork'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkTraceResultsElement> {
508
519
  onArcgisSelectedResultTypeChange?: EventHandler<HTMLArcgisUtilityNetworkTraceResultsElement["arcgisSelectedResultTypeChange"]>;
509
520
  }
@@ -610,7 +621,9 @@ interface ExposedElements {
610
621
  "arcgis-utility-network-trace": StencilArcgisUtilityNetworkTrace;
611
622
  "arcgis-utility-network-trace-analysis": StencilArcgisUtilityNetworkTraceAnalysis;
612
623
  "arcgis-utility-network-result-feature-list": StencilArcgisUtilityNetworkResultFeatureList;
624
+ "arcgis-utility-network-subnetwork-info": StencilArcgisUtilityNetworkSubnetworkInfo;
613
625
  "arcgis-utility-network-trace-inputs": StencilArcgisUtilityNetworkTraceInputs;
626
+ "arcgis-utility-network-trace-location": StencilArcgisUtilityNetworkTraceLocation;
614
627
  "arcgis-utility-network-trace-results": StencilArcgisUtilityNetworkTraceResults;
615
628
  "arcgis-utility-network-validate-topology": StencilArcgisUtilityNetworkValidateTopology;
616
629
  "arcgis-value-picker": StencilArcgisValuePicker;
@@ -12,7 +12,22 @@ export declare function getFixedFieldName(field: string, layer: __esri.Layer | n
12
12
  export declare function getFixedFieldNames(fields: string[], layer: __esri.Layer | nil): string[];
13
13
  export declare function isExpressionField(fieldName: string): boolean;
14
14
  export declare function getFieldInfo(fieldInfos: __esri.FieldInfo[] | nil, fieldName: nil | string): __esri.FieldInfo | undefined;
15
- export declare function getFieldInfoLabel(fieldInfo: __esri.FieldInfo, expressionInfos?: __esri.ExpressionInfo[] | null): nil | string;
15
+ export declare function isSupportedContext({ fieldInfo, isAggregate, }: {
16
+ fieldInfo?: __esri.FieldInfo;
17
+ isAggregate?: nil | boolean;
18
+ }): boolean;
19
+ export declare function getFieldInfoLabel({ expressionInfos, fieldInfo, isAggregate, isContentFieldInfos, layer, }: {
20
+ expressionInfos?: __esri.ExpressionInfo[] | nil;
21
+ fieldInfo?: __esri.FieldInfo;
22
+ isAggregate?: boolean;
23
+ isContentFieldInfos?: boolean;
24
+ layer?: __esri.FeatureLayer | nil;
25
+ }): nil | string;
26
+ export declare function getFieldFormat({ fieldInfo, isContentFieldInfos, layer, }: {
27
+ fieldInfo?: __esri.FieldInfo;
28
+ isContentFieldInfos?: nil | boolean;
29
+ layer?: __esri.FeatureLayer | nil;
30
+ }): __esri.DateTimeFieldFormat | __esri.NumberFieldFormat | nil;
16
31
  export declare function substituteValues({ formattedValues, template, fieldInfoMap, }: {
17
32
  formattedValues: HashMap<number | string>;
18
33
  template: string;
@@ -0,0 +1,22 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import { default as Graphic } from '@arcgis/core/Graphic';
3
+ import { default as MapView } from '@arcgis/core/views/MapView';
4
+ import { default as SceneView } from '@arcgis/core/views/SceneView';
5
+ import { ArcgisMap } from '../components/arcgis-map/customElement.js';
6
+ import { ArcgisScene } from '../components/arcgis-scene/customElement.js';
7
+ import { AbortOptions } from './async-utils';
8
+ type ViewOrViewElement = ArcgisMap | ArcgisScene | MapView | SceneView;
9
+ /**
10
+ * Highlights a given feature on the provided view or view element and returns a handle to remove the highlight.
11
+ *
12
+ * It attempts to retrieve the layer view for the provided feature's layer, checks for an available highlight method,
13
+ * and applies the highlight if possible. If highlighting is not supported, it returns a no-op handle.
14
+ *
15
+ * @param view - The view or view element where the feature should be highlighted.
16
+ * @param feature - The feature to highlight.
17
+ * @param options - Optional abort options to cancel the operation if needed.
18
+ *
19
+ * @returns A promise that resolves to a handle that can be used to remove the highlight.
20
+ */
21
+ export declare function highlightFeature(view: ViewOrViewElement, feature: Graphic, options?: AbortOptions): Promise<__esri.Handle>;
22
+ export {};
@@ -0,0 +1,4 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ export declare function isFeatureLayer(layer: unknown): layer is __esri.FeatureLayer;
3
+ export declare function isFeatureServiceLayer(layer: unknown): layer is __esri.FeatureLayer;
4
+ export declare function supportsFieldConfiguration(layer: unknown): layer is __esri.FeatureLayer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.0.0-next.6",
3
+ "version": "5.0.0-next.8",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -43,8 +43,8 @@
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
45
  "@amcharts/amcharts5": "~5.13.6",
46
- "@arcgis/lumina": "5.0.0-next.6",
47
- "@arcgis/toolkit": "5.0.0-next.6",
46
+ "@arcgis/lumina": "5.0.0-next.8",
47
+ "@arcgis/toolkit": "5.0.0-next.8",
48
48
  "lit": "^3.3.0",
49
49
  "tslib": "^2.8.1"
50
50
  },
@@ -1,5 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.6 */
4
- import c from"./MTOZCJE4.js";import a from"./PF2BHU63.js";import{a as G}from"./YXLQEOV6.js";import{d as O}from"./LDRCHRH6.js";import{e as j}from"./ZNGXUT36.js";import{H as B,I as D,J as I,L as b,O as H,a as U,b as C}from"./VA6J4CYT.js";import"./K7O52SLI.js";export default $arcgis.t(([{getColorsFromRenderer:ne},{substitute:se},{watch:oe},le,Z,{renderingSanitizer:ee},{e:A,f:K,g:z,h:W,i:q,j:J,k:Q,l:N,m:P,n:S},{b:T}])=>{var de=U`.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}`;function X(L){if(!A(L))return null;let[e,t]=L.split("/").slice(1);return{layerId:e,fieldName:t}}var x="arcgis-feature-media",v={base:x,mediaContainer:`${x}__container`,mediaItemContainer:`${x}__item-container`,mediaItem:`${x}__item`,mediaItemText:`${x}__item-text`,mediaItemTitle:`${x}__item-title`,mediaItemCaption:`${x}__item-caption`,mediaNavigation:`${x}__item-navigation`,mediaPagination:`${x}__pagination`,mediaPaginationText:`${x}__pagination-text`,mediaChart:`${x}__chart`,mediaPaginationButton:`${x}__pagination-button`,mediaPaginationIcon:`${x}__pagination-icon`,mediaChartRendered:`${x}__chart--rendered`},Y=15,w="category",R="value",ce="rgba(50, 50, 50, 1)",me=250,ue=500,he=200,E=class extends D{constructor(){super(...arguments),this._prefersReducedMotion=O("(prefers-reduced-motion)"),this.activeMediaInfoIndex=0,this.chartAnimationDisabled=!1,this.isAggregate=!1,this.headingLevel=2}static{this.properties={_refreshIntervalInfo:16,messages:0,values:0,activeMediaInfoIndex:9,chartAnimationDisabled:5,activeMediaInfo:32,formattedMediaInfos:32,description:1,fieldInfoMap:0,layer:0,mediaInfos:0,popupTemplate:0,relatedInfos:0,formattedValues:0,heading:1,isAggregate:5,formattedMediaInfoCount:32,headingLevel:9}}static{this.styles=de}get activeMediaInfo(){return this.formattedMediaInfos[this.activeMediaInfoIndex]||null}get formattedMediaInfos(){return this._formatMediaInfos()||[]}get formattedMediaInfoCount(){return this.formattedMediaInfos.length}next(){this._pageContentElementMedia(1)}previous(){this._pageContentElementMedia(-1)}setActiveMedia(e){this._setContentElementMedia(e)}loaded(){this.manager.onLifecycle(()=>[oe(()=>[this.activeMediaInfo,this.activeMediaInfoIndex],()=>this._setupMediaRefreshTimer(),{initial:!0}),{remove:()=>this._clearMediaRefreshTimer()}])}_setContentElementMedia(e){let{formattedMediaInfoCount:t}=this,a=(e+t)%t;this.activeMediaInfoIndex=a}_pageContentElementMedia(e){let{activeMediaInfoIndex:t}=this,a=t+e;this._setContentElementMedia(a)}_formatMediaInfos(){let{mediaInfos:e,layer:t}=this,a=this.values??{},i=this.formattedValues??{},r=this.fieldInfoMap??new Map;return e?.map(s=>{let n=s?.clone();if(!n)return null;if(n.title=S({values:a,fieldInfoMap:r,globalValues:i,layer:t,text:n.title}),n.caption=S({values:a,fieldInfoMap:r,globalValues:i,layer:t,text:n.caption}),n.altText=S({values:a,fieldInfoMap:r,globalValues:i,layer:t,text:n.altText}),n.type==="image"){if(!n.value)return null;let o=n.value;return this._setImageValue({value:o,formattedValues:i,layer:t}),o.sourceURL?n:void 0}if(n.type==="pie-chart"||n.type==="line-chart"||n.type==="column-chart"||n.type==="bar-chart"){if(!n.value)return null;let o=n.value;return this._setChartValue({value:o,chartType:n.type,values:a,formattedValues:i,layer:t}),n}return null}).filter(s=>s!=null)??[]}_setImageValue(e){let t=this.fieldInfoMap??new Map,{value:a,formattedValues:i,layer:r}=e,{linkURL:s,sourceURL:n}=a;if(n){let o=P(n,r);a.sourceURL=N({formattedValues:i,template:o,fieldInfoMap:t})}if(s){let o=P(s,r);a.linkURL=N({formattedValues:i,template:o,fieldInfoMap:t})}}_setChartValue(e){let{value:t,values:a,formattedValues:i,chartType:r,layer:s}=e,{popupTemplate:n,relatedInfos:o}=this,{fields:d,normalizeField:p}=t,m=s;if(t.fields=W(d,m),p&&(t.normalizeField=z(p,m)),!d.some(c=>!!(i[c]!=null||A(c)&&o?.size)))return;let l=n?.fieldInfos??[];t.series=[],d.forEach((c,u)=>{let h=t.colors?.[u];if(A(c)){t.series=[...t.series,...this._getRelatedChartInfos({fieldInfos:l,fieldName:c,formattedValues:i,chartType:r,value:t,color:h})];return}let f=this._getChartOption({value:t,values:a,chartType:r,formattedValues:i,fieldName:c,fieldInfos:l,color:h});t.series.push(f)})}_getRelatedChartInfos(e){let{fieldInfos:t,fieldName:a,formattedValues:i,chartType:r,value:s,color:n}=e,o=[],d=X(a),p=d&&this.relatedInfos?.get(d.layerId);if(!p)return o;let{relatedFeatures:m,relation:l}=p;if(!l||!m)return o;let{cardinality:c}=l;return m.forEach(u=>{let h=u.attributes;h&&Object.keys(h).forEach(f=>{f===d.fieldName&&o.push(this._getChartOption({value:s,values:h,formattedValues:i,fieldName:a,chartType:r,relatedFieldName:f,hasMultipleRelatedFeatures:m?.length>1,fieldInfos:t,color:n}))})}),c&&(c==="one-to-many"||c==="many-to-many")?o:[o[0]]}_getTooltip({label:e,value:t,chartType:a}){return a==="pie-chart"?`${e}`:`${e}: ${t}`}_getChartOption(e){let{value:t,values:a,formattedValues:i,fieldName:r,relatedFieldName:s,fieldInfos:n,chartType:o,hasMultipleRelatedFeatures:d,color:p}=e,m=this.layer,l=this.fieldInfoMap??new Map,{normalizeField:c,tooltipField:u}=t,h=c?A(c)?a[X(c).fieldName]:a[c]:null,f=q(r)&&i?.[r]!==void 0?i[r]:s&&a[s]!==void 0?a[s]:a[r]!==void 0?a[r]:i[r],_=f===void 0?null:f&&h&&typeof f=="number"&&typeof h=="number"?f/h:f,y=J(n,r),g=z(r,m),M=(u&&i[u]!==void 0?i[u]:Q(y||new le({fieldName:g}),this.popupTemplate?.expressionInfos))??"",F=i[g]??"",$=_!=null?typeof _=="number"?_:Number(_):null;if(A(r)){let V=l.get(r.toLowerCase()),te=u?l.get(u.toLowerCase()):null,ae=V?.fieldName??r,k=d&&u?X(u).fieldName:te?.fieldName??u,ie=(d&&k?a[k]:i[k]??V?.label??V?.fieldName??s)??"",re=(d&&s?a[s]:i[ae])??"";return new Z({fieldName:r,tooltip:this._getTooltip({label:ie,value:re,chartType:o}),color:p,value:$})}return new Z({fieldName:r,tooltip:this._getTooltip({label:M,value:F,chartType:o}),color:p,value:$})}_getRenderer(){let e=this.layer;return this.isAggregate&&e?.featureReduction&&"renderer"in e.featureReduction?e.featureReduction.renderer:e?.renderer}async _getSeriesColors(e){let{color:t}=await import("./JGAMA7FC.js"),a=new Map;return e.forEach(i=>{i.color&&a.set(i,t(i.color.toCss(!0)))}),a}async _getRendererColors(){let{color:e}=await import("./JGAMA7FC.js"),t=new Map,a=this._getRenderer(),i="default";if(!a)return t;let r=await ne(a);return r.delete(i),Array.from(r.values()).every(s=>s?.length===1)&&Array.from(r.keys()).forEach(s=>{let n=r.get(s)?.[0]?.toCss(!0);n&&t.set(s,e(n))}),t}async _createChart(e){let{activeMediaInfo:t}=this;if(!e||!t)return;let{createRoot:a}=await import("./DRMOWRTY.js").then(m=>m.default.then(e=>({createRoot:e}))),i=await a(e);this._chartRoot=i,this._renderChart({mediaInfo:t,root:i})}_handleMediaKeyup(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this.previous()),t==="ArrowRight"&&(e.stopPropagation(),this.next())}_canAnimateChart(){return!this.chartAnimationDisabled&&!this._prefersReducedMotion}_getChartAnimationMS(){return this._canAnimateChart()?me:0}_getChartSeriesAnimationMS(){return this._canAnimateChart()?ue:0}_getDirection(){return T(this.el)?"rtl":"ltr"}async _customizeChartTooltip(e,t="horizontal"){let{color:a}=await import("./JGAMA7FC.js");e.setAll({pointerOrientation:t}),e.get("background")?.setAll({stroke:a(ce)}),e.label.setAll({direction:this._getDirection(),oversizedBehavior:"wrap",maxWidth:he})}async _createPieChart(e,t){let[{Tooltip:a},{PieChart:i,PieSeries:r}]=await Promise.all([import("./JGAMA7FC.js"),import("./KOTDYNET.js")]),{mediaInfo:s,root:n}=e,{title:o}=s,d=5,p=s?.altText||s?.title||"",m=n.container.children.push(i.new(n,{role:"figure",ariaLabel:p,focusable:!0,paddingBottom:d,paddingTop:d,paddingLeft:d,paddingRight:d})),l=`{category}: {valuePercentTotal.formatNumber('0.00')}%
5
- ({value})`,c=a.new(n,{labelText:l}),u=m.series.push(r.new(n,{name:o,valueField:R,categoryField:w,tooltip:c}));u.ticks.template.set("forceHidden",!0),u.labels.template.set("forceHidden",!0),u.slices.template.states.create("active",{shiftRadius:d}),this._customizeChartTooltip(c),u.slices.template.setAll({ariaLabel:l,focusable:!0,templateField:"columnSettings"}),u.data.setAll(t),u.appear(this._getChartSeriesAnimationMS()),m.appear(this._getChartAnimationMS()),m.root.dom.classList.toggle(v.mediaChartRendered,!0)}_getMinSeriesValue(e){let t=0;return e.forEach(a=>t=Math.min(a.value,t)),t}async _createColumnChart(e,t,a){let[{Tooltip:i,Scrollbar:r},{CategoryAxis:s,AxisRendererX:n,AxisRendererY:o,ValueAxis:d,ColumnSeries:p}]=await Promise.all([import("./JGAMA7FC.js"),import("./MSBMMGC7.js")]),{mediaInfo:m,root:l}=t,{value:c,title:u}=m;e.setAll({wheelX:"panX",wheelY:"zoomX"});let h=e.xAxes.push(s.new(l,{renderer:n.new(l,{inversed:T(this.el)}),categoryField:w}));h.get("renderer").labels.template.setAll({forceHidden:!0});let f=e.yAxes.push(d.new(l,{renderer:o.new(l,{inside:!1}),min:this._getMinSeriesValue(c.series)}));f.get("renderer").labels.template.setAll({direction:this._getDirection()});let _="{categoryX}",y=i.new(l,{labelText:_}),g=e.series.push(p.new(l,{name:u,xAxis:h,yAxis:f,valueYField:R,categoryXField:w,tooltip:y}));this._customizeChartTooltip(y),g.columns.template.setAll({ariaLabel:_,focusable:!0,templateField:"columnSettings"}),c.series.length>Y&&e.set("scrollbarX",r.new(l,{orientation:"horizontal"})),h.data.setAll(a),g.data.setAll(a),g.appear(this._getChartSeriesAnimationMS()),e.appear(this._getChartAnimationMS())}async _createBarChart(e,t,a){let[{Tooltip:i,Scrollbar:r},{CategoryAxis:s,AxisRendererX:n,AxisRendererY:o,ValueAxis:d,ColumnSeries:p}]=await Promise.all([import("./JGAMA7FC.js"),import("./MSBMMGC7.js")]),{mediaInfo:m,root:l}=t,{value:c,title:u}=m;e.setAll({wheelX:"panY",wheelY:"zoomY"});let h=e.yAxes.push(s.new(l,{renderer:o.new(l,{inversed:!0}),categoryField:w}));h.get("renderer").labels.template.setAll({forceHidden:!0});let f=e.xAxes.push(d.new(l,{renderer:n.new(l,{inside:!1,inversed:T(this.el)}),min:this._getMinSeriesValue(c.series)}));f.get("renderer").labels.template.setAll({direction:this._getDirection()});let _="{categoryY}",y=i.new(l,{labelText:_}),g=e.series.push(p.new(l,{name:u,xAxis:f,yAxis:h,valueXField:R,categoryYField:w,tooltip:y}));this._customizeChartTooltip(y,"vertical"),g.columns.template.setAll({ariaLabel:_,focusable:!0,templateField:"columnSettings"}),c.series.length>Y&&e.set("scrollbarY",r.new(l,{orientation:"vertical"})),h.data.setAll(a),g.data.setAll(a),g.appear(this._getChartSeriesAnimationMS()),e.appear(this._getChartAnimationMS())}async _createLineChart(e,t,a){let[{Tooltip:i,Scrollbar:r},{CategoryAxis:s,AxisRendererX:n,AxisRendererY:o,ValueAxis:d,LineSeries:p}]=await Promise.all([import("./JGAMA7FC.js"),import("./MSBMMGC7.js")]),{root:m,mediaInfo:l}=t,{value:c,title:u}=l;e.setAll({wheelX:"panX",wheelY:"zoomX"});let h=e.xAxes.push(s.new(m,{renderer:n.new(m,{inversed:T(this.el)}),categoryField:w}));h.get("renderer").labels.template.setAll({forceHidden:!0});let f=e.yAxes.push(d.new(m,{renderer:o.new(m,{inside:!1}),min:this._getMinSeriesValue(c.series)}));f.get("renderer").labels.template.setAll({direction:this._getDirection()});let _="{categoryX}",y=a[0]?.lineSettings?.stroke,g=i.new(m,{getFillFromSprite:!y,labelText:_});y&&g.get("background")?.setAll({fill:y});let M=e.series.push(p.new(m,{name:u,xAxis:h,yAxis:f,valueYField:R,categoryXField:w,tooltip:g}));M.strokes.template.setAll({templateField:"lineSettings"}),this._customizeChartTooltip(g,"vertical"),c.series.length>Y&&e.set("scrollbarX",r.new(m,{orientation:"horizontal"})),h.data.setAll(a),M.data.setAll(a),M.appear(this._getChartSeriesAnimationMS()),e.appear(this._getChartAnimationMS())}async _createXYChart(e,t){let{XYChart:a,XYCursor:i}=await import("./MSBMMGC7.js"),{root:r,mediaInfo:s}=e,{type:n}=s,o=s?.altText||s?.title||"",d=r.container.children.push(a.new(r,{role:"figure",ariaLabel:o,focusable:!0,panX:!0,panY:!0}));d.set("cursor",i.new(r,{})),n==="column-chart"&&await this._createColumnChart(d,e,t),n==="bar-chart"&&await this._createBarChart(d,e,t),n==="line-chart"&&await this._createLineChart(d,e,t),d.root.dom.classList.toggle(v.mediaChartRendered,!0)}_clearMediaRefreshTimer(){let{_refreshTimer:e}=this;e&&(clearTimeout(e),this._refreshTimer=void 0)}_updateMediaInfoTimestamp(e){let t=Date.now();this._refreshIntervalInfo={timestamp:t,sourceURL:e&&this._getImageSource(e,t)}}_setupMediaRefreshTimer(){this._clearMediaRefreshTimer();let{activeMediaInfo:e}=this;e?.type==="image"&&e.refreshInterval>0&&this._setRefreshTimeout(e)}_setRefreshTimeout(e){let{refreshInterval:t,value:a}=e,i=t*6e4;this._updateMediaInfoTimestamp(a.sourceURL);let r=window.setInterval(()=>{this._updateMediaInfoTimestamp(a.sourceURL)},i);this._refreshTimer=r}_getImageSource(e,t){let a=e.includes("?")?"&":"?",[i,r=""]=e.split("#");return`${i}${a}timestamp=${t}${r?"#":""}${r}`}_updateChartElement(e){this._chartRoot?.dispose(),this._chartRoot=void 0,e&&this._createChart(e)}render(){return C`<div class=${I(v.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`}_renderMedia(){let{formattedMediaInfoCount:e,activeMediaInfoIndex:t}=this,a=this._renderMediaText();return e?C`<div class=${I(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${I(v.mediaNavigation)}>${a}${e>1?C`<div class=${I(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${I(v.mediaPaginationText)}>${se(this.messages?.pageText??"",{index:t+1,total:e})}</span>${this._renderMediaPageButton("next")}</div>`:null}</div></div>`:null}_renderMediaText(){let{activeMediaInfo:e}=this;if(!e)return null;let t=e?.title?C`<div class=${I(v.mediaItemTitle)} .innerHTML=${ee.sanitize(e.title)??""}></div>`:null,a=e?.caption?C`<div class=${I(v.mediaItemCaption)} .innerHTML=${ee.sanitize(e.caption)??""}></div>`:null;return t||a?C`<div class=${I(v.mediaItemText)}>${t}${a}</div>`:null}_renderImageMediaInfo(e){if(!e.value)return null;let{_refreshIntervalInfo:t}=this,{value:a,refreshInterval:i,altText:r,title:s}=e,{sourceURL:n,linkURL:o}=a,d=K(o??void 0)?"_blank":"_self",p=d==="_blank"?"noreferrer":"",m=i?t:null,l=m?m.sourceURL:n,c=C`<img alt=${(r||s)??b} src=${l??void 0??b}>`;return(o?C`<a href=${o??b} rel=${p??b} target=${d} title=${s??b}>${c}</a>`:null)??c}_renderChartMediaInfo(e){let{activeMediaInfoIndex:t,formattedMediaInfoCount:a}=this;return G(`media-${e.type}-${t}-${a}`,C`<div class=${I(v.mediaChart)} ${B(this._updateChartElement)}></div>`)}_renderMediaInfoType(){let{activeMediaInfo:e}=this;return e?e.type==="image"?this._renderImageMediaInfo(e):e.type.includes("chart")?this._renderChartMediaInfo(e):null:null}_renderMediaInfo(){let{activeMediaInfo:e}=this;return e?C`<div class=${I(v.mediaItemContainer)}><div class=${I(v.mediaItem)}>${this._renderMediaInfoType()}</div></div>`:null}_renderMediaPageButton(e){if(this.formattedMediaInfoCount<2)return null;let t=e==="previous",a=t?this.messages?.previous??"":this.messages?.next??"",i=t?"chevron-left":"chevron-right",r=t?this.previous:this.next;return C`<button .ariaLabel=${a} class=${I(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${a??b} type=button><calcite-icon flip-rtl class=${I(v.mediaPaginationIcon)} .icon=${i} scale=s></calcite-icon></button>`}async _renderChart(e){let{root:t,mediaInfo:a}=e,{value:i,type:r}=a,[{default:s},{default:n},{default:o},{esriChartColorSet:d},{ColorSet:p,Theme:m}]=await Promise.all([import("./ABX2KJWQ.js"),import("./3UTRV5F5.js"),import("./G6YBBKHU.js"),import("./OOARTTCF.js"),import("./JGAMA7FC.js")]),l=m.new(t);l.rule("ColorSet").set("colors",d),l.rule("ColorSet").set("reuse",!0);let c=[o.new(t),l];j(this.el)==="dark"&&c.push(n.new(t)),this._canAnimateChart()&&c.push(s.new(t)),t.setThemes(c);let u=await this._getRendererColors(),h=await this._getSeriesColors(i.series),f=p.new(t,{}),_=h.get(i.series[0]),y=_?{lineSettings:{stroke:_}}:void 0,g=i.series.map((M,F)=>{let $=h.get(M)||u.get(M.fieldName)||f.getIndex(F);return{[w]:M.tooltip,[R]:M.value,columnSettings:{fill:$,stroke:$},...y}}).filter(M=>r==="pie-chart"?M.value!=null&&M.value>0:!0);r==="pie-chart"?this._createPieChart(e,g):this._createXYChart(e,g)}};H("arcgis-feature-media",E);return E},"renderers/support/utils","intl","core/reactiveUtils","popup/FieldInfo","popup/content/support/ChartMediaInfoValueSeries","applications/Components/sanitizerUtils",a,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.6 */
4
- import e from"./PF2BHU63.js";import d from"./LB5CIPFL.js";import{a as E}from"./KK2JJGUK.js";import c from"./NINFL2YQ.js";import a from"./2PXF3GPF.js";import{g as b}from"./LDRCHRH6.js";import"./U4PIL5HO.js";import{b as _}from"./ZNGXUT36.js";import{H as C,I,J as l,L as M,O as x,a as w,b as o,s as y}from"./VA6J4CYT.js";import"./K7O52SLI.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},,,L,{a:F,b:T,c:A,d:V,e:R,i:k,n:h}])=>{var z=w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},G=L(H),$=class extends I{constructor(){super(...arguments),this.messages=E(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=G(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=b()("flowItems","state"),this.arcgisReady=y()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,position:3,icon:1,isFeatureFromTable:4,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideTitle:5,hideContent:5,hideAttachmentsContent:5,hideContentAttachments:5,hideCustomContent:5,hideExpressionContent:5,hideContentExpression:5,hideFieldsContent:5,hideContentFields:5,hideMediaContent:5,hideContentMedia:5,showRelationshipContent:5,hideTextContent:5,hideContentText:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,hideLastEditInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=z}get popupTemplate(){return A(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return V(this.graphic)}get fieldInfoMap(){return F(T(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get hideTitle(){return this.hideHeading}set hideTitle(e){this.hideHeading=e}get hideContentAttachments(){return this.hideAttachmentsContent}set hideContentAttachments(e){this.hideAttachmentsContent=e}get hideContentExpression(){return this.hideExpressionContent}set hideContentExpression(e){this.hideExpressionContent=e}get hideContentFields(){return this.hideFieldsContent}set hideContentFields(e){this.hideFieldsContent=e}get hideContentMedia(){return this.hideMediaContent}set hideContentMedia(e){this.hideMediaContent=e}get hideContentText(){return this.hideTextContent}set hideContentText(e){this.hideTextContent=e}get hideLastEditInfo(){return this.hideLastEditedInfo}set hideLastEditInfo(e){this.hideLastEditedInfo=e}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,p=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:u})=>!!u&&(k(u)||R(u)||u in n)),g=r?.expressionInfos,m=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),v=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class=${l(d.contentElement)} .messages=${this.messages} .description=${v} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${p} .expressionInfos=${g??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:g}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),u=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${u} .values=${i} .layer=${s} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${g} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.text});return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:g}=e,{formattedAttributes:m,view:v}=this.viewModel,u={...m?.global,...m?.content?.[t]},D=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),N=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${N} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${D} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${g??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${u} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${C(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${g=>{g.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??M}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=B(s??"",{date:n,user:a});return o`<div class=${l(_(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};x("arcgis-feature",$);return $},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.6 */
4
- import a from"./SRQV7IAC.js";import{a as l,b as p}from"./6H5AZ4GE.js";export default $arcgis.t(([{forceInteractive:V},m,{property:a,subclass:g},{ignoreAbortErrors:f},{when:A,watch:u,on:O,whenOnce:b},{a:_,b:w,c:d,d:y}])=>{var U=Object.defineProperty,T=Object.getOwnPropertyDescriptor,i=(s,t,n,r)=>{for(var o=r>1?void 0:r?T(t,n):t,c=s.length-1,h;c>=0;c--)(h=s[c])&&(o=(r?h(t,n,o):h(o))||o);return r&&o&&U(t,n,o),o},e=class extends m{constructor(){super({}),this._ownsAnalysis=!1,this._operationState="inactive",this._loggedUnsupportedErrorMessage=!1,this._changeFromReconnect=!1,this._startUserOperation=null}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let s=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let t=!this._changeFromReconnect;this._changeFromReconnect=!1,t&&this._scheduleViewReconnect()};this.addHandles([A(()=>this.view?.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||console.error(this.unsupportedErrorMessage)},{sync:!0,initial:!0}),u(()=>[this.analysis,this._viewHasAnalysis],s,{sync:!0}),O(()=>this.view,"analysis-view-destroy",t=>{t.analysis===this.analysis&&s()}),u(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:t},n)=>{let r=n?.view;t!==r&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(r)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=l(this._reconnectViewTask),this._startUserOperation=l(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get supported(){return this.view==null||this.supportedViewType==="both"||this.view.type===this.supportedViewType}set visible(s){this._set("visible",s),this._analysisView!=null&&(this._analysisView.visible=s)}get active(){return this._startUserOperation?.state===2}get disabled(){return!this.view?.ready||!this.supported}set analysis(s){s!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(s),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get _viewHasAnalysis(){let{view:s}=this;return s?.analyses.includes(this.analysis)===!0}get operationState(){return this._operationState}clear(){this.clearAnalysis(),this._startUserOperation=l(this._startUserOperation)}async start(s){if(!this.visible){console.warn("Cannot start analysis when not visible");return}s?.clear===!0&&this.clear();let t={task:null,abort:null,state:0},n=y(async r=>{if(t.state=1,await b(()=>this.ready,r),t.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let o=s?.operation?.({signal:r})??this.place({signal:r});await f(o)});return n.promise.finally(()=>{(this._startUserOperation===t||this._startUserOperation==null)&&(this._operationState="inactive")}),t.task=n,t.abort=()=>n.abort(),this._startUserOperation=t,await n.promise}stop(){this._startUserOperation=l(this._startUserOperation)}onConnectToAnalysisView(s){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let s=y(async t=>{try{await this._reconnectView(t)}catch(n){if(_(t),!d(n)){console.warn("Failed to use analysis in view model",n);return}throw n}finally{s===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=s}async _reconnectView(s){let{view:t}=this,n=t?.ready&&this.supported,r=this.analysis;if(this._startUserOperation=v(this._startUserOperation),this._disconnectFromView(t),!n||t==null||r==null)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,t.analyses.add(r));let o=await t.whenAnalysisView(r);if(this._analysisView=o,w(s)){this._startUserOperation=v(this._startUserOperation);return}o.visible=this.visible,this._forceInteractiveHandle=V(o),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(o)}_disconnectFromView(s){s!=null&&this._ownsAnalysis&&s.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.analysis.clear(),s.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=p(this._forceInteractiveHandle),this._analysisView=void 0}_setExternalAnalysis(s){this._analysisView!=null&&!this._ownsAnalysis&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=p(this._forceInteractiveHandle)),this._analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",s),this._changeFromReconnect=!1}};i([a()],e.prototype,"supported",1);i([a()],e.prototype,"view",2);i([a({type:Boolean,value:!0})],e.prototype,"visible",1);i([a()],e.prototype,"active",1);i([a()],e.prototype,"disabled",1);i([a()],e.prototype,"analysis",1);i([a()],e.prototype,"_analysisView",2);i([a()],e.prototype,"analysisView",1);i([a()],e.prototype,"ready",1);i([a()],e.prototype,"connectingToView",1);i([a()],e.prototype,"_ownsAnalysis",2);i([a()],e.prototype,"_viewHasAnalysis",1);i([a()],e.prototype,"_reconnectViewTask",2);i([a()],e.prototype,"_forceInteractiveHandle",2);i([a()],e.prototype,"_operationState",2);i([a()],e.prototype,"operationState",1);e=i([g("esri.components.support.AnalysisViewModel")],e);function v(s){return s!=null&&s.state>=2?(s.abort(),null):s}return e},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)