@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,36 +1,36 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as O } from "../../chunks/runtime.js";
3
- import { css as R, html as o } from "lit";
2
+ import { c as B } from "../../chunks/runtime.js";
3
+ import { css as O, html as o } from "lit";
4
4
  import { keyed as E } from "lit/directives/keyed.js";
5
5
  import H from "@arcgis/core/support/actions/ActionButton.js";
6
6
  import k from "@arcgis/core/core/Collection.js";
7
7
  import P from "@arcgis/core/popup/FeatureContentCollection.js";
8
- import { LitElement as z, createEvent as I, renderElement as U, nothing as u, safeClassMap as x } from "@arcgis/lumina";
9
- import { useDirection as Z, usePropertyChange as V, bypassReadOnly as D } from "@arcgis/lumina/controllers";
10
- import { classes as T } from "@arcgis/toolkit/dom";
11
- import { slotChangeHasContent as S } from "@arcgis/toolkit/dom/slots";
12
- import { createRef as v, ref as f } from "lit/directives/ref.js";
8
+ import { LitElement as z, createEvent as I, renderElement as U, nothing as h, safeClassMap as x } from "@arcgis/lumina";
9
+ import { useDirection as Z, usePropertyChange as V, bypassReadOnly as S } from "@arcgis/lumina/controllers";
10
+ import { classes as y } from "@arcgis/toolkit/dom";
11
+ import { slotChangeHasContent as D } from "@arcgis/toolkit/dom/slots";
12
+ import { createRef as w, ref as f } from "lit/directives/ref.js";
13
13
  import { g as L } from "../../chunks/feature-utils.js";
14
14
  import { initializeProjection as K } from "@arcgis/core/applications/Components/featureUtils.js";
15
15
  import { t as j, z as q } from "../../chunks/action-utils.js";
16
16
  import { m as G } from "../../chunks/useViewModel.js";
17
17
  import { renderingSanitizer as $ } from "@arcgis/core/applications/Components/sanitizerUtils.js";
18
- import { stripHTML as y } from "@arcgis/core/applications/Components/stringUtils.js";
19
- import { substitute as d, formatNumber as M } from "@arcgis/core/intl.js";
18
+ import { stripHTML as T } from "@arcgis/core/applications/Components/stringUtils.js";
19
+ import { substitute as d, formatNumber as b } from "@arcgis/core/intl.js";
20
20
  import { u as W } from "../../chunks/useT9n.js";
21
- import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
21
+ import { when as X, watch as u } from "@arcgis/core/core/reactiveUtils.js";
22
22
  import { a as N } from "../../chunks/maybe.js";
23
- import { a as X, b as J } from "../../chunks/keyboard-utils.js";
24
- const Q = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}`;
25
- function Y(F) {
26
- return F?.declaredClass.startsWith("esri.layers.") ?? !1;
23
+ import { a as J, b as Q } from "../../chunks/keyboard-utils.js";
24
+ const Y = O`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.content-feature{--calcite-flow-item-footer-padding: 0;--calcite-flow-header-top-space: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}`;
25
+ function ee(v) {
26
+ return v?.declaredClass.startsWith("esri.layers.") ?? !1;
27
27
  }
28
- function ee(F) {
29
- if (!(!F || !("featureReduction" in F)))
30
- return F.featureReduction?.type;
28
+ function te(v) {
29
+ if (!(!v || !("featureReduction" in v)))
30
+ return v.featureReduction?.type;
31
31
  }
32
- const te = G(P);
33
- class ie extends z {
32
+ const ie = G(P);
33
+ class ae extends z {
34
34
  constructor() {
35
35
  super(...arguments), this._zoomToFeature = new H({
36
36
  icon: "magnifying-glass-plus",
@@ -40,15 +40,15 @@ class ie extends z {
40
40
  e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
41
41
  }, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
42
42
  root: window.document
43
- }), this._featureMenuIntersectionObserverNode = null, this._focusTrapNode = v(), this._focusTrapAnimationFrameId = null, this._rootFlowItemNode = v(), this._featureMenuViewportNode = v(), this._actionBarMenuNode = v(), this._flowContainerNode = v(), this._aggregatedFeaturesComponent = v(), this.messages = W(), this._selectedFeatureComponent = v(), this._direction = Z(), this._cancelOpenRelatedFeature = () => {
43
+ }), this._featureMenuIntersectionObserverNode = null, this._setFocusAnimationFrameId = null, this._setFocusAnimationFrameResolve = null, this._rootFlowItemNode = w(), this._featureMenuViewportNode = w(), this._actionBarMenuNode = w(), this._flowContainerNode = w(), this._aggregatedFeaturesComponent = w(), this.messages = W(), this._selectedFeatureComponent = w(), this._direction = Z(), this._cancelOpenRelatedFeature = () => {
44
44
  this._openRelatedFeatureAbortController = N(this._openRelatedFeatureAbortController);
45
- }, this._openRelatedFeatureAbortController = null, this.flowItems = new k(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this.viewModel = te(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.focusTrapEnabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new k(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = V()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = I(), this.arcgisClose = I(), this.arcgisTriggerAction = I();
45
+ }, this._openRelatedFeatureAbortController = null, this.flowItems = new k(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this.viewModel = ie(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.focusTrapEnabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new k(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = V()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = I(), this.arcgisClose = I(), this.arcgisTriggerAction = I();
46
46
  }
47
47
  static {
48
48
  this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _selectedFeatureHeading: 16, _selectedFeatureHeadingText: 16, _selectedFeatureContent: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, focusTrapEnabled: 5, collapseDirection: 1, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureItemAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
49
49
  }
50
50
  static {
51
- this.styles = Q;
51
+ this.styles = Y;
52
52
  }
53
53
  get _hideActionText() {
54
54
  if (!this.responsiveActionsEnabled)
@@ -84,7 +84,7 @@ class ie extends z {
84
84
  this.open = !1;
85
85
  }
86
86
  async destroy() {
87
- await this.manager.destroy(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._cancelToggleFocusTrapAnimationFrame(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
87
+ await this.manager.destroy(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._cancelSetFocusAnimationFrame(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
88
88
  }
89
89
  async fetchFeatures(e, t) {
90
90
  this._cancelFetchingFeatures();
@@ -103,34 +103,47 @@ class ie extends z {
103
103
  this.viewModel.previous();
104
104
  }
105
105
  async setFocus() {
106
- await this._focusTrapNode.value?.setFocus();
106
+ this._cancelSetFocusAnimationFrame(), await new Promise((e) => {
107
+ this._setFocusAnimationFrameResolve = e, this._setFocusAnimationFrameId = requestAnimationFrame(() => {
108
+ this._setFocusAnimationFrameId = null;
109
+ try {
110
+ if (!this.isConnected || !this.viewModel?.active)
111
+ return;
112
+ this._flowContainerNode.value?.setFocus();
113
+ } finally {
114
+ this._resolveSetFocusAnimationFrame();
115
+ }
116
+ });
117
+ });
107
118
  }
108
119
  connectedCallback() {
109
120
  super.connectedCallback(), this._createSpinner();
110
121
  }
111
122
  disconnectedCallback() {
112
- super.disconnectedCallback(), this._cancelToggleFocusTrapAnimationFrame(), this._removeSpinner(this.referenceElement);
123
+ super.disconnectedCallback(), this._cancelSetFocusAnimationFrame(), this._removeSpinner(this.referenceElement);
113
124
  }
114
125
  loaded() {
115
126
  this.manager.onLifecycle(() => [
116
- h(() => this.viewModel?.active, () => this._toggleFocusTrap()),
117
- h(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
118
- h(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
119
- h(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
120
- h(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
121
- h(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
122
- h(() => this.viewModel?.featureItems, () => this._featureMenuViewportScrollTop()),
123
- h(() => this.flowItems.length, () => this._syncSelectedDrillInFeature()),
124
- h(() => [this.flowItems?.length, this.featureMenuOpen], () => {
127
+ X(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => {
128
+ this.setFocus();
129
+ }),
130
+ u(() => [this.flowItems?.length, this.featureMenuOpen], () => {
125
131
  this.setFocus();
126
132
  }),
127
- h(() => this.viewModel.aggregatedFeaturesEnabled, (e) => {
133
+ u(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
134
+ u(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
135
+ u(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
136
+ u(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
137
+ u(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
138
+ u(() => this.viewModel?.featureItems, () => this._featureMenuViewportScrollTop()),
139
+ u(() => this.flowItems.length, () => this._syncSelectedDrillInFeature()),
140
+ u(() => this.viewModel.aggregatedFeaturesEnabled, (e) => {
128
141
  e || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._removeFlowItems());
129
142
  }),
130
- h(() => this.referenceElement, (e, t) => {
143
+ u(() => this.referenceElement, (e, t) => {
131
144
  this._removeSpinner(t), this._createSpinner();
132
145
  }, { initial: !0 }),
133
- h(() => [
146
+ u(() => [
134
147
  this.hideSpinner,
135
148
  this.viewModel?.view,
136
149
  this.viewModel?.location,
@@ -141,15 +154,14 @@ class ie extends z {
141
154
  }
142
155
  updated() {
143
156
  const e = this._selectedFeatureComponent.value ?? void 0;
144
- this.selectedFeatureComponent !== e && D(() => this.selectedFeatureComponent = e);
157
+ this.selectedFeatureComponent !== e && S(() => this.selectedFeatureComponent = e);
145
158
  }
146
- _toggleFocusTrap() {
147
- this._cancelToggleFocusTrapAnimationFrame(), this._focusTrapAnimationFrameId = requestAnimationFrame(() => {
148
- this._focusTrapAnimationFrameId = null, this.viewModel.active ? this._focusTrapNode.value?.activate() : this._focusTrapNode.value?.deactivate();
149
- });
159
+ _resolveSetFocusAnimationFrame() {
160
+ const e = this._setFocusAnimationFrameResolve;
161
+ this._setFocusAnimationFrameResolve = null, e?.();
150
162
  }
151
- _cancelToggleFocusTrapAnimationFrame() {
152
- this._focusTrapAnimationFrameId != null && (cancelAnimationFrame(this._focusTrapAnimationFrameId), this._focusTrapAnimationFrameId = null);
163
+ _cancelSetFocusAnimationFrame() {
164
+ this._setFocusAnimationFrameId != null && (cancelAnimationFrame(this._setFocusAnimationFrameId), this._setFocusAnimationFrameId = null), this._resolveSetFocusAnimationFrame();
153
165
  }
154
166
  _cancelFetchingFeatures() {
155
167
  this._fetchFeaturesController = N(this._fetchFeaturesController);
@@ -163,7 +175,7 @@ class ie extends z {
163
175
  const i = a?.graphic;
164
176
  if (!i)
165
177
  return;
166
- const s = L(i), n = Y(s) ? s : null;
178
+ const s = L(i), n = ee(s) ? s : null;
167
179
  let r = t.get(n);
168
180
  r || (r = [], t.set(n, r)), r.push(a);
169
181
  }), t;
@@ -187,7 +199,7 @@ class ie extends z {
187
199
  if (t.signal.aborted)
188
200
  return;
189
201
  const n = s.execute(i);
190
- n != null && (this.location = n), this.features = [a], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController = null;
202
+ n != null && (this.location = n), this.features = [a], this.open = !0, this._openRelatedFeatureAbortController = null;
191
203
  }
192
204
  _handlePaginationMenuButton() {
193
205
  this._updateFeatureMenu();
@@ -208,10 +220,10 @@ class ie extends z {
208
220
  this.viewModel.next();
209
221
  }
210
222
  _handleFeatureBack() {
211
- this.initialDisplayMode === "list" ? (this.selectedFeatureIndex = -1, this.setFocus()) : this._openFeatureMenu();
223
+ this.initialDisplayMode === "list" ? this.selectedFeatureIndex = -1 : this._openFeatureMenu();
212
224
  }
213
225
  _handleFeatureMenuBack() {
214
- this.initialDisplayMode === "list" ? (this.selectedFeatureIndex = -1, this.setFocus()) : this.featureMenuOpen && this._closeFeatureMenu();
226
+ this.initialDisplayMode === "list" ? this.selectedFeatureIndex = -1 : this.featureMenuOpen && this._closeFeatureMenu();
215
227
  }
216
228
  _setActiveFeature(e) {
217
229
  const { viewModel: t } = this;
@@ -221,7 +233,7 @@ class ie extends z {
221
233
  this.viewModel.activeFeature = null;
222
234
  }
223
235
  _selectFeature(e) {
224
- this.viewModel.selectedFeatureIndex = e, this.initialDisplayMode === "feature" ? this._handleFeatureMenuBack() : this.setFocus();
236
+ this.viewModel.selectedFeatureIndex = e, this.initialDisplayMode === "feature" && this._handleFeatureMenuBack();
225
237
  }
226
238
  _unobserveFeatureMenuObserver() {
227
239
  this._featureMenuIntersectionObserverNode && this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode);
@@ -235,7 +247,7 @@ class ie extends z {
235
247
  }
236
248
  _onMainKeydown(e) {
237
249
  const { key: t } = e;
238
- e.defaultPrevented || (X(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.previous(), this.setFocus()), J(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.next(), this.setFocus()));
250
+ e.defaultPrevented || (J(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.previous()), Q(t, this._direction) && (e.stopPropagation(), this._handleFeatureMenuBack(), this.next()));
239
251
  }
240
252
  _featureMenuViewportScrollTop() {
241
253
  this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
@@ -249,7 +261,7 @@ class ie extends z {
249
261
  }
250
262
  _viewScaleChange() {
251
263
  const { selectedFeature: e } = this;
252
- !e?.isAggregate || ee(L(e)) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
264
+ !e?.isAggregate || te(L(e)) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
253
265
  }
254
266
  _viewChange() {
255
267
  this.viewModel.clear(), this.open = !1, this._aggregatedFeatureCount = 0, this._removeFlowItems();
@@ -263,7 +275,7 @@ class ie extends z {
263
275
  }
264
276
  _syncSelectedDrillInFeature() {
265
277
  const e = this.flowItems.getItemAt(this.flowItems.length - 1);
266
- D(() => this.selectedDrillInFeature = e?.graphic ?? void 0);
278
+ S(() => this.selectedDrillInFeature = e?.graphic ?? void 0);
267
279
  }
268
280
  _removeFlowItems() {
269
281
  this.viewModel.aggregatedFeaturesEnabled = !1, this.flowItems?.destroyAll();
@@ -287,10 +299,10 @@ class ie extends z {
287
299
  return !this.hideHeading && e ? e : "";
288
300
  }
289
301
  _handleActionsStartSlotChange(e) {
290
- this._hasActionsStartSlotContent = S(e);
302
+ this._hasActionsStartSlotContent = D(e);
291
303
  }
292
304
  _handleActionsEndSlotChange(e) {
293
- this._hasActionsEndSlotContent = S(e);
305
+ this._hasActionsEndSlotContent = D(e);
294
306
  }
295
307
  _removeSpinner(e) {
296
308
  e?.manager?.component?.extraContent?.remove(this._spinnerEl), this._spinnerEl = void 0;
@@ -300,7 +312,7 @@ class ie extends z {
300
312
  e && (this._removeSpinner(e), this._spinnerEl = U(o`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel.open && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
301
313
  }
302
314
  render() {
303
- return o`<div class="root" @keydown=${this._onMainKeydown}><calcite-focus-trap .focusTrapDisabled=${!this.focusTrapEnabled} ${f(this._focusTrapNode)}>${this._renderHeader()}${this._renderContentContainer()}</calcite-focus-trap></div>`;
315
+ return o`<div class="root" @keydown=${this._onMainKeydown}>${this._renderContentContainer()}</div>`;
304
316
  }
305
317
  _renderFeatureNavigation() {
306
318
  return [
@@ -309,7 +321,7 @@ class ie extends z {
309
321
  ];
310
322
  }
311
323
  _renderHeader() {
312
- return this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="header">${this._renderFeatureNavigation()}</div>` : null;
324
+ return this.featureNavigationTop && this._featureNavigationVisible ? o`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>` : null;
313
325
  }
314
326
  _renderFooter() {
315
327
  return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
@@ -317,20 +329,20 @@ class ie extends z {
317
329
  _renderFeaturePaginationText(e, t) {
318
330
  const { messages: a } = this;
319
331
  return o`<div class="pagination-text">${d(a.pageText ?? "", {
320
- index: M(t + 1),
321
- total: M(e)
332
+ index: b(t + 1),
333
+ total: b(e)
322
334
  })}</div>`;
323
335
  }
324
336
  _renderFeatureMenuButton() {
325
337
  const { messages: e, viewModel: t } = this, { featureCount: a, selectedFeatureIndex: i, pendingPromisesCount: s } = t;
326
338
  return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures ?? ""} .loading=${s > 0} @click=${this._handlePaginationMenuButton} .text=${d(e.pageText ?? "", {
327
- index: M(i + 1),
328
- total: M(a)
329
- })} text-enabled title=${e.showAllFeatures ?? "" ?? u}></calcite-action>`;
339
+ index: b(i + 1),
340
+ total: b(a)
341
+ })} text-enabled title=${e.showAllFeatures ?? "" ?? h}></calcite-action>`;
330
342
  }
331
343
  _renderPagination(e, t) {
332
344
  const { previous: a, next: i } = this.messages;
333
- return o`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${a ?? ""} @click=${e} .text=${a ?? ""} title=${a ?? "" ?? u}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${i ?? ""} @click=${t} .text=${i ?? ""} title=${i ?? "" ?? u}></calcite-action></calcite-action-group></calcite-action-bar>`;
345
+ return o`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${a ?? ""} @click=${e} .text=${a ?? ""} title=${a ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${i ?? ""} @click=${t} .text=${i ?? ""} title=${i ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
334
346
  }
335
347
  _renderFeatureMenuItem(e, t) {
336
348
  const { initialDisplayMode: a } = this, { selectedFeatureItem: i } = this.viewModel, s = e === i;
@@ -350,50 +362,50 @@ class ie extends z {
350
362
  }
351
363
  _renderHeaderAction(e) {
352
364
  const t = e.title || "";
353
- return e.visible ? o`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? u}></calcite-action>` : null;
365
+ return e.visible ? o`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? h}></calcite-action>` : null;
354
366
  }
355
367
  _renderHeaderActions() {
356
368
  return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
357
369
  }
358
370
  _renderContentFeature(e) {
359
- const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature: l, hideHeading: c } = this, { active: g, selectedFeatureItem: m, content: _ } = this.viewModel, p = this._getHeading();
371
+ const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature: l, hideHeading: c } = this, { active: g, selectedFeatureItem: m, content: F } = this.viewModel, p = this._getHeading();
360
372
  if (r === "list" && !l)
361
373
  return null;
362
- const w = m ? !m.content : !_;
363
- return o`<calcite-flow-item class=${x(T({
374
+ const _ = m ? !m.content : !F;
375
+ return o`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(y({
364
376
  "content-feature": !0,
365
377
  "flow-item-collapsed": i
366
- }))} .closable=${!a} .closed=${!g} .collapsed=${i} .collapseDirection=${this.collapseDirection ?? (n ? "down" : "up")} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!c && p ? y(p) : void 0} ${f(this._rootFlowItemNode)}>${!c && p ? o`<div slot=heading><div .innerHTML=${$.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(T("container", "content-container", {
367
- "content-hidden": w
378
+ }))} .closable=${!a} .closed=${!g} .collapsed=${i} .collapseDirection=${this.collapseDirection ?? (n ? "down" : "up")} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!c && p ? T(p) : void 0} ${f(this._rootFlowItemNode)}>${this._renderHeader()}${!c && p ? o`<div slot=heading><div .innerHTML=${$.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(y("container", "content-container", {
379
+ "content-hidden": _
368
380
  }))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
369
381
  }
370
382
  _renderFeatureMenuContainer() {
371
- const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: c, featureNavigationTop: g, headingLevel: m } = this, { active: _, featureItems: p, pendingPromisesCount: w } = e, A = a ?? i.selectFeature, C = d(i.backLabel ?? "", {
383
+ const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: c, featureNavigationTop: g, headingLevel: m } = this, { active: F, featureItems: p, pendingPromisesCount: _ } = e, M = a ?? i.selectFeature, C = d(i.backLabel ?? "", {
372
384
  title: this._selectedFeatureHeadingText
373
385
  });
374
386
  if (s === "feature" && !n)
375
387
  return null;
376
- const b = !r;
377
- return o`<calcite-flow-item class=${x(T({
388
+ const A = !r;
389
+ return o`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(y({
378
390
  "flow-item-collapsed": c
379
- }))} .closable=${s === "list" && !t} .closed=${!_} .collapsed=${s === "list" && c} .collapseDirection=${this.collapseDirection ?? (g ? "down" : "up")} .collapsible=${s === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: C }} .description=${this.hideFeatureMenuHeading ? void 0 : d(i.total ?? "", {
391
+ }))} .closable=${!t} .closed=${!F} .collapsed=${s === "list" && c} .collapseDirection=${this.collapseDirection ?? (g ? "down" : "up")} .collapsible=${s === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: C }} .description=${this.hideFeatureMenuHeading ? void 0 : d(i.total ?? "", {
380
392
  total: p.length
381
- })} .heading=${this.hideFeatureMenuHeading ? void 0 : A} .headingLevel=${m} .loading=${e.waitingForContents} .selected=${b} @calciteFlowItemBack=${(B) => {
382
- B.preventDefault(), this._handleFeatureMenuBack();
383
- }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${f(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${w > 0 ? o`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${b ? this._renderFeatureMenu() : null}</div><div class="feature-menu-observer" ${f(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${C} title=${C ?? u}>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
393
+ })} .heading=${this.hideFeatureMenuHeading ? void 0 : M} .headingLevel=${m} .loading=${e.waitingForContents} .selected=${A} @calciteFlowItemBack=${(R) => {
394
+ R.preventDefault(), this._handleFeatureMenuBack();
395
+ }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${f(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${_ > 0 ? o`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${f(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${C} title=${C ?? h}>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
384
396
  }
385
397
  _renderFlowItem(e, t) {
386
- const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this, l = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, c = l && !s, g = e.flowType === "feature-association", m = a.returnToInitialFeature ?? "", _ = a?.selectFeature, p = this._getActionTitle(this._zoomToFeature), w = d(a.zoomLabel ?? "", {
398
+ const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this, l = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, c = l && !s, g = e.flowType === "feature-association", m = a.returnToInitialFeature ?? "", F = a?.selectFeature, p = this._getActionTitle(this._zoomToFeature), _ = d(a.zoomLabel ?? "", {
387
399
  messages: a,
388
400
  title: this._selectedFeatureHeadingText
389
- }), A = !this.hideActionBar && g && l, C = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? o`<div class="footer" slot=footer>${this._renderPagination(() => {
401
+ }), M = !this.hideActionBar && g && l, C = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? o`<div class="footer" slot=footer>${this._renderPagination(() => {
390
402
  this._aggregatedFeaturesComponent.value?.previous();
391
403
  }, () => {
392
404
  this._aggregatedFeaturesComponent.value?.next();
393
405
  })}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
394
- return o`<calcite-flow-item .closable=${!i} .closed=${!n} class="flow-item-drill-in" .description=${y(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${r ? void 0 : y(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(b) => {
395
- b.preventDefault(), this._handleDrillInBackClick();
396
- }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${$.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${$.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${m ?? ""} title=${m ?? "" ?? u}></calcite-action>${c ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${_ ?? ""} title=${_ ?? u}></calcite-action>` : null}${A ? o`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${this._zoomToFeature.disabled} .icon=${this._zoomToFeature.icon ?? void 0} .loading=${this._zoomToFeature.active} scale=s text-enabled .text=${p} title=${w ?? u} .label=${w} @click=${() => q(this.viewModel, this._zoomToFeature, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div>${C}</calcite-flow-item>`;
406
+ return o`<calcite-flow-item .closable=${!i} .closed=${!n} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${T(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${r ? void 0 : T(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(A) => {
407
+ A.preventDefault(), this._handleDrillInBackClick();
408
+ }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${$.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${$.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${m ?? ""} title=${m ?? "" ?? h}></calcite-action>${c ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${F ?? ""} title=${F ?? h}></calcite-action>` : null}${M ? o`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${this._zoomToFeature.disabled} .icon=${this._zoomToFeature.icon ?? void 0} .loading=${this._zoomToFeature.active} scale=s text-enabled .text=${p} title=${_ ?? h} .label=${_} @click=${() => q(this.viewModel, this._zoomToFeature, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div>${C}</calcite-flow-item>`;
397
409
  }
398
410
  _renderContentContainer() {
399
411
  const e = this.flowItems?.toArray(), t = e.length > 0, a = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, i = a && e.length === 0, s = e.length === 0 && this._featureFlowItemSelected && !a, n = e?.map((c, g) => this._renderFlowItem(c, this._featureFlowItemSelected && g === e.length - 1)), r = this._renderBrowseAggregateContainer(!!i), l = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(s)] : [this._renderContentFeature(s), this._renderFeatureMenuContainer()];
@@ -403,22 +415,22 @@ class ie extends z {
403
415
  const { hideCloseButton: t, active: a, messages: i } = this, { selectedFeature: s } = this.viewModel, n = this.viewModel.aggregatedFeaturesEnabled && s?.isAggregate, r = d(i.backLabel ?? "", {
404
416
  title: this._selectedFeatureHeadingText
405
417
  });
406
- return n ? o`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!a} .description=${this._aggregatedFeatureCount ? d(i.total ?? "", {
418
+ return n ? o`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!a} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount ? d(i.total ?? "", {
407
419
  total: this._aggregatedFeatureCount
408
420
  }) : ""} .heading=${i.aggregatedFeatures} @calciteFlowItemBack=${(l) => {
409
421
  l.preventDefault(), this.viewModel.aggregatedFeaturesEnabled = !1;
410
422
  }} .messageOverrides=${{
411
423
  back: r
412
- }} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${s ?? void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${i} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${f(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${() => this.viewModel.aggregatedFeaturesEnabled = !1} slot=footer-start scale=s width=full .label=${r} title=${r ?? u}>${i.back}</calcite-button></calcite-flow-item>` : null;
424
+ }} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${s ?? void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${i} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${f(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${() => this.viewModel.aggregatedFeaturesEnabled = !1} slot=footer-start scale=s width=full .label=${r} title=${r ?? h}>${i.back}</calcite-button></calcite-flow-item>` : null;
413
425
  }
414
426
  _renderActionBar() {
415
427
  const e = this.viewModel.selectedFeatureItem?.isFeatureFromTable, t = this.viewModel.allActions.toArray(), a = e && !this.location ? t.filter((n) => n.id !== this._zoomToFeature.id) : t, i = !!a.length || this._hasActionsStartSlotContent || this._hasActionsEndSlotContent, s = this._isCollapsed || this.hideActionBar || !i;
416
- return o`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s ? void 0 : "action-bar") ?? u} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${f(this._actionBarMenuNode)}>${this._renderActions(a)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`;
428
+ return o`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s ? void 0 : "action-bar") ?? h} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${f(this._actionBarMenuNode)}>${this._renderActions(a)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`;
417
429
  }
418
430
  _renderActions(e) {
419
431
  return e.map((t) => {
420
432
  const a = this._getActionTitle(t);
421
- return o`<calcite-action .active=${t.type === "toggle" ? t.value : !1} .disabled=${t.disabled} .icon=${t.icon ?? void 0} .loading=${t.active} scale=s .textEnabled=${!this._hideActionText} .text=${a ?? ""} title=${a ?? u} .hidden=${!t.visible} @click=${() => this._triggerAction(t)}></calcite-action>`;
433
+ return o`<calcite-action .active=${t.type === "toggle" ? t.value : !1} .disabled=${t.disabled} .icon=${t.icon ?? void 0} .loading=${t.active} scale=s .textEnabled=${!this._hideActionText} .text=${a ?? ""} title=${a ?? h} .hidden=${!t.visible} @click=${() => this._triggerAction(t)}></calcite-action>`;
422
434
  });
423
435
  }
424
436
  _renderContent() {
@@ -426,7 +438,7 @@ class ie extends z {
426
438
  return t ? o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${f(this._selectedFeatureComponent)}></arcgis-feature-next>` : typeof e == "string" ? E(e, o`<div .innerHTML=${$.sanitize(e) ?? ""}></div>`) : e ?? null;
427
439
  }
428
440
  }
429
- O("arcgis-features-next", ie);
441
+ B("arcgis-features-next", ae);
430
442
  export {
431
- ie as ArcgisFeaturesNext
443
+ ae as ArcgisFeaturesNext
432
444
  };
@@ -1,5 +1,4 @@
1
1
  import "../arcgis-spinner/index.js";
2
- import "@esri/calcite-components/components/calcite-focus-trap";
3
2
  import "@esri/calcite-components/components/calcite-action";
4
3
  import "@esri/calcite-components/components/calcite-action-bar";
5
4
  import "@esri/calcite-components/components/calcite-action-group";
@@ -50,6 +50,16 @@ export abstract class ArcgisFloorFilter extends LitElement {
50
50
  * prevent memory leaks.
51
51
  *
52
52
  * @default false
53
+ * @example
54
+ *
55
+ * ```html
56
+ * <arcgis-floor-filter auto-destroy-disabled></arcgis-floor-filter>
57
+ * ```
58
+ *
59
+ * ```js
60
+ * floorFilterElement.autoDestroyDisabled = true;
61
+ * ```
62
+ *
53
63
  */
54
64
  accessor autoDestroyDisabled: boolean;
55
65
  /** The currently selected facility. */
@@ -96,6 +96,16 @@ export abstract class ArcgisGridControls extends LitElement {
96
96
  * prevent memory leaks.
97
97
  *
98
98
  * @default false
99
+ * @example
100
+ *
101
+ * ```html
102
+ * <arcgis-grid-controls auto-destroy-disabled></arcgis-grid-controls>
103
+ * ```
104
+ *
105
+ * ```js
106
+ * gridControlsElement.autoDestroyDisabled = true;
107
+ * ```
108
+ *
99
109
  */
100
110
  accessor autoDestroyDisabled: boolean;
101
111
  /** The custom color used for drawing the grid, if any. */
@@ -115,7 +115,7 @@ class W extends E {
115
115
  }
116
116
  _renderGridPlacementButtons() {
117
117
  const { interactivePlacementState: e, placementDisabled: i, gridControlsEnabled: t } = this, r = i || !t;
118
- return a`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${B.map((o) => this._renderPlacementModeButton(o, r, e))}</calcite-action-bar></calcite-label>`;
118
+ return a`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-toggle-disabled layout=horizontal>${B.map((o) => this._renderPlacementModeButton(o, r, e))}</calcite-action-bar></calcite-label>`;
119
119
  }
120
120
  _renderPlacementModeButton(e, i, t) {
121
121
  const r = this._messages?.placementState?.[e], o = this._placementModeButtonRefs.get(e);
@@ -20,6 +20,16 @@ export abstract class ArcgisHistogramRangeSlider extends LitElement {
20
20
  * prevent memory leaks.
21
21
  *
22
22
  * @default false
23
+ * @example
24
+ *
25
+ * ```html
26
+ * <arcgis-histogram-range-slider auto-destroy-disabled></arcgis-histogram-range-slider>
27
+ * ```
28
+ *
29
+ * ```js
30
+ * histogramRangeSliderElement.autoDestroyDisabled = true;
31
+ * ```
32
+ *
23
33
  */
24
34
  accessor autoDestroyDisabled: boolean;
25
35
  /**
@@ -34,6 +34,16 @@ export abstract class ArcgisHome extends LitElement {
34
34
  * prevent memory leaks.
35
35
  *
36
36
  * @default false
37
+ * @example
38
+ *
39
+ * ```html
40
+ * <arcgis-home auto-destroy-disabled></arcgis-home>
41
+ * ```
42
+ *
43
+ * ```js
44
+ * homeElement.autoDestroyDisabled = true;
45
+ * ```
46
+ *
37
47
  */
38
48
  accessor autoDestroyDisabled: boolean;
39
49
  /**
@@ -46,6 +46,16 @@ export abstract class ArcgisLayerList extends LitElement {
46
46
  * prevent memory leaks.
47
47
  *
48
48
  * @default false
49
+ * @example
50
+ *
51
+ * ```html
52
+ * <arcgis-layer-list auto-destroy-disabled></arcgis-layer-list>
53
+ * ```
54
+ *
55
+ * ```js
56
+ * layerListElement.autoDestroyDisabled = true;
57
+ * ```
58
+ *
49
59
  */
50
60
  accessor autoDestroyDisabled: boolean;
51
61
  /** The CatalogLayerList that displays a catalog layer's dynamic group layer. */
@@ -86,6 +96,16 @@ export abstract class ArcgisLayerList extends LitElement {
86
96
  *
87
97
  * @default false
88
98
  * @since 4.33
99
+ * @example
100
+ *
101
+ * ```html
102
+ * <arcgis-layer-list closed></arcgis-layer-list>
103
+ * ```
104
+ *
105
+ * ```js
106
+ * layerListElement.closed = true;
107
+ * ```
108
+ *
89
109
  */
90
110
  accessor closed: boolean;
91
111
  /**