@arcgis/map-components 5.2.0-next.105 → 5.2.0-next.106

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 (86) hide show
  1. package/dist/cdn/2W7OTZWE.js +2 -0
  2. package/dist/cdn/{CB564G7T.js → 3Q5ZNKFA.js} +1 -1
  3. package/dist/cdn/54ST7ZFM.js +2 -0
  4. package/dist/cdn/5IWPAMQX.js +2 -0
  5. package/dist/cdn/{PXSNOIDS.js → 5VFOV7OL.js} +1 -1
  6. package/dist/cdn/{L4DWZT4V.js → 6CXH46LW.js} +1 -1
  7. package/dist/cdn/{6PKJBJML.js → 6FNDBTL7.js} +1 -1
  8. package/dist/cdn/BTDEIRWG.js +2 -0
  9. package/dist/cdn/{WLGR4IHZ.js → GTGJEBPK.js} +1 -1
  10. package/dist/cdn/{KGFMFLEB.js → HUPYGWUJ.js} +1 -1
  11. package/dist/cdn/J7ZMGZ6U.js +2 -0
  12. package/dist/cdn/{SHMHGYVB.js → KDM7EERW.js} +1 -1
  13. package/dist/cdn/{RC2T53I5.js → KXGRFYAN.js} +1 -1
  14. package/dist/cdn/{5FWT3N7B.js → N4ECCRHC.js} +1 -1
  15. package/dist/cdn/{EHMCN2NS.js → NG4IEHMS.js} +1 -1
  16. package/dist/cdn/P5JRSGJG.js +2 -0
  17. package/dist/cdn/{CKO4VE36.js → Q4VMXDGI.js} +1 -1
  18. package/dist/cdn/{72HH6FSN.js → RFAICLUF.js} +1 -1
  19. package/dist/cdn/{BNZQH6YD.js → T7L5Q45E.js} +1 -1
  20. package/dist/cdn/WJKXUGQQ.js +2 -0
  21. package/dist/cdn/{6SEM26SM.js → XYIEHNTE.js} +1 -1
  22. package/dist/cdn/{R2WAEZ4G.js → Y4XJQ6Z7.js} +1 -1
  23. package/dist/cdn/{BR6D5EO4.js → Y6UJT3A4.js} +1 -1
  24. package/dist/cdn/{EYHS3JDR.js → YBXUZO5Y.js} +1 -1
  25. package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
  26. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.en.json +1 -0
  27. package/dist/cdn/index.js +1 -1
  28. package/dist/cdn/main.css +1 -1
  29. package/dist/chunks/utils2.js +36 -28
  30. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +25 -25
  31. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  32. package/dist/components/arcgis-directional-pad/customElement.js +10 -10
  33. package/dist/components/arcgis-features/customElement.js +1 -1
  34. package/dist/components/arcgis-features-next/customElement.d.ts +2 -0
  35. package/dist/components/arcgis-features-next/customElement.js +2 -2
  36. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  37. package/dist/components/arcgis-layer-list-next/customElement.d.ts +27 -0
  38. package/dist/components/arcgis-layer-list-next/customElement.js +22 -22
  39. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +44 -44
  40. package/dist/components/arcgis-layer-list-next/types.d.ts +9 -0
  41. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +5 -5
  42. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  43. package/dist/components/arcgis-paste/customElement.js +1 -1
  44. package/dist/components/arcgis-popup/customElement.d.ts +2 -0
  45. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  46. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  47. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  48. package/dist/components/arcgis-scene/customElement.d.ts +10 -0
  49. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  50. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
  51. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +2 -2
  52. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +1 -1
  53. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +2 -2
  54. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +101 -161
  55. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +1 -1
  56. package/dist/components/{arcgis-utility-network-trace-location-next → arcgis-utility-network-trace-locations}/customElement.d.ts +47 -26
  57. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +397 -0
  58. package/dist/components/{arcgis-utility-network-trace-location-list-next → arcgis-utility-network-trace-locations}/index.js +2 -0
  59. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +1 -1
  60. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  61. package/dist/docs/api.json +1 -1
  62. package/dist/docs/docs.json +1 -1
  63. package/dist/docs/vscode.html-custom-data.json +1 -1
  64. package/dist/docs/web-types.json +1 -1
  65. package/dist/index.d.ts +7 -11
  66. package/dist/loader.js +2 -3
  67. package/dist/types/lumina.d.ts +6 -11
  68. package/dist/types/preact.d.ts +7 -13
  69. package/dist/types/react.d.ts +8 -15
  70. package/dist/types/stencil.d.ts +6 -11
  71. package/package.json +5 -5
  72. package/dist/cdn/5LGT6I7Y.js +0 -2
  73. package/dist/cdn/GH2RPE3P.js +0 -2
  74. package/dist/cdn/JHWTX3YJ.js +0 -2
  75. package/dist/cdn/NRT2ZCWC.js +0 -2
  76. package/dist/cdn/R5GMCIAH.js +0 -2
  77. package/dist/cdn/VZXCU47M.js +0 -2
  78. package/dist/cdn/YELCBIGX.js +0 -2
  79. package/dist/cdn/assets/utility-network-trace-location-list-next/t9n/messages.en.json +0 -1
  80. package/dist/cdn/assets/utility-network-trace-location-next/t9n/messages.en.json +0 -1
  81. package/dist/components/arcgis-utility-network-trace-location-list-next/customElement.d.ts +0 -43
  82. package/dist/components/arcgis-utility-network-trace-location-list-next/customElement.js +0 -70
  83. package/dist/components/arcgis-utility-network-trace-location-next/customElement.js +0 -292
  84. package/dist/components/arcgis-utility-network-trace-location-next/index.d.ts +0 -1
  85. package/dist/components/arcgis-utility-network-trace-location-next/index.js +0 -4
  86. /package/dist/components/{arcgis-utility-network-trace-location-list-next → arcgis-utility-network-trace-locations}/index.d.ts +0 -0
@@ -1,20 +1,20 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as k } from "../../chunks/runtime.js";
2
+ import { c as x } from "../../chunks/runtime.js";
3
3
  import { html as h } from "lit";
4
4
  import { keyed as v } from "lit/directives/keyed.js";
5
- import { repeat as x } from "lit/directives/repeat.js";
6
- import B from "@arcgis/core/layers/list/LayerItemCollection.js";
5
+ import { repeat as B } from "lit/directives/repeat.js";
6
+ import k from "@arcgis/core/layers/list/LayerItemCollection.js";
7
7
  import { classes as S } from "@arcgis/toolkit/dom";
8
8
  import { generateGuid as U } from "@arcgis/toolkit/string";
9
9
  import { createRef as w, ref as b } from "lit/directives/ref.js";
10
10
  import { u as G } from "../../chunks/useT9n.js";
11
11
  import { m as H } from "../../chunks/useViewModel.js";
12
12
  import { g as C } from "../../chunks/globalCss.js";
13
- import { c as I } from "../../chunks/css.js";
13
+ import { c as f } from "../../chunks/css.js";
14
14
  import { g as m, a as F, m as V, b as j, r as M, s as q, c as z, d as J, e as K } from "../../chunks/layer-list-utils.js";
15
15
  import p from "@arcgis/core/core/Collection.js";
16
16
  import { on as $, watch as A } from "@arcgis/core/core/reactiveUtils.js";
17
- import { LitElement as Q, createEvent as y, renderElement as O, safeClassMap as T, nothing as D } from "@arcgis/lumina";
17
+ import { LitElement as Q, createEvent as I, renderElement as D, safeClassMap as E, nothing as O } from "@arcgis/lumina";
18
18
  import { usePropertyChange as W } from "@arcgis/lumina/controllers";
19
19
  import { reEmitEvent as X } from "@arcgis/lumina/controllers/accessor";
20
20
  import { u as Y } from "../../chunks/useCloseEvent.js";
@@ -22,19 +22,19 @@ import { ArcgisLayerListItem as Z } from "./layer-list-item/customElement.js";
22
22
  import { s as ee, a as te } from "../../chunks/layer-list-next.js";
23
23
  import { i as se, h as ie, r as ae } from "../../chunks/utils2.js";
24
24
  import "../arcgis-layer-list-item-indicator/customElement.js";
25
- const P = "nested", re = H(B);
25
+ const P = "nested", re = H(k);
26
26
  class oe extends Q {
27
27
  constructor() {
28
28
  super(...arguments), this._lastDragDetail = null, this._rootListRef = w(), this._layerFlowItemRef = w(), this._panelFlowItemRef = w(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${U()}`, this._openedLayersController = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
29
29
  const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, r = m(e, this.operationalItems);
30
30
  if (!r?.sortable)
31
31
  return !1;
32
- const o = this._resolveListContainer(t), l = this._resolveListContainer(s), n = this._getContainerItem(o), d = F(o), g = this._getContainerItem(l), u = F(l), L = !!d && !!u && d === u, f = {
32
+ const o = this._resolveListContainer(t), l = this._resolveListContainer(s), n = this._getContainerItem(o), d = F(o), g = this._getContainerItem(l), u = F(l), L = !!d && !!u && d === u, y = {
33
33
  selected: r,
34
34
  from: n,
35
35
  to: g
36
- }, _ = o?.group, c = l?.group, R = n?.layer?.type ?? "", N = g?.layer?.type ?? "", E = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
37
- return _ && c && typeof i == "function" ? i(f) : L && !E.has(R) && !E.has(N) && r?.layer?.type !== "sublayer";
36
+ }, _ = o?.group, c = l?.group, R = n?.layer?.type ?? "", N = g?.layer?.type ?? "", T = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
37
+ return _ && c && typeof i == "function" ? i(y) : L && !T.has(R) && !T.has(N) && r?.layer?.type !== "sublayer";
38
38
  }, this._onCatalogOpen = (e) => {
39
39
  this.openedLayers.push(e.layer?.parent);
40
40
  }, this._onTablesOpen = (e) => {
@@ -46,7 +46,7 @@ class oe extends Q {
46
46
  }, this._setActiveItem = (e) => {
47
47
  if (this.visibilityAppearance !== "default")
48
48
  return;
49
- const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(I.item)), s = m(t, this.operationalItems);
49
+ const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(f.item)), s = m(t, this.operationalItems);
50
50
  this._activeItem = s;
51
51
  }, this.viewModel = re(this), this.arcgisClose = Y(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
52
52
  t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
@@ -54,7 +54,7 @@ class oe extends Q {
54
54
  this._selectedDragItemLayerUid = e;
55
55
  }, this._onTriggerAction = (e, t) => {
56
56
  this.triggerAction(e, t);
57
- }, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = y(), this.arcgisOpenedLayersChange = y(), this.arcgisPropertyChange = W()("state"), this.arcgisReady = y(), this.arcgisSelectedItemsChange = y(), this.arcgisTriggerAction = X(() => this.viewModel, "trigger-action");
57
+ }, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = I(), this.arcgisOpenedLayersChange = I(), this.arcgisPropertyChange = W()("state"), this.arcgisReady = I(), this.arcgisSelectedItemsChange = I(), this.arcgisTriggerAction = X(() => this.viewModel, "trigger-action");
58
58
  }
59
59
  static {
60
60
  this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, view: 0, visibilityAppearance: 1 };
@@ -157,7 +157,7 @@ class oe extends Q {
157
157
  }
158
158
  async _createCatalogLayerList(e) {
159
159
  const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: r, selectionMode: o, visibilityAppearance: l } = this;
160
- return O(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .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} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
160
+ return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .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} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
161
161
  }
162
162
  _getTableListParams(e) {
163
163
  switch (e.type) {
@@ -179,7 +179,7 @@ class oe extends Q {
179
179
  }
180
180
  async _createTableList(e) {
181
181
  const { headingLevel: t, selectionMode: s, dragEnabled: a } = this, i = this._getTableListParams(e);
182
- return O(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(r) => r.stopPropagation()}></arcgis-table-list-next>`);
182
+ return D(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(r) => r.stopPropagation()}></arcgis-table-list-next>`);
183
183
  }
184
184
  _handlePanelFlowItemBack(e) {
185
185
  e.open = !1;
@@ -244,7 +244,7 @@ class oe extends Q {
244
244
  [C.hidden]: e === "loading",
245
245
  [C.disabled]: e === "disabled"
246
246
  };
247
- return h`<div class=${T(S(C.widget, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
247
+ return h`<div class=${E(S(C.widget, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
248
248
  }
249
249
  _renderItemTooltip(e) {
250
250
  const { _tooltipReferenceMap: t, messages: s } = this;
@@ -263,17 +263,17 @@ class oe extends Q {
263
263
  return h`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
264
264
  }
265
265
  _renderNoItems() {
266
- return this.hideNoItemsNotice ? null : h`<div class=${T(I.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
266
+ return this.hideNoItemsNotice ? null : h`<div class=${E(f.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
267
267
  }
268
268
  _renderLayerFlowItem(e, t) {
269
269
  const { messages: s, openedLayers: a } = this, i = e.title || this.messages.untitledLayer;
270
- return v(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? D} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(r) => {
270
+ return v(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? O} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(r) => {
271
271
  r.preventDefault(), a.pop(), a.at(-1) && this._layerFlowItemRef.value?.setFocus();
272
272
  }} ${b(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
273
273
  }
274
274
  _renderPanelFlowItems() {
275
275
  const { _openedPanelItems: e, openedLayers: t } = this;
276
- return x(e.toArray(), (a) => a.uid, (a, i) => {
276
+ return B(e.toArray(), (a) => a.uid, (a, i) => {
277
277
  const { panel: r, title: o } = a, l = () => this._handlePanelFlowItemBack(r);
278
278
  return h`<calcite-flow-item .description=${o} .heading=${r.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
279
279
  n.preventDefault(), l();
@@ -281,20 +281,20 @@ class oe extends Q {
281
281
  });
282
282
  }
283
283
  _renderItems() {
284
- const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton: o, showHeading: l, _dragEnabled: n, selectionMode: d, filterText: g, openedLayers: u, filterPlaceholder: L, messages: f } = this, _ = [
285
- h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${l ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? D} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${K} .filterText=${a ? g : ""} .group=${i} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${d} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => {
284
+ const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton: o, showHeading: l, _dragEnabled: n, selectionMode: d, filterText: g, openedLayers: u, filterPlaceholder: L, messages: y } = this, _ = [
285
+ h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${l ? y.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? O} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${K} .filterText=${a ? g : ""} .group=${i} .label=${y.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${d} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => {
286
286
  this.filterText = c.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
287
- }} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${T(I.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list>` : this._renderNoItems()}</calcite-flow-item>`,
287
+ }} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${E(f.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list>` : this._renderNoItems()}</calcite-flow-item>`,
288
288
  this._renderPanelFlowItems(),
289
289
  this._renderedOpenLayerFlowItems
290
290
  ];
291
291
  return this.closed ? null : v("root-flow", h`<calcite-flow>${_}</calcite-flow>`);
292
292
  }
293
293
  _renderItem(e, t, s) {
294
- return v(e.uid, Z({ activeItem: this._activeItem, canMove: this._canMove, css: I, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
294
+ return v(e.uid, Z({ activeItem: this._activeItem, canMove: this._canMove, css: f, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
295
295
  }
296
296
  }
297
- k("arcgis-layer-list-next", oe);
297
+ x("arcgis-layer-list-next", oe);
298
298
  export {
299
299
  oe as ArcgisLayerListNext
300
300
  };
@@ -1,41 +1,41 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { html as s } from "lit";
3
3
  import { keyed as K } from "lit/directives/keyed.js";
4
- import { isLayerFromCatalog as Le } from "@arcgis/core/layers/catalog/catalogUtils.js";
4
+ import { isLayerFromCatalog as De } from "@arcgis/core/layers/catalog/catalogUtils.js";
5
5
  import { safeClassMap as r, nothing as d } from "@arcgis/lumina";
6
6
  import { classes as Q } from "@arcgis/toolkit/dom";
7
7
  import { createRef as W, ref as X } from "lit/directives/ref.js";
8
- import { a as Me } from "../../../chunks/action-utils.js";
9
- import { f as ke, i as Y, l as Ee, h as Pe, j as we, k as De, g as Oe } from "../../../chunks/layer-list-utils.js";
10
- import { i as Fe, g as Z, t as ee, h as te, a as Ge, F as Re, b as Ve, L as ie, f as He } from "../../../chunks/utils2.js";
8
+ import { a as Ee } from "../../../chunks/action-utils.js";
9
+ import { f as Pe, i as Y, l as we, h as Oe, j as Fe, k as Ge, g as Re } from "../../../chunks/layer-list-utils.js";
10
+ import { a as Ve, b as He, i as Ue, g as Z, t as ee, h as te, c as qe, F as je, d as Be, L as ie, f as Ne } from "../../../chunks/utils2.js";
11
11
  const ae = /* @__PURE__ */ new Map();
12
- function le(a) {
13
- return a ? ae.get(a) ?? !1 : !1;
12
+ function le(l) {
13
+ return l ? ae.get(l) ?? !1 : !1;
14
14
  }
15
- function Ue(a, e) {
16
- const y = !(a.aria?.pressed ?? le(e));
17
- return a.aria = { ...a.aria, pressed: y }, e && ae.set(e, y), y;
15
+ function _e(l, e) {
16
+ const $ = !(l.aria?.pressed ?? le(e));
17
+ return l.aria = { ...l.aria, pressed: $ }, e && ae.set(e, $), $;
18
18
  }
19
- function qe(a) {
20
- const { item: e, itemType: y = "layer", parent: f, hideStatusIndicators: ne, css: i, visibilityAppearance: I, hideCatalogLayerList: ce, dragEnabled: P = !1, rootGroupUid: A, listModeDisabled: se = !1, selectionMode: T, displayMode: oe, layerTablesEnabled: C, showErrors: re, parentTitles: w, selectedItems: de, activeItem: me, handleCatalogOpen: ue, handleTablesOpen: be, selectedDragItemLayerUid: ge, handleSelectedDragItemLayerUidChange: pe, handlePanelOpen: $e, messages: l, setCurrentActiveItem: D, clearActiveItem: O } = a, c = Fe(e), p = W(), S = W(), ye = y === "table" ? l.untitledTable ?? "" : l.untitledLayer ?? "", fe = c ? l.trackInfo?.[e.trackInfoType] ?? e.trackInfoType ?? "" : "", b = e.title || fe || ye || "";
19
+ function ze(l) {
20
+ const { item: e, itemType: $ = "layer", parent: v, hideStatusIndicators: ne, css: i, visibilityAppearance: I, hideCatalogLayerList: se, dragEnabled: E = !1, rootGroupUid: A, listModeDisabled: ce = !1, selectionMode: T, displayMode: oe, layerTablesEnabled: C, showErrors: re, parentTitles: P, selectedItems: de, activeItem: me, handleCatalogOpen: ue, handleTablesOpen: pe, selectedDragItemLayerUid: be, handleSelectedDragItemLayerUidChange: ge, handlePanelOpen: ye, messages: a, setCurrentActiveItem: w, clearActiveItem: O } = l, $e = Ve(e), ve = He(e), c = Ue(e), g = W(), S = W(), fe = $ === "table" ? a.untitledTable ?? "" : a.untitledLayer ?? "", he = $e ? a.trackInfo?.[e.content.name] ?? e.content.name : "", Ie = ve ? a.telemetryDisplay?.[e.content.name] ?? e.content.name : "", p = e.title || he || Ie || fe || "";
21
21
  let F = null;
22
- !ne && !c && (F = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${l} .item=${e} .parent=${f} slot=content-end></arcgis-layer-list-item-indicator>`);
22
+ !ne && !c && (F = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${a} .item=${e} .parent=${v} slot=content-end></arcgis-layer-list-item-indicator>`);
23
23
  let G = null;
24
24
  {
25
- const { layer: t } = e, n = t && "persistenceEnabled" in t && (Le(t) || !t.persistenceEnabled);
26
- !c && (a.showTemporaryLayerIndicators || a.showTemporaryTableIndicators) && n && (G = s`<calcite-icon class=${r(i.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${l.temporary ?? d}></calcite-icon>`);
25
+ const { layer: t } = e, n = t && "persistenceEnabled" in t && (De(t) || !t.persistenceEnabled);
26
+ !c && (l.showTemporaryLayerIndicators || l.showTemporaryTableIndicators) && n && (G = s`<calcite-icon class=${r(i.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${a.temporary ?? d}></calcite-icon>`);
27
27
  }
28
28
  let R = null;
29
29
  if ("visible" in e && "visibleToggle" in i && I) {
30
- const t = Z(f);
30
+ const t = Z(v);
31
31
  if (t !== "inherited") {
32
- const n = ke({
32
+ const n = Pe({
33
33
  visible: e.visible,
34
34
  exclusive: t === "exclusive",
35
35
  visibilityAppearance: I
36
- }), o = I === "checkbox", m = l.layerVisibility, $ = e.title ?? e.layer?.title ?? "", g = $ ? `${m ?? ""}: ${$}` : m ?? "", v = c ? e.visible : le(e.layer?.id);
37
- R = s`<calcite-action .aria=${{ pressed: v }} class=${r(i.visibleToggle)} .icon=${o ? n : void 0} .label=${g} @click=${(E) => {
38
- c || Ue(E.currentTarget, e.layer?.id), ee(e, f);
36
+ }), o = I === "checkbox", m = a.layerVisibility, y = p, b = y ? `${m ?? ""}: ${y}` : m ?? "", f = c ? e.visible : le(e.layer?.id);
37
+ R = s`<calcite-action .aria=${{ pressed: f }} class=${r(i.visibleToggle)} .icon=${o ? n : void 0} .label=${b} @click=${(D) => {
38
+ c || _e(D.currentTarget, e.layer?.id), ee(e, v);
39
39
  }} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? d}>${o ? null : s`<calcite-icon class=${r(Q({
40
40
  [i.visibleIcon]: t !== "exclusive" && e.visible
41
41
  }))} .icon=${n} scale=s></calcite-icon>`}</calcite-action>`;
@@ -44,7 +44,7 @@ function qe(a) {
44
44
  let V = null;
45
45
  {
46
46
  const t = e.panel;
47
- t?.open && !t.disabled && !t.flowEnabled && (!c || te(e)) && (V = s`<div class=${r(i.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${a.view}></arcgis-layer-list-item-panel></div>`);
47
+ t?.open && !t.disabled && !t.flowEnabled && (!c || te(e)) && (V = s`<div class=${r(i.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${l.view}></arcgis-layer-list-item-panel></div>`);
48
48
  }
49
49
  let H = null;
50
50
  {
@@ -52,12 +52,12 @@ function qe(a) {
52
52
  if (t?.visible && (!c || te(e))) {
53
53
  const { open: n, title: o, disabled: m } = t;
54
54
  (t.content === "legend" || Array.isArray(t.content) && t.content.includes("legend")) && (t.icon = "legend");
55
- const $ = {
55
+ const y = {
56
56
  icon: t.icon,
57
57
  image: t.image ?? void 0,
58
58
  indicator: !1
59
- }, g = Me($);
60
- H = s`<calcite-action .active=${n} .disabled=${m} .icon=${g} @click=${() => Ge(e, $e)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? d}>${Re(i, t)}</calcite-action>`;
59
+ }, b = Ee(y);
60
+ H = s`<calcite-action .active=${n} .disabled=${m} .icon=${b} @click=${() => qe(e, ye)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? d}>${je(i, t)}</calcite-action>`;
61
61
  }
62
62
  }
63
63
  let U = null;
@@ -73,7 +73,7 @@ function qe(a) {
73
73
  let j = null;
74
74
  if ("visible" in e) {
75
75
  const t = e.layer;
76
- !c && !ce && t?.type === "catalog-dynamic-group" && (j = s`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => ue?.(e)} scale=s slot=actions-end .text=${b ?? ""}></calcite-action>`);
76
+ !c && !se && t?.type === "catalog-dynamic-group" && (j = s`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => ue?.(e)} scale=s slot=actions-end .text=${p ?? ""}></calcite-action>`);
77
77
  }
78
78
  let B = null, x = !1;
79
79
  {
@@ -88,50 +88,50 @@ function qe(a) {
88
88
  x = C.includes(t.type) && "subtables" in t && !!t.subtables?.length;
89
89
  break;
90
90
  }
91
- "itemTableIcon" in i && "visible" in e && "tables" in l && x && (B = K(`${e.uid}-tables`, s`<calcite-list-item class=${r(i.item)} data-layer-id=${t?.id ?? d} drag-disabled .label=${l.tables} title=${l.tables ?? d} @calciteListItemSelect=${() => be?.(e)} .value=${e}><calcite-icon class=${r(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`));
91
+ "itemTableIcon" in i && "visible" in e && "tables" in a && x && (B = K(`${e.uid}-tables`, s`<calcite-list-item class=${r(i.item)} data-layer-id=${t?.id ?? d} drag-disabled .label=${a.tables} title=${a.tables ?? d} @calciteListItemSelect=${() => pe?.(e)} .value=${e}><calcite-icon class=${r(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`));
92
92
  }
93
93
  let N = null;
94
94
  if ("children" in e) {
95
- const t = [...w ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && Ee(e), $ = se ? !1 : Pe(o), g = o?.type === "group", v = !$ && !m && P && g, E = g && "sortable" in e && e.sortable, Ce = n.some((u) => "sortable" in u && u.sortable), Se = P && (m || v) && (Ce || v) && ("childrenSortable" in e && e.childrenSortable || E) && we(e), xe = m ? (n?.filter((u) => !u.hidden && (re || !u.error)).toArray() ?? []).map((u) => qe({
96
- ...a,
95
+ const t = [...P ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && we(e), y = ce ? !1 : Oe(o), b = o?.type === "group", f = !y && !m && E && b, D = b && "sortable" in e && e.sortable, Le = n.some((u) => "sortable" in u && u.sortable), Me = E && (m || f) && (Le || f) && ("childrenSortable" in e && e.childrenSortable || D) && Fe(e), ke = m ? (n?.filter((u) => !u.hidden && (re || !u.error)).toArray() ?? []).map((u) => ze({
96
+ ...l,
97
97
  item: u,
98
98
  parent: e,
99
99
  parentTitles: t
100
100
  })) : null;
101
- (m || v) && (N = s`<calcite-list .canPull=${(u) => a.canMove ? a.canMove(u, "pull") : !1} .canPut=${(u) => a.canMove ? a.canMove(u, "put") : !1} data-item=${e.uid ?? d} data-layer-type=${A ?? d} .displayMode=${oe} .dragEnabled=${Se} .group=${g ? A : `${A}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${T}>${xe}${B}</calcite-list>`);
101
+ (m || f) && (N = s`<calcite-list .canPull=${(u) => l.canMove ? l.canMove(u, "pull") : !1} .canPut=${(u) => l.canMove ? l.canMove(u, "put") : !1} data-item=${e.uid ?? d} data-layer-type=${A ?? d} .displayMode=${oe} .dragEnabled=${Me} .group=${b ? A : `${A}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${T}>${ke}${B}</calcite-list>`);
102
102
  }
103
103
  let L = null;
104
104
  if (!c && e.error) {
105
- const t = "layerError" in l ? l.layerError : l.tableError;
105
+ const t = "layerError" in a ? a.layerError : a.tableError;
106
106
  L = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${t}</div></calcite-notice></div>`;
107
- } else "incompatible" in e && e.incompatible && "layerIncompatible" in l && (L = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${X(S)}><div slot=message>${l.layerIncompatible}</div></calcite-notice></div>`);
108
- const _ = Ve(e), M = e.actionsSections.reduce((t, n) => t + n.length, 0), z = De(_), ve = _.toArray().map((t) => s`<calcite-action-group>${t.toArray().map((n) => ie(a, n, !0))}</calcite-action-group>`), he = (t) => {
107
+ } else "incompatible" in e && e.incompatible && "layerIncompatible" in a && (L = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${X(S)}><div slot=message>${a.layerIncompatible}</div></calcite-notice></div>`);
108
+ const _ = Be(e), M = e.actionsSections.reduce((t, n) => t + n.length, 0), z = Ge(_), Ae = _.toArray().map((t) => s`<calcite-action-group>${t.toArray().map((n) => ie(l, n, !0))}</calcite-action-group>`), Te = (t) => {
109
109
  e.actionsOpen = t.currentTarget.open;
110
110
  };
111
111
  let J = null;
112
- M > 1 && (J = s`<calcite-action-menu appearance=transparent .label=${l.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${he}><calcite-action .aria=${{
112
+ M > 1 && (J = s`<calcite-action-menu appearance=transparent .label=${a.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Te}><calcite-action .aria=${{
113
113
  expanded: e.actionsOpen ?? !1,
114
114
  hasPopup: "true"
115
- }} icon=ellipsis scale=s slot=trigger .text=${l.options ?? ""} title=${l.options ?? d}></calcite-action>${ve}</calcite-action-menu>`);
115
+ }} icon=ellipsis scale=s slot=trigger .text=${a.options ?? ""} title=${a.options ?? d}></calcite-action>${Ae}</calcite-action-menu>`);
116
116
  let k = null;
117
- M === 1 && z ? k = ie(a, z, !1) : M > 1 && (k = J);
118
- const Ie = c ? b : "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in l && !e.visibleAtCurrentTimeExtent ? `${b} (${l.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in l && !e.visibleAtCurrentScale ? `${b} (${l.layerInvisibleAtScale})` : b, Ae = "parent" in e && e.parent?.layer?.type === "catalog", h = e.layer, Te = !c && ("visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent);
117
+ M === 1 && z ? k = ie(l, z, !1) : M > 1 && (k = J);
118
+ const Ce = c ? p : "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in a && !e.visibleAtCurrentTimeExtent ? `${p} (${a.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in a && !e.visibleAtCurrentScale ? `${p} (${a.layerInvisibleAtScale})` : p, Se = "parent" in e && e.parent?.layer?.type === "catalog", h = e.layer, xe = !c && ("visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent);
119
119
  return queueMicrotask(() => {
120
- c || He(p.value ?? null, e, ge, pe), S.value && (a.handleTooltipReferenceChange?.(h?.uid, S.value), queueMicrotask(() => a.handleTooltipReferenceChange?.(h?.uid, null)));
121
- }), K(e.uid, s`<calcite-list-item class=${r(Q(i.item, "itemActive" in i && { [i.itemActive]: me?.uid === e.uid }))} data-item=${e.uid ?? d} data-layer-id=${h?.id ?? d} .dragDisabled=${!("sortable" in e && e.sortable) || Ae} id=${(c ? void 0 : h?.uid) ?? d} .label=${b} .metadata=${{ parentTitles: w ?? [], _title: b }} .expanded=${"open" in e && e.open} .selected=${T !== "none" ? de.includes(e) : !1} title=${Ie ?? d} .unavailable=${Te} .value=${e} @focusin=${() => {
122
- D?.(e), p.value?.classList.add(i.itemActive);
120
+ c || Ne(g.value ?? null, e, be, ge), S.value && (l.handleTooltipReferenceChange?.(h?.uid, S.value), queueMicrotask(() => l.handleTooltipReferenceChange?.(h?.uid, null)));
121
+ }), K(e.uid, s`<calcite-list-item class=${r(Q(i.item, "itemActive" in i && { [i.itemActive]: me?.uid === e.uid }))} data-item=${e.uid ?? d} data-layer-id=${h?.id ?? d} .dragDisabled=${!("sortable" in e && e.sortable) || Se} id=${(c ? void 0 : h?.uid) ?? d} .label=${p} .metadata=${{ parentTitles: P ?? [], _title: p }} .expanded=${"open" in e && e.open} .selected=${T !== "none" ? de.includes(e) : !1} title=${Ce ?? d} .unavailable=${xe} .value=${e} @focusin=${() => {
122
+ w?.(e), g.value?.classList.add(i.itemActive);
123
123
  }} @focusout=${() => {
124
- O?.(), p.value?.classList.remove(i.itemActive);
124
+ O?.(), g.value?.classList.remove(i.itemActive);
125
125
  }} @mouseover=${() => {
126
- D?.(e), p.value?.classList.add(i.itemActive);
126
+ w?.(e), g.value?.classList.add(i.itemActive);
127
127
  }} @mouseleave=${() => {
128
- O?.(), p.value?.classList.remove(i.itemActive);
128
+ O?.(), g.value?.classList.remove(i.itemActive);
129
129
  }} @calciteListItemSelect=${(t) => {
130
- t.target === t.currentTarget && "visible" in e && Oe(t.currentTarget, a.operationalItems) === e && T === "none" && Z(f) !== "inherited" && ee(e, f);
130
+ t.target === t.currentTarget && "visible" in e && Re(t.currentTarget, l.operationalItems) === e && T === "none" && Z(v) !== "inherited" && ee(e, v);
131
131
  }} @calciteListItemToggle=${(t) => {
132
132
  "open" in e && (t.stopPropagation(), e.open = t.target.expanded);
133
- }} ${X(p)}>${U}${q}${F}${R}${j}${G}${N}${L}${V}${H}${k}</calcite-list-item>`);
133
+ }} ${X(g)}>${U}${q}${F}${R}${j}${G}${N}${L}${V}${H}${k}</calcite-list-item>`);
134
134
  }
135
135
  export {
136
- qe as ArcgisLayerListItem
136
+ ze as ArcgisLayerListItem
137
137
  };
@@ -45,6 +45,15 @@ export type LayerListMessages = {
45
45
  previousObservations: string;
46
46
  trackLines: string;
47
47
  };
48
+ telemetryDisplay: {
49
+ frame: string;
50
+ frameCenter: string;
51
+ frameOutline: string;
52
+ lineOfSight: string;
53
+ sensorLocation: string;
54
+ sensorPath: string;
55
+ sensorTrail: string;
56
+ };
48
57
  catalogLayers: string;
49
58
  connectionStatus: string;
50
59
  updating: string;
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as h } from "../../chunks/runtime.js";
3
3
  import { html as i } from "lit";
4
- import d from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
5
- import { usePropertyChange as m } from "@arcgis/lumina/controllers";
4
+ import m from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
5
+ import { usePropertyChange as d } from "@arcgis/lumina/controllers";
6
6
  import { m as g } from "../../chunks/useViewModel.js";
7
7
  import { u as p } from "../../chunks/useT9n.js";
8
8
  import { reEmitEvent as u } from "@arcgis/lumina/controllers/accessor";
@@ -47,10 +47,10 @@ const e = {
47
47
  [e.geographic]: "geographic",
48
48
  [e.chronologicalSingle]: "chronologicalSingle",
49
49
  [e.chronologicalMultiple]: "chronologicalMultiple"
50
- }, v = g(d);
50
+ }, v = g(m);
51
51
  class L extends y {
52
52
  constructor() {
53
- super(...arguments), this.messages = p(), this.viewModel = v(this), this.view = this.viewModel.view, this.appearance = "dropdown", this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = m()("state"), this.arcgisReady = w();
53
+ super(...arguments), this.messages = p(), this.viewModel = v(this), this.view = this.viewModel.view, this.appearance = "dropdown", this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = d()("state"), this.arcgisReady = w();
54
54
  }
55
55
  static {
56
56
  this.properties = { view: 0, appearance: 1, autoDestroyDisabled: 5, closeOnSelectDisabled: 5, icon: 1, label: 1, layout: 32, messageOverrides: 0, preventExtentUpdate: 5, referenceElement: 1, state: 32 };
@@ -69,7 +69,7 @@ class L extends y {
69
69
  }
70
70
  _renderMenuBar() {
71
71
  const { messages: t } = this;
72
- return i`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(l).map(([o, c]) => i`<calcite-action-group .label=${this.messages[o]}>${c.map((a) => i`<calcite-action scale=s .icon=${s[a]} .active=${a === this.layout ? !0 : void 0} @click=${() => {
72
+ return i`<calcite-action-bar scale=s floating overflow-mode=none>${Object.entries(l).map(([o, c]) => i`<calcite-action-group .label=${this.messages[o]}>${c.map((a) => i`<calcite-action scale=s .icon=${s[a]} .active=${a === this.layout ? !0 : void 0} @click=${() => {
73
73
  this.switchLayout(a);
74
74
  }} .text=${t[n[a]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`;
75
75
  }
@@ -78,7 +78,7 @@ class D extends v {
78
78
  }
79
79
  render() {
80
80
  const { _messages: t, label: e, navigationMode: n, state: l } = this, s = e ?? t.componentLabel ?? "", a = t.pan ?? "", o = t.rotate ?? "", c = l === "disabled", i = n === "pan";
81
- return M`<calcite-action-bar class=${m({ root: !0, [x.disabled]: c })} expand-disabled .layout=${this.layout} @keydown=${this._onActionKeyDown}><calcite-action-group .label=${s} @calciteActionGroupChange=${this._onActionGroupChange} selection-mode=single-persist><calcite-action .active=${i} data-navigation-mode=pan .icon=${r.pan} .label=${a} .scale=${this.visualScale} .text=${a} title=${a ?? h} ${g(this._setPanActionRef)}></calcite-action><calcite-action .active=${!i} data-navigation-mode=rotate .icon=${r.rotate} .label=${o} .scale=${this.visualScale} .text=${o} title=${o ?? h} ${g(this._setRotateActionRef)}></calcite-action></calcite-action-group></calcite-action-bar>`;
81
+ return M`<calcite-action-bar class=${m({ root: !0, [x.disabled]: c })} expand-toggle-disabled .layout=${this.layout} @keydown=${this._onActionKeyDown}><calcite-action-group .label=${s} @calciteActionGroupChange=${this._onActionGroupChange} selection-mode=single-persist><calcite-action .active=${i} data-navigation-mode=pan .icon=${r.pan} .label=${a} .scale=${this.visualScale} .text=${a} title=${a ?? h} ${g(this._setPanActionRef)}></calcite-action><calcite-action .active=${!i} data-navigation-mode=rotate .icon=${r.rotate} .label=${o} .scale=${this.visualScale} .text=${o} title=${o ?? h} ${g(this._setRotateActionRef)}></calcite-action></calcite-action-group></calcite-action-bar>`;
82
82
  }
83
83
  }
84
84
  u("arcgis-navigation-toggle", D);
@@ -1839,7 +1839,7 @@ class ot extends ue {
1839
1839
  });
1840
1840
  } catch {
1841
1841
  }
1842
- }}>${(this.viewModel.bauFeatures?.length ?? 0) > 1 ? b(this._messages.pasteMany ?? "", { num: this.viewModel.bauFeatures.length }) : this._messages.paste}</calcite-button></div></div>`}${i ? d`<calcite-action-bar overflow-actions-disabled slot=action-bar layout=horizontal scale=s expand-disabled class="carousel-bar"><calcite-button .disabled=${this.viewModel.updating} @click=${(p) => {
1842
+ }}>${(this.viewModel.bauFeatures?.length ?? 0) > 1 ? b(this._messages.pasteMany ?? "", { num: this.viewModel.bauFeatures.length }) : this._messages.paste}</calcite-button></div></div>`}${i ? d`<calcite-action-bar overflow-mode=none slot=action-bar layout=horizontal scale=s expand-toggle-disabled class="carousel-bar"><calcite-button .disabled=${this.viewModel.updating} @click=${(p) => {
1843
1843
  this._showFloatingChoice = !this._showFloatingChoice, p.stopPropagation();
1844
1844
  }} scale=s appearance=transparent icon-start=legend icon-end=chevron-down kind=neutral><span class="bau-pick">${l}${h ? d`<calcite-icon scale=s icon=exclamation-mark-triangle class="danger-icon-warning"></calcite-icon>` : ""}</span></calcite-button><calcite-action slot=actions-end icon=chevron-left icon-flip-rtl scale=s .text=${this._messages.back ?? ""} .disabled=${!s || a || !i} @click=${() => {
1845
1845
  this.viewModel.previousActiveFeature();
@@ -125,6 +125,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
125
125
  * Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) on the
126
126
  * [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) property.
127
127
  *
128
+ * @slot [actions-start] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the start of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the start of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions).
129
+ * @slot [actions-end] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the end of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the end of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions).
128
130
  * @since 4.34
129
131
  * @beta
130
132
  * @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
@@ -45,7 +45,7 @@ class c extends r {
45
45
  return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
46
46
  }
47
47
  _renderAdvancedSection() {
48
- return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
48
+ return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" expandable .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
49
49
  }
50
50
  _renderExportButton() {
51
51
  return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
@@ -43,7 +43,7 @@ class c extends l {
43
43
  }}></calcite-button></div></div><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`;
44
44
  }
45
45
  _renderAdvancedSection() {
46
- return this.hideAdvancedOptions ? null : i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
46
+ return this.hideAdvancedOptions ? null : i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" expandable .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
47
47
  }
48
48
  _renderExportButton() {
49
49
  return i`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
@@ -72,7 +72,7 @@ class w extends v {
72
72
  }
73
73
  _renderMoreResults(e) {
74
74
  const { messages: t } = this;
75
- return !this._abortController && e?.length ? r`<calcite-block collapsible scale=s .headingLevel=${this.headingLevel} .heading=${$(t?.showMoreResults ?? "", { count: e.length })}><calcite-list scale=s display-mode=flat interaction-mode=static selection-mode=none .label=${t?.moreResults ?? ""}>${e?.map((s) => this._renderItem(s))}</calcite-list></calcite-block>` : null;
75
+ return !this._abortController && e?.length ? r`<calcite-block expandable scale=s .headingLevel=${this.headingLevel} .heading=${$(t?.showMoreResults ?? "", { count: e.length })}><calcite-list scale=s display-mode=flat interaction-mode=static selection-mode=none .label=${t?.moreResults ?? ""}>${e?.map((s) => this._renderItem(s))}</calcite-list></calcite-block>` : null;
76
76
  }
77
77
  _renderCopyAction({ text: e, value: t }) {
78
78
  return r`<calcite-action .text=${e} title=${e ?? C} slot=actions-end icon=copy @click=${() => this._copyTextToClipboard(t)}></calcite-action>`;
@@ -868,6 +868,16 @@ export abstract class ArcgisScene extends LitElement {
868
868
  * > [arcgis-shadow-cast](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/) components. They use their own `utcOffset` properties. Support for using the
869
869
  * > scene's time zone in these components is planned for a future release.
870
870
  *
871
+ * The time zone can be set to one of the following values:
872
+ *
873
+ * **Possible Values**
874
+ *
875
+ * | Value | Description |
876
+ * | ----- | ----------- |
877
+ * | system | Dates and times will be displayed in the time zone of the device or browser. |
878
+ * | unknown | Dates and times will be displayed based on the time zone that has been defined for the layer. No adjustments are made to the display of date info. The [arcgis-time-bar](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-time-bar/) component is disabled. |
879
+ * | Specified IANA time zone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). |
880
+ *
871
881
  * @default "system"
872
882
  * @since 5.2
873
883
  * @see [SceneView.timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#timeZone)
@@ -556,7 +556,7 @@ class Mt extends rt {
556
556
  }
557
557
  }
558
558
  render() {
559
- return d`<div role=presentation><calcite-action-bar class="action-bar" layout=horizontal expand-disabled .floating=${this.toolbarKind === "floating"} overflow-actions-disabled>${this.#e === "ltr" ? d`${this.#s()}${this.#a()}${this.#c()}${this.#m()}${this.#n()}` : d`${this.#s()}${this.#m()}${this.#c()}${this.#a()}${this.#n()}`}</calcite-action-bar></div>`;
559
+ return d`<div role=presentation><calcite-action-bar class="action-bar" layout=horizontal expand-toggle-disabled .floating=${this.toolbarKind === "floating"} overflow-mode=none>${this.#e === "ltr" ? d`${this.#s()}${this.#a()}${this.#c()}${this.#m()}${this.#n()}` : d`${this.#s()}${this.#m()}${this.#c()}${this.#a()}${this.#n()}`}</calcite-action-bar></div>`;
560
560
  }
561
561
  #s() {
562
562
  return this.showNext || this.showPlay || this.showPrevious || this.showTimeExtent || this.showSettings ? null : d`<calcite-action disabled .text=${this.messages.componentLabel} text-enabled></calcite-action>`;
@@ -68,7 +68,7 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
68
68
  *
69
69
  * ```html
70
70
  * <calcite-shell>
71
- * <calcite-shell-panel slot="panel-start" position="start" width-scale="l">
71
+ * <calcite-shell-panel slot="panel-start" position="start" width="l">
72
72
  * <arcgis-utility-network-trace-analysis reference-element="#map-element"></arcgis-utility-network-trace-analysis>
73
73
  * </calcite-shell-panel>
74
74
  * <arcgis-map id="map-element" item-id="471eb0bf37074b1fbb972b1da70fb310"></arcgis-map>
@@ -6,7 +6,7 @@ import type { ActionEvent } from "@arcgis/core/widgets/Popup/types.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
7
  import type { ArcgisFeaturesNext } from "../arcgis-features-next/customElement.js";
8
8
  import type { ArcgisReferenceElement } from "../types.js";
9
- import type { SelectStartPayload } from "../arcgis-utility-network-trace-location-next/customElement.js";
9
+ import type { SelectStartPayload } from "../arcgis-utility-network-trace-locations/customElement.js";
10
10
  import type { ArcgisUtilityNetworkTraceResultsNext } from "../arcgis-utility-network-trace-results-next/customElement.js";
11
11
  import type { T9nMeta } from "@arcgis/lumina/controllers";
12
12
  import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
@@ -76,7 +76,7 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
76
76
  *
77
77
  * ```html
78
78
  * <calcite-shell>
79
- * <calcite-shell-panel slot="panel-start" position="start" width-scale="l">
79
+ * <calcite-shell-panel slot="panel-start" position="start" width="l">
80
80
  * <arcgis-utility-network-trace-analysis-next reference-element="#map-element"></arcgis-utility-network-trace-analysis-next>
81
81
  * </calcite-shell-panel>
82
82
  * <arcgis-map id="map-element" item-id="471eb0bf37074b1fbb972b1da70fb310"></arcgis-map>
@@ -48,7 +48,7 @@ class x extends y {
48
48
  #o() {
49
49
  if (!this.#e)
50
50
  return;
51
- const { traceLocations: e, traceLocationFlagInfos: t, traceConfiguration: s, isSubnetworkNameTraceSelected: a } = this.#e, r = !!s?.subnetworkName, h = e?.some((o) => o.type === "starting-point"), g = t?.some((o) => !!o.flagProperties.terminalConfiguration && !o.flagProperties.selectedTerminals?.size) ?? !1;
51
+ const { traceLocations: e, traceLocationDetails: t, traceConfiguration: s, isSubnetworkNameTraceSelected: a } = this.#e, r = !!s?.subnetworkName, h = e?.some((o) => o.type === "starting-point"), g = t?.some((o) => !!o.flagProperties.terminalConfiguration && !o.flagProperties.selectedTerminals?.size) ?? !1;
52
52
  this._traceError = void 0, this._showNoStartingPointsWarning = !a && !h || a && !r, this._showMissingTerminalWarning = g;
53
53
  }
54
54
  #a(e) {
@@ -8,7 +8,7 @@ import type MapView from "@arcgis/core/views/MapView.js";
8
8
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
9
9
  import type { ArcgisReferenceElement } from "../types.js";
10
10
  import type { UtilityNetworkTraceAnalysisDisplayMode } from "../arcgis-utility-network-trace-analysis-next/types.js";
11
- import type { FlagInfo, SelectStartPayload } from "../arcgis-utility-network-trace-location-next/customElement.js";
11
+ import type { TraceLocationDetails, SelectStartPayload } from "../arcgis-utility-network-trace-locations/customElement.js";
12
12
  import type { T9nMeta } from "@arcgis/lumina/controllers";
13
13
 
14
14
  /**
@@ -167,7 +167,7 @@ export abstract class ArcgisUtilityNetworkTraceInputsNext extends LitElement {
167
167
  *
168
168
  * @internal
169
169
  */
170
- get traceLocationFlagInfos(): Collection<FlagInfo>;
170
+ get traceLocationDetails(): Collection<TraceLocationDetails>;
171
171
  get traceLocations(): TraceLocation[];
172
172
  /**
173
173
  * The view associated with the component.