@conterra/ct-mapapps-typings 4.19.3-next.20250627112807 → 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.
Files changed (143) hide show
  1. package/agssearch/api.d.ts +2 -2
  2. package/agssearch/package.json +1 -1
  3. package/apprt/api/index.d.ts +1 -0
  4. package/apprt/api/internal.d.ts +1 -1
  5. package/apprt/launch/BundleController.d.ts +2 -1
  6. package/apprt/launch/Launcher.d.ts +21 -2
  7. package/apprt/package.json +1 -1
  8. package/apprt-binding/package.json +1 -1
  9. package/apprt-core/config.d.ts +7 -7
  10. package/apprt-core/load-js.d.ts +1 -1
  11. package/apprt-core/package.json +1 -1
  12. package/apprt-dom/package.json +1 -1
  13. package/apprt-fetch/index.d.ts +1 -1
  14. package/apprt-fetch/package.json +1 -1
  15. package/apprt-streams/package.json +1 -1
  16. package/apprt-tokens/package.json +1 -1
  17. package/apprt-vue/package.json +1 -1
  18. package/apprt-vuetify/components/copyText.d.ts +8 -0
  19. package/apprt-vuetify/package.json +1 -1
  20. package/coordinateconversion/api.d.ts +2 -1
  21. package/coordinateconversion/package.json +1 -1
  22. package/coordinatetransformer/api/CoordinateTransformer.d.ts +6 -4
  23. package/coordinatetransformer/api/ProjectionStore.d.ts +4 -2
  24. package/coordinatetransformer/api/TransformationProvider.d.ts +6 -4
  25. package/coordinatetransformer/api/TransformerStrategy.d.ts +4 -2
  26. package/coordinatetransformer/api/index.d.ts +6 -4
  27. package/coordinatetransformer/package.json +1 -1
  28. package/ct/async.d.ts +1 -1
  29. package/ct/mapping/geometry.d.ts +6 -6
  30. package/ct/package.json +1 -1
  31. package/dataform/package.json +1 -1
  32. package/dataview/package.json +1 -1
  33. package/domains-system/package.json +1 -1
  34. package/editing/api.d.ts +5 -15
  35. package/editing/package.json +1 -1
  36. package/esri-widgets/package.json +1 -1
  37. package/geojson/api.d.ts +6 -6
  38. package/geojson/package.json +1 -1
  39. package/geometryservice/api.d.ts +15 -15
  40. package/geometryservice/package.json +1 -1
  41. package/graphics/GraphicsBuilder.d.ts +1 -1
  42. package/graphics/package.json +1 -1
  43. package/highlights/api.d.ts +4 -4
  44. package/highlights/package.json +1 -1
  45. package/integration-map/package.json +1 -1
  46. package/managementlayout/package.json +1 -1
  47. package/map-actions/api.d.ts +2 -2
  48. package/map-actions/package.json +1 -1
  49. package/map-basemaps-api/BasemapItem.d.ts +2 -9
  50. package/map-basemaps-api/BasemapsModel.d.ts +1 -1
  51. package/map-basemaps-api/api.d.ts +1 -1
  52. package/map-basemaps-api/package.json +1 -1
  53. package/map-config-api/api.d.ts +38 -38
  54. package/map-config-api/package.json +1 -1
  55. package/map-init/api.d.ts +1 -1
  56. package/map-init/package.json +1 -1
  57. package/map-widget/Constraints.d.ts +16 -11
  58. package/map-widget/LayerObserver.d.ts +5 -5
  59. package/map-widget/LayerTraverser.d.ts +5 -5
  60. package/map-widget/MapWidgetFactory.d.ts +17 -11
  61. package/map-widget/MapWidgetModel.d.ts +16 -11
  62. package/map-widget/Navigation.d.ts +9 -2
  63. package/map-widget/ViewReadyWatcher.d.ts +16 -11
  64. package/map-widget/__internal__/{DTPbI1Aa.d.ts → ChgqPGgf.d.ts} +54 -10
  65. package/map-widget/api/BaseTypes.d.ts +6 -0
  66. package/map-widget/api/Constraints.d.ts +16 -11
  67. package/map-widget/api/MapWidget.d.ts +16 -11
  68. package/map-widget/api/MapWidgetFactory.d.ts +19 -14
  69. package/map-widget/api/MapWidgetModel.d.ts +16 -11
  70. package/map-widget/api/MapWidgetRegistration.d.ts +17 -12
  71. package/map-widget/api/Navigation.d.ts +15 -2
  72. package/map-widget/api/SrsChangeService.d.ts +16 -11
  73. package/map-widget/api/VisibilityState.d.ts +109 -0
  74. package/map-widget/api/index.d.ts +17 -12
  75. package/map-widget/package.json +1 -1
  76. package/mapdraw-api/api.d.ts +3 -3
  77. package/mapdraw-api/package.json +1 -1
  78. package/mapnavigation/package.json +1 -1
  79. package/maptips/api.d.ts +2 -2
  80. package/maptips/package.json +1 -1
  81. package/measurement-2d/api.d.ts +3 -2
  82. package/measurement-2d/package.json +1 -1
  83. package/measurement-3d/api.d.ts +1 -1
  84. package/measurement-3d/package.json +1 -1
  85. package/package.json +1 -1
  86. package/parametermanager/package.json +1 -1
  87. package/popups/Action.d.ts +7 -7
  88. package/popups/BaseAction.d.ts +8 -8
  89. package/popups/ContentUpdateProxy.d.ts +3 -3
  90. package/popups/api.d.ts +6 -5
  91. package/popups/package.json +1 -1
  92. package/portal-security/api.d.ts +1 -1
  93. package/portal-security/package.json +1 -1
  94. package/result-api/__internal__/{DHLZxzhJ.d.ts → BGEg3fBn.d.ts} +17 -4
  95. package/result-api/api/actions.d.ts +3 -2
  96. package/result-api/api/formatting.d.ts +3 -2
  97. package/result-api/api/index.d.ts +3 -2
  98. package/result-api/api/model.d.ts +3 -2
  99. package/result-api/api/service.d.ts +3 -2
  100. package/result-api/api/ui.d.ts +3 -2
  101. package/result-api/package.json +1 -1
  102. package/search-api/package.json +1 -1
  103. package/search-ui/package.json +1 -1
  104. package/selection-services/DrawingSpatialInputAction.d.ts +1 -1
  105. package/selection-services/SearchSource.d.ts +3 -3
  106. package/selection-services/SpatialInputAction.d.ts +1 -1
  107. package/selection-services/TolerancePointDrawingInputAction.d.ts +1 -1
  108. package/selection-services/api/index.d.ts +1 -1
  109. package/selection-services/package.json +1 -1
  110. package/store-api/ComplexQuery.d.ts +1 -1
  111. package/store-api/InMemoryStore.d.ts +1 -1
  112. package/store-api/QueryResults.d.ts +1 -3
  113. package/store-api/SpatialQuery.d.ts +1 -1
  114. package/store-api/api/ComplexQueryLang.d.ts +1 -1
  115. package/store-api/api/Store.d.ts +2 -10
  116. package/store-api/api/index.d.ts +1 -1
  117. package/store-api/package.json +1 -1
  118. package/store-api/rest/BaseRestStore.d.ts +1 -1
  119. package/store-api/rest/BaseWriteableRestStore.d.ts +1 -1
  120. package/store-api/rest/ComplexQueryToSQL.d.ts +1 -1
  121. package/store-api/rest/ComplexQueryToSolrQL.d.ts +1 -1
  122. package/store-api/rest/RQLStore.d.ts +1 -1
  123. package/store-api/rest/SQLStore.d.ts +1 -1
  124. package/store-api/utils.d.ts +1 -5
  125. package/system/package.json +1 -1
  126. package/templatelayout/package.json +1 -1
  127. package/test-utils/package.json +1 -1
  128. package/theme-tester/package.json +1 -1
  129. package/toc/api/Action.d.ts +4 -4
  130. package/toc/api/Item.d.ts +5 -5
  131. package/toc/api/StateChecker.d.ts +4 -4
  132. package/toc/api/index.d.ts +4 -4
  133. package/toc/package.json +1 -1
  134. package/toolrules/package.json +1 -1
  135. package/vuetify-component-overview/package.json +1 -1
  136. package/windowmanager/package.json +1 -1
  137. package/wizard/package.json +1 -1
  138. package/apprt-request/api.d.ts +0 -340
  139. package/apprt-request/main.d.ts +0 -6
  140. package/apprt-request/package.json +0 -5
  141. package/apprt-request/request.d.ts +0 -8
  142. package/apprt-vue/directives/clipboard.d.ts +0 -15
  143. package/ct/request.d.ts +0 -17
@@ -1,5 +1,5 @@
1
- import Layer from 'esri/layers/Layer';
2
- import Sublayer from 'esri/layers/support/Sublayer';
1
+ import Layer from '@arcgis/core/layers/Layer';
2
+ import Sublayer from '@arcgis/core/layers/support/Sublayer';
3
3
  import { AsyncStore } from 'store-api/api';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "agssearch",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1348,6 +1348,7 @@ interface AppConfigJson {
1348
1348
  preFetchMain?: boolean;
1349
1349
  preFetchCompressedVersions?: boolean;
1350
1350
  prefetchSecondAggregate?: boolean | number;
1351
+ prefetchSecondNonBlocking?: boolean;
1351
1352
  };
1352
1353
  bundles?: Record<string, boolean | Record<string, any>>;
1353
1354
  }
@@ -139,7 +139,7 @@ interface BundleLoadSuccess {
139
139
  manifest: BundleManifestJson;
140
140
  location: string;
141
141
  locationroot: PackageLocationDefinition;
142
- error: undefined;
142
+ error?: undefined;
143
143
  }
144
144
  interface BundleLoadError {
145
145
  error: Error;
@@ -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,10 +67,12 @@ 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;
56
74
  private _prefetchRemaining;
75
+ private _preFetchSecond;
57
76
  private _installBundles;
58
77
  private _filterSuccessBundles;
59
78
  private _getBundlesToInstall;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-binding",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -64,6 +64,10 @@ interface WellknownConfigKeys {
64
64
  * Defines that switching to HTTP POST is allowed during layer.js pre-fetching.
65
65
  */
66
66
  "app-launch-prefetch-with-post-enabled": boolean;
67
+ /**
68
+ * Instead of switching to post, the pre-fetching is using mulitple get requests if the url is to long.
69
+ */
70
+ "app-launch-prefetch-with-get-split": boolean;
67
71
  /**
68
72
  * Defines that the layer.js request is using gzip encoded parameters to keep the parameter size short.
69
73
  */
@@ -99,7 +103,7 @@ interface WellknownConfigKeys {
99
103
  */
100
104
  "esri-identity-app-token-enabled": boolean;
101
105
  /**
102
- * Enables the persistence of the esri/identity/IdentityManager state in the local storage.
106
+ * Enables the persistence of the @arcgis/core/identity/IdentityManager state in the local storage.
103
107
  */
104
108
  "esri-identity-state-persist": boolean;
105
109
  /**
@@ -113,7 +117,7 @@ interface WellknownConfigKeys {
113
117
  */
114
118
  "esri-identity-state-name-prefix": string;
115
119
  /**
116
- * Allows the esri/IdentityManager to send credentials via http.
120
+ * Allows the @arcgis/core/IdentityManager to send credentials via http.
117
121
  * Note this is only intended for development purpose
118
122
  * and should never be enabled during production.
119
123
  */
@@ -174,11 +178,7 @@ interface WellknownConfigKeys {
174
178
  */
175
179
  "request-trusted-servers": string[];
176
180
  /**
177
- * Flag for apprt-request to return dojo/Deferred instead of Promises.
178
- */
179
- "request-return-dojo-deferred": boolean;
180
- /**
181
- * Plain esri key, provides a way to configure the properties in esri/config.
181
+ * Plain esri key, provides a way to configure the properties in @arcgis/core/config.
182
182
  * Used by apprt-esri-init.
183
183
  */
184
184
  "esri-conf": {
@@ -20,7 +20,7 @@ interface LoadJsOptions {
20
20
  * ```ts
21
21
  * import loadJS from "apprt-core/load-js";
22
22
  *
23
- * loadJS("esri/Map").then(function(Map){
23
+ * loadJS("@arcgis/core/Map").then(function(Map){
24
24
  * return new Map();
25
25
  * });
26
26
  * ```
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-core",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-dom",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": "./index.d.ts"
5
5
  }
@@ -365,7 +365,7 @@ interface Config {
365
365
  /** Used to control the proxy mode for requests. */
366
366
  type ProxyMode = "force-on" | "force-off" | "default";
367
367
  /**
368
- * Request options supported by apprt-request.
368
+ * Request options supported by apprt-fetch.
369
369
  * This is an extension of the Browser's native fetch options.
370
370
  *
371
371
  * See also the init parameter of [apprt-fetch](https://developer.mozilla.org/en-US/docs/Web/API/fetch)
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-fetch",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": "./index.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-streams",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-tokens",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-vue",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": "./index.d.ts"
5
5
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Copies text to the user's clipboard.
3
+ *
4
+ * Returns `true` on success and `false` on failure.
5
+ */
6
+ declare function copyText(text: string): Promise<boolean>;
7
+
8
+ export { copyText };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-vuetify",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,4 +1,5 @@
1
- import { SpatialReference, Point } from 'esri/geometry';
1
+ import Point from '@arcgis/core/geometry/Point';
2
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
2
3
 
3
4
  /**
4
5
  * Parsing succeeded and returned a valid value.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "coordinateconversion",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,7 @@
1
- import { SpatialReference, Geometry, Extent } from 'esri/geometry';
2
- import BaseGeometry from 'esri/geometry/Geometry';
1
+ import { Geometry } from '@arcgis/core/geometry';
2
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
3
+ import Extent from '@arcgis/core/geometry/Extent';
4
+ import BaseGeometry from '@arcgis/core/geometry/Geometry';
3
5
 
4
6
  /** Helper type to represent an item or an array of items. */
5
7
  type Items<T> = T | T[];
@@ -19,7 +21,7 @@ interface Coordinates {
19
21
  * const wgs84String = "EPSG:4326";
20
22
  * const wgs84Wkid = 4326;
21
23
  *
22
- * import SpatialReference from "esri/geometry/SpatialReference";
24
+ * import SpatialReference from "@arcgis/core/geometry/SpatialReference";
23
25
  * const wgs84 = new SpatialReference({wkid:4326});
24
26
  * ```
25
27
  */
@@ -82,7 +84,7 @@ type CoordinateModificationCallback = (input: Readonly<Coordinates>) => Coordina
82
84
  * ```ts
83
85
  * import { InjectedReference } from "apprt-core/InjectedReference";
84
86
  * import { CoordinateTransformer } from "coordinatetransformer/CoordinateTransformer";
85
- * import { Geometry } from "esri/geometry";
87
+ * import { Geometry } from "@arcgis/core/geometry";
86
88
  *
87
89
  * export default class MyComponent {
88
90
  * private coordinateTransformer: InjectedReference<CoordinateTransformer>;
@@ -1,7 +1,9 @@
1
1
  import { Store } from 'store-api/api';
2
2
  import { Projection } from './CoordinateTransformer.js';
3
- import 'esri/geometry';
4
- import 'esri/geometry/Geometry';
3
+ import '@arcgis/core/geometry';
4
+ import '@arcgis/core/geometry/SpatialReference';
5
+ import '@arcgis/core/geometry/Extent';
6
+ import '@arcgis/core/geometry/Geometry';
5
7
 
6
8
  /**
7
9
  * Store which provides access to the available projections via the store interface.
@@ -1,8 +1,10 @@
1
- import { SpatialReference } from 'esri/geometry';
2
- import GeographicTransformation from 'esri/geometry/support/GeographicTransformation';
3
- import GeographicTransformationStep from 'esri/geometry/support/GeographicTransformationStep';
1
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
2
+ import GeographicTransformation from '@arcgis/core/geometry/operators/support/GeographicTransformation';
3
+ import GeographicTransformationStep from '@arcgis/core/geometry/operators/support/GeographicTransformationStep';
4
4
  import { Items } from './CoordinateTransformer.js';
5
- import 'esri/geometry/Geometry';
5
+ import '@arcgis/core/geometry';
6
+ import '@arcgis/core/geometry/Extent';
7
+ import '@arcgis/core/geometry/Geometry';
6
8
 
7
9
  /**
8
10
  * A transformation provider supplies custom transformations between spatial reference systems.
@@ -1,6 +1,8 @@
1
- import { Geometry, SpatialReference } from 'esri/geometry';
1
+ import { Geometry } from '@arcgis/core/geometry';
2
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
2
3
  import { Items } from './CoordinateTransformer.js';
3
- import 'esri/geometry/Geometry';
4
+ import '@arcgis/core/geometry/Extent';
5
+ import '@arcgis/core/geometry/Geometry';
4
6
 
5
7
  /**
6
8
  * A transformer strategy is an interface used by the CoordinateTransformer
@@ -2,8 +2,10 @@ export { CoordinateModificationCallback, CoordinateTransformer, Coordinates, Ite
2
2
  export { TransformationProvider } from './TransformationProvider.js';
3
3
  export { TransformerStrategy } from './TransformerStrategy.js';
4
4
  export { ProjectionStore } from './ProjectionStore.js';
5
- import 'esri/geometry';
6
- import 'esri/geometry/Geometry';
7
- import 'esri/geometry/support/GeographicTransformation';
8
- import 'esri/geometry/support/GeographicTransformationStep';
5
+ import '@arcgis/core/geometry';
6
+ import '@arcgis/core/geometry/SpatialReference';
7
+ import '@arcgis/core/geometry/Extent';
8
+ import '@arcgis/core/geometry/Geometry';
9
+ import '@arcgis/core/geometry/operators/support/GeographicTransformation';
10
+ import '@arcgis/core/geometry/operators/support/GeographicTransformationStep';
9
11
  import 'store-api/api';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "coordinatetransformer",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
package/ct/async.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare function hitch(scope: any, cb: any, ...args: any[]): (...args: any[]) => any;
1
+ declare function hitch(scope: any, cb: any, ...args: any[]): () => any;
2
2
  declare function join(arr: any): any;
3
3
  declare function queue(): {
4
4
  cancel: () => void;
@@ -1,7 +1,7 @@
1
- import SpatialReference from 'esri/geometry/SpatialReference';
2
- import Point from 'esri/geometry/Point';
3
- import Extent from 'esri/geometry/Extent';
4
- import TimeExtent from 'esri/time/TimeExtent';
1
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
2
+ import Point from '@arcgis/core/geometry/Point';
3
+ import Extent from '@arcgis/core/geometry/Extent';
4
+ import TimeExtent from '@arcgis/core/time/TimeExtent';
5
5
 
6
6
  declare namespace exports {
7
7
  export { createSpatialReference };
@@ -111,7 +111,7 @@ declare function equalSpatialReference(a: any, b: any): boolean;
111
111
  * var point = ctgeometry.createPoint(e);
112
112
  *
113
113
  */
114
- declare function createPoint(params?: any, ...args: any[]): Point;
114
+ declare function createPoint(_params: any, ...args: any[]): Point;
115
115
  /**
116
116
  * Function to create an instance of {.Extent} by some alternative arguments.
117
117
  * @param [params] an init object or an argument list, see the sample.
@@ -256,7 +256,7 @@ declare function equalTimeExtent(a: any, b: any): boolean;
256
256
  */
257
257
  declare function correctAspectRatio(extentIn: any, extentReference: any): Extent;
258
258
  /**
259
- * Checks geometry equality, coordinate equality checked by esri/geometry/mathUtils._equals, which uses an epsilon of
259
+ * Checks geometry equality, coordinate equality checked by @arcgis/core/geometry/mathUtils._equals, which uses an epsilon of
260
260
  * 1e-8 for number compare.
261
261
  */
262
262
  declare function equal(gA: any, gB: any, eps: any): any;
package/ct/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ct",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": "./main.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "dataform",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "dataview",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "domains-system",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
package/editing/api.d.ts CHANGED
@@ -1,22 +1,12 @@
1
- import Graphic from 'esri/Graphic';
2
- import FeatureLayer from 'esri/layers/FeatureLayer';
3
- import Editor from 'esri/widgets/Editor';
1
+ import Graphic from '@arcgis/core/Graphic';
2
+ import FeatureLayer from '@arcgis/core/layers/FeatureLayer';
3
+ import Editor from '@arcgis/core/widgets/Editor';
4
4
  import { Action, ActionOptions, ActionItem } from 'map-actions/api';
5
5
 
6
- /**
7
- * Well known workflow ids.
8
- */
9
- type WellKnownWorkflow = NonNullable<__esri.EditorProperties["allowedWorkflows"]>;
10
6
  /**
11
7
  * Properties used to create an {@link Editor}.
12
8
  */
13
- type EditorProperties = Omit<__esri.EditorProperties, "allowedWorkflows"> & {
14
- /**
15
- * @deprecated since ArcGIS Maps SDK for JavaScript 4.29
16
- * use {@link __esri.EditorProperties.visibleElements} instead;
17
- */
18
- allowedWorkflows?: WellKnownWorkflow[];
19
- };
9
+ type EditorProperties = __esri.EditorProperties;
20
10
  /**
21
11
  * Extension point to access the editing widget or its configuration.
22
12
  */
@@ -69,4 +59,4 @@ interface StartEditingMapActionItem extends ActionItem {
69
59
  objectId: number;
70
60
  }
71
61
 
72
- export type { Editing, EditorInterceptor, EditorProperties, StartEditingMapAction, StartEditingMapActionItem, StartEditingMapActionOptions, WellKnownWorkflow };
62
+ export type { Editing, EditorInterceptor, EditorProperties, StartEditingMapAction, StartEditingMapActionItem, StartEditingMapActionOptions };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "editing",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "esri-widgets",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
package/geojson/api.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import Geometry from 'esri/geometry/Geometry';
1
+ import Geometry from '@arcgis/core/geometry/Geometry';
2
2
 
3
3
  /**
4
- * Provides the means to transform between WKT strings, GeoJSON and `esri/Geometry` objects.
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 esri/Geometry.
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 `esri/Geometry` into a GeoJSON object.
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 `esri/Geometry`.
25
+ * Parses a WKT string into an `@arcgis/core/Geometry`.
26
26
  */
27
27
  wktToGeometry(wkt: string): Geometry;
28
28
  /**
29
- * Converts an `esri/Geometry` into a WKT string.
29
+ * Converts an `@arcgis/core/Geometry` into a WKT string.
30
30
  */
31
31
  geometryToWKT(geometry: Geometry): string;
32
32
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "geojson",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,34 +1,34 @@
1
- import { Geometry } from 'esri/geometry';
2
- import Point from 'esri/geometry/Point';
3
- import Polygon from 'esri/geometry/Polygon';
4
- import Polyline from 'esri/geometry/Polyline';
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 esri/rest/geometryService.
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<Geometry>;
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<Geometry[]>;
17
- difference(geometries: any, geometry: any, requestOptions?: any): Promise<Geometry>;
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<Geometry[]>;
21
- intersect(geometries: any, intersector: any, requestOptions?: any): Promise<Geometry[]>;
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<Geometry[]>;
25
- project(projectParameters: any, requestOption?: any): Promise<Geometry[]>;
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<Geometry>;
28
- simplify(geometries: any, requestOptions?: any): Promise<Geometry[]>;
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<Geometry>;
31
+ union(geometries: any, requestOptions?: any): Promise<GeometryUnion>;
32
32
  get units(): Record<string, any>;
33
33
  }
34
34
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "geometryservice",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,4 +1,4 @@
1
- import Graphic from 'esri/Graphic';
1
+ import Graphic from '@arcgis/core/Graphic';
2
2
 
3
3
  declare function GraphicsBuilder(): {
4
4
  createGraphic: ({ geometry, symbolLookupStrategy, context, attributes }: {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "graphics",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,6 +1,6 @@
1
- import Collection from 'esri/core/Collection';
2
- import Graphic from 'esri/Graphic';
3
- import esriSymbol from 'esri/symbols/Symbol';
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
- * [esri/Symbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html)
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>;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "highlights",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "integration-map",
3
- "version": "4.19.3-SNAPSHOT",
3
+ "version": "4.20.0-PRE-2",
4
4
  "types": ""
5
5
  }