@arcgis/map-components 5.2.0-next.76 → 5.2.0-next.77

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 (35) hide show
  1. package/dist/cdn/AQ2V4DTN.js +2 -0
  2. package/dist/cdn/C2JQUU2L.js +2 -0
  3. package/dist/cdn/CNDTQDTD.js +2 -0
  4. package/dist/cdn/LSBT72HH.js +2 -0
  5. package/dist/cdn/{YJYUG3DP.js → NR6IHW45.js} +1 -1
  6. package/dist/cdn/{VQG7S23K.js → QD2A52JY.js} +1 -1
  7. package/dist/cdn/{VJIYYZW3.js → SJOTL7SU.js} +1 -1
  8. package/dist/cdn/index.js +1 -1
  9. package/dist/chunks/layer-list-item.js +35 -24
  10. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +18 -21
  11. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +12 -12
  12. package/dist/components/arcgis-basemap-layer-list-next/index.js +2 -2
  13. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +19 -14
  14. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +26 -26
  15. package/dist/components/arcgis-catalog-layer-list-next/index.js +1 -1
  16. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  17. package/dist/components/arcgis-layer-list-next/customElement.d.ts +9 -9
  18. package/dist/components/arcgis-layer-list-next/customElement.js +12 -12
  19. package/dist/components/arcgis-layer-list-next/types.d.ts +4 -4
  20. package/dist/components/arcgis-table-list-next/customElement.d.ts +17 -13
  21. package/dist/components/arcgis-table-list-next/customElement.js +11 -11
  22. package/dist/docs/api.json +1 -1
  23. package/dist/docs/docs.json +1 -1
  24. package/dist/docs/web-types.json +1 -1
  25. package/dist/loader.js +1 -1
  26. package/dist/types/lumina.d.ts +1 -1
  27. package/dist/types/preact.d.ts +1 -1
  28. package/dist/types/react.d.ts +1 -1
  29. package/dist/types/stencil.d.ts +1 -1
  30. package/dist/utils/layer-list-utils.d.ts +6 -6
  31. package/package.json +4 -4
  32. package/dist/cdn/D6Z3MYCF.js +0 -2
  33. package/dist/cdn/R5ZY52DF.js +0 -2
  34. package/dist/cdn/TKTHZ2GE.js +0 -2
  35. package/dist/cdn/ZWAOPC3F.js +0 -2
@@ -4,23 +4,20 @@ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
4
4
  import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
5
5
  import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
6
6
  import type TileLayer from "@arcgis/core/layers/TileLayer.js";
7
- import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
8
- import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem.js";
7
+ import type Item from "@arcgis/core/layers/list/Item.js";
8
+ import type TableItem from "@arcgis/core/layers/list/TableItem.js";
9
9
  import type { UIPosition } from "@arcgis/core/views/ui/types.js";
10
- import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
11
- import type { BasemapLayerListViewModelEvents } from "@arcgis/core/widgets/BasemapLayerList/BasemapLayerListViewModel.js";
12
- import type { TableListProperties } from "@arcgis/core/widgets/TableList.js";
10
+ import type { BasemapItemCollectionEvents } from "@arcgis/core/layers/list/BasemapItemCollection.js";
13
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
14
12
  import type { VisibilityAppearance } from "../../utils/action-utils.js";
15
13
  import type { CanSortFunction, TableSupportedLayers } from "../../utils/layer-list-utils.js";
16
- import type { ArcgisCatalogLayerList } from "../arcgis-catalog-layer-list/customElement.js";
17
- import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
14
+ import type { ArcgisCatalogLayerListNext, CatalogLayerListOptions } from "../arcgis-catalog-layer-list-next/customElement.js";
15
+ import type { ArcgisTableListNext, TableListOptions } from "../arcgis-table-list-next/customElement.js";
18
16
  import type { ArcgisReferenceElement, HeadingLevel, IconName } from "../types.js";
19
17
  import type { T9nMeta } from "@arcgis/lumina/controllers";
20
18
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
21
- import type { ListItemModifier } from "@arcgis/core/widgets/LayerList/types.js";
19
+ import type { ItemModifier, State } from "@arcgis/core/layers/list/types.js";
22
20
  import type { List as List } from "@esri/calcite-components/components/calcite-list";
23
- import type { BasemapLayerListState } from "@arcgis/core/widgets/BasemapLayerList/types.js";
24
21
 
25
22
  /**
26
23
  * The Basemap Layer List Next component provides a way to display a list of basemap layers and switch on/off their visibility.
@@ -43,10 +40,10 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
43
40
  accessor baseFilterPredicate: FilterPredicate | undefined;
44
41
  /** @default "" */
45
42
  accessor baseFilterText: string;
46
- get baseItems(): Collection<ListItem>;
47
- accessor baseListItemCreatedFunction: ListItemModifier | null | undefined;
43
+ accessor baseItemCreatedFunction: ItemModifier | null | undefined;
44
+ get baseItems(): Collection<Item>;
48
45
  accessor basemapTitle: string | null | undefined;
49
- get catalogLayerList(): ArcgisCatalogLayerList | undefined;
46
+ get catalogLayerList(): ArcgisCatalogLayerListNext | undefined;
50
47
  accessor catalogOptions: CatalogLayerListParams | undefined;
51
48
  /** @default false */
52
49
  accessor closed: boolean;
@@ -210,9 +207,9 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
210
207
  accessor referenceFilterPredicate: FilterPredicate | undefined;
211
208
  /** @default "" */
212
209
  accessor referenceFilterText: string;
213
- get referenceItems(): Collection<ListItem>;
214
- accessor referenceListItemCreatedFunction: ListItemModifier | null | undefined;
215
- accessor selectedItems: Collection<ListItem>;
210
+ accessor referenceItemCreatedFunction: ItemModifier | null | undefined;
211
+ get referenceItems(): Collection<Item>;
212
+ accessor selectedItems: Collection<Item>;
216
213
  /** @default "none" */
217
214
  accessor selectionMode: List["selectionMode"];
218
215
  /** @default false */
@@ -227,8 +224,8 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
227
224
  accessor showFilter: boolean;
228
225
  /** @default false */
229
226
  accessor showTemporaryLayerIndicators: boolean;
230
- get state(): BasemapLayerListState;
231
- get tableList(): ArcgisTableList | undefined;
227
+ get state(): State;
228
+ get tableList(): ArcgisTableListNext | undefined;
232
229
  accessor tileOptions: TableListParams | undefined;
233
230
  /**
234
231
  * The view associated with the component.
@@ -245,7 +242,7 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
245
242
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
246
243
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
247
244
  readonly arcgisReferenceFilterChange: import("@arcgis/lumina").TargetedEvent<this, void>;
248
- readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, BasemapLayerListViewModelEvents["trigger-action"]>;
245
+ readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, BasemapItemCollectionEvents["trigger-action"]>;
249
246
  readonly "@eventTypes": {
250
247
  arcgisBaseFilterChange: ArcgisBasemapLayerListNext["arcgisBaseFilterChange"]["detail"];
251
248
  arcgisClose: ArcgisBasemapLayerListNext["arcgisClose"]["detail"];
@@ -257,13 +254,13 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
257
254
  };
258
255
  }
259
256
 
260
- export type CatalogLayerListParams = CatalogLayerListProperties;
257
+ export type CatalogLayerListParams = CatalogLayerListOptions;
261
258
 
262
- export type TableListParams = TableListProperties;
259
+ export type TableListParams = TableListOptions;
263
260
 
264
261
  export type FlowLayer = CatalogLayer | SubtablesLayer;
265
262
 
266
263
  /** @param item */
267
- export type FilterPredicate = (item: ListItem | TableListListItem) => boolean;
264
+ export type FilterPredicate = (item: Item | TableItem) => boolean;
268
265
 
269
266
  export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
@@ -3,10 +3,10 @@ import { c as O } from "../../chunks/runtime.js";
3
3
  import { css as x, html as n } 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/widgets/BasemapLayerList/BasemapLayerListViewModel.js";
7
- import L from "@arcgis/core/core/Collection.js";
6
+ import N from "@arcgis/core/layers/list/BasemapItemCollection.js";
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
- import { LitElement as G, createEvent as y, renderElement as $, safeClassMap as f, nothing as I } from "@arcgis/lumina";
9
+ import { LitElement as G, createEvent as L, renderElement as $, safeClassMap as f, nothing as I } from "@arcgis/lumina";
10
10
  import { usePropertyChange as H } from "@arcgis/lumina/controllers";
11
11
  import { reEmitEvent as V } from "@arcgis/lumina/controllers/accessor";
12
12
  import { classes as q } from "@arcgis/toolkit/dom";
@@ -27,7 +27,7 @@ const p = {
27
27
  section: "section",
28
28
  editing: "editing",
29
29
  editingForm: "editing-form"
30
- }, le = x`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`, E = "nested", re = ".*\\S+.*", C = "data-basemap-layer-type", oe = K(N);
30
+ }, le = x`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%}.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
31
  class ne extends G {
32
32
  constructor() {
33
33
  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) => {
@@ -64,10 +64,10 @@ class ne extends G {
64
64
  e.preventDefault();
65
65
  const t = this._editTitleInputRef.value?.value;
66
66
  t?.trim() && (this.basemapTitle = t), this._toggleEditingTitle();
67
- }, this._activeItem = null, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.openedLayerLists = new L(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.baseFilterText = "", this.baseListItemCreatedFunction = this.viewModel.baseListItemCreatedFunction, this.basemapTitle = this.viewModel.basemapTitle, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.editingTitle = !1, this.filterPlaceholder = "", this.headingLevel = 2, this.icon = "layers", this.layerTablesEnabled = new L(["knowledge-graph"]), this.listModeDisabled = this.viewModel.listModeDisabled, this.minFilterItems = Q, this.openedLayers = new L(), this.referenceFilterText = "", this.referenceListItemCreatedFunction = this.viewModel.referenceListItemCreatedFunction, this.selectedItems = new L(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideBaseLayers = !1, this.hideCatalogLayerList = !1, this.hideHeading = !1, this.hideReferenceLayers = !1, this.hideStatusIndicators = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditTitleButton = !1, this.showErrors = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.showFilter = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = H()("state"), this.arcgisReady = y(), this.arcgisBaseFilterChange = y(), this.arcgisReferenceFilterChange = y(), this.arcgisOpenedLayersChange = y(), this.arcgisTriggerAction = V(() => this.viewModel, "trigger-action");
67
+ }, this._activeItem = null, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.openedLayerLists = new y(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.baseFilterText = "", this.baseItemCreatedFunction = this.viewModel.baseItemCreatedFunction, this.basemapTitle = this.viewModel.basemapTitle, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.editingTitle = !1, this.filterPlaceholder = "", this.headingLevel = 2, this.icon = "layers", this.layerTablesEnabled = new y(["knowledge-graph"]), this.listModeDisabled = this.viewModel.listModeDisabled, this.minFilterItems = Q, this.openedLayers = new y(), this.referenceFilterText = "", this.referenceItemCreatedFunction = this.viewModel.referenceItemCreatedFunction, this.selectedItems = new y(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideBaseLayers = !1, this.hideCatalogLayerList = !1, this.hideHeading = !1, this.hideReferenceLayers = !1, this.hideStatusIndicators = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditTitleButton = !1, this.showErrors = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.showFilter = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = H()("state"), this.arcgisReady = L(), this.arcgisBaseFilterChange = L(), this.arcgisReferenceFilterChange = L(), this.arcgisOpenedLayersChange = L(), this.arcgisTriggerAction = V(() => this.viewModel, "trigger-action");
68
68
  }
69
69
  static {
70
- 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, view: 0, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItems: 32, baseListItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listModeDisabled: 5, mapImageOptions: 0, minFilterItems: 9, openedLayers: 32, position: 1, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceListItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, tableList: 32, tileOptions: 0, visibilityAppearance: 1, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, showFilter: 5, showTemporaryLayerIndicators: 5, messageOverrides: 0, state: 32 };
70
+ 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, view: 0, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItems: 32, baseItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listModeDisabled: 5, mapImageOptions: 0, minFilterItems: 9, openedLayers: 32, position: 1, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, tableList: 32, tileOptions: 0, visibilityAppearance: 1, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, showFilter: 5, showTemporaryLayerIndicators: 5, messageOverrides: 0, state: 32 };
71
71
  }
72
72
  static {
73
73
  this.styles = [se, le, ie];
@@ -154,7 +154,7 @@ class ne extends G {
154
154
  }
155
155
  async _createCatalogLayerList(e) {
156
156
  const { headingLevel: t, catalogOptions: s, filterPlaceholder: i, minFilterItems: a, selectionMode: r, visibilityAppearance: l, layerTablesEnabled: o } = this;
157
- return $(n`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? a} .selectionMode=${s?.selectionMode ?? r} .visibilityAppearance=${s?.visibilityAppearance ?? l} .showErrors=${s?.visibleElements?.errors ?? this.showErrors} .showFilter=${s?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${s?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(c) => c.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${o} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`);
157
+ return $(n`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? a} .selectionMode=${s?.selectionMode ?? r} .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=${o} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
158
158
  }
159
159
  _getTableListParams(e) {
160
160
  switch (e.type) {
@@ -170,14 +170,14 @@ class ne extends G {
170
170
  }
171
171
  async _createTableList(e) {
172
172
  const t = this._getTableListParams(e);
173
- return $(n`<arcgis-table-list .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>`);
173
+ return $(n`<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
174
  }
175
175
  _handlePanelFlowItemBack(e) {
176
176
  e.open = !1, this._focusRootFlowItem = !0;
177
177
  }
178
178
  _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: i }) {
179
179
  const a = h(s, this._allItems), r = e.hasAttribute("data-item") ? h(e, this._allItems) : null, l = t.hasAttribute("data-item") ? h(t, this._allItems) : null, o = M(t), c = M(e);
180
- i == null || !a || !o || !c || (this.viewModel.moveListItem({
180
+ i == null || !a || !o || !c || (this.viewModel.moveItem({
181
181
  targetItem: a,
182
182
  fromParentItem: l,
183
183
  toParentItem: r,
@@ -290,7 +290,7 @@ class ne extends G {
290
290
  }
291
291
  _renderList(e, t, s) {
292
292
  const i = t === "reference" ? this._referenceFilterEnabled : this._baseFilterEnabled, a = t === "reference" ? this.referenceFilterText : this.baseFilterText, r = (t === "reference" ? this.messages.noReferenceLayers : this.messages.noBaseLayers) ?? this.messages.noItemsToDisplay ?? "";
293
- return d(`block-${t}`, n`<calcite-block class=${f(p.section)} collapsible expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(r, t)}${d(`list-${t}`, n`<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=${E} .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) => {
293
+ return d(`block-${t}`, n`<calcite-block class=${f(p.section)} collapsible expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(r, t)}${d(`list-${t}`, n`<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) => {
294
294
  const o = l.currentTarget?.filterText ?? "";
295
295
  this[t === "reference" ? "referenceFilterText" : "baseFilterText"] = o, t === "base" ? this.arcgisBaseFilterChange.emit() : this.arcgisReferenceFilterChange.emit();
296
296
  }} @calciteListOrderChange=${(l) => this._onCalciteListOrderChange(l.detail)} ${u(t === "reference" ? this._referenceListRef : this._baseListRef)}>${e?.toArray().map((l) => this._renderItem(l, s))}${i && !this.hideNoFilterResultsNotice ? n`<div class=${f(p.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(r)}</calcite-notice></div>` : null}</calcite-list>`)}</calcite-block>`);
@@ -302,11 +302,11 @@ class ne extends G {
302
302
  return this.hideReferenceLayers ? null : this._renderList(this._visibleReferenceItems, "reference", !1);
303
303
  }
304
304
  _renderItem(e, t, s, i) {
305
- return d(e.uid, te({ activeItem: this._activeItem, canMove: this._canMove, css: p, displayMode: E, dragEnabled: this.dragEnabled && !t, hideCatalogLayerList: this.hideCatalogLayerList, hideStatusIndicators: this.hideStatusIndicators, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, operationalItems: this._allItems, parent: s, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, clearActiveItem: this._clearActiveItem, showErrors: this.showErrors, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
305
+ return d(e.uid, te({ activeItem: this._activeItem, canMove: this._canMove, css: p, displayMode: C, dragEnabled: this.dragEnabled && !t, hideCatalogLayerList: this.hideCatalogLayerList, hideStatusIndicators: this.hideStatusIndicators, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, operationalItems: this._allItems, parent: s, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, clearActiveItem: this._clearActiveItem, showErrors: this.showErrors, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
306
306
  }
307
307
  }
308
308
  function M(v) {
309
- const e = v.closest(`[${C}]`)?.getAttribute(C);
309
+ const e = v.closest(`[${E}]`)?.getAttribute(E);
310
310
  return e === "base" || e === "reference" ? e : null;
311
311
  }
312
312
  O("arcgis-basemap-layer-list-next", ne);
@@ -1,5 +1,5 @@
1
- import "../arcgis-catalog-layer-list/index.js";
2
- import "../arcgis-table-list/index.js";
1
+ import "../arcgis-catalog-layer-list-next/index.js";
2
+ import "../arcgis-table-list-next/index.js";
3
3
  import "@esri/calcite-components/components/calcite-tooltip";
4
4
  import "@esri/calcite-components/components/calcite-notice";
5
5
  import "@esri/calcite-components/components/calcite-label";
@@ -4,22 +4,22 @@ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
4
4
  import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
5
5
  import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
6
6
  import type TileLayer from "@arcgis/core/layers/TileLayer.js";
7
- import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
8
- import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
9
- import type { CatalogLayerListViewModelEvents } from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
10
- import type { TableListProperties } from "@arcgis/core/widgets/TableList.js";
7
+ import type CatalogItemCollection from "@arcgis/core/layers/list/CatalogItemCollection.js";
8
+ import type Item from "@arcgis/core/layers/list/Item.js";
9
+ import type { CatalogItemCollectionEvents } from "@arcgis/core/layers/list/CatalogItemCollection.js";
11
10
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
11
  import type { useT9n } from "../../controllers/useT9n.js";
13
12
  import type { VisibilityAppearance } from "../../utils/action-utils.js";
14
13
  import type { setFilterPredicate } from "../../utils/layer-list-utils.js";
15
14
  import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
16
15
  import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
16
+ import type { CatalogLayerListViewModelEvents } from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
17
+ import type { TableListProperties } from "@arcgis/core/widgets/TableList.js";
17
18
  import type { T9nMeta } from "@arcgis/lumina/controllers";
18
19
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
19
- import type { CatalogLayerListState } from "@arcgis/core/widgets/CatalogLayerList/types.js";
20
- import type { ListItemModifier } from "@arcgis/core/widgets/LayerList/types.js";
20
+ import type { State, ItemModifier } from "@arcgis/core/layers/list/types.js";
21
21
 
22
- export interface CatalogLayerListEvents extends CatalogLayerListViewModelEvents {}
22
+ export interface CatalogLayerListEvents extends CatalogItemCollectionEvents {}
23
23
 
24
24
  /**
25
25
  * The Catalog Layer List Next component provides a way to display a list of catalog layers and switch on/off their visibility.
@@ -30,9 +30,9 @@ export interface CatalogLayerListEvents extends CatalogLayerListViewModelEvents
30
30
  export abstract class ArcgisCatalogLayerListNext extends LitElement {
31
31
  /** @default false */
32
32
  accessor autoDestroyDisabled: boolean;
33
- accessor catalogItems: Collection<ListItem>;
33
+ accessor catalogItems: Collection<Item>;
34
34
  accessor catalogLayer: CatalogLayer | null | undefined;
35
- accessor catalogOptions: CatalogLayerListProperties | undefined;
35
+ accessor catalogOptions: CatalogLayerListOptions | undefined;
36
36
  /** @default false */
37
37
  accessor closed: boolean;
38
38
  /** @default false */
@@ -72,7 +72,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
72
72
  accessor hideStatusIndicators: boolean;
73
73
  accessor knowledgeGraphOptions: TableListProperties | undefined;
74
74
  accessor label: string | undefined;
75
- accessor listItemCreatedFunction: ListItemModifier | null | undefined;
75
+ accessor listItemCreatedFunction: ItemModifier | null | undefined;
76
76
  /**
77
77
  * Specifies whether to ignore the [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property to display all layers. A common use case for `listModeDisabled` is when you want to use the component to manage and configure a layer's `listMode` value.
78
78
  *
@@ -117,12 +117,12 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
117
117
  }>;
118
118
  /** @default 10 */
119
119
  accessor minFilterItems: number;
120
- accessor onCatalogOpen: ((item: ListItem) => void) | undefined;
121
- accessor onTablesOpen: ((item: ListItem) => void) | undefined;
120
+ accessor onCatalogOpen: ((item: Item) => void) | undefined;
121
+ accessor onTablesOpen: ((item: Item) => void) | undefined;
122
122
  get openedLayerLists(): Collection<FlowList>;
123
123
  get openedLayers(): Collection<FlowLayer>;
124
124
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
125
- accessor selectedItems: Collection<ListItem>;
125
+ accessor selectedItems: Collection<Item>;
126
126
  /** @default "none" */
127
127
  accessor selectionMode: "multiple" | "none" | "single-persist" | "single";
128
128
  /**
@@ -161,7 +161,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
161
161
  * @default false
162
162
  */
163
163
  accessor showTemporaryLayerIndicators: boolean;
164
- get state(): CatalogLayerListState;
164
+ get state(): State;
165
165
  /** @default false */
166
166
  accessor topLayerDisabled: boolean;
167
167
  /**
@@ -194,6 +194,11 @@ export type FlowLayer = CatalogLayer | SubtablesLayer;
194
194
 
195
195
  export type FlowList = ArcgisCatalogLayerListNext | ArcgisTableList;
196
196
 
197
+ export type CatalogLayerListOptions = Partial<Pick<ArcgisCatalogLayerListNext, "filterPlaceholder" | "hideStatusIndicators" | "minFilterItems" | "selectionMode" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "visibilityAppearance">>
198
+ & {
199
+ listItemCreatedFunction?: CatalogItemCollection["listItemCreatedFunction"];
200
+ };
201
+
197
202
  export type CatalogLayerListMessageOverrides = ReturnType<typeof useT9n<{
198
203
  componentLabel: string;
199
204
  noItemsToDisplay: string;
@@ -2,14 +2,14 @@
2
2
  import { c as O } from "../../chunks/runtime.js";
3
3
  import { html as n } from "lit";
4
4
  import { repeat as A } from "lit/directives/repeat.js";
5
- import { keyed as w } from "lit/directives/keyed.js";
5
+ 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/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
10
- import D from "@arcgis/core/widgets/LayerList/ListItem.js";
11
- import { LitElement as k, createEvent as d, renderElement as M, safeClassMap as b, nothing as _ } from "@arcgis/lumina";
12
- import { usePropertyChange as x } from "@arcgis/lumina/controllers";
9
+ import N from "@arcgis/core/layers/list/CatalogItemCollection.js";
10
+ import x from "@arcgis/core/layers/list/Item.js";
11
+ import { LitElement as D, createEvent as d, renderElement as M, safeClassMap as b, nothing as _ } from "@arcgis/lumina";
12
+ import { usePropertyChange as k } from "@arcgis/lumina/controllers";
13
13
  import { reEmitEvent as B } from "@arcgis/lumina/controllers/accessor";
14
14
  import { classes as S } from "@arcgis/toolkit/dom";
15
15
  import { generateGuid as G } from "@arcgis/toolkit/string";
@@ -25,8 +25,8 @@ import { c as X } from "../../chunks/css.js";
25
25
  const m = X, Y = (p) => {
26
26
  const e = p?.type;
27
27
  return e === "knowledge-graph" || e === "map-image" || e === "tile";
28
- }, Z = (p) => p?.type === "catalog", E = "nested", ee = u.ofType(D), te = V(N);
29
- class se extends k {
28
+ }, Z = (p) => p?.type === "catalog", P = "nested", ee = u.ofType(x), te = V(N);
29
+ class se extends D {
30
30
  constructor() {
31
31
  super(...arguments), this.#l = `operational-${G()}`, this.#e = null, this.#o = H(), this.#i = !1, this.#t = !1, this.messages = U(), this.#r = () => {
32
32
  this._activeItem = null;
@@ -41,7 +41,7 @@ class se extends k {
41
41
  e && this.#L(e);
42
42
  }, this.#d = (e) => {
43
43
  e && this.#v(e);
44
- }, this.viewModel = te(this), this._activeItem = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this.layerTablesEnabled = new u(["knowledge-graph"]), this.mapImageOptions = null, this.tileOptions = null, this.view = this.viewModel.view, this.hideCatalogLayerList = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryLayerIndicators = !1, this.closed = !1, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.openedLayers = new u(), this.openedLayerLists = new u(), this.collapsed = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minFilterItems = j, this.selectedItems = new ee(), this.selectionMode = "none", this.visibilityAppearance = "default", this.arcgisPropertyChange = x()("state"), this.arcgisReady = d(), this.arcgisCatalogItemsChange = d(), this.arcgisFilterChange = d(), this.arcgisSelectedItemsChange = d(), this.arcgisOpenedLayersChange = d(), this.arcgisTriggerAction = B(() => this.viewModel, "trigger-action");
44
+ }, this.viewModel = te(this), this._activeItem = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this.layerTablesEnabled = new u(["knowledge-graph"]), this.mapImageOptions = null, this.tileOptions = null, this.view = this.viewModel.view, this.hideCatalogLayerList = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryLayerIndicators = !1, this.closed = !1, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.openedLayers = new u(), this.openedLayerLists = new u(), this.collapsed = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minFilterItems = j, this.selectedItems = new ee(), this.selectionMode = "none", this.visibilityAppearance = "default", this.arcgisPropertyChange = k()("state"), this.arcgisReady = d(), this.arcgisCatalogItemsChange = d(), this.arcgisFilterChange = d(), this.arcgisSelectedItemsChange = d(), this.arcgisOpenedLayersChange = d(), this.arcgisTriggerAction = B(() => this.viewModel, "trigger-action");
45
45
  }
46
46
  static {
47
47
  this.properties = { _catalogLayerList: 16, _activeItem: 16, _focusRootFlowItem: 16, _focusPanelFlowItem: 16, _focusLayerFlowItem: 16, _totalItems: 16, _filterEnabled: 16, _visibleItems: 16, _openedPanelItems: 16, _renderedOpenLayerFlowItems: 16, layerTablesEnabled: 16, mapImageOptions: 16, tileOptions: 16, view: 0, hideCatalogLayerList: 5, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryLayerIndicators: 5, closed: 5, topLayerDisabled: 5, autoDestroyDisabled: 5, referenceElement: 1, state: 32, openedLayers: 32, openedLayerLists: 32, catalogItems: 0, catalogLayer: 0, catalogOptions: 0, collapsed: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, listModeDisabled: 5, minFilterItems: 9, selectedItems: 0, selectionMode: 1, visibilityAppearance: 1, messageOverrides: 0, onCatalogOpen: 0, onTablesOpen: 0 };
@@ -95,7 +95,7 @@ class se extends k {
95
95
  loaded() {
96
96
  this.manager.onLifecycle(() => [
97
97
  L(() => this.openedLayers, "change", () => {
98
- this.#I();
98
+ this.#w();
99
99
  }),
100
100
  L(() => this.viewModel.catalogItems, "change", () => {
101
101
  q(this.selectedItems), this.arcgisCatalogItemsChange.emit();
@@ -117,7 +117,7 @@ class se extends k {
117
117
  const a = e.type === "catalog" ? await this.#$(e) : await this.#C(e);
118
118
  return t.aborted || !this.isConnected || this.#t ? (a?.destroy?.(), a) : (t.aborted || this.#s.set(e, a), a);
119
119
  }
120
- async #I() {
120
+ async #w() {
121
121
  if (!this.isConnected || this.#t)
122
122
  return;
123
123
  const { openedLayers: e, openedLayerLists: t } = this;
@@ -133,7 +133,7 @@ class se extends k {
133
133
  const i = t.at(-1), l = i && "catalogLayer" in i ? i : void 0;
134
134
  this._catalogLayerList !== l && (this._catalogLayerList = l), this.arcgisOpenedLayersChange.emit();
135
135
  }
136
- #w(e) {
136
+ #I(e) {
137
137
  e.open = !1, this._focusRootFlowItem = !0;
138
138
  }
139
139
  #L(e) {
@@ -147,7 +147,7 @@ class se extends k {
147
147
  }
148
148
  async #$(e) {
149
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?.visibleElements?.errors ?? this.showErrors} .showFilter=${s?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${s?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.visibleElements?.temporaryLayerIndicators ?? 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>`);
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>`);
151
151
  }
152
152
  #F(e) {
153
153
  switch (e.type) {
@@ -169,7 +169,7 @@ class se extends k {
169
169
  }
170
170
  async #C(e) {
171
171
  const { headingLevel: t, selectionMode: s, referenceElement: a, view: o } = this, i = this.#F(e);
172
- return M(n`<arcgis-table-list .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .label=${i?.label} .tables=${i?.tables} .view=${o} .referenceElement=${a} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list>`);
172
+ return M(n`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .label=${i?.label} .tables=${i?.tables} .view=${o} .referenceElement=${a} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list-next>`);
173
173
  }
174
174
  #m(e) {
175
175
  if (this.onTablesOpen) {
@@ -205,16 +205,16 @@ class se extends k {
205
205
  [f.hidden]: e === "loading",
206
206
  [f.disabled]: e === "disabled"
207
207
  };
208
- return n`<div class=${b(S(f.widget, f.panel, t))}>${this._visibleItems?.length ? this.#P() : null}${this.#R()}</div>`;
208
+ return n`<div class=${b(S(f.widget, f.panel, t))}>${this._visibleItems?.length ? this.#E() : null}${this.#R()}</div>`;
209
209
  }
210
- #E(e) {
210
+ #P(e) {
211
211
  const t = this.#a, s = this.messages;
212
212
  return e?.layer ? n`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
213
213
  }
214
214
  #g(e) {
215
- return e.incompatible ? this.#E(e) : e.children?.filter((t) => !t.hidden).toArray().map((t) => this.#g(t));
215
+ return e.incompatible ? this.#P(e) : e.children?.filter((t) => !t.hidden).toArray().map((t) => this.#g(t));
216
216
  }
217
- #P() {
217
+ #E() {
218
218
  return this._visibleItems?.toArray().map((e) => this.#g(e));
219
219
  }
220
220
  #f() {
@@ -226,33 +226,33 @@ class se extends k {
226
226
  #A() {
227
227
  const { _openedPanelItems: e, openedLayers: t } = this;
228
228
  return A(e.toArray(), ({ uid: s }) => s, (s, a) => {
229
- const { uid: o, title: i, panel: l } = s, r = () => this.#w(l);
229
+ const { uid: o, title: i, panel: l } = s, r = () => this.#I(l);
230
230
  return n`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && a === e.length - 1} @calciteFlowItemBack=${(c) => {
231
231
  c.preventDefault(), r();
232
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>`;
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 ?? "", P = [
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=${E} .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=${(I) => {
238
- this.filterText = I.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
239
- }} @mouseleave=${this.#r} @mouseover=${this.#n} ${g(this.#o)}>${t.toArray().map((I) => this.#D(I))}${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>`,
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) => {
238
+ this.filterText = w.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
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(),
241
241
  this._renderedOpenLayerFlowItems
242
242
  ];
243
- return this.closed ? null : w("root-flow", n`<calcite-flow>${P}</calcite-flow>`);
243
+ return this.closed ? null : I("root-flow", n`<calcite-flow>${E}</calcite-flow>`);
244
244
  }
245
245
  #N(e, t) {
246
246
  const { openedLayers: s } = this, a = e.title || this.messages.untitledLayer;
247
- return w(e.uid, n`<calcite-flow-item data-layer-uid=${e.uid ?? _} .description=${a} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(o) => {
247
+ return I(e.uid, n`<calcite-flow-item data-layer-uid=${e.uid ?? _} .description=${a} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(o) => {
248
248
  o.preventDefault(), s.pop();
249
249
  const i = s.at(-1);
250
250
  i ? this._focusLayerFlowItem = i.uid : this._focusRootFlowItem = !0;
251
251
  }} ${g(this.#d)}>${this.#s.get(e)}</calcite-flow-item>`);
252
252
  }
253
- #D(e, t, s) {
253
+ #x(e, t, s) {
254
254
  const { hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: c, showTemporaryLayerIndicators: h } = this;
255
- return w(e.uid, K({ activeItem: this._activeItem ?? void 0, css: { ...m, itemCatalogIcon: m.itemActionIcon }, displayMode: E, 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 }));
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 }));
256
256
  }
257
257
  }
258
258
  O("arcgis-catalog-layer-list-next", se);
@@ -1,5 +1,5 @@
1
1
  import ".//index.js";
2
- import "../arcgis-table-list/index.js";
2
+ import "../arcgis-table-list-next/index.js";
3
3
  import "@esri/calcite-components/components/calcite-tooltip";
4
4
  import "@esri/calcite-components/components/calcite-notice";
5
5
  import "@esri/calcite-components/components/calcite-flow-item";
@@ -4,7 +4,7 @@ import { css as n, html as s } from "lit";
4
4
  import { usePropertyChange as l } from "@arcgis/lumina/controllers";
5
5
  import { i as d } from "../../chunks/layer-list-utils.js";
6
6
  import { LitElement as c, renderElement as p } from "@arcgis/lumina";
7
- const g = n`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;width:100%;div{width:100%}}arcgis-legend{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;overflow-y:auto}`;
7
+ const g = n`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;width:100%;div{width:100%}}arcgis-legend{--calcite-color-foreground-1: var(--calcite-color-transparent);width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;overflow-y:auto}`;
8
8
  class m extends c {
9
9
  constructor() {
10
10
  super(...arguments), this._disabled = null, this.content = this.item?.panel.content, this.listItem = this.item?.panel.listItem ?? this.item, this.autoDestroyDisabled = !1, this.arcgisPropertyChange = l()("listItem");
@@ -1,10 +1,10 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
3
2
  import type Collection from "@arcgis/core/core/Collection.js";
4
- import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem.js";
3
+ import type Item from "@arcgis/core/layers/list/Item.js";
4
+ import type TableItem from "@arcgis/core/layers/list/TableItem.js";
5
5
  import type { VisibilityAppearance } from "../../utils/action-utils.js";
6
6
  import type { CanSortFunction, TableSupportedLayers } from "../../utils/layer-list-utils.js";
7
- import type { LayerListViewModelEvents } from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
7
+ import type { LayerItemCollectionEvents } from "@arcgis/core/layers/list/LayerItemCollection.js";
8
8
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
9
9
  import type { ArcgisTableListNext } from "../arcgis-table-list-next/customElement.js";
10
10
  import type { ArcgisReferenceElement, HeadingLevel, IconName } from "../types.js";
@@ -12,7 +12,7 @@ import type { CatalogLayerListParams, FlowLayer, TableListParams } from "./types
12
12
  import type { ArcgisCatalogLayerListNext } from "../arcgis-catalog-layer-list-next/customElement.js";
13
13
  import type { T9nMeta } from "@arcgis/lumina/controllers";
14
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
15
- import type { ListItemModifier, State } from "@arcgis/core/widgets/LayerList/types.js";
15
+ import type { ItemModifier, State } from "@arcgis/core/layers/list/types.js";
16
16
  import type { List as List } from "@esri/calcite-components/components/calcite-list";
17
17
 
18
18
  /**
@@ -171,7 +171,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
171
171
  * layerListElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
172
172
  * ```
173
173
  */
174
- accessor filterPredicate: ((item: ListItem | TableListListItem) => boolean) | undefined;
174
+ accessor filterPredicate: ((item: Item | TableItem) => boolean) | undefined;
175
175
  /**
176
176
  * The value of the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter) is true.
177
177
  *
@@ -329,7 +329,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
329
329
  * }
330
330
  * ```
331
331
  */
332
- accessor listItemCreatedFunction: ListItemModifier | null | undefined;
332
+ accessor listItemCreatedFunction: ItemModifier | null | undefined;
333
333
  /**
334
334
  * Specifies whether to ignore the [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property to display all layers. A common use case for `listModeDisabled` is when you want to use the component to manage and configure a layer's `listMode` value.
335
335
  *
@@ -465,7 +465,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
465
465
  */
466
466
  get openedLayers(): Collection<FlowLayer>;
467
467
  /** A collection of [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/)s representing the operational layers in the layer list. */
468
- get operationalItems(): Collection<ListItem>;
468
+ get operationalItems(): Collection<Item>;
469
469
  /**
470
470
  * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
471
471
  *
@@ -478,7 +478,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
478
478
  *
479
479
  * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectionMode)
480
480
  */
481
- accessor selectedItems: Collection<ListItem>;
481
+ accessor selectedItems: Collection<Item>;
482
482
  /**
483
483
  * Specifies the selection mode.
484
484
  * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems) property.
@@ -610,7 +610,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
610
610
  /** Emits when selected items state changes. */
611
611
  readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
612
612
  /** Emitted when an action is triggered on the component. */
613
- readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, LayerListViewModelEvents["trigger-action"]>;
613
+ readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, LayerItemCollectionEvents["trigger-action"]>;
614
614
  readonly "@eventTypes": {
615
615
  arcgisClose: ArcgisLayerListNext["arcgisClose"]["detail"];
616
616
  arcgisFilterChange: ArcgisLayerListNext["arcgisFilterChange"]["detail"];