@conterra/ct-mapapps-typings 4.19.3 → 4.20.0-PRE-2
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/agssearch/api.d.ts +2 -2
- package/agssearch/package.json +1 -1
- package/apprt/api/index.d.ts +1 -0
- package/apprt/api/internal.d.ts +1 -1
- package/apprt/launch/BundleController.d.ts +2 -1
- package/apprt/launch/Launcher.d.ts +21 -2
- package/apprt/package.json +1 -1
- package/apprt-binding/package.json +1 -1
- package/apprt-core/Types.d.ts +1 -1
- package/apprt-core/config.d.ts +7 -7
- package/apprt-core/load-js.d.ts +1 -1
- package/apprt-core/package.json +1 -1
- package/apprt-dom/package.json +1 -1
- package/apprt-fetch/index.d.ts +1 -1
- package/apprt-fetch/package.json +1 -1
- package/apprt-streams/package.json +1 -1
- package/apprt-tokens/package.json +1 -1
- package/apprt-vue/package.json +1 -1
- package/apprt-vuetify/components/copyText.d.ts +8 -0
- package/apprt-vuetify/package.json +1 -1
- package/coordinateconversion/api.d.ts +182 -0
- package/coordinateconversion/package.json +5 -0
- package/coordinatetransformer/api/CoordinateTransformer.d.ts +6 -4
- package/coordinatetransformer/api/ProjectionStore.d.ts +4 -2
- package/coordinatetransformer/api/TransformationProvider.d.ts +6 -4
- package/coordinatetransformer/api/TransformerStrategy.d.ts +4 -2
- package/coordinatetransformer/api/index.d.ts +6 -4
- package/coordinatetransformer/package.json +1 -1
- package/ct/async.d.ts +1 -1
- package/ct/mapping/geometry.d.ts +6 -6
- package/ct/package.json +1 -1
- package/dataform/package.json +1 -1
- package/dataview/package.json +1 -1
- package/domains-system/package.json +1 -1
- package/editing/api.d.ts +5 -15
- package/editing/package.json +1 -1
- package/esri-widgets/package.json +1 -1
- package/geojson/api.d.ts +6 -6
- package/geojson/package.json +1 -1
- package/geometryservice/api.d.ts +15 -15
- package/geometryservice/package.json +1 -1
- package/graphics/GraphicsBuilder.d.ts +1 -1
- package/graphics/package.json +1 -1
- package/highlights/api.d.ts +4 -4
- package/highlights/package.json +1 -1
- package/integration-map/package.json +1 -1
- package/managementlayout/package.json +1 -1
- package/map-actions/api.d.ts +2 -2
- package/map-actions/package.json +1 -1
- package/map-basemaps-api/BasemapItem.d.ts +2 -9
- package/map-basemaps-api/BasemapsModel.d.ts +1 -1
- package/map-basemaps-api/api.d.ts +1 -1
- package/map-basemaps-api/package.json +1 -1
- package/map-config-api/api.d.ts +38 -38
- package/map-config-api/package.json +1 -1
- package/map-init/api.d.ts +1 -1
- package/map-init/package.json +1 -1
- package/map-widget/Constraints.d.ts +16 -11
- package/map-widget/LayerObserver.d.ts +5 -5
- package/map-widget/LayerTraverser.d.ts +5 -5
- package/map-widget/MapWidgetFactory.d.ts +17 -11
- package/map-widget/MapWidgetModel.d.ts +16 -11
- package/map-widget/Navigation.d.ts +9 -2
- package/map-widget/ViewReadyWatcher.d.ts +16 -11
- package/map-widget/__internal__/{DTPbI1Aa.d.ts → ChgqPGgf.d.ts} +54 -10
- package/map-widget/api/BaseTypes.d.ts +6 -0
- package/map-widget/api/Constraints.d.ts +16 -11
- package/map-widget/api/MapWidget.d.ts +16 -11
- package/map-widget/api/MapWidgetFactory.d.ts +19 -14
- package/map-widget/api/MapWidgetModel.d.ts +16 -11
- package/map-widget/api/MapWidgetRegistration.d.ts +17 -12
- package/map-widget/api/Navigation.d.ts +15 -2
- package/map-widget/api/SrsChangeService.d.ts +16 -11
- package/map-widget/api/VisibilityState.d.ts +109 -0
- package/map-widget/api/index.d.ts +17 -12
- package/map-widget/package.json +1 -1
- package/mapdraw-api/api.d.ts +3 -3
- package/mapdraw-api/package.json +1 -1
- package/mapnavigation/package.json +1 -1
- package/maptips/api.d.ts +2 -2
- package/maptips/package.json +1 -1
- package/measurement-2d/api.d.ts +3 -2
- package/measurement-2d/package.json +1 -1
- package/measurement-3d/api.d.ts +1 -1
- package/measurement-3d/package.json +1 -1
- package/package.json +1 -1
- package/parametermanager/package.json +1 -1
- package/popups/Action.d.ts +7 -7
- package/popups/BaseAction.d.ts +8 -8
- package/popups/ContentUpdateProxy.d.ts +3 -3
- package/popups/api.d.ts +6 -5
- package/popups/package.json +1 -1
- package/portal-security/api.d.ts +1 -1
- package/portal-security/package.json +1 -1
- package/result-api/__internal__/{DHLZxzhJ.d.ts → BGEg3fBn.d.ts} +17 -4
- package/result-api/api/actions.d.ts +3 -2
- package/result-api/api/formatting.d.ts +3 -2
- package/result-api/api/index.d.ts +3 -2
- package/result-api/api/model.d.ts +3 -2
- package/result-api/api/service.d.ts +3 -2
- package/result-api/api/ui.d.ts +3 -2
- package/result-api/package.json +1 -1
- package/search-api/api.d.ts +16 -2
- package/search-api/package.json +1 -1
- package/search-ui/package.json +1 -1
- package/selection-services/DrawingSpatialInputAction.d.ts +1 -1
- package/selection-services/SearchSource.d.ts +3 -3
- package/selection-services/SpatialInputAction.d.ts +1 -1
- package/selection-services/TolerancePointDrawingInputAction.d.ts +1 -1
- package/selection-services/api/index.d.ts +1 -1
- package/selection-services/package.json +1 -1
- package/store-api/ComplexQuery.d.ts +1 -1
- package/store-api/InMemoryStore.d.ts +1 -1
- package/store-api/QueryResults.d.ts +1 -3
- package/store-api/SpatialQuery.d.ts +1 -1
- package/store-api/api/ComplexQueryLang.d.ts +1 -1
- package/store-api/api/Store.d.ts +2 -10
- package/store-api/api/index.d.ts +1 -1
- package/store-api/package.json +1 -1
- package/store-api/rest/BaseRestStore.d.ts +1 -1
- package/store-api/rest/BaseWriteableRestStore.d.ts +1 -1
- package/store-api/rest/ComplexQueryToSQL.d.ts +1 -1
- package/store-api/rest/ComplexQueryToSolrQL.d.ts +1 -1
- package/store-api/rest/RQLStore.d.ts +1 -1
- package/store-api/rest/SQLStore.d.ts +1 -1
- package/store-api/utils.d.ts +1 -5
- package/system/package.json +1 -1
- package/templatelayout/package.json +1 -1
- package/test-utils/package.json +1 -1
- package/theme-tester/package.json +1 -1
- package/toc/api/Action.d.ts +4 -4
- package/toc/api/Item.d.ts +5 -5
- package/toc/api/StateChecker.d.ts +4 -4
- package/toc/api/index.d.ts +4 -4
- package/toc/package.json +1 -1
- package/toolrules/package.json +1 -1
- package/vuetify-component-overview/package.json +1 -1
- package/windowmanager/package.json +1 -1
- package/wizard/package.json +1 -1
- package/apprt-core/Observable.d.ts +0 -55
- package/apprt-request/api.d.ts +0 -340
- package/apprt-request/main.d.ts +0 -6
- package/apprt-request/package.json +0 -5
- package/apprt-request/request.d.ts +0 -8
- package/apprt-vue/directives/clipboard.d.ts +0 -15
- package/ct/api/omnisearch/ResultHandler.d.ts +0 -3
- package/ct/api/omnisearch/Store.d.ts +0 -3
- package/ct/request.d.ts +0 -17
- package/ct/ui/controls/mobile/DropDownMenu.d.ts +0 -3
- package/omnisearch/ActionsHandler.d.ts +0 -9
- package/omnisearch/DrawHandler.d.ts +0 -9
- package/omnisearch/DropDownMenu.d.ts +0 -3
- package/omnisearch/OmniSearchFactory.d.ts +0 -3
- package/omnisearch/OmniSearchModel.d.ts +0 -3
- package/omnisearch/RadioButton.d.ts +0 -3
- package/omnisearch/ResultCommand.d.ts +0 -9
- package/omnisearch/SearchUI.d.ts +0 -3
- package/omnisearch/SettingsWidget.d.ts +0 -3
- package/omnisearch/ZoomHandler.d.ts +0 -8
- package/omnisearch/package.json +0 -5
- package/resultcenter/ActionController.d.ts +0 -3
- package/resultcenter/BaseCommand.d.ts +0 -3
- package/resultcenter/DataModel.d.ts +0 -3
- package/resultcenter/DataModelBroadcaster.d.ts +0 -3
- package/resultcenter/DataModelMapController.d.ts +0 -25
- package/resultcenter/DataViewController.d.ts +0 -3
- package/resultcenter/DataViewStore.d.ts +0 -3
- package/resultcenter/ExportResultsCommand.d.ts +0 -12
- package/resultcenter/FeatureMapVisualizer.d.ts +0 -35
- package/resultcenter/GraphicResolverFactory.d.ts +0 -15
- package/resultcenter/OpenPopupService.d.ts +0 -5
- package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +0 -3
- package/resultcenter/RemoveResultsCommand.d.ts +0 -6
- package/resultcenter/RestrictQueriesToView.d.ts +0 -3
- package/resultcenter/ResultcenterToolRuleProcessor.d.ts +0 -3
- package/resultcenter/SearchStoreHandler.d.ts +0 -8
- package/resultcenter/SelectAllResultsCommand.d.ts +0 -11
- package/resultcenter/StoreEventReceiver.d.ts +0 -3
- package/resultcenter/StoreRegistration.d.ts +0 -3
- package/resultcenter/TriggerShowResultCenter.d.ts +0 -3
- package/resultcenter/VisualizationLayerResolver.d.ts +0 -13
- package/resultcenter/package.json +0 -5
- package/selection-resultcenter/CachingStore.d.ts +0 -229
- package/selection-resultcenter/MemoryStore.d.ts +0 -10
- package/selection-resultcenter/package.json +0 -5
package/geojson/api.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import Geometry from '
|
|
1
|
+
import Geometry from '@arcgis/core/geometry/Geometry';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Provides the means to transform between WKT strings, GeoJSON and
|
|
4
|
+
* Provides the means to transform between WKT strings, GeoJSON and `@arcgis/core/Geometry` objects.
|
|
5
5
|
* Registered as service `geojson.Transformer`.
|
|
6
6
|
*/
|
|
7
7
|
interface Transformer {
|
|
8
8
|
/**
|
|
9
|
-
* Parses the given GeoJSON object to
|
|
9
|
+
* Parses the given GeoJSON object to @arcgis/core/Geometry.
|
|
10
10
|
*/
|
|
11
11
|
geojsonToGeometry(geoJSON: Record<string, unknown>): Geometry;
|
|
12
12
|
/**
|
|
13
|
-
* Converts an
|
|
13
|
+
* Converts an `@arcgis/core/Geometry` into a GeoJSON object.
|
|
14
14
|
*/
|
|
15
15
|
geometryToGeojson(geometry: Geometry): Record<string, unknown>;
|
|
16
16
|
/**
|
|
@@ -22,11 +22,11 @@ interface Transformer {
|
|
|
22
22
|
*/
|
|
23
23
|
geojsonToWKT(geoJSON: Record<string, unknown>): string;
|
|
24
24
|
/**
|
|
25
|
-
* Parses a WKT string into an
|
|
25
|
+
* Parses a WKT string into an `@arcgis/core/Geometry`.
|
|
26
26
|
*/
|
|
27
27
|
wktToGeometry(wkt: string): Geometry;
|
|
28
28
|
/**
|
|
29
|
-
* Converts an
|
|
29
|
+
* Converts an `@arcgis/core/Geometry` into a WKT string.
|
|
30
30
|
*/
|
|
31
31
|
geometryToWKT(geometry: Geometry): string;
|
|
32
32
|
}
|
package/geojson/package.json
CHANGED
package/geometryservice/api.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Point from '
|
|
3
|
-
import Polygon from '
|
|
4
|
-
import Polyline from '
|
|
1
|
+
import { GeometryUnion } from '@arcgis/core/unionTypes';
|
|
2
|
+
import Point from '@arcgis/core/geometry/Point';
|
|
3
|
+
import Polygon from '@arcgis/core/geometry/Polygon';
|
|
4
|
+
import Polyline from '@arcgis/core/geometry/Polyline';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* GeometryService delegates to methods defined in
|
|
7
|
+
* GeometryService delegates to methods defined in @arcgis/core/rest/geometryService.
|
|
8
8
|
*/
|
|
9
9
|
interface GeometryService {
|
|
10
10
|
get url(): string;
|
|
11
11
|
areasAndLengths(areasAndLengthsParameters: any, requestOptions?: any): Promise<any>;
|
|
12
12
|
autoComplete(polygons: any, polylines: any, requestOptions?: any): Promise<Polygon[]>;
|
|
13
13
|
buffer(bufferParameters: any, requestOptions?: any): Promise<Polygon[]>;
|
|
14
|
-
convexHull(geometries: any, requestOptions?: any): Promise<
|
|
14
|
+
convexHull(geometries: any, requestOptions?: any): Promise<GeometryUnion>;
|
|
15
15
|
cut(geometries: any, cutter: any, requestOptions?: any): Promise<any>;
|
|
16
|
-
densify(densifyParameters: any, requestOptions?: any): Promise<
|
|
17
|
-
difference(geometries: any, geometry: any, requestOptions?: any): Promise<
|
|
16
|
+
densify(densifyParameters: any, requestOptions?: any): Promise<GeometryUnion[]>;
|
|
17
|
+
difference(geometries: any, geometry: any, requestOptions?: any): Promise<GeometryUnion[]>;
|
|
18
18
|
distance(distanceParameters: any, requestOptions?: any): Promise<number>;
|
|
19
19
|
fromGeoCoordinateString(params: any, requestOptions?: any): Promise<any>;
|
|
20
|
-
generalize(generalizeParameters: any, requestOptions?: any): Promise<
|
|
21
|
-
intersect(geometries: any, intersector: any, requestOptions?: any): Promise<
|
|
20
|
+
generalize(generalizeParameters: any, requestOptions?: any): Promise<GeometryUnion[]>;
|
|
21
|
+
intersect(geometries: any, intersector: any, requestOptions?: any): Promise<GeometryUnion[]>;
|
|
22
22
|
labelPoints(polygons: any, requestOptions?: any): Promise<Point[]>;
|
|
23
23
|
lengths(lengthsParameters: any, requestOptions?: any): Promise<any>;
|
|
24
|
-
offset(offsetParameters: any, requestOptions?: any): Promise<
|
|
25
|
-
project(projectParameters: any, requestOption?: any): Promise<
|
|
24
|
+
offset(offsetParameters: any, requestOptions?: any): Promise<GeometryUnion[]>;
|
|
25
|
+
project(projectParameters: any, requestOption?: any): Promise<GeometryUnion[]>;
|
|
26
26
|
relation(relationParameters: any, requestOptions?: any): Promise<Polygon[]>;
|
|
27
|
-
reshape(geometry: any, reshaper: any, requestOptions?: any): Promise<
|
|
28
|
-
simplify(geometries: any, requestOptions?: any): Promise<
|
|
27
|
+
reshape(geometry: any, reshaper: any, requestOptions?: any): Promise<GeometryUnion>;
|
|
28
|
+
simplify(geometries: any, requestOptions?: any): Promise<GeometryUnion[]>;
|
|
29
29
|
toGeoCoordinateString(params: any, requestOptions?: any): Promise<string[]>;
|
|
30
30
|
trimExtend(trimExtendParameters: any, requestOptions?: any): Promise<Polyline[]>;
|
|
31
|
-
union(geometries: any, requestOptions?: any): Promise<
|
|
31
|
+
union(geometries: any, requestOptions?: any): Promise<GeometryUnion>;
|
|
32
32
|
get units(): Record<string, any>;
|
|
33
33
|
}
|
|
34
34
|
|
package/graphics/package.json
CHANGED
package/highlights/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Collection from '
|
|
2
|
-
import Graphic from '
|
|
3
|
-
import esriSymbol from '
|
|
1
|
+
import Collection from '@arcgis/core/core/Collection';
|
|
2
|
+
import Graphic from '@arcgis/core/Graphic';
|
|
3
|
+
import esriSymbol from '@arcgis/core/symbols/Symbol';
|
|
4
4
|
import { ViewMode, MapWidgetModel } from 'map-widget/api';
|
|
5
5
|
export { ViewMode } from 'map-widget/api';
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ type GeometryType = string;
|
|
|
42
42
|
/**
|
|
43
43
|
* Properties for default symbols.
|
|
44
44
|
* Properties must contain all properties required by
|
|
45
|
-
* [
|
|
45
|
+
* [@arcgis/core/Symbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html)
|
|
46
46
|
* and its derived classes.
|
|
47
47
|
*/
|
|
48
48
|
type SymbolProperties = Record<string, any>;
|
package/highlights/package.json
CHANGED
package/map-actions/api.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventSource } from 'apprt-core/Events';
|
|
2
|
-
import {
|
|
2
|
+
import { GeometryUnion } from '@arcgis/core/unionTypes';
|
|
3
3
|
import { PopupTemplateDefinition } from 'popups/api';
|
|
4
4
|
|
|
5
5
|
interface ActionItem {
|
|
6
6
|
/** Arbitrary properties. */
|
|
7
7
|
readonly [key: string]: unknown;
|
|
8
8
|
/** Some actions require an item geometry in order to work. */
|
|
9
|
-
readonly geometry?:
|
|
9
|
+
readonly geometry?: GeometryUnion;
|
|
10
10
|
}
|
|
11
11
|
/** Shape of the `options` parameter passed to an action. */
|
|
12
12
|
interface ActionOptions {
|
package/map-actions/package.json
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { MutableConstructor } from 'apprt-core/Mutable';
|
|
2
2
|
import { BasemapItem as BasemapItem$1 } from './api.js';
|
|
3
|
-
import
|
|
3
|
+
import '@arcgis/core/Basemap';
|
|
4
4
|
|
|
5
|
-
declare const BasemapItem: MutableConstructor<
|
|
6
|
-
id: string;
|
|
7
|
-
title: string | undefined;
|
|
8
|
-
description: string | undefined;
|
|
9
|
-
basemap: Basemap | undefined;
|
|
10
|
-
thumbnailUrl: string | undefined;
|
|
11
|
-
viewmode: ("2D" | "3D") | undefined;
|
|
12
|
-
}>;
|
|
5
|
+
declare const BasemapItem: MutableConstructor<BasemapItem$1>;
|
|
13
6
|
type BasemapItem = BasemapItem$1;
|
|
14
7
|
|
|
15
8
|
export { BasemapItem, BasemapItem as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BasemapsModelMembers, BasemapItem, BasemapItemProps, BasemapsModel as BasemapsModel$1 } from './api.js';
|
|
2
2
|
import 'apprt-core/Mutable';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/Basemap';
|
|
4
4
|
|
|
5
5
|
declare const BasemapsModel: {
|
|
6
6
|
new (options?: Partial<Omit<BasemapsModelMembers, "basemaps"> & {
|
package/map-config-api/api.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ExtensibleUnion } from 'apprt-core/Types';
|
|
2
|
-
import Basemap from '
|
|
3
|
-
import Ground from '
|
|
4
|
-
import BingMapsLayer from '
|
|
5
|
-
import CSVLayer from '
|
|
6
|
-
import ElevationLayer from '
|
|
7
|
-
import FeatureLayer from '
|
|
8
|
-
import GeoJSONLayer from '
|
|
9
|
-
import GeoRSSLayer from '
|
|
10
|
-
import GroupLayer from '
|
|
11
|
-
import ImageryLayer from '
|
|
12
|
-
import ImageryTileLayer from '
|
|
13
|
-
import IntegratedMeshLayer from '
|
|
14
|
-
import KMLLayer from '
|
|
15
|
-
import Layer from '
|
|
16
|
-
import MapImageLayer from '
|
|
17
|
-
import OGCFeatureLayer from '
|
|
18
|
-
import OpenStreetMapLayer from '
|
|
19
|
-
import SceneLayer from '
|
|
20
|
-
import BuildingSceneLayer from '
|
|
21
|
-
import PointCloudLayer from '
|
|
22
|
-
import VoxelLayer from '
|
|
23
|
-
import StreamLayer from '
|
|
24
|
-
import TileLayer from '
|
|
25
|
-
import VectorTileLayer from '
|
|
26
|
-
import WebTileLayer from '
|
|
27
|
-
import WFSLayer from '
|
|
28
|
-
import WMSLayer from '
|
|
29
|
-
import WMTSLayer from '
|
|
2
|
+
import Basemap from '@arcgis/core/Basemap';
|
|
3
|
+
import Ground from '@arcgis/core/Ground';
|
|
4
|
+
import BingMapsLayer from '@arcgis/core/layers/BingMapsLayer';
|
|
5
|
+
import CSVLayer from '@arcgis/core/layers/CSVLayer';
|
|
6
|
+
import ElevationLayer from '@arcgis/core/layers/ElevationLayer';
|
|
7
|
+
import FeatureLayer from '@arcgis/core/layers/FeatureLayer';
|
|
8
|
+
import GeoJSONLayer from '@arcgis/core/layers/GeoJSONLayer';
|
|
9
|
+
import GeoRSSLayer from '@arcgis/core/layers/GeoRSSLayer';
|
|
10
|
+
import GroupLayer from '@arcgis/core/layers/GroupLayer';
|
|
11
|
+
import ImageryLayer from '@arcgis/core/layers/ImageryLayer';
|
|
12
|
+
import ImageryTileLayer from '@arcgis/core/layers/ImageryTileLayer';
|
|
13
|
+
import IntegratedMeshLayer from '@arcgis/core/layers/IntegratedMeshLayer';
|
|
14
|
+
import KMLLayer from '@arcgis/core/layers/KMLLayer';
|
|
15
|
+
import Layer from '@arcgis/core/layers/Layer';
|
|
16
|
+
import MapImageLayer from '@arcgis/core/layers/MapImageLayer';
|
|
17
|
+
import OGCFeatureLayer from '@arcgis/core/layers/OGCFeatureLayer';
|
|
18
|
+
import OpenStreetMapLayer from '@arcgis/core/layers/OpenStreetMapLayer';
|
|
19
|
+
import SceneLayer from '@arcgis/core/layers/SceneLayer';
|
|
20
|
+
import BuildingSceneLayer from '@arcgis/core/layers/BuildingSceneLayer';
|
|
21
|
+
import PointCloudLayer from '@arcgis/core/layers/PointCloudLayer';
|
|
22
|
+
import VoxelLayer from '@arcgis/core/layers/VoxelLayer';
|
|
23
|
+
import StreamLayer from '@arcgis/core/layers/StreamLayer';
|
|
24
|
+
import TileLayer from '@arcgis/core/layers/TileLayer';
|
|
25
|
+
import VectorTileLayer from '@arcgis/core/layers/VectorTileLayer';
|
|
26
|
+
import WebTileLayer from '@arcgis/core/layers/WebTileLayer';
|
|
27
|
+
import WFSLayer from '@arcgis/core/layers/WFSLayer';
|
|
28
|
+
import WMSLayer from '@arcgis/core/layers/WMSLayer';
|
|
29
|
+
import WMTSLayer from '@arcgis/core/layers/WMTSLayer';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Provides services to create layers and other associated map items
|
|
@@ -214,12 +214,12 @@ interface BasemapConfigParser {
|
|
|
214
214
|
* @example
|
|
215
215
|
* // string of well-known basemap
|
|
216
216
|
* const result = await configParser.parse("streets", { title: 'Streets' });
|
|
217
|
-
* // result instance is
|
|
217
|
+
* // result instance is @arcgis/core/Basemap, the well-known streets basemap, with custom title
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
220
|
* // string of well-known basemap
|
|
221
221
|
* const result = await configParser.parse({ id: "streets" });
|
|
222
|
-
* // result instance is
|
|
222
|
+
* // result instance is @arcgis/core/Basemap, the well-known streets basemap
|
|
223
223
|
*
|
|
224
224
|
* @example
|
|
225
225
|
* // config object with custom layer
|
|
@@ -230,7 +230,7 @@ interface BasemapConfigParser {
|
|
|
230
230
|
* "type": "AGS_TILED"
|
|
231
231
|
* }]
|
|
232
232
|
* });
|
|
233
|
-
* // result instance is
|
|
233
|
+
* // result instance is @arcgis/core/Basemap, with a custom layer
|
|
234
234
|
*
|
|
235
235
|
* @example
|
|
236
236
|
* // config object with custom layer, but shorter
|
|
@@ -238,7 +238,7 @@ interface BasemapConfigParser {
|
|
|
238
238
|
* "url": "https://myarcgis.com/arcgis/rest/services/MyService/MapServer",
|
|
239
239
|
* "type": "AGS_TILED"
|
|
240
240
|
* })
|
|
241
|
-
* // result instance is
|
|
241
|
+
* // result instance is @arcgis/core/Basemap, with a custom layer
|
|
242
242
|
*
|
|
243
243
|
* @example
|
|
244
244
|
* // config object with custom layers, but shorter
|
|
@@ -250,7 +250,7 @@ interface BasemapConfigParser {
|
|
|
250
250
|
* "url": "https://myarcgis.com/arcgis/rest/services/OtherService/MapServer",
|
|
251
251
|
* "type": "AGS_TILED"
|
|
252
252
|
* }])
|
|
253
|
-
* // result instance is
|
|
253
|
+
* // result instance is @arcgis/core/Basemap, with two custom layers
|
|
254
254
|
*/
|
|
255
255
|
parse(config: string | LayerProperties | LayerProperties[] | BasemapConfigObject, options?: BasemapParserOptions): Promise<{
|
|
256
256
|
instance: Basemap;
|
|
@@ -274,7 +274,7 @@ interface LayerConfigParser {
|
|
|
274
274
|
* "type": "AGS_DYNAMIC",
|
|
275
275
|
* "sublayers": ["*"]
|
|
276
276
|
* }]).then((layers) => {
|
|
277
|
-
* // layers[0] is instance of
|
|
277
|
+
* // layers[0] is instance of @arcgis/core/layers/MapImageLayer
|
|
278
278
|
* });
|
|
279
279
|
*/
|
|
280
280
|
parse(configs: LayerProperties[]): Promise<Layer[]>;
|
|
@@ -290,7 +290,7 @@ type GroundProperties = Omit<__esri.GroundProperties, "layers"> & {
|
|
|
290
290
|
layers?: ElevationLayerProperties[];
|
|
291
291
|
};
|
|
292
292
|
/**
|
|
293
|
-
* Parses ground configurations into instances of
|
|
293
|
+
* Parses ground configurations into instances of `@arcgis/core/Ground`.
|
|
294
294
|
*
|
|
295
295
|
* Use service name `"map-config-api.GroundConfigParser"` to inject an instance of this class.
|
|
296
296
|
*/
|
|
@@ -304,7 +304,7 @@ interface GroundConfigParser {
|
|
|
304
304
|
* @example
|
|
305
305
|
* // well known ground name
|
|
306
306
|
* configParser.parse("world-elevation").then((result) => {
|
|
307
|
-
* // result.instance is
|
|
307
|
+
* // result.instance is @arcgis/core/Ground
|
|
308
308
|
* });
|
|
309
309
|
*
|
|
310
310
|
* @example
|
|
@@ -313,7 +313,7 @@ interface GroundConfigParser {
|
|
|
313
313
|
* "url": "http://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",
|
|
314
314
|
* "type": "AGS_ELEVATION"
|
|
315
315
|
* }]).then((result) => {
|
|
316
|
-
* // result.instance is
|
|
316
|
+
* // result.instance is @arcgis/core/Ground
|
|
317
317
|
* });
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
@@ -328,7 +328,7 @@ interface GroundConfigParser {
|
|
|
328
328
|
* "type": "AGS_ELEVATION"
|
|
329
329
|
* }]
|
|
330
330
|
* }).then((result) => {
|
|
331
|
-
* // result.instance is
|
|
331
|
+
* // result.instance is @arcgis/core/Ground
|
|
332
332
|
* });
|
|
333
333
|
*/
|
|
334
334
|
parse(config: string | ElevationLayerProperties[] | GroundProperties): Promise<{
|
package/map-init/api.d.ts
CHANGED
package/map-init/package.json
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import * as apprt_core_Mutable from 'apprt-core/Mutable';
|
|
2
|
-
import { ViewMode, Constraints as Constraints$1 } from './__internal__/
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
2
|
+
import { ViewMode, Constraints as Constraints$1 } from './__internal__/ChgqPGgf.js';
|
|
3
|
+
import '@arcgis/core/geometry/Extent';
|
|
4
|
+
import '@arcgis/core/geometry/Polygon';
|
|
5
|
+
import '@arcgis/core/layers/support/LOD';
|
|
6
|
+
import '@arcgis/core/Camera';
|
|
7
|
+
import '@arcgis/core/geometry/Point';
|
|
8
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
12
|
+
import '@arcgis/core/time/TimeExtent';
|
|
13
|
+
import '@arcgis/core/Viewpoint';
|
|
14
|
+
import '@arcgis/core/views/MapView';
|
|
15
|
+
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './api/VisibilityState.js';
|
|
11
17
|
import './api/Navigation.js';
|
|
12
|
-
import '
|
|
13
|
-
import 'esri/layers/Layer';
|
|
18
|
+
import './api/BaseTypes.js';
|
|
14
19
|
|
|
15
20
|
declare const Constraints: apprt_core_Mutable.MutableConstructor<{
|
|
16
21
|
rotationEnabled: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Context as Context$1 } from 'apprt-core/TreeWalker';
|
|
2
2
|
import { LayerNode, VisitCodes } from './LayerTraverser.js';
|
|
3
|
-
import Layer from '
|
|
4
|
-
import Map from '
|
|
5
|
-
import Collection from '
|
|
6
|
-
import Sublayer from '
|
|
7
|
-
import WMSSublayer from '
|
|
3
|
+
import Layer from '@arcgis/core/layers/Layer';
|
|
4
|
+
import Map from '@arcgis/core/Map';
|
|
5
|
+
import Collection from '@arcgis/core/core/Collection';
|
|
6
|
+
import Sublayer from '@arcgis/core/layers/support/Sublayer';
|
|
7
|
+
import WMSSublayer from '@arcgis/core/layers/support/WMSSublayer';
|
|
8
8
|
|
|
9
9
|
type NotifyReason = "added" | "removed" | "moved";
|
|
10
10
|
type Context = Context$1<LayerNode> & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Context } from 'apprt-core/TreeWalker';
|
|
2
|
-
import Collection from '
|
|
3
|
-
import Layer from '
|
|
4
|
-
import Sublayer from '
|
|
5
|
-
import WMSSublayer from '
|
|
6
|
-
import Map from '
|
|
2
|
+
import Collection from '@arcgis/core/core/Collection';
|
|
3
|
+
import Layer from '@arcgis/core/layers/Layer';
|
|
4
|
+
import Sublayer from '@arcgis/core/layers/support/Sublayer';
|
|
5
|
+
import WMSSublayer from '@arcgis/core/layers/support/WMSSublayer';
|
|
6
|
+
import Map from '@arcgis/core/Map';
|
|
7
7
|
|
|
8
8
|
interface LayerTraverser {
|
|
9
9
|
traverse(localOptions?: Partial<LayerTraverserOptions>): void;
|
|
@@ -1,24 +1,30 @@
|
|
|
1
|
-
import Map from '
|
|
2
|
-
import { MapWidgetModel } from './__internal__/
|
|
1
|
+
import Map from '@arcgis/core/Map';
|
|
2
|
+
import { MapWidgetModel } from './__internal__/ChgqPGgf.js';
|
|
3
3
|
import { MapWidget } from './api/MapWidget.js';
|
|
4
4
|
import { MapWidgetFactory as MapWidgetFactory$1 } from './api/MapWidgetFactory.js';
|
|
5
5
|
import 'apprt-core/Mutable';
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
6
|
+
import '@arcgis/core/geometry/Extent';
|
|
7
|
+
import '@arcgis/core/geometry/Polygon';
|
|
8
|
+
import '@arcgis/core/layers/support/LOD';
|
|
9
|
+
import '@arcgis/core/Camera';
|
|
10
|
+
import '@arcgis/core/geometry/Point';
|
|
11
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
12
|
+
import '@arcgis/core/layers/Layer';
|
|
13
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
14
|
+
import '@arcgis/core/time/TimeExtent';
|
|
15
|
+
import '@arcgis/core/Viewpoint';
|
|
16
|
+
import '@arcgis/core/views/MapView';
|
|
17
|
+
import '@arcgis/core/views/SceneView';
|
|
18
|
+
import './api/VisibilityState.js';
|
|
13
19
|
import './api/Navigation.js';
|
|
14
|
-
import '
|
|
15
|
-
import 'esri/layers/Layer';
|
|
20
|
+
import './api/BaseTypes.js';
|
|
16
21
|
|
|
17
22
|
/**
|
|
18
23
|
* Use the `map-widget.MapWidgetFactory` service and not this class.
|
|
19
24
|
*/
|
|
20
25
|
declare class MapWidgetFactory implements MapWidgetFactory$1 {
|
|
21
26
|
private _i18n;
|
|
27
|
+
private _coordinateTransformer;
|
|
22
28
|
createMap(options: any): Map;
|
|
23
29
|
createWidgetModel(options: any): MapWidgetModel;
|
|
24
30
|
createWidget(options: any): MapWidget;
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { MapWidgetModelMembers, MapWidgetModel as MapWidgetModel$1 } from './__internal__/
|
|
1
|
+
import { MapWidgetModelMembers, MapWidgetModel as MapWidgetModel$1 } from './__internal__/ChgqPGgf.js';
|
|
2
2
|
import 'apprt-core/Mutable';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Extent';
|
|
4
|
+
import '@arcgis/core/geometry/Polygon';
|
|
5
|
+
import '@arcgis/core/layers/support/LOD';
|
|
6
|
+
import '@arcgis/core/Camera';
|
|
7
|
+
import '@arcgis/core/geometry/Point';
|
|
8
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
12
|
+
import '@arcgis/core/time/TimeExtent';
|
|
13
|
+
import '@arcgis/core/Viewpoint';
|
|
14
|
+
import '@arcgis/core/views/MapView';
|
|
15
|
+
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './api/VisibilityState.js';
|
|
11
17
|
import './api/Navigation.js';
|
|
12
|
-
import '
|
|
13
|
-
import 'esri/layers/Layer';
|
|
18
|
+
import './api/BaseTypes.js';
|
|
14
19
|
|
|
15
20
|
declare const MapWidgetModel: {
|
|
16
21
|
new (args: Partial<MapWidgetModelMembers>): MapWidgetModel;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import * as apprt_core_Mutable from 'apprt-core/Mutable';
|
|
2
|
-
import { Navigation as Navigation$1 } from './api/Navigation.js';
|
|
2
|
+
import { Navigation as Navigation$1, NavigationActionMap as NavigationActionMap$1 } from './api/Navigation.js';
|
|
3
3
|
|
|
4
4
|
declare const Navigation: apprt_core_Mutable.MutableConstructor<{
|
|
5
|
+
actionMap: NonNullable<apprt_core_Mutable.Mutable<{
|
|
6
|
+
mouseWheel: NonNullable<"none" | "zoom">;
|
|
7
|
+
}>>;
|
|
5
8
|
mouseWheelZoomEnabled: boolean;
|
|
6
9
|
browserTouchPanEnabled: boolean;
|
|
7
10
|
}>;
|
|
8
11
|
type Navigation = Navigation$1;
|
|
12
|
+
declare const NavigationActionMap: apprt_core_Mutable.MutableConstructor<{
|
|
13
|
+
mouseWheel: NonNullable<"none" | "zoom">;
|
|
14
|
+
}>;
|
|
15
|
+
type NavigationActionMap = NavigationActionMap$1;
|
|
9
16
|
|
|
10
|
-
export { Navigation, Navigation as default };
|
|
17
|
+
export { Navigation, NavigationActionMap, Navigation as default };
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { MapWidgetModel } from './__internal__/
|
|
1
|
+
import { MapWidgetModel } from './__internal__/ChgqPGgf.js';
|
|
2
2
|
import 'apprt-core/Mutable';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Extent';
|
|
4
|
+
import '@arcgis/core/geometry/Polygon';
|
|
5
|
+
import '@arcgis/core/layers/support/LOD';
|
|
6
|
+
import '@arcgis/core/Camera';
|
|
7
|
+
import '@arcgis/core/geometry/Point';
|
|
8
|
+
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
12
|
+
import '@arcgis/core/time/TimeExtent';
|
|
13
|
+
import '@arcgis/core/Viewpoint';
|
|
14
|
+
import '@arcgis/core/views/MapView';
|
|
15
|
+
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './api/VisibilityState.js';
|
|
11
17
|
import './api/Navigation.js';
|
|
12
|
-
import '
|
|
13
|
-
import 'esri/layers/Layer';
|
|
18
|
+
import './api/BaseTypes.js';
|
|
14
19
|
|
|
15
20
|
type ViewReadyCallback = (event: {
|
|
16
21
|
mapWidgetModel: MapWidgetModel;
|