@arcgis/map-components 5.2.0-next.87 → 5.2.0-next.88
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.
- package/dist/cdn/{IOZ5U2X7.js → 2GQ6KVNI.js} +1 -1
- package/dist/cdn/3CFRD2EN.js +2 -0
- package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
- package/dist/cdn/{3IY3D62Z.js → JXBEE5GW.js} +1 -1
- package/dist/cdn/JZC42PXS.js +2 -0
- package/dist/cdn/NB5DQKQY.js +2 -0
- package/dist/cdn/TRFWUKXA.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +10 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +604 -51
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +20 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +10 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +433 -59
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -6
- package/dist/components/arcgis-compass/customElement.d.ts +10 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -0
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-daylight/customElement.d.ts +10 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +10 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -0
- package/dist/components/arcgis-directions/customElement.d.ts +10 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -0
- package/dist/components/arcgis-editor/customElement.d.ts +10 -0
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -0
- package/dist/components/arcgis-expand/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-features/customElement.d.ts +20 -0
- package/dist/components/arcgis-features-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-features-next/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -0
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-home/customElement.d.ts +10 -0
- package/dist/components/arcgis-layer-list/customElement.d.ts +20 -0
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +285 -123
- package/dist/components/arcgis-layer-list-next/customElement.js +2 -3
- package/dist/components/arcgis-layer-list-next/types.d.ts +44 -6
- package/dist/components/arcgis-legend/customElement.d.ts +10 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-locate/customElement.d.ts +10 -0
- package/dist/components/arcgis-map/customElement.d.ts +10 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +10 -0
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +25 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +10 -0
- package/dist/components/arcgis-paste/customElement.d.ts +10 -0
- package/dist/components/arcgis-popup/customElement.d.ts +20 -0
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +10 -0
- package/dist/components/arcgis-presentation/customElement.js +70 -71
- package/dist/components/arcgis-print/customElement.d.ts +10 -0
- package/dist/components/arcgis-scale-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-scene/customElement.d.ts +10 -0
- package/dist/components/arcgis-search/customElement.d.ts +10 -0
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +10 -0
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +10 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +10 -0
- package/dist/components/arcgis-slice/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +10 -0
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -0
- package/dist/components/arcgis-table-list/customElement.d.ts +102 -15
- package/dist/components/arcgis-table-list-next/customElement.d.ts +310 -44
- package/dist/components/arcgis-table-list-next/customElement.js +2 -3
- package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
- package/dist/components/arcgis-time-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-track/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +10 -0
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-version-management/customElement.d.ts +10 -0
- package/dist/components/arcgis-video/customElement.d.ts +10 -0
- package/dist/components/arcgis-video-player/customElement.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +22 -1
- package/dist/components/arcgis-weather/customElement.d.ts +10 -0
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- package/dist/cdn/3UUQJCZL.js +0 -2
- package/dist/cdn/FZHWZNBO.js +0 -2
- package/dist/cdn/TCMRGJTC.js +0 -2
- package/dist/cdn/TUTTPXC5.js +0 -2
|
@@ -11,16 +11,19 @@ import type { ArcgisReferenceElement, HeadingLevel, IconName } from "../types.js
|
|
|
11
11
|
import type { CatalogLayerListParams, FlowLayer, TableListParams } from "./types.js";
|
|
12
12
|
import type { ArcgisCatalogLayerListNext } from "../arcgis-catalog-layer-list-next/customElement.js";
|
|
13
13
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
|
-
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
15
14
|
import type { ItemModifier, State } from "@arcgis/core/layers/list/types.js";
|
|
16
15
|
import type { List as List } from "@esri/calcite-components/components/calcite-list";
|
|
16
|
+
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* > [!WARNING]
|
|
20
|
-
* > The Layer List (next) component is the successor to the Layer List component, provided to you early for testing and feedback.
|
|
20
|
+
* > The Layer List (next) component is the successor to the Layer List component, provided to you early for testing and feedback.
|
|
21
|
+
* In version 6.0, the implementation of [arcgis-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/) will be updated under the hood to that of [arcgis-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/),
|
|
22
|
+
* and this component will be removed. There is a breaking change in the name of the events for [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogLayerList) and
|
|
23
|
+
* [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#tableList) compared to [arcgis-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list/). To update at version 6.0, simply remove `-next` from the component name.
|
|
21
24
|
*
|
|
22
25
|
* The Layer List (next) provides a way to display a list of layers and switch on/off their visibility.
|
|
23
|
-
* The [listItemCreatedFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#listItemCreatedFunction) and the [
|
|
26
|
+
* The [listItemCreatedFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#listItemCreatedFunction) and the [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) API provides access to each layer's properties, allows
|
|
24
27
|
* the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
|
|
25
28
|
*
|
|
26
29
|
* > **Notes**
|
|
@@ -46,15 +49,23 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
46
49
|
* prevent memory leaks.
|
|
47
50
|
*
|
|
48
51
|
* @default false
|
|
52
|
+
* @example
|
|
53
|
+
*
|
|
54
|
+
* ```html
|
|
55
|
+
* <arcgis-layer-list-next auto-destroy-disabled></arcgis-layer-list-next>
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ```js
|
|
59
|
+
* layerListNextElement.autoDestroyDisabled = true;
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
49
62
|
*/
|
|
50
63
|
accessor autoDestroyDisabled: boolean;
|
|
51
64
|
/**
|
|
52
|
-
* The
|
|
53
|
-
* The catalog layer list will be displayed as an expandable
|
|
54
|
-
* This property is set when a catalog layer's dynamic group layer is expanded in the
|
|
55
|
-
* This property is useful for listening to the [arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#event-arcgisTriggerAction) event and managing selections in catalog layers.
|
|
56
|
-
*
|
|
57
|
-
* 
|
|
65
|
+
* The [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/) that displays a catalog layer's [dynamic group layer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer).
|
|
66
|
+
* The catalog layer list will be displayed as an expandable [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) in the root of the layer list when a CatalogLayer is present in the map.
|
|
67
|
+
* This property is set when a catalog layer's dynamic group layer is expanded in the layer list. Otherwise, it is `null`.
|
|
68
|
+
* This property is useful for listening to the [arcgis-catalog-layer-list-next.@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/#event-arcgisTriggerAction) event and managing selections in catalog layers.
|
|
58
69
|
*
|
|
59
70
|
* @example
|
|
60
71
|
* ```js
|
|
@@ -92,15 +103,16 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
92
103
|
* );
|
|
93
104
|
* layerListHandles.push(catalogSelectionWatchHandle);
|
|
94
105
|
* ```
|
|
106
|
+
* @see [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/)
|
|
107
|
+
* @see [catalogOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogOptions)
|
|
95
108
|
*/
|
|
96
109
|
get catalogLayerList(): ArcgisCatalogLayerListNext | undefined;
|
|
97
110
|
/**
|
|
98
111
|
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) specific properties.
|
|
99
|
-
* Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [arcgis-catalog-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/) in the
|
|
112
|
+
* Catalog layers will display their [CatalogLayer#dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/) in the arcgis-layer-list-next component.
|
|
100
113
|
* This list item will only be displayed when catalog layers with dynamic group layers are loaded in the map.
|
|
101
|
-
* These are the properties that are used to configure the [arcgis-catalog-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/).
|
|
114
|
+
* These are the properties that are used to configure the [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/).
|
|
102
115
|
*
|
|
103
|
-
* @see [arcgis-catalog-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/) for more details on the catalog layer list and its properties.
|
|
104
116
|
* @example
|
|
105
117
|
* ```js
|
|
106
118
|
* layerListElement.catalogOptions = {
|
|
@@ -108,122 +120,194 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
108
120
|
* const { item } = event;
|
|
109
121
|
* item.actionsSections = [
|
|
110
122
|
* [
|
|
111
|
-
* {
|
|
123
|
+
* new ActionToggle({
|
|
112
124
|
* title: "Add layer to map",
|
|
113
125
|
* icon: "add-layer",
|
|
114
126
|
* id: "add-layer"
|
|
115
|
-
* }
|
|
127
|
+
* });
|
|
116
128
|
* ]
|
|
117
129
|
* ];
|
|
118
130
|
* },
|
|
119
131
|
* selectionMode: "single"
|
|
120
132
|
* };
|
|
121
133
|
* ```
|
|
134
|
+
* @see [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/)
|
|
135
|
+
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogLayerList)
|
|
122
136
|
*/
|
|
123
137
|
accessor catalogOptions: CatalogLayerListParams | undefined;
|
|
124
138
|
/**
|
|
125
139
|
* Indicates whether a component is closed. When `true`, the component will be hidden.
|
|
126
140
|
*
|
|
127
141
|
* @default false
|
|
142
|
+
* @example
|
|
143
|
+
*
|
|
144
|
+
* ```html
|
|
145
|
+
* <arcgis-layer-list-next closed></arcgis-layer-list-next>
|
|
146
|
+
* ```
|
|
147
|
+
*
|
|
148
|
+
* ```js
|
|
149
|
+
* layerListNextElement.closed = true;
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
128
152
|
*/
|
|
129
153
|
accessor closed: boolean;
|
|
130
154
|
/**
|
|
131
|
-
* Indicates whether the component is collapsed.
|
|
132
|
-
* When collapsed, only the collapse button and heading are displayed.
|
|
155
|
+
* Indicates whether the component is collapsed. When collapsed, only the collapse button and heading are displayed.
|
|
133
156
|
*
|
|
134
157
|
* @default false
|
|
135
|
-
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showCollapseButton)
|
|
136
158
|
* @example
|
|
159
|
+
*
|
|
160
|
+
* ```html
|
|
161
|
+
* <arcgis-layer-list-next collapsed></arcgis-layer-list-next>
|
|
162
|
+
* ```
|
|
163
|
+
*
|
|
137
164
|
* ```js
|
|
138
|
-
*
|
|
165
|
+
* layerListNextElement.collapsed = true;
|
|
139
166
|
* ```
|
|
167
|
+
*
|
|
140
168
|
*/
|
|
141
169
|
accessor collapsed: boolean;
|
|
142
170
|
/**
|
|
143
|
-
* Indicates whether [
|
|
144
|
-
* MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer.
|
|
145
|
-
* Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#minDragEnabledItems).
|
|
171
|
+
* Indicates whether [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) may be reordered within the list by dragging and dropping. MapImageLayer [MapImageLayer#sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer. Drag and drop won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#minDragEnabledItems).
|
|
146
172
|
*
|
|
147
173
|
* @default false
|
|
148
|
-
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#minDragEnabledItems)
|
|
149
174
|
* @example
|
|
175
|
+
*
|
|
176
|
+
* ```html
|
|
177
|
+
* <arcgis-layer-list-next drag-enabled></arcgis-layer-list-next>
|
|
178
|
+
* ```
|
|
179
|
+
*
|
|
150
180
|
* ```js
|
|
151
|
-
*
|
|
181
|
+
* layerListNextElement.dragEnabled = true;
|
|
152
182
|
* ```
|
|
183
|
+
*
|
|
153
184
|
*/
|
|
154
185
|
accessor dragEnabled: boolean;
|
|
155
186
|
/**
|
|
156
|
-
* Placeholder text used in the filter input
|
|
187
|
+
* Placeholder text used in the filter input when filtering is enabled.
|
|
157
188
|
*
|
|
158
189
|
* @default ""
|
|
159
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter)
|
|
160
190
|
* @example
|
|
191
|
+
*
|
|
192
|
+
* ```html
|
|
193
|
+
* <arcgis-layer-list-next filter-placeholder="Search..."></arcgis-layer-list-next>
|
|
194
|
+
* ```
|
|
195
|
+
*
|
|
161
196
|
* ```js
|
|
162
|
-
*
|
|
197
|
+
* layerListNextElement.filterPlaceholder = "Search...";
|
|
163
198
|
* ```
|
|
199
|
+
*
|
|
164
200
|
*/
|
|
165
201
|
accessor filterPlaceholder: string;
|
|
166
202
|
/**
|
|
167
|
-
* Specifies a function to
|
|
203
|
+
* Specifies a function to determine whether a list item should be included in filter results.
|
|
168
204
|
*
|
|
169
205
|
* @example
|
|
206
|
+
*
|
|
207
|
+
*
|
|
170
208
|
* ```js
|
|
171
|
-
*
|
|
209
|
+
* layerListNextElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
172
210
|
* ```
|
|
211
|
+
*
|
|
173
212
|
*/
|
|
174
213
|
accessor filterPredicate: ((item: Item | TableItem) => boolean) | undefined;
|
|
175
214
|
/**
|
|
176
|
-
* The value of the filter input
|
|
215
|
+
* The value of the filter input text string when filtering is enabled.
|
|
177
216
|
*
|
|
178
217
|
* @default ""
|
|
179
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter)
|
|
180
218
|
* @example
|
|
219
|
+
*
|
|
220
|
+
*
|
|
181
221
|
* ```js
|
|
182
|
-
*
|
|
183
|
-
* (
|
|
184
|
-
*
|
|
185
|
-
* )
|
|
222
|
+
* layerListNextElement.filterText =
|
|
223
|
+
* reactiveUtils.watch(
|
|
224
|
+
* () => layerListNext.filterText,
|
|
225
|
+
* (filterText) => console.log(filterText)
|
|
226
|
+
* );
|
|
227
|
+
* ;
|
|
186
228
|
* ```
|
|
229
|
+
*
|
|
187
230
|
*/
|
|
188
231
|
accessor filterText: string;
|
|
189
232
|
/**
|
|
190
|
-
* Indicates the heading level to use for the heading of the component.
|
|
191
|
-
* By default, the heading is rendered as a level 2 heading (e.g., `<h2>Layer List</h2>`).
|
|
192
|
-
* Depending on the component's placement in your app, you may need to adjust this heading for proper semantics.
|
|
193
|
-
* This is important for meeting accessibility standards.
|
|
233
|
+
* Indicates the heading level to use for the heading of the component. By default, the heading is rendered as a `<h2>`. Depending on the component's placement in your app, you may need to adjust this heading for proper semantics. This is important for meeting accessibility standards.
|
|
194
234
|
*
|
|
195
235
|
* @default 2
|
|
196
|
-
* @see [
|
|
236
|
+
* @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
|
|
197
237
|
* @example
|
|
238
|
+
*
|
|
239
|
+
* ```html
|
|
240
|
+
* <arcgis-layer-list-next heading-level="2"></arcgis-layer-list-next>
|
|
241
|
+
* ```
|
|
242
|
+
*
|
|
198
243
|
* ```js
|
|
199
|
-
*
|
|
244
|
+
* layerListNextElement.headingLevel = 2;
|
|
200
245
|
* ```
|
|
246
|
+
*
|
|
201
247
|
*/
|
|
202
248
|
accessor headingLevel: HeadingLevel;
|
|
203
249
|
/**
|
|
204
|
-
*
|
|
250
|
+
* Indicates whether to hide the catalog layer list in the component.
|
|
205
251
|
*
|
|
206
252
|
* @default false
|
|
253
|
+
* @example
|
|
254
|
+
*
|
|
255
|
+
* ```html
|
|
256
|
+
* <arcgis-layer-list-next hide-catalog-layer-list></arcgis-layer-list-next>
|
|
257
|
+
* ```
|
|
258
|
+
*
|
|
259
|
+
* ```js
|
|
260
|
+
* layerListNextElement.hideCatalogLayerList = true;
|
|
261
|
+
* ```
|
|
262
|
+
*
|
|
207
263
|
*/
|
|
208
264
|
accessor hideCatalogLayerList: boolean;
|
|
209
265
|
/**
|
|
210
|
-
*
|
|
266
|
+
* Indicates whether to hide the notice that appears when no results are found after filtering.
|
|
211
267
|
*
|
|
212
268
|
* @default false
|
|
213
|
-
* @
|
|
269
|
+
* @example
|
|
270
|
+
*
|
|
271
|
+
* ```html
|
|
272
|
+
* <arcgis-layer-list-next hide-no-filter-results-notice></arcgis-layer-list-next>
|
|
273
|
+
* ```
|
|
274
|
+
*
|
|
275
|
+
* ```js
|
|
276
|
+
* layerListNextElement.hideNoFilterResultsNotice = true;
|
|
277
|
+
* ```
|
|
278
|
+
*
|
|
214
279
|
*/
|
|
215
280
|
accessor hideNoFilterResultsNotice: boolean;
|
|
216
281
|
/**
|
|
217
|
-
*
|
|
282
|
+
* Indicates whether to hide the notice that appears when there are no items to display.
|
|
218
283
|
*
|
|
219
284
|
* @default false
|
|
220
|
-
* @
|
|
285
|
+
* @example
|
|
286
|
+
*
|
|
287
|
+
* ```html
|
|
288
|
+
* <arcgis-layer-list-next hide-no-items-notice></arcgis-layer-list-next>
|
|
289
|
+
* ```
|
|
290
|
+
*
|
|
291
|
+
* ```js
|
|
292
|
+
* layerListNextElement.hideNoItemsNotice = true;
|
|
293
|
+
* ```
|
|
294
|
+
*
|
|
221
295
|
*/
|
|
222
296
|
accessor hideNoItemsNotice: boolean;
|
|
223
297
|
/**
|
|
224
|
-
*
|
|
298
|
+
* Indicates whether to hide status indicators in the component.
|
|
225
299
|
*
|
|
226
300
|
* @default false
|
|
301
|
+
* @example
|
|
302
|
+
*
|
|
303
|
+
* ```html
|
|
304
|
+
* <arcgis-layer-list-next hide-status-indicators></arcgis-layer-list-next>
|
|
305
|
+
* ```
|
|
306
|
+
*
|
|
307
|
+
* ```js
|
|
308
|
+
* layerListNextElement.hideStatusIndicators = true;
|
|
309
|
+
* ```
|
|
310
|
+
*
|
|
227
311
|
*/
|
|
228
312
|
accessor hideStatusIndicators: boolean;
|
|
229
313
|
/**
|
|
@@ -262,7 +346,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
262
346
|
* }
|
|
263
347
|
* ]
|
|
264
348
|
* ];
|
|
265
|
-
* }
|
|
349
|
+
* }
|
|
266
350
|
* minFilterItems: 1
|
|
267
351
|
* }
|
|
268
352
|
* ```
|
|
@@ -277,57 +361,35 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
277
361
|
/** @internal */
|
|
278
362
|
accessor listItemCanReceiveFunction: CanSortFunction | undefined;
|
|
279
363
|
/**
|
|
280
|
-
* A function that executes each time a
|
|
281
|
-
* Use this function to add actions and panels to list items, and to override
|
|
282
|
-
* the default settings of a list item. Actions can be added to list items
|
|
283
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections)
|
|
284
|
-
* property.
|
|
364
|
+
* A function that executes each time a list item is created. Use this function to configure the list item, including its title, actions, and panels.
|
|
285
365
|
*
|
|
286
|
-
* @see [Sample - LayerList component with actions](https://developers.arcgis.com/javascript/latest/sample-code/layer-list-actions/)
|
|
287
366
|
* @example
|
|
367
|
+
*
|
|
368
|
+
*
|
|
288
369
|
* ```js
|
|
289
|
-
*
|
|
290
|
-
* //
|
|
291
|
-
*
|
|
292
|
-
* // and other properties. You can control the visibility of the
|
|
293
|
-
* // item, its title, and actions using this object.
|
|
294
|
-
* const item = event.item;
|
|
370
|
+
* layerListNextElement.listItemCreatedFunction = async (event) => {
|
|
371
|
+
* // Destructure the item from the event object
|
|
372
|
+
* const {item} = event;
|
|
295
373
|
*
|
|
374
|
+
* // Wait for the layer to load and the item title to become available
|
|
296
375
|
* await item.layer.when();
|
|
297
|
-
*
|
|
376
|
+
*
|
|
377
|
+
* // If the item's title matches "US Demographics", customize the list item
|
|
298
378
|
* if (item.title === "US Demographics") {
|
|
299
|
-
* //
|
|
300
|
-
*
|
|
301
|
-
* //
|
|
302
|
-
* item.
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
* {
|
|
310
|
-
* title: "Layer information",
|
|
311
|
-
* icon: "information",
|
|
312
|
-
* id: "information",
|
|
313
|
-
* },
|
|
314
|
-
* ],
|
|
315
|
-
* [
|
|
316
|
-
* {
|
|
317
|
-
* title: "Increase opacity",
|
|
318
|
-
* icon: "chevron-up",
|
|
319
|
-
* id: "increase-opacity",
|
|
320
|
-
* },
|
|
321
|
-
* {
|
|
322
|
-
* title: "Decrease opacity",
|
|
323
|
-
* icon: "chevron-down",
|
|
324
|
-
* id: "decrease-opacity",
|
|
325
|
-
* },
|
|
326
|
-
* ],
|
|
327
|
-
* ];
|
|
379
|
+
* // open the list item in the LayerList component
|
|
380
|
+
* item.open = true;
|
|
381
|
+
* // change the title to something more descriptive
|
|
382
|
+
* item.title = "Population by county";
|
|
383
|
+
* // set an action for zooming to the full extent of the layer
|
|
384
|
+
* item.actionsSections = [[{
|
|
385
|
+
* title: "Go to full extent",
|
|
386
|
+
* icon: "zoom-out-fixed",
|
|
387
|
+
* id: "full-extent"
|
|
388
|
+
* }]];
|
|
328
389
|
* }
|
|
329
|
-
* }
|
|
390
|
+
* };;
|
|
330
391
|
* ```
|
|
392
|
+
*
|
|
331
393
|
*/
|
|
332
394
|
accessor listItemCreatedFunction: ItemModifier | null | undefined;
|
|
333
395
|
/**
|
|
@@ -336,12 +398,22 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
336
398
|
* @default false
|
|
337
399
|
* @see [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
338
400
|
* @since 5.2
|
|
401
|
+
* @example
|
|
402
|
+
*
|
|
403
|
+
* ```html
|
|
404
|
+
* <arcgis-layer-list-next list-mode-disabled></arcgis-layer-list-next>
|
|
405
|
+
* ```
|
|
406
|
+
*
|
|
407
|
+
* ```js
|
|
408
|
+
* layerListNextElement.listModeDisabled = true;
|
|
409
|
+
* ```
|
|
410
|
+
*
|
|
339
411
|
*/
|
|
340
412
|
accessor listModeDisabled: boolean;
|
|
341
413
|
/**
|
|
342
|
-
*
|
|
414
|
+
* Replace localized message strings with your own strings.
|
|
343
415
|
*
|
|
344
|
-
*
|
|
416
|
+
* _**Note**: Individual message keys may change between releases._
|
|
345
417
|
*/
|
|
346
418
|
accessor messageOverrides: NonNullable<ArcgisCatalogLayerListNext["messageOverrides"]> & NonNullable<ArcgisTableListNext["messageOverrides"]> & {
|
|
347
419
|
componentLabel?: string | undefined;
|
|
@@ -425,36 +497,42 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
425
497
|
paused: string;
|
|
426
498
|
}>;
|
|
427
499
|
/**
|
|
428
|
-
* The minimum number of list items required to enable drag and drop reordering
|
|
500
|
+
* The minimum number of list items required to enable drag and drop reordering.
|
|
429
501
|
*
|
|
430
502
|
* @default 2
|
|
431
|
-
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#dragEnabled)
|
|
432
503
|
* @example
|
|
504
|
+
*
|
|
505
|
+
* ```html
|
|
506
|
+
* <arcgis-layer-list-next min-drag-enabled-items="5"></arcgis-layer-list-next>
|
|
507
|
+
* ```
|
|
508
|
+
*
|
|
433
509
|
* ```js
|
|
434
|
-
*
|
|
435
|
-
* layerListElement.minDragEnabledItems = 5;
|
|
510
|
+
* layerListNextElement.minDragEnabledItems = 5;
|
|
436
511
|
* ```
|
|
512
|
+
*
|
|
437
513
|
*/
|
|
438
514
|
accessor minDragEnabledItems: number;
|
|
439
515
|
/**
|
|
440
|
-
* The minimum number of list items required to display the
|
|
516
|
+
* The minimum number of list items required to display the filter input box.
|
|
441
517
|
*
|
|
442
518
|
* @default 10
|
|
443
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter)
|
|
444
519
|
* @example
|
|
520
|
+
*
|
|
521
|
+
* ```html
|
|
522
|
+
* <arcgis-layer-list-next min-filter-items="3"></arcgis-layer-list-next>
|
|
523
|
+
* ```
|
|
524
|
+
*
|
|
445
525
|
* ```js
|
|
446
|
-
*
|
|
447
|
-
* layerListElement.minFilterItems = 5;
|
|
526
|
+
* layerListNextElement.minFilterItems = 3;
|
|
448
527
|
* ```
|
|
528
|
+
*
|
|
449
529
|
*/
|
|
450
530
|
accessor minFilterItems: number;
|
|
451
531
|
/**
|
|
452
|
-
* A collection of [
|
|
532
|
+
* A collection of [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) that are opened
|
|
453
533
|
* in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogLayerList) or [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#tableList) flow item.
|
|
454
|
-
* This property is useful for backing out of the catalog layer list or table list
|
|
455
|
-
* programmatically to the parent layer list.
|
|
534
|
+
* This property is useful for backing out of the catalog layer list or table list programmatically to the parent layer list.
|
|
456
535
|
*
|
|
457
|
-
* @default []
|
|
458
536
|
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogLayerList)
|
|
459
537
|
* @see [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#tableList)
|
|
460
538
|
* @example
|
|
@@ -464,7 +542,14 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
464
542
|
* ```
|
|
465
543
|
*/
|
|
466
544
|
get openedLayers(): Collection<FlowLayer>;
|
|
467
|
-
/**
|
|
545
|
+
/**
|
|
546
|
+
* A collection of [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) representing the operational layers in the layer list.
|
|
547
|
+
*
|
|
548
|
+
* @example
|
|
549
|
+
* ```js
|
|
550
|
+
* layerListElement.operationalItems.forEach(item => console.log(item.title));
|
|
551
|
+
* ```
|
|
552
|
+
*/
|
|
468
553
|
get operationalItems(): Collection<Item>;
|
|
469
554
|
/**
|
|
470
555
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -473,15 +558,22 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
473
558
|
*/
|
|
474
559
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
475
560
|
/**
|
|
476
|
-
* A collection of selected [
|
|
477
|
-
* selected by the user in the layer list.
|
|
561
|
+
* A collection of selected [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) in the list. This collection is updated when the user changes selection and is only populated when [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectionMode) is not set to `"none"`.
|
|
478
562
|
*
|
|
479
563
|
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectionMode)
|
|
564
|
+
* @example
|
|
565
|
+
* ```js
|
|
566
|
+
* reactiveUtils.watch(
|
|
567
|
+
* () => layerListNext.selectedItems?.at(0)?.layer,
|
|
568
|
+
* (layer) => {
|
|
569
|
+
* layer && handleLayerSelection(layer);
|
|
570
|
+
* },
|
|
571
|
+
* );
|
|
572
|
+
* ```
|
|
480
573
|
*/
|
|
481
574
|
accessor selectedItems: Collection<Item>;
|
|
482
575
|
/**
|
|
483
|
-
* Specifies the selection mode.
|
|
484
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems) property.
|
|
576
|
+
* Specifies the selection mode. Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems) property.
|
|
485
577
|
*
|
|
486
578
|
* | Value | Description |
|
|
487
579
|
* | ----- | ----------- |
|
|
@@ -493,52 +585,114 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
493
585
|
* @default "none"
|
|
494
586
|
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems)
|
|
495
587
|
* @example
|
|
588
|
+
*
|
|
589
|
+
* ```html
|
|
590
|
+
* <arcgis-layer-list-next selection-mode="multiple"></arcgis-layer-list-next>
|
|
591
|
+
* ```
|
|
592
|
+
*
|
|
496
593
|
* ```js
|
|
497
|
-
*
|
|
594
|
+
* layerListNextElement.selectionMode = "multiple";
|
|
498
595
|
* ```
|
|
596
|
+
*
|
|
499
597
|
*/
|
|
500
598
|
accessor selectionMode: List["selectionMode"];
|
|
501
599
|
/**
|
|
502
600
|
* This property provides the ability to show or hide the close button.
|
|
503
601
|
*
|
|
504
602
|
* @default false
|
|
603
|
+
* @example
|
|
604
|
+
*
|
|
605
|
+
* ```html
|
|
606
|
+
* <arcgis-layer-list-next show-close-button></arcgis-layer-list-next>
|
|
607
|
+
* ```
|
|
608
|
+
*
|
|
609
|
+
* ```js
|
|
610
|
+
* layerListNextElement.showCloseButton = true;
|
|
611
|
+
* ```
|
|
612
|
+
*
|
|
505
613
|
*/
|
|
506
614
|
accessor showCloseButton: boolean;
|
|
507
615
|
/**
|
|
508
616
|
* This property provides the ability to show or hide the collapse button.
|
|
509
617
|
*
|
|
510
618
|
* @default false
|
|
619
|
+
* @example
|
|
620
|
+
*
|
|
621
|
+
* ```html
|
|
622
|
+
* <arcgis-layer-list-next show-collapse-button></arcgis-layer-list-next>
|
|
623
|
+
* ```
|
|
624
|
+
*
|
|
625
|
+
* ```js
|
|
626
|
+
* layerListNextElement.showCollapseButton = true;
|
|
627
|
+
* ```
|
|
628
|
+
*
|
|
511
629
|
*/
|
|
512
630
|
accessor showCollapseButton: boolean;
|
|
513
631
|
/**
|
|
514
|
-
* This property provides the ability to show or hide error indicators.
|
|
632
|
+
* This property provides the ability to show or hide layer error indicators.
|
|
515
633
|
*
|
|
516
634
|
* @default false
|
|
635
|
+
* @example
|
|
636
|
+
*
|
|
637
|
+
* ```html
|
|
638
|
+
* <arcgis-layer-list-next show-errors></arcgis-layer-list-next>
|
|
639
|
+
* ```
|
|
640
|
+
*
|
|
641
|
+
* ```js
|
|
642
|
+
* layerListNextElement.showErrors = true;
|
|
643
|
+
* ```
|
|
644
|
+
*
|
|
517
645
|
*/
|
|
518
646
|
accessor showErrors: boolean;
|
|
519
647
|
/**
|
|
520
|
-
* This property provides the ability to show or hide the filter input.
|
|
648
|
+
* This property provides the ability to show or hide the filter input box when then number of list items is equal to or greater than the value set in [minFilterItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#minFilterItems), allowing users to filter layers by their title.
|
|
521
649
|
*
|
|
522
650
|
* @default false
|
|
651
|
+
* @example
|
|
652
|
+
*
|
|
653
|
+
* ```html
|
|
654
|
+
* <arcgis-layer-list-next show-filter></arcgis-layer-list-next>
|
|
655
|
+
* ```
|
|
656
|
+
*
|
|
657
|
+
* ```js
|
|
658
|
+
* layerListNextElement.showFilter = true;
|
|
659
|
+
* ```
|
|
660
|
+
*
|
|
523
661
|
*/
|
|
524
662
|
accessor showFilter: boolean;
|
|
525
663
|
/**
|
|
526
664
|
* This property provides the ability to show or hide the heading.
|
|
527
665
|
*
|
|
528
666
|
* @default false
|
|
667
|
+
* @example
|
|
668
|
+
*
|
|
669
|
+
* ```html
|
|
670
|
+
* <arcgis-layer-list-next show-heading></arcgis-layer-list-next>
|
|
671
|
+
* ```
|
|
672
|
+
*
|
|
673
|
+
* ```js
|
|
674
|
+
* layerListNextElement.showHeading = true;
|
|
675
|
+
* ```
|
|
676
|
+
*
|
|
529
677
|
*/
|
|
530
678
|
accessor showHeading: boolean;
|
|
531
679
|
/**
|
|
532
|
-
* This property provides the ability to show or hide temporary layer indicators.
|
|
680
|
+
* This property provides the ability to show or hide the temporary layer indicators for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
|
|
533
681
|
*
|
|
534
682
|
* @default false
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
*
|
|
683
|
+
* @example
|
|
684
|
+
*
|
|
685
|
+
* ```html
|
|
686
|
+
* <arcgis-layer-list-next show-temporary-layer-indicators></arcgis-layer-list-next>
|
|
687
|
+
* ```
|
|
539
688
|
*
|
|
540
|
-
*
|
|
689
|
+
* ```js
|
|
690
|
+
* layerListNextElement.showTemporaryLayerIndicators = true;
|
|
691
|
+
* ```
|
|
692
|
+
*
|
|
541
693
|
*/
|
|
694
|
+
accessor showTemporaryLayerIndicators: boolean;
|
|
695
|
+
/** The current state of the component. */
|
|
542
696
|
get state(): State;
|
|
543
697
|
/**
|
|
544
698
|
* The [arcgis-table-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list-next/) component instance that displays the tables associated with a [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/).
|
|
@@ -552,6 +706,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
552
706
|
*
|
|
553
707
|
* @see [knowledgeGraphOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#knowledgeGraphOptions) for configuring the table list and its items.
|
|
554
708
|
* @example
|
|
709
|
+
* ```js
|
|
555
710
|
* // Use reactiveUtils to respond to the layerListElement.tableList "arcgisTriggerAction" event
|
|
556
711
|
* const tableListActionHandle = reactiveUtils.on(
|
|
557
712
|
* () => layerListElement.tableList,
|
|
@@ -573,6 +728,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
573
728
|
* },
|
|
574
729
|
* );
|
|
575
730
|
* layerListHandles.push(tableSelectionWatchHandle);
|
|
731
|
+
* ```
|
|
576
732
|
*/
|
|
577
733
|
get tableList(): ArcgisTableListNext | undefined;
|
|
578
734
|
/**
|
|
@@ -582,32 +738,38 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
582
738
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
583
739
|
/**
|
|
584
740
|
* Determines the icons used to indicate visibility.
|
|
585
|
-
*
|
|
586
741
|
* | Value | Description | Example |
|
|
587
742
|
* | ----- | ----------- | ------- |
|
|
588
743
|
* | default | Displays view icons on the far side. Icons are hidden except on hover or if they have keyboard focus. See [view-visible](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-visible&library=Calcite%20UI&query=view) and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. |  |
|
|
589
744
|
* | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. |  |
|
|
745
|
+
*
|
|
590
746
|
*
|
|
591
747
|
* @default "default"
|
|
592
748
|
* @example
|
|
749
|
+
*
|
|
750
|
+
* ```html
|
|
751
|
+
* <arcgis-layer-list-next visibility-appearance="checkbox"></arcgis-layer-list-next>
|
|
752
|
+
* ```
|
|
753
|
+
*
|
|
593
754
|
* ```js
|
|
594
|
-
*
|
|
755
|
+
* layerListNextElement.visibilityAppearance = "checkbox";
|
|
595
756
|
* ```
|
|
757
|
+
*
|
|
596
758
|
*/
|
|
597
759
|
accessor visibilityAppearance: VisibilityAppearance;
|
|
598
760
|
/** Permanently destroy the component. */
|
|
599
761
|
destroy(): Promise<void>;
|
|
600
762
|
/** Emitted when the component's close button is clicked. */
|
|
601
763
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
602
|
-
/**
|
|
764
|
+
/** Emitted when the value of the [filterText](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#filterText) input changes. */
|
|
603
765
|
readonly arcgisFilterChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
604
|
-
/**
|
|
766
|
+
/** Emitted when the collection of [openedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#openedLayers) changes. */
|
|
605
767
|
readonly arcgisOpenedLayersChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
606
768
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
607
769
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
608
770
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
609
771
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
610
|
-
/**
|
|
772
|
+
/** Emitted when the collection of [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems) changes. */
|
|
611
773
|
readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
612
774
|
/** Emitted when an action is triggered on the component. */
|
|
613
775
|
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, LayerItemCollectionEvents["trigger-action"]>;
|