@conterra/ct-mapapps-typings 4.19.3 → 4.20.0-next.20250717093802
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/launch/Launcher.d.ts +1 -0
- 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 +3 -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/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 +14 -11
- package/map-widget/LayerObserver.d.ts +5 -5
- package/map-widget/LayerTraverser.d.ts +5 -5
- package/map-widget/MapWidgetFactory.d.ts +14 -11
- package/map-widget/MapWidgetModel.d.ts +14 -11
- package/map-widget/Navigation.d.ts +3 -0
- package/map-widget/ViewReadyWatcher.d.ts +14 -11
- package/map-widget/__internal__/{DTPbI1Aa.d.ts → CDrIcYrK.d.ts} +13 -10
- package/map-widget/api/Constraints.d.ts +14 -11
- package/map-widget/api/MapWidget.d.ts +14 -11
- package/map-widget/api/MapWidgetFactory.d.ts +17 -14
- package/map-widget/api/MapWidgetModel.d.ts +14 -11
- package/map-widget/api/MapWidgetRegistration.d.ts +15 -12
- package/map-widget/api/Navigation.d.ts +8 -1
- package/map-widget/api/SrsChangeService.d.ts +14 -11
- package/map-widget/api/index.d.ts +14 -11
- 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 +5 -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 → CBP8V1_F.d.ts} +2 -1
- 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 +1 -9
- 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/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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
2
|
import SpatialInputActionImpl, { CommonSpatialInputActionOptions } from './SpatialInputAction.js';
|
|
3
3
|
import { MapWidgetModel } from 'map-widget/api';
|
|
4
|
-
import { Geometry } from '
|
|
4
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
5
5
|
import { DrawingFactory, Drawing } from 'mapdraw-api/api';
|
|
6
6
|
import './api/index.js';
|
|
7
7
|
import 'store-api/QueryExecutions';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SpatialQueryModifier, SearchSource } from './api/index.js';
|
|
2
|
-
import { Store } from 'store-api/api';
|
|
3
1
|
import { ServiceProperties } from 'apprt/api';
|
|
2
|
+
import { Store } from 'store-api/api';
|
|
3
|
+
import { SpatialQueryModifier, SearchSource } from './api/index.js';
|
|
4
4
|
import 'apprt-core/CancelablePromise';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry';
|
|
6
6
|
import 'store-api/QueryExecutions';
|
|
7
7
|
import 'apprt-core/Types';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
2
|
import { SpatialInputAction } from './api/index.js';
|
|
3
|
-
import { Geometry } from '
|
|
3
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
4
4
|
import 'store-api/QueryExecutions';
|
|
5
5
|
import 'store-api/api';
|
|
6
6
|
import 'apprt-core/Types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Geometry } from '
|
|
1
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
2
2
|
import DrawingSpatialInputAction, { DrawingSpatialInputActionOptions } from './DrawingSpatialInputAction.js';
|
|
3
3
|
import 'apprt-core/CancelablePromise';
|
|
4
4
|
import './SpatialInputAction.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
|
-
import { Geometry } from '
|
|
2
|
+
import { Geometry } from '@arcgis/core/geometry';
|
|
3
3
|
import { QueryExecutions } from 'store-api/QueryExecutions';
|
|
4
4
|
import { Store, QueryOptions, IndexableThing } from 'store-api/api';
|
|
5
5
|
import { Watchable } from 'apprt-core/Types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Evented } from 'apprt-core/Events';
|
|
2
2
|
import { Metadata, StoreEvents, SyncStore, QueryOptions, ResultItems, SyncWritableStore, CreateOptions, AsyncStore, AsyncQueryResult, GetOptions, AsyncWritableStore } from './api/Store.js';
|
|
3
3
|
import { ComplexQueryExpression } from './api/ComplexQueryLang.js';
|
|
4
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Geometry';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Constructor options of all in-memory store variants.
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { toQueryResult } from './utils.js';
|
|
2
|
-
import 'apprt-core/CancelablePromise';
|
|
3
|
-
import 'apprt-core/Promise';
|
|
4
2
|
import './ComplexQuery.js';
|
|
5
3
|
import './api/ComplexQueryLang.js';
|
|
6
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Geometry';
|
|
7
5
|
import './api/Store.js';
|
|
8
6
|
import 'apprt-core/Events';
|
|
9
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ComplexQuery, { ComplexQueryOptions } from './ComplexQuery.js';
|
|
2
2
|
import './api/ComplexQueryLang.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* SpatialQuery registers and implements all SpatialOperators using the geometry engine of the esri js api.
|
package/store-api/api/Store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComplexQueryExpression } from './ComplexQueryLang.js';
|
|
2
2
|
import { EventSource } from 'apprt-core/Events';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* An object that allows index based access.
|
|
@@ -17,10 +17,6 @@ interface ResultItems<ItemType extends IndexableThing> extends ReadonlyArray<Ite
|
|
|
17
17
|
* The client may query again with an appropriate `start` value.
|
|
18
18
|
*/
|
|
19
19
|
readonly hasMore?: boolean;
|
|
20
|
-
/** Function to cancel the query. It is always 'undefined' in synchronous responses.
|
|
21
|
-
* @deprecated Use AbortOptions (AbortSignal)
|
|
22
|
-
*/
|
|
23
|
-
readonly cancel?: undefined;
|
|
24
20
|
/** Function to react on the provided result. It is always 'undefined' in synchronous responses. */
|
|
25
21
|
readonly then?: undefined;
|
|
26
22
|
}
|
|
@@ -33,10 +29,6 @@ interface AsyncQueryResult<ItemType extends IndexableThing> extends Promise<Resu
|
|
|
33
29
|
* @deprecated transport the 'total' value on the result array.
|
|
34
30
|
*/
|
|
35
31
|
readonly total?: Promise<number>;
|
|
36
|
-
/** Function to cancel the query.
|
|
37
|
-
* @deprecated Use AbortOptions (AbortSignal)
|
|
38
|
-
*/
|
|
39
|
-
cancel?(msg?: string): void;
|
|
40
32
|
}
|
|
41
33
|
type QueryResult<ItemType extends IndexableThing> = ResultItems<ItemType> | AsyncQueryResult<ItemType>;
|
|
42
34
|
/** Options to specify the results for queries. */
|
package/store-api/api/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { AbortOptions, AllowedIdTypes, AsyncQueryResult, AsyncStore, AsyncWritableStore, CreateOptions, FieldData, GeometryOptions, GetOptions, IndexableThing, Metadata, PaginationOptions, QueryInterpretationOptions, QueryOptions, QueryResult, ResultItems, RetrievalOptions, SortItem, SortOptions, Store, StoreChangedEvent, StoreEvents, SyncStore, SyncWritableStore, WellKnownFieldTypes, WritableStore } from './Store.js';
|
|
2
2
|
export { AndExpression, ComplexQueryExpression, ElementMatchExpression, EqualsExpression, EqualsWildCardExpression, ExistsExpression, GreaterExpression, GreaterOrEqual, InExpression, LesserExpression, LesserOrEqualExpression, LogicExpression, NOrExpression, NotEqualExpression, NotExpression, NotInExpression, OrExpression, ShortAndExpression, SpatialContainsExpression, SpatialCrossesExpression, SpatialEnvelopeIntersectsExpression, SpatialIntersectsExpression, SpatialOperatorExpression, SpatialOverlapsExpression, SpatialTouchesExpression, SpatialWithinExpression, SuggestExpression, ValueOperatorExpression } from './ComplexQueryLang.js';
|
|
3
3
|
import 'apprt-core/Events';
|
|
4
|
-
import '
|
|
4
|
+
import '@arcgis/core/geometry/Geometry';
|
package/store-api/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { ApprtRequestInit, ApprtRequestTarget, CustomFetch } from 'apprt-fetch';
|
|
|
2
2
|
import { IndexableThing, AsyncStore, Metadata, GetOptions, QueryOptions, AsyncQueryResult, ResultItems } from '../api/Store.js';
|
|
3
3
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
4
4
|
import 'apprt-core/Events';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Additional request options.
|
|
@@ -2,7 +2,7 @@ import { BaseRestStore, RequestOptions } from './BaseRestStore.js';
|
|
|
2
2
|
import { IndexableThing, AsyncWritableStore, CreateOptions } from '../api/Store.js';
|
|
3
3
|
import 'apprt-fetch';
|
|
4
4
|
import '../api/ComplexQueryLang.js';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
6
6
|
import 'apprt-core/Events';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AST, Walker, ComplexQueryOptions, ASTNode } from '../ComplexQuery.js';
|
|
2
2
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
type Transformer = (node: ASTNode, queryOptions: ComplexQueryOptions, subResults?: string[]) => string;
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
2
2
|
import { ComplexQueryOptions, ASTNode, AST, Walker } from '../ComplexQuery.js';
|
|
3
|
-
import '
|
|
3
|
+
import '@arcgis/core/geometry/Geometry';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Options extended by a 'geometryField'.
|
|
@@ -3,7 +3,7 @@ import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
|
3
3
|
import { BaseWriteableRestStore } from './BaseWriteableRestStore.js';
|
|
4
4
|
import { ComplexQueryOptions, ASTNode } from '../ComplexQuery.js';
|
|
5
5
|
import 'apprt-core/Events';
|
|
6
|
-
import '
|
|
6
|
+
import '@arcgis/core/geometry/Geometry';
|
|
7
7
|
import './BaseRestStore.js';
|
|
8
8
|
import 'apprt-fetch';
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { QueryOptions } from '../api/Store.js';
|
|
|
2
2
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
3
3
|
import { BaseWriteableRestStore } from './BaseWriteableRestStore.js';
|
|
4
4
|
import 'apprt-core/Events';
|
|
5
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
6
6
|
import './BaseRestStore.js';
|
|
7
7
|
import 'apprt-fetch';
|
|
8
8
|
|
package/store-api/utils.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
|
-
import CPromise from 'apprt-core/Promise';
|
|
3
1
|
import { ComplexQueryOptions } from './ComplexQuery.js';
|
|
4
2
|
import { ResultItems, AsyncQueryResult, IndexableThing, SortOptions, PaginationOptions, Metadata } from './api/Store.js';
|
|
5
3
|
import { ComplexQueryExpression } from './api/ComplexQueryLang.js';
|
|
6
4
|
import 'apprt-core/Events';
|
|
7
|
-
import '
|
|
5
|
+
import '@arcgis/core/geometry/Geometry';
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* Sorts the given {@link ResultItems} by the rules specified in "options.sort".
|
|
@@ -60,8 +58,6 @@ declare function buildResult<T extends {}>(items: ReadonlyArray<T>, total?: numb
|
|
|
60
58
|
* @returns A QueryResult object.
|
|
61
59
|
*/
|
|
62
60
|
declare function toQueryResult<T extends {}>(result: T[]): ResultItems<T>;
|
|
63
|
-
declare function toQueryResult<T extends {}>(result: CPromise<ResultItems<T>>): AsyncQueryResult<T>;
|
|
64
|
-
declare function toQueryResult<T extends {}>(result: CancelablePromise<T>): AsyncQueryResult<T>;
|
|
65
61
|
declare function toQueryResult<T extends {}>(result: Promise<ResultItems<T>>): AsyncQueryResult<T>;
|
|
66
62
|
declare function toQueryResult<T extends {}>(result: undefined): ResultItems<T>;
|
|
67
63
|
/**
|
package/system/package.json
CHANGED
package/test-utils/package.json
CHANGED
package/toc/api/Action.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TocItem } from './Item.js';
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
2
|
+
import '@arcgis/core/layers/Layer';
|
|
3
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
4
|
+
import '@arcgis/core/layers/support/WMSSublayer';
|
|
5
|
+
import '@arcgis/core/Map';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Provides additional action definitions to the TOC.
|
package/toc/api/Item.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Layer from '
|
|
2
|
-
import Sublayer from '
|
|
3
|
-
import WMSSublayer from '
|
|
4
|
-
import EsriMap from '
|
|
1
|
+
import Layer from '@arcgis/core/layers/Layer';
|
|
2
|
+
import Sublayer from '@arcgis/core/layers/support/Sublayer';
|
|
3
|
+
import WMSSublayer from '@arcgis/core/layers/support/WMSSublayer';
|
|
4
|
+
import EsriMap from '@arcgis/core/Map';
|
|
5
5
|
|
|
6
6
|
type SublayerType = Sublayer | WMSSublayer;
|
|
7
7
|
type RefType = EsriMap | Layer | SublayerType;
|
|
@@ -89,7 +89,7 @@ type ChildrenToggleMode = "independent" | "exclusive" | "inherited";
|
|
|
89
89
|
/**
|
|
90
90
|
* The type of the toc item.
|
|
91
91
|
* Well-known types are:
|
|
92
|
-
* * `layer` - item represents an layer (in the sense of a
|
|
92
|
+
* * `layer` - item represents an layer (in the sense of a `@arcgis/core/layer/Layer` instance)
|
|
93
93
|
* * `sublayer` - item represents a sub layer (e.g. `wms` or `map-image` sublayer)
|
|
94
94
|
* * `root` - item is the root of the layer tree
|
|
95
95
|
* The list may be extended in the future.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MapWidgetModel } from 'map-widget/api';
|
|
2
2
|
import { TocItem } from './Item.js';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
3
|
+
import '@arcgis/core/layers/Layer';
|
|
4
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
5
|
+
import '@arcgis/core/layers/support/WMSSublayer';
|
|
6
|
+
import '@arcgis/core/Map';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A state checker can add additional messages (such as warnings)
|
package/toc/api/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { ActionDefinition, ActionDefinitionFactory, ActionType, BaseActionDefinition, ButtonActionDefinition, ButtonRowActionDefinition, SliderActionDefinition, TextLabelActionDefinition } from './Action.js';
|
|
2
2
|
export { BaseTocItem, ChildrenToggleMode, ListMode, RefType, SublayerType, TocItem, TocItemLayer, TocItemRoot, TocItemSublayer, TocItemType } from './Item.js';
|
|
3
3
|
export { CheckStateMessages, CheckStateOptions, CheckStateResult, StateChecker } from './StateChecker.js';
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
4
|
+
import '@arcgis/core/layers/Layer';
|
|
5
|
+
import '@arcgis/core/layers/support/Sublayer';
|
|
6
|
+
import '@arcgis/core/layers/support/WMSSublayer';
|
|
7
|
+
import '@arcgis/core/Map';
|
|
8
8
|
import 'map-widget/api';
|
package/toc/package.json
CHANGED
package/toolrules/package.json
CHANGED
package/wizard/package.json
CHANGED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
const Observable: any;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* Exports the Observable class.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated the observable proposal is 'dead'
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* // create observable, which ticks all 100 msec
|
|
11
|
-
* const observable = new Observable((observer: any) => {
|
|
12
|
-
* let counter = 0;
|
|
13
|
-
* const t = setInterval(() => {
|
|
14
|
-
* observer.next(++counter);
|
|
15
|
-
* }, 100);
|
|
16
|
-
* // return a cleanup function, is called if subscriber unsubscribes
|
|
17
|
-
* return () => {
|
|
18
|
-
* clearInterval(t);
|
|
19
|
-
* };
|
|
20
|
-
* });
|
|
21
|
-
* // now somebody can subscribe
|
|
22
|
-
* const subscription = observable.subscribe({
|
|
23
|
-
* next(value: number) {
|
|
24
|
-
* console.debug(value);
|
|
25
|
-
* }
|
|
26
|
-
* });
|
|
27
|
-
* // to unlink do:
|
|
28
|
-
* subscription.unsubscribe();
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```
|
|
33
|
-
* // use object observable definition
|
|
34
|
-
* observable.subscribe({
|
|
35
|
-
* next(value) { },
|
|
36
|
-
* error(e) { },
|
|
37
|
-
* complete() { }
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* ```
|
|
43
|
-
* // use method definition, first argument is next, second error and third complete
|
|
44
|
-
* observable.subscribe(
|
|
45
|
-
* (value)=> {},
|
|
46
|
-
* (e)=> {},
|
|
47
|
-
* ()=> {}
|
|
48
|
-
* );
|
|
49
|
-
* ```
|
|
50
|
-
* @see [TC39 Proposal](https://github.com/tc39/proposal-observable)
|
|
51
|
-
* @see [TC39 Proposal Github](https://tc39.github.io/proposal-observable)
|
|
52
|
-
*/
|
|
53
|
-
declare const ExtendedObservable: any;
|
|
54
|
-
|
|
55
|
-
export { ExtendedObservable, ExtendedObservable as default };
|