@arcgis/map-components 5.2.0-next.87 → 5.2.0-next.89
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/2JLMOWRT.js +2 -0
- package/dist/cdn/3CFRD2EN.js +2 -0
- package/dist/cdn/{ZLRMCH6O.js → 3CHIGFZL.js} +1 -1
- package/dist/cdn/4FVOBVTD.js +4 -0
- package/dist/cdn/{EFUTKX2O.js → 4TMQMYFX.js} +1 -1
- package/dist/cdn/{K5VWAQQ4.js → 5X3EBFJW.js} +2 -2
- package/dist/cdn/{6MYKPCPT.js → 66PT52ED.js} +1 -1
- package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
- package/dist/cdn/{SEEABOHD.js → 7EOPPY5X.js} +1 -1
- package/dist/cdn/{CF47R6K5.js → B5FTF7WR.js} +1 -1
- package/dist/cdn/EAYOGF4C.js +2 -0
- package/dist/cdn/ECXHREHJ.js +2 -0
- package/dist/cdn/{HPFRMRVM.js → EU3QJKJW.js} +1 -1
- package/dist/cdn/EVJT3HJ5.js +2 -0
- package/dist/cdn/HJPTFBQB.js +2 -0
- package/dist/cdn/HPLMTKLF.js +2 -0
- package/dist/cdn/{3IY3D62Z.js → JXBEE5GW.js} +1 -1
- package/dist/cdn/JZC42PXS.js +2 -0
- package/dist/cdn/MBFY4GDJ.js +2 -0
- package/dist/cdn/N5VJ4SAX.js +2 -0
- package/dist/cdn/NB5DQKQY.js +2 -0
- package/dist/cdn/RKXHWHFR.js +2 -0
- package/dist/cdn/{XBAD6Q2O.js → SK4OCYH7.js} +1 -1
- package/dist/cdn/{D2GIYGUD.js → SVJ7AEMP.js} +1 -1
- package/dist/cdn/{KN4PG54T.js → TLVYAP5O.js} +1 -1
- package/dist/cdn/TRFWUKXA.js +2 -0
- package/dist/cdn/{MOKFWLNF.js → VT2IDAHB.js} +1 -1
- package/dist/cdn/{K3N6NHJW.js → XHXRRAGH.js} +1 -1
- package/dist/cdn/{XMEBM4Y2.js → Y56FOEA4.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +8 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +9 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +9 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +9 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +9 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +584 -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 +9 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +18 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +9 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +420 -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 +9 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +9 -0
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +9 -0
- package/dist/components/arcgis-daylight/customElement.d.ts +9 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +9 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +9 -0
- package/dist/components/arcgis-directions/customElement.d.ts +9 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +9 -0
- package/dist/components/arcgis-editor/customElement.d.ts +9 -0
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -0
- package/dist/components/arcgis-expand/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-next/customElement.d.ts +29 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-templates/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-features/customElement.d.ts +18 -0
- package/dist/components/arcgis-features-next/customElement.d.ts +29 -1
- package/dist/components/arcgis-features-next/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +9 -0
- package/dist/components/arcgis-grid-controls/customElement.d.ts +9 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -0
- package/dist/components/arcgis-home/customElement.d.ts +9 -0
- package/dist/components/arcgis-layer-list/customElement.d.ts +18 -0
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +256 -120
- 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 +9 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +9 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +9 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +9 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -0
- package/dist/components/arcgis-locate/customElement.d.ts +9 -0
- package/dist/components/arcgis-map/customElement.d.ts +9 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +9 -0
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +23 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +9 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +9 -0
- package/dist/components/arcgis-paste/customElement.d.ts +9 -0
- package/dist/components/arcgis-popup/customElement.d.ts +18 -0
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +9 -0
- package/dist/components/arcgis-presentation/customElement.js +70 -71
- package/dist/components/arcgis-print/customElement.d.ts +9 -0
- package/dist/components/arcgis-scale-bar/customElement.d.ts +9 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -0
- package/dist/components/arcgis-scene/customElement.d.ts +9 -0
- package/dist/components/arcgis-search/customElement.d.ts +9 -0
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +9 -0
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +9 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +9 -0
- package/dist/components/arcgis-slice/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +9 -0
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +9 -0
- package/dist/components/arcgis-swipe/customElement.d.ts +9 -0
- package/dist/components/arcgis-table-list/customElement.d.ts +93 -15
- package/dist/components/arcgis-table-list-next/customElement.d.ts +286 -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 +9 -0
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +9 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -0
- package/dist/components/arcgis-track/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +9 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +9 -0
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +9 -0
- package/dist/components/arcgis-version-management/customElement.d.ts +9 -0
- package/dist/components/arcgis-video/customElement.d.ts +9 -0
- package/dist/components/arcgis-video-player/customElement.d.ts +9 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +20 -1
- package/dist/components/arcgis-weather/customElement.d.ts +9 -0
- package/dist/components/arcgis-zoom/customElement.d.ts +9 -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 +6 -6
- package/dist/cdn/3UUQJCZL.js +0 -2
- package/dist/cdn/4FJSNV35.js +0 -2
- package/dist/cdn/4NJUFFOS.js +0 -2
- package/dist/cdn/BKYSXBQN.js +0 -2
- package/dist/cdn/BXP5RGPD.js +0 -2
- package/dist/cdn/ES3KG6A4.js +0 -2
- package/dist/cdn/FZHWZNBO.js +0 -2
- package/dist/cdn/HRNKPJ3W.js +0 -2
- package/dist/cdn/JDVOGTZB.js +0 -4
- package/dist/cdn/MZBCC5YA.js +0 -2
- package/dist/cdn/SE5IUOLA.js +0 -2
- package/dist/cdn/TCMRGJTC.js +0 -2
- package/dist/cdn/TSZ26CSX.js +0 -2
- package/dist/cdn/TUTTPXC5.js +0 -2
- /package/dist/cdn/{ZMB2HOR5.js → 2EDZ2LNR.js} +0 -0
- /package/dist/cdn/{2N2A7TFY.js → 4AEFZEGM.js} +0 -0
- /package/dist/cdn/{WN6WNWDL.js → 4GIRSQMC.js} +0 -0
- /package/dist/cdn/{BY2C56P2.js → 4KYPBCNM.js} +0 -0
- /package/dist/cdn/{MADQIAMY.js → 4WURS3DM.js} +0 -0
- /package/dist/cdn/{NOUSKMUF.js → 5CB7FWG6.js} +0 -0
- /package/dist/cdn/{CHK6UXUR.js → 5EU3QVP7.js} +0 -0
- /package/dist/cdn/{UW66366K.js → 6URW6H47.js} +0 -0
- /package/dist/cdn/{RFYBJAVR.js → 7427KHVF.js} +0 -0
- /package/dist/cdn/{QYQFMAF2.js → 77ZD2RFI.js} +0 -0
- /package/dist/cdn/{E5CYXNOV.js → AZWQWNTK.js} +0 -0
- /package/dist/cdn/{XP34TRZ2.js → B4RNNO6A.js} +0 -0
- /package/dist/cdn/{2X2WQONZ.js → BIKEUMV7.js} +0 -0
- /package/dist/cdn/{3B6FCCWV.js → BU5HRIOW.js} +0 -0
- /package/dist/cdn/{KDMDKSN3.js → BV52G5DA.js} +0 -0
- /package/dist/cdn/{LBJGPS6R.js → ESYSNSNH.js} +0 -0
- /package/dist/cdn/{HPSLJE7K.js → FV7FUSTO.js} +0 -0
- /package/dist/cdn/{YK4IJ6A4.js → G42D353L.js} +0 -0
- /package/dist/cdn/{BEWGYHLQ.js → GLKTAVV5.js} +0 -0
- /package/dist/cdn/{KHMFIFKB.js → HW5YYDPC.js} +0 -0
- /package/dist/cdn/{ANPCJFOB.js → IHWFNEBS.js} +0 -0
- /package/dist/cdn/{HAOZ5VKZ.js → J4VKIBXE.js} +0 -0
- /package/dist/cdn/{ZTBD4LIR.js → KG3HVAZY.js} +0 -0
- /package/dist/cdn/{YQ5H6M4V.js → KMNELKA3.js} +0 -0
- /package/dist/cdn/{A6O4WH3F.js → KYWZUC6M.js} +0 -0
- /package/dist/cdn/{IYIK5LIF.js → LGNLLGA6.js} +0 -0
- /package/dist/cdn/{BIQ72MMB.js → MGILHYX4.js} +0 -0
- /package/dist/cdn/{FSVQ3YCE.js → NDWLSQ4W.js} +0 -0
- /package/dist/cdn/{5VAWPVBO.js → NGQUETWM.js} +0 -0
- /package/dist/cdn/{2KS6VTIZ.js → O3SPKYBG.js} +0 -0
- /package/dist/cdn/{7T3MIY45.js → OJOQP2IU.js} +0 -0
- /package/dist/cdn/{MXDXZZ7M.js → QU5PA5MZ.js} +0 -0
- /package/dist/cdn/{WEG4POUJ.js → QZHFPTSI.js} +0 -0
- /package/dist/cdn/{OLOMB2NS.js → SNX6WY7J.js} +0 -0
- /package/dist/cdn/{4KTFBEBW.js → W2UZH6QI.js} +0 -0
- /package/dist/cdn/{AURQ6AZT.js → W2YB27M6.js} +0 -0
- /package/dist/cdn/{MCMHWVNK.js → WKBILCAY.js} +0 -0
- /package/dist/cdn/{2IOX3M25.js → WRKX7F2G.js} +0 -0
- /package/dist/cdn/{4Y5WOZAR.js → XYRTRBXU.js} +0 -0
- /package/dist/cdn/{AS6CVCAA.js → YFM2SKWI.js} +0 -0
- /package/dist/cdn/{JY7ELDXN.js → ZOGRVFHK.js} +0 -0
- /package/dist/cdn/{TBYOTOK3.js → ZXEH6MEU.js} +0 -0
|
@@ -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,22 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
46
49
|
* prevent memory leaks.
|
|
47
50
|
*
|
|
48
51
|
* @default false
|
|
52
|
+
* @example
|
|
53
|
+
* ```html
|
|
54
|
+
* <arcgis-layer-list-next auto-destroy-disabled></arcgis-layer-list-next>
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* ```js
|
|
58
|
+
* layerListNextElement.autoDestroyDisabled = true;
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
49
61
|
*/
|
|
50
62
|
accessor autoDestroyDisabled: boolean;
|
|
51
63
|
/**
|
|
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
|
-
* 
|
|
64
|
+
* 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).
|
|
65
|
+
* 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.
|
|
66
|
+
* This property is set when a catalog layer's dynamic group layer is expanded in the layer list. Otherwise, it is `null`.
|
|
67
|
+
* 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
68
|
*
|
|
59
69
|
* @example
|
|
60
70
|
* ```js
|
|
@@ -92,15 +102,16 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
92
102
|
* );
|
|
93
103
|
* layerListHandles.push(catalogSelectionWatchHandle);
|
|
94
104
|
* ```
|
|
105
|
+
* @see [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/)
|
|
106
|
+
* @see [catalogOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogOptions)
|
|
95
107
|
*/
|
|
96
108
|
get catalogLayerList(): ArcgisCatalogLayerListNext | undefined;
|
|
97
109
|
/**
|
|
98
110
|
* [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
|
|
111
|
+
* 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
112
|
* 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/).
|
|
113
|
+
* 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
114
|
*
|
|
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
115
|
* @example
|
|
105
116
|
* ```js
|
|
106
117
|
* layerListElement.catalogOptions = {
|
|
@@ -108,122 +119,181 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
108
119
|
* const { item } = event;
|
|
109
120
|
* item.actionsSections = [
|
|
110
121
|
* [
|
|
111
|
-
* {
|
|
122
|
+
* new ActionToggle({
|
|
112
123
|
* title: "Add layer to map",
|
|
113
124
|
* icon: "add-layer",
|
|
114
125
|
* id: "add-layer"
|
|
115
|
-
* }
|
|
126
|
+
* });
|
|
116
127
|
* ]
|
|
117
128
|
* ];
|
|
118
129
|
* },
|
|
119
130
|
* selectionMode: "single"
|
|
120
131
|
* };
|
|
121
132
|
* ```
|
|
133
|
+
* @see [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/)
|
|
134
|
+
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogLayerList)
|
|
122
135
|
*/
|
|
123
136
|
accessor catalogOptions: CatalogLayerListParams | undefined;
|
|
124
137
|
/**
|
|
125
138
|
* Indicates whether a component is closed. When `true`, the component will be hidden.
|
|
126
139
|
*
|
|
127
140
|
* @default false
|
|
141
|
+
* @example
|
|
142
|
+
* ```html
|
|
143
|
+
* <arcgis-layer-list-next closed></arcgis-layer-list-next>
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
146
|
+
* ```js
|
|
147
|
+
* layerListNextElement.closed = true;
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
128
150
|
*/
|
|
129
151
|
accessor closed: boolean;
|
|
130
152
|
/**
|
|
131
|
-
* Indicates whether the component is collapsed.
|
|
132
|
-
* When collapsed, only the collapse button and heading are displayed.
|
|
153
|
+
* Indicates whether the component is collapsed. When collapsed, only the collapse button and heading are displayed.
|
|
133
154
|
*
|
|
134
155
|
* @default false
|
|
135
|
-
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showCollapseButton)
|
|
136
156
|
* @example
|
|
157
|
+
* ```html
|
|
158
|
+
* <arcgis-layer-list-next collapsed></arcgis-layer-list-next>
|
|
159
|
+
* ```
|
|
160
|
+
*
|
|
137
161
|
* ```js
|
|
138
|
-
*
|
|
162
|
+
* layerListNextElement.collapsed = true;
|
|
139
163
|
* ```
|
|
164
|
+
*
|
|
140
165
|
*/
|
|
141
166
|
accessor collapsed: boolean;
|
|
142
167
|
/**
|
|
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).
|
|
168
|
+
* 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
169
|
*
|
|
147
170
|
* @default false
|
|
148
|
-
* @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#minDragEnabledItems)
|
|
149
171
|
* @example
|
|
172
|
+
* ```html
|
|
173
|
+
* <arcgis-layer-list-next drag-enabled></arcgis-layer-list-next>
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
150
176
|
* ```js
|
|
151
|
-
*
|
|
177
|
+
* layerListNextElement.dragEnabled = true;
|
|
152
178
|
* ```
|
|
179
|
+
*
|
|
153
180
|
*/
|
|
154
181
|
accessor dragEnabled: boolean;
|
|
155
182
|
/**
|
|
156
|
-
* Placeholder text used in the filter input
|
|
183
|
+
* Placeholder text used in the filter input when filtering is enabled.
|
|
157
184
|
*
|
|
158
185
|
* @default ""
|
|
159
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter)
|
|
160
186
|
* @example
|
|
187
|
+
* ```html
|
|
188
|
+
* <arcgis-layer-list-next filter-placeholder="Search..."></arcgis-layer-list-next>
|
|
189
|
+
* ```
|
|
190
|
+
*
|
|
161
191
|
* ```js
|
|
162
|
-
*
|
|
192
|
+
* layerListNextElement.filterPlaceholder = "Search...";
|
|
163
193
|
* ```
|
|
194
|
+
*
|
|
164
195
|
*/
|
|
165
196
|
accessor filterPlaceholder: string;
|
|
166
197
|
/**
|
|
167
|
-
* Specifies a function to
|
|
198
|
+
* Specifies a function to determine whether a list item should be included in filter results.
|
|
168
199
|
*
|
|
169
200
|
* @example
|
|
201
|
+
*
|
|
170
202
|
* ```js
|
|
171
|
-
*
|
|
203
|
+
* layerListNextElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
172
204
|
* ```
|
|
205
|
+
*
|
|
173
206
|
*/
|
|
174
207
|
accessor filterPredicate: ((item: Item | TableItem) => boolean) | undefined;
|
|
175
208
|
/**
|
|
176
|
-
* The value of the filter input
|
|
209
|
+
* The value of the filter input text string when filtering is enabled.
|
|
177
210
|
*
|
|
178
211
|
* @default ""
|
|
179
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter)
|
|
180
212
|
* @example
|
|
213
|
+
*
|
|
181
214
|
* ```js
|
|
182
215
|
* reactiveUtils.watch(
|
|
183
|
-
* () =>
|
|
216
|
+
* () => layerListNextElement.filterText,
|
|
184
217
|
* (filterText) => console.log(filterText)
|
|
185
218
|
* );
|
|
186
219
|
* ```
|
|
220
|
+
*
|
|
187
221
|
*/
|
|
188
222
|
accessor filterText: string;
|
|
189
223
|
/**
|
|
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.
|
|
224
|
+
* 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
225
|
*
|
|
195
226
|
* @default 2
|
|
196
|
-
* @see [
|
|
227
|
+
* @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
|
|
197
228
|
* @example
|
|
229
|
+
* ```html
|
|
230
|
+
* <arcgis-layer-list-next heading-level="2"></arcgis-layer-list-next>
|
|
231
|
+
* ```
|
|
232
|
+
*
|
|
198
233
|
* ```js
|
|
199
|
-
*
|
|
234
|
+
* layerListNextElement.headingLevel = 2;
|
|
200
235
|
* ```
|
|
236
|
+
*
|
|
201
237
|
*/
|
|
202
238
|
accessor headingLevel: HeadingLevel;
|
|
203
239
|
/**
|
|
204
|
-
*
|
|
240
|
+
* Indicates whether to hide the catalog layer list in the component.
|
|
205
241
|
*
|
|
206
242
|
* @default false
|
|
243
|
+
* @example
|
|
244
|
+
* ```html
|
|
245
|
+
* <arcgis-layer-list-next hide-catalog-layer-list></arcgis-layer-list-next>
|
|
246
|
+
* ```
|
|
247
|
+
*
|
|
248
|
+
* ```js
|
|
249
|
+
* layerListNextElement.hideCatalogLayerList = true;
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
207
252
|
*/
|
|
208
253
|
accessor hideCatalogLayerList: boolean;
|
|
209
254
|
/**
|
|
210
|
-
*
|
|
255
|
+
* Indicates whether to hide the notice that appears when no results are found after filtering.
|
|
211
256
|
*
|
|
212
257
|
* @default false
|
|
213
|
-
* @
|
|
258
|
+
* @example
|
|
259
|
+
* ```html
|
|
260
|
+
* <arcgis-layer-list-next hide-no-filter-results-notice></arcgis-layer-list-next>
|
|
261
|
+
* ```
|
|
262
|
+
*
|
|
263
|
+
* ```js
|
|
264
|
+
* layerListNextElement.hideNoFilterResultsNotice = true;
|
|
265
|
+
* ```
|
|
266
|
+
*
|
|
214
267
|
*/
|
|
215
268
|
accessor hideNoFilterResultsNotice: boolean;
|
|
216
269
|
/**
|
|
217
|
-
*
|
|
270
|
+
* Indicates whether to hide the notice that appears when there are no items to display.
|
|
218
271
|
*
|
|
219
272
|
* @default false
|
|
220
|
-
* @
|
|
273
|
+
* @example
|
|
274
|
+
* ```html
|
|
275
|
+
* <arcgis-layer-list-next hide-no-items-notice></arcgis-layer-list-next>
|
|
276
|
+
* ```
|
|
277
|
+
*
|
|
278
|
+
* ```js
|
|
279
|
+
* layerListNextElement.hideNoItemsNotice = true;
|
|
280
|
+
* ```
|
|
281
|
+
*
|
|
221
282
|
*/
|
|
222
283
|
accessor hideNoItemsNotice: boolean;
|
|
223
284
|
/**
|
|
224
|
-
*
|
|
285
|
+
* Indicates whether to hide status indicators in the component.
|
|
225
286
|
*
|
|
226
287
|
* @default false
|
|
288
|
+
* @example
|
|
289
|
+
* ```html
|
|
290
|
+
* <arcgis-layer-list-next hide-status-indicators></arcgis-layer-list-next>
|
|
291
|
+
* ```
|
|
292
|
+
*
|
|
293
|
+
* ```js
|
|
294
|
+
* layerListNextElement.hideStatusIndicators = true;
|
|
295
|
+
* ```
|
|
296
|
+
*
|
|
227
297
|
*/
|
|
228
298
|
accessor hideStatusIndicators: boolean;
|
|
229
299
|
/**
|
|
@@ -262,7 +332,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
262
332
|
* }
|
|
263
333
|
* ]
|
|
264
334
|
* ];
|
|
265
|
-
* }
|
|
335
|
+
* }
|
|
266
336
|
* minFilterItems: 1
|
|
267
337
|
* }
|
|
268
338
|
* ```
|
|
@@ -277,57 +347,34 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
277
347
|
/** @internal */
|
|
278
348
|
accessor listItemCanReceiveFunction: CanSortFunction | undefined;
|
|
279
349
|
/**
|
|
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.
|
|
350
|
+
* 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
351
|
*
|
|
286
|
-
* @see [Sample - LayerList component with actions](https://developers.arcgis.com/javascript/latest/sample-code/layer-list-actions/)
|
|
287
352
|
* @example
|
|
353
|
+
*
|
|
288
354
|
* ```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;
|
|
355
|
+
* layerListNextElement.listItemCreatedFunction = async (event) => {
|
|
356
|
+
* // Destructure the item from the event object
|
|
357
|
+
* const {item} = event;
|
|
295
358
|
*
|
|
359
|
+
* // Wait for the layer to load and the item title to become available
|
|
296
360
|
* await item.layer.when();
|
|
297
|
-
*
|
|
361
|
+
*
|
|
362
|
+
* // If the item's title matches "US Demographics", customize the list item
|
|
298
363
|
* 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
|
-
* ];
|
|
364
|
+
* // open the list item in the LayerList component
|
|
365
|
+
* item.open = true;
|
|
366
|
+
* // change the title to something more descriptive
|
|
367
|
+
* item.title = "Population by county";
|
|
368
|
+
* // set an action for zooming to the full extent of the layer
|
|
369
|
+
* item.actionsSections = [[{
|
|
370
|
+
* title: "Go to full extent",
|
|
371
|
+
* icon: "zoom-out-fixed",
|
|
372
|
+
* id: "full-extent"
|
|
373
|
+
* }]];
|
|
328
374
|
* }
|
|
329
|
-
* }
|
|
375
|
+
* };
|
|
330
376
|
* ```
|
|
377
|
+
*
|
|
331
378
|
*/
|
|
332
379
|
accessor listItemCreatedFunction: ItemModifier | null | undefined;
|
|
333
380
|
/**
|
|
@@ -336,12 +383,21 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
336
383
|
* @default false
|
|
337
384
|
* @see [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
338
385
|
* @since 5.2
|
|
386
|
+
* @example
|
|
387
|
+
* ```html
|
|
388
|
+
* <arcgis-layer-list-next list-mode-disabled></arcgis-layer-list-next>
|
|
389
|
+
* ```
|
|
390
|
+
*
|
|
391
|
+
* ```js
|
|
392
|
+
* layerListNextElement.listModeDisabled = true;
|
|
393
|
+
* ```
|
|
394
|
+
*
|
|
339
395
|
*/
|
|
340
396
|
accessor listModeDisabled: boolean;
|
|
341
397
|
/**
|
|
342
|
-
*
|
|
398
|
+
* Replace localized message strings with your own strings.
|
|
343
399
|
*
|
|
344
|
-
*
|
|
400
|
+
* _**Note**: Individual message keys may change between releases._
|
|
345
401
|
*/
|
|
346
402
|
accessor messageOverrides: NonNullable<ArcgisCatalogLayerListNext["messageOverrides"]> & NonNullable<ArcgisTableListNext["messageOverrides"]> & {
|
|
347
403
|
componentLabel?: string | undefined;
|
|
@@ -425,36 +481,40 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
425
481
|
paused: string;
|
|
426
482
|
}>;
|
|
427
483
|
/**
|
|
428
|
-
* The minimum number of list items required to enable drag and drop reordering
|
|
484
|
+
* The minimum number of list items required to enable drag and drop reordering.
|
|
429
485
|
*
|
|
430
486
|
* @default 2
|
|
431
|
-
* @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#dragEnabled)
|
|
432
487
|
* @example
|
|
488
|
+
* ```html
|
|
489
|
+
* <arcgis-layer-list-next min-drag-enabled-items="5"></arcgis-layer-list-next>
|
|
490
|
+
* ```
|
|
491
|
+
*
|
|
433
492
|
* ```js
|
|
434
|
-
*
|
|
435
|
-
* layerListElement.minDragEnabledItems = 5;
|
|
493
|
+
* layerListNextElement.minDragEnabledItems = 5;
|
|
436
494
|
* ```
|
|
495
|
+
*
|
|
437
496
|
*/
|
|
438
497
|
accessor minDragEnabledItems: number;
|
|
439
498
|
/**
|
|
440
|
-
* The minimum number of list items required to display the
|
|
499
|
+
* The minimum number of list items required to display the filter input box.
|
|
441
500
|
*
|
|
442
501
|
* @default 10
|
|
443
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#showFilter)
|
|
444
502
|
* @example
|
|
503
|
+
* ```html
|
|
504
|
+
* <arcgis-layer-list-next min-filter-items="3"></arcgis-layer-list-next>
|
|
505
|
+
* ```
|
|
506
|
+
*
|
|
445
507
|
* ```js
|
|
446
|
-
*
|
|
447
|
-
* layerListElement.minFilterItems = 5;
|
|
508
|
+
* layerListNextElement.minFilterItems = 3;
|
|
448
509
|
* ```
|
|
510
|
+
*
|
|
449
511
|
*/
|
|
450
512
|
accessor minFilterItems: number;
|
|
451
513
|
/**
|
|
452
|
-
* A collection of [
|
|
514
|
+
* A collection of [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) that are opened
|
|
453
515
|
* 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.
|
|
516
|
+
* This property is useful for backing out of the catalog layer list or table list programmatically to the parent layer list.
|
|
456
517
|
*
|
|
457
|
-
* @default []
|
|
458
518
|
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#catalogLayerList)
|
|
459
519
|
* @see [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#tableList)
|
|
460
520
|
* @example
|
|
@@ -464,7 +524,14 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
464
524
|
* ```
|
|
465
525
|
*/
|
|
466
526
|
get openedLayers(): Collection<FlowLayer>;
|
|
467
|
-
/**
|
|
527
|
+
/**
|
|
528
|
+
* A collection of [items](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) representing the operational layers in the layer list.
|
|
529
|
+
*
|
|
530
|
+
* @example
|
|
531
|
+
* ```js
|
|
532
|
+
* layerListElement.operationalItems.forEach(item => console.log(item.title));
|
|
533
|
+
* ```
|
|
534
|
+
*/
|
|
468
535
|
get operationalItems(): Collection<Item>;
|
|
469
536
|
/**
|
|
470
537
|
* 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 +540,22 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
473
540
|
*/
|
|
474
541
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
475
542
|
/**
|
|
476
|
-
* A collection of selected [
|
|
477
|
-
* selected by the user in the layer list.
|
|
543
|
+
* 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
544
|
*
|
|
479
545
|
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectionMode)
|
|
546
|
+
* @example
|
|
547
|
+
* ```js
|
|
548
|
+
* reactiveUtils.watch(
|
|
549
|
+
* () => layerListNext.selectedItems?.at(0)?.layer,
|
|
550
|
+
* (layer) => {
|
|
551
|
+
* layer && handleLayerSelection(layer);
|
|
552
|
+
* },
|
|
553
|
+
* );
|
|
554
|
+
* ```
|
|
480
555
|
*/
|
|
481
556
|
accessor selectedItems: Collection<Item>;
|
|
482
557
|
/**
|
|
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.
|
|
558
|
+
* 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
559
|
*
|
|
486
560
|
* | Value | Description |
|
|
487
561
|
* | ----- | ----------- |
|
|
@@ -493,52 +567,107 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
493
567
|
* @default "none"
|
|
494
568
|
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems)
|
|
495
569
|
* @example
|
|
570
|
+
* ```html
|
|
571
|
+
* <arcgis-layer-list-next selection-mode="multiple"></arcgis-layer-list-next>
|
|
572
|
+
* ```
|
|
573
|
+
*
|
|
496
574
|
* ```js
|
|
497
|
-
*
|
|
575
|
+
* layerListNextElement.selectionMode = "multiple";
|
|
498
576
|
* ```
|
|
577
|
+
*
|
|
499
578
|
*/
|
|
500
579
|
accessor selectionMode: List["selectionMode"];
|
|
501
580
|
/**
|
|
502
581
|
* This property provides the ability to show or hide the close button.
|
|
503
582
|
*
|
|
504
583
|
* @default false
|
|
584
|
+
* @example
|
|
585
|
+
* ```html
|
|
586
|
+
* <arcgis-layer-list-next show-close-button></arcgis-layer-list-next>
|
|
587
|
+
* ```
|
|
588
|
+
*
|
|
589
|
+
* ```js
|
|
590
|
+
* layerListNextElement.showCloseButton = true;
|
|
591
|
+
* ```
|
|
592
|
+
*
|
|
505
593
|
*/
|
|
506
594
|
accessor showCloseButton: boolean;
|
|
507
595
|
/**
|
|
508
596
|
* This property provides the ability to show or hide the collapse button.
|
|
509
597
|
*
|
|
510
598
|
* @default false
|
|
599
|
+
* @example
|
|
600
|
+
* ```html
|
|
601
|
+
* <arcgis-layer-list-next show-collapse-button></arcgis-layer-list-next>
|
|
602
|
+
* ```
|
|
603
|
+
*
|
|
604
|
+
* ```js
|
|
605
|
+
* layerListNextElement.showCollapseButton = true;
|
|
606
|
+
* ```
|
|
607
|
+
*
|
|
511
608
|
*/
|
|
512
609
|
accessor showCollapseButton: boolean;
|
|
513
610
|
/**
|
|
514
|
-
* This property provides the ability to show or hide error indicators.
|
|
611
|
+
* This property provides the ability to show or hide layer error indicators.
|
|
515
612
|
*
|
|
516
613
|
* @default false
|
|
614
|
+
* @example
|
|
615
|
+
* ```html
|
|
616
|
+
* <arcgis-layer-list-next show-errors></arcgis-layer-list-next>
|
|
617
|
+
* ```
|
|
618
|
+
*
|
|
619
|
+
* ```js
|
|
620
|
+
* layerListNextElement.showErrors = true;
|
|
621
|
+
* ```
|
|
622
|
+
*
|
|
517
623
|
*/
|
|
518
624
|
accessor showErrors: boolean;
|
|
519
625
|
/**
|
|
520
|
-
* This property provides the ability to show or hide the filter input.
|
|
626
|
+
* 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
627
|
*
|
|
522
628
|
* @default false
|
|
629
|
+
* @example
|
|
630
|
+
* ```html
|
|
631
|
+
* <arcgis-layer-list-next show-filter></arcgis-layer-list-next>
|
|
632
|
+
* ```
|
|
633
|
+
*
|
|
634
|
+
* ```js
|
|
635
|
+
* layerListNextElement.showFilter = true;
|
|
636
|
+
* ```
|
|
637
|
+
*
|
|
523
638
|
*/
|
|
524
639
|
accessor showFilter: boolean;
|
|
525
640
|
/**
|
|
526
641
|
* This property provides the ability to show or hide the heading.
|
|
527
642
|
*
|
|
528
643
|
* @default false
|
|
644
|
+
* @example
|
|
645
|
+
* ```html
|
|
646
|
+
* <arcgis-layer-list-next show-heading></arcgis-layer-list-next>
|
|
647
|
+
* ```
|
|
648
|
+
*
|
|
649
|
+
* ```js
|
|
650
|
+
* layerListNextElement.showHeading = true;
|
|
651
|
+
* ```
|
|
652
|
+
*
|
|
529
653
|
*/
|
|
530
654
|
accessor showHeading: boolean;
|
|
531
655
|
/**
|
|
532
|
-
* This property provides the ability to show or hide temporary layer indicators.
|
|
656
|
+
* 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
657
|
*
|
|
534
658
|
* @default false
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
*
|
|
659
|
+
* @example
|
|
660
|
+
* ```html
|
|
661
|
+
* <arcgis-layer-list-next show-temporary-layer-indicators></arcgis-layer-list-next>
|
|
662
|
+
* ```
|
|
539
663
|
*
|
|
540
|
-
*
|
|
664
|
+
* ```js
|
|
665
|
+
* layerListNextElement.showTemporaryLayerIndicators = true;
|
|
666
|
+
* ```
|
|
667
|
+
*
|
|
541
668
|
*/
|
|
669
|
+
accessor showTemporaryLayerIndicators: boolean;
|
|
670
|
+
/** The current state of the component. */
|
|
542
671
|
get state(): State;
|
|
543
672
|
/**
|
|
544
673
|
* 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 +681,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
552
681
|
*
|
|
553
682
|
* @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
683
|
* @example
|
|
684
|
+
* ```js
|
|
555
685
|
* // Use reactiveUtils to respond to the layerListElement.tableList "arcgisTriggerAction" event
|
|
556
686
|
* const tableListActionHandle = reactiveUtils.on(
|
|
557
687
|
* () => layerListElement.tableList,
|
|
@@ -573,6 +703,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
573
703
|
* },
|
|
574
704
|
* );
|
|
575
705
|
* layerListHandles.push(tableSelectionWatchHandle);
|
|
706
|
+
* ```
|
|
576
707
|
*/
|
|
577
708
|
get tableList(): ArcgisTableListNext | undefined;
|
|
578
709
|
/**
|
|
@@ -582,32 +713,37 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
582
713
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
583
714
|
/**
|
|
584
715
|
* Determines the icons used to indicate visibility.
|
|
585
|
-
*
|
|
586
716
|
* | Value | Description | Example |
|
|
587
717
|
* | ----- | ----------- | ------- |
|
|
588
718
|
* | 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
719
|
* | 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. |  |
|
|
720
|
+
*
|
|
590
721
|
*
|
|
591
722
|
* @default "default"
|
|
592
723
|
* @example
|
|
724
|
+
* ```html
|
|
725
|
+
* <arcgis-layer-list-next visibility-appearance="checkbox"></arcgis-layer-list-next>
|
|
726
|
+
* ```
|
|
727
|
+
*
|
|
593
728
|
* ```js
|
|
594
|
-
*
|
|
729
|
+
* layerListNextElement.visibilityAppearance = "checkbox";
|
|
595
730
|
* ```
|
|
731
|
+
*
|
|
596
732
|
*/
|
|
597
733
|
accessor visibilityAppearance: VisibilityAppearance;
|
|
598
734
|
/** Permanently destroy the component. */
|
|
599
735
|
destroy(): Promise<void>;
|
|
600
736
|
/** Emitted when the component's close button is clicked. */
|
|
601
737
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
602
|
-
/**
|
|
738
|
+
/** 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
739
|
readonly arcgisFilterChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
604
|
-
/**
|
|
740
|
+
/** Emitted when the collection of [openedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#openedLayers) changes. */
|
|
605
741
|
readonly arcgisOpenedLayersChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
606
742
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
607
743
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
608
744
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
609
745
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
610
|
-
/**
|
|
746
|
+
/** Emitted when the collection of [selectedItems](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#selectedItems) changes. */
|
|
611
747
|
readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
612
748
|
/** Emitted when an action is triggered on the component. */
|
|
613
749
|
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, LayerItemCollectionEvents["trigger-action"]>;
|