@conterra/ct-mapapps-typings 4.20.1 → 4.20.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.
- package/agssearch/api.d.ts +2 -2
- package/agssearch/package.json +1 -1
- package/apprt/Bundle.d.ts +1 -1
- package/apprt/EnvironmentRuleMatcher.d.ts +2 -1
- package/apprt/api/index.d.ts +1 -0
- package/apprt/api/internal.d.ts +2 -2
- package/apprt/launch/BundleController.d.ts +4 -2
- package/apprt/launch/Launcher.d.ts +23 -3
- package/apprt/launch/layer-min.d.ts +1 -1
- package/apprt/launch/layer.d.ts +1 -1
- package/apprt/package.json +1 -1
- package/apprt/semverrange.d.ts +2 -1
- package/apprt/support/ServiceRegistrations.d.ts +3 -2
- package/apprt/tracker/BundleTracker.d.ts +2 -1
- package/apprt/tracker/ServiceTracker.d.ts +3 -2
- package/apprt-binding/Binding.d.ts +2 -1
- package/apprt-binding/Transformers.d.ts +2 -1
- package/apprt-binding/package.json +1 -1
- package/apprt-core/AsyncTask.d.ts +2 -1
- package/apprt-core/Cancel.d.ts +2 -1
- package/apprt-core/CancelablePromise.d.ts +2 -1
- package/apprt-core/Events.d.ts +34 -27
- package/apprt-core/Exception.d.ts +2 -1
- package/apprt-core/InjectedReference.d.ts +2 -1
- package/apprt-core/Locale.d.ts +0 -1
- package/apprt-core/Logger.d.ts +2 -1
- package/apprt-core/Mutable.d.ts +2 -1
- package/apprt-core/Observers.d.ts +2 -1
- package/apprt-core/Promise.d.ts +2 -1
- package/apprt-core/PropertyPath.d.ts +2 -1
- package/apprt-core/TaskExecutor.d.ts +2 -1
- package/apprt-core/TreeWalker.d.ts +2 -1
- package/apprt-core/Types.d.ts +3 -2
- package/apprt-core/clone.d.ts +2 -1
- package/apprt-core/comparators.d.ts +2 -4
- package/apprt-core/config.d.ts +9 -8
- package/apprt-core/freeze.d.ts +2 -1
- package/apprt-core/join.d.ts +2 -1
- package/apprt-core/load-css.d.ts +2 -1
- package/apprt-core/load-js.d.ts +3 -2
- package/apprt-core/package.json +1 -1
- package/apprt-core/parallel.d.ts +2 -1
- package/apprt-core/promise-utils.d.ts +2 -1
- package/apprt-core/string-replace.d.ts +2 -1
- package/apprt-dom/index.d.ts +2 -1
- package/apprt-dom/package.json +1 -1
- package/apprt-fetch/index.d.ts +3 -2
- package/apprt-fetch/package.json +1 -1
- package/apprt-streams/Stream.d.ts +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/RegisterVuetify.d.ts +1 -1
- package/apprt-vuetify/components/copyText.d.ts +8 -0
- package/apprt-vuetify/package.json +1 -1
- package/coordinateconversion/api.d.ts +182 -0
- package/coordinateconversion/package.json +5 -0
- package/coordinatetransformer/api/CoordinateTransformer.d.ts +6 -4
- package/coordinatetransformer/api/ProjectionStore.d.ts +4 -2
- package/coordinatetransformer/api/TransformationProvider.d.ts +6 -4
- package/coordinatetransformer/api/TransformerStrategy.d.ts +4 -2
- package/coordinatetransformer/api/index.d.ts +6 -4
- package/coordinatetransformer/package.json +1 -1
- package/ct/async.d.ts +1 -1
- package/ct/mapping/geometry.d.ts +6 -6
- package/ct/package.json +1 -1
- package/ct/tools/Tool.d.ts +300 -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 +5 -15
- package/editing/package.json +1 -1
- package/esri-widgets/EsriDijit.d.ts +2 -1
- package/esri-widgets/package.json +1 -1
- package/geojson/api.d.ts +6 -6
- package/geojson/package.json +1 -1
- package/geometryservice/api.d.ts +15 -15
- package/geometryservice/package.json +1 -1
- package/graphics/GraphicsBuilder.d.ts +1 -1
- package/graphics/package.json +1 -1
- package/highlights/api.d.ts +4 -4
- package/highlights/package.json +1 -1
- package/integration-map/package.json +1 -1
- package/managementlayout/package.json +1 -1
- package/map-actions/api.d.ts +2 -2
- package/map-actions/package.json +1 -1
- package/map-basemaps-api/BasemapItem.d.ts +2 -9
- package/map-basemaps-api/BasemapsModel.d.ts +1 -1
- package/map-basemaps-api/api.d.ts +1 -1
- package/map-basemaps-api/package.json +1 -1
- package/map-config-api/api.d.ts +38 -38
- package/map-config-api/package.json +1 -1
- package/map-init/api.d.ts +1 -1
- package/map-init/package.json +1 -1
- package/map-widget/Constraints.d.ts +16 -11
- package/map-widget/LayerObserver.d.ts +7 -6
- package/map-widget/LayerTraverser.d.ts +7 -6
- package/map-widget/MapWidgetFactory.d.ts +17 -11
- package/map-widget/MapWidgetModel.d.ts +16 -11
- package/map-widget/Navigation.d.ts +9 -2
- package/map-widget/ViewReadyWatcher.d.ts +18 -12
- package/map-widget/__internal__/{DTPbI1Aa.d.ts → ChgqPGgf.d.ts} +54 -10
- package/map-widget/api/BaseTypes.d.ts +6 -0
- package/map-widget/api/Constraints.d.ts +16 -11
- package/map-widget/api/MapWidget.d.ts +16 -11
- package/map-widget/api/MapWidgetFactory.d.ts +19 -14
- package/map-widget/api/MapWidgetModel.d.ts +16 -11
- package/map-widget/api/MapWidgetRegistration.d.ts +17 -12
- package/map-widget/api/Navigation.d.ts +15 -2
- package/map-widget/api/SrsChangeService.d.ts +16 -11
- package/map-widget/api/VisibilityState.d.ts +109 -0
- package/map-widget/api/index.d.ts +17 -12
- package/map-widget/package.json +1 -1
- package/mapdraw-api/api.d.ts +3 -3
- package/mapdraw-api/package.json +1 -1
- package/mapnavigation/package.json +1 -1
- package/maptips/api.d.ts +2 -2
- package/maptips/package.json +1 -1
- package/measurement-2d/api.d.ts +3 -2
- package/measurement-2d/package.json +1 -1
- package/measurement-3d/api.d.ts +1 -1
- package/measurement-3d/package.json +1 -1
- package/package.json +6 -6
- package/parametermanager/package.json +1 -1
- package/popups/Action.d.ts +7 -7
- package/popups/BaseAction.d.ts +10 -9
- package/popups/ContentUpdateProxy.d.ts +5 -4
- package/popups/api.d.ts +6 -5
- package/popups/package.json +1 -1
- package/portal-security/api.d.ts +1 -1
- package/portal-security/package.json +1 -1
- package/result-api/__internal__/{Bnw4PH_u.d.ts → BGEg3fBn.d.ts} +38 -5
- package/result-api/api/actions.d.ts +3 -2
- package/result-api/api/formatting.d.ts +3 -2
- package/result-api/api/index.d.ts +3 -2
- package/result-api/api/model.d.ts +3 -2
- package/result-api/api/service.d.ts +9 -2
- package/result-api/api/ui.d.ts +3 -2
- package/result-api/package.json +1 -1
- package/search-api/api.d.ts +16 -2
- package/search-api/package.json +1 -1
- package/search-ui/api.d.ts +2 -1
- package/search-ui/package.json +1 -1
- package/selection-services/DrawingSpatialInputAction.d.ts +3 -2
- package/selection-services/SearchSource.d.ts +5 -4
- package/selection-services/SpatialInputAction.d.ts +3 -2
- package/selection-services/TolerancePointDrawingInputAction.d.ts +1 -1
- package/selection-services/api/index.d.ts +1 -1
- package/selection-services/package.json +1 -1
- package/store-api/ComplexQuery.d.ts +3 -2
- package/store-api/InMemoryStore.d.ts +6 -5
- package/store-api/QueryExecution.d.ts +2 -1
- package/store-api/QueryExecutions.d.ts +3 -2
- package/store-api/QueryResults.d.ts +1 -3
- package/store-api/SpatialQuery.d.ts +3 -2
- package/store-api/api/ComplexQueryLang.d.ts +1 -1
- package/store-api/api/Store.d.ts +2 -10
- package/store-api/api/index.d.ts +1 -1
- package/store-api/package.json +1 -1
- package/store-api/rest/BaseRestStore.d.ts +3 -2
- package/store-api/rest/BaseWriteableRestStore.d.ts +1 -1
- package/store-api/rest/ComplexQueryToSQL.d.ts +1 -1
- package/store-api/rest/ComplexQueryToSolrQL.d.ts +3 -2
- package/store-api/rest/RQLStore.d.ts +1 -1
- package/store-api/rest/SQLStore.d.ts +1 -1
- package/store-api/utils.d.ts +2 -6
- package/system/api/internal.d.ts +1 -1
- package/system/package.json +1 -1
- package/system/user/Authentication.d.ts +3 -2
- package/system/user/Authorization.d.ts +2 -1
- package/system/user/User.d.ts +2 -1
- package/templatelayout/package.json +1 -1
- package/test-utils/package.json +1 -1
- package/test-utils/waitFor.d.ts +2 -1
- package/theme-tester/package.json +1 -1
- package/toc/api/Action.d.ts +4 -4
- package/toc/api/Item.d.ts +5 -5
- package/toc/api/StateChecker.d.ts +4 -4
- package/toc/api/index.d.ts +4 -4
- package/toc/package.json +1 -1
- package/toolrules/package.json +1 -1
- package/vuetify-component-overview/package.json +1 -1
- package/windowmanager/package.json +1 -1
- package/wizard/package.json +1 -1
- package/apprt-core/Observable.d.ts +0 -55
- package/apprt-request/api.d.ts +0 -340
- package/apprt-request/main.d.ts +0 -6
- package/apprt-request/package.json +0 -5
- package/apprt-request/request.d.ts +0 -8
- package/apprt-vue/directives/clipboard.d.ts +0 -15
- package/ct/api/omnisearch/ResultHandler.d.ts +0 -3
- package/ct/api/omnisearch/Store.d.ts +0 -3
- package/ct/request.d.ts +0 -17
- package/ct/ui/controls/mobile/DropDownMenu.d.ts +0 -3
- package/omnisearch/ActionsHandler.d.ts +0 -9
- package/omnisearch/DrawHandler.d.ts +0 -9
- package/omnisearch/DropDownMenu.d.ts +0 -3
- package/omnisearch/OmniSearchFactory.d.ts +0 -3
- package/omnisearch/OmniSearchModel.d.ts +0 -3
- package/omnisearch/RadioButton.d.ts +0 -3
- package/omnisearch/ResultCommand.d.ts +0 -9
- package/omnisearch/SearchUI.d.ts +0 -3
- package/omnisearch/SettingsWidget.d.ts +0 -3
- package/omnisearch/ZoomHandler.d.ts +0 -8
- package/omnisearch/package.json +0 -5
- package/resultcenter/ActionController.d.ts +0 -3
- package/resultcenter/BaseCommand.d.ts +0 -3
- package/resultcenter/DataModel.d.ts +0 -3
- package/resultcenter/DataModelBroadcaster.d.ts +0 -3
- package/resultcenter/DataModelMapController.d.ts +0 -25
- package/resultcenter/DataViewController.d.ts +0 -3
- package/resultcenter/DataViewStore.d.ts +0 -3
- package/resultcenter/ExportResultsCommand.d.ts +0 -12
- package/resultcenter/FeatureMapVisualizer.d.ts +0 -35
- package/resultcenter/GraphicResolverFactory.d.ts +0 -15
- package/resultcenter/OpenPopupService.d.ts +0 -5
- package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +0 -3
- package/resultcenter/RemoveResultsCommand.d.ts +0 -6
- package/resultcenter/RestrictQueriesToView.d.ts +0 -3
- package/resultcenter/ResultcenterToolRuleProcessor.d.ts +0 -3
- package/resultcenter/SearchStoreHandler.d.ts +0 -8
- package/resultcenter/SelectAllResultsCommand.d.ts +0 -11
- package/resultcenter/StoreEventReceiver.d.ts +0 -3
- package/resultcenter/StoreRegistration.d.ts +0 -3
- package/resultcenter/TriggerShowResultCenter.d.ts +0 -3
- package/resultcenter/VisualizationLayerResolver.d.ts +0 -13
- package/resultcenter/package.json +0 -5
- package/selection-resultcenter/CachingStore.d.ts +0 -229
- package/selection-resultcenter/MemoryStore.d.ts +0 -10
- package/selection-resultcenter/package.json +0 -5
package/agssearch/api.d.ts
CHANGED
package/agssearch/package.json
CHANGED
package/apprt/Bundle.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BundleManifestEntries, BundleManifestJson, BundleStates, BundleId, Bundle, BundleState, BundleStateName, SemVer, BundleContext, I18N, ServiceReference, BundleDependency
|
|
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 {
|
|
49
|
+
export { createEnvironmentRuleMatcher as default };
|
|
50
|
+
export type { EnvironmentRuleMatcher, ORIENTATION };
|
package/apprt/api/index.d.ts
CHANGED
|
@@ -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
|
}
|
package/apprt/api/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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 {
|
|
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 {
|
|
81
|
+
export { bind, BundleControllerImpl as default, setChangeRequire };
|
|
82
|
+
export type { BundleControllerConstructorOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
91
|
+
export { LauncherImpl as default };
|
|
92
|
+
export type { LauncherConstructorOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|
package/apprt/launch/layer.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|
package/apprt/package.json
CHANGED
package/apprt/semverrange.d.ts
CHANGED
|
@@ -89,4 +89,5 @@ interface BundleRange {
|
|
|
89
89
|
}
|
|
90
90
|
declare function parseBundleRange(nameWithRange: string): BundleRange;
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { semverrange as default, parseBundleRange };
|
|
93
|
+
export type { BundleRange };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
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 {
|
|
37
|
+
export { createBundleTracker, createBundleTracker as default };
|
|
38
|
+
export type { BundleTracker, BundleTrackerCustomizer, BundleTrackerOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceReference, ServiceEvent
|
|
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 {
|
|
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 {
|
|
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 {
|
|
125
|
+
export { debounce, debounceOrCancel, deferOrCancel, ifDefined, ifTargetNotEqualsAlmost, instance, prop };
|
|
126
|
+
export type { Transformer, TransformerWithElse };
|
|
@@ -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 {
|
|
57
|
+
export { createTask, createTask as default };
|
|
58
|
+
export type { Task };
|
package/apprt-core/Cancel.d.ts
CHANGED
|
@@ -44,4 +44,5 @@ declare const Cancel: CancelConstructor;
|
|
|
44
44
|
*/
|
|
45
45
|
declare function isCancellationError(error: any): boolean;
|
|
46
46
|
|
|
47
|
-
export { Cancel,
|
|
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,
|
|
48
|
+
export { CancelablePromise, CancelablePromise as default };
|
|
49
|
+
export type { CancelablePromiseExecutor };
|
package/apprt-core/Events.d.ts
CHANGED
|
@@ -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
|
-
|
|
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 {
|
|
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 {
|
|
118
|
+
export { Exception, ExceptionNames, Exception as default, registerTypes };
|
|
119
|
+
export type { BaseExceptionConstructor, ExceptionConstructor };
|
package/apprt-core/Locale.d.ts
CHANGED
package/apprt-core/Logger.d.ts
CHANGED
|
@@ -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 {
|
|
252
|
+
export { getLogConfig, getLogLevel, loggerForName, readConfigFromString, setLogConfig, setLogLevel, setWriter };
|
|
253
|
+
export type { LogLevel, Logger, Writer, WriterMethod };
|
package/apprt-core/Mutable.d.ts
CHANGED
|
@@ -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,
|
|
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 {
|
|
194
|
+
export { createObservers, createObservers as default };
|
|
195
|
+
export type { Handle, HandleMethods, ObserverGroup, ObserverOptions, Observers, RebindCallback };
|
package/apprt-core/Promise.d.ts
CHANGED
|
@@ -54,4 +54,5 @@ interface PathAccessor {
|
|
|
54
54
|
*/
|
|
55
55
|
declare function PropertyPath(path?: string | symbol): PathAccessorFactory;
|
|
56
56
|
|
|
57
|
-
export {
|
|
57
|
+
export { PropertyPath, PropertyPath as default };
|
|
58
|
+
export type { PathAccessor, PathAccessorFactory };
|
|
@@ -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 {
|
|
112
|
+
export { TreeWalker, VisitCodes, TreeWalker as default };
|
|
113
|
+
export type { Context, Node, TreeWalkerInterface, TreeWalkerOptions, Visitor };
|
package/apprt-core/Types.d.ts
CHANGED
|
@@ -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,
|
|
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 {
|
|
129
|
+
export { _default as default };
|
|
130
|
+
export type { Constructor, DeepReadonly, DeepWritable, Equal, EventCallback, EventEmitter, EventSource, ExtensibleUnion, Handle, Primitive, RequiredProps, TupleKeys, WatchCallback, WatchEvent, Watchable, Writable };
|
package/apprt-core/clone.d.ts
CHANGED
|
@@ -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 {
|
|
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,
|
|
199
|
+
export { BY_COMPARE_TO, DEFAULT_COMPARE, IGNORE_CASE, TYPE_BASED_COMPARE, compareFields, createStringComparator, createStringWithNumberPartsComparator };
|
|
200
|
+
export type { Comparable, Comparator, FieldSpecObject };
|
package/apprt-core/config.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
*
|
|
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 {
|
|
381
|
+
export { LazyValues, configValue, envValue, registerConfigValue, registerEnvValue, setConfigValueInterceptor, setEnvValueInterceptor, unregisterConfigValue, unregisterEnvValue };
|
|
382
|
+
export type { ConfigKey, EnvKey, Interceptor, RegisterOptions, SupportedValueTypes, ValueOrValueProvider, ValueProvider, WellknownConfigKeys, WellknownEnvKeys };
|
package/apprt-core/freeze.d.ts
CHANGED
package/apprt-core/join.d.ts
CHANGED
package/apprt-core/load-css.d.ts
CHANGED
|
@@ -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 {
|
|
46
|
+
export { loadCss as default, loadCss };
|
|
47
|
+
export type { LoadCssResult };
|
package/apprt-core/load-js.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ interface LoadJsOptions {
|
|
|
20
20
|
* ```ts
|
|
21
21
|
* import loadJS from "apprt-core/load-js";
|
|
22
22
|
*
|
|
23
|
-
* loadJS("
|
|
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 {
|
|
43
|
+
export { loadJS as default, loadJS };
|
|
44
|
+
export type { LoadJsOptions };
|
package/apprt-core/package.json
CHANGED
package/apprt-core/parallel.d.ts
CHANGED
|
@@ -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 {
|
|
23
|
+
export { runParallel };
|
|
24
|
+
export type { RunParallelOptions, Task };
|
|
@@ -112,4 +112,5 @@ declare function customReplacer(options?: ReplaceOptions): StringReplacer;
|
|
|
112
112
|
*/
|
|
113
113
|
declare const replace: StringReplacer;
|
|
114
114
|
|
|
115
|
-
export {
|
|
115
|
+
export { customReplacer, replace as default, replace };
|
|
116
|
+
export type { ReplaceOptions, StringReplacer, ValueLookup, ValueResolver };
|
package/apprt-dom/index.d.ts
CHANGED
|
@@ -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 {
|
|
168
|
+
export { addClass, applyClass, createElement, destroyElement, getMarginBox, getMarginSize, insertElement, removeClass, setMarginBox, toggleClass };
|
|
169
|
+
export type { CreateOptions, CssClasses, ElementTag, MarginBox, MarginSize, NodePosition, NodeProperties };
|
package/apprt-dom/package.json
CHANGED
package/apprt-fetch/index.d.ts
CHANGED
|
@@ -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-
|
|
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 {
|
|
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 };
|