@arcgis/map-components 5.2.0-next.60 → 5.2.0-next.62

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 (162) hide show
  1. package/dist/cdn/2SZEQV37.js +2 -0
  2. package/dist/cdn/3WTBTYMS.js +2 -0
  3. package/dist/cdn/4ZHTGN7K.js +2 -0
  4. package/dist/cdn/55DP6FNP.js +2 -0
  5. package/dist/cdn/{X6K2RSPI.js → 5IYDETJ3.js} +1 -1
  6. package/dist/cdn/{WYZPOKJF.js → 7MH3SB7P.js} +1 -1
  7. package/dist/cdn/A2T36WPR.js +2 -0
  8. package/dist/cdn/AEIJFBBW.js +2 -0
  9. package/dist/cdn/{NRHOAASJ.js → APOCPBJG.js} +1 -1
  10. package/dist/cdn/AZFN3LR3.js +2 -0
  11. package/dist/cdn/{F3VS53GP.js → B4IHQKAA.js} +1 -1
  12. package/dist/cdn/{AFJW3C3J.js → CZ35ZBQO.js} +1 -1
  13. package/dist/cdn/DBA7NSTP.js +2 -0
  14. package/dist/cdn/{KEV6I36K.js → DJ5IUHJS.js} +1 -1
  15. package/dist/cdn/GU3M4JMW.js +2 -0
  16. package/dist/cdn/HFKN54XG.js +2 -0
  17. package/dist/cdn/{2JV5SN44.js → IDKRMHDS.js} +1 -1
  18. package/dist/cdn/{Y3X3K2RU.js → IYLOUQFV.js} +1 -1
  19. package/dist/cdn/{CJS5I43A.js → MZBHKC3U.js} +1 -1
  20. package/dist/cdn/{OMGRHB7H.js → ND6OMAWU.js} +1 -1
  21. package/dist/cdn/{KKBZEDN4.js → OIYQ43VS.js} +1 -1
  22. package/dist/cdn/{UX6QVJG6.js → ORL32J3S.js} +1 -1
  23. package/dist/cdn/{5W6NJGFF.js → QKCBSK73.js} +1 -1
  24. package/dist/cdn/{SCPSWHG4.js → QU6ARDF6.js} +1 -1
  25. package/dist/cdn/{QVOYYXIU.js → RLA7OC3V.js} +1 -1
  26. package/dist/cdn/{ALUQRMZW.js → RUI2QLEM.js} +1 -1
  27. package/dist/cdn/S3XR7KRN.js +2 -0
  28. package/dist/cdn/{T6CKYPI7.js → SADIYG5D.js} +1 -1
  29. package/dist/cdn/SRTPZO5Z.js +2 -0
  30. package/dist/cdn/U4S4I3VD.js +2 -0
  31. package/dist/cdn/{N2KU7FO4.js → UAA66BVA.js} +1 -1
  32. package/dist/cdn/VDTRRLON.js +2 -0
  33. package/dist/cdn/{CFIH5Y4K.js → YAXMVCUT.js} +1 -1
  34. package/dist/cdn/{5F6Q3XF5.js → ZV5BQFVT.js} +1 -1
  35. package/dist/cdn/assets/oriented-imagery-viewer-panoramic-viewer/t9n/messages.en.json +1 -0
  36. package/dist/cdn/index.js +1 -1
  37. package/dist/cdn/main.css +1 -1
  38. package/dist/chunks/action-utils.js +9 -9
  39. package/dist/chunks/graphicsLayerController.js +74 -0
  40. package/dist/chunks/utils3.js +13 -45
  41. package/dist/chunks/utils4.js +51 -0
  42. package/dist/chunks/zoom.js +32 -0
  43. package/dist/components/arcgis-aggregated-features/customElement.js +11 -11
  44. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
  45. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
  46. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
  47. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
  48. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +2 -2
  49. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  50. package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
  51. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
  52. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
  53. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +23 -18
  54. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +125 -114
  55. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  56. package/dist/components/arcgis-compass/customElement.d.ts +2 -2
  57. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
  58. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +2 -2
  59. package/dist/components/arcgis-daylight/customElement.d.ts +2 -2
  60. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
  61. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
  62. package/dist/components/arcgis-directions/customElement.d.ts +2 -2
  63. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
  64. package/dist/components/arcgis-editor/customElement.d.ts +3 -3
  65. package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -2
  66. package/dist/components/arcgis-expand/customElement.d.ts +2 -2
  67. package/dist/components/arcgis-feature/customElement.d.ts +2 -2
  68. package/dist/components/arcgis-feature-next/customElement.d.ts +2 -2
  69. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  70. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  71. package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
  72. package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
  73. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  74. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  75. package/dist/components/arcgis-features-next/customElement.js +1 -1
  76. package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
  77. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  78. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  79. package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
  80. package/dist/components/arcgis-layer-list-next/customElement.d.ts +2 -2
  81. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  82. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  83. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
  84. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +2 -2
  85. package/dist/components/arcgis-locate/customElement.d.ts +2 -2
  86. package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
  87. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +2 -2
  88. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  89. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
  90. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.js +64 -132
  91. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.d.ts +51 -0
  92. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1006 -0
  93. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.d.ts +1 -0
  94. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.js +5 -0
  95. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicMedia.d.ts +49 -0
  96. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTilePlanner.d.ts +18 -0
  97. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTileSource.d.ts +36 -0
  98. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +91 -0
  99. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +93 -0
  100. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.d.ts +1 -0
  101. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.js +2 -0
  102. package/dist/components/arcgis-paste/customElement.d.ts +2 -2
  103. package/dist/components/arcgis-popup/customElement.d.ts +3 -3
  104. package/dist/components/arcgis-popup/customElement.js +1 -1
  105. package/dist/components/arcgis-presentation/customElement.d.ts +2 -2
  106. package/dist/components/arcgis-print/customElement.d.ts +2 -2
  107. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  108. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  109. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  110. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  111. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  112. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  113. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  114. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
  115. package/dist/components/arcgis-search/customElement.d.ts +2 -2
  116. package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
  117. package/dist/components/arcgis-sketch/customElement.d.ts +2 -2
  118. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  119. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +2 -2
  120. package/dist/components/arcgis-snapping-controls/customElement.d.ts +2 -2
  121. package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
  122. package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
  123. package/dist/components/arcgis-table-list-next/customElement.d.ts +2 -2
  124. package/dist/components/arcgis-time-bar/customElement.d.ts +5 -5
  125. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  126. package/dist/components/arcgis-time-bar-slider/customElement.js +11 -11
  127. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
  128. package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -2
  129. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  130. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -2
  131. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
  132. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -2
  133. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +2 -2
  134. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +2 -2
  135. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +2 -2
  136. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -2
  137. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
  138. package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
  139. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  140. package/dist/components/arcgis-weather/customElement.d.ts +2 -2
  141. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  142. package/dist/components/arcgis-zoom/customElement.js +21 -45
  143. package/dist/controllers/useT9n.d.ts +3 -0
  144. package/dist/docs/api.json +1 -1
  145. package/dist/docs/docs.json +1 -1
  146. package/dist/docs/vscode.html-custom-data.json +1 -1
  147. package/dist/docs/web-types.json +1 -1
  148. package/dist/index.d.ts +14 -0
  149. package/dist/loader.js +3 -1
  150. package/dist/types/lumina.d.ts +13 -0
  151. package/dist/types/preact.d.ts +15 -0
  152. package/dist/types/react.d.ts +17 -0
  153. package/dist/types/stencil.d.ts +13 -0
  154. package/package.json +4 -4
  155. package/dist/cdn/A5XIQWD5.js +0 -2
  156. package/dist/cdn/AK62SYBC.js +0 -2
  157. package/dist/cdn/D7DH54CE.js +0 -2
  158. package/dist/cdn/KBBYF7KD.js +0 -2
  159. package/dist/cdn/M4HY5VMM.js +0 -2
  160. package/dist/cdn/MBRWWICI.js +0 -2
  161. package/dist/cdn/OO6NV5GK.js +0 -2
  162. /package/dist/cdn/{MOJH7XEP.js → 3ZXNGXHC.js} +0 -0
@@ -9,6 +9,7 @@ import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLay
9
9
  import type { CatalogLayerListViewModelEvents } from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
10
10
  import type { TableListProperties } from "@arcgis/core/widgets/TableList.js";
11
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
+ import type { useT9n } from "../../controllers/useT9n.js";
12
13
  import type { VisibilityAppearance } from "../../utils/action-utils.js";
13
14
  import type { setFilterPredicate } from "../../utils/layer-list-utils.js";
14
15
  import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
@@ -59,22 +60,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
59
60
  accessor label: string | undefined;
60
61
  accessor listItemCreatedFunction: ListItemModifier | null | undefined;
61
62
  /** Overwrite localized strings for this component */
62
- accessor messageOverrides: {
63
- componentLabel?: string | undefined;
64
- noItemsToDisplay?: string | undefined;
65
- layerInvisibleAtScale?: string | undefined;
66
- layerInvisibleAtTime?: string | undefined;
67
- layerError?: string | undefined;
68
- untitledLayer?: string | undefined;
69
- layerVisibility?: string | undefined;
70
- showLayer?: string | undefined;
71
- hideLayer?: string | undefined;
72
- layerIncompatible?: string | undefined;
73
- layerIncompatibleTooltip?: string | undefined;
74
- temporary?: string | undefined;
75
- tables?: string | undefined;
76
- catalogLayers?: string | undefined;
77
- };
63
+ accessor messageOverrides: CatalogLayerListMessageOverrides;
78
64
  /** @internal */
79
65
  protected messages: Partial<{
80
66
  componentLabel: string;
@@ -157,8 +143,8 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
157
143
  /** @default false */
158
144
  accessor topLayerDisabled: boolean;
159
145
  /**
160
- * The view associated with the component.
161
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-catalog-layer-list-next component will be associated with a map or scene component rather than using the `view` property.
146
+ * The view associated with the component.
147
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-catalog-layer-list-next component will be associated with a map or scene component rather than using the `view` property.
162
148
  */
163
149
  accessor view: MapViewOrSceneView | null | undefined;
164
150
  /** @default "default" */
@@ -170,6 +156,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
170
156
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
171
157
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
172
158
  readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
159
+ readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, CatalogLayerListViewModelEvents["trigger-action"]>;
173
160
  readonly "@eventTypes": {
174
161
  arcgisCatalogItemsChange: ArcgisCatalogLayerListNext["arcgisCatalogItemsChange"]["detail"];
175
162
  arcgisFilterChange: ArcgisCatalogLayerListNext["arcgisFilterChange"]["detail"];
@@ -177,6 +164,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
177
164
  arcgisPropertyChange: ArcgisCatalogLayerListNext["arcgisPropertyChange"]["detail"];
178
165
  arcgisReady: ArcgisCatalogLayerListNext["arcgisReady"]["detail"];
179
166
  arcgisSelectedItemsChange: ArcgisCatalogLayerListNext["arcgisSelectedItemsChange"]["detail"];
167
+ arcgisTriggerAction: ArcgisCatalogLayerListNext["arcgisTriggerAction"]["detail"];
180
168
  };
181
169
  }
182
170
 
@@ -184,4 +172,21 @@ export type FlowLayer = CatalogLayer | SubtablesLayer;
184
172
 
185
173
  export type FlowList = ArcgisCatalogLayerListNext | ArcgisTableList;
186
174
 
175
+ export type CatalogLayerListMessageOverrides = ReturnType<typeof useT9n<{
176
+ componentLabel: string;
177
+ noItemsToDisplay: string;
178
+ layerInvisibleAtScale: string;
179
+ layerInvisibleAtTime: string;
180
+ layerError: string;
181
+ untitledLayer: string;
182
+ layerVisibility: string;
183
+ showLayer: string;
184
+ hideLayer: string;
185
+ layerIncompatible: string;
186
+ layerIncompatibleTooltip: string;
187
+ temporary: string;
188
+ tables: string;
189
+ catalogLayers: string;
190
+ }>>["_overrides"];
191
+
187
192
  export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
@@ -1,53 +1,66 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as A } from "../../chunks/runtime.js";
3
- import { html as r } from "lit";
4
- import { repeat as R } from "lit/directives/repeat.js";
2
+ import { c as O } from "../../chunks/runtime.js";
3
+ import { html as n } from "lit";
4
+ import { repeat as A } from "lit/directives/repeat.js";
5
5
  import { keyed as I } from "lit/directives/keyed.js";
6
- import { createReactiveMap as $ } from "@arcgis/core/applications/Components/featureUtils.js";
7
- import y from "@arcgis/core/core/Collection.js";
8
- import { on as L, watch as E } from "@arcgis/core/core/reactiveUtils.js";
6
+ import { createReactiveMap as F } from "@arcgis/core/applications/Components/featureUtils.js";
7
+ import u from "@arcgis/core/core/Collection.js";
8
+ import { on as L, watch as R } from "@arcgis/core/core/reactiveUtils.js";
9
9
  import k from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
10
10
  import x from "@arcgis/core/widgets/LayerList/ListItem.js";
11
- import { createRef as D, ref as g } from "lit/directives/ref.js";
12
- import { LitElement as N, createEvent as h, renderElement as C, safeClassMap as w, nothing as F } from "@arcgis/lumina";
11
+ import { LitElement as D, createEvent as d, renderElement as _, safeClassMap as b, nothing as M } from "@arcgis/lumina";
13
12
  import { usePropertyChange as B } from "@arcgis/lumina/controllers";
13
+ import { reEmitEvent as N } 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";
16
+ import { createRef as H, ref as g } from "lit/directives/ref.js";
16
17
  import { u as U } from "../../chunks/useT9n.js";
17
- import { m as H } from "../../chunks/useViewModel.js";
18
+ import { m as V } from "../../chunks/useViewModel.js";
18
19
  import { s as v } from "../../chunks/component-utils.js";
19
20
  import { g as f } from "../../chunks/globalCss.js";
20
- import { g as M, b as V, r as j, s as q, e as z } from "../../chunks/layer-list-utils.js";
21
- import { ArcgisLayerListItem as J } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
22
- import { s as K, a as Q } from "../../chunks/layer-list-next.js";
23
- import { c as W } from "../../chunks/css.js";
24
- const m = W, X = (p) => {
21
+ import { g as T, b as j, r as q, s as z, e as J } from "../../chunks/layer-list-utils.js";
22
+ import { ArcgisLayerListItem as K } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
23
+ import { s as Q, a as W } from "../../chunks/layer-list-next.js";
24
+ import { c as X } from "../../chunks/css.js";
25
+ const m = X, Y = (p) => {
25
26
  const e = p?.type;
26
27
  return e === "knowledge-graph" || e === "map-image" || e === "tile";
27
- }, Y = (p) => p?.type === "catalog", T = "nested", Z = y.ofType(x), ee = H(k);
28
- class te extends N {
28
+ }, Z = (p) => p?.type === "catalog", E = "nested", ee = u.ofType(x), te = V(k);
29
+ class se extends D {
29
30
  constructor() {
30
- super(...arguments), this._rootGroupUid = `operational-${G()}`, this._openedLayersController = null, this._rootListRef = D(), this._destroying = !1, this._destroyed = !1, this.messages = U(), this._clearActiveItem = () => {
31
+ super(...arguments), this.#l = `operational-${G()}`, this.#e = null, this.#o = H(), this.#i = !1, this.#t = !1, this.messages = U(), this.#r = () => {
31
32
  this._activeItem = null;
32
- }, this._setActiveItem = (e) => {
33
+ }, this.#n = (e) => {
33
34
  if (this.visibilityAppearance !== "default")
34
35
  return;
35
36
  const t = Array.from(e.composedPath()).find((s) => s.classList?.contains(m.item));
36
- this._activeItem = M(t);
37
- }, this._tooltipReferenceMap = $(), this._layerListMap = $(), this._setPanelFlowItemRef = (e) => {
38
- e && this._focusPanelFlowItemNode(e);
39
- }, this._setRootFlowItemRef = (e) => {
40
- e && this._focusRootFlowItemNode(e);
41
- }, this._setLayerFlowItemRef = (e) => {
42
- e && this._focusLayerFlowItemNode(e);
43
- }, this.viewModel = ee(this), this._activeItem = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this.layerTablesEnabled = new y(["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.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 y(), this.openedLayerLists = new y(), this.collapsed = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.minFilterItems = V, this.selectedItems = new Z(), this.selectionMode = "none", this.visibilityAppearance = "default", this.arcgisPropertyChange = B()("state"), this.arcgisReady = h(), this.arcgisCatalogItemsChange = h(), this.arcgisFilterChange = h(), this.arcgisSelectedItemsChange = h(), this.arcgisOpenedLayersChange = h();
37
+ this._activeItem = T(t);
38
+ }, this.#a = F(), this.#s = F(), this.#c = (e) => {
39
+ e && this.#b(e);
40
+ }, this.#h = (e) => {
41
+ e && this.#L(e);
42
+ }, this.#d = (e) => {
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.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.minFilterItems = j, this.selectedItems = new ee(), this.selectionMode = "none", this.visibilityAppearance = "default", this.arcgisPropertyChange = B()("state"), this.arcgisReady = d(), this.arcgisCatalogItemsChange = d(), this.arcgisFilterChange = d(), this.arcgisSelectedItemsChange = d(), this.arcgisOpenedLayersChange = d(), this.arcgisTriggerAction = N(() => this.viewModel, "trigger-action");
44
45
  }
45
46
  static {
46
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, 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, minFilterItems: 9, selectedItems: 0, selectionMode: 1, visibilityAppearance: 1, messageOverrides: 0, onCatalogOpen: 0, onTablesOpen: 0 };
47
48
  }
48
49
  static {
49
- this.styles = [K, Q];
50
- }
50
+ this.styles = [Q, W];
51
+ }
52
+ #l;
53
+ #e;
54
+ #o;
55
+ #i;
56
+ #t;
57
+ #r;
58
+ #n;
59
+ #a;
60
+ #s;
61
+ #c;
62
+ #h;
63
+ #d;
51
64
  get _totalItems() {
52
65
  return this.catalogItems?.flatten((e) => e.children.filter((t) => t.layer?.type !== "catalog-dynamic-group")).length ?? 0;
53
66
  }
@@ -62,7 +75,7 @@ class te extends N {
62
75
  }
63
76
  get _renderedOpenLayerFlowItems() {
64
77
  const { openedLayers: e } = this;
65
- return e.toArray().map((t, s) => this._renderLayerFlowItem(t, s === e.length - 1));
78
+ return e.toArray().map((t, s) => this.#k(t, s === e.length - 1));
66
79
  }
67
80
  get catalogItems() {
68
81
  return this.viewModel.catalogItems;
@@ -77,68 +90,66 @@ class te extends N {
77
90
  this.viewModel.catalogLayer = e;
78
91
  }
79
92
  async destroy() {
80
- this._destroying || this._destroyed || (this._destroying = !0, this._openedLayersController?.abort(), this._openedLayersController = null, await this.manager.destroy(), this.openedLayerLists.removeAll(), this.openedLayers.removeAll(), this._layerListMap.clear(), this._tooltipReferenceMap.clear(), this._destroyed = !0, this._destroying = !1);
93
+ this.#i || this.#t || (this.#i = !0, this.#e?.abort(), this.#e = null, await this.manager.destroy(), this.openedLayerLists.removeAll(), this.openedLayers.removeAll(), this.#s.clear(), this.#a.clear(), this.#t = !0, this.#i = !1);
81
94
  }
82
95
  loaded() {
83
96
  this.manager.onLifecycle(() => [
84
97
  L(() => this.openedLayers, "change", () => {
85
- this._handleOpenedLayersChange();
98
+ this.#w();
86
99
  }),
87
100
  L(() => this.viewModel.catalogItems, "change", () => {
88
- j(this.selectedItems), this.arcgisCatalogItemsChange.emit();
101
+ q(this.selectedItems), this.arcgisCatalogItemsChange.emit();
89
102
  }),
90
103
  L(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
91
- E(() => [this.filterPredicate, this._rootListRef.value], () => q(this._rootListRef.value, this.filterPredicate))
104
+ R(() => [this.filterPredicate, this.#o.value], () => z(this.#o.value, this.filterPredicate))
92
105
  ]);
93
106
  }
94
107
  disconnectedCallback() {
95
- super.disconnectedCallback(), this._openedLayersController?.abort(), this._openedLayersController = null, !this.autoDestroyDisabled && !this._destroyed && !this._destroying && this.destroy();
96
- }
97
- loadDependencies() {
108
+ super.disconnectedCallback(), this.#e?.abort(), this.#e = null, !this.autoDestroyDisabled && !this.#t && !this.#i && this.destroy();
98
109
  }
99
- triggerAction(e, t) {
110
+ #u(e, t) {
100
111
  return this.viewModel.triggerAction(e, t);
101
112
  }
102
- async _createFlowList(e, t) {
103
- const { _layerListMap: s } = this, i = s.get(e);
104
- if (i)
105
- return i;
106
- const o = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
107
- return t.aborted || !this.isConnected || this._destroyed ? (o?.destroy?.(), o) : (t.aborted || s.set(e, o), o);
113
+ async #y(e, t) {
114
+ const s = this.#s.get(e);
115
+ if (s)
116
+ return s;
117
+ const a = e.type === "catalog" ? await this.#$(e) : await this.#F(e);
118
+ return t.aborted || !this.isConnected || this.#t ? (a?.destroy?.(), a) : (t.aborted || this.#s.set(e, a), a);
108
119
  }
109
- async _handleOpenedLayersChange() {
110
- if (!this.isConnected || this._destroyed)
120
+ async #w() {
121
+ if (!this.isConnected || this.#t)
111
122
  return;
112
- const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
113
- this._openedLayersController?.abort();
114
- const i = new AbortController(), { signal: o } = i;
115
- this._openedLayersController = i, e.forEach((c, d) => {
116
- t.includes(d) || (c?.destroy?.(), e.delete(d));
123
+ const { openedLayers: e, openedLayerLists: t } = this;
124
+ this.#e?.abort();
125
+ const s = new AbortController(), { signal: a } = s;
126
+ this.#e = s, this.#s.forEach((r, c) => {
127
+ e.includes(c) || (r?.destroy?.(), this.#s.delete(c));
117
128
  });
118
- const a = await Promise.all(t.map((c) => this._createFlowList(c, o)));
119
- if (o.aborted || !this.isConnected || this._destroyed)
129
+ const o = await Promise.all(e.map((r) => this.#y(r, a)));
130
+ if (a.aborted || !this.isConnected || this.#t)
120
131
  return;
121
- s.removeAll(), s.addMany(a);
122
- const l = s.at(-1), n = l && "catalogLayer" in l ? l : void 0;
123
- this._catalogLayerList !== n && (this._catalogLayerList = n), this.arcgisOpenedLayersChange.emit();
132
+ t.removeAll(), t.addMany(o);
133
+ const i = t.at(-1), l = i && "catalogLayer" in i ? i : void 0;
134
+ this._catalogLayerList !== l && (this._catalogLayerList = l), this.arcgisOpenedLayersChange.emit();
124
135
  }
125
- _handlePanelFlowItemBack(e) {
136
+ #I(e) {
126
137
  e.open = !1, this._focusRootFlowItem = !0;
127
138
  }
128
- _focusRootFlowItemNode(e) {
139
+ #L(e) {
129
140
  this._focusRootFlowItem && (this._focusRootFlowItem = !1, v(e));
130
141
  }
131
- _focusPanelFlowItemNode(e) {
142
+ #b(e) {
132
143
  this._focusPanelFlowItem && (this._focusPanelFlowItem = !1, v(e));
133
144
  }
134
- _focusLayerFlowItemNode(e) {
145
+ #v(e) {
135
146
  this._focusLayerFlowItem === e.dataset.layerUid && (this._focusLayerFlowItem = null, v(e));
136
147
  }
137
- async _createCatalogLayerList(e) {
138
- const { headingLevel: t, catalogOptions: s, view: i, referenceElement: o, filterPlaceholder: a, listItemCreatedFunction: l, minFilterItems: n, selectionMode: c, visibilityAppearance: d } = this;
139
- return C(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? l} .minFilterItems=${s?.minFilterItems ?? n} .selectionMode=${s?.selectionMode ?? c} .visibilityAppearance=${s?.visibilityAppearance ?? d} .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=${(u) => u.stopPropagation()} .catalogLayer=${e} .view=${i} .referenceElement=${o} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
148
+ async #$(e) {
149
+ const { headingLevel: t, catalogOptions: s, view: a, referenceElement: o, filterPlaceholder: i, listItemCreatedFunction: l, minFilterItems: r, selectionMode: c, visibilityAppearance: h } = this;
150
+ return _(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>`);
140
151
  }
141
- _getTableListParams(e) {
152
+ #C(e) {
142
153
  switch (e.type) {
143
154
  case "knowledge-graph":
144
155
  return { ...this.knowledgeGraphOptions, tables: e.tables };
@@ -156,95 +167,95 @@ class te extends N {
156
167
  return null;
157
168
  }
158
169
  }
159
- async _createTableList(e) {
160
- const { headingLevel: t, selectionMode: s, referenceElement: i, view: o } = this, a = this._getTableListParams(e);
161
- return C(r`<arcgis-table-list .headingLevel=${a?.headingLevel ?? t} .selectionMode=${a?.selectionMode ?? s} .collapsed=${a?.collapsed} .filterPlaceholder=${a?.filterPlaceholder} .filterText=${a?.filterText} .label=${a?.label} .tables=${a?.tables} .view=${o} .referenceElement=${i} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list>`);
170
+ async #F(e) {
171
+ const { headingLevel: t, selectionMode: s, referenceElement: a, view: o } = this, i = this.#C(e);
172
+ return _(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>`);
162
173
  }
163
- _onTablesOpen(e) {
174
+ #m(e) {
164
175
  if (this.onTablesOpen) {
165
176
  this.onTablesOpen(e);
166
177
  return;
167
178
  }
168
179
  const t = e.layer;
169
- X(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = t.uid);
180
+ Y(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = t.uid);
170
181
  }
171
- _onCatalogOpen(e) {
182
+ #p(e) {
172
183
  if (this.onCatalogOpen) {
173
184
  this.onCatalogOpen(e);
174
185
  return;
175
186
  }
176
187
  const t = e.layer?.parent;
177
- Y(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = e.layer?.uid);
188
+ Z(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = e.layer?.uid);
178
189
  }
179
- _onTooltipReferenceChange(e, t) {
180
- t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
190
+ #_(e, t) {
191
+ t ? this.#a.set(e, t) : this.#a.delete(e);
181
192
  }
182
- _onTriggerAction(e, t) {
183
- this.triggerAction(e, t);
193
+ #M(e, t) {
194
+ this.#u(e, t);
184
195
  }
185
- _handleCalciteListChange(e) {
196
+ #T(e) {
186
197
  const { selectionMode: t, selectedItems: s } = this;
187
198
  if (t === "none")
188
199
  return;
189
- const i = e.target.selectedItems.map((o) => M(o)).filter(Boolean);
190
- s.removeAll(), s.addMany(i);
200
+ const a = e.target.selectedItems.map((o) => T(o)).filter(Boolean);
201
+ s.removeAll(), s.addMany(a);
191
202
  }
192
203
  render() {
193
204
  const { state: e } = this, t = {
194
205
  [f.hidden]: e === "loading",
195
206
  [f.disabled]: e === "disabled"
196
207
  };
197
- return r`<div class=${w(S(f.widget, f.panel, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
208
+ return n`<div class=${b(S(f.widget, f.panel, t))}>${this._visibleItems?.length ? this.#P() : null}${this.#R()}</div>`;
198
209
  }
199
- _renderItemTooltip(e) {
200
- const { _tooltipReferenceMap: t, messages: s } = this;
201
- return e?.layer ? r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
210
+ #E(e) {
211
+ const t = this.#a, s = this.messages;
212
+ return e?.layer ? n`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
202
213
  }
203
- _renderItemTooltipNodes(e) {
204
- return e.incompatible ? this._renderItemTooltip(e) : e.children?.filter((t) => !t.hidden).toArray().map((t) => this._renderItemTooltipNodes(t));
214
+ #g(e) {
215
+ return e.incompatible ? this.#E(e) : e.children?.filter((t) => !t.hidden).toArray().map((t) => this.#g(t));
205
216
  }
206
- _renderItemTooltips() {
207
- return this._visibleItems?.toArray().map((e) => this._renderItemTooltipNodes(e));
217
+ #P() {
218
+ return this._visibleItems?.toArray().map((e) => this.#g(e));
208
219
  }
209
- _renderNoItemsMessage() {
210
- return r`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
220
+ #f() {
221
+ return n`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
211
222
  }
212
- _renderNoItems() {
213
- return r`<div class=${w(m.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
223
+ #O() {
224
+ return n`<div class=${b(m.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#f()}</calcite-notice></div>`;
214
225
  }
215
- _renderPanelFlowItems() {
226
+ #A() {
216
227
  const { _openedPanelItems: e, openedLayers: t } = this;
217
- return R(e.toArray(), ({ uid: s }) => s, (s, i) => {
218
- const { uid: o, title: a, panel: l } = s, n = () => this._handlePanelFlowItemBack(l);
219
- return r`<calcite-flow-item .description=${a} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(c) => {
220
- c.preventDefault(), n();
221
- }} ${g(this._setPanelFlowItemRef)}><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=${n}>Back</calcite-button></calcite-flow-item>`;
228
+ return A(e.toArray(), ({ uid: s }) => s, (s, a) => {
229
+ const { uid: o, title: i, panel: l } = s, r = () => this.#I(l);
230
+ return n`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && a === e.length - 1} @calciteFlowItemBack=${(c) => {
231
+ c.preventDefault(), r();
232
+ }} ${g(this.#c)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${r}>Back</calcite-button></calcite-flow-item>`;
222
233
  });
223
234
  }
224
- _renderItems() {
225
- const { collapsed: e, _visibleItems: t, _filterEnabled: s, _rootGroupUid: i, showCloseButton: o, showCollapseButton: a, showHeading: l, selectionMode: n, filterText: c, filterPlaceholder: d, openedLayers: u, _openedPanelItems: P } = this, b = this.label ?? this.messages.componentLabel ?? "", O = [
226
- r`<calcite-flow-item .closable=${o} .closed=${this.closed} .collapsed=${e} .collapsible=${a} .heading=${l ? b : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !P.length} @calciteFlowItemClose=${() => this.closed = !0} ${g(this._setRootFlowItemRef)}>${t?.length ? r`<calcite-list data-layer-type=${i ?? F} .displayMode=${T} .filterEnabled=${s} .filterPlaceholder=${d} .filterProps=${z} .filterText=${s ? c : ""} .group=${i} .label=${b} @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} selection-appearance=border .selectionMode=${n} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(_) => {
227
- this.filterText = _.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
228
- }} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} ${g(this._rootListRef)}>${t.toArray().map((_) => this._renderItem(_))}${s ? r`<div class=${w(m.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>`,
229
- this._renderPanelFlowItems(),
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, C = this.label ?? this.messages.componentLabel ?? "", P = [
237
+ n`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${i ? C : 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=${$ ?? M} .displayMode=${E} .filterEnabled=${s} .filterPlaceholder=${c} .filterProps=${J} .filterText=${s ? r : ""} .group=${$} .label=${C} @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 ? 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
+ this.#A(),
230
241
  this._renderedOpenLayerFlowItems
231
242
  ];
232
- return this.closed ? null : I("root-flow", r`<calcite-flow>${O}</calcite-flow>`);
243
+ return this.closed ? null : I("root-flow", n`<calcite-flow>${P}</calcite-flow>`);
233
244
  }
234
- _renderLayerFlowItem(e, t) {
235
- const { messages: s, openedLayers: i } = this, o = e.title || this.messages.untitledLayer;
236
- return I(e.uid, r`<calcite-flow-item data-layer-uid=${e.uid ?? F} .description=${o} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(a) => {
237
- a.preventDefault(), i.pop();
238
- const l = i.at(-1);
239
- l ? this._focusLayerFlowItem = l.uid : this._focusRootFlowItem = !0;
240
- }} ${g(this._setLayerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
245
+ #k(e, t) {
246
+ const { openedLayers: s } = this, a = e.title || this.messages.untitledLayer;
247
+ return I(e.uid, n`<calcite-flow-item data-layer-uid=${e.uid ?? M} .description=${a} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(o) => {
248
+ o.preventDefault(), s.pop();
249
+ const i = s.at(-1);
250
+ i ? this._focusLayerFlowItem = i.uid : this._focusRootFlowItem = !0;
251
+ }} ${g(this.#d)}>${this.#s.get(e)}</calcite-flow-item>`);
241
252
  }
242
- _renderItem(e, t, s) {
243
- const { hideStatusIndicators: i, showCloseButton: o, showCollapseButton: a, showErrors: l, showFilter: n, showHeading: c, showTemporaryLayerIndicators: d } = this;
244
- return I(e.uid, J({ activeItem: this._activeItem ?? void 0, css: { ...m, itemCatalogIcon: m.itemActionIcon }, displayMode: T, dragEnabled: !1, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, visibilityAppearance: this.visibilityAppearance, hideStatusIndicators: i, showCloseButton: o, showCollapseButton: a, showErrors: l, showFilter: n, showHeading: c, showTemporaryLayerIndicators: d, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
253
+ #x(e, t, s) {
254
+ const { hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: c, showTemporaryLayerIndicators: h } = this;
255
+ return I(e.uid, K({ activeItem: this._activeItem ?? void 0, css: { ...m, itemCatalogIcon: m.itemActionIcon }, displayMode: 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.#M.bind(this), handleCatalogOpen: this.#p.bind(this), handleTablesOpen: this.#m.bind(this), handleTooltipReferenceChange: this.#_.bind(this), view: this.view }));
245
256
  }
246
257
  }
247
- A("arcgis-catalog-layer-list-next", te);
258
+ O("arcgis-catalog-layer-list-next", se);
248
259
  export {
249
- te as ArcgisCatalogLayerListNext
260
+ se as ArcgisCatalogLayerListNext
250
261
  };
@@ -44,8 +44,8 @@ export abstract class ArcgisClipboard extends LitElement {
44
44
  */
45
45
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
46
46
  /**
47
- * The view associated with the component.
48
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-clipboard component will be associated with a map or scene component rather than using the `view` property.
47
+ * The view associated with the component.
48
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-clipboard component will be associated with a map or scene component rather than using the `view` property.
49
49
  */
50
50
  accessor view: MapView | SceneView | undefined;
51
51
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
@@ -81,8 +81,8 @@ export abstract class ArcgisCompass extends LitElement {
81
81
  */
82
82
  get state(): CompassState;
83
83
  /**
84
- * The view associated with the component.
85
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-compass component will be associated with a map or scene component rather than using the `view` property.
84
+ * The view associated with the component.
85
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-compass component will be associated with a map or scene component rather than using the `view` property.
86
86
  */
87
87
  accessor view: MapView | SceneView | undefined;
88
88
  /**
@@ -362,8 +362,8 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
362
362
  */
363
363
  accessor storageType: StorageType;
364
364
  /**
365
- * The view associated with the component.
366
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion component will be associated with a map or scene component rather than using the `view` property.
365
+ * The view associated with the component.
366
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion component will be associated with a map or scene component rather than using the `view` property.
367
367
  */
368
368
  accessor view: MapViewOrSceneView | null | undefined;
369
369
  /** Permanently destroy the component. */
@@ -386,8 +386,8 @@ export abstract class ArcgisCoordinateConversionNext extends LitElement {
386
386
  */
387
387
  accessor verticalUnit: LengthUnit;
388
388
  /**
389
- * The view associated with the component.
390
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion-next component will be associated with a map or scene component rather than using the `view` property.
389
+ * The view associated with the component.
390
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion-next component will be associated with a map or scene component rather than using the `view` property.
391
391
  */
392
392
  accessor view: MapViewOrSceneView | null | undefined;
393
393
  /**
@@ -290,8 +290,8 @@ export abstract class ArcgisDaylight extends LitElement {
290
290
  */
291
291
  accessor utcOffset: number | null | undefined;
292
292
  /**
293
- * The view associated with the component.
294
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-daylight component will be associated with a map or scene component rather than using the `view` property.
293
+ * The view associated with the component.
294
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-daylight component will be associated with a map or scene component rather than using the `view` property.
295
295
  */
296
296
  accessor view: SceneView | undefined;
297
297
  /**
@@ -218,8 +218,8 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
218
218
  */
219
219
  accessor unitOptions: Array<SystemOrLengthUnit>;
220
220
  /**
221
- * The view associated with the component.
222
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-direct-line-measurement-3d component will be associated with a map or scene component rather than using the `view` property.
221
+ * The view associated with the component.
222
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-direct-line-measurement-3d component will be associated with a map or scene component rather than using the `view` property.
223
223
  */
224
224
  accessor view: SceneView | undefined;
225
225
  /** Clears the current measurement. */
@@ -121,8 +121,8 @@ export abstract class ArcgisDirectionalPad extends LitElement {
121
121
  /** The current state of the component. */
122
122
  get state(): DirectionalPadViewModelState;
123
123
  /**
124
- * The view associated with the component.
125
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-directional-pad component will be associated with a map or scene component rather than using the `view` property.
124
+ * The view associated with the component.
125
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-directional-pad component will be associated with a map or scene component rather than using the `view` property.
126
126
  */
127
127
  accessor view: MapView | null | undefined;
128
128
  /**
@@ -234,8 +234,8 @@ export abstract class ArcgisDirections extends LitElement {
234
234
  */
235
235
  accessor useDefaultRouteLayer: boolean;
236
236
  /**
237
- * The view associated with the component.
238
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-directions component will be associated with a map or scene component rather than using the `view` property.
237
+ * The view associated with the component.
238
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-directions component will be associated with a map or scene component rather than using the `view` property.
239
239
  */
240
240
  accessor view: MapViewOrSceneView | null | undefined;
241
241
  /** Permanently destroy the component. */
@@ -189,8 +189,8 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
189
189
  */
190
190
  accessor unitOptions: Array<SystemOrLengthUnit>;
191
191
  /**
192
- * The view associated with the component.
193
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-distance-measurement-2d component will be associated with a map or scene component rather than using the `view` property.
192
+ * The view associated with the component.
193
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-distance-measurement-2d component will be associated with a map or scene component rather than using the `view` property.
194
194
  */
195
195
  accessor view: MapView | undefined;
196
196
  /** Clears the current measurement. */
@@ -94,7 +94,7 @@ export abstract class ArcgisEditor extends LitElement {
94
94
  *
95
95
  * @default false
96
96
  * @internal
97
- * @sine 5.1
97
+ * @since 5.1
98
98
  */
99
99
  accessor hideSelectionToolbar: boolean;
100
100
  /**
@@ -398,8 +398,8 @@ export abstract class ArcgisEditor extends LitElement {
398
398
  */
399
399
  accessor useLegacyCreateTools: boolean;
400
400
  /**
401
- * The view associated with the component.
402
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-editor component will be associated with a map or scene component rather than using the `view` property.
401
+ * The view associated with the component.
402
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-editor component will be associated with a map or scene component rather than using the `view` property.
403
403
  */
404
404
  accessor view: MapViewOrSceneView | null | undefined;
405
405
  /**
@@ -499,8 +499,8 @@ export abstract class ArcgisElevationProfile extends LitElement {
499
499
  */
500
500
  accessor uniformChartScaling: boolean;
501
501
  /**
502
- * The view associated with the component.
503
- * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-elevation-profile component will be associated with a map or scene component rather than using the `view` property.
502
+ * The view associated with the component.
503
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-elevation-profile component will be associated with a map or scene component rather than using the `view` property.
504
504
  */
505
505
  accessor view: MapView | SceneView | undefined;
506
506
  /**