@arcgis/map-components 5.2.0-next.86 → 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/2GQ6KVNI.js +2 -0
- package/dist/cdn/3CFRD2EN.js +2 -0
- package/dist/cdn/{YXA3DG4H.js → 3W4IH5LQ.js} +1 -1
- package/dist/cdn/5L5UYV3H.js +2 -0
- package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
- package/dist/cdn/6NGRUK5C.js +2 -0
- package/dist/cdn/BPHJ4VBC.js +2 -0
- package/dist/cdn/CFB4ZR5F.js +2 -0
- package/dist/cdn/D6MRDGUC.js +2 -0
- package/dist/cdn/EFUTKX2O.js +2 -0
- package/dist/cdn/{PNSES5YC.js → EGUVICJF.js} +1 -1
- package/dist/cdn/FXK4G4VK.js +2 -0
- package/dist/cdn/GNVPXNTX.js +2 -0
- package/dist/cdn/HTEIMRY6.js +2 -0
- package/dist/cdn/I2D75Q7M.js +2 -0
- package/dist/cdn/IMG5GOJB.js +2 -0
- package/dist/cdn/JXBEE5GW.js +2 -0
- package/dist/cdn/JZC42PXS.js +2 -0
- package/dist/cdn/K3N6NHJW.js +2 -0
- package/dist/cdn/KN4PG54T.js +2 -0
- package/dist/cdn/{56NINR5L.js → KNMMVZVV.js} +1 -1
- package/dist/cdn/M66G67OC.js +2 -0
- package/dist/cdn/MQX2F54G.js +2 -0
- package/dist/cdn/NB5DQKQY.js +2 -0
- package/dist/cdn/NFWFRHUT.js +2 -0
- package/dist/cdn/PCEAIDCB.js +2 -0
- package/dist/cdn/PMU2DO3P.js +2 -0
- package/dist/cdn/{LTGPFC6N.js → PWEF6IKF.js} +1 -1
- package/dist/cdn/{HWLBIEGO.js → RS5BEGC5.js} +1 -1
- package/dist/cdn/{K4V76SMR.js → TAIZWQYU.js} +1 -1
- package/dist/cdn/TPG3TU6B.js +2 -0
- package/dist/cdn/TRFWUKXA.js +2 -0
- package/dist/cdn/TSZ26CSX.js +2 -0
- package/dist/cdn/V4W4ZP6M.js +2 -0
- package/dist/cdn/XM2OBGXW.js +2 -0
- package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/constants2.js +6 -0
- package/dist/chunks/useArcgisViewReadyError.js +42 -27
- package/dist/components/arcgis-aggregated-features/customElement.js +0 -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-bookmarks/customElement.js +0 -1
- 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-next/customElement.js +4 -4
- 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/customElement.js +3 -3
- package/dist/components/arcgis-features-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-features-next/customElement.js +98 -86
- package/dist/components/arcgis-features-next/index.js +0 -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-grid-controls/customElement.js +1 -1
- 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 +19 -5
- package/dist/components/arcgis-link-chart/customElement.js +24 -18
- 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 +19 -5
- package/dist/components/arcgis-map/customElement.js +19 -13
- 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-non-panoramic-viewer/customElement.js +0 -2
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +15 -16
- 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-paste/customElement.js +0 -1
- package/dist/components/arcgis-popup/customElement.d.ts +27 -7
- package/dist/components/arcgis-popup/customElement.js +11 -14
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +6 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +18 -6
- package/dist/components/arcgis-presentation/customElement.js +197 -157
- package/dist/components/arcgis-presentation/index.js +2 -0
- package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
- package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
- package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
- 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 +19 -5
- package/dist/components/arcgis-scene/customElement.js +21 -15
- 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-template-image/customElement.js +0 -1
- package/dist/components/arcgis-time-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- 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-picker/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
- package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-picker/index.js +7 -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/customElement.js +0 -1
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +0 -1
- 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-inputs-next/customElement.js +123 -140
- package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +2 -1
- 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/customElement.js +0 -2
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +0 -2
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +0 -2
- 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-version-management-service-item/customElement.js +3 -4
- package/dist/components/arcgis-video/customElement.d.ts +15 -3
- package/dist/components/arcgis-video-player/customElement.d.ts +10 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- 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/index.d.ts +10 -0
- package/dist/loader.js +5 -3
- package/dist/types/lumina.d.ts +10 -3
- package/dist/types/preact.d.ts +11 -3
- package/dist/types/react.d.ts +12 -3
- package/dist/types/stencil.d.ts +10 -3
- package/package.json +7 -7
- package/dist/cdn/3UUQJCZL.js +0 -2
- package/dist/cdn/42TPQKQZ.js +0 -2
- package/dist/cdn/4T6ECCFH.js +0 -2
- package/dist/cdn/4UBDCXSK.js +0 -2
- package/dist/cdn/6MEC4BFN.js +0 -2
- package/dist/cdn/AJ7XRBWN.js +0 -2
- package/dist/cdn/ARVN7QLQ.js +0 -2
- package/dist/cdn/BVDQQOCR.js +0 -2
- package/dist/cdn/DKBC3UMW.js +0 -2
- package/dist/cdn/DSIL7TYR.js +0 -2
- package/dist/cdn/FZHWZNBO.js +0 -2
- package/dist/cdn/G2PAKIMS.js +0 -2
- package/dist/cdn/JOOHHKWH.js +0 -2
- package/dist/cdn/KS5TQB2A.js +0 -2
- package/dist/cdn/NAQYIBE5.js +0 -2
- package/dist/cdn/NBYN44GP.js +0 -2
- package/dist/cdn/NGB5WVIG.js +0 -2
- package/dist/cdn/PBNP6WFU.js +0 -2
- package/dist/cdn/RDARV7HC.js +0 -2
- package/dist/cdn/RXAUCQQC.js +0 -2
- package/dist/cdn/S22ZRUS7.js +0 -2
- package/dist/cdn/SVOAX4K6.js +0 -2
- package/dist/cdn/TI4BX367.js +0 -2
- package/dist/cdn/TUTTPXC5.js +0 -2
- package/dist/cdn/W5WXJT7N.js +0 -2
- package/dist/cdn/YTC3XBSZ.js +0 -2
|
@@ -17,7 +17,6 @@ import { on as C, watch as K } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
17
17
|
import { LitElement as Q, createEvent as I, renderElement as M, safeClassMap as E, nothing as A } from "@arcgis/lumina";
|
|
18
18
|
import { usePropertyChange as W } from "@arcgis/lumina/controllers";
|
|
19
19
|
import { reEmitEvent as X } from "@arcgis/lumina/controllers/accessor";
|
|
20
|
-
import "@arcgis/toolkit/function";
|
|
21
20
|
import { u as Y } from "../../chunks/useCloseEvent.js";
|
|
22
21
|
import { r as Z, A as ee } from "../../chunks/layer-list-item.js";
|
|
23
22
|
import { s as te, a as se } from "../../chunks/layer-list-next.js";
|
|
@@ -54,10 +53,10 @@ class ae extends Q {
|
|
|
54
53
|
this._selectedDragItemLayerUid = e;
|
|
55
54
|
}, this._onTriggerAction = (e, t) => {
|
|
56
55
|
this.triggerAction(e, t);
|
|
57
|
-
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.
|
|
56
|
+
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = G, this.minFilterItems = H, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = I(), this.arcgisOpenedLayersChange = I(), this.arcgisPropertyChange = W()("state"), this.arcgisReady = I(), this.arcgisSelectedItemsChange = I(), this.arcgisTriggerAction = X(() => this.viewModel, "trigger-action");
|
|
58
57
|
}
|
|
59
58
|
static {
|
|
60
|
-
this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16,
|
|
59
|
+
this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, view: 0, visibilityAppearance: 1 };
|
|
61
60
|
}
|
|
62
61
|
static {
|
|
63
62
|
this.styles = [te, se];
|
|
@@ -2,17 +2,55 @@ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
|
2
2
|
import type KnowledgeGraphLayer from "@arcgis/core/layers/KnowledgeGraphLayer.js";
|
|
3
3
|
import type MapImageLayer from "@arcgis/core/layers/MapImageLayer.js";
|
|
4
4
|
import type TileLayer from "@arcgis/core/layers/TileLayer.js";
|
|
5
|
-
import type { CatalogLayerListOptions } from "../arcgis-catalog-layer-list-next/
|
|
6
|
-
import type {
|
|
5
|
+
import type { CatalogLayerListOptions } from "../arcgis-catalog-layer-list-next/types.js";
|
|
6
|
+
import type { ArcgisCatalogLayerListNext } from "../arcgis-catalog-layer-list-next/customElement.js";
|
|
7
|
+
import type { ArcgisTableListNext } from "../arcgis-table-list-next/customElement.js";
|
|
8
|
+
import type { TableListOptions } from "../arcgis-table-list-next/types.js";
|
|
9
|
+
import type { SortableList as SortableList } from "@esri/calcite-components/components/calcite-sortable-list";
|
|
7
10
|
|
|
8
11
|
/** Catalog layer list configuration passed through Layer List (next). */
|
|
9
12
|
export type CatalogLayerListParams = CatalogLayerListOptions;
|
|
10
13
|
|
|
11
|
-
/**
|
|
12
|
-
export type
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type DragDetail = Parameters<NonNullable<SortableList["canPull"]>>[0];
|
|
13
16
|
|
|
14
17
|
/** Layer types that can open a nested flow list from Layer List (next). */
|
|
15
18
|
export type FlowLayer = CatalogLayer | SubtablesLayer;
|
|
16
19
|
|
|
17
|
-
/**
|
|
18
|
-
export type
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type FlowList = ArcgisCatalogLayerListNext | ArcgisTableListNext;
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type LayerListMessages = {
|
|
25
|
+
componentLabel: string;
|
|
26
|
+
back: string;
|
|
27
|
+
noItemsToDisplay: string;
|
|
28
|
+
layerInvisibleAtScale: string;
|
|
29
|
+
layerInvisibleAtTime: string;
|
|
30
|
+
layerError: string;
|
|
31
|
+
untitledLayer: string;
|
|
32
|
+
untitledTable: string;
|
|
33
|
+
layerVisibility: string;
|
|
34
|
+
menu: string;
|
|
35
|
+
options: string;
|
|
36
|
+
showLayer: string;
|
|
37
|
+
hideLayer: string;
|
|
38
|
+
layerIncompatible: string;
|
|
39
|
+
layerIncompatibleTooltip: string;
|
|
40
|
+
tableError: string;
|
|
41
|
+
temporary: string;
|
|
42
|
+
tables: string;
|
|
43
|
+
catalogLayers: string;
|
|
44
|
+
connectionStatus: string;
|
|
45
|
+
updating: string;
|
|
46
|
+
publishing: string;
|
|
47
|
+
connected: string;
|
|
48
|
+
disconnected: string;
|
|
49
|
+
paused: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
|
|
54
|
+
|
|
55
|
+
/** Table list configuration passed through Layer List (next). */
|
|
56
|
+
export type TableListParams = TableListOptions;
|
|
@@ -102,6 +102,16 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
102
102
|
* prevent memory leaks.
|
|
103
103
|
*
|
|
104
104
|
* @default false
|
|
105
|
+
* @example
|
|
106
|
+
*
|
|
107
|
+
* ```html
|
|
108
|
+
* <arcgis-legend auto-destroy-disabled></arcgis-legend>
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* ```js
|
|
112
|
+
* legendElement.autoDestroyDisabled = true;
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
105
115
|
*/
|
|
106
116
|
accessor autoDestroyDisabled: boolean;
|
|
107
117
|
/**
|
|
@@ -132,6 +132,16 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
132
132
|
* prevent memory leaks.
|
|
133
133
|
*
|
|
134
134
|
* @default false
|
|
135
|
+
* @example
|
|
136
|
+
*
|
|
137
|
+
* ```html
|
|
138
|
+
* <arcgis-line-of-sight auto-destroy-disabled></arcgis-line-of-sight>
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* ```js
|
|
142
|
+
* lineOfSightElement.autoDestroyDisabled = true;
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
135
145
|
*/
|
|
136
146
|
accessor autoDestroyDisabled: boolean;
|
|
137
147
|
/**
|
|
@@ -107,13 +107,15 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
107
107
|
*/
|
|
108
108
|
get attributionItems(): LinkChartView["attributionItems"];
|
|
109
109
|
/**
|
|
110
|
-
* The
|
|
111
|
-
*
|
|
112
|
-
*
|
|
110
|
+
* The display mode used for the attribution. Defaults to null.
|
|
111
|
+
*
|
|
112
|
+
* Set this property to "auto" to automatically synchronize the attribution with the nearest [Calcite mode](https://developers.arcgis.com/calcite-design-system/core-concepts/#modes). If no Calcite mode is detected, the attribution defaults to light mode. **The "auto" mode was added in version 5.2.**
|
|
113
|
+
*
|
|
114
|
+
* Set this property to "light" or "dark" to explicitly use that mode without synchronization.
|
|
113
115
|
*
|
|
114
116
|
* @since 5.0
|
|
115
117
|
*/
|
|
116
|
-
accessor attributionMode:
|
|
118
|
+
accessor attributionMode: AttributionMode;
|
|
117
119
|
/**
|
|
118
120
|
* If true, the component will not be destroyed automatically when it is
|
|
119
121
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -122,6 +124,16 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
122
124
|
* prevent memory leaks.
|
|
123
125
|
*
|
|
124
126
|
* @default false
|
|
127
|
+
* @example
|
|
128
|
+
*
|
|
129
|
+
* ```html
|
|
130
|
+
* <arcgis-link-chart auto-destroy-disabled></arcgis-link-chart>
|
|
131
|
+
* ```
|
|
132
|
+
*
|
|
133
|
+
* ```js
|
|
134
|
+
* linkChartElement.autoDestroyDisabled = true;
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
125
137
|
*/
|
|
126
138
|
accessor autoDestroyDisabled: boolean;
|
|
127
139
|
/**
|
|
@@ -966,4 +978,6 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
966
978
|
arcgisViewReadyError: ArcgisLinkChart["arcgisViewReadyError"]["detail"];
|
|
967
979
|
arcgisViewVerticalTwoFingerDrag: ArcgisLinkChart["arcgisViewVerticalTwoFingerDrag"]["detail"];
|
|
968
980
|
};
|
|
969
|
-
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export type AttributionMode = LinkChartView["attributionMode"] | "auto";
|
|
@@ -5,19 +5,19 @@ import _ from "@arcgis/core/views/LinkChartView.js";
|
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
6
|
import { LitElement as V, createEvent as c, safeClassMap as w } from "@arcgis/lumina";
|
|
7
7
|
import { makeAccessorController as f, reEmitEvent as e, reCreateAccessor as A } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
-
import { createRef as
|
|
8
|
+
import { createRef as m, ref as v } from "lit/directives/ref.js";
|
|
9
9
|
import { s as I } from "../../chunks/esri-main.js";
|
|
10
10
|
import { s as E } from "../../chunks/slots.js";
|
|
11
11
|
import { C as u } from "../../chunks/resources.js";
|
|
12
|
-
import { p as L, i as
|
|
13
|
-
import { U as
|
|
14
|
-
import { fetchKnowledgeGraph as
|
|
15
|
-
import
|
|
12
|
+
import { p as L, i as M } from "../../chunks/component-utils.js";
|
|
13
|
+
import { U as k, u as R, a as U, b as D } from "../../chunks/useArcgisViewReadyError.js";
|
|
14
|
+
import { fetchKnowledgeGraph as x } from "@arcgis/core/rest/knowledgeGraphService.js";
|
|
15
|
+
import Q from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
|
|
16
16
|
import { t as d } from "../../chunks/async-utils.js";
|
|
17
17
|
import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
|
|
18
18
|
import { html as y } from "lit";
|
|
19
|
-
import
|
|
20
|
-
const
|
|
19
|
+
import P from "@arcgis/core/layers/LinkChartLayer.js";
|
|
20
|
+
const z = f(
|
|
21
21
|
b,
|
|
22
22
|
/**
|
|
23
23
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -28,10 +28,10 @@ const P = f(
|
|
|
28
28
|
* in an externalized package.
|
|
29
29
|
*/
|
|
30
30
|
{}
|
|
31
|
-
),
|
|
32
|
-
class
|
|
31
|
+
), Z = f(_, {});
|
|
32
|
+
class F extends V {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(), this._containerRef =
|
|
34
|
+
super(), this._attributionMode = null, this._containerRef = m(), this._mapRef = m(), this._uiController = new k(this), this._activeLoadAbortController = null, this.arcgisLoadError = R(this), this.arcgisViewReadyError = U(this), this._map = z(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = Z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), D(this), this.view.ui = {
|
|
35
35
|
components: []
|
|
36
36
|
};
|
|
37
37
|
}
|
|
@@ -50,6 +50,12 @@ class Z extends V {
|
|
|
50
50
|
get attributionItems() {
|
|
51
51
|
return this.view?.attributionItems ?? [];
|
|
52
52
|
}
|
|
53
|
+
get attributionMode() {
|
|
54
|
+
return this._attributionMode;
|
|
55
|
+
}
|
|
56
|
+
set attributionMode(i) {
|
|
57
|
+
this._attributionMode = i, i !== "auto" && (this.view.attributionMode = i);
|
|
58
|
+
}
|
|
53
59
|
get center() {
|
|
54
60
|
return this.view.center;
|
|
55
61
|
}
|
|
@@ -118,7 +124,7 @@ class Z extends V {
|
|
|
118
124
|
return this.view.viewpoint;
|
|
119
125
|
}
|
|
120
126
|
set viewpoint(i) {
|
|
121
|
-
|
|
127
|
+
M(this.viewpoint, i) && (this.view.viewpoint = i);
|
|
122
128
|
}
|
|
123
129
|
get zoom() {
|
|
124
130
|
return this.view.zoom;
|
|
@@ -207,7 +213,7 @@ class Z extends V {
|
|
|
207
213
|
} else if (this._baseCypherQuery && this._serviceUrl) {
|
|
208
214
|
const a = t();
|
|
209
215
|
s.fetchKnowledgeGraph(this._serviceUrl).then((l) => {
|
|
210
|
-
s.WebLinkChart.fromCypherQuery(l, new
|
|
216
|
+
s.WebLinkChart.fromCypherQuery(l, new Q({
|
|
211
217
|
openCypherQuery: this._baseCypherQuery
|
|
212
218
|
}), void 0, {
|
|
213
219
|
signal: a?.signal
|
|
@@ -229,16 +235,16 @@ class Z extends V {
|
|
|
229
235
|
});
|
|
230
236
|
}
|
|
231
237
|
renderMain() {
|
|
232
|
-
return y`<div class=${w(u.base)} ${
|
|
238
|
+
return y`<div class=${w(u.base)} ${v(this._mapRef)}></div>`;
|
|
233
239
|
}
|
|
234
240
|
render() {
|
|
235
|
-
return y`${this.renderMain()}<section class=${w(u.containerUI)} ${
|
|
241
|
+
return y`${this.renderMain()}<section class=${w(u.containerUI)} ${v(this._containerRef)}>${this._uiController.render()}</section>`;
|
|
236
242
|
}
|
|
237
243
|
}
|
|
238
244
|
const s = {
|
|
239
|
-
fetchKnowledgeGraph: async (r) => await
|
|
245
|
+
fetchKnowledgeGraph: async (r) => await x(r),
|
|
240
246
|
WebLinkChart: b,
|
|
241
|
-
LinkChartLayer:
|
|
247
|
+
LinkChartLayer: P,
|
|
242
248
|
setMap: (r, i) => {
|
|
243
249
|
r.map = i;
|
|
244
250
|
},
|
|
@@ -253,8 +259,8 @@ const s = {
|
|
|
253
259
|
},
|
|
254
260
|
reCreateAccessor: A
|
|
255
261
|
};
|
|
256
|
-
C("arcgis-link-chart",
|
|
262
|
+
C("arcgis-link-chart", F);
|
|
257
263
|
export {
|
|
258
|
-
|
|
264
|
+
F as ArcgisLinkChart,
|
|
259
265
|
s as exportsForTests
|
|
260
266
|
};
|
|
@@ -30,6 +30,16 @@ export abstract class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
30
30
|
* prevent memory leaks.
|
|
31
31
|
*
|
|
32
32
|
* @default false
|
|
33
|
+
* @example
|
|
34
|
+
*
|
|
35
|
+
* ```html
|
|
36
|
+
* <arcgis-link-chart-layout-switcher auto-destroy-disabled></arcgis-link-chart-layout-switcher>
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ```js
|
|
40
|
+
* linkChartLayoutSwitcherElement.autoDestroyDisabled = true;
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
33
43
|
*/
|
|
34
44
|
accessor autoDestroyDisabled: boolean;
|
|
35
45
|
/**
|
|
@@ -21,6 +21,16 @@ export abstract class ArcgisLinkChartNonspatialVisibilityToggle extends LitEleme
|
|
|
21
21
|
* prevent memory leaks.
|
|
22
22
|
*
|
|
23
23
|
* @default false
|
|
24
|
+
* @example
|
|
25
|
+
*
|
|
26
|
+
* ```html
|
|
27
|
+
* <arcgis-link-chart-nonspatial-visibility-toggle auto-destroy-disabled></arcgis-link-chart-nonspatial-visibility-toggle>
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ```js
|
|
31
|
+
* linkChartNonspatialVisibilityToggleElement.autoDestroyDisabled = true;
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
24
34
|
*/
|
|
25
35
|
accessor autoDestroyDisabled: boolean;
|
|
26
36
|
accessor icon: IconName | undefined;
|
|
@@ -36,6 +36,16 @@ export abstract class ArcgisLocate extends LitElement {
|
|
|
36
36
|
* prevent memory leaks.
|
|
37
37
|
*
|
|
38
38
|
* @default false
|
|
39
|
+
* @example
|
|
40
|
+
*
|
|
41
|
+
* ```html
|
|
42
|
+
* <arcgis-locate auto-destroy-disabled></arcgis-locate>
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ```js
|
|
46
|
+
* locateElement.autoDestroyDisabled = true;
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
39
49
|
*/
|
|
40
50
|
accessor autoDestroyDisabled: boolean;
|
|
41
51
|
accessor geolocationOptions: PositionOptions | undefined;
|
|
@@ -181,13 +181,15 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
181
181
|
*/
|
|
182
182
|
get attributionItems(): MapView["attributionItems"];
|
|
183
183
|
/**
|
|
184
|
-
* The
|
|
185
|
-
*
|
|
186
|
-
*
|
|
184
|
+
* The display mode used for the attribution. Defaults to null.
|
|
185
|
+
*
|
|
186
|
+
* Set this property to "auto" to automatically synchronize the attribution with the nearest [Calcite mode](https://developers.arcgis.com/calcite-design-system/core-concepts/#modes). If no Calcite mode is detected, the attribution defaults to light mode. **The "auto" mode was added in version 5.2.**
|
|
187
|
+
*
|
|
188
|
+
* Set this property to "light" or "dark" to explicitly use that mode without synchronization.
|
|
187
189
|
*
|
|
188
190
|
* @since 5.0
|
|
189
191
|
*/
|
|
190
|
-
accessor attributionMode:
|
|
192
|
+
accessor attributionMode: AttributionMode;
|
|
191
193
|
/**
|
|
192
194
|
* If true, the component will not be destroyed automatically when it is
|
|
193
195
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -196,6 +198,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
196
198
|
* prevent memory leaks.
|
|
197
199
|
*
|
|
198
200
|
* @default false
|
|
201
|
+
* @example
|
|
202
|
+
*
|
|
203
|
+
* ```html
|
|
204
|
+
* <arcgis-map auto-destroy-disabled></arcgis-map>
|
|
205
|
+
* ```
|
|
206
|
+
*
|
|
207
|
+
* ```js
|
|
208
|
+
* mapElement.autoDestroyDisabled = true;
|
|
209
|
+
* ```
|
|
210
|
+
*
|
|
199
211
|
*/
|
|
200
212
|
accessor autoDestroyDisabled: boolean;
|
|
201
213
|
/**
|
|
@@ -1409,4 +1421,6 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1409
1421
|
arcgisViewReadyError: ArcgisMap["arcgisViewReadyError"]["detail"];
|
|
1410
1422
|
arcgisViewVerticalTwoFingerDrag: ArcgisMap["arcgisViewVerticalTwoFingerDrag"]["detail"];
|
|
1411
1423
|
};
|
|
1412
|
-
}
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
export type AttributionMode = MapView["attributionMode"] | "auto";
|
|
@@ -7,13 +7,13 @@ import v from "@arcgis/core/WebMap.js";
|
|
|
7
7
|
import { LitElement as m, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
|
|
8
8
|
import { makeAccessorController as p, reEmitEvent as e, reCreateAccessor as u } from "@arcgis/lumina/controllers/accessor";
|
|
9
9
|
import { createRef as n, ref as h } from "lit/directives/ref.js";
|
|
10
|
-
import {
|
|
11
|
-
import { s as
|
|
10
|
+
import { U as g, u as d, a as y, b as f } from "../../chunks/useArcgisViewReadyError.js";
|
|
11
|
+
import { s as b } from "../../chunks/esri-main.js";
|
|
12
|
+
import { s as V } from "../../chunks/slots.js";
|
|
12
13
|
import { C as w } from "../../chunks/resources.js";
|
|
13
|
-
import { p as
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
const A = p(
|
|
14
|
+
import { p as C, i as E } from "../../chunks/component-utils.js";
|
|
15
|
+
import A from "@arcgis/core/core/Collection.js";
|
|
16
|
+
const _ = p(
|
|
17
17
|
v,
|
|
18
18
|
/**
|
|
19
19
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -25,9 +25,9 @@ const A = p(
|
|
|
25
25
|
*/
|
|
26
26
|
{}
|
|
27
27
|
), R = p(c, {});
|
|
28
|
-
class
|
|
28
|
+
class M extends m {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new
|
|
30
|
+
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new g(this), this.extraContent = new A(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = _(this), this.view = R(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), f(this), this.view.ui = {
|
|
31
31
|
components: []
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -35,7 +35,7 @@ class _ extends m {
|
|
|
35
35
|
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, selectionManager: 32, slotGroupRefs: 32, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 36, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.styles = [
|
|
38
|
+
this.styles = [b, V];
|
|
39
39
|
}
|
|
40
40
|
get aria() {
|
|
41
41
|
return this.view?.aria;
|
|
@@ -46,11 +46,17 @@ class _ extends m {
|
|
|
46
46
|
get attributionItems() {
|
|
47
47
|
return this.view?.attributionItems ?? [];
|
|
48
48
|
}
|
|
49
|
+
get attributionMode() {
|
|
50
|
+
return this._attributionMode;
|
|
51
|
+
}
|
|
52
|
+
set attributionMode(i) {
|
|
53
|
+
this._attributionMode = i, i !== "auto" && (this.view.attributionMode = i);
|
|
54
|
+
}
|
|
49
55
|
get center() {
|
|
50
56
|
return this.view.center;
|
|
51
57
|
}
|
|
52
58
|
set center(i) {
|
|
53
|
-
const t =
|
|
59
|
+
const t = C(i, this.view);
|
|
54
60
|
t && (this.view.center = t);
|
|
55
61
|
}
|
|
56
62
|
get extent() {
|
|
@@ -105,7 +111,7 @@ class _ extends m {
|
|
|
105
111
|
return this.view.viewpoint;
|
|
106
112
|
}
|
|
107
113
|
set viewpoint(i) {
|
|
108
|
-
|
|
114
|
+
E(this.viewpoint, i) && (this.view.viewpoint = i);
|
|
109
115
|
}
|
|
110
116
|
get zoom() {
|
|
111
117
|
return this.view.zoom;
|
|
@@ -178,7 +184,7 @@ class _ extends m {
|
|
|
178
184
|
return a`${this.renderMain()}<section class=${o(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
|
|
179
185
|
}
|
|
180
186
|
}
|
|
181
|
-
l("arcgis-map",
|
|
187
|
+
l("arcgis-map", M);
|
|
182
188
|
export {
|
|
183
|
-
|
|
189
|
+
M as ArcgisMap
|
|
184
190
|
};
|
|
@@ -114,6 +114,16 @@ export abstract class ArcgisMeasurement extends LitElement {
|
|
|
114
114
|
* prevent memory leaks.
|
|
115
115
|
*
|
|
116
116
|
* @default false
|
|
117
|
+
* @example
|
|
118
|
+
*
|
|
119
|
+
* ```html
|
|
120
|
+
* <arcgis-measurement auto-destroy-disabled></arcgis-measurement>
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* ```js
|
|
124
|
+
* measurementElement.autoDestroyDisabled = true;
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
117
127
|
*/
|
|
118
128
|
accessor autoDestroyDisabled: boolean;
|
|
119
129
|
/**
|
|
@@ -29,6 +29,16 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
|
|
|
29
29
|
* prevent memory leaks.
|
|
30
30
|
*
|
|
31
31
|
* @default false
|
|
32
|
+
* @example
|
|
33
|
+
*
|
|
34
|
+
* ```html
|
|
35
|
+
* <arcgis-multi-feature-form auto-destroy-disabled></arcgis-multi-feature-form>
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ```js
|
|
39
|
+
* multiFeatureFormElement.autoDestroyDisabled = true;
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
32
42
|
*/
|
|
33
43
|
accessor autoDestroyDisabled: boolean;
|
|
34
44
|
/** @default false */
|
|
@@ -42,7 +52,21 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
|
|
|
42
52
|
get hasTooManyComplexFeatures(): boolean;
|
|
43
53
|
/** @default false */
|
|
44
54
|
get hasTooManyFeatures(): boolean;
|
|
45
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* 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.
|
|
57
|
+
*
|
|
58
|
+
* @see [HTML heading elements](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements)
|
|
59
|
+
* @example
|
|
60
|
+
*
|
|
61
|
+
* ```html
|
|
62
|
+
* <arcgis-multi-feature-form heading-level="2"></arcgis-multi-feature-form>
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ```js
|
|
66
|
+
* multiFeatureFormElement.headingLevel = 2;
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
46
70
|
accessor headingLevel: HeadingLevel;
|
|
47
71
|
/**
|
|
48
72
|
* Icon which represents the component.
|
|
@@ -39,6 +39,16 @@ export abstract class ArcgisNavigationToggle extends LitElement {
|
|
|
39
39
|
* prevent memory leaks.
|
|
40
40
|
*
|
|
41
41
|
* @default false
|
|
42
|
+
* @example
|
|
43
|
+
*
|
|
44
|
+
* ```html
|
|
45
|
+
* <arcgis-navigation-toggle auto-destroy-disabled></arcgis-navigation-toggle>
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ```js
|
|
49
|
+
* navigationToggleElement.autoDestroyDisabled = true;
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
42
52
|
*/
|
|
43
53
|
accessor autoDestroyDisabled: boolean;
|
|
44
54
|
/**
|
|
@@ -21,6 +21,16 @@ export abstract class ArcgisOrientedImageryViewer extends LitElement {
|
|
|
21
21
|
* prevent memory leaks.
|
|
22
22
|
*
|
|
23
23
|
* @default false
|
|
24
|
+
* @example
|
|
25
|
+
*
|
|
26
|
+
* ```html
|
|
27
|
+
* <arcgis-oriented-imagery-viewer auto-destroy-disabled></arcgis-oriented-imagery-viewer>
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ```js
|
|
31
|
+
* orientedImageryViewerElement.autoDestroyDisabled = true;
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
24
34
|
*/
|
|
25
35
|
accessor autoDestroyDisabled: boolean;
|
|
26
36
|
/**
|
package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js
CHANGED
|
@@ -7,13 +7,11 @@ import { property as h, subclass as C } from "@arcgis/core/core/accessorSupport/
|
|
|
7
7
|
import * as M from "@arcgis/toolkit/log";
|
|
8
8
|
import V from "@arcgis/core/core/Accessor.js";
|
|
9
9
|
import w from "@arcgis/core/geometry/Extent.js";
|
|
10
|
-
import "@arcgis/core/views/MapView.js";
|
|
11
10
|
import b from "@arcgis/core/geometry/SpatialReference.js";
|
|
12
11
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
12
|
import { rotateDimensions as S, registerPanConstraint as F } from "@arcgis/core/applications/Components/OrientedImageryViewer/ImageViewer/utils.js";
|
|
14
13
|
import H from "@arcgis/core/layers/support/TileInfo.js";
|
|
15
14
|
import { u as L } from "../../chunks/useT9n.js";
|
|
16
|
-
import "@arcgis/core/Graphic.js";
|
|
17
15
|
import { G as z } from "../../chunks/graphicsLayerController.js";
|
|
18
16
|
import { createRef as I, ref as T } from "lit/directives/ref.js";
|
|
19
17
|
const O = x`:host{height:100%;--arcgis-view-color-focus: none}`, R = {
|