@conterra/ct-mapapps-typings 4.20.0-next.20250829042906 → 4.20.0-next.20250926035814
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/apprt/api/internal.d.ts +1 -1
- package/apprt/launch/BundleController.d.ts +2 -1
- package/apprt/launch/Launcher.d.ts +20 -2
- package/map-widget/Constraints.d.ts +6 -4
- package/map-widget/MapWidgetFactory.d.ts +6 -3
- package/map-widget/MapWidgetModel.d.ts +6 -4
- package/map-widget/ViewReadyWatcher.d.ts +6 -4
- package/map-widget/__internal__/{CDrIcYrK.d.ts → ChgqPGgf.d.ts} +44 -3
- package/map-widget/api/BaseTypes.d.ts +6 -0
- package/map-widget/api/Constraints.d.ts +6 -4
- package/map-widget/api/MapWidget.d.ts +6 -4
- package/map-widget/api/MapWidgetFactory.d.ts +5 -3
- package/map-widget/api/MapWidgetModel.d.ts +7 -5
- package/map-widget/api/MapWidgetRegistration.d.ts +5 -3
- package/map-widget/api/SrsChangeService.d.ts +6 -4
- package/map-widget/api/VisibilityState.d.ts +109 -0
- package/map-widget/api/index.d.ts +6 -4
- package/package.json +1 -1
- package/result-api/__internal__/{hgufIQgs.d.ts → BGEg3fBn.d.ts} +3 -2
- package/result-api/api/actions.d.ts +1 -1
- package/result-api/api/formatting.d.ts +1 -1
- package/result-api/api/index.d.ts +1 -1
- package/result-api/api/model.d.ts +1 -1
- package/result-api/api/service.d.ts +5 -1
- package/result-api/api/ui.d.ts +1 -1
package/apprt/api/internal.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import 'apprt-core/Types';
|
|
|
5
5
|
interface BundleControllerConstructorOptions {
|
|
6
6
|
statistics?: Statistics | undefined;
|
|
7
7
|
}
|
|
8
|
+
declare function setChangeRequire(change: boolean): void;
|
|
8
9
|
declare class BundleControllerImpl implements InternalBundleController {
|
|
9
10
|
private _bundles;
|
|
10
11
|
private _bundleNamesToIds;
|
|
@@ -77,5 +78,5 @@ declare class BundleControllerImpl implements InternalBundleController {
|
|
|
77
78
|
type AnyFunc = (...args: any[]) => any;
|
|
78
79
|
declare function bind(scope: any, fn: string | AnyFunc): AnyFunc;
|
|
79
80
|
|
|
80
|
-
export { bind, BundleControllerImpl as default };
|
|
81
|
+
export { bind, BundleControllerImpl as default, setChangeRequire };
|
|
81
82
|
export type { BundleControllerConstructorOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Launcher, LocationDefinition, LauncherOptions, Framework } from '../api/index.js';
|
|
2
|
-
import { BundleLocator, ConfigLocator } from '../api/internal.js';
|
|
1
|
+
import { Launcher, LocationDefinition, LauncherOptions, Framework, Bundle } from '../api/index.js';
|
|
2
|
+
import { BundleLocator, ConfigLocator, BundleLoadSuccess } from '../api/internal.js';
|
|
3
3
|
import 'apprt-core/Types';
|
|
4
4
|
|
|
5
5
|
interface LauncherConstructorOptions {
|
|
@@ -22,6 +22,23 @@ interface LauncherConstructorOptions {
|
|
|
22
22
|
writeError?: boolean;
|
|
23
23
|
enableStatistics?: boolean;
|
|
24
24
|
}
|
|
25
|
+
interface BundleInfo extends BundleLoadSuccess {
|
|
26
|
+
installedBundle?: Bundle;
|
|
27
|
+
}
|
|
28
|
+
interface PreFetchDef {
|
|
29
|
+
locName: string;
|
|
30
|
+
skip: boolean;
|
|
31
|
+
url?: string;
|
|
32
|
+
static: boolean;
|
|
33
|
+
mids: MidInfo[];
|
|
34
|
+
skipMids: MidInfo[];
|
|
35
|
+
transitive: boolean;
|
|
36
|
+
}
|
|
37
|
+
interface MidInfo {
|
|
38
|
+
bundle: string;
|
|
39
|
+
version: string;
|
|
40
|
+
file: string;
|
|
41
|
+
}
|
|
25
42
|
declare class LauncherImpl implements Launcher {
|
|
26
43
|
private _query;
|
|
27
44
|
private _locations;
|
|
@@ -50,6 +67,7 @@ declare class LauncherImpl implements Launcher {
|
|
|
50
67
|
private _locateBundles;
|
|
51
68
|
private _prefetchBundles;
|
|
52
69
|
private _prefetch;
|
|
70
|
+
_splitPrefetchBundles(preFetchesArr: PreFetchDef[], preFetchCompressedVersions: boolean, preFetchWithGzip: boolean, maxUrlLength: number, installedBundles: BundleInfo[]): Promise<PreFetchDef[]>;
|
|
53
71
|
private _installFramework;
|
|
54
72
|
private _initializeFramework;
|
|
55
73
|
private _startFramework;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import * as apprt_core_Mutable from 'apprt-core/Mutable';
|
|
2
|
-
import { ViewMode, Constraints as Constraints$1 } from './__internal__/
|
|
2
|
+
import { ViewMode, Constraints as Constraints$1 } from './__internal__/ChgqPGgf.js';
|
|
3
3
|
import '@arcgis/core/geometry/Extent';
|
|
4
4
|
import '@arcgis/core/geometry/Polygon';
|
|
5
5
|
import '@arcgis/core/layers/support/LOD';
|
|
6
6
|
import '@arcgis/core/Camera';
|
|
7
|
-
import '@arcgis/core/Map';
|
|
8
7
|
import '@arcgis/core/geometry/Point';
|
|
9
8
|
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
10
12
|
import '@arcgis/core/time/TimeExtent';
|
|
11
13
|
import '@arcgis/core/Viewpoint';
|
|
12
14
|
import '@arcgis/core/views/MapView';
|
|
13
15
|
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './api/VisibilityState.js';
|
|
14
17
|
import './api/Navigation.js';
|
|
15
|
-
import '
|
|
16
|
-
import '@arcgis/core/layers/Layer';
|
|
18
|
+
import './api/BaseTypes.js';
|
|
17
19
|
|
|
18
20
|
declare const Constraints: apprt_core_Mutable.MutableConstructor<{
|
|
19
21
|
rotationEnabled: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Map from '@arcgis/core/Map';
|
|
2
|
-
import { MapWidgetModel } from './__internal__/
|
|
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';
|
|
@@ -9,19 +9,22 @@ import '@arcgis/core/layers/support/LOD';
|
|
|
9
9
|
import '@arcgis/core/Camera';
|
|
10
10
|
import '@arcgis/core/geometry/Point';
|
|
11
11
|
import '@arcgis/core/geometry/SpatialReference';
|
|
12
|
+
import '@arcgis/core/layers/Layer';
|
|
13
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
12
14
|
import '@arcgis/core/time/TimeExtent';
|
|
13
15
|
import '@arcgis/core/Viewpoint';
|
|
14
16
|
import '@arcgis/core/views/MapView';
|
|
15
17
|
import '@arcgis/core/views/SceneView';
|
|
18
|
+
import './api/VisibilityState.js';
|
|
16
19
|
import './api/Navigation.js';
|
|
17
|
-
import '
|
|
18
|
-
import '@arcgis/core/layers/Layer';
|
|
20
|
+
import './api/BaseTypes.js';
|
|
19
21
|
|
|
20
22
|
/**
|
|
21
23
|
* Use the `map-widget.MapWidgetFactory` service and not this class.
|
|
22
24
|
*/
|
|
23
25
|
declare class MapWidgetFactory implements MapWidgetFactory$1 {
|
|
24
26
|
private _i18n;
|
|
27
|
+
private _coordinateTransformer;
|
|
25
28
|
createMap(options: any): Map;
|
|
26
29
|
createWidgetModel(options: any): MapWidgetModel;
|
|
27
30
|
createWidget(options: any): MapWidget;
|
|
@@ -1,19 +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
3
|
import '@arcgis/core/geometry/Extent';
|
|
4
4
|
import '@arcgis/core/geometry/Polygon';
|
|
5
5
|
import '@arcgis/core/layers/support/LOD';
|
|
6
6
|
import '@arcgis/core/Camera';
|
|
7
|
-
import '@arcgis/core/Map';
|
|
8
7
|
import '@arcgis/core/geometry/Point';
|
|
9
8
|
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
10
12
|
import '@arcgis/core/time/TimeExtent';
|
|
11
13
|
import '@arcgis/core/Viewpoint';
|
|
12
14
|
import '@arcgis/core/views/MapView';
|
|
13
15
|
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './api/VisibilityState.js';
|
|
14
17
|
import './api/Navigation.js';
|
|
15
|
-
import '
|
|
16
|
-
import '@arcgis/core/layers/Layer';
|
|
18
|
+
import './api/BaseTypes.js';
|
|
17
19
|
|
|
18
20
|
declare const MapWidgetModel: {
|
|
19
21
|
new (args: Partial<MapWidgetModelMembers>): MapWidgetModel;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { MapWidgetModel } from './__internal__/
|
|
1
|
+
import { MapWidgetModel } from './__internal__/ChgqPGgf.js';
|
|
2
2
|
import 'apprt-core/Mutable';
|
|
3
3
|
import '@arcgis/core/geometry/Extent';
|
|
4
4
|
import '@arcgis/core/geometry/Polygon';
|
|
5
5
|
import '@arcgis/core/layers/support/LOD';
|
|
6
6
|
import '@arcgis/core/Camera';
|
|
7
|
-
import '@arcgis/core/Map';
|
|
8
7
|
import '@arcgis/core/geometry/Point';
|
|
9
8
|
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
10
12
|
import '@arcgis/core/time/TimeExtent';
|
|
11
13
|
import '@arcgis/core/Viewpoint';
|
|
12
14
|
import '@arcgis/core/views/MapView';
|
|
13
15
|
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './api/VisibilityState.js';
|
|
14
17
|
import './api/Navigation.js';
|
|
15
|
-
import '
|
|
16
|
-
import '@arcgis/core/layers/Layer';
|
|
18
|
+
import './api/BaseTypes.js';
|
|
17
19
|
|
|
18
20
|
type ViewReadyCallback = (event: {
|
|
19
21
|
mapWidgetModel: MapWidgetModel;
|
|
@@ -3,16 +3,18 @@ import Extent from '@arcgis/core/geometry/Extent';
|
|
|
3
3
|
import Polygon from '@arcgis/core/geometry/Polygon';
|
|
4
4
|
import LOD from '@arcgis/core/layers/support/LOD';
|
|
5
5
|
import Camera from '@arcgis/core/Camera';
|
|
6
|
-
import Map from '@arcgis/core/Map';
|
|
7
6
|
import Point from '@arcgis/core/geometry/Point';
|
|
8
7
|
import SpatialReference from '@arcgis/core/geometry/SpatialReference';
|
|
8
|
+
import Layer from '@arcgis/core/layers/Layer';
|
|
9
|
+
import Sublayer from '@arcgis/core/layers/support/Sublayer';
|
|
10
|
+
import Map from '@arcgis/core/Map';
|
|
9
11
|
import TimeExtent from '@arcgis/core/time/TimeExtent';
|
|
10
12
|
import Viewpoint from '@arcgis/core/Viewpoint';
|
|
11
13
|
import MapView from '@arcgis/core/views/MapView';
|
|
12
14
|
import SceneView from '@arcgis/core/views/SceneView';
|
|
15
|
+
import { LayerVisibility } from '../api/VisibilityState.js';
|
|
13
16
|
import { Navigation, NavigationMembers } from '../api/Navigation.js';
|
|
14
|
-
import
|
|
15
|
-
import Layer from '@arcgis/core/layers/Layer';
|
|
17
|
+
import { AnyLayer } from '../api/BaseTypes.js';
|
|
16
18
|
|
|
17
19
|
type ViewPadding = __esri.ViewPadding;
|
|
18
20
|
/** The view mode indicates whether a 2D or a 3D view is active. */
|
|
@@ -242,12 +244,51 @@ interface MapWidgetModelMembers {
|
|
|
242
244
|
*/
|
|
243
245
|
get navigation(): Navigation;
|
|
244
246
|
set navigation(value: Navigation | Partial<NavigationMembers>);
|
|
247
|
+
/**
|
|
248
|
+
* The map widget model must be destroyed when it is no longer needed.
|
|
249
|
+
*
|
|
250
|
+
* NOTE: The lifetime of the default map widget model is managed by map.apps itself.
|
|
251
|
+
*/
|
|
252
|
+
destroy(): void;
|
|
245
253
|
/**
|
|
246
254
|
* Finds a layer by id in the map.
|
|
247
255
|
* The layerIdPath is e.g. `<layerId>` or `<layerId>/<sublayerId>`.
|
|
248
256
|
* @param layerIdPath The layer id path.
|
|
249
257
|
*/
|
|
250
258
|
findLayerInMap(layerIdPath: string | undefined): LayerLookupResult;
|
|
259
|
+
/**
|
|
260
|
+
* Returns effective visibility information for the given layer.
|
|
261
|
+
*
|
|
262
|
+
* This works by evaluating the current state of the layer _and_ the current state of the view (scale, extent, etc.).
|
|
263
|
+
*
|
|
264
|
+
* The layer can be specified as an id or path (e.g. `layerId` or `layerId/sublayerId`)
|
|
265
|
+
* or as a direct layer reference.
|
|
266
|
+
*/
|
|
267
|
+
getLayerVisibility(layerIdPathOrLayer: string | AnyLayer): Promise<LayerVisibility | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* Returns `true` if the layer is effectively visible, `false` otherwise.
|
|
270
|
+
*
|
|
271
|
+
* This works by evaluating the current state of the layer _and_ the current state of the view (scale, extent, etc.).
|
|
272
|
+
*
|
|
273
|
+
* The layer can be specified as an id or path (e.g. `layerId` or `layerId/sublayerId`)
|
|
274
|
+
* or as a direct layer reference.
|
|
275
|
+
*
|
|
276
|
+
* > NOTE: This function is a convenience function around {@link getLayerVisibility}.
|
|
277
|
+
* > It returns true if (and only if) there are no {@link LayerVisibility.visibilityIssues | visibility issues}.
|
|
278
|
+
*/
|
|
279
|
+
isEffectivelyVisible(layerIdPathOrLayer: string | AnyLayer): Promise<boolean>;
|
|
280
|
+
/**
|
|
281
|
+
* Returns the current visibility issues for the given layer.
|
|
282
|
+
*
|
|
283
|
+
* This works by evaluating the current state of the layer _and_ the current state of the view (scale, extent, etc.).
|
|
284
|
+
*
|
|
285
|
+
* The layer can be specified as an id or path (e.g. `layerId` or `layerId/sublayerId`)
|
|
286
|
+
* or as a direct layer reference.
|
|
287
|
+
*
|
|
288
|
+
* > NOTE: This function should be called within a reactive watch (or effect, etc.).
|
|
289
|
+
* > Otherwise, it may produce outdated results.
|
|
290
|
+
*/
|
|
291
|
+
getLiveLayerVisibility(layerIdPathOrLayer: string | AnyLayer): LayerVisibility | undefined;
|
|
251
292
|
}
|
|
252
293
|
/**
|
|
253
294
|
* The ViewModel of the MapWidget.
|
|
@@ -2,15 +2,17 @@ import 'apprt-core/Mutable';
|
|
|
2
2
|
import '@arcgis/core/geometry/Extent';
|
|
3
3
|
import '@arcgis/core/geometry/Polygon';
|
|
4
4
|
import '@arcgis/core/layers/support/LOD';
|
|
5
|
-
export { Constraints, ConstraintsMembers } from '../__internal__/
|
|
5
|
+
export { Constraints, ConstraintsMembers } from '../__internal__/ChgqPGgf.js';
|
|
6
6
|
import '@arcgis/core/Camera';
|
|
7
|
-
import '@arcgis/core/Map';
|
|
8
7
|
import '@arcgis/core/geometry/Point';
|
|
9
8
|
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
10
12
|
import '@arcgis/core/time/TimeExtent';
|
|
11
13
|
import '@arcgis/core/Viewpoint';
|
|
12
14
|
import '@arcgis/core/views/MapView';
|
|
13
15
|
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './VisibilityState.js';
|
|
14
17
|
import './Navigation.js';
|
|
15
|
-
import '
|
|
16
|
-
import '@arcgis/core/layers/Layer';
|
|
18
|
+
import './BaseTypes.js';
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { MapWidgetModel } from '../__internal__/
|
|
1
|
+
import { MapWidgetModel } from '../__internal__/ChgqPGgf.js';
|
|
2
2
|
import 'apprt-core/Mutable';
|
|
3
3
|
import '@arcgis/core/geometry/Extent';
|
|
4
4
|
import '@arcgis/core/geometry/Polygon';
|
|
5
5
|
import '@arcgis/core/layers/support/LOD';
|
|
6
6
|
import '@arcgis/core/Camera';
|
|
7
|
-
import '@arcgis/core/Map';
|
|
8
7
|
import '@arcgis/core/geometry/Point';
|
|
9
8
|
import '@arcgis/core/geometry/SpatialReference';
|
|
9
|
+
import '@arcgis/core/layers/Layer';
|
|
10
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
|
+
import '@arcgis/core/Map';
|
|
10
12
|
import '@arcgis/core/time/TimeExtent';
|
|
11
13
|
import '@arcgis/core/Viewpoint';
|
|
12
14
|
import '@arcgis/core/views/MapView';
|
|
13
15
|
import '@arcgis/core/views/SceneView';
|
|
16
|
+
import './VisibilityState.js';
|
|
14
17
|
import './Navigation.js';
|
|
15
|
-
import '
|
|
16
|
-
import '@arcgis/core/layers/Layer';
|
|
18
|
+
import './BaseTypes.js';
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
21
|
* The MapWidget shows a map. It is using the MapWidgetModel for state management.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Map from '@arcgis/core/Map';
|
|
2
2
|
import { MapWidget } from './MapWidget.js';
|
|
3
|
-
import { MapWidgetModelMembers, MapWidgetModel } from '../__internal__/
|
|
3
|
+
import { MapWidgetModelMembers, MapWidgetModel } from '../__internal__/ChgqPGgf.js';
|
|
4
4
|
import 'apprt-core/Mutable';
|
|
5
5
|
import '@arcgis/core/geometry/Extent';
|
|
6
6
|
import '@arcgis/core/geometry/Polygon';
|
|
@@ -8,13 +8,15 @@ import '@arcgis/core/layers/support/LOD';
|
|
|
8
8
|
import '@arcgis/core/Camera';
|
|
9
9
|
import '@arcgis/core/geometry/Point';
|
|
10
10
|
import '@arcgis/core/geometry/SpatialReference';
|
|
11
|
+
import '@arcgis/core/layers/Layer';
|
|
12
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
13
|
import '@arcgis/core/time/TimeExtent';
|
|
12
14
|
import '@arcgis/core/Viewpoint';
|
|
13
15
|
import '@arcgis/core/views/MapView';
|
|
14
16
|
import '@arcgis/core/views/SceneView';
|
|
17
|
+
import './VisibilityState.js';
|
|
15
18
|
import './Navigation.js';
|
|
16
|
-
import '
|
|
17
|
-
import '@arcgis/core/layers/Layer';
|
|
19
|
+
import './BaseTypes.js';
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* Use the `map-widget.MapWidgetFactory` service to inject an instance of this interface.
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import 'apprt-core/Mutable';
|
|
2
1
|
import '@arcgis/core/Camera';
|
|
3
|
-
import '@arcgis/core/Map';
|
|
4
2
|
import '@arcgis/core/geometry/Extent';
|
|
5
3
|
import '@arcgis/core/geometry/Point';
|
|
6
4
|
import '@arcgis/core/geometry/SpatialReference';
|
|
5
|
+
import '@arcgis/core/layers/Layer';
|
|
6
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
7
|
+
import '@arcgis/core/Map';
|
|
7
8
|
import '@arcgis/core/time/TimeExtent';
|
|
8
9
|
import '@arcgis/core/Viewpoint';
|
|
9
10
|
import '@arcgis/core/views/MapView';
|
|
10
11
|
import '@arcgis/core/views/SceneView';
|
|
11
|
-
|
|
12
|
+
import 'apprt-core/Mutable';
|
|
13
|
+
export { LayerLookupResult, MapWidgetModel, MapWidgetModelMembers, SceneViewEnvironment, View, ViewMode, ViewPadding, ViewingMode } from '../__internal__/ChgqPGgf.js';
|
|
14
|
+
import './VisibilityState.js';
|
|
12
15
|
import './Navigation.js';
|
|
13
|
-
import '
|
|
14
|
-
import '@arcgis/core/layers/Layer';
|
|
16
|
+
import './BaseTypes.js';
|
|
15
17
|
import '@arcgis/core/geometry/Polygon';
|
|
16
18
|
import '@arcgis/core/layers/support/LOD';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Map from '@arcgis/core/Map';
|
|
2
2
|
import { MapWidget } from './MapWidget.js';
|
|
3
|
-
import { MapWidgetModel } from '../__internal__/
|
|
3
|
+
import { MapWidgetModel } from '../__internal__/ChgqPGgf.js';
|
|
4
4
|
import 'apprt-core/Mutable';
|
|
5
5
|
import '@arcgis/core/geometry/Extent';
|
|
6
6
|
import '@arcgis/core/geometry/Polygon';
|
|
@@ -8,13 +8,15 @@ import '@arcgis/core/layers/support/LOD';
|
|
|
8
8
|
import '@arcgis/core/Camera';
|
|
9
9
|
import '@arcgis/core/geometry/Point';
|
|
10
10
|
import '@arcgis/core/geometry/SpatialReference';
|
|
11
|
+
import '@arcgis/core/layers/Layer';
|
|
12
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
11
13
|
import '@arcgis/core/time/TimeExtent';
|
|
12
14
|
import '@arcgis/core/Viewpoint';
|
|
13
15
|
import '@arcgis/core/views/MapView';
|
|
14
16
|
import '@arcgis/core/views/SceneView';
|
|
17
|
+
import './VisibilityState.js';
|
|
15
18
|
import './Navigation.js';
|
|
16
|
-
import '
|
|
17
|
-
import '@arcgis/core/layers/Layer';
|
|
19
|
+
import './BaseTypes.js';
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* Registers map-related components as OSGi services.
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import SpatialReference from '@arcgis/core/geometry/SpatialReference';
|
|
2
2
|
import { MapWidget } from './MapWidget.js';
|
|
3
|
-
import '../__internal__/
|
|
3
|
+
import '../__internal__/ChgqPGgf.js';
|
|
4
4
|
import 'apprt-core/Mutable';
|
|
5
5
|
import '@arcgis/core/geometry/Extent';
|
|
6
6
|
import '@arcgis/core/geometry/Polygon';
|
|
7
7
|
import '@arcgis/core/layers/support/LOD';
|
|
8
8
|
import '@arcgis/core/Camera';
|
|
9
|
-
import '@arcgis/core/Map';
|
|
10
9
|
import '@arcgis/core/geometry/Point';
|
|
10
|
+
import '@arcgis/core/layers/Layer';
|
|
11
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
12
|
+
import '@arcgis/core/Map';
|
|
11
13
|
import '@arcgis/core/time/TimeExtent';
|
|
12
14
|
import '@arcgis/core/Viewpoint';
|
|
13
15
|
import '@arcgis/core/views/MapView';
|
|
14
16
|
import '@arcgis/core/views/SceneView';
|
|
17
|
+
import './VisibilityState.js';
|
|
15
18
|
import './Navigation.js';
|
|
16
|
-
import '
|
|
17
|
-
import '@arcgis/core/layers/Layer';
|
|
19
|
+
import './BaseTypes.js';
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* The SrsChangeService provides methods for successful switching of SRS on a MapWidget.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a single issue that prevents a layer from being visible.
|
|
3
|
+
*
|
|
4
|
+
* NOTE: More issue types may be added in future versions.
|
|
5
|
+
*/
|
|
6
|
+
type VisibilityIssue =
|
|
7
|
+
/**
|
|
8
|
+
* The (sub-)layer is not configured to be visible.
|
|
9
|
+
*/
|
|
10
|
+
"not-visible"
|
|
11
|
+
/**
|
|
12
|
+
* The (sub-)layer is not visible, because some of its parent(s) are not configured to be visible.
|
|
13
|
+
*/
|
|
14
|
+
| "parent-not-visible"
|
|
15
|
+
/**
|
|
16
|
+
* The (sub-)layer is invisible because its opacity is set to 0.
|
|
17
|
+
*/
|
|
18
|
+
| "hidden-by-opacity"
|
|
19
|
+
/**
|
|
20
|
+
* The (sub-)layer is invisible because some of its parent(s) opacity is set to 0.
|
|
21
|
+
*/
|
|
22
|
+
| "parent-hidden-by-opacity"
|
|
23
|
+
/**
|
|
24
|
+
* The "full extent" of the (sub-)layer is not visible in the current view.
|
|
25
|
+
*/
|
|
26
|
+
| "invisible-at-extent"
|
|
27
|
+
/**
|
|
28
|
+
* The (sub-)layer cannot be shown at the current scale.
|
|
29
|
+
*/
|
|
30
|
+
| "invisible-at-scale"
|
|
31
|
+
/**
|
|
32
|
+
* The (sub-)layer cannot be shown at the current time extent.
|
|
33
|
+
*/
|
|
34
|
+
| "invisible-at-time-extent"
|
|
35
|
+
/**
|
|
36
|
+
* The layer can only be shown in 3D.
|
|
37
|
+
* This flag is only available for layers (not for sub-layers).
|
|
38
|
+
*/
|
|
39
|
+
| "unsupported-in-2d"
|
|
40
|
+
/**
|
|
41
|
+
* The current spatial reference system is not supported.
|
|
42
|
+
* This flag is only available for layers (not for sub-layers).
|
|
43
|
+
*/
|
|
44
|
+
| "unsupported-srs"
|
|
45
|
+
/**
|
|
46
|
+
* The layer is either not loaded at all or still loading.
|
|
47
|
+
* This flag is only available for layers (not for sub-layers).
|
|
48
|
+
*/
|
|
49
|
+
| "not-loaded"
|
|
50
|
+
/**
|
|
51
|
+
* The layer failed to load, for example due to a network problem.
|
|
52
|
+
* This flag is only available for layers (not for sub-layers).
|
|
53
|
+
*/
|
|
54
|
+
| "load-failed"
|
|
55
|
+
/**
|
|
56
|
+
* No layer view is present for this layer.
|
|
57
|
+
* This is a generic error where we can't determine the actual cause.
|
|
58
|
+
* This flag is only available for layers (not for sub-layers).
|
|
59
|
+
*/
|
|
60
|
+
| "no-layer-view"
|
|
61
|
+
/**
|
|
62
|
+
* The sub layer is not ready to be displayed, because the layer to which it belongs has issues.
|
|
63
|
+
* This flag is only available for sub-layers.
|
|
64
|
+
* A sublayer is marked by this state if the root layer has one of the following states: not-loaded, load-failed, no-layer-view, unsupported-srs, unsupported-in-2d.
|
|
65
|
+
*/
|
|
66
|
+
| "root-layer-not-ready"
|
|
67
|
+
/**
|
|
68
|
+
* This info object has been destroyed, likely because the associated (sub-)layer was removed from the map.
|
|
69
|
+
*/
|
|
70
|
+
| "destroyed";
|
|
71
|
+
/**
|
|
72
|
+
* Record with visibility issue type names.
|
|
73
|
+
*/
|
|
74
|
+
type VisibilityIssueFilter<Keys extends VisibilityIssue = VisibilityIssue> = Record<Keys, 1>;
|
|
75
|
+
/**
|
|
76
|
+
* Holds effective visibility information for a specific layer in the map.
|
|
77
|
+
*/
|
|
78
|
+
interface LayerVisibility {
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the layer is currently visible to the user.
|
|
81
|
+
*
|
|
82
|
+
* This check takes various states into account:
|
|
83
|
+
*
|
|
84
|
+
* - Is the layer enabled at all (`layer.visible`)?
|
|
85
|
+
* - Are the layer's parents visible?
|
|
86
|
+
* - Is the layer visible in the current extent or zoom level?
|
|
87
|
+
* - Does the layer support the current spatial reference system or view mode?
|
|
88
|
+
* - ...
|
|
89
|
+
*/
|
|
90
|
+
readonly isEffectivelyVisible: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Visibility issues that prevent the layer from being visible.
|
|
93
|
+
*
|
|
94
|
+
* This array is non-empty if {@link isEffectivelyVisible} is false.
|
|
95
|
+
*/
|
|
96
|
+
readonly visibilityIssues: VisibilityIssue[];
|
|
97
|
+
/**
|
|
98
|
+
* Filters visibility issues based on the provided filter.
|
|
99
|
+
* @param filter The filter to apply.
|
|
100
|
+
*/
|
|
101
|
+
filterIssues<Keys extends VisibilityIssue = VisibilityIssue>(filter: VisibilityIssueFilter<Keys>): Keys[];
|
|
102
|
+
/**
|
|
103
|
+
* Checks if there are any visibility issues that match the provided filter.
|
|
104
|
+
* @param filter The filter to apply.
|
|
105
|
+
*/
|
|
106
|
+
hasIssues<Keys extends VisibilityIssue = VisibilityIssue>(filter: VisibilityIssueFilter<Keys>): boolean;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export type { LayerVisibility, VisibilityIssue, VisibilityIssueFilter };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AnyLayer } from './BaseTypes.js';
|
|
2
|
+
export { Constraints, ConstraintsMembers, LayerLookupResult, MapWidgetModel, MapWidgetModelMembers, SceneViewEnvironment, View, ViewMode, ViewPadding, ViewingMode } from '../__internal__/ChgqPGgf.js';
|
|
2
3
|
export { Navigation, NavigationActionMap, NavigationActionMapMembers, NavigationMembers } from './Navigation.js';
|
|
3
4
|
export { MapWidget } from './MapWidget.js';
|
|
4
5
|
export { MapWidgetFactory } from './MapWidgetFactory.js';
|
|
6
|
+
export { LayerVisibility, VisibilityIssue, VisibilityIssueFilter } from './VisibilityState.js';
|
|
5
7
|
export { MapWidgetRegistration } from './MapWidgetRegistration.js';
|
|
6
8
|
export { SrsChangeService } from './SrsChangeService.js';
|
|
7
9
|
import 'apprt-core/Mutable';
|
|
@@ -9,12 +11,12 @@ import '@arcgis/core/geometry/Extent';
|
|
|
9
11
|
import '@arcgis/core/geometry/Polygon';
|
|
10
12
|
import '@arcgis/core/layers/support/LOD';
|
|
11
13
|
import '@arcgis/core/Camera';
|
|
12
|
-
import '@arcgis/core/Map';
|
|
13
14
|
import '@arcgis/core/geometry/Point';
|
|
14
15
|
import '@arcgis/core/geometry/SpatialReference';
|
|
16
|
+
import '@arcgis/core/layers/Layer';
|
|
17
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
18
|
+
import '@arcgis/core/Map';
|
|
15
19
|
import '@arcgis/core/time/TimeExtent';
|
|
16
20
|
import '@arcgis/core/Viewpoint';
|
|
17
21
|
import '@arcgis/core/views/MapView';
|
|
18
22
|
import '@arcgis/core/views/SceneView';
|
|
19
|
-
import '@arcgis/core/layers/support/Sublayer';
|
|
20
|
-
import '@arcgis/core/layers/Layer';
|
package/package.json
CHANGED
|
@@ -32,6 +32,7 @@ interface DateTimeFormatOptions {
|
|
|
32
32
|
interface ArcadeFormatOptions {
|
|
33
33
|
fieldNames: string[];
|
|
34
34
|
missingFieldNames?: string[];
|
|
35
|
+
geometryRequired: boolean;
|
|
35
36
|
arcadeExecutor: (args: {
|
|
36
37
|
$feature: __esri.Graphic;
|
|
37
38
|
}) => string;
|
|
@@ -887,9 +888,9 @@ interface RowEvent<IdType> {
|
|
|
887
888
|
datasetItemId: IdType;
|
|
888
889
|
}
|
|
889
890
|
/**
|
|
890
|
-
* A table item is a dataset item, but without geometry.
|
|
891
|
+
* A table item is a dataset item, but (normally) without geometry.
|
|
891
892
|
*/
|
|
892
|
-
type TableItem<IdType extends DatasetItemId = DatasetItemId> =
|
|
893
|
+
type TableItem<IdType extends DatasetItemId = DatasetItemId> = DatasetItem<IdType>;
|
|
893
894
|
/**
|
|
894
895
|
* Events fired by a TableModel.
|
|
895
896
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataTableCollection, DataTable, TableItem } from '../__internal__/
|
|
1
|
+
import { DataTableCollection, DataTable, TableItem } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
import { EventSource } from 'apprt-core/Events';
|
|
3
3
|
import 'apprt-core/Types';
|
|
4
4
|
import '@arcgis/core/geometry';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/
|
|
1
|
+
export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
import 'apprt-core/Types';
|
|
3
3
|
import '@arcgis/core/geometry';
|
|
4
4
|
import '@arcgis/core/geometry/SpatialReference';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ArcadeFormatOptions, CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Filter, FocusChangedEvent, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, ItemCount, NumberFormatOptions, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties, WellKnownFormatterOptions } from '../__internal__/
|
|
1
|
+
export { ArcadeFormatOptions, CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Filter, FocusChangedEvent, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, ItemCount, NumberFormatOptions, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties, WellKnownFormatterOptions } from '../__internal__/BGEg3fBn.js';
|
|
2
2
|
export { DataTableFactory, ResultViewerService, ResultViewerServiceEvents, ResultViewerServiceOpenOptions } from './service.js';
|
|
3
3
|
export { DataTableUi, DataTableUiConfig, DataTableUiEvents, DataTableUiFactory } from './ui.js';
|
|
4
4
|
export { BulkActionContext, BulkButtonTableAction, BulkTableAction, RowActionContext, RowButtonTableAction, RowTableAction, TableAction, TableActionDisplayState, TableActionDisplayStateProvider, TableActionItem, TableActionResolver, TableActionResolverContext, TableActionResolverContextEvents, TableActionResolverContextOptions, TableActionUIType } from './actions.js';
|
|
@@ -2,4 +2,4 @@ import 'apprt-core/Types';
|
|
|
2
2
|
import '@arcgis/core/geometry';
|
|
3
3
|
import '@arcgis/core/geometry/SpatialReference';
|
|
4
4
|
import 'store-api/api';
|
|
5
|
-
export { CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, Filter, FocusChangedEvent, ItemCount, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties } from '../__internal__/
|
|
5
|
+
export { CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, Filter, FocusChangedEvent, ItemCount, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties } from '../__internal__/BGEg3fBn.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store, ComplexQueryExpression, QueryOptions } from 'store-api/api';
|
|
2
|
-
import { DataTableCollection, DataTable, DatasetItemIdsProvider } from '../__internal__/
|
|
2
|
+
import { DataTableCollection, DataTable, DatasetItemIdsProvider } from '../__internal__/BGEg3fBn.js';
|
|
3
3
|
import { EventSource, Handle } from 'apprt-core/Types';
|
|
4
4
|
import '@arcgis/core/geometry';
|
|
5
5
|
import '@arcgis/core/geometry/SpatialReference';
|
|
@@ -83,6 +83,10 @@ interface ResultViewerService extends EventSource<ResultViewerServiceEvents> {
|
|
|
83
83
|
* Provides access to a factory to assemble DataTables.
|
|
84
84
|
*/
|
|
85
85
|
readonly dataTableFactory: DataTableFactory;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates whether the results should be visualized on the map.
|
|
88
|
+
*/
|
|
89
|
+
visualizeResults: boolean;
|
|
86
90
|
}
|
|
87
91
|
/**
|
|
88
92
|
* Factory for data tables.
|
package/result-api/api/ui.d.ts
CHANGED