@arcgis/map-components 6.0.0-next.27 → 6.0.0-next.29

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 (417) hide show
  1. package/dist/cdn/{Q2ZQOGM2.js → 25PLRKZK.js} +1 -1
  2. package/dist/cdn/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
  3. package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.js} +1 -1
  4. package/dist/cdn/2NMV3XLT.js +2 -0
  5. package/dist/cdn/2RTEHAVG.js +2 -0
  6. package/dist/cdn/{GZ6UBR6R.js → 3NUN6DK3.js} +1 -1
  7. package/dist/cdn/3P44HZ3K.js +2 -0
  8. package/dist/cdn/3RSMD7RR.js +2 -0
  9. package/dist/cdn/3XHI22WD.js +2 -0
  10. package/dist/cdn/4ZAEHJPD.js +2 -0
  11. package/dist/cdn/5B22465P.js +2 -0
  12. package/dist/cdn/5OABHJND.js +2 -0
  13. package/dist/cdn/5XMKJYT6.js +2 -0
  14. package/dist/cdn/{4DPAOAMZ.js → 6NSO42OW.js} +1 -1
  15. package/dist/cdn/6TXZMHLZ.js +2 -0
  16. package/dist/cdn/6Y36YFPN.js +2 -0
  17. package/dist/cdn/7BU454HH.js +2 -0
  18. package/dist/cdn/{Y7IM3OFU.js → 7HBOZBSC.js} +1 -1
  19. package/dist/cdn/{2YXWKKNB.js → 7ID5HLPS.js} +1 -1
  20. package/dist/cdn/7RO6N4XQ.js +2 -0
  21. package/dist/cdn/A6DDWCVW.js +2 -0
  22. package/dist/cdn/AGXUHDNS.js +2 -0
  23. package/dist/cdn/AKIHNM7C.js +2 -0
  24. package/dist/cdn/APCXGAD5.js +2 -0
  25. package/dist/cdn/ARLGT35P.js +2 -0
  26. package/dist/cdn/BBKQM2GF.js +2 -0
  27. package/dist/cdn/BZXGVKKW.js +2 -0
  28. package/dist/cdn/{VWUH2VUY.js → C53YBNQ4.js} +1 -1
  29. package/dist/cdn/{2UAH624K.js → C74S3MND.js} +1 -1
  30. package/dist/cdn/{NTT5IV4A.js → CGGVQCCL.js} +1 -1
  31. package/dist/cdn/CNXH745H.js +2 -0
  32. package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.js} +1 -1
  33. package/dist/cdn/D6UG734Y.js +2 -0
  34. package/dist/cdn/DF2MPD7N.js +2 -0
  35. package/dist/cdn/DGE5KKLM.js +2 -0
  36. package/dist/cdn/DU2IPXWR.js +2 -0
  37. package/dist/cdn/DXTK47ES.js +2 -0
  38. package/dist/cdn/DXXGERVD.js +2 -0
  39. package/dist/cdn/{FH6Q5A5L.js → ETD3FAGO.js} +1 -1
  40. package/dist/cdn/F2YSSNVY.js +2 -0
  41. package/dist/cdn/FAPDKS2C.js +2 -0
  42. package/dist/cdn/G6L4BDEL.js +2 -0
  43. package/dist/cdn/GBMEEEGZ.js +2 -0
  44. package/dist/cdn/HGEK42FO.js +2 -0
  45. package/dist/cdn/HTYTZ7GK.js +2 -0
  46. package/dist/cdn/{7U2V3LDM.js → I5F7MVDT.js} +1 -1
  47. package/dist/cdn/IIX2OICP.js +2 -0
  48. package/dist/cdn/{2SQGIY7T.js → IUYW4QOS.js} +1 -1
  49. package/dist/cdn/{QQLN6RWA.js → IYMK2NGU.js} +1 -1
  50. package/dist/cdn/IZYFQNW2.js +2 -0
  51. package/dist/cdn/J4FR5WZG.js +2 -0
  52. package/dist/cdn/J6ZEZ4NE.js +2 -0
  53. package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
  54. package/dist/cdn/JWHVCBA3.js +2 -0
  55. package/dist/cdn/KWIZ45T7.js +2 -0
  56. package/dist/cdn/{VW35MSDL.js → L3MJ5NAZ.js} +1 -1
  57. package/dist/cdn/LC2ZSIJY.js +2 -0
  58. package/dist/cdn/LFA3XEWF.js +2 -0
  59. package/dist/cdn/LNTE4FDB.js +2 -0
  60. package/dist/cdn/LXTP2MVM.js +2 -0
  61. package/dist/cdn/M4GAOTVS.js +2 -0
  62. package/dist/cdn/M7ENWEKN.js +2 -0
  63. package/dist/cdn/NEPTDMLE.js +2 -0
  64. package/dist/cdn/NQXXIEV2.js +2 -0
  65. package/dist/cdn/NRFCVOMM.js +2 -0
  66. package/dist/cdn/{NLG5U5ZN.js → NVPN3I72.js} +1 -1
  67. package/dist/cdn/NXLWTRS6.js +3 -0
  68. package/dist/cdn/O2LMVVKS.js +2 -0
  69. package/dist/cdn/{FGU7NUST.js → O6KVILZF.js} +1 -1
  70. package/dist/cdn/O7OKLWBW.js +2 -0
  71. package/dist/cdn/OKAGFDAM.js +2 -0
  72. package/dist/cdn/ORKCIBIY.js +2 -0
  73. package/dist/cdn/{WU4NDBMC.js → P5U37XIA.js} +1 -1
  74. package/dist/cdn/PD7SLPIK.js +2 -0
  75. package/dist/cdn/PJIES74D.js +2 -0
  76. package/dist/cdn/PLDTM6JH.js +2 -0
  77. package/dist/cdn/PMXSSYFB.js +2 -0
  78. package/dist/cdn/{T4Z2B3T7.js → PSPUWCU5.js} +1 -1
  79. package/dist/cdn/PSTG4I4W.js +2 -0
  80. package/dist/cdn/Q2KWXSLQ.js +2 -0
  81. package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
  82. package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
  83. package/dist/cdn/RAADOJWX.js +2 -0
  84. package/dist/cdn/RVXA65TI.js +2 -0
  85. package/dist/cdn/SI6RI664.js +2 -0
  86. package/dist/cdn/{7EKBNXGL.js → SOIBQ3FH.js} +1 -1
  87. package/dist/cdn/SOLTOPI3.js +2 -0
  88. package/dist/cdn/SSB4SQXA.js +2 -0
  89. package/dist/cdn/{YTZZRJ7Z.js → T4DVKA6R.js} +1 -1
  90. package/dist/cdn/TEDWUEQ4.js +2 -0
  91. package/dist/cdn/TEPHXOQ2.js +2 -0
  92. package/dist/cdn/TI7UH6FZ.js +2 -0
  93. package/dist/cdn/TLAJ3GMX.js +2 -0
  94. package/dist/cdn/ULOXCWFO.js +2 -0
  95. package/dist/cdn/UTJTCZCF.js +2 -0
  96. package/dist/cdn/UXMKSIYL.js +2 -0
  97. package/dist/cdn/UYJB3OR4.js +2 -0
  98. package/dist/cdn/UZ4VANCL.js +2 -0
  99. package/dist/cdn/UZXVNOOD.js +2 -0
  100. package/dist/cdn/VHLDFKDS.js +2 -0
  101. package/dist/cdn/VPREN7P6.js +2 -0
  102. package/dist/cdn/VTDB4D2K.js +2 -0
  103. package/dist/cdn/{UJURQACP.js → VXPGE37T.js} +1 -1
  104. package/dist/cdn/{SJGWHUCR.js → VXXXOGU7.js} +1 -1
  105. package/dist/cdn/W73JDM22.js +2 -0
  106. package/dist/cdn/{RFO3M46K.js → WEMTOBBB.js} +1 -1
  107. package/dist/cdn/WGLTX4YP.js +2 -0
  108. package/dist/cdn/WKRW6DI5.js +2 -0
  109. package/dist/cdn/WPXCX7TX.js +2 -0
  110. package/dist/cdn/WYYUFJHO.js +2 -0
  111. package/dist/cdn/X2M3ZYHO.js +2 -0
  112. package/dist/cdn/XCDMOCWN.js +2 -0
  113. package/dist/cdn/XLYOZSWI.js +2 -0
  114. package/dist/cdn/XQBN6SO5.js +2 -0
  115. package/dist/cdn/{GKNGEZCO.js → XVZ74ZME.js} +1 -1
  116. package/dist/cdn/YBTMO6HU.js +2 -0
  117. package/dist/cdn/YFX2STSS.js +2 -0
  118. package/dist/cdn/{2Z36ICJZ.js → YME6EWHF.js} +1 -1
  119. package/dist/cdn/{62OAO327.js → Z42YLJMZ.js} +1 -1
  120. package/dist/cdn/{AKGUTL2V.js → Z46QEYSO.js} +1 -1
  121. package/dist/cdn/Z6ZEF6NC.js +2 -0
  122. package/dist/cdn/ZAW644CF.js +2 -0
  123. package/dist/cdn/ZCI6T4IU.js +2 -0
  124. package/dist/cdn/{XKGD4N75.js → ZEQHIKTN.js} +1 -1
  125. package/dist/cdn/ZMP3REWL.js +2 -0
  126. package/dist/cdn/ZP2VJX3N.js +2 -0
  127. package/dist/cdn/index.js +1 -1
  128. package/dist/cdn/main.css +1 -1
  129. package/dist/chunks/esri-main.js +1 -1
  130. package/dist/chunks/layer-list-next.js +1 -1
  131. package/dist/chunks/screenLocation.js +10 -10
  132. package/dist/chunks/slots.js +6 -6
  133. package/dist/chunks/useArcgisViewReadyError.js +46 -46
  134. package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
  135. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
  136. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  137. package/dist/components/arcgis-attachments/customElement.js +3 -3
  138. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
  139. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  140. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
  141. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +15 -15
  142. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
  143. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  144. package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
  145. package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
  146. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  147. package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
  148. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
  149. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  150. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
  151. package/dist/components/arcgis-compass/customElement.js +1 -1
  152. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  153. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +9 -9
  154. package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
  155. package/dist/components/arcgis-daylight/customElement.js +1 -1
  156. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
  157. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  158. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  159. package/dist/components/arcgis-directions/customElement.d.ts +4 -4
  160. package/dist/components/arcgis-directions/customElement.js +4 -4
  161. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  162. package/dist/components/arcgis-editor/customElement.d.ts +19 -2
  163. package/dist/components/arcgis-editor/customElement.js +7 -7
  164. package/dist/components/arcgis-elevation-profile/customElement.js +10 -10
  165. package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
  166. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  167. package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
  168. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
  169. package/dist/components/arcgis-expand/customElement.d.ts +2 -1
  170. package/dist/components/arcgis-expand/customElement.js +1 -1
  171. package/dist/components/arcgis-exploratory-analysis/customElement.js +7 -7
  172. package/dist/components/arcgis-feature/customElement.js +1 -1
  173. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  174. package/dist/components/arcgis-feature-content/customElement.js +4 -4
  175. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  176. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  177. package/dist/components/arcgis-feature-fields/customElement.js +17 -17
  178. package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
  179. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  180. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
  181. package/dist/components/arcgis-feature-media/customElement.js +63 -60
  182. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  183. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  184. package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
  185. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  186. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  187. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  188. package/dist/components/arcgis-features/customElement.d.ts +5 -5
  189. package/dist/components/arcgis-features/customElement.js +8 -8
  190. package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
  191. package/dist/components/arcgis-features-next/customElement.js +28 -27
  192. package/dist/components/arcgis-floor-filter/customElement.js +38 -38
  193. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  194. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  195. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  196. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  197. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  198. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  199. package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
  200. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  201. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  202. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  203. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  204. package/dist/components/arcgis-link-chart/customElement.d.ts +14 -6
  205. package/dist/components/arcgis-map/customElement.d.ts +21 -17
  206. package/dist/components/arcgis-measurement-content/customElement.js +9 -9
  207. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
  208. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  209. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
  210. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
  211. package/dist/components/arcgis-paste/customElement.js +1 -1
  212. package/dist/components/arcgis-popup/customElement.d.ts +8 -7
  213. package/dist/components/arcgis-popup/customElement.js +144 -138
  214. package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
  215. package/dist/components/arcgis-presentation/customElement.js +74 -75
  216. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  217. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  218. package/dist/components/arcgis-print/customElement.js +1 -1
  219. package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
  220. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  221. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  222. package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
  223. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  224. package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
  225. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  226. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  227. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  228. package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
  229. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  230. package/dist/components/arcgis-scene/customElement.d.ts +42 -13
  231. package/dist/components/arcgis-search/customElement.d.ts +4 -4
  232. package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
  233. package/dist/components/arcgis-selection-list/customElement.js +9 -9
  234. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
  235. package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
  236. package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
  237. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  238. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  239. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  240. package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
  241. package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
  242. package/dist/components/arcgis-sketch/customElement.js +144 -142
  243. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  244. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  245. package/dist/components/arcgis-slice/customElement.js +16 -16
  246. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
  247. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
  248. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
  249. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  250. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
  251. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  252. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
  253. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  254. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
  255. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
  256. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
  257. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  258. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
  259. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
  260. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
  261. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
  262. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  263. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  264. package/dist/components/arcgis-spinner/customElement.js +1 -1
  265. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  266. package/dist/components/arcgis-time-bar/customElement.js +2 -2
  267. package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
  268. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
  269. package/dist/components/arcgis-time-bar-slider/customElement.js +17 -17
  270. package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
  271. package/dist/components/arcgis-time-slider/customElement.js +4 -4
  272. package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
  273. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  274. package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
  275. package/dist/components/arcgis-track/customElement.d.ts +4 -4
  276. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  277. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  278. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  279. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  280. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +2 -2
  281. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  282. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +7 -7
  283. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +8 -5
  284. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +51 -43
  285. package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
  286. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +20 -4
  287. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
  288. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  289. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
  290. package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +23 -16
  291. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
  292. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  293. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  294. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  295. package/dist/components/arcgis-version-management/customElement.js +1 -1
  296. package/dist/components/arcgis-video/customElement.d.ts +19 -1
  297. package/dist/components/arcgis-video/customElement.js +7 -4
  298. package/dist/components/arcgis-video-player/customElement.d.ts +17 -0
  299. package/dist/components/arcgis-video-player/customElement.js +60 -52
  300. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  301. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  302. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  303. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  304. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  305. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  306. package/dist/components/arcgis-weather/customElement.js +1 -1
  307. package/dist/components/slider-legacy/types.d.ts +2 -3
  308. package/dist/docs/api.json +1 -1
  309. package/dist/docs/docs.json +1 -1
  310. package/dist/docs/vscode.css-custom-data.json +1 -1
  311. package/dist/docs/vscode.html-custom-data.json +1 -1
  312. package/dist/docs/web-types.json +1 -1
  313. package/dist/index.d.ts +0 -4
  314. package/dist/loader.js +5 -5
  315. package/dist/types/lumina.d.ts +1 -6
  316. package/dist/types/preact.d.ts +1 -7
  317. package/dist/types/react.d.ts +1 -8
  318. package/dist/types/stencil.d.ts +1 -6
  319. package/package.json +6 -6
  320. package/dist/cdn/22RLIDCP.js +0 -2
  321. package/dist/cdn/2PLAZVGP.js +0 -2
  322. package/dist/cdn/2RQGZLOJ.js +0 -2
  323. package/dist/cdn/2S6RQ6Q4.js +0 -2
  324. package/dist/cdn/3EXEL7AM.js +0 -2
  325. package/dist/cdn/3W7KESW7.js +0 -2
  326. package/dist/cdn/4N4XDCDQ.js +0 -2
  327. package/dist/cdn/4NG7CALI.js +0 -2
  328. package/dist/cdn/4PDZTEB2.js +0 -2
  329. package/dist/cdn/5DEJDR4W.js +0 -2
  330. package/dist/cdn/5PPYHS6V.js +0 -2
  331. package/dist/cdn/5V6BNJ5O.js +0 -2
  332. package/dist/cdn/5V6K43GW.js +0 -2
  333. package/dist/cdn/66GRDX36.js +0 -2
  334. package/dist/cdn/6G5QADEG.js +0 -2
  335. package/dist/cdn/6GE2WBKV.js +0 -2
  336. package/dist/cdn/6QWLMG5M.js +0 -2
  337. package/dist/cdn/6T4BDMND.js +0 -2
  338. package/dist/cdn/6VV5SX76.js +0 -2
  339. package/dist/cdn/74PUSJU5.js +0 -2
  340. package/dist/cdn/7JK4JGPG.js +0 -2
  341. package/dist/cdn/APFZ2FVO.js +0 -2
  342. package/dist/cdn/BJI5DVB5.js +0 -2
  343. package/dist/cdn/BM3FQ4OG.js +0 -2
  344. package/dist/cdn/CGE6E3O3.js +0 -2
  345. package/dist/cdn/CXXBV6RJ.js +0 -2
  346. package/dist/cdn/DEW5IWND.js +0 -2
  347. package/dist/cdn/E5CGORXN.js +0 -2
  348. package/dist/cdn/E5X5BYWA.js +0 -2
  349. package/dist/cdn/EB4V6SPF.js +0 -2
  350. package/dist/cdn/ECUVJOIW.js +0 -2
  351. package/dist/cdn/FMLDKHWP.js +0 -3
  352. package/dist/cdn/G2ACNJGG.js +0 -2
  353. package/dist/cdn/GIQT67VT.js +0 -2
  354. package/dist/cdn/H66E4VOY.js +0 -2
  355. package/dist/cdn/HL6WL2YA.js +0 -2
  356. package/dist/cdn/HTONXZBP.js +0 -2
  357. package/dist/cdn/HUWIY53T.js +0 -2
  358. package/dist/cdn/IJ7EV66N.js +0 -2
  359. package/dist/cdn/IOUO7KBT.js +0 -2
  360. package/dist/cdn/JRO4IBJP.js +0 -2
  361. package/dist/cdn/JUOOKKZJ.js +0 -2
  362. package/dist/cdn/KE2ER3F7.js +0 -2
  363. package/dist/cdn/KIHYSYOL.js +0 -2
  364. package/dist/cdn/KJISACOI.js +0 -2
  365. package/dist/cdn/L4WLEN3C.js +0 -2
  366. package/dist/cdn/LILX2DJE.js +0 -2
  367. package/dist/cdn/LP4ETJF7.js +0 -2
  368. package/dist/cdn/MDS3NVWM.js +0 -2
  369. package/dist/cdn/MW27GSDX.js +0 -2
  370. package/dist/cdn/NZQLQGTQ.js +0 -2
  371. package/dist/cdn/O46PVNMT.js +0 -2
  372. package/dist/cdn/ONYCZO7Y.js +0 -2
  373. package/dist/cdn/ORVSAF3Z.js +0 -2
  374. package/dist/cdn/OZF64H7N.js +0 -2
  375. package/dist/cdn/P65FMRMP.js +0 -2
  376. package/dist/cdn/PXDX3LCI.js +0 -2
  377. package/dist/cdn/Q2GYNZYQ.js +0 -2
  378. package/dist/cdn/QET5SVDO.js +0 -2
  379. package/dist/cdn/QUPDTNAC.js +0 -2
  380. package/dist/cdn/R5PT7JNG.js +0 -2
  381. package/dist/cdn/R6ARQKAY.js +0 -2
  382. package/dist/cdn/RBRDUDEY.js +0 -2
  383. package/dist/cdn/RQPOCDJS.js +0 -2
  384. package/dist/cdn/RSKBANQ5.js +0 -2
  385. package/dist/cdn/RT53VCER.js +0 -2
  386. package/dist/cdn/T3MDSQ3T.js +0 -2
  387. package/dist/cdn/TDQYO6FQ.js +0 -2
  388. package/dist/cdn/TKD5T5DW.js +0 -2
  389. package/dist/cdn/UB6BQW3G.js +0 -2
  390. package/dist/cdn/UFDB6U6V.js +0 -2
  391. package/dist/cdn/UI5E3MX7.js +0 -2
  392. package/dist/cdn/UKIVMO7H.js +0 -2
  393. package/dist/cdn/UR3Z5YHW.js +0 -2
  394. package/dist/cdn/VM5QVCMC.js +0 -2
  395. package/dist/cdn/VPDDFGYQ.js +0 -2
  396. package/dist/cdn/W4GNRGIN.js +0 -2
  397. package/dist/cdn/WG5PHRPT.js +0 -2
  398. package/dist/cdn/WW7YOPDY.js +0 -2
  399. package/dist/cdn/XN3MG6YU.js +0 -2
  400. package/dist/cdn/XWBR6FXI.js +0 -2
  401. package/dist/cdn/Y5ZZCA3R.js +0 -2
  402. package/dist/cdn/Y6NC7ML3.js +0 -2
  403. package/dist/cdn/Y7XSHXVA.js +0 -2
  404. package/dist/cdn/YBSEIOQX.js +0 -2
  405. package/dist/cdn/YC7VLNKI.js +0 -2
  406. package/dist/cdn/YITBBUPR.js +0 -2
  407. package/dist/cdn/YJROHURO.js +0 -2
  408. package/dist/cdn/YXIJXXTK.js +0 -2
  409. package/dist/cdn/Z3674FMT.js +0 -2
  410. package/dist/cdn/Z6NHKWWS.js +0 -2
  411. package/dist/cdn/ZJPYW3TN.js +0 -2
  412. package/dist/cdn/ZKKZQVJT.js +0 -2
  413. package/dist/components/arcgis-feature-form-field/customElement.d.ts +0 -189
  414. package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
  415. package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
  416. package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
  417. package/dist/components/arcgis-feature-form-field-number/index.d.ts +0 -1
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as d } from "../../chunks/runtime.js";
2
+ import { c as m } from "../../chunks/runtime.js";
3
3
  import c from "@arcgis/core/networks/support/UNTraceConfiguration.js";
4
- import { LitElement as m, createEvent as h } from "@arcgis/lumina";
4
+ import { LitElement as d, createEvent as h } from "@arcgis/lumina";
5
5
  import { u as b } from "../../chunks/useT9n.js";
6
6
  import { css as g, html as r } from "lit";
7
7
  import { log as l } from "@arcgis/toolkit/log";
8
8
  import { usePropertyChange as f } from "@arcgis/lumina/controllers";
9
9
  import { q as k } from "../../chunks/layer-utils.js";
10
- const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block>:last-child{margin-bottom:0}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`, C = 20, p = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]);
11
- class N extends m {
10
+ const w = g`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md)}calcite-block>:is(calcite-combobox,calcite-input,calcite-notice):not(:last-child){margin-bottom:var(--calcite-space-md)}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`, p = 20, C = /* @__PURE__ */ new Set(["subnetwork", "subnetwork-controller", "upstream", "downstream", "isolation"]);
11
+ class N extends d {
12
12
  constructor() {
13
13
  super(...arguments), this._messages = b({ blocking: !0 }), this._subnetworkNamesState = "ready", this._compatibleSubnetworkNames = [], this.traceConfigurations = [], this.hideSubnetworkInfo = !1, this.hideErrors = !1, this.state = "ready", this.arcgisPropertyChange = f()("selectedNamedTraceConfiguration", "traceConfiguration"), this.arcgisError = h();
14
14
  }
@@ -29,12 +29,12 @@ class N extends m {
29
29
  return !!e?.traceConfiguration?.subnetworkName && e?.traceType === "subnetwork";
30
30
  }
31
31
  willUpdate(e) {
32
- e.has("traceConfigurations") && this.#m(), e.has("selectedNamedTraceConfiguration") && this.#o(), e.has("utilityNetwork") && this.#d();
32
+ e.has("traceConfigurations") && this.#m(), e.has("selectedNamedTraceConfiguration") && this.#o(), e.has("utilityNetwork") && this.#u();
33
33
  }
34
34
  async #o() {
35
- const { selectedNamedTraceConfiguration: e, _messages: t } = this;
36
- if (!(e?.traceConfiguration instanceof c)) {
37
- this.#t(t.errors.noTraceConfiguration), this.traceConfiguration = void 0, this.arcgisPropertyChange.emit({ name: "traceConfiguration" });
35
+ const { selectedNamedTraceConfiguration: e } = this;
36
+ if (!e || !(e.traceConfiguration instanceof c)) {
37
+ this.#t(e ? this._messages.errors.noTraceConfiguration : this._messages.errors.traceConfigurationNotFound), this.traceConfiguration = void 0, this.arcgisPropertyChange.emit({ name: "traceConfiguration" });
38
38
  return;
39
39
  }
40
40
  this.#i(), this.traceConfiguration = e.traceConfiguration.clone(), this.arcgisPropertyChange.emit({ name: "selectedNamedTraceConfiguration" }), this.arcgisPropertyChange.emit({ name: "traceConfiguration" }), this.isSubnetworkNameTraceSelected && (this._subnetworkNamesState = "loading", this.state = "loading", await this.#s(this.traceConfiguration), this._subnetworkNamesState = "ready", this.state = "ready");
@@ -58,19 +58,11 @@ class N extends m {
58
58
  const e = this.traceConfiguration, t = `DOMAINNETWORKNAME = '${e.domainNetworkName}'`, i = `TIERNAME = '${e.tierName}'`;
59
59
  return [t, i].join(" AND ");
60
60
  }
61
- #u(e) {
62
- const t = this.traceConfigurations.find((i) => i.globalId === e);
63
- if (!t) {
64
- this.#t(this._messages.errors.traceConfigurationNotFound), this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0;
65
- return;
66
- }
67
- this.#i(), this.selectedNamedTraceConfiguration = t;
68
- }
69
- #d() {
61
+ #u() {
70
62
  this.#e = void 0, this._subnetworksTable = void 0, this._compatibleSubnetworkNames = [];
71
63
  }
72
64
  #m() {
73
- this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations.length ? (this.#i(), this.selectedNamedTraceConfiguration = this.traceConfigurations.find((e) => e.traceConfiguration instanceof c), this.#o()) : this.#t(this._messages.errors.noTraceConfigurations);
65
+ this.traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this.traceConfigurations.length ? (this.#i(), this.selectedNamedTraceConfiguration = this.traceConfigurations.find((e) => e.traceConfiguration instanceof c) ?? this.traceConfigurations.at(0)) : this.#t(this._messages.errors.noTraceConfigurations);
74
66
  }
75
67
  #t(e) {
76
68
  l("error", this, e), this.error = e, this.state = "error", this.arcgisError.emit();
@@ -84,25 +76,25 @@ class N extends m {
84
76
  #r(e, t = !1, i = "exclamation-mark-triangle") {
85
77
  return this.hideErrors ? null : r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
86
78
  }
87
- #h() {
88
- const { selectedNamedTraceConfiguration: e } = this;
89
- return r`<calcite-label>${e?.title}</calcite-label>`;
79
+ #d() {
80
+ const e = this.selectedNamedTraceConfiguration?.title;
81
+ return e ? r`<calcite-label>${e}</calcite-label>` : null;
90
82
  }
91
- #b() {
83
+ #h() {
92
84
  const e = this.traceConfigurations.map((i) => r`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId === this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`), t = this._messages.labels.traceConfiguration;
93
85
  return r`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: i }) => {
94
86
  const a = i.selectedItems[0]?.value;
95
- this.#u(a);
87
+ this.selectedNamedTraceConfiguration = this.traceConfigurations.find((o) => o.globalId === a);
96
88
  }}>${e}</calcite-combobox>`;
97
89
  }
98
- #g() {
90
+ #b() {
99
91
  const { _messages: e } = this;
100
92
  if (this.error === e.errors.noTraceConfigurations)
101
93
  return this.#r(e.errors.noTraceConfigurations);
102
- const t = this.error ? this.#r(this.error) : null, i = this.traceConfigurations.length > 1 ? this.#b() : this.#h(), a = this._messages.labels.traceConfiguration, o = this.heading ?? a;
94
+ const t = this.error ? this.#r(this.error) : null, i = this.traceConfigurations.length > 1 ? this.#h() : this.#d(), a = this._messages.labels.traceConfiguration, o = this.heading ?? a;
103
95
  return r`<calcite-block .heading=${o} .label=${a} expanded>${i}${t}</calcite-block>`;
104
96
  }
105
- #f() {
97
+ #g() {
106
98
  if (this.hideSubnetworkInfo)
107
99
  return null;
108
100
  const { _messages: e, selectedNamedTraceConfiguration: t } = this;
@@ -112,26 +104,26 @@ class N extends m {
112
104
  const { domainNetworkName: i, tierName: a, targetTierName: o } = t.traceConfiguration;
113
105
  return !i && !a && !o ? (l("warn", this, "`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."), null) : r`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><div class="subnetwork-details">${i ? this.#a(e.headings.domainNetwork, i) : null}${a ? this.#a(e.headings.tier, a) : null}${o ? this.#a(e.headings.targetTier, o) : null}</div></calcite-block>`;
114
106
  }
115
- #k() {
107
+ #f() {
116
108
  const { _messages: e } = this, t = e.labels.subnetworkName;
117
- return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > C ? this.#w() : this.#C()}</calcite-block>` : this.#r(e.errors.noCompatibleSubnetworks) : null;
109
+ return this.isSubnetworkNameTraceSelected ? this._subnetworkNamesState === "loading" ? r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>` : this._compatibleSubnetworkNames.length ? r`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length > p ? this.#k() : this.#w()}</calcite-block>` : this.#r(e.errors.noCompatibleSubnetworks) : null;
118
110
  }
119
- #w() {
111
+ #k() {
120
112
  const { _messages: e } = this;
121
113
  return r`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e ? "valid" : "invalid"} .value=${this.#e} @calciteInputInput=${(t) => this.#e = t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`;
122
114
  }
123
- #C() {
115
+ #w() {
124
116
  return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: e }) => {
125
117
  const t = e.selectedItems[0]?.value;
126
118
  this.#e = t;
127
119
  }}>${this._compatibleSubnetworkNames.map((e) => r`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e === this.#e}></calcite-combobox-item>`)}</calcite-combobox>`;
128
120
  }
129
121
  render() {
130
- const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType && p.has(e.traceType) ? r`${this.#f()}${this.#k()}` : null;
131
- return r`${this.#g()}${i}`;
122
+ const { selectedNamedTraceConfiguration: e } = this, i = e?.traceType && C.has(e.traceType) ? r`${this.#g()}${this.#f()}` : null;
123
+ return r`${this.#b()}${i}`;
132
124
  }
133
125
  }
134
- d("arcgis-utility-network-trace-configuration-picker", N);
126
+ m("arcgis-utility-network-trace-configuration-picker", N);
135
127
  export {
136
128
  N as ArcgisUtilityNetworkTraceConfigurationPicker
137
129
  };
@@ -6,7 +6,7 @@ import { log as i, composeEmptyPropertyMessage as p } from "@arcgis/toolkit/log"
6
6
  import { css as b, html as l } from "lit";
7
7
  import { u as y } from "../../chunks/useT9n.js";
8
8
  import { i as c } from "../../chunks/utils5.js";
9
- const w = b`calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.functions-heading{margin:0 0 var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`;
9
+ const w = b`calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.functions-heading{margin:0 0 var(--calcite-space-2xs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`;
10
10
  class v extends d {
11
11
  constructor() {
12
12
  super(...arguments), this._messages = y({ blocking: !0 }), this.autoDestroyDisabled = !1, this.emitsArcgisResultReady = !0, this.state = "ready", this.arcgisPropertyChange = f()("state"), this.arcgisResultReady = R();
@@ -1,9 +1,9 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as g } from "../../chunks/runtime.js";
2
+ import { c as p } from "../../chunks/runtime.js";
3
3
  import { ref as h } from "lit/directives/ref.js";
4
4
  import c from "@arcgis/core/core/Collection.js";
5
- import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
6
- import { substitute as m } from "@arcgis/core/intl.js";
5
+ import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
6
+ import { substitute as g } from "@arcgis/core/intl.js";
7
7
  import f from "@arcgis/core/rest/networks/support/TraceLocation.js";
8
8
  import { LitElement as y, createEvent as l } from "@arcgis/lumina";
9
9
  import { usePropertyChange as w } from "@arcgis/lumina/controllers";
@@ -12,7 +12,7 @@ import { u as b } from "../../chunks/useT9n.js";
12
12
  import { l as u } from "../../chunks/async-utils.js";
13
13
  import { q as T, i as v } from "../../chunks/layer-utils.js";
14
14
  import { ArcgisUtilityNetworkTraceLocations as d } from "../arcgis-utility-network-trace-locations/customElement.js";
15
- const $ = k`: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-combobox,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}calcite-notice{margin:var(--calcite-spacing-md)}.subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}.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);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`;
15
+ const $ = k`: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-space-md);background-color:var(--calcite-color-surface-2)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-space-md)}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}.subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.results-limited-message{padding:var(--calcite-space-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-space-md);margin:var(--calcite-space-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-space-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`;
16
16
  class L extends y {
17
17
  constructor() {
18
18
  super(...arguments), this._messages = b({ blocking: !0 }), this.#n = !0, this.#d = /* @__PURE__ */ new Map(), this.#e = new c(), this.#i = new c(), this.#t = new c(), this.#a = null, this.#r = 20, this._candidateFeatures = [], this._compatibleSubnetworkNames = [], this._namedTraceConfigurations = [], this._subnetworkNamesState = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.includeDefaultActionsDisabled = !1, this.mode = "default", this.arcgisPropertyChange = w()("mode", "selectedNamedTraceConfiguration", "selectedUtilityNetwork", "traceLocations"), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTriggerAction = l();
@@ -65,7 +65,7 @@ class L extends y {
65
65
  }
66
66
  get traceLocations() {
67
67
  const e = [];
68
- return this.#h && this.#e.forEach((t) => e.push(...this.#g(t))), this.#u && this.#t.forEach((t) => e.push(...this.#g(t))), this.#i.forEach((t) => e.push(...this.#g(t))), e;
68
+ return this.#h && this.#e.forEach((t) => e.push(...this.#p(t))), this.#u && this.#t.forEach((t) => e.push(...this.#p(t))), this.#i.forEach((t) => e.push(...this.#p(t))), e;
69
69
  }
70
70
  async destroy() {
71
71
  this.#T(), d.getSketchViewModel(this.view)?.cancel(), d.removeSketchGraphicsLayer(this.view);
@@ -81,7 +81,7 @@ class L extends y {
81
81
  }
82
82
  load() {
83
83
  this.#b(), this.manager.onLifecycle(() => [
84
- p(() => this.view?.map, () => this.#b())
84
+ m(() => this.view?.map, () => this.#b())
85
85
  ]);
86
86
  }
87
87
  willUpdate(e) {
@@ -114,7 +114,7 @@ class L extends y {
114
114
  #P(e) {
115
115
  e && (this.#s = e);
116
116
  }
117
- #g(e) {
117
+ #p(e) {
118
118
  const t = e.flagProperties.selectedTerminals;
119
119
  return e.flagProperties.terminalConfiguration && t?.size ? Array.from(t, (i) => new f({
120
120
  type: e.traceLocation.type,
@@ -141,7 +141,7 @@ class L extends y {
141
141
  this.#c(new c([...this.#e, ...this.#i, ...this.#t]));
142
142
  return;
143
143
  }
144
- this.#p(this.#i), this.#h ? this.#p(this.#e) : this.#c(this.#e), this.#u ? this.#p(this.#t) : this.#c(this.#t);
144
+ this.#m(this.#i), this.#h ? this.#m(this.#e) : this.#c(this.#e), this.#u ? this.#m(this.#t) : this.#c(this.#t);
145
145
  }
146
146
  #U() {
147
147
  this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [];
@@ -215,7 +215,7 @@ class L extends y {
215
215
  e.resolve(i), this.#a = null;
216
216
  }
217
217
  }
218
- #p(e) {
218
+ #m(e) {
219
219
  const t = e.map(({ spatialProperties: i }) => i.flagGraphic).filter((i) => i !== void 0 && !this.view?.graphics.includes(i));
220
220
  this.view?.graphics.addMany(t);
221
221
  }
@@ -255,16 +255,16 @@ class L extends y {
255
255
  return r`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#n} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .initialDisplayMode=${s} .messageOverrides=${this.messageOverrides} @arcgisClose=${() => this.#v()} @arcgisPropertyChange=${this.#S} @arcgisTriggerAction=${this.#C} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this.#P)}></arcgis-features-next>`;
256
256
  }
257
257
  #W() {
258
- const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, s = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = m(t.warnings.exceededDisplayLimit, {
258
+ const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, s = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = g(t.warnings.exceededDisplayLimit, {
259
259
  limit: this.#r.toString()
260
260
  }), n = i ? !(a?.isUtilityLayer(i.layer) ?? !0) : !0;
261
261
  return r`${s && r`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => this.#o()} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && r`<calcite-button width=full slot=footer appearance=solid @click=${() => this.#G()} .disabled=${n}>${t.buttons.add}</calcite-button>` || ""}`;
262
262
  }
263
- #m(e, t, i) {
263
+ #g(e, t, i) {
264
264
  return r`<arcgis-utility-network-trace-locations .messageOverrides=${this.messageOverrides} .view=${this.view} .traceLocationType=${e} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisTraceLocationSelectStart=${this.#I} @arcgisTraceLocationSelectEnd=${this.#V} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#l} .traceLocations=${t} .afterMapInteraction=${this.#O.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(i)}></arcgis-utility-network-trace-locations>`;
265
265
  }
266
266
  #J() {
267
- const { _messages: e } = this, t = this.#q(), i = this.#j(), a = this.#k ? r`${this.#h ? this.#m("starting-point", this.#e, this.#_) : null}${this.#u ? this.#m("stopping-point", this.#t, this.#F) : null}${this.#m("barrier", this.#i, this.#N)}` : null, s = this.selectedUtilityNetwork?.loaded ? r`${i}${a}` : null;
267
+ const { _messages: e } = this, t = this.#q(), i = this.#j(), a = this.#k ? r`${this.#h ? this.#g("starting-point", this.#e, this.#_) : null}${this.#u ? this.#g("stopping-point", this.#t, this.#F) : null}${this.#g("barrier", this.#i, this.#N)}` : null, s = this.selectedUtilityNetwork?.loaded ? r`${i}${a}` : null;
268
268
  return r`<calcite-block-group .label=${e.labels.traceInputs}>${t}${s}</calcite-block-group>`;
269
269
  }
270
270
  render() {
@@ -272,7 +272,7 @@ class L extends y {
272
272
  return r`<calcite-panel>${e === "add-spatial-feature" ? this.#Q() : null}<calcite-flow .hidden=${e === "add-spatial-feature"}>${this.#z()}${this.#H()}</calcite-flow>${e !== "default" ? this.#W() : null}</calcite-panel>`;
273
273
  }
274
274
  }
275
- g("arcgis-utility-network-trace-inputs", L);
275
+ p("arcgis-utility-network-trace-inputs", L);
276
276
  export {
277
277
  L as ArcgisUtilityNetworkTraceInputs
278
278
  };
@@ -11,6 +11,28 @@ import type SketchViewModel from "@arcgis/core/widgets/Sketch/SketchViewModel.js
11
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
12
  import type { T9nMeta } from "@arcgis/lumina/controllers";
13
13
 
14
+ /**
15
+ * A trace location with its display, terminal, and spatial information
16
+ * maintained by [arcgis-utility-network-trace-locations](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-locations/).
17
+ */
18
+ export interface TraceLocationDetails {
19
+ /** The trace location used for trace execution. */
20
+ traceLocation: TraceLocation;
21
+ /** Display settings and terminal selections for the location. */
22
+ flagProperties: {
23
+ title: string;
24
+ expanded?: boolean;
25
+ terminalConfiguration?: TerminalConfiguration;
26
+ selectedTerminals?: Set<number>;
27
+ };
28
+ /** The selected map position, feature, and marker graphic. */
29
+ spatialProperties: {
30
+ mapPoint?: Point;
31
+ mapGraphic?: Graphic;
32
+ flagGraphic?: Graphic;
33
+ };
34
+ }
35
+
14
36
  /**
15
37
  * The Utility Network Trace Locations component selects and manages trace locations.
16
38
  * Users can add locations from the map, remove individual locations, clear the list, select
@@ -276,7 +298,7 @@ export abstract class ArcgisUtilityNetworkTraceLocations extends LitElement {
276
298
  * Adding or removing locations through the component's UI updates this collection and the map markers.
277
299
  *
278
300
  * When a user selects terminals, these choices are stored in `flagProperties.selectedTerminals`; they do not
279
- * . create a separate `traceLocation` for each selected terminal. When constructing trace inputs, account for
301
+ * create a separate `traceLocation` for each selected terminal. When constructing trace inputs, account for
280
302
  * the selected terminals rather than using only each entry's `traceLocation.terminalId`.
281
303
  *
282
304
  * @since 5.2
@@ -342,21 +364,6 @@ export abstract class ArcgisUtilityNetworkTraceLocations extends LitElement {
342
364
  };
343
365
  }
344
366
 
345
- export interface TraceLocationDetails {
346
- traceLocation: TraceLocation;
347
- flagProperties: {
348
- title: string;
349
- expanded?: boolean;
350
- terminalConfiguration?: TerminalConfiguration;
351
- selectedTerminals?: Set<number>;
352
- };
353
- spatialProperties: {
354
- mapPoint?: Point;
355
- mapGraphic?: Graphic;
356
- flagGraphic?: Graphic;
357
- };
358
- }
359
-
360
367
  export type TraceLocationType = "barrier" | "starting-point" | "stopping-point";
361
368
 
362
369
  export interface SelectStartPayload {
@@ -11,17 +11,17 @@ import R from "@arcgis/core/layers/GraphicsLayer.js";
11
11
  import T from "@arcgis/core/rest/networks/support/TraceLocation.js";
12
12
  import k from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
13
13
  import B from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
14
- import { LitElement as N, createEvent as x } from "@arcgis/lumina";
14
+ import { LitElement as q, createEvent as x } from "@arcgis/lumina";
15
15
  import { log as p, composeMissingPropertyMessage as b } from "@arcgis/toolkit/log";
16
- import { u as q } from "../../chunks/useT9n.js";
17
- import { a as D, d as j, e as v, i as O } from "../../chunks/layer-utils.js";
18
- import { css as H, html as u } from "lit";
19
- import G from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
16
+ import { u as D } from "../../chunks/useT9n.js";
17
+ import { a as N, d as j, e as G, i as O } from "../../chunks/layer-utils.js";
18
+ import { css as H, html as d } from "lit";
19
+ import v from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
20
20
  import { substitute as U } from "@arcgis/core/intl.js";
21
21
  const W = H`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`, $ = `utility-network-trace-locations-sketch-${Date.now()}`;
22
- class S extends N {
22
+ class S extends q {
23
23
  constructor() {
24
- super(...arguments), this._messages = q({ blocking: !0 }), this._isSelectWaiting = !1, this.traceLocationType = "starting-point", this.traceLocations = new w(), this.filterLayers = new w(), this.spatialTolerance = 0.05, this.autoDestroyDisabled = !1, this.arcgisTraceLocationSelectEnd = x(), this.arcgisTraceLocationSelectStart = x(), this.arcgisError = x();
24
+ super(...arguments), this._messages = D({ blocking: !0 }), this._isSelectWaiting = !1, this.traceLocationType = "starting-point", this.traceLocations = new w(), this.filterLayers = new w(), this.spatialTolerance = 0.05, this.autoDestroyDisabled = !1, this.arcgisTraceLocationSelectEnd = x(), this.arcgisTraceLocationSelectStart = x(), this.arcgisError = x();
25
25
  }
26
26
  static {
27
27
  this.properties = { _isSelectWaiting: 16, beforeMapInteraction: 0, afterMapInteraction: 0, messageOverrides: 0, view: 0, traceLocationType: 1, traceLocations: 0, filterLayers: 0, spatialTolerance: 9, error: 1, autoDestroyDisabled: 5, utilityNetwork: 0, heading: 1, sketchViewModel: 32 };
@@ -49,7 +49,7 @@ class S extends N {
49
49
  listMode: "hide",
50
50
  title: t
51
51
  });
52
- return D(e, i), i;
52
+ return N(e, i), i;
53
53
  }
54
54
  return r;
55
55
  }
@@ -89,11 +89,11 @@ class S extends N {
89
89
  const e = new w();
90
90
  this.filterLayers?.forEach((t) => {
91
91
  j(t) ? t.sublayers.forEach((r) => {
92
- e.add(new G({
92
+ e.add(new v({
93
93
  layer: r,
94
94
  enabled: !0
95
95
  }));
96
- }) : e.add(new G({
96
+ }) : e.add(new v({
97
97
  layer: t,
98
98
  enabled: !0
99
99
  }));
@@ -113,16 +113,16 @@ class S extends N {
113
113
  return p("warn", this, "Unable to project flag point to source geometry spatial reference."), -1;
114
114
  s = f;
115
115
  }
116
- const n = _(r, s);
117
- if (n.isEmpty)
116
+ const c = _(r, s);
117
+ if (c.isEmpty)
118
118
  return p("warn", this, "Unable to compute nearest coordinate for polyline flag."), -1;
119
- const o = n.coordinate, c = o.x - 0.5, l = o.y - 0.5, d = o.x + 0.5, m = o.y + 0.5, g = new A({
119
+ const o = c.coordinate, l = o.x - 0.5, n = o.y - 0.5, u = o.x + 0.5, m = o.y + 0.5, g = new A({
120
120
  hasZ: !1,
121
121
  hasM: !0,
122
122
  paths: [
123
123
  [
124
- [c, l],
125
- [d, m]
124
+ [l, n],
125
+ [u, m]
126
126
  ]
127
127
  ],
128
128
  spatialReference: r.spatialReference
@@ -174,19 +174,25 @@ class S extends N {
174
174
  this.#e("warn", this._messages.errors.noHitResult), this.#t(t, r);
175
175
  return;
176
176
  }
177
- const s = a.geometry, n = t.toScreen(s);
178
- if (!n) {
177
+ const s = a.geometry, c = t.toScreen(s);
178
+ if (!c) {
179
179
  this.#e("warn", this._messages.errors.noHitResult), this.#t(t, r);
180
180
  return;
181
181
  }
182
- const c = (await t.hitTest(n, {
182
+ const l = (await t.hitTest(c, {
183
183
  include: this.filterLayers
184
- })).results.filter((d) => d.type === "graphic" && d?.layer && d.graphic);
185
- if (!c.length) {
184
+ })).results.filter((n) => n.type === "graphic" && n?.layer && n.graphic);
185
+ if (!l.length) {
186
186
  this.#e("info", this._messages.errors.noHitResult), this.#t(t, r);
187
187
  return;
188
188
  }
189
- this.#i(), await this.#u(c, s, t) ? this.arcgisTraceLocationSelectEnd.emit() : this.#t(t, r);
189
+ this.#i();
190
+ try {
191
+ await this.#u(l, s, t) ? this.arcgisTraceLocationSelectEnd.emit() : this.#t(t, r);
192
+ } catch (n) {
193
+ const u = n instanceof Error ? n.message : String(n);
194
+ this.#e("error", u), this.arcgisTraceLocationSelectEnd.emit();
195
+ }
190
196
  }
191
197
  #i() {
192
198
  const { view: e, sketchViewModel: t } = this;
@@ -201,58 +207,60 @@ class S extends N {
201
207
  return this.#e("error", this._messages.errors.noHitResult), !1;
202
208
  let a = e[0].graphic;
203
209
  if (this.afterMapInteraction) {
204
- const n = e.map((o) => {
205
- const c = o, l = c.graphic;
206
- return l.origin = c.layer, l.sourceLayer = c.layer, l;
210
+ const c = e.map((o) => {
211
+ const l = o, n = l.graphic;
212
+ return n.origin = l.layer, n.sourceLayer = l.layer, n;
207
213
  });
208
214
  try {
209
- a = await this.afterMapInteraction(n);
215
+ a = await this.afterMapInteraction(c);
210
216
  } catch {
211
217
  a = null;
212
218
  }
213
219
  }
214
220
  if (!a)
215
- return p("error", this, "No graphic available from hit test results."), this.arcgisTraceLocationSelectEnd.emit(), !0;
221
+ return !0;
216
222
  const s = await this.#h(a);
217
- return s ? await this.#m(s, t, r) : (this.#e("error", this._messages.errors.missingAttributes), this.arcgisTraceLocationSelectEnd.emit(), !0);
223
+ if (!s)
224
+ throw new Error(this._messages.errors.missingAttributes);
225
+ return await this.#m(s, t, r);
218
226
  }
219
227
  async #h(e) {
220
- const t = (v(e.layer), e.layer), r = t.geometryType === null, i = t.fieldsIndex?.get("assetgroup") ?? !1, a = t.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", s = t.fieldsIndex?.get("assettype") ?? !1, n = t.fieldsIndex?.get("assettype")?.name ?? "assettype", o = e.getGlobalId(), c = e.getObjectId(), l = i ? !!e.getAttribute(a) : !0, d = s ? !!e.getAttribute(n) : !0, m = !!e.geometry;
221
- if (o && c && l && d && (m || r))
228
+ const t = (G(e.layer), e.layer), r = t.geometryType === null, i = t.fieldsIndex?.get("assetgroup") ?? !1, a = t.fieldsIndex?.get("assetgroup")?.name ?? "assetgroup", s = t.fieldsIndex?.get("assettype") ?? !1, c = t.fieldsIndex?.get("assettype")?.name ?? "assettype", o = e.getGlobalId(), l = e.getObjectId(), n = i ? !!e.getAttribute(a) : !0, u = s ? !!e.getAttribute(c) : !0, m = !!e.geometry;
229
+ if (o && l && n && u && (m || r))
222
230
  return e;
223
231
  const g = t.createQuery();
224
- return g.objectIds = [c], (await t.queryFeatures(g)).features[0] || null;
232
+ return g.objectIds = [l], (await t.queryFeatures(g)).features[0] || null;
225
233
  }
226
234
  async #m(e, t, r) {
227
- const { traceLocations: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, n = await this.#f(e, t);
228
- if (!n)
235
+ const { traceLocations: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, c = await this.#f(e, t);
236
+ if (!c)
229
237
  return this.#e("error", this._messages.errors.errorGeneratingTraceLocationDetails), !1;
230
- const o = i?.filter((l) => l.spatialProperties.mapGraphic?.getGlobalId() === a) ?? [];
238
+ const o = i?.filter((n) => n.spatialProperties.mapGraphic?.getGlobalId() === a) ?? [];
231
239
  if (o.length > 0) {
232
240
  if (s !== "polyline")
233
241
  return this.#e("warn", this._messages.errors.duplicateTraceLocationDetails), !1;
234
- if (o.some((l) => Math.abs(l.traceLocation.percentAlong - n.traceLocation.percentAlong) <= this.spatialTolerance))
242
+ if (o.some((n) => Math.abs(n.traceLocation.percentAlong - c.traceLocation.percentAlong) <= this.spatialTolerance))
235
243
  return this.#e("warn", this._messages.errors.duplicateTraceLocationDetailsWithinTolerance), !1;
236
244
  }
237
- const c = this.#y(e, t, r);
238
- return c ? (n.spatialProperties.flagGraphic = c, i?.add(n), !0) : (this.#e("warn", this._messages.errors.errorAdding), !1);
245
+ const l = this.#y(e, t, r);
246
+ return l ? (c.spatialProperties.flagGraphic = l, i?.add(c), !0) : (this.#e("warn", this._messages.errors.errorAdding), !1);
239
247
  }
240
248
  async #f(e, t) {
241
- const { traceLocationType: r, utilityNetwork: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, n = await this.#g(e);
249
+ const { traceLocationType: r, utilityNetwork: i } = this, a = e.getGlobalId() ?? "", s = e.geometry?.type, c = await this.#g(e);
242
250
  if (s === "point" || s === "polygon") {
243
- const o = i?.getTerminalConfiguration(e), c = o ? o.terminals[0].id : 1;
251
+ const o = i?.getTerminalConfiguration(e), l = o ? o.terminals[0].id : 1;
244
252
  return {
245
253
  traceLocation: new T({
246
254
  type: r,
247
255
  isFilterBarrier: !1,
248
256
  globalId: a,
249
- terminalId: c
257
+ terminalId: l
250
258
  }),
251
259
  flagProperties: {
252
- title: n,
260
+ title: c,
253
261
  expanded: !1,
254
262
  terminalConfiguration: o ?? void 0,
255
- selectedTerminals: o ? /* @__PURE__ */ new Set([c]) : void 0
263
+ selectedTerminals: o ? /* @__PURE__ */ new Set([l]) : void 0
256
264
  },
257
265
  spatialProperties: {
258
266
  mapPoint: t,
@@ -269,7 +277,7 @@ class S extends N {
269
277
  percentAlong: o
270
278
  }),
271
279
  flagProperties: {
272
- title: n,
280
+ title: c,
273
281
  expanded: !1,
274
282
  terminalConfiguration: void 0,
275
283
  selectedTerminals: void 0
@@ -280,20 +288,20 @@ class S extends N {
280
288
  }
281
289
  };
282
290
  } else if (!s) {
283
- const o = O(e.layer) ? e.layer.parent : e.layer, c = o && this.#c.includes(o.layerId), l = i?.getTerminalConfiguration(e), d = l ? l.terminals[0].id : c ? -1 : 1, m = c ? 0.5 : -1;
291
+ const o = O(e.layer) ? e.layer.parent : e.layer, l = o && this.#c.includes(o.layerId), n = i?.getTerminalConfiguration(e), u = n ? n.terminals[0].id : l ? -1 : 1, m = l ? 0.5 : -1;
284
292
  return {
285
293
  traceLocation: new T({
286
294
  type: r,
287
295
  isFilterBarrier: !1,
288
296
  globalId: a,
289
- terminalId: d,
297
+ terminalId: u,
290
298
  percentAlong: m
291
299
  }),
292
300
  flagProperties: {
293
- title: n,
301
+ title: c,
294
302
  expanded: !1,
295
- terminalConfiguration: l ?? void 0,
296
- selectedTerminals: l ? /* @__PURE__ */ new Set([d]) : void 0
303
+ terminalConfiguration: n ?? void 0,
304
+ selectedTerminals: n ? /* @__PURE__ */ new Set([u]) : void 0
297
305
  },
298
306
  spatialProperties: {
299
307
  mapPoint: t,
@@ -304,7 +312,7 @@ class S extends N {
304
312
  return null;
305
313
  }
306
314
  async #g(e) {
307
- const t = (v(e.layer), e.layer);
315
+ const t = (G(e.layer), e.layer);
308
316
  return ("getFeatureTitle" in t ? await t.getFeatureTitle(e) : null) || e.getObjectId()?.toString() || this._messages.unknown;
309
317
  }
310
318
  #y(e, t, r) {
@@ -350,25 +358,25 @@ class S extends N {
350
358
  }), t?.removeAll();
351
359
  }
352
360
  #L(e, t) {
353
- const { flagProperties: r } = e, { selectedTerminals: i } = r, { name: a, id: s } = t, n = i?.has(s) ?? !1;
354
- return u`<calcite-label layout=inline><calcite-checkbox .value=${s} .checked=${n} @calciteCheckboxChange=${(o) => {
361
+ const { flagProperties: r } = e, { selectedTerminals: i } = r, { name: a, id: s } = t, c = i?.has(s) ?? !1;
362
+ return d`<calcite-label layout=inline><calcite-checkbox .value=${s} .checked=${c} @calciteCheckboxChange=${(o) => {
355
363
  o.target.checked ? i?.add(s) : i?.delete(s), this.requestUpdate();
356
364
  }}></calcite-checkbox>${a}</calcite-label>`;
357
365
  }
358
366
  #T() {
359
- return u`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`;
367
+ return d`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`;
360
368
  }
361
369
  #k(e) {
362
370
  const { traceLocation: t } = e;
363
- return u`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${t.isFilterBarrier} @calciteSwitchChange=${(r) => {
371
+ return d`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${t.isFilterBarrier} @calciteSwitchChange=${(r) => {
364
372
  t.isFilterBarrier = r.target.checked;
365
373
  }}></calcite-switch></div></calcite-label>`;
366
374
  }
367
375
  #x(e) {
368
376
  const { flagProperties: t } = e, { terminalConfiguration: r, selectedTerminals: i } = t, a = e.traceLocation.type === "barrier", s = r && r.terminals.length > 0 && i?.size === 0;
369
- return u`<calcite-action .icon=${t.expanded ? "chevron-up" : "chevron-down"} slot=actions-end scale=s text @click=${() => {
377
+ return d`<calcite-action .icon=${t.expanded ? "chevron-up" : "chevron-down"} slot=actions-end scale=s text @click=${() => {
370
378
  t.expanded = !t.expanded, this.requestUpdate();
371
- }}></calcite-action>${s && u`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>` || ""}${t.expanded && u`<div class="terminals" slot=content-bottom>${a && this.#k(e) || ""}${r && this.#S(e) || ""}${s && this.#T() || ""}</div>` || ""}`;
379
+ }}></calcite-action>${s && d`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>` || ""}${t.expanded && d`<div class="terminals" slot=content-bottom>${a && this.#k(e) || ""}${r && this.#S(e) || ""}${s && this.#T() || ""}</div>` || ""}`;
372
380
  }
373
381
  #S(e) {
374
382
  const { flagProperties: t } = e, { terminalConfiguration: r } = t;
@@ -377,19 +385,19 @@ class S extends N {
377
385
  const i = r.terminals;
378
386
  return i.length ? i.length === 1 ? [] : i.map((s) => this.#L(e, s)) : (p("warn", this, "`terminalConfiguration.terminals` is required but either missing or empty.`"), []);
379
387
  }
380
- #v(e) {
381
- const { flagProperties: t } = e, { terminalConfiguration: r, expanded: i, title: a } = t, s = r && r.id !== 0, n = e.traceLocation.type === "barrier", o = s || n, c = r?.name ?? void 0;
382
- return u`<calcite-list-item .label=${a} .description=${c} .value=${a} .expanded=${i}>${o ? this.#x(e) : u`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${() => this.#a(e)}></calcite-action></calcite-list-item>`;
383
- }
384
388
  #G(e) {
389
+ const { flagProperties: t } = e, { terminalConfiguration: r, expanded: i, title: a } = t, s = r && r.id !== 0, c = e.traceLocation.type === "barrier", o = s || c, l = r?.name ?? void 0;
390
+ return d`<calcite-list-item .label=${a} .description=${l} .value=${a} .expanded=${i}>${o ? this.#x(e) : d`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${() => this.#a(e)}></calcite-action></calcite-list-item>`;
391
+ }
392
+ #v(e) {
385
393
  if (!e.length)
386
394
  return null;
387
- const { traceLocationType: t } = this, r = e.map((a) => this.#v(a)).toArray(), i = U(this._messages.labels.list, { type: t });
388
- return u`<div><calcite-list interaction-mode=static selection-mode=none .label=${i}>${r}</calcite-list></div>`;
395
+ const { traceLocationType: t } = this, r = e.map((a) => this.#G(a)).toArray(), i = U(this._messages.labels.list, { type: t });
396
+ return d`<div><calcite-list interaction-mode=static selection-mode=none .label=${i}>${r}</calcite-list></div>`;
389
397
  }
390
398
  #$() {
391
- const { traceLocationType: e, _messages: t, traceLocations: r, heading: i } = this, a = e === "starting-point" ? t.types.startingPoint : e === "barrier" ? t.types.barrier : t.types.stoppingPoint, s = i ?? a.heading, n = a.description, o = a.buttonText;
392
- return u`<calcite-block .heading=${s} .label=${s} expanded .description=${n}>${r?.length ? u`<calcite-button slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${() => this.#w()}>${t.buttons.clear}</calcite-button>${this.#G(r)}` : null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${o} @click=${() => this.#l()}>${o}</calcite-button></div></calcite-block>`;
399
+ const { traceLocationType: e, _messages: t, traceLocations: r, heading: i } = this, a = e === "starting-point" ? t.types.startingPoint : e === "barrier" ? t.types.barrier : t.types.stoppingPoint, s = i ?? a.heading, c = a.description, o = a.buttonText;
400
+ return d`<calcite-block .heading=${s} .label=${s} expanded .description=${c}>${r?.length ? d`<calcite-button slot=actions-end appearance=transparent .label=${t.buttons.clear} @click=${() => this.#w()}>${t.buttons.clear}</calcite-button>${this.#v(r)}` : null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${o} @click=${() => this.#l()}>${o}</calcite-button></div></calcite-block>`;
393
401
  }
394
402
  render() {
395
403
  return this.#$();
@@ -11,7 +11,7 @@ import { u as F } from "../../chunks/useT9n.js";
11
11
  import { l as f } from "../../chunks/async-utils.js";
12
12
  import { a as R, b as o } from "../../chunks/types.js";
13
13
  import { g as a, b as y, c as p, d as A, e as v, f as S, h as k, j as x } from "../../chunks/utils5.js";
14
- const L = D`:host{height:100%}slot:not([hidden]),.default-result-items:not([hidden]){display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.results-block{height:var(--arcgis-internal-trace-results-height, auto);margin-top:0;margin-bottom:0;&.features-list-active{--calcite-block-content-space: 0}}.no-selectable-results{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, m = {
14
+ const L = D`:host{height:100%}slot:not([hidden]),.default-result-items:not([hidden]){display:flex;flex-direction:column;gap:var(--calcite-space-md)}.results-block{height:var(--arcgis-internal-trace-results-height, auto);margin-top:0;margin-bottom:0;&.features-list-active{--calcite-block-content-space: 0}}.no-selectable-results{color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-space-md);gap:var(--calcite-space-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-space-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, m = {
15
15
  dirtyAreasDiscovered: -2147208511,
16
16
  noValidControllers: -2147208935,
17
17
  pathNotFound: -2147208444
@@ -12,7 +12,7 @@ import { u as L } from "../../chunks/useT9n.js";
12
12
  import { u as S } from "../../chunks/useView.js";
13
13
  import { c as C, t as n, i as O, l as D } from "../../chunks/async-utils.js";
14
14
  import { e as q } from "../../chunks/layer-utils.js";
15
- const P = V`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-block{margin:0;border-bottom:none}calcite-combobox{margin-bottom:var(--calcite-spacing-sm)}calcite-icon{width:32px}`, d = {
15
+ const P = V`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-space-lg);--arcgis-internal-panel-actions-gap: var(--calcite-space-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-block{margin:0;border-bottom:none}calcite-combobox{margin-bottom:var(--calcite-space-sm)}calcite-icon{width:32px}`, d = {
16
16
  noDirtyAreasInExtent: -2147208940,
17
17
  operationOnlyAllowedByOwner: -2147217144,
18
18
  cannotAcquireVersionLockV10: -2147217146,