@arcgis/map-components 5.0.0-next.7 → 5.0.0-next.9

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 (488) hide show
  1. package/dist/cdn/2A6AUVEE.js +4 -0
  2. package/dist/cdn/2ATPK47M.js +4 -0
  3. package/dist/cdn/{2HMB76Z5.js → 2EROOTDU.js} +2 -2
  4. package/dist/cdn/{27OLXDSF.js → 2Y5YG4Z7.js} +2 -2
  5. package/dist/cdn/35HQNOGY.js +4 -0
  6. package/dist/cdn/{MIZIJT77.js → 37YPSWO4.js} +1 -1
  7. package/dist/cdn/{W2ENKEBL.js → 3C4AR6SN.js} +2 -2
  8. package/dist/cdn/3HVXDM6N.js +4 -0
  9. package/dist/cdn/3JXVSI7Z.js +4 -0
  10. package/dist/cdn/{G4FVGNVY.js → 3OW6EIDJ.js} +2 -2
  11. package/dist/cdn/3PTAN4MR.js +4 -0
  12. package/dist/cdn/{Y3OSDFR4.js → 3QP334UZ.js} +2 -2
  13. package/dist/cdn/{SEDGRHB7.js → 3T2ADHJK.js} +2 -2
  14. package/dist/cdn/447GQOAT.js +4 -0
  15. package/dist/cdn/{R5W7EQYL.js → 44L6TTT4.js} +2 -2
  16. package/dist/cdn/{ES26WJJB.js → 47H7W7BO.js} +2 -2
  17. package/dist/cdn/{W5T3D66S.js → 4BT2XLUN.js} +2 -2
  18. package/dist/cdn/4F26RNCC.js +4 -0
  19. package/dist/cdn/{JE4BSPXI.js → 4GCXTLGM.js} +2 -2
  20. package/dist/cdn/4ID5DMA5.js +4 -0
  21. package/dist/cdn/{J4VS6ZIF.js → 4IJOWJLJ.js} +2 -2
  22. package/dist/cdn/{FPDZK5KF.js → 4JAQY2BN.js} +2 -2
  23. package/dist/cdn/{FRJJS6WF.js → 4MICNE3E.js} +2 -2
  24. package/dist/cdn/4Q5RMR4T.js +4 -0
  25. package/dist/cdn/{API4DWYS.js → 4R5WKGQP.js} +2 -2
  26. package/dist/cdn/{44D2CQXK.js → 5LD3V6QJ.js} +2 -2
  27. package/dist/cdn/{GCLPCPGB.js → 5PKPMA47.js} +2 -2
  28. package/dist/cdn/5SYVNQX7.js +4 -0
  29. package/dist/cdn/{RQX5L4VL.js → 64ZSJ47O.js} +2 -2
  30. package/dist/cdn/66EULTSC.js +4 -0
  31. package/dist/cdn/{EOCT6FGC.js → 67AITIYJ.js} +2 -2
  32. package/dist/cdn/67WQTX62.js +4 -0
  33. package/dist/cdn/{MI6G3PVS.js → 6JRUUMWG.js} +2 -2
  34. package/dist/cdn/6LHBDGWB.js +4 -0
  35. package/dist/cdn/{YY62WYQK.js → 6USQNX6K.js} +1 -1
  36. package/dist/cdn/{VVFA7BGW.js → 6XPM4RW6.js} +2 -2
  37. package/dist/cdn/{NIX62YJ5.js → 77HW5YH2.js} +2 -2
  38. package/dist/cdn/{IFZJKELT.js → 77Y2RMX4.js} +2 -2
  39. package/dist/cdn/7AF5EAG5.js +4 -0
  40. package/dist/cdn/7IJGGNQT.js +4 -0
  41. package/dist/cdn/7L3QXYUP.js +4 -0
  42. package/dist/cdn/7XW2UDS7.js +4 -0
  43. package/dist/cdn/{IPFACLKD.js → A7OVHRXV.js} +2 -2
  44. package/dist/cdn/A7SRETUG.js +4 -0
  45. package/dist/cdn/{NK4JJJ3J.js → ACNURAAQ.js} +1 -1
  46. package/dist/cdn/AQUX3EKH.js +4 -0
  47. package/dist/cdn/{M4TTKFBW.js → AS4VVNMD.js} +2 -2
  48. package/dist/cdn/{C2236CBZ.js → AX4YZ3OQ.js} +1 -1
  49. package/dist/cdn/{X73IB46P.js → B37LP25S.js} +2 -2
  50. package/dist/cdn/{HDNA5F6G.js → B6N3WMJV.js} +2 -2
  51. package/dist/cdn/B7DJDMTO.js +4 -0
  52. package/dist/cdn/{LFERT3PE.js → B7SPOYFN.js} +1 -1
  53. package/dist/cdn/{G5PMGVU4.js → BJ3RVCQX.js} +2 -2
  54. package/dist/cdn/{DFXD6UAY.js → BK47IEJ5.js} +2 -2
  55. package/dist/cdn/{HQVB755E.js → BL3QY4TW.js} +2 -2
  56. package/dist/cdn/BPA3G6YT.js +4 -0
  57. package/dist/cdn/{O3BCMGPN.js → BZP6D2MI.js} +2 -2
  58. package/dist/cdn/CFIRICIZ.js +4 -0
  59. package/dist/cdn/{ZIIGODZS.js → CK5AUYPJ.js} +2 -2
  60. package/dist/cdn/{Z3OUKTDA.js → CRFB37BT.js} +2 -2
  61. package/dist/cdn/{UB43YIRC.js → DCM5267U.js} +2 -2
  62. package/dist/cdn/{HUMIV3VH.js → DDGUYZ37.js} +2 -2
  63. package/dist/cdn/{WI5OAAU5.js → DEAO4O3X.js} +2 -2
  64. package/dist/cdn/E5P35PB7.js +4 -0
  65. package/dist/cdn/{XPV6WDON.js → EHBILRD3.js} +1 -1
  66. package/dist/cdn/{PM4SNJDH.js → EHSW2BIC.js} +2 -2
  67. package/dist/cdn/{IVS6B4TK.js → EL6HYBNC.js} +2 -2
  68. package/dist/cdn/ELSE7MFE.js +4 -0
  69. package/dist/cdn/{SIPZMYB4.js → EMEEY73G.js} +2 -2
  70. package/dist/cdn/{A4XLJBOQ.js → EN3LBVIG.js} +2 -2
  71. package/dist/cdn/{LOD2SN53.js → ERYLR4XT.js} +1 -1
  72. package/dist/cdn/ERZNVAWI.js +4 -0
  73. package/dist/cdn/ESN2X7YL.js +9 -0
  74. package/dist/cdn/{BJLLWEDQ.js → F5H3HO36.js} +1 -1
  75. package/dist/cdn/{SGARZDQH.js → FB2KVYJX.js} +2 -2
  76. package/dist/cdn/FBP6NBDQ.js +4 -0
  77. package/dist/cdn/{RXFIRFZE.js → FLO5LUXH.js} +2 -2
  78. package/dist/cdn/{AVCXAEKW.js → GB4J5XJ6.js} +2 -2
  79. package/dist/cdn/{GANTC2JR.js → GNOADAWJ.js} +2 -2
  80. package/dist/cdn/GZ4KCBGE.js +4 -0
  81. package/dist/cdn/{KCGCGEF7.js → H2CP5HFR.js} +2 -2
  82. package/dist/cdn/{ZZRSXHDL.js → HARI3PRR.js} +2 -2
  83. package/dist/cdn/{3U4KMEXD.js → HF24ULXX.js} +2 -2
  84. package/dist/cdn/{KD57RLBJ.js → I47RAA3F.js} +2 -2
  85. package/dist/cdn/{3YHA662Y.js → I522EP27.js} +2 -2
  86. package/dist/cdn/{Z3P3YHQ6.js → I6XESS6N.js} +2 -2
  87. package/dist/cdn/I7XKSEXB.js +4 -0
  88. package/dist/cdn/{MFNCONT5.js → IJE5UGXU.js} +2 -2
  89. package/dist/cdn/{2F2NXYKC.js → ITIONM7T.js} +2 -2
  90. package/dist/cdn/{ARBQIEOZ.js → IUIJSMKU.js} +2 -2
  91. package/dist/cdn/{7AMVYS4J.js → J37GLA5G.js} +2 -2
  92. package/dist/cdn/{BAYBJSRA.js → JAN4IYWB.js} +2 -2
  93. package/dist/cdn/JBWP6A45.js +4 -0
  94. package/dist/cdn/{5VJNY7VQ.js → JCUS7WFJ.js} +1 -1
  95. package/dist/cdn/JETD6JFY.js +4 -0
  96. package/dist/cdn/JMFSH7RH.js +4 -0
  97. package/dist/cdn/JZ2GF3SC.js +4 -0
  98. package/dist/cdn/{STOVGTPC.js → K2Y77DHB.js} +2 -2
  99. package/dist/cdn/{UEGTZRQO.js → KHC7SZS5.js} +2 -2
  100. package/dist/cdn/{BMHY3L6P.js → KJKZAZ5A.js} +2 -2
  101. package/dist/cdn/KLXCRO5N.js +4 -0
  102. package/dist/cdn/{GQTIMLNH.js → KMSKXIGX.js} +2 -2
  103. package/dist/cdn/{2DI73YIB.js → KU2P5TCM.js} +2 -2
  104. package/dist/cdn/{7X66YHTY.js → KV4TEG3J.js} +2 -2
  105. package/dist/cdn/{4HLE3NFA.js → KWHTSU7C.js} +2 -2
  106. package/dist/cdn/KXS26YLB.js +4 -0
  107. package/dist/cdn/{DF6FT47K.js → L2OF4K26.js} +1 -1
  108. package/dist/cdn/LBABPTH4.js +4 -0
  109. package/dist/cdn/{QP3MAEDM.js → LBADKNOK.js} +2 -2
  110. package/dist/cdn/{2RQATXIO.js → LRWX6XPN.js} +2 -2
  111. package/dist/cdn/{2WWNPYIH.js → LUANMBVH.js} +2 -2
  112. package/dist/cdn/{32AM3PJ5.js → LZTCXDAV.js} +2 -2
  113. package/dist/cdn/{4RZ2KUNN.js → M4HSHLPL.js} +2 -2
  114. package/dist/cdn/M5A2FN7F.js +4 -0
  115. package/dist/cdn/M7FG32BD.js +4 -0
  116. package/dist/cdn/{VHLNK34F.js → MA2PNTSN.js} +2 -2
  117. package/dist/cdn/{RHKQGAZU.js → MFASHV4E.js} +2 -2
  118. package/dist/cdn/MFKL7XPN.js +4 -0
  119. package/dist/cdn/{ZZ7RT7QM.js → MPBSZL45.js} +2 -2
  120. package/dist/cdn/MSHRVS6Z.js +4 -0
  121. package/dist/cdn/{YIIAEYM6.js → MU6EKSM7.js} +2 -2
  122. package/dist/cdn/{CV67UIOI.js → MZVOVWCJ.js} +2 -2
  123. package/dist/cdn/{BR4XEJ4B.js → N5KARJYU.js} +2 -2
  124. package/dist/cdn/N6WMMQTX.js +4 -0
  125. package/dist/cdn/{P34SUK6J.js → NAZZYL7D.js} +2 -2
  126. package/dist/cdn/{5T5JJGIY.js → NFJVBGAI.js} +2 -2
  127. package/dist/cdn/NGGS2VZK.js +4 -0
  128. package/dist/cdn/{EAW4FQUJ.js → NK3RE5SG.js} +2 -2
  129. package/dist/cdn/{DDDCENIA.js → O4I7Y3DW.js} +2 -2
  130. package/dist/cdn/{FBKD2FUV.js → O4T5RB6Z.js} +2 -2
  131. package/dist/cdn/{AMG4CQWO.js → OALDZ764.js} +2 -2
  132. package/dist/cdn/{UVKUXDIO.js → OJJZALPQ.js} +2 -2
  133. package/dist/cdn/{AZ2OINQZ.js → OP3W5AF3.js} +2 -2
  134. package/dist/cdn/OPBQUR4H.js +4 -0
  135. package/dist/cdn/{UBAX43ZI.js → OVRQQ75Q.js} +2 -2
  136. package/dist/cdn/{3LIPNJER.js → OY3ZHMDP.js} +2 -2
  137. package/dist/cdn/{LHPNHGL5.js → P2RFDK5N.js} +2 -2
  138. package/dist/cdn/{BWTML5G2.js → P4X47434.js} +2 -2
  139. package/dist/cdn/P6SPHDXP.js +4 -0
  140. package/dist/cdn/{7ZTK5RNR.js → PT6OVRXL.js} +2 -2
  141. package/dist/cdn/{R2S3OK5G.js → PX6KURLF.js} +1 -1
  142. package/dist/cdn/{6LADRP6U.js → Q4FDUWMO.js} +2 -2
  143. package/dist/cdn/QDXBRPCW.js +4 -0
  144. package/dist/cdn/{BW3BKF7S.js → QGPHJZLB.js} +2 -2
  145. package/dist/cdn/{ZYM4PPCW.js → QI6LVT3N.js} +2 -2
  146. package/dist/cdn/QIUIELBM.js +4 -0
  147. package/dist/cdn/{ZEHTSMNI.js → QP7RFE7T.js} +2 -2
  148. package/dist/cdn/QUJEY6H6.js +4 -0
  149. package/dist/cdn/{OXUZ35GH.js → QWHMC5JW.js} +3 -3
  150. package/dist/cdn/{XITYDU6J.js → RGC6L7EW.js} +2 -2
  151. package/dist/cdn/{7RMBEOAT.js → RQMKV3HS.js} +2 -2
  152. package/dist/cdn/{EHMZR5TR.js → RV56PCEB.js} +2 -2
  153. package/dist/cdn/{44LY3QB2.js → RVCA6WMU.js} +2 -2
  154. package/dist/cdn/{I3FHEM2H.js → RVS5COHM.js} +2 -2
  155. package/dist/cdn/{E7UOBFTE.js → RWEBXWLU.js} +2 -2
  156. package/dist/cdn/{AHWDCV4N.js → RWXBBVKG.js} +2 -2
  157. package/dist/cdn/{PG4JSSVK.js → RZYXI6M7.js} +2 -2
  158. package/dist/cdn/{MSZQYK2V.js → SAEVT3JM.js} +2 -2
  159. package/dist/cdn/SNCS2OI4.js +4 -0
  160. package/dist/cdn/{MNQPVVH3.js → SNXGH66M.js} +2 -2
  161. package/dist/cdn/{7ONVHE43.js → SPXBX6BE.js} +2 -2
  162. package/dist/cdn/{576GJQTN.js → SSNTSLAX.js} +2 -2
  163. package/dist/cdn/{PG4Z6IM6.js → SSOZGAEY.js} +2 -2
  164. package/dist/cdn/{EQBVGZUT.js → SXD4SCVW.js} +2 -2
  165. package/dist/cdn/{IWZMOW4V.js → SZGPMYE5.js} +2 -2
  166. package/dist/cdn/{LU2ZEFNK.js → T6DWFRSD.js} +2 -2
  167. package/dist/cdn/{FMOTQNWT.js → TBW6MVP2.js} +2 -2
  168. package/dist/cdn/{G7AINTVJ.js → TDNB4ZEM.js} +2 -2
  169. package/dist/cdn/{MK6DQGSF.js → TLPAK5QB.js} +2 -2
  170. package/dist/cdn/{JLMYKOTB.js → TN22XFO6.js} +2 -2
  171. package/dist/cdn/TNNFBO37.js +4 -0
  172. package/dist/cdn/{5WLA2JTM.js → TPHFVIVS.js} +2 -2
  173. package/dist/cdn/{FYCB5LC4.js → TR4M4KOG.js} +2 -2
  174. package/dist/cdn/TRYOZJ4J.js +4 -0
  175. package/dist/cdn/{OI7L5JYC.js → TTL5RPWZ.js} +2 -2
  176. package/dist/cdn/{ZY3XCOUK.js → TV4IJ6N6.js} +2 -2
  177. package/dist/cdn/TV6CP33E.js +4 -0
  178. package/dist/cdn/{R7CXX3HM.js → TYP2USY4.js} +2 -2
  179. package/dist/cdn/{7P4IZ3TJ.js → UFJKE6KW.js} +2 -2
  180. package/dist/cdn/{KYJ6ODES.js → UFOFV6YN.js} +2 -2
  181. package/dist/cdn/{54WB3EST.js → UJKTSJU6.js} +2 -2
  182. package/dist/cdn/{OO7IZEBI.js → ULO5II6A.js} +2 -2
  183. package/dist/cdn/UQ4HXS3Z.js +4 -0
  184. package/dist/cdn/{XAAWUQP3.js → UTR76FIP.js} +2 -2
  185. package/dist/cdn/{SDICLWFI.js → V2M3FK4O.js} +2 -2
  186. package/dist/cdn/{UDXVD5XZ.js → V5OTPB4N.js} +2 -2
  187. package/dist/cdn/VG6ES7SA.js +4 -0
  188. package/dist/cdn/VJXTH764.js +4 -0
  189. package/dist/cdn/{AMFMXMYU.js → VMOYAF7R.js} +2 -2
  190. package/dist/cdn/{7OFHFYVY.js → VMPEEKEI.js} +2 -2
  191. package/dist/cdn/{CF5WWETS.js → VSKG2ARA.js} +2 -2
  192. package/dist/cdn/{WDLQOKMF.js → W4Z4IOUY.js} +2 -2
  193. package/dist/cdn/{MD5JUHBL.js → W5INHL7R.js} +2 -2
  194. package/dist/cdn/WBBRBEAZ.js +4 -0
  195. package/dist/cdn/{6DWBG7BD.js → WC32Z2XP.js} +1 -1
  196. package/dist/cdn/WJBI2XFT.js +4 -0
  197. package/dist/cdn/{DXMYVDTD.js → WOYYBKWL.js} +2 -2
  198. package/dist/cdn/WR3KFAQY.js +4 -0
  199. package/dist/cdn/WRB552I2.js +4 -0
  200. package/dist/cdn/X5TKNZBE.js +4 -0
  201. package/dist/cdn/XDHXMC6O.js +4 -0
  202. package/dist/cdn/XG3RMEUW.js +4 -0
  203. package/dist/cdn/{QWRWNIDQ.js → XKRAIZZC.js} +2 -2
  204. package/dist/cdn/{WSROCQLI.js → XPP4HUJP.js} +2 -2
  205. package/dist/cdn/{UFJJSQPL.js → XVTLW3CS.js} +2 -2
  206. package/dist/cdn/{RJPMPWQK.js → XYDJHJJW.js} +2 -2
  207. package/dist/cdn/{YXSNZP3J.js → XYODSFDY.js} +2 -2
  208. package/dist/cdn/{BIW7LQAB.js → YAJ5Y53N.js} +2 -2
  209. package/dist/cdn/YGLBZZS3.js +4 -0
  210. package/dist/cdn/{6A5UTVGJ.js → YJBCZKCG.js} +2 -2
  211. package/dist/cdn/YQ2KWEQI.js +4 -0
  212. package/dist/cdn/{DOQSCVJD.js → YRLLDFS4.js} +1 -1
  213. package/dist/cdn/{MQL4RPHT.js → YSAKPAIT.js} +2 -2
  214. package/dist/cdn/{UP6V7HAC.js → YSDLB2IR.js} +2 -2
  215. package/dist/cdn/{75OXQ2H2.js → Z525JUIQ.js} +1 -1
  216. package/dist/cdn/{BZC6X3RM.js → Z63VX7UT.js} +2 -2
  217. package/dist/cdn/{IB4GIMGM.js → ZAOW6HZH.js} +2 -2
  218. package/dist/cdn/{UUBRHGGR.js → ZEBFVHV5.js} +2 -2
  219. package/dist/cdn/{WHXM4RSM.js → ZF5LDDXI.js} +2 -2
  220. package/dist/cdn/{VAE46PTT.js → ZGDVILRP.js} +2 -2
  221. package/dist/cdn/ZS6DRKIY.js +4 -0
  222. package/dist/cdn/{UGGH2ZYL.js → ZVZ3VQ2B.js} +2 -2
  223. package/dist/cdn/ZWHS5O2Y.js +4 -0
  224. package/dist/cdn/{XUUYGDDT.js → ZZEAR674.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/index.js +2 -2
  228. package/dist/cdn/main.css +1 -1
  229. package/dist/chunks/AnalysisViewModel.js +39 -35
  230. package/dist/chunks/action-utils.js +1 -1
  231. package/dist/chunks/async-utils.js +80 -62
  232. package/dist/chunks/basemap-gallery-resources.js +1 -1
  233. package/dist/chunks/chart-utils.js +1 -1
  234. package/dist/chunks/chartCommon.js +1 -1
  235. package/dist/chunks/component-utils.js +1 -1
  236. package/dist/chunks/createCloseEvent.js +1 -1
  237. package/dist/chunks/esri-main.js +1 -1
  238. package/dist/chunks/feature-utils.js +1 -1
  239. package/dist/chunks/globalCss.js +1 -1
  240. package/dist/chunks/handle.js +14 -0
  241. package/dist/chunks/heading.js +1 -1
  242. package/dist/chunks/layer-list.js +1 -1
  243. package/dist/chunks/legacyIcon.js +1 -1
  244. package/dist/chunks/maybe.js +1 -1
  245. package/dist/chunks/measurementUtils.js +1 -1
  246. package/dist/chunks/runtime.js +1 -1
  247. package/dist/chunks/screenLocation.js +1 -1
  248. package/dist/chunks/slots.js +1 -1
  249. package/dist/chunks/svgUtils.js +1 -1
  250. package/dist/chunks/univariateUtils.js +1 -1
  251. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  252. package/dist/chunks/useHandles.js +1 -1
  253. package/dist/chunks/useT9n.js +1 -1
  254. package/dist/chunks/useView.js +1 -1
  255. package/dist/chunks/useViewModel.js +1 -1
  256. package/dist/chunks/useWidget.js +1 -1
  257. package/dist/chunks/utils.js +1 -1
  258. package/dist/chunks/utils2.js +1 -1
  259. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  260. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  261. package/dist/components/arcgis-attachments/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  266. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  267. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  268. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  269. package/dist/components/arcgis-compass/customElement.js +1 -1
  270. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  271. package/dist/components/arcgis-daylight/customElement.js +93 -97
  272. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  273. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  274. package/dist/components/arcgis-directions/customElement.js +1 -1
  275. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  276. package/dist/components/arcgis-editor/customElement.js +1 -1
  277. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  279. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  280. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  281. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  282. package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
  283. package/dist/components/arcgis-elevation-profile-next/customElement.js +196 -147
  284. package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
  285. package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +1 -8
  286. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  287. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  288. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  289. package/dist/components/arcgis-expand/customElement.js +1 -1
  290. package/dist/components/arcgis-feature/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  298. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -2
  300. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  304. package/dist/components/arcgis-features/customElement.js +1 -1
  305. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  306. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  307. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  308. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  309. package/dist/components/arcgis-home/customElement.js +1 -1
  310. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  311. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  312. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  313. package/dist/components/arcgis-legend/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  328. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  329. package/dist/components/arcgis-link-chart/customElement.d.ts +21 -4
  330. package/dist/components/arcgis-link-chart/customElement.js +3 -3
  331. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  332. package/dist/components/arcgis-locate/customElement.js +1 -1
  333. package/dist/components/arcgis-map/customElement.d.ts +18 -1
  334. package/dist/components/arcgis-map/customElement.js +3 -3
  335. package/dist/components/arcgis-measurement/customElement.js +1 -1
  336. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  337. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  338. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  339. package/dist/components/arcgis-placement/customElement.js +1 -1
  340. package/dist/components/arcgis-popup/customElement.d.ts +36 -0
  341. package/dist/components/arcgis-popup/customElement.js +1 -1
  342. package/dist/components/arcgis-print/customElement.js +1 -1
  343. package/dist/components/arcgis-print/utils.d.ts +0 -1
  344. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  345. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  346. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  347. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  348. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  349. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  350. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  351. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  352. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  353. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  354. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  355. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  356. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  357. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  358. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  359. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  360. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  361. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  362. package/dist/components/arcgis-scene/customElement.d.ts +1 -0
  363. package/dist/components/arcgis-scene/customElement.js +1 -1
  364. package/dist/components/arcgis-search/customElement.js +1 -1
  365. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  366. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  367. package/dist/components/arcgis-sketch/customElement.js +1 -1
  368. package/dist/components/arcgis-slice/customElement.js +1 -1
  369. package/dist/components/arcgis-spinner/customElement.js +1 -1
  370. package/dist/components/arcgis-swipe/customElement.js +1 -1
  371. package/dist/components/arcgis-table-list/customElement.js +1 -1
  372. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  373. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  374. package/dist/components/arcgis-track/customElement.js +1 -1
  375. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  376. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  380. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  381. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  382. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  383. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
  385. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +31 -31
  386. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +6 -9
  387. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +146 -102
  388. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +2 -1
  389. package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -1
  390. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  391. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  392. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  393. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  394. package/dist/components/arcgis-version-management/customElement.js +1 -1
  395. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  396. package/dist/components/arcgis-version-management-version-list/customElement.js +4 -4
  397. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  398. package/dist/components/arcgis-video/customElement.js +1 -1
  399. package/dist/components/arcgis-video-player/customElement.js +1 -1
  400. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  401. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  402. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  403. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  406. package/dist/components/arcgis-weather/customElement.js +1 -1
  407. package/dist/components/arcgis-zoom/customElement.js +1 -1
  408. package/dist/docs/api.json +245 -22
  409. package/dist/docs/docs.json +210 -16
  410. package/dist/docs/vscode.html-custom-data.json +29 -5
  411. package/dist/docs/web-types.json +72 -10
  412. package/dist/index.d.ts +5 -0
  413. package/dist/index.js +1 -1
  414. package/dist/loader.js +7 -6
  415. package/dist/support/AnalysisViewModel.d.ts +1 -0
  416. package/dist/support/handle.d.ts +1 -1
  417. package/dist/types/lumina.d.ts +8 -3
  418. package/dist/types/preact.d.ts +9 -3
  419. package/dist/types/preact10.d.ts +10 -3
  420. package/dist/types/react.d.ts +10 -3
  421. package/dist/types/stencil.d.ts +8 -3
  422. package/dist/utils/async-utils.d.ts +19 -0
  423. package/dist/utils/highlight-utils.d.ts +22 -0
  424. package/package.json +5 -5
  425. package/dist/cdn/3PHUVNMO.js +0 -4
  426. package/dist/cdn/3YNGI2TD.js +0 -4
  427. package/dist/cdn/62ACF4GK.js +0 -4
  428. package/dist/cdn/6UMHGQQQ.js +0 -4
  429. package/dist/cdn/7DDS4PSE.js +0 -4
  430. package/dist/cdn/7MSVBRFX.js +0 -4
  431. package/dist/cdn/7T3OMP3P.js +0 -4
  432. package/dist/cdn/AJTP62TS.js +0 -4
  433. package/dist/cdn/AMBRZDBB.js +0 -4
  434. package/dist/cdn/BHLLVXY4.js +0 -4
  435. package/dist/cdn/BS72LKTC.js +0 -4
  436. package/dist/cdn/BUQLVGX2.js +0 -4
  437. package/dist/cdn/CKKEUYVF.js +0 -4
  438. package/dist/cdn/CRLVMPT6.js +0 -4
  439. package/dist/cdn/DFGIY6KN.js +0 -4
  440. package/dist/cdn/DPL4VHPW.js +0 -4
  441. package/dist/cdn/DTW55COI.js +0 -4
  442. package/dist/cdn/E5R6OKXP.js +0 -4
  443. package/dist/cdn/EHFI4NFD.js +0 -4
  444. package/dist/cdn/EJG47NJ4.js +0 -4
  445. package/dist/cdn/EKGSDQRG.js +0 -4
  446. package/dist/cdn/EO3JN6RG.js +0 -4
  447. package/dist/cdn/EQDSFFHS.js +0 -4
  448. package/dist/cdn/EU5DIWMP.js +0 -4
  449. package/dist/cdn/EVNKT7CS.js +0 -4
  450. package/dist/cdn/EZXIWACW.js +0 -4
  451. package/dist/cdn/F7YID2WS.js +0 -4
  452. package/dist/cdn/FO5HN26Z.js +0 -4
  453. package/dist/cdn/GFZEN7IR.js +0 -4
  454. package/dist/cdn/GWSNNZXP.js +0 -4
  455. package/dist/cdn/JCHQDIR6.js +0 -4
  456. package/dist/cdn/JU3SPL5S.js +0 -4
  457. package/dist/cdn/K2F7CBO6.js +0 -4
  458. package/dist/cdn/KGX5BMVF.js +0 -4
  459. package/dist/cdn/KSXL7KZW.js +0 -4
  460. package/dist/cdn/KUJNPIQB.js +0 -4
  461. package/dist/cdn/MLMK5DYB.js +0 -4
  462. package/dist/cdn/MQL72DKL.js +0 -4
  463. package/dist/cdn/MUQAKAUR.js +0 -4
  464. package/dist/cdn/O65PIWHP.js +0 -4
  465. package/dist/cdn/OMYEERQN.js +0 -4
  466. package/dist/cdn/PC45POAO.js +0 -4
  467. package/dist/cdn/PGKZ2HPF.js +0 -4
  468. package/dist/cdn/PMSGGWUW.js +0 -4
  469. package/dist/cdn/Q6DSCXON.js +0 -4
  470. package/dist/cdn/QMC3TY3W.js +0 -9
  471. package/dist/cdn/QWW3MHGA.js +0 -4
  472. package/dist/cdn/R4DMYEQC.js +0 -4
  473. package/dist/cdn/R67Q3OIO.js +0 -4
  474. package/dist/cdn/RGNZOLUW.js +0 -4
  475. package/dist/cdn/RJ2F4ZE6.js +0 -4
  476. package/dist/cdn/S2R2RQ6R.js +0 -4
  477. package/dist/cdn/SNWM3QNT.js +0 -4
  478. package/dist/cdn/U2SXGKX4.js +0 -4
  479. package/dist/cdn/VCWGFFLB.js +0 -4
  480. package/dist/cdn/VF5ZEZIA.js +0 -4
  481. package/dist/cdn/VGOXORF3.js +0 -4
  482. package/dist/cdn/WPSYRM5U.js +0 -4
  483. package/dist/cdn/WQX34SJR.js +0 -4
  484. package/dist/cdn/WYSUU2YF.js +0 -4
  485. package/dist/cdn/X2HGZACW.js +0 -4
  486. package/dist/cdn/YGHWVOXY.js +0 -4
  487. package/dist/cdn/Z3AW5R2E.js +0 -4
  488. package/dist/cdn/ZEKB6D5C.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import a from"./C2236CBZ.js";import{J as g,K as l,L as p,P as o,a as c,b as t}from"./DF6FT47K.js";import"./6DWBG7BD.js";export default $arcgis.t(([{c:m,h:d}])=>{var b=c`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent rgba(0,1,0) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent rgba(0,1,0)}`,i={layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbolContainer:"arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",rampContainer:"arcgis-legend__ramps",colorRamp:"arcgis-legend__color-ramp",opacityRamp:"arcgis-legend__opacity-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label"},n=class extends g{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=b}get _preview(){let e=this.legendElement.preview;if(!e)return null;let a=this.legendElement.type==="opacity-ramp",r=a?i.opacityRamp:"";e.className=`${i.colorRamp} ${r}`,this.opacity!=null&&(e.style.opacity=this.opacity.toString());let s=a?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return d(e,s),e}render(){let{legendElement:e,_preview:a}=this;if(!a)return null;let r={height:a.style.height};return t`<div class=${l(i.layerRow)}><div class=${l(i.symbolContainer)}><div class=${l(i.rampContainer)}>${a}</div></div><div class=${l(i.layerInfo)}><div class=${l(i.rampLabelsContainer)} style=${p(r)}>${e.infos.map(s=>this._renderRampLabel(s,e.type))}</div></div></div>`}_renderRampLabel(e,a){return t`<div class=${l(e.label?i.rampLabel:void 0)}>${m(e,a,this.messages)}</div>`}};o("arcgis-legend-classic-color-ramp",n);return n},a)
3
+ v5.0.0-next.9 */
4
+ import a from"./AX4YZ3OQ.js";import{J as g,K as l,L as p,P as o,a as c,b as t}from"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([{c:m,h:d}])=>{var b=c`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent rgba(0,1,0) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent rgba(0,1,0)}`,i={layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbolContainer:"arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",rampContainer:"arcgis-legend__ramps",colorRamp:"arcgis-legend__color-ramp",opacityRamp:"arcgis-legend__opacity-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label"},n=class extends g{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=b}get _preview(){let e=this.legendElement.preview;if(!e)return null;let a=this.legendElement.type==="opacity-ramp",r=a?i.opacityRamp:"";e.className=`${i.colorRamp} ${r}`,this.opacity!=null&&(e.style.opacity=this.opacity.toString());let s=a?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return d(e,s),e}render(){let{legendElement:e,_preview:a}=this;if(!a)return null;let r={height:a.style.height};return t`<div class=${l(i.layerRow)}><div class=${l(i.symbolContainer)}><div class=${l(i.rampContainer)}>${a}</div></div><div class=${l(i.layerInfo)}><div class=${l(i.rampLabelsContainer)} style=${p(r)}>${e.infos.map(s=>this._renderRampLabel(s,e.type))}</div></div></div>`}_renderRampLabel(e,a){return t`<div class=${l(e.label?i.rampLabel:void 0)}>${m(e,a,this.messages)}</div>`}};o("arcgis-legend-classic-color-ramp",n);return n},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import b from"./EHMZR5TR.js";import{a as d}from"./QWRWNIDQ.js";import{K as g,M as f,N as h,P as y,a as m,b as a}from"./DF6FT47K.js";import"./6DWBG7BD.js";export default $arcgis.t(([{stripHTML:$},{formatNumber:_,substitute:A},w])=>{var b=m`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,v="nested",u=class extends w{constructor(){super(...arguments),this.displayCount=3,this.flowType="feature-utility-network-association-type"}static{this.properties={description:1,displayCount:9,endIndex:32,flowItems:0,flowType:1,map:0,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}get endIndex(){let{currentFeaturePage:e,featuresPerPage:t,maxFeatureCount:s}=this;return Math.min(e*t,s)}_featureViewModelMatch(e,t){let s=e.graphic,i=s?.layer,o=null;i?.type==="subtype-sublayer"&&i.parent?o=i.parent.globalIdField??null:i&&"globalIdField"in i&&(o=i.globalIdField);let l=o?s?.attributes[o]:null,r=t.graphic,n=r?.layer,c=null;n?.type==="subtype-sublayer"&&n.parent?c=n.parent.globalIdField??null:n&&"globalIdField"in n&&(c=n.globalIdField);let p=c?r?.attributes[c]:null;return l&&p&&l===p}_findFlowItem(e){return this.flowItems?.findIndex(t=>{if(t.flowType!=="feature-association")return!1;let s=t.viewModel;return this._featureViewModelMatch(s,e)})??-1}_formatPercentAlong(e){let{percentAlong:t}=e;return t==null?"":_(t,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(e,t,s){let{flowItems:i}=this;if(e){i?.removeAll();return}if(t<0||!i){await this._selectAssociation(s);return}for(;i.length>t+1;)i.pop()}_isConnectivityAssociation(e){let{associationType:t}=e;return t==="connectivity"||t==="junction-junction-connectivity"||t==="junction-edge-from-connectivity"||t==="junction-edge-midspan-connectivity"||t==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(e){return e.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(e){let t=this.flowItems?.getItemAt(0);if(!t)return!1;let s=t.parentFeatureViewModel;return this._featureViewModelMatch(s,e)}async _selectAssociation(e){let{flowItems:t}=this;t&&t.push(h(d(this.parentFeatureViewModel,a`<arcgis-feature .flowItems=${t} .flowType=${"feature-utility-network-associations"} .graphic=${e.graphic} .map=${this.map} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_showAllAssociations(e){let{flowItems:t,description:s}=this;if(!t||!e)return;this.showAllEnabled=!0;let i=e?.title??"";t.push(h(a`<arcgis-feature-utility-network-association-list .associationViewModels=${this.associationViewModels} .description=${s} .flowItems=${t} .flowType=${this.flowType} .messages=${this.messages} .parentFeatureViewModel=${this.parentFeatureViewModel} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} title=${i??f}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:e,state:t}=this,s=this.selectedLayer?.title??this.messages?.noTitle??"";return a`<div>${t==="loading"||t==="querying"?this._renderLoading():a`<calcite-list .displayMode=${v} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this.messages?.associationFilterPlaceholder} .filterPlaceholder=${this.messages?.associationFilterPlaceholder} .label=${s}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(e.keys(),i=>this._renderTypeList(i))}</calcite-list>`}</div>`}_renderAssociatedFeature(e){let{featureViewModel:t,title:s}=e,i=this.state==="loading",o=this._findFlowItem(t),l=o<0&&this._isParentFeature(t),r=l||o>=0,n=`associated-feature-${e.association.globalId}`;return a`<calcite-list-item class=${g(i?"list-item--hidden":"")} .description=${$(e.terminalName??"")} .label=${$(s)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(l,o,t)}>${this._isConnectivityAssociation(e.association)?this._renderConnectivityIcon(e.association.associationType,n):null}${this._isConnectivityMidspanAssociation(e.association)?a`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>`:null}${this._renderChevronIconNode(r)}</calcite-list-item>`}_renderAssociatedFeatureList(e){return e.toArray().map(t=>this._renderAssociatedFeature(t))}_renderAssociatedFeatureListPage(){let e=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(e),...this._renderAssociatedFeatureList(e)]}_renderChevronIconNode(e){return a`<calcite-icon flip-rtl .icon=${e?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(e){let{tooltipReferenceMap:t}=this,s=`associated-feature-${e.association.globalId}`;return this._isConnectivityAssociation(e.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(s)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(e){let{messages:t}=this,{displayCount:s}=this,i=this.associationViewModels.get(e),o=i.slice(0,s),l=o.length<i.length,r=A(t?.numberRecords??"",{number:i.length.toString()}),n=t?.showAll??"";return d("show-all",a`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title??""}>${[this._renderTooltips(o),this._renderAssociatedFeatureList(o)]}${l?d("show-all-item",a`<calcite-list-item .description=${r} .label=${n} @calciteListItemSelect=${()=>this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(e){return e.toArray().map(t=>this._renderItemTooltip(t))}};y("arcgis-feature-utility-network-association-list",u);return u},"applications/Components/stringUtils","intl",b)
3
+ v5.0.0-next.9 */
4
+ import b from"./RV56PCEB.js";import{a as d}from"./XKRAIZZC.js";import{K as g,M as f,N as h,P as y,a as m,b as a}from"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([{stripHTML:$},{formatNumber:_,substitute:A},w])=>{var b=m`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,v="nested",u=class extends w{constructor(){super(...arguments),this.displayCount=3,this.flowType="feature-utility-network-association-type"}static{this.properties={description:1,displayCount:9,endIndex:32,flowItems:0,flowType:1,map:0,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}get endIndex(){let{currentFeaturePage:e,featuresPerPage:t,maxFeatureCount:s}=this;return Math.min(e*t,s)}_featureViewModelMatch(e,t){let s=e.graphic,i=s?.layer,o=null;i?.type==="subtype-sublayer"&&i.parent?o=i.parent.globalIdField??null:i&&"globalIdField"in i&&(o=i.globalIdField);let l=o?s?.attributes[o]:null,r=t.graphic,n=r?.layer,c=null;n?.type==="subtype-sublayer"&&n.parent?c=n.parent.globalIdField??null:n&&"globalIdField"in n&&(c=n.globalIdField);let p=c?r?.attributes[c]:null;return l&&p&&l===p}_findFlowItem(e){return this.flowItems?.findIndex(t=>{if(t.flowType!=="feature-association")return!1;let s=t.viewModel;return this._featureViewModelMatch(s,e)})??-1}_formatPercentAlong(e){let{percentAlong:t}=e;return t==null?"":_(t,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(e,t,s){let{flowItems:i}=this;if(e){i?.removeAll();return}if(t<0||!i){await this._selectAssociation(s);return}for(;i.length>t+1;)i.pop()}_isConnectivityAssociation(e){let{associationType:t}=e;return t==="connectivity"||t==="junction-junction-connectivity"||t==="junction-edge-from-connectivity"||t==="junction-edge-midspan-connectivity"||t==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(e){return e.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(e){let t=this.flowItems?.getItemAt(0);if(!t)return!1;let s=t.parentFeatureViewModel;return this._featureViewModelMatch(s,e)}async _selectAssociation(e){let{flowItems:t}=this;t&&t.push(h(d(this.parentFeatureViewModel,a`<arcgis-feature .flowItems=${t} .flowType=${"feature-utility-network-associations"} .graphic=${e.graphic} .map=${this.map} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_showAllAssociations(e){let{flowItems:t,description:s}=this;if(!t||!e)return;this.showAllEnabled=!0;let i=e?.title??"";t.push(h(a`<arcgis-feature-utility-network-association-list .associationViewModels=${this.associationViewModels} .description=${s} .flowItems=${t} .flowType=${this.flowType} .messages=${this.messages} .parentFeatureViewModel=${this.parentFeatureViewModel} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} title=${i??f}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:e,state:t}=this,s=this.selectedLayer?.title??this.messages?.noTitle??"";return a`<div>${t==="loading"||t==="querying"?this._renderLoading():a`<calcite-list .displayMode=${v} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this.messages?.associationFilterPlaceholder} .filterPlaceholder=${this.messages?.associationFilterPlaceholder} .label=${s}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(e.keys(),i=>this._renderTypeList(i))}</calcite-list>`}</div>`}_renderAssociatedFeature(e){let{featureViewModel:t,title:s}=e,i=this.state==="loading",o=this._findFlowItem(t),l=o<0&&this._isParentFeature(t),r=l||o>=0,n=`associated-feature-${e.association.globalId}`;return a`<calcite-list-item class=${g(i?"list-item--hidden":"")} .description=${$(e.terminalName??"")} .label=${$(s)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(l,o,t)}>${this._isConnectivityAssociation(e.association)?this._renderConnectivityIcon(e.association.associationType,n):null}${this._isConnectivityMidspanAssociation(e.association)?a`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>`:null}${this._renderChevronIconNode(r)}</calcite-list-item>`}_renderAssociatedFeatureList(e){return e.toArray().map(t=>this._renderAssociatedFeature(t))}_renderAssociatedFeatureListPage(){let e=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(e),...this._renderAssociatedFeatureList(e)]}_renderChevronIconNode(e){return a`<calcite-icon flip-rtl .icon=${e?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(e){let{tooltipReferenceMap:t}=this,s=`associated-feature-${e.association.globalId}`;return this._isConnectivityAssociation(e.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(s)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(e){let{messages:t}=this,{displayCount:s}=this,i=this.associationViewModels.get(e),o=i.slice(0,s),l=o.length<i.length,r=A(t?.numberRecords??"",{number:i.length.toString()}),n=t?.showAll??"";return d("show-all",a`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title??""}>${[this._renderTooltips(o),this._renderAssociatedFeatureList(o)]}${l?d("show-all-item",a`<calcite-list-item .description=${r} .label=${n} @calciteListItemSelect=${()=>this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(e){return e.toArray().map(t=>this._renderItemTooltip(t))}};y("arcgis-feature-utility-network-association-list",u);return u},"applications/Components/stringUtils","intl",b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import a from"./C2236CBZ.js";import{J as P,K as p,L as u,P as A,a as N,b as $}from"./DF6FT47K.js";import"./6DWBG7BD.js";export default $arcgis.t(([{e:k,g:C,h:I}])=>{var O=N`.arcgis-legend--card__size-ramp--container{display:flex;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--label{margin:0 .5em;white-space:nowrap}.arcgis-legend--card__size-ramp--vertical-ramp{display:flex;flex-direction:column;align-items:center}.arcgis-legend--card__size-ramp--ramp{display:flex;flex-direction:row-reverse;align-items:center}.arcgis-legend--card__size-ramp--preview{display:flex}`,d={container:"arcgis-legend--card__size-ramp--container",verticalContainer:"arcgis-legend--card__size-ramp--vertical-container",label:"arcgis-legend--card__size-ramp--label",ramp:"arcgis-legend--card__size-ramp--ramp",verticalRamp:"arcgis-legend--card__size-ramp--vertical-ramp",preview:"arcgis-legend--card__size-ramp--preview"},X="#ddd";function Y(e){if(!e)return;if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let i=e.symbolLayers.at(-1),s=i&&"resource"in i?i.resource?.primitive:void 0;return s==="circle"||s==="cross"||s==="kite"||s==="sphere"||s==="cube"||s==="diamond"}let a="style"in e?e.style:void 0;return a==="circle"||a==="diamond"||a==="cross"}function q(e){if(e){if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let a=e.symbolLayers.at(-1),i=a&&"resource"in a?a.resource?.primitive:void 0;return i==="triangle"||i==="cone"||i==="tetrahedron"}return"style"in e&&e.style==="triangle"}}var j=class extends P{constructor(){super(...arguments),this.hasIndicators=!1,this.legendElement=null,this.opacity=1}static{this.properties={hasIndicators:5,legendElement:0,opacity:9,messages:0}}static{this.styles=O}render(){if(this.legendElement.theme==="spike")return $`<div style=${u({display:"flex",flex:"1",justifyContent:"center"})}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;let{legendElement:a,hasIndicators:i,opacity:s}=this,c=a.infos,y=c.at(0),m=c.at(-1);if(!y||!m)return null;let{label:v,...x}=y,{label:f,...z}=m,t=x.preview,r=z.preview;if(!t||!r)return null;t=t.cloneNode(!0),t.style.display="flex",I(t,C(this.messages,v)),r=r.cloneNode(!0),r.style.display="flex",I(r,C(this.messages,f));let l={opacity:`${s??""}`};return $`<div class=${p(i?d.verticalContainer:d.container)}><div class=${p(d.label)}>${i?v:f}</div><div class=${p(i?d.verticalRamp:d.ramp)}><div class=${p(d.preview)} style=${u(l)}>${t}</div>${this._renderSizeRampLines(a)}<div class=${p(d.preview)} style=${u(l)}>${r}</div></div><div class=${p(d.label)}>${i?f:v}</div></div>`}_renderSizeRampLines(a){let i=a.infos,s=i.at(0),c=i.at(-1);if(!s||!c)return null;let y=s.symbol,m=this.hasIndicators,v=s.size&&typeof s.size=="number"?s.size:0,x=c.size&&typeof c.size=="number"?c.size:0,f=s.outlineSize||0,z=c.outlineSize||0,t=k(v+f),r=k(x+z),l=m?t:t+50,g=m?t/2+50:t,h=q(y),_=Y(y),o=document.createElement("canvas");o.width=l,o.height=g,o.style.width=`${o.width}px`,o.style.height=`${o.height}px`;let n=o.getContext("2d");if(m){n.beginPath();let b=0,w=0,L=l/2-r/2,M=g;n.moveTo(b,w),n.lineTo(L,M);let T=l,E=0,S=l/2+r/2,R=g;n.moveTo(T,E),n.lineTo(S,R)}else{n.beginPath();let b=0,w=g/2-r/2,L=l;n.moveTo(b,w),n.lineTo(L,0);let T=0,E=g/2+r/2,S=l,R=g;n.moveTo(T,E),n.lineTo(S,R)}return n.strokeStyle=X,n.stroke(),$`<div style=${u(m?{display:"flex",marginTop:`-${h?0:_?t/2:0}px`,marginBottom:`-${h?r:_?r/2:0}px`}:{display:"flex",marginRight:`-${h?0:_?t/2:0}px`,marginLeft:`-${h?0:_?r/2:0}px`})}>${o}</div>`}};A("arcgis-legend-card-size-ramp",j);return j},a)
3
+ v5.0.0-next.9 */
4
+ import a from"./AX4YZ3OQ.js";import{J as P,K as p,L as u,P as A,a as N,b as $}from"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([{e:k,g:C,h:I}])=>{var O=N`.arcgis-legend--card__size-ramp--container{display:flex;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--label{margin:0 .5em;white-space:nowrap}.arcgis-legend--card__size-ramp--vertical-ramp{display:flex;flex-direction:column;align-items:center}.arcgis-legend--card__size-ramp--ramp{display:flex;flex-direction:row-reverse;align-items:center}.arcgis-legend--card__size-ramp--preview{display:flex}`,d={container:"arcgis-legend--card__size-ramp--container",verticalContainer:"arcgis-legend--card__size-ramp--vertical-container",label:"arcgis-legend--card__size-ramp--label",ramp:"arcgis-legend--card__size-ramp--ramp",verticalRamp:"arcgis-legend--card__size-ramp--vertical-ramp",preview:"arcgis-legend--card__size-ramp--preview"},X="#ddd";function Y(e){if(!e)return;if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let i=e.symbolLayers.at(-1),s=i&&"resource"in i?i.resource?.primitive:void 0;return s==="circle"||s==="cross"||s==="kite"||s==="sphere"||s==="cube"||s==="diamond"}let a="style"in e?e.style:void 0;return a==="circle"||a==="diamond"||a==="cross"}function q(e){if(e){if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let a=e.symbolLayers.at(-1),i=a&&"resource"in a?a.resource?.primitive:void 0;return i==="triangle"||i==="cone"||i==="tetrahedron"}return"style"in e&&e.style==="triangle"}}var j=class extends P{constructor(){super(...arguments),this.hasIndicators=!1,this.legendElement=null,this.opacity=1}static{this.properties={hasIndicators:5,legendElement:0,opacity:9,messages:0}}static{this.styles=O}render(){if(this.legendElement.theme==="spike")return $`<div style=${u({display:"flex",flex:"1",justifyContent:"center"})}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;let{legendElement:a,hasIndicators:i,opacity:s}=this,c=a.infos,y=c.at(0),m=c.at(-1);if(!y||!m)return null;let{label:v,...x}=y,{label:f,...z}=m,t=x.preview,r=z.preview;if(!t||!r)return null;t=t.cloneNode(!0),t.style.display="flex",I(t,C(this.messages,v)),r=r.cloneNode(!0),r.style.display="flex",I(r,C(this.messages,f));let l={opacity:`${s??""}`};return $`<div class=${p(i?d.verticalContainer:d.container)}><div class=${p(d.label)}>${i?v:f}</div><div class=${p(i?d.verticalRamp:d.ramp)}><div class=${p(d.preview)} style=${u(l)}>${t}</div>${this._renderSizeRampLines(a)}<div class=${p(d.preview)} style=${u(l)}>${r}</div></div><div class=${p(d.label)}>${i?f:v}</div></div>`}_renderSizeRampLines(a){let i=a.infos,s=i.at(0),c=i.at(-1);if(!s||!c)return null;let y=s.symbol,m=this.hasIndicators,v=s.size&&typeof s.size=="number"?s.size:0,x=c.size&&typeof c.size=="number"?c.size:0,f=s.outlineSize||0,z=c.outlineSize||0,t=k(v+f),r=k(x+z),l=m?t:t+50,g=m?t/2+50:t,h=q(y),_=Y(y),o=document.createElement("canvas");o.width=l,o.height=g,o.style.width=`${o.width}px`,o.style.height=`${o.height}px`;let n=o.getContext("2d");if(m){n.beginPath();let b=0,w=0,L=l/2-r/2,M=g;n.moveTo(b,w),n.lineTo(L,M);let T=l,E=0,S=l/2+r/2,R=g;n.moveTo(T,E),n.lineTo(S,R)}else{n.beginPath();let b=0,w=g/2-r/2,L=l;n.moveTo(b,w),n.lineTo(L,0);let T=0,E=g/2+r/2,S=l,R=g;n.moveTo(T,E),n.lineTo(S,R)}return n.strokeStyle=X,n.stroke(),$`<div style=${u(m?{display:"flex",marginTop:`-${h?0:_?t/2:0}px`,marginBottom:`-${h?r:_?r/2:0}px`}:{display:"flex",marginRight:`-${h?0:_?t/2:0}px`,marginLeft:`-${h?0:_?r/2:0}px`})}>${o}</div>`}};A("arcgis-legend-card-size-ramp",j);return j},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as F}from"./XPV6WDON.js";import{a as A}from"./QWRWNIDQ.js";import{J as T,N as q,P as S,a as v,b as p}from"./DF6FT47K.js";import"./6DWBG7BD.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=I(),this._associationViewModels=I(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .flowItems=${this.flowItems} .flowType=${this.flowType} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;await Promise.allSettled(t.utilityNetworks?.map(s=>s.load())??[]);let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":r.add("connectivity"),r.add("junction-junction-connectivity"),r.add("junction-edge-from-connectivity"),r.add("junction-edge-midspan-connectivity"),r.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem())}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")
3
+ v5.0.0-next.9 */
4
+ import{a as F}from"./EHBILRD3.js";import{a as A}from"./XKRAIZZC.js";import{J as T,N as q,P as S,a as v,b as p}from"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=I(),this._associationViewModels=I(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .flowItems=${this.flowItems} .flowType=${this.flowType} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;await Promise.allSettled(t.utilityNetworks?.map(s=>s.load())??[]);let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":r.add("connectivity"),r.add("junction-junction-connectivity"),r.add("junction-edge-from-connectivity"),r.add("junction-edge-midspan-connectivity"),r.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem())}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import c from"./XAAWUQP3.js";import b from"./C2236CBZ.js";import{e as u}from"./7RMBEOAT.js";import"./MIZIJT77.js";import{J as w,K as a,L as t,P as _,a as h,b as l}from"./DF6FT47K.js";import"./6DWBG7BD.js";export default $arcgis.t(([,{a:x,b:n,c:$,d:c,e:E}])=>{var I=h`.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,i={layerRow:"arcgis-legend--card__layer-row",symbol:"arcgis-legend--card__symbol",symbolContainer:"arcgis-legend--card__symbol-container",rampLabelsContainer:"arcgis-legend__ramp-labels",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",univariateAboveAndBelowColorRamp:"arcgis-univariate-above-and-below-ramp__color--card"},d=class extends w{constructor(){super(...arguments),this._direction=u(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=I}render(){let{legendElement:C,opacity:s}=this,{sizeRampElement:e,colorRampElement:m}=E(C,this.messages,s,"horizontal");if(!e)return null;let z=$(e,"full",!0,"horizontal"),A=c(e,"above",!0,"horizontal"),R=c(e,"below",!0,"horizontal"),p=12,g=this.messages?.previewColorRampAriaLabel,b=n(m,{width:A,height:p,rampAlignment:"horizontal",opacity:s,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),L=n(m,{width:R,height:p,rampAlignment:"horizontal",opacity:s,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),v=x(e,"card"),f=e.infos.map(r=>r.label),k=f.length-1,F=f.map((r,y)=>y===0||y===k?l`<div>${r}</div>`:null),B={display:"flex",flexDirection:"column"},j={display:"flex",flexDirection:"row"},o={marginTop:"3px",display:"flex"};this._direction==="rtl"?o.marginRight=`${v}px`:o.marginLeft=`${v}px`;let D={width:`${z}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return l`<div class=${a(i.layerRow)} style=${t(B)}><div class=${a(i.symbolContainer)} style=${t(j)}>${e.infos.map(r=>l`<div class=${a(i.symbol)}>${r.preview}</div>`)}</div>${b?l`<div class=${a(i.univariateAboveAndBelowColorRamp)} style=${t(o)}><div>${b}</div><div>${L}</div></div>`:null}<div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${t(D)}>${F}</div></div></div>`}};_("arcgis-legend-card-univariate-above-and-below-ramp",d);return d},b,c)
3
+ v5.0.0-next.9 */
4
+ import c from"./UTR76FIP.js";import b from"./AX4YZ3OQ.js";import{e as u}from"./RQMKV3HS.js";import"./37YPSWO4.js";import{J as w,K as a,L as t,P as _,a as h,b as l}from"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([,{a:x,b:n,c:$,d:c,e:E}])=>{var I=h`.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,i={layerRow:"arcgis-legend--card__layer-row",symbol:"arcgis-legend--card__symbol",symbolContainer:"arcgis-legend--card__symbol-container",rampLabelsContainer:"arcgis-legend__ramp-labels",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",univariateAboveAndBelowColorRamp:"arcgis-univariate-above-and-below-ramp__color--card"},d=class extends w{constructor(){super(...arguments),this._direction=u(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=I}render(){let{legendElement:C,opacity:s}=this,{sizeRampElement:e,colorRampElement:m}=E(C,this.messages,s,"horizontal");if(!e)return null;let z=$(e,"full",!0,"horizontal"),A=c(e,"above",!0,"horizontal"),R=c(e,"below",!0,"horizontal"),p=12,g=this.messages?.previewColorRampAriaLabel,b=n(m,{width:A,height:p,rampAlignment:"horizontal",opacity:s,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),L=n(m,{width:R,height:p,rampAlignment:"horizontal",opacity:s,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:g}),v=x(e,"card"),f=e.infos.map(r=>r.label),k=f.length-1,F=f.map((r,y)=>y===0||y===k?l`<div>${r}</div>`:null),B={display:"flex",flexDirection:"column"},j={display:"flex",flexDirection:"row"},o={marginTop:"3px",display:"flex"};this._direction==="rtl"?o.marginRight=`${v}px`:o.marginLeft=`${v}px`;let D={width:`${z}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return l`<div class=${a(i.layerRow)} style=${t(B)}><div class=${a(i.symbolContainer)} style=${t(j)}>${e.infos.map(r=>l`<div class=${a(i.symbol)}>${r.preview}</div>`)}</div>${b?l`<div class=${a(i.univariateAboveAndBelowColorRamp)} style=${t(o)}><div>${b}</div><div>${L}</div></div>`:null}<div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${t(D)}>${F}</div></div></div>`}};_("arcgis-legend-card-univariate-above-and-below-ramp",d);return d},b,c)
@@ -0,0 +1,4 @@
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.9 */
4
+ import"./WC32Z2XP.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import e from"./5VJNY7VQ.js";import d from"./32AM3PJ5.js";import{a as F}from"./UBAX43ZI.js";import c from"./CV67UIOI.js";import a from"./DFXD6UAY.js";import{g as L}from"./7RMBEOAT.js";import"./DOQSCVJD.js";import{b as E}from"./MIZIJT77.js";import{I as M,J as x,K as l,M as _,P as b,a as y,b as o,s as I}from"./DF6FT47K.js";import"./6DWBG7BD.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`: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`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(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=L()("flowItems","state"),this.arcgisReady=I()}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 R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(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,graphic:p}=this,u=!!e?.fieldInfos,g=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:m})=>!!m&&(N(m)||D(m)||m in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .isAggregate=${p?.isAggregate} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${g} .expressionInfos=${v??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:u}=this.viewModel,g={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=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=${$} .values=${i} .layer=${s} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${g}></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:u}=e,{formattedAttributes:g,view:v}=this.viewModel,$={...g?.global,...g?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),m=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=${m} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .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 ${M(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=${u=>{u.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??_}></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(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
3
+ v5.0.0-next.9 */
4
+ import e from"./JCUS7WFJ.js";import d from"./LZTCXDAV.js";import{a as F}from"./OVRQQ75Q.js";import c from"./MZVOVWCJ.js";import a from"./BK47IEJ5.js";import{g as L}from"./RQMKV3HS.js";import"./YRLLDFS4.js";import{b as E}from"./37YPSWO4.js";import{I as M,J as x,K as l,M as _,P as b,a as y,b as o,s as I}from"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`: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`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(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=L()("flowItems","state"),this.arcgisReady=I()}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 R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(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,graphic:p}=this,u=!!e?.fieldInfos,g=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:m})=>!!m&&(N(m)||D(m)||m in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .isAggregate=${p?.isAggregate} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${g} .expressionInfos=${v??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:u}=this.viewModel,g={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=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=${$} .values=${i} .layer=${s} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${g}></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:u}=e,{formattedAttributes:g,view:v}=this.viewModel,$={...g?.global,...g?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),m=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=${m} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .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 ${M(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=${u=>{u.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??_}></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(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
@@ -0,0 +1,4 @@
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.9 */
4
+ import a from"./RV56PCEB.js";import"./XKRAIZZC.js";import"./L2OF4K26.js";import"./WC32Z2XP.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.7 */
4
- import{a as h}from"./UBAX43ZI.js";import"./7RMBEOAT.js";import"./MIZIJT77.js";import{H as o,I as u,J as d,P as g,a as c,b as t,s as r}from"./DF6FT47K.js";import"./6DWBG7BD.js";var m=c`:host{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,a=class extends d{constructor(){super(...arguments),this._resultFeatureListRef=o(),this._messages=h({blocking:!0}),this._clearSelectedResultType=()=>this._selectedResultType=void 0,this.layers=[],this.arcgisSelectedResultTypeChange=r(),this._renderResultListItems=s=>{let{_messages:e}=this,{elements:i,globalFunctionResults:l}=s,n=[];return i&&i.length>0&&n.push(this._renderResultListItem(i.length,e.headings.features,e.labels.numFeatures,()=>this._selectedResultType="features")),l&&l.length>0&&n.push(this._renderResultListItem(l.length,e.headings.functions,e.labels.numFunctions,()=>{})),n},this._renderResultListItem=(s,e,i,l)=>t`<calcite-list-item .label=${e} @calciteListItemSelect=${l}><calcite-chip .label=${i} scale=s slot=content-end>${s}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}static{this.properties={_selectedResultType:16,layers:0,messageOverrides:0,selectedResultType:32,traceConfigTitle:1,traceResult:0,utilityNetwork:0}}static{this.styles=m}get selectedResultType(){return this._selectedResultType}willUpdate(s){s.has("_selectedResultType")&&this.arcgisSelectedResultTypeChange.emit(),s.has("traceResult")&&this._clearSelectedResultType()}render(){let{_messages:s,traceResult:e}=this;if(e){if(!e.elements?.length&&!e.globalFunctionResults?.length)return t`<div>${this._renderTraceResultsHeading()}${this._renderNoResultsLanding()}</div>`}else return t`<div>${this._renderTraceResultsHeading()}${this._renderNoTraceLanding()}</div>`;let{elements:i,globalFunctionResults:l}=e,n=i&&i.length>0&&(!l||l.length===0);return t`<calcite-flow>${n?null:t`<calcite-flow-item .selected=${this.selectedResultType===void 0}>${this._renderTraceResultsHeading()}<calcite-list .label=${s.headings.traceResultsGeneric}>${this._renderResultListItems(e)}</calcite-list></calcite-flow-item>`}${n||this.selectedResultType==="features"?t`<calcite-flow-item .heading=${s.headings.features} .description=${s.headings.totalFeatures.replace("{number}",e.elements.length.toString())} selected @calciteFlowItemBack=${this._clearSelectedResultType}><arcgis-utility-network-result-feature-list .elements=${e.elements} .layers=${this.layers} .utilityNetwork=${this.utilityNetwork} ${u(this._resultFeatureListRef)}></arcgis-utility-network-result-feature-list></calcite-flow-item>`:null}</calcite-flow>`}_renderTraceResultsHeading(){return t`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?t`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderNoResultsLanding(){return t`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div>`}_renderNoTraceLanding(){return t`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div>`}};g("arcgis-utility-network-trace-results",a);export{a as ArcgisUtilityNetworkTraceResults};
3
+ v5.0.0-next.9 */
4
+ import{a as h}from"./OVRQQ75Q.js";import"./RQMKV3HS.js";import"./37YPSWO4.js";import{H as o,I as u,J as d,P as g,a as c,b as t,s as r}from"./L2OF4K26.js";import"./WC32Z2XP.js";var m=c`:host{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,a=class extends d{constructor(){super(...arguments),this._resultFeatureListRef=o(),this._messages=h({blocking:!0}),this._clearSelectedResultType=()=>this._selectedResultType=void 0,this.layers=[],this.arcgisSelectedResultTypeChange=r(),this._renderResultListItems=s=>{let{_messages:e}=this,{elements:i,globalFunctionResults:l}=s,n=[];return i&&i.length>0&&n.push(this._renderResultListItem(i.length,e.headings.features,e.labels.numFeatures,()=>this._selectedResultType="features")),l&&l.length>0&&n.push(this._renderResultListItem(l.length,e.headings.functions,e.labels.numFunctions,()=>{})),n},this._renderResultListItem=(s,e,i,l)=>t`<calcite-list-item .label=${e} @calciteListItemSelect=${l}><calcite-chip .label=${i} scale=s slot=content-end>${s}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`}static{this.properties={_selectedResultType:16,layers:0,messageOverrides:0,selectedResultType:32,traceConfigTitle:1,traceResult:0,utilityNetwork:0}}static{this.styles=m}get selectedResultType(){return this._selectedResultType}willUpdate(s){s.has("_selectedResultType")&&this.arcgisSelectedResultTypeChange.emit(),s.has("traceResult")&&this._clearSelectedResultType()}render(){let{_messages:s,traceResult:e}=this;if(e){if(!e.elements?.length&&!e.globalFunctionResults?.length)return t`<div>${this._renderTraceResultsHeading()}${this._renderNoResultsLanding()}</div>`}else return t`<div>${this._renderTraceResultsHeading()}${this._renderNoTraceLanding()}</div>`;let{elements:i,globalFunctionResults:l}=e,n=i&&i.length>0&&(!l||l.length===0);return t`<calcite-flow>${n?null:t`<calcite-flow-item .selected=${this.selectedResultType===void 0}>${this._renderTraceResultsHeading()}<calcite-list .label=${s.headings.traceResultsGeneric}>${this._renderResultListItems(e)}</calcite-list></calcite-flow-item>`}${n||this.selectedResultType==="features"?t`<calcite-flow-item .heading=${s.headings.features} .description=${s.headings.totalFeatures.replace("{number}",e.elements.length.toString())} selected @calciteFlowItemBack=${this._clearSelectedResultType}><arcgis-utility-network-result-feature-list .elements=${e.elements} .layers=${this.layers} .utilityNetwork=${this.utilityNetwork} ${u(this._resultFeatureListRef)}></arcgis-utility-network-result-feature-list></calcite-flow-item>`:null}</calcite-flow>`}_renderTraceResultsHeading(){return t`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?t`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderNoResultsLanding(){return t`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div>`}_renderNoTraceLanding(){return t`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div>`}};g("arcgis-utility-network-trace-results",a);export{a as ArcgisUtilityNetworkTraceResults};
@@ -0,0 +1 @@
1
+ {"headings":{"domainNetwork":"Domain network","targetTier":"Target tier","tier":"Tier"}}
@@ -1 +1 @@
1
- {"componentLabel":"Trace Inputs","labels":{"utilityNetwork":"Utility network","traceConfiguration":"Trace configuration","traceInputs":"Trace inputs","addSpatial":{"startingPoint":"Add starting points","barrier":"Add barriers","stoppingPoint":"Add stopping points"}},"errors":{"noMapError":"No map available","noUtilityNetworkError":"No utility networks found in the map","noTraceConfigurationError":"No named trace configurations available"},"instructions":{"addSpatial":"Click on the map to add a point"}}
1
+ {"componentLabel":"Trace Inputs","errors":{"noCompatibleSubnetworks":"The utility network has no subnetworks that are compatible with the selected trace configuration.","noMapError":"No map available.","noTraceConfigurationError":"No named trace configurations available.","noUtilityNetworkError":"No utility networks found in the map."},"instructions":{"addSpatial":"Click on the map to add a point"},"labels":{"addSpatial":{"barrier":"Add barriers","startingPoint":"Add starting points","stoppingPoint":"Add stopping points"},"subnetworkInfo":"Subnetwork info","subnetworkName":"Subnetwork name","traceConfiguration":"Trace configuration","traceInputs":"Trace inputs","utilityNetwork":"Utility network"}}