@arcgis/map-components 5.2.0-next.154 → 5.2.0-next.156

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 (84) hide show
  1. package/dist/cdn/347XA2AR.js +2 -0
  2. package/dist/cdn/4JCUCTND.js +2 -0
  3. package/dist/cdn/5QPPN5GG.js +2 -0
  4. package/dist/cdn/6JYHS4C3.js +2 -0
  5. package/dist/cdn/74SNPIFY.js +2 -0
  6. package/dist/cdn/AHR2EGDU.js +2 -0
  7. package/dist/cdn/{ZPWEX7I6.js → CPIWLONX.js} +1 -1
  8. package/dist/cdn/DV5RJXB4.js +2 -0
  9. package/dist/cdn/F6BKCG5R.js +2 -0
  10. package/dist/cdn/GUY54PVD.js +2 -0
  11. package/dist/cdn/{BOJOJ5VV.js → HGMLU4M2.js} +1 -1
  12. package/dist/cdn/{KVN3M4C6.js → N2BLQYTT.js} +1 -1
  13. package/dist/cdn/OFGB5CLF.js +2 -0
  14. package/dist/cdn/{5K2YXXCE.js → PPKJKXSQ.js} +1 -1
  15. package/dist/cdn/PT7IKQT5.js +2 -0
  16. package/dist/cdn/QTTIUOSW.js +2 -0
  17. package/dist/cdn/RGBIJQV3.js +2 -0
  18. package/dist/cdn/{RKTSSP3O.js → TD5NCGK6.js} +1 -1
  19. package/dist/cdn/TNRY4WWO.js +2 -0
  20. package/dist/cdn/U6VZT3HC.js +2 -0
  21. package/dist/cdn/UVSORYXI.js +2 -0
  22. package/dist/cdn/V6RSLRWE.js +2 -0
  23. package/dist/cdn/{2SNOYPTJ.js → Y5LZUAMK.js} +1 -1
  24. package/dist/cdn/YYBNA7EL.js +2 -0
  25. package/dist/cdn/index.js +1 -1
  26. package/dist/chunks/loader-utils.js +41 -0
  27. package/dist/chunks/slots.js +1 -1
  28. package/dist/chunks/useArcgisViewReadyError.js +53 -50
  29. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  30. package/dist/components/arcgis-editor/customElement.js +18 -16
  31. package/dist/components/arcgis-feature-next/customElement.js +21 -14
  32. package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
  33. package/dist/components/arcgis-features-next/customElement.js +137 -116
  34. package/dist/components/arcgis-legend/customElement.d.ts +2 -0
  35. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  36. package/dist/components/arcgis-link-chart/customElement.d.ts +0 -8
  37. package/dist/components/arcgis-map/customElement.d.ts +0 -8
  38. package/dist/components/arcgis-measurement-content/customElement.js +6 -6
  39. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
  40. package/dist/components/arcgis-scene/customElement.d.ts +0 -8
  41. package/dist/components/arcgis-sketch/customElement.d.ts +1 -3
  42. package/dist/components/arcgis-sketch/customElement.js +146 -178
  43. package/dist/components/arcgis-slice/customElement.js +15 -15
  44. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
  45. package/dist/components/arcgis-time-bar/customElement.js +108 -105
  46. package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
  47. package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
  48. package/dist/components/arcgis-time-bar-slider/customElement.js +27 -33
  49. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -3
  50. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +60 -67
  51. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
  52. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
  53. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -2
  54. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  55. package/dist/components/arcgis-version-management/customElement.js +33 -33
  56. package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
  57. package/dist/docs/api.json +1 -1
  58. package/dist/docs/docs.json +1 -1
  59. package/dist/docs/vscode.css-custom-data.json +1 -1
  60. package/dist/docs/vscode.html-custom-data.json +1 -1
  61. package/dist/docs/web-types.json +1 -1
  62. package/dist/loader.js +2 -2
  63. package/dist/types/lumina.d.ts +2 -1
  64. package/dist/types/preact.d.ts +2 -1
  65. package/dist/types/react.d.ts +2 -1
  66. package/dist/types/stencil.d.ts +2 -1
  67. package/package.json +6 -6
  68. package/dist/cdn/2AQYGR7K.js +0 -2
  69. package/dist/cdn/4GRP4KX3.js +0 -2
  70. package/dist/cdn/ENZAFG6F.js +0 -2
  71. package/dist/cdn/GP3PLD2F.js +0 -2
  72. package/dist/cdn/I3KUEZ7I.js +0 -2
  73. package/dist/cdn/J7YDON4X.js +0 -2
  74. package/dist/cdn/LE373OSG.js +0 -2
  75. package/dist/cdn/LGW5AS6R.js +0 -2
  76. package/dist/cdn/LOIUI4KA.js +0 -2
  77. package/dist/cdn/M7LDGJG6.js +0 -2
  78. package/dist/cdn/P5HSMYWG.js +0 -2
  79. package/dist/cdn/RZNCVTKT.js +0 -2
  80. package/dist/cdn/TZ6WQV6O.js +0 -2
  81. package/dist/cdn/VRYMDTDG.js +0 -2
  82. package/dist/cdn/ZEKQYUW3.js +0 -2
  83. package/dist/cdn/ZFHHY72B.js +0 -2
  84. package/dist/cdn/ZOHGLZNV.js +0 -2
@@ -1,39 +1,40 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as N } from "../../chunks/runtime.js";
3
- import { css as B, html as a } from "lit";
4
- import { keyed as I } from "lit/directives/keyed.js";
5
- import H from "@arcgis/core/support/actions/ActionButton.js";
6
- import E from "@arcgis/core/core/Collection.js";
7
- import P from "@arcgis/core/popup/FeaturesModel.js";
8
- import { LitElement as z, createEvent as y, renderElement as V, nothing as g, safeClassMap as x } from "@arcgis/lumina";
9
- import { useDirection as Z, usePropertyChange as U, bypassReadOnly as D } from "@arcgis/lumina/controllers";
10
- import { classes as T } from "@arcgis/toolkit/dom";
2
+ import { c as P } from "../../chunks/runtime.js";
3
+ import { css as H, html as n } from "lit";
4
+ import { keyed as E } from "lit/directives/keyed.js";
5
+ import B from "@arcgis/core/support/actions/ActionButton.js";
6
+ import T from "@arcgis/core/core/Collection.js";
7
+ import z from "@arcgis/core/popup/FeaturesModel.js";
8
+ import { LitElement as V, createEvent as y, renderElement as Z, nothing as g, safeClassMap as x } from "@arcgis/lumina";
9
+ import { useDirection as U, usePropertyChange as K, bypassReadOnly as D } from "@arcgis/lumina/controllers";
10
+ import { classes as I } from "@arcgis/toolkit/dom";
11
11
  import { slotChangeHasContent as S } from "@arcgis/toolkit/dom/slots";
12
- import { createRef as _, ref as m } from "lit/directives/ref.js";
13
- import { initializeProjection as K } from "@arcgis/core/applications/Components/featureUtils.js";
14
- import { t as j } from "../../chunks/action-utils.js";
15
- import { m as q } from "../../chunks/useViewModel.js";
12
+ import { createRef as F, ref as m } from "lit/directives/ref.js";
13
+ import { initializeProjection as j } from "@arcgis/core/applications/Components/featureUtils.js";
14
+ import { t as q } from "../../chunks/action-utils.js";
15
+ import { m as G } from "../../chunks/useViewModel.js";
16
16
  import { renderingSanitizer as w } from "@arcgis/core/applications/Components/sanitizerUtils.js";
17
- import { stripHTML as b } from "@arcgis/core/applications/Components/stringUtils.js";
18
- import { substitute as h, formatNumber as C } from "@arcgis/core/intl.js";
19
- import { u as G } from "../../chunks/useT9n.js";
20
- import { when as W, watch as u } from "@arcgis/core/core/reactiveUtils.js";
21
- import { getGraphicOriginTitle as X } from "@arcgis/core/graphic/getGraphicOriginTitle.js";
22
- import { a as R } from "../../chunks/maybe.js";
23
- import { b as J, a as Q, c as Y } from "../../chunks/keyboard-utils.js";
24
- import { g as k } from "../../chunks/feature-utils.js";
25
- const ee = B`: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{flex:0 0 1px;height:1px;margin-block-start:-1px}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;
26
- function te(v) {
17
+ import { stripHTML as C } from "@arcgis/core/applications/Components/stringUtils.js";
18
+ import { substitute as h, formatNumber as b } from "@arcgis/core/intl.js";
19
+ import { u as W } from "../../chunks/useT9n.js";
20
+ import { when as X, watch as u } from "@arcgis/core/core/reactiveUtils.js";
21
+ import { getGraphicOriginTitle as J } from "@arcgis/core/graphic/getGraphicOriginTitle.js";
22
+ import { a as L } from "../../chunks/maybe.js";
23
+ import { b as Q, a as Y, c as ee } from "../../chunks/keyboard-utils.js";
24
+ import { g as R } from "../../chunks/feature-utils.js";
25
+ import { c as k } from "../../chunks/loader-utils.js";
26
+ const te = H`: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{flex:0 0 1px;height:1px;margin-block-start:-1px}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;
27
+ function ie(v) {
27
28
  return v?.declaredClass.startsWith("esri.layers.") ?? !1;
28
29
  }
29
- function ie(v) {
30
+ function se(v) {
30
31
  if (!(!v || !("featureReduction" in v)))
31
32
  return v.featureReduction?.type;
32
33
  }
33
- const se = q(P), ne = 25, ae = 5;
34
- class oe extends z {
34
+ const ae = G(z), ne = 5;
35
+ class oe extends V {
35
36
  constructor() {
36
- super(...arguments), this._zoomToFeature = new H({
37
+ super(...arguments), this._zoomToFeature = new B({
37
38
  icon: "magnifying-glass-plus",
38
39
  id: "zoom-to-feature",
39
40
  title: "{messages.zoom}"
@@ -41,15 +42,15 @@ class oe extends z {
41
42
  e?.isIntersecting && this._loadMoreFeatures();
42
43
  }, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
43
44
  root: window.document
44
- }), this._featureMenuIntersectionObserverNode = null, this._setFocusAnimationFrameId = null, this._setFocusAnimationFrameResolve = null, this._rootFlowItemNode = _(), this._featureMenuViewportNode = _(), this._actionBarMenuNode = _(), this._flowContainerNode = _(), this._aggregatedFeaturesComponent = _(), this.messages = G(), this._selectedFeatureComponent = _(), this._actionFlowItems = /* @__PURE__ */ new WeakSet(), this._direction = Z(), this._cancelOpenRelatedFeature = () => {
45
- this._openRelatedFeatureAbortController = R(this._openRelatedFeatureAbortController);
46
- }, this._spinnerVisible = !1, this._spinnerVisibilityTimeout = null, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this.viewModel = se(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.diagnostics = this.viewModel.diagnostics, 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 E(), 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.hideEmptyRelationshipContent = !1, 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.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.arcgisClose = y(), this.arcgisPropertyChange = U()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = y(), this.arcgisTriggerAction = y();
45
+ }), this._featureMenuIntersectionObserverNode = null, this._setFocusAnimationFrameId = null, this._setFocusAnimationFrameResolve = null, this._rootFlowItemNode = F(), this._featureMenuViewportNode = F(), this._actionBarMenuNode = F(), this._flowContainerNode = F(), this._aggregatedFeaturesComponent = F(), this.messages = W(), this._selectedFeatureComponent = F(), this._actionFlowItems = /* @__PURE__ */ new WeakSet(), this._direction = U(), this._cancelOpenRelatedFeature = () => {
46
+ this._openRelatedFeatureAbortController = L(this._openRelatedFeatureAbortController);
47
+ }, this._spinnerVisible = !1, this._openRelatedFeatureAbortController = null, this.flowItems = new T(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this._selectedFeatureLoading = !1, this._lastSettledCollapseEnabled = !1, this._lastSettledHeading = "", this.viewModel = ae(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.diagnostics = this.viewModel.diagnostics, 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 T(), 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.hideEmptyRelationshipContent = !1, 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.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.arcgisClose = y(), this.arcgisPropertyChange = K()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = y(), this.arcgisTriggerAction = y();
47
48
  }
48
49
  static {
49
- 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, diagnostics: 0, 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, hideEmptyRelationshipContent: 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, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
50
+ this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _selectedFeatureLoading: 16, _lastSettledCollapseEnabled: 16, _lastSettledHeading: 16, _selectedFeatureViewModel: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _selectedFeatureHeading: 16, _selectedFeatureHeadingText: 16, _selectedFeatureContent: 16, _selectedFeaturePending: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, focusTrapEnabled: 5, collapseDirection: 1, collapsed: 5, content: 1, diagnostics: 0, 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, hideEmptyRelationshipContent: 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, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
50
51
  }
51
52
  static {
52
- this.styles = ee;
53
+ this.styles = te;
53
54
  }
54
55
  get _hideActionText() {
55
56
  if (!this.responsiveActionsEnabled)
@@ -64,7 +65,7 @@ class oe extends z {
64
65
  return this._collapseEnabled && this.collapsed;
65
66
  }
66
67
  get _collapseEnabled() {
67
- return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this._selectedFeatureHeading) && !!(this.content || this._selectedFeatureContent));
68
+ return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this._selectedFeatureHeading) && !!(this.content || this._selectedFeatureContent) || this._selectedFeaturePending && this._lastSettledCollapseEnabled);
68
69
  }
69
70
  get _selectedFeatureHeading() {
70
71
  return this.viewModel.selectedFeatureItem?.heading;
@@ -75,6 +76,13 @@ class oe extends z {
75
76
  get _selectedFeatureContent() {
76
77
  return this.viewModel.selectedFeatureItem?.content;
77
78
  }
79
+ get _selectedFeaturePending() {
80
+ const { selectedFeature: e, selectedFeatureItem: t } = this.viewModel;
81
+ if (!e)
82
+ return !1;
83
+ const i = this._selectedFeatureViewModel, s = i?.state;
84
+ return t == null || t.waitingForContent || i?.graphic !== e || s !== "ready" && s !== "error";
85
+ }
78
86
  get _featureFlowItemSelected() {
79
87
  return this.initialDisplayMode === "list" ? !!this.selectedFeature : !this.featureMenuOpen;
80
88
  }
@@ -85,12 +93,12 @@ class oe extends z {
85
93
  this.open = !1;
86
94
  }
87
95
  async destroy() {
88
- await this.manager.destroy(), this._clearSpinnerVisibilityTimeout(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._cancelSetFocusAnimationFrame(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
96
+ await this.manager.destroy(), this._removeSpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._cancelSetFocusAnimationFrame(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
89
97
  }
90
98
  async fetchFeatures(e, t) {
91
99
  this._cancelFetchingFeatures();
92
- const { signal: i } = t ?? {}, s = new AbortController(), { signal: n } = s, o = i ? AbortSignal.any([n, i]) : n;
93
- this._fetchFeaturesController = s, !e && this.view && this.location && (await K(this.location.spatialReference, this.view.spatialReference, null, {
100
+ const { signal: i } = t ?? {}, s = new AbortController(), { signal: a } = s, o = i ? AbortSignal.any([a, i]) : a;
101
+ this._fetchFeaturesController = s, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, {
94
102
  signal: o
95
103
  }), e = this.view.toScreen(this.location) ?? void 0), e && await this.viewModel.fetchFeatures(e, {
96
104
  ...t,
@@ -120,16 +128,34 @@ class oe extends z {
120
128
  connectedCallback() {
121
129
  super.connectedCallback(), this._createSpinner();
122
130
  }
131
+ willUpdate() {
132
+ const e = this._selectedFeaturePending, { effectiveHeading: t } = this.viewModel;
133
+ e || (this._lastSettledCollapseEnabled = this._collapseEnabled), (t || !e) && (this._lastSettledHeading = t ?? "");
134
+ }
123
135
  updated() {
124
136
  const e = this._selectedFeatureComponent.value ?? void 0;
125
- this.selectedFeatureComponent !== e && D(() => this.selectedFeatureComponent = e), this.componentOnReady().then(() => {
137
+ this.selectedFeatureComponent !== e && (this._selectedFeatureViewModel = e?.viewModel, D(() => this.selectedFeatureComponent = e)), this.componentOnReady().then(() => {
126
138
  const t = this._featureMenuIntersectionObserverNode;
127
139
  this.isConnected && t && (this._featureMenuIntersectionObserver.unobserve(t), this._featureMenuIntersectionObserver.observe(t));
128
140
  });
129
141
  }
130
142
  loaded() {
131
143
  this.manager.onLifecycle(() => [
132
- W(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => {
144
+ k({
145
+ getLoading: () => this.viewModel.waitingForResult,
146
+ setEffectiveLoading: (e) => {
147
+ this._spinnerVisible = e, this._createSpinner();
148
+ },
149
+ timeout: 25,
150
+ minShownDuration: 0
151
+ }),
152
+ k({
153
+ getLoading: () => this._selectedFeaturePending,
154
+ setEffectiveLoading: (e) => {
155
+ this._selectedFeatureLoading = e;
156
+ }
157
+ }),
158
+ X(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => {
133
159
  this.setFocus();
134
160
  }),
135
161
  u(() => [this.flowItems?.length, this.featureMenuOpen], () => {
@@ -139,10 +165,10 @@ class oe extends z {
139
165
  u(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
140
166
  u(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
141
167
  u(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
142
- u(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
168
+ u(() => this.selectedFeatureComponent?.viewModel, (e, t) => t && this._removeFlowItems()),
143
169
  u(() => [this.viewModel?.features.at(0), this.viewModel?.featureCount ?? 0], ([e, t], i) => {
144
- const [s, n] = i ?? [void 0, 0];
145
- (e !== s || t < n) && this._featureMenuViewportScrollTop();
170
+ const [s, a] = i ?? [void 0, 0];
171
+ (e !== s || t < a) && this._featureMenuViewportScrollTop();
146
172
  }),
147
173
  u(() => [this.featureMenuOpen, this.initialDisplayMode, this.open], () => {
148
174
  this.viewModel.featureMenuOpen = this.featureMenuOpen, this.open && (this.featureMenuOpen || this.initialDisplayMode === "list") && (this.viewModel.featurePage = 1);
@@ -159,13 +185,12 @@ class oe extends z {
159
185
  this.viewModel?.view,
160
186
  this.viewModel?.location,
161
187
  this.viewModel?.pendingLocation,
162
- this.viewModel?.waitingForResult,
163
188
  this.viewModel?.open
164
189
  ], () => this._createSpinner(), { initial: !0 })
165
190
  ]);
166
191
  }
167
192
  disconnectedCallback() {
168
- super.disconnectedCallback(), this._clearSpinnerVisibilityTimeout(), this._cancelSetFocusAnimationFrame(), this._removeSpinner(this.referenceElement);
193
+ super.disconnectedCallback(), this._selectedFeatureLoading = !1, this._spinnerVisible = !1, this._cancelSetFocusAnimationFrame(), this._removeSpinner(this.referenceElement);
169
194
  }
170
195
  _loadMoreFeatures() {
171
196
  const { viewModel: e } = this, { featurePage: t, featuresPerPage: i, features: s } = e;
@@ -179,17 +204,17 @@ class oe extends z {
179
204
  this._setFocusAnimationFrameId != null && (cancelAnimationFrame(this._setFocusAnimationFrameId), this._setFocusAnimationFrameId = null), this._resolveSetFocusAnimationFrame();
180
205
  }
181
206
  _cancelFetchingFeatures() {
182
- this._fetchFeaturesController = R(this._fetchFeaturesController);
207
+ this._fetchFeaturesController = L(this._fetchFeaturesController);
183
208
  }
184
209
  _handleClose() {
185
210
  this.close(), this.arcgisClose.emit();
186
211
  }
187
212
  _groupResultsByLayer() {
188
- const { features: e, featurePage: t, featuresPerPage: i } = this.viewModel, s = /* @__PURE__ */ new Map(), n = Math.min((t ?? 0) * i, e.length);
189
- for (let o = 0; o < n; o++) {
190
- const r = e[o], l = k(r), c = te(l) ? l : null;
191
- let d = s.get(c);
192
- d || (d = [], s.set(c, d)), d.push(o);
213
+ const { features: e, featurePage: t, featuresPerPage: i } = this.viewModel, s = /* @__PURE__ */ new Map(), a = Math.min((t ?? 0) * i, e.length);
214
+ for (let o = 0; o < a; o++) {
215
+ const r = e[o], l = R(r), d = ie(l) ? l : null;
216
+ let c = s.get(d);
217
+ c || (c = [], s.set(d, c)), c.push(o);
193
218
  }
194
219
  return s;
195
220
  }
@@ -208,10 +233,10 @@ class oe extends z {
208
233
  }
209
234
  if (this._removeFlowItems(), await this.viewModel.zoomTo({ target: s }), t.signal.aborted)
210
235
  return;
211
- const { labelPointExecute: n } = await import("@arcgis/core/geometry/operators/labelPointOperator.js");
236
+ const { labelPointExecute: a } = await import("@arcgis/core/geometry/operators/labelPointOperator.js");
212
237
  if (t.signal.aborted)
213
238
  return;
214
- const o = n(s);
239
+ const o = a(s);
215
240
  o != null && (this.location = o), this.features = [i], this.open = !0, this._openRelatedFeatureAbortController = null;
216
241
  }
217
242
  _handlePaginationMenuButton() {
@@ -257,7 +282,7 @@ class oe extends z {
257
282
  _getActionLabel(e, t) {
258
283
  const { messages: i } = this;
259
284
  if (e.id === "zoom-to-feature") {
260
- const s = t ? b(t.heading || (("state" in t && t.state === "loading" ? i.loading : i.untitled) ?? "")) : this._selectedFeatureHeadingText;
285
+ const s = t ? C(t.heading || (("state" in t && t.state === "loading" ? i.loading : i.untitled) ?? "")) : this._selectedFeatureHeadingText;
261
286
  return h(i.zoomLabel ?? "", {
262
287
  messages: i,
263
288
  title: s
@@ -266,12 +291,12 @@ class oe extends z {
266
291
  return null;
267
292
  }
268
293
  _getActionTitle(e, t) {
269
- const { messages: i } = this, s = t ? t.graphic : this.selectedFeature, { id: n } = e, o = s?.attributes, r = e.title ?? "", l = n === "zoom-to-feature" ? h(r, { messages: i }) : n === "remove-selected-feature" ? h(r, { messages: i }) : n === "zoom-to-aggregated-features" ? h(r, { messages: i }) : n === "browse-aggregated-features" ? h(r, { messages: i }) : e.title;
294
+ const { messages: i } = this, s = t ? t.graphic : this.selectedFeature, { id: a } = e, o = s?.attributes, r = e.title ?? "", l = a === "zoom-to-feature" ? h(r, { messages: i }) : a === "remove-selected-feature" ? h(r, { messages: i }) : a === "zoom-to-aggregated-features" ? h(r, { messages: i }) : a === "browse-aggregated-features" ? h(r, { messages: i }) : e.title;
270
295
  return l && o ? h(l, o) : l ?? "";
271
296
  }
272
297
  _onMainKeydown(e) {
273
298
  const { key: t } = e;
274
- e.defaultPrevented || J(e) || (Q(t, this._direction, { horizontalOnly: !0 }) && (e.preventDefault(), e.stopPropagation(), this._closeFeatureMenu(), this.previous()), Y(t, this._direction, { horizontalOnly: !0 }) && (e.preventDefault(), e.stopPropagation(), this._closeFeatureMenu(), this.next()));
299
+ e.defaultPrevented || Q(e) || (Y(t, this._direction, { horizontalOnly: !0 }) && (e.preventDefault(), e.stopPropagation(), this._closeFeatureMenu(), this.previous()), ee(t, this._direction, { horizontalOnly: !0 }) && (e.preventDefault(), e.stopPropagation(), this._closeFeatureMenu(), this.next()));
275
300
  }
276
301
  _featureMenuViewportScrollTop() {
277
302
  this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
@@ -285,11 +310,11 @@ class oe extends z {
285
310
  return;
286
311
  e?.type === "toggle" && (e.value = !e.value);
287
312
  const i = t && "allActions" in t ? t.viewModel : void 0;
288
- j(e, this.viewModel, i), this.arcgisTriggerAction.emit({ action: e });
313
+ q(e, this.viewModel, i), this.arcgisTriggerAction.emit({ action: e });
289
314
  }
290
315
  _viewScaleChange() {
291
- const { selectedFeature: e } = this, t = k(e);
292
- !e?.isAggregate || ie(t) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
316
+ const { selectedFeature: e } = this, t = R(e);
317
+ !e?.isAggregate || se(t) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
293
318
  }
294
319
  _viewChange() {
295
320
  this.viewModel.clear(), this.open = !1, this._aggregatedFeatureCount = 0, this._removeFlowItems();
@@ -330,8 +355,10 @@ class oe extends z {
330
355
  this.flowItems?.pop()?.destroy();
331
356
  }
332
357
  _getHeading() {
358
+ if (this.hideHeading)
359
+ return "";
333
360
  const { effectiveHeading: e } = this.viewModel;
334
- return !this.hideHeading && e ? e : "";
361
+ return e || !this._selectedFeaturePending ? e ?? "" : this._lastSettledHeading || (this._selectedFeatureLoading ? this.messages.loading ?? "" : "");
335
362
  }
336
363
  _handleActionsStartSlotChange(e) {
337
364
  this._hasActionsStartSlotContent = S(e);
@@ -342,17 +369,9 @@ class oe extends z {
342
369
  _removeSpinner(e) {
343
370
  e?.manager?.component?.extraContent?.remove(this._spinnerEl), this._spinnerEl = void 0;
344
371
  }
345
- _clearSpinnerVisibilityTimeout() {
346
- this._spinnerVisibilityTimeout != null && (clearTimeout(this._spinnerVisibilityTimeout), this._spinnerVisibilityTimeout = null);
347
- }
348
- _getSpinnerTrackLocation() {
349
- return !this.hideSpinner && this.viewModel.open && this.viewModel?.waitingForResult ? this._spinnerVisible ? !0 : (this._spinnerVisibilityTimeout ??= setTimeout(() => {
350
- this._spinnerVisibilityTimeout = null, this._spinnerVisible = !0, this._createSpinner();
351
- }, ne), !1) : (this._clearSpinnerVisibilityTimeout(), this._spinnerVisible = !1, !1);
352
- }
353
372
  _createSpinner() {
354
373
  const e = this.referenceElement;
355
- e && (this._removeSpinner(e), this._spinnerEl = V(a`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${this._getSpinnerTrackLocation()} .location=${this.viewModel?.pendingLocation ?? this.viewModel?.location ?? void 0} .referenceElement=${e} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
374
+ e && (this._removeSpinner(e), this._spinnerEl = Z(n`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel.open && this._spinnerVisible} .location=${this.viewModel?.pendingLocation ?? this.viewModel?.location ?? void 0} .referenceElement=${e} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
356
375
  }
357
376
  #e(e) {
358
377
  const t = e && "allActions" in e ? e : void 0, { selectedFeatureItem: i } = this.viewModel;
@@ -362,7 +381,7 @@ class oe extends z {
362
381
  return (t?.allActions ?? i?.allActions ?? (!e && this.viewModel.includeDefaultActions ? this.viewModel.defaultActions.concat(this.viewModel.actions) : this.viewModel.actions)).toArray().filter((r) => !(e && r.id === "browse-aggregated-features") && !(s && !this.location && r.id === this._zoomToFeature.id));
363
382
  }
364
383
  render() {
365
- return a`<div class="root">${this._renderContentContainer()}</div>`;
384
+ return n`<div class="root">${this._renderContentContainer()}</div>`;
366
385
  }
367
386
  _renderFeatureNavigation() {
368
387
  return [
@@ -371,57 +390,57 @@ class oe extends z {
371
390
  ];
372
391
  }
373
392
  _renderHeader() {
374
- return this.featureNavigationTop && this._featureNavigationVisible ? a`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>` : null;
393
+ return this.featureNavigationTop && this._featureNavigationVisible ? n`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>` : null;
375
394
  }
376
395
  _renderFooter() {
377
- return !this.featureNavigationTop && this._featureNavigationVisible ? a`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
396
+ return !this.featureNavigationTop && this._featureNavigationVisible ? n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
378
397
  }
379
398
  _renderFeaturePaginationText(e, t) {
380
399
  const { messages: i } = this;
381
- return a`<div class="pagination-text">${h(i.pageText ?? "", {
382
- index: C(t + 1),
383
- total: C(e)
400
+ return n`<div class="pagination-text">${h(i.pageText ?? "", {
401
+ index: b(t + 1),
402
+ total: b(e)
384
403
  })}</div>`;
385
404
  }
386
405
  _renderFeatureMenuButton() {
387
- const { messages: e, viewModel: t } = this, { featureCount: i, streamingFeatures: s, selectedFeatureIndex: n } = t;
388
- return a`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures ?? ""} .loading=${s} @click=${this._handlePaginationMenuButton} .text=${h(e.pageText ?? "", {
389
- index: C(n + 1),
390
- total: C(i)
406
+ const { messages: e, viewModel: t } = this, { featureCount: i, streamingFeatures: s, selectedFeatureIndex: a } = t;
407
+ return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures ?? ""} .loading=${s} @click=${this._handlePaginationMenuButton} .text=${h(e.pageText ?? "", {
408
+ index: b(a + 1),
409
+ total: b(i)
391
410
  })} text-enabled title=${e.showAllFeatures ?? "" ?? g}></calcite-action>`;
392
411
  }
393
412
  _renderPagination(e, t) {
394
413
  const { previous: i, next: s } = this.messages;
395
- return a`<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=${i ?? ""} @click=${e} .text=${i ?? ""} title=${i ?? "" ?? g}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${s ?? ""} @click=${t} .text=${s ?? ""} title=${s ?? "" ?? g}></calcite-action></calcite-action-group></calcite-action-bar>`;
414
+ return n`<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=${i ?? ""} @click=${e} .text=${i ?? ""} title=${i ?? "" ?? g}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${s ?? ""} @click=${t} .text=${s ?? ""} title=${s ?? "" ?? g}></calcite-action></calcite-action-group></calcite-action-bar>`;
396
415
  }
397
416
  _renderFeatureMenuItem(e) {
398
- const { initialDisplayMode: t } = this, { featureModels: i, selectedFeatureIndex: s } = this.viewModel, n = i[e], o = e === s;
399
- return a`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(e)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(e)} .selected=${o} @calciteListItemSelect=${() => this._selectFeature(e)}><span .innerHTML=${(w.sanitize(n?.heading ?? "") || (n?.state === "loading" ? this.messages.loading : this.messages.untitled)) ?? ""} slot=content></span>${t === "list" ? a`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
417
+ const { initialDisplayMode: t } = this, { featureModels: i, selectedFeatureIndex: s } = this.viewModel, a = i[e], o = a?.state === "ready" ? a.heading : "", r = e === s;
418
+ return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(e)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(e)} .selected=${r} @calciteListItemSelect=${() => this._selectFeature(e)}><span .innerHTML=${(w.sanitize(o) || (a?.state === "loading" ? this.messages.loading : this.messages.untitled)) ?? ""} slot=content></span>${t === "list" ? n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
400
419
  }
401
420
  _renderFeatureMenu() {
402
421
  const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
403
- return t.features.length ? a`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i, ([n, o]) => {
404
- const r = o.map((c) => this._renderFeatureMenuItem(c)), l = n ? n.title ?? this.messages.untitled : null;
405
- return !this.hideFeatureListLayerTitle && l !== null ? I(n ?? "map-graphics", a`<calcite-list-item-group .heading=${l}>${r}</calcite-list-item-group>`) : r;
422
+ return t.features.length ? n`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i, ([a, o]) => {
423
+ const r = o.map((d) => this._renderFeatureMenuItem(d)), l = a ? a.title ?? this.messages.untitled : null;
424
+ return !this.hideFeatureListLayerTitle && l !== null ? E(a ?? "map-graphics", n`<calcite-list-item-group .heading=${l}>${r}</calcite-list-item-group>`) : r;
406
425
  })}</calcite-list>` : null;
407
426
  }
408
427
  _renderHeaderAction(e) {
409
428
  const t = e.title || "";
410
- return e.visible ? a`<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 ?? g}></calcite-action>` : null;
429
+ return e.visible ? n`<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 ?? g}></calcite-action>` : null;
411
430
  }
412
431
  _renderHeaderActions() {
413
432
  return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
414
433
  }
415
434
  _renderContentFeature(e) {
416
- const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: n, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: c } = this, { active: d, selectedFeatureItem: f, content: M } = this.viewModel, p = this._getHeading();
435
+ const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: c, selectedFeatureItem: f, content: M } = this.viewModel, p = this._getHeading();
417
436
  if (r === "list" && !l)
418
437
  return null;
419
- const F = f ? !f.content : !M;
420
- return a`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(T({
438
+ const _ = !this._selectedFeaturePending && (f ? !f.content : !M);
439
+ return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
421
440
  "content-feature": !0,
422
441
  "flow-item-collapsed": s
423
- }))} .closable=${!i} .closed=${!d} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${n} .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} @keydown=${this._onMainKeydown} .heading=${!c && p ? b(p) : void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!c && p ? a`<div slot=heading><div .innerHTML=${w.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(T("container", "content-container", {
424
- "content-hidden": F
442
+ }))} .closable=${!i} .closed=${!c} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController || this._selectedFeatureLoading} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d && p ? C(p) : void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d && p ? n`<div slot=heading><div .innerHTML=${w.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(I("container", "content-container", {
443
+ "content-hidden": _
425
444
  }))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
426
445
  }
427
446
  _renderDiagnosticsRefineResults() {
@@ -429,74 +448,76 @@ class oe extends z {
429
448
  return t != null && "effectiveMaxZoom" in t.constraints && t.constraints.effectiveMaxZoom >= 0 && t.zoom >= t.constraints.effectiveMaxZoom ? e.maxRecordCountDescriptionRefineResultsMaxZoomLevel : e.maxRecordCountDescriptionRefineResults;
430
449
  }
431
450
  _renderDiagnosticsList(e) {
432
- const { messages: t } = this, i = Array.from(e, (s) => X(s) ?? t.untitled);
433
- return i.length ? a`<p>${t.maxRecordCountDescriptionWithLayerList}</p><ul>${i.map((s) => a`<li>${s}</li>`)}</ul><p>${this._renderDiagnosticsRefineResults()}</p>` : null;
451
+ const { messages: t } = this, i = Array.from(e, (s) => J(s) ?? t.untitled);
452
+ return i.length ? n`<p>${t.maxRecordCountDescriptionWithLayerList}</p><ul>${i.map((s) => n`<li>${s}</li>`)}</ul><p>${this._renderDiagnosticsRefineResults()}</p>` : null;
434
453
  }
435
454
  _renderDiagnosticsMultipleLayers() {
436
455
  const { messages: e } = this;
437
- return a`<p>${e.maxRecordCountDescriptionMultipleLayers}</p><p>${this._renderDiagnosticsRefineResults()}</p>`;
456
+ return n`<p>${e.maxRecordCountDescriptionMultipleLayers}</p><p>${this._renderDiagnosticsRefineResults()}</p>`;
438
457
  }
439
458
  _renderDiagnostics() {
440
459
  const { messages: e } = this, { diagnostics: t } = this.viewModel, i = t?.layerLimitExceeded;
441
- return i?.size ? a`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size <= ae ? this._renderDiagnosticsList(i) : this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>` : null;
460
+ return i?.size ? n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size <= ne ? this._renderDiagnosticsList(i) : this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>` : null;
442
461
  }
443
462
  _renderFeatureMenuContainer() {
444
- const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: c, featureNavigationTop: d, headingLevel: f } = this, { active: M, features: p, streamingFeatures: F } = e, $ = i ?? s.selectFeature, A = h(s.backLabel ?? "", {
463
+ const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: c, headingLevel: f } = this, { active: M, features: p, streamingFeatures: _ } = e, $ = i ?? s.selectFeature, A = h(s.backLabel ?? "", {
445
464
  title: this._selectedFeatureHeadingText
446
465
  });
447
- if (n === "feature" && !o)
466
+ if (a === "feature" && !o)
448
467
  return null;
449
- const L = !r;
450
- return a`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(T({
451
- "flow-item-collapsed": c
452
- }))} .closable=${!t} .closed=${!M} .collapsed=${n === "list" && c} .collapseDirection=${this.collapseDirection ?? (d ? "down" : "up")} .collapsible=${n === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : h(s.total ?? "", {
468
+ const O = !r;
469
+ return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
470
+ "flow-item-collapsed": d
471
+ }))} .closable=${!t} .closed=${!M} .collapsed=${a === "list" && d} .collapseDirection=${this.collapseDirection ?? (c ? "down" : "up")} .collapsible=${a === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : h(s.total ?? "", {
453
472
  total: p.length
454
- })} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForResult} .selected=${L} @calciteFlowItemBack=${(O) => {
455
- O.preventDefault(), this._handleFeatureMenuBack();
456
- }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${F ? a`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" aria-hidden=true ${m(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? a`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${A} title=${A ?? g}>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
473
+ })} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForResult} .selected=${O} @calciteFlowItemBack=${(N) => {
474
+ N.preventDefault(), this._handleFeatureMenuBack();
475
+ }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${a === "list" ? this._renderHeaderActions() : null}${_ ? n`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" aria-hidden=true ${m(this._featureMenuIntersectionObserverCreated)}></div>${a === "feature" ? n`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${A} title=${A ?? g}>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
457
476
  }
458
477
  _renderFlowItem(e, t) {
459
- const { hideCloseButton: i, active: s, hideHeading: n, hideSelectFeature: o, messages: r } = this, l = r.returnToInitialFeature ?? "", c = r?.selectFeature, d = "showAllEnabled" in e ? e.showAllEnabled : !1, f = e.flowType === "feature" || e.flowType === "feature-association" || e.flowType === "feature-relationship" && !d, p = e.flowType !== "feature" && f && "isFeatureFromTable" in e && !e.isFeatureFromTable && !o, F = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? a`<div class="footer" slot=footer>${this._renderPagination(() => {
478
+ const { hideCloseButton: i, active: s, hideHeading: a, hideSelectFeature: o, messages: r } = this, l = r.returnToInitialFeature ?? "", d = r?.selectFeature, c = "showAllEnabled" in e ? e.showAllEnabled : !1, f = e.flowType === "feature" || e.flowType === "feature-association" || e.flowType === "feature-relationship" && !c, p = e.flowType !== "feature" && f && "isFeatureFromTable" in e && !e.isFeatureFromTable && !o, _ = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? n`<div class="footer" slot=footer>${this._renderPagination(() => {
460
479
  this._aggregatedFeaturesComponent.value?.previous();
461
480
  }, () => {
462
481
  this._aggregatedFeaturesComponent.value?.next();
463
482
  })}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
464
- return a`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${b(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${n ? void 0 : b(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${($) => {
483
+ return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${C(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${a ? void 0 : C(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${($) => {
465
484
  $.preventDefault(), this._handleDrillInBackClick();
466
- }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${n ? null : a`<div slot=heading><div .innerHTML=${w.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${w.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? g}></calcite-action>${p ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${c ?? ""} title=${c ?? g}></calcite-action>` : null}${f && this._renderActionBar(e) || ""}<div class="container">${e}</div>${F}</calcite-flow-item>`;
485
+ }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${a ? null : n`<div slot=heading><div .innerHTML=${w.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${w.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? g}></calcite-action>${p ? n`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${d ?? ""} title=${d ?? g}></calcite-action>` : null}${f && this._renderActionBar(e) || ""}<div class="container">${e}</div>${_}</calcite-flow-item>`;
467
486
  }
468
487
  _renderContentContainer() {
469
- const e = this.flowItems?.toArray(), t = e.length > 0, i = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, s = i && e.length === 0, n = e.length === 0 && this._featureFlowItemSelected && !i, o = e?.map((c, d) => this._renderFlowItem(c, this._featureFlowItemSelected && d === e.length - 1)), r = this._renderBrowseAggregateContainer(!!s), l = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(n)] : [this._renderContentFeature(n), this._renderFeatureMenuContainer()];
470
- return a`<calcite-flow ${m(this._flowContainerNode)}>${l}${r}${o}</calcite-flow>`;
488
+ const e = this.flowItems?.toArray(), t = e.length > 0, i = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, s = i && e.length === 0, a = e.length === 0 && this._featureFlowItemSelected && !i, o = e?.map((d, c) => this._renderFlowItem(d, this._featureFlowItemSelected && c === e.length - 1)), r = this._renderBrowseAggregateContainer(!!s), l = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(a)] : [this._renderContentFeature(a), this._renderFeatureMenuContainer()];
489
+ return n`<calcite-flow ${m(this._flowContainerNode)}>${l}${r}${o}</calcite-flow>`;
471
490
  }
472
491
  _renderBrowseAggregateContainer(e) {
473
- const { hideCloseButton: t, active: i, messages: s } = this, { selectedFeature: n } = this.viewModel, o = this.viewModel.aggregatedFeaturesEnabled && n?.isAggregate, r = h(s.backLabel ?? "", {
492
+ const { hideCloseButton: t, active: i, messages: s } = this, { selectedFeature: a } = this.viewModel, o = this.viewModel.aggregatedFeaturesEnabled && a?.isAggregate, r = h(s.backLabel ?? "", {
474
493
  title: this._selectedFeatureHeadingText
475
494
  });
476
- return o ? a`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount ? h(s.total ?? "", {
495
+ return o ? n`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount ? h(s.total ?? "", {
477
496
  total: this._aggregatedFeatureCount
478
497
  }) : ""} .heading=${s.aggregatedFeatures} @calciteFlowItemBack=${(l) => {
479
498
  l.preventDefault(), this.viewModel.aggregatedFeaturesEnabled = !1;
480
499
  }} .messageOverrides=${{
481
500
  back: r
482
- }} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${n ?? void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .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=${s} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${m(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 ?? g}>${s.back}</calcite-button></calcite-flow-item>` : null;
501
+ }} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${a ?? void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .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=${s} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${m(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 ?? g}>${s.back}</calcite-button></calcite-flow-item>` : null;
483
502
  }
484
503
  _renderActionBar(e) {
485
504
  const t = this.#e(e), i = !!t.length || this._hasActionsStartSlotContent || this._hasActionsEndSlotContent, s = this._isCollapsed || this.hideActionBar || !i;
486
- return a`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s ? void 0 : "action-bar") ?? g} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions(t, e)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`;
505
+ return n`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s ? void 0 : "action-bar") ?? g} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions(t, e)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`;
487
506
  }
488
507
  _renderActions(e, t) {
489
508
  return e.map((i) => {
490
- const s = this._getActionTitle(i, t), n = this._getActionLabel(i, t);
491
- return a`<calcite-action .active=${i.type === "toggle" ? i.value : !1} .disabled=${i.disabled} .icon=${i.icon ?? void 0} .loading=${i.active} scale=s .textEnabled=${!this._hideActionText} .text=${s ?? ""} .label=${n ?? s} title=${n ?? s ?? g} .hidden=${!i.visible} @click=${() => this._triggerAction(i, t)}></calcite-action>`;
509
+ const s = this._getActionTitle(i, t), a = this._getActionLabel(i, t);
510
+ return n`<calcite-action .active=${i.type === "toggle" ? i.value : !1} .disabled=${i.disabled} .icon=${i.icon ?? void 0} .loading=${i.active} scale=s .textEnabled=${!this._hideActionText} .text=${s ?? ""} .label=${a ?? s} title=${a ?? s ?? g} .hidden=${!i.visible} @click=${() => this._triggerAction(i, t)}></calcite-action>`;
492
511
  });
493
512
  }
494
513
  _renderContent() {
495
- const { content: e, selectedFeatureItem: t, includeDefaultActions: i, actions: s } = this.viewModel;
496
- return t ? a`<arcgis-feature-next .actions=${s} .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} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .includeDefaultActions=${i} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${m(this._selectedFeatureComponent)}></arcgis-feature-next>` : typeof e == "string" ? I(e, a`<div .innerHTML=${w.sanitize(e) ?? ""}></div>`) : e ?? null;
514
+ const { content: e, selectedFeature: t, includeDefaultActions: i, actions: s } = this.viewModel;
515
+ return t ? n`<arcgis-feature-next .actions=${s} .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .includeDefaultActions=${i} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} @arcgisPropertyChange=${() => {
516
+ this._selectedFeatureViewModel = this._selectedFeatureComponent.value?.viewModel;
517
+ }} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${m(this._selectedFeatureComponent)}></arcgis-feature-next>` : typeof e == "string" ? E(e, n`<div .innerHTML=${w.sanitize(e) ?? ""}></div>`) : e ?? null;
497
518
  }
498
519
  }
499
- N("arcgis-features-next", oe);
520
+ P("arcgis-features-next", oe);
500
521
  export {
501
522
  oe as ArcgisFeaturesNext
502
523
  };
@@ -22,11 +22,13 @@ import type { LayerInfo, LegendModelState } from "@arcgis/core/legend/types.js";
22
22
  *
23
23
  * * Currently, the legend component does not support the following layer types:
24
24
  * [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/),
25
+ * [GeospatialPDFLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeospatialPDFLayer/),
25
26
  * [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/),
26
27
  * [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMeshLayer/),
27
28
  * [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer/),
28
29
  * [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer/),
29
30
  * [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OpenStreetMapLayer/),
31
+ * [SketchLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SketchLayer/),
30
32
  * [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/),
31
33
  * [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/), and
32
34
  * [WebTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WebTileLayer/).