@arcgis/map-components 5.1.0-next.82 → 5.1.0-next.84

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 (229) hide show
  1. package/dist/cdn/2NY3SFXY.js +2 -0
  2. package/dist/cdn/{W5HIRRIH.js → 3ILSWQHC.js} +1 -1
  3. package/dist/cdn/66YJK5TN.js +2 -0
  4. package/dist/cdn/{KMLZW2K6.js → 6V7YOGR4.js} +1 -1
  5. package/dist/cdn/{HBEEL7IW.js → 6VJBGE5W.js} +1 -1
  6. package/dist/cdn/{J3EVRJDN.js → 7EBEAMCO.js} +1 -1
  7. package/dist/cdn/{LDCRZTCS.js → 7VOC4SRD.js} +1 -1
  8. package/dist/cdn/{254JE3ZB.js → A6P7RDWG.js} +1 -1
  9. package/dist/cdn/AFAQWPXY.js +2 -0
  10. package/dist/cdn/{LZEEYR7V.js → AQ77FNME.js} +2 -2
  11. package/dist/cdn/AU2CHOT7.js +2 -0
  12. package/dist/cdn/{UYQLS6YT.js → AW7QBRKJ.js} +1 -1
  13. package/dist/cdn/CLGZBSF4.js +2 -0
  14. package/dist/cdn/{2HUI7DKS.js → CZKMCZP6.js} +1 -1
  15. package/dist/cdn/{OZFNTMYH.js → E33LBHQA.js} +1 -1
  16. package/dist/cdn/{7TRV2EOI.js → ELGQ2B5Q.js} +1 -1
  17. package/dist/cdn/{3ST3R6TY.js → FMTWGY6C.js} +1 -1
  18. package/dist/cdn/{TF7MXQLD.js → FPT2UAZM.js} +1 -1
  19. package/dist/cdn/{MVULTZL6.js → FQY55PPT.js} +1 -1
  20. package/dist/cdn/{W3OI3KIT.js → GCFIJLPC.js} +1 -1
  21. package/dist/cdn/{YKQI2WN5.js → GVYS3KF5.js} +1 -1
  22. package/dist/cdn/{K2RCQ3S4.js → HTNECFCQ.js} +1 -1
  23. package/dist/cdn/{GDHU6FB7.js → HU4V2LGL.js} +1 -1
  24. package/dist/cdn/IFMQCWXY.js +2 -0
  25. package/dist/cdn/{FDR2SJBL.js → IMENOON5.js} +1 -1
  26. package/dist/cdn/IYYLPWB4.js +2 -0
  27. package/dist/cdn/{7F7JJMKX.js → K6DM6L64.js} +1 -1
  28. package/dist/cdn/{ZECK2VWO.js → K7IUUDPU.js} +1 -1
  29. package/dist/cdn/{FJ56R364.js → KKQWYK3S.js} +1 -1
  30. package/dist/cdn/{W42FYJ5N.js → LLRYOV3A.js} +1 -1
  31. package/dist/cdn/{WRSMGKLR.js → MV6B2G3T.js} +1 -1
  32. package/dist/cdn/{WCUAC5AB.js → NOIIORU5.js} +1 -1
  33. package/dist/cdn/{CVNE57KC.js → NUXHWUHW.js} +1 -1
  34. package/dist/cdn/O5ZWXMTJ.js +2 -0
  35. package/dist/cdn/{VO26UGWY.js → OSKVGOGF.js} +1 -1
  36. package/dist/cdn/{2AQAVHMV.js → OYSW2K2B.js} +1 -1
  37. package/dist/cdn/{LZPNTVQS.js → PLVNROBW.js} +1 -1
  38. package/dist/cdn/{4LQLSE44.js → QCWXVSVT.js} +1 -1
  39. package/dist/cdn/{EFTBQLWG.js → R643Q3PN.js} +1 -1
  40. package/dist/cdn/{JYOARMEB.js → RHK3OQ5J.js} +1 -1
  41. package/dist/cdn/{NVRFQSZB.js → ST5DXIZ6.js} +1 -1
  42. package/dist/cdn/{EFPJ2MPR.js → TEDPQX2I.js} +1 -1
  43. package/dist/cdn/{4XFY3WOK.js → U5G4PHA4.js} +1 -1
  44. package/dist/cdn/{DU2RY2NR.js → V6F3SIA2.js} +1 -1
  45. package/dist/cdn/{HAABWT7S.js → VEVJEIFK.js} +1 -1
  46. package/dist/cdn/{VAJP7Z3Y.js → VFIPW22C.js} +1 -1
  47. package/dist/cdn/{SRBNKXRD.js → X5PGXXNB.js} +1 -1
  48. package/dist/cdn/XQ5BV7DL.js +2 -0
  49. package/dist/cdn/{GXOC3E43.js → XWYXHSGO.js} +1 -1
  50. package/dist/cdn/{IJ4FLOVC.js → YACNPFYK.js} +1 -1
  51. package/dist/cdn/YHD6DZQT.js +2 -0
  52. package/dist/cdn/{NNMPXVST.js → ZO7ZJ52E.js} +1 -1
  53. package/dist/cdn/{7NFLP5PG.js → ZPSJEBD6.js} +1 -1
  54. package/dist/cdn/{TU7J33HU.js → ZYKCW3VZ.js} +1 -1
  55. package/dist/cdn/assets/features/t9n/messages.ar.json +1 -1
  56. package/dist/cdn/assets/features/t9n/messages.bg.json +1 -1
  57. package/dist/cdn/assets/features/t9n/messages.bs.json +1 -1
  58. package/dist/cdn/assets/features/t9n/messages.ca.json +1 -1
  59. package/dist/cdn/assets/features/t9n/messages.cs.json +1 -1
  60. package/dist/cdn/assets/features/t9n/messages.da.json +1 -1
  61. package/dist/cdn/assets/features/t9n/messages.de.json +1 -1
  62. package/dist/cdn/assets/features/t9n/messages.el.json +1 -1
  63. package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
  64. package/dist/cdn/assets/features/t9n/messages.es.json +1 -1
  65. package/dist/cdn/assets/features/t9n/messages.et.json +1 -1
  66. package/dist/cdn/assets/features/t9n/messages.fi.json +1 -1
  67. package/dist/cdn/assets/features/t9n/messages.fr.json +1 -1
  68. package/dist/cdn/assets/features/t9n/messages.he.json +1 -1
  69. package/dist/cdn/assets/features/t9n/messages.hr.json +1 -1
  70. package/dist/cdn/assets/features/t9n/messages.hu.json +1 -1
  71. package/dist/cdn/assets/features/t9n/messages.id.json +1 -1
  72. package/dist/cdn/assets/features/t9n/messages.it.json +1 -1
  73. package/dist/cdn/assets/features/t9n/messages.ja.json +1 -1
  74. package/dist/cdn/assets/features/t9n/messages.ko.json +1 -1
  75. package/dist/cdn/assets/features/t9n/messages.lt.json +1 -1
  76. package/dist/cdn/assets/features/t9n/messages.lv.json +1 -1
  77. package/dist/cdn/assets/features/t9n/messages.nl.json +1 -1
  78. package/dist/cdn/assets/features/t9n/messages.no.json +1 -1
  79. package/dist/cdn/assets/features/t9n/messages.pl.json +1 -1
  80. package/dist/cdn/assets/features/t9n/messages.pt-BR.json +1 -1
  81. package/dist/cdn/assets/features/t9n/messages.pt-PT.json +1 -1
  82. package/dist/cdn/assets/features/t9n/messages.ro.json +1 -1
  83. package/dist/cdn/assets/features/t9n/messages.ru.json +1 -1
  84. package/dist/cdn/assets/features/t9n/messages.sk.json +1 -1
  85. package/dist/cdn/assets/features/t9n/messages.sl.json +1 -1
  86. package/dist/cdn/assets/features/t9n/messages.sr.json +1 -1
  87. package/dist/cdn/assets/features/t9n/messages.sv.json +1 -1
  88. package/dist/cdn/assets/features/t9n/messages.th.json +1 -1
  89. package/dist/cdn/assets/features/t9n/messages.tr.json +1 -1
  90. package/dist/cdn/assets/features/t9n/messages.uk.json +1 -1
  91. package/dist/cdn/assets/features/t9n/messages.vi.json +1 -1
  92. package/dist/cdn/assets/features/t9n/messages.zh-CN.json +1 -1
  93. package/dist/cdn/assets/features/t9n/messages.zh-HK.json +1 -1
  94. package/dist/cdn/assets/features/t9n/messages.zh-TW.json +1 -1
  95. package/dist/cdn/assets/time-slider/t9n/messages.ar.json +1 -0
  96. package/dist/cdn/assets/time-slider/t9n/messages.bg.json +1 -0
  97. package/dist/cdn/assets/time-slider/t9n/messages.bs.json +1 -0
  98. package/dist/cdn/assets/time-slider/t9n/messages.ca.json +1 -0
  99. package/dist/cdn/assets/time-slider/t9n/messages.cs.json +1 -0
  100. package/dist/cdn/assets/time-slider/t9n/messages.da.json +1 -0
  101. package/dist/cdn/assets/time-slider/t9n/messages.de.json +1 -0
  102. package/dist/cdn/assets/time-slider/t9n/messages.el.json +1 -0
  103. package/dist/cdn/assets/time-slider/t9n/messages.en.json +1 -0
  104. package/dist/cdn/assets/time-slider/t9n/messages.es.json +1 -0
  105. package/dist/cdn/assets/time-slider/t9n/messages.et.json +1 -0
  106. package/dist/cdn/assets/time-slider/t9n/messages.fi.json +1 -0
  107. package/dist/cdn/assets/time-slider/t9n/messages.fr.json +1 -0
  108. package/dist/cdn/assets/time-slider/t9n/messages.he.json +1 -0
  109. package/dist/cdn/assets/time-slider/t9n/messages.hr.json +1 -0
  110. package/dist/cdn/assets/time-slider/t9n/messages.hu.json +1 -0
  111. package/dist/cdn/assets/time-slider/t9n/messages.id.json +1 -0
  112. package/dist/cdn/assets/time-slider/t9n/messages.it.json +1 -0
  113. package/dist/cdn/assets/time-slider/t9n/messages.ja.json +1 -0
  114. package/dist/cdn/assets/time-slider/t9n/messages.ko.json +1 -0
  115. package/dist/cdn/assets/time-slider/t9n/messages.lt.json +1 -0
  116. package/dist/cdn/assets/time-slider/t9n/messages.lv.json +1 -0
  117. package/dist/cdn/assets/time-slider/t9n/messages.nl.json +1 -0
  118. package/dist/cdn/assets/time-slider/t9n/messages.no.json +1 -0
  119. package/dist/cdn/assets/time-slider/t9n/messages.pl.json +1 -0
  120. package/dist/cdn/assets/time-slider/t9n/messages.pt-BR.json +1 -0
  121. package/dist/cdn/assets/time-slider/t9n/messages.pt-PT.json +1 -0
  122. package/dist/cdn/assets/time-slider/t9n/messages.ro.json +1 -0
  123. package/dist/cdn/assets/time-slider/t9n/messages.ru.json +1 -0
  124. package/dist/cdn/assets/time-slider/t9n/messages.sk.json +1 -0
  125. package/dist/cdn/assets/time-slider/t9n/messages.sl.json +1 -0
  126. package/dist/cdn/assets/time-slider/t9n/messages.sr.json +1 -0
  127. package/dist/cdn/assets/time-slider/t9n/messages.sv.json +1 -0
  128. package/dist/cdn/assets/time-slider/t9n/messages.th.json +1 -0
  129. package/dist/cdn/assets/time-slider/t9n/messages.tr.json +1 -0
  130. package/dist/cdn/assets/time-slider/t9n/messages.uk.json +1 -0
  131. package/dist/cdn/assets/time-slider/t9n/messages.vi.json +1 -0
  132. package/dist/cdn/assets/time-slider/t9n/messages.zh-CN.json +1 -0
  133. package/dist/cdn/assets/time-slider/t9n/messages.zh-HK.json +1 -0
  134. package/dist/cdn/assets/time-slider/t9n/messages.zh-TW.json +1 -0
  135. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ar.json +1 -0
  136. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.bg.json +1 -0
  137. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.bs.json +1 -0
  138. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ca.json +1 -0
  139. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.cs.json +1 -0
  140. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.da.json +1 -0
  141. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.de.json +1 -0
  142. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.el.json +1 -0
  143. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.en.json +1 -0
  144. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.es.json +1 -0
  145. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.et.json +1 -0
  146. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.fi.json +1 -0
  147. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.fr.json +1 -0
  148. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.he.json +1 -0
  149. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.hr.json +1 -0
  150. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.hu.json +1 -0
  151. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.id.json +1 -0
  152. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.it.json +1 -0
  153. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ja.json +1 -0
  154. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ko.json +1 -0
  155. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.lt.json +1 -0
  156. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.lv.json +1 -0
  157. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.nl.json +1 -0
  158. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.no.json +1 -0
  159. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.pl.json +1 -0
  160. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.pt-BR.json +1 -0
  161. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.pt-PT.json +1 -0
  162. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ro.json +1 -0
  163. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.ru.json +1 -0
  164. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sk.json +1 -0
  165. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sl.json +1 -0
  166. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sr.json +1 -0
  167. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.sv.json +1 -0
  168. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.th.json +1 -0
  169. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.tr.json +1 -0
  170. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.uk.json +1 -0
  171. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.vi.json +1 -0
  172. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.zh-CN.json +1 -0
  173. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.zh-HK.json +1 -0
  174. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.zh-TW.json +1 -0
  175. package/dist/cdn/index.js +1 -1
  176. package/dist/cdn/main.css +1 -1
  177. package/dist/chunks/action-utils.js +53 -78
  178. package/dist/chunks/async-utils.js +63 -51
  179. package/dist/chunks/feature-utils.js +3 -6
  180. package/dist/chunks/slots.js +1 -1
  181. package/dist/components/arcgis-aggregated-features/customElement.js +144 -0
  182. package/dist/components/arcgis-aggregated-features/index.js +6 -0
  183. package/dist/components/arcgis-daylight/customElement.js +1 -1
  184. package/dist/components/arcgis-directions/customElement.js +1 -1
  185. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -3
  186. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  187. package/dist/components/arcgis-elevation-profile-legend/customElement.js +20 -14
  188. package/dist/components/arcgis-feature/customElement.js +1 -1
  189. package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
  190. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
  191. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  192. package/dist/components/arcgis-features/customElement.d.ts +17 -8
  193. package/dist/components/arcgis-features/customElement.js +125 -108
  194. package/dist/components/arcgis-features/index.js +1 -0
  195. package/dist/components/arcgis-home/customElement.js +4 -4
  196. package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +1 -1
  197. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +24 -1
  198. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +13 -10
  199. package/dist/components/arcgis-time-slider/customElement.d.ts +687 -352
  200. package/dist/components/arcgis-time-slider/customElement.js +678 -26
  201. package/dist/components/arcgis-time-slider/index.js +7 -0
  202. package/dist/components/arcgis-time-slider/types.d.ts +147 -0
  203. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +24 -24
  204. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  205. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +173 -0
  206. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +208 -0
  207. package/dist/components/arcgis-utility-network-validate-network-topology/index.d.ts +1 -0
  208. package/dist/components/arcgis-utility-network-validate-network-topology/index.js +9 -0
  209. package/dist/components/arcgis-zoom/customElement.js +27 -33
  210. package/dist/docs/api.json +1 -1
  211. package/dist/docs/docs.json +1 -1
  212. package/dist/docs/vscode.html-custom-data.json +1 -1
  213. package/dist/docs/web-types.json +1 -1
  214. package/dist/index.d.ts +10 -0
  215. package/dist/loader.js +5 -3
  216. package/dist/types/lumina.d.ts +10 -3
  217. package/dist/types/preact.d.ts +11 -3
  218. package/dist/types/react.d.ts +12 -3
  219. package/dist/types/stencil.d.ts +10 -3
  220. package/dist/utils/async-utils.d.ts +3 -0
  221. package/package.json +5 -5
  222. package/dist/cdn/MT4BQEER.js +0 -2
  223. package/dist/cdn/OZZ7CYLP.js +0 -2
  224. package/dist/cdn/R6AZRDBD.js +0 -2
  225. package/dist/cdn/SE77TIOS.js +0 -2
  226. package/dist/cdn/UZIVX6VP.js +0 -2
  227. package/dist/cdn/V4RMKJUW.js +0 -2
  228. package/dist/cdn/VWL5JQZ4.js +0 -2
  229. package/dist/cdn/XUYGLABO.js +0 -2
@@ -1 +1,8 @@
1
+ import "@esri/calcite-components/components/calcite-action-menu";
2
+ import "@esri/calcite-components/components/calcite-action";
3
+ import "@arcgis/common-components/components/arcgis-ticks";
4
+ import "@esri/calcite-components/components/calcite-label";
5
+ import "@esri/calcite-components/components/calcite-button";
6
+ import "@arcgis/common-components/components/arcgis-slider";
7
+ import "@esri/calcite-components/components/calcite-icon";
1
8
  export * from "./customElement.js";
@@ -0,0 +1,147 @@
1
+ import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
2
+ import type TimeInterval from "@arcgis/core/time/TimeInterval.js";
3
+ import type { IconName } from "../types.js";
4
+
5
+ /** Defines the layout options for the time slider component. */
6
+ export type Layout = "auto" | "compact" | "wide";
7
+
8
+ /** Defines the different modes of the time slider component. */
9
+ export type Mode = "cumulative-from-end" | "cumulative-from-start" | "instant" | "time-window";
10
+
11
+ /** Defines the different states of the time slider component. */
12
+ export type State = "disabled" | "playing" | "ready";
13
+
14
+ /** Stops are positioned at specific dates. */
15
+ export interface StopsByDates {
16
+ dates: Date[];
17
+ }
18
+
19
+ /** Stops are positioned at regular intervals defined by a [time interval](https://developers.arcgis.com/javascript/latest/references/core/time/TimeInterval). */
20
+ export interface StopsByInterval {
21
+ /** The interval at which stops will be created. */
22
+ interval: TimeInterval;
23
+ /** The time extent over which the stops will be distributed. */
24
+ timeExtent?: TimeExtent;
25
+ }
26
+
27
+ /**
28
+ * Stops are positioned at a specific number of evenly spaced locations along the time slider.
29
+ * The exact positions of the stops will be calculated based on the provided count and the time extent of the slider.
30
+ */
31
+ export interface StopsByCount {
32
+ /** The number of stops to create along the time slider. */
33
+ count: number;
34
+ /** The time extent over which the stops will be distributed. */
35
+ timeExtent?: TimeExtent;
36
+ }
37
+
38
+ export type Stops = StopsByCount | StopsByDates | StopsByInterval;
39
+
40
+ /**
41
+ * An action that can be performed by the user in the time slider component.
42
+ * Actions are displayed in a menu that appears when the user clicks the ellipsis button in the component.
43
+ */
44
+ export interface Action {
45
+ /** Unique identifier of the action. */
46
+ id: string;
47
+ /**
48
+ * The name of the icon to display.
49
+ * The value of this property must match the icon name from
50
+ * [Calcite UI Icons](https://developers.arcgis.com/calcite-design-system/icons/).
51
+ */
52
+ icon: IconName;
53
+ /** The title of the action that will be displayed in the menu. */
54
+ title: string;
55
+ }
56
+
57
+ /**
58
+ * Time slider settings derived from a
59
+ * [timeSlider widget](https://developers.arcgis.com/javascript/latest/references/core/webdoc/Widgets/#timeSlider) in a
60
+ * [web map](https://developers.arcgis.com/javascript/latest/references/core/WebMap) or
61
+ * [web scene](https://developers.arcgis.com/javascript/latest/references/core/WebScene).
62
+ */
63
+ export interface TimeSliderSettings {
64
+ /**
65
+ * The temporal extent of the entire slider.
66
+ *
67
+ * @see [arcgis-time-slider.fullTimeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-slider/#fullTimeExtent)
68
+ */
69
+ fullTimeExtent?: TimeExtent | null;
70
+ /**
71
+ * When `true`, the time slider will play its animation in a loop.
72
+ *
73
+ * @see [arcgis-time-slider.loop](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-slider/#loop)
74
+ */
75
+ loop: boolean;
76
+ /**
77
+ * The time slider mode.
78
+ *
79
+ * @see [arcgis-time-slider.mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-slider/#mode)
80
+ */
81
+ mode?: Mode;
82
+ /**
83
+ * The time (in milliseconds) between animation steps.
84
+ *
85
+ * @see [arcgis-time-slider.playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-slider/#playRate)
86
+ */
87
+ playRate?: number;
88
+ /**
89
+ * Defines specific locations on the time slider where thumbs will snap to when manipulated.
90
+ *
91
+ * @see [arcgis-time-slider.stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-slider/#stops)
92
+ */
93
+ stops?: Stops | null;
94
+ /**
95
+ * The current time extent of the time slider.
96
+ *
97
+ * @see [arcgis-time-slider.timeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-slider/#timeExtent)
98
+ */
99
+ timeExtent?: TimeExtent | null;
100
+ }
101
+
102
+ /** Event payload for the trigger-action event. */
103
+ export interface TriggerActionEvent {
104
+ /** The action that was clicked. */
105
+ action: Action;
106
+ }
107
+
108
+ /** Describes the type of date label that is being formatted by the date label formatter function. */
109
+ export type DateLabelType = "extent" | "max" | "min";
110
+
111
+ /**
112
+ * A function that formats the date labels displayed on the time slider.
113
+ *
114
+ * @param value
115
+ * @param type
116
+ * @param element
117
+ * @param layout
118
+ */
119
+ export type DateLabelFormatter = (value: Date | [Date | null | undefined, Date | null | undefined] | null | undefined, type: DateLabelType, element: HTMLElement, layout: Exclude<Layout, "auto">) => void;
120
+
121
+ /**
122
+ * Given a tick value, this function returns the label to display for that tick.
123
+ *
124
+ * @param value
125
+ */
126
+ export type TickLabelFormatter = (value: number) => string;
127
+
128
+ /** This type defines how tick values are interpreted and positioned along the time slider component. */
129
+ export type TickMode = "count" | "percent" | "position";
130
+
131
+ /**
132
+ * Tick mark and label configuration for the time slider component.
133
+ * Each tick configuration includes a `mode` that determines how the tick values are calculated, and a `labelFormatFunction` that formats the tick labels.
134
+ */
135
+ export interface TickConfig {
136
+ /** If `labelsVisible` is `true`, this function will be used to format the labels for the ticks based on their values. */
137
+ labelFormatFunction?: TickLabelFormatter;
138
+ /**
139
+ * If `true`, labels will be rendered for the ticks based on their values and the provided `labelFormatFunction`.
140
+ * If `false`, only tick marks will be rendered without labels.
141
+ */
142
+ labelsVisible?: boolean;
143
+ /** The mode or method of positioning ticks. */
144
+ mode: TickMode;
145
+ /** The value or values for the ticks. */
146
+ values: number[] | number;
147
+ }
@@ -1,28 +1,27 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as m } from "../../chunks/runtime.js";
3
3
  import { css as y, html as s } from "lit";
4
- import { ref as o } from "lit/directives/ref.js";
5
- import { keyed as h } from "lit/directives/keyed.js";
6
- import g from "@arcgis/core/Color.js";
4
+ import { ref as h } from "lit/directives/ref.js";
5
+ import { keyed as g } from "lit/directives/keyed.js";
6
+ import u from "@arcgis/core/Color.js";
7
7
  import "@arcgis/core/core/Error.js";
8
8
  import { when as f } from "@arcgis/core/core/reactiveUtils.js";
9
9
  import w from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
10
- import { LitElement as b, createEvent as l } from "@arcgis/lumina";
11
- import { log as T } from "@arcgis/toolkit/log";
10
+ import { LitElement as T, createEvent as c } from "@arcgis/lumina";
11
+ import { log as b } from "@arcgis/toolkit/log";
12
12
  import { u as v } from "../../chunks/useT9n.js";
13
13
  import { m as _ } from "../../chunks/useViewModel.js";
14
14
  import { l as R } from "../../chunks/async-utils.js";
15
15
  const $ = y`: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%)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;--calcite-panel-background-color: var(--calcite-color-foreground-1);calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}}arcgis-utility-network-trace-inputs[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}`, C = _(w);
16
- class k extends b {
16
+ class k extends T {
17
17
  constructor() {
18
18
  super(...arguments), this._messages = v({ blocking: !0 }), this._viewModel = C(this), this._highlightHandles = [], this._handleRunTraceButtonClick = () => {
19
- const e = this._traceInputsElement?.traceLocations, t = this._traceInputsElement?.traceLocationFlagInfos, a = e?.some((i) => i.type === "starting-point"), r = t?.some((i) => !!i.flagProperties.terminalConfiguration && !i.flagProperties.selectedTerminals?.size) ?? !1;
20
- this.traceError = void 0, this.showNoStartingPointsWarning = !this._isSubnetworkNameTraceSelected && !a, this.showMissingTerminalWarning = r, !(this.showNoStartingPointsWarning || this.showMissingTerminalWarning) && (this.showNoStartingPointsWarning = !1, this.showMissingTerminalWarning = !1, this._clearTraceResult(), this._switchTab("results"), this._runTrace());
19
+ this._setTraceWarnings(), !(this.showNoStartingPointsWarning || this.showMissingTerminalWarning) && (this.showNoStartingPointsWarning = !1, this.showMissingTerminalWarning = !1, this._clearTraceResult(), this._switchTab("results"), this._runTrace());
21
20
  }, this._handleTraceInputsRefChange = (e) => {
22
21
  e && (this._traceInputsElement = e);
23
22
  }, this._handleTraceResultsRefChange = (e) => {
24
23
  e && (this._traceResultsElement = e);
25
- }, this.activeTab = "input", this.showMissingTerminalWarning = !1, this.showNoStartingPointsWarning = !1, this.mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new g([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideFeatureResults = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisHideGraphicsChange = l(), this.arcgisReady = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTraceResultClear = l(), this.arcgisTraceResultFeaturesReady = l();
24
+ }, this.activeTab = "input", this.showMissingTerminalWarning = !1, this.showNoStartingPointsWarning = !1, this.mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new u([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideFeatureResults = !1, this.state = this._viewModel.state, this.view = this._viewModel.view, this.arcgisHideGraphicsChange = c(), this.arcgisReady = c(), this.arcgisTraceLocationSelectEnd = c(), this.arcgisTraceLocationSelectStart = c(), this.arcgisTraceResultClear = c(), this.arcgisTraceResultFeaturesReady = c();
26
25
  }
27
26
  static {
28
27
  this.properties = { activeTab: 16, traceError: 16, traceResult: 16, showMissingTerminalWarning: 16, showNoStartingPointsWarning: 16, mode: 16, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideFeatureResults: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
@@ -52,6 +51,10 @@ class k extends b {
52
51
  _clearTraceResult() {
53
52
  this.traceResult = void 0, this._clearHighlights(), this._clearAggregatedGeometryGraphics();
54
53
  }
54
+ _setTraceWarnings() {
55
+ const e = this._traceInputsElement?.traceLocations, t = this._traceInputsElement?.traceLocationFlagInfos, r = !!this._traceInputsElement?.unTraceConfiguration?.subnetworkName, i = e?.some((l) => l.type === "starting-point"), n = t?.some((l) => !!l.flagProperties.terminalConfiguration && !l.flagProperties.selectedTerminals?.size) ?? !1;
56
+ this.traceError = void 0, this.showNoStartingPointsWarning = !this._isSubnetworkNameTraceSelected && !i || this._isSubnetworkNameTraceSelected && !r, this.showMissingTerminalWarning = n;
57
+ }
55
58
  _switchTab(e) {
56
59
  this.activeTab = e;
57
60
  }
@@ -82,23 +85,23 @@ class k extends b {
82
85
  return;
83
86
  a.getObjectIdsFromElements(e.elements).forEach((i) => {
84
87
  const n = t.allLayerViews.find((d) => {
85
- const c = d.layer;
86
- if (a.isUtilityLayer(c)) {
88
+ const o = d.layer;
89
+ if (a.isUtilityLayer(o)) {
87
90
  const p = Number(i.layerUrl.split("/").pop());
88
- return c.layerId === p;
91
+ return o.layerId === p;
89
92
  }
90
93
  return !1;
91
94
  });
92
95
  if (!n)
93
96
  return;
94
- const u = n.highlight(i.objectIds);
95
- this._highlightHandles.push(u);
97
+ const l = n.highlight(i.objectIds);
98
+ this._highlightHandles.push(l);
96
99
  });
97
100
  }
98
101
  async _runTrace() {
99
102
  const e = this._traceInputsElement?.selectedNamedTraceConfiguration, t = this._traceInputsElement?.unTraceConfiguration;
100
103
  if (!(e?.traceType && t)) {
101
- T("error", this, "Trace configuration not found");
104
+ b("error", this, "Trace configuration not found");
102
105
  return;
103
106
  }
104
107
  const a = this._traceInputsElement?.traceLocations;
@@ -128,7 +131,7 @@ class k extends b {
128
131
  }
129
132
  _handleAggregatedGeometryGraphicsColorChange(e) {
130
133
  const t = e.detail;
131
- this.aggregatedGeometryGraphicsColor = new g(t);
134
+ this.aggregatedGeometryGraphicsColor = new u(t);
132
135
  }
133
136
  _handleSelectedNamedTraceConfigurationChange() {
134
137
  this.showNoStartingPointsWarning = !1, this.showMissingTerminalWarning = !1;
@@ -143,21 +146,18 @@ class k extends b {
143
146
  return s`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${() => this.showNoStartingPointsWarning = !1}><div slot=title>${this._messages.errors.noStartingPointsTitle}</div><div slot=message>${this._messages.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`;
144
147
  }
145
148
  renderResultsTab() {
146
- return h(`${this.el.id}__results-tab-item`, s`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? s`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : s`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .hideActionBar=${this.hideActionBar} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceResultsRefChange)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
149
+ return g(`${this.el.id}__results-tab-item`, s`<calcite-tab .selected=${this.activeTab === "results"}>${this._viewModel.state === "executing" ? s`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>` : s`<arcgis-utility-network-trace-results .aggregatedGeometryGraphicsColor=${this.aggregatedGeometryGraphicsColor} .hideFeatureResults=${this.hideFeatureResults} .referenceElement=${this.referenceElement} .hideActionBar=${this.hideActionBar} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork ?? void 0} .view=${this.view ?? void 0} .messageOverrides=${{ resultFeaturesAreHidden: this.messageOverrides?.resultFeaturesAreHidden }} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} @arcgisAggregatedGeometryGraphicsColorChange=${this._handleAggregatedGeometryGraphicsColorChange} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._handleTraceResultsRefChange)}></arcgis-utility-network-trace-results>`}</calcite-tab>`);
147
150
  }
148
151
  renderResultsFooter() {
149
- const { mode: e, state: t } = this;
150
- if (e !== "default")
151
- return null;
152
- const { traceResult: a } = this, i = !!(a?.elements.length || a?.globalFunctionResults.length || a?.aggregatedGeometry) && this._traceResultsElement?.state === "ready", n = this._traceResultsElement?.numResults ?? 0;
152
+ const { state: e } = this, { traceResult: t } = this, r = !!(t?.elements.length || t?.globalFunctionResults.length || t?.aggregatedGeometry) && this._traceResultsElement?.state === "ready", i = this._traceResultsElement?.numResults ?? 0;
153
153
  return s`<calcite-button appearance=outline width=full @click=${() => {
154
154
  this._switchTab("input"), this._clearTraceResult(), this.arcgisTraceResultClear.emit();
155
- }} .disabled=${!i} slot=footer>${n > 0 && !this.hideFeatureResults && t !== "executing" ? this._messages.buttons.clearResultsCustom.replace("{number}", n.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
155
+ }} .disabled=${!r} slot=footer>${i > 0 && !this.hideFeatureResults && e !== "executing" ? this._messages.buttons.clearResultsCustom.replace("{number}", i.toString()) : this._messages.buttons.clearResultsGeneric}</calcite-button>`;
156
156
  }
157
157
  renderInputTab() {
158
- return h(`${this.el.id}__inputs-tab-item`, s`<calcite-tab .selected=${this.activeTab === "input"}><div class="inputs-tab-container">${this.showNoStartingPointsWarning && this.mode === "default" && this.renderNoStartingPointsWarning() || ""}${this.showMissingTerminalWarning && this.mode === "default" && this.renderMissingTerminalWarning() || ""}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .referenceElement=${this.referenceElement} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} .hideActionBar=${this.hideActionBar} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
158
+ return g(`${this.el.id}__inputs-tab-item`, s`<calcite-tab .selected=${this.activeTab === "input"}><div class="inputs-tab-container">${this.showNoStartingPointsWarning && this.mode === "default" && this.renderNoStartingPointsWarning() || ""}${this.showMissingTerminalWarning && this.mode === "default" && this.renderMissingTerminalWarning() || ""}<arcgis-utility-network-trace-inputs .view=${this.view || void 0} .referenceElement=${this.referenceElement} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} .hideActionBar=${this.hideActionBar} @arcgisSelectedNamedTraceConfigurationChange=${this._handleSelectedNamedTraceConfigurationChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${(e) => {
159
159
  e.stopPropagation(), e.detail.name === "mode" && (this.mode = e.target.mode);
160
- }} .autoDestroyDisabled=${this.autoDestroyDisabled} ${o(this._handleTraceInputsRefChange)}></arcgis-utility-network-trace-inputs></div></calcite-tab>`);
160
+ }} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._handleTraceInputsRefChange)}></arcgis-utility-network-trace-inputs></div></calcite-tab>`);
161
161
  }
162
162
  renderInputFooter() {
163
163
  const { mode: e, state: t } = this;
@@ -351,7 +351,7 @@ class A extends T {
351
351
  return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisTraceLocationChange=${() => this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .traceLocations=${this._barriers} .afterHitTest=${this._handleHitTestComplete.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(this._traceLocationBarrierRefChange)}></arcgis-utility-network-trace-location>`;
352
352
  }
353
353
  renderSubnetworkNameInput() {
354
- return r`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .value=${this.selectedSubnetworkName} @calciteInputInput=${(e) => this.selectedSubnetworkName = e.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${this._messages.labels.tooManySubnetworks}</calcite-input-message>`;
354
+ return r`<calcite-input clearable type=text .placeholder=${this._messages.instructions.enterSubnetworkName} max-length=64 .status=${this.selectedSubnetworkName ? "valid" : "invalid"} .value=${this.selectedSubnetworkName} @calciteInputInput=${(e) => this.selectedSubnetworkName = e.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${this._messages.labels.tooManySubnetworks}</calcite-input-message>`;
355
355
  }
356
356
  renderSubnetworkSelectList() {
357
357
  return r`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: e }) => {
@@ -0,0 +1,173 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
3
+ import type ValidateNetworkTopologyResult from "@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js";
4
+ import type MapView from "@arcgis/core/views/MapView.js";
5
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
+ import type { ArcgisReferenceElement } from "../types.js";
7
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
8
+
9
+ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitElement {
10
+ /** @internal */
11
+ protected _messages: {
12
+ componentLabel: string;
13
+ actions: { validateTopology: string; };
14
+ errors: {
15
+ cannotAcquireVersionLock: string;
16
+ noAdvancedEditingUserTypeExtension: string;
17
+ noDirtyAreasInExtent: string;
18
+ noDirtyAreasLayer: string;
19
+ noUtilityNetwork: string;
20
+ noUtilityNetworks: string;
21
+ noUtilityNetworkServiceUserTypeExtension: string;
22
+ noView: string;
23
+ operationOnlyAllowedByOwner: string;
24
+ sceneViewNotSupported: string;
25
+ setup: string;
26
+ };
27
+ info: { validateCanceled: string; };
28
+ input: {
29
+ selectExtent: {
30
+ label: string;
31
+ options: {
32
+ currentExtent: string;
33
+ entireExtent: string;
34
+ };
35
+ };
36
+ selectUtilityNetwork: { label: string; };
37
+ };
38
+ status: {
39
+ executing: string;
40
+ success: string;
41
+ };
42
+ } & T9nMeta<{
43
+ componentLabel: string;
44
+ actions: { validateTopology: string; };
45
+ errors: {
46
+ cannotAcquireVersionLock: string;
47
+ noAdvancedEditingUserTypeExtension: string;
48
+ noDirtyAreasInExtent: string;
49
+ noDirtyAreasLayer: string;
50
+ noUtilityNetwork: string;
51
+ noUtilityNetworks: string;
52
+ noUtilityNetworkServiceUserTypeExtension: string;
53
+ noView: string;
54
+ operationOnlyAllowedByOwner: string;
55
+ sceneViewNotSupported: string;
56
+ setup: string;
57
+ };
58
+ info: { validateCanceled: string; };
59
+ input: {
60
+ selectExtent: {
61
+ label: string;
62
+ options: {
63
+ currentExtent: string;
64
+ entireExtent: string;
65
+ };
66
+ };
67
+ selectUtilityNetwork: { label: string; };
68
+ };
69
+ status: {
70
+ executing: string;
71
+ success: string;
72
+ };
73
+ }>;
74
+ /**
75
+ * A function to run before validate utility network topology starts.
76
+ *
77
+ * @internal
78
+ */
79
+ accessor beforeValidateNetworkTopologyStart: (() => Promise<void>) | undefined;
80
+ /** @default false */
81
+ accessor disabled: boolean;
82
+ /** @default "current" */
83
+ accessor extentToValidate: ExtentOption;
84
+ /** @default false */
85
+ accessor hideUtilityNetworkSelect: boolean;
86
+ /** The component's default label. */
87
+ accessor label: string | undefined;
88
+ /**
89
+ * Replace localized message strings with your own strings.
90
+ *
91
+ * _**Note**: Individual message keys may change between releases._
92
+ */
93
+ accessor messageOverrides: {
94
+ componentLabel?: string | undefined;
95
+ actions?: { validateTopology?: string | undefined; } | undefined;
96
+ errors?: {
97
+ cannotAcquireVersionLock?: string | undefined;
98
+ noAdvancedEditingUserTypeExtension?: string | undefined;
99
+ noDirtyAreasInExtent?: string | undefined;
100
+ noDirtyAreasLayer?: string | undefined;
101
+ noUtilityNetwork?: string | undefined;
102
+ noUtilityNetworks?: string | undefined;
103
+ noUtilityNetworkServiceUserTypeExtension?: string | undefined;
104
+ noView?: string | undefined;
105
+ operationOnlyAllowedByOwner?: string | undefined;
106
+ sceneViewNotSupported?: string | undefined;
107
+ setup?: string | undefined;
108
+ } | undefined;
109
+ info?: { validateCanceled?: string | undefined; } | undefined;
110
+ input?: {
111
+ selectExtent?: {
112
+ label?: string | undefined;
113
+ options?: {
114
+ currentExtent?: string | undefined;
115
+ entireExtent?: string | undefined;
116
+ } | undefined;
117
+ } | undefined;
118
+ selectUtilityNetwork?: { label?: string | undefined; } | undefined;
119
+ } | undefined;
120
+ status?: {
121
+ executing?: string | undefined;
122
+ success?: string | undefined;
123
+ } | undefined;
124
+ };
125
+ /**
126
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
127
+ *
128
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
129
+ */
130
+ accessor referenceElement: ArcgisReferenceElement | string | undefined;
131
+ accessor result: ValidateNetworkTopologyResult | undefined;
132
+ accessor state: State;
133
+ accessor utilityNetwork: UtilityNetwork | undefined;
134
+ accessor view: MapView | undefined;
135
+ readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
136
+ readonly arcgisValidateNetworkTopologyEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
137
+ readonly arcgisValidateNetworkTopologyStart: import("@arcgis/lumina").TargetedEvent<this, void>;
138
+ readonly "@eventTypes": {
139
+ arcgisReady: ArcgisUtilityNetworkValidateNetworkTopology["arcgisReady"]["detail"];
140
+ arcgisValidateNetworkTopologyEnd: ArcgisUtilityNetworkValidateNetworkTopology["arcgisValidateNetworkTopologyEnd"]["detail"];
141
+ arcgisValidateNetworkTopologyStart: ArcgisUtilityNetworkValidateNetworkTopology["arcgisValidateNetworkTopologyStart"]["detail"];
142
+ };
143
+ }
144
+
145
+ export type ExtentOption = "current" | "entire";
146
+
147
+ export type State = Disabled | Executing | Loading | Ready | Success | ValidateNetworkTopologyError;
148
+
149
+ export interface Disabled {
150
+ type: "disabled";
151
+ }
152
+
153
+ export interface Executing {
154
+ type: "executing";
155
+ }
156
+
157
+ export interface Loading {
158
+ type: "loading";
159
+ }
160
+
161
+ export interface Ready {
162
+ type: "ready";
163
+ }
164
+
165
+ export interface Success {
166
+ type: "success";
167
+ message: string;
168
+ }
169
+
170
+ export interface ValidateNetworkTopologyError {
171
+ type: "error-disable-component" | "error-disable-execute" | "error-info";
172
+ message: string;
173
+ }