@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.163

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 (233) hide show
  1. package/dist/cdn/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
  2. package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
  3. package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
  4. package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
  5. package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
  6. package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
  7. package/dist/cdn/522HNMQI.js +2 -0
  8. package/dist/cdn/55TRWAT7.js +2 -0
  9. package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
  10. package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
  11. package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
  12. package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
  13. package/dist/cdn/6IUQ5UHX.js +2 -0
  14. package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
  15. package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
  16. package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
  17. package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
  18. package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
  19. package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
  20. package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
  21. package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
  22. package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
  23. package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
  24. package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
  25. package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
  26. package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
  27. package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
  28. package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
  29. package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
  30. package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
  31. package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
  32. package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
  33. package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
  34. package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
  35. package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
  36. package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
  37. package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
  38. package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
  39. package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
  40. package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
  41. package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
  42. package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
  43. package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
  44. package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
  45. package/dist/cdn/H7O5I4IF.js +2 -0
  46. package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
  47. package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
  48. package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
  49. package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
  50. package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
  51. package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
  52. package/dist/cdn/{ECEHRM4F.js → INYYRLED.js} +1 -1
  53. package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
  54. package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
  55. package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
  56. package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
  57. package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
  58. package/dist/cdn/K4PC3ILQ.js +2 -0
  59. package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
  60. package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
  61. package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
  62. package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
  63. package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
  64. package/dist/cdn/L6YZXUBB.js +2 -0
  65. package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
  66. package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
  67. package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
  68. package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
  69. package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
  70. package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
  71. package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
  72. package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
  73. package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
  74. package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
  75. package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
  76. package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
  77. package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
  78. package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
  79. package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
  80. package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
  81. package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
  82. package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
  83. package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
  84. package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
  85. package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
  86. package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
  87. package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
  88. package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
  89. package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
  90. package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
  91. package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
  92. package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
  93. package/dist/cdn/SKIP3GUP.js +2 -0
  94. package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
  95. package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
  96. package/dist/cdn/TQRR2FH6.js +2 -0
  97. package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
  98. package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
  99. package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
  100. package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
  101. package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
  102. package/dist/cdn/URUFNID2.js +2 -0
  103. package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
  104. package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
  105. package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
  106. package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
  107. package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
  108. package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
  109. package/dist/cdn/X7QWBVC2.js +2 -0
  110. package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
  111. package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
  112. package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
  113. package/dist/cdn/YLLIMNEW.js +2 -0
  114. package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
  115. package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
  116. package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
  117. package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
  118. package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +1 -1
  119. package/dist/cdn/index.js +1 -1
  120. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  121. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
  122. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -10
  123. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
  124. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
  125. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
  126. package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
  127. package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
  128. package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
  129. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
  130. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  131. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
  132. package/dist/components/arcgis-daylight/customElement.d.ts +14 -14
  133. package/dist/components/arcgis-daylight/customElement.js +2 -1
  134. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
  135. package/dist/components/arcgis-directions/customElement.d.ts +4 -5
  136. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
  137. package/dist/components/arcgis-editor/customElement.d.ts +2 -3
  138. package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -9
  139. package/dist/components/arcgis-feature/customElement.d.ts +7 -7
  140. package/dist/components/arcgis-feature-fields/customElement.js +7 -7
  141. package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
  142. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  143. package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
  144. package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
  145. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  146. package/dist/components/arcgis-features/customElement.d.ts +41 -43
  147. package/dist/components/arcgis-features/customElement.js +48 -42
  148. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
  149. package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
  150. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  151. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  152. package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
  153. package/dist/components/arcgis-legend/customElement.d.ts +4 -4
  154. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  155. package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
  156. package/dist/components/arcgis-link-chart/customElement.d.ts +21 -23
  157. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
  158. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  159. package/dist/components/arcgis-map/customElement.d.ts +58 -60
  160. package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
  161. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
  162. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  163. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
  164. package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
  165. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
  166. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
  167. package/dist/components/arcgis-paste/customElement.d.ts +4 -4
  168. package/dist/components/arcgis-popup/customElement.d.ts +50 -52
  169. package/dist/components/arcgis-popup/customElement.js +50 -55
  170. package/dist/components/arcgis-popup/types.d.ts +1 -1
  171. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
  172. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  173. package/dist/components/arcgis-print/customElement.d.ts +12 -13
  174. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
  175. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  176. package/dist/components/arcgis-scene/customElement.d.ts +54 -56
  177. package/dist/components/arcgis-search/customElement.d.ts +18 -20
  178. package/dist/components/arcgis-search/customElement.js +8 -9
  179. package/dist/components/arcgis-shadow-cast/customElement.d.ts +29 -29
  180. package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
  181. package/dist/components/arcgis-slice/customElement.d.ts +12 -12
  182. package/dist/components/arcgis-slice/types.d.ts +2 -2
  183. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
  184. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
  185. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
  186. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
  187. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
  188. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
  189. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
  190. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
  191. package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
  192. package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
  193. package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
  194. package/dist/components/arcgis-time-zone-label/customElement.d.ts +7 -30
  195. package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
  196. package/dist/components/arcgis-time-zone-label/index.js +1 -1
  197. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  198. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +2 -2
  199. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
  200. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
  201. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  202. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
  203. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
  204. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
  205. package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
  206. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
  207. package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
  208. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  209. package/dist/components/arcgis-volume-measurement/customElement.d.ts +17 -17
  210. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  211. package/dist/components/arcgis-weather/customElement.d.ts +5 -5
  212. package/dist/components/types.d.ts +3 -3
  213. package/dist/docs/api.json +1 -1
  214. package/dist/docs/docs.json +1 -1
  215. package/dist/docs/vscode.html-custom-data.json +1 -1
  216. package/dist/docs/web-types.json +1 -1
  217. package/dist/loader.js +1 -1
  218. package/dist/types/lumina.d.ts +1 -2
  219. package/dist/types/preact.d.ts +1 -2
  220. package/dist/types/react.d.ts +1 -2
  221. package/dist/types/stencil.d.ts +1 -2
  222. package/package.json +4 -4
  223. package/dist/cdn/2LQLX6UN.js +0 -2
  224. package/dist/cdn/43GVPQTY.js +0 -2
  225. package/dist/cdn/BVJCLI2O.js +0 -2
  226. package/dist/cdn/F6ZBZTSB.js +0 -2
  227. package/dist/cdn/JWX6Z3ZF.js +0 -2
  228. package/dist/cdn/LEJDJAPO.js +0 -2
  229. package/dist/cdn/LT6PKSRL.js +0 -2
  230. package/dist/cdn/MTTO5ISS.js +0 -2
  231. package/dist/cdn/QCAKPRXK.js +0 -2
  232. package/dist/cdn/RHWPLIDI.js +0 -2
  233. package/dist/cdn/T5J4CTR7.js +0 -2
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Color from "@arcgis/core/Color.js";
3
- import type Graphic from "@arcgis/core/Graphic";
4
- import type MapView2 from "@arcgis/core/views/MapView.js";
3
+ import type Graphic from "@arcgis/core/Graphic.js";
4
+ import type MapView from "@arcgis/core/views/MapView.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
6
  import type { ArcgisReferenceElement } from "../types.js";
7
7
  import type { SelectStartPayload } from "../arcgis-utility-network-trace-location/customElement.js";
@@ -92,7 +92,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
92
92
  /**
93
93
  * A function to run before trace location selection starts.
94
94
  *
95
- * @experimental
95
+ * @internal
96
96
  * @example
97
97
  * ```js
98
98
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -191,7 +191,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
191
191
  *
192
192
  * @since 5.0
193
193
  */
194
- accessor view: MapView2 | null | undefined;
194
+ accessor view: MapView | null | undefined;
195
195
  /** Permanently destroy the component. */
196
196
  destroy(): Promise<void>;
197
197
  /**
@@ -199,7 +199,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
199
199
  * Event payload contains a boolean representing whether the aggregated geometry graphics are hidden.
200
200
  * If true, the user has hidden the graphics on the view's map.
201
201
  *
202
- * @experimental
203
202
  * @example
204
203
  * ```js
205
204
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -215,7 +214,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
215
214
  /**
216
215
  * Fires when the user completes the selection of a trace location.
217
216
  *
218
- * @experimental
217
+ * @internal
219
218
  * @example
220
219
  * ```js
221
220
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -230,7 +229,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
230
229
  * Event payload contains a callback method `cancelSelect` to cancel a selection in progress.
231
230
  * The event can also be prevented with `event.preventDefault()` to stop the selection.
232
231
  *
233
- * @experimental
232
+ * @internal
234
233
  * @example
235
234
  * ```js
236
235
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -255,7 +254,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
255
254
  /**
256
255
  * Fires when the trace result is cleared from the results tab.
257
256
  *
258
- * @experimental
259
257
  * @example
260
258
  * ```js
261
259
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -269,7 +267,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
269
267
  * Fires when the trace result features are ready.
270
268
  * Check property `traceResultFeatures` for the trace result features.
271
269
  *
272
- * @experimental
273
270
  * @example
274
271
  * ```js
275
272
  * const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
@@ -3,7 +3,7 @@ import type NamedTraceConfiguration from "@arcgis/core/networks/support/NamedTra
3
3
  import type UNTraceConfiguration from "@arcgis/core/networks/support/UNTraceConfiguration.js";
4
4
  import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
5
5
  import type TraceLocation from "@arcgis/core/rest/networks/support/TraceLocation.js";
6
- import type MapView from "@arcgis/core/views/MapView";
6
+ import type MapView from "@arcgis/core/views/MapView.js";
7
7
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
8
8
  import type { ArcgisReferenceElement } from "../types.js";
9
9
  import type { UtilityNetworkTraceAnalysisDisplayMode } from "../arcgis-utility-network-trace-analysis/customElement.js";
@@ -107,7 +107,7 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
107
107
  /**
108
108
  * A function to run before trace location selection starts.
109
109
  *
110
- * @experimental
110
+ * @internal
111
111
  */
112
112
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
113
113
  /** @default "default" */
@@ -132,14 +132,14 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
132
132
  /**
133
133
  * Fires when the user completes the selection of a trace location.
134
134
  *
135
- * @experimental
135
+ * @internal
136
136
  */
137
137
  readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
138
138
  /**
139
139
  * Fires when the user begins selection of a trace location.
140
140
  * Can be prevented to stop the selection.
141
141
  *
142
- * @experimental
142
+ * @internal
143
143
  */
144
144
  readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
145
145
  /** This will be fired less often than above, only when the utility network changes */
@@ -3,32 +3,32 @@ import { c as y } from "../../chunks/runtime.js";
3
3
  import { repeat as b } from "lit/directives/repeat.js";
4
4
  import { queryAllJSON as g } from "@arcgis/core/applications/Components/featureUtils.js";
5
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 { watch as k } from "@arcgis/core/core/reactiveUtils.js";
7
+ import { substitute as _ } from "@arcgis/core/intl.js";
8
+ import S from "@arcgis/core/layers/GraphicsLayer.js";
9
+ import T from "@arcgis/core/networks/support/UNTraceConfiguration.js";
10
+ import L from "@arcgis/core/rest/networks/support/TraceLocation.js";
10
11
  import m from "@arcgis/core/rest/support/FeatureSet.js";
11
12
  import h from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
12
13
  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";
14
+ import { LitElement as N, createEvent as l } from "@arcgis/lumina";
15
+ import { usePropertyChange as $ } from "@arcgis/lumina/controllers";
16
+ import { log as u, composeMissingPropertyMessage as v, composeEmptyPropertyMessage as F } from "@arcgis/toolkit/log";
17
+ import { css as E, html as s } from "lit";
18
+ import { createRef as P, ref as U } from "lit/directives/ref.js";
18
19
  import { u as I } from "../../chunks/useT9n.js";
19
20
  import { h as f } from "../../chunks/feature-utils.js";
20
- import { a as P, i as A } from "../../chunks/layer-utils.js";
21
- import { watch as M } from "@arcgis/core/core/reactiveUtils.js";
22
- const x = F`:host{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)}.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)}`, w = `utility-network-trace-inputs-sketch-${Date.now()}`, d = `utility-network-trace-inputs-flags-${Date.now()}`, B = 20;
23
- class V extends L {
21
+ import { a as A, i as M } from "../../chunks/layer-utils.js";
22
+ const x = E`:host{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)}`, w = `utility-network-trace-inputs-sketch-${Date.now()}`, d = `utility-network-trace-inputs-flags-${Date.now()}`, B = 20;
23
+ class V extends N {
24
24
  constructor() {
25
- 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 = 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([
26
26
  "subnetwork",
27
27
  "subnetwork-controller",
28
28
  "upstream",
29
29
  "downstream",
30
30
  "isolation"
31
- ]), 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._featuresComponentRef = P(), 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 = $()("mode"), this.renderFeatureListItem = (e) => {
32
32
  const { feature: t, label: i } = e;
33
33
  return s`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this._handleFeatureSelectChange(t)}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
34
34
  };
@@ -59,7 +59,7 @@ class V extends L {
59
59
  get traceLocations() {
60
60
  const e = [], t = (i) => {
61
61
  i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
62
- e.push(new T({
62
+ e.push(new L({
63
63
  type: i.traceLocation.type,
64
64
  isFilterBarrier: i.traceLocation.isFilterBarrier,
65
65
  globalId: i.traceLocation.globalId,
@@ -72,7 +72,7 @@ class V extends L {
72
72
  }
73
73
  load() {
74
74
  this.manager.onLifecycle(() => [
75
- M(() => this.view?.map, () => {
75
+ k(() => this.view?.map, () => {
76
76
  this._setupUtilityNetwork(), this._setupSketchViewModel();
77
77
  }, { initial: !0 })
78
78
  ]);
@@ -87,19 +87,19 @@ class V extends L {
87
87
  _createGraphicLayer(e) {
88
88
  const { map: t } = this.view;
89
89
  if (!t?.findLayerById(e)) {
90
- const a = new _({
90
+ const a = new S({
91
91
  id: e,
92
92
  listMode: "hide",
93
93
  title: e
94
94
  });
95
- P(this.view, a);
95
+ A(this.view, a);
96
96
  }
97
97
  }
98
98
  _getGraphicLayer(e) {
99
99
  const { map: t } = this.view;
100
100
  if (t) {
101
101
  const i = t.findLayerById(e);
102
- if (A(i))
102
+ if (M(i))
103
103
  return t.reorder(i, t.layers.length - 1), i;
104
104
  }
105
105
  return null;
@@ -172,8 +172,8 @@ class V extends L {
172
172
  }
173
173
  _handleTraceConfigChange() {
174
174
  const { selectedNamedTraceConfiguration: e } = this;
175
- if (!(e?.traceConfiguration instanceof S)) {
176
- u("error", this, $("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
175
+ if (!(e?.traceConfiguration instanceof T)) {
176
+ u("error", this, v("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
177
177
  return;
178
178
  }
179
179
  switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
@@ -195,7 +195,7 @@ class V extends L {
195
195
  _handleUtilityNetworksChange() {
196
196
  const { utilityNetworks: e } = this;
197
197
  if (!e || e.length === 0) {
198
- this._state = "error", u("error", this, v("utilityNetworks"));
198
+ this._state = "error", u("error", this, F("utilityNetworks"));
199
199
  return;
200
200
  }
201
201
  (!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
@@ -231,6 +231,8 @@ class V extends L {
231
231
  const { features: a } = m.fromJSON(await g(e, i));
232
232
  return a.forEach((r) => {
233
233
  r.layer = e.type === "subtype-group" ? e.findSublayerForFeature(r) : e, r.origin = r.layer;
234
+ const o = r.layer;
235
+ r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = o.createPopupTemplate());
234
236
  }), a;
235
237
  }
236
238
  async _populateFeaturesWithLabel(e) {
@@ -325,13 +327,13 @@ class V extends L {
325
327
  if (!e)
326
328
  return this.mode = "default", null;
327
329
  const t = this._featuresComponentRef.value, i = t?.selectedFeature ? [t.selectedFeature] : [e];
328
- return s`<arcgis-features .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} open @arcgisClose=${() => this._handleFeaturesClose()} ${U(this._featuresComponentRef)}></arcgis-features>`;
330
+ return s`<arcgis-features .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} open @arcgisClose=${() => this._handleFeaturesClose()} ${U(this._featuresComponentRef)}></arcgis-features>`;
329
331
  }
330
332
  renderAddSpatialFooter() {
331
- const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = k(t.warnings.exceededDisplayLimit, {
333
+ const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = _(t.warnings.exceededDisplayLimit, {
332
334
  limit: this._displayLimit.toString()
333
335
  }), o = e === "add-spatial-feature-list" && this._exceedDisplayLimit, n = a ? !(i?.isUtilityLayer(a.layer) ?? !0) : !0;
334
- return s`${o && s`<calcite-input-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
336
+ 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=${() => {
335
337
  this._handleAddSpatialCancelClick();
336
338
  }} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => {
337
339
  this._handleAddSpatialAddClick();
@@ -26,7 +26,7 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
26
26
  /**
27
27
  * A function to run before trace location selection starts.
28
28
  *
29
- * @experimental
29
+ * @internal
30
30
  */
31
31
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
32
32
  accessor filterLayers: Collection<Layer> | undefined;
@@ -103,14 +103,14 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
103
103
  /**
104
104
  * Fires when the user completes the selection of a trace location.
105
105
  *
106
- * @experimental
106
+ * @internal
107
107
  */
108
108
  readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
109
109
  /**
110
110
  * Fires when the user begins selection of a trace location.
111
111
  * Can be prevented to stop the selection.
112
112
  *
113
- * @experimental
113
+ * @internal
114
114
  */
115
115
  readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
116
116
  readonly "@eventTypes": {
@@ -7,7 +7,7 @@ import type Layer from "@arcgis/core/layers/Layer.js";
7
7
  import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
8
8
  import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
9
9
  import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
10
- import type MapView from "@arcgis/core/views/MapView";
10
+ import type MapView from "@arcgis/core/views/MapView.js";
11
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
12
  import type { ArcgisReferenceElement } from "../types.js";
13
13
  import type { T9nMeta } from "@arcgis/lumina/controllers";
@@ -6,19 +6,19 @@ import "@arcgis/core/core/Error.js";
6
6
  import * as h from "@arcgis/core/geometry/operators/shapePreservingProjectOperator.js";
7
7
  import "@arcgis/core/Graphic.js";
8
8
  import b from "@arcgis/core/rest/support/FeatureSet.js";
9
- import { LitElement as F, createEvent as o } from "@arcgis/lumina";
10
- import { log as d, composeMissingPropertyMessage as g, composeEmptyPropertyMessage as $ } from "@arcgis/toolkit/log";
11
- import { css as w, html as r } from "lit";
12
- import { createRef as L, ref as C } from "lit/directives/ref.js";
13
- import { u as R } from "../../chunks/useT9n.js";
9
+ import { LitElement as $, createEvent as o } from "@arcgis/lumina";
10
+ import { log as u, composeMissingPropertyMessage as g, composeEmptyPropertyMessage as F } from "@arcgis/toolkit/log";
11
+ import { css as w, html as i } from "lit";
12
+ import { createRef as L, ref as T } from "lit/directives/ref.js";
13
+ import { u as C } from "../../chunks/useT9n.js";
14
14
  import { h as m } from "../../chunks/feature-utils.js";
15
- const T = w`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, y = {
15
+ const R = w`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, p = {
16
16
  dirtyAreasDiscovered: -2147208511,
17
17
  noValidControllers: -2147208935
18
18
  };
19
- class S extends F {
19
+ class E extends $ {
20
20
  constructor() {
21
- super(...arguments), this._messages = R({ blocking: !0 }), this._elementsWithoutLayer = [], this._featuresComponentRef = L(), this._featuresFromSelectedLayer = [], this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._compareByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
21
+ super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = C({ blocking: !0 }), this._elementsWithoutLayer = [], this._featuresComponentRef = L(), this._featuresFromSelectedLayer = [], this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._compareByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
22
22
  const a = e[0].feature.layer, s = t[0].feature.layer, l = a?.title ?? "", c = s?.title ?? "";
23
23
  return l.localeCompare(c, void 0, { numeric: !0 });
24
24
  }, this._queryFeaturesOnLayer = async ([e, t]) => {
@@ -28,32 +28,32 @@ class S extends F {
28
28
  return;
29
29
  }
30
30
  const l = s.createQuery();
31
- l.gdbVersion = this.utilityNetwork?.gdbVersion, l.objectIds = t.map((i) => i.objectId), l.outFields = ["*"];
32
- const { features: c } = b.fromJSON(await _(s, l)), n = await Promise.all(c.map(async (i) => {
33
- i.layer = s.type === "subtype-group" ? s.findSublayerForFeature(i) : s;
34
- const u = i.layer;
35
- if (u && "getFeatureTitle" in u) {
36
- const p = await u.getFeatureTitle(i) || m(i);
37
- return { feature: i, label: p };
31
+ l.gdbVersion = this.utilityNetwork?.gdbVersion, l.objectIds = t.map((r) => r.objectId), l.outFields = ["*"];
32
+ const { features: c } = b.fromJSON(await _(s, l)), n = await Promise.all(c.map(async (r) => {
33
+ r.layer = s.type === "subtype-group" ? s.findSublayerForFeature(r) : s, r.origin = r.layer;
34
+ const d = r.layer;
35
+ if (r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = d.createPopupTemplate()), d && "getFeatureTitle" in d) {
36
+ const y = await d.getFeatureTitle(r) || m(r);
37
+ return { feature: r, label: y };
38
38
  }
39
- return { feature: i, label: m(i) };
39
+ return { feature: r, label: m(r) };
40
40
  }));
41
- s.type === "subtype-group" ? n.forEach((i) => this._addOrCreateMapValue(this._subtypeCodeToFeatures, i.feature.layer.subtypeCode, i)) : this._layerIdToFeatures.set(a, n);
41
+ s.type === "subtype-group" ? n.forEach((r) => this._addOrCreateMapValue(this._subtypeCodeToFeatures, r.feature.layer.subtypeCode, r)) : this._layerIdToFeatures.set(a, n);
42
42
  }, this.aggregatedGeometryGraphicsColor = new v([255, 255, 0, 0.6]), this.hideFeatureResults = !1, this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.traceResultFeatures = [], this.arcgisAggregatedGeometryGraphicsColorChange = o(), this.arcgisHideGraphicsChange = o(), this.arcgisSelectedLayerChange = o(), this.arcgisSelectedResultTypeChange = o(), this.arcgisTraceResultFeaturesReady = o(), this._renderLayerListItem = ([, e]) => {
43
43
  if (!e.length)
44
44
  return null;
45
45
  const t = e[0].feature.layer, a = t?.title || this._messages.unknown;
46
- return r`<calcite-list-item .label=${a} @calciteListItemSelect=${() => this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
46
+ return i`<calcite-list-item .label=${a} @calciteListItemSelect=${() => this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
47
47
  }, this._renderFeatureListItem = (e) => {
48
48
  const { feature: t, label: a } = e;
49
- return r`<calcite-list-item .label=${a} @calciteListItemSelect=${() => this.selectedFeature = t}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
49
+ return i`<calcite-list-item .label=${a} @calciteListItemSelect=${() => this.selectedFeature = t}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
50
50
  };
51
51
  }
52
52
  static {
53
53
  this.properties = { aggregatedGeometryGraphicsColor: 0, hideFeatureResults: 5, featuresFromSelectedLayer: 32, isElementsSelected: 5, layers: 0, messageOverrides: 0, referenceElement: 1, selectedFeature: 0, selectedLayer: 0, state: 1, traceConfigTitle: 1, traceError: 0, traceResult: 0, traceResultFeatures: 0, utilityNetwork: 0, view: 0 };
54
54
  }
55
55
  static {
56
- this.styles = T;
56
+ this.styles = R;
57
57
  }
58
58
  get featuresFromSelectedLayer() {
59
59
  return this._featuresFromSelectedLayer.map(({ feature: e }) => e);
@@ -67,7 +67,7 @@ class S extends F {
67
67
  e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
68
68
  }
69
69
  loaded() {
70
- this.utilityNetwork || d("warn", this, g("utilityNetwork")), this.layers.length === 0 && d("warn", this, $("layers")), this.view || d("warn", this, g("view"));
70
+ this.utilityNetwork || u("warn", this, g("utilityNetwork")), this.layers.length === 0 && u("warn", this, F("layers")), this.view || u("warn", this, g("view"));
71
71
  }
72
72
  _addOrCreateMapValue(e, t, a) {
73
73
  const s = e.get(t);
@@ -105,8 +105,8 @@ class S extends F {
105
105
  const t = e.map(this._queryFeaturesOnLayer);
106
106
  (await Promise.allSettled(t)).forEach((c, n) => {
107
107
  if (c.status === "rejected") {
108
- const [i] = e[n];
109
- d("error", this, `Failed to query features for source ${i}. Reason: ${c.reason}`);
108
+ const [r] = e[n];
109
+ u("error", this, `Failed to query features for source ${r}. Reason: ${c.reason}`);
110
110
  }
111
111
  });
112
112
  const s = Array.from(this._layerIdToFeatures.values()), l = Array.from(this._subtypeCodeToFeatures.values());
@@ -140,70 +140,70 @@ class S extends F {
140
140
  if (this.state === "loading")
141
141
  return this._renderGettingResults();
142
142
  if (this.selectedFeature) {
143
- const n = this._featuresComponentRef.value, i = n?.selectedFeature ? [n.selectedFeature] : [this.selectedFeature];
144
- return r`<arcgis-features .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} open @arcgisClose=${() => this.selectedFeature = void 0} ${C(this._featuresComponentRef)}></arcgis-features>`;
143
+ const n = this._featuresComponentRef.value, r = n?.selectedFeature ? [n.selectedFeature] : [this.selectedFeature];
144
+ return i`<arcgis-features .referenceElement=${this.referenceElement} .features=${r} .view=${this.view} open .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} @arcgisClose=${() => this.selectedFeature = void 0} ${T(this._featuresComponentRef)}></arcgis-features>`;
145
145
  }
146
146
  const c = a.length > 0 && !s.length && !l;
147
- return this.hideFeatureResults && c ? this._renderFeaturesAreHidden() : r`<calcite-flow>${c ? null : r`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(t)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}", this.traceResultFeatures.length.toString())} .selected=${(c || this.isElementsSelected) && !this.selectedLayer} @calciteFlowItemBack=${() => this.isElementsSelected = !1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title ?? void 0} .description=${this._messages.headings.totalFeatures.replace("{number}", this._featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${() => this.selectedLayer = void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`;
147
+ return this.hideFeatureResults && c ? this._renderFeaturesAreHidden() : i`<calcite-flow>${c ? null : i`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(t)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}", this.traceResultFeatures.length.toString())} .selected=${(c || this.isElementsSelected) && !this.selectedLayer} @calciteFlowItemBack=${() => this.isElementsSelected = !1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title ?? void 0} .description=${this._messages.headings.totalFeatures.replace("{number}", this._featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${() => this.selectedLayer = void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`;
148
148
  }
149
149
  _renderGettingResults() {
150
- return r`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`;
150
+ return i`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`;
151
151
  }
152
152
  _renderLanding(e) {
153
153
  const { elements: t, globalFunctionResults: a, aggregatedGeometry: s } = e;
154
- return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s != null ? this._renderAggregatedGeometry(s) : null}${s != null && !t.length ? this._renderNoSelectableResults() : null}${t.length > 0 ? this.hideFeatureResults ? this._renderFeaturesAreHidden() : this._renderElementsResults() : null}${a.length > 0 ? this._renderFunctionsResults(a) : null}</calcite-panel>`;
154
+ return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s != null ? this._renderAggregatedGeometry(s) : null}${s != null && !t.length ? this._renderNoSelectableResults() : null}${t.length > 0 ? this.hideFeatureResults ? this._renderFeaturesAreHidden() : this._renderElementsResults() : null}${a.length > 0 ? this._renderFunctionsResults(a) : null}</calcite-panel>`;
155
155
  }
156
156
  _renderAggregatedGeometry(e) {
157
- return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${(t) => {
157
+ return i`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${(t) => {
158
158
  const a = t.target.value;
159
159
  this.arcgisAggregatedGeometryGraphicsColorChange.emit(a);
160
160
  }}></calcite-color-picker></calcite-popover></div>`;
161
161
  }
162
162
  _renderFeaturesAreHidden() {
163
- return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div></calcite-panel>`;
163
+ return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div></calcite-panel>`;
164
164
  }
165
165
  _renderNoSelectableResults() {
166
- return r`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
166
+ return i`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
167
167
  }
168
168
  _renderElementsResults() {
169
- return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.traceResultFeatures.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
169
+ return i`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.traceResultFeatures.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
170
170
  }
171
171
  _renderFunctionsResults(e) {
172
- return r`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter((t) => t.networkAttributeName != null && t.result != null).map((t) => r`<calcite-table-row><calcite-table-cell>${t.networkAttributeName}</calcite-table-cell><calcite-table-cell>${t.result}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
172
+ return i`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter((t) => t.networkAttributeName != null && t.result != null).map((t) => i`<calcite-table-row><calcite-table-cell>${t.networkAttributeName}</calcite-table-cell><calcite-table-cell>${t.result}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
173
173
  }
174
174
  _renderLayerList() {
175
175
  const e = Array.from(this._layerIdToFeatures.entries()), t = Array.from(this._subtypeCodeToFeatures.entries()), s = e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);
176
- return this._elementsWithoutLayer.length > 0 && s.push(this._renderUnknownListItem()), r`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state === "loading"}>${s}</calcite-list>`;
176
+ return this._elementsWithoutLayer.length > 0 && s.push(this._renderUnknownListItem()), i`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state === "loading"}>${s}</calcite-list>`;
177
177
  }
178
178
  _renderUnknownListItem() {
179
- return r`<calcite-list-item .label=${this._messages.unknown}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`;
179
+ return i`<calcite-list-item .label=${this._messages.unknown}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`;
180
180
  }
181
181
  _renderFeaturesList() {
182
- return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}>${this._featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`;
182
+ return i`<calcite-list .label=${this._messages.headings.traceResultsGeneric}>${this._featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`;
183
183
  }
184
184
  _renderTraceResultsHeading() {
185
- return r`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle ? r`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>` : null}</div>`;
185
+ return i`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle ? i`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>` : null}</div>`;
186
186
  }
187
187
  _renderErrorLanding(e) {
188
188
  let t = e.message;
189
189
  switch (e.details?.raw?.extendedCode) {
190
- case y.dirtyAreasDiscovered:
190
+ case p.dirtyAreasDiscovered:
191
191
  t = this._messages.traceErrors.dirtyAreasDiscovered;
192
192
  break;
193
- case y.noValidControllers:
193
+ case p.noValidControllers:
194
194
  t = this._messages.traceErrors.noValidControllers;
195
195
  break;
196
196
  }
197
- return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`;
197
+ return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`;
198
198
  }
199
199
  _renderNoResultsLanding() {
200
- return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div></calcite-panel>`;
200
+ return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div></calcite-panel>`;
201
201
  }
202
202
  _renderNoTraceLanding() {
203
- return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`;
203
+ return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`;
204
204
  }
205
205
  }
206
- f("arcgis-utility-network-trace-results", S);
206
+ f("arcgis-utility-network-trace-results", E);
207
207
  export {
208
- S as ArcgisUtilityNetworkTraceResults
208
+ E as ArcgisUtilityNetworkTraceResults
209
209
  };
@@ -2,27 +2,26 @@
2
2
  import type { ValuePickerEvents, ValuePickerComponent } from "@arcgis/core/widgets/ValuePicker.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
  import type { ArcgisReferenceElement, IconName } from "../types.js";
5
- import type { AnimateEvent } from "@arcgis/core/widgets/ValuePicker/types";
5
+ import type { AnimateEvent, Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
6
6
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
7
- import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
8
7
 
9
8
  /**
10
9
  * > [!WARNING]
11
10
  * >
12
11
  * > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
13
12
  * >
14
- * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, new development should use the native component.
13
+ * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
15
14
  *
16
15
  * Value Picker is a component that allows users to step or play through a list of values. Value Picker component can be configured
17
- * with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#from-collection),
18
- * [label](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#from-labels),
19
- * [combobox](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#selectable-items) or
20
- * [slider](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#numeric-values)
16
+ * with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-collection),
17
+ * [label](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-labels),
18
+ * [combobox](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#selectable-items) or
19
+ * [slider](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#numeric-values)
21
20
  * control to help users navigate values.
22
21
  *
23
22
  * Similar to a media player, values can be interactively stepped through using the `next` and `previous` buttons.
24
23
  * Value Picker can also be set to automatically progress (play) through an ordered
25
- * list of items at a [preset interval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#playRate).
24
+ * list of items at a [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate).
26
25
  *
27
26
  * ### Configuring Value Picker
28
27
  *
@@ -79,7 +78,7 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
79
78
  * valuePicker.values = ["ind"];
80
79
  * ```
81
80
  *
82
- * The user's interaction can be handled by monitoring the [values](#values) property.
81
+ * The user's interaction can be handled by monitoring the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property.
83
82
  *
84
83
  * ```js
85
84
  * valuePicker.addEventListener("arcgisPropertyChange", () => {
@@ -121,9 +120,9 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
121
120
  * valuePicker.values = ["topo-vector"];
122
121
  * ```
123
122
  *
124
- * As the user clicks the _next_, _previous_, and _play_ buttons, the [values](#values) property updates.
125
- * Handle this by listening for the [arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#arcgisPropertyChange)
126
- * event when the component’s [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#values)
123
+ * As the user clicks the _next_, _previous_, and _play_ buttons, the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property updates.
124
+ * Handle this by listening for the [@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisPropertyChange)
125
+ * event when the component’s [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values)
127
126
  * property changes, as shown below.
128
127
  *
129
128
  * ```js
@@ -160,7 +159,7 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
160
159
  * valuePicker.values = ["res"];
161
160
  * ```
162
161
  *
163
- * The user's interaction can be handled by monitoring the [values](#values) property.
162
+ * The user's interaction can be handled by monitoring the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property.
164
163
  *
165
164
  * ```js
166
165
  * valuePicker.addEventListener("arcgisPropertyChange", () => {
@@ -347,8 +346,8 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
347
346
  * [ValuePickerSlider](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerSlider/).
348
347
  *
349
348
  * If this property is not set then the play, next and previous buttons will always be enabled. In this case, listen to the
350
- * component events, for example, [@previous](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#arcgisPrevious) and
351
- * [@next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#arcgisNext), when the user interacts with the
349
+ * component events, for example, [@arcgisPrevious](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisPrevious) and
350
+ * [@arcgisNext](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisNext), when the user interacts with the
352
351
  * component.
353
352
  *
354
353
  * @example
@@ -482,7 +481,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
482
481
  */
483
482
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
484
483
  /**
485
- * The current values of the Value Picker component. The type for this property depends on which [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#component) is being used. For example, a
484
+ * The current values of the Value Picker component. The type for this property depends on which [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#component) is being used. For example, a
486
485
  * [slider](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerSlider/) component will return an array of numbers.
487
486
  *
488
487
  * If the `component` is not set then this property will return `null`. Similarly this property can be `null`
@@ -542,7 +541,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
542
541
  /** Pause playing. */
543
542
  pause(): Promise<void>;
544
543
  /**
545
- * Start playing. Value Picker will advance at the rate specified by [playRate](#playRate).
544
+ * Start playing. Value Picker will advance at the rate specified by [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate).
546
545
  *
547
546
  * @example
548
547
  * ```js
@@ -594,7 +593,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
594
593
  "@setterTypes": {
595
594
  icon?: IconName;
596
595
  };
597
- /** Fires when the Value Picker is playing at a rate defined by [playRate](#playRate). */
596
+ /** Fires when the Value Picker is playing at a rate defined by [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate). */
598
597
  readonly arcgisAnimate: import("@arcgis/lumina").TargetedEvent<this, AnimateEvent>;
599
598
  /** Fires when the Value Picker's next button is clicked. */
600
599
  readonly arcgisNext: import("@arcgis/lumina").TargetedEvent<this, ValuePickerEvents["next"]>;