@arcgis/map-components 5.2.0-next.86 → 5.2.0-next.88

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 (220) hide show
  1. package/dist/cdn/2GQ6KVNI.js +2 -0
  2. package/dist/cdn/3CFRD2EN.js +2 -0
  3. package/dist/cdn/{YXA3DG4H.js → 3W4IH5LQ.js} +1 -1
  4. package/dist/cdn/5L5UYV3H.js +2 -0
  5. package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
  6. package/dist/cdn/6NGRUK5C.js +2 -0
  7. package/dist/cdn/BPHJ4VBC.js +2 -0
  8. package/dist/cdn/CFB4ZR5F.js +2 -0
  9. package/dist/cdn/D6MRDGUC.js +2 -0
  10. package/dist/cdn/EFUTKX2O.js +2 -0
  11. package/dist/cdn/{PNSES5YC.js → EGUVICJF.js} +1 -1
  12. package/dist/cdn/FXK4G4VK.js +2 -0
  13. package/dist/cdn/GNVPXNTX.js +2 -0
  14. package/dist/cdn/HTEIMRY6.js +2 -0
  15. package/dist/cdn/I2D75Q7M.js +2 -0
  16. package/dist/cdn/IMG5GOJB.js +2 -0
  17. package/dist/cdn/JXBEE5GW.js +2 -0
  18. package/dist/cdn/JZC42PXS.js +2 -0
  19. package/dist/cdn/K3N6NHJW.js +2 -0
  20. package/dist/cdn/KN4PG54T.js +2 -0
  21. package/dist/cdn/{56NINR5L.js → KNMMVZVV.js} +1 -1
  22. package/dist/cdn/M66G67OC.js +2 -0
  23. package/dist/cdn/MQX2F54G.js +2 -0
  24. package/dist/cdn/NB5DQKQY.js +2 -0
  25. package/dist/cdn/NFWFRHUT.js +2 -0
  26. package/dist/cdn/PCEAIDCB.js +2 -0
  27. package/dist/cdn/PMU2DO3P.js +2 -0
  28. package/dist/cdn/{LTGPFC6N.js → PWEF6IKF.js} +1 -1
  29. package/dist/cdn/{HWLBIEGO.js → RS5BEGC5.js} +1 -1
  30. package/dist/cdn/{K4V76SMR.js → TAIZWQYU.js} +1 -1
  31. package/dist/cdn/TPG3TU6B.js +2 -0
  32. package/dist/cdn/TRFWUKXA.js +2 -0
  33. package/dist/cdn/TSZ26CSX.js +2 -0
  34. package/dist/cdn/V4W4ZP6M.js +2 -0
  35. package/dist/cdn/XM2OBGXW.js +2 -0
  36. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  37. package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
  38. package/dist/cdn/index.js +1 -1
  39. package/dist/cdn/main.css +1 -1
  40. package/dist/chunks/constants2.js +6 -0
  41. package/dist/chunks/useArcgisViewReadyError.js +42 -27
  42. package/dist/components/arcgis-aggregated-features/customElement.js +0 -1
  43. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -0
  44. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -0
  45. package/dist/components/arcgis-attachments/customElement.d.ts +10 -0
  46. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -0
  47. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -0
  48. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +604 -51
  49. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +2 -2
  50. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
  51. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +10 -0
  52. package/dist/components/arcgis-bookmarks/customElement.d.ts +20 -0
  53. package/dist/components/arcgis-bookmarks/customElement.js +0 -1
  54. package/dist/components/arcgis-building-explorer/customElement.d.ts +10 -0
  55. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +23 -0
  56. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +433 -59
  57. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +2 -2
  58. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -6
  59. package/dist/components/arcgis-compass/customElement.d.ts +10 -0
  60. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -0
  61. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +10 -0
  62. package/dist/components/arcgis-daylight/customElement.d.ts +10 -0
  63. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +10 -0
  64. package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -0
  65. package/dist/components/arcgis-directions/customElement.d.ts +10 -0
  66. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -0
  67. package/dist/components/arcgis-editor/customElement.d.ts +10 -0
  68. package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -0
  69. package/dist/components/arcgis-expand/customElement.d.ts +10 -0
  70. package/dist/components/arcgis-feature/customElement.d.ts +10 -0
  71. package/dist/components/arcgis-feature-form/customElement.d.ts +10 -0
  72. package/dist/components/arcgis-feature-next/customElement.d.ts +32 -1
  73. package/dist/components/arcgis-feature-next/customElement.js +4 -4
  74. package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
  75. package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -0
  76. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +10 -0
  77. package/dist/components/arcgis-features/customElement.d.ts +20 -0
  78. package/dist/components/arcgis-features/customElement.js +3 -3
  79. package/dist/components/arcgis-features-next/customElement.d.ts +32 -1
  80. package/dist/components/arcgis-features-next/customElement.js +98 -86
  81. package/dist/components/arcgis-features-next/index.js +0 -1
  82. package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -0
  83. package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -0
  84. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  85. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -0
  86. package/dist/components/arcgis-home/customElement.d.ts +10 -0
  87. package/dist/components/arcgis-layer-list/customElement.d.ts +20 -0
  88. package/dist/components/arcgis-layer-list-next/customElement.d.ts +285 -123
  89. package/dist/components/arcgis-layer-list-next/customElement.js +2 -3
  90. package/dist/components/arcgis-layer-list-next/types.d.ts +44 -6
  91. package/dist/components/arcgis-legend/customElement.d.ts +10 -0
  92. package/dist/components/arcgis-line-of-sight/customElement.d.ts +10 -0
  93. package/dist/components/arcgis-link-chart/customElement.d.ts +19 -5
  94. package/dist/components/arcgis-link-chart/customElement.js +24 -18
  95. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +10 -0
  96. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +10 -0
  97. package/dist/components/arcgis-locate/customElement.d.ts +10 -0
  98. package/dist/components/arcgis-map/customElement.d.ts +19 -5
  99. package/dist/components/arcgis-map/customElement.js +19 -13
  100. package/dist/components/arcgis-measurement/customElement.d.ts +10 -0
  101. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +25 -1
  102. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +10 -0
  103. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -0
  104. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +0 -2
  105. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +15 -16
  106. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +10 -0
  107. package/dist/components/arcgis-paste/customElement.d.ts +10 -0
  108. package/dist/components/arcgis-paste/customElement.js +0 -1
  109. package/dist/components/arcgis-popup/customElement.d.ts +27 -7
  110. package/dist/components/arcgis-popup/customElement.js +11 -14
  111. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +6 -0
  112. package/dist/components/arcgis-presentation/customElement.d.ts +18 -6
  113. package/dist/components/arcgis-presentation/customElement.js +197 -157
  114. package/dist/components/arcgis-presentation/index.js +2 -0
  115. package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
  116. package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
  117. package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
  118. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  119. package/dist/components/arcgis-scale-bar/customElement.d.ts +10 -0
  120. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +10 -0
  121. package/dist/components/arcgis-scene/customElement.d.ts +19 -5
  122. package/dist/components/arcgis-scene/customElement.js +21 -15
  123. package/dist/components/arcgis-search/customElement.d.ts +10 -0
  124. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +10 -0
  125. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
  126. package/dist/components/arcgis-shadow-cast/customElement.d.ts +10 -0
  127. package/dist/components/arcgis-sketch/customElement.d.ts +10 -0
  128. package/dist/components/arcgis-slice/customElement.d.ts +10 -0
  129. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -0
  130. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +10 -0
  131. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -0
  132. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -0
  133. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -0
  134. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +10 -0
  135. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -0
  136. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +10 -0
  137. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -0
  138. package/dist/components/arcgis-snapping-controls/customElement.d.ts +10 -0
  139. package/dist/components/arcgis-swipe/customElement.d.ts +10 -0
  140. package/dist/components/arcgis-table-list/customElement.d.ts +102 -15
  141. package/dist/components/arcgis-table-list-next/customElement.d.ts +310 -44
  142. package/dist/components/arcgis-table-list-next/customElement.js +2 -3
  143. package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
  144. package/dist/components/arcgis-template-image/customElement.js +0 -1
  145. package/dist/components/arcgis-time-bar/customElement.d.ts +10 -0
  146. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  147. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +10 -0
  148. package/dist/components/arcgis-time-slider/customElement.d.ts +10 -0
  149. package/dist/components/arcgis-track/customElement.d.ts +10 -0
  150. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +10 -0
  151. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +10 -0
  152. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -0
  153. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +56 -0
  154. package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
  155. package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
  156. package/dist/components/arcgis-utility-network-picker/index.js +7 -0
  157. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -0
  158. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +10 -0
  159. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +0 -1
  160. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +10 -0
  161. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +0 -1
  162. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +10 -0
  163. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +10 -0
  164. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +123 -140
  165. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +2 -1
  166. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -0
  167. package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +10 -0
  168. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +10 -0
  169. package/dist/components/arcgis-utility-network-trace-results/customElement.js +0 -2
  170. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -0
  171. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +0 -2
  172. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +0 -2
  173. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +10 -0
  174. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +10 -0
  175. package/dist/components/arcgis-version-management/customElement.d.ts +10 -0
  176. package/dist/components/arcgis-version-management-service-item/customElement.js +3 -4
  177. package/dist/components/arcgis-video/customElement.d.ts +15 -3
  178. package/dist/components/arcgis-video-player/customElement.d.ts +10 -0
  179. package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
  180. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  181. package/dist/components/arcgis-volume-measurement/customElement.d.ts +22 -1
  182. package/dist/components/arcgis-weather/customElement.d.ts +10 -0
  183. package/dist/components/arcgis-zoom/customElement.d.ts +10 -0
  184. package/dist/docs/api.json +1 -1
  185. package/dist/docs/docs.json +1 -1
  186. package/dist/docs/vscode.html-custom-data.json +1 -1
  187. package/dist/docs/web-types.json +1 -1
  188. package/dist/index.d.ts +10 -0
  189. package/dist/loader.js +5 -3
  190. package/dist/types/lumina.d.ts +10 -3
  191. package/dist/types/preact.d.ts +11 -3
  192. package/dist/types/react.d.ts +12 -3
  193. package/dist/types/stencil.d.ts +10 -3
  194. package/package.json +7 -7
  195. package/dist/cdn/3UUQJCZL.js +0 -2
  196. package/dist/cdn/42TPQKQZ.js +0 -2
  197. package/dist/cdn/4T6ECCFH.js +0 -2
  198. package/dist/cdn/4UBDCXSK.js +0 -2
  199. package/dist/cdn/6MEC4BFN.js +0 -2
  200. package/dist/cdn/AJ7XRBWN.js +0 -2
  201. package/dist/cdn/ARVN7QLQ.js +0 -2
  202. package/dist/cdn/BVDQQOCR.js +0 -2
  203. package/dist/cdn/DKBC3UMW.js +0 -2
  204. package/dist/cdn/DSIL7TYR.js +0 -2
  205. package/dist/cdn/FZHWZNBO.js +0 -2
  206. package/dist/cdn/G2PAKIMS.js +0 -2
  207. package/dist/cdn/JOOHHKWH.js +0 -2
  208. package/dist/cdn/KS5TQB2A.js +0 -2
  209. package/dist/cdn/NAQYIBE5.js +0 -2
  210. package/dist/cdn/NBYN44GP.js +0 -2
  211. package/dist/cdn/NGB5WVIG.js +0 -2
  212. package/dist/cdn/PBNP6WFU.js +0 -2
  213. package/dist/cdn/RDARV7HC.js +0 -2
  214. package/dist/cdn/RXAUCQQC.js +0 -2
  215. package/dist/cdn/S22ZRUS7.js +0 -2
  216. package/dist/cdn/SVOAX4K6.js +0 -2
  217. package/dist/cdn/TI4BX367.js +0 -2
  218. package/dist/cdn/TUTTPXC5.js +0 -2
  219. package/dist/cdn/W5WXJT7N.js +0 -2
  220. package/dist/cdn/YTC3XBSZ.js +0 -2
@@ -1,32 +1,33 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as z } from "../../chunks/runtime.js";
3
- import { css as M, html as g } from "lit";
4
- import { GenericController as C, proxyExports as O, useDirection as $ } from "@arcgis/lumina/controllers";
5
- import { LitElement as R, createEvent as v, nothing as y } from "@arcgis/lumina";
6
- import { u as N } from "../../chunks/useT9n.js";
7
- import { m as B } from "../../chunks/useViewModel.js";
8
- import { property as d, subclass as G } from "@arcgis/core/core/accessorSupport/decorators.js";
9
- import E from "@arcgis/core/core/Accessor.js";
2
+ import { c as O } from "../../chunks/runtime.js";
3
+ import { css as z, html as g } from "lit";
4
+ import { GenericController as P, proxyExports as E, useDirection as B } from "@arcgis/lumina/controllers";
5
+ import { LitElement as G, createEvent as v, nothing as y } from "@arcgis/lumina";
6
+ import { u as T } from "../../chunks/useT9n.js";
7
+ import { m as R } from "../../chunks/useViewModel.js";
8
+ import { property as d, subclass as N } from "@arcgis/core/core/accessorSupport/decorators.js";
9
+ import H from "@arcgis/core/core/Accessor.js";
10
10
  import w from "@arcgis/core/core/Collection.js";
11
- import { ignoreAbortErrors as H } from "@arcgis/core/core/promiseUtils.js";
12
- import { watch as u, on as T, whenOnce as _ } from "@arcgis/core/core/reactiveUtils.js";
13
- import D from "@arcgis/core/Graphic.js";
14
- import V from "@arcgis/core/layers/Layer.js";
15
- import k from "@arcgis/core/graphic/CSVGraphicOrigin.js";
16
- import j from "@arcgis/core/graphic/GeoJSONGraphicOrigin.js";
11
+ import { ignoreAbortErrors as k } from "@arcgis/core/core/promiseUtils.js";
12
+ import { watch as u, on as D, whenOnce as _ } from "@arcgis/core/core/reactiveUtils.js";
13
+ import V from "@arcgis/core/Graphic.js";
14
+ import M from "@arcgis/core/layers/Layer.js";
15
+ import j from "@arcgis/core/graphic/CSVGraphicOrigin.js";
16
+ import W from "@arcgis/core/graphic/GeoJSONGraphicOrigin.js";
17
17
  import K from "@arcgis/core/graphic/SceneGraphicOrigin.js";
18
- import W from "@arcgis/core/graphic/WFSGraphicOrigin.js";
19
- import U from "@arcgis/core/graphic/BuildingGraphicOrigin.js";
20
- import Q from "@arcgis/core/graphic/FeatureGraphicOrigin.js";
21
- import { fetchPopupFeaturesFromGraphics as P } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
18
+ import U from "@arcgis/core/graphic/WFSGraphicOrigin.js";
19
+ import Q from "@arcgis/core/graphic/BuildingGraphicOrigin.js";
20
+ import q from "@arcgis/core/graphic/FeatureGraphicOrigin.js";
21
+ import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
22
22
  import { s as I } from "../../chunks/resources.js";
23
- const q = M`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{display:flex;width:100%;justify-content:flex-end;padding-top:var(--calcite-spacing-lg);padding-inline-start:calc(var(--calcite-spacing-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-spacing-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation{width:fit-content;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);margin-block:auto calc(var(--calcite-spacing-lg) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-lg)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.legend{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:auto;max-height:calc(100vh - 136px);overflow:hidden auto}`;
24
- var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, l = (i, e, t, s) => {
25
- for (var n = s > 1 ? void 0 : s ? X(e, t) : e, r = i.length - 1, a; r >= 0; r--)
23
+ import { d as C, p as J } from "../../chunks/constants2.js";
24
+ const X = z`:host{width:100%;height:100%;padding:var(--calcite-space-none);margin:var(--calcite-space-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{display:flex;width:100%;justify-content:flex-end;padding-top:var(--calcite-space-lg);padding-inline-start:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation-container{display:flex;flex-direction:column;margin-inline-start:var(--calcite-space-lg);margin-block:auto calc(var(--calcite-space-lg) + var(--arcgis-internal-attribution-space-top));width:fit-content;height:100%}.navigation{width:fit-content;display:flex;align-items:center;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);pointer-events:auto}.navigation-slide-list-container{position:relative;height:100%;min-height:0;margin-block-start:var(--calcite-space-lg)}.slide-list-action-container{height:100%;align-content:center;border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.slide-list-action{padding-inline:var(--calcite-space-sm)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-space-base);font-size:var(--calcite-font-size-md)}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;min-width:var(--calcite-spacing-md);text-align:center}.legend-container{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:auto;max-height:calc(100vh - 136px);overflow:hidden auto}.legend{padding:var(--esri-widget-padding);background-color:var(--calcite-color-surface-2)}`;
25
+ var Y = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, o = (i, e, t, s) => {
26
+ for (var n = s > 1 ? void 0 : s ? Z(e, t) : e, r = i.length - 1, a; r >= 0; r--)
26
27
  (a = i[r]) && (n = (s ? a(e, t, n) : a(n)) || n);
27
- return s && n && J(e, t, n), n;
28
+ return s && n && Y(e, t, n), n;
28
29
  };
29
- let o = class extends E {
30
+ let l = class extends H {
30
31
  //endregion
31
32
  //#region Lifecycle
32
33
  constructor(i) {
@@ -102,7 +103,7 @@ let o = class extends E {
102
103
  navigateInPresentation(i) {
103
104
  const e = this.slideIndex + i;
104
105
  let t = this._getSlideBySlideIndex(e);
105
- t ??= this._getSlideBySlideIndex(0), t && this._applySlide(t);
106
+ t ??= this._getSlideBySlideIndex(0), t && this.applySlide(t);
106
107
  }
107
108
  captureArrowKeysForNavigation(i, e) {
108
109
  const t = ["ArrowLeft", "ArrowRight", "PageUp", "PageDown"];
@@ -125,6 +126,17 @@ let o = class extends E {
125
126
  getSlideBySlideId(i) {
126
127
  return this.visibleSlides.find((e) => e.id === i);
127
128
  }
129
+ async applySlide(i, e, t) {
130
+ if (this.view) {
131
+ const s = t ? { signal: t?.signal } : {};
132
+ await k(
133
+ i.applyTo(this.view, {
134
+ ...s,
135
+ animate: !e
136
+ })
137
+ );
138
+ }
139
+ }
128
140
  //#endregion
129
141
  //#region Private Methods
130
142
  _getSlideBySlideIndex(i) {
@@ -133,14 +145,11 @@ let o = class extends E {
133
145
  }
134
146
  async _applySlideById(i) {
135
147
  const e = i ? this.getSlideBySlideId(i) : void 0;
136
- e && await this._applySlide(e);
137
- }
138
- async _applySlide(i) {
139
- this.view && await H(i.applyTo(this.view));
148
+ e && await this.applySlide(e);
140
149
  }
141
150
  _startWatchSlides() {
142
151
  this._subscribeToSlideEvents(this.slides), this.addHandles(
143
- T(
152
+ D(
144
153
  () => this.slides,
145
154
  "change",
146
155
  (i) => {
@@ -164,58 +173,58 @@ let o = class extends E {
164
173
  }
165
174
  //#endregion
166
175
  };
167
- l([
176
+ o([
168
177
  d()
169
- ], o.prototype, "_slideId", 2);
170
- l([
178
+ ], l.prototype, "_slideId", 2);
179
+ o([
171
180
  d()
172
- ], o.prototype, "view", 2);
173
- l([
181
+ ], l.prototype, "view", 2);
182
+ o([
174
183
  d()
175
- ], o.prototype, "slideId", 1);
176
- l([
184
+ ], l.prototype, "slideId", 1);
185
+ o([
177
186
  d()
178
- ], o.prototype, "transitionActive", 2);
179
- l([
187
+ ], l.prototype, "transitionActive", 2);
188
+ o([
180
189
  d()
181
- ], o.prototype, "showLegend", 2);
182
- l([
190
+ ], l.prototype, "showLegend", 2);
191
+ o([
183
192
  d()
184
- ], o.prototype, "keyboardNavigationEnabled", 2);
185
- l([
193
+ ], l.prototype, "keyboardNavigationEnabled", 2);
194
+ o([
186
195
  d()
187
- ], o.prototype, "visibleSlides", 1);
188
- l([
196
+ ], l.prototype, "visibleSlides", 1);
197
+ o([
189
198
  d()
190
- ], o.prototype, "slides", 1);
191
- l([
199
+ ], l.prototype, "slides", 1);
200
+ o([
192
201
  d()
193
- ], o.prototype, "lastSlideSelected", 1);
194
- l([
202
+ ], l.prototype, "lastSlideSelected", 1);
203
+ o([
195
204
  d()
196
- ], o.prototype, "firstSlideSelected", 1);
197
- l([
205
+ ], l.prototype, "firstSlideSelected", 1);
206
+ o([
198
207
  d()
199
- ], o.prototype, "slideSelected", 1);
200
- l([
208
+ ], l.prototype, "slideSelected", 1);
209
+ o([
201
210
  d()
202
- ], o.prototype, "hasOnlyOneSlide", 1);
203
- l([
211
+ ], l.prototype, "hasOnlyOneSlide", 1);
212
+ o([
204
213
  d()
205
- ], o.prototype, "onApplySlideStart", 2);
206
- l([
214
+ ], l.prototype, "onApplySlideStart", 2);
215
+ o([
207
216
  d()
208
- ], o.prototype, "onApplySlideComplete", 2);
209
- l([
217
+ ], l.prototype, "onApplySlideComplete", 2);
218
+ o([
210
219
  d()
211
- ], o.prototype, "onApplySlideCancel", 2);
212
- l([
220
+ ], l.prototype, "onApplySlideCancel", 2);
221
+ o([
213
222
  d()
214
- ], o.prototype, "getSlideIndexBySlideId", 1);
215
- o = l([
216
- G("components.presentation.PresentationViewModel")
217
- ], o);
218
- class Y extends C {
223
+ ], l.prototype, "getSlideIndexBySlideId", 1);
224
+ l = o([
225
+ N("components.presentation.PresentationViewModel")
226
+ ], l);
227
+ class ee extends P {
219
228
  constructor(e) {
220
229
  super(e);
221
230
  }
@@ -262,8 +271,8 @@ class Y extends C {
262
271
  if (!c || !this._layerTypeSupportsCapturePopup(c))
263
272
  return { success: !1, features: s };
264
273
  if (s = await this._fetchFeaturesFromQueryable(e, t, r, a, c), s && this._featureHasBeenFilledWithAttributes(s)) {
265
- const p = s[0];
266
- return this._setFallbackPopupTemplate(p, a, r), this._setFallbackGeometry(p, t?.location), { success: !0, features: s, popupInfo: t };
274
+ const h = s[0];
275
+ return this._setFallbackPopupTemplate(h, a, r), this._setFallbackGeometry(h, t?.location), { success: !0, features: s, popupInfo: t };
267
276
  }
268
277
  return { success: !1, features: s };
269
278
  }
@@ -286,11 +295,11 @@ class Y extends C {
286
295
  return await Promise.resolve([]);
287
296
  const c = await e.whenLayerView(s);
288
297
  await _(() => !c.updating);
289
- const h = this._tryGetBuildingComponentSublayerView(s, n, c) ?? c;
290
- await _(() => !h.updating);
291
- const f = this._createFeatureGraphic(s, n, r, a.id);
292
- let x = await P(h, [f]);
293
- return this._featureHasBeenFilledWithAttributes(x) || (await _(() => !e.updating), x = await P(h, [f])), x;
298
+ const p = this._tryGetBuildingComponentSublayerView(s, n, c) ?? c;
299
+ await _(() => !p.updating);
300
+ const b = this._createFeatureGraphic(s, n, r, a.id);
301
+ let x = await A(p, [b]);
302
+ return this._featureHasBeenFilledWithAttributes(x) || (await _(() => !e.updating), x = await A(p, [b])), x;
294
303
  }
295
304
  _tryGetBuildingComponentSublayerView(e, t, s) {
296
305
  let n;
@@ -313,23 +322,23 @@ class Y extends C {
313
322
  e.geometry == null && t && (e.geometry = t.clone());
314
323
  }
315
324
  _createFeatureGraphic(e, t, s, n) {
316
- const r = this._getGlobalIdFieldNameFromLayer(s), a = n.type === "global-id" && r ? r : s.objectIdField, c = this._getGraphicOrigin(e, t), p = new D({ attributes: {}, layer: e, origin: c });
317
- return p.attributes[a] = n.value, p;
325
+ const r = this._getGlobalIdFieldNameFromLayer(s), a = n.type === "global-id" && r ? r : s.objectIdField, c = this._getGraphicOrigin(e, t), h = new V({ attributes: {}, layer: e, origin: c });
326
+ return h.attributes[a] = n.value, h;
318
327
  }
319
328
  _getGraphicOrigin(e, t) {
320
329
  switch (e.type) {
321
330
  case "csv":
322
- return new k(e);
331
+ return new j(e);
323
332
  case "feature":
324
- return new Q(e);
333
+ return new q(e);
325
334
  case "geojson":
326
- return new j(e);
335
+ return new W(e);
327
336
  case "scene":
328
337
  return new K(e);
329
338
  case "wfs":
330
- return new W(e);
339
+ return new U(e);
331
340
  case "building-scene":
332
- return t ? new U(t) : void 0;
341
+ return t ? new Q(t) : void 0;
333
342
  default:
334
343
  return;
335
344
  }
@@ -338,7 +347,7 @@ class Y extends C {
338
347
  return e != null && ["csv", "feature", "geojson", "wfs", "scene", "building-component"].includes(e.type);
339
348
  }
340
349
  _isLayer(e) {
341
- return !!e && e instanceof V;
350
+ return !!e && e instanceof M;
342
351
  }
343
352
  _isBuildingSceneLayer(e) {
344
353
  return e?.type === "building-scene";
@@ -348,7 +357,7 @@ class Y extends C {
348
357
  }
349
358
  //#endregion
350
359
  }
351
- const Z = (i) => new Y(i), S = Object.freeze({ width: 0, height: 0 }), b = /* @__PURE__ */ new WeakMap(), m = () => ({
360
+ const te = (i) => new ee(i), S = Object.freeze({ width: 0, height: 0 }), f = /* @__PURE__ */ new WeakMap(), m = () => ({
352
361
  topCenter: { ...S },
353
362
  topLeft: { ...S },
354
363
  topRight: { ...S },
@@ -362,14 +371,14 @@ const Z = (i) => new Y(i), S = Object.freeze({ width: 0, height: 0 }), b = /* @_
362
371
  bottomCenter: { ...i.bottomCenter },
363
372
  bottomLeft: { ...i.bottomLeft },
364
373
  bottomRight: { ...i.bottomRight }
365
- }), L = (i) => {
366
- let e = b.get(i);
374
+ }), $ = (i) => {
375
+ let e = f.get(i);
367
376
  return e || (e = {
368
377
  observedGroups: /* @__PURE__ */ new Map(),
369
378
  observedSizes: m(),
370
379
  subscribers: /* @__PURE__ */ new Set()
371
- }, b.set(i, e)), e;
372
- }, ee = (i) => {
380
+ }, f.set(i, e)), e;
381
+ }, ie = (i) => {
373
382
  const e = i?.topCenter.value, t = i?.topLeft.value, s = i?.topRight.value, n = i?.bottomCenter.value, r = i?.bottomLeft.value, a = i?.bottomRight.value;
374
383
  return e && t && s && n && r && a ? {
375
384
  topCenter: e,
@@ -379,46 +388,46 @@ const Z = (i) => new Y(i), S = Object.freeze({ width: 0, height: 0 }), b = /* @_
379
388
  bottomLeft: r,
380
389
  bottomRight: a
381
390
  } : null;
382
- }, te = (i, e) => I.every((t) => i.get(t) === e[t]), ie = (i) => {
391
+ }, se = (i, e) => I.every((t) => i.get(t) === e[t]), ne = (i) => {
383
392
  const e = F(i.observedSizes);
384
393
  i.subscribers.forEach((t) => t(e));
385
- }, se = (i, e) => {
386
- const t = b.get(i);
394
+ }, re = (i, e) => {
395
+ const t = f.get(i);
387
396
  if (!t)
388
397
  return;
389
398
  let s = !1;
390
399
  e.forEach((n) => {
391
- const r = I.find((f) => t.observedGroups.get(f) === n.target);
400
+ const r = I.find((b) => t.observedGroups.get(b) === n.target);
392
401
  if (!r)
393
402
  return;
394
- const { width: a, height: c } = n.contentRect, p = { width: a, height: c }, h = t.observedSizes[r];
395
- h.width === p.width && h.height === p.height || (t.observedSizes[r] = p, s = !0);
396
- }), s && ie(t);
397
- }, A = (i, e) => {
398
- const t = L(i);
403
+ const { width: a, height: c } = n.contentRect, h = { width: a, height: c }, p = t.observedSizes[r];
404
+ p.width === h.width && p.height === h.height || (t.observedSizes[r] = h, s = !0);
405
+ }), s && ne(t);
406
+ }, L = (i, e) => {
407
+ const t = $(i);
399
408
  t.resizeObserver || (t.resizeObserver = new ResizeObserver((n) => {
400
- se(i, n);
409
+ re(i, n);
401
410
  }));
402
- const s = ee(e);
411
+ const s = ie(e);
403
412
  if (!s) {
404
413
  t.observedGroups.size > 0 && (t.resizeObserver.disconnect(), t.observedGroups.clear());
405
414
  return;
406
415
  }
407
- te(t.observedGroups, s) || (t.resizeObserver.disconnect(), t.observedGroups.clear(), I.forEach((n) => {
416
+ se(t.observedGroups, s) || (t.resizeObserver.disconnect(), t.observedGroups.clear(), I.forEach((n) => {
408
417
  const r = s[n];
409
418
  t.observedGroups.set(n, r), t.resizeObserver?.observe(r);
410
419
  }));
411
- }, ne = (i, e) => {
412
- const t = L(i);
420
+ }, ae = (i, e) => {
421
+ const t = $(i);
413
422
  return t.subscribers.add(e), e(F(t.observedSizes)), () => {
414
- const s = b.get(i);
415
- s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), b.delete(i)));
423
+ const s = f.get(i);
424
+ s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), f.delete(i)));
416
425
  };
417
426
  };
418
- class re extends C {
427
+ class le extends P {
419
428
  // References to the slot group elements owned by the host component.
420
- #t;
421
429
  #e;
430
+ #t;
422
431
  #i;
423
432
  /**
424
433
  * Creates a controller that measures the host component's slot group containers.
@@ -429,21 +438,21 @@ class re extends C {
429
438
  super(e), this.exports = m();
430
439
  }
431
440
  hostDisconnected() {
432
- this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports = m();
441
+ this.#i?.(), this.#i = void 0, this.#t = void 0, this.#e = void 0, this.exports = m();
433
442
  }
434
443
  hostLifecycle() {
435
444
  return [
436
445
  u(
437
446
  () => this.#s(),
438
447
  (t) => {
439
- if (this.#e !== t) {
440
- if (this.#i?.(), this.#i = void 0, this.#e = t, this.#t = t?.slotGroupRefs, !t) {
448
+ if (this.#t !== t) {
449
+ if (this.#i?.(), this.#i = void 0, this.#t = t, this.#e = t?.slotGroupRefs, !t) {
441
450
  this.exports = m();
442
451
  return;
443
452
  }
444
- this.#i = ne(t, (s) => {
453
+ this.#i = ae(t, (s) => {
445
454
  this.#n(s) || (this.exports = s);
446
- }), A(t, this.#t);
455
+ }), L(t, this.#e);
447
456
  }
448
457
  },
449
458
  { sync: !0, initial: !0 }
@@ -451,7 +460,7 @@ class re extends C {
451
460
  u(
452
461
  () => this.#s()?.slotGroupRefs,
453
462
  (t) => {
454
- this.#t = t, this.#e && t && A(this.#e, t);
463
+ this.#e = t, this.#t && t && L(this.#t, t);
455
464
  },
456
465
  { sync: !0, initial: !0 }
457
466
  )
@@ -462,7 +471,7 @@ class re extends C {
462
471
  return e && typeof e != "string" ? e : void 0;
463
472
  }
464
473
  hostUpdated() {
465
- !this.#e || !this.#t || A(this.#e, this.#t);
474
+ !this.#t || !this.#e || L(this.#t, this.#e);
466
475
  }
467
476
  // Compares the newly measured sizes against the currently exported values.
468
477
  #n(e) {
@@ -473,98 +482,129 @@ class re extends C {
473
482
  });
474
483
  }
475
484
  }
476
- const ae = O(re), oe = B(o);
477
- class le extends R {
485
+ const oe = E(le), de = R(l);
486
+ class ce extends G {
478
487
  constructor() {
479
- super(...arguments), this._messages = N(), this.viewModel = oe(this), this._direction = $(), this._captureArrowKeysForNavigation = (e) => {
480
- this.viewModel.captureArrowKeysForNavigation(e, this._direction);
481
- }, this._useFeatureRefPopup = Z(this), this._handleApplySlideStart = (e) => {
482
- this._useFeatureRefPopup.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
483
- }, this._handleApplySlideComplete = (e) => {
484
- this._useFeatureRefPopup.openPopup(e), this.sliceAnalysisInteractive && this.viewModel.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
485
- }, this._handleApplySlideCancel = (e) => {
486
- this.arcgisSlideApplyCancel.emit({ slide: e });
487
- }, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.scale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.slideLegendDisabled = !1, this.sliceAnalysisInteractive = !1, this.navigationHidden = !1, this.arcgisPopupFeatureNotFound = v(), this.arcgisPopupFeaturesRetrieved = v(), this.arcgisSlideApplyStart = v(), this.arcgisSlideApplyCancel = v(), this.arcgisSlideApplyComplete = v(), this.arcgisReady = v();
488
+ super(...arguments), this._messages = T(), this._direction = B(), this.#e = de(this), this.#i = (e) => {
489
+ this.#e.captureArrowKeysForNavigation(e, this._direction);
490
+ }, this.#s = te(this), this.#r = null, this.#l = (e) => {
491
+ this.#s.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
492
+ }, this.#o = (e) => {
493
+ this.#s.openPopup(e), this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
494
+ }, this.#d = (e) => {
495
+ this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
496
+ }, this.#c = (e) => {
497
+ const t = e.detail?.selectedSlide;
498
+ if (!t)
499
+ return;
500
+ this.#n?.abort(), this.#n = new AbortController();
501
+ const s = Date.now(), n = this.#r !== null && s - this.#r < C;
502
+ if (this.#r = s, this.#e.applySlide(t, n, this.#n), n) {
503
+ this._showSlideList = !1;
504
+ return;
505
+ }
506
+ setTimeout(() => {
507
+ this.#n?.signal.aborted || (this._showSlideList = !1, this.#e.applySlide(t, !1, this.#n));
508
+ }, C);
509
+ }, this.#a = () => {
510
+ this._showSlideList = !1;
511
+ }, this._showSlideList = !1, this.autoDestroyDisabled = !1, this.view = this.#e.view, this.visualScale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.slideLegendDisabled = !1, this.sliceAnalysisInteractive = !1, this.navigationHidden = !1, this.arcgisPopupFeatureNotFound = v(), this.arcgisPopupFeaturesRetrieved = v(), this.arcgisReady = v(), this.arcgisSlideApplyCancel = v(), this.arcgisSlideApplyComplete = v(), this.arcgisSlideApplyStart = v();
488
512
  }
489
513
  static {
490
- this.properties = { _slotSizesController: 16, _slotSizeHandle: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, scale: 1, keyboardNavigationEnabled: 5, slidePopupDisabled: 5, slideCaptionsDisabled: 5, slideLegendDisabled: 5, sliceAnalysisInteractive: 5, navigationHidden: 5 };
514
+ this.properties = { _slotSizesController: 16, _showSlideList: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, visualScale: 1, keyboardNavigationEnabled: 5, slidePopupDisabled: 5, slideCaptionsDisabled: 5, slideLegendDisabled: 5, sliceAnalysisInteractive: 5, navigationHidden: 5 };
491
515
  }
492
516
  static {
493
- this.styles = q;
517
+ this.styles = X;
494
518
  }
519
+ #e;
520
+ #t;
521
+ #i;
522
+ #s;
523
+ #n;
524
+ #r;
525
+ #l;
526
+ #o;
527
+ #d;
528
+ #c;
529
+ #a;
530
+ #p;
531
+ #h;
495
532
  get slideId() {
496
- return this.viewModel.slideId;
533
+ return this.#e.slideId;
497
534
  }
498
535
  set slideId(e) {
499
- this.viewModel.slideId = e;
536
+ this.#e.slideId = e;
500
537
  }
501
538
  async destroy() {
502
539
  await this.manager.destroy();
503
540
  }
504
541
  loaded() {
505
- this.viewModel.onApplySlideStart = this._handleApplySlideStart, this.viewModel.onApplySlideComplete = this._handleApplySlideComplete, this.viewModel.onApplySlideCancel = this._handleApplySlideCancel, this._enableKeyboardNavigation();
542
+ this.#e.onApplySlideStart = this.#l, this.#e.onApplySlideComplete = this.#o, this.#e.onApplySlideCancel = this.#d, this.#S();
506
543
  const e = this;
507
544
  this.manager.onLifecycle(() => [
508
545
  u(() => this.slidePopupDisabled, (t) => {
509
546
  if (this.slideId && !t) {
510
- const s = this.viewModel.getSlideBySlideId(this.slideId);
511
- s && this._useFeatureRefPopup.openPopup(s);
512
- } else t && this._useFeatureRefPopup.closePopup(!0);
547
+ const s = this.#e.getSlideBySlideId(this.slideId);
548
+ s && this.#s?.openPopup(s);
549
+ } else t && this.#s?.closePopup(!0);
513
550
  }),
514
551
  u(() => this.sliceAnalysisInteractive, (t) => {
515
- this.viewModel.setSliceAnalysisInteractive(t);
552
+ this.#e.setSliceAnalysisInteractive(t);
516
553
  }, { initial: !0 }),
517
554
  u(() => e.referenceElement, (t) => {
518
- this._isArcgisScene(t) && (this._slotSizesController = ae(this), this._slotSizeHandle = this._watchSceneViewSlotSizes());
555
+ this.#u(t) && (this._slotSizesController = oe(this), this.#h = this.#g());
519
556
  }, { once: !0, initial: !0 }),
520
557
  {
521
558
  remove: () => {
522
- document.removeEventListener("keydown", this._captureArrowKeysForNavigation), this._keyboardHandle?.remove(), this._slotSizeHandle?.remove();
559
+ document.removeEventListener("keydown", this.#i), this.#p?.removeEventListener("arcgisSlideListClose", this.#a), this.#t?.remove(), this.#h?.remove(), this.#n?.abort();
523
560
  }
524
561
  }
525
562
  ]);
526
563
  }
527
- _isArcgisScene(e) {
564
+ #u(e) {
528
565
  return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
529
566
  }
530
- _watchSceneViewSlotSizes() {
531
- return u(() => this._slotSizesController, (e) => this._updatePresentationCaptionsPadding(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
567
+ #g() {
568
+ return u(() => this._slotSizesController, (e) => this.#v(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
532
569
  }
533
- _updatePresentationCaptionsPadding(e, t, s, n) {
534
- const r = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, a = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, c = Math.max(e?.height ?? 0, t?.height ?? 0), p = Math.max(s?.height ?? 0, n?.height ?? 0);
535
- r > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-start", `calc(var(--calcite-spacing-lg) + ${r.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-start", "0px"), a > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-end", `calc(var(--calcite-spacing-lg) + ${a.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-end", "0px");
536
- const h = r <= Math.max(c, p) && a <= Math.max(c, p);
537
- this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", h ? "0" : `${c}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", h ? "0" : `${p}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", h ? `${r}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", h ? `${a}px` : "0");
570
+ #v(e, t, s, n) {
571
+ const r = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, a = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, c = Math.max(e?.height ?? 0, t?.height ?? 0), h = Math.max(s?.height ?? 0, n?.height ?? 0);
572
+ r > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-start", `calc(var(--calcite-space-lg) + ${r.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-start", "0px"), a > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-end", `calc(var(--calcite-space-lg) + ${a.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-end", "0px");
573
+ const p = r <= Math.max(c, h) && a <= Math.max(c, h);
574
+ this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", p ? "0" : `${c}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", p ? "0" : `${h}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", p ? `${r}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", p ? `${a}px` : "0");
538
575
  }
539
- _enableKeyboardNavigation() {
540
- this._keyboardHandle = u(() => this.keyboardNavigationEnabled, (e) => {
541
- document.removeEventListener("keydown", this._captureArrowKeysForNavigation), e && document.addEventListener("keydown", this._captureArrowKeysForNavigation);
576
+ #S() {
577
+ this.#t = u(() => this.keyboardNavigationEnabled, (e) => {
578
+ document.removeEventListener("keydown", this.#i), e && document.addEventListener("keydown", this.#i);
542
579
  }, { initial: !0 });
543
580
  }
544
581
  render() {
545
- if (this.viewModel.visibleSlides.length === 0)
582
+ if (this.#e?.visibleSlides?.length === 0)
546
583
  return g`<div></div>`;
547
- const e = this.viewModel.visibleSlides.find((r) => r.id === this.slideId), t = this._renderNavigation(), s = this._renderCaptions(e), n = this._renderLegend();
584
+ const e = this.#e.visibleSlides.find((r) => r.id === this.slideId), t = this.#m(), s = this.#b(e), n = this.#y();
548
585
  return g`<div class="root"><div class="presentation-content">${s}${n}</div>${t}</div>`;
549
586
  }
550
- _renderNavigation() {
587
+ #m() {
551
588
  if (this.navigationHidden)
552
589
  return null;
553
- const e = this.viewModel.lastSlideSelected && !this.viewModel.hasOnlyOneSlide, t = this._direction === "rtl", s = t ? "chevron-right" : "chevron-left", n = t ? "chevron-left" : "chevron-right";
554
- return g`<div class="navigation"><calcite-button appearance=transparent icon-start=${s ?? y} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected || !this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? y} @click=${() => this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${(e ? "reset" : n) ?? y} kind=neutral .scale=${this.scale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? y} @click=${() => this.viewModel.navigateInPresentation(1)}></calcite-button></div>`;
590
+ const e = this.#e.lastSlideSelected && !this.#e.hasOnlyOneSlide, t = this.#w();
591
+ return g`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container"><calcite-action id=${J} class="slide-list-action" .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} title=${this._messages.slideList ?? y} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .disabled=${this.#e.firstSlideSelected || !this.#e.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? y} @click=${() => this.#e.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this.#f()}</div><calcite-button appearance=transparent icon-start=${e ? "reset" : "chevron-right"} icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? y} @click=${() => this.#e.navigateInPresentation(1)}></calcite-button></div></div>`;
592
+ }
593
+ #f() {
594
+ const e = this.#e.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.#e.visibleSlides.length.toString());
595
+ return this.#e.slideSelected ? g`<p role=banner aria-label=${t ?? y} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div>/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides.length}</p></p>` : g`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides?.length} ${this._messages?.slides}</p>`;
555
596
  }
556
- _renderSlideCounter() {
557
- const e = this.viewModel.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.viewModel.visibleSlides.length.toString());
558
- return this.viewModel.slideSelected ? g`<p role=banner aria-label=${t ?? y} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>` : g`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
597
+ #b(e) {
598
+ return this.slideCaptionsDisabled ? null : g`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.#e.transitionActive}></arcgis-presentation-captions>`;
559
599
  }
560
- _renderCaptions(e) {
561
- return this.slideCaptionsDisabled ? null : g`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.viewModel.transitionActive}></arcgis-presentation-captions>`;
600
+ #y() {
601
+ return this.slideLegendDisabled || !this.#e.showLegend ? null : g`<calcite-panel data-testid=presentation-legend class="legend-container" .heading=${this._messages.legend} closable @calcitePanelClose=${() => this.#e.showLegend = !1}><arcgis-legend class="legend" .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()}></arcgis-legend></calcite-panel>`;
562
602
  }
563
- _renderLegend() {
564
- return this.slideLegendDisabled || !this.viewModel.showLegend ? null : g`<calcite-panel data-testid=presentation-legend class="legend" .heading=${this._messages.legend} closable @calcitePanelClose=${() => this.viewModel.showLegend = !1}><arcgis-legend .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()}></arcgis-legend></calcite-panel>`;
603
+ #w() {
604
+ return this._showSlideList ? g`<arcgis-presentation-slide-list .slides=${this.#e.visibleSlides} .slideId=${this.#e.slideId} .label=${this._messages.slideList} .visualScale=${this.visualScale} @arcgisSlideListItemSelected=${this.#c} @arcgisSlideListOutsideClick=${this.#a}></arcgis-presentation-slide-list>` : null;
565
605
  }
566
606
  }
567
- z("arcgis-presentation", le);
607
+ O("arcgis-presentation", ce);
568
608
  export {
569
- le as ArcgisPresentation
609
+ ce as ArcgisPresentation
570
610
  };
@@ -1,5 +1,7 @@
1
+ import "@esri/calcite-components/components/calcite-action";
1
2
  import "@esri/calcite-components/components/calcite-button";
2
3
  import "../arcgis-presentation-captions/index.js";
3
4
  import "@esri/calcite-components/components/calcite-panel";
4
5
  import "../arcgis-legend/index.js";
6
+ import "../arcgis-presentation-slide-list/index.js";
5
7
  export * from "./customElement.js";