@arcgis/map-components 5.1.0-next.2 → 5.1.0-next.21

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 (490) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{RCWZGU5T.js → 255MJSL7.js} +1 -1
  3. package/dist/cdn/25C2WYON.js +2 -0
  4. package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
  5. package/dist/cdn/2AYGSNEO.js +2 -0
  6. package/dist/cdn/{HH6BDERO.js → 2F4VMURG.js} +1 -1
  7. package/dist/cdn/2ID4LW4Y.js +2 -0
  8. package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
  9. package/dist/cdn/2XOP6ODR.js +2 -0
  10. package/dist/cdn/{YZ5ZVEPC.js → 2ZPMEF52.js} +1 -1
  11. package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
  12. package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
  13. package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
  14. package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
  15. package/dist/cdn/3OVSVCGF.js +2 -0
  16. package/dist/cdn/45DIIV4Z.js +2 -0
  17. package/dist/cdn/{5PRNT4KD.js → 4723UCGJ.js} +1 -1
  18. package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
  19. package/dist/cdn/{NIUIKBRD.js → 4GMSBMTS.js} +1 -1
  20. package/dist/cdn/{M65HMJZA.js → 4IATWN2B.js} +1 -1
  21. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  22. package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
  23. package/dist/cdn/4S2ZIUO2.js +2 -0
  24. package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
  25. package/dist/cdn/{63P5VYGP.js → 5EEHZIM7.js} +1 -1
  26. package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
  27. package/dist/cdn/5LIIGBMB.js +2 -0
  28. package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
  29. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  30. package/dist/cdn/6HVUFH5B.js +2 -0
  31. package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
  32. package/dist/cdn/{ZURN5EZI.js → 6QW2EUPX.js} +1 -1
  33. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  34. package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
  35. package/dist/cdn/6YZHULFG.js +2 -0
  36. package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
  37. package/dist/cdn/{UVCYUIKZ.js → 7D3Z55D3.js} +1 -1
  38. package/dist/cdn/{2XSXH4TM.js → 7SCKZLOG.js} +1 -1
  39. package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
  40. package/dist/cdn/7WLTT4K3.js +2 -0
  41. package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
  42. package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
  43. package/dist/cdn/AN7CPHB7.js +2 -0
  44. package/dist/cdn/{FJJVAOBW.js → AOYK64AS.js} +1 -1
  45. package/dist/cdn/{TSPKG2WN.js → ATG3WC6M.js} +2 -2
  46. package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
  47. package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
  48. package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
  49. package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
  50. package/dist/cdn/BOM3XB6A.js +2 -0
  51. package/dist/cdn/BQRJK2MF.js +2 -0
  52. package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
  53. package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
  54. package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
  55. package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
  56. package/dist/cdn/C4FXVPMR.js +2 -0
  57. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  58. package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
  59. package/dist/cdn/COSZXJ2Q.js +2 -0
  60. package/dist/cdn/{PISCYSA5.js → CQZVPPYJ.js} +1 -1
  61. package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
  62. package/dist/cdn/CWODI2VY.js +2 -0
  63. package/dist/cdn/D27YXH3W.js +2 -0
  64. package/dist/cdn/{R4V6HGJH.js → D3NPU6MI.js} +1 -1
  65. package/dist/cdn/DDYVX52H.js +2 -0
  66. package/dist/cdn/DEJGWX76.js +2 -0
  67. package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
  68. package/dist/cdn/DY3ERISU.js +2 -0
  69. package/dist/cdn/E44RUDE7.js +2 -0
  70. package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
  71. package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
  72. package/dist/cdn/EQ4FEO75.js +2 -0
  73. package/dist/cdn/EQPJBPD5.js +2 -0
  74. package/dist/cdn/EVC4MXIZ.js +2 -0
  75. package/dist/cdn/{KHM3S4Q6.js → F2JFRFTT.js} +1 -1
  76. package/dist/cdn/F7S63XRR.js +2 -0
  77. package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
  78. package/dist/cdn/{EVRFMTMV.js → FNJ3HMEN.js} +1 -1
  79. package/dist/cdn/FTAYHPMM.js +2 -0
  80. package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
  81. package/dist/cdn/{H6ILOF27.js → FUXY5EKO.js} +1 -1
  82. package/dist/cdn/FZDIAVC4.js +2 -0
  83. package/dist/cdn/G7QZJNAC.js +2 -0
  84. package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
  85. package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
  86. package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
  87. package/dist/cdn/GXBHOVJY.js +2 -0
  88. package/dist/cdn/{KY4FMFIC.js → GZ3XKDIF.js} +1 -1
  89. package/dist/cdn/HDL76VD5.js +2 -0
  90. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  91. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  92. package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
  93. package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
  94. package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
  95. package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
  96. package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
  97. package/dist/cdn/{F4HWT5H3.js → IM47JQ76.js} +1 -1
  98. package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
  99. package/dist/cdn/IQPGSWSL.js +2 -0
  100. package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
  101. package/dist/cdn/IW7IOW5D.js +2 -0
  102. package/dist/cdn/{FQGKKJL7.js → IX5YLGNO.js} +1 -1
  103. package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
  104. package/dist/cdn/{OCEXQCFT.js → JEFKCKHC.js} +1 -1
  105. package/dist/cdn/JSD5CN5Q.js +2 -0
  106. package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
  107. package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
  108. package/dist/cdn/JXUAJ4MS.js +2 -0
  109. package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
  110. package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
  111. package/dist/cdn/LB32PLWG.js +2 -0
  112. package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
  113. package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
  114. package/dist/cdn/{2VC2VUTP.js → MIXNJBCA.js} +1 -1
  115. package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
  116. package/dist/cdn/{FC6W37TT.js → MSWQUZSG.js} +1 -1
  117. package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
  118. package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
  119. package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
  120. package/dist/cdn/NHMOFXEE.js +2 -0
  121. package/dist/cdn/{52GXKBGP.js → NLRKDVIJ.js} +1 -1
  122. package/dist/cdn/NPEA453T.js +2 -0
  123. package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
  124. package/dist/cdn/NWWJHV2L.js +2 -0
  125. package/dist/cdn/{E2JLZZFR.js → O2BAIE3M.js} +1 -1
  126. package/dist/cdn/OKXFUFPW.js +2 -0
  127. package/dist/cdn/OSIWX2OH.js +2 -0
  128. package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
  129. package/dist/cdn/{SZ5MNKOW.js → PPQASHMO.js} +1 -1
  130. package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
  131. package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
  132. package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
  133. package/dist/cdn/PZC5TBXA.js +2 -0
  134. package/dist/cdn/{3PQT2S7Z.js → QEXDU6P7.js} +1 -1
  135. package/dist/cdn/{4363SIKC.js → QHSQUBMZ.js} +1 -1
  136. package/dist/cdn/QUXORNHT.js +2 -0
  137. package/dist/cdn/R7BJHEHH.js +2 -0
  138. package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
  139. package/dist/cdn/{WJ5HD2YN.js → RMGBO7V2.js} +1 -1
  140. package/dist/cdn/S4I3X6AX.js +2 -0
  141. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  142. package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
  143. package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
  144. package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
  145. package/dist/cdn/TK4IQ72L.js +2 -0
  146. package/dist/cdn/TKFT2JL7.js +2 -0
  147. package/dist/cdn/TKK5PRP5.js +2 -0
  148. package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
  149. package/dist/cdn/{JBJ5NQTI.js → UH33CM5U.js} +1 -1
  150. package/dist/cdn/UNY32K3R.js +2 -0
  151. package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
  152. package/dist/cdn/VYAUH7PN.js +2 -0
  153. package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
  154. package/dist/cdn/W5T5EBL3.js +2 -0
  155. package/dist/cdn/{NZAO2BVV.js → WHGU6HOR.js} +1 -1
  156. package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
  157. package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
  158. package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
  159. package/dist/cdn/{JLK664TB.js → X5NCN674.js} +1 -1
  160. package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
  161. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  162. package/dist/cdn/Y33DXW66.js +2 -0
  163. package/dist/cdn/{YC423DBS.js → Y4JTATJ2.js} +1 -1
  164. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  165. package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
  166. package/dist/cdn/{BGOWWLCQ.js → YC562S5E.js} +1 -1
  167. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  168. package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
  169. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  170. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  171. package/dist/cdn/index.js +1 -1
  172. package/dist/cdn/main.css +1 -1
  173. package/dist/chunks/AnalysisViewModel.js +106 -99
  174. package/dist/chunks/esri-main.js +1 -1
  175. package/dist/chunks/feature-utils.js +73 -73
  176. package/dist/chunks/layer-utils.js +33 -16
  177. package/dist/chunks/measurementUtils.js +45 -22
  178. package/dist/chunks/slots.js +20 -20
  179. package/dist/chunks/time-utils.js +24 -22
  180. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  181. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
  182. package/dist/components/arcgis-area-measurement-2d/customElement.js +100 -91
  183. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  184. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -25
  185. package/dist/components/arcgis-area-measurement-3d/customElement.js +73 -94
  186. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  187. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  188. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
  189. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  190. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -100
  191. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
  192. package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
  193. package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
  194. package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
  195. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  196. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -74
  197. package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
  198. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  199. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
  200. package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
  201. package/dist/components/arcgis-daylight/customElement.js +202 -200
  202. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  203. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -22
  204. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +79 -100
  205. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  206. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  207. package/dist/components/arcgis-directions/customElement.d.ts +60 -14
  208. package/dist/components/arcgis-directions/customElement.js +28 -6
  209. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
  210. package/dist/components/arcgis-distance-measurement-2d/customElement.js +95 -86
  211. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  212. package/dist/components/arcgis-editor/customElement.d.ts +27 -19
  213. package/dist/components/arcgis-editor/customElement.js +3 -3
  214. package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
  215. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  216. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  217. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  218. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  219. package/dist/components/arcgis-expand/types.d.ts +1 -0
  220. package/dist/components/arcgis-feature/customElement.d.ts +38 -39
  221. package/dist/components/arcgis-feature/customElement.js +39 -39
  222. package/dist/components/arcgis-feature-expression/customElement.js +23 -26
  223. package/dist/components/arcgis-feature-fields/customElement.js +28 -27
  224. package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
  225. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  226. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  227. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  228. package/dist/components/arcgis-feature-table/customElement.d.ts +183 -89
  229. package/dist/components/arcgis-feature-table/customElement.js +47 -31
  230. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
  231. package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
  232. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  233. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +11 -8
  234. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +62 -62
  235. package/dist/components/arcgis-features/customElement.d.ts +66 -70
  236. package/dist/components/arcgis-features/customElement.js +49 -49
  237. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
  238. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  239. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  240. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
  241. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
  242. package/dist/components/arcgis-home/customElement.d.ts +8 -10
  243. package/dist/components/arcgis-layer-list/customElement.d.ts +51 -54
  244. package/dist/components/arcgis-legend/customElement.d.ts +42 -43
  245. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  246. package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
  247. package/dist/components/arcgis-link-chart/customElement.d.ts +61 -71
  248. package/dist/components/arcgis-link-chart/customElement.js +15 -15
  249. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
  250. package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
  251. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
  252. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  253. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
  254. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  255. package/dist/components/arcgis-map/customElement.d.ts +174 -184
  256. package/dist/components/arcgis-map/customElement.js +11 -11
  257. package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
  258. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
  259. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
  260. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  261. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  262. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
  263. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  264. package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
  265. package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
  266. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
  267. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
  268. package/dist/components/arcgis-paste/customElement.d.ts +5 -5
  269. package/dist/components/arcgis-paste/customElement.js +57 -54
  270. package/dist/components/arcgis-paste/index.js +1 -1
  271. package/dist/components/arcgis-popup/customElement.d.ts +67 -70
  272. package/dist/components/arcgis-popup/customElement.js +121 -119
  273. package/dist/components/arcgis-popup/types.d.ts +2 -2
  274. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
  275. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  276. package/dist/components/arcgis-print/customElement.d.ts +51 -31
  277. package/dist/components/arcgis-print/customElement.js +7 -7
  278. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
  279. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  280. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  281. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  282. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
  283. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  284. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
  285. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  286. package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
  287. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  288. package/dist/components/arcgis-scene/customElement.d.ts +185 -200
  289. package/dist/components/arcgis-scene/customElement.js +14 -14
  290. package/dist/components/arcgis-search/customElement.d.ts +63 -59
  291. package/dist/components/arcgis-search/customElement.js +19 -18
  292. package/dist/components/arcgis-search/types.d.ts +1 -0
  293. package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
  294. package/dist/components/arcgis-sketch/customElement.d.ts +57 -39
  295. package/dist/components/arcgis-sketch/customElement.js +20 -8
  296. package/dist/components/arcgis-slice/customElement.d.ts +26 -26
  297. package/dist/components/arcgis-slice/customElement.js +6 -6
  298. package/dist/components/arcgis-slice/types.d.ts +4 -0
  299. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
  300. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  301. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
  302. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  303. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +55 -62
  304. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  305. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +112 -100
  306. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  307. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +154 -99
  308. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  309. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +14 -17
  310. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  311. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
  312. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  313. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +85 -104
  314. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  315. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
  316. package/dist/components/arcgis-swipe/customElement.d.ts +11 -11
  317. package/dist/components/arcgis-table-list/customElement.d.ts +116 -81
  318. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  319. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  320. package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
  321. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  322. package/dist/components/arcgis-time-zone-label/customElement.d.ts +19 -33
  323. package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
  324. package/dist/components/arcgis-time-zone-label/index.js +0 -1
  325. package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
  326. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  327. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +15 -2
  328. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  329. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  330. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
  331. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  332. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +86 -29
  333. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +65 -59
  334. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  335. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
  336. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -6
  337. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +93 -64
  338. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -3
  339. package/dist/components/arcgis-utility-network-trace-location/customElement.js +96 -91
  340. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  341. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +17 -2
  342. package/dist/components/arcgis-utility-network-trace-results/customElement.js +96 -75
  343. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  344. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  345. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
  346. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  347. package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
  348. package/dist/components/arcgis-version-management/types.d.ts +15 -0
  349. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  350. package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
  351. package/dist/components/arcgis-video-player/customElement.js +2 -2
  352. package/dist/components/arcgis-volume-measurement/customElement.d.ts +45 -41
  353. package/dist/components/arcgis-volume-measurement/customElement.js +171 -171
  354. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  355. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  356. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  357. package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
  358. package/dist/components/arcgis-zoom/types.d.ts +3 -0
  359. package/dist/components/types.d.ts +58 -1
  360. package/dist/docs/api.json +1 -1
  361. package/dist/docs/docs.json +1 -1
  362. package/dist/docs/vscode.html-custom-data.json +1 -1
  363. package/dist/docs/web-types.json +1 -1
  364. package/dist/index.d.ts +13 -35
  365. package/dist/loader.js +36 -36
  366. package/dist/types/lumina.d.ts +36 -58
  367. package/dist/types/preact.d.ts +37 -63
  368. package/dist/types/react.d.ts +38 -68
  369. package/dist/types/stencil.d.ts +36 -58
  370. package/package.json +4 -4
  371. package/dist/cdn/22LNBUKE.js +0 -2
  372. package/dist/cdn/23UYZVTW.js +0 -2
  373. package/dist/cdn/3GZCJE62.js +0 -2
  374. package/dist/cdn/4TURMTXA.js +0 -2
  375. package/dist/cdn/55QGHI47.js +0 -2
  376. package/dist/cdn/7UR4M6PN.js +0 -2
  377. package/dist/cdn/A4UJ53JS.js +0 -2
  378. package/dist/cdn/AGYDL2DX.js +0 -2
  379. package/dist/cdn/B5XR4LXQ.js +0 -2
  380. package/dist/cdn/CKNH5OMJ.js +0 -2
  381. package/dist/cdn/DOLELC6W.js +0 -2
  382. package/dist/cdn/E7FLH54K.js +0 -2
  383. package/dist/cdn/EL62JS5C.js +0 -2
  384. package/dist/cdn/EYNKJZG3.js +0 -2
  385. package/dist/cdn/F2TXAMXM.js +0 -2
  386. package/dist/cdn/FEQLUSM2.js +0 -2
  387. package/dist/cdn/HNHCO4OD.js +0 -2
  388. package/dist/cdn/HR2OOT3F.js +0 -2
  389. package/dist/cdn/I2MQQXVU.js +0 -2
  390. package/dist/cdn/IDDSHZVB.js +0 -2
  391. package/dist/cdn/JDZWJLJX.js +0 -2
  392. package/dist/cdn/KECAR2NZ.js +0 -2
  393. package/dist/cdn/KEFY4XPI.js +0 -2
  394. package/dist/cdn/KXF2562U.js +0 -2
  395. package/dist/cdn/LHEP4QSS.js +0 -2
  396. package/dist/cdn/LZFDWRYI.js +0 -2
  397. package/dist/cdn/M7VTEC3S.js +0 -2
  398. package/dist/cdn/MSMDSEFM.js +0 -2
  399. package/dist/cdn/MW73TE2N.js +0 -2
  400. package/dist/cdn/MWBGBBXT.js +0 -2
  401. package/dist/cdn/NVACRYY6.js +0 -2
  402. package/dist/cdn/NZ5M5SVG.js +0 -2
  403. package/dist/cdn/PNDLNFML.js +0 -2
  404. package/dist/cdn/RJ76OXB6.js +0 -2
  405. package/dist/cdn/S4XGBADW.js +0 -2
  406. package/dist/cdn/S6G6XXTM.js +0 -2
  407. package/dist/cdn/SKW7HQZ6.js +0 -2
  408. package/dist/cdn/SRSYUCVL.js +0 -2
  409. package/dist/cdn/TM5C2P2F.js +0 -2
  410. package/dist/cdn/U3LH3AZH.js +0 -2
  411. package/dist/cdn/UTH3SGAS.js +0 -2
  412. package/dist/cdn/VJMMA6UX.js +0 -2
  413. package/dist/cdn/W2E5L6DS.js +0 -2
  414. package/dist/cdn/WGXSSEAL.js +0 -2
  415. package/dist/cdn/X6OVNOLQ.js +0 -2
  416. package/dist/cdn/X7YUU7TS.js +0 -2
  417. package/dist/cdn/XO6U6OVM.js +0 -2
  418. package/dist/cdn/Y53D5YAC.js +0 -2
  419. package/dist/cdn/YKTB6AFH.js +0 -2
  420. package/dist/cdn/YWQGP6MB.js +0 -2
  421. package/dist/cdn/ZMLRDNKR.js +0 -2
  422. package/dist/cdn/ZUTQE3OX.js +0 -2
  423. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  424. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  425. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  426. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  427. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  428. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  429. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  430. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  431. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  432. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  433. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  434. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  435. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  436. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
  437. package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
  438. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
  439. package/dist/components/support/goTo.d.ts +0 -37
  440. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  441. package/dist/support/heading.d.ts +0 -1
  442. package/dist/support/measurementUtils.d.ts +0 -1
  443. package/dist/utils/action-utils.d.ts +0 -3
  444. package/dist/utils/component-utils.d.ts +0 -5
  445. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  446. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  447. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  448. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  449. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  450. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  451. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  452. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  453. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  454. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  455. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  456. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  457. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  458. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  459. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  460. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  461. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  462. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  463. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  464. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  465. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  466. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  467. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  468. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  469. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  470. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  471. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  472. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  473. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  474. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  475. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  476. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  477. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  478. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  479. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  480. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  481. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  482. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  483. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  484. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  485. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  486. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
  487. /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
  488. /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
  489. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  490. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -1,42 +1,51 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as b } from "../../chunks/runtime.js";
3
- import { repeat as g } 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 h } from "lit/directives/ref.js";
4
5
  import { queryAllJSON as m } from "@arcgis/core/applications/Components/featureUtils.js";
5
- 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";
6
+ import l from "@arcgis/core/core/Collection.js";
7
+ import { watch as S } from "@arcgis/core/core/reactiveUtils.js";
8
+ import { substitute as T } from "@arcgis/core/intl.js";
9
+ import L from "@arcgis/core/layers/GraphicsLayer.js";
10
+ import C from "@arcgis/core/networks/support/UNTraceConfiguration.js";
11
+ import N from "@arcgis/core/rest/networks/support/TraceLocation.js";
10
12
  import f 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";
13
+ import y from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
14
+ import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
15
+ import { LitElement as v, createEvent as d } from "@arcgis/lumina";
16
+ import { usePropertyChange as E } from "@arcgis/lumina/controllers";
17
+ import { log as u, composeMissingPropertyMessage as F, composeEmptyPropertyMessage as I } from "@arcgis/toolkit/log";
18
+ import { css as P, html as s } from "lit";
19
+ import { u as U } from "../../chunks/useT9n.js";
19
20
  import { h as w } 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)}`, y = `utility-network-trace-inputs-sketch-${Date.now()}`, d = `utility-network-trace-inputs-flags-${Date.now()}`, x = 20;
22
- class B extends L {
21
+ import { a as A, i as b } from "../../chunks/layer-utils.js";
22
+ const D = P`: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)}`, p = `utility-network-trace-inputs-sketch-${Date.now()}`, c = `utility-network-trace-inputs-flags-${Date.now()}`, M = 20;
23
+ class B 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 l(), this._barriers = new l(), this._stoppingPoints = new l(), 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.mode = "default", this.arcgisPropertyChange = E()("mode"), this.arcgisSelectedNamedTraceConfigurationChange = d(), this.arcgisTraceInputsChange = d(), this.arcgisTraceLocationSelectEnd = d(), this.arcgisTraceLocationSelectStart = d(), this.arcgisUtilityNetworkChange = d(), 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, unTraceConfiguration: 32, referenceElement: 1, mode: 3, traceLocations: 32 };
37
46
  }
38
47
  static {
39
- this.styles = M;
48
+ this.styles = D;
40
49
  }
41
50
  get isSubnetworkNameTraceSelected() {
42
51
  const e = this.selectedNamedTraceConfiguration?.traceType;
@@ -58,7 +67,7 @@ class B extends L {
58
67
  get traceLocations() {
59
68
  const e = [], t = (i) => {
60
69
  i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
61
- e.push(new T({
70
+ e.push(new N({
62
71
  type: i.traceLocation.type,
63
72
  isFilterBarrier: i.traceLocation.isFilterBarrier,
64
73
  globalId: i.traceLocation.globalId,
@@ -69,47 +78,61 @@ class B extends L {
69
78
  };
70
79
  return this._startingPoints.forEach((i) => t(i)), this._barriers.forEach((i) => t(i)), this._stoppingPoints.forEach((i) => t(i)), e;
71
80
  }
81
+ async destroy() {
82
+ this._removeGraphicLayer(p), this._removeGraphicLayer(c), this._sketchViewModel?.cancel(), this._featuresComponentElement?.destroy(), this._traceLocationStartingElement?.destroy(), this._traceLocationBarrierElement?.destroy(), this._traceLocationStoppingElement?.destroy(), await this.manager.destroy();
83
+ }
72
84
  load() {
73
- this._setupUtilityNetwork(), this._setupSketchViewModel();
85
+ this.manager.onLifecycle(() => [
86
+ S(() => this.view?.map, () => {
87
+ this._setupUtilityNetwork(), this._setupSketchViewModel();
88
+ }, { initial: !0 })
89
+ ]);
74
90
  }
75
91
  willUpdate(e) {
76
92
  const { utilityNetworks: t, selectedUtilityNetwork: i } = this;
77
93
  (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
94
  }
95
+ disconnectedCallback() {
96
+ super.disconnectedCallback(), this._layerIdToLayer.clear();
97
+ }
79
98
  _clearTraceLocations() {
80
- this._getGraphicLayer(d)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
99
+ this._getGraphicLayer(c)?.removeAll(), this._startingPoints.removeAll(), this._barriers.removeAll(), this._stoppingPoints.removeAll();
81
100
  }
82
101
  _createGraphicLayer(e) {
83
102
  const { map: t } = this.view;
84
103
  if (!t?.findLayerById(e)) {
85
- const a = new _({
104
+ const a = new L({
86
105
  id: e,
87
106
  listMode: "hide",
88
107
  title: e
89
108
  });
90
- P(this.view, a);
109
+ A(this.view, a);
91
110
  }
92
111
  }
93
112
  _getGraphicLayer(e) {
94
113
  const { map: t } = this.view;
95
114
  if (t) {
96
115
  const i = t.findLayerById(e);
97
- if (A(i))
116
+ if (b(i))
98
117
  return t.reorder(i, t.layers.length - 1), i;
99
118
  }
100
119
  return null;
101
120
  }
121
+ _removeGraphicLayer(e) {
122
+ const { map: t } = this.view, i = t?.findLayerById(e);
123
+ i && b(i) && t?.remove(i);
124
+ }
102
125
  _setSnappingOption() {
103
126
  const { _sketchViewModel: e, _unLayers: t } = this;
104
127
  if (e && t && t.length > 0) {
105
- const i = new c();
128
+ const i = new l();
106
129
  t.forEach((a) => {
107
130
  a.type === "subtype-group" ? a.sublayers.forEach((r) => {
108
- i.add(new h({
131
+ i.add(new y({
109
132
  layer: r,
110
133
  enabled: !0
111
134
  }));
112
- }) : i.add(new h({
135
+ }) : i.add(new y({
113
136
  layer: a,
114
137
  enabled: !0
115
138
  }));
@@ -121,17 +144,14 @@ class B extends L {
121
144
  }
122
145
  }
123
146
  _initializeSketchViewModel() {
124
- const { view: e, _unLayers: t } = this, i = this._getGraphicLayer(y), a = new c();
125
- return t?.forEach((r) => a.add(new h({
126
- layer: r,
127
- enabled: !0
128
- }))), new C({
129
- layer: i,
147
+ const { view: e } = this, t = this._getGraphicLayer(p);
148
+ return new $({
149
+ layer: t,
130
150
  view: e
131
151
  });
132
152
  }
133
153
  _setupSketchViewModel() {
134
- this._createGraphicLayer(y), this._createGraphicLayer(d), this._sketchViewModel = this._initializeSketchViewModel();
154
+ this._createGraphicLayer(p), this._createGraphicLayer(c), this._sketchViewModel = this._initializeSketchViewModel(), this._setSnappingOption();
135
155
  }
136
156
  _clearSubnetworks() {
137
157
  this.selectedSubnetworkName = void 0, this.subnetworksTable = void 0, this.compatibleSubnetworkNames = [];
@@ -167,8 +187,8 @@ class B extends L {
167
187
  }
168
188
  _handleTraceConfigChange() {
169
189
  const { selectedNamedTraceConfiguration: e } = this;
170
- if (!(e?.traceConfiguration instanceof S)) {
171
- u("error", this, $("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
190
+ if (!(e?.traceConfiguration instanceof C)) {
191
+ u("error", this, F("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
172
192
  return;
173
193
  }
174
194
  switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
@@ -181,16 +201,16 @@ class B extends L {
181
201
  await this.selectedUtilityNetwork?.load(), this._clearSubnetworks(), this._setupTraceConfigurations(), this._filterUnLayers(), this._clearTraceLocations();
182
202
  }
183
203
  _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);
204
+ this._unTraceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter((e) => e.traceType !== "path" && e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [], this.selectedNamedTraceConfiguration = this.traceConfigurations.at(0);
185
205
  }
186
206
  _filterUnLayers() {
187
207
  const { selectedUtilityNetwork: e } = this;
188
- this._unLayers = new c(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
208
+ this._unLayers = new l(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
189
209
  }
190
210
  _handleUtilityNetworksChange() {
191
211
  const { utilityNetworks: e } = this;
192
212
  if (!e || e.length === 0) {
193
- this._state = "error", u("error", this, v("utilityNetworks"));
213
+ this._state = "error", u("error", this, I("utilityNetworks"));
194
214
  return;
195
215
  }
196
216
  (!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
@@ -226,6 +246,8 @@ class B extends L {
226
246
  const { features: a } = f.fromJSON(await m(e, i));
227
247
  return a.forEach((r) => {
228
248
  r.layer = e.type === "subtype-group" ? e.findSublayerForFeature(r) : e, r.origin = r.layer;
249
+ const o = r.layer;
250
+ r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = o.createPopupTemplate());
229
251
  }), a;
230
252
  }
231
253
  async _populateFeaturesWithLabel(e) {
@@ -235,8 +257,8 @@ class B extends L {
235
257
  if (r) {
236
258
  const o = r.layerId, n = this._getLayerByLayerId(o);
237
259
  if (n) {
238
- const p = t.get(n) || [];
239
- p.push(a), t.set(n, p);
260
+ const g = t.get(n) || [];
261
+ g.push(a), t.set(n, g);
240
262
  }
241
263
  }
242
264
  });
@@ -254,23 +276,30 @@ class B extends L {
254
276
  }));
255
277
  }
256
278
  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);
279
+ if (this._exceedDisplayLimit = e.length > this._displayLimit, this._featuresFromHitTest = await this._populateFeaturesWithLabel(e.slice(0, this._displayLimit)), this._featuresFromHitTest.length === 0)
280
+ return this._handleAddSpatialCancelClick(), await Promise.reject(Error("No features found"));
281
+ if (this._featuresFromHitTest.length === 1) {
282
+ const [{ feature: t }] = this._featuresFromHitTest;
283
+ this._selectedFeature = t, this.mode = "add-spatial-feature";
284
+ } else
285
+ this.mode = "add-spatial-feature-list";
286
+ return this._hitTestPromise?.reject(), this._hitTestPromise = Promise.withResolvers(), await this._hitTestPromise.promise;
258
287
  }
259
288
  _handleTraceLocationSelectEnd(e) {
260
289
  e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this._handleAddSpatialCancelClick();
261
290
  }
262
291
  _handleAddSpatialCancelClick(e) {
263
292
  e?.stopPropagation();
264
- const t = this._featuresComponentRef.value;
293
+ const t = this._featuresComponentElement;
265
294
  t && t.clear(), this._selectedFeature = void 0, this.mode = "default", this._sketchViewModel?.cancel(), this._hitTestPromise?.reject(), this._hitTestPromise = null;
266
295
  }
267
296
  _handleFeaturesClose() {
268
297
  this.mode = "add-spatial-feature-list", this._selectedFeature = void 0;
269
298
  }
270
299
  _handleAddSpatialAddClick() {
271
- const { _hitTestPromise: e, _featuresComponentRef: t } = this;
272
- if (e && t?.value) {
273
- const i = t.value, a = i.selectedDrillInFeature ?? i.selectedFeature;
300
+ const { _hitTestPromise: e, _featuresComponentElement: t } = this;
301
+ if (e && t) {
302
+ const i = t, a = i.selectedDrillInFeature ?? i.selectedFeature;
274
303
  if (!a)
275
304
  return;
276
305
  e.resolve(a), this._hitTestPromise = null;
@@ -289,13 +318,13 @@ class B extends L {
289
318
  const { _messages: e, traceConfigurations: t } = this, i = e.labels.traceConfiguration;
290
319
  if (t.length === 0)
291
320
  return this.renderError(e.errors.noTraceConfigurationError, !0);
292
- const a = g(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
321
+ const a = k(t, (r) => r.globalId, (r) => s`<calcite-option .value=${r.globalId}>${r.title}</calcite-option>`);
293
322
  return s`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId || void 0} @calciteSelectChange=${(r) => {
294
323
  this._selectTraceConfigurationByGuid(r.target.value);
295
324
  }}>${a}</calcite-select></calcite-block>`;
296
325
  }
297
326
  renderUtilityNetworkSelection() {
298
- const { _messages: e } = this, t = e.labels.utilityNetwork, i = g(this.utilityNetworks, (a) => a.id, (a) => s`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();
327
+ const { _messages: e } = this, t = e.labels.utilityNetwork, i = this.utilityNetworks?.map((a) => s`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);
299
328
  return s`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${(a) => {
300
329
  this.selectedUtilityNetwork?.id !== a.target.value && (this.selectedUtilityNetwork = this.utilityNetworks?.find((r) => r.id === a.target.value));
301
330
  }}>${i}</calcite-select></calcite-block>`;
@@ -309,7 +338,7 @@ class B extends L {
309
338
  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
339
  }
311
340
  renderFeaturesList(e) {
312
- return s`<calcite-list id=features-list label="Feature list">${e.map(this.renderFeatureListItem)}</calcite-list>`;
341
+ return s`<calcite-list label="Feature list">${e.map(this.renderFeatureListItem)}</calcite-list>`;
313
342
  }
314
343
  renderHitTestResults() {
315
344
  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;
@@ -319,27 +348,27 @@ class B extends L {
319
348
  const { _selectedFeature: e } = this;
320
349
  if (!e)
321
350
  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>`;
351
+ const t = this._featuresComponentElement, i = t?.selectedFeature ? [t.selectedFeature] : [e];
352
+ return s`<arcgis-features .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} open @arcgisClose=${() => this._handleFeaturesClose()} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._featuresComponentRefChange)}></arcgis-features>`;
324
353
  }
325
354
  renderAddSpatialFooter() {
326
- const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = k(t.warnings.exceededDisplayLimit, {
355
+ const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = T(t.warnings.exceededDisplayLimit, {
327
356
  limit: this._displayLimit.toString()
328
357
  }), 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=${() => {
358
+ 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
359
  this._handleAddSpatialCancelClick();
331
360
  }} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => {
332
361
  this._handleAddSpatialAddClick();
333
362
  }} .disabled=${n}>${t.buttons.add}</calcite-button>` || ""}`;
334
363
  }
335
364
  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>`;
365
+ 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(c)} .traceLocations=${this._startingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationStartingRefChange)}></arcgis-utility-network-trace-location>`;
337
366
  }
338
367
  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>`;
368
+ 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(c)} .traceLocations=${this._stoppingPoints} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationStoppingRefChange)}></arcgis-utility-network-trace-location>`;
340
369
  }
341
370
  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>`;
371
+ 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(c)} .traceLocations=${this._barriers} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationBarrierRefChange)}></arcgis-utility-network-trace-location>`;
343
372
  }
344
373
  renderSubnetworkNameInput() {
345
374
  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,11 +378,11 @@ class B extends L {
349
378
  }
350
379
  renderSubnetworkSelection() {
351
380
  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;
381
+ 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 > M ? this.renderSubnetworkNameInput() : this.renderSubnetworkSelectList()}</calcite-block>` : this.renderError(this._messages.errors.noCompatibleSubnetworks, !1, "exclamation-mark-triangle") : null;
353
382
  }
354
383
  renderSubnetworkInfo() {
355
384
  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;
385
+ 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
386
  }
358
387
  renderContent() {
359
388
  const { utilityNetworks: e } = this, t = this.selectedNamedTraceConfiguration?.traceConfiguration;
@@ -364,10 +393,10 @@ class B extends L {
364
393
  }
365
394
  render() {
366
395
  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>`;
396
+ 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
397
  }
369
398
  }
370
- b("arcgis-utility-network-trace-inputs", B);
399
+ _("arcgis-utility-network-trace-inputs", B);
371
400
  export {
372
401
  B as ArcgisUtilityNetworkTraceInputs
373
402
  };
@@ -23,10 +23,12 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
23
23
  */
24
24
  export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
25
25
  accessor afterHitTest: ((graphics: Graphic[]) => Promise<Graphic>) | undefined;
26
+ /** @default false */
27
+ accessor autoDestroyDisabled: boolean;
26
28
  /**
27
29
  * A function to run before trace location selection starts.
28
30
  *
29
- * @experimental
31
+ * @internal
30
32
  */
31
33
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
32
34
  accessor filterLayers: Collection<Layer> | undefined;
@@ -99,18 +101,20 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
99
101
  accessor utilityNetwork: UtilityNetwork | undefined;
100
102
  /** @required */
101
103
  accessor view: MapView | undefined;
104
+ /** Permanently destroy the component. */
105
+ destroy(): Promise<void>;
102
106
  readonly arcgisTraceLocationChange: import("@arcgis/lumina").TargetedEvent<this, void>;
103
107
  /**
104
108
  * Fires when the user completes the selection of a trace location.
105
109
  *
106
- * @experimental
110
+ * @internal
107
111
  */
108
112
  readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
109
113
  /**
110
114
  * Fires when the user begins selection of a trace location.
111
115
  * Can be prevented to stop the selection.
112
116
  *
113
- * @experimental
117
+ * @internal
114
118
  */
115
119
  readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
116
120
  readonly "@eventTypes": {
@@ -120,6 +124,7 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
120
124
  };
121
125
  }
122
126
 
127
+ /** @internal */
123
128
  export interface FlagInfo {
124
129
  traceLocation: TraceLocation;
125
130
  flagProperties: {
@@ -135,8 +140,10 @@ export interface FlagInfo {
135
140
  };
136
141
  }
137
142
 
143
+ /** @internal */
138
144
  export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
139
145
 
146
+ /** @internal */
140
147
  export interface SelectStartPayload {
141
148
  cancelSelect: () => void;
142
149
  }