@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
|
@@ -64,10 +64,10 @@ class ne extends G {
|
|
|
64
64
|
e.preventDefault();
|
|
65
65
|
const t = this._editTitleInputRef.value?.value;
|
|
66
66
|
t?.trim() && (this.basemapTitle = t), this._toggleEditingTitle();
|
|
67
|
-
}, this._activeItem = null, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.openedLayerLists = new y(), this.
|
|
67
|
+
}, this._activeItem = null, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.openedLayerLists = new y(), this.autoDestroyDisabled = !1, this.baseFilterText = "", this.baseItemCreatedFunction = this.viewModel.baseItemCreatedFunction, this.basemapTitle = this.viewModel.basemapTitle, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.editingTitle = !1, this.filterPlaceholder = "", this.headingLevel = 2, this.hideBaseLayers = !1, this.hideCatalogLayerList = !1, this.hideHeading = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideReferenceLayers = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesEnabled = new y(["knowledge-graph"]), this.listModeDisabled = this.viewModel.listModeDisabled, this.minFilterItems = Q, this.openedLayers = new y(), this.referenceFilterText = "", this.referenceItemCreatedFunction = this.viewModel.referenceItemCreatedFunction, this.selectedItems = new y(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditTitleButton = !1, this.showErrors = !1, this.showFilter = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisBaseFilterChange = L(), this.arcgisOpenedLayersChange = L(), this.arcgisPropertyChange = H()("state"), this.arcgisReady = L(), this.arcgisReferenceFilterChange = L(), this.arcgisTriggerAction = V(() => this.viewModel, "trigger-action");
|
|
68
68
|
}
|
|
69
69
|
static {
|
|
70
|
-
this.properties = { _activeItem: 16, _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, openedLayerLists: 16, _allItems: 16, _visibleBaseItems: 16, _visibleReferenceItems: 16, _openedPanelItems: 16, _totalBaseItems: 16, _totalReferenceItems: 16, _baseFilterEnabled: 16, _referenceFilterEnabled: 16, _renderedOpenLayerFlowItems: 16,
|
|
70
|
+
this.properties = { _activeItem: 16, _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, openedLayerLists: 16, _allItems: 16, _visibleBaseItems: 16, _visibleReferenceItems: 16, _openedPanelItems: 16, _totalBaseItems: 16, _totalReferenceItems: 16, _baseFilterEnabled: 16, _referenceFilterEnabled: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItemCreatedFunction: 0, baseItems: 32, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listModeDisabled: 5, mapImageOptions: 0, messageOverrides: 0, minFilterItems: 9, openedLayers: 32, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, tileOptions: 0, view: 0, visibilityAppearance: 1 };
|
|
71
71
|
}
|
|
72
72
|
static {
|
|
73
73
|
this.styles = [se, le, ie];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
2
|
+
import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
|
|
3
|
+
import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
|
|
4
|
+
import type LayerItem from "@arcgis/core/layers/list/Item.js";
|
|
5
|
+
import type TableItem from "@arcgis/core/layers/list/TableItem.js";
|
|
6
|
+
import type TileLayer from "@arcgis/core/layers/TileLayer.js";
|
|
7
|
+
import type { ArcgisCatalogLayerListNext } from "../arcgis-catalog-layer-list-next/customElement.js";
|
|
8
|
+
import type { CatalogLayerListOptions } from "../arcgis-catalog-layer-list-next/types.js";
|
|
9
|
+
import type { ArcgisTableListNext } from "../arcgis-table-list-next/customElement.js";
|
|
10
|
+
import type { TableListOptions } from "../arcgis-table-list-next/types.js";
|
|
11
|
+
import type { SortableList as SortableList } from "@esri/calcite-components/components/calcite-sortable-list";
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type BasemapItemType = "base" | "reference";
|
|
15
|
+
|
|
16
|
+
/** The catalog layer list configuration used by the Basemap Layer List (next). */
|
|
17
|
+
export type CatalogLayerListParams = CatalogLayerListOptions;
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type DragDetail = Parameters<NonNullable<SortableList["canPull"]>>[0];
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A function that determines whether a layer or table item matches a filter.
|
|
24
|
+
*
|
|
25
|
+
* @param item
|
|
26
|
+
*/
|
|
27
|
+
export type FilterPredicate = (item: LayerItem | TableItem) => boolean;
|
|
28
|
+
|
|
29
|
+
/** A layer that can be opened in a basemap layer list flow. */
|
|
30
|
+
export type FlowLayer = CatalogLayer | SubtablesLayer;
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type FlowList = ArcgisCatalogLayerListNext | ArcgisTableListNext;
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type TableListParams = TableListOptions;
|
|
@@ -28,6 +28,16 @@ export abstract class ArcgisBasemapToggle extends LitElement {
|
|
|
28
28
|
* prevent memory leaks.
|
|
29
29
|
*
|
|
30
30
|
* @default false
|
|
31
|
+
* @example
|
|
32
|
+
*
|
|
33
|
+
* ```html
|
|
34
|
+
* <arcgis-basemap-toggle auto-destroy-disabled></arcgis-basemap-toggle>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ```js
|
|
38
|
+
* basemapToggleElement.autoDestroyDisabled = true;
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
31
41
|
*/
|
|
32
42
|
accessor autoDestroyDisabled: boolean;
|
|
33
43
|
/**
|
|
@@ -37,6 +37,16 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
37
37
|
* prevent memory leaks.
|
|
38
38
|
*
|
|
39
39
|
* @default false
|
|
40
|
+
* @example
|
|
41
|
+
*
|
|
42
|
+
* ```html
|
|
43
|
+
* <arcgis-bookmarks auto-destroy-disabled></arcgis-bookmarks>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ```js
|
|
47
|
+
* bookmarksElement.autoDestroyDisabled = true;
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
40
50
|
*/
|
|
41
51
|
accessor autoDestroyDisabled: boolean;
|
|
42
52
|
/**
|
|
@@ -86,6 +96,16 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
86
96
|
* Indicates whether a component is closed. When `true`, the component will be hidden.
|
|
87
97
|
*
|
|
88
98
|
* @default false
|
|
99
|
+
* @example
|
|
100
|
+
*
|
|
101
|
+
* ```html
|
|
102
|
+
* <arcgis-bookmarks closed></arcgis-bookmarks>
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ```js
|
|
106
|
+
* bookmarksElement.closed = true;
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
89
109
|
*/
|
|
90
110
|
accessor closed: boolean;
|
|
91
111
|
/**
|
|
@@ -43,6 +43,16 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
43
43
|
* prevent memory leaks.
|
|
44
44
|
*
|
|
45
45
|
* @default false
|
|
46
|
+
* @example
|
|
47
|
+
*
|
|
48
|
+
* ```html
|
|
49
|
+
* <arcgis-building-explorer auto-destroy-disabled></arcgis-building-explorer>
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ```js
|
|
53
|
+
* buildingExplorerElement.autoDestroyDisabled = true;
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
46
56
|
*/
|
|
47
57
|
accessor autoDestroyDisabled: boolean;
|
|
48
58
|
/**
|
|
@@ -20,6 +20,9 @@ import type { CatalogLayerListState } from "@arcgis/core/widgets/CatalogLayerLis
|
|
|
20
20
|
* The [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) API provides access to each layer's properties, allows
|
|
21
21
|
* the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
|
|
22
22
|
*
|
|
23
|
+
* > [!WARNING]
|
|
24
|
+
* > In version 6.0, the implementation of [arcgis-catalog-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/) will be updated under the hood to that of [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/). We encourage using the [arcgis-catalog-layer-list-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list-next/) component and providing feedback.
|
|
25
|
+
*
|
|
23
26
|
* @since 4.31
|
|
24
27
|
* @example
|
|
25
28
|
* ```js
|
|
@@ -71,6 +74,16 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
71
74
|
* prevent memory leaks.
|
|
72
75
|
*
|
|
73
76
|
* @default false
|
|
77
|
+
* @example
|
|
78
|
+
*
|
|
79
|
+
* ```html
|
|
80
|
+
* <arcgis-catalog-layer-list auto-destroy-disabled></arcgis-catalog-layer-list>
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* ```js
|
|
84
|
+
* catalogLayerListElement.autoDestroyDisabled = true;
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
74
87
|
*/
|
|
75
88
|
accessor autoDestroyDisabled: boolean;
|
|
76
89
|
/** A collection of ListItems representing the CatalogLayer's [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer). */
|
|
@@ -89,6 +102,16 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
89
102
|
*
|
|
90
103
|
* @default false
|
|
91
104
|
* @since 4.33
|
|
105
|
+
* @example
|
|
106
|
+
*
|
|
107
|
+
* ```html
|
|
108
|
+
* <arcgis-catalog-layer-list closed></arcgis-catalog-layer-list>
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* ```js
|
|
112
|
+
* catalogLayerListElement.closed = true;
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
92
115
|
*/
|
|
93
116
|
accessor closed: boolean;
|
|
94
117
|
/**
|