@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.
Files changed (137) hide show
  1. package/README.md +1 -1
  2. package/agssearch/api.d.ts +0 -1
  3. package/agssearch/package.json +1 -1
  4. package/apprt/BundleEvent.d.ts +15 -9
  5. package/apprt/Constants.d.ts +6 -5
  6. package/apprt/FrameworkEvent.d.ts +11 -5
  7. package/apprt/ServiceEvent.d.ts +11 -5
  8. package/apprt/api/index.d.ts +1 -1
  9. package/apprt/event/EventConstants.d.ts +3 -2
  10. package/apprt/launch/FrameworkEvent.d.ts +2 -0
  11. package/apprt/package.json +1 -1
  12. package/apprt/semver.d.ts +2 -2
  13. package/apprt-binding/package.json +1 -1
  14. package/apprt-core/Promise.d.ts +2 -2
  15. package/apprt-core/Types.d.ts +18 -1
  16. package/apprt-core/package.json +1 -1
  17. package/apprt-dom/package.json +1 -1
  18. package/apprt-fetch/index.d.ts +10 -2
  19. package/apprt-fetch/package.json +1 -1
  20. package/apprt-request/package.json +1 -1
  21. package/apprt-streams/package.json +1 -1
  22. package/apprt-tokens/package.json +1 -1
  23. package/apprt-vue/package.json +1 -1
  24. package/apprt-vuetify/package.json +1 -1
  25. package/coordinatetransformer/api/CoordinateTransformer.d.ts +3 -3
  26. package/coordinatetransformer/api/ProjectionStore.d.ts +1 -0
  27. package/coordinatetransformer/api/TransformationProvider.d.ts +1 -1
  28. package/coordinatetransformer/api/TransformerStrategy.d.ts +1 -1
  29. package/coordinatetransformer/api/index.d.ts +1 -0
  30. package/coordinatetransformer/package.json +1 -1
  31. package/ct/Exception.d.ts +3 -0
  32. package/ct/Locale.d.ts +3 -0
  33. package/ct/mapping/geometry.d.ts +1 -2
  34. package/ct/package.json +1 -1
  35. package/ct/request.d.ts +5 -2
  36. package/ct/util/css.d.ts +2 -2
  37. package/dataform/package.json +1 -1
  38. package/dataview/package.json +1 -1
  39. package/domains-system/package.json +1 -1
  40. package/editing/api.d.ts +0 -1
  41. package/editing/package.json +1 -1
  42. package/esri-widgets/package.json +1 -1
  43. package/geojson/api.d.ts +0 -1
  44. package/geojson/package.json +1 -1
  45. package/geometryservice/api.d.ts +0 -1
  46. package/geometryservice/package.json +1 -1
  47. package/graphics/package.json +1 -1
  48. package/highlights/api.d.ts +4 -1
  49. package/highlights/package.json +1 -1
  50. package/integration-map/package.json +1 -1
  51. package/managementlayout/package.json +1 -1
  52. package/map-actions/api.d.ts +1 -2
  53. package/map-actions/package.json +1 -1
  54. package/map-basemaps-api/BasemapItem.d.ts +1 -1
  55. package/map-basemaps-api/BasemapsModel.d.ts +5 -3
  56. package/map-basemaps-api/api.d.ts +13 -1
  57. package/map-basemaps-api/package.json +1 -1
  58. package/map-config-api/api.d.ts +2 -1
  59. package/map-config-api/package.json +1 -1
  60. package/map-init/api.d.ts +0 -1
  61. package/map-init/package.json +1 -1
  62. package/map-widget/Constraints.d.ts +4 -2
  63. package/map-widget/LayerObserver.d.ts +0 -1
  64. package/map-widget/LayerTraverser.d.ts +0 -1
  65. package/map-widget/MapWidgetFactory.d.ts +4 -3
  66. package/map-widget/MapWidgetModel.d.ts +7 -3
  67. package/map-widget/ViewReadyWatcher.d.ts +4 -2
  68. package/map-widget/__internal__/{DFiGfJS1.d.ts → DiM79c03.d.ts} +55 -3
  69. package/map-widget/api/Constraints.d.ts +4 -2
  70. package/map-widget/api/MapWidget.d.ts +4 -2
  71. package/map-widget/api/MapWidgetFactory.d.ts +4 -3
  72. package/map-widget/api/MapWidgetModel.d.ts +4 -2
  73. package/map-widget/api/MapWidgetRegistration.d.ts +4 -3
  74. package/map-widget/api/SrsChangeService.d.ts +4 -3
  75. package/map-widget/api/index.d.ts +4 -2
  76. package/map-widget/package.json +1 -1
  77. package/mapdraw-api/api.d.ts +0 -1
  78. package/mapdraw-api/package.json +1 -1
  79. package/mapnavigation/package.json +1 -1
  80. package/maptips/api.d.ts +0 -1
  81. package/maptips/package.json +1 -1
  82. package/measurement-2d/api.d.ts +84 -0
  83. package/measurement-2d/package.json +5 -0
  84. package/measurement-3d/api.d.ts +71 -0
  85. package/measurement-3d/package.json +5 -0
  86. package/omnisearch/package.json +1 -1
  87. package/package.json +1 -1
  88. package/parametermanager/package.json +1 -1
  89. package/popups/BaseAction.d.ts +0 -1
  90. package/popups/ContentUpdateProxy.d.ts +0 -1
  91. package/popups/api.d.ts +0 -1
  92. package/popups/package.json +1 -1
  93. package/portal-security/api.d.ts +0 -1
  94. package/portal-security/package.json +1 -1
  95. package/result-api/__internal__/{LZ4ypyEL.d.ts → DfubgY1k.d.ts} +1 -2
  96. package/result-api/api/actions.d.ts +1 -1
  97. package/result-api/api/formatting.d.ts +1 -1
  98. package/result-api/api/index.d.ts +1 -1
  99. package/result-api/api/model.d.ts +1 -1
  100. package/result-api/api/service.d.ts +1 -1
  101. package/result-api/api/ui.d.ts +1 -1
  102. package/result-api/package.json +1 -1
  103. package/resultcenter/package.json +1 -1
  104. package/search-api/api.d.ts +62 -6
  105. package/search-api/package.json +1 -1
  106. package/search-ui/api.d.ts +2 -5
  107. package/search-ui/package.json +1 -1
  108. package/selection-resultcenter/CachingStore.d.ts +2 -2
  109. package/selection-resultcenter/package.json +1 -1
  110. package/selection-services/DrawingSpatialInputAction.d.ts +0 -1
  111. package/selection-services/SpatialInputAction.d.ts +0 -1
  112. package/selection-services/TolerancePointDrawingInputAction.d.ts +0 -1
  113. package/selection-services/api/index.d.ts +27 -27
  114. package/selection-services/package.json +1 -1
  115. package/store-api/api/ComplexQueryLang.d.ts +0 -1
  116. package/store-api/package.json +1 -1
  117. package/store-api/rest/BaseRestStore.d.ts +16 -21
  118. package/store-api/rest/BaseWriteableRestStore.d.ts +1 -0
  119. package/store-api/rest/RQLStore.d.ts +1 -0
  120. package/store-api/rest/SQLStore.d.ts +1 -0
  121. package/style-guide/package.json +1 -1
  122. package/style-guide/style-guide-layout/template.d.ts +0 -1
  123. package/system/api/index.d.ts +1 -1
  124. package/system/package.json +1 -1
  125. package/templatelayout/package.json +1 -1
  126. package/test-utils/package.json +1 -1
  127. package/theme-tester/package.json +1 -1
  128. package/theme-tester/test-layout/test-layout.d.ts +0 -1
  129. package/toc/api/Item.d.ts +0 -1
  130. package/toc/package.json +1 -1
  131. package/toolrules/package.json +1 -1
  132. package/vuetify-component-overview/component-overview-layout/template.d.ts +0 -1
  133. package/vuetify-component-overview/package.json +1 -1
  134. package/windowmanager/package.json +1 -1
  135. package/wizard/package.json +1 -1
  136. package/toolset/Drawer.d.ts +0 -3
  137. 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?: (url: string, options: Record<string, any>) => Promise<any>);
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: Record<string, any>, originalMethodParameters: MethodParameters<ItemType, IDType>): Record<string, any>;
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: Record<string, any>, query: ComplexQueryExpression | undefined, options: QueryOptions): void;
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: Record<string, any>, options: QueryOptions): void;
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: Record<string, any>, options: QueryOptions): void;
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: Record<string, any>): Promise<T>;
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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "style-guide",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="types/build-support" />
2
1
  import templateStringContent from 'text!./template.html';
3
2
 
4
3
  declare namespace _default {
@@ -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 availble as service `system.ActivityState`.
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.*/
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "system",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "templatelayout",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "test-utils",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "theme-tester",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="types/build-support" />
2
1
  import templateStringContent from 'text!./themeTester.html';
3
2
 
4
3
  declare namespace _default {
package/toc/api/Item.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Layer from 'esri/layers/Layer';
3
2
  import Sublayer from 'esri/layers/support/Sublayer';
4
3
  import WMSSublayer from 'esri/layers/support/WMSSublayer';
package/toc/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "toc",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "toolrules",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="types/build-support" />
2
1
  import templateStringContent from 'text!./template.html';
3
2
 
4
3
  declare namespace _default {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "vuetify-component-overview",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "windowmanager",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "wizard",
3
- "version": "4.18.4-SNAPSHOT",
3
+ "version": "4.19.0-RC-1",
4
4
  "types": ""
5
5
  }
@@ -1,3 +0,0 @@
1
- declare const _default: any;
2
-
3
- export { _default as default };
@@ -1,5 +0,0 @@
1
- {
2
- "name": "toolset",
3
- "version": "4.18.4-SNAPSHOT",
4
- "types": ""
5
- }