@arcgis/map-components 5.0.0-next.3 → 5.0.0-next.30

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 (646) hide show
  1. package/dist/cdn/22PBEW6E.js +4 -0
  2. package/dist/cdn/25PCEBHD.js +4 -0
  3. package/dist/cdn/{PT4SB4F4.js → 27WBIJ7W.js} +2 -2
  4. package/dist/cdn/{5Y726H3N.js → 2CJC5LPR.js} +2 -2
  5. package/dist/cdn/2CRWDE5K.js +4 -0
  6. package/dist/cdn/{2Y7DD43B.js → 2S7NPB67.js} +2 -2
  7. package/dist/cdn/{XS57JNBV.js → 374IBN5E.js} +2 -2
  8. package/dist/cdn/{XSHK3IHW.js → 3OVNUSGR.js} +2 -2
  9. package/dist/cdn/{JMEUEYO3.js → 3PNHYPR5.js} +2 -2
  10. package/dist/cdn/3Q4TZZN5.js +9 -0
  11. package/dist/cdn/{V2SEO7LF.js → 3TDUGLWP.js} +2 -2
  12. package/dist/cdn/3U4M6EMC.js +4 -0
  13. package/dist/cdn/3ZCQG6W2.js +4 -0
  14. package/dist/cdn/425YBS5O.js +4 -0
  15. package/dist/cdn/{U5AQM4PG.js → 42EAA7ZK.js} +2 -2
  16. package/dist/cdn/{7CNGYGTJ.js → 4EURR2HO.js} +2 -2
  17. package/dist/cdn/{5KLSEZXC.js → 4I6KXDCS.js} +2 -2
  18. package/dist/cdn/4KAVQQCL.js +4 -0
  19. package/dist/cdn/{6NDFRLCI.js → 4S63FYIQ.js} +2 -2
  20. package/dist/cdn/{FJ2ODCZO.js → 4ZDH3LUI.js} +2 -2
  21. package/dist/cdn/{WM6PZMMT.js → 5622NXQG.js} +2 -2
  22. package/dist/cdn/{ZIEJSM2I.js → 56LJCIRJ.js} +2 -2
  23. package/dist/cdn/5CCZDJS6.js +4 -0
  24. package/dist/cdn/5I77EKDP.js +4 -0
  25. package/dist/cdn/{GHJ24W6Y.js → 5MBPCAXE.js} +2 -2
  26. package/dist/cdn/5RXPN4ZA.js +4 -0
  27. package/dist/cdn/{E6NGXE4D.js → 5T4NERJA.js} +2 -2
  28. package/dist/cdn/6264Y6OB.js +4 -0
  29. package/dist/cdn/{5BGXROFC.js → 63P5OPEW.js} +2 -2
  30. package/dist/cdn/{NZU4NUKA.js → 66XSUGOO.js} +2 -2
  31. package/dist/cdn/6JOMTTMO.js +4 -0
  32. package/dist/cdn/6LLHP446.js +4 -0
  33. package/dist/cdn/6QMZX7TX.js +4 -0
  34. package/dist/cdn/6YGA3ZTW.js +4 -0
  35. package/dist/cdn/74D735ZE.js +4 -0
  36. package/dist/cdn/{OQ4DWZRX.js → 76PSKS56.js} +2 -2
  37. package/dist/cdn/7BW7BEKS.js +4 -0
  38. package/dist/cdn/{SPSIJZKA.js → 7BZ6ZZWG.js} +2 -2
  39. package/dist/cdn/7LW2MJ34.js +4 -0
  40. package/dist/cdn/{CAGCLXVW.js → 7N7RFZDC.js} +2 -2
  41. package/dist/cdn/7R25WXBY.js +4 -0
  42. package/dist/cdn/{YGN7CXIS.js → A7WF3SII.js} +2 -2
  43. package/dist/cdn/AJVA5KJZ.js +4 -0
  44. package/dist/cdn/{4XLFNXAU.js → AUBNL7NN.js} +1 -1
  45. package/dist/cdn/AYDYS5XP.js +4 -0
  46. package/dist/cdn/B5J2VO23.js +4 -0
  47. package/dist/cdn/{KHBODFWE.js → BBF2UUMF.js} +1 -1
  48. package/dist/cdn/{V7Z2OLGJ.js → BCB3OHT5.js} +1 -1
  49. package/dist/cdn/BFGOCVTQ.js +4 -0
  50. package/dist/cdn/{H7M3PSWM.js → BGIPXNCI.js} +2 -2
  51. package/dist/cdn/BID2IGTA.js +4 -0
  52. package/dist/cdn/BP3EIAXM.js +4 -0
  53. package/dist/cdn/BPZWPZSL.js +4 -0
  54. package/dist/cdn/{QQEDG3FQ.js → BYDZCBXS.js} +1 -1
  55. package/dist/cdn/CKWHFRUK.js +4 -0
  56. package/dist/cdn/{OTAT274C.js → CLULAXQD.js} +2 -2
  57. package/dist/cdn/CNTHUZWZ.js +4 -0
  58. package/dist/cdn/CUG6PNIA.js +4 -0
  59. package/dist/cdn/{IFCRROLM.js → CYBCIT4Y.js} +1 -1
  60. package/dist/cdn/{MJ33XVNW.js → CZJ42KVB.js} +2 -2
  61. package/dist/cdn/DCVY57UJ.js +4 -0
  62. package/dist/cdn/DDTFGXJB.js +4 -0
  63. package/dist/cdn/DGTCJPUJ.js +4 -0
  64. package/dist/cdn/DKQDFHBQ.js +4 -0
  65. package/dist/cdn/{QLRG2ZV7.js → DNH555Q6.js} +2 -2
  66. package/dist/cdn/{VYJLK7NT.js → DVMZQU3S.js} +2 -2
  67. package/dist/cdn/{JY4X6DI4.js → DX7CIW2P.js} +2 -2
  68. package/dist/cdn/{2NLU5P6Z.js → DZMHLJTL.js} +2 -2
  69. package/dist/cdn/E47J5GZF.js +4 -0
  70. package/dist/cdn/E57VVYYO.js +4 -0
  71. package/dist/cdn/E6LAZTCZ.js +4 -0
  72. package/dist/cdn/E7LECLZS.js +4 -0
  73. package/dist/cdn/{UOB52WH7.js → EANAURQW.js} +2 -2
  74. package/dist/cdn/EIA2HRVX.js +4 -0
  75. package/dist/cdn/{ZVMC7KNO.js → EJNPIPYI.js} +2 -2
  76. package/dist/cdn/{G7HJYLTI.js → EK2C6MIA.js} +2 -2
  77. package/dist/cdn/EL2VJ6RS.js +4 -0
  78. package/dist/cdn/{PH5CV2LM.js → EYVOMZXY.js} +1 -1
  79. package/dist/cdn/EZRA4T3B.js +4 -0
  80. package/dist/cdn/FDJQS7A5.js +4 -0
  81. package/dist/cdn/FJSDHTDE.js +4 -0
  82. package/dist/cdn/FKA23U6F.js +4 -0
  83. package/dist/cdn/FN2HVGXN.js +4 -0
  84. package/dist/cdn/{FGL64TB3.js → FN45TY5U.js} +2 -2
  85. package/dist/cdn/{VUH7USVP.js → FOLKGWCG.js} +2 -2
  86. package/dist/cdn/FRHKHEQC.js +4 -0
  87. package/dist/cdn/{TIKIHUXB.js → FWUUE67P.js} +2 -2
  88. package/dist/cdn/{XOR2JIKE.js → FZ5UYVXE.js} +2 -2
  89. package/dist/cdn/{E3GEOJL3.js → GHB4S7FZ.js} +2 -2
  90. package/dist/cdn/GJULE3KX.js +4 -0
  91. package/dist/cdn/{IRVVFCPI.js → GKBYAVVU.js} +2 -2
  92. package/dist/cdn/GRCCF7NK.js +4 -0
  93. package/dist/cdn/{E3PFF3QO.js → GSPGZZIN.js} +2 -2
  94. package/dist/cdn/GW4QU3CW.js +4 -0
  95. package/dist/cdn/GX5MB57E.js +4 -0
  96. package/dist/cdn/HBEKTKXB.js +4 -0
  97. package/dist/cdn/HKSFUMS2.js +4 -0
  98. package/dist/cdn/{NSSQHGXK.js → HLYYV5IJ.js} +2 -2
  99. package/dist/cdn/{O6EPJYM3.js → HT3PGW7M.js} +2 -2
  100. package/dist/cdn/HWBYBOFO.js +4 -0
  101. package/dist/cdn/I4VWHCEV.js +4 -0
  102. package/dist/cdn/{LYJ4UH2R.js → I5KPSSMS.js} +2 -2
  103. package/dist/cdn/{QEP5NFEU.js → I5OZYAAG.js} +2 -2
  104. package/dist/cdn/{FKYZEDOJ.js → I656AJFF.js} +2 -2
  105. package/dist/cdn/{A3762FET.js → I7DVVSQ5.js} +2 -2
  106. package/dist/cdn/{YTHR4NZ6.js → IAEK5W65.js} +2 -2
  107. package/dist/cdn/{AYNMHQEJ.js → IDCRXCZH.js} +2 -2
  108. package/dist/cdn/IRAFVG6N.js +4 -0
  109. package/dist/cdn/IT3NFXVO.js +4 -0
  110. package/dist/cdn/{PL6UYYNH.js → IUZBJNIT.js} +2 -2
  111. package/dist/cdn/IUZRROGZ.js +4 -0
  112. package/dist/cdn/J3ZLMJL7.js +4 -0
  113. package/dist/cdn/{OXFFB6Y3.js → J5IGACIV.js} +2 -2
  114. package/dist/cdn/{X6KL6BYF.js → J5JIUE4E.js} +2 -2
  115. package/dist/cdn/{UU6DUHJ7.js → J75FAWOX.js} +1 -1
  116. package/dist/cdn/JC3Y3H2J.js +4 -0
  117. package/dist/cdn/{D4LXLZZW.js → JC6BPG6L.js} +2 -2
  118. package/dist/cdn/JD3UYAHR.js +4 -0
  119. package/dist/cdn/{WLZJRN6C.js → JD6SZBTI.js} +1 -1
  120. package/dist/cdn/JNHWTLF5.js +4 -0
  121. package/dist/cdn/{H37YYHYW.js → K4HH7Q7F.js} +2 -2
  122. package/dist/cdn/KHN4WS5O.js +4 -0
  123. package/dist/cdn/{T25TCQNP.js → KWO4P6X3.js} +2 -2
  124. package/dist/cdn/L2S6UPIL.js +4 -0
  125. package/dist/cdn/LG3E3FEI.js +4 -0
  126. package/dist/cdn/LG6IQO74.js +4 -0
  127. package/dist/cdn/LGRVJOKM.js +4 -0
  128. package/dist/cdn/LHKVE7QW.js +4 -0
  129. package/dist/cdn/LMHRSVIK.js +4 -0
  130. package/dist/cdn/{IPSS2ZMH.js → LTRRBRH6.js} +2 -2
  131. package/dist/cdn/{IHZK6TIX.js → LUPWZHEN.js} +2 -2
  132. package/dist/cdn/LXMJA6SN.js +4 -0
  133. package/dist/cdn/{Y4JZGJBR.js → MEK3PSMR.js} +2 -2
  134. package/dist/cdn/MGSBWHU6.js +4 -0
  135. package/dist/cdn/{NQG5ZLHV.js → MIWATNX7.js} +2 -2
  136. package/dist/cdn/{7UZQHGLP.js → MPGBF2CR.js} +2 -2
  137. package/dist/cdn/MROF6ZLY.js +4 -0
  138. package/dist/cdn/{L7F3QWKO.js → MW27JFII.js} +2 -2
  139. package/dist/cdn/MYHT3FNL.js +4 -0
  140. package/dist/cdn/{36DL5HXP.js → N4IBOVID.js} +2 -2
  141. package/dist/cdn/{V4QJNRPL.js → NB6FYZSP.js} +1 -1
  142. package/dist/cdn/{SUC4EKIE.js → NGRN6PRP.js} +2 -2
  143. package/dist/cdn/NIVNICTN.js +4 -0
  144. package/dist/cdn/NUWJO552.js +4 -0
  145. package/dist/cdn/{MY5DKMMJ.js → NVQTDJG4.js} +2 -2
  146. package/dist/cdn/{HYX7CRNH.js → OCLQXJGF.js} +2 -2
  147. package/dist/cdn/{HDI3Z2HD.js → OF5TKTLJ.js} +2 -2
  148. package/dist/cdn/OISWBYPZ.js +4 -0
  149. package/dist/cdn/OLIVWOUG.js +4 -0
  150. package/dist/cdn/OLTPA66L.js +4 -0
  151. package/dist/cdn/ONNIQKMO.js +4 -0
  152. package/dist/cdn/OP7UWDJC.js +4 -0
  153. package/dist/cdn/OQPWIH5D.js +4 -0
  154. package/dist/cdn/PCLAY3FC.js +4 -0
  155. package/dist/cdn/PDDWIQ7N.js +4 -0
  156. package/dist/cdn/PP47N6OQ.js +4 -0
  157. package/dist/cdn/PPG44XNA.js +4 -0
  158. package/dist/cdn/PSXK4TAG.js +4 -0
  159. package/dist/cdn/PZJX66WF.js +4 -0
  160. package/dist/cdn/Q5KRWXQZ.js +4 -0
  161. package/dist/cdn/Q7MP7GCA.js +4 -0
  162. package/dist/cdn/QUIRGW73.js +4 -0
  163. package/dist/cdn/QYWKUYX6.js +4 -0
  164. package/dist/cdn/{V2J3UBB6.js → R3XM3W55.js} +2 -2
  165. package/dist/cdn/{SLM4KEUZ.js → R4UWGEKU.js} +2 -2
  166. package/dist/cdn/{O7JOBF3W.js → RBQBAWXT.js} +2 -2
  167. package/dist/cdn/REGCZKJO.js +4 -0
  168. package/dist/cdn/{HQL6HUHP.js → RGDYDUVM.js} +2 -2
  169. package/dist/cdn/{24FW7BG5.js → RNHHSJBN.js} +2 -2
  170. package/dist/cdn/RXKG57HU.js +4 -0
  171. package/dist/cdn/{PAQHYLRL.js → RYEBGC2T.js} +2 -2
  172. package/dist/cdn/{PHBC5D77.js → S5SBZVDO.js} +2 -2
  173. package/dist/cdn/S6TGNN5K.js +4 -0
  174. package/dist/cdn/SBWVZPEI.js +4 -0
  175. package/dist/cdn/{JIWHI7EW.js → SCZ6FM7D.js} +2 -2
  176. package/dist/cdn/SGL4GRLW.js +4 -0
  177. package/dist/cdn/SKUATZL2.js +4 -0
  178. package/dist/cdn/{ALNZYXRY.js → SNEAUADR.js} +2 -2
  179. package/dist/cdn/{SK3UKEH4.js → SNFN2BKO.js} +2 -2
  180. package/dist/cdn/{J74HR7ZS.js → SQ5KXPKM.js} +2 -2
  181. package/dist/cdn/SSN4WU5P.js +4 -0
  182. package/dist/cdn/{USMO52IS.js → SZCYMTSH.js} +2 -2
  183. package/dist/cdn/{TG7X24CK.js → T36L76YW.js} +2 -2
  184. package/dist/cdn/{7PEEU67P.js → TEGTWZFB.js} +2 -2
  185. package/dist/cdn/TFZ4RUW2.js +4 -0
  186. package/dist/cdn/{LTI2QYVU.js → TGAFLU6F.js} +2 -2
  187. package/dist/cdn/{AQ2NPWC6.js → TI47WRKB.js} +2 -2
  188. package/dist/cdn/TJXNZQ6E.js +4 -0
  189. package/dist/cdn/{BL7YER2G.js → TNU7CJYU.js} +2 -2
  190. package/dist/cdn/U3Y4NEIU.js +4 -0
  191. package/dist/cdn/UA3NEZD2.js +4 -0
  192. package/dist/cdn/{XCUKO2A2.js → UHRRVA5A.js} +2 -2
  193. package/dist/cdn/{T352QWFP.js → UIEHONGS.js} +2 -2
  194. package/dist/cdn/{4SGPWL6P.js → UNJHMZ3F.js} +2 -2
  195. package/dist/cdn/UV6BXD7O.js +4 -0
  196. package/dist/cdn/V2HPTG5E.js +4 -0
  197. package/dist/cdn/V4GYQU7T.js +4 -0
  198. package/dist/cdn/VTBJGFMG.js +4 -0
  199. package/dist/cdn/{UDPPDKXD.js → VVG7FBHC.js} +2 -2
  200. package/dist/cdn/VWNSIY3Z.js +4 -0
  201. package/dist/cdn/VX7XHWH3.js +4 -0
  202. package/dist/cdn/W4OV7AC2.js +4 -0
  203. package/dist/cdn/W4RATWQC.js +4 -0
  204. package/dist/cdn/WFFXOIVG.js +4 -0
  205. package/dist/cdn/{JNRTXRIA.js → WOZWBFU3.js} +2 -2
  206. package/dist/cdn/{RQGY47DP.js → WSDNUWO4.js} +2 -2
  207. package/dist/cdn/{SSTOK5YE.js → WXL3L2FD.js} +2 -2
  208. package/dist/cdn/X2P5ZICY.js +4 -0
  209. package/dist/cdn/{FJHYJ3NL.js → XCXSBECM.js} +2 -2
  210. package/dist/cdn/XDXAENM3.js +4 -0
  211. package/dist/cdn/XGIGLVS7.js +5 -0
  212. package/dist/cdn/XJZXQDR2.js +4 -0
  213. package/dist/cdn/XOKCQ5UG.js +4 -0
  214. package/dist/cdn/Y3U2JDPE.js +4 -0
  215. package/dist/cdn/Y7H7Z7BU.js +4 -0
  216. package/dist/cdn/YRSPO3RH.js +4 -0
  217. package/dist/cdn/YSBP4YU4.js +4 -0
  218. package/dist/cdn/{NIQUPN4E.js → Z5MMZXMP.js} +2 -2
  219. package/dist/cdn/{QWNJRMAQ.js → ZI2HBMIO.js} +2 -2
  220. package/dist/cdn/ZQY6XVS2.js +4 -0
  221. package/dist/cdn/ZUOJPC77.js +4 -0
  222. package/dist/cdn/{4UP6FMTP.js → ZWSRYLIE.js} +2 -2
  223. package/dist/cdn/ZYOD4BBB.js +4 -0
  224. package/dist/cdn/{HHFFCMML.js → ZZ5AKBHE.js} +1 -1
  225. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
  226. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  227. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  228. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  229. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  230. package/dist/cdn/index.js +2 -2
  231. package/dist/cdn/main.css +1 -1
  232. package/dist/chunks/AnalysisViewModel.js +40 -36
  233. package/dist/chunks/action-utils.js +1 -1
  234. package/dist/chunks/async-utils.js +80 -62
  235. package/dist/chunks/basemap-gallery-resources.js +1 -1
  236. package/dist/chunks/chart-utils.js +1 -1
  237. package/dist/chunks/chartCommon.js +1 -1
  238. package/dist/chunks/component-utils.js +1 -1
  239. package/dist/chunks/createCloseEvent.js +1 -1
  240. package/dist/chunks/esri-main.js +2 -2
  241. package/dist/chunks/feature-utils.js +152 -107
  242. package/dist/chunks/globalCss.js +1 -1
  243. package/dist/chunks/handle.js +14 -0
  244. package/dist/chunks/heading.js +1 -1
  245. package/dist/chunks/layer-list.js +1 -1
  246. package/dist/chunks/legacyIcon.js +1 -1
  247. package/dist/chunks/maybe.js +1 -1
  248. package/dist/chunks/measurementUtils.js +1 -1
  249. package/dist/chunks/runtime.js +1 -1
  250. package/dist/chunks/screenLocation.js +1 -1
  251. package/dist/chunks/slots.js +7 -7
  252. package/dist/chunks/svgUtils.js +1 -1
  253. package/dist/chunks/univariateUtils.js +1 -1
  254. package/dist/chunks/useArcgisViewReadyError.js +91 -0
  255. package/dist/chunks/useHandles.js +1 -1
  256. package/dist/chunks/useT9n.js +1 -1
  257. package/dist/chunks/useView.js +1 -1
  258. package/dist/chunks/useViewModel.js +1 -1
  259. package/dist/chunks/useWidget.js +1 -1
  260. package/dist/chunks/utils.js +11 -16
  261. package/dist/chunks/utils2.js +1 -1
  262. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
  263. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  264. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
  265. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  266. package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
  267. package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
  268. package/dist/components/arcgis-attachments/customElement.js +6 -6
  269. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
  270. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  271. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  272. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -3
  273. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  275. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  276. package/dist/components/arcgis-bookmarks/customElement.d.ts +16 -6
  277. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  278. package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
  279. package/dist/components/arcgis-building-explorer/customElement.js +6 -6
  280. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -3
  281. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  282. package/dist/components/arcgis-compass/customElement.d.ts +2 -2
  283. package/dist/components/arcgis-compass/customElement.js +6 -6
  284. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +53 -54
  285. package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
  286. package/dist/components/arcgis-daylight/customElement.d.ts +116 -57
  287. package/dist/components/arcgis-daylight/customElement.js +154 -157
  288. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  289. package/dist/components/arcgis-daylight/index.js +1 -0
  290. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
  291. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
  292. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
  293. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
  294. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  295. package/dist/components/arcgis-directions/customElement.d.ts +3 -3
  296. package/dist/components/arcgis-directions/customElement.js +1 -1
  297. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -4
  298. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  299. package/dist/components/arcgis-editor/customElement.d.ts +14 -6
  300. package/dist/components/arcgis-editor/customElement.js +2 -2
  301. package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -6
  302. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  303. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  304. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  305. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  306. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  307. package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
  308. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +5 -5
  309. package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
  310. package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
  311. package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
  312. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  313. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  314. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  315. package/dist/components/arcgis-expand/customElement.d.ts +10 -9
  316. package/dist/components/arcgis-expand/customElement.js +33 -39
  317. package/dist/components/arcgis-feature/customElement.d.ts +18 -22
  318. package/dist/components/arcgis-feature/customElement.js +90 -77
  319. package/dist/components/arcgis-feature/index.d.ts +1 -0
  320. package/dist/components/arcgis-feature/index.js +1 -0
  321. package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
  322. package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
  323. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  324. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  325. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  326. package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
  327. package/dist/components/arcgis-feature-fields/customElement.js +36 -32
  328. package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
  329. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  330. package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
  331. package/dist/components/arcgis-feature-media/customElement.js +179 -178
  332. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  333. package/dist/components/arcgis-feature-table/customElement.d.ts +8 -7
  334. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  335. package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
  336. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  337. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
  338. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
  339. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
  340. package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
  341. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
  342. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
  343. package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
  344. package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
  345. package/dist/components/arcgis-features/customElement.d.ts +26 -11
  346. package/dist/components/arcgis-features/customElement.js +7 -7
  347. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
  348. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  349. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  350. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  351. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  352. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  353. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
  354. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  355. package/dist/components/arcgis-home/customElement.d.ts +3 -3
  356. package/dist/components/arcgis-home/customElement.js +2 -2
  357. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  358. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -3
  359. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  360. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  361. package/dist/components/arcgis-legend/customElement.d.ts +18 -3
  362. package/dist/components/arcgis-legend/customElement.js +1 -1
  363. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  364. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  365. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  366. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  367. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  368. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  369. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  370. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  371. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  372. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  373. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  374. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  375. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  376. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  377. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  378. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  379. package/dist/components/arcgis-link-chart/customElement.d.ts +70 -4
  380. package/dist/components/arcgis-link-chart/customElement.js +20 -22
  381. package/dist/components/arcgis-link-chart/index.d.ts +2 -0
  382. package/dist/components/arcgis-link-chart/index.js +2 -0
  383. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
  384. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  385. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  386. package/dist/components/arcgis-locate/customElement.js +2 -2
  387. package/dist/components/arcgis-map/customElement.d.ts +477 -61
  388. package/dist/components/arcgis-map/customElement.js +29 -31
  389. package/dist/components/arcgis-map/index.d.ts +2 -0
  390. package/dist/components/arcgis-map/index.js +2 -0
  391. package/dist/components/arcgis-measurement/customElement.d.ts +6 -6
  392. package/dist/components/arcgis-measurement/customElement.js +1 -1
  393. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  394. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  395. package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
  396. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +4 -4
  397. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  398. package/dist/components/arcgis-placement/customElement.d.ts +2 -2
  399. package/dist/components/arcgis-placement/customElement.js +1 -1
  400. package/dist/components/arcgis-popup/customElement.d.ts +48 -18
  401. package/dist/components/arcgis-popup/customElement.js +72 -72
  402. package/dist/components/arcgis-print/customElement.d.ts +2 -2
  403. package/dist/components/arcgis-print/customElement.js +1 -1
  404. package/dist/components/arcgis-print/utils.d.ts +1 -2
  405. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  406. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  407. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  408. package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
  409. package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
  410. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  411. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  412. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  413. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  414. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  415. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  416. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  417. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  418. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  419. package/dist/components/arcgis-print-template-select/customElement.js +17 -15
  420. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  421. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  422. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  423. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -3
  424. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  425. package/dist/components/arcgis-scene/customElement.d.ts +46 -6
  426. package/dist/components/arcgis-scene/customElement.js +27 -29
  427. package/dist/components/arcgis-scene/index.d.ts +2 -0
  428. package/dist/components/arcgis-scene/index.js +2 -0
  429. package/dist/components/arcgis-search/customElement.d.ts +17 -19
  430. package/dist/components/arcgis-search/customElement.js +1 -1
  431. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
  432. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  433. package/dist/components/arcgis-shadow-cast/customElement.d.ts +4 -4
  434. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  435. package/dist/components/arcgis-sketch/customElement.d.ts +16 -8
  436. package/dist/components/arcgis-sketch/customElement.js +15 -7
  437. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  438. package/dist/components/arcgis-slice/customElement.js +14 -15
  439. package/dist/components/arcgis-spinner/customElement.js +1 -1
  440. package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
  441. package/dist/components/arcgis-swipe/customElement.js +2 -2
  442. package/dist/components/arcgis-table-list/customElement.d.ts +6 -4
  443. package/dist/components/arcgis-table-list/customElement.js +1 -1
  444. package/dist/components/arcgis-time-slider/customElement.d.ts +4 -4
  445. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  446. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  447. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  448. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  449. package/dist/components/arcgis-track/customElement.js +2 -2
  450. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  451. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
  452. package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
  453. package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
  454. package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
  455. package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
  456. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +69 -25
  457. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  458. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  459. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  460. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  461. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  462. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  463. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +5 -3
  464. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  465. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
  466. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
  467. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
  468. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
  469. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  470. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  471. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
  472. package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
  473. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
  474. package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
  475. package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
  476. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -3
  477. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  478. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  479. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  480. package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
  481. package/dist/components/arcgis-version-management/customElement.js +2 -2
  482. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  483. package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
  484. package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
  485. package/dist/components/arcgis-version-management-version-list/index.js +2 -1
  486. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  487. package/dist/components/arcgis-video/customElement.d.ts +9 -2
  488. package/dist/components/arcgis-video/customElement.js +15 -9
  489. package/dist/components/arcgis-video-player/customElement.d.ts +3 -3
  490. package/dist/components/arcgis-video-player/customElement.js +4 -4
  491. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  492. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  493. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  494. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  495. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  496. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  497. package/dist/components/arcgis-weather/customElement.d.ts +2 -2
  498. package/dist/components/arcgis-weather/customElement.js +1 -1
  499. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  500. package/dist/components/arcgis-zoom/customElement.js +2 -2
  501. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  502. package/dist/controllers/uiController.d.ts +11 -1
  503. package/dist/controllers/useArcgisLoadError.d.ts +27 -0
  504. package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
  505. package/dist/docs/api.json +2168 -1599
  506. package/dist/docs/docs.json +1986 -1346
  507. package/dist/docs/vscode.css-custom-data.json +16 -16
  508. package/dist/docs/vscode.html-custom-data.json +208 -290
  509. package/dist/docs/web-types.json +619 -517
  510. package/dist/index.d.ts +33 -20
  511. package/dist/index.js +1 -1
  512. package/dist/loader.js +23 -20
  513. package/dist/support/AnalysisViewModel.d.ts +1 -0
  514. package/dist/support/handle.d.ts +1 -1
  515. package/dist/support/measurementUtils.d.ts +2 -2
  516. package/dist/support/slots.d.ts +1 -1
  517. package/dist/types/lumina.d.ts +31 -18
  518. package/dist/types/preact.d.ts +33 -19
  519. package/dist/types/preact10.d.ts +35 -20
  520. package/dist/types/react.d.ts +35 -20
  521. package/dist/types/stencil.d.ts +31 -18
  522. package/dist/utils/async-utils.d.ts +19 -0
  523. package/dist/utils/feature-utils.d.ts +16 -1
  524. package/dist/utils/highlight-utils.d.ts +22 -0
  525. package/dist/utils/layer-utils.d.ts +4 -0
  526. package/package.json +5 -5
  527. package/dist/cdn/2AZHLSAM.js +0 -4
  528. package/dist/cdn/2QRPRZG7.js +0 -4
  529. package/dist/cdn/2TIHIEKF.js +0 -4
  530. package/dist/cdn/34BYMZKN.js +0 -4
  531. package/dist/cdn/34UFWCNP.js +0 -4
  532. package/dist/cdn/37KDGILU.js +0 -4
  533. package/dist/cdn/3R2IE2EP.js +0 -4
  534. package/dist/cdn/3TNLQA2F.js +0 -4
  535. package/dist/cdn/44N6D3WC.js +0 -4
  536. package/dist/cdn/4CPDJQ27.js +0 -4
  537. package/dist/cdn/53D5QJFX.js +0 -4
  538. package/dist/cdn/5UJK4YHX.js +0 -4
  539. package/dist/cdn/63KJYSZ6.js +0 -4
  540. package/dist/cdn/6G2XDWMZ.js +0 -4
  541. package/dist/cdn/6VRVCX3L.js +0 -4
  542. package/dist/cdn/7BGZFWPA.js +0 -4
  543. package/dist/cdn/7C2OVYAI.js +0 -4
  544. package/dist/cdn/7CTFDRQC.js +0 -4
  545. package/dist/cdn/7DC3PGD2.js +0 -4
  546. package/dist/cdn/7HSMTM2G.js +0 -4
  547. package/dist/cdn/7KIRVDDY.js +0 -4
  548. package/dist/cdn/AFYGKVBX.js +0 -4
  549. package/dist/cdn/AH3BVTCT.js +0 -4
  550. package/dist/cdn/ALENT5NF.js +0 -4
  551. package/dist/cdn/ATKMD43D.js +0 -5
  552. package/dist/cdn/BG77QJIW.js +0 -4
  553. package/dist/cdn/CKCTJ6CW.js +0 -4
  554. package/dist/cdn/CNLBDFHY.js +0 -4
  555. package/dist/cdn/CTZ7P2ON.js +0 -4
  556. package/dist/cdn/CV57WMBL.js +0 -9
  557. package/dist/cdn/CVMDCLGB.js +0 -4
  558. package/dist/cdn/DRLSZQDU.js +0 -4
  559. package/dist/cdn/DV2N434J.js +0 -4
  560. package/dist/cdn/EESASTEL.js +0 -4
  561. package/dist/cdn/EIB4B7NM.js +0 -4
  562. package/dist/cdn/EJ6NO5NK.js +0 -4
  563. package/dist/cdn/EQ5LPNFG.js +0 -4
  564. package/dist/cdn/ESWN44C2.js +0 -4
  565. package/dist/cdn/FGMLBVRU.js +0 -4
  566. package/dist/cdn/FMG27I4G.js +0 -4
  567. package/dist/cdn/G7HMCSFT.js +0 -4
  568. package/dist/cdn/GF6IWOJL.js +0 -4
  569. package/dist/cdn/GKKACUDU.js +0 -4
  570. package/dist/cdn/GNUO5PT5.js +0 -4
  571. package/dist/cdn/GO3GNQWU.js +0 -4
  572. package/dist/cdn/GTX63LFG.js +0 -4
  573. package/dist/cdn/IJ7RAUIP.js +0 -4
  574. package/dist/cdn/IXQV54AH.js +0 -4
  575. package/dist/cdn/IYKN5PO5.js +0 -4
  576. package/dist/cdn/J3J6R74M.js +0 -4
  577. package/dist/cdn/J775FRFE.js +0 -4
  578. package/dist/cdn/JCD5KEV5.js +0 -4
  579. package/dist/cdn/JO6R7FAD.js +0 -4
  580. package/dist/cdn/JULFSLDD.js +0 -4
  581. package/dist/cdn/KA2OECP3.js +0 -4
  582. package/dist/cdn/KQ3JBLDT.js +0 -4
  583. package/dist/cdn/KT3EUEKF.js +0 -4
  584. package/dist/cdn/L3AGPAN7.js +0 -4
  585. package/dist/cdn/LUBY2O7T.js +0 -4
  586. package/dist/cdn/LWWUKKLM.js +0 -4
  587. package/dist/cdn/MJIHMPZU.js +0 -4
  588. package/dist/cdn/MNLAUE2R.js +0 -4
  589. package/dist/cdn/MSCH74JK.js +0 -4
  590. package/dist/cdn/N3ZZQIYY.js +0 -4
  591. package/dist/cdn/NFNK7YME.js +0 -4
  592. package/dist/cdn/NNJWJUAD.js +0 -4
  593. package/dist/cdn/NXFS5VZC.js +0 -4
  594. package/dist/cdn/NYJOUGGN.js +0 -4
  595. package/dist/cdn/O7ICRTC5.js +0 -4
  596. package/dist/cdn/OH55X5ST.js +0 -4
  597. package/dist/cdn/OHXEZHUF.js +0 -4
  598. package/dist/cdn/OULH6KEN.js +0 -4
  599. package/dist/cdn/OXCYD67R.js +0 -4
  600. package/dist/cdn/P4GL7TQJ.js +0 -4
  601. package/dist/cdn/PK5EPYTE.js +0 -4
  602. package/dist/cdn/Q26RMW45.js +0 -4
  603. package/dist/cdn/Q7CX6235.js +0 -4
  604. package/dist/cdn/QMRZYMIJ.js +0 -4
  605. package/dist/cdn/QPXLDAZR.js +0 -4
  606. package/dist/cdn/QREJFC5Z.js +0 -4
  607. package/dist/cdn/QRPZEJLW.js +0 -4
  608. package/dist/cdn/QUFHIUYU.js +0 -4
  609. package/dist/cdn/R35F7LSR.js +0 -4
  610. package/dist/cdn/RAUOWG2P.js +0 -4
  611. package/dist/cdn/RBLUJIEM.js +0 -4
  612. package/dist/cdn/RD4WHUHX.js +0 -4
  613. package/dist/cdn/RPYAAT7A.js +0 -4
  614. package/dist/cdn/RQUX2H7R.js +0 -4
  615. package/dist/cdn/RXHQCPJY.js +0 -4
  616. package/dist/cdn/RYXSSH5D.js +0 -4
  617. package/dist/cdn/SBYAAEWD.js +0 -4
  618. package/dist/cdn/SSEBMECL.js +0 -4
  619. package/dist/cdn/SZABV557.js +0 -4
  620. package/dist/cdn/T6XWFHOM.js +0 -4
  621. package/dist/cdn/TF2524IM.js +0 -4
  622. package/dist/cdn/TUHJKFNY.js +0 -4
  623. package/dist/cdn/TWK4M5TM.js +0 -4
  624. package/dist/cdn/TWZ6WRUM.js +0 -4
  625. package/dist/cdn/U5HMRSJG.js +0 -4
  626. package/dist/cdn/UBXMRMPS.js +0 -4
  627. package/dist/cdn/V25AJNHD.js +0 -4
  628. package/dist/cdn/V3KSNGDN.js +0 -4
  629. package/dist/cdn/V54CMZHN.js +0 -4
  630. package/dist/cdn/V5SM3QEH.js +0 -4
  631. package/dist/cdn/VLS7CPMI.js +0 -4
  632. package/dist/cdn/VSIBQFUQ.js +0 -4
  633. package/dist/cdn/VWFDTLYA.js +0 -4
  634. package/dist/cdn/X74EKXT7.js +0 -4
  635. package/dist/cdn/XAPWGYND.js +0 -4
  636. package/dist/cdn/XCKB43CS.js +0 -4
  637. package/dist/cdn/YAJHM6HT.js +0 -4
  638. package/dist/cdn/Z25G3SCO.js +0 -4
  639. package/dist/cdn/Z4Z7YFNR.js +0 -4
  640. package/dist/cdn/ZKKZT5GI.js +0 -4
  641. package/dist/cdn/ZR4UXKJK.js +0 -4
  642. package/dist/chunks/uiController.js +0 -45
  643. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
  644. package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
  645. package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
  646. package/dist/components/arcgis-version-management-version-item/index.js +0 -5
@@ -1,103 +1,261 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { repeat as l } from "lit/directives/repeat.js";
3
- import { LitElement as u, createEvent as n } from "@arcgis/lumina";
4
- import { u as d } from "../../chunks/useT9n.js";
5
- import { css as h, html as s } from "lit";
1
+ import { c as b } from "../../chunks/runtime.js";
2
+ import { repeat as h } from "lit/directives/repeat.js";
3
+ import { queryAllJSON as m } from "@arcgis/core/applications/Components/featureUtils.js";
4
+ import n from "@arcgis/core/core/Collection.js";
5
+ import f from "@arcgis/core/layers/GraphicsLayer.js";
6
+ import d from "@arcgis/core/networks/support/UNTraceConfiguration.js";
7
+ import _ from "@arcgis/core/rest/support/FeatureSet.js";
8
+ import u from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
9
+ import S from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
10
+ import { LitElement as T, createEvent as g, safeClassMap as p } from "@arcgis/lumina";
11
+ import { css as N, html as s } from "lit";
12
+ import { u as $ } from "../../chunks/useT9n.js";
6
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
14
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.3 */
9
- const g = h`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-xs)}`, o = "map-components:utility-network-trace-inputs";
10
- class w extends u {
15
+ v5.0.0-next.30 */
16
+ const L = N`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`, w = "arcgis-utility-network-trace-inputs", k = {
17
+ // popup renderer
18
+ base: w,
19
+ // containers and content
20
+ addSpatialMode: `${w}__add-spatial-mode`
21
+ }, c = "map-components:utility-network-trace-inputs", y = `utility-network-trace-inputs-sketch-${Date.now()}`, l = `utility-network-trace-inputs-flags-${Date.now()}`;
22
+ class C extends T {
11
23
  constructor() {
12
- super(...arguments), this.messages = d({ blocking: !0 }), this.traceConfigurations = [], this._state = "ready", this.arcgisTraceInputsChange = n(), this.arcgisUtilityNetworkChange = n();
24
+ super(...arguments), this._messages = $({ blocking: !0 }), this._startingPoints = new n(), this._barriers = new n(), this._stoppingPoints = new n(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
25
+ "subnetwork",
26
+ "subnetwork-controller",
27
+ "upstream",
28
+ "downstream",
29
+ "isolation"
30
+ ]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._mode = "default", this.arcgisTraceInputsChange = g(), this.arcgisUtilityNetworkChange = g();
13
31
  }
14
32
  static {
15
- this.properties = { traceConfigurations: 16, utilityNetworks: 16, _state: 16, view: 0, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1 };
33
+ this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _state: 16, _mode: 16, _activeTraceLocationType: 16, view: 0, selectedSubnetworkName: 1, selectedUtilityNetwork: 0, selectedTraceConfiguration: 0, referenceElement: 1, traceLocations: 32 };
16
34
  }
17
35
  static {
18
- this.styles = g;
36
+ this.styles = L;
37
+ }
38
+ get _allLayers() {
39
+ const { view: e } = this;
40
+ return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
41
+ }
42
+ get traceLocations() {
43
+ const e = this._startingPoints.toArray().map((a) => a.traceLocation), t = this._barriers.toArray().map((a) => a.traceLocation), i = this._stoppingPoints.toArray().map((a) => a.traceLocation);
44
+ return [...e, ...t, ...i];
19
45
  }
20
46
  load() {
21
- this._setupUtilityNetwork();
47
+ this._setupUtilityNetwork(), this._setupSketchViewModel();
22
48
  }
23
- willUpdate(t) {
24
- const { utilityNetworks: e, selectedUtilityNetwork: i } = this;
25
- (t.has("utilityNetworks") || !e || e.length === 0 || !i || !e?.includes(i)) && this._handleUtilityNetworksChange(), t.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._setupTraceConfigurations()), t.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange());
49
+ willUpdate(e) {
50
+ const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
51
+ (e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
26
52
  }
27
- _handleSubnetworkTraceConfigChange(t) {
28
- if (!t.traceConfiguration) {
29
- console.error(`${o} - Trace configuration not found`);
53
+ _clearTraceLocations() {
54
+ this._getGraphicLayer(l)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
55
+ }
56
+ _addUniqueLayer(e, t, i) {
57
+ if (!t || !e?.map)
30
58
  return;
59
+ const { map: a } = e, r = a.layers.find((o) => o === t);
60
+ r || a.add(t, i), r && i != null && a.layers.reorder(r, i);
61
+ }
62
+ _createGraphicLayer(e) {
63
+ const { map: t } = this.view;
64
+ if (!t?.findLayerById(e)) {
65
+ const a = new f({
66
+ id: e,
67
+ listMode: "hide",
68
+ title: e
69
+ });
70
+ this._addUniqueLayer(this.view, a);
71
+ }
72
+ }
73
+ _getGraphicLayer(e) {
74
+ const { map: t } = this.view;
75
+ if (t) {
76
+ const i = t.findLayerById(e);
77
+ if (i && i.type === "graphics")
78
+ return i;
79
+ }
80
+ return null;
81
+ }
82
+ _setSnappingOption() {
83
+ const { _sketchViewModel: e, _unLayers: t } = this;
84
+ if (e && t && t.length > 0) {
85
+ const i = new n();
86
+ t.forEach((a) => {
87
+ a.type === "subtype-group" ? a.sublayers.forEach((r) => {
88
+ i.add(new u({
89
+ layer: r,
90
+ enabled: !0
91
+ }));
92
+ }) : i.add(new u({
93
+ layer: a,
94
+ enabled: !0
95
+ }));
96
+ }), e.snappingOptions = {
97
+ enabled: !0,
98
+ featureEnabled: !0,
99
+ featureSources: i
100
+ };
31
101
  }
32
102
  }
33
- _selectTraceConfigurationByGuid(t) {
34
- const e = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === t);
35
- if (!e) {
36
- console.error(`${o} - Trace configuration not found`);
103
+ _initializeSketchViewModel() {
104
+ const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(y), a = new n();
105
+ return t?.forEach((r) => a.add(new u({
106
+ layer: r,
107
+ enabled: !0
108
+ }))), new S({
109
+ layer: i,
110
+ view: e
111
+ });
112
+ }
113
+ _setupSketchViewModel() {
114
+ this._createGraphicLayer(y), this._createGraphicLayer(l), this._sketchViewModel = this._initializeSketchViewModel();
115
+ }
116
+ _clearSubnetworks() {
117
+ this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
118
+ }
119
+ async _loadSubnetworksTable() {
120
+ this.subnetworksTable || (this.subnetworksTable = await this.selectedUtilityNetwork?.loadSubnetworksTable());
121
+ }
122
+ async _querySubnetworks() {
123
+ const { subnetworksTable: e } = this;
124
+ if (!e)
125
+ return;
126
+ const t = e.createQuery();
127
+ t.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, t.where = this._getSubnetworkQueryWhereClause(), t.outFields = ["SUBNETWORKNAME"], t.orderByFields = ["SUBNETWORKNAME"];
128
+ const i = _.fromJSON(await m(e, t));
129
+ this.compatibleSubnetworkNames = i.features.filter(this._removeDuplicateSubnetworkNames).map((a) => a.getAttribute("SUBNETWORKNAME"));
130
+ }
131
+ _getSubnetworkQueryWhereClause() {
132
+ const e = this.selectedTraceConfiguration?.traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
133
+ return [t, i].join(" AND ");
134
+ }
135
+ async _handleSubnetworkTraceConfigChange(e) {
136
+ const { traceConfiguration: t } = e;
137
+ if (!(t instanceof d)) {
138
+ console.error(`${c} - Trace configuration not found`);
37
139
  return;
38
140
  }
39
- this.selectedTraceConfiguration = e;
141
+ await this._loadSubnetworksTable(), await this._querySubnetworks(), this.selectedSubnetworkName = this.compatibleSubnetworkNames.find((i) => i === t.subnetworkName) ?? this.compatibleSubnetworkNames.at(0);
142
+ }
143
+ _selectTraceConfigurationByGuid(e) {
144
+ const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
145
+ if (!t) {
146
+ console.error(`${c} - Trace configuration not found`);
147
+ return;
148
+ }
149
+ this.selectedTraceConfiguration = t;
40
150
  }
41
151
  _handleTraceConfigChange() {
42
- const { selectedTraceConfiguration: t } = this;
43
- if (t)
44
- switch (t.traceType) {
152
+ const { selectedTraceConfiguration: e } = this;
153
+ if (e)
154
+ switch (e.traceType) {
45
155
  case "subnetwork":
46
- this._handleSubnetworkTraceConfigChange(t);
156
+ this._handleSubnetworkTraceConfigChange(e);
47
157
  break;
48
158
  default:
49
- console.error(`${o} - Unknown trace configuration type`);
159
+ console.error(`${c} - Unknown trace configuration type`);
50
160
  }
51
161
  }
52
- async _setupTraceConfigurations() {
53
- await this.selectedUtilityNetwork?.load(), this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
162
+ async _handleSelectedUtilityNetworkChange() {
163
+ await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
164
+ }
165
+ _setupTraceConfigurations() {
166
+ this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations || [], this.selectedTraceConfiguration = this.traceConfigurations.at(0);
167
+ }
168
+ _filterUnLayers() {
169
+ const { selectedUtilityNetwork: e } = this;
170
+ this._unLayers = new n(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
54
171
  }
55
172
  _handleUtilityNetworksChange() {
56
- const { utilityNetworks: t } = this;
57
- if (!t || t.length === 0) {
58
- this._state = "error", console.error(`${o} - No utility networks found in the map`);
173
+ const { utilityNetworks: e } = this;
174
+ if (!e || e.length === 0) {
175
+ this._state = "error", console.error(`${c} - No utility networks found in the map`);
59
176
  return;
60
177
  }
61
- (!this.selectedUtilityNetwork || !t.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = t.at(0));
178
+ (!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
62
179
  }
63
180
  async _setupUtilityNetwork() {
64
181
  if (this.view?.map) {
65
- const t = this.view.map;
66
- await t.load(), this.utilityNetworks = t.utilityNetworks || void 0;
182
+ const e = this.view.map;
183
+ await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
67
184
  } else
68
- this._state = "disabled", console.error(`${o} - No view or map available to load utility networks`);
185
+ this._state = "disabled", console.error(`${c} - No view or map available to load utility networks`);
69
186
  }
70
- renderError(t, e = !1) {
71
- return s`<calcite-notice .closable=${e} kind=danger open scale=s width=full><div slot=message>${t}</div></calcite-notice>`;
187
+ _handleTraceLocationSelectStart(e) {
188
+ this._activeTraceLocationType = e?.target?.traceLocationType, this._mode = "add-spatial";
189
+ }
190
+ _handleTraceLocationSelectEnd() {
191
+ this._activeTraceLocationType = void 0, this._mode = "default";
192
+ }
193
+ _handleFlowItemBack() {
194
+ this._mode = "default", this._activeTraceLocationType = void 0, this._sketchViewModel?.cancel();
195
+ }
196
+ renderError(e, t = !1, i) {
197
+ return s`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
72
198
  }
73
199
  renderLoader() {
74
200
  return s`<calcite-loader label=loading></calcite-loader>`;
75
201
  }
76
202
  renderTraceSelection() {
77
- const { messages: t, traceConfigurations: e } = this, i = t.labels.traceConfiguration;
78
- if (e.length === 0)
79
- return this.renderError(t.errors.noTraceConfigurationError, !0);
80
- const r = l(e, (a) => a.globalId, (a) => s`<calcite-option .value=${a.globalId}>${a.title}</calcite-option>`);
81
- return s`<calcite-label>${i}<calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(a) => {
82
- this._selectTraceConfigurationByGuid(a.target.value);
83
- }}>${r}</calcite-select></calcite-label>`;
203
+ const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
204
+ if (t.length === 0)
205
+ return this.renderError(e.errors.noTraceConfigurationError, !0);
206
+ const a = h(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
207
+ return s`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
208
+ this._selectTraceConfigurationByGuid(r.target.value);
209
+ }}>${a}</calcite-select></calcite-block>`;
84
210
  }
85
211
  renderUtilityNetworkSelection() {
86
- const { messages: t } = this, e = t.labels.utilityNetwork, i = l(this.utilityNetworks, (r) => r.id, (r) => s`<calcite-option .value=${r.id}>${r.title}</calcite-option>`);
87
- return s`<calcite-label>${e}<calcite-select .label=${e} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(r) => {
88
- this.selectedUtilityNetwork?.id !== r.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((a) => a.id === r.target.value));
89
- }}>${i}</calcite-select></calcite-label>`;
212
+ const { _messages: e } = this, t = e.labels.utilityNetwork, i = h(this.utilityNetworks, (a) => a.id, (a) => s`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);
213
+ return s`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
214
+ this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
215
+ }}>${i}</calcite-select></calcite-block>`;
216
+ }
217
+ renderDefaultMode() {
218
+ const { _messages: e, _state: t, _mode: i } = this;
219
+ return s`<calcite-flow-item .selected=${i === "default"}>${t === "disabled" ? this.renderError(e.errors.noMapError) : this.renderContent()}</calcite-flow-item>`;
220
+ }
221
+ renderAddSpatialMode() {
222
+ const { _messages: e, _activeTraceLocationType: t } = this, i = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
223
+ return s`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${() => this._handleFlowItemBack()}><div class=${p(k.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`;
224
+ }
225
+ renderStartingPointSelection() {
226
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`;
227
+ }
228
+ renderStoppingPointSelection() {
229
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`;
230
+ }
231
+ renderBarrierSelection() {
232
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${(e) => this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${() => this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`;
233
+ }
234
+ renderSubnetworkSelectList() {
235
+ const { compatibleSubnetworkNames: e, selectedSubnetworkName: t, _messages: i } = this, a = i.labels.subnetworkName, r = e.map((o) => s`<calcite-option .value=${o}>${o}</calcite-option>`);
236
+ return s`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${(o) => this.selectedSubnetworkName = o.target.value}>${r}</calcite-select></calcite-block>`;
237
+ }
238
+ renderSubnetworkSelection() {
239
+ const { compatibleSubnetworkNames: e, _messages: t, selectedTraceConfiguration: i } = this;
240
+ return i?.traceConfiguration instanceof d && i.traceType === "subnetwork" && i.traceConfiguration.subnetworkName ? this.subnetworksTable?.loaded ? e.length ? this.renderSubnetworkSelectList() : this.renderError(t.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : null;
241
+ }
242
+ renderSubnetworkInfo() {
243
+ const { _messages: e, selectedTraceConfiguration: t } = this;
244
+ return t?.traceConfiguration instanceof d && t.traceType && this._subnetworkTraceTypes.has(t.traceType) ? s`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>` : null;
90
245
  }
91
246
  renderContent() {
92
- const { messages: t, utilityNetworks: e } = this;
93
- return !e || e.length === 0 ? this.renderError(t.errors.noUtilityNetworkError) : s`${e.length === 1 ? null : this.renderUtilityNetworkSelection()}${this.selectedUtilityNetwork?.loaded ? this.renderTraceSelection() : this.renderLoader()}`;
247
+ const { _messages: e, utilityNetworks: t } = this;
248
+ if (!t || t.length === 0)
249
+ return this.renderError(e.errors.noUtilityNetworkError);
250
+ const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`;
251
+ return s`<calcite-block-group .label=${e.labels.traceInputs}>${t.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${this.selectedTraceConfiguration ? this.renderStartingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderStoppingPointSelection() : null}${this.selectedTraceConfiguration ? this.renderBarrierSelection() : null}</calcite-block-group>`;
94
252
  }
95
253
  render() {
96
- const { messages: t, _state: e } = this;
97
- return s`<div class="arcgis-utility-network-trace-inputs"><calcite-block expanded .label=${t.labels.traceInputs}>${e === "disabled" ? this.renderError(t.errors.noMapError) : this.renderContent()}</calcite-block></div>`;
254
+ const { _mode: e } = this;
255
+ return s`<div class=${p(k.base)}><calcite-flow>${this.renderDefaultMode()}${e === "add-spatial" ? this.renderAddSpatialMode() : null}</calcite-flow></div>`;
98
256
  }
99
257
  }
100
- c("arcgis-utility-network-trace-inputs", w);
258
+ b("arcgis-utility-network-trace-inputs", C);
101
259
  export {
102
- w as ArcgisUtilityNetworkTraceInputs
260
+ C as ArcgisUtilityNetworkTraceInputs
103
261
  };
@@ -1,7 +1,12 @@
1
1
  import "@esri/calcite-components/components/calcite-notice";
2
2
  import "@esri/calcite-components/components/calcite-loader";
3
3
  import "@esri/calcite-components/components/calcite-option";
4
- import "@esri/calcite-components/components/calcite-label";
5
- import "@esri/calcite-components/components/calcite-select";
6
4
  import "@esri/calcite-components/components/calcite-block";
5
+ import "@esri/calcite-components/components/calcite-select";
6
+ import "@esri/calcite-components/components/calcite-flow-item";
7
+ import "@esri/calcite-components/components/calcite-icon";
8
+ import "../arcgis-utility-network-trace-location/index.js";
9
+ import "../arcgis-utility-network-subnetwork-info/index.js";
10
+ import "@esri/calcite-components/components/calcite-block-group";
11
+ import "@esri/calcite-components/components/calcite-flow";
7
12
  export * from "./customElement.js";
@@ -1,7 +1,12 @@
1
1
  import "@esri/calcite-components/components/calcite-notice";
2
2
  import "@esri/calcite-components/components/calcite-loader";
3
3
  import "@esri/calcite-components/components/calcite-option";
4
- import "@esri/calcite-components/components/calcite-label";
5
- import "@esri/calcite-components/components/calcite-select";
6
4
  import "@esri/calcite-components/components/calcite-block";
5
+ import "@esri/calcite-components/components/calcite-select";
6
+ import "@esri/calcite-components/components/calcite-flow-item";
7
+ import "@esri/calcite-components/components/calcite-icon";
8
+ import "../arcgis-utility-network-trace-location/index.js";
9
+ import "../arcgis-utility-network-subnetwork-info/index.js";
10
+ import "@esri/calcite-components/components/calcite-block-group";
11
+ import "@esri/calcite-components/components/calcite-flow";
7
12
  export * from "./customElement.js";
@@ -0,0 +1,44 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import { default as Collection } from '@arcgis/core/core/Collection.js';
3
+ import { default as GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
4
+ import { default as Layer } from '@arcgis/core/layers/Layer.js';
5
+ import { default as MapView } from '@arcgis/core/views/MapView.js';
6
+ import { default as SketchViewModel } from '@arcgis/core/widgets/Sketch/SketchViewModel.js';
7
+ import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
8
+ import { default as UtilityNetwork } from '@arcgis/core/networks/UtilityNetwork.js';
9
+ import { default as TraceLocation } from '@arcgis/core/rest/networks/support/TraceLocation.js';
10
+ import { default as Point } from '@arcgis/core/geometry/Point.js';
11
+ import { default as Graphic } from '@arcgis/core/Graphic.js';
12
+ export interface FlagProperty {
13
+ traceLocation: TraceLocation;
14
+ mapPoint?: Point | null;
15
+ mapGraphic?: Graphic | null;
16
+ details?: Graphic | null;
17
+ }
18
+
19
+ /**
20
+ * This is a sub-component used by the **ArcgisUtilityNetworkTraceAnalysis** component.
21
+ *
22
+ * This sub-component takes a map view as an input.
23
+ * It allows users to select locations on the map to use as trace inputs.
24
+ *
25
+ * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-trace-location/)
26
+ *
27
+ * @since 4.34
28
+ * @internal
29
+ */
30
+ export declare class ArcgisUtilityNetworkTraceLocation extends LitElement {
31
+ /** @required */
32
+ view?: MapView;
33
+ /** @default "starting-point" */
34
+ traceLocationType: "barrier" | "starting-point" | "stopping-point";
35
+ traceLocations?: Collection<FlagProperty>;
36
+ filterLayers?: Collection<Layer>;
37
+ sketchViewModel?: SketchViewModel;
38
+ flagLayer?: GraphicsLayer;
39
+ /** @required The utility network to perform the trace on. */
40
+ utilityNetwork?: UtilityNetwork;
41
+ readonly arcgisTraceLocationChange: TargetedEvent<this, void>;
42
+ readonly arcgisTraceLocationSelectEnd: TargetedEvent<this, void>;
43
+ readonly arcgisTraceLocationSelectStart: TargetedEvent<this, void>;
44
+ }
@@ -0,0 +1,194 @@
1
+ import { c as $ } from "../../chunks/runtime.js";
2
+ import { css as T, html as b } from "lit";
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";
10
+ import * as k from "@arcgis/core/geometry/operators/projectOperator.js";
11
+ import * as N from "@arcgis/core/geometry/operators/cutOperator.js";
12
+ import * as L from "@arcgis/core/geometry/operators/lengthOperator.js";
13
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
15
+ v5.0.0-next.30 */
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 = {
17
+ // popup renderer
18
+ base: g,
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 {
25
+ constructor() {
26
+ super(...arguments), this.messages = A({ blocking: !0 }), this.traceLocationType = "starting-point", this.arcgisTraceLocationChange = w(), this.arcgisTraceLocationSelectEnd = w(), this.arcgisTraceLocationSelectStart = w();
27
+ }
28
+ static {
29
+ this.properties = { view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, sketchViewModel: 0, flagLayer: 0, utilityNetwork: 0 };
30
+ }
31
+ static {
32
+ this.styles = R;
33
+ }
34
+ async load() {
35
+ k.isLoaded() || await k.load();
36
+ }
37
+ _createPolyline(t, e) {
38
+ return new v({
39
+ hasZ: !1,
40
+ hasM: !0,
41
+ paths: t,
42
+ spatialReference: new x({ wkid: e })
43
+ });
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 = [
47
+ [
48
+ [a, i],
49
+ [s, c]
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;
59
+ }
60
+ return console.warn(`${n} - Unable to cut the source geometry with the flag geometry.`), 0.5;
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;
68
+ }
69
+ async _ensureNecessaryAttributesAndGenerateTraceLocation(t, e) {
70
+ const { view: o } = this;
71
+ if (!o || t.length === 0) {
72
+ console.log(`${n} - No view or results to process.`);
73
+ return;
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.`);
78
+ return;
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,
91
+ size: 12,
92
+ outline: {
93
+ color: p,
94
+ width: 0
95
+ }
96
+ }), u = new F({
97
+ geometry: o,
98
+ symbol: d,
99
+ attributes: e.attributes
100
+ });
101
+ return r.add(u), u;
102
+ }
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
+ }
109
+ if (i === "point" || i === "polygon") {
110
+ const l = a?.getTerminalConfiguration(t);
111
+ r?.add({
112
+ traceLocation: new _({
113
+ type: o,
114
+ isFilterBarrier: !1,
115
+ globalId: s,
116
+ terminalId: l ? l.terminals[0].id || void 0 : 1
117
+ }),
118
+ mapPoint: e,
119
+ details: t,
120
+ mapGraphic: c
121
+ });
122
+ } else if (i === "polyline") {
123
+ const l = this._calculatePercentAlong(t.geometry, e);
124
+ r?.add({
125
+ traceLocation: new _({
126
+ type: o,
127
+ isFilterBarrier: !1,
128
+ globalId: s,
129
+ percentAlong: l
130
+ }),
131
+ mapPoint: e,
132
+ details: t,
133
+ mapGraphic: c
134
+ });
135
+ }
136
+ }
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.`);
141
+ return;
142
+ }
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.`);
146
+ return;
147
+ }
148
+ const i = (await e.hitTest(a, {
149
+ 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.`);
153
+ return;
154
+ }
155
+ this._ensureNecessaryAttributesAndGenerateTraceLocation(i, r);
156
+ }
157
+ _resetAfterSketch() {
158
+ const { view: t } = this;
159
+ if (!t) {
160
+ console.error(`${n} - View is not available to reset after sketch.`);
161
+ return;
162
+ }
163
+ this._clickHandler?.remove(), this._clickHandler = void 0, "acquireCursor" in t && t.acquireCursor("default"), this.arcgisTraceLocationSelectEnd.emit();
164
+ }
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.`);
169
+ return;
170
+ }
171
+ t.state === "complete" && t.graphic && (e.layer.remove(t.graphic), this._hitTest(t)), (t.state === "cancel" || t.state === "complete") && this._resetAfterSketch();
172
+ }
173
+ _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());
176
+ }
177
+ _handleClearButtonClick() {
178
+ const { flagLayer: t, traceLocations: e } = this;
179
+ e?.forEach((o) => {
180
+ o.mapGraphic && t && t.remove(o.mapGraphic);
181
+ }), e?.removeAll();
182
+ }
183
+ 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>`;
186
+ }
187
+ render() {
188
+ return b`<div class=${y(f.base)}>${this.renderAddLocationBlock()}</div>`;
189
+ }
190
+ }
191
+ $("arcgis-utility-network-trace-location", B);
192
+ export {
193
+ B as ArcgisUtilityNetworkTraceLocation
194
+ };
@@ -0,0 +1,3 @@
1
+ import "@esri/calcite-components/components/calcite-block";
2
+ import "@esri/calcite-components/components/calcite-button";
3
+ export * from "./customElement.js";
@@ -0,0 +1,3 @@
1
+ import "@esri/calcite-components/components/calcite-block";
2
+ import "@esri/calcite-components/components/calcite-button";
3
+ export * from "./customElement.js";
@@ -5,8 +5,8 @@ import { createRef as u, ref as d } from "lit/directives/ref.js";
5
5
  import { u as g } from "../../chunks/useT9n.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.3 */
9
- const h = o`: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)}`;
8
+ v5.0.0-next.30 */
9
+ const h = o`:host{max-height:calc(100vh - 150px);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)}`;
10
10
  class m extends a {
11
11
  constructor() {
12
12
  super(...arguments), this._resultFeatureListRef = u(), this._messages = g({ blocking: !0 }), this._clearSelectedResultType = () => this._selectedResultType = void 0, this.layers = [], this.arcgisSelectedResultTypeChange = r(), this._renderResultListItems = (t) => {