@arcgis/map-components 5.0.0-next.162 → 5.0.0-next.163
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/55TRWAT7.js +2 -0
- package/dist/cdn/H7O5I4IF.js +2 -0
- package/dist/cdn/{K6ZTEDKX.js → INYYRLED.js} +1 -1
- package/dist/cdn/L6YZXUBB.js +2 -0
- package/dist/cdn/URUFNID2.js +2 -0
- package/dist/cdn/X7QWBVC2.js +2 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +4 -5
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.d.ts +6 -8
- package/dist/components/arcgis-features/customElement.js +48 -42
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +3 -3
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-link-chart/customElement.d.ts +16 -18
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +17 -19
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +7 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- package/dist/components/arcgis-popup/customElement.d.ts +8 -10
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +6 -7
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +22 -24
- package/dist/components/arcgis-search/customElement.d.ts +7 -9
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +2 -3
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +3 -3
- package/dist/components/types.d.ts +3 -3
- 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/package.json +4 -4
- package/dist/cdn/2LQLX6UN.js +0 -2
- package/dist/cdn/IWY2NPAG.js +0 -2
- package/dist/cdn/O4RXVEMK.js +0 -2
- package/dist/cdn/QZPDQ6B7.js +0 -2
- package/dist/cdn/W53OMY3O.js +0 -2
|
@@ -1,36 +1,29 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type FeatureTable from "@arcgis/core/widgets/FeatureTable.js";
|
|
3
|
-
import type RelationshipColumn from "@arcgis/core/widgets/FeatureTable/RelationshipColumn";
|
|
4
|
-
import type GroupColumn from "@arcgis/core/widgets/FeatureTable/Grid/GroupColumn";
|
|
5
|
-
import type Column from "@arcgis/core/widgets/FeatureTable/Grid/Column";
|
|
6
|
-
import type AttachmentsColumn from "@arcgis/core/widgets/FeatureTable/AttachmentsColumn";
|
|
7
|
-
import type ActionColumn from "@arcgis/core/widgets/FeatureTable/ActionColumn";
|
|
3
|
+
import type RelationshipColumn from "@arcgis/core/widgets/FeatureTable/RelationshipColumn.js";
|
|
4
|
+
import type GroupColumn from "@arcgis/core/widgets/FeatureTable/Grid/GroupColumn.js";
|
|
5
|
+
import type Column from "@arcgis/core/widgets/FeatureTable/Grid/Column.js";
|
|
6
|
+
import type AttachmentsColumn from "@arcgis/core/widgets/FeatureTable/AttachmentsColumn.js";
|
|
7
|
+
import type ActionColumn from "@arcgis/core/widgets/FeatureTable/ActionColumn.js";
|
|
8
8
|
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
9
|
-
import type AttachmentsColumn2 from "@arcgis/core/widgets/FeatureTable/AttachmentsColumn.js";
|
|
10
9
|
import type AttributeTableTemplate from "@arcgis/core/tables/AttributeTableTemplate.js";
|
|
11
|
-
import type ActionColumn2 from "@arcgis/core/widgets/FeatureTable/ActionColumn.js";
|
|
12
10
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
13
|
-
import type Column2 from "@arcgis/core/widgets/FeatureTable/Grid/Column.js";
|
|
14
11
|
import type AttachmentsViewOptions from "@arcgis/core/widgets/FeatureTable/support/AttachmentsViewOptions.js";
|
|
15
12
|
import type FieldColumn from "@arcgis/core/widgets/FeatureTable/FieldColumn.js";
|
|
16
|
-
import type GroupColumn2 from "@arcgis/core/widgets/FeatureTable/Grid/GroupColumn.js";
|
|
17
13
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
18
14
|
import type Relationship from "@arcgis/core/layers/support/Relationship.js";
|
|
19
|
-
import type RelationshipColumn2 from "@arcgis/core/widgets/FeatureTable/RelationshipColumn.js";
|
|
20
15
|
import type TableTemplate from "@arcgis/core/widgets/FeatureTable/support/TableTemplate.js";
|
|
21
16
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
22
17
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
23
18
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
24
|
-
import type { FeatureStoreItem } from "@arcgis/core/widgets/FeatureTable/support/types";
|
|
25
|
-
import type { CollectionChangeEvent } from "@arcgis/core/core/Collection";
|
|
26
|
-
import type { TableInteractionColumnReorderEvent, TableInteractionCellPointeroverEvent, TableInteractionCellPointeroutEvent, TableInteractionCellKeydownEvent, TableInteractionCellClickEvent } from "@arcgis/core/widgets/FeatureTable/Grid/types";
|
|
19
|
+
import type { FeatureStoreItem, ActionColumnConfig, FeatureTableSupportedFilters, ColumnSortOrder, FeatureTableSupportedLayer } from "@arcgis/core/widgets/FeatureTable/support/types.js";
|
|
20
|
+
import type { CollectionChangeEvent } from "@arcgis/core/core/Collection.js";
|
|
21
|
+
import type { TableInteractionColumnReorderEvent, TableInteractionCellPointeroverEvent, TableInteractionCellPointeroutEvent, TableInteractionCellKeydownEvent, TableInteractionCellClickEvent, TableMenuConfig, GridMultiSortPriority, FeatureTableState } from "@arcgis/core/widgets/FeatureTable/Grid/types.js";
|
|
27
22
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
28
|
-
import type { ActionColumnConfig, FeatureTableSupportedFilters, ColumnSortOrder, FeatureTableSupportedLayer } from "@arcgis/core/widgets/FeatureTable/support/types.js";
|
|
29
23
|
import type { FeatureTableDescriptionFunction, FeatureTableTitleFunction } from "@arcgis/core/widgets/FeatureTable.js";
|
|
30
24
|
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
|
|
31
25
|
import type { ObjectId } from "@arcgis/core/views/types.js";
|
|
32
26
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
33
|
-
import type { TableMenuConfig, GridMultiSortPriority, FeatureTableState } from "@arcgis/core/widgets/FeatureTable/Grid/types.js";
|
|
34
27
|
|
|
35
28
|
/**
|
|
36
29
|
* The Feature Table component provides an interactive tabular view of each feature's attributes in a feature layer.
|
|
@@ -44,7 +37,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
44
37
|
* @since 4.33
|
|
45
38
|
* @see [actionColumnConfig](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/#actionColumnConfig)
|
|
46
39
|
*/
|
|
47
|
-
get actionColumn():
|
|
40
|
+
get actionColumn(): ActionColumn | null | undefined;
|
|
48
41
|
/**
|
|
49
42
|
* Configuration for the [ActionColumn](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/ActionColumn/).
|
|
50
43
|
* This property allows for customizing the action column's appearance and behavior.
|
|
@@ -93,7 +86,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
93
86
|
*
|
|
94
87
|
* @since 4.33
|
|
95
88
|
*/
|
|
96
|
-
get allColumns(): Array<
|
|
89
|
+
get allColumns(): Array<Column>;
|
|
97
90
|
/**
|
|
98
91
|
* Indicates the table is displaying all related tables in "show all" mode.
|
|
99
92
|
*
|
|
@@ -106,13 +99,13 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
106
99
|
*
|
|
107
100
|
* @since 4.33
|
|
108
101
|
*/
|
|
109
|
-
get allVisibleColumns(): Array<
|
|
102
|
+
get allVisibleColumns(): Array<Column>;
|
|
110
103
|
/**
|
|
111
104
|
* A flattened array of all [attachment columns](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTable/AttachmentsColumn/) within the table, including nested columns.
|
|
112
105
|
*
|
|
113
106
|
* @since 4.33
|
|
114
107
|
*/
|
|
115
|
-
get attachmentsColumns(): Array<
|
|
108
|
+
get attachmentsColumns(): Array<AttachmentsColumn>;
|
|
116
109
|
/**
|
|
117
110
|
* Indicates whether to display the `Attachments` field in the table. It displays the count of attachments per feature and is only applicable if the feature layer [supports attachments](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities).
|
|
118
111
|
*
|
|
@@ -188,7 +181,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
188
181
|
* A read-only collection of column, field, group, action, attachment,
|
|
189
182
|
* and relationship columns that are displayed within the table.
|
|
190
183
|
*/
|
|
191
|
-
get columns(): Collection<
|
|
184
|
+
get columns(): Collection<Column>;
|
|
192
185
|
/**
|
|
193
186
|
* The SQL where clause used to filter features visible in the table. Only the features that satisfy the definition
|
|
194
187
|
* expression are displayed in the table. This value takes priority over any definition expression set on the
|
|
@@ -267,7 +260,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
267
260
|
*
|
|
268
261
|
* @since 4.33
|
|
269
262
|
*/
|
|
270
|
-
get groupColumns(): Array<
|
|
263
|
+
get groupColumns(): Array<GroupColumn>;
|
|
271
264
|
/**
|
|
272
265
|
* Convenience property indicating the data set contains contingent values. This includes contingent values in a related table.
|
|
273
266
|
*
|
|
@@ -729,7 +722,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
729
722
|
*
|
|
730
723
|
* @since 4.33
|
|
731
724
|
*/
|
|
732
|
-
get relationshipColumns(): Array<
|
|
725
|
+
get relationshipColumns(): Array<RelationshipColumn>;
|
|
733
726
|
/**
|
|
734
727
|
* Indicates whether to fetch geometries for the corresponding features displayed in the table.
|
|
735
728
|
*
|
|
@@ -970,7 +963,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
970
963
|
*
|
|
971
964
|
* @since 4.33
|
|
972
965
|
*/
|
|
973
|
-
get visibleColumns(): Array<
|
|
966
|
+
get visibleColumns(): Array<Column>;
|
|
974
967
|
/** @param showWarningPrompt */
|
|
975
968
|
deleteSelection(showWarningPrompt?: boolean): Promise<void>;
|
|
976
969
|
/** Permanently destroy the component. */
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem";
|
|
2
|
+
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem.js";
|
|
3
3
|
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
4
|
-
import type TemplateItem2 from "@arcgis/core/widgets/FeatureTemplates/TemplateItem.js";
|
|
5
4
|
import type TemplateItemGroup from "@arcgis/core/widgets/FeatureTemplates/TemplateItemGroup.js";
|
|
6
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
|
-
import type { SelectEvent } from "@arcgis/core/widgets/FeatureTemplates/FeatureTemplatesViewModel";
|
|
7
|
+
import type { SelectEvent, FeatureTemplatesViewModelState } from "@arcgis/core/widgets/FeatureTemplates/FeatureTemplatesViewModel.js";
|
|
9
8
|
import type { Filter, GroupByType } from "@arcgis/core/widgets/FeatureTemplates/types.js";
|
|
10
9
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
11
10
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
12
11
|
import type { LayerWithFeatureTemplatesUnion } from "@arcgis/core/layers/types.js";
|
|
13
|
-
import type { FeatureTemplatesViewModelState } from "@arcgis/core/widgets/FeatureTemplates/FeatureTemplatesViewModel.js";
|
|
14
12
|
|
|
15
13
|
/** @internal */
|
|
16
14
|
export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
@@ -131,7 +129,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
131
129
|
*/
|
|
132
130
|
get icon(): Icon["icon"];
|
|
133
131
|
set icon(value: IconName);
|
|
134
|
-
get items(): Array<
|
|
132
|
+
get items(): Array<TemplateItem | TemplateItemGroup>;
|
|
135
133
|
/**
|
|
136
134
|
* The component's default label.
|
|
137
135
|
*
|
|
@@ -173,7 +171,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
173
171
|
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
174
172
|
*/
|
|
175
173
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
176
|
-
get selectedItem():
|
|
174
|
+
get selectedItem(): TemplateItem | undefined;
|
|
177
175
|
/**
|
|
178
176
|
* Specifies the selection behavior of list items. The `"single"` selection mode keeps the clicked list item selected. Whereas, `"none"` does not preserve the selection after clicking the list item.
|
|
179
177
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
6
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
|
|
@@ -3,18 +3,16 @@ import type FeaturesViewModel from "@arcgis/core/widgets/Features/FeaturesViewMo
|
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
5
5
|
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
6
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
6
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
7
7
|
import type Widget from "@arcgis/core/widgets/Widget.js";
|
|
8
|
-
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
9
8
|
import type Map from "@arcgis/core/Map.js";
|
|
10
9
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
11
10
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
12
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
13
12
|
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
14
|
-
import type { ActionEvent, FetchFeaturesOptions } from "@arcgis/core/widgets/Popup/types";
|
|
15
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
13
|
+
import type { ActionEvent, FetchFeaturesOptions, PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
14
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
16
15
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
17
|
-
import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/widgets/Popup/types.js";
|
|
18
16
|
import type { Abilities } from "@arcgis/core/widgets/Feature/types.js";
|
|
19
17
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
20
18
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
@@ -153,7 +151,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
153
151
|
* component.features = graphics;
|
|
154
152
|
* ```
|
|
155
153
|
*/
|
|
156
|
-
accessor features: Array<
|
|
154
|
+
accessor features: Array<Graphic>;
|
|
157
155
|
/**
|
|
158
156
|
* The number of features to fetch at one time.
|
|
159
157
|
*
|
|
@@ -460,7 +458,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
460
458
|
* resolved they are removed from this array and the features they return
|
|
461
459
|
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
|
|
462
460
|
*/
|
|
463
|
-
accessor promises: Array<Promise<Array<
|
|
461
|
+
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
464
462
|
/**
|
|
465
463
|
* 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.
|
|
466
464
|
*
|
|
@@ -478,7 +476,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
478
476
|
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
479
477
|
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to this feature.
|
|
480
478
|
*/
|
|
481
|
-
get selectedFeature():
|
|
479
|
+
get selectedFeature(): Graphic | null;
|
|
482
480
|
/**
|
|
483
481
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
|
|
484
482
|
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
@@ -50,7 +50,7 @@ class q extends P {
|
|
|
50
50
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
53
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, visible: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
54
54
|
}
|
|
55
55
|
static {
|
|
56
56
|
this.styles = G;
|
|
@@ -70,6 +70,12 @@ class q extends P {
|
|
|
70
70
|
get _collapseEnabled() {
|
|
71
71
|
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureViewModel?.title) && !!(this.content || this.viewModel.selectedFeatureViewModel?.content));
|
|
72
72
|
}
|
|
73
|
+
get visible() {
|
|
74
|
+
return this.viewModel.visible;
|
|
75
|
+
}
|
|
76
|
+
set visible(e) {
|
|
77
|
+
this.viewModel.visible = e;
|
|
78
|
+
}
|
|
73
79
|
get chartAnimationDisabled() {
|
|
74
80
|
return !(this.viewModel.featureViewModelAbilities?.chartAnimation ?? !0);
|
|
75
81
|
}
|
|
@@ -119,10 +125,10 @@ class q extends P {
|
|
|
119
125
|
this.viewModel.featureViewModelAbilities ??= {}, this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent = !e;
|
|
120
126
|
}
|
|
121
127
|
get open() {
|
|
122
|
-
return this.
|
|
128
|
+
return this.visible;
|
|
123
129
|
}
|
|
124
130
|
set open(e) {
|
|
125
|
-
this.
|
|
131
|
+
this.visible = e;
|
|
126
132
|
}
|
|
127
133
|
get selectedDrillInFeature() {
|
|
128
134
|
const e = Array.from(this.flowItems).at(-1);
|
|
@@ -135,18 +141,18 @@ class q extends P {
|
|
|
135
141
|
return this.viewModel.clear();
|
|
136
142
|
}
|
|
137
143
|
async close() {
|
|
138
|
-
this.
|
|
144
|
+
this.visible = !1;
|
|
139
145
|
}
|
|
140
146
|
async destroy() {
|
|
141
147
|
await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
142
148
|
}
|
|
143
149
|
async fetchFeatures(e, t) {
|
|
144
150
|
this._cancelFetchingFeatures();
|
|
145
|
-
const i = new AbortController(), { signal:
|
|
146
|
-
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal:
|
|
151
|
+
const i = new AbortController(), { signal: s } = i;
|
|
152
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await j(this.location.spatialReference, this.view.spatialReference, null, { signal: s }), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
147
153
|
return;
|
|
148
|
-
const
|
|
149
|
-
this.location =
|
|
154
|
+
const n = await this.viewModel.fetchFeatures(e, { signal: s, ...t });
|
|
155
|
+
this.location = n.location, this.promises = n.pendingFeatures;
|
|
150
156
|
}
|
|
151
157
|
async next() {
|
|
152
158
|
return this.viewModel.next();
|
|
@@ -192,10 +198,10 @@ class q extends P {
|
|
|
192
198
|
_groupResultsByLayer() {
|
|
193
199
|
const { featureViewModels: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
194
200
|
return e.forEach((i) => {
|
|
195
|
-
const
|
|
196
|
-
if (!
|
|
201
|
+
const s = i?.graphic;
|
|
202
|
+
if (!s)
|
|
197
203
|
return;
|
|
198
|
-
const
|
|
204
|
+
const n = Z(s), a = W(n) ? n : null, l = t.get(a) ?? [];
|
|
199
205
|
t.set(a, [...l, i]);
|
|
200
206
|
}), t;
|
|
201
207
|
}
|
|
@@ -206,12 +212,12 @@ class q extends P {
|
|
|
206
212
|
this._cancelOpenRelatedFeature();
|
|
207
213
|
const t = new AbortController();
|
|
208
214
|
this._openRelatedFeatureAbortController = t, await e.updateGeometry();
|
|
209
|
-
const i = e.graphic,
|
|
210
|
-
if (
|
|
215
|
+
const i = e.graphic, s = i?.geometry;
|
|
216
|
+
if (s == null || i == null)
|
|
211
217
|
return;
|
|
212
|
-
this._removeFlowItems(), await this.viewModel.zoomTo({ target:
|
|
213
|
-
const
|
|
214
|
-
|
|
218
|
+
this._removeFlowItems(), await this.viewModel.zoomTo({ target: s });
|
|
219
|
+
const n = K(s);
|
|
220
|
+
n != null && (this.location = n), this.features = [i], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController === t && (this._openRelatedFeatureAbortController = null);
|
|
215
221
|
}
|
|
216
222
|
_handlePaginationMenuButton() {
|
|
217
223
|
this._updateFeatureMenu();
|
|
@@ -254,8 +260,8 @@ class q extends P {
|
|
|
254
260
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
255
261
|
}
|
|
256
262
|
_getActionTitle(e) {
|
|
257
|
-
const { messages: t, selectedFeature: i } = this, { id:
|
|
258
|
-
return l &&
|
|
263
|
+
const { messages: t, selectedFeature: i } = this, { id: s } = e, n = i?.attributes, a = e.title ?? "", l = s === "zoom-to-feature" ? u(a, { messages: t }) : s === "remove-selected-feature" ? u(a, { messages: t }) : s === "zoom-to-clustered-features" ? u(a, { messages: t }) : s === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
264
|
+
return l && n ? u(l, n) : l ?? "";
|
|
259
265
|
}
|
|
260
266
|
_onMainKeydown(e) {
|
|
261
267
|
const { key: t } = e;
|
|
@@ -265,14 +271,14 @@ class q extends P {
|
|
|
265
271
|
this._featureMenuViewportNode && this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
266
272
|
}
|
|
267
273
|
_selectedFeatureIndexUpdated(e, t) {
|
|
268
|
-
const { featureCount: i, waitingForResult:
|
|
269
|
-
|
|
274
|
+
const { featureCount: i, waitingForResult: s } = this.viewModel;
|
|
275
|
+
s || !i || e === t || e === -1 || (this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
270
276
|
}
|
|
271
277
|
_triggerAction(e) {
|
|
272
278
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
273
279
|
}
|
|
274
280
|
_viewChange() {
|
|
275
|
-
this.viewModel.clear(), this.
|
|
281
|
+
this.viewModel.clear(), this.visible = !1;
|
|
276
282
|
}
|
|
277
283
|
_closeOpenActionMenu() {
|
|
278
284
|
const { _actionBarMenuNode: e } = this;
|
|
@@ -322,16 +328,16 @@ class q extends P {
|
|
|
322
328
|
return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
323
329
|
}
|
|
324
330
|
_renderFeaturePaginationText() {
|
|
325
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
331
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s } = t;
|
|
326
332
|
return o`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
327
|
-
index: M(
|
|
333
|
+
index: M(s + 1),
|
|
328
334
|
total: M(i)
|
|
329
335
|
})}</div>`;
|
|
330
336
|
}
|
|
331
337
|
_renderFeatureMenuButton() {
|
|
332
|
-
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex:
|
|
333
|
-
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${
|
|
334
|
-
index: M(
|
|
338
|
+
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: s, pendingPromisesCount: n } = t;
|
|
339
|
+
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${n > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
340
|
+
index: M(s + 1),
|
|
335
341
|
total: M(i)
|
|
336
342
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
337
343
|
}
|
|
@@ -340,14 +346,14 @@ class q extends P {
|
|
|
340
346
|
return o`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? d}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? d}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
341
347
|
}
|
|
342
348
|
_renderFeatureMenuItem(e) {
|
|
343
|
-
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels:
|
|
344
|
-
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${
|
|
349
|
+
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: i, featureViewModels: s } = this.viewModel, n = e === i, a = s.indexOf(e);
|
|
350
|
+
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(a)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(a)} .selected=${n} @calciteListItemSelect=${() => this._selectFeature(a)}><span .innerHTML=${(y.sanitize(e.title) || this.messages.untitled) ?? ""} slot=content></span>${t === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
345
351
|
}
|
|
346
352
|
_renderFeatureMenu() {
|
|
347
|
-
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(),
|
|
348
|
-
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${
|
|
349
|
-
const a = i.get(
|
|
350
|
-
return !this.hideFeatureListLayerTitle && l !== null ? F(
|
|
353
|
+
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
354
|
+
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
|
|
355
|
+
const a = i.get(n)?.map((r) => this._renderFeatureMenuItem(r)), l = n ? n.title ?? this.messages.untitled : null;
|
|
356
|
+
return !this.hideFeatureListLayerTitle && l !== null ? F(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
351
357
|
})}</calcite-list>` : null;
|
|
352
358
|
}
|
|
353
359
|
_renderHeaderAction(e) {
|
|
@@ -358,36 +364,36 @@ class q extends P {
|
|
|
358
364
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
359
365
|
}
|
|
360
366
|
_renderContentFeature() {
|
|
361
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled:
|
|
367
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
362
368
|
if (l === "list" && !r)
|
|
363
369
|
return null;
|
|
364
370
|
const _ = a.length === 0 && (l === "list" ? !!r : !p);
|
|
365
371
|
return o`<calcite-flow-item class=${$(b({
|
|
366
372
|
"content-feature": !0,
|
|
367
373
|
"flow-item-collapsed": i
|
|
368
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${
|
|
374
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
369
375
|
}
|
|
370
376
|
_renderFeatureMenuContainer() {
|
|
371
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages:
|
|
372
|
-
if (
|
|
377
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
|
|
378
|
+
if (n === "feature" && !a)
|
|
373
379
|
return null;
|
|
374
|
-
const V =
|
|
380
|
+
const V = n === "list" ? !l : a;
|
|
375
381
|
return o`<calcite-flow-item class=${$(b({
|
|
376
382
|
"flow-item-collapsed": p
|
|
377
|
-
}))} .closable=${
|
|
383
|
+
}))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
378
384
|
total: I.length
|
|
379
385
|
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(D) => {
|
|
380
386
|
D.preventDefault(), this._handleFeatureMenuBack();
|
|
381
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${
|
|
387
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${T > 0 ? o`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
382
388
|
}
|
|
383
389
|
_renderFlowItem(e, t) {
|
|
384
|
-
const { messages: i, hideCloseButton:
|
|
385
|
-
return o`<calcite-flow-item .closable=${!
|
|
390
|
+
const { messages: i, hideCloseButton: s, active: n } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m);
|
|
391
|
+
return o`<calcite-flow-item .closable=${!s} .closed=${!n} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(g) => {
|
|
386
392
|
g.preventDefault(), this._handleDrillInBackClick();
|
|
387
393
|
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${l ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
388
394
|
}
|
|
389
395
|
_renderContentContainer() {
|
|
390
|
-
const e = this.flowItems?.toArray(), t = e?.map((
|
|
396
|
+
const e = this.flowItems?.toArray(), t = e?.map((s, n) => this._renderFlowItem(s, this.initialDisplayMode === "list" || !this.featureMenuOpen && n === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
391
397
|
return o`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
392
398
|
}
|
|
393
399
|
_renderActionBar() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type WebMap from "@arcgis/core/WebMap";
|
|
3
|
-
import type WebScene from "@arcgis/core/WebScene";
|
|
2
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
3
|
+
import type WebScene from "@arcgis/core/WebScene.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
5
|
-
import type { ColorLike } from "@arcgis/core/Color";
|
|
5
|
+
import type { ColorLike } from "@arcgis/core/Color.js";
|
|
6
6
|
import type { BarCreatedFunction, DataLineCreatedFunction, DataLineInfos } from "@arcgis/core/widgets/Histogram/types.js";
|
|
7
7
|
import type { HistogramBin } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
8
8
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
3
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName, GoToOverride } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ListItem from "@arcgis/core/widgets/LayerList/ListItem";
|
|
3
|
-
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle";
|
|
4
|
-
import type ActionButton from "@arcgis/core/support/actions/ActionButton";
|
|
5
|
-
import type TableList from "@arcgis/core/widgets/TableList";
|
|
6
|
-
import type Collection from "@arcgis/core/core/Collection";
|
|
7
|
-
import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList";
|
|
8
|
-
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
9
|
-
import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
2
|
+
import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
3
|
+
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
4
|
+
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
5
|
+
import type TableList from "@arcgis/core/widgets/TableList.js";
|
|
6
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
7
|
+
import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
10
8
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
9
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
12
|
-
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
|
|
10
|
+
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel.js";
|
|
13
11
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
14
12
|
import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLayerList.js";
|
|
15
13
|
import type { FilterPredicate, ListItemModifier, State, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
|
|
@@ -315,7 +313,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
315
313
|
* layerListElement.openedLayers.pop();
|
|
316
314
|
* ```
|
|
317
315
|
*/
|
|
318
|
-
get openedLayers():
|
|
316
|
+
get openedLayers(): Collection<FlowLayer>;
|
|
319
317
|
/** A collection of ListItems representing operational layers. */
|
|
320
318
|
get operationalItems(): Collection<ListItem>;
|
|
321
319
|
/**
|
|
@@ -330,7 +328,7 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
330
328
|
*
|
|
331
329
|
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectionMode)
|
|
332
330
|
*/
|
|
333
|
-
accessor selectedItems:
|
|
331
|
+
accessor selectedItems: Collection<ListItem>;
|
|
334
332
|
/**
|
|
335
333
|
* Specifies the selection mode.
|
|
336
334
|
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/#selectedItems) property.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type ActiveLayerInfo from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
|
|
3
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
2
4
|
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
3
|
-
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type ActiveLayerInfo2 from "@arcgis/core/widgets/Legend/support/ActiveLayerInfo.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -93,7 +93,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
93
93
|
* display data in the legend. The legend component watches this property to hide or display the layer's legend when
|
|
94
94
|
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/references/core/widgets/Legend/support/ActiveLayerInfo/) is removed from or added to this collection.
|
|
95
95
|
*/
|
|
96
|
-
accessor activeLayerInfos:
|
|
96
|
+
accessor activeLayerInfos: Collection<ActiveLayerInfo>;
|
|
97
97
|
/**
|
|
98
98
|
* If true, the component will not be destroyed automatically when it is
|
|
99
99
|
* disconnected from the document. This is useful when you want to move the
|