@conterra/ct-mapapps-typings 4.20.1 → 4.20.2-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 (230) hide show
  1. package/agssearch/api.d.ts +2 -2
  2. package/agssearch/package.json +1 -1
  3. package/apprt/Bundle.d.ts +1 -1
  4. package/apprt/EnvironmentRuleMatcher.d.ts +2 -1
  5. package/apprt/api/index.d.ts +1 -0
  6. package/apprt/api/internal.d.ts +2 -2
  7. package/apprt/launch/BundleController.d.ts +4 -2
  8. package/apprt/launch/Launcher.d.ts +23 -3
  9. package/apprt/launch/layer-min.d.ts +1 -1
  10. package/apprt/launch/layer.d.ts +1 -1
  11. package/apprt/package.json +1 -1
  12. package/apprt/semverrange.d.ts +2 -1
  13. package/apprt/support/ServiceRegistrations.d.ts +3 -2
  14. package/apprt/tracker/BundleTracker.d.ts +2 -1
  15. package/apprt/tracker/ServiceTracker.d.ts +3 -2
  16. package/apprt-binding/Binding.d.ts +2 -1
  17. package/apprt-binding/Transformers.d.ts +2 -1
  18. package/apprt-binding/package.json +1 -1
  19. package/apprt-core/AsyncTask.d.ts +2 -1
  20. package/apprt-core/Cancel.d.ts +2 -1
  21. package/apprt-core/CancelablePromise.d.ts +2 -1
  22. package/apprt-core/Events.d.ts +34 -27
  23. package/apprt-core/Exception.d.ts +2 -1
  24. package/apprt-core/InjectedReference.d.ts +2 -1
  25. package/apprt-core/Locale.d.ts +0 -1
  26. package/apprt-core/Logger.d.ts +2 -1
  27. package/apprt-core/Mutable.d.ts +2 -1
  28. package/apprt-core/Observers.d.ts +2 -1
  29. package/apprt-core/Promise.d.ts +2 -1
  30. package/apprt-core/PropertyPath.d.ts +2 -1
  31. package/apprt-core/TaskExecutor.d.ts +2 -1
  32. package/apprt-core/TreeWalker.d.ts +2 -1
  33. package/apprt-core/Types.d.ts +3 -2
  34. package/apprt-core/clone.d.ts +2 -1
  35. package/apprt-core/comparators.d.ts +2 -4
  36. package/apprt-core/config.d.ts +9 -8
  37. package/apprt-core/freeze.d.ts +2 -1
  38. package/apprt-core/join.d.ts +2 -1
  39. package/apprt-core/load-css.d.ts +2 -1
  40. package/apprt-core/load-js.d.ts +3 -2
  41. package/apprt-core/package.json +1 -1
  42. package/apprt-core/parallel.d.ts +2 -1
  43. package/apprt-core/promise-utils.d.ts +2 -1
  44. package/apprt-core/string-replace.d.ts +2 -1
  45. package/apprt-dom/index.d.ts +2 -1
  46. package/apprt-dom/package.json +1 -1
  47. package/apprt-fetch/index.d.ts +3 -2
  48. package/apprt-fetch/package.json +1 -1
  49. package/apprt-streams/Stream.d.ts +1 -1
  50. package/apprt-streams/package.json +1 -1
  51. package/apprt-tokens/package.json +1 -1
  52. package/apprt-vue/package.json +1 -1
  53. package/apprt-vuetify/RegisterVuetify.d.ts +1 -1
  54. package/apprt-vuetify/components/copyText.d.ts +8 -0
  55. package/apprt-vuetify/package.json +1 -1
  56. package/coordinateconversion/api.d.ts +182 -0
  57. package/coordinateconversion/package.json +5 -0
  58. package/coordinatetransformer/api/CoordinateTransformer.d.ts +6 -4
  59. package/coordinatetransformer/api/ProjectionStore.d.ts +4 -2
  60. package/coordinatetransformer/api/TransformationProvider.d.ts +6 -4
  61. package/coordinatetransformer/api/TransformerStrategy.d.ts +4 -2
  62. package/coordinatetransformer/api/index.d.ts +6 -4
  63. package/coordinatetransformer/package.json +1 -1
  64. package/ct/async.d.ts +1 -1
  65. package/ct/mapping/geometry.d.ts +6 -6
  66. package/ct/package.json +1 -1
  67. package/ct/tools/Tool.d.ts +300 -2
  68. package/dataform/package.json +1 -1
  69. package/dataview/package.json +1 -1
  70. package/domains-system/package.json +1 -1
  71. package/editing/api.d.ts +5 -15
  72. package/editing/package.json +1 -1
  73. package/esri-widgets/EsriDijit.d.ts +2 -1
  74. package/esri-widgets/package.json +1 -1
  75. package/geojson/api.d.ts +6 -6
  76. package/geojson/package.json +1 -1
  77. package/geometryservice/api.d.ts +15 -15
  78. package/geometryservice/package.json +1 -1
  79. package/graphics/GraphicsBuilder.d.ts +1 -1
  80. package/graphics/package.json +1 -1
  81. package/highlights/api.d.ts +4 -4
  82. package/highlights/package.json +1 -1
  83. package/integration-map/package.json +1 -1
  84. package/managementlayout/package.json +1 -1
  85. package/map-actions/api.d.ts +2 -2
  86. package/map-actions/package.json +1 -1
  87. package/map-basemaps-api/BasemapItem.d.ts +2 -9
  88. package/map-basemaps-api/BasemapsModel.d.ts +1 -1
  89. package/map-basemaps-api/api.d.ts +1 -1
  90. package/map-basemaps-api/package.json +1 -1
  91. package/map-config-api/api.d.ts +38 -38
  92. package/map-config-api/package.json +1 -1
  93. package/map-init/api.d.ts +1 -1
  94. package/map-init/package.json +1 -1
  95. package/map-widget/Constraints.d.ts +16 -11
  96. package/map-widget/LayerObserver.d.ts +7 -6
  97. package/map-widget/LayerTraverser.d.ts +7 -6
  98. package/map-widget/MapWidgetFactory.d.ts +17 -11
  99. package/map-widget/MapWidgetModel.d.ts +16 -11
  100. package/map-widget/Navigation.d.ts +9 -2
  101. package/map-widget/ViewReadyWatcher.d.ts +18 -12
  102. package/map-widget/__internal__/{DTPbI1Aa.d.ts → ChgqPGgf.d.ts} +54 -10
  103. package/map-widget/api/BaseTypes.d.ts +6 -0
  104. package/map-widget/api/Constraints.d.ts +16 -11
  105. package/map-widget/api/MapWidget.d.ts +16 -11
  106. package/map-widget/api/MapWidgetFactory.d.ts +19 -14
  107. package/map-widget/api/MapWidgetModel.d.ts +16 -11
  108. package/map-widget/api/MapWidgetRegistration.d.ts +17 -12
  109. package/map-widget/api/Navigation.d.ts +15 -2
  110. package/map-widget/api/SrsChangeService.d.ts +16 -11
  111. package/map-widget/api/VisibilityState.d.ts +109 -0
  112. package/map-widget/api/index.d.ts +17 -12
  113. package/map-widget/package.json +1 -1
  114. package/mapdraw-api/api.d.ts +3 -3
  115. package/mapdraw-api/package.json +1 -1
  116. package/mapnavigation/package.json +1 -1
  117. package/maptips/api.d.ts +2 -2
  118. package/maptips/package.json +1 -1
  119. package/measurement-2d/api.d.ts +3 -2
  120. package/measurement-2d/package.json +1 -1
  121. package/measurement-3d/api.d.ts +1 -1
  122. package/measurement-3d/package.json +1 -1
  123. package/package.json +6 -6
  124. package/parametermanager/package.json +1 -1
  125. package/popups/Action.d.ts +7 -7
  126. package/popups/BaseAction.d.ts +10 -9
  127. package/popups/ContentUpdateProxy.d.ts +5 -4
  128. package/popups/api.d.ts +6 -5
  129. package/popups/package.json +1 -1
  130. package/portal-security/api.d.ts +1 -1
  131. package/portal-security/package.json +1 -1
  132. package/result-api/__internal__/{Bnw4PH_u.d.ts → BGEg3fBn.d.ts} +38 -5
  133. package/result-api/api/actions.d.ts +3 -2
  134. package/result-api/api/formatting.d.ts +3 -2
  135. package/result-api/api/index.d.ts +3 -2
  136. package/result-api/api/model.d.ts +3 -2
  137. package/result-api/api/service.d.ts +9 -2
  138. package/result-api/api/ui.d.ts +3 -2
  139. package/result-api/package.json +1 -1
  140. package/search-api/api.d.ts +16 -2
  141. package/search-api/package.json +1 -1
  142. package/search-ui/api.d.ts +2 -1
  143. package/search-ui/package.json +1 -1
  144. package/selection-services/DrawingSpatialInputAction.d.ts +3 -2
  145. package/selection-services/SearchSource.d.ts +5 -4
  146. package/selection-services/SpatialInputAction.d.ts +3 -2
  147. package/selection-services/TolerancePointDrawingInputAction.d.ts +1 -1
  148. package/selection-services/api/index.d.ts +1 -1
  149. package/selection-services/package.json +1 -1
  150. package/store-api/ComplexQuery.d.ts +3 -2
  151. package/store-api/InMemoryStore.d.ts +6 -5
  152. package/store-api/QueryExecution.d.ts +2 -1
  153. package/store-api/QueryExecutions.d.ts +3 -2
  154. package/store-api/QueryResults.d.ts +1 -3
  155. package/store-api/SpatialQuery.d.ts +3 -2
  156. package/store-api/api/ComplexQueryLang.d.ts +1 -1
  157. package/store-api/api/Store.d.ts +2 -10
  158. package/store-api/api/index.d.ts +1 -1
  159. package/store-api/package.json +1 -1
  160. package/store-api/rest/BaseRestStore.d.ts +3 -2
  161. package/store-api/rest/BaseWriteableRestStore.d.ts +1 -1
  162. package/store-api/rest/ComplexQueryToSQL.d.ts +1 -1
  163. package/store-api/rest/ComplexQueryToSolrQL.d.ts +3 -2
  164. package/store-api/rest/RQLStore.d.ts +1 -1
  165. package/store-api/rest/SQLStore.d.ts +1 -1
  166. package/store-api/utils.d.ts +2 -6
  167. package/system/api/internal.d.ts +1 -1
  168. package/system/package.json +1 -1
  169. package/system/user/Authentication.d.ts +3 -2
  170. package/system/user/Authorization.d.ts +2 -1
  171. package/system/user/User.d.ts +2 -1
  172. package/templatelayout/package.json +1 -1
  173. package/test-utils/package.json +1 -1
  174. package/test-utils/waitFor.d.ts +2 -1
  175. package/theme-tester/package.json +1 -1
  176. package/toc/api/Action.d.ts +4 -4
  177. package/toc/api/Item.d.ts +5 -5
  178. package/toc/api/StateChecker.d.ts +4 -4
  179. package/toc/api/index.d.ts +4 -4
  180. package/toc/package.json +1 -1
  181. package/toolrules/package.json +1 -1
  182. package/vuetify-component-overview/package.json +1 -1
  183. package/windowmanager/package.json +1 -1
  184. package/wizard/package.json +1 -1
  185. package/apprt-core/Observable.d.ts +0 -55
  186. package/apprt-request/api.d.ts +0 -340
  187. package/apprt-request/main.d.ts +0 -6
  188. package/apprt-request/package.json +0 -5
  189. package/apprt-request/request.d.ts +0 -8
  190. package/apprt-vue/directives/clipboard.d.ts +0 -15
  191. package/ct/api/omnisearch/ResultHandler.d.ts +0 -3
  192. package/ct/api/omnisearch/Store.d.ts +0 -3
  193. package/ct/request.d.ts +0 -17
  194. package/ct/ui/controls/mobile/DropDownMenu.d.ts +0 -3
  195. package/omnisearch/ActionsHandler.d.ts +0 -9
  196. package/omnisearch/DrawHandler.d.ts +0 -9
  197. package/omnisearch/DropDownMenu.d.ts +0 -3
  198. package/omnisearch/OmniSearchFactory.d.ts +0 -3
  199. package/omnisearch/OmniSearchModel.d.ts +0 -3
  200. package/omnisearch/RadioButton.d.ts +0 -3
  201. package/omnisearch/ResultCommand.d.ts +0 -9
  202. package/omnisearch/SearchUI.d.ts +0 -3
  203. package/omnisearch/SettingsWidget.d.ts +0 -3
  204. package/omnisearch/ZoomHandler.d.ts +0 -8
  205. package/omnisearch/package.json +0 -5
  206. package/resultcenter/ActionController.d.ts +0 -3
  207. package/resultcenter/BaseCommand.d.ts +0 -3
  208. package/resultcenter/DataModel.d.ts +0 -3
  209. package/resultcenter/DataModelBroadcaster.d.ts +0 -3
  210. package/resultcenter/DataModelMapController.d.ts +0 -25
  211. package/resultcenter/DataViewController.d.ts +0 -3
  212. package/resultcenter/DataViewStore.d.ts +0 -3
  213. package/resultcenter/ExportResultsCommand.d.ts +0 -12
  214. package/resultcenter/FeatureMapVisualizer.d.ts +0 -35
  215. package/resultcenter/GraphicResolverFactory.d.ts +0 -15
  216. package/resultcenter/OpenPopupService.d.ts +0 -5
  217. package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +0 -3
  218. package/resultcenter/RemoveResultsCommand.d.ts +0 -6
  219. package/resultcenter/RestrictQueriesToView.d.ts +0 -3
  220. package/resultcenter/ResultcenterToolRuleProcessor.d.ts +0 -3
  221. package/resultcenter/SearchStoreHandler.d.ts +0 -8
  222. package/resultcenter/SelectAllResultsCommand.d.ts +0 -11
  223. package/resultcenter/StoreEventReceiver.d.ts +0 -3
  224. package/resultcenter/StoreRegistration.d.ts +0 -3
  225. package/resultcenter/TriggerShowResultCenter.d.ts +0 -3
  226. package/resultcenter/VisualizationLayerResolver.d.ts +0 -13
  227. package/resultcenter/package.json +0 -5
  228. package/selection-resultcenter/CachingStore.d.ts +0 -229
  229. package/selection-resultcenter/MemoryStore.d.ts +0 -10
  230. package/selection-resultcenter/package.json +0 -5
@@ -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.20.1",
3
+ "version": "4.20.2-RC-1",
4
4
  "types": ""
5
5
  }
package/apprt/Bundle.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BundleManifestEntries, BundleManifestJson, BundleStates, BundleId, Bundle, BundleState, BundleStateName, SemVer, BundleContext, I18N, ServiceReference, BundleDependency, BundleHeaders } from './api/index.js';
1
+ import { BundleManifestEntries, BundleManifestJson, BundleStates, BundleId, Bundle, BundleState, BundleStateName, SemVer, BundleContext, BundleHeaders, I18N, ServiceReference, BundleDependency } from './api/index.js';
2
2
  import { InternalBundle, InternalBundleController, InternalBundleContext } from './api/internal.js';
3
3
  import 'apprt-core/Types';
4
4
 
@@ -46,4 +46,5 @@ declare function createEnvironmentRuleMatcher(opts: {
46
46
  };
47
47
  }): EnvironmentRuleMatcher;
48
48
 
49
- export { type EnvironmentRuleMatcher, type ORIENTATION, createEnvironmentRuleMatcher as default };
49
+ export { createEnvironmentRuleMatcher as default };
50
+ export type { EnvironmentRuleMatcher, ORIENTATION };
@@ -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
  }
@@ -1,4 +1,4 @@
1
- import { ServiceRegistration, Bundle, ServiceReference, Filter, BundleContext, BundleState, I18N, Framework, BundleId, BundleManifestJson, ServiceInstance, ServiceProperties, BundleEventListener, EventHandle, FrameworkEventListener, ServiceEventListener, ExecutionEnvironment, FrameworkEvent, ServiceEvent, AppConfigJson, BundleManifestJson3x } from './index.js';
1
+ import { AppConfigJson, BundleManifestJson, BundleManifestJson3x, I18N, Filter, BundleId, Bundle, Framework, ServiceReference, ServiceInstance, ServiceProperties, ServiceRegistration, BundleEventListener, EventHandle, FrameworkEventListener, ServiceEventListener, ExecutionEnvironment, FrameworkEvent, ServiceEvent, BundleState, BundleContext } from './index.js';
2
2
  import 'apprt-core/Types';
3
3
 
4
4
  interface InternalServiceRegistration extends ServiceRegistration {
@@ -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;
@@ -1,10 +1,11 @@
1
1
  import { I18N, Filter, BundleId, BundleManifestJson, Framework, Bundle, FrameworkEvent, ServiceEvent, ServiceInstance, ServiceProperties, ServiceRegistration, ServiceReference, BundleEventListener, EventHandle, FrameworkEventListener, ServiceEventListener, ExecutionEnvironment } from '../api/index.js';
2
- import { Statistics, InternalBundleController, InternalBundle, InternalFramework } from '../api/internal.js';
2
+ import { InternalBundleController, Statistics, InternalBundle, InternalFramework } from '../api/internal.js';
3
3
  import 'apprt-core/Types';
4
4
 
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,4 +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 { type BundleControllerConstructorOptions, bind, BundleControllerImpl as default };
81
+ export { bind, BundleControllerImpl as default, setChangeRequire };
82
+ export type { BundleControllerConstructorOptions };
@@ -1,5 +1,5 @@
1
- import { LocationDefinition, Launcher, 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;
@@ -69,4 +88,5 @@ declare class LauncherImpl implements Launcher {
69
88
  private _queryParams;
70
89
  }
71
90
 
72
- export { type LauncherConstructorOptions, LauncherImpl as default };
91
+ export { LauncherImpl as default };
92
+ export type { LauncherConstructorOptions };
@@ -1,2 +1,2 @@
1
1
 
2
- export { }
2
+ export { };
@@ -1,2 +1,2 @@
1
1
 
2
- export { }
2
+ export { };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt",
3
- "version": "4.20.1",
3
+ "version": "4.20.2-RC-1",
4
4
  "types": ""
5
5
  }
@@ -89,4 +89,5 @@ interface BundleRange {
89
89
  }
90
90
  declare function parseBundleRange(nameWithRange: string): BundleRange;
91
91
 
92
- export { type BundleRange, semverrange as default, parseBundleRange };
92
+ export { semverrange as default, parseBundleRange };
93
+ export type { BundleRange };
@@ -1,4 +1,4 @@
1
- import { ServiceProperties, BundleContext } from '../api/index.js';
1
+ import { BundleContext, ServiceProperties } from '../api/index.js';
2
2
  import 'apprt-core/Types';
3
3
 
4
4
  interface ServiceRegistrationItem<T = unknown> {
@@ -14,4 +14,5 @@ interface ServiceRegistrations {
14
14
  }
15
15
  declare function Factory(bCtx: BundleContext): ServiceRegistrations;
16
16
 
17
- export { type ServiceRegistrationItem, type ServiceRegistrations, Factory as default };
17
+ export { Factory as default };
18
+ export type { ServiceRegistrationItem, ServiceRegistrations };
@@ -34,4 +34,5 @@ interface BundleTrackerOptions<ObjectType> {
34
34
  }
35
35
  declare function createBundleTracker<ObjectType = Bundle>(opts: BundleTrackerOptions<ObjectType>): BundleTracker<ObjectType>;
36
36
 
37
- export { type BundleTracker, type BundleTrackerCustomizer, type BundleTrackerOptions, createBundleTracker, createBundleTracker as default };
37
+ export { createBundleTracker, createBundleTracker as default };
38
+ export type { BundleTracker, BundleTrackerCustomizer, BundleTrackerOptions };
@@ -1,4 +1,4 @@
1
- import { ServiceReference, ServiceEvent, BundleContext } from '../api/index.js';
1
+ import { BundleContext, ServiceReference, ServiceEvent } from '../api/index.js';
2
2
  import 'apprt-core/Types';
3
3
 
4
4
  interface ServiceTrackerCustomizer<ServiceType> {
@@ -39,4 +39,5 @@ interface ServiceTracker<ServiceType> {
39
39
  }
40
40
  declare function createServiceTracker<ServiceType>(opts: ServiceTrackerOptions<ServiceType>): ServiceTracker<ServiceType>;
41
41
 
42
- export { type ServiceTracker, type ServiceTrackerCustomizer, type ServiceTrackerOptions, createServiceTracker, createServiceTracker as default };
42
+ export { createServiceTracker, createServiceTracker as default };
43
+ export type { ServiceTracker, ServiceTrackerCustomizer, ServiceTrackerOptions };
@@ -308,4 +308,5 @@ interface Binding<LeftPropName extends PropertyName = string, RightPropName exte
308
308
  */
309
309
  declare const Binding: Factory;
310
310
 
311
- export { type Bindable, type BindableInterface, Binding, type Context, type ConvertFunction, type Factory, type PropertyName, type WatchCallback, type WatchHandle, Binding as default };
311
+ export { Binding, Binding as default };
312
+ export type { Bindable, BindableInterface, Context, ConvertFunction, Factory, PropertyName, WatchCallback, WatchHandle };
@@ -122,4 +122,5 @@ declare function instance(callback?: Transformer): Transformer;
122
122
  */
123
123
  declare function prop(name: string, callback?: Transformer): Transformer;
124
124
 
125
- export { type Transformer, type TransformerWithElse, debounce, debounceOrCancel, deferOrCancel, ifDefined, ifTargetNotEqualsAlmost, instance, prop };
125
+ export { debounce, debounceOrCancel, deferOrCancel, ifDefined, ifTargetNotEqualsAlmost, instance, prop };
126
+ export type { Transformer, TransformerWithElse };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-binding",
3
- "version": "4.20.1",
3
+ "version": "4.20.2-RC-1",
4
4
  "types": ""
5
5
  }
@@ -54,4 +54,5 @@ declare function createTask<Args extends any[], Result>(callback: (...args: Args
54
54
  */
55
55
  declare function createTask(): Task<[], void>;
56
56
 
57
- export { type Task, createTask, createTask as default };
57
+ export { createTask, createTask as default };
58
+ export type { Task };
@@ -44,4 +44,5 @@ declare const Cancel: CancelConstructor;
44
44
  */
45
45
  declare function isCancellationError(error: any): boolean;
46
46
 
47
- export { Cancel, type CancelConstructor, Cancel as default, isCancellationError };
47
+ export { Cancel, Cancel as default, isCancellationError };
48
+ export type { CancelConstructor };
@@ -45,4 +45,5 @@ declare class CancelablePromise<T> extends ExtendedPromise<T> {
45
45
  static cancelable<T>(promise: PromiseLike<T>): CancelablePromise<T>;
46
46
  }
47
47
 
48
- export { CancelablePromise, type CancelablePromiseExecutor, CancelablePromise as default };
48
+ export { CancelablePromise, CancelablePromise as default };
49
+ export type { CancelablePromiseExecutor };
@@ -20,12 +20,42 @@ interface EventedConstructor {
20
20
  /** Creates a new Evented instance. */
21
21
  new <Events>(): Evented<Events>;
22
22
  }
23
+ /** The signature of {@link Evented | Evented's} `on(...)` method. */
24
+ interface EventedOn<Events> {
25
+ /**
26
+ * Register event listener for specific events.
27
+ *
28
+ * @param eventName name of the event
29
+ * @param callback the event handler callback will be invoked when the event has been emitted
30
+ * @returns a handle to unregister from the event
31
+ */
32
+ <Name extends EventNames<Events>>(eventName: Name, callback: EventCallback<Events[Name]>): EventHandle;
33
+ /**
34
+ * Register event listener for any event.
35
+ *
36
+ * @param eventName must be `"*"` for this overload
37
+ * @param callback the event handler callback will be invoked when any event has been emitted
38
+ * @returns a handle to unregister from the events
39
+ */
40
+ (eventName: "*", callback: EventCallback<Events[EventNames<Events>]>): EventHandle;
41
+ /**
42
+ * Register event listener for the events listed in `eventName`.
43
+ * Comma separated event names are possible, for example `"eventA,eventB"`.
44
+ *
45
+ * @param eventName the event name or list of names
46
+ * @param callback the event handler callback
47
+ * @returns a handle to unregister from the event(s)
48
+ */
49
+ (eventName: string | string[], callback: EventCallback<unknown>): EventHandle;
50
+ }
23
51
  /**
24
52
  * Like `Evented`, but only specifies the `on` function.
25
53
  * This is useful if clients of a class should not be able to invoke the `emit()` function
26
54
  * themselves.
27
55
  */
28
- type EventSource<Events> = Pick<Evented<Events>, "on">;
56
+ interface EventSource<Events> {
57
+ on: EventedOn<Events>;
58
+ }
29
59
  /**
30
60
  * A helper object that establishes TypeScript support for arbitrary event targets.
31
61
  *
@@ -223,31 +253,7 @@ declare function cleanup(target: any): void;
223
253
  * ```
224
254
  */
225
255
  interface Evented<Events> {
226
- /**
227
- * Register event listener for specific events.
228
- *
229
- * @param eventName name of the event
230
- * @param callback the event handler callback will be invoked when the event has been emitted
231
- * @returns a handle to unregister from the event
232
- */
233
- on<Name extends EventNames<Events>>(eventName: Name, callback: EventCallback<Events[Name]>): EventHandle;
234
- /**
235
- * Register event listener for any event.
236
- *
237
- * @param eventName must be `"*"` for this overload
238
- * @param callback the event handler callback will be invoked when any event has been emitted
239
- * @returns a handle to unregister from the events
240
- */
241
- on(eventName: "*", callback: EventCallback<Events[EventNames<Events>]>): EventHandle;
242
- /**
243
- * Register event listener for the events listed in `eventName`.
244
- * Comma separated event names are possible, for example `"eventA,eventB"`.
245
- *
246
- * @param eventName the event name or list of names
247
- * @param callback the event handler callback
248
- * @returns a handle to unregister from the event(s)
249
- */
250
- on(eventName: string | string[], callback: EventCallback<unknown>): EventHandle;
256
+ on: EventedOn<Events>;
251
257
  /**
252
258
  * Emits an event.
253
259
  * All associated event listeners registered for the given event name will be invoked asynchronously.
@@ -281,4 +287,5 @@ declare const Evented: EventedConstructor;
281
287
  */
282
288
  declare function EventedMixin<BaseType extends Constructor<any, any>>(Base: BaseType): Constructor<InstanceType<BaseType> & Evented<any>, ConstructorParameters<BaseType>>;
283
289
 
284
- export { type EventCallback, type EventHandle, type EventNames, type EventSource, Evented, type EventedConstructor, EventedMixin, EventedMixin as Evented_Mixin, type TypedEvents, cleanup, createTypedEvents, emit, emitSync, on };
290
+ export { Evented, EventedMixin, EventedMixin as Evented_Mixin, cleanup, createTypedEvents, emit, emitSync, on };
291
+ export type { EventCallback, EventHandle, EventNames, EventSource, EventedConstructor, EventedOn, TypedEvents };
@@ -115,4 +115,5 @@ interface ExceptionConstructor {
115
115
  notImplemented(message: string, cause?: Error | Exception): Exception;
116
116
  }
117
117
 
118
- export { type BaseExceptionConstructor, Exception, type ExceptionConstructor, ExceptionNames, Exception as default, registerTypes };
118
+ export { Exception, ExceptionNames, Exception as default, registerTypes };
119
+ export type { BaseExceptionConstructor, ExceptionConstructor };
@@ -6,4 +6,5 @@
6
6
  type InjectedReference<T> = T | undefined;
7
7
  declare const _null: null;
8
8
 
9
- export { type InjectedReference, _null };
9
+ export { _null };
10
+ export type { InjectedReference };
@@ -8,7 +8,6 @@ declare class Locale {
8
8
  /**
9
9
  * Creates a Locale
10
10
  *
11
- * @constructs
12
11
  * @param lang The language or the full lang-country string.
13
12
  * @param country The country.
14
13
  */
@@ -249,4 +249,5 @@ declare function setWriter(newWriter?: Writer): void;
249
249
  */
250
250
  declare function readConfigFromString(loggingConfStr?: string): [string, LogLevel][];
251
251
 
252
- export { type LogLevel, type Logger, type Writer, type WriterMethod, getLogConfig, getLogLevel, loggerForName, readConfigFromString, setLogConfig, setLogLevel, setWriter };
252
+ export { getLogConfig, getLogLevel, loggerForName, readConfigFromString, setLogConfig, setLogLevel, setWriter };
253
+ export type { LogLevel, Logger, Writer, WriterMethod };
@@ -296,4 +296,5 @@ declare function properties(clazzOrObject: any, definitions: Record<string | sym
296
296
  */
297
297
  declare function construct<T>(params: Record<string, unknown>, self: T): T;
298
298
 
299
- export { Mutable, type MutableConstructor, type MutableDefinition, type PropType, type Properties, type PropertyName, type WatchCallback, type WatchEvent, type WatchHandle, construct, declare, declare as default, notifyChange, properties, propertyNames, toObject };
299
+ export { Mutable, construct, declare, declare as default, notifyChange, properties, propertyNames, toObject };
300
+ export type { MutableConstructor, MutableDefinition, PropType, Properties, PropertyName, WatchCallback, WatchEvent, WatchHandle };
@@ -191,4 +191,5 @@ interface ObserverOptions {
191
191
  */
192
192
  declare function createObservers(options?: ObserverOptions): Observers;
193
193
 
194
- export { type Handle, type HandleMethods, type ObserverGroup, type ObserverOptions, type Observers, type RebindCallback, createObservers, createObservers as default };
194
+ export { createObservers, createObservers as default };
195
+ export type { Handle, HandleMethods, ObserverGroup, ObserverOptions, Observers, RebindCallback };
@@ -180,4 +180,5 @@ interface LegacyDojoDeferred {
180
180
  toString(): string;
181
181
  }
182
182
 
183
- export { ExtendedPromise, type StateQueryable, ExtendedPromise as default };
183
+ export { ExtendedPromise, ExtendedPromise as default };
184
+ export type { StateQueryable };
@@ -54,4 +54,5 @@ interface PathAccessor {
54
54
  */
55
55
  declare function PropertyPath(path?: string | symbol): PathAccessorFactory;
56
56
 
57
- export { type PathAccessor, type PathAccessorFactory, PropertyPath, PropertyPath as default };
57
+ export { PropertyPath, PropertyPath as default };
58
+ export type { PathAccessor, PathAccessorFactory };
@@ -57,4 +57,5 @@ declare class TaskExecutor {
57
57
  remove(task: Partial<Task> | (() => void)): void;
58
58
  }
59
59
 
60
- export { type Task, TaskExecutor, TaskExecutor as default };
60
+ export { TaskExecutor, TaskExecutor as default };
61
+ export type { Task };
@@ -109,4 +109,5 @@ interface TreeWalkerInterface<NodeType extends Node> {
109
109
  */
110
110
  declare function TreeWalker<NodeType extends Node = Node>(options?: TreeWalkerOptions<NodeType>): TreeWalkerInterface<NodeType>;
111
111
 
112
- export { type Context, type Node, TreeWalker, type TreeWalkerInterface, type TreeWalkerOptions, VisitCodes, type Visitor, TreeWalker as default };
112
+ export { TreeWalker, VisitCodes, TreeWalker as default };
113
+ export type { Context, Node, TreeWalkerInterface, TreeWalkerOptions, Visitor };
@@ -100,7 +100,7 @@ type WatchCallback<NameType, ValueType> = (event: WatchEvent<NameType, ValueType
100
100
  * It matches the apprt-core/Mutable watch interface.
101
101
  */
102
102
  interface Watchable<WatchableProperties> {
103
- watch<Name extends keyof WatchableProperties>(name: Name, callBack: WatchCallback<Name, WatchableProperties[Name]>): Handle;
103
+ watch<Name extends keyof WatchableProperties>(name: Name, callback: WatchCallback<Name, WatchableProperties[Name]>): Handle;
104
104
  }
105
105
  /**
106
106
  * Helper type to express a set of statically known values (with autocompletion) that can still be extended.
@@ -126,4 +126,5 @@ type ExtensibleUnion<Values extends BaseType, BaseType extends number | string>
126
126
  type Constructor<T, Args extends unknown[] = unknown[]> = new (...args: Args) => T;
127
127
  declare const _default: null;
128
128
 
129
- export { type Constructor, type DeepReadonly, type DeepWritable, type Equal, type EventCallback, type EventEmitter, type EventSource, type ExtensibleUnion, type Handle, type Primitive, type RequiredProps, type TupleKeys, type WatchCallback, type WatchEvent, type Watchable, type Writable, _default as default };
129
+ export { _default as default };
130
+ export type { Constructor, DeepReadonly, DeepWritable, Equal, EventCallback, EventEmitter, EventSource, ExtensibleUnion, Handle, Primitive, RequiredProps, TupleKeys, WatchCallback, WatchEvent, Watchable, Writable };
@@ -94,4 +94,5 @@ type TransformFunc = (value: any, ctx: TransformContext) => any | symbol;
94
94
  */
95
95
  declare function transform<Input = any, Output = Input>(value: Input, valueTransformer?: TransformFunc): Output;
96
96
 
97
- export { type TransformContext, type TransformFunc, clone, clone as default, transform };
97
+ export { clone, clone as default, transform };
98
+ export type { TransformContext, TransformFunc };
@@ -16,7 +16,6 @@ type Comparator<T> = (a: T, b: T) => number;
16
16
  * If such things are compared and they are not equal, then the first argument is always treated as smaller.
17
17
  * e.g. `DEFAULT_COMPARE({}, undefined) === DEFAULT_COMPARE(undefined, {}) === -1`
18
18
  *
19
- * @implements Comparator
20
19
  */
21
20
  declare const DEFAULT_COMPARE: (a: any, b: any) => number;
22
21
  /**
@@ -31,7 +30,6 @@ declare const TYPE_BASED_COMPARE: (a: any, b: any) => number;
31
30
  * Compares strings while treating uppercase and lowercase characters as equal.
32
31
  * This methods will throw an error if the objects are no strings.
33
32
  *
34
- * @implements Comparator
35
33
  */
36
34
  declare const IGNORE_CASE: (a: any, b: any) => number;
37
35
  /**
@@ -71,7 +69,6 @@ interface Comparable<T> {
71
69
  /**
72
70
  * Compares objects using the compareTo function provided in the first object.
73
71
  * If the 'compareTo' function is not available then it falls back to the DEFAULT_COMPARE.
74
- * @implements Comparator
75
72
  * @example _Usage with a class_
76
73
  * ```
77
74
  * import { BY_COMPARE_TO, DEFAULT_COMPARE } from "apprt-core/comparators"
@@ -199,4 +196,5 @@ keyof ObjectType | AllFieldSpecObjects<ObjectType, keyof ObjectType>;
199
196
  */
200
197
  declare function compareFields<ObjectType>(...fields: FieldSpec<ObjectType>[]): Comparator<ObjectType>;
201
198
 
202
- export { BY_COMPARE_TO, type Comparable, type Comparator, DEFAULT_COMPARE, type FieldSpecObject, IGNORE_CASE, TYPE_BASED_COMPARE, compareFields, createStringComparator, createStringWithNumberPartsComparator };
199
+ export { BY_COMPARE_TO, DEFAULT_COMPARE, IGNORE_CASE, TYPE_BASED_COMPARE, compareFields, createStringComparator, createStringWithNumberPartsComparator };
200
+ export type { Comparable, Comparator, FieldSpecObject };
@@ -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": {
@@ -378,4 +378,5 @@ declare function unregisterEnvValue(key: EnvKey): boolean;
378
378
  */
379
379
  declare function setEnvValueInterceptor(interceptor?: Interceptor): void;
380
380
 
381
- export { type ConfigKey, type EnvKey, type Interceptor, LazyValues, type RegisterOptions, type SupportedValueTypes, type ValueOrValueProvider, type ValueProvider, type WellknownConfigKeys, type WellknownEnvKeys, configValue, envValue, registerConfigValue, registerEnvValue, setConfigValueInterceptor, setEnvValueInterceptor, unregisterConfigValue, unregisterEnvValue };
381
+ export { LazyValues, configValue, envValue, registerConfigValue, registerEnvValue, setConfigValueInterceptor, setEnvValueInterceptor, unregisterConfigValue, unregisterEnvValue };
382
+ export type { ConfigKey, EnvKey, Interceptor, RegisterOptions, SupportedValueTypes, ValueOrValueProvider, ValueProvider, WellknownConfigKeys, WellknownEnvKeys };
@@ -22,4 +22,5 @@ type DeepFrozen<T> = T extends Record<string | symbol, any> | any[] ? {
22
22
  */
23
23
  declare function freeze<T>(obj: T): DeepFrozen<T>;
24
24
 
25
- export { type DeepFrozen, freeze as default, freeze };
25
+ export { freeze as default, freeze };
26
+ export type { DeepFrozen };
@@ -42,4 +42,5 @@ interface JoinError {
42
42
  */
43
43
  declare function join<T>(promises: (T | PromiseLike<T>)[]): CancelablePromise<T[]>;
44
44
 
45
- export { type JoinError, join as default, join };
45
+ export { join as default, join };
46
+ export type { JoinError };
@@ -43,4 +43,5 @@ interface LoadCssResult {
43
43
  declare function loadCss(hrefs: string[], timeout?: number): CancelablePromise<LoadCssResult[]>;
44
44
  declare function loadCss(href: string, timeout?: number): CancelablePromise<LoadCssResult>;
45
45
 
46
- export { type LoadCssResult, loadCss as default, loadCss };
46
+ export { loadCss as default, loadCss };
47
+ export type { LoadCssResult };
@@ -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
  * ```
@@ -40,4 +40,5 @@ interface LoadJsOptions {
40
40
  */
41
41
  declare function loadJS(clazzes?: string | Array<string>, options?: LoadJsOptions): ExtendedPromise<any>;
42
42
 
43
- export { type LoadJsOptions, loadJS as default, loadJS };
43
+ export { loadJS as default, loadJS };
44
+ export type { LoadJsOptions };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-core",
3
- "version": "4.20.1",
3
+ "version": "4.20.2-RC-1",
4
4
  "types": ""
5
5
  }
@@ -20,4 +20,5 @@ interface RunParallelOptions {
20
20
  */
21
21
  declare function runParallel<T>(tasks: Task<T>[], options?: RunParallelOptions): Promise<T>[];
22
22
 
23
- export { type RunParallelOptions, type Task, runParallel };
23
+ export { runParallel };
24
+ export type { RunParallelOptions, Task };
@@ -76,4 +76,5 @@ declare class LazyValue<T> {
76
76
  get value(): T | undefined;
77
77
  }
78
78
 
79
- export { LazyValue, type ManualPromise, createManualPromise };
79
+ export { LazyValue, createManualPromise };
80
+ export type { ManualPromise };
@@ -112,4 +112,5 @@ declare function customReplacer(options?: ReplaceOptions): StringReplacer;
112
112
  */
113
113
  declare const replace: StringReplacer;
114
114
 
115
- export { type ReplaceOptions, type StringReplacer, type ValueLookup, type ValueResolver, customReplacer, replace as default, replace };
115
+ export { customReplacer, replace as default, replace };
116
+ export type { ReplaceOptions, StringReplacer, ValueLookup, ValueResolver };
@@ -165,4 +165,5 @@ declare function getMarginSize(node: HTMLElement): MarginSize;
165
165
  */
166
166
  declare function setMarginBox(node: HTMLElement, marginBox: Partial<MarginBox>): void;
167
167
 
168
- export { type CreateOptions, type CssClasses, type ElementTag, type MarginBox, type MarginSize, type NodePosition, type NodeProperties, addClass, applyClass, createElement, destroyElement, getMarginBox, getMarginSize, insertElement, removeClass, setMarginBox, toggleClass };
168
+ export { addClass, applyClass, createElement, destroyElement, getMarginBox, getMarginSize, insertElement, removeClass, setMarginBox, toggleClass };
169
+ export type { CreateOptions, CssClasses, ElementTag, MarginBox, MarginSize, NodePosition, NodeProperties };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-dom",
3
- "version": "4.20.1",
3
+ "version": "4.20.2-RC-1",
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)
@@ -536,4 +536,5 @@ declare function createCustomFetch(options: {
536
536
  */
537
537
  declare function getGlobalImpl(): CustomFetch;
538
538
 
539
- export { type AfterInterceptorData, type ApprtRequestInit, type ApprtRequestTarget, type BasicFetchFunction, type BeforeInterceptorData, type Config, ContentType, type CustomFetch, type Handle, type Interceptor, type InterceptorOptions, type ProxyMode, type ProxyRule, type ProxyUrlOptions, type TrustedServer, apprtFetch, apprtFetchJson, createCustomFetch, apprtFetch as fetch, getConfig, getGlobalImpl, getProxiedUrl };
539
+ export { ContentType, apprtFetch, apprtFetchJson, createCustomFetch, apprtFetch as fetch, getConfig, getGlobalImpl, getProxiedUrl };
540
+ export type { AfterInterceptorData, ApprtRequestInit, ApprtRequestTarget, BasicFetchFunction, BeforeInterceptorData, Config, CustomFetch, Handle, Interceptor, InterceptorOptions, ProxyMode, ProxyRule, ProxyUrlOptions, TrustedServer };