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

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 (844) hide show
  1. package/dist/cdn/{AMG4CQWO.js → 25MTYPG7.js} +2 -2
  2. package/dist/cdn/2ENVPPC2.js +4 -0
  3. package/dist/cdn/2N7N2XOS.js +4 -0
  4. package/dist/cdn/2PPXGILJ.js +4 -0
  5. package/dist/cdn/2PW7EQ4D.js +4 -0
  6. package/dist/cdn/2QPT2ZP4.js +4 -0
  7. package/dist/cdn/{G5PMGVU4.js → 2UD5CADS.js} +2 -2
  8. package/dist/cdn/{YXSNZP3J.js → 2WDLD4PP.js} +2 -2
  9. package/dist/cdn/2YAARW2G.js +4 -0
  10. package/dist/cdn/2YKVF7XN.js +4 -0
  11. package/dist/cdn/33V2BTFA.js +4 -0
  12. package/dist/cdn/3QINMTW2.js +4 -0
  13. package/dist/cdn/3WWAQMTP.js +4 -0
  14. package/dist/cdn/3YHUU45B.js +4 -0
  15. package/dist/cdn/{C2236CBZ.js → 43A6P6H2.js} +1 -1
  16. package/dist/cdn/474TZ4PK.js +4 -0
  17. package/dist/cdn/4BH7EKTR.js +4 -0
  18. package/dist/cdn/4C4GLK7I.js +4 -0
  19. package/dist/cdn/4GBEEWNV.js +4 -0
  20. package/dist/cdn/{R5W7EQYL.js → 4MOPLWIM.js} +2 -2
  21. package/dist/cdn/4PBELKFV.js +4 -0
  22. package/dist/cdn/{W5T3D66S.js → 4PNBN3DU.js} +2 -2
  23. package/dist/cdn/4SKUWCIE.js +4 -0
  24. package/dist/cdn/5AHCAHBR.js +4 -0
  25. package/dist/cdn/5IG73RFY.js +4 -0
  26. package/dist/cdn/{RJPMPWQK.js → 5INWFQR3.js} +2 -2
  27. package/dist/cdn/5RHTJMAU.js +9 -0
  28. package/dist/cdn/{W2ENKEBL.js → 5VI72H3Z.js} +2 -2
  29. package/dist/cdn/{BJLLWEDQ.js → 6AVCHD6H.js} +1 -1
  30. package/dist/cdn/6DCQH5JX.js +4 -0
  31. package/dist/cdn/{EOCT6FGC.js → 6K4NWV7B.js} +2 -2
  32. package/dist/cdn/7GYG4IEX.js +4 -0
  33. package/dist/cdn/{HDNA5F6G.js → 7IVE3VPE.js} +2 -2
  34. package/dist/cdn/7KLBXM66.js +4 -0
  35. package/dist/cdn/{XPV6WDON.js → 7OWHKGQD.js} +1 -1
  36. package/dist/cdn/7SQHTHHC.js +4 -0
  37. package/dist/cdn/{UEGTZRQO.js → 7UBQJMHA.js} +2 -2
  38. package/dist/cdn/A25INMKO.js +4 -0
  39. package/dist/cdn/A6AE62VH.js +4 -0
  40. package/dist/cdn/{CV67UIOI.js → AAXKZHXS.js} +2 -2
  41. package/dist/cdn/AB775LN7.js +4 -0
  42. package/dist/cdn/{FBKD2FUV.js → AMVDSDF7.js} +2 -2
  43. package/dist/cdn/{GANTC2JR.js → AQAGUM62.js} +2 -2
  44. package/dist/cdn/AW3IG2C6.js +4 -0
  45. package/dist/cdn/B7VK3Q73.js +5 -0
  46. package/dist/cdn/BCFNTPXF.js +4 -0
  47. package/dist/cdn/BDQ7V7E5.js +4 -0
  48. package/dist/cdn/BEUEAKN6.js +4 -0
  49. package/dist/cdn/{7P4IZ3TJ.js → BGEE7F2B.js} +2 -2
  50. package/dist/cdn/BSO6JVVF.js +4 -0
  51. package/dist/cdn/BTYD53B6.js +4 -0
  52. package/dist/cdn/{M4TTKFBW.js → BVPDB6TV.js} +2 -2
  53. package/dist/cdn/C7NDOBN3.js +4 -0
  54. package/dist/cdn/CFQLSE4M.js +4 -0
  55. package/dist/cdn/{Y3OSDFR4.js → CGNLLX4Q.js} +2 -2
  56. package/dist/cdn/CGT67PB5.js +4 -0
  57. package/dist/cdn/CIGUGZVT.js +4 -0
  58. package/dist/cdn/CMXCRP7V.js +4 -0
  59. package/dist/cdn/{EHMZR5TR.js → CWBFN4WD.js} +2 -2
  60. package/dist/cdn/CY2NH4L4.js +4 -0
  61. package/dist/cdn/D55YSLYD.js +4 -0
  62. package/dist/cdn/{3YHA662Y.js → DEGJSEG3.js} +2 -2
  63. package/dist/cdn/DFRWPASD.js +4 -0
  64. package/dist/cdn/DI33B6W4.js +4 -0
  65. package/dist/cdn/DMHV6ZWF.js +4 -0
  66. package/dist/cdn/DNWD7SWZ.js +4 -0
  67. package/dist/cdn/DPA7YP2O.js +4 -0
  68. package/dist/cdn/{MNQPVVH3.js → DR7WRTEO.js} +2 -2
  69. package/dist/cdn/DTQQKXWE.js +4 -0
  70. package/dist/cdn/{G4FVGNVY.js → DZLONOLM.js} +2 -2
  71. package/dist/cdn/{VHLNK34F.js → E2AWSO7H.js} +2 -2
  72. package/dist/cdn/E3CM77ET.js +4 -0
  73. package/dist/cdn/{44LY3QB2.js → E4AR6WJC.js} +2 -2
  74. package/dist/cdn/EHVEZMBD.js +4 -0
  75. package/dist/cdn/EPOBQ7YW.js +4 -0
  76. package/dist/cdn/EWK5XIZW.js +4 -0
  77. package/dist/cdn/{BWTML5G2.js → F3UKNXQL.js} +2 -2
  78. package/dist/cdn/FCK7OAJ3.js +4 -0
  79. package/dist/cdn/FFHHAW23.js +4 -0
  80. package/dist/cdn/FKI3RQJH.js +4 -0
  81. package/dist/cdn/FSQ6JDGZ.js +6 -0
  82. package/dist/cdn/FTRZSGN7.js +4 -0
  83. package/dist/cdn/{75OXQ2H2.js → FWB6M3LB.js} +1 -1
  84. package/dist/cdn/FYRAR57A.js +4 -0
  85. package/dist/cdn/G3Z6546U.js +4 -0
  86. package/dist/cdn/{FPDZK5KF.js → G3ZO7MIT.js} +2 -2
  87. package/dist/cdn/GE3LTPPF.js +4 -0
  88. package/dist/cdn/GF2737YJ.js +4 -0
  89. package/dist/cdn/GR4AN2BB.js +4 -0
  90. package/dist/cdn/GR77ET4Z.js +4 -0
  91. package/dist/cdn/GRGUPIGF.js +4 -0
  92. package/dist/cdn/GRX4TT67.js +4 -0
  93. package/dist/cdn/{QWRWNIDQ.js → GVBPHZ73.js} +2 -2
  94. package/dist/cdn/GWEWKTQD.js +4 -0
  95. package/dist/cdn/{DOQSCVJD.js → HBFWVQZJ.js} +1 -1
  96. package/dist/cdn/HFO6QPTQ.js +4 -0
  97. package/dist/cdn/{32AM3PJ5.js → HLODJHMJ.js} +2 -2
  98. package/dist/cdn/HPYVFRQR.js +4 -0
  99. package/dist/cdn/HTH2X5OO.js +4 -0
  100. package/dist/cdn/HV64EGSU.js +4 -0
  101. package/dist/cdn/ICVSKVZS.js +4 -0
  102. package/dist/cdn/{UBAX43ZI.js → IGGTCIDR.js} +2 -2
  103. package/dist/cdn/IGNCHKQX.js +4 -0
  104. package/dist/cdn/IK7PL6QN.js +4 -0
  105. package/dist/cdn/ILIYPB2B.js +4 -0
  106. package/dist/cdn/{BIW7LQAB.js → IPOQGJ4M.js} +2 -2
  107. package/dist/cdn/{ZEHTSMNI.js → ISKHG6YT.js} +2 -2
  108. package/dist/cdn/ISQERAKQ.js +4 -0
  109. package/dist/cdn/IXA3XOQM.js +4 -0
  110. package/dist/cdn/J77D7DKV.js +4 -0
  111. package/dist/cdn/JBR5WEYU.js +4 -0
  112. package/dist/cdn/JDFYLXRO.js +4 -0
  113. package/dist/cdn/JIBDVZU5.js +4 -0
  114. package/dist/cdn/JJOJ6D27.js +4 -0
  115. package/dist/cdn/JNXWFKYJ.js +4 -0
  116. package/dist/cdn/JR2YGNGR.js +4 -0
  117. package/dist/cdn/JT37SW5R.js +4 -0
  118. package/dist/cdn/JWBTHUXH.js +4 -0
  119. package/dist/cdn/KD3KE77D.js +4 -0
  120. package/dist/cdn/KEBMKH6Z.js +4 -0
  121. package/dist/cdn/KEHAQC2R.js +4 -0
  122. package/dist/cdn/L5EDLGGP.js +4 -0
  123. package/dist/cdn/{RXFIRFZE.js → LA4UTU2N.js} +2 -2
  124. package/dist/cdn/LG6XNWLE.js +4 -0
  125. package/dist/cdn/{SEDGRHB7.js → LGSK6HZ2.js} +2 -2
  126. package/dist/cdn/LKBEX4XQ.js +4 -0
  127. package/dist/cdn/LN3XFOYJ.js +4 -0
  128. package/dist/cdn/{O3BCMGPN.js → LPI4F2QQ.js} +2 -2
  129. package/dist/cdn/{BR4XEJ4B.js → LVELBGXK.js} +2 -2
  130. package/dist/cdn/LVRY32ZM.js +4 -0
  131. package/dist/cdn/LWCJIUB3.js +4 -0
  132. package/dist/cdn/LXB5VZCG.js +4 -0
  133. package/dist/cdn/MAS7ZWEU.js +4 -0
  134. package/dist/cdn/MF2NFBVQ.js +4 -0
  135. package/dist/cdn/MF5PIPZN.js +4 -0
  136. package/dist/cdn/MJUACG4Z.js +4 -0
  137. package/dist/cdn/MLGV6336.js +4 -0
  138. package/dist/cdn/MLSXRHY4.js +4 -0
  139. package/dist/cdn/MQT5Q5AY.js +4 -0
  140. package/dist/cdn/MV6JHUNW.js +4 -0
  141. package/dist/cdn/MWPAVG7Y.js +4 -0
  142. package/dist/cdn/{5T5JJGIY.js → MXKX43IF.js} +2 -2
  143. package/dist/cdn/N3C4MSSG.js +4 -0
  144. package/dist/cdn/{U2SXGKX4.js → N4UG4QXS.js} +2 -2
  145. package/dist/cdn/NCTQBVVA.js +4 -0
  146. package/dist/cdn/{MI6G3PVS.js → NDTMUWWV.js} +2 -2
  147. package/dist/cdn/NGC66WJ2.js +4 -0
  148. package/dist/cdn/NQ4BG6Y2.js +4 -0
  149. package/dist/cdn/{MD5JUHBL.js → NZOVREIM.js} +2 -2
  150. package/dist/cdn/O7UCAF5M.js +4 -0
  151. package/dist/cdn/OEM4FCAH.js +4 -0
  152. package/dist/cdn/OLXZMEFY.js +4 -0
  153. package/dist/cdn/ONJ2QBMV.js +4 -0
  154. package/dist/cdn/OXHFC77P.js +4 -0
  155. package/dist/cdn/OZ3TQUPM.js +4 -0
  156. package/dist/cdn/P4GNHID4.js +4 -0
  157. package/dist/cdn/{FMOTQNWT.js → P7YUDQHP.js} +2 -2
  158. package/dist/cdn/{MK6DQGSF.js → PESYNCDN.js} +2 -2
  159. package/dist/cdn/{PG4Z6IM6.js → PESZMZGP.js} +2 -2
  160. package/dist/cdn/PLYD7E44.js +4 -0
  161. package/dist/cdn/PNT2B2WF.js +4 -0
  162. package/dist/cdn/{DFXD6UAY.js → POEHXXRY.js} +2 -2
  163. package/dist/cdn/PTH2FFGR.js +4 -0
  164. package/dist/cdn/PUHRBH35.js +4 -0
  165. package/dist/cdn/PVHPJ5IA.js +4 -0
  166. package/dist/cdn/QG7A6GWR.js +4 -0
  167. package/dist/cdn/QGFUHVYS.js +4 -0
  168. package/dist/cdn/QIP2OSPJ.js +4 -0
  169. package/dist/cdn/{IFZJKELT.js → QJXOY2Z6.js} +2 -2
  170. package/dist/cdn/R6I6QBXB.js +4 -0
  171. package/dist/cdn/RCAJFGXB.js +4 -0
  172. package/dist/cdn/RL3Z5ZIG.js +4 -0
  173. package/dist/cdn/RPZWKLAH.js +4 -0
  174. package/dist/cdn/{E7UOBFTE.js → RQLIBSGG.js} +2 -2
  175. package/dist/cdn/S36KXTBZ.js +4 -0
  176. package/dist/cdn/S3EVC26P.js +4 -0
  177. package/dist/cdn/S3HP3HVG.js +4 -0
  178. package/dist/cdn/S5OBEMRR.js +4 -0
  179. package/dist/cdn/{LFERT3PE.js → SBE2EB4C.js} +1 -1
  180. package/dist/cdn/SBHDGTTZ.js +4 -0
  181. package/dist/cdn/SJPTHDK2.js +4 -0
  182. package/dist/cdn/SSO6AU3Z.js +4 -0
  183. package/dist/cdn/SVFUZFFG.js +4 -0
  184. package/dist/cdn/SWXE4UO2.js +4 -0
  185. package/dist/cdn/SXKRSGGH.js +4 -0
  186. package/dist/cdn/TJWOPI25.js +4 -0
  187. package/dist/cdn/{UUBRHGGR.js → TVAAWXV3.js} +2 -2
  188. package/dist/cdn/TVZZHIAF.js +4 -0
  189. package/dist/cdn/{MQL4RPHT.js → TXWB6F7V.js} +2 -2
  190. package/dist/cdn/U7ZFHRWZ.js +4 -0
  191. package/dist/cdn/{7ZTK5RNR.js → UCK6UFYC.js} +2 -2
  192. package/dist/cdn/UM5UZVNR.js +4 -0
  193. package/dist/cdn/UUW2QLFI.js +4 -0
  194. package/dist/cdn/{2WWNPYIH.js → UW5UPGBC.js} +2 -2
  195. package/dist/cdn/V5FLQRFL.js +4 -0
  196. package/dist/cdn/VBTOIO7B.js +4 -0
  197. package/dist/cdn/VDS77KMI.js +4 -0
  198. package/dist/cdn/VILIDCJR.js +4 -0
  199. package/dist/cdn/{HUMIV3VH.js → VIP4QCWY.js} +2 -2
  200. package/dist/cdn/VKLXH46A.js +4 -0
  201. package/dist/cdn/{2RQATXIO.js → VPEXIWPZ.js} +2 -2
  202. package/dist/cdn/VSRAD3YG.js +4 -0
  203. package/dist/cdn/VTZOAWNC.js +4 -0
  204. package/dist/cdn/VXQI4EIZ.js +4 -0
  205. package/dist/cdn/W4QDMZ6Q.js +4 -0
  206. package/dist/cdn/W4VRYJ4U.js +4 -0
  207. package/dist/cdn/W5WTAOCF.js +4 -0
  208. package/dist/cdn/WEYIXGE4.js +4 -0
  209. package/dist/cdn/WHAYWTF5.js +4 -0
  210. package/dist/cdn/{MIZIJT77.js → WM66Z6VL.js} +1 -1
  211. package/dist/cdn/WO7UHNZ7.js +4 -0
  212. package/dist/cdn/{BZC6X3RM.js → WQSN425R.js} +2 -2
  213. package/dist/cdn/WSEZKLWP.js +4 -0
  214. package/dist/cdn/WT3DBNFU.js +4 -0
  215. package/dist/cdn/WYYJ5WQY.js +4 -0
  216. package/dist/cdn/{YY62WYQK.js → X6O3UK7O.js} +1 -1
  217. package/dist/cdn/XEBKJSBU.js +4 -0
  218. package/dist/cdn/XXCYGOV7.js +4 -0
  219. package/dist/cdn/YH2TK37D.js +4 -0
  220. package/dist/cdn/YIUZRZJS.js +4 -0
  221. package/dist/cdn/YZBBODTV.js +4 -0
  222. package/dist/cdn/YZE5HZDJ.js +4 -0
  223. package/dist/cdn/Z3QCHMQN.js +4 -0
  224. package/dist/cdn/{XAAWUQP3.js → Z7O4D4FY.js} +2 -2
  225. package/dist/cdn/ZCZFLWGN.js +4 -0
  226. package/dist/cdn/{R2S3OK5G.js → ZEY732TR.js} +1 -1
  227. package/dist/cdn/ZN5BORFE.js +4 -0
  228. package/dist/cdn/ZNODKXO4.js +4 -0
  229. package/dist/cdn/{6DWBG7BD.js → ZPDFQVRB.js} +1 -1
  230. package/dist/cdn/ZQLMEFI7.js +4 -0
  231. package/dist/cdn/ZUB7JS6B.js +4 -0
  232. package/dist/cdn/ZWIQ5FPN.js +4 -0
  233. package/dist/cdn/ZWNKCU7T.js +4 -0
  234. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  235. package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
  236. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
  237. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -0
  238. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  239. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -0
  240. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  241. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  242. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -1
  243. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
  244. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
  245. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
  246. package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
  247. package/dist/cdn/index.js +2 -2
  248. package/dist/cdn/main.css +1 -1
  249. package/dist/chunks/AnalysisViewModel.js +52 -43
  250. package/dist/chunks/action-utils.js +2 -2
  251. package/dist/chunks/async-utils.js +79 -61
  252. package/dist/chunks/basemap-gallery-resources.js +1 -1
  253. package/dist/chunks/chart-utils.js +1 -1
  254. package/dist/chunks/chartCommon.js +1 -1
  255. package/dist/chunks/component-utils.js +1 -1
  256. package/dist/chunks/constants.js +10 -0
  257. package/dist/chunks/createCloseEvent.js +1 -1
  258. package/dist/chunks/esri-main.js +2 -2
  259. package/dist/chunks/feature-utils.js +33 -33
  260. package/dist/chunks/globalCss.js +1 -1
  261. package/dist/chunks/handle.js +14 -0
  262. package/dist/chunks/heading.js +1 -1
  263. package/dist/chunks/layer-list.js +2 -2
  264. package/dist/chunks/legacyIcon.js +1 -1
  265. package/dist/chunks/maybe.js +1 -1
  266. package/dist/chunks/measurementUtils.js +24 -10
  267. package/dist/chunks/runtime.js +1 -1
  268. package/dist/chunks/screenLocation.js +1 -1
  269. package/dist/chunks/slots.js +5 -5
  270. package/dist/chunks/svgUtils.js +1 -1
  271. package/dist/chunks/time-utils.js +53 -0
  272. package/dist/chunks/univariateUtils.js +1 -1
  273. package/dist/chunks/useArcgisViewReadyError.js +79 -49
  274. package/dist/chunks/useHandles.js +1 -1
  275. package/dist/chunks/useT9n.js +1 -1
  276. package/dist/chunks/useView.js +1 -1
  277. package/dist/chunks/useViewModel.js +1 -1
  278. package/dist/chunks/useWidget.js +1 -1
  279. package/dist/chunks/utils.js +5 -5
  280. package/dist/chunks/utils2.js +1 -1
  281. package/dist/chunks/visible-element.js +9 -0
  282. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
  283. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +72 -56
  284. package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
  285. package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
  286. package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
  287. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
  288. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -5
  289. package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
  290. package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
  291. package/dist/components/arcgis-attachments/customElement.js +6 -6
  292. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
  293. package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
  294. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  295. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  296. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  297. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
  298. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  299. package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
  300. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  301. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  302. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  303. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +7 -7
  304. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  305. package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
  306. package/dist/components/arcgis-color-select/customElement.js +59 -0
  307. package/dist/components/arcgis-color-select/index.d.ts +5 -0
  308. package/dist/components/arcgis-color-select/index.js +5 -0
  309. package/dist/components/arcgis-compass/customElement.d.ts +4 -4
  310. package/dist/components/arcgis-compass/customElement.js +6 -6
  311. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +66 -65
  312. package/dist/components/arcgis-coordinate-conversion/customElement.js +13 -13
  313. package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
  314. package/dist/components/arcgis-daylight/customElement.js +209 -250
  315. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
  316. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  317. package/dist/components/arcgis-daylight/index.js +1 -0
  318. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
  319. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +5 -15
  320. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
  321. package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
  322. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  323. package/dist/components/arcgis-directions/customElement.d.ts +9 -5
  324. package/dist/components/arcgis-directions/customElement.js +1 -1
  325. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
  326. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +71 -52
  327. package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
  328. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
  329. package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
  330. package/dist/components/arcgis-editor/customElement.d.ts +33 -8
  331. package/dist/components/arcgis-editor/customElement.js +4 -4
  332. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +37 -20
  333. package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
  334. package/dist/components/arcgis-elevation-profile/customElement.js +585 -16
  335. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
  336. package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
  337. package/dist/components/arcgis-elevation-profile/index.js +5 -0
  338. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
  339. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  340. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  341. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  342. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  343. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
  344. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  345. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  346. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  347. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
  348. package/dist/components/arcgis-expand/customElement.d.ts +16 -15
  349. package/dist/components/arcgis-expand/customElement.js +152 -45
  350. package/dist/components/arcgis-feature/customElement.d.ts +37 -31
  351. package/dist/components/arcgis-feature/customElement.js +15 -15
  352. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  353. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  354. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  355. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  356. package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -2
  357. package/dist/components/arcgis-feature-fields/customElement.js +27 -27
  358. package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
  359. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  360. package/dist/components/arcgis-feature-media/customElement.d.ts +2 -2
  361. package/dist/components/arcgis-feature-media/customElement.js +9 -9
  362. package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
  363. package/dist/components/arcgis-feature-table/customElement.d.ts +21 -8
  364. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  365. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
  366. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  367. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +1 -0
  368. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
  369. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +10 -9
  370. package/dist/components/arcgis-features/customElement.d.ts +37 -16
  371. package/dist/components/arcgis-features/customElement.js +9 -11
  372. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
  373. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  374. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  375. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  376. package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -5
  377. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  378. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
  379. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  380. package/dist/components/arcgis-home/customElement.d.ts +5 -5
  381. package/dist/components/arcgis-home/customElement.js +2 -2
  382. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  383. package/dist/components/arcgis-layer-list/customElement.d.ts +11 -7
  384. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  385. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  386. package/dist/components/arcgis-legend/customElement.d.ts +29 -14
  387. package/dist/components/arcgis-legend/customElement.js +1 -1
  388. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  389. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  390. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  391. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  392. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  393. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  394. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  395. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  396. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  397. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  398. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  399. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  400. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  401. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  402. package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
  403. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  404. package/dist/components/arcgis-link-chart/customElement.d.ts +103 -21
  405. package/dist/components/arcgis-link-chart/customElement.js +27 -25
  406. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
  407. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  408. package/dist/components/arcgis-locate/customElement.d.ts +3 -3
  409. package/dist/components/arcgis-locate/customElement.js +9 -7
  410. package/dist/components/arcgis-map/customElement.d.ts +517 -51
  411. package/dist/components/arcgis-map/customElement.js +26 -24
  412. package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
  413. package/dist/components/arcgis-measurement/customElement.js +1 -1
  414. package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
  415. package/dist/components/arcgis-measurement-content/customElement.js +25 -34
  416. package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
  417. package/dist/components/arcgis-measurement-content/index.js +1 -0
  418. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
  419. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  420. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
  421. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  422. package/dist/components/arcgis-placement/customElement.d.ts +3 -3
  423. package/dist/components/arcgis-placement/customElement.js +1 -1
  424. package/dist/components/arcgis-popup/customElement.d.ts +53 -11
  425. package/dist/components/arcgis-popup/customElement.js +9 -6
  426. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +27 -0
  427. package/dist/components/arcgis-presentation/customElement.d.ts +56 -0
  428. package/dist/components/arcgis-presentation/customElement.js +140 -0
  429. package/dist/components/arcgis-presentation/index.d.ts +2 -0
  430. package/dist/components/arcgis-presentation/index.js +2 -0
  431. package/dist/components/arcgis-print/customElement.d.ts +56 -11
  432. package/dist/components/arcgis-print/customElement.js +47 -32
  433. package/dist/components/arcgis-print/utils.d.ts +0 -1
  434. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  435. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  436. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  437. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +5 -3
  438. package/dist/components/arcgis-print-exports-panel/customElement.js +80 -19
  439. package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
  440. package/dist/components/arcgis-print-exports-panel/index.js +4 -1
  441. package/dist/components/arcgis-print-format-select/customElement.js +15 -16
  442. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
  443. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +58 -24
  444. package/dist/components/arcgis-print-layout-advanced-options/index.d.ts +2 -0
  445. package/dist/components/arcgis-print-layout-advanced-options/index.js +2 -0
  446. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
  447. package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
  448. package/dist/components/arcgis-print-main-panel/customElement.d.ts +8 -2
  449. package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
  450. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  451. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
  452. package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
  453. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
  454. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  455. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  456. package/dist/components/arcgis-print-template-select/customElement.js +22 -23
  457. package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
  458. package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
  459. package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
  460. package/dist/components/arcgis-print-template-selector/index.js +1 -1
  461. package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
  462. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  463. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
  464. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  465. package/dist/components/arcgis-scene/customElement.d.ts +149 -22
  466. package/dist/components/arcgis-scene/customElement.js +26 -24
  467. package/dist/components/arcgis-search/customElement.d.ts +25 -23
  468. package/dist/components/arcgis-search/customElement.js +1 -1
  469. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  470. package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +44 -0
  471. package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
  472. package/dist/components/arcgis-shadow-cast/customElement.d.ts +220 -89
  473. package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
  474. package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
  475. package/dist/components/arcgis-shadow-cast/index.js +9 -0
  476. package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
  477. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
  478. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
  479. package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
  480. package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
  481. package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
  482. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
  483. package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
  484. package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
  485. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
  486. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
  487. package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
  488. package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
  489. package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
  490. package/dist/components/arcgis-sketch/customElement.js +18 -10
  491. package/dist/components/arcgis-slice/customElement.d.ts +4 -4
  492. package/dist/components/arcgis-slice/customElement.js +14 -15
  493. package/dist/components/arcgis-spinner/customElement.js +1 -1
  494. package/dist/components/arcgis-swipe/customElement.d.ts +6 -4
  495. package/dist/components/arcgis-swipe/customElement.js +2 -2
  496. package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
  497. package/dist/components/arcgis-table-list/customElement.js +2 -2
  498. package/dist/components/arcgis-time-slider/customElement.d.ts +7 -5
  499. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  500. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  501. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  502. package/dist/components/arcgis-track/customElement.d.ts +5 -5
  503. package/dist/components/arcgis-track/customElement.js +2 -2
  504. package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
  505. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  506. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  507. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
  508. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  509. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  510. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  511. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  512. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  513. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -5
  514. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  515. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
  516. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +69 -40
  517. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +16 -8
  518. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +175 -110
  519. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +2 -1
  520. package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -1
  521. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +18 -6
  522. package/dist/components/arcgis-utility-network-trace-location/customElement.js +173 -117
  523. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +1 -0
  524. package/dist/components/arcgis-utility-network-trace-location/index.js +1 -0
  525. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
  526. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
  527. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
  528. package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
  529. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +26 -6
  530. package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -34
  531. package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
  532. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  533. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
  534. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  535. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  536. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  537. package/dist/components/arcgis-version-management/customElement.d.ts +5 -5
  538. package/dist/components/arcgis-version-management/customElement.js +2 -2
  539. package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
  540. package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
  541. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  542. package/dist/components/arcgis-video/customElement.d.ts +21 -13
  543. package/dist/components/arcgis-video/customElement.js +3 -3
  544. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  545. package/dist/components/arcgis-video-player/customElement.js +4 -4
  546. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  547. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  548. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  549. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  550. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  551. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  552. package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
  553. package/dist/components/arcgis-volume-measurement/customElement.d.ts +220 -0
  554. package/dist/components/arcgis-volume-measurement/customElement.js +245 -0
  555. package/dist/components/arcgis-volume-measurement/index.d.ts +11 -0
  556. package/dist/components/arcgis-volume-measurement/index.js +11 -0
  557. package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
  558. package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
  559. package/dist/components/arcgis-weather/customElement.d.ts +20 -4
  560. package/dist/components/arcgis-weather/customElement.js +150 -132
  561. package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
  562. package/dist/components/arcgis-zoom/customElement.js +2 -2
  563. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  564. package/dist/controllers/uiController.d.ts +6 -0
  565. package/dist/controllers/useHandles.d.ts +1 -1
  566. package/dist/controllers/useViewModel.d.ts +1 -1
  567. package/dist/controllers/useWidget.d.ts +1 -1
  568. package/dist/docs/api.json +10682 -9046
  569. package/dist/docs/docs.json +7051 -5602
  570. package/dist/docs/vscode.css-custom-data.json +16 -16
  571. package/dist/docs/vscode.html-custom-data.json +832 -546
  572. package/dist/docs/web-types.json +1780 -1157
  573. package/dist/index.d.ts +139 -125
  574. package/dist/index.js +1 -1
  575. package/dist/loader.d.ts +1 -1
  576. package/dist/loader.js +40 -36
  577. package/dist/support/AnalysisViewModel.d.ts +4 -3
  578. package/dist/support/handle.d.ts +1 -1
  579. package/dist/support/measurementUtils.d.ts +6 -3
  580. package/dist/support/time-utils.d.ts +6 -0
  581. package/dist/types/components.d.ts +1 -1
  582. package/dist/types/lumina.d.ts +120 -105
  583. package/dist/types/preact.d.ts +125 -108
  584. package/dist/types/preact10.d.ts +129 -110
  585. package/dist/types/react.d.ts +130 -111
  586. package/dist/types/stencil.d.ts +120 -105
  587. package/dist/utils/async-utils.d.ts +19 -0
  588. package/dist/utils/feature-utils.d.ts +4 -4
  589. package/dist/utils/highlight-utils.d.ts +22 -0
  590. package/package.json +5 -5
  591. package/dist/cdn/27OLXDSF.js +0 -4
  592. package/dist/cdn/2DI73YIB.js +0 -4
  593. package/dist/cdn/2F2NXYKC.js +0 -4
  594. package/dist/cdn/2HMB76Z5.js +0 -4
  595. package/dist/cdn/3LIPNJER.js +0 -4
  596. package/dist/cdn/3PHUVNMO.js +0 -4
  597. package/dist/cdn/3U4KMEXD.js +0 -4
  598. package/dist/cdn/3YNGI2TD.js +0 -4
  599. package/dist/cdn/44D2CQXK.js +0 -4
  600. package/dist/cdn/4HLE3NFA.js +0 -4
  601. package/dist/cdn/4RZ2KUNN.js +0 -4
  602. package/dist/cdn/54WB3EST.js +0 -4
  603. package/dist/cdn/576GJQTN.js +0 -4
  604. package/dist/cdn/5VJNY7VQ.js +0 -4
  605. package/dist/cdn/5WLA2JTM.js +0 -4
  606. package/dist/cdn/62ACF4GK.js +0 -4
  607. package/dist/cdn/6A5UTVGJ.js +0 -4
  608. package/dist/cdn/6LADRP6U.js +0 -4
  609. package/dist/cdn/6UMHGQQQ.js +0 -4
  610. package/dist/cdn/7AMVYS4J.js +0 -4
  611. package/dist/cdn/7DDS4PSE.js +0 -4
  612. package/dist/cdn/7MSVBRFX.js +0 -4
  613. package/dist/cdn/7OFHFYVY.js +0 -4
  614. package/dist/cdn/7ONVHE43.js +0 -4
  615. package/dist/cdn/7RMBEOAT.js +0 -4
  616. package/dist/cdn/7T3OMP3P.js +0 -4
  617. package/dist/cdn/7X66YHTY.js +0 -4
  618. package/dist/cdn/A4XLJBOQ.js +0 -4
  619. package/dist/cdn/AHWDCV4N.js +0 -4
  620. package/dist/cdn/AJTP62TS.js +0 -4
  621. package/dist/cdn/AMBRZDBB.js +0 -4
  622. package/dist/cdn/AMFMXMYU.js +0 -4
  623. package/dist/cdn/API4DWYS.js +0 -4
  624. package/dist/cdn/ARBQIEOZ.js +0 -4
  625. package/dist/cdn/AVCXAEKW.js +0 -4
  626. package/dist/cdn/AZ2OINQZ.js +0 -4
  627. package/dist/cdn/BAYBJSRA.js +0 -4
  628. package/dist/cdn/BHLLVXY4.js +0 -4
  629. package/dist/cdn/BMHY3L6P.js +0 -4
  630. package/dist/cdn/BS72LKTC.js +0 -4
  631. package/dist/cdn/BUQLVGX2.js +0 -4
  632. package/dist/cdn/BW3BKF7S.js +0 -4
  633. package/dist/cdn/CF5WWETS.js +0 -4
  634. package/dist/cdn/CKKEUYVF.js +0 -4
  635. package/dist/cdn/CRLVMPT6.js +0 -4
  636. package/dist/cdn/DDDCENIA.js +0 -4
  637. package/dist/cdn/DF6FT47K.js +0 -6
  638. package/dist/cdn/DFGIY6KN.js +0 -4
  639. package/dist/cdn/DPL4VHPW.js +0 -4
  640. package/dist/cdn/DTW55COI.js +0 -4
  641. package/dist/cdn/DXMYVDTD.js +0 -4
  642. package/dist/cdn/E5R6OKXP.js +0 -4
  643. package/dist/cdn/EAW4FQUJ.js +0 -4
  644. package/dist/cdn/EHFI4NFD.js +0 -4
  645. package/dist/cdn/EJG47NJ4.js +0 -4
  646. package/dist/cdn/EKGSDQRG.js +0 -4
  647. package/dist/cdn/EO3JN6RG.js +0 -4
  648. package/dist/cdn/EQBVGZUT.js +0 -4
  649. package/dist/cdn/EQDSFFHS.js +0 -4
  650. package/dist/cdn/ES26WJJB.js +0 -4
  651. package/dist/cdn/EU5DIWMP.js +0 -4
  652. package/dist/cdn/EVNKT7CS.js +0 -4
  653. package/dist/cdn/EZXIWACW.js +0 -4
  654. package/dist/cdn/F7YID2WS.js +0 -4
  655. package/dist/cdn/FO5HN26Z.js +0 -4
  656. package/dist/cdn/FRJJS6WF.js +0 -4
  657. package/dist/cdn/FYCB5LC4.js +0 -4
  658. package/dist/cdn/G7AINTVJ.js +0 -4
  659. package/dist/cdn/GCLPCPGB.js +0 -4
  660. package/dist/cdn/GFZEN7IR.js +0 -4
  661. package/dist/cdn/GQTIMLNH.js +0 -4
  662. package/dist/cdn/GWSNNZXP.js +0 -4
  663. package/dist/cdn/HQVB755E.js +0 -4
  664. package/dist/cdn/I3FHEM2H.js +0 -4
  665. package/dist/cdn/IB4GIMGM.js +0 -4
  666. package/dist/cdn/IPFACLKD.js +0 -4
  667. package/dist/cdn/IVS6B4TK.js +0 -4
  668. package/dist/cdn/IWZMOW4V.js +0 -4
  669. package/dist/cdn/J4VS6ZIF.js +0 -4
  670. package/dist/cdn/JCHQDIR6.js +0 -4
  671. package/dist/cdn/JE4BSPXI.js +0 -4
  672. package/dist/cdn/JLMYKOTB.js +0 -4
  673. package/dist/cdn/JU3SPL5S.js +0 -4
  674. package/dist/cdn/K2F7CBO6.js +0 -4
  675. package/dist/cdn/KCGCGEF7.js +0 -4
  676. package/dist/cdn/KD57RLBJ.js +0 -4
  677. package/dist/cdn/KGX5BMVF.js +0 -4
  678. package/dist/cdn/KSXL7KZW.js +0 -4
  679. package/dist/cdn/KUJNPIQB.js +0 -4
  680. package/dist/cdn/KYJ6ODES.js +0 -4
  681. package/dist/cdn/LHPNHGL5.js +0 -4
  682. package/dist/cdn/LOD2SN53.js +0 -4
  683. package/dist/cdn/LU2ZEFNK.js +0 -4
  684. package/dist/cdn/MFNCONT5.js +0 -4
  685. package/dist/cdn/MLMK5DYB.js +0 -4
  686. package/dist/cdn/MQL72DKL.js +0 -4
  687. package/dist/cdn/MSZQYK2V.js +0 -4
  688. package/dist/cdn/MUQAKAUR.js +0 -4
  689. package/dist/cdn/NIX62YJ5.js +0 -4
  690. package/dist/cdn/NK4JJJ3J.js +0 -4
  691. package/dist/cdn/O65PIWHP.js +0 -4
  692. package/dist/cdn/OI7L5JYC.js +0 -4
  693. package/dist/cdn/OMYEERQN.js +0 -4
  694. package/dist/cdn/OO7IZEBI.js +0 -4
  695. package/dist/cdn/OXUZ35GH.js +0 -5
  696. package/dist/cdn/P34SUK6J.js +0 -4
  697. package/dist/cdn/PC45POAO.js +0 -4
  698. package/dist/cdn/PG4JSSVK.js +0 -4
  699. package/dist/cdn/PGKZ2HPF.js +0 -4
  700. package/dist/cdn/PM4SNJDH.js +0 -4
  701. package/dist/cdn/PMSGGWUW.js +0 -4
  702. package/dist/cdn/Q6DSCXON.js +0 -4
  703. package/dist/cdn/QMC3TY3W.js +0 -9
  704. package/dist/cdn/QP3MAEDM.js +0 -4
  705. package/dist/cdn/QWW3MHGA.js +0 -4
  706. package/dist/cdn/R4DMYEQC.js +0 -4
  707. package/dist/cdn/R67Q3OIO.js +0 -4
  708. package/dist/cdn/R7CXX3HM.js +0 -4
  709. package/dist/cdn/RGNZOLUW.js +0 -4
  710. package/dist/cdn/RHKQGAZU.js +0 -4
  711. package/dist/cdn/RJ2F4ZE6.js +0 -4
  712. package/dist/cdn/RQX5L4VL.js +0 -4
  713. package/dist/cdn/S2R2RQ6R.js +0 -4
  714. package/dist/cdn/SDICLWFI.js +0 -4
  715. package/dist/cdn/SGARZDQH.js +0 -4
  716. package/dist/cdn/SIPZMYB4.js +0 -4
  717. package/dist/cdn/SNWM3QNT.js +0 -4
  718. package/dist/cdn/STOVGTPC.js +0 -4
  719. package/dist/cdn/UB43YIRC.js +0 -4
  720. package/dist/cdn/UDXVD5XZ.js +0 -4
  721. package/dist/cdn/UFJJSQPL.js +0 -4
  722. package/dist/cdn/UGGH2ZYL.js +0 -4
  723. package/dist/cdn/UP6V7HAC.js +0 -4
  724. package/dist/cdn/UVKUXDIO.js +0 -4
  725. package/dist/cdn/VAE46PTT.js +0 -4
  726. package/dist/cdn/VCWGFFLB.js +0 -4
  727. package/dist/cdn/VF5ZEZIA.js +0 -4
  728. package/dist/cdn/VGOXORF3.js +0 -4
  729. package/dist/cdn/VVFA7BGW.js +0 -4
  730. package/dist/cdn/WDLQOKMF.js +0 -4
  731. package/dist/cdn/WHXM4RSM.js +0 -4
  732. package/dist/cdn/WI5OAAU5.js +0 -4
  733. package/dist/cdn/WPSYRM5U.js +0 -4
  734. package/dist/cdn/WQX34SJR.js +0 -4
  735. package/dist/cdn/WSROCQLI.js +0 -4
  736. package/dist/cdn/WYSUU2YF.js +0 -4
  737. package/dist/cdn/X2HGZACW.js +0 -4
  738. package/dist/cdn/X73IB46P.js +0 -4
  739. package/dist/cdn/XITYDU6J.js +0 -4
  740. package/dist/cdn/XUUYGDDT.js +0 -4
  741. package/dist/cdn/YGHWVOXY.js +0 -4
  742. package/dist/cdn/YIIAEYM6.js +0 -4
  743. package/dist/cdn/Z3AW5R2E.js +0 -4
  744. package/dist/cdn/Z3OUKTDA.js +0 -4
  745. package/dist/cdn/Z3P3YHQ6.js +0 -4
  746. package/dist/cdn/ZEKB6D5C.js +0 -4
  747. package/dist/cdn/ZIIGODZS.js +0 -4
  748. package/dist/cdn/ZY3XCOUK.js +0 -4
  749. package/dist/cdn/ZYM4PPCW.js +0 -4
  750. package/dist/cdn/ZZ7RT7QM.js +0 -4
  751. package/dist/cdn/ZZRSXHDL.js +0 -4
  752. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
  753. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ar.json +0 -1
  754. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bg.json +0 -1
  755. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bs.json +0 -1
  756. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ca.json +0 -1
  757. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.cs.json +0 -1
  758. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.da.json +0 -1
  759. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.de.json +0 -1
  760. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.el.json +0 -1
  761. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.en.json +0 -1
  762. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.es.json +0 -1
  763. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.et.json +0 -1
  764. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fi.json +0 -1
  765. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fr.json +0 -1
  766. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.he.json +0 -1
  767. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hr.json +0 -1
  768. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hu.json +0 -1
  769. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.id.json +0 -1
  770. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.it.json +0 -1
  771. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ja.json +0 -1
  772. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ko.json +0 -1
  773. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lt.json +0 -1
  774. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lv.json +0 -1
  775. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.nl.json +0 -1
  776. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.no.json +0 -1
  777. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pl.json +0 -1
  778. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-BR.json +0 -1
  779. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-PT.json +0 -1
  780. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ro.json +0 -1
  781. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ru.json +0 -1
  782. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sk.json +0 -1
  783. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sl.json +0 -1
  784. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sr.json +0 -1
  785. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sv.json +0 -1
  786. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.th.json +0 -1
  787. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.tr.json +0 -1
  788. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.uk.json +0 -1
  789. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.vi.json +0 -1
  790. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-CN.json +0 -1
  791. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-HK.json +0 -1
  792. package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-TW.json +0 -1
  793. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
  794. package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
  795. package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
  796. package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
  797. package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
  798. package/dist/components/arcgis-print-exported-link/customElement.js +0 -90
  799. package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
  800. package/dist/components/arcgis-print-exported-link/index.js +0 -7
  801. package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +0 -33
  802. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +0 -72
  803. package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -6
  804. package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -6
  805. package/dist/utils/mapping-utils.d.ts +0 -2
  806. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
  807. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
  808. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
  809. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
  810. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
  811. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
  812. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
  813. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
  814. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
  815. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
  816. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
  817. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
  818. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
  819. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
  820. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
  821. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
  822. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
  823. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
  824. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
  825. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
  826. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
  827. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
  828. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
  829. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
  830. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
  831. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
  832. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
  833. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
  834. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
  835. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
  836. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
  837. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
  838. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
  839. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
  840. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
  841. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
  842. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
  843. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
  844. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
@@ -1,194 +1,250 @@
1
1
  import { c as $ } from "../../chunks/runtime.js";
2
- import { css as T, html as b } from "lit";
2
+ import { css as x, html as m } from "lit";
3
3
  import v from "@arcgis/core/geometry/Polyline.js";
4
- import x from "@arcgis/core/geometry/SpatialReference.js";
5
- import { LitElement as C, createEvent as w, safeClassMap as y } from "@arcgis/lumina";
6
- import { u as A } from "../../chunks/useT9n.js";
7
- import _ from "@arcgis/core/rest/networks/support/TraceLocation.js";
8
- import F from "@arcgis/core/Graphic.js";
9
- import { SimpleMarkerSymbol as S } from "@arcgis/core/symbols.js";
4
+ import A from "@arcgis/core/geometry/SpatialReference.js";
5
+ import { LitElement as I, createEvent as b, safeClassMap as g } from "@arcgis/lumina";
6
+ import { u as F } from "../../chunks/useT9n.js";
7
+ import T from "@arcgis/core/rest/networks/support/TraceLocation.js";
8
+ import C from "@arcgis/core/Graphic.js";
9
+ import { SimpleMarkerSymbol as w } from "@arcgis/core/symbols.js";
10
10
  import * as k from "@arcgis/core/geometry/operators/projectOperator.js";
11
- import * as N from "@arcgis/core/geometry/operators/cutOperator.js";
11
+ import * as G from "@arcgis/core/geometry/operators/cutOperator.js";
12
12
  import * as L from "@arcgis/core/geometry/operators/lengthOperator.js";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
15
- v5.0.0-next.7 */
16
- const R = T`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`, g = "arcgis-utility-network-trace-location", f = {
15
+ v5.0.0-next.71 */
16
+ const S = x`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`, y = "arcgis-utility-network-trace-location", h = {
17
17
  // popup renderer
18
- base: g,
18
+ base: y,
19
19
  // containers and content
20
- buttonContainer: `${g}__button-container`,
21
- clearButton: `${g}__clear-button`,
22
- addLocationButton: `${g}__add-location-button`
23
- }, n = "map-components:utility-network-trace-location";
24
- class B extends C {
20
+ buttonContainer: `${y}__button-container`,
21
+ clearButton: `${y}__clear-button`,
22
+ addLocationButton: `${y}__add-location-button`
23
+ }, c = "map-components:utility-network-trace-location";
24
+ class P extends I {
25
25
  constructor() {
26
- super(...arguments), this.messages = A({ blocking: !0 }), this.traceLocationType = "starting-point", this.arcgisTraceLocationChange = w(), this.arcgisTraceLocationSelectEnd = w(), this.arcgisTraceLocationSelectStart = w();
26
+ super(...arguments), this.messages = F({ blocking: !0 }), this.traceLocationType = "starting-point", this.spatialTolerance = 0.05, this.arcgisTraceLocationChange = b(), this.arcgisTraceLocationSelectEnd = b(), this.arcgisTraceLocationSelectStart = b();
27
27
  }
28
28
  static {
29
- this.properties = { view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, utilityNetwork: 0 };
29
+ this.properties = { view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, spatialTolerance: 9, utilityNetwork: 0 };
30
30
  }
31
31
  static {
32
- this.styles = R;
32
+ this.styles = S;
33
33
  }
34
34
  async load() {
35
35
  k.isLoaded() || await k.load();
36
36
  }
37
- _createPolyline(t, e) {
37
+ _createPolyline(e, t) {
38
38
  return new v({
39
39
  hasZ: !1,
40
40
  hasM: !0,
41
- paths: t,
42
- spatialReference: new x({ wkid: e })
41
+ paths: e,
42
+ spatialReference: new A({ wkid: t })
43
43
  });
44
44
  }
45
- _calculatePercentAlong(t, e) {
46
- const o = t.spatialReference, r = this._createPolyline(t.paths, o.wkid), a = e.x - 0.5, s = e.x + 0.5, i = e.y - 0.5, c = e.y + 0.5, l = [
45
+ _calculatePercentAlong(e, t) {
46
+ const o = e.spatialReference, r = this._createPolyline(e.paths, o.wkid), s = t.x - 0.5, i = t.x + 0.5, n = t.y - 0.5, a = t.y + 0.5, l = [
47
47
  [
48
- [a, i],
49
- [s, c]
48
+ [s, n],
49
+ [i, a]
50
50
  ]
51
- ], p = this._createPolyline(l, e.spatialReference.wkid), d = k.execute(p, o);
52
- if (!d)
53
- return console.error(`${n} - Unable to project flag geometry to source geometry spatial reference.`), 0.5;
54
- const u = N.execute(r, d);
55
- if (u.length > 0) {
56
- const h = L.execute(r, { unit: "feet" });
57
- let m;
58
- return u[0].paths[0][0][0] === r.paths[0][0][0] ? m = L.execute(u[0], { unit: "feet" }) : m = L.execute(u[1], { unit: "feet" }), m / h;
51
+ ], d = this._createPolyline(l, t.spatialReference.wkid), u = k.execute(d, o);
52
+ if (!u)
53
+ return console.error(`${c} - Unable to project flag geometry to source geometry spatial reference.`), 0.5;
54
+ const p = G.execute(r, u);
55
+ if (p.length > 0) {
56
+ const _ = L.execute(r, { unit: "feet" });
57
+ let f;
58
+ return p[0].paths[0][0][0] === r.paths[0][0][0] ? f = L.execute(p[0], { unit: "feet" }) : f = L.execute(p[1], { unit: "feet" }), f / _;
59
59
  }
60
- return console.warn(`${n} - Unable to cut the source geometry with the flag geometry.`), 0.5;
60
+ return console.warn(`${c} - Unable to cut the source geometry with the flag geometry.`), 0.5;
61
61
  }
62
- async _ensureNecessaryAttributes(t) {
63
- const e = (t.layer?.type === "feature", t.layer), o = e.fieldsIndex?.get("assetgroup") ?? !1, r = e.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", a = e.fieldsIndex?.get("assettype") ?? !1, s = e.fieldsIndex?.get("assettype")?.name ?? "assettype", i = t.getGlobalId(), c = t.getObjectId(), l = o ? !!t.getAttribute(r) : !0, p = a ? !!t.getAttribute(s) : !0;
64
- if (i && c && l && p)
65
- return t;
66
- const d = e.createQuery();
67
- return d.objectIds = [c], (await e.queryFeatures(d))?.features[0] || null;
62
+ async _ensureNecessaryAttributes(e) {
63
+ const t = (e.layer?.type === "feature", e.layer), o = t.fieldsIndex?.get("assetgroup") ?? !1, r = t.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", s = t.fieldsIndex?.get("assettype") ?? !1, i = t.fieldsIndex?.get("assettype")?.name ?? "assettype", n = e.getGlobalId(), a = e.getObjectId(), l = o ? !!e.getAttribute(r) : !0, d = s ? !!e.getAttribute(i) : !0;
64
+ if (n && a && l && d)
65
+ return e;
66
+ const u = t.createQuery();
67
+ return u.objectIds = [a], (await t.queryFeatures(u))?.features[0] || null;
68
68
  }
69
- async _ensureNecessaryAttributesAndGenerateTraceLocation(t, e) {
69
+ async _ensureNecessaryAttributesAndGenerateTraceLocation(e, t) {
70
70
  const { view: o } = this;
71
- if (!o || t.length === 0) {
72
- console.log(`${n} - No view or results to process.`);
71
+ if (!o || e.length === 0) {
72
+ console.log(`${c} - No view or results to process.`);
73
73
  return;
74
74
  }
75
- const a = t[0].graphic, s = await this._ensureNecessaryAttributes(a);
76
- if (!s) {
77
- console.error(`${n} - Unable to get necessary attributes for trace location.`);
75
+ const s = e[0].graphic, i = await this._ensureNecessaryAttributes(s);
76
+ if (!i) {
77
+ console.error(`${c} - Unable to get necessary attributes for trace location.`);
78
78
  return;
79
79
  }
80
- this._generateTraceLocation(s, e);
81
- }
82
- _addFlagGraphic(t, e, o) {
83
- const { flagLayer: r, view: a, traceLocationType: s } = this;
84
- if (!r || !a)
85
- return console.error(`${n} - Flag layer or view is not available.`), null;
86
- const i = e.geometry?.type;
87
- if (this.traceLocations?.some((h) => h.traceLocation.globalId === t) && i !== "polyline")
88
- return console.warn(`${n} - A flag with the same globalId already exists.`), null;
89
- const p = s === "starting-point" ? [21, 244, 21, 0.6] : [227, 27, 21, 0.6], d = new S({
90
- color: p,
80
+ this._generateTraceLocation(i, t);
81
+ }
82
+ _createFlagSymbol() {
83
+ const { traceLocationType: e } = this, t = [244, 21, 21, 0.6], o = [21, 244, 21, 0.6];
84
+ return e === "stopping-point" ? new w({
85
+ color: t,
86
+ style: "x",
87
+ size: 12,
88
+ outline: {
89
+ color: t,
90
+ width: 2
91
+ }
92
+ }) : e === "barrier" ? new w({
93
+ color: t,
94
+ style: "square",
91
95
  size: 12,
92
96
  outline: {
93
- color: p,
97
+ color: t,
94
98
  width: 0
95
99
  }
96
- }), u = new F({
100
+ }) : new w({
101
+ color: o,
102
+ style: "circle",
103
+ size: 12,
104
+ outline: {
105
+ color: o,
106
+ width: 0
107
+ }
108
+ });
109
+ }
110
+ _addFlagGraphic(e, t, o) {
111
+ const { flagLayer: r, view: s } = this;
112
+ if (!r || !s)
113
+ return console.error(`${c} - Flag layer or view is not available.`), null;
114
+ const i = t.geometry?.type;
115
+ if (this.traceLocations?.some((l) => l.traceLocation.globalId === e) && i !== "polyline")
116
+ return console.warn(`${c} - A flag with the same globalId already exists.`), null;
117
+ const n = this._createFlagSymbol(), a = new C({
97
118
  geometry: o,
98
- symbol: d,
99
- attributes: e.attributes
119
+ symbol: n,
120
+ attributes: t.attributes
100
121
  });
101
- return r.add(u), u;
122
+ return r.add(a), a;
102
123
  }
103
- _generateTraceLocation(t, e) {
104
- const { traceLocationType: o, traceLocations: r, utilityNetwork: a } = this, s = t.getGlobalId() ?? "", i = t.geometry?.type, c = this._addFlagGraphic(s, t, e);
105
- if (!c) {
106
- console.warn(`${n} - Unable to add flag graphic.`);
107
- return;
108
- }
124
+ async _generateItemTitle(e) {
125
+ const { messages: t } = this, o = (e.layer?.type === "feature", e.layer);
126
+ return ("getFeatureTitle" in o ? await o.getFeatureTitle(e) : null) || e?.getObjectId()?.toString() || t.labels.unknown;
127
+ }
128
+ async _generateFlagInfo(e, t) {
129
+ const { traceLocationType: o, utilityNetwork: r } = this, s = e.getGlobalId() ?? "", i = e.geometry?.type, n = await this._generateItemTitle(e);
109
130
  if (i === "point" || i === "polygon") {
110
- const l = a?.getTerminalConfiguration(t);
111
- r?.add({
112
- traceLocation: new _({
131
+ const a = r?.getTerminalConfiguration(e), l = a ? a.terminals[0].id : 1;
132
+ return {
133
+ traceLocation: new T({
113
134
  type: o,
114
135
  isFilterBarrier: !1,
115
136
  globalId: s,
116
- terminalId: l ? l.terminals[0].id || void 0 : 1
137
+ terminalId: l
117
138
  }),
118
- mapPoint: e,
119
- details: t,
120
- mapGraphic: c
121
- });
139
+ flagProperties: {
140
+ title: n,
141
+ expanded: !1,
142
+ terminalConfiguration: a ?? void 0,
143
+ selectedTerminals: a ? /* @__PURE__ */ new Set([l]) : void 0
144
+ },
145
+ spatialProperties: {
146
+ mapPoint: t,
147
+ mapGraphic: e
148
+ }
149
+ };
122
150
  } else if (i === "polyline") {
123
- const l = this._calculatePercentAlong(t.geometry, e);
124
- r?.add({
125
- traceLocation: new _({
151
+ const a = this._calculatePercentAlong(e.geometry, t);
152
+ return {
153
+ traceLocation: new T({
126
154
  type: o,
127
155
  isFilterBarrier: !1,
128
156
  globalId: s,
129
- percentAlong: l
157
+ percentAlong: a
130
158
  }),
131
- mapPoint: e,
132
- details: t,
133
- mapGraphic: c
134
- });
159
+ flagProperties: {
160
+ title: n,
161
+ expanded: !1
162
+ },
163
+ spatialProperties: {
164
+ mapPoint: t,
165
+ mapGraphic: e
166
+ }
167
+ };
135
168
  }
169
+ return null;
136
170
  }
137
- async _hitTest(t) {
138
- const { view: e, utilityNetwork: o } = this;
139
- if (!e || !o) {
140
- console.error(`${n} - View or utility network is not available for hit test.`);
171
+ async _generateTraceLocation(e, t) {
172
+ const { traceLocations: o } = this, r = e.getGlobalId() ?? "", s = e.geometry?.type, i = await this._generateFlagInfo(e, t);
173
+ if (!i) {
174
+ console.error(`${c} - Unable to generate flag info for trace location.`);
141
175
  return;
142
176
  }
143
- const r = t.graphic?.geometry, a = this.view?.toScreen(r);
144
- if (!a) {
145
- console.warn(`${n} - No screen point available for hit test.`);
177
+ const n = o?.filter((a) => a.spatialProperties.mapGraphic?.getGlobalId() === r) ?? [];
178
+ if (n.length === 0 || s === "polyline") {
179
+ if (s === "polyline" && n.length > 0 && n.some((l) => Math.abs(l.traceLocation.percentAlong - i.traceLocation.percentAlong) <= this.spatialTolerance)) {
180
+ console.warn(`${c} - A flag with the same globalId already exists within tolerance.`);
181
+ return;
182
+ }
183
+ const a = this._addFlagGraphic(r, e, t);
184
+ if (!a) {
185
+ console.warn(`${c} - Unable to add flag graphic.`);
186
+ return;
187
+ }
188
+ i.spatialProperties.flagGraphic = a, o?.add(i);
189
+ return;
190
+ }
191
+ console.warn(`${c} - A flag with the same globalId already exists.`);
192
+ }
193
+ async _hitTest(e) {
194
+ const { view: t, utilityNetwork: o } = this;
195
+ if (!t || !o) {
196
+ console.error(`${c} - View or utility network is not available for hit test.`);
197
+ return;
198
+ }
199
+ const r = e.graphic?.geometry, s = this.view?.toScreen(r);
200
+ if (!s) {
201
+ console.warn(`${c} - No screen point available for hit test.`);
146
202
  return;
147
203
  }
148
- const i = (await e.hitTest(a, {
204
+ const n = (await t.hitTest(s, {
149
205
  include: this.filterLayers
150
- })).results.filter((c) => c.type === "graphic" && c?.layer && c.graphic);
151
- if (i.length === 0) {
152
- console.log(`${n} - No usable hit test results found.`);
206
+ })).results.filter((a) => a.type === "graphic" && a?.layer && a.graphic);
207
+ if (n.length === 0) {
208
+ console.log(`${c} - No usable hit test results found.`);
153
209
  return;
154
210
  }
155
- this._ensureNecessaryAttributesAndGenerateTraceLocation(i, r);
211
+ this._ensureNecessaryAttributesAndGenerateTraceLocation(n, r);
156
212
  }
157
213
  _resetAfterSketch() {
158
- const { view: t } = this;
159
- if (!t) {
160
- console.error(`${n} - View is not available to reset after sketch.`);
214
+ const { view: e } = this;
215
+ if (!e) {
216
+ console.error(`${c} - View is not available to reset after sketch.`);
161
217
  return;
162
218
  }
163
- this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in t && t.acquireCursor("default"), this.arcgisTraceLocationSelectEnd.emit();
219
+ this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in e && e.acquireCursor("default"), this.arcgisTraceLocationSelectEnd.emit();
164
220
  }
165
- _handleSketchComplete(t) {
166
- const { sketchViewModel: e, view: o } = this;
167
- if (!e || !o) {
168
- console.error(`${n} - SketchViewModel or view is not available on sketch complete.`);
221
+ _handleSketchComplete(e) {
222
+ const { sketchViewModel: t, view: o } = this;
223
+ if (!t || !o) {
224
+ console.error(`${c} - SketchViewModel or view is not available on sketch complete.`);
169
225
  return;
170
226
  }
171
- t.state === "complete" && t.graphic && (e.layer.remove(t.graphic), this._hitTest(t)), (t.state === "cancel" || t.state === "complete") && this._resetAfterSketch();
227
+ e.state === "complete" && e.graphic && (t.layer.remove(e.graphic), this._hitTest(e)), (e.state === "cancel" || e.state === "complete") && this._resetAfterSketch();
172
228
  }
173
229
  _handleAddButtonClick() {
174
- const { view: t, sketchViewModel: e } = this;
175
- t && e && (this._clickHandler?.remove(), this._clickHandler = e.on("create", this._handleSketchComplete.bind(this)), "acquireCursor" in t && t.acquireCursor("crosshair"), this.sketchViewModel?.create("point"), this.arcgisTraceLocationSelectStart.emit());
230
+ const { view: e, sketchViewModel: t } = this;
231
+ e && t && (this._clickHandler?.remove(), this._clickHandler = t.on("create", this._handleSketchComplete.bind(this)), "acquireCursor" in e && e.acquireCursor("crosshair"), this.sketchViewModel?.create("point"), this.arcgisTraceLocationSelectStart.emit());
176
232
  }
177
233
  _handleClearButtonClick() {
178
- const { flagLayer: t, traceLocations: e } = this;
179
- e?.forEach((o) => {
180
- o.mapGraphic && t && t.remove(o.mapGraphic);
181
- }), e?.removeAll();
234
+ const { flagLayer: e, traceLocations: t } = this;
235
+ t?.forEach((o) => {
236
+ o.spatialProperties.flagGraphic && e && e.remove(o.spatialProperties.flagGraphic);
237
+ }), t?.removeAll();
182
238
  }
183
239
  renderAddLocationBlock() {
184
- const { traceLocationType: t, messages: e, traceLocations: o } = this, r = t === "starting-point" ? e.types.startingPoint : t === "barrier" ? e.types.barrier : e.types.stoppingPoint, a = r.heading, s = r.description, i = r.buttonText;
185
- return b`<calcite-block .heading=${a} .label=${a} expanded .description=${s}>${o?.length ? b`<calcite-button class=${y(f.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${() => this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>` : null}<div class=${y(f.buttonContainer)}><calcite-button class=${y(f.addLocationButton)} icon-start=select appearance=outline .label=${i} @click=${() => this._handleAddButtonClick()}>${i}</calcite-button></div></calcite-block>`;
240
+ const { traceLocationType: e, messages: t, traceLocations: o } = this, r = e === "starting-point" ? t.types.startingPoint : e === "barrier" ? t.types.barrier : t.types.stoppingPoint, s = r.heading, i = r.description, n = r.buttonText;
241
+ return m`<calcite-block .heading=${s} .label=${s} expanded .description=${i}>${o?.length ? m`<calcite-button class=${g(h.clearButton)} slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${() => this._handleClearButtonClick()}>${t.buttons.clear}</calcite-button>` : null}<arcgis-utility-network-trace-location-list .traceLocations=${o} .traceLocationType=${e}></arcgis-utility-network-trace-location-list><div class=${g(h.buttonContainer)}><calcite-button class=${g(h.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${() => this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`;
186
242
  }
187
243
  render() {
188
- return b`<div class=${y(f.base)}>${this.renderAddLocationBlock()}</div>`;
244
+ return m`<div class=${g(h.base)}>${this.renderAddLocationBlock()}</div>`;
189
245
  }
190
246
  }
191
- $("arcgis-utility-network-trace-location", B);
247
+ $("arcgis-utility-network-trace-location", P);
192
248
  export {
193
- B as ArcgisUtilityNetworkTraceLocation
249
+ P as ArcgisUtilityNetworkTraceLocation
194
250
  };
@@ -1,3 +1,4 @@
1
1
  import "@esri/calcite-components/components/calcite-block";
2
2
  import "@esri/calcite-components/components/calcite-button";
3
+ import "../arcgis-utility-network-trace-location-list/index.js";
3
4
  export * from "./customElement.js";
@@ -1,3 +1,4 @@
1
1
  import "@esri/calcite-components/components/calcite-block";
2
2
  import "@esri/calcite-components/components/calcite-button";
3
+ import "../arcgis-utility-network-trace-location-list/index.js";
3
4
  export * from "./customElement.js";
@@ -0,0 +1,21 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import { default as Collection } from '@arcgis/core/core/Collection.js';
3
+ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
+ import { FlagInfo, TraceLocationType } from '../arcgis-utility-network-trace-location/customElement.js';
5
+
6
+ /**
7
+ * This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
8
+ *
9
+ * This sub-component renders a collection of trace locations as a list.
10
+ *
11
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-location-list/)
12
+ *
13
+ * @since 4.34
14
+ * @internal
15
+ */
16
+ export declare class ArcgisUtilityNetworkTraceLocationList extends LitElement {
17
+ /** @required */
18
+ traceLocations: Collection<FlagInfo>;
19
+ /** @default "starting-point" */
20
+ traceLocationType: TraceLocationType;
21
+ }
@@ -0,0 +1,75 @@
1
+ import { c as h } from "../../chunks/runtime.js";
2
+ import { css as $, html as n } from "lit";
3
+ import b from "@arcgis/core/core/Collection.js";
4
+ import { LitElement as f, safeClassMap as s } from "@arcgis/lumina";
5
+ import { u as w } from "../../chunks/useT9n.js";
6
+ import { substitute as _ } from "@arcgis/core/intl.js";
7
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
+ v5.0.0-next.71 */
10
+ const y = $`.arcgis-utility-network-trace-location-list{margin-block-start:0;padding:0 var(--calcite-spacing-sm) var(--calcite-spacing-sm) var(--calcite-spacing-sm);background-color:var(--calcite-ui-foreground-1)}.arcgis-utility-network-trace-location-list calcite-list{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}.arcgis-utility-network-trace-location-list__warning{color:var(--calcite-color-status-danger)}.arcgis-utility-network-trace-location-list__terminals{padding-block:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-xl);padding-inline-end:var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-utility-network-trace-location-list__filter-barrier-container{display:flex;width:100%;calcite-label{width:100%}}.arcgis-utility-network-trace-location-list__filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}.arcgis-utility-network-trace-location-list calcite-list-item [slot=content-bottom]{background-color:transparent;display:none}.arcgis-utility-network-trace-location-list calcite-list-item[expanded] [slot=content-bottom]{display:unset}`, o = "arcgis-utility-network-trace-location-list", l = {
11
+ base: o,
12
+ terminals: `${o}__terminals`,
13
+ filterBarrierContainer: `${o}__filter-barrier-container`,
14
+ filterBarrier: `${o}__filter-barrier`,
15
+ warning: `${o}__warning`
16
+ }, d = "map-components:utility-network-trace-location-list";
17
+ class k extends f {
18
+ constructor() {
19
+ super(...arguments), this._messages = w({ blocking: !0 }), this.traceLocations = new b(), this.traceLocationType = "starting-point";
20
+ }
21
+ static {
22
+ this.properties = { traceLocations: 0, traceLocationType: 1 };
23
+ }
24
+ static {
25
+ this.styles = y;
26
+ }
27
+ _handleTraceLocationItemRemoved(t) {
28
+ const i = t.spatialProperties.flagGraphic?.layer, { traceLocations: e } = this;
29
+ t.spatialProperties.flagGraphic && i && i.remove(t.spatialProperties.flagGraphic), e?.remove(t);
30
+ }
31
+ _renderTerminal(t, i) {
32
+ const { flagProperties: e } = t, { selectedTerminals: r } = e;
33
+ if (!t)
34
+ return console.warn(`${d}: missing required property 'flag'`), null;
35
+ const { name: c, id: a } = i, m = r?.has(a) ?? !1;
36
+ return n`<calcite-label layout=inline><calcite-checkbox .value=${a} .checked=${m} @calciteCheckboxChange=${(p) => {
37
+ p.target.checked ? r?.add(a) : r?.delete(a), this.requestUpdate();
38
+ }}></calcite-checkbox>${c}</calcite-label>`;
39
+ }
40
+ _renderTerminalError() {
41
+ const { _messages: t } = this;
42
+ return n`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${t.errors.noTerminalSelected}</div></calcite-notice>`;
43
+ }
44
+ _renderFilterBarrier(t) {
45
+ const { _messages: i } = this, { traceLocation: e } = t;
46
+ return n`<div class=${s(l.filterBarrierContainer)}><calcite-label layout=inline><div class=${s(l.filterBarrier)}>${i.labels.filterBarrier}<calcite-switch .checked=${e.isFilterBarrier} @calciteSwitchChange=${(r) => {
47
+ e.isFilterBarrier = r.target.checked;
48
+ }}></calcite-switch></div></calcite-label></div>`;
49
+ }
50
+ _renderContents(t) {
51
+ const { flagProperties: i } = t, { terminalConfiguration: e, selectedTerminals: r } = i, c = t.traceLocation.type === "barrier", a = e && e.terminals.length > 0 && r?.size === 0;
52
+ return n`<calcite-action .icon=${i.expanded ? "chevron-up" : "chevron-down"} slot=actions-end scale=s text @click=${() => {
53
+ i.expanded = !i.expanded, this.requestUpdate();
54
+ }}></calcite-action>${a && n`<calcite-icon class=${s(l.warning)} icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>` || ""}${i.expanded && n`<div class=${s(l.terminals)} slot=content-bottom>${c && this._renderFilterBarrier(t) || ""}${e && this._renderTerminals(t) || ""}${a && this._renderTerminalError() || ""}</div>` || ""}`;
55
+ }
56
+ _renderTerminals(t) {
57
+ const { flagProperties: i } = t, { terminalConfiguration: e } = i;
58
+ if (!e)
59
+ return console.warn(`${d}: missing required property 'terminalConfiguration'`), [];
60
+ const r = e.terminals;
61
+ return !r || r.length === 0 ? (console.warn(`${d}: missing required property 'terminalConfiguration.terminals'`), []) : r.map((a) => this._renderTerminal(t, a));
62
+ }
63
+ _renderListItem(t) {
64
+ const { flagProperties: i } = t, { terminalConfiguration: e, expanded: r, title: c } = i, a = c, m = e && e.id !== 0, p = t.traceLocation.type === "barrier", u = m || p, g = e?.name ?? void 0;
65
+ return n`<calcite-list-item .label=${a} .description=${g} .value=${a} .expanded=${r}>${u ? this._renderContents(t) : n`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${() => this._handleTraceLocationItemRemoved(t)}></calcite-action></calcite-list-item>`;
66
+ }
67
+ render() {
68
+ const { _messages: t, traceLocationType: i } = this, e = _(t.labels.list, { traceLocationType: i }), r = this.traceLocations?.map((c) => this._renderListItem(c)).toArray() ?? [];
69
+ return r.length === 0 ? (console.warn(`${d}: no trace locations found`), null) : n`<div class=${s(l.base)}><calcite-list interaction-mode=static selection-mode=none .label=${e}>${r}</calcite-list></div>`;
70
+ }
71
+ }
72
+ h("arcgis-utility-network-trace-location-list", k);
73
+ export {
74
+ k as ArcgisUtilityNetworkTraceLocationList
75
+ };
@@ -0,0 +1,9 @@
1
+ import "@esri/calcite-components/components/calcite-label";
2
+ import "@esri/calcite-components/components/calcite-checkbox";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-switch";
5
+ import "@esri/calcite-components/components/calcite-action";
6
+ import "@esri/calcite-components/components/calcite-icon";
7
+ import "@esri/calcite-components/components/calcite-list-item";
8
+ import "@esri/calcite-components/components/calcite-list";
9
+ export * from "./customElement.js";
@@ -0,0 +1,9 @@
1
+ import "@esri/calcite-components/components/calcite-label";
2
+ import "@esri/calcite-components/components/calcite-checkbox";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-switch";
5
+ import "@esri/calcite-components/components/calcite-action";
6
+ import "@esri/calcite-components/components/calcite-icon";
7
+ import "@esri/calcite-components/components/calcite-list-item";
8
+ import "@esri/calcite-components/components/calcite-list";
9
+ export * from "./customElement.js";
@@ -1,19 +1,25 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
1
2
  /// <reference path="../../index.d.ts" />
3
+ import { default as Graphic } from '@arcgis/core/Graphic.js';
4
+ import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer.js';
2
5
  import { default as Layer } from '@arcgis/core/layers/Layer.js';
6
+ import { default as SubtypeSublayer } from '@arcgis/core/layers/support/SubtypeSublayer.js';
3
7
  import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
4
8
  import { default as TraceResult } from '@arcgis/core/rest/networks/support/TraceResult.js';
5
9
  import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
6
10
  import { PropertyValues } from 'lit';
11
+ import { ArcgisReferenceElement } from '../../utils/component-utils';
7
12
 
8
- type ResultType = "features" | "functions";
13
+ type State = "loading" | "ready";
14
+ export interface FeatureWithLabel {
15
+ feature: Graphic;
16
+ label: string;
17
+ }
9
18
  /**
10
19
  * This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
11
20
  *
12
21
  * This sub-component takes a `TraceResult` instance as input.
13
- * Optionally, the title of a trace configuration can be provided.
14
- *
15
- * It displays a list of result types returned by a trace in the provided `TraceResult`.
16
- * Selecting a trace result type renders a flow item for that result type.
22
+ * Optionally, the title of a trace configuration can be provided as a heading to display.
17
23
  *
18
24
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-results/)
19
25
  *
@@ -21,13 +27,27 @@ type ResultType = "features" | "functions";
21
27
  * @internal
22
28
  */
23
29
  export declare class ArcgisUtilityNetworkTraceResults extends LitElement {
30
+ featuresFromSelectedLayer: FeatureWithLabel[];
31
+ /** @default false */
32
+ isElementsSelected: boolean;
24
33
  layers: Layer[];
25
34
  messageOverrides?: typeof this._messages._overrides;
26
- get selectedResultType(): ResultType | undefined;
35
+ /**
36
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
37
+ *
38
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
39
+ */
40
+ referenceElement?: ArcgisReferenceElement | string;
41
+ selectedFeature?: Graphic;
42
+ selectedLayer?: FeatureLayer | Layer | SubtypeSublayer;
43
+ /** @default "ready" */
44
+ state: State;
27
45
  traceConfigTitle?: string;
28
46
  traceResult?: TraceResult;
29
47
  utilityNetwork?: UtilityNetwork;
48
+ view?: __esri.MapView;
30
49
  readonly arcgisSelectedResultTypeChange: TargetedEvent<this, void>;
50
+ readonly arcgisSelectedLayerChange: TargetedEvent<this, void>;
31
51
  private _messages;
32
52
  }
33
53
  export {};