@arcgis/map-components 5.0.0-next.163 → 5.0.0-next.164

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 (79) hide show
  1. package/dist/cdn/{G4FP7GXM.js → 3UILDMTJ.js} +1 -1
  2. package/dist/cdn/3V6ZTS7B.js +2 -0
  3. package/dist/cdn/{ANP7PYGJ.js → 3XJU4K4Z.js} +1 -1
  4. package/dist/cdn/5KET4V4O.js +2 -0
  5. package/dist/cdn/7EW22PZD.js +2 -0
  6. package/dist/cdn/AAGYR4XM.js +2 -0
  7. package/dist/cdn/AZN2TGWK.js +2 -0
  8. package/dist/cdn/{NWXN5M4S.js → DPW55W6W.js} +1 -1
  9. package/dist/cdn/{SK6O74LF.js → DUHFQ4AI.js} +1 -1
  10. package/dist/cdn/{UNLAUFXF.js → F5I4VDXM.js} +1 -1
  11. package/dist/cdn/{R2FIOZIL.js → FUHAGBXL.js} +1 -1
  12. package/dist/cdn/{ESNK6MCY.js → IWXXD73F.js} +1 -1
  13. package/dist/cdn/{FD4A66OJ.js → KDJV5F4T.js} +1 -1
  14. package/dist/cdn/{SQFVC4KA.js → MJBV536L.js} +1 -1
  15. package/dist/cdn/MU6C77DZ.js +2 -0
  16. package/dist/cdn/NPEMOLA3.js +2 -0
  17. package/dist/cdn/{2AHY7O7C.js → POP5NTRI.js} +1 -1
  18. package/dist/cdn/SI3PITPE.js +2 -0
  19. package/dist/cdn/SU6ZGF4G.js +2 -0
  20. package/dist/cdn/W3AN7XLR.js +2 -0
  21. package/dist/cdn/{7NOD6U2Y.js → WUISNRWL.js} +1 -1
  22. package/dist/cdn/X25QBU47.js +2 -0
  23. package/dist/cdn/Z22BBNTK.js +2 -0
  24. package/dist/cdn/{YXYCWJFF.js → Z6LBCKKH.js} +1 -1
  25. package/dist/cdn/{AJ64UYFM.js → ZFATBY4D.js} +1 -1
  26. package/dist/cdn/index.js +1 -1
  27. package/dist/chunks/esri-main.js +1 -1
  28. package/dist/components/arcgis-directions/customElement.js +5 -5
  29. package/dist/components/arcgis-feature/customElement.js +6 -6
  30. package/dist/components/arcgis-feature-table/customElement.d.ts +57 -2
  31. package/dist/components/arcgis-feature-table/customElement.js +28 -13
  32. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -0
  33. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  34. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +16 -16
  35. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
  36. package/dist/components/arcgis-features/customElement.js +46 -52
  37. package/dist/components/arcgis-link-chart/customElement.js +10 -15
  38. package/dist/components/arcgis-map/customElement.js +1 -6
  39. package/dist/components/arcgis-paste/customElement.js +44 -44
  40. package/dist/components/arcgis-popup/customElement.js +4 -4
  41. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  42. package/dist/components/arcgis-print/customElement.js +7 -7
  43. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
  44. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  45. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  46. package/dist/components/arcgis-scene/customElement.js +8 -13
  47. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +12 -0
  48. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  49. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  50. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  51. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
  52. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
  53. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
  54. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
  55. package/dist/components/arcgis-utility-network-trace-location/customElement.js +17 -14
  56. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
  57. package/dist/components/arcgis-utility-network-trace-results/customElement.js +39 -26
  58. package/dist/docs/api.json +1 -1
  59. package/dist/docs/docs.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 +12 -12
  63. package/dist/types/lumina.d.ts +6 -6
  64. package/dist/types/preact.d.ts +6 -6
  65. package/dist/types/react.d.ts +6 -6
  66. package/dist/types/stencil.d.ts +6 -6
  67. package/package.json +4 -4
  68. package/dist/cdn/55TRWAT7.js +0 -2
  69. package/dist/cdn/BHPXKX47.js +0 -2
  70. package/dist/cdn/D4LTASH2.js +0 -2
  71. package/dist/cdn/H7O5I4IF.js +0 -2
  72. package/dist/cdn/I5M2Z7WS.js +0 -2
  73. package/dist/cdn/L6YZXUBB.js +0 -2
  74. package/dist/cdn/P7PWOUNZ.js +0 -2
  75. package/dist/cdn/Q4B4MXH4.js +0 -2
  76. package/dist/cdn/RN57AN5P.js +0 -2
  77. package/dist/cdn/URUFNID2.js +0 -2
  78. package/dist/cdn/WREEAAEV.js +0 -2
  79. package/dist/cdn/WTTBFFC2.js +0 -2
@@ -50,7 +50,7 @@ class q extends P {
50
50
  }, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, 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.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
51
51
  }
52
52
  static {
53
- this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, visible: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
53
+ this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
54
54
  }
55
55
  static {
56
56
  this.styles = G;
@@ -70,12 +70,6 @@ class q extends P {
70
70
  get _collapseEnabled() {
71
71
  return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureViewModel?.title) && !!(this.content || this.viewModel.selectedFeatureViewModel?.content));
72
72
  }
73
- get visible() {
74
- return this.viewModel.visible;
75
- }
76
- set visible(e) {
77
- this.viewModel.visible = e;
78
- }
79
73
  get chartAnimationDisabled() {
80
74
  return !(this.viewModel.featureViewModelAbilities?.chartAnimation ?? !0);
81
75
  }
@@ -125,10 +119,10 @@ class q extends P {
125
119
  this.viewModel.featureViewModelAbilities ??= {}, this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent = !e;
126
120
  }
127
121
  get open() {
128
- return this.visible;
122
+ return this.viewModel.visible;
129
123
  }
130
124
  set open(e) {
131
- this.visible = e;
125
+ this.viewModel.visible = e;
132
126
  }
133
127
  get selectedDrillInFeature() {
134
128
  const e = Array.from(this.flowItems).at(-1);
@@ -141,18 +135,18 @@ class q extends P {
141
135
  return this.viewModel.clear();
142
136
  }
143
137
  async close() {
144
- this.visible = !1;
138
+ this.open = !1;
145
139
  }
146
140
  async destroy() {
147
141
  await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
148
142
  }
149
143
  async fetchFeatures(e, t) {
150
144
  this._cancelFetchingFeatures();
151
- const i = new AbortController(), { signal: s } = i;
152
- if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
145
+ const i = new AbortController(), { signal: n } = i;
146
+ if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: n }), e = this.view.toScreen(this.location) ?? void 0), !e)
153
147
  return;
154
- const n = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
155
- this.location = n.location, this.promises = n.pendingFeatures;
148
+ const s = await this.viewModel.fetchFeatures(e, { signal: n, ...t });
149
+ this.location = s.location, this.promises = s.pendingFeatures;
156
150
  }
157
151
  async next() {
158
152
  return this.viewModel.next();
@@ -198,11 +192,11 @@ class q extends P {
198
192
  _groupResultsByLayer() {
199
193
  const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
200
194
  return e.forEach((i) => {
201
- const s = i?.graphic;
202
- if (!s)
195
+ const n = i?.graphic;
196
+ if (!n)
203
197
  return;
204
- const n = Z(s), a = W(n) ? n : null, l = t.get(a) ?? [];
205
- t.set(a, [...l, i]);
198
+ const s = Z(n), a = W(s) ? s : null, r = t.get(a) ?? [];
199
+ t.set(a, [...r, i]);
206
200
  }), t;
207
201
  }
208
202
  _handleCollapseToggle() {
@@ -212,12 +206,12 @@ class q extends P {
212
206
  this._cancelOpenRelatedFeature();
213
207
  const t = new AbortController();
214
208
  this._openRelatedFeatureAbortController = t, await e.updateGeometry();
215
- const i = e.graphic, s = i?.geometry;
216
- if (s == null || i == null)
209
+ const i = e.graphic, n = i?.geometry;
210
+ if (n == null || i == null)
217
211
  return;
218
- this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
219
- const n = K(s);
220
- n != null && (this.location = n), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
212
+ this._removeFlowItems(), await this.viewModel.zoomTo({ target: n });
213
+ const s = K(n);
214
+ s != null && (this.location = s), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
221
215
  }
222
216
  _handlePaginationMenuButton() {
223
217
  this._updateFeatureMenu();
@@ -260,8 +254,8 @@ class q extends P {
260
254
  this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
261
255
  }
262
256
  _getActionTitle(e) {
263
- const { messages: t, selectedFeature: i } = this, { id: s } = e, n = i?.attributes, a = e.title ?? "", l = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
264
- return l && n ? u(l, n) : l ?? "";
257
+ const { messages: t, selectedFeature: i } = this, { id: n } = e, s = i?.attributes, a = e.title ?? "", r = n === "zoom-to-feature" ? u(a, { messages: t }) : n === "remove-selected-feature" ? u(a, { messages: t }) : n === "zoom-to-clustered-features" ? u(a, { messages: t }) : n === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
258
+ return r && s ? u(r, s) : r ?? "";
265
259
  }
266
260
  _onMainKeydown(e) {
267
261
  const { key: t } = e;
@@ -271,14 +265,14 @@ class q extends P {
271
265
  this._featureMenuViewportNode && this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
272
266
  }
273
267
  _selectedFeatureIndexUpdated(e, t) {
274
- const { featureCount: i, waitingForResult: s } = this.viewModel;
275
- s || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
268
+ const { featureCount: i, waitingForResult: n } = this.viewModel;
269
+ n || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
276
270
  }
277
271
  _triggerAction(e) {
278
272
  this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
279
273
  }
280
274
  _viewChange() {
281
- this.viewModel.clear(), this.visible = !1;
275
+ this.viewModel.clear(), this.open = !1;
282
276
  }
283
277
  _closeOpenActionMenu() {
284
278
  const { _actionBarMenuNode: e } = this;
@@ -328,16 +322,16 @@ class q extends P {
328
322
  return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
329
323
  }
330
324
  _renderFeaturePaginationText() {
331
- const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
325
+ const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: n } = t;
332
326
  return o`<div class="pagination-text">${u(e.pageText ?? "", {
333
- index: M(s + 1),
327
+ index: M(n + 1),
334
328
  total: M(i)
335
329
  })}</div>`;
336
330
  }
337
331
  _renderFeatureMenuButton() {
338
- const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: n } = t;
339
- return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${n > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
340
- index: M(s + 1),
332
+ const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: n, pendingPromisesCount: s } = t;
333
+ return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${s > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
334
+ index: M(n + 1),
341
335
  total: M(i)
342
336
  })} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
343
337
  }
@@ -346,14 +340,14 @@ class q extends P {
346
340
  return o`<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 ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
347
341
  }
348
342
  _renderFeatureMenuItem(e) {
349
- const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, n = e === i, a = s.indexOf(e);
350
- return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${n} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
343
+ const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: n } = this.viewModel, s = e === i, a = n.indexOf(e);
344
+ return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${s} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
351
345
  }
352
346
  _renderFeatureMenu() {
353
- const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
354
- return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
355
- const a = i.get(n)?.map((r) => this._renderFeatureMenuItem(r)), l = n ? n.title ?? this.messages.untitled : null;
356
- return !this.hideFeatureListLayerTitle && l !== null ? F(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
347
+ const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), n = this.initialDisplayMode === "list" ? "none" : "single";
348
+ return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${n}>${Array.from(i.keys(), (s) => {
349
+ const a = i.get(s)?.map((l) => this._renderFeatureMenuItem(l)), r = s ? s.title ?? this.messages.untitled : null;
350
+ return !this.hideFeatureListLayerTitle && r !== null ? F(s ?? "map-graphics", o`<calcite-list-item-group .heading=${r}>${a}</calcite-list-item-group>`) : a;
357
351
  })}</calcite-list>` : null;
358
352
  }
359
353
  _renderHeaderAction(e) {
@@ -364,36 +358,36 @@ class q extends P {
364
358
  return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
365
359
  }
366
360
  _renderContentFeature() {
367
- const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
368
- if (l === "list" && !r)
361
+ const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: n, featureNavigationTop: s, flowItems: a, initialDisplayMode: r, selectedFeature: l, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
362
+ if (r === "list" && !l)
369
363
  return null;
370
- const _ = a.length === 0 && (l === "list" ? !!r : !p);
364
+ const _ = a.length === 0 && (r === "list" ? !!l : !p);
371
365
  return o`<calcite-flow-item class=${$(b({
372
366
  "content-feature": !0,
373
367
  "flow-item-collapsed": i
374
- }))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
368
+ }))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${s ? "down" : "up"} .collapsible=${n} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
375
369
  }
376
370
  _renderFeatureMenuContainer() {
377
- const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
378
- if (n === "feature" && !a)
371
+ const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: n, initialDisplayMode: s, featureMenuOpen: a, selectedFeature: r, _collapseEnabled: l, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? n.selectFeature;
372
+ if (s === "feature" && !a)
379
373
  return null;
380
- const V = n === "list" ? !l : a;
374
+ const V = s === "list" ? !r : a;
381
375
  return o`<calcite-flow-item class=${$(b({
382
376
  "flow-item-collapsed": p
383
- }))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
377
+ }))} .closable=${s === "list" && !t} .closed=${!_} .collapsed=${s === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${s === "list" && l} .description=${this.hideFeatureMenuHeading ? void 0 : u(n.total ?? "", {
384
378
  total: I.length
385
379
  })} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(D) => {
386
380
  D.preventDefault(), this._handleFeatureMenuBack();
387
- }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${T > 0 ? o`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
381
+ }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${T > 0 ? o`<calcite-loader class="loader" inline .label=${n.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${n.back}</calcite-button>` : null}</calcite-flow-item>`;
388
382
  }
389
383
  _renderFlowItem(e, t) {
390
- const { messages: i, hideCloseButton: s, active: n } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m);
391
- return o`<calcite-flow-item .closable=${!s} .closed=${!n} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(g) => {
384
+ const { messages: i, hideCloseButton: n, active: s } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, r = e.flowType === "feature-association", l = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m);
385
+ return o`<calcite-flow-item .closable=${!n} .closed=${!s} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(g) => {
392
386
  g.preventDefault(), this._handleDrillInBackClick();
393
- }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${l ? o`<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=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
387
+ }} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${r ? o`<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=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
394
388
  }
395
389
  _renderContentContainer() {
396
- const e = this.flowItems?.toArray(), t = e?.map((s, n) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && n === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
390
+ const e = this.flowItems?.toArray(), t = e?.map((n, s) => this._renderFlowItem(n, this.initialDisplayMode === "list" || !this.featureMenuOpen && s === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
397
391
  return o`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
398
392
  }
399
393
  _renderActionBar() {
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
2
  import { c as C } from "../../chunks/runtime.js";
3
- import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
3
+ import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
4
4
  import _ from "@arcgis/core/views/LinkChartView.js";
5
5
  import b from "@arcgis/core/WebLinkChart.js";
6
6
  import { LitElement as V, createEvent as p, safeClassMap as c } from "@arcgis/lumina";
@@ -164,19 +164,14 @@ class P extends V {
164
164
  loaded() {
165
165
  const i = this;
166
166
  i.el.childElem = this._mapRef.value, this.view.container ??= i.el.childElem, s.setLocalPublicMap(this, this._map), this.manager.onLifecycle(() => [
167
- h(() => this.map, (t) => {
167
+ n(() => this.map, (t) => {
168
168
  t && s.setLocalPrivateMap(this, t);
169
169
  }, { initial: !0, sync: !0 }),
170
- h(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
171
- h(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
172
- h(() => this.view.attributionHeight, (t) => {
170
+ n(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
171
+ n(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
172
+ n(() => this.view.attributionHeight, (t) => {
173
173
  this._uiController.handleAttributionHeightChange(t);
174
- }, { initial: !0 }),
175
- // Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
176
- // Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
177
- h(() => this.view.ready, () => {
178
- this.view.notifyChange("attributionHeight");
179
- })
174
+ }, { initial: !0 })
180
175
  ]);
181
176
  }
182
177
  willUpdate(i) {
@@ -192,14 +187,14 @@ class P extends V {
192
187
  if (this._serviceUrl && !this._baseCypherQuery) {
193
188
  const a = t();
194
189
  s.fetchKnowledgeGraph(this._serviceUrl).then((l) => {
195
- const n = new s.WebLinkChart(), o = new s.LinkChartLayer({
190
+ const h = new s.WebLinkChart(), o = new s.LinkChartLayer({
196
191
  url: l.url
197
192
  });
198
193
  o.load({
199
194
  signal: a?.signal
200
195
  });
201
196
  try {
202
- d(a.signal), n.add(o), this._setLinkChartAndZoom(n);
197
+ d(a.signal), h.add(o), this._setLinkChartAndZoom(h);
203
198
  } catch (w) {
204
199
  if (!g(w))
205
200
  throw w;
@@ -212,9 +207,9 @@ class P extends V {
212
207
  openCypherQuery: this._baseCypherQuery
213
208
  }), void 0, {
214
209
  signal: a?.signal
215
- }).then(async (n) => {
210
+ }).then(async (h) => {
216
211
  try {
217
- d(a.signal), this._setLinkChartAndZoom(n);
212
+ d(a.signal), this._setLinkChartAndZoom(h);
218
213
  } catch (o) {
219
214
  if (!g(o))
220
215
  throw o;
@@ -164,12 +164,7 @@ class R extends m {
164
164
  s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
165
165
  s(() => this.view.attributionHeight, (t) => {
166
166
  this._uiController.handleAttributionHeightChange(t);
167
- }, { initial: !0 }),
168
- // Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
169
- // Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
170
- s(() => this.view.ready, () => {
171
- this.view.notifyChange("attributionHeight");
172
- })
167
+ }, { initial: !0 })
173
168
  ]);
174
169
  }
175
170
  renderMain() {