@arcgis/map-components 5.1.0-next.5 → 5.1.0-next.50

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 (616) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{JTFZMNCO.js → 2CHYBLOC.js} +1 -1
  3. package/dist/cdn/2G3HODZY.js +2 -0
  4. package/dist/cdn/2H4TOIDN.js +2 -0
  5. package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
  6. package/dist/cdn/{FQJMTGXO.js → 2SQ2T6UO.js} +1 -1
  7. package/dist/cdn/{GYTQDFSL.js → 2VAAAVLC.js} +1 -1
  8. package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
  9. package/dist/cdn/{KYOYYCFY.js → 3D475OQN.js} +1 -1
  10. package/dist/cdn/3GY55TR6.js +2 -0
  11. package/dist/cdn/{INS77MCT.js → 3JMJAUSY.js} +1 -1
  12. package/dist/cdn/3KOWS73L.js +2 -0
  13. package/dist/cdn/3KZ42JDF.js +2 -0
  14. package/dist/cdn/3L2UM4VM.js +2 -0
  15. package/dist/cdn/{SPACZLHW.js → 3MQK2MOH.js} +1 -1
  16. package/dist/cdn/3SDSU2FD.js +2 -0
  17. package/dist/cdn/442445AM.js +2 -0
  18. package/dist/cdn/47EM5634.js +2 -0
  19. package/dist/cdn/4BF7JJHX.js +2 -0
  20. package/dist/cdn/4EJULFOT.js +2 -0
  21. package/dist/cdn/4J5MWUWB.js +2 -0
  22. package/dist/cdn/4Q6KP7JZ.js +2 -0
  23. package/dist/cdn/{62WRVJ3U.js → 4XLVCJ6P.js} +1 -1
  24. package/dist/cdn/53A4TVFJ.js +2 -0
  25. package/dist/cdn/55IJQTCC.js +2 -0
  26. package/dist/cdn/5CJ44XUV.js +2 -0
  27. package/dist/cdn/{YA6FUJR2.js → 5DCBCU6G.js} +1 -1
  28. package/dist/cdn/5E64VGZ5.js +2 -0
  29. package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
  30. package/dist/cdn/5HJXFPDL.js +2 -0
  31. package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
  32. package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
  33. package/dist/cdn/63VDVNOO.js +2 -0
  34. package/dist/cdn/64RBSCIU.js +2 -0
  35. package/dist/cdn/6CMVUTDU.js +2 -0
  36. package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
  37. package/dist/cdn/{5V7HEV2R.js → 6DE54WXK.js} +1 -1
  38. package/dist/cdn/6K7HT6IF.js +2 -0
  39. package/dist/cdn/{OKXZJQ2B.js → 6ORHT4GS.js} +1 -1
  40. package/dist/cdn/6OUYTR22.js +2 -0
  41. package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
  42. package/dist/cdn/6ZLSCYL5.js +2 -0
  43. package/dist/cdn/73W64JNK.js +2 -0
  44. package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
  45. package/dist/cdn/{NWK2WHZF.js → 7DOI3267.js} +1 -1
  46. package/dist/cdn/7JGUTIGF.js +2 -0
  47. package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
  48. package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
  49. package/dist/cdn/{TTR6UUEQ.js → 7P2RN5VN.js} +1 -1
  50. package/dist/cdn/{XEYK67J5.js → 7RAC6JLJ.js} +1 -1
  51. package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
  52. package/dist/cdn/A2QPYUE5.js +2 -0
  53. package/dist/cdn/AE3QS3U2.js +2 -0
  54. package/dist/cdn/{GKW3DDEQ.js → AE6R5TA3.js} +1 -1
  55. package/dist/cdn/AHYA2UI7.js +2 -0
  56. package/dist/cdn/AJVS7BWH.js +2 -0
  57. package/dist/cdn/AK5ROHZH.js +2 -0
  58. package/dist/cdn/AMDRLSC6.js +2 -0
  59. package/dist/cdn/ANBLWVAY.js +2 -0
  60. package/dist/cdn/{JTEJ2NHE.js → BBCKCE5B.js} +1 -1
  61. package/dist/cdn/BHOFCE2A.js +2 -0
  62. package/dist/cdn/{LSF66JVY.js → CK5FRYUH.js} +1 -1
  63. package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
  64. package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
  65. package/dist/cdn/DE5AA22M.js +2 -0
  66. package/dist/cdn/DEUTYZQD.js +2 -0
  67. package/dist/cdn/{LVSNYSCO.js → DL5FSQTT.js} +1 -1
  68. package/dist/cdn/DQH27QCF.js +2 -0
  69. package/dist/cdn/DQJMLG55.js +2 -0
  70. package/dist/cdn/DRJGVD7E.js +2 -0
  71. package/dist/cdn/{4YQLL44L.js → DXG3NX4D.js} +1 -1
  72. package/dist/cdn/DYI5GSBP.js +2 -0
  73. package/dist/cdn/{5PJEJPFY.js → EDKX67YT.js} +1 -1
  74. package/dist/cdn/EHZW6UXL.js +2 -0
  75. package/dist/cdn/EJ3K6UKQ.js +2 -0
  76. package/dist/cdn/EU2LDM45.js +2 -0
  77. package/dist/cdn/{CMWIMRU2.js → F2MDJ3QQ.js} +1 -1
  78. package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
  79. package/dist/cdn/FIG6WRQB.js +2 -0
  80. package/dist/cdn/FL3CDOKT.js +2 -0
  81. package/dist/cdn/FWXI6DGS.js +2 -0
  82. package/dist/cdn/FZUR5QCD.js +2 -0
  83. package/dist/cdn/G2QS2EES.js +2 -0
  84. package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
  85. package/dist/cdn/GLFXKTJG.js +2 -0
  86. package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
  87. package/dist/cdn/GV445FXS.js +2 -0
  88. package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
  89. package/dist/cdn/{6XJFSJGE.js → H35H7V4U.js} +1 -1
  90. package/dist/cdn/H3W4AVNX.js +2 -0
  91. package/dist/cdn/{JFDN4YD7.js → H5TVMXUR.js} +1 -1
  92. package/dist/cdn/HBJXWV7A.js +2 -0
  93. package/dist/cdn/HIHI4JJ3.js +2 -0
  94. package/dist/cdn/HJDWKPKG.js +2 -0
  95. package/dist/cdn/HRPEPALP.js +2 -0
  96. package/dist/cdn/I3ZAURHF.js +2 -0
  97. package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
  98. package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
  99. package/dist/cdn/I7NY2VAH.js +2 -0
  100. package/dist/cdn/IUL5Z7VB.js +2 -0
  101. package/dist/cdn/IXP3RVNX.js +2 -0
  102. package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
  103. package/dist/cdn/{4IC3NWKK.js → J5DZU2LD.js} +1 -1
  104. package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
  105. package/dist/cdn/{33U3K3P2.js → JNUEXFDM.js} +1 -1
  106. package/dist/cdn/JO2YQJCG.js +2 -0
  107. package/dist/cdn/{SKGRUNAJ.js → JS63ZT7D.js} +1 -1
  108. package/dist/cdn/{D6VUTTEH.js → JSTCLI7D.js} +1 -1
  109. package/dist/cdn/JVFREF7G.js +4 -0
  110. package/dist/cdn/KMFIAOC5.js +2 -0
  111. package/dist/cdn/KOLU46FC.js +2 -0
  112. package/dist/cdn/KQE4KBPO.js +2 -0
  113. package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
  114. package/dist/cdn/{GHFKQEFW.js → L4P6QUAJ.js} +1 -1
  115. package/dist/cdn/LCWJCL4W.js +2 -0
  116. package/dist/cdn/LF3ACEGB.js +2 -0
  117. package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
  118. package/dist/cdn/LYUX5DD5.js +2 -0
  119. package/dist/cdn/MDRC374Z.js +4 -0
  120. package/dist/cdn/{AJBY2TVM.js → MFITF23R.js} +1 -1
  121. package/dist/cdn/MN6VPZBF.js +2 -0
  122. package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
  123. package/dist/cdn/MSYERWRZ.js +2 -0
  124. package/dist/cdn/{IIPYTUR3.js → N6P3CYCE.js} +1 -1
  125. package/dist/cdn/{BSRIYDMN.js → NDK2KLBE.js} +1 -1
  126. package/dist/cdn/NRDGJWVQ.js +2 -0
  127. package/dist/cdn/O5TDDX7K.js +2 -0
  128. package/dist/cdn/OCGWSO54.js +2 -0
  129. package/dist/cdn/ODQ4JQEF.js +2 -0
  130. package/dist/cdn/OGLMIUHI.js +2 -0
  131. package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
  132. package/dist/cdn/OKKVTQV5.js +2 -0
  133. package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
  134. package/dist/cdn/{MQ6HO6LA.js → OSSSLPDH.js} +1 -1
  135. package/dist/cdn/OSYS3QIX.js +2 -0
  136. package/dist/cdn/OWIJFPEZ.js +2 -0
  137. package/dist/cdn/OY3SJG2A.js +2 -0
  138. package/dist/cdn/P2ABZVPJ.js +2 -0
  139. package/dist/cdn/P4KEOVAP.js +2 -0
  140. package/dist/cdn/{7357JBTM.js → PESOHUKZ.js} +1 -1
  141. package/dist/cdn/{DUT3D6UH.js → PIRNCGNB.js} +1 -1
  142. package/dist/cdn/PZRX6DU7.js +2 -0
  143. package/dist/cdn/{X26CF5AU.js → Q33VTX4M.js} +1 -1
  144. package/dist/cdn/QFXQQ57I.js +2 -0
  145. package/dist/cdn/QUXKTXGS.js +2 -0
  146. package/dist/cdn/{7ZAVSDBZ.js → QZFSCUU6.js} +1 -1
  147. package/dist/cdn/{JBJ5NQTI.js → RBTA7SDX.js} +1 -1
  148. package/dist/cdn/RERHZ7N6.js +2 -0
  149. package/dist/cdn/RH62B2NE.js +2 -0
  150. package/dist/cdn/RO4TU5R3.js +2 -0
  151. package/dist/cdn/RRK4SIGU.js +2 -0
  152. package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
  153. package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
  154. package/dist/cdn/{KBY7C6QM.js → RT7W2L3G.js} +1 -1
  155. package/dist/cdn/RWKDHERX.js +2 -0
  156. package/dist/cdn/{4PWBNKOA.js → RZCSCSZX.js} +1 -1
  157. package/dist/cdn/S32MGHWV.js +2 -0
  158. package/dist/cdn/S4I3X6AX.js +2 -0
  159. package/dist/cdn/S676CANE.js +2 -0
  160. package/dist/cdn/SHA36V36.js +2 -0
  161. package/dist/cdn/SI3YNLBT.js +2 -0
  162. package/dist/cdn/{DU2TFEP3.js → SUCLDKGU.js} +2 -2
  163. package/dist/cdn/SUWCCBWL.js +2 -0
  164. package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
  165. package/dist/cdn/{24PK3ZLX.js → SVVJHTPA.js} +1 -1
  166. package/dist/cdn/{RISVXUI4.js → T3IOQA35.js} +1 -1
  167. package/dist/cdn/TBWM3VXL.js +2 -0
  168. package/dist/cdn/TCFMT5ET.js +2 -0
  169. package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
  170. package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
  171. package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
  172. package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
  173. package/dist/cdn/{HK6EWWUB.js → TPLNBIOY.js} +1 -1
  174. package/dist/cdn/TRD7HG5P.js +2 -0
  175. package/dist/cdn/TVLLHHUA.js +2 -0
  176. package/dist/cdn/{TCG6VGIB.js → UCJK3GTY.js} +1 -1
  177. package/dist/cdn/UDSVK25W.js +2 -0
  178. package/dist/cdn/UFMWUZE3.js +2 -0
  179. package/dist/cdn/URMIFMUJ.js +2 -0
  180. package/dist/cdn/V46EJSBT.js +2 -0
  181. package/dist/cdn/VCLHE53D.js +2 -0
  182. package/dist/cdn/VDXT7AXJ.js +2 -0
  183. package/dist/cdn/VEYOGGAN.js +2 -0
  184. package/dist/cdn/VG6AAARR.js +2 -0
  185. package/dist/cdn/VLRZCW6D.js +2 -0
  186. package/dist/cdn/{BQMLNDT6.js → VQLAZAPA.js} +1 -1
  187. package/dist/cdn/W73LTDPZ.js +2 -0
  188. package/dist/cdn/WDAYQZKY.js +2 -0
  189. package/dist/cdn/WH7FEIAX.js +2 -0
  190. package/dist/cdn/{JLK664TB.js → WR3AVKYZ.js} +1 -1
  191. package/dist/cdn/{4363SIKC.js → WUWAJE6E.js} +1 -1
  192. package/dist/cdn/XEXCDGSR.js +2 -0
  193. package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
  194. package/dist/cdn/XPZYTUFI.js +2 -0
  195. package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
  196. package/dist/cdn/{P4PTEXIJ.js → YIIQACF6.js} +1 -1
  197. package/dist/cdn/YSJ2M36J.js +2 -0
  198. package/dist/cdn/YXUK3MCB.js +2 -0
  199. package/dist/cdn/Z2WO7B65.js +2 -0
  200. package/dist/cdn/Z5NISON6.js +2 -0
  201. package/dist/cdn/ZBPKNJD3.js +2 -0
  202. package/dist/cdn/ZD4Y4HRX.js +2 -0
  203. package/dist/cdn/{BUE7MOVD.js → ZOCF3BGK.js} +1 -1
  204. package/dist/cdn/ZYCOEJDE.js +2 -0
  205. package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
  206. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  207. package/dist/cdn/index.js +1 -1
  208. package/dist/cdn/main.css +1 -1
  209. package/dist/chunks/AnalysisViewModel.js +106 -99
  210. package/dist/chunks/action-utils.js +2 -2
  211. package/dist/chunks/component-utils.js +85 -72
  212. package/dist/chunks/esri-main.js +1 -1
  213. package/dist/chunks/feature-utils.js +73 -73
  214. package/dist/chunks/heading.js +2 -2
  215. package/dist/chunks/layer-utils.js +38 -12
  216. package/dist/chunks/measurementUtils.js +12 -12
  217. package/dist/chunks/slots.js +27 -27
  218. package/dist/chunks/useArcgisViewReadyError.js +11 -11
  219. package/dist/chunks/useViewModel.js +5 -5
  220. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  221. package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
  222. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  223. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
  224. package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
  225. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  226. package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
  227. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  228. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  229. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
  230. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  231. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  232. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  233. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  234. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  235. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  236. package/dist/components/arcgis-building-explorer/customElement.js +17 -12
  237. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  238. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +120 -73
  239. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  240. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  241. package/dist/components/arcgis-compass/customElement.js +1 -1
  242. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  243. package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
  244. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  245. package/dist/components/arcgis-daylight/customElement.js +212 -206
  246. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  247. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
  248. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
  249. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  250. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  251. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  252. package/dist/components/arcgis-directions/customElement.js +31 -9
  253. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  254. package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
  255. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  256. package/dist/components/arcgis-editor/customElement.d.ts +79 -18
  257. package/dist/components/arcgis-editor/customElement.js +23 -14
  258. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  259. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  260. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  261. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  262. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  263. package/dist/components/arcgis-expand/types.d.ts +1 -0
  264. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  265. package/dist/components/arcgis-feature/customElement.js +39 -39
  266. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  267. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  268. package/dist/components/arcgis-feature-fields/customElement.js +23 -22
  269. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  270. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  271. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  272. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  273. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  274. package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
  275. package/dist/components/arcgis-feature-table/customElement.js +46 -30
  276. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  277. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  278. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  279. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
  280. package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
  281. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +34 -40
  282. package/dist/components/arcgis-features/customElement.d.ts +70 -70
  283. package/dist/components/arcgis-features/customElement.js +74 -79
  284. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  285. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  286. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  287. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  288. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  289. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  290. package/dist/components/arcgis-home/customElement.js +16 -14
  291. package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
  292. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  293. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  294. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  295. package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
  296. package/dist/components/arcgis-link-chart/customElement.js +8 -8
  297. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  298. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  299. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  300. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  301. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  302. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  303. package/dist/components/arcgis-locate/customElement.js +24 -23
  304. package/dist/components/arcgis-map/customElement.d.ts +189 -181
  305. package/dist/components/arcgis-map/customElement.js +4 -4
  306. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  307. package/dist/components/arcgis-measurement-content/customElement.js +18 -14
  308. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  309. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  310. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  311. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  312. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  313. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  314. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  315. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  316. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  317. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  318. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  319. package/dist/components/arcgis-paste/customElement.js +59 -54
  320. package/dist/components/arcgis-paste/index.js +1 -1
  321. package/dist/components/arcgis-popup/customElement.d.ts +87 -75
  322. package/dist/components/arcgis-popup/customElement.js +121 -125
  323. package/dist/components/arcgis-popup/types.d.ts +2 -2
  324. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  325. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  326. package/dist/components/arcgis-presentation/customElement.js +6 -6
  327. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  328. package/dist/components/arcgis-print/customElement.js +7 -7
  329. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  330. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  331. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  332. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
  333. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  334. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  335. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  336. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  337. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  338. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  339. package/dist/components/arcgis-scene/customElement.d.ts +185 -177
  340. package/dist/components/arcgis-scene/customElement.js +10 -10
  341. package/dist/components/arcgis-search/customElement.d.ts +55 -59
  342. package/dist/components/arcgis-search/customElement.js +13 -12
  343. package/dist/components/arcgis-search/types.d.ts +1 -0
  344. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  345. package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
  346. package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
  347. package/dist/components/arcgis-sketch/customElement.js +31 -19
  348. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  349. package/dist/components/arcgis-slice/customElement.js +11 -10
  350. package/dist/components/arcgis-slice/types.d.ts +4 -0
  351. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  352. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  353. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  354. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  355. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
  356. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  357. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
  358. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
  359. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  360. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
  361. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  362. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  363. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  364. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
  365. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  366. package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
  367. package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
  368. package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
  369. package/dist/components/arcgis-swipe/customElement.js +55 -43
  370. package/dist/components/arcgis-table-list/customElement.d.ts +115 -80
  371. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  372. package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
  373. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  374. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  375. package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
  376. package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
  377. package/dist/components/arcgis-time-zone-label/index.js +1 -1
  378. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  379. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  380. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
  381. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
  382. package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
  383. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  384. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  385. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
  387. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
  388. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  389. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  390. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
  391. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +116 -73
  392. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
  393. package/dist/components/arcgis-utility-network-trace-location/customElement.js +214 -209
  394. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
  395. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
  396. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
  397. package/dist/components/arcgis-utility-network-trace-results/customElement.js +113 -92
  398. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  399. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  400. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  401. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  402. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  403. package/dist/components/arcgis-version-management/customElement.js +1 -1
  404. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  405. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  406. package/dist/components/arcgis-video/customElement.d.ts +13 -11
  407. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  408. package/dist/components/arcgis-video-player/customElement.js +2 -2
  409. package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
  410. package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
  411. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  412. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  413. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  414. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  415. package/dist/components/arcgis-zoom/customElement.js +1 -1
  416. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  417. package/dist/components/types.d.ts +58 -1
  418. package/dist/docs/api.json +1 -1
  419. package/dist/docs/docs.json +1 -1
  420. package/dist/docs/vscode.css-custom-data.json +1 -1
  421. package/dist/docs/vscode.html-custom-data.json +1 -1
  422. package/dist/docs/web-types.json +1 -1
  423. package/dist/index.d.ts +13 -35
  424. package/dist/loader.js +35 -35
  425. package/dist/types/lumina.d.ts +32 -54
  426. package/dist/types/preact.d.ts +33 -59
  427. package/dist/types/react.d.ts +34 -64
  428. package/dist/types/stencil.d.ts +32 -54
  429. package/package.json +7 -7
  430. package/dist/cdn/22LNBUKE.js +0 -2
  431. package/dist/cdn/23UYZVTW.js +0 -2
  432. package/dist/cdn/2BJHF4JK.js +0 -2
  433. package/dist/cdn/2K45WUVH.js +0 -2
  434. package/dist/cdn/3NKCXSOG.js +0 -2
  435. package/dist/cdn/3WKKQ4VO.js +0 -2
  436. package/dist/cdn/4TURMTXA.js +0 -2
  437. package/dist/cdn/4URF7CKU.js +0 -2
  438. package/dist/cdn/5FZLG5YS.js +0 -2
  439. package/dist/cdn/5NUK7GUG.js +0 -2
  440. package/dist/cdn/5RBOHMMK.js +0 -2
  441. package/dist/cdn/6NR6EZZI.js +0 -2
  442. package/dist/cdn/6Q52PYPA.js +0 -2
  443. package/dist/cdn/6V543DNR.js +0 -2
  444. package/dist/cdn/6ZNO34O5.js +0 -2
  445. package/dist/cdn/77ERVO5S.js +0 -2
  446. package/dist/cdn/7CBBWB77.js +0 -2
  447. package/dist/cdn/7ZCMIKP6.js +0 -2
  448. package/dist/cdn/AVVMBZTY.js +0 -2
  449. package/dist/cdn/B2WEYYED.js +0 -2
  450. package/dist/cdn/BAPY2HFP.js +0 -2
  451. package/dist/cdn/BB5CXHDQ.js +0 -2
  452. package/dist/cdn/BEXRPBHT.js +0 -2
  453. package/dist/cdn/BGOWWLCQ.js +0 -2
  454. package/dist/cdn/BMR2YFEM.js +0 -2
  455. package/dist/cdn/C2PSJPHR.js +0 -2
  456. package/dist/cdn/CEJGZMGB.js +0 -2
  457. package/dist/cdn/CIUAWIL5.js +0 -4
  458. package/dist/cdn/CKNH5OMJ.js +0 -2
  459. package/dist/cdn/CNMF4MVD.js +0 -2
  460. package/dist/cdn/CQ2L75M3.js +0 -2
  461. package/dist/cdn/CUWONRT5.js +0 -2
  462. package/dist/cdn/CXOYV56L.js +0 -2
  463. package/dist/cdn/DJYDBSLW.js +0 -2
  464. package/dist/cdn/DLFGSUYT.js +0 -2
  465. package/dist/cdn/E4YMNWRJ.js +0 -2
  466. package/dist/cdn/EJZTSGNS.js +0 -2
  467. package/dist/cdn/EL62JS5C.js +0 -2
  468. package/dist/cdn/EPQN4FJS.js +0 -2
  469. package/dist/cdn/EQKQCYUY.js +0 -2
  470. package/dist/cdn/ET6YD3C7.js +0 -2
  471. package/dist/cdn/EYW7YQF6.js +0 -2
  472. package/dist/cdn/FEQLUSM2.js +0 -2
  473. package/dist/cdn/FFDRV5ZO.js +0 -2
  474. package/dist/cdn/FOMIDTAN.js +0 -2
  475. package/dist/cdn/FTBTVD7U.js +0 -2
  476. package/dist/cdn/G4A4VLTL.js +0 -2
  477. package/dist/cdn/G7PHEWBZ.js +0 -2
  478. package/dist/cdn/GLNRLEZE.js +0 -2
  479. package/dist/cdn/GQN4ALIE.js +0 -2
  480. package/dist/cdn/GUAI5SHN.js +0 -2
  481. package/dist/cdn/GYDNEXYU.js +0 -2
  482. package/dist/cdn/HGNP2J3R.js +0 -2
  483. package/dist/cdn/HVI2FE73.js +0 -2
  484. package/dist/cdn/I2WEEE2E.js +0 -2
  485. package/dist/cdn/I6DTC6TX.js +0 -2
  486. package/dist/cdn/ILPNFQWH.js +0 -2
  487. package/dist/cdn/J7ZNOOZ4.js +0 -2
  488. package/dist/cdn/JCV26SSG.js +0 -2
  489. package/dist/cdn/JDZWJLJX.js +0 -2
  490. package/dist/cdn/JLIZWDU5.js +0 -2
  491. package/dist/cdn/JMHCIJG4.js +0 -2
  492. package/dist/cdn/KE3XRRXO.js +0 -2
  493. package/dist/cdn/KECAR2NZ.js +0 -2
  494. package/dist/cdn/KEFY4XPI.js +0 -2
  495. package/dist/cdn/KNJ7PME5.js +0 -2
  496. package/dist/cdn/KRCRJUYG.js +0 -2
  497. package/dist/cdn/KS2LPB5B.js +0 -2
  498. package/dist/cdn/L6LZYPWJ.js +0 -2
  499. package/dist/cdn/L7NIKN24.js +0 -2
  500. package/dist/cdn/LLNNQ2ED.js +0 -2
  501. package/dist/cdn/LMV6L2OF.js +0 -2
  502. package/dist/cdn/LVMJAMRO.js +0 -2
  503. package/dist/cdn/LZ3PMD7Z.js +0 -2
  504. package/dist/cdn/LZ7PMWXR.js +0 -2
  505. package/dist/cdn/LZFDWRYI.js +0 -2
  506. package/dist/cdn/MSMDSEFM.js +0 -2
  507. package/dist/cdn/MW73TE2N.js +0 -2
  508. package/dist/cdn/N76CLHYJ.js +0 -2
  509. package/dist/cdn/NJJEL5BK.js +0 -2
  510. package/dist/cdn/OF4IOSNA.js +0 -2
  511. package/dist/cdn/OJNMPOYD.js +0 -2
  512. package/dist/cdn/OKZSKR6W.js +0 -2
  513. package/dist/cdn/OXHLBFME.js +0 -2
  514. package/dist/cdn/PCQ5PXPF.js +0 -2
  515. package/dist/cdn/PESPV6VP.js +0 -2
  516. package/dist/cdn/PFYZ7JRB.js +0 -2
  517. package/dist/cdn/PNDLNFML.js +0 -2
  518. package/dist/cdn/POEZXWTT.js +0 -2
  519. package/dist/cdn/PTWLVTFS.js +0 -4
  520. package/dist/cdn/RTSTVBQI.js +0 -2
  521. package/dist/cdn/RXFUZXUX.js +0 -2
  522. package/dist/cdn/S52VES4H.js +0 -2
  523. package/dist/cdn/SFM3XWUA.js +0 -2
  524. package/dist/cdn/SRSYUCVL.js +0 -2
  525. package/dist/cdn/SSZMOOL6.js +0 -2
  526. package/dist/cdn/SZNBYDQI.js +0 -2
  527. package/dist/cdn/TM5C2P2F.js +0 -2
  528. package/dist/cdn/U5HXLA7K.js +0 -2
  529. package/dist/cdn/UTH3SGAS.js +0 -2
  530. package/dist/cdn/UZ7KLWGC.js +0 -2
  531. package/dist/cdn/V3M37NHT.js +0 -2
  532. package/dist/cdn/VGFC3ME5.js +0 -2
  533. package/dist/cdn/VGTTCLO3.js +0 -2
  534. package/dist/cdn/VJMMA6UX.js +0 -2
  535. package/dist/cdn/VPJCFCJU.js +0 -2
  536. package/dist/cdn/VYHDFNKP.js +0 -2
  537. package/dist/cdn/WICYZB2Q.js +0 -2
  538. package/dist/cdn/XGJPCRX3.js +0 -2
  539. package/dist/cdn/XWAT4IT2.js +0 -2
  540. package/dist/cdn/XXDOZQ6Q.js +0 -2
  541. package/dist/cdn/Y7HDE5NQ.js +0 -2
  542. package/dist/cdn/YEDAGZUF.js +0 -2
  543. package/dist/cdn/YSDQ5VNK.js +0 -2
  544. package/dist/cdn/Z3OV6UKM.js +0 -2
  545. package/dist/cdn/Z6VVHLCW.js +0 -2
  546. package/dist/cdn/ZHINQNZ2.js +0 -2
  547. package/dist/cdn/ZIX3WE2Q.js +0 -2
  548. package/dist/cdn/ZMLRDNKR.js +0 -2
  549. package/dist/cdn/ZPEH2TRN.js +0 -2
  550. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  551. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  552. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  553. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  554. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  555. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  556. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  557. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  558. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  559. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  560. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  561. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  562. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  563. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  564. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  565. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  566. package/dist/components/support/goTo.d.ts +0 -37
  567. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  568. package/dist/support/heading.d.ts +0 -1
  569. package/dist/support/measurementUtils.d.ts +0 -1
  570. package/dist/utils/action-utils.d.ts +0 -3
  571. package/dist/utils/component-utils.d.ts +0 -5
  572. /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
  573. /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
  574. /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
  575. /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
  576. /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
  577. /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
  578. /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
  579. /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
  580. /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
  581. /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
  582. /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
  583. /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
  584. /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
  585. /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
  586. /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
  587. /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
  588. /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
  589. /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
  590. /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
  591. /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
  592. /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
  593. /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
  594. /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
  595. /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
  596. /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
  597. /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
  598. /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
  599. /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
  600. /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
  601. /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
  602. /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
  603. /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
  604. /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
  605. /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
  606. /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
  607. /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
  608. /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
  609. /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
  610. /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
  611. /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
  612. /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
  613. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  614. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  615. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  616. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,39 +1,48 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as y } from "../../chunks/runtime.js";
3
- import { repeat as b } from "lit/directives/repeat.js";
2
+ import { c as _ } from "../../chunks/runtime.js";
3
+ import { repeat as k } from "lit/directives/repeat.js";
4
+ import { ref as d } from "lit/directives/ref.js";
4
5
  import { queryAllJSON as g } from "@arcgis/core/applications/Components/featureUtils.js";
5
6
  import c from "@arcgis/core/core/Collection.js";
6
- import { substitute as k } from "@arcgis/core/intl.js";
7
- import _ from "@arcgis/core/layers/GraphicsLayer.js";
8
- import S from "@arcgis/core/networks/support/UNTraceConfiguration.js";
9
- import T from "@arcgis/core/rest/networks/support/TraceLocation.js";
7
+ import { watch as S } from "@arcgis/core/core/reactiveUtils.js";
8
+ import { substitute as T } from "@arcgis/core/intl.js";
9
+ import C from "@arcgis/core/layers/GraphicsLayer.js";
10
+ import L from "@arcgis/core/networks/support/UNTraceConfiguration.js";
11
+ import N from "@arcgis/core/rest/networks/support/TraceLocation.js";
10
12
  import m from "@arcgis/core/rest/support/FeatureSet.js";
11
- import h from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
12
- import C from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
13
- import { LitElement as L, createEvent as l } from "@arcgis/lumina";
14
- import { usePropertyChange as N } from "@arcgis/lumina/controllers";
15
- import { log as u, composeMissingPropertyMessage as $, composeEmptyPropertyMessage as v } from "@arcgis/toolkit/log";
16
- import { css as F, html as s } from "lit";
17
- import { createRef as E, ref as U } from "lit/directives/ref.js";
18
- import { u as I } from "../../chunks/useT9n.js";
19
- import { h as f } from "../../chunks/feature-utils.js";
20
- import { a as P, i as A } from "../../chunks/layer-utils.js";
21
- const M = F`:host{width:100%;height:100%}#feature-select,#features-list{min-height:300px;max-height:calc(100vh - 300px)}.root calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.root calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.root calcite-block calcite-select,.root calcite-block calcite-input{padding:0 var(--calcite-spacing-md)}.root calcite-block calcite-input-message{padding-top:var(--calcite-spacing-sm);padding-right:var(--calcite-spacing-md);padding-bottom:0;padding-left:var(--calcite-spacing-md)}.root calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.root calcite-notice{padding:var(--calcite-spacing-md)}.root .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;padding:var(--calcite-spacing-md);flex-direction:column;justify-content:left;gap:var(--calcite-spacing-sm);align-self:stretch}.heading{color:var(--calcite-color-text-1);margin:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}.subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`, w = `utility-network-trace-inputs-sketch-${Date.now()}`, d = `utility-network-trace-inputs-flags-${Date.now()}`, x = 20;
22
- class B extends L {
13
+ import f from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
14
+ import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
15
+ import { LitElement as v, createEvent as l } from "@arcgis/lumina";
16
+ import { usePropertyChange as E } from "@arcgis/lumina/controllers";
17
+ import { log as h, composeMissingPropertyMessage as P, composeEmptyPropertyMessage as F } from "@arcgis/toolkit/log";
18
+ import { css as I, html as s } from "lit";
19
+ import { u as U } from "../../chunks/useT9n.js";
20
+ import { h as w } from "../../chunks/feature-utils.js";
21
+ import { c as A, b as y, a as b, i as D } from "../../chunks/layer-utils.js";
22
+ const M = I`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-select,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md) 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}`, u = `utility-network-trace-inputs-sketch-${Date.now()}`, B = 20;
23
+ class x extends v {
23
24
  constructor() {
24
- super(...arguments), this._messages = I({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new c(), this._barriers = new c(), this._stoppingPoints = new c(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
25
+ super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = U({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new c(), this._barriers = new c(), this._stoppingPoints = new c(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
25
26
  "subnetwork",
26
27
  "subnetwork-controller",
27
28
  "upstream",
28
29
  "downstream",
29
30
  "isolation"
30
- ]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this._hitTestPromise = null, this._featuresFromHitTest = [], this._featuresComponentRef = E(), this._displayLimit = 20, this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._exceedDisplayLimit = !1, this.mode = "default", this.arcgisTraceInputsChange = l(), this.arcgisUtilityNetworkChange = l(), this.arcgisSelectedNamedTraceConfigurationChange = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisPropertyChange = N()("mode"), this.renderFeatureListItem = (e) => {
31
+ ]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this._hitTestPromise = null, this._featuresFromHitTest = [], this._displayLimit = 20, this._traceLocationStartingRefChange = (e) => {
32
+ e && (this._traceLocationStartingElement = e);
33
+ }, this._traceLocationBarrierRefChange = (e) => {
34
+ e && (this._traceLocationBarrierElement = e);
35
+ }, this._traceLocationStoppingRefChange = (e) => {
36
+ e && (this._traceLocationStoppingElement = e);
37
+ }, this._featuresComponentRefChange = (e) => {
38
+ e && (this._featuresComponentElement = e);
39
+ }, this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.mode = "default", this.arcgisPropertyChange = E()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = l(), this.arcgisTraceInputsChange = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisUtilityNetworkChange = l(), this.renderFeatureListItem = (e) => {
31
40
  const { feature: t, label: i } = e;
32
41
  return s`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this._handleFeatureSelectChange(t)}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
33
42
  };
34
43
  }
35
44
  static {
36
- this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, _selectedFeature: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, unTraceConfiguration: 32, referenceElement: 1, mode: 1, traceLocations: 32 };
45
+ this.properties = { compatibleSubnetworkNames: 16, subnetworksTable: 16, traceConfigurations: 16, utilityNetworks: 16, _unTraceConfiguration: 16, _state: 16, _activeTraceLocationType: 16, _selectedFeature: 16, _exceedDisplayLimit: 16, beforeTraceLocationSelectStart: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, hideActionBar: 5, unTraceConfiguration: 32, referenceElement: 1, mode: 3, traceLocations: 32 };
37
46
  }
38
47
  static {
39
48
  this.styles = M;
@@ -52,13 +61,24 @@ class B extends L {
52
61
  const { view: e } = this;
53
62
  return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
54
63
  }
64
+ get showStartingPoints() {
65
+ return !this.isSubnetworkNameTraceSelected;
66
+ }
67
+ get showStoppingPoints() {
68
+ const e = this.selectedNamedTraceConfiguration?.traceType;
69
+ return e === "path" || e === "circuit";
70
+ }
71
+ get _subnetworkLayerIds() {
72
+ const e = this.selectedUtilityNetwork?.dataElement?.domainNetworks;
73
+ return e ? e.map((t) => t.subnetworkLayerId).filter((t) => t != null && t > -1) : [];
74
+ }
55
75
  get unTraceConfiguration() {
56
76
  return this._unTraceConfiguration;
57
77
  }
58
78
  get traceLocations() {
59
79
  const e = [], t = (i) => {
60
80
  i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
61
- e.push(new T({
81
+ e.push(new N({
62
82
  type: i.traceLocation.type,
63
83
  isFilterBarrier: i.traceLocation.isFilterBarrier,
64
84
  globalId: i.traceLocation.globalId,
@@ -67,49 +87,69 @@ class B extends L {
67
87
  }));
68
88
  }) : e.push(i.traceLocation);
69
89
  };
70
- return this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this._stoppingPoints.forEach((i) => t(i)), e;
90
+ return this.showStartingPoints && this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this.showStoppingPoints && this._stoppingPoints.forEach((i) => t(i)), e;
91
+ }
92
+ async destroy() {
93
+ this._removeGraphicLayer(u), this._clearTraceLocations(), this._sketchViewModel?.cancel(), this._featuresComponentElement?.destroy(), this._traceLocationStartingElement?.destroy(), this._traceLocationBarrierElement?.destroy(), this._traceLocationStoppingElement?.destroy(), await this.manager.destroy();
71
94
  }
72
95
  load() {
73
- this._setupUtilityNetwork(), this._setupSketchViewModel();
96
+ this.manager.onLifecycle(() => [
97
+ S(() => this.view?.map, () => {
98
+ this._setupUtilityNetwork(), this._setupSketchViewModel();
99
+ }, { initial: !0 })
100
+ ]);
74
101
  }
75
102
  willUpdate(e) {
76
103
  const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
77
104
  (e.has("utilityNetworks") || !t || t.length === 0 || !i || !t?.includes(i)) && this._handleUtilityNetworksChange(), e.has("selectedUtilityNetwork") && (this.arcgisUtilityNetworkChange.emit(), this._handleSelectedUtilityNetworkChange()), e.has("selectedNamedTraceConfiguration") && (this.arcgisTraceInputsChange.emit(), this.arcgisSelectedNamedTraceConfigurationChange.emit(), this._handleTraceConfigChange()), e.has("selectedSubnetworkName") && this.arcgisTraceInputsChange.emit();
78
105
  }
106
+ disconnectedCallback() {
107
+ super.disconnectedCallback(), this._layerIdToLayer.clear();
108
+ }
79
109
  _clearTraceLocations() {
80
- this._getGraphicLayer(d)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
110
+ this._startingPoints.forEach((e) => {
111
+ e.spatialProperties.flagGraphic && this.view?.graphics.remove(e.spatialProperties.flagGraphic);
112
+ }), this._startingPoints.removeAll(), this._barriers.forEach((e) => {
113
+ e.spatialProperties.flagGraphic && this.view?.graphics.remove(e.spatialProperties.flagGraphic);
114
+ }), this._barriers.removeAll(), this._stoppingPoints.forEach((e) => {
115
+ e.spatialProperties.flagGraphic && this.view?.graphics.remove(e.spatialProperties.flagGraphic);
116
+ }), this._stoppingPoints.removeAll();
81
117
  }
82
118
  _createGraphicLayer(e) {
83
119
  const { map: t } = this.view;
84
120
  if (!t?.findLayerById(e)) {
85
- const a = new _({
121
+ const a = new C({
86
122
  id: e,
87
123
  listMode: "hide",
88
124
  title: e
89
125
  });
90
- P(this.view, a);
126
+ A(this.view, a);
91
127
  }
92
128
  }
93
129
  _getGraphicLayer(e) {
94
130
  const { map: t } = this.view;
95
131
  if (t) {
96
132
  const i = t.findLayerById(e);
97
- if (A(i))
133
+ if (y(i))
98
134
  return t.reorder(i, t.layers.length - 1), i;
99
135
  }
100
136
  return null;
101
137
  }
138
+ _removeGraphicLayer(e) {
139
+ const { map: t } = this.view, i = t?.findLayerById(e);
140
+ i && y(i) && t?.remove(i);
141
+ }
102
142
  _setSnappingOption() {
103
143
  const { _sketchViewModel: e, _unLayers: t } = this;
104
144
  if (e && t && t.length > 0) {
105
145
  const i = new c();
106
146
  t.forEach((a) => {
107
- a.type === "subtype-group" ? a.sublayers.forEach((r) => {
108
- i.add(new h({
147
+ b(a) ? a.sublayers.forEach((r) => {
148
+ i.add(new f({
109
149
  layer: r,
110
150
  enabled: !0
111
151
  }));
112
- }) : i.add(new h({
152
+ }) : i.add(new f({
113
153
  layer: a,
114
154
  enabled: !0
115
155
  }));
@@ -121,17 +161,14 @@ class B extends L {
121
161
  }
122
162
  }
123
163
  _initializeSketchViewModel() {
124
- const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(w), a = new c();
125
- return t?.forEach((r) => a.add(new h({
126
- layer: r,
127
- enabled: !0
128
- }))), new C({
129
- layer: i,
164
+ const { view: e } = this, t = this._getGraphicLayer(u);
165
+ return new $({
166
+ layer: t,
130
167
  view: e
131
168
  });
132
169
  }
133
170
  _setupSketchViewModel() {
134
- this._createGraphicLayer(w), this._createGraphicLayer(d), this._sketchViewModel = this._initializeSketchViewModel();
171
+ this._createGraphicLayer(u), this._sketchViewModel = this._initializeSketchViewModel(), this._setSnappingOption();
135
172
  }
136
173
  _clearSubnetworks() {
137
174
  this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
@@ -160,15 +197,15 @@ class B extends L {
160
197
  _selectTraceConfigurationByGuid(e) {
161
198
  const t = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find((i) => i.globalId === e);
162
199
  if (!t) {
163
- u("error", this, "`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");
200
+ h("error", this, "`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");
164
201
  return;
165
202
  }
166
203
  this.selectedNamedTraceConfiguration = t;
167
204
  }
168
205
  _handleTraceConfigChange() {
169
206
  const { selectedNamedTraceConfiguration: e } = this;
170
- if (!(e?.traceConfiguration instanceof S)) {
171
- u("error", this, $("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
207
+ if (!(e?.traceConfiguration instanceof L)) {
208
+ h("error", this, P("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
172
209
  return;
173
210
  }
174
211
  switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
@@ -181,16 +218,16 @@ class B extends L {
181
218
  await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
182
219
  }
183
220
  _setupTraceConfigurations() {
184
- this._unTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter((e) => e.traceType !== "path" && e.traceType !== "circuit") || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
221
+ this._unTraceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "path" && e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
185
222
  }
186
223
  _filterUnLayers() {
187
224
  const { selectedUtilityNetwork: e } = this;
188
- this._unLayers = new c(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
225
+ this._unLayers = new c(this._allLayers.filter((t) => e?.isUtilityLayer(t) && !this._subnetworkLayerIds.includes(t.layerId))), this._setSnappingOption();
189
226
  }
190
227
  _handleUtilityNetworksChange() {
191
228
  const { utilityNetworks: e } = this;
192
229
  if (!e || e.length === 0) {
193
- this._state = "error", u("error", this, v("utilityNetworks"));
230
+ this.selectedUtilityNetwork = void 0, this._state = "error", h("error", this, F("utilityNetworks"));
194
231
  return;
195
232
  }
196
233
  (!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
@@ -200,7 +237,7 @@ class B extends L {
200
237
  const e = this.view.map;
201
238
  await e.load(), this.utilityNetworks = e.utilityNetworks || void 0;
202
239
  } else
203
- this._state = "disabled", u("error", this, "The property `view.map` is required to load utility networks but is missing.");
240
+ this._state = "disabled", h("error", this, "The property `view.map` is required to load utility networks but is missing.");
204
241
  }
205
242
  _handleTraceLocationSelectStart(e) {
206
243
  if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented) {
@@ -225,13 +262,15 @@ class B extends L {
225
262
  i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((r) => r.getObjectId()), i.outFields = ["*"];
226
263
  const { features: a } = m.fromJSON(await g(e, i));
227
264
  return a.forEach((r) => {
228
- r.layer = e.type === "subtype-group" ? e.findSublayerForFeature(r) : e, r.origin = r.layer;
265
+ r.layer = b(e) ? e.findSublayerForFeature(r) : e, r.origin = r.layer;
266
+ const o = r.layer;
267
+ r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = o.createPopupTemplate());
229
268
  }), a;
230
269
  }
231
270
  async _populateFeaturesWithLabel(e) {
232
271
  const t = /* @__PURE__ */ new Map();
233
272
  e.forEach((a) => {
234
- const r = a.layer?.type === "subtype-sublayer" ? a.layer.parent : a.layer;
273
+ const r = D(a.layer) ? a.layer.parent : a.layer;
235
274
  if (r) {
236
275
  const o = r.layerId, n = this._getLayerByLayerId(o);
237
276
  if (n) {
@@ -247,30 +286,37 @@ class B extends L {
247
286
  })), await Promise.all(i.map(async (a) => {
248
287
  const r = a.layer;
249
288
  if (r && "getFeatureTitle" in r) {
250
- const o = await r.getFeatureTitle(a) || f(a);
289
+ const o = await r.getFeatureTitle(a) || w(a);
251
290
  return { feature: a, label: o };
252
291
  }
253
- return { feature: a, label: f(a) };
292
+ return { feature: a, label: w(a) };
254
293
  }));
255
294
  }
256
295
  async _handleHitTestComplete(e) {
257
- return this._exceedDisplayLimit = e.length > this._displayLimit, this._featuresFromHitTest = await this._populateFeaturesWithLabel(e.slice(0, this._displayLimit)), this._featuresFromHitTest.length === 0 ? (this._handleAddSpatialCancelClick(), await Promise.reject(Error("No features found"))) : (this.mode = "add-spatial-feature-list", this._hitTestPromise?.reject(), this._hitTestPromise = Promise.withResolvers(), await this._hitTestPromise.promise);
296
+ if (this._exceedDisplayLimit = e.length > this._displayLimit, this._featuresFromHitTest = await this._populateFeaturesWithLabel(e.slice(0, this._displayLimit)), this._featuresFromHitTest.length === 0)
297
+ return this._handleAddSpatialCancelClick(), await Promise.reject(Error("No features found"));
298
+ if (this._featuresFromHitTest.length === 1) {
299
+ const [{ feature: t }] = this._featuresFromHitTest;
300
+ this._selectedFeature = t, this.mode = "add-spatial-feature";
301
+ } else
302
+ this.mode = "add-spatial-feature-list";
303
+ return this._hitTestPromise?.reject(), this._hitTestPromise = Promise.withResolvers(), await this._hitTestPromise.promise;
258
304
  }
259
305
  _handleTraceLocationSelectEnd(e) {
260
306
  e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this._handleAddSpatialCancelClick();
261
307
  }
262
308
  _handleAddSpatialCancelClick(e) {
263
309
  e?.stopPropagation();
264
- const t = this._featuresComponentRef.value;
310
+ const t = this._featuresComponentElement;
265
311
  t && t.clear(), this._selectedFeature = void 0, this.mode = "default", this._sketchViewModel?.cancel(), this._hitTestPromise?.reject(), this._hitTestPromise = null;
266
312
  }
267
313
  _handleFeaturesClose() {
268
314
  this.mode = "add-spatial-feature-list", this._selectedFeature = void 0;
269
315
  }
270
316
  _handleAddSpatialAddClick() {
271
- const { _hitTestPromise: e, _featuresComponentRef: t } = this;
272
- if (e && t?.value) {
273
- const i = t.value, a = i.selectedDrillInFeature ?? i.selectedFeature;
317
+ const { _hitTestPromise: e, _featuresComponentElement: t } = this;
318
+ if (e && t) {
319
+ const i = t, a = i.selectedDrillInFeature ?? i.selectedFeature;
274
320
  if (!a)
275
321
  return;
276
322
  e.resolve(a), this._hitTestPromise = null;
@@ -288,8 +334,8 @@ class B extends L {
288
334
  renderTraceSelection() {
289
335
  const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
290
336
  if (t.length === 0)
291
- return this.renderError(e.errors.noTraceConfigurationError, !0);
292
- const a = b(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
337
+ return this.renderError(e.errors.noTraceConfigurationError);
338
+ const a = k(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
293
339
  return s`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
294
340
  this._selectTraceConfigurationByGuid(r.target.value);
295
341
  }}>${a}</calcite-select></calcite-block>`;
@@ -309,7 +355,7 @@ class B extends L {
309
355
  return s`<calcite-flow-item .selected=${i === "add-spatial-instructions"} .heading=${a} @calciteFlowItemBack=${(r) => this._handleAddSpatialCancelClick(r)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`;
310
356
  }
311
357
  renderFeaturesList(e) {
312
- return s`<calcite-list id=features-list label="Feature list">${e.map(this.renderFeatureListItem)}</calcite-list>`;
358
+ return s`<calcite-list label="Feature list">${e.map(this.renderFeatureListItem)}</calcite-list>`;
313
359
  }
314
360
  renderHitTestResults() {
315
361
  const { _messages: e, _activeTraceLocationType: t, _featuresFromHitTest: i, mode: a } = this, r = t === "starting-point" ? e.labels.addSpatial.startingPoint : t === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
@@ -317,29 +363,26 @@ class B extends L {
317
363
  }
318
364
  renderSelectedFeature() {
319
365
  const { _selectedFeature: e } = this;
320
- if (!e)
321
- return this.mode = "default", null;
322
- const t = this._featuresComponentRef.value, i = t?.selectedFeature ? [t.selectedFeature] : [e];
323
- return s`<arcgis-features id=feature-select .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} open @arcgisClose=${() => this._handleFeaturesClose()} ${U(this._featuresComponentRef)}></arcgis-features>`;
366
+ return e ? s`<arcgis-features .referenceElement=${this.referenceElement} .features=${[e]} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .hideActionBar=${this.hideActionBar} open @arcgisClose=${() => this._handleFeaturesClose()} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._featuresComponentRefChange)}></arcgis-features>` : (this.mode = "default", null);
324
367
  }
325
368
  renderAddSpatialFooter() {
326
- const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = k(t.warnings.exceededDisplayLimit, {
369
+ const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = T(t.warnings.exceededDisplayLimit, {
327
370
  limit: this._displayLimit.toString()
328
371
  }), o = e === "add-spatial-feature-list" && this._exceedDisplayLimit, n = a ? !(i?.isUtilityLayer(a.layer) ?? !0) : !0;
329
- return s`${o && s`<calcite-input-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
372
+ return s`${o && s`<calcite-input-message id=results-limited-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
330
373
  this._handleAddSpatialCancelClick();
331
374
  }} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => {
332
375
  this._handleAddSpatialAddClick();
333
376
  }} .disabled=${n}>${t.buttons.add}</calcite-button>` || ""}`;
334
377
  }
335
378
  renderStartingPointSelection() {
336
- return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(d)} .traceLocations=${this._startingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)}></arcgis-utility-network-trace-location>`;
379
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._startingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._traceLocationStartingRefChange)}></arcgis-utility-network-trace-location>`;
337
380
  }
338
381
  renderStoppingPointSelection() {
339
- return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(d)} .traceLocations=${this._stoppingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)}></arcgis-utility-network-trace-location>`;
382
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._stoppingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._traceLocationStoppingRefChange)}></arcgis-utility-network-trace-location>`;
340
383
  }
341
384
  renderBarrierSelection() {
342
- return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(d)} .traceLocations=${this._barriers} .afterHitTest=${this._handleHitTestComplete.bind(this)}></arcgis-utility-network-trace-location>`;
385
+ return s`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._barriers} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${d(this._traceLocationBarrierRefChange)}></arcgis-utility-network-trace-location>`;
343
386
  }
344
387
  renderSubnetworkNameInput() {
345
388
  return s`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .value=${this.selectedSubnetworkName} @calciteInputInput=${(e) => this.selectedSubnetworkName = e.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${this._messages.labels.tooManySubnetworks}</calcite-input-message>`;
@@ -349,25 +392,25 @@ class B extends L {
349
392
  }
350
393
  renderSubnetworkSelection() {
351
394
  const { compatibleSubnetworkNames: e } = this, t = this._messages.labels.subnetworkName;
352
- return this.isSubnetworkNameTraceSelected ? this._state === "loading" ? s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : e.length ? s`<calcite-block .heading=${t} .label=${t} expanded>${e.length > x ? this.renderSubnetworkNameInput() : this.renderSubnetworkSelectList()}</calcite-block>` : this.renderError(this._messages.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
395
+ return this.isSubnetworkNameTraceSelected ? this._state === "loading" ? s`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : e.length ? s`<calcite-block .heading=${t} .label=${t} expanded>${e.length > B ? this.renderSubnetworkNameInput() : this.renderSubnetworkSelectList()}</calcite-block>` : this.renderError(this._messages.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
353
396
  }
354
397
  renderSubnetworkInfo() {
355
398
  const { _messages: e, selectedNamedTraceConfiguration: t, _unTraceConfiguration: i } = this;
356
- return i && 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;
399
+ return i && t?.traceType && this._subnetworkTraceTypes.has(t.traceType) ? s`<calcite-block id=subnetwork-info-block expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>` : null;
357
400
  }
358
401
  renderContent() {
359
402
  const { utilityNetworks: e } = this, t = this.selectedNamedTraceConfiguration?.traceConfiguration;
360
403
  if (!e || e.length === 0)
361
404
  return this.renderError(this._messages.errors.noUtilityNetworkError);
362
- const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, a = this.selectedNamedTraceConfiguration?.traceType, r = !this.isSubnetworkNameTraceSelected, o = a === "path" || a === "circuit", n = s`${r ? this.renderStartingPointSelection() : null}${o ? this.renderStoppingPointSelection() : null}${this.renderBarrierSelection()}`;
363
- return s`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${t ? n : null}</calcite-block-group>`;
405
+ const i = s`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`, a = s`${this.showStartingPoints ? this.renderStartingPointSelection() : null}${this.showStoppingPoints ? this.renderStoppingPointSelection() : null}${this.renderBarrierSelection()}`;
406
+ return s`<calcite-block-group .label=${this._messages.labels.traceInputs}>${e.length > 1 ? this.renderUtilityNetworkSelection() : null}${this.selectedUtilityNetwork?.loaded ? i : this.renderLoader()}${t ? a : null}</calcite-block-group>`;
364
407
  }
365
408
  render() {
366
409
  const { mode: e } = this;
367
- return s`<calcite-panel class="root">${e === "add-spatial-feature" ? this.renderSelectedFeature() : s`<calcite-flow>${this.renderDefaultMode()}${this.renderSpatialSelectInstructions()}${this.renderHitTestResults()}</calcite-flow>`}${e !== "default" ? this.renderAddSpatialFooter() : null}</calcite-panel>`;
410
+ return s`<calcite-panel>${e === "add-spatial-feature" ? this.renderSelectedFeature() : s`<calcite-flow>${this.renderDefaultMode()}${this.renderSpatialSelectInstructions()}${this.renderHitTestResults()}</calcite-flow>`}${e !== "default" ? this.renderAddSpatialFooter() : null}</calcite-panel>`;
368
411
  }
369
412
  }
370
- y("arcgis-utility-network-trace-inputs", B);
413
+ _("arcgis-utility-network-trace-inputs", x);
371
414
  export {
372
- B as ArcgisUtilityNetworkTraceInputs
415
+ x as ArcgisUtilityNetworkTraceInputs
373
416
  };
@@ -2,7 +2,6 @@
2
2
  import type Collection from "@arcgis/core/core/Collection.js";
3
3
  import type Point from "@arcgis/core/geometry/Point.js";
4
4
  import type Graphic from "@arcgis/core/Graphic.js";
5
- import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
6
5
  import type Layer from "@arcgis/core/layers/Layer.js";
7
6
  import type TerminalConfiguration from "@arcgis/core/networks/support/TerminalConfiguration.js";
8
7
  import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
@@ -22,15 +21,23 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
22
21
  * @internal
23
22
  */
24
23
  export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
24
+ /**
25
+ * A function to run after a hit test is performed to select a trace location. If left empty, the first graphic from the hit test results will be used as the trace location.
26
+ * This function allows for modification of the selected graphic before it is added as a trace location, such as changing its attributes or geometry.
27
+ * If the promise is rejected, the selection process will be cancelled.
28
+ *
29
+ * @internal
30
+ */
25
31
  accessor afterHitTest: ((graphics: Graphic[]) => Promise<Graphic>) | undefined;
32
+ /** @default false */
33
+ accessor autoDestroyDisabled: boolean;
26
34
  /**
27
35
  * A function to run before trace location selection starts.
28
36
  *
29
- * @experimental
37
+ * @internal
30
38
  */
31
39
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
32
40
  accessor filterLayers: Collection<Layer> | undefined;
33
- accessor flagLayer: GraphicsLayer | undefined;
34
41
  /** @internal */
35
42
  protected messages: {
36
43
  buttons: { clear: string; };
@@ -99,18 +106,20 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
99
106
  accessor utilityNetwork: UtilityNetwork | undefined;
100
107
  /** @required */
101
108
  accessor view: MapView | undefined;
109
+ /** Permanently destroy the component. */
110
+ destroy(): Promise<void>;
102
111
  readonly arcgisTraceLocationChange: import("@arcgis/lumina").TargetedEvent<this, void>;
103
112
  /**
104
113
  * Fires when the user completes the selection of a trace location.
105
114
  *
106
- * @experimental
115
+ * @internal
107
116
  */
108
117
  readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
109
118
  /**
110
119
  * Fires when the user begins selection of a trace location.
111
120
  * Can be prevented to stop the selection.
112
121
  *
113
- * @experimental
122
+ * @internal
114
123
  */
115
124
  readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
116
125
  readonly "@eventTypes": {
@@ -120,6 +129,7 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
120
129
  };
121
130
  }
122
131
 
132
+ /** @internal */
123
133
  export interface FlagInfo {
124
134
  traceLocation: TraceLocation;
125
135
  flagProperties: {
@@ -135,8 +145,10 @@ export interface FlagInfo {
135
145
  };
136
146
  }
137
147
 
148
+ /** @internal */
138
149
  export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
139
150
 
151
+ /** @internal */
140
152
  export interface SelectStartPayload {
141
153
  cancelSelect: () => void;
142
154
  }