@conterra/ct-mapapps-typings 4.18.4-next.20241022040802 → 4.19.0-RC-1
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/README.md +1 -1
- package/agssearch/api.d.ts +0 -1
- package/agssearch/package.json +1 -1
- package/apprt/BundleEvent.d.ts +15 -9
- package/apprt/Constants.d.ts +6 -5
- package/apprt/FrameworkEvent.d.ts +11 -5
- package/apprt/ServiceEvent.d.ts +11 -5
- package/apprt/api/index.d.ts +1 -1
- package/apprt/event/EventConstants.d.ts +3 -2
- package/apprt/launch/FrameworkEvent.d.ts +2 -0
- package/apprt/package.json +1 -1
- package/apprt/semver.d.ts +2 -2
- package/apprt-binding/package.json +1 -1
- package/apprt-core/Promise.d.ts +2 -2
- package/apprt-core/Types.d.ts +18 -1
- package/apprt-core/package.json +1 -1
- package/apprt-dom/package.json +1 -1
- package/apprt-fetch/index.d.ts +10 -2
- package/apprt-fetch/package.json +1 -1
- package/apprt-request/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/coordinatetransformer/api/CoordinateTransformer.d.ts +3 -3
- package/coordinatetransformer/api/ProjectionStore.d.ts +1 -0
- package/coordinatetransformer/api/TransformationProvider.d.ts +1 -1
- package/coordinatetransformer/api/TransformerStrategy.d.ts +1 -1
- package/coordinatetransformer/api/index.d.ts +1 -0
- package/coordinatetransformer/package.json +1 -1
- package/ct/Exception.d.ts +3 -0
- package/ct/Locale.d.ts +3 -0
- package/ct/mapping/geometry.d.ts +1 -2
- package/ct/package.json +1 -1
- package/ct/request.d.ts +5 -2
- package/ct/util/css.d.ts +2 -2
- package/dataform/package.json +1 -1
- package/dataview/package.json +1 -1
- package/domains-system/package.json +1 -1
- package/editing/api.d.ts +0 -1
- package/editing/package.json +1 -1
- package/esri-widgets/package.json +1 -1
- package/geojson/api.d.ts +0 -1
- package/geojson/package.json +1 -1
- package/geometryservice/api.d.ts +0 -1
- package/geometryservice/package.json +1 -1
- package/graphics/package.json +1 -1
- package/highlights/api.d.ts +4 -1
- 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 +1 -2
- package/map-actions/package.json +1 -1
- package/map-basemaps-api/BasemapItem.d.ts +1 -1
- package/map-basemaps-api/BasemapsModel.d.ts +5 -3
- package/map-basemaps-api/api.d.ts +13 -1
- package/map-basemaps-api/package.json +1 -1
- package/map-config-api/api.d.ts +2 -1
- package/map-config-api/package.json +1 -1
- package/map-init/api.d.ts +0 -1
- package/map-init/package.json +1 -1
- package/map-widget/Constraints.d.ts +4 -2
- package/map-widget/LayerObserver.d.ts +0 -1
- package/map-widget/LayerTraverser.d.ts +0 -1
- package/map-widget/MapWidgetFactory.d.ts +4 -3
- package/map-widget/MapWidgetModel.d.ts +7 -3
- package/map-widget/ViewReadyWatcher.d.ts +4 -2
- package/map-widget/__internal__/{DFiGfJS1.d.ts → DiM79c03.d.ts} +55 -3
- package/map-widget/api/Constraints.d.ts +4 -2
- package/map-widget/api/MapWidget.d.ts +4 -2
- package/map-widget/api/MapWidgetFactory.d.ts +4 -3
- package/map-widget/api/MapWidgetModel.d.ts +4 -2
- package/map-widget/api/MapWidgetRegistration.d.ts +4 -3
- package/map-widget/api/SrsChangeService.d.ts +4 -3
- package/map-widget/api/index.d.ts +4 -2
- package/map-widget/package.json +1 -1
- package/mapdraw-api/api.d.ts +0 -1
- package/mapdraw-api/package.json +1 -1
- package/mapnavigation/package.json +1 -1
- package/maptips/api.d.ts +0 -1
- package/maptips/package.json +1 -1
- package/measurement-2d/api.d.ts +84 -0
- package/measurement-2d/package.json +5 -0
- package/measurement-3d/api.d.ts +71 -0
- package/measurement-3d/package.json +5 -0
- package/omnisearch/package.json +1 -1
- package/package.json +1 -1
- package/parametermanager/package.json +1 -1
- package/popups/BaseAction.d.ts +0 -1
- package/popups/ContentUpdateProxy.d.ts +0 -1
- package/popups/api.d.ts +0 -1
- package/popups/package.json +1 -1
- package/portal-security/api.d.ts +0 -1
- package/portal-security/package.json +1 -1
- package/result-api/__internal__/{LZ4ypyEL.d.ts → DfubgY1k.d.ts} +1 -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 +1 -1
- package/result-api/api/ui.d.ts +1 -1
- package/result-api/package.json +1 -1
- package/resultcenter/package.json +1 -1
- package/search-api/api.d.ts +62 -6
- package/search-api/package.json +1 -1
- package/search-ui/api.d.ts +2 -5
- package/search-ui/package.json +1 -1
- package/selection-resultcenter/CachingStore.d.ts +2 -2
- package/selection-resultcenter/package.json +1 -1
- package/selection-services/DrawingSpatialInputAction.d.ts +0 -1
- package/selection-services/SpatialInputAction.d.ts +0 -1
- package/selection-services/TolerancePointDrawingInputAction.d.ts +0 -1
- package/selection-services/api/index.d.ts +27 -27
- package/selection-services/package.json +1 -1
- package/store-api/api/ComplexQueryLang.d.ts +0 -1
- package/store-api/package.json +1 -1
- package/store-api/rest/BaseRestStore.d.ts +16 -21
- package/store-api/rest/BaseWriteableRestStore.d.ts +1 -0
- package/store-api/rest/RQLStore.d.ts +1 -0
- package/store-api/rest/SQLStore.d.ts +1 -0
- package/style-guide/package.json +1 -1
- package/style-guide/style-guide-layout/template.d.ts +0 -1
- package/system/api/index.d.ts +1 -1
- 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/theme-tester/test-layout/test-layout.d.ts +0 -1
- package/toc/api/Item.d.ts +0 -1
- package/toc/package.json +1 -1
- package/toolrules/package.json +1 -1
- package/vuetify-component-overview/component-overview-layout/template.d.ts +0 -1
- package/vuetify-component-overview/package.json +1 -1
- package/windowmanager/package.json +1 -1
- package/wizard/package.json +1 -1
- package/toolset/Drawer.d.ts +0 -3
- package/toolset/package.json +0 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ApprtRequestInit, ApprtRequestTarget, CustomFetch } from 'apprt-fetch';
|
|
1
2
|
import { IndexableThing, AsyncStore, Metadata, GetOptions, QueryOptions, AsyncQueryResult, ResultItems } from '../api/Store.js';
|
|
2
3
|
import { ComplexQueryExpression } from '../api/ComplexQueryLang.js';
|
|
3
4
|
import 'apprt-core/Events';
|
|
@@ -9,10 +10,6 @@ import 'esri/geometry/Geometry';
|
|
|
9
10
|
interface RequestOptions {
|
|
10
11
|
/** custom http headers */
|
|
11
12
|
headers?: Record<string, any>;
|
|
12
|
-
/** Flag if that JSONP (javascript communication should be used), this is deprecated
|
|
13
|
-
* @deprecated
|
|
14
|
-
*/
|
|
15
|
-
jsonp?: boolean;
|
|
16
13
|
}
|
|
17
14
|
/**
|
|
18
15
|
* Extra options, provided in the hook method '_filterParams'
|
|
@@ -23,6 +20,13 @@ interface MethodParameters<ItemType, IDType> {
|
|
|
23
20
|
object?: Partial<ItemType>;
|
|
24
21
|
options: Record<string, any>;
|
|
25
22
|
}
|
|
23
|
+
interface InternalRequestOptions extends ApprtRequestInit {
|
|
24
|
+
url: ApprtRequestTarget;
|
|
25
|
+
data?: string;
|
|
26
|
+
query?: Record<string, any>;
|
|
27
|
+
content?: Record<string, any>;
|
|
28
|
+
headers?: Record<string, string>;
|
|
29
|
+
}
|
|
26
30
|
/**
|
|
27
31
|
* Base Store implementation for simple rest services.
|
|
28
32
|
* Provides get and query methods.
|
|
@@ -60,14 +64,6 @@ declare class BaseRestStore<ItemType extends IndexableThing, IDType extends stri
|
|
|
60
64
|
* Range parameter transporting item range definitions.
|
|
61
65
|
*/
|
|
62
66
|
rangeParam: string;
|
|
63
|
-
/**
|
|
64
|
-
* Shall jsonp used for get and query
|
|
65
|
-
*/
|
|
66
|
-
jsonp: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* The jsonp request parameter
|
|
69
|
-
*/
|
|
70
|
-
callbackParam: string;
|
|
71
67
|
/**
|
|
72
68
|
* Identifies the item array in query responses
|
|
73
69
|
*/
|
|
@@ -100,7 +96,7 @@ declare class BaseRestStore<ItemType extends IndexableThing, IDType extends stri
|
|
|
100
96
|
* @param options allows overwrite of any property
|
|
101
97
|
* @param fetch the fetch method to use. Provided to customize in the constructor to make tests easier.
|
|
102
98
|
*/
|
|
103
|
-
constructor(options?: Partial<Pick<BaseRestStore<ItemType, IDType>, keyof BaseRestStore<ItemType, IDType>>>, fetch?:
|
|
99
|
+
constructor(options?: Partial<Pick<BaseRestStore<ItemType, IDType>, keyof BaseRestStore<ItemType, IDType>>>, fetch?: CustomFetch);
|
|
104
100
|
/**
|
|
105
101
|
* Gets identity of given item.
|
|
106
102
|
* @param item an item of this store.
|
|
@@ -122,18 +118,18 @@ declare class BaseRestStore<ItemType extends IndexableThing, IDType extends stri
|
|
|
122
118
|
/**
|
|
123
119
|
* Queries the store for objects.
|
|
124
120
|
*/
|
|
125
|
-
query(query?: ComplexQueryExpression, options?: QueryOptions): AsyncQueryResult<ItemType>;
|
|
121
|
+
query(query?: ComplexQueryExpression, options?: QueryOptions & RequestOptions): AsyncQueryResult<ItemType>;
|
|
126
122
|
/**
|
|
127
123
|
* Hook for sub classes to add/change request parameters.
|
|
128
124
|
*/
|
|
129
|
-
protected _filterParams(invokedFromMethod: string, requestParameters:
|
|
125
|
+
protected _filterParams(invokedFromMethod: string, requestParameters: InternalRequestOptions, originalMethodParameters: MethodParameters<ItemType, IDType>): InternalRequestOptions;
|
|
130
126
|
/**
|
|
131
127
|
* Hook for subclasses to convert ComplexQueryExpression into request parameters.
|
|
132
128
|
* @param requestParameters prepared request parameters
|
|
133
129
|
* @param query the complex query
|
|
134
130
|
* @param options the query options
|
|
135
131
|
*/
|
|
136
|
-
protected _appendQueryToRequest(requestParameters:
|
|
132
|
+
protected _appendQueryToRequest(requestParameters: InternalRequestOptions, query: ComplexQueryExpression | undefined, options: QueryOptions): void;
|
|
137
133
|
/**
|
|
138
134
|
* Converts the options.start and options.count values to request parameters.
|
|
139
135
|
* By default the headers "Range" and "X-Range" are calculated and
|
|
@@ -142,14 +138,14 @@ declare class BaseRestStore<ItemType extends IndexableThing, IDType extends stri
|
|
|
142
138
|
* @param requestParameters request parameters will be changed
|
|
143
139
|
* @param options the query options, with start + count.
|
|
144
140
|
*/
|
|
145
|
-
protected _appendRangeToRequest(requestParameters:
|
|
141
|
+
protected _appendRangeToRequest(requestParameters: InternalRequestOptions, options: QueryOptions): void;
|
|
146
142
|
/**
|
|
147
143
|
* Converts the options.sort to request parameters.
|
|
148
144
|
* By default the sort options are converted into 'sort' request parameter, like '-id,+name,+title'.
|
|
149
145
|
* @param requestParameters request parameters to change.
|
|
150
146
|
* @param options the query options.
|
|
151
147
|
*/
|
|
152
|
-
protected _appendSortToRequest(requestParameters:
|
|
148
|
+
protected _appendSortToRequest(requestParameters: InternalRequestOptions, options: QueryOptions): void;
|
|
153
149
|
/**
|
|
154
150
|
* Transforms server responses into `ResultItems<T>`.
|
|
155
151
|
* The default implementation expects a server response of this format:
|
|
@@ -180,9 +176,8 @@ declare class BaseRestStore<ItemType extends IndexableThing, IDType extends stri
|
|
|
180
176
|
* @param options the request options.
|
|
181
177
|
* @returns result of the request.
|
|
182
178
|
*/
|
|
183
|
-
protected _executeRequest<T>(method: string, options:
|
|
179
|
+
protected _executeRequest<T>(method: string, options: InternalRequestOptions): Promise<T>;
|
|
184
180
|
private _fetchMetadata;
|
|
185
|
-
private _checkError;
|
|
186
181
|
}
|
|
187
182
|
|
|
188
|
-
export { BaseRestStore, type MethodParameters, type RequestOptions };
|
|
183
|
+
export { BaseRestStore, type InternalRequestOptions, type MethodParameters, type RequestOptions };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseRestStore, RequestOptions } from './BaseRestStore.js';
|
|
2
2
|
import { IndexableThing, AsyncWritableStore, CreateOptions } from '../api/Store.js';
|
|
3
|
+
import 'apprt-fetch';
|
|
3
4
|
import '../api/ComplexQueryLang.js';
|
|
4
5
|
import 'esri/geometry/Geometry';
|
|
5
6
|
import 'apprt-core/Events';
|
|
@@ -5,6 +5,7 @@ import { ComplexQueryOptions, ASTNode } from '../ComplexQuery.js';
|
|
|
5
5
|
import 'apprt-core/Events';
|
|
6
6
|
import 'esri/geometry/Geometry';
|
|
7
7
|
import './BaseRestStore.js';
|
|
8
|
+
import 'apprt-fetch';
|
|
8
9
|
|
|
9
10
|
type Transformer = (node: ASTNode, queryOptions: ComplexQueryOptions, subResults?: string[]) => string;
|
|
10
11
|
declare function toRQL(query?: ComplexQueryExpression, options?: ComplexQueryOptions): string;
|
|
@@ -4,6 +4,7 @@ import { BaseWriteableRestStore } from './BaseWriteableRestStore.js';
|
|
|
4
4
|
import 'apprt-core/Events';
|
|
5
5
|
import 'esri/geometry/Geometry';
|
|
6
6
|
import './BaseRestStore.js';
|
|
7
|
+
import 'apprt-fetch';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* SQL Store is a RestStore which uses the SQL where expressions as query language.
|
package/style-guide/package.json
CHANGED
package/system/api/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface WatchableActivityStateProperties {
|
|
|
15
15
|
* Represents the state of an app regarding user activity
|
|
16
16
|
* It can be observed to detect inactivity.
|
|
17
17
|
*
|
|
18
|
-
* The state is
|
|
18
|
+
* The state is available as service `system.ActivityState`.
|
|
19
19
|
*/
|
|
20
20
|
interface ActivityState extends Watchable<WatchableActivityStateProperties>, WatchableActivityStateProperties {
|
|
21
21
|
/** Indicates if the local storage is used to store the latest activity.*/
|
package/system/package.json
CHANGED
package/test-utils/package.json
CHANGED
package/toc/api/Item.d.ts
CHANGED
package/toc/package.json
CHANGED
package/toolrules/package.json
CHANGED
package/wizard/package.json
CHANGED
package/toolset/Drawer.d.ts
DELETED