@arcgis/map-components 5.1.0-next.102 → 5.1.0-next.104

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 (254) hide show
  1. package/dist/cdn/37PU5RQF.js +2 -0
  2. package/dist/cdn/{3EF4MN6L.js → 42YT33SI.js} +1 -1
  3. package/dist/cdn/{FBVHVWJP.js → 4BUXOQ5X.js} +1 -1
  4. package/dist/cdn/{J3MFZHTJ.js → 4P5SOHAK.js} +1 -1
  5. package/dist/cdn/{SFXP3DOP.js → 5CVCIDET.js} +1 -1
  6. package/dist/cdn/{H43ZBRJO.js → 5F4QQFMV.js} +1 -1
  7. package/dist/cdn/{IQHG6OT4.js → 5FHYTVXJ.js} +1 -1
  8. package/dist/cdn/{SEJ6JCXN.js → 6SLFSRO3.js} +1 -1
  9. package/dist/cdn/{5AY6FU6R.js → 6U7WM64M.js} +1 -1
  10. package/dist/cdn/{MFXNJZSL.js → 7MG2HVHJ.js} +1 -1
  11. package/dist/cdn/7YEXZHW3.js +2 -0
  12. package/dist/cdn/{7UZP3RBC.js → AWQHNAWY.js} +1 -1
  13. package/dist/cdn/{TZKT637Q.js → C5RCUSYN.js} +1 -1
  14. package/dist/cdn/CXPIQET3.js +2 -0
  15. package/dist/cdn/{GHISRID5.js → D4ATYXZL.js} +1 -1
  16. package/dist/cdn/{5FEFHUMM.js → DWWDCRDK.js} +1 -1
  17. package/dist/cdn/{6QTNDMTM.js → EE4OHTHH.js} +1 -1
  18. package/dist/cdn/{ZYG4YNMK.js → GAWULXAQ.js} +1 -1
  19. package/dist/cdn/{CY5MXN4Q.js → GBHDATFS.js} +1 -1
  20. package/dist/cdn/GFXNIWNG.js +2 -0
  21. package/dist/cdn/{MGLV5EEI.js → HVKDLP74.js} +1 -1
  22. package/dist/cdn/{K6JERTMI.js → I7HKS77T.js} +1 -1
  23. package/dist/cdn/ICIX7OQK.js +2 -0
  24. package/dist/cdn/JW6K33EY.js +2 -0
  25. package/dist/cdn/LFFZNI4J.js +2 -0
  26. package/dist/cdn/{P27CM5PI.js → LTUURA6B.js} +1 -1
  27. package/dist/cdn/{T5YUD4HI.js → MLD4FBFB.js} +1 -1
  28. package/dist/cdn/MXXKVA3L.js +2 -0
  29. package/dist/cdn/{SBWTPIZH.js → NWLO4YJB.js} +1 -1
  30. package/dist/cdn/{KEKKHAC3.js → OGV2KLWY.js} +1 -1
  31. package/dist/cdn/{RQQW45SO.js → P36R3KMU.js} +1 -1
  32. package/dist/cdn/{7KIORSA4.js → PO4N3MEU.js} +1 -1
  33. package/dist/cdn/{6HRKATQQ.js → S36YQI7W.js} +1 -1
  34. package/dist/cdn/{KGWDZNHG.js → SKRNQKVO.js} +1 -1
  35. package/dist/cdn/{DU33A6QD.js → T2RNAPRO.js} +1 -1
  36. package/dist/cdn/{2M7OVKOX.js → UCPJMQPU.js} +1 -1
  37. package/dist/cdn/{YNGHIC64.js → UNFS72TS.js} +1 -1
  38. package/dist/cdn/{HYNB4OPZ.js → VDSKVXIQ.js} +1 -1
  39. package/dist/cdn/{PWCOBDBK.js → VSZ3LZA2.js} +1 -1
  40. package/dist/cdn/{CUJU6FOW.js → YGYGCNWI.js} +1 -1
  41. package/dist/cdn/{ZVTZRBDZ.js → Z5RIW77H.js} +1 -1
  42. package/dist/cdn/ZDOE5UWP.js +2 -0
  43. package/dist/cdn/assets/search/t9n/messages.ar.json +1 -1
  44. package/dist/cdn/assets/search/t9n/messages.bg.json +1 -1
  45. package/dist/cdn/assets/search/t9n/messages.bs.json +1 -1
  46. package/dist/cdn/assets/search/t9n/messages.ca.json +1 -1
  47. package/dist/cdn/assets/search/t9n/messages.cs.json +1 -1
  48. package/dist/cdn/assets/search/t9n/messages.da.json +1 -1
  49. package/dist/cdn/assets/search/t9n/messages.de.json +1 -1
  50. package/dist/cdn/assets/search/t9n/messages.el.json +1 -1
  51. package/dist/cdn/assets/search/t9n/messages.es.json +1 -1
  52. package/dist/cdn/assets/search/t9n/messages.et.json +1 -1
  53. package/dist/cdn/assets/search/t9n/messages.fi.json +1 -1
  54. package/dist/cdn/assets/search/t9n/messages.fr.json +1 -1
  55. package/dist/cdn/assets/search/t9n/messages.he.json +1 -1
  56. package/dist/cdn/assets/search/t9n/messages.hr.json +1 -1
  57. package/dist/cdn/assets/search/t9n/messages.hu.json +1 -1
  58. package/dist/cdn/assets/search/t9n/messages.id.json +1 -1
  59. package/dist/cdn/assets/search/t9n/messages.it.json +1 -1
  60. package/dist/cdn/assets/search/t9n/messages.ja.json +1 -1
  61. package/dist/cdn/assets/search/t9n/messages.ko.json +1 -1
  62. package/dist/cdn/assets/search/t9n/messages.lt.json +1 -1
  63. package/dist/cdn/assets/search/t9n/messages.lv.json +1 -1
  64. package/dist/cdn/assets/search/t9n/messages.nl.json +1 -1
  65. package/dist/cdn/assets/search/t9n/messages.no.json +1 -1
  66. package/dist/cdn/assets/search/t9n/messages.pl.json +1 -1
  67. package/dist/cdn/assets/search/t9n/messages.pt-BR.json +1 -1
  68. package/dist/cdn/assets/search/t9n/messages.pt-PT.json +1 -1
  69. package/dist/cdn/assets/search/t9n/messages.ro.json +1 -1
  70. package/dist/cdn/assets/search/t9n/messages.ru.json +1 -1
  71. package/dist/cdn/assets/search/t9n/messages.sk.json +1 -1
  72. package/dist/cdn/assets/search/t9n/messages.sl.json +1 -1
  73. package/dist/cdn/assets/search/t9n/messages.sr.json +1 -1
  74. package/dist/cdn/assets/search/t9n/messages.sv.json +1 -1
  75. package/dist/cdn/assets/search/t9n/messages.th.json +1 -1
  76. package/dist/cdn/assets/search/t9n/messages.tr.json +1 -1
  77. package/dist/cdn/assets/search/t9n/messages.uk.json +1 -1
  78. package/dist/cdn/assets/search/t9n/messages.vi.json +1 -1
  79. package/dist/cdn/assets/search/t9n/messages.zh-CN.json +1 -1
  80. package/dist/cdn/assets/search/t9n/messages.zh-HK.json +1 -1
  81. package/dist/cdn/assets/search/t9n/messages.zh-TW.json +1 -1
  82. package/dist/cdn/assets/slider-time/t9n/messages.ar.json +1 -0
  83. package/dist/cdn/assets/slider-time/t9n/messages.bg.json +1 -0
  84. package/dist/cdn/assets/slider-time/t9n/messages.bs.json +1 -0
  85. package/dist/cdn/assets/slider-time/t9n/messages.ca.json +1 -0
  86. package/dist/cdn/assets/slider-time/t9n/messages.cs.json +1 -0
  87. package/dist/cdn/assets/slider-time/t9n/messages.da.json +1 -0
  88. package/dist/cdn/assets/slider-time/t9n/messages.de.json +1 -0
  89. package/dist/cdn/assets/slider-time/t9n/messages.el.json +1 -0
  90. package/dist/cdn/assets/slider-time/t9n/messages.en.json +1 -0
  91. package/dist/cdn/assets/slider-time/t9n/messages.es.json +1 -0
  92. package/dist/cdn/assets/slider-time/t9n/messages.et.json +1 -0
  93. package/dist/cdn/assets/slider-time/t9n/messages.fi.json +1 -0
  94. package/dist/cdn/assets/slider-time/t9n/messages.fr.json +1 -0
  95. package/dist/cdn/assets/slider-time/t9n/messages.he.json +1 -0
  96. package/dist/cdn/assets/slider-time/t9n/messages.hr.json +1 -0
  97. package/dist/cdn/assets/slider-time/t9n/messages.hu.json +1 -0
  98. package/dist/cdn/assets/slider-time/t9n/messages.id.json +1 -0
  99. package/dist/cdn/assets/slider-time/t9n/messages.it.json +1 -0
  100. package/dist/cdn/assets/slider-time/t9n/messages.ja.json +1 -0
  101. package/dist/cdn/assets/slider-time/t9n/messages.ko.json +1 -0
  102. package/dist/cdn/assets/slider-time/t9n/messages.lt.json +1 -0
  103. package/dist/cdn/assets/slider-time/t9n/messages.lv.json +1 -0
  104. package/dist/cdn/assets/slider-time/t9n/messages.nl.json +1 -0
  105. package/dist/cdn/assets/slider-time/t9n/messages.no.json +1 -0
  106. package/dist/cdn/assets/slider-time/t9n/messages.pl.json +1 -0
  107. package/dist/cdn/assets/slider-time/t9n/messages.pt-BR.json +1 -0
  108. package/dist/cdn/assets/slider-time/t9n/messages.pt-PT.json +1 -0
  109. package/dist/cdn/assets/slider-time/t9n/messages.ro.json +1 -0
  110. package/dist/cdn/assets/slider-time/t9n/messages.ru.json +1 -0
  111. package/dist/cdn/assets/slider-time/t9n/messages.sk.json +1 -0
  112. package/dist/cdn/assets/slider-time/t9n/messages.sl.json +1 -0
  113. package/dist/cdn/assets/slider-time/t9n/messages.sr.json +1 -0
  114. package/dist/cdn/assets/slider-time/t9n/messages.sv.json +1 -0
  115. package/dist/cdn/assets/slider-time/t9n/messages.th.json +1 -0
  116. package/dist/cdn/assets/slider-time/t9n/messages.tr.json +1 -0
  117. package/dist/cdn/assets/slider-time/t9n/messages.uk.json +1 -0
  118. package/dist/cdn/assets/slider-time/t9n/messages.vi.json +1 -0
  119. package/dist/cdn/assets/slider-time/t9n/messages.zh-CN.json +1 -0
  120. package/dist/cdn/assets/slider-time/t9n/messages.zh-HK.json +1 -0
  121. package/dist/cdn/assets/slider-time/t9n/messages.zh-TW.json +1 -0
  122. package/dist/cdn/assets/unit-select/t9n/messages.ar.json +1 -1
  123. package/dist/cdn/assets/unit-select/t9n/messages.bg.json +1 -1
  124. package/dist/cdn/assets/unit-select/t9n/messages.bs.json +1 -1
  125. package/dist/cdn/assets/unit-select/t9n/messages.ca.json +1 -1
  126. package/dist/cdn/assets/unit-select/t9n/messages.cs.json +1 -1
  127. package/dist/cdn/assets/unit-select/t9n/messages.da.json +1 -1
  128. package/dist/cdn/assets/unit-select/t9n/messages.de.json +1 -1
  129. package/dist/cdn/assets/unit-select/t9n/messages.el.json +1 -1
  130. package/dist/cdn/assets/unit-select/t9n/messages.es.json +1 -1
  131. package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
  132. package/dist/cdn/assets/unit-select/t9n/messages.fi.json +1 -1
  133. package/dist/cdn/assets/unit-select/t9n/messages.fr.json +1 -1
  134. package/dist/cdn/assets/unit-select/t9n/messages.he.json +1 -1
  135. package/dist/cdn/assets/unit-select/t9n/messages.hr.json +1 -1
  136. package/dist/cdn/assets/unit-select/t9n/messages.hu.json +1 -1
  137. package/dist/cdn/assets/unit-select/t9n/messages.id.json +1 -1
  138. package/dist/cdn/assets/unit-select/t9n/messages.it.json +1 -1
  139. package/dist/cdn/assets/unit-select/t9n/messages.ja.json +1 -1
  140. package/dist/cdn/assets/unit-select/t9n/messages.ko.json +1 -1
  141. package/dist/cdn/assets/unit-select/t9n/messages.lt.json +1 -1
  142. package/dist/cdn/assets/unit-select/t9n/messages.lv.json +1 -1
  143. package/dist/cdn/assets/unit-select/t9n/messages.nl.json +1 -1
  144. package/dist/cdn/assets/unit-select/t9n/messages.no.json +1 -1
  145. package/dist/cdn/assets/unit-select/t9n/messages.pl.json +1 -1
  146. package/dist/cdn/assets/unit-select/t9n/messages.pt-BR.json +1 -1
  147. package/dist/cdn/assets/unit-select/t9n/messages.pt-PT.json +1 -1
  148. package/dist/cdn/assets/unit-select/t9n/messages.ro.json +1 -1
  149. package/dist/cdn/assets/unit-select/t9n/messages.ru.json +1 -1
  150. package/dist/cdn/assets/unit-select/t9n/messages.sk.json +1 -1
  151. package/dist/cdn/assets/unit-select/t9n/messages.sl.json +1 -1
  152. package/dist/cdn/assets/unit-select/t9n/messages.sr.json +1 -1
  153. package/dist/cdn/assets/unit-select/t9n/messages.sv.json +1 -1
  154. package/dist/cdn/assets/unit-select/t9n/messages.th.json +1 -1
  155. package/dist/cdn/assets/unit-select/t9n/messages.tr.json +1 -1
  156. package/dist/cdn/assets/unit-select/t9n/messages.uk.json +1 -1
  157. package/dist/cdn/assets/unit-select/t9n/messages.vi.json +1 -1
  158. package/dist/cdn/assets/unit-select/t9n/messages.zh-CN.json +1 -1
  159. package/dist/cdn/assets/unit-select/t9n/messages.zh-HK.json +1 -1
  160. package/dist/cdn/assets/unit-select/t9n/messages.zh-TW.json +1 -1
  161. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
  162. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
  163. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ar.json +1 -1
  164. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bg.json +1 -1
  165. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bs.json +1 -1
  166. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ca.json +1 -1
  167. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.cs.json +1 -1
  168. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.da.json +1 -1
  169. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.de.json +1 -1
  170. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.el.json +1 -1
  171. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
  172. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.es.json +1 -1
  173. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.et.json +1 -1
  174. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fi.json +1 -1
  175. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fr.json +1 -1
  176. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.he.json +1 -1
  177. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hr.json +1 -1
  178. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hu.json +1 -1
  179. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.id.json +1 -1
  180. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.it.json +1 -1
  181. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ja.json +1 -1
  182. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ko.json +1 -1
  183. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lt.json +1 -1
  184. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lv.json +1 -1
  185. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.nl.json +1 -1
  186. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.no.json +1 -1
  187. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pl.json +1 -1
  188. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-BR.json +1 -1
  189. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-PT.json +1 -1
  190. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ro.json +1 -1
  191. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ru.json +1 -1
  192. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sk.json +1 -1
  193. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sl.json +1 -1
  194. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sr.json +1 -1
  195. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sv.json +1 -1
  196. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.th.json +1 -1
  197. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.tr.json +1 -1
  198. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.uk.json +1 -1
  199. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.vi.json +1 -1
  200. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-CN.json +1 -1
  201. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-HK.json +1 -1
  202. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-TW.json +1 -1
  203. package/dist/cdn/index.js +1 -1
  204. package/dist/cdn/main.css +1 -1
  205. package/dist/chunks/async-utils.js +63 -51
  206. package/dist/chunks/time-utils.js +27 -15
  207. package/dist/chunks/useArcgisViewReadyError.js +115 -56
  208. package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -0
  209. package/dist/components/arcgis-coordinate-conversion/customElement.js +6 -6
  210. package/dist/components/arcgis-daylight/customElement.js +1 -1
  211. package/dist/components/arcgis-directions/customElement.js +4 -4
  212. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -0
  213. package/dist/components/arcgis-link-chart/customElement.js +13 -10
  214. package/dist/components/arcgis-map/customElement.d.ts +1 -0
  215. package/dist/components/arcgis-map/customElement.js +13 -10
  216. package/dist/components/arcgis-scene/customElement.d.ts +1 -0
  217. package/dist/components/arcgis-scene/customElement.js +23 -20
  218. package/dist/components/arcgis-search/customElement.d.ts +3 -0
  219. package/dist/components/arcgis-search/customElement.js +6 -6
  220. package/dist/components/arcgis-slider-time/customElement.d.ts +868 -0
  221. package/dist/components/arcgis-slider-time/customElement.js +740 -0
  222. package/dist/components/arcgis-slider-time/index.d.ts +1 -0
  223. package/dist/components/arcgis-slider-time/index.js +8 -0
  224. package/dist/components/arcgis-slider-time/types.d.ts +147 -0
  225. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -1
  226. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  227. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +18 -6
  228. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +21 -21
  229. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  230. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +16 -16
  231. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -0
  232. package/dist/components/arcgis-utility-network-trace-results/customElement.js +13 -9
  233. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +161 -35
  234. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -1
  235. package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -3
  236. package/dist/docs/api.json +1 -1
  237. package/dist/docs/docs.json +1 -1
  238. package/dist/docs/vscode.html-custom-data.json +1 -1
  239. package/dist/docs/web-types.json +1 -1
  240. package/dist/index.d.ts +10 -0
  241. package/dist/loader.js +5 -4
  242. package/dist/types/lumina.d.ts +10 -2
  243. package/dist/types/preact.d.ts +11 -2
  244. package/dist/types/react.d.ts +12 -2
  245. package/dist/types/stencil.d.ts +10 -2
  246. package/package.json +4 -4
  247. package/dist/cdn/6E3T7FRP.js +0 -2
  248. package/dist/cdn/HIYCE253.js +0 -2
  249. package/dist/cdn/HW3D7A2P.js +0 -2
  250. package/dist/cdn/IQPGSWSL.js +0 -2
  251. package/dist/cdn/IU2X5JKR.js +0 -2
  252. package/dist/cdn/L7LTDZU6.js +0 -2
  253. package/dist/cdn/OSRU2RUW.js +0 -2
  254. package/dist/cdn/X6BCGFB3.js +0 -2
@@ -1,50 +1,50 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import f from "@arcgis/core/core/Accessor.js";
3
- import { property as l, subclass as b } from "@arcgis/core/core/accessorSupport/decorators.js";
4
- import d from "@arcgis/core/core/Error.js";
5
- import { a as p, r as h } from "./maybe.js";
6
- import { log as m } from "@arcgis/toolkit/log";
7
- var w = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, s = (t, r, e, o) => {
8
- for (var n = o > 1 ? void 0 : o ? _(r, e) : r, a = t.length - 1, u; a >= 0; a--)
9
- (u = t[a]) && (n = (o ? u(r, e, n) : u(n)) || n);
10
- return o && n && w(r, e, n), n;
2
+ import d from "@arcgis/core/core/Accessor.js";
3
+ import { property as l, subclass as m } from "@arcgis/core/core/accessorSupport/decorators.js";
4
+ import p from "@arcgis/core/core/Error.js";
5
+ import { a as h, r as w } from "./maybe.js";
6
+ import { log as _ } from "@arcgis/toolkit/log";
7
+ var v = Object.defineProperty, A = Object.getOwnPropertyDescriptor, a = (t, r, e, o) => {
8
+ for (var n = o > 1 ? void 0 : o ? A(r, e) : r, i = t.length - 1, u; i >= 0; i--)
9
+ (u = t[i]) && (n = (o ? u(r, e, n) : u(n)) || n);
10
+ return o && n && v(r, e, n), n;
11
11
  };
12
- function j(t, r, e) {
12
+ function S(t, r, e) {
13
13
  if (t && typeof t == "object" && !Array.isArray(t)) {
14
- const n = "details" in t && t.details && typeof t.details == "object" && !Array.isArray(t.details) ? { detail: t.details } : void 0, a = e ? `${e} - ${String(t)}` : String(t);
15
- m("error", r, a, n);
14
+ const n = "details" in t && t.details && typeof t.details == "object" && !Array.isArray(t.details) ? { detail: t.details } : void 0, i = e ? `${e} - ${String(t)}` : String(t);
15
+ _("error", r, i, n);
16
16
  }
17
17
  }
18
- function v(t = "Aborted") {
19
- return new d("AbortError", t);
18
+ function f(t = "Aborted") {
19
+ return new p("AbortError", t);
20
20
  }
21
- function H(t, r = "Aborted") {
21
+ function j(t, r = "Aborted") {
22
22
  if (g(t))
23
- throw v(r);
23
+ throw f(r);
24
24
  }
25
- function c(t) {
25
+ function b(t) {
26
26
  return t instanceof AbortSignal ? t : t?.signal ?? void 0;
27
27
  }
28
28
  function g(t) {
29
- return c(t)?.aborted ?? !1;
29
+ return b(t)?.aborted ?? !1;
30
30
  }
31
31
  function y(t) {
32
32
  return t?.name === "AbortError";
33
33
  }
34
- function A(t) {
34
+ function C(t) {
35
35
  return { ok: !0, value: t };
36
36
  }
37
- function C(t) {
37
+ function E(t) {
38
38
  return { ok: !1, error: t };
39
39
  }
40
- function E(t) {
40
+ function k(t) {
41
41
  return t?.ok ? t.value : null;
42
42
  }
43
- function k(t) {
43
+ function T(t) {
44
44
  return t != null && !t.ok ? t.error : null;
45
45
  }
46
- function I(t, r) {
47
- const e = c(t);
46
+ function c(t, r) {
47
+ const e = b(t);
48
48
  if (e == null)
49
49
  return;
50
50
  if (e.aborted) {
@@ -54,29 +54,29 @@ function I(t, r) {
54
54
  const o = () => r();
55
55
  return e.addEventListener("abort", o, { once: !0 }), { remove: () => e.removeEventListener("abort", o) };
56
56
  }
57
- function P(t, r) {
58
- return new i(t, r);
57
+ function H(t, r) {
58
+ return new s(t, r);
59
59
  }
60
- let i = class extends f {
60
+ let s = class extends d {
61
61
  constructor(t, r) {
62
62
  super({}), this._abortHandle = null, this.abort = () => {
63
- this._abortController = p(this._abortController);
63
+ this._abortController = h(this._abortController);
64
64
  }, this.remove = this.abort, this._abortController = new AbortController();
65
65
  const { signal: e } = this._abortController;
66
66
  this.promise = t(e), this.promise.then(
67
67
  (o) => {
68
- this._result = A(o), this._cleanup();
68
+ this._result = C(o), this._cleanup();
69
69
  },
70
70
  (o) => {
71
- this._result = C(o), this._cleanup();
71
+ this._result = E(o), this._cleanup();
72
72
  }
73
- ), this._abortHandle = I(r, this.abort);
73
+ ), this._abortHandle = c(r, this.abort);
74
74
  }
75
75
  get value() {
76
- return E(this._result);
76
+ return k(this._result);
77
77
  }
78
78
  get error() {
79
- return k(this._result);
79
+ return T(this._result);
80
80
  }
81
81
  get finished() {
82
82
  return this._result != null;
@@ -85,30 +85,30 @@ let i = class extends f {
85
85
  this.abort();
86
86
  }
87
87
  _cleanup() {
88
- this._abortHandle = h(this._abortHandle), this._abortController = null;
88
+ this._abortHandle = w(this._abortHandle), this._abortController = null;
89
89
  }
90
90
  [Symbol.dispose]() {
91
91
  this._cleanup();
92
92
  }
93
93
  };
94
- s([
94
+ a([
95
95
  l()
96
- ], i.prototype, "value", 1);
97
- s([
96
+ ], s.prototype, "value", 1);
97
+ a([
98
98
  l()
99
- ], i.prototype, "error", 1);
100
- s([
99
+ ], s.prototype, "error", 1);
100
+ a([
101
101
  l()
102
- ], i.prototype, "finished", 1);
103
- s([
102
+ ], s.prototype, "finished", 1);
103
+ a([
104
104
  l()
105
- ], i.prototype, "promise", 2);
106
- s([
105
+ ], s.prototype, "promise", 2);
106
+ a([
107
107
  l()
108
- ], i.prototype, "_result", 2);
109
- i = s([
110
- b("esri.components.asyncUtils.ReactiveTask")
111
- ], i);
108
+ ], s.prototype, "_result", 2);
109
+ s = a([
110
+ m("esri.components.asyncUtils.ReactiveTask")
111
+ ], s);
112
112
  function q(t) {
113
113
  return t.catch((r) => {
114
114
  if (!y(r))
@@ -131,13 +131,25 @@ function x(t, r = {}) {
131
131
  function L(t) {
132
132
  "cancelIdleCallback" in window && window.cancelIdleCallback(t), window.clearTimeout(t);
133
133
  }
134
+ function M(t, r) {
135
+ const e = new AbortController();
136
+ return c(r, () => e.abort()), new Promise((o, n) => {
137
+ let i = setTimeout(() => {
138
+ i = void 0, o();
139
+ }, t);
140
+ c(e, () => {
141
+ i !== void 0 && (clearTimeout(i), i = void 0, n(f()));
142
+ });
143
+ });
144
+ }
134
145
  export {
135
146
  g as a,
136
147
  q as b,
137
- P as c,
138
- L as d,
148
+ H as c,
149
+ M as d,
150
+ L as e,
139
151
  y as i,
140
- j as l,
152
+ S as l,
141
153
  x as r,
142
- H as t
154
+ j as t
143
155
  };
@@ -1,5 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- const l = "system", d = "unknown", f = Intl.DateTimeFormat().resolvedOptions().timeZone, o = {
2
+ const a = "system", u = "unknown";
3
+ const l = Intl.DateTimeFormat().resolvedOptions().timeZone, o = {
3
4
  milliseconds: 1,
4
5
  seconds: 1e3,
5
6
  minutes: 6e4,
@@ -16,38 +17,49 @@ const l = "system", d = "unknown", f = Intl.DateTimeFormat().resolvedOptions().t
16
17
  function c(e, s, n) {
17
18
  return e === 0 ? 0 : e * o[s] / o[n];
18
19
  }
19
- function r(e) {
20
+ function m(e) {
20
21
  return e instanceof Date && !Number.isNaN(e.getTime());
21
22
  }
22
23
  function g(e, s, n = "hours") {
23
24
  const t = new Date(e.getTime()), i = c(s, n, "milliseconds");
24
25
  return t.setTime(t.getTime() + i), t;
25
26
  }
26
- function u(e, s) {
27
- const n = c(s, "hours", "milliseconds"), t = new Date(e.getTime() + n), i = t.toISOString().slice(0, 10), a = t.getUTCHours() * 60 + t.getUTCMinutes();
28
- return { localDate: i, minutesSinceMidnight: a };
27
+ function f(e, s) {
28
+ const n = c(s, "hours", "milliseconds"), t = new Date(e.getTime() + n), i = t.toISOString().slice(0, 10), r = t.getUTCHours() * 60 + t.getUTCMinutes();
29
+ return { localDate: i, minutesSinceMidnight: r };
29
30
  }
30
31
  function T(e) {
31
32
  const s = e?.environment?.lighting;
32
- if (m(s)) {
33
+ if (d(s)) {
33
34
  const n = s.displayUTCOffset ?? 0, t = s.date;
34
- if (r(t)) {
35
- const { localDate: i } = u(t, n);
35
+ if (m(t)) {
36
+ const { localDate: i } = f(t, n);
36
37
  return i;
37
38
  }
38
39
  }
39
40
  }
40
- function m(e) {
41
+ function d(e) {
41
42
  return e?.type === "sun";
42
43
  }
44
+ function h(e) {
45
+ switch (e) {
46
+ case a:
47
+ return l;
48
+ case u:
49
+ return "UTC";
50
+ default:
51
+ return e;
52
+ }
53
+ }
43
54
  export {
44
- f as a,
45
- r as b,
55
+ l as a,
56
+ m as b,
46
57
  c,
47
- u as d,
58
+ f as d,
48
59
  T as g,
49
- m as i,
60
+ d as i,
50
61
  g as o,
51
- l as s,
52
- d as u
62
+ h as r,
63
+ a as s,
64
+ u
53
65
  };
@@ -1,23 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { html as u } from "lit";
3
- import { when as p, watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
- import { GenericController as h, useDirection as c, makeGenericController as a } from "@arcgis/lumina/controllers";
5
- import { getSlotAssignedElements as m } from "@arcgis/toolkit/dom";
6
- import { createRef as f } from "lit/directives/ref.js";
7
- import { c as E, S as d } from "./slots.js";
8
- import { createEvent as l } from "@arcgis/lumina";
9
- class _ extends h {
2
+ import { html as c } from "lit";
3
+ import { when as n, watch as r } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { GenericController as u, useDirection as m, makeGenericController as l } from "@arcgis/lumina/controllers";
5
+ import { getSlotAssignedElements as d } from "@arcgis/toolkit/dom";
6
+ import { createRef as E } from "lit/directives/ref.js";
7
+ import { c as f, S as w } from "./slots.js";
8
+ import { createEvent as a } from "@arcgis/lumina";
9
+ class y extends u {
10
10
  //#endregion
11
11
  //#region Lifecycle
12
- constructor(t) {
13
- super(t), this.direction = c(), this.popupRef = f(), this.slotGroupRefs = E(), this.attributionHeight = 0, this._uiContainer = null, this.component.listen("arcgisViewClick", (o) => {
14
- const e = o.detail.native;
15
- o.detail.button !== 0 || e?.ctrlKey || e?.metaKey || this._handleOpenPopup(o.detail);
12
+ constructor(e) {
13
+ super(e), this.direction = m(), this.popupRef = E(), this.slotGroupRefs = f(), this.attributionHeight = 0, this._uiContainer = null, this.component.listen("arcgisViewClick", (o) => {
14
+ const t = o.detail.native;
15
+ o.detail.button !== 0 || t?.ctrlKey || t?.metaKey || this._handleOpenPopup(o.detail);
16
16
  }), this.component.listenOn(globalThis, "unhandledrejection", (o) => {
17
- const e = o.reason;
18
- if (e?.name === "webgl:required") {
19
- const { name: i } = e;
20
- this.webGLError = { name: i };
17
+ const t = o.reason;
18
+ if (t?.name === "webgl:required") {
19
+ const { name: p } = t;
20
+ this.webGLError = { name: p };
21
21
  }
22
22
  });
23
23
  }
@@ -25,22 +25,22 @@ class _ extends h {
25
25
  //#region Private Methods
26
26
  hostLifecycle() {
27
27
  return [
28
- p(() => this.component.view.ready, () => {
28
+ n(() => this.component.view.ready, () => {
29
29
  this._assignDefaultPopup();
30
30
  }),
31
31
  // Close component popup when view popup is opened
32
- p(() => this.component.view.popup?.visible, () => {
32
+ n(() => this.component.view.popup?.visible, () => {
33
33
  this.popupElement?.open && (this.popupElement.open = !1);
34
34
  })
35
35
  ];
36
36
  }
37
- async openPopup(t) {
37
+ async openPopup(e) {
38
38
  if (this._assignDefaultPopup(), this.closePopup(), this.popupElement) {
39
39
  await this.popupElement.componentOnReady(), this.popupElement.open = !0;
40
- const { fetchFeatures: o } = t;
41
- delete t.fetchFeatures, Object.assign(this.popupElement, t), o && this.popupElement.fetchFeatures();
40
+ const { fetchFeatures: o } = e;
41
+ delete e.fetchFeatures, Object.assign(this.popupElement, e), o && this.popupElement.fetchFeatures();
42
42
  } else
43
- await this.component.view.openPopup(t);
43
+ await this.component.view.openPopup(e);
44
44
  }
45
45
  closePopup() {
46
46
  this.popupElement && (this.popupElement.open = !1), this.component.view.closePopup();
@@ -48,68 +48,127 @@ class _ extends h {
48
48
  _assignDefaultPopup() {
49
49
  this.popupRef.value && !this.popupElement && (this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
50
50
  }
51
- handleAttributionHeightChange(t) {
52
- if (!(this.attributionHeight === t || !this.component.el.shadowRoot)) {
53
- if (this.attributionHeight = t, !this._uiContainer) {
51
+ handleAttributionHeightChange(e) {
52
+ if (!(this.attributionHeight === e || !this.component.el.shadowRoot)) {
53
+ if (this.attributionHeight = e, !this._uiContainer) {
54
54
  const o = this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");
55
55
  this._uiContainer = o;
56
56
  }
57
57
  this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top", `${this.attributionHeight}px`);
58
58
  }
59
59
  }
60
- async _handleOpenPopup(t) {
61
- if (this._assignDefaultPopup(), this.popupElement && !this.component.popupDisabled) {
62
- t.stopPropagation();
63
- const { location: o, promises: e } = await this.popupElement.handleViewClick(t);
64
- e?.length ? this.openPopup({ location: o, promises: e }) : this.popupElement.open && this.closePopup();
60
+ _maybeDisableViewPopup() {
61
+ this.component.view && (this.component.popupComponentEnabled || this.popupElement) && (this.previousViewPopupEnabled = this.component.view.popupEnabled, this.component.view.popupEnabled = !1);
62
+ }
63
+ _maybeResetViewPopup() {
64
+ this.component.view && this.previousViewPopupEnabled !== void 0 && (this.component.view.popupEnabled = this.previousViewPopupEnabled, this.previousViewPopupEnabled = void 0);
65
+ }
66
+ async _handleOpenPopup(e) {
67
+ if (this._assignDefaultPopup(), !this.component.popupDisabled) {
68
+ if (this._maybeDisableViewPopup(), this.popupElement) {
69
+ const { location: o, promises: t } = await this.popupElement?.handleViewClick(e) ?? {};
70
+ t?.length ? this.openPopup({ location: o, promises: t }) : this.popupElement?.open && this.closePopup();
71
+ }
72
+ this._maybeResetViewPopup();
65
73
  }
66
74
  }
67
- _handlePopupSlotChange(t) {
68
- const o = m(t.target, "arcgis-popup");
75
+ _handlePopupSlotChange(e) {
76
+ const o = d(e.target, "arcgis-popup");
69
77
  !this.popupElement && o.length ? this.popupElement = o[0] : o.length || (this.popupElement = void 0);
70
78
  }
71
79
  _webGLErrorAlert() {
72
- return this.webGLError ? u`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
80
+ return this.webGLError ? c`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
73
81
  }
74
82
  //#endregion
75
83
  //#region Rendering
76
84
  render() {
77
- return d({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (t) => this._handlePopupSlotChange(t), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
85
+ return w({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (e) => this._handlePopupSlotChange(e), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
78
86
  }
79
87
  }
80
- const v = a((n, t) => {
81
- const o = l();
82
- return t.onLifecycle(
83
- () => s(
88
+ const V = l((i, e) => {
89
+ const o = a();
90
+ return e.onLifecycle(
91
+ () => r(
84
92
  () => {
85
- const { map: e } = n;
86
- if (!e || e.destroyed)
93
+ const { map: t } = i;
94
+ if (!t || t.destroyed)
87
95
  return [];
88
- const i = [];
89
- return e.loadError && i.push(e), e.basemap?.loadError && i.push(e.basemap), e.ground.loadError && i.push(e.ground), [...e.allLayers, ...e.allTables].forEach((r) => {
90
- r.loadError && i.push(r);
91
- }), i;
96
+ const p = [];
97
+ return t.loadError && p.push(t), t.basemap?.loadError && p.push(t.basemap), t.ground.loadError && p.push(t.ground), [...t.allLayers, ...t.allTables].forEach((s) => {
98
+ s.loadError && p.push(s);
99
+ }), p;
92
100
  },
93
- (e) => {
94
- e.length && (n.loadErrorSources = e, o.emit());
101
+ (t) => {
102
+ t.length && (i.loadErrorSources = t, o.emit());
95
103
  }
96
104
  )
97
105
  ), o;
98
- }), G = a(
99
- (n, t) => {
100
- const o = l();
101
- return t.onLifecycle(
102
- () => s(
103
- () => n.view?.readyState,
104
- (e) => {
105
- (e === "map-content-error" || e === "rendering-error") && o.emit();
106
+ });
107
+ function h(i = document) {
108
+ const e = i.activeElement;
109
+ if (e)
110
+ return e.shadowRoot && e.shadowRoot.activeElement !== null ? h(e.shadowRoot) : e;
111
+ }
112
+ class L extends u {
113
+ #e;
114
+ #t;
115
+ #o;
116
+ focusPopup() {
117
+ const e = h();
118
+ this.#i(), this.component.popupElement && (this.component.popupElement.setFocus(), this.#e = this._watchPopupElementClose(() => {
119
+ this.#e = void 0, this.focusOnReturnFocusElement(e);
120
+ })), this.#o = this._watchViewPopupOpen(() => {
121
+ this.#o = void 0, this._popup?.focus(), this.#t = this._watchViewPopupClose(() => {
122
+ this.#t = void 0, this.focusOnReturnFocusElement(e);
123
+ });
124
+ });
125
+ }
126
+ focusOnReturnFocusElement(e) {
127
+ e && "setFocus" in e ? e.setFocus?.() : e?.focus();
128
+ }
129
+ hostDisconnected() {
130
+ this.#i();
131
+ }
132
+ get _popup() {
133
+ return this.component.popup ?? this.component.view?.popup;
134
+ }
135
+ #i() {
136
+ this.#e?.remove(), this.#t?.remove(), this.#o?.remove(), this.#e = void 0, this.#t = void 0, this.#o = void 0;
137
+ }
138
+ _watchPopupElementClose(e) {
139
+ return this.component.popupElement?.addEventListener("arcgisClose", e, { once: !0 }), {
140
+ remove: () => {
141
+ this.component.popupElement?.removeEventListener("arcgisClose", e);
142
+ }
143
+ };
144
+ }
145
+ _watchViewPopupOpen(e) {
146
+ return n(() => this._popup?.visible, e, { once: !0, initial: !0, sync: !0 });
147
+ }
148
+ _watchViewPopupClose(e) {
149
+ return this._popup?.container?.addEventListener("calciteFlowItemClose", e, { once: !0 }), {
150
+ remove: () => {
151
+ this._popup?.container?.removeEventListener("calciteFlowItemClose", e);
152
+ }
153
+ };
154
+ }
155
+ }
156
+ const G = l(
157
+ (i, e) => {
158
+ const o = a();
159
+ return e.onLifecycle(
160
+ () => r(
161
+ () => i.view?.readyState,
162
+ (t) => {
163
+ (t === "map-content-error" || t === "rendering-error") && o.emit();
106
164
  }
107
165
  )
108
166
  ), o;
109
167
  }
110
168
  );
111
169
  export {
112
- _ as U,
170
+ L as P,
171
+ y as U,
113
172
  G as a,
114
- v as u
173
+ V as u
115
174
  };
@@ -18,6 +18,9 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
18
18
  * When a bookmark with a timeExtent is selected, the [arcgis-map.timeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeExtent) of the Map will be set to the timeExtent of the selected bookmark.
19
19
  * To disable time capability in the Bookmarks component, set [timeDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#timeDisabled) to `true`.
20
20
  *
21
+ * Starting with version `5.1`, on [@arcgisBookmarkSelect](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#event-arcgisBookmarkSelect) the selected bookmark's name is announced to assistive technologies. Visit the [Accessibility guide](xref://site.self/accessibility/#assistive-technologies) to learn more
22
+ * about live announcements supporting more audiences.
23
+ *
21
24
  * The Bookmarks component can be used to create, edit, reorder, and delete bookmarks.
22
25
  * To enable these features, set the following properties to `true`:
23
26
  * [showAddBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showAddBookmarkButton), [showEditBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showEditBookmarkButton), and [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#dragEnabled).