@arcgis/common-components 5.1.0-next.47 → 5.1.0-next.48
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/components/arcgis-field-info/customElement.d.ts +2 -2
- package/dist/components/arcgis-field-info/utils/basic.d.ts +20 -2
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +20 -2
- package/dist/components/arcgis-ticks/customElement.d.ts +1 -2
- package/dist/components/arcgis-unique-values-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +13 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type View from "@arcgis/core/views/View.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { FieldInfoLayer } from "./utils/basic.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -193,7 +193,7 @@ export abstract class ArcgisFieldInfo extends LitElement {
|
|
|
193
193
|
/** Required layer instance. */
|
|
194
194
|
accessor layer: FieldInfoLayer | undefined;
|
|
195
195
|
/** View instance. If no view is provided all dates will show in 'system' timezone. */
|
|
196
|
-
accessor view:
|
|
196
|
+
accessor view: View | undefined;
|
|
197
197
|
/** Refresh the field info display after external changes are made. */
|
|
198
198
|
refresh(): Promise<void>;
|
|
199
199
|
/** Emitted once all information is displayed. */
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
2
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
5
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
6
|
+
import type VoxelLayer from "@arcgis/core/layers/VoxelLayer.js";
|
|
7
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
8
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
9
|
+
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
10
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
11
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
12
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
13
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
14
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
15
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
16
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
17
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
18
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
19
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
2
20
|
|
|
3
21
|
/** @internal */
|
|
4
|
-
export type FieldInfoLayer =
|
|
22
|
+
export type FieldInfoLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type View from "@arcgis/core/views/View.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { IPickListFieldInfo, IPickListGroupInfo, IPopoverProps, LastSortBy } from "../../utils/types.js";
|
|
5
5
|
import type { FieldPickListLayer } from "./utils/types.js";
|
|
@@ -101,7 +101,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
101
101
|
*/
|
|
102
102
|
accessor listOnly: boolean;
|
|
103
103
|
/** @deprecated use view instead */
|
|
104
|
-
accessor mapView:
|
|
104
|
+
accessor mapView: View | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* If true, allows for multiple selection. If false, the
|
|
107
107
|
* popover will close once an item has been selected.
|
|
@@ -168,7 +168,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
168
168
|
*/
|
|
169
169
|
accessor sortBy: LastSortBy;
|
|
170
170
|
/** View instance. */
|
|
171
|
-
accessor view:
|
|
171
|
+
accessor view: View | undefined;
|
|
172
172
|
/** Reposition the component. */
|
|
173
173
|
reposition(): Promise<void>;
|
|
174
174
|
/**
|
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
2
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
3
|
+
import type VoxelLayer from "@arcgis/core/layers/VoxelLayer.js";
|
|
4
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
5
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
6
|
+
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
7
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
8
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
9
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
10
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
11
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
12
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
13
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
14
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
15
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
16
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
17
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
18
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
19
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
2
20
|
|
|
3
21
|
/**
|
|
4
22
|
* All supported layer types
|
|
5
23
|
*
|
|
6
24
|
* @internal
|
|
7
25
|
*/
|
|
8
|
-
export type FieldPickListLayer =
|
|
26
|
+
export type FieldPickListLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
3
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
3
|
import type { Layout, TickMode, TickValues } from "./types.js";
|
|
5
4
|
|
|
@@ -66,7 +65,7 @@ export abstract class ArcgisTicks extends LitElement {
|
|
|
66
65
|
* };
|
|
67
66
|
* ```
|
|
68
67
|
*/
|
|
69
|
-
accessor labelFormatter: (
|
|
68
|
+
accessor labelFormatter: (value: number, defaultFormatter: (value: number) => string) => string | null | undefined;
|
|
70
69
|
/**
|
|
71
70
|
* Determines whether the labels are placed before or after the ticks.
|
|
72
71
|
*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
5
|
import type { UniqueValueCountInfo } from "@arcgis/core/smartMapping/statistics/types.js";
|
|
5
6
|
import type { SupportedLayer } from "./utils/basic.js";
|
|
@@ -89,7 +90,7 @@ export abstract class ArcgisUniqueValuesList extends LitElement {
|
|
|
89
90
|
*/
|
|
90
91
|
accessor uniqueValues: UniqueValueCountInfo[] | undefined;
|
|
91
92
|
/** MapView instance, required if uniqueValues is not provided and/or to display dates in the correct timezone */
|
|
92
|
-
accessor view:
|
|
93
|
+
accessor view: MapView | SceneView | undefined;
|
|
93
94
|
/** Optional, specify visualization source other than the layer itself. */
|
|
94
95
|
accessor visualizationSource: VisualizationSource | undefined;
|
|
95
96
|
/**
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
2
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
3
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
4
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
5
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
6
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
7
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
8
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
9
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
10
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
11
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
12
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
2
13
|
|
|
3
14
|
/** @internal */
|
|
4
|
-
export type SupportedLayer =
|
|
15
|
+
export type SupportedLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | KnowledgeGraphSublayer | OrientedImageryLayer | StreamLayer | SubtypeGroupLayer | SubtypeSublayer | WFSLayer;
|