@arcgis/map-components 6.0.0-next.0 → 6.0.0-next.1

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/{3TGYCCNJ.js → 24DOFGMG.js} +1 -1
  2. package/dist/cdn/3KZAH5OY.js +2 -0
  3. package/dist/cdn/{AKDB2XVJ.js → 5K54VOLZ.js} +1 -1
  4. package/dist/cdn/{JBHAJ6GW.js → 63FA3UEL.js} +1 -1
  5. package/dist/cdn/{BCCCO3CN.js → 7UWE25UH.js} +1 -1
  6. package/dist/cdn/{UHK5GFKQ.js → AENNGCAE.js} +1 -1
  7. package/dist/cdn/{7AHOPT65.js → BQKVSKYK.js} +1 -1
  8. package/dist/cdn/{3DPVKWFO.js → CROCDACG.js} +1 -1
  9. package/dist/cdn/H77SMV46.js +2 -0
  10. package/dist/cdn/{VYYFRZLI.js → IMPFB7YV.js} +1 -1
  11. package/dist/cdn/{FUQD5XQR.js → JRQYT5SI.js} +1 -1
  12. package/dist/cdn/{D7RGMPF3.js → NBDQBLRI.js} +1 -1
  13. package/dist/cdn/{NIUMOIYZ.js → QTOA5MBN.js} +1 -1
  14. package/dist/cdn/{2KP3MSHV.js → QWOOD63Q.js} +1 -1
  15. package/dist/cdn/R6HUY6QI.js +2 -0
  16. package/dist/cdn/RHNZWKZV.js +2 -0
  17. package/dist/cdn/{NZBID35V.js → RZQNEEP6.js} +1 -1
  18. package/dist/cdn/{HKGNXMRR.js → TNFZHEWD.js} +1 -1
  19. package/dist/cdn/TZ6WQV6O.js +2 -0
  20. package/dist/cdn/{KRVLKKXB.js → V2GMDCVJ.js} +1 -1
  21. package/dist/cdn/W3ENDJ6U.js +2 -0
  22. package/dist/cdn/WJZZ7SZO.js +2 -0
  23. package/dist/cdn/{KXGVE4NK.js → XJ6DZ6AN.js} +1 -1
  24. package/dist/cdn/{2JWHVMJ3.js → Y2UYA3OR.js} +1 -1
  25. package/dist/cdn/Z42QB2QP.js +2 -0
  26. package/dist/cdn/{3V3PYL2L.js → ZUAR3LO3.js} +1 -1
  27. package/dist/cdn/{N6QTPGCU.js → ZVZVHZYX.js} +1 -1
  28. package/dist/cdn/index.js +1 -1
  29. package/dist/cdn/main.css +1 -1
  30. package/dist/chunks/action-utils.js +7 -7
  31. package/dist/chunks/esri-main.js +1 -1
  32. package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
  33. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +13 -13
  34. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +29 -29
  35. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +1 -1
  36. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +7 -7
  37. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +16 -16
  38. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  39. package/dist/components/arcgis-feature-form-text/customElement.d.ts +7 -0
  40. package/dist/components/arcgis-feature-form-text/customElement.js +24 -0
  41. package/dist/components/arcgis-feature-form-text/index.d.ts +1 -0
  42. package/dist/components/arcgis-feature-form-text/index.js +1 -0
  43. package/dist/components/arcgis-feature-next/customElement.d.ts +14 -6
  44. package/dist/components/arcgis-feature-next/customElement.js +31 -31
  45. package/dist/components/arcgis-feature-relationship/customElement.js +69 -69
  46. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +21 -21
  47. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +15 -15
  48. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  49. package/dist/components/arcgis-features-next/customElement.js +9 -9
  50. package/dist/components/arcgis-layer-list-next/customElement.d.ts +9 -9
  51. package/dist/components/arcgis-layer-list-next/customElement.js +14 -14
  52. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  53. package/dist/components/arcgis-legend/customElement.js +1 -1
  54. package/dist/components/arcgis-link-chart/customElement.d.ts +7 -1
  55. package/dist/components/arcgis-map/customElement.d.ts +7 -1
  56. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
  57. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -4
  58. package/dist/components/arcgis-popup/customElement.d.ts +1 -1
  59. package/dist/components/arcgis-popup/customElement.js +10 -10
  60. package/dist/components/arcgis-scene/customElement.d.ts +7 -1
  61. package/dist/components/arcgis-table-list-next/customElement.d.ts +3 -3
  62. package/dist/components/arcgis-table-list-next/customElement.js +5 -5
  63. package/dist/components/arcgis-time-bar-slider/customElement.js +24 -23
  64. package/dist/docs/api.json +1 -1
  65. package/dist/docs/docs.json +1 -1
  66. package/dist/docs/vscode.css-custom-data.json +1 -1
  67. package/dist/docs/vscode.html-custom-data.json +1 -1
  68. package/dist/docs/web-types.json +1 -1
  69. package/dist/index.d.ts +4 -0
  70. package/dist/loader.js +5 -4
  71. package/dist/types/lumina.d.ts +6 -1
  72. package/dist/types/preact.d.ts +7 -1
  73. package/dist/types/react.d.ts +8 -1
  74. package/dist/types/stencil.d.ts +6 -1
  75. package/dist/utils/layer-list-utils.d.ts +2 -2
  76. package/package.json +6 -6
  77. package/dist/cdn/7R2TTA5R.js +0 -2
  78. package/dist/cdn/E7RFFMRP.js +0 -2
  79. package/dist/cdn/FDXRUZWU.js +0 -2
  80. package/dist/cdn/KJ6TWPZT.js +0 -2
  81. package/dist/cdn/NOIAW4P4.js +0 -2
  82. package/dist/cdn/QDXORLKV.js +0 -2
  83. package/dist/cdn/Z6AYJE6L.js +0 -2
  84. /package/dist/cdn/{XIYYT5SJ.js → YYCBU2CG.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as O } from "../../chunks/runtime.js";
3
- import { css as x, html as r } from "lit";
3
+ import { css as x, html as l } from "lit";
4
4
  import { keyed as d } from "lit/directives/keyed.js";
5
5
  import { repeat as k } from "lit/directives/repeat.js";
6
- import N from "@arcgis/core/layers/list/BasemapItemCollection.js";
6
+ import N from "@arcgis/core/layerList/BasemapLayerListModel.js";
7
7
  import y from "@arcgis/core/core/Collection.js";
8
8
  import { on as S, watch as U } from "@arcgis/core/core/reactiveUtils.js";
9
9
  import { LitElement as G, createEvent as L, renderElement as $, safeClassMap as f, nothing as I } from "@arcgis/lumina";
@@ -28,14 +28,14 @@ const p = {
28
28
  section: "section",
29
29
  editing: "editing",
30
30
  editingForm: "editing-form"
31
- }, le = x`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%;flex:1}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`, C = "nested", re = ".*\\S+.*", E = "data-basemap-layer-type", oe = K(N);
31
+ }, re = x`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%;flex:1}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`, C = "nested", le = ".*\\S+.*", E = "data-basemap-layer-type", oe = K(N);
32
32
  class ne extends G {
33
33
  constructor() {
34
34
  super(...arguments), this._baseListRef = m(), this._referenceListRef = m(), this._editTitleInputRef = m(), this._layerFlowItemRef = m(), this._panelFlowItemRef = m(), this._rootFlowItemRef = m(), this._editingFlowItemRef = m(), this._lastDragDetail = null, this._selectedDragItemLayerUid = null, this._rootGroupUid = `basemap-${j()}`, this._openedLayersController = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this._focusEditingFlowItem = !1, this.messages = J(), this.viewModel = oe(this), this.arcgisClose = z(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, i) => {
35
35
  const a = i === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, o = h(e, this._allItems);
36
36
  if (!o?.sortable)
37
37
  return !1;
38
- const l = h(t, this._allItems), n = F(t), c = h(s, this._allItems), g = F(s), _ = !!n && !!g && n === g, R = { selected: o, from: l, to: c }, A = t.group, P = s.group, B = l?.layer?.type ?? "", D = c?.layer?.type ?? "", v = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
38
+ const r = h(t, this._allItems), n = F(t), c = h(s, this._allItems), g = F(s), _ = !!n && !!g && n === g, R = { selected: o, from: r, to: c }, A = t.group, P = s.group, B = r?.layer?.type ?? "", D = c?.layer?.type ?? "", v = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
39
39
  return A && P && typeof a == "function" ? a(R) : _ && !v.has(B) && !v.has(D) && o.layer?.type !== "sublayer";
40
40
  }, this._onTriggerAction = (e, t) => {
41
41
  this.triggerAction(e, t);
@@ -71,7 +71,7 @@ class ne extends G {
71
71
  this.properties = { _activeItem: 16, _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, openedLayerLists: 16, _allItems: 16, _visibleBaseItems: 16, _visibleReferenceItems: 16, _openedPanelItems: 16, _totalBaseItems: 16, _totalReferenceItems: 16, _baseFilterEnabled: 16, _referenceFilterEnabled: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItemCreatedFunction: 0, baseItems: 32, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listModeDisabled: 5, mapImageOptions: 0, messageOverrides: 0, minFilterItems: 9, openedLayers: 32, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, tileOptions: 0, view: 0, visibilityAppearance: 1 };
72
72
  }
73
73
  static {
74
- this.styles = [te, le, se];
74
+ this.styles = [te, re, se];
75
75
  }
76
76
  get _allItems() {
77
77
  return this.referenceItems.concat(this.baseItems);
@@ -147,15 +147,15 @@ class ne extends G {
147
147
  if (a.aborted)
148
148
  return;
149
149
  s.removeAll(), s.addMany(o);
150
- const l = s.at(-1);
151
- l ? "catalogLayer" in l ? (this._catalogLayerList = l, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = l) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
150
+ const r = s.at(-1);
151
+ r ? "catalogLayer" in r ? (this._catalogLayerList = r, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = r) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
152
152
  }
153
153
  _destroyOpenedLayerLists() {
154
154
  this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
155
155
  }
156
156
  async _createCatalogLayerList(e) {
157
- const { headingLevel: t, catalogOptions: s, filterPlaceholder: i, minFilterItems: a, selectionMode: o, visibilityAppearance: l, layerTablesEnabled: n } = this;
158
- return $(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? a} .selectionMode=${s?.selectionMode ?? o} .visibilityAppearance=${s?.visibilityAppearance ?? l} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(c) => c.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
157
+ const { headingLevel: t, catalogOptions: s, filterPlaceholder: i, minFilterItems: a, selectionMode: o, visibilityAppearance: r, layerTablesEnabled: n } = this;
158
+ return $(l`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? a} .selectionMode=${s?.selectionMode ?? o} .visibilityAppearance=${s?.visibilityAppearance ?? r} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(c) => c.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
159
159
  }
160
160
  _getTableListParams(e) {
161
161
  switch (e.type) {
@@ -171,16 +171,16 @@ class ne extends G {
171
171
  }
172
172
  async _createTableList(e) {
173
173
  const t = this._getTableListParams(e);
174
- return $(r`<arcgis-table-list-next .headingLevel=${t?.headingLevel ?? this.headingLevel} .selectionMode=${t?.selectionMode ?? this.selectionMode} .dragEnabled=${t?.dragEnabled ?? this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon ?? void 0} .label=${t?.label ?? void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(s) => s.stopPropagation()}></arcgis-table-list-next>`);
174
+ return $(l`<arcgis-table-list-next .headingLevel=${t?.headingLevel ?? this.headingLevel} .selectionMode=${t?.selectionMode ?? this.selectionMode} .dragEnabled=${t?.dragEnabled ?? this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon ?? void 0} .label=${t?.label ?? void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(s) => s.stopPropagation()}></arcgis-table-list-next>`);
175
175
  }
176
176
  _handlePanelFlowItemBack(e) {
177
177
  e.open = !1, this._focusRootFlowItem = !0;
178
178
  }
179
179
  _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: i }) {
180
- const a = h(s, this._allItems), o = e.hasAttribute("data-item") ? h(e, this._allItems) : null, l = t.hasAttribute("data-item") ? h(t, this._allItems) : null, n = M(t), c = M(e);
180
+ const a = h(s, this._allItems), o = e.hasAttribute("data-item") ? h(e, this._allItems) : null, r = t.hasAttribute("data-item") ? h(t, this._allItems) : null, n = M(t), c = M(e);
181
181
  i == null || !a || !n || !c || (this.viewModel.moveItem({
182
182
  targetItem: a,
183
- fromParentItem: l,
183
+ fromParentItem: r,
184
184
  toParentItem: o,
185
185
  newIndex: i,
186
186
  from: n,
@@ -196,8 +196,8 @@ class ne extends G {
196
196
  a == null || !t || !i || t.insertBefore(i, t.children[a]);
197
197
  }
198
198
  _onCalciteListOrderChange(e) {
199
- const { _lastDragDetail: t } = this, { toEl: s, fromEl: i, dragEl: a, newIndex: o } = e, l = t?.newIndex === o && t?.dragEl === a && t?.toEl === s && t?.fromEl === i;
200
- if (!i || !s || l)
199
+ const { _lastDragDetail: t } = this, { toEl: s, fromEl: i, dragEl: a, newIndex: o } = e, r = t?.newIndex === o && t?.dragEl === a && t?.toEl === s && t?.fromEl === i;
200
+ if (!i || !s || r)
201
201
  return;
202
202
  this._lastDragDetail = e, this._selectedDragItemLayerUid = a.value.layer?.uid ?? null;
203
203
  const n = i, c = s;
@@ -231,10 +231,10 @@ class ne extends G {
231
231
  [b.hidden]: this.state === "loading",
232
232
  [b.disabled]: this.state === "disabled"
233
233
  };
234
- return r`<div class=${f(q(b.widget, b.panel, e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`;
234
+ return l`<div class=${f(q(b.widget, b.panel, e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`;
235
235
  }
236
236
  _renderItemTooltip(e) {
237
- return e ? r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid ?? "")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>` : null;
237
+ return e ? l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid ?? "")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>` : null;
238
238
  }
239
239
  _renderItemTooltipNodes(e) {
240
240
  if (e.incompatible)
@@ -246,25 +246,25 @@ class ne extends G {
246
246
  return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map((e) => this._renderItemTooltipNodes(e));
247
247
  }
248
248
  _renderNoLayersInfoMessage(e) {
249
- return r`<div slot=message>${e}</div>`;
249
+ return l`<div slot=message>${e}</div>`;
250
250
  }
251
251
  _renderNoLayersInfo(e, t) {
252
- return this.hideNoItemsNotice ? null : r`<div class=${f(p.itemMessage)}>${d(t, r`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`;
252
+ return this.hideNoItemsNotice ? null : l`<div class=${f(p.itemMessage)}>${d(t, l`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`;
253
253
  }
254
254
  _renderEditingInput() {
255
- return r`<div class=${f(p.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${re} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle ?? I} type=text .value=${this.viewModel.basemapTitle ?? void 0} ${u(this._editTitleInputRef)}></calcite-input></calcite-label></div>`;
255
+ return l`<div class=${f(p.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${le} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle ?? I} type=text .value=${this.viewModel.basemapTitle ?? void 0} ${u(this._editTitleInputRef)}></calcite-input></calcite-label></div>`;
256
256
  }
257
257
  _renderEditingForm() {
258
- return this.editingTitle ? r`<calcite-flow-item .heading=${this.hideHeading ? void 0 : this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemBack=${(e) => {
258
+ return this.editingTitle ? l`<calcite-flow-item .heading=${this.hideHeading ? void 0 : this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemBack=${(e) => {
259
259
  e.preventDefault(), this._toggleEditingTitle();
260
260
  }} ${u(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item>` : null;
261
261
  }
262
262
  _renderEditTitleButton() {
263
- return this.showEditTitleButton && !this.editingTitle ? r`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit ?? ""} title=${this.messages.edit ?? I}></calcite-action>` : null;
263
+ return this.showEditTitleButton && !this.editingTitle ? l`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit ?? ""} title=${this.messages.edit ?? I}></calcite-action>` : null;
264
264
  }
265
265
  _renderItems() {
266
266
  const e = [
267
- d("root-flow-item", r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading ? void 0 : this.viewModel.basemapTitle ?? this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle && !this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemClose=${() => {
267
+ d("root-flow-item", l`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading ? void 0 : this.viewModel.basemapTitle ?? this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle && !this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemClose=${() => {
268
268
  this.closed = !0;
269
269
  }} ${u(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),
270
270
  this._renderEditingForm(),
@@ -272,20 +272,20 @@ class ne extends G {
272
272
  this._renderedOpenLayerFlowItems
273
273
  ];
274
274
  this._focusRootFlowItem = this._focusFlowItem(this._rootFlowItemRef.value, this._focusRootFlowItem), this._focusEditingFlowItem = this._focusFlowItem(this._editingFlowItemRef.value, this._focusEditingFlowItem);
275
- const t = d("root-flow", r`<calcite-flow>${e}</calcite-flow>`);
276
- return this.closed ? null : this.editingTitle ? r`<form class=${f(p.editingForm)} @submit=${this._formSubmit}>${t}</form>` : t;
275
+ const t = d("root-flow", l`<calcite-flow>${e}</calcite-flow>`);
276
+ return this.closed ? null : this.editingTitle ? l`<form class=${f(p.editingForm)} @submit=${this._formSubmit}>${t}</form>` : t;
277
277
  }
278
278
  _renderPanelFlowItems() {
279
279
  return k(this._openedPanelItems.toArray(), (e) => e.uid, (e, t) => {
280
280
  const { panel: s, title: i } = e, a = () => this._handlePanelFlowItemBack(s);
281
- return this._focusPanelFlowItem = this._focusFlowItem(this._panelFlowItemRef.value, this._focusPanelFlowItem), r`<calcite-flow-item .description=${i} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(o) => {
281
+ return this._focusPanelFlowItem = this._focusFlowItem(this._panelFlowItemRef.value, this._focusPanelFlowItem), l`<calcite-flow-item .description=${i} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(o) => {
282
282
  o.preventDefault(), a();
283
283
  }} ${u(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
284
284
  });
285
285
  }
286
286
  _renderLayerFlowItem(e, t) {
287
287
  const s = e.title || this.messages.untitledLayer;
288
- return this._focusLayerFlowItem === e.uid && (this._focusLayerFlowItem = this._focusFlowItem(this._layerFlowItemRef.value, !0) ? e.uid : null), d(e.uid, r`<calcite-flow-item data-layer-uid=${e.uid ?? I} .description=${s} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(i) => {
288
+ return this._focusLayerFlowItem === e.uid && (this._focusLayerFlowItem = this._focusFlowItem(this._layerFlowItemRef.value, !0) ? e.uid : null), d(e.uid, l`<calcite-flow-item data-layer-uid=${e.uid ?? I} .description=${s} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(i) => {
289
289
  i.preventDefault(), this.openedLayers.pop();
290
290
  const a = this.openedLayers.at(-1);
291
291
  a ? this._focusLayerFlowItem = a.uid : this._focusRootFlowItem = !0;
@@ -293,10 +293,10 @@ class ne extends G {
293
293
  }
294
294
  _renderList(e, t, s) {
295
295
  const i = t === "reference" ? this._referenceFilterEnabled : this._baseFilterEnabled, a = t === "reference" ? this.referenceFilterText : this.baseFilterText, o = (t === "reference" ? this.messages.noReferenceLayers : this.messages.noBaseLayers) ?? this.messages.noItemsToDisplay ?? "";
296
- return d(`block-${t}`, r`<calcite-block class=${f(p.section)} expandable expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(o, t)}${d(`list-${t}`, r`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(l) => this._canMove(l, "pull")} .canPut=${(l) => this._canMove(l, "put")} data-basemap-layer-type=${t ?? I} data-layer-type=${this._rootGroupUid ?? I} .displayMode=${C} .dragEnabled=${this.dragEnabled} .filterEnabled=${i} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${Z} .filterText=${i ? a : ""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel ?? ""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(l) => this._handleCalciteListDragEnd(l.detail)} @calciteListFilter=${(l) => {
297
- const n = l.currentTarget?.filterText ?? "";
296
+ return d(`block-${t}`, l`<calcite-block class=${f(p.section)} expandable expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(o, t)}${d(`list-${t}`, l`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(r) => this._canMove(r, "pull")} .canPut=${(r) => this._canMove(r, "put")} data-basemap-layer-type=${t ?? I} data-layer-type=${this._rootGroupUid ?? I} .displayMode=${C} .dragEnabled=${this.dragEnabled} .filterEnabled=${i} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${Z} .filterText=${i ? a : ""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel ?? ""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(r) => this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${(r) => {
297
+ const n = r.currentTarget?.filterText ?? "";
298
298
  this[t === "reference" ? "referenceFilterText" : "baseFilterText"] = n, t === "base" ? this.arcgisBaseFilterChange.emit() : this.arcgisReferenceFilterChange.emit();
299
- }} @calciteListOrderChange=${(l) => this._onCalciteListOrderChange(l.detail)} ${u(t === "reference" ? this._referenceListRef : this._baseListRef)}>${e?.toArray().map((l) => this._renderItem(l, s))}${i && !this.hideNoFilterResultsNotice ? r`<div class=${f(p.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>` : null}</calcite-list>`)}</calcite-block>`);
299
+ }} @calciteListOrderChange=${(r) => this._onCalciteListOrderChange(r.detail)} ${u(t === "reference" ? this._referenceListRef : this._baseListRef)}>${e?.toArray().map((r) => this._renderItem(r, s))}${i && !this.hideNoFilterResultsNotice ? l`<div class=${f(p.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>` : null}</calcite-list>`)}</calcite-block>`);
300
300
  }
301
301
  _renderBaseSection() {
302
302
  return this.hideBaseLayers ? null : this._renderList(this._visibleBaseItems, "base", this._visibleBaseItems.length === 1);
@@ -1,7 +1,7 @@
1
1
  import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
2
2
  import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
3
3
  import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
4
- import type LayerItem from "@arcgis/core/layers/list/Item.js";
4
+ import type LayerItem from "@arcgis/core/layerList/Item.js";
5
5
  import type TileLayer from "@arcgis/core/layers/TileLayer.js";
6
6
  import type { ArcgisCatalogLayerListNext } from "../arcgis-catalog-layer-list-next/customElement.js";
7
7
  import type { CatalogLayerListOptions } from "../arcgis-catalog-layer-list-next/types.js";
@@ -1,16 +1,16 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type Collection from "@arcgis/core/core/Collection.js";
3
3
  import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
4
- import type Item from "@arcgis/core/layers/list/Item.js";
4
+ import type Item from "@arcgis/core/layerList/Item.js";
5
+ import type { CatalogLayerListModelEvents } from "@arcgis/core/layerList/CatalogLayerListModel.js";
5
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
7
  import type { VisibilityAppearance } from "../../utils/action-utils.js";
7
8
  import type { setFilterPredicate } from "../../utils/layer-list-utils.js";
8
9
  import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
9
10
  import type { CatalogLayerListMessageOverrides, CatalogLayerListOptions, FlowLayer, FlowList } from "./types.js";
10
- import type { CatalogLayerListViewModelEvents } from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
11
11
  import type { TableListProperties } from "@arcgis/core/widgets/TableList.js";
12
12
  import type { T9nMeta } from "@arcgis/lumina/controllers";
13
- import type { ItemModifier, State } from "@arcgis/core/layers/list/types.js";
13
+ import type { ItemModifier, State } from "@arcgis/core/layerList/types.js";
14
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
15
15
 
16
16
  /**
@@ -23,7 +23,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
23
23
  * The component displays a list of layers in the [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer)
24
24
  * and allows you to toggle their visibility.
25
25
  *
26
- * The [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) API provides access to each layer's properties, allows
26
+ * The [Item](https://developers.arcgis.com/javascript/latest/references/core/layerList/Item/) API provides access to each layer's properties, allows
27
27
  * the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
28
28
  *
29
29
  * @since 5.2
@@ -90,7 +90,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
90
90
  */
91
91
  accessor autoDestroyDisabled: boolean;
92
92
  /**
93
- * A collection of [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) representing the CatalogLayer's
93
+ * A collection of [items](https://developers.arcgis.com/javascript/latest/references/core/layerList/Item/) representing the CatalogLayer's
94
94
  * [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer).
95
95
  *
96
96
  * @example
@@ -406,7 +406,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
406
406
  */
407
407
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
408
408
  /**
409
- * A collection of selected [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) in the list. This collection is updated when the user changes selection and is only populated when [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/#selectionMode) is not set to `"none"`.
409
+ * A collection of selected [items](https://developers.arcgis.com/javascript/latest/references/core/layerList/Item/) in the list. This collection is updated when the user changes selection and is only populated when [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/#selectionMode) is not set to `"none"`.
410
410
  *
411
411
  * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/#selectionMode)
412
412
  * @example
@@ -577,7 +577,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
577
577
  /** Emitted when the collection of [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/#selectedItems) changes. */
578
578
  readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
579
579
  /** Emitted when an action is triggered on the component. */
580
- readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, CatalogLayerListViewModelEvents["trigger-action"]>;
580
+ readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, CatalogLayerListModelEvents["trigger-action"]>;
581
581
  readonly "@eventTypes": {
582
582
  arcgisCatalogItemsChange: ArcgisCatalogLayerListNext["arcgisCatalogItemsChange"]["detail"];
583
583
  arcgisFilterChange: ArcgisCatalogLayerListNext["arcgisFilterChange"]["detail"];
@@ -6,8 +6,8 @@ import { keyed as I } from "lit/directives/keyed.js";
6
6
  import { createReactiveMap as C } from "@arcgis/core/applications/Components/featureUtils.js";
7
7
  import u from "@arcgis/core/core/Collection.js";
8
8
  import { on as L, watch as R } from "@arcgis/core/core/reactiveUtils.js";
9
- import N from "@arcgis/core/layers/list/CatalogItemCollection.js";
10
- import x from "@arcgis/core/layers/list/Item.js";
9
+ import N from "@arcgis/core/layerList/CatalogLayerListModel.js";
10
+ import x from "@arcgis/core/layerList/Item.js";
11
11
  import { LitElement as D, createEvent as d, renderElement as M, safeClassMap as b, nothing as _ } from "@arcgis/lumina";
12
12
  import { usePropertyChange as k } from "@arcgis/lumina/controllers";
13
13
  import { reEmitEvent as B } from "@arcgis/lumina-toolkit/reEmitEvent";
@@ -35,9 +35,9 @@ class se extends D {
35
35
  return;
36
36
  const t = Array.from(e.composedPath()).find((s) => s.classList?.contains(m.item));
37
37
  this._activeItem = T(t);
38
- }, this.#a = C(), this.#s = C(), this.#c = (e) => {
38
+ }, this.#a = C(), this.#s = C(), this.#h = (e) => {
39
39
  e && this.#b(e);
40
- }, this.#h = (e) => {
40
+ }, this.#c = (e) => {
41
41
  e && this.#L(e);
42
42
  }, this.#d = (e) => {
43
43
  e && this.#v(e);
@@ -58,8 +58,8 @@ class se extends D {
58
58
  #n;
59
59
  #a;
60
60
  #s;
61
- #c;
62
61
  #h;
62
+ #c;
63
63
  #d;
64
64
  get _totalItems() {
65
65
  return this.catalogItems?.flatten((e) => e.children.filter((t) => t.layer?.type !== "catalog-dynamic-group")).length ?? 0;
@@ -123,8 +123,8 @@ class se extends D {
123
123
  const { openedLayers: e, openedLayerLists: t } = this;
124
124
  this.#e?.abort();
125
125
  const s = new AbortController(), { signal: a } = s;
126
- this.#e = s, this.#s.forEach((r, c) => {
127
- e.includes(c) || (r?.destroy?.(), this.#s.delete(c));
126
+ this.#e = s, this.#s.forEach((r, h) => {
127
+ e.includes(h) || (r?.destroy?.(), this.#s.delete(h));
128
128
  });
129
129
  const o = await Promise.all(e.map((r) => this.#y(r, a)));
130
130
  if (a.aborted || !this.isConnected || this.#t)
@@ -146,8 +146,8 @@ class se extends D {
146
146
  this._focusLayerFlowItem === e.dataset.layerUid && (this._focusLayerFlowItem = null, v(e));
147
147
  }
148
148
  async #$(e) {
149
- const { headingLevel: t, catalogOptions: s, view: a, referenceElement: o, filterPlaceholder: i, listItemCreatedFunction: l, minFilterItems: r, selectionMode: c, visibilityAppearance: h } = this;
150
- return M(n`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? l} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? c} .visibilityAppearance=${s?.visibilityAppearance ?? h} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(y) => y.stopPropagation()} .catalogLayer=${e} .view=${a} .referenceElement=${o} @catalogOpen=${this.#p} @tablesOpen=${this.#m}></arcgis-catalog-layer-list-next>`);
149
+ const { headingLevel: t, catalogOptions: s, view: a, referenceElement: o, filterPlaceholder: i, listItemCreatedFunction: l, minFilterItems: r, selectionMode: h, visibilityAppearance: c } = this;
150
+ return M(n`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? l} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? h} .visibilityAppearance=${s?.visibilityAppearance ?? c} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(y) => y.stopPropagation()} .catalogLayer=${e} .view=${a} .referenceElement=${o} @catalogOpen=${this.#p} @tablesOpen=${this.#m}></arcgis-catalog-layer-list-next>`);
151
151
  }
152
152
  #F(e) {
153
153
  switch (e.type) {
@@ -227,14 +227,14 @@ class se extends D {
227
227
  const { _openedPanelItems: e, openedLayers: t } = this;
228
228
  return A(e.toArray(), ({ uid: s }) => s, (s, a) => {
229
229
  const { uid: o, title: i, panel: l } = s, r = () => this.#I(l);
230
- return n`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && a === e.length - 1} @calciteFlowItemBack=${(c) => {
231
- c.preventDefault(), r();
232
- }} ${g(this.#c)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${r}>Back</calcite-button></calcite-flow-item>`;
230
+ return n`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && a === e.length - 1} @calciteFlowItemBack=${(h) => {
231
+ h.preventDefault(), r();
232
+ }} ${g(this.#h)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${r}>Back</calcite-button></calcite-flow-item>`;
233
233
  });
234
234
  }
235
235
  #R() {
236
- const { collapsed: e, _visibleItems: t, _filterEnabled: s, showCloseButton: a, showCollapseButton: o, showHeading: i, selectionMode: l, filterText: r, filterPlaceholder: c, openedLayers: h, _openedPanelItems: y } = this, $ = this.#l, F = this.label ?? this.messages.componentLabel ?? "", E = [
237
- n`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${i ? F : void 0} .headingLevel=${this.headingLevel} .selected=${!h.length && !y.length} @calciteFlowItemClose=${() => this.closed = !0} ${g(this.#h)}>${t?.length ? n`<calcite-list data-layer-type=${$ ?? _} .displayMode=${P} .filterEnabled=${s} .filterPlaceholder=${c} .filterProps=${J} .filterText=${s ? r : ""} .group=${$} .label=${F} @focusin=${this.#n} @focusout=${this.#r} selection-appearance=border .selectionMode=${l} @calciteListChange=${this.#T} @calciteListFilter=${(w) => {
236
+ const { collapsed: e, _visibleItems: t, _filterEnabled: s, showCloseButton: a, showCollapseButton: o, showHeading: i, selectionMode: l, filterText: r, filterPlaceholder: h, openedLayers: c, _openedPanelItems: y } = this, $ = this.#l, F = this.label ?? this.messages.componentLabel ?? "", E = [
237
+ n`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${i ? F : void 0} .headingLevel=${this.headingLevel} .selected=${!c.length && !y.length} @calciteFlowItemClose=${() => this.closed = !0} ${g(this.#c)}>${t?.length ? n`<calcite-list data-layer-type=${$ ?? _} .displayMode=${P} .filterEnabled=${s} .filterPlaceholder=${h} .filterProps=${J} .filterText=${s ? r : ""} .group=${$} .label=${F} @focusin=${this.#n} @focusout=${this.#r} selection-appearance=border .selectionMode=${l} @calciteListChange=${this.#T} @calciteListFilter=${(w) => {
238
238
  this.filterText = w.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
239
239
  }} @mouseleave=${this.#r} @mouseover=${this.#n} ${g(this.#o)}>${t.toArray().map((w) => this.#x(w))}${s && !this.hideNoFilterResultsNotice ? n`<div class=${b(m.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#f()}</calcite-notice></div>` : null}</calcite-list>` : this.#O()}</calcite-flow-item>`,
240
240
  this.#A(),
@@ -251,8 +251,8 @@ class se extends D {
251
251
  }} ${g(this.#d)}>${this.#s.get(e)}</calcite-flow-item>`);
252
252
  }
253
253
  #x(e, t, s) {
254
- const { hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: c, showTemporaryLayerIndicators: h } = this;
255
- return I(e.uid, K({ activeItem: this._activeItem ?? void 0, css: { ...m, itemCatalogIcon: m.itemActionIcon }, displayMode: P, dragEnabled: !1, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, parent: t, parentTitles: s, rootGroupUid: this.#l, selectedItems: this.selectedItems, selectionMode: this.selectionMode, visibilityAppearance: this.visibilityAppearance, hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: c, showTemporaryLayerIndicators: h, handleAction: this.#_.bind(this), handleCatalogOpen: this.#p.bind(this), handleTablesOpen: this.#m.bind(this), handleTooltipReferenceChange: this.#M.bind(this), view: this.view }));
254
+ const { hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: h, showTemporaryLayerIndicators: c } = this;
255
+ return I(e.uid, K({ activeItem: this._activeItem ?? void 0, css: { ...m, itemCatalogIcon: m.itemActionIcon }, displayMode: P, dragEnabled: !1, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, parent: t, parentTitles: s, rootGroupUid: this.#l, selectedItems: this.selectedItems, selectionMode: this.selectionMode, visibilityAppearance: this.visibilityAppearance, hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: h, showTemporaryLayerIndicators: c, handleAction: this.#_.bind(this), handleCatalogOpen: this.#p.bind(this), handleTablesOpen: this.#m.bind(this), handleTooltipReferenceChange: this.#M.bind(this), view: this.view }));
256
256
  }
257
257
  }
258
258
  O("arcgis-catalog-layer-list-next", se);
@@ -2,7 +2,7 @@ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
2
2
  import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
3
3
  import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
4
4
  import type TileLayer from "@arcgis/core/layers/TileLayer.js";
5
- import type CatalogItemCollection from "@arcgis/core/layers/list/CatalogItemCollection.js";
5
+ import type CatalogLayerListModel from "@arcgis/core/layerList/CatalogLayerListModel.js";
6
6
  import type { useT9n } from "../../controllers/useT9n.js";
7
7
  import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
8
8
  import type { ArcgisCatalogLayerListNext } from "./customElement.js";
@@ -28,7 +28,7 @@ export type CatalogLayerListMessageOverrides = ReturnType<typeof useT9n<{
28
28
  /** The properties used to configure the Catalog Layer List (next). */
29
29
  export type CatalogLayerListOptions = Partial<Pick<ArcgisCatalogLayerListNext, "filterPlaceholder" | "hideStatusIndicators" | "minFilterItems" | "selectionMode" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "visibilityAppearance">>
30
30
  & {
31
- listItemCreatedFunction?: CatalogItemCollection["listItemCreatedFunction"];
31
+ listItemCreatedFunction?: CatalogLayerListModel["listItemCreatedFunction"];
32
32
  };
33
33
 
34
34
  /** Represents a layer that can be part of a flow in the Catalog Layer List (next). */
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
+
4
+ export abstract class ArcgisFeatureFormText extends LitElement {
5
+ /** @default "" */
6
+ accessor text: string;
7
+ }
@@ -0,0 +1,24 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { c as t } from "../../chunks/runtime.js";
3
+ import { css as e, html as r } from "lit";
4
+ import { renderingSanitizer as o } from "@arcgis/core/applications/Components/sanitizerUtils.js";
5
+ import { LitElement as i } from "@arcgis/lumina";
6
+ const c = e`:host{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}a{position:relative;font-family:inherit;outline-color:transparent;color:var(--calcite-link-text-color, var(--calcite-color-text-link));text-decoration-line:var(--calcite-internal-link-text-decoration-line, underline);text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);text-decoration-thickness:var(--calcite-border-width-sm);text-underline-offset:.33em;transition-property:color,opacity,outline-color,text-decoration,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;&:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * (1 - (2 * clamp(0,0,1))))}&:hover,&:active,&:focus{text-decoration-color:currentColor}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-surface-4);padding:var(--calcite-space-2xs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5,h6{margin-bottom:var(--calcite-space-2xs);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5,h6{font-weight:var(--calcite-font-weight-medium)}h6{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}p{margin-bottom:var(--calcite-space-lg)}strong{font-weight:var(--calcite-font-weight-bold)}`;
7
+ class a extends i {
8
+ constructor() {
9
+ super(...arguments), this.text = "";
10
+ }
11
+ static {
12
+ this.properties = { text: 1 };
13
+ }
14
+ static {
15
+ this.styles = c;
16
+ }
17
+ render() {
18
+ return r`<div .innerHTML=${o.sanitize(this.text) ?? ""}></div>`;
19
+ }
20
+ }
21
+ t("arcgis-feature-form-text", a);
22
+ export {
23
+ a as ArcgisFeatureFormText
24
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -30,6 +30,12 @@ import type { State } from "@arcgis/core/popup/types.js";
30
30
  * @since 5.1
31
31
  */
32
32
  export abstract class ArcgisFeatureNext extends LitElement {
33
+ /**
34
+ * A collection of the actions available for the feature.
35
+ *
36
+ * @since 5.2
37
+ */
38
+ get allActions(): Collection<PopupAction>;
33
39
  /**
34
40
  * If true, the component will not be destroyed automatically when it is
35
41
  * disconnected from the document. This is useful when you want to move the
@@ -64,6 +70,14 @@ export abstract class ArcgisFeatureNext extends LitElement {
64
70
  * @default false
65
71
  */
66
72
  accessor defaultPopupTemplateEnabled: boolean;
73
+ /**
74
+ * When `true`, the component will trap focus when opened.
75
+ * This ensures that keyboard navigation is contained within the component when it opens.
76
+ *
77
+ * @default false
78
+ * @since 5.2
79
+ */
80
+ accessor focusTrapEnabled: boolean;
67
81
  /**
68
82
  * The [Graphic](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) used to represent the feature.
69
83
  *
@@ -404,12 +418,6 @@ export abstract class ArcgisFeatureNext extends LitElement {
404
418
  accessor view: MapViewOrSceneView | null | undefined;
405
419
  /** Permanently destroy the component. */
406
420
  destroy(): Promise<void>;
407
- /**
408
- * @param actions
409
- * @param includeDefaultActions
410
- * @internal
411
- */
412
- getAllActions(actions: Collection<PopupAction>, includeDefaultActions?: boolean): Collection<PopupAction>;
413
421
  /**
414
422
  * Paginates to the next [media](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) info.
415
423
  *
@@ -1,38 +1,38 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as y } from "../../chunks/runtime.js";
3
- import { css as w, html as r } from "lit";
4
- import { ref as I } from "lit/directives/ref.js";
5
- import { u as M } from "../../chunks/useT9n.js";
6
- import { classes as C } from "@arcgis/toolkit/dom";
7
- import { usePropertyChange as x } from "@arcgis/lumina/controllers";
8
- import { m as b } from "../../chunks/useViewModel.js";
9
- import { LitElement as F, createEvent as _, nothing as L, safeClassMap as T } from "@arcgis/lumina";
10
- import { substitute as A } from "@arcgis/core/intl.js";
11
- import { renderingSanitizer as R } from "@arcgis/core/applications/Components/sanitizerUtils.js";
12
- import { c as E, g as D, d as V, e as k, b as d, i as B, f as N } from "../../chunks/feature-utils.js";
13
- import $ from "@arcgis/core/core/Collection.js";
2
+ import { c as $ } from "../../chunks/runtime.js";
3
+ import { css as y, html as r } from "lit";
4
+ import { ref as w } from "lit/directives/ref.js";
5
+ import { u as I } from "../../chunks/useT9n.js";
6
+ import { classes as M } from "@arcgis/toolkit/dom";
7
+ import { usePropertyChange as C } from "@arcgis/lumina/controllers";
8
+ import { m as x } from "../../chunks/useViewModel.js";
9
+ import { LitElement as b, createEvent as F, nothing as _, safeClassMap as A } from "@arcgis/lumina";
10
+ import { substitute as L } from "@arcgis/core/intl.js";
11
+ import { renderingSanitizer as T } from "@arcgis/core/applications/Components/sanitizerUtils.js";
12
+ import { c as D, g as E, d as R, e as V, b as d, i as k, f as B } from "../../chunks/feature-utils.js";
13
+ import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as H } from "@arcgis/core/applications/Components/stringUtils.js";
16
- import Z from "@arcgis/core/popup/FeatureContent.js";
17
- const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = b(Z);
18
- class O extends F {
16
+ import Z from "@arcgis/core/popup/FeatureModel.js";
17
+ const z = y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(Z);
18
+ class O extends b {
19
19
  constructor() {
20
- super(...arguments), this.messages = M(), this._rootFlowNode = null, this.internalFlowItems = new $(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = x()("flowItems", "state"), this.arcgisReady = _();
20
+ super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.actions = this.viewModel.actions, this.includeDefaultActions = this.viewModel.includeDefaultActions, this.focusTrapEnabled = !1, this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = F();
21
21
  }
22
22
  static {
23
- this.properties = { popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, flowType: 1, viewModel: 0, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideEmptyRelationshipContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
23
+ this.properties = { popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, flowType: 1, viewModel: 0, actions: 0, includeDefaultActions: 5, focusTrapEnabled: 5, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, allActions: 32, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideEmptyRelationshipContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
24
24
  }
25
25
  static {
26
26
  this.styles = z;
27
27
  }
28
28
  get popupTemplate() {
29
- return E(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
29
+ return D(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
30
30
  }
31
31
  get sourceLayer() {
32
- return D(this.graphic);
32
+ return E(this.graphic);
33
33
  }
34
34
  get fieldInfoMap() {
35
- return V(k(this.popupTemplate), this.sourceLayer);
35
+ return R(V(this.popupTemplate), this.sourceLayer);
36
36
  }
37
37
  get values() {
38
38
  return this.graphic?.attributes ?? {};
@@ -40,6 +40,9 @@ class O extends F {
40
40
  get globalValues() {
41
41
  return this.viewModel.formattedAttributes?.global ?? {};
42
42
  }
43
+ get allActions() {
44
+ return this.viewModel.allActions;
45
+ }
43
46
  async destroy() {
44
47
  this._removeFlowItems(), await this.manager.destroy();
45
48
  }
@@ -62,9 +65,6 @@ class O extends F {
62
65
  async updateGeometry() {
63
66
  return await this.viewModel.updateGeometry();
64
67
  }
65
- getAllActions(e, t = !1) {
66
- return this.graphic ? this.viewModel.getAllActions(e, t) : new $();
67
- }
68
68
  loaded() {
69
69
  this.manager.onLifecycle(() => [
70
70
  P(() => [this.internalFlowItems?.length], () => this._setFocus())
@@ -124,7 +124,7 @@ class O extends F {
124
124
  return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
125
125
  }
126
126
  _renderFields(e, t) {
127
- 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 && (B(g) || N(g) || g in a)), f = n?.expressionInfos, m = d({
127
+ 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({
128
128
  values: a,
129
129
  fieldInfoMap: s,
130
130
  globalValues: l,
@@ -195,7 +195,7 @@ class O extends F {
195
195
  layer: o,
196
196
  text: e.description
197
197
  });
198
- return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${o} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${a ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .messages=${this.messages} .orderByFields=${c ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
198
+ return r`<arcgis-feature-relationship .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${o} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${a ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .includeDefaultActions=${this.includeDefaultActions} .messages=${this.messages} .orderByFields=${c ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
199
199
  }
200
200
  _renderAssociation(e) {
201
201
  const { fieldInfoMap: t, globalValues: i, graphic: a, messages: s, sourceLayer: o, values: n } = this, l = d({
@@ -211,7 +211,7 @@ class O extends F {
211
211
  layer: o,
212
212
  text: e.description
213
213
  });
214
- return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${a ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${o} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
214
+ return r`<arcgis-feature-utility-network-associations .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${a ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .includeDefaultActions=${this.includeDefaultActions} .layer=${o} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
215
215
  }
216
216
  _renderContentElement(e, t) {
217
217
  switch (e.type) {
@@ -255,22 +255,22 @@ class O extends F {
255
255
  }
256
256
  _renderContentContainer() {
257
257
  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 ?? "";
258
- return e ? c : r`<calcite-flow ${I(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : H(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${R.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${(f) => {
258
+ return e ? c : r`<calcite-flow ${w(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : H(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${T.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${(f) => {
259
259
  f.preventDefault(), this._handleDrillInBackClick();
260
- }} .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 ?? L}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
260
+ }} .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>`;
261
261
  }
262
262
  _renderLastEditInfo() {
263
263
  const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
264
264
  if (!i || e)
265
265
  return null;
266
- const { date: a, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, n = A(o ?? "", {
266
+ const { date: a, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, n = L(o ?? "", {
267
267
  date: a,
268
268
  user: s
269
269
  });
270
- return r`<div class=${T(C("last-edited-info", "content-element"))}>${n}</div>`;
270
+ return r`<div class=${A(M("last-edited-info", "content-element"))}>${n}</div>`;
271
271
  }
272
272
  }
273
- y("arcgis-feature-next", O);
273
+ $("arcgis-feature-next", O);
274
274
  export {
275
275
  O as ArcgisFeatureNext
276
276
  };