@arcgis/map-components 5.2.0-next.85 → 5.2.0-next.87

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 (113) hide show
  1. package/dist/cdn/3IY3D62Z.js +2 -0
  2. package/dist/cdn/{YXA3DG4H.js → 3W4IH5LQ.js} +1 -1
  3. package/dist/cdn/5L5UYV3H.js +2 -0
  4. package/dist/cdn/6NGRUK5C.js +2 -0
  5. package/dist/cdn/BPHJ4VBC.js +2 -0
  6. package/dist/cdn/CFB4ZR5F.js +2 -0
  7. package/dist/cdn/D6MRDGUC.js +2 -0
  8. package/dist/cdn/EFUTKX2O.js +2 -0
  9. package/dist/cdn/{PNSES5YC.js → EGUVICJF.js} +1 -1
  10. package/dist/cdn/FXK4G4VK.js +2 -0
  11. package/dist/cdn/GNVPXNTX.js +2 -0
  12. package/dist/cdn/HTEIMRY6.js +2 -0
  13. package/dist/cdn/I2D75Q7M.js +2 -0
  14. package/dist/cdn/IMG5GOJB.js +2 -0
  15. package/dist/cdn/IOZ5U2X7.js +2 -0
  16. package/dist/cdn/K3N6NHJW.js +2 -0
  17. package/dist/cdn/KN4PG54T.js +2 -0
  18. package/dist/cdn/{56NINR5L.js → KNMMVZVV.js} +1 -1
  19. package/dist/cdn/M66G67OC.js +2 -0
  20. package/dist/cdn/MQX2F54G.js +2 -0
  21. package/dist/cdn/NFWFRHUT.js +2 -0
  22. package/dist/cdn/PCEAIDCB.js +2 -0
  23. package/dist/cdn/PMU2DO3P.js +2 -0
  24. package/dist/cdn/{LTGPFC6N.js → PWEF6IKF.js} +1 -1
  25. package/dist/cdn/{HWLBIEGO.js → RS5BEGC5.js} +1 -1
  26. package/dist/cdn/{K4V76SMR.js → TAIZWQYU.js} +1 -1
  27. package/dist/cdn/TCMRGJTC.js +2 -0
  28. package/dist/cdn/TPG3TU6B.js +2 -0
  29. package/dist/cdn/TSZ26CSX.js +2 -0
  30. package/dist/cdn/V4W4ZP6M.js +2 -0
  31. package/dist/cdn/XM2OBGXW.js +2 -0
  32. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  33. package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
  34. package/dist/cdn/index.js +1 -1
  35. package/dist/cdn/main.css +1 -1
  36. package/dist/chunks/constants2.js +6 -0
  37. package/dist/chunks/useArcgisViewReadyError.js +42 -27
  38. package/dist/components/arcgis-aggregated-features/customElement.js +0 -1
  39. package/dist/components/arcgis-bookmarks/customElement.js +0 -1
  40. package/dist/components/arcgis-feature-next/customElement.js +4 -4
  41. package/dist/components/arcgis-features/customElement.js +3 -3
  42. package/dist/components/arcgis-features-next/customElement.js +98 -86
  43. package/dist/components/arcgis-features-next/index.js +0 -1
  44. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  45. package/dist/components/arcgis-link-chart/customElement.d.ts +9 -5
  46. package/dist/components/arcgis-link-chart/customElement.js +24 -18
  47. package/dist/components/arcgis-map/customElement.d.ts +9 -5
  48. package/dist/components/arcgis-map/customElement.js +19 -13
  49. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +0 -2
  50. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +15 -16
  51. package/dist/components/arcgis-paste/customElement.js +0 -1
  52. package/dist/components/arcgis-popup/customElement.d.ts +7 -7
  53. package/dist/components/arcgis-popup/customElement.js +10 -13
  54. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +6 -0
  55. package/dist/components/arcgis-presentation/customElement.d.ts +8 -6
  56. package/dist/components/arcgis-presentation/customElement.js +206 -165
  57. package/dist/components/arcgis-presentation/index.js +2 -0
  58. package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
  59. package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
  60. package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
  61. package/dist/components/arcgis-scene/customElement.d.ts +9 -5
  62. package/dist/components/arcgis-scene/customElement.js +21 -15
  63. package/dist/components/arcgis-template-image/customElement.js +0 -1
  64. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  65. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +56 -0
  66. package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
  67. package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
  68. package/dist/components/arcgis-utility-network-picker/index.js +7 -0
  69. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +0 -1
  70. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +0 -1
  71. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +123 -140
  72. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +2 -1
  73. package/dist/components/arcgis-utility-network-trace-results/customElement.js +0 -2
  74. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +0 -2
  75. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +0 -2
  76. package/dist/components/arcgis-version-management-service-item/customElement.js +3 -4
  77. package/dist/components/arcgis-video/customElement.d.ts +5 -3
  78. package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
  79. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  80. package/dist/docs/api.json +1 -1
  81. package/dist/docs/docs.json +1 -1
  82. package/dist/docs/vscode.html-custom-data.json +1 -1
  83. package/dist/docs/web-types.json +1 -1
  84. package/dist/index.d.ts +10 -0
  85. package/dist/loader.js +4 -2
  86. package/dist/types/lumina.d.ts +9 -2
  87. package/dist/types/preact.d.ts +10 -2
  88. package/dist/types/react.d.ts +11 -2
  89. package/dist/types/stencil.d.ts +9 -2
  90. package/package.json +7 -7
  91. package/dist/cdn/42TPQKQZ.js +0 -2
  92. package/dist/cdn/4T6ECCFH.js +0 -2
  93. package/dist/cdn/4UBDCXSK.js +0 -2
  94. package/dist/cdn/6MEC4BFN.js +0 -2
  95. package/dist/cdn/AJ7XRBWN.js +0 -2
  96. package/dist/cdn/ARVN7QLQ.js +0 -2
  97. package/dist/cdn/BVDQQOCR.js +0 -2
  98. package/dist/cdn/DKBC3UMW.js +0 -2
  99. package/dist/cdn/DSIL7TYR.js +0 -2
  100. package/dist/cdn/G2PAKIMS.js +0 -2
  101. package/dist/cdn/JOOHHKWH.js +0 -2
  102. package/dist/cdn/KS5TQB2A.js +0 -2
  103. package/dist/cdn/NAQYIBE5.js +0 -2
  104. package/dist/cdn/NBYN44GP.js +0 -2
  105. package/dist/cdn/NGB5WVIG.js +0 -2
  106. package/dist/cdn/PBNP6WFU.js +0 -2
  107. package/dist/cdn/RDARV7HC.js +0 -2
  108. package/dist/cdn/RXAUCQQC.js +0 -2
  109. package/dist/cdn/S22ZRUS7.js +0 -2
  110. package/dist/cdn/SVOAX4K6.js +0 -2
  111. package/dist/cdn/TI4BX367.js +0 -2
  112. package/dist/cdn/W5WXJT7N.js +0 -2
  113. package/dist/cdn/YTC3XBSZ.js +0 -2
@@ -1,16 +1,17 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { html as u } from "lit";
3
- import { when as s, watch as r } from "@arcgis/core/core/reactiveUtils.js";
4
- import { GenericController as h, useDirection as c, makeGenericController as a } from "@arcgis/lumina/controllers";
5
- import { getSlotAssignedElements as m } from "@arcgis/toolkit/dom/slots";
6
- import { createRef as f } from "lit/directives/ref.js";
7
- import { c as E, S as d } from "./slots.js";
8
- import { createEvent as l } from "@arcgis/lumina";
9
- class C extends h {
2
+ import { html as c } from "lit";
3
+ import { when as a, watch as u } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { GenericController as m, useDirection as f, makeController as d, makeGenericController as l } from "@arcgis/lumina/controllers";
5
+ import { getSlotAssignedElements as E } from "@arcgis/toolkit/dom/slots";
6
+ import { createRef as b } from "lit/directives/ref.js";
7
+ import { c as w, S as g } from "./slots.js";
8
+ import { observeAncestorsMutation as v, unsafeGetCalciteModeName as P } from "@arcgis/toolkit/dom";
9
+ import { createEvent as h } from "@arcgis/lumina";
10
+ class V extends m {
10
11
  //#endregion
11
12
  //#region Lifecycle
12
13
  constructor(o) {
13
- super(o), this.direction = c(), this.popupRef = f(), this.slotGroupRefs = E(), this.attributionHeight = 0, this._uiContainer = null, this.component.listenOn(globalThis, "unhandledrejection", (t) => {
14
+ super(o), this.direction = f(), this.popupRef = b(), this.slotGroupRefs = w(), this.attributionHeight = 0, this._uiContainer = null, this.component.listenOn(globalThis, "unhandledrejection", (t) => {
14
15
  const e = t.reason;
15
16
  if (e?.name === "webgl:required") {
16
17
  const { name: i } = e;
@@ -22,11 +23,11 @@ class C extends h {
22
23
  //#region Private Methods
23
24
  hostLifecycle() {
24
25
  return [
25
- s(() => this.component.view.ready, () => {
26
+ a(() => this.component.view.ready, () => {
26
27
  this._assignDefaultPopup();
27
28
  }),
28
29
  // Close component popup when view popup is opened
29
- s(() => this.component.view.popup?.visible, () => {
30
+ a(() => this.component.view.popup?.visible, () => {
30
31
  this.popupElement?.open && (this.popupElement.open = !1);
31
32
  }),
32
33
  this.component.view.on(
@@ -44,8 +45,8 @@ class C extends h {
44
45
  async openPopup(o) {
45
46
  if (this._assignDefaultPopup(), this.closePopup(), this.popupElement) {
46
47
  await this.popupElement.componentOnReady(), this.popupElement.open = !0;
47
- const { fetchFeatures: t, shouldFocus: e, title: i, ...n } = o;
48
- delete o.fetchFeatures, Object.assign(this.popupElement, n), i !== void 0 && (this.popupElement.heading = i), e && await this.popupElement.setFocus(), t && this.popupElement.fetchFeatures();
48
+ const { fetchFeatures: t, shouldFocus: e, title: i, featureStream: n, promises: r, ...s } = o;
49
+ delete o.fetchFeatures, r && r.length > 0 && Object.assign(s, { promises: r }), Object.assign(this.popupElement, s), n && (this.popupElement.featureStream = n), i !== void 0 && (this.popupElement.heading = i), e && await this.popupElement.setFocus(), t && !n && await this.popupElement.fetchFeatures();
49
50
  } else
50
51
  await this.component.view.openPopup(o);
51
52
  }
@@ -73,29 +74,42 @@ class C extends h {
73
74
  async _handleOpenPopup(o) {
74
75
  if (this._assignDefaultPopup(), !this.component.popupDisabled) {
75
76
  if (this._maybeDisableViewPopup(), this.popupElement) {
76
- const { location: t, promises: e } = await this.popupElement?.handleViewClick(o) ?? {};
77
- e?.length ? this.openPopup({ location: t, promises: e }) : this.popupElement?.open && this.closePopup();
77
+ const t = { x: o.x, y: o.y }, e = this.component.view?.fetchPopupFeatures(t);
78
+ e ? await this.openPopup({ location: o.mapPoint, featureStream: e }) : this.popupElement?.open && this.closePopup();
78
79
  }
79
80
  this._maybeResetViewPopup();
80
81
  }
81
82
  }
82
83
  _handlePopupSlotChange(o) {
83
- const t = m(o.target, "arcgis-popup");
84
+ const t = E(o.target, "arcgis-popup");
84
85
  !this.popupElement && t.length ? this.popupElement = t[0] : t.length || (this.popupElement = void 0);
85
86
  }
86
87
  _webGLErrorAlert() {
87
- return this.webGLError ? u`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
88
+ return this.webGLError ? c`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
88
89
  }
89
90
  //#endregion
90
91
  //#region Rendering
91
92
  render() {
92
- return d({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (o) => this._handlePopupSlotChange(o), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
93
+ return g({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (o) => this._handlePopupSlotChange(o), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
93
94
  }
94
95
  }
95
- const R = a((p, o) => {
96
- const t = l();
96
+ function A(p) {
97
+ d((o, t) => {
98
+ const e = () => {
99
+ if (p.attributionMode !== "auto")
100
+ return;
101
+ const i = P(p.el);
102
+ p.view.attributionMode !== i && (p.view.attributionMode = i);
103
+ };
104
+ t.onLifecycle(() => (e(), v(p.el, ["class"], e))), t.onUpdate((i) => {
105
+ i.has("attributionMode") && p.attributionMode === "auto" && e();
106
+ });
107
+ });
108
+ }
109
+ const D = l((p, o) => {
110
+ const t = h();
97
111
  return o.onLifecycle(
98
- () => r(
112
+ () => u(
99
113
  () => {
100
114
  const { map: e } = p;
101
115
  if (!e || e.destroyed)
@@ -110,11 +124,11 @@ const R = a((p, o) => {
110
124
  }
111
125
  )
112
126
  ), t;
113
- }), G = a(
127
+ }), O = l(
114
128
  (p, o) => {
115
- const t = l();
129
+ const t = h();
116
130
  return o.onLifecycle(
117
- () => r(
131
+ () => u(
118
132
  () => p.view?.readyState,
119
133
  (e) => {
120
134
  (e === "map-content-error" || e === "rendering-error") && t.emit();
@@ -124,7 +138,8 @@ const R = a((p, o) => {
124
138
  }
125
139
  );
126
140
  export {
127
- C as U,
128
- G as a,
129
- R as u
141
+ V as U,
142
+ O as a,
143
+ A as b,
144
+ D as u
130
145
  };
@@ -1,7 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c } from "../../chunks/runtime.js";
3
3
  import { css as m, html as o } from "lit";
4
- import "@arcgis/core/core/Collection.js";
5
4
  import F from "@arcgis/core/popup/FeatureContent.js";
6
5
  import p from "@arcgis/core/Graphic.js";
7
6
  import _ from "@arcgis/core/symbols/SimpleFillSymbol.js";
@@ -8,7 +8,6 @@ import T from "@arcgis/core/core/Collection.js";
8
8
  import v from "@arcgis/core/core/Error.js";
9
9
  import A from "@arcgis/core/webdoc/support/SlideThumbnail.js";
10
10
  import O from "@arcgis/core/Viewpoint.js";
11
- import "@arcgis/core/WebMap.js";
12
11
  import { LitElement as z, createEvent as B, nothing as x, safeClassMap as L } from "@arcgis/lumina";
13
12
  import { H as N } from "../../chunks/heading.js";
14
13
  import V from "@arcgis/core/core/Accessor.js";
@@ -9,7 +9,7 @@ import { m as C } from "../../chunks/useViewModel.js";
9
9
  import { LitElement as b, createEvent as F, nothing as _, safeClassMap as L } from "@arcgis/lumina";
10
10
  import { substitute as T } from "@arcgis/core/intl.js";
11
11
  import { renderingSanitizer as A } from "@arcgis/core/applications/Components/sanitizerUtils.js";
12
- import { c as R, g as D, d as V, e as k, b as d, i as E, f as B } from "../../chunks/feature-utils.js";
12
+ import { c as R, g as D, d as E, e as V, b as d, i as k, f as B } from "../../chunks/feature-utils.js";
13
13
  import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
@@ -32,7 +32,7 @@ class S extends b {
32
32
  return D(this.graphic);
33
33
  }
34
34
  get fieldInfoMap() {
35
- return V(k(this.popupTemplate), this.sourceLayer);
35
+ return E(V(this.popupTemplate), this.sourceLayer);
36
36
  }
37
37
  get values() {
38
38
  return this.graphic?.attributes ?? {};
@@ -121,7 +121,7 @@ class S extends b {
121
121
  return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
122
122
  }
123
123
  _renderFields(e, t) {
124
- const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: s, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (E(g) || B(g) || g in a)), f = n?.expressionInfos, m = d({
124
+ const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: s, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (k(g) || B(g) || g in a)), f = n?.expressionInfos, m = d({
125
125
  values: a,
126
126
  fieldInfoMap: s,
127
127
  globalValues: l,
@@ -252,7 +252,7 @@ class S extends b {
252
252
  }
253
253
  _renderContentContainer() {
254
254
  const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: a, state: s, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
255
- return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item @calciteFlowItemBack=${(f) => {
255
+ return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${(f) => {
256
256
  f.preventDefault(), this._handleDrillInBackClick();
257
257
  }} .loading=${s === "loading"} .headingLevel=${a} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
258
258
  }
@@ -359,7 +359,7 @@ class te extends z {
359
359
  }
360
360
  _renderPagination() {
361
361
  const { previous: e, next: t } = this.messages;
362
- return a`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
362
+ return a`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
363
363
  }
364
364
  _renderFeatureMenuItem(e) {
365
365
  const { initialDisplayMode: t } = this, { selectedFeatureViewModel: s, featureViewModels: i } = this.viewModel, o = e === s, n = i.indexOf(e);
@@ -408,7 +408,7 @@ class te extends z {
408
408
  const { messages: s, hideCloseButton: i, hideSelectFeature: o, active: n, hideHeading: l } = this, c = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, f = c && !o, v = e.flowType === "feature-association", g = s.returnToInitialFeature ?? "", p = s?.selectFeature, w = this._getActionTitle(M), d = !this.hideActionBar && v && c;
409
409
  return a`<calcite-flow-item .closable=${!i} .closed=${!n} .description=${k(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${l ? void 0 : k(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(F) => {
410
410
  F.preventDefault(), this._handleDrillInBackClick();
411
- }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<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=${g ?? ""} title=${g ?? "" ?? h}></calcite-action>${f ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? h}></calcite-action>` : null}${d ? a`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon ?? void 0} .loading=${M.active} scale=s text-enabled .text=${w} title=${w ?? h} @click=${() => K(this.viewModel, M, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
411
+ }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<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=${g ?? ""} title=${g ?? "" ?? h}></calcite-action>${f ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? h}></calcite-action>` : null}${d ? a`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon ?? void 0} .loading=${M.active} scale=s text-enabled .text=${w} title=${w ?? h} @click=${() => K(this.viewModel, M, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
412
412
  }
413
413
  _renderContentContainer() {
414
414
  const e = this.flowItems?.toArray(), t = e?.map((i, o) => this._renderFlowItem(i, this._featureFlowItemSelected && o === e.length - 1)), s = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
@@ -416,7 +416,7 @@ class te extends z {
416
416
  }
417
417
  _renderActionBar() {
418
418
  const t = this.viewModel.selectedFeatureViewModel?.isFeatureFromTable && !this.location ? this.viewModel.allActions.filter((s) => s.id !== M.id) : this.viewModel.allActions;
419
- return !this._isCollapsed && !this.hideActionBar && t.length ? a`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
419
+ return !this._isCollapsed && !this.hideActionBar && t.length ? a`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
420
420
  }
421
421
  _renderActions() {
422
422
  return this.viewModel.allActions.toArray().map((e) => {