@arcgis/map-components 5.0.0-next.4 → 5.0.0-next.41

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 (709) hide show
  1. package/dist/cdn/{SIOAS4LN.js → 27BJ66TA.js} +2 -2
  2. package/dist/cdn/2ATNOSGJ.js +4 -0
  3. package/dist/cdn/2CEDNMCE.js +4 -0
  4. package/dist/cdn/{BQJGJY6O.js → 2EPQ3VSF.js} +2 -2
  5. package/dist/cdn/{ZDV73SRA.js → 2MO5L3AP.js} +2 -2
  6. package/dist/cdn/2N4REIZO.js +4 -0
  7. package/dist/cdn/2QGS3T43.js +9 -0
  8. package/dist/cdn/{DZJMGWFN.js → 36G4AAMR.js} +1 -1
  9. package/dist/cdn/36NCBDVS.js +4 -0
  10. package/dist/cdn/3BOPWJ2J.js +4 -0
  11. package/dist/cdn/{IHCNH2DN.js → 3K543LX3.js} +2 -2
  12. package/dist/cdn/3PBU27YM.js +4 -0
  13. package/dist/cdn/44TNCDUD.js +4 -0
  14. package/dist/cdn/{GX6OS5WM.js → 4AOPO22C.js} +2 -2
  15. package/dist/cdn/4HVUYPGC.js +4 -0
  16. package/dist/cdn/{33ZEUWYM.js → 4K5ZV6FY.js} +2 -2
  17. package/dist/cdn/{FQLBPHYZ.js → 4NZFVGUT.js} +2 -2
  18. package/dist/cdn/4OTOS4UL.js +4 -0
  19. package/dist/cdn/{64QCM6E6.js → 4PXFIFNH.js} +2 -2
  20. package/dist/cdn/4V5KOC23.js +4 -0
  21. package/dist/cdn/{H626OGEY.js → 55WJNUOO.js} +2 -2
  22. package/dist/cdn/{LN4NTJE5.js → 5ETCICWT.js} +2 -2
  23. package/dist/cdn/{ZQDZFMSQ.js → 5PDMDCX6.js} +2 -2
  24. package/dist/cdn/{4KQASVVE.js → 5QAOPJ6I.js} +2 -2
  25. package/dist/cdn/5W4YKHN2.js +4 -0
  26. package/dist/cdn/65723ISV.js +4 -0
  27. package/dist/cdn/6HO5HTZW.js +4 -0
  28. package/dist/cdn/{7T7FHAAN.js → 6KVAXBYM.js} +2 -2
  29. package/dist/cdn/{AZTXI743.js → 6KW2QNWL.js} +2 -2
  30. package/dist/cdn/{LJXXNHM2.js → 6OTOVHTQ.js} +1 -1
  31. package/dist/cdn/{JQVETO2T.js → 6QHEKOI2.js} +2 -2
  32. package/dist/cdn/6S3MGILP.js +4 -0
  33. package/dist/cdn/{LTRE4ZJ5.js → 6XFNXQ2I.js} +2 -2
  34. package/dist/cdn/76QYHMOE.js +4 -0
  35. package/dist/cdn/77A53SLN.js +4 -0
  36. package/dist/cdn/7AU2JUOY.js +4 -0
  37. package/dist/cdn/7CW2NN7A.js +4 -0
  38. package/dist/cdn/{KW3OBSZ5.js → 7DEGVW4R.js} +2 -2
  39. package/dist/cdn/{3MOQYDDW.js → 7F3UYCBA.js} +2 -2
  40. package/dist/cdn/{5HDE6VZW.js → 7LIX3DZB.js} +2 -2
  41. package/dist/cdn/7NUXNMSZ.js +4 -0
  42. package/dist/cdn/{OWE7LN6J.js → 7Q7SCK5J.js} +2 -2
  43. package/dist/cdn/7QBOFNTW.js +4 -0
  44. package/dist/cdn/7VG54G2I.js +4 -0
  45. package/dist/cdn/7YS5NN3Z.js +4 -0
  46. package/dist/cdn/{PPNF4MWG.js → 7ZGVUYJP.js} +2 -2
  47. package/dist/cdn/{HYDF3AIL.js → AKHH7VF2.js} +2 -2
  48. package/dist/cdn/AKHIL3Z2.js +4 -0
  49. package/dist/cdn/{KVIACQ62.js → AUTYYQMM.js} +2 -2
  50. package/dist/cdn/{W26K55Z3.js → B2TQ5S7G.js} +1 -1
  51. package/dist/cdn/{7CMEKVXO.js → B2UJKVE5.js} +2 -2
  52. package/dist/cdn/B35XRYXW.js +4 -0
  53. package/dist/cdn/B6WEOEJ7.js +4 -0
  54. package/dist/cdn/BEEMIQG2.js +4 -0
  55. package/dist/cdn/{IZJQ7VXF.js → BFOEULIU.js} +2 -2
  56. package/dist/cdn/BNDUABH2.js +4 -0
  57. package/dist/cdn/{MYW4EK3Z.js → BQOEVFWW.js} +2 -2
  58. package/dist/cdn/BR2ZFE2K.js +4 -0
  59. package/dist/cdn/{23WG7RNB.js → BRV22BZA.js} +2 -2
  60. package/dist/cdn/BYPR542V.js +4 -0
  61. package/dist/cdn/{GS75XXLE.js → BZEOPRHO.js} +2 -2
  62. package/dist/cdn/C4EGV56K.js +4 -0
  63. package/dist/cdn/C74NTODX.js +4 -0
  64. package/dist/cdn/C75F4UKL.js +4 -0
  65. package/dist/cdn/{IEXJD3D4.js → CDFUQFJM.js} +2 -2
  66. package/dist/cdn/CE3VXP7J.js +4 -0
  67. package/dist/cdn/{5E6WEIL7.js → CEEALJMO.js} +2 -2
  68. package/dist/cdn/CNTSSEZ5.js +4 -0
  69. package/dist/cdn/CQJQKVXI.js +4 -0
  70. package/dist/cdn/{EXEKXFQP.js → CV4CIC5Y.js} +1 -1
  71. package/dist/cdn/CX5NIAHV.js +4 -0
  72. package/dist/cdn/D2P3KKCI.js +4 -0
  73. package/dist/cdn/D3IKNDL2.js +4 -0
  74. package/dist/cdn/{7CFKZWL5.js → DI3HCHWZ.js} +2 -2
  75. package/dist/cdn/DITKFKLL.js +4 -0
  76. package/dist/cdn/DKOI4MWB.js +4 -0
  77. package/dist/cdn/DN2W7PG3.js +4 -0
  78. package/dist/cdn/{QUY5MCYH.js → DXMGDFRQ.js} +2 -2
  79. package/dist/cdn/E6KYIV4R.js +4 -0
  80. package/dist/cdn/ECWXWADJ.js +4 -0
  81. package/dist/cdn/{IHSOHQXE.js → EOIHWAG7.js} +2 -2
  82. package/dist/cdn/{NTOKEBO7.js → ES5V3NUU.js} +2 -2
  83. package/dist/cdn/{ITHKDNIT.js → ESH47TNJ.js} +2 -2
  84. package/dist/cdn/F5ZRZAAE.js +4 -0
  85. package/dist/cdn/{5ANKWYXX.js → FHS4RNJ3.js} +2 -2
  86. package/dist/cdn/{ORQSSCQA.js → FICBFUWH.js} +2 -2
  87. package/dist/cdn/FKBEGUTR.js +4 -0
  88. package/dist/cdn/FPMLOSMW.js +4 -0
  89. package/dist/cdn/FSQJCQIW.js +4 -0
  90. package/dist/cdn/G32BBVEL.js +4 -0
  91. package/dist/cdn/G65WHT2A.js +4 -0
  92. package/dist/cdn/{ELTTDD6I.js → GCQQ4OHJ.js} +2 -2
  93. package/dist/cdn/{P33VJA5V.js → GFN7ZXX7.js} +2 -2
  94. package/dist/cdn/GG3YAXJF.js +4 -0
  95. package/dist/cdn/{ZRPU3SBV.js → GYGR2VEY.js} +2 -2
  96. package/dist/cdn/{YCQPBQWG.js → H4PK7ZJP.js} +2 -2
  97. package/dist/cdn/{K6S23FUD.js → HFYPYXFX.js} +2 -2
  98. package/dist/cdn/{32YGUC2B.js → HNJ6PUKO.js} +2 -2
  99. package/dist/cdn/HQWZMRMV.js +4 -0
  100. package/dist/cdn/{X2CAGYVV.js → I6BDZLY3.js} +2 -2
  101. package/dist/cdn/IA45HET4.js +4 -0
  102. package/dist/cdn/IEJ4MUR4.js +4 -0
  103. package/dist/cdn/{5Y6AWZVI.js → IKL7HZUS.js} +1 -1
  104. package/dist/cdn/IM47GM3F.js +4 -0
  105. package/dist/cdn/{SNABPZ4O.js → IMS7K7WU.js} +2 -2
  106. package/dist/cdn/{FBF3422A.js → ISQDT4EK.js} +1 -1
  107. package/dist/cdn/{K4EQK6CI.js → J2DGIKUF.js} +2 -2
  108. package/dist/cdn/{TNRR3XIP.js → JFTZP5L6.js} +2 -2
  109. package/dist/cdn/JGSJHWZK.js +4 -0
  110. package/dist/cdn/{JTTJ2YTN.js → JM7X2E73.js} +2 -2
  111. package/dist/cdn/{QTYA6J2M.js → JXDRTYMV.js} +2 -2
  112. package/dist/cdn/K2SUWIJH.js +4 -0
  113. package/dist/cdn/KDBOOQMF.js +4 -0
  114. package/dist/cdn/KJG7MSCA.js +4 -0
  115. package/dist/cdn/KJUIAYM7.js +4 -0
  116. package/dist/cdn/KJZBACU6.js +4 -0
  117. package/dist/cdn/KOCSGOYC.js +4 -0
  118. package/dist/cdn/{NILWGXLW.js → KQ2VYDWM.js} +2 -2
  119. package/dist/cdn/KR2SZSB2.js +4 -0
  120. package/dist/cdn/{PIOIDAJB.js → KXMJ3HB5.js} +2 -2
  121. package/dist/cdn/KXZ65O4C.js +4 -0
  122. package/dist/cdn/{4RMNOKZA.js → L5O322WB.js} +2 -2
  123. package/dist/cdn/{IDPYPTKP.js → LAL5TI52.js} +2 -2
  124. package/dist/cdn/{XIRC4FZS.js → LCWKGB3D.js} +2 -2
  125. package/dist/cdn/LD6Y5M5I.js +4 -0
  126. package/dist/cdn/LKHMTVWS.js +4 -0
  127. package/dist/cdn/LOUMHZIP.js +4 -0
  128. package/dist/cdn/LVJL6JHE.js +4 -0
  129. package/dist/cdn/{DKAOOTL4.js → LW4DZ7TF.js} +2 -2
  130. package/dist/cdn/M36MFHPX.js +4 -0
  131. package/dist/cdn/M5QHOE7T.js +4 -0
  132. package/dist/cdn/MEUUT2BK.js +5 -0
  133. package/dist/cdn/{25OZNZDG.js → MFUBEWZC.js} +2 -2
  134. package/dist/cdn/MGODE22Y.js +4 -0
  135. package/dist/cdn/{QVTN5NUW.js → MKLVYKTY.js} +2 -2
  136. package/dist/cdn/ML5PUVQE.js +4 -0
  137. package/dist/cdn/MLMKQ2JA.js +4 -0
  138. package/dist/cdn/MT5D43EK.js +4 -0
  139. package/dist/cdn/MUXRCCE5.js +4 -0
  140. package/dist/cdn/{7NWMMMFI.js → MW4V5NHK.js} +1 -1
  141. package/dist/cdn/MYUABO2A.js +4 -0
  142. package/dist/cdn/N4TYVFGG.js +4 -0
  143. package/dist/cdn/N675YXCY.js +4 -0
  144. package/dist/cdn/{I33MLFDO.js → NG6XVYKH.js} +2 -2
  145. package/dist/cdn/{Z3GEIPVJ.js → NIY3ECMQ.js} +2 -2
  146. package/dist/cdn/{ET53A7BD.js → NPAMGVZO.js} +2 -2
  147. package/dist/cdn/NSG3IIH4.js +4 -0
  148. package/dist/cdn/NTDTIYY5.js +4 -0
  149. package/dist/cdn/{HNTUWDN6.js → NWLH6GKK.js} +2 -2
  150. package/dist/cdn/NXDWCQBS.js +4 -0
  151. package/dist/cdn/{P5JD5EAY.js → O56NKDLP.js} +2 -2
  152. package/dist/cdn/{YHV3NIO3.js → O5RTTELK.js} +1 -1
  153. package/dist/cdn/O6NSEZ4G.js +4 -0
  154. package/dist/cdn/{5ENT7TDL.js → OJVYQU32.js} +2 -2
  155. package/dist/cdn/ORZ2A2TS.js +4 -0
  156. package/dist/cdn/{PB5PBGVA.js → P3BBDZ5D.js} +2 -2
  157. package/dist/cdn/P5AVVVAA.js +4 -0
  158. package/dist/cdn/PIAO5HSJ.js +4 -0
  159. package/dist/cdn/PIQ2CN2Y.js +4 -0
  160. package/dist/cdn/PNMVL2DL.js +4 -0
  161. package/dist/cdn/Q2M2BOUO.js +4 -0
  162. package/dist/cdn/QGR4IZAG.js +4 -0
  163. package/dist/cdn/QIBFO4E3.js +4 -0
  164. package/dist/cdn/QLDQTKSK.js +4 -0
  165. package/dist/cdn/{7MDHOUFP.js → QMFIKLNT.js} +2 -2
  166. package/dist/cdn/{XHMPJYVP.js → QNWCGXP3.js} +2 -2
  167. package/dist/cdn/QWRL4BPF.js +4 -0
  168. package/dist/cdn/{W5RSFWDM.js → R4DFZKCN.js} +2 -2
  169. package/dist/cdn/{BU6OEMRF.js → RBBW7J6D.js} +2 -2
  170. package/dist/cdn/RP4LXL6Q.js +4 -0
  171. package/dist/cdn/RU5ZSKQZ.js +4 -0
  172. package/dist/cdn/{AHK5STNI.js → RYTZDIBM.js} +2 -2
  173. package/dist/cdn/S2URC4FK.js +4 -0
  174. package/dist/cdn/{DZXKOK24.js → SC4KG3IX.js} +2 -2
  175. package/dist/cdn/{MJS7QXLQ.js → SIB3V3XX.js} +2 -2
  176. package/dist/cdn/SIERTKJJ.js +4 -0
  177. package/dist/cdn/SS4SADM4.js +4 -0
  178. package/dist/cdn/{VFAQJQEE.js → SULS6DR3.js} +2 -2
  179. package/dist/cdn/{BKA4G57B.js → T4UJNFRO.js} +2 -2
  180. package/dist/cdn/{JXRXECOI.js → TAW4OIUQ.js} +2 -2
  181. package/dist/cdn/{NO7SHMLW.js → TVK2SOVJ.js} +2 -2
  182. package/dist/cdn/U2D2LAR3.js +4 -0
  183. package/dist/cdn/U4HCV6GB.js +4 -0
  184. package/dist/cdn/U74BQYQO.js +4 -0
  185. package/dist/cdn/{644O2ZN3.js → UEI2JLS3.js} +1 -1
  186. package/dist/cdn/UIVVHGAI.js +4 -0
  187. package/dist/cdn/{OMZW5BFB.js → UL2LRBDV.js} +2 -2
  188. package/dist/cdn/{66ZKQ6QF.js → UM4GBADV.js} +2 -2
  189. package/dist/cdn/{ZOZJ5PTC.js → UVVLKVLW.js} +2 -2
  190. package/dist/cdn/UZXHMICC.js +4 -0
  191. package/dist/cdn/V4VKHZ4S.js +4 -0
  192. package/dist/cdn/VBN5CO4P.js +4 -0
  193. package/dist/cdn/VLV5NB6Q.js +4 -0
  194. package/dist/cdn/{HVROLASF.js → VOTLB32D.js} +2 -2
  195. package/dist/cdn/VWFD4AQB.js +4 -0
  196. package/dist/cdn/{QM6B45PL.js → VZ3KHT3N.js} +2 -2
  197. package/dist/cdn/VZPKTTOO.js +4 -0
  198. package/dist/cdn/{L6DBLCPT.js → W2R3Y4QV.js} +2 -2
  199. package/dist/cdn/W56LNTJA.js +4 -0
  200. package/dist/cdn/WDKMOB34.js +4 -0
  201. package/dist/cdn/WGK2GBCN.js +4 -0
  202. package/dist/cdn/{26KAYELZ.js → WHOCSZX6.js} +2 -2
  203. package/dist/cdn/{55S5XI5F.js → WM4ULAXY.js} +2 -2
  204. package/dist/cdn/WMJIQCDT.js +4 -0
  205. package/dist/cdn/WOP7KEWZ.js +4 -0
  206. package/dist/cdn/{SYIYMPYO.js → WWIM44K7.js} +2 -2
  207. package/dist/cdn/{3SHRP7XO.js → WXXO2XA6.js} +2 -2
  208. package/dist/cdn/X2QM22E5.js +4 -0
  209. package/dist/cdn/{LIOCNLWV.js → X3PY46WQ.js} +2 -2
  210. package/dist/cdn/X6NCL6RN.js +4 -0
  211. package/dist/cdn/{33MUHF7N.js → XGIPG3LO.js} +2 -2
  212. package/dist/cdn/XOBO7HQK.js +4 -0
  213. package/dist/cdn/{SSF3GGRT.js → XOKJ7JSQ.js} +2 -2
  214. package/dist/cdn/{MBCS4MR7.js → XSIB2XPF.js} +1 -1
  215. package/dist/cdn/XXCYAHHF.js +4 -0
  216. package/dist/cdn/Y3POR6VW.js +4 -0
  217. package/dist/cdn/{QJD2AOIJ.js → Y4YCXKLY.js} +2 -2
  218. package/dist/cdn/YCUWNH46.js +4 -0
  219. package/dist/cdn/YFWDHNCG.js +4 -0
  220. package/dist/cdn/YMSQMDKG.js +4 -0
  221. package/dist/cdn/Z2RRTZI6.js +4 -0
  222. package/dist/cdn/ZC57EFU5.js +4 -0
  223. package/dist/cdn/ZTIIO2ZR.js +4 -0
  224. package/dist/cdn/{ASCEZXVS.js → ZYBHQKIW.js} +2 -2
  225. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  226. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
  227. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
  228. package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
  229. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  230. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
  231. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
  232. package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
  233. package/dist/cdn/index.js +2 -2
  234. package/dist/cdn/main.css +1 -1
  235. package/dist/chunks/AnalysisViewModel.js +40 -36
  236. package/dist/chunks/action-utils.js +1 -1
  237. package/dist/chunks/async-utils.js +80 -62
  238. package/dist/chunks/basemap-gallery-resources.js +1 -1
  239. package/dist/chunks/chart-utils.js +1 -1
  240. package/dist/chunks/chartCommon.js +1 -1
  241. package/dist/chunks/component-utils.js +1 -1
  242. package/dist/chunks/createCloseEvent.js +1 -1
  243. package/dist/chunks/esri-main.js +2 -2
  244. package/dist/chunks/feature-utils.js +152 -107
  245. package/dist/chunks/globalCss.js +1 -1
  246. package/dist/chunks/handle.js +14 -0
  247. package/dist/chunks/heading.js +1 -1
  248. package/dist/chunks/layer-list.js +1 -1
  249. package/dist/chunks/legacyIcon.js +1 -1
  250. package/dist/chunks/maybe.js +1 -1
  251. package/dist/chunks/measurementUtils.js +1 -1
  252. package/dist/chunks/runtime.js +1 -1
  253. package/dist/chunks/screenLocation.js +1 -1
  254. package/dist/chunks/slots.js +7 -7
  255. package/dist/chunks/svgUtils.js +1 -1
  256. package/dist/chunks/univariateUtils.js +1 -1
  257. package/dist/chunks/useArcgisViewReadyError.js +91 -0
  258. package/dist/chunks/useHandles.js +1 -1
  259. package/dist/chunks/useT9n.js +1 -1
  260. package/dist/chunks/useView.js +1 -1
  261. package/dist/chunks/useViewModel.js +1 -1
  262. package/dist/chunks/useWidget.js +1 -1
  263. package/dist/chunks/utils.js +11 -16
  264. package/dist/chunks/utils2.js +1 -1
  265. package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +39 -0
  266. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
  267. package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
  268. package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
  269. package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
  270. package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
  271. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
  272. package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
  273. package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
  274. package/dist/components/arcgis-attachments/customElement.js +6 -6
  275. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  276. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  277. package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
  278. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
  279. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
  281. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  282. package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
  283. package/dist/components/arcgis-bookmarks/customElement.js +57 -55
  284. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  285. package/dist/components/arcgis-building-explorer/customElement.js +6 -6
  286. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
  287. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  288. package/dist/components/arcgis-compass/customElement.d.ts +4 -4
  289. package/dist/components/arcgis-compass/customElement.js +6 -6
  290. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
  291. package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
  292. package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
  293. package/dist/components/arcgis-daylight/customElement.js +154 -157
  294. package/dist/components/arcgis-daylight/index.d.ts +1 -0
  295. package/dist/components/arcgis-daylight/index.js +1 -0
  296. package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
  297. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
  298. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +42 -50
  299. package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
  300. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  301. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  302. package/dist/components/arcgis-directions/customElement.js +1 -1
  303. package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +38 -0
  304. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
  305. package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
  306. package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
  307. package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
  308. package/dist/components/arcgis-editor/customElement.d.ts +29 -7
  309. package/dist/components/arcgis-editor/customElement.js +4 -4
  310. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +17 -6
  311. package/dist/components/arcgis-elevation-profile/customElement.d.ts +108 -73
  312. package/dist/components/arcgis-elevation-profile/customElement.js +573 -16
  313. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
  314. package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
  315. package/dist/components/arcgis-elevation-profile/index.js +5 -0
  316. package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
  317. package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
  318. package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
  319. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
  320. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
  321. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
  322. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  323. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
  324. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
  325. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
  326. package/dist/components/arcgis-expand/customElement.d.ts +13 -12
  327. package/dist/components/arcgis-expand/customElement.js +153 -52
  328. package/dist/components/arcgis-feature/customElement.d.ts +20 -24
  329. package/dist/components/arcgis-feature/customElement.js +90 -77
  330. package/dist/components/arcgis-feature/index.d.ts +1 -0
  331. package/dist/components/arcgis-feature/index.js +1 -0
  332. package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
  333. package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
  334. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  335. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  336. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  337. package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
  338. package/dist/components/arcgis-feature-fields/customElement.js +36 -32
  339. package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
  340. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  341. package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
  342. package/dist/components/arcgis-feature-media/customElement.js +179 -178
  343. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  344. package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
  345. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  346. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
  347. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  348. package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
  349. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
  350. package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
  351. package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
  352. package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
  353. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
  354. package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
  355. package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
  356. package/dist/components/arcgis-features/customElement.d.ts +29 -14
  357. package/dist/components/arcgis-features/customElement.js +8 -8
  358. package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
  359. package/dist/components/arcgis-floor-filter/customElement.js +7 -7
  360. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  361. package/dist/components/arcgis-fullscreen/customElement.js +2 -2
  362. package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
  363. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  364. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
  365. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  366. package/dist/components/arcgis-home/customElement.d.ts +4 -4
  367. package/dist/components/arcgis-home/customElement.js +2 -2
  368. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  369. package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
  370. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  371. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  372. package/dist/components/arcgis-legend/customElement.d.ts +19 -4
  373. package/dist/components/arcgis-legend/customElement.js +1 -1
  374. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  375. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  376. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  377. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
  378. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  379. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  380. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
  381. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  382. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  383. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
  384. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
  385. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  386. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  387. package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
  388. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
  389. package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
  390. package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
  391. package/dist/components/arcgis-link-chart/customElement.js +22 -27
  392. package/dist/components/arcgis-link-chart/index.d.ts +2 -0
  393. package/dist/components/arcgis-link-chart/index.js +2 -0
  394. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
  395. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  396. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  397. package/dist/components/arcgis-locate/customElement.js +2 -2
  398. package/dist/components/arcgis-map/customElement.d.ts +479 -64
  399. package/dist/components/arcgis-map/customElement.js +28 -33
  400. package/dist/components/arcgis-map/index.d.ts +2 -0
  401. package/dist/components/arcgis-map/index.js +2 -0
  402. package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
  403. package/dist/components/arcgis-measurement/customElement.js +1 -1
  404. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  405. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
  406. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  407. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
  408. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  409. package/dist/components/arcgis-placement/customElement.d.ts +2 -2
  410. package/dist/components/arcgis-placement/customElement.js +1 -1
  411. package/dist/components/arcgis-popup/customElement.d.ts +50 -20
  412. package/dist/components/arcgis-popup/customElement.js +72 -72
  413. package/dist/components/arcgis-print/customElement.d.ts +3 -3
  414. package/dist/components/arcgis-print/customElement.js +1 -1
  415. package/dist/components/arcgis-print/utils.d.ts +1 -2
  416. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  417. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  418. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  419. package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
  420. package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
  421. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  422. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  423. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  424. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  425. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  426. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  427. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  428. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  429. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  430. package/dist/components/arcgis-print-template-select/customElement.js +17 -15
  431. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  432. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
  433. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  434. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
  435. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  436. package/dist/components/arcgis-scene/customElement.d.ts +66 -11
  437. package/dist/components/arcgis-scene/customElement.js +25 -30
  438. package/dist/components/arcgis-scene/index.d.ts +2 -0
  439. package/dist/components/arcgis-scene/index.js +2 -0
  440. package/dist/components/arcgis-search/customElement.d.ts +19 -21
  441. package/dist/components/arcgis-search/customElement.js +1 -1
  442. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
  443. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  444. package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
  445. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  446. package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
  447. package/dist/components/arcgis-sketch/customElement.js +18 -10
  448. package/dist/components/arcgis-slice/customElement.d.ts +3 -3
  449. package/dist/components/arcgis-slice/customElement.js +14 -15
  450. package/dist/components/arcgis-spinner/customElement.js +1 -1
  451. package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
  452. package/dist/components/arcgis-swipe/customElement.js +2 -2
  453. package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
  454. package/dist/components/arcgis-table-list/customElement.js +1 -1
  455. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
  456. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  457. package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
  458. package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
  459. package/dist/components/arcgis-track/customElement.d.ts +3 -3
  460. package/dist/components/arcgis-track/customElement.js +2 -2
  461. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  462. package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
  463. package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
  464. package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
  465. package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
  466. package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
  467. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
  468. package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
  469. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  470. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
  471. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
  472. package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
  473. package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
  474. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
  475. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  476. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
  477. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
  478. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
  479. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
  480. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
  481. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
  482. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
  483. package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
  484. package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
  485. package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
  486. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
  487. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
  488. package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
  489. package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
  490. package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
  491. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
  492. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  493. package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
  494. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  495. package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
  496. package/dist/components/arcgis-version-management/customElement.js +2 -2
  497. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  498. package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
  499. package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
  500. package/dist/components/arcgis-version-management-version-list/index.js +2 -1
  501. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  502. package/dist/components/arcgis-video/customElement.d.ts +4 -4
  503. package/dist/components/arcgis-video/customElement.js +1 -1
  504. package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
  505. package/dist/components/arcgis-video-player/customElement.js +4 -4
  506. package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
  507. package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
  508. package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
  509. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  510. package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
  511. package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
  512. package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
  513. package/dist/components/arcgis-weather/customElement.d.ts +18 -2
  514. package/dist/components/arcgis-weather/customElement.js +150 -132
  515. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  516. package/dist/components/arcgis-zoom/customElement.js +2 -2
  517. package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
  518. package/dist/controllers/uiController.d.ts +11 -1
  519. package/dist/controllers/useArcgisLoadError.d.ts +27 -0
  520. package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
  521. package/dist/docs/api.json +3260 -3124
  522. package/dist/docs/docs.json +2768 -2485
  523. package/dist/docs/vscode.css-custom-data.json +16 -16
  524. package/dist/docs/vscode.html-custom-data.json +307 -488
  525. package/dist/docs/web-types.json +929 -963
  526. package/dist/index.d.ts +39 -40
  527. package/dist/index.js +1 -1
  528. package/dist/loader.js +28 -25
  529. package/dist/support/AnalysisViewModel.d.ts +2 -1
  530. package/dist/support/handle.d.ts +1 -1
  531. package/dist/support/measurementUtils.d.ts +2 -2
  532. package/dist/support/slots.d.ts +1 -1
  533. package/dist/types/lumina.d.ts +41 -29
  534. package/dist/types/preact.d.ts +44 -31
  535. package/dist/types/preact10.d.ts +47 -33
  536. package/dist/types/react.d.ts +47 -33
  537. package/dist/types/stencil.d.ts +41 -29
  538. package/dist/utils/async-utils.d.ts +19 -0
  539. package/dist/utils/feature-utils.d.ts +16 -1
  540. package/dist/utils/highlight-utils.d.ts +22 -0
  541. package/dist/utils/layer-utils.d.ts +4 -0
  542. package/package.json +5 -5
  543. package/dist/cdn/2BCLISGV.js +0 -4
  544. package/dist/cdn/2E2OTBP3.js +0 -4
  545. package/dist/cdn/2PQU44IE.js +0 -4
  546. package/dist/cdn/2TWS5YI6.js +0 -4
  547. package/dist/cdn/2X4FSJKI.js +0 -9
  548. package/dist/cdn/2XCV2CMA.js +0 -4
  549. package/dist/cdn/3CEZU4WQ.js +0 -4
  550. package/dist/cdn/3OQFJFII.js +0 -4
  551. package/dist/cdn/4AOQKZRQ.js +0 -4
  552. package/dist/cdn/4IMJQEWN.js +0 -4
  553. package/dist/cdn/4OEMJ2SD.js +0 -4
  554. package/dist/cdn/4XGQ26JG.js +0 -4
  555. package/dist/cdn/56OWPQVV.js +0 -4
  556. package/dist/cdn/5D2VWK66.js +0 -4
  557. package/dist/cdn/5FPDA2I6.js +0 -4
  558. package/dist/cdn/5FTBHJXN.js +0 -4
  559. package/dist/cdn/5N7KH7NZ.js +0 -4
  560. package/dist/cdn/5WLAQODX.js +0 -4
  561. package/dist/cdn/654H67QV.js +0 -4
  562. package/dist/cdn/66SUBFJS.js +0 -4
  563. package/dist/cdn/7BWGDUUQ.js +0 -4
  564. package/dist/cdn/7FS7KAGQ.js +0 -4
  565. package/dist/cdn/7UXSP6EE.js +0 -4
  566. package/dist/cdn/A7VZPANO.js +0 -4
  567. package/dist/cdn/AHVNWN6T.js +0 -4
  568. package/dist/cdn/AIJCNZRM.js +0 -4
  569. package/dist/cdn/ATK4EQ7U.js +0 -4
  570. package/dist/cdn/AWUVSJ4I.js +0 -4
  571. package/dist/cdn/B37SLAFV.js +0 -4
  572. package/dist/cdn/BHEWYFQY.js +0 -4
  573. package/dist/cdn/BKP4BYDJ.js +0 -4
  574. package/dist/cdn/BNHSOSCM.js +0 -4
  575. package/dist/cdn/BRTX4VDL.js +0 -4
  576. package/dist/cdn/BV332IWQ.js +0 -4
  577. package/dist/cdn/C6L47PCN.js +0 -4
  578. package/dist/cdn/CIVNL54M.js +0 -4
  579. package/dist/cdn/CQCD3WDG.js +0 -4
  580. package/dist/cdn/CSTMQZDP.js +0 -4
  581. package/dist/cdn/CXN7GCTD.js +0 -4
  582. package/dist/cdn/DJZCJD3T.js +0 -4
  583. package/dist/cdn/EC7NTTMA.js +0 -4
  584. package/dist/cdn/EFIRKPF3.js +0 -4
  585. package/dist/cdn/ELKVQQ7D.js +0 -4
  586. package/dist/cdn/F37SOOSB.js +0 -4
  587. package/dist/cdn/FAXTY5SS.js +0 -4
  588. package/dist/cdn/FYE7EKEC.js +0 -4
  589. package/dist/cdn/G5TZUCV3.js +0 -4
  590. package/dist/cdn/GJQ7PMB7.js +0 -4
  591. package/dist/cdn/GQJE5OUE.js +0 -4
  592. package/dist/cdn/GXI7P7XS.js +0 -4
  593. package/dist/cdn/H32W2DCZ.js +0 -4
  594. package/dist/cdn/H756UUMB.js +0 -4
  595. package/dist/cdn/HIOSPYNQ.js +0 -4
  596. package/dist/cdn/HQ44YTSF.js +0 -4
  597. package/dist/cdn/HY6634VN.js +0 -4
  598. package/dist/cdn/HYWMDLRY.js +0 -4
  599. package/dist/cdn/IA33VMUG.js +0 -4
  600. package/dist/cdn/IOOPHFHT.js +0 -4
  601. package/dist/cdn/J6GKTNWR.js +0 -4
  602. package/dist/cdn/JJ55OQED.js +0 -4
  603. package/dist/cdn/JK6DTNWT.js +0 -4
  604. package/dist/cdn/JLV2VBC5.js +0 -4
  605. package/dist/cdn/JT75CZUB.js +0 -4
  606. package/dist/cdn/K4BFKFZ2.js +0 -4
  607. package/dist/cdn/KDDEVH4U.js +0 -4
  608. package/dist/cdn/KLTVZHQA.js +0 -4
  609. package/dist/cdn/KNCA3SKI.js +0 -4
  610. package/dist/cdn/L5BT6RA6.js +0 -4
  611. package/dist/cdn/LRUCJZCF.js +0 -4
  612. package/dist/cdn/LUS46PJS.js +0 -4
  613. package/dist/cdn/LUU3MMZC.js +0 -4
  614. package/dist/cdn/LYTR47EO.js +0 -4
  615. package/dist/cdn/M5YYA3DP.js +0 -4
  616. package/dist/cdn/MHAOD5LL.js +0 -4
  617. package/dist/cdn/MRRTLF3Q.js +0 -4
  618. package/dist/cdn/NCTKCIMH.js +0 -4
  619. package/dist/cdn/NK7W7H3O.js +0 -4
  620. package/dist/cdn/NNBM4MJM.js +0 -4
  621. package/dist/cdn/NVCA4IBX.js +0 -4
  622. package/dist/cdn/NZP5SLEC.js +0 -4
  623. package/dist/cdn/OAKEOF5Z.js +0 -4
  624. package/dist/cdn/OXTE6NQP.js +0 -4
  625. package/dist/cdn/PN4NYC47.js +0 -4
  626. package/dist/cdn/PXZVIBO5.js +0 -4
  627. package/dist/cdn/QI2PIRGR.js +0 -4
  628. package/dist/cdn/QJKG2O2J.js +0 -4
  629. package/dist/cdn/QL7ZKKVM.js +0 -4
  630. package/dist/cdn/QTUINRMA.js +0 -4
  631. package/dist/cdn/QTX44MPH.js +0 -4
  632. package/dist/cdn/R2VYYTEB.js +0 -4
  633. package/dist/cdn/RZTPBL5M.js +0 -5
  634. package/dist/cdn/S6CCVUTN.js +0 -4
  635. package/dist/cdn/S6KWWLV3.js +0 -4
  636. package/dist/cdn/SEUXPSM6.js +0 -4
  637. package/dist/cdn/SEXAUJM5.js +0 -4
  638. package/dist/cdn/STJFX7RM.js +0 -4
  639. package/dist/cdn/SXHYCAIT.js +0 -4
  640. package/dist/cdn/T54DV4QC.js +0 -4
  641. package/dist/cdn/TQBIJGQS.js +0 -4
  642. package/dist/cdn/TYPX5QRF.js +0 -4
  643. package/dist/cdn/TYQGVZYI.js +0 -4
  644. package/dist/cdn/UJZ5JH6J.js +0 -4
  645. package/dist/cdn/V4N5GGFQ.js +0 -4
  646. package/dist/cdn/VMCP5ODS.js +0 -4
  647. package/dist/cdn/VPRPVNFB.js +0 -4
  648. package/dist/cdn/VT6EJ2WP.js +0 -4
  649. package/dist/cdn/VZHLFLNT.js +0 -4
  650. package/dist/cdn/WCHCFMJJ.js +0 -4
  651. package/dist/cdn/WGSCKAJJ.js +0 -4
  652. package/dist/cdn/WJCYWE3O.js +0 -4
  653. package/dist/cdn/YCX7GC7L.js +0 -4
  654. package/dist/cdn/Z2M5WQBL.js +0 -4
  655. package/dist/cdn/ZAVOAP6R.js +0 -4
  656. package/dist/cdn/ZB6HNUVW.js +0 -4
  657. package/dist/cdn/ZGKPCMCL.js +0 -4
  658. package/dist/cdn/ZWCA7RTD.js +0 -4
  659. package/dist/cdn/ZYF3EM6X.js +0 -4
  660. package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
  661. package/dist/chunks/uiController.js +0 -45
  662. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
  663. package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
  664. package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
  665. package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
  666. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
  667. package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
  668. package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
  669. package/dist/components/arcgis-version-management-version-item/index.js +0 -5
  670. package/dist/utils/mapping-utils.d.ts +0 -2
  671. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
  672. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
  673. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
  674. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
  675. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
  676. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
  677. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
  678. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
  679. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
  680. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
  681. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
  682. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
  683. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
  684. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
  685. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
  686. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
  687. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
  688. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
  689. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
  690. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
  691. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
  692. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
  693. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
  694. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
  695. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
  696. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
  697. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
  698. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
  699. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
  700. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
  701. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
  702. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
  703. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
  704. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
  705. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
  706. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
  707. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
  708. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
  709. /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
@@ -0,0 +1,506 @@
1
+ import { c as T } from "../../chunks/runtime.js";
2
+ import { css as N, html as p } from "lit";
3
+ import { keyed as C } from "lit/directives/keyed.js";
4
+ import { createReactiveMap as I, findUtilityNetwork as M, queryAllJSON as $, getOrCreateMapValue as j } from "@arcgis/core/applications/Components/featureUtils.js";
5
+ import { stripHTML as k } from "@arcgis/core/applications/Components/stringUtils.js";
6
+ import w from "@arcgis/core/core/Collection.js";
7
+ import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
8
+ import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
9
+ import * as U from "@arcgis/core/core/sql.js";
10
+ import V from "@arcgis/core/rest/networks/support/NetworkElement.js";
11
+ import x from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
12
+ import D from "@arcgis/core/rest/support/FeatureSet.js";
13
+ import P from "@arcgis/core/rest/support/Query.js";
14
+ import G from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
15
+ import { LitElement as Q, renderElement as B } from "@arcgis/lumina";
16
+ import { debounce as L } from "@arcgis/toolkit/function";
17
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
18
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
19
+ v5.0.0-next.41 */
20
+ const O = N`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`, q = 100, E = {
21
+ assetGroup: "assetgroup",
22
+ assetType: "assettype"
23
+ }, S = "{00000000-0000-0000-0000-000000000000}";
24
+ class R extends Q {
25
+ constructor() {
26
+ super(...arguments), this._addFlowItem = (t) => {
27
+ t && this.flowItems?.push(t);
28
+ }, this._attachmentAssociations = new w(), this._attachmentFeatureCount = 0, this._cancelQuery = () => {
29
+ const { _queryAbortController: t } = this;
30
+ t && t.abort(), this._queryAbortController = null;
31
+ }, this._cancelQueryFeatureCount = () => {
32
+ const { _queryFeatureCountAbortController: t } = this;
33
+ t && t.abort(), this._queryFeatureCountAbortController = null;
34
+ }, this._connectivityAssociations = new w(), this._connectivityFeatureCount = 0, this._containerAssociations = new w(), this._containerFeatureCount = 0, this._contentAssociations = new w(), this._contentFeatureCount = 0, this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), this._query = async (t) => {
35
+ if (!t)
36
+ return;
37
+ await this._loadUtiltyNetworks();
38
+ const { _queryAbortController: e } = this;
39
+ this._destroyAssociatedFeatureViewModels(), this._clearFeatures(), this._featureCount && await this._queryAssociatedFeatures(t, { signal: e?.signal });
40
+ }, this._queryController = async (t) => {
41
+ this._cancelQuery();
42
+ const e = new AbortController();
43
+ this._queryAbortController = e, await v(this._query(t)), this._queryAbortController === e && (this._queryAbortController = null);
44
+ }, this._queryFeatureCountController = async () => {
45
+ this._loaded = !1, this._cancelQueryFeatureCount();
46
+ const t = new AbortController();
47
+ this._queryFeatureCountAbortController = t, await v(this._queryFeatureCount()), this._queryFeatureCountAbortController === t && (this._queryFeatureCountAbortController = null), this._loaded = !0;
48
+ }, this._queryDebounced = L(this._queryController, q), this._queryFeatureCountDebounced = L(this._queryFeatureCountController, q), this._structureAssociations = new w(), this._structureFeatureCount = 0, this._queryAssociationType = async () => {
49
+ this._activeAssociationType && this._queryDebounced(this._activeAssociationType);
50
+ }, this._associationFeatures = I(), this._associationViewModels = I(), this._featureCount = 0, this._loaded = !1, this._queryAbortController = null, this._queryFeatureCountAbortController = null, this._queryPageAbortController = null, this.associationTypes = null, this.autoDestroyDisabled = !1, this.flowType = "feature-utility-network-associations", this.headingLevel = 2, this.source = "popup";
51
+ }
52
+ static {
53
+ this.properties = { _activeAssociationType: 16, _associationFeatures: 16, _associationViewModels: 16, _canLoad: 16, _canQuery: 16, _featureCount: 16, _loaded: 16, _queryAbortController: 16, _queryFeatureCountAbortController: 16, _queryPageAbortController: 16, _state: 16, associationTypes: 0, autoDestroyDisabled: 5, description: 1, flowItems: 0, flowType: 1, graphic: 0, heading: 1, headingLevel: 9, layer: 0, map: 0, messages: 0, parentFeatureViewModel: 0, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
54
+ }
55
+ static {
56
+ this.styles = O;
57
+ }
58
+ get _globalId() {
59
+ return (this._globalIdField && this.graphic?.attributes?.[this._globalIdField]) ?? null;
60
+ }
61
+ get _globalIdField() {
62
+ return this.layer?.globalIdField;
63
+ }
64
+ get _objectId() {
65
+ return (this._objectIdField && this.graphic?.attributes?.[this._objectIdField]) ?? null;
66
+ }
67
+ get _objectIdField() {
68
+ return this.layer?.objectIdField;
69
+ }
70
+ get _supportsCacheHint() {
71
+ return !!this.layer?.capabilities?.queryRelated?.supportsCacheHint;
72
+ }
73
+ get _utilityNetwork() {
74
+ const { layer: t, map: e } = this;
75
+ if (!t?.loaded || !e)
76
+ return null;
77
+ const s = this._isSubtypeSublayer(t) ? t.parent : t;
78
+ return M(e, s);
79
+ }
80
+ get _canLoad() {
81
+ return !!this.map;
82
+ }
83
+ get _canQuery() {
84
+ return !!this.layer?.capabilities?.query?.supportsPagination;
85
+ }
86
+ get _state() {
87
+ const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: u, associationTypes: c } = this;
88
+ return a || t && !o ? "loading" : i || u ? "querying" : !this._globalId || !c || !e || !s ? "disabled" : "ready";
89
+ }
90
+ get heading() {
91
+ return this._heading;
92
+ }
93
+ set heading(t) {
94
+ this._heading = t;
95
+ }
96
+ async destroy() {
97
+ await this.manager.destroy();
98
+ }
99
+ loaded() {
100
+ this.manager.onLifecycle(() => [
101
+ A(() => [
102
+ this.graphic,
103
+ this.layer,
104
+ this.map,
105
+ this.associationTypes,
106
+ this._canQuery,
107
+ this._objectId,
108
+ this._globalId
109
+ ], () => {
110
+ this._queryFeatureCountDebounced(), this._queryAssociationType();
111
+ }, { initial: !0 }),
112
+ A(() => this._activeAssociationType, (t) => {
113
+ this._queryDebounced(t);
114
+ }),
115
+ A(() => this._associationFeatures.values(), () => {
116
+ this._setUpUtilityNetworkAssociationsViewModels();
117
+ })
118
+ ]), this.manager.onDestroy(() => {
119
+ this._cancelQuery(), this._cancelQueryFeatureCount();
120
+ });
121
+ }
122
+ _addAssociationTypeFlowItem() {
123
+ this._addFlowItem(B(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .flowItems=${this.flowItems} .flowType=${this.flowType} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`));
124
+ }
125
+ _clearAssociations() {
126
+ this._attachmentAssociations.removeAll(), this._connectivityAssociations.removeAll(), this._containerAssociations.removeAll(), this._contentAssociations.removeAll(), this._structureAssociations.removeAll();
127
+ }
128
+ _clearFeatures() {
129
+ this._associationFeatures.forEach((t) => t.removeAll()), this._associationFeatures.clear();
130
+ }
131
+ _compareByFeatureTitle(t, e) {
132
+ return t.title.localeCompare(e.title, void 0, {
133
+ numeric: !0
134
+ });
135
+ }
136
+ async _countAssociatedFeatureCount(t, e, s, o, i) {
137
+ const a = this._getFeatureQueryWhereClause(t, e, s, o);
138
+ return await t.queryFeatureCount({
139
+ where: a,
140
+ outFields: ["*"],
141
+ returnGeometry: !1
142
+ }, {
143
+ signal: i?.signal
144
+ });
145
+ }
146
+ async _countAssociatedFeatures(t, e, s, o, i) {
147
+ if (!e.length)
148
+ return 0;
149
+ const a = await this._findLayersBySourceId(t);
150
+ await this._loadLayers(a);
151
+ const u = a.map((r) => this._countAssociatedFeatureCount(r, e, s, o, i));
152
+ return (await Promise.all(u)).reduce((r, d) => r + d, 0);
153
+ }
154
+ async _createAssociationFeatureObjects(t, e, s, o, i) {
155
+ if (!t.length)
156
+ return [];
157
+ const a = /* @__PURE__ */ new Map(), u = Array.from(e.entries()).map(async ([r, d]) => {
158
+ const l = await this._findLayersBySourceId(r);
159
+ await this._loadLayers(l);
160
+ const y = l.map((n) => this._queryLayer(n, d, s, o, i));
161
+ (await Promise.all(y)).forEach((n) => {
162
+ n.forEach((h) => {
163
+ if (this.source === "popup" ? h.sourceLayer && h.getEffectivePopupTemplate() : !!h.sourceLayer) {
164
+ const f = h.layer.globalIdField ?? "", g = h.attributes[f], b = a.get(g) ?? [];
165
+ b.push(h), a.set(g, b);
166
+ }
167
+ });
168
+ });
169
+ });
170
+ await Promise.all(u);
171
+ const c = [];
172
+ return await Promise.all(t.toArray().map(async (r) => {
173
+ const { fromNetworkElement: d, toNetworkElement: l } = r, y = d.globalId === this._globalId ? l : d, m = a.get(y.globalId) ?? [];
174
+ await Promise.all(m.map(async (n) => {
175
+ const h = this._utilityNetwork?.getTerminalById(y?.terminalId)?.name, _ = await n.sourceLayer.getFeatureTitle(n) || this._getFeatureTitle(n);
176
+ c.push({
177
+ title: _,
178
+ feature: n,
179
+ association: r,
180
+ terminalName: h
181
+ });
182
+ }));
183
+ })), c;
184
+ }
185
+ _destroyAssociatedFeatureViewModels() {
186
+ this._associationViewModels.forEach((t) => t.destroyAll());
187
+ }
188
+ _equals(t, e) {
189
+ if (t.globalId === S && e.globalId === S) {
190
+ let s = function(d, l) {
191
+ return d.networkSourceId === l.networkSourceId && d.globalId === l.globalId && d.terminalId === l.terminalId && d.firstUnit === l.firstUnit && d.numUnits === l.numUnits;
192
+ };
193
+ const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, u = e.toNetworkElement, c = s(o, a), r = s(i, u);
194
+ return c && r && t.associationType === e.associationType;
195
+ }
196
+ return t.globalId != null && e.globalId != null && t.globalId === e.globalId;
197
+ }
198
+ async _findLayersBySourceId(t) {
199
+ const { _utilityNetwork: e, map: s } = this;
200
+ e?.loaded || await e?.load();
201
+ const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o), a = s.allTables.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o);
202
+ return i.concat(a).toArray();
203
+ }
204
+ _getAssociationsByType(t) {
205
+ switch (t) {
206
+ case "attachment":
207
+ return this._attachmentAssociations;
208
+ case "structure":
209
+ return this._structureAssociations;
210
+ case "connectivity":
211
+ return this._connectivityAssociations;
212
+ case "container":
213
+ return this._containerAssociations;
214
+ case "content":
215
+ return this._contentAssociations;
216
+ }
217
+ }
218
+ _getAssociationTypeTitle(t) {
219
+ const { messages: e } = this;
220
+ if (t.title)
221
+ return t.title;
222
+ switch (t.type) {
223
+ case "attachment":
224
+ return e?.associationsAttachments ?? this.messages?.noTitle ?? "";
225
+ case "connectivity":
226
+ return e?.associationsConnectivity ?? this.messages?.noTitle ?? "";
227
+ case "structure":
228
+ return e?.associationsStructure ?? this.messages?.noTitle ?? "";
229
+ case "content":
230
+ return e?.associationsContents ?? this.messages?.noTitle ?? "";
231
+ case "container":
232
+ return e?.associationsContainer ?? this.messages?.noTitle ?? "";
233
+ }
234
+ }
235
+ _getFeatureCountForAssociationType(t) {
236
+ switch (t) {
237
+ case "attachment":
238
+ return this._attachmentFeatureCount;
239
+ case "structure":
240
+ return this._structureFeatureCount;
241
+ case "content":
242
+ return this._contentFeatureCount;
243
+ case "container":
244
+ return this._containerFeatureCount;
245
+ case "connectivity":
246
+ return this._connectivityFeatureCount;
247
+ }
248
+ }
249
+ _getFeatureQueryWhereClause(t, e, s, o) {
250
+ const i = t.globalIdField, a = t.fieldsIndex.get(E.assetGroup), u = t.fieldsIndex.get(E.assetType), c = s != null, r = o != null, d = i ? U.sqlIn(i, e) : null, l = c ? `(${a?.name} = ${s})` : null, y = c && r ? `(${u?.name} = ${o})` : null;
251
+ return [d, l, y].filter(Boolean).join(" AND ");
252
+ }
253
+ _getFeatureTitle(t) {
254
+ const e = t.attributes, s = t.sourceLayer;
255
+ if (!e || !s)
256
+ return "";
257
+ const o = "displayField" in s ? s.displayField : null, i = o != null ? e[o.toString()] : null, a = i != null ? i.toString() : null, u = t.getObjectId()?.toString();
258
+ return a || u || "";
259
+ }
260
+ _isSubtypeGroupLayer(t) {
261
+ return t != null && typeof t == "object" && "type" in t && t.type === "subtype-group" && "sublayers" in t;
262
+ }
263
+ _isSubtypeSublayer(t) {
264
+ return t?.type === "subtype-sublayer";
265
+ }
266
+ async _loadUtiltyNetworks() {
267
+ const t = this.map;
268
+ if (!t)
269
+ return;
270
+ await Promise.allSettled(t.utilityNetworks?.map((s) => s.load()) ?? []);
271
+ const e = this._utilityNetwork;
272
+ if (e) {
273
+ const s = (o) => {
274
+ if ("layerId" in o && e.isUtilityLayer(o)) {
275
+ const i = o.layerId != null ? e.getSourceIdByLayerId(o.layerId) : null;
276
+ i != null && this._networkSourceIdsInUse.add(i);
277
+ }
278
+ };
279
+ this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), t.allLayers.forEach(s), t.allTables.forEach(s);
280
+ }
281
+ }
282
+ async _loadLayers(t) {
283
+ const e = t.filter((s) => !s.loaded).map((s) => s.load());
284
+ e.length && await Promise.allSettled(e);
285
+ }
286
+ _matchesGlobalFeature(t, e) {
287
+ return this._equals(t.association, e.association);
288
+ }
289
+ async _queryAssociatedFeatures(t, e) {
290
+ const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: u, _associationFeatures: c } = this;
291
+ if (await Promise.allSettled([s?.load(), a?.load()]), !u || !s || !i || !a)
292
+ return;
293
+ const r = this._getAssociationsByType(t.type), { associatedAssetGroup: d, associatedAssetType: l } = t, y = /* @__PURE__ */ new Map();
294
+ r.forEach((n) => {
295
+ const { fromNetworkElement: h, toNetworkElement: _ } = n, { networkSourceId: f, elementGlobalId: g } = h.globalId === o ? {
296
+ networkSourceId: _.networkSourceId,
297
+ elementGlobalId: _.globalId
298
+ } : {
299
+ networkSourceId: h.networkSourceId,
300
+ elementGlobalId: h.globalId
301
+ }, b = y.get(f) || [];
302
+ b.push(g), y.set(f, b);
303
+ });
304
+ const m = await this._createAssociationFeatureObjects(r, y, d, l, e);
305
+ this._parseFeatureObjects(m, c);
306
+ }
307
+ async _queryAssociations(t) {
308
+ const { layer: e, _globalId: s, associationTypes: o, _utilityNetwork: i, _canQuery: a } = this;
309
+ if (await Promise.allSettled([e?.load(), i?.load()]), this._clearAssociations(), !a || !e || !o || !i || !s)
310
+ return;
311
+ const u = this._isSubtypeSublayer(e) ? e.parent : e, c = new V({
312
+ globalId: s,
313
+ networkSourceId: i.getSourceIdByLayerId(u.layerId)
314
+ }), r = /* @__PURE__ */ new Set();
315
+ o.forEach((n) => {
316
+ switch (n.type) {
317
+ case "attachment":
318
+ case "structure":
319
+ r.add("attachment");
320
+ break;
321
+ case "container":
322
+ case "content":
323
+ r.add("containment");
324
+ break;
325
+ case "connectivity":
326
+ r.add("connectivity"), r.add("junction-junction-connectivity"), r.add("junction-edge-from-connectivity"), r.add("junction-edge-midspan-connectivity"), r.add("junction-edge-to-connectivity");
327
+ break;
328
+ }
329
+ });
330
+ const d = await i?.queryAssociations(new x({
331
+ elements: [c],
332
+ types: Array.from(r)
333
+ }), {
334
+ signal: t?.signal
335
+ }), l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
336
+ o.forEach((n) => {
337
+ y.set(n.type, n), l.set(n.type, []);
338
+ }), d.forEach((n) => {
339
+ const { toNetworkElement: h, fromNetworkElement: _ } = n;
340
+ switch (n.associationType) {
341
+ case "attachment":
342
+ if (_?.globalId === s) {
343
+ if (this._shouldDiscardNetworkElement(h, "attachment", y))
344
+ break;
345
+ l.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(n);
346
+ } else {
347
+ if (this._shouldDiscardNetworkElement(_, "structure", y))
348
+ break;
349
+ l.get("structure")?.push(_.globalId), this._structureAssociations.add(n);
350
+ }
351
+ break;
352
+ case "connectivity":
353
+ case "junction-edge-from-connectivity":
354
+ case "junction-edge-midspan-connectivity":
355
+ case "junction-edge-to-connectivity":
356
+ case "junction-junction-connectivity":
357
+ if (_?.globalId === s) {
358
+ if (this._shouldDiscardNetworkElement(h, "connectivity", y))
359
+ break;
360
+ l.get("connectivity")?.push(h.globalId);
361
+ } else {
362
+ if (this._shouldDiscardNetworkElement(_, "connectivity", y))
363
+ break;
364
+ l.get("connectivity")?.push(_.globalId);
365
+ }
366
+ this._connectivityAssociations.add(n);
367
+ break;
368
+ case "containment":
369
+ if (_?.globalId === s) {
370
+ if (this._shouldDiscardNetworkElement(h, "content", y))
371
+ break;
372
+ l.get("content")?.push(h.globalId), this._contentAssociations.add(n);
373
+ } else {
374
+ if (this._shouldDiscardNetworkElement(_, "container", y))
375
+ break;
376
+ l.get("container")?.push(_.globalId), this._containerAssociations.add(n);
377
+ }
378
+ break;
379
+ }
380
+ });
381
+ const m = o.map(async (n) => {
382
+ const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } = n, g = l.get(n.type), F = _ != null ? await this._countAssociatedFeatures(h, g, _, f, t) : g.length;
383
+ switch (n.type) {
384
+ case "attachment":
385
+ this._attachmentFeatureCount = F;
386
+ break;
387
+ case "connectivity":
388
+ this._connectivityFeatureCount = F;
389
+ break;
390
+ case "container":
391
+ this._containerFeatureCount = F;
392
+ break;
393
+ case "content":
394
+ this._contentFeatureCount = F;
395
+ break;
396
+ case "structure":
397
+ this._structureFeatureCount = F;
398
+ break;
399
+ }
400
+ });
401
+ await Promise.allSettled(m);
402
+ }
403
+ async _queryFeatureCount() {
404
+ await this._loadUtiltyNetworks();
405
+ const { _queryFeatureCountAbortController: t, _canQuery: e } = this;
406
+ if (!e) {
407
+ this._featureCount = 0;
408
+ return;
409
+ }
410
+ await this._queryAssociations(t), this._featureCount = this._attachmentFeatureCount + this._connectivityFeatureCount + this._containerFeatureCount + this._contentFeatureCount + this._structureFeatureCount;
411
+ }
412
+ async _queryLayer(t, e, s, o, i) {
413
+ const a = this._getFeatureQueryWhereClause(t, e, s, o), u = new P({
414
+ where: a,
415
+ outFields: ["*"],
416
+ cacheHint: this._supportsCacheHint
417
+ }), c = D.fromJSON(await $(t, u, i));
418
+ return c.features.forEach((r) => {
419
+ const d = this._isSubtypeGroupLayer(t);
420
+ r.layer = d ? t.findSublayerForFeature(r) : t, r.sourceLayer = d ? t.findSublayerForFeature(r) : t;
421
+ }), c.features;
422
+ }
423
+ _parseFeatureObjects(t, e) {
424
+ const s = I();
425
+ t.forEach((o) => {
426
+ const a = (o?.feature).sourceLayer;
427
+ j(s, a, () => new w()).add(o);
428
+ });
429
+ for (const [o, i] of s)
430
+ this._sortFeatureObjectsByTitle(i), e.set(o, i);
431
+ }
432
+ _selectAssociationType(t) {
433
+ const { flowItems: e } = this;
434
+ e && (this._activeAssociationType = t, this._setUpUtilityNetworkAssociationsViewModels(), this._addAssociationTypeFlowItem());
435
+ }
436
+ _setUpUtilityNetworkAssociationsViewModels() {
437
+ this._associationViewModels.forEach((i, a) => {
438
+ const u = this._associationFeatures.get(a);
439
+ u ? i.forEach((c) => {
440
+ u.find((d) => this._matchesGlobalFeature(c, d)) || (i.remove(c), i.length || this._associationViewModels.delete(a));
441
+ }) : (i.removeAll(), this._associationViewModels.delete(a));
442
+ });
443
+ const { map: t, view: e, spatialReference: s, timeZone: o } = this;
444
+ this._associationFeatures.forEach((i, a) => {
445
+ const u = this._associationViewModels.get(a) || new w();
446
+ i?.filter(Boolean).forEach((c, r) => {
447
+ if (!u.some((l) => this._matchesGlobalFeature(l, c))) {
448
+ const { association: l, feature: y, terminalName: m, title: n } = c;
449
+ u.add({
450
+ title: n,
451
+ association: l,
452
+ featureViewModel: new G({
453
+ abilities: { utilityNetworkAssociationsContent: !1 },
454
+ map: t,
455
+ view: e,
456
+ spatialReference: s,
457
+ timeZone: o,
458
+ graphic: y
459
+ }),
460
+ terminalName: m
461
+ }, r);
462
+ }
463
+ }), this._associationViewModels.set(a, u);
464
+ });
465
+ }
466
+ _shouldDiscardNetworkElement(t, e, s) {
467
+ if (!t)
468
+ return !1;
469
+ const { networkSourceId: o } = t, i = s.get(e)?.associatedNetworkSourceId, a = this._networkSourceIdsInUse.has(o);
470
+ return i != null && i !== o || !a;
471
+ }
472
+ _sortFeatureObjectsByTitle(t) {
473
+ t.sort(this._compareByFeatureTitle);
474
+ }
475
+ render() {
476
+ const { _state: t } = this;
477
+ return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t === "loading" ? this._renderLoading() : t === "disabled" ? this._renderAssociationNotFound() : this._renderContent()}</div>`;
478
+ }
479
+ _renderAssociationNotFound() {
480
+ return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`;
481
+ }
482
+ _renderAssociationTypeList(t) {
483
+ return this._getFeatureCountForAssociationType(t.type) > 0 ? this._renderAssociationTypeListItem(t) : null;
484
+ }
485
+ _renderAssociationTypeListItem(t) {
486
+ const e = this._getAssociationTypeTitle(t);
487
+ return C(`association-type-${t.type}`, p`<calcite-list-item .description=${k(t.description)} .label=${k(e)} .value=${t.type} @calciteListItemSelect=${() => this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`);
488
+ }
489
+ _renderContent() {
490
+ const { _state: t, associationTypes: e, messages: s } = this, o = s?.associationsList ?? s?.noTitle ?? "";
491
+ return C("list-container", p`<div class="list-container">${t === "ready" ? p`<div><calcite-list display-mode=flat .label=${o}>${e.map((i) => this._renderAssociationTypeList(i))}</calcite-list></div>` : null}${this._renderStickyLoading()}</div>`);
492
+ }
493
+ _renderLoading() {
494
+ return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`;
495
+ }
496
+ _renderLoadingIcon() {
497
+ return p`<calcite-loader inline label></calcite-loader>`;
498
+ }
499
+ _renderStickyLoading() {
500
+ return this._state === "querying" ? p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>` : null;
501
+ }
502
+ }
503
+ T("arcgis-feature-utility-network-associations", R);
504
+ export {
505
+ R as ArcgisFeatureUtilityNetworkAssociations
506
+ };
@@ -0,0 +1,8 @@
1
+ import "../arcgis-feature-utility-network-association-list/index.js";
2
+ import "../arcgis-feature-element-info/index.js";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-list-item";
5
+ import "@esri/calcite-components/components/calcite-icon";
6
+ import "@esri/calcite-components/components/calcite-list";
7
+ import "@esri/calcite-components/components/calcite-loader";
8
+ export * from "./customElement.js";
@@ -0,0 +1,8 @@
1
+ import "../arcgis-feature-utility-network-association-list/index.js";
2
+ import "../arcgis-feature-element-info/index.js";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-list-item";
5
+ import "@esri/calcite-components/components/calcite-icon";
6
+ import "@esri/calcite-components/components/calcite-list";
7
+ import "@esri/calcite-components/components/calcite-loader";
8
+ export * from "./customElement.js";
@@ -15,10 +15,10 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
15
15
  /**
16
16
  * The Features component allows users to view a feature's popupTemplate content such as attributes,
17
17
  * actions, related records, etc., without having to be tied to a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
18
- * This component looks and behaves similarly to the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html),
18
+ * This component looks and behaves similarly to the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/) component,
19
19
  * however unlike Popup, the Features component can be placed outside of the map or scene component.
20
20
  * For example, when features are selected in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/),
21
- * the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) opens within the map whether it is docked
21
+ * the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/) opens within the map whether it is docked
22
22
  * or anchored to the selected feature.
23
23
  * With the Features component, the same information that Popup provides is shown in a separate container from the map, such as
24
24
  * a HTML div within a Calcite Design System
@@ -33,11 +33,11 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
33
33
  *
34
34
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/)
35
35
  *
36
- * @see module :esri/PopupTemplate
37
- * @see [Guide - Esri Icon Font](../esri-icon-font/)
36
+ * @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
38
37
  * @since 4.28
39
38
  */
40
39
  export declare class ArcgisFeatures extends LitElement {
40
+ /** @since 4.34 */
41
41
  viewModel: FeaturesViewModel;
42
42
  /**
43
43
  * [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [action toggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects displayed in the action bar.
@@ -104,13 +104,14 @@ export declare class ArcgisFeatures extends LitElement {
104
104
  * featuresComponent.content = "Click a feature on the map to view its attributes";
105
105
  * ```
106
106
  */
107
- content: string | HTMLElement | nullish | __esri.Widget;
107
+ content: string | nullish | HTMLElement | __esri.Widget;
108
108
  /**
109
109
  * Enables automatic creation of a popup template for layers that have popups enabled but no
110
110
  * popupTemplate defined.
111
111
  *
112
112
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#defaultPopupTemplateEnabled)
113
113
  *
114
+ * @since 4.34
114
115
  * @default false
115
116
  */
116
117
  defaultPopupTemplateEnabled: boolean;
@@ -130,7 +131,11 @@ export declare class ArcgisFeatures extends LitElement {
130
131
  * @default false
131
132
  */
132
133
  featureMenuOpen: boolean;
133
- /** Sets the title to display on the component while viewing the feature menu. */
134
+ /**
135
+ * Sets the title to display on the component while viewing the feature menu.
136
+ *
137
+ * @since 4.34
138
+ */
134
139
  featureMenuTitle: string | nullish;
135
140
  /**
136
141
  * Indicates whether the feature navigation arrows are displayed at the top of the component.
@@ -207,6 +212,7 @@ export declare class ArcgisFeatures extends LitElement {
207
212
  * corresponding template is used here.
208
213
  *
209
214
  * @see [headingLevel](#headingLevel)
215
+ * @since 4.34
210
216
  * @example
211
217
  * ```js
212
218
  * // This title will display in the component unless a selected feature's
@@ -260,13 +266,14 @@ export declare class ArcgisFeatures extends LitElement {
260
266
  /**
261
267
  * Indicates whether to hide the group heading for a list of multiple features.
262
268
  *
269
+ * @since 4.34
263
270
  * @default false
264
271
  */
265
272
  hideFeatureListLayerTitle: boolean;
266
273
  /**
267
274
  * Determines whether the component should be shown within its built-in [flow component](https://developers.arcgis.com/calcite-design-system/components/flow/) or if the flow component should be excluded.
268
275
  * The component will be displayed within its original flow component if set to `false`.
269
- * The flow component will be omitted from the widget if set to `true`.
276
+ * The flow component will be omitted from the component if set to `true`.
270
277
  * To place the component into an existing Calcite flow component, set this property to `false`.
271
278
  *
272
279
  * @default false
@@ -303,6 +310,7 @@ export declare class ArcgisFeatures extends LitElement {
303
310
  * Indicates whether to include the default actions in the component.
304
311
  * In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
305
312
  *
313
+ * @since 4.34
306
314
  * @default false
307
315
  */
308
316
  includeDefaultActionsDisabled: boolean;
@@ -329,14 +337,16 @@ export declare class ArcgisFeatures extends LitElement {
329
337
  * ```
330
338
  * @default null
331
339
  */
332
- map: __esri.Map | nullish;
340
+ map: nullish | __esri.Map;
333
341
  /**
334
342
  * Replace localized message strings with your own strings.
335
343
  *
336
344
  * _**Note**: Individual message keys may change between releases._
345
+ *
346
+ * @since 4.34
337
347
  */
338
348
  messageOverrides?: typeof this.messages._overrides;
339
- /** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
349
+ /** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
340
350
  position?: __esri.UIPosition;
341
351
  /**
342
352
  * 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.
@@ -362,7 +372,7 @@ export declare class ArcgisFeatures extends LitElement {
362
372
  * The selected feature accessed by the Features component. The content displayed in the component is
363
373
  * determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to this feature.
364
374
  */
365
- readonly selectedFeature: nullish | __esri.Graphic;
375
+ readonly selectedFeature: __esri.Graphic | nullish;
366
376
  /**
367
377
  * Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
368
378
  * This is useful if needing to get a reference to the Feature component in order to make any changes to it.
@@ -422,11 +432,12 @@ export declare class ArcgisFeatures extends LitElement {
422
432
  *
423
433
  * @since 4.34
424
434
  */
425
- view?: __esri.MapView | __esri.SceneView | nullish;
435
+ view?: nullish | __esri.MapView | __esri.SceneView;
426
436
  /**
427
437
  * Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open in the view.
428
- * Use the property to check if the popup is visible and is not
438
+ * Use the property to check if the component is visible.
429
439
  *
440
+ * @since 4.34
430
441
  * @default false
431
442
  */
432
443
  visible: boolean;
@@ -533,7 +544,11 @@ export declare class ArcgisFeatures extends LitElement {
533
544
  * @see [selectedFeatureIndex](#selectedFeatureIndex)
534
545
  */
535
546
  previous(): Promise<FeaturesViewModel>;
536
- /** Use this method to give focus to the Component if the component is able to be focused. */
547
+ /**
548
+ * Use this method to give focus to the Component if the component is able to be focused.
549
+ *
550
+ * @since 4.34
551
+ */
537
552
  setFocus(): Promise<void>;
538
553
  /**
539
554
  * Triggers the [`arcgisTriggerAction`](#arcgisTriggerAction) event and executes the action
@@ -542,7 +557,7 @@ export declare class ArcgisFeatures extends LitElement {
542
557
  triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
543
558
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
544
559
  readonly arcgisPropertyChange: TargetedEvent<this, {
545
- name: "state" | "active" | "collapsed" | "featureCount" | "visible" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent";
560
+ name: "active" | "visible" | "state" | "collapsed" | "featureCount" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent";
546
561
  }>;
547
562
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
548
563
  readonly arcgisReady: TargetedEvent<this, void>;