@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
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare class GraphicResolverFactory {
|
|
2
|
-
activate(): void;
|
|
3
|
-
symbolLookup: any;
|
|
4
|
-
_defaultSymbolLookup: any;
|
|
5
|
-
deactivate(): void;
|
|
6
|
-
/** Used by FeatureMapVisualizer to lookup symbols */
|
|
7
|
-
resolveSymbol(geometry: any, attributes: any, context: any): any;
|
|
8
|
-
buildDefaultResolver(): {
|
|
9
|
-
resolve(geometry: any, attributes: any, context: any): any;
|
|
10
|
-
};
|
|
11
|
-
_generateSymbolsLookUp(symbolLookup: any): any;
|
|
12
|
-
#private;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { GraphicResolverFactory as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base class for select all command of result center.
|
|
3
|
-
*/
|
|
4
|
-
declare class SelectAllResultsCommand {
|
|
5
|
-
deactivate(): void;
|
|
6
|
-
_selected: boolean | null | undefined;
|
|
7
|
-
selectAll(): void;
|
|
8
|
-
handleDataSourceChanged(): void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { SelectAllResultsCommand as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helper of FeatureMapVisualizer to ensure that graphics rendered to special layer.
|
|
3
|
-
*/
|
|
4
|
-
declare class VisualizationLayerResolver {
|
|
5
|
-
constructor(layerId: any, layerTitle: any);
|
|
6
|
-
layerId: any;
|
|
7
|
-
layerTitle: any;
|
|
8
|
-
resolve(mapWidgetModel: any): any;
|
|
9
|
-
remove(): void;
|
|
10
|
-
#private;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { VisualizationLayerResolver as default };
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import * as store_api_api from 'store-api/api';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The methods of this interface are available when a Promise
|
|
5
|
-
* has been augmented using the `trackState` function.
|
|
6
|
-
*/
|
|
7
|
-
interface StateQueryable {
|
|
8
|
-
/** Returns true if the promise is settled, i.e. if it is no longer pending. */
|
|
9
|
-
isSettled(): boolean;
|
|
10
|
-
/** Returns true if the promise is fulfilled, i.e. if it has a success value. */
|
|
11
|
-
isFulfilled(): boolean;
|
|
12
|
-
/** Returns true if the promise is rejected, i.e. if it contains an error. */
|
|
13
|
-
isRejected(): boolean;
|
|
14
|
-
/** Returns true if the promise was cancelled before it was able to complete. */
|
|
15
|
-
isCancelled(): boolean;
|
|
16
|
-
}
|
|
17
|
-
type State = "pending" | "fulfilled" | "rejected" | "cancelled";
|
|
18
|
-
declare const PROMISE: unique symbol;
|
|
19
|
-
declare const STATE: unique symbol;
|
|
20
|
-
declare const PRIVATE_CONSTRUCTOR_TAG: unique symbol;
|
|
21
|
-
/**
|
|
22
|
-
* Wrapper of global.Promise class.
|
|
23
|
-
* Read more about [Promises](./PROMISES.md).
|
|
24
|
-
*
|
|
25
|
-
* @see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Promise
|
|
26
|
-
*/
|
|
27
|
-
declare class ExtendedPromise<T> implements Promise<T> {
|
|
28
|
-
private [PROMISE];
|
|
29
|
-
private [STATE]?;
|
|
30
|
-
/**
|
|
31
|
-
* Creates Promise instances.
|
|
32
|
-
* @param executor defined as (resolve,reject)=> \{\}
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* new Promise((resolve, reject)=>{
|
|
36
|
-
* ...
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void);
|
|
41
|
-
/**
|
|
42
|
-
* Internal constructor. Do not call.
|
|
43
|
-
*/
|
|
44
|
-
constructor(promise: PromiseLike<T> | LegacyDojoDeferred, state: State | undefined, tag: typeof PRIVATE_CONSTRUCTOR_TAG);
|
|
45
|
-
/** Creates a new resolved promise */
|
|
46
|
-
static resolve(): ExtendedPromise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* Creates a new resolved promise with the given value
|
|
49
|
-
* @param value result object.
|
|
50
|
-
* @returns a promise in fulfilled state.
|
|
51
|
-
*/
|
|
52
|
-
static resolve<T>(value: T): ExtendedPromise<T>;
|
|
53
|
-
/**
|
|
54
|
-
* @param reason The reason the promise was rejected.
|
|
55
|
-
* @returns a promise in rejected state.
|
|
56
|
-
*/
|
|
57
|
-
static reject<T = never>(reason?: any): ExtendedPromise<T>;
|
|
58
|
-
/**
|
|
59
|
-
* Creates promise which fulfills if all other promises are fulfilled.
|
|
60
|
-
* Or rejects if one of the promises rejects.
|
|
61
|
-
*
|
|
62
|
-
* @param iterable Iterable of Promise instances
|
|
63
|
-
*/
|
|
64
|
-
static all<T extends readonly unknown[] | []>(iterable: T): ExtendedPromise<{
|
|
65
|
-
-readonly [P in keyof T]: Awaited<T[P]>;
|
|
66
|
-
}>;
|
|
67
|
-
/**
|
|
68
|
-
* Creates promise which fulfills if one of the other promises fulfills.
|
|
69
|
-
* Or rejects if one of the promises rejects.
|
|
70
|
-
*
|
|
71
|
-
* @param iterable Iterable of Promise instances
|
|
72
|
-
*/
|
|
73
|
-
static race<T>(iterable: Iterable<T>): ExtendedPromise<T extends PromiseLike<infer U> ? U : T>;
|
|
74
|
-
/**
|
|
75
|
-
* Creates promise which fulfills if one of the other promises fulfills.
|
|
76
|
-
* Or rejects if one of the promises rejects.
|
|
77
|
-
*
|
|
78
|
-
* @param iterable Iterable of Promise instances
|
|
79
|
-
*/
|
|
80
|
-
static race<T>(iterable: Iterable<T | PromiseLike<T>>): ExtendedPromise<T>;
|
|
81
|
-
/**
|
|
82
|
-
* Creates a promise that resolves after all of the given promises have either fulfilled or rejected,
|
|
83
|
-
* with an array of objects that each describes the outcome of each promise.
|
|
84
|
-
*
|
|
85
|
-
* @param iterable Iterable of Promise instances
|
|
86
|
-
*/
|
|
87
|
-
static allSettled<T>(iterable: Iterable<T | PromiseLike<T>>): ExtendedPromise<PromiseSettledResult<Awaited<T>>[]>;
|
|
88
|
-
/**
|
|
89
|
-
* Promise.any() takes an iterable of Promise objects and, as soon as one of the promises in the iterable fulfills,
|
|
90
|
-
* returns a single promise that resolves with the value from that promise.
|
|
91
|
-
* If no promises in the iterable fulfill (if all of the given promises are rejected),
|
|
92
|
-
* then the returned promise is rejected with an AggregateError,
|
|
93
|
-
* Essentially, this method is the opposite of Promise.all().
|
|
94
|
-
*
|
|
95
|
-
* @param iterable Iterable of Promise instances
|
|
96
|
-
*/
|
|
97
|
-
static any<T>(iterable: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): ExtendedPromise<T>;
|
|
98
|
-
/**
|
|
99
|
-
* Produces an object with a promise along with its resolution and rejection functions.
|
|
100
|
-
* Allows to resolve/reject the promise manually after creating it.
|
|
101
|
-
*
|
|
102
|
-
* @example
|
|
103
|
-
* ```ts
|
|
104
|
-
* const { promise, resolve, reject } = Promise.withResolvers();
|
|
105
|
-
* ```
|
|
106
|
-
* @returns {{ promise, resolve, reject }}
|
|
107
|
-
*/
|
|
108
|
-
static withResolvers<T>(): {
|
|
109
|
-
resolve: (value: T | PromiseLike<T>) => void;
|
|
110
|
-
reject: (reason?: unknown) => void;
|
|
111
|
-
promise: ExtendedPromise<T>;
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* This method tests if a given object is a promise.
|
|
115
|
-
* The algorithm will return true for:
|
|
116
|
-
* * apprt-core/Promise
|
|
117
|
-
* * global Promise
|
|
118
|
-
* * dojo/Deferred
|
|
119
|
-
* * dojo/Deferred.promise
|
|
120
|
-
*
|
|
121
|
-
* Note: Because of support for dojo/Deferred any object with a
|
|
122
|
-
* 'then', 'isResolved' and 'isRejected' method is detected as a promise.
|
|
123
|
-
*
|
|
124
|
-
* @param candidate a potential promise.
|
|
125
|
-
* @returns true if candidate is a promise.
|
|
126
|
-
*/
|
|
127
|
-
static isPromise(candidate: any): candidate is PromiseLike<unknown>;
|
|
128
|
-
/**
|
|
129
|
-
* Wraps e.g. dojo/Deferred or native Promise to this Promise class.
|
|
130
|
-
* @returns a promise
|
|
131
|
-
*/
|
|
132
|
-
static wrap<T>(promise: PromiseLike<T> | LegacyDojoDeferred): ExtendedPromise<T>;
|
|
133
|
-
/**
|
|
134
|
-
* Augments the given Promise with new state lookup functions.
|
|
135
|
-
*/
|
|
136
|
-
static trackState<T>(promise: PromiseLike<T> | LegacyDojoDeferred): ExtendedPromise<T> & StateQueryable;
|
|
137
|
-
/**
|
|
138
|
-
* Registers success and/or error handlers.
|
|
139
|
-
* @param success called when the promise resolves
|
|
140
|
-
* @param failure called when the promise rejects
|
|
141
|
-
*/
|
|
142
|
-
then<TResult1 = T, TResult2 = never>(success?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, failure?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): ExtendedPromise<TResult1 | TResult2>;
|
|
143
|
-
/**
|
|
144
|
-
* Registers an error handler.
|
|
145
|
-
* @param failure called when the promise rejects
|
|
146
|
-
*/
|
|
147
|
-
catch<TResult = never>(failure?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): ExtendedPromise<T | TResult>;
|
|
148
|
-
/**
|
|
149
|
-
* Registers an error handler. Which is not called if the error is a Cancel instance.
|
|
150
|
-
* @param failure called when the promise rejects
|
|
151
|
-
*/
|
|
152
|
-
else<TResult = never>(failure?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): ExtendedPromise<T | TResult>;
|
|
153
|
-
/**
|
|
154
|
-
* Registers a handler, which is called in success or error state.
|
|
155
|
-
* But the handler is not able to change the result state!
|
|
156
|
-
* @param handler function invoked regardless of success or error
|
|
157
|
-
*/
|
|
158
|
-
finally(handler?: (() => void) | undefined | null): ExtendedPromise<T>;
|
|
159
|
-
/**
|
|
160
|
-
* @returns this instance, augmented with augmented with:
|
|
161
|
-
*
|
|
162
|
-
* * isFulfilled()
|
|
163
|
-
* * isRejected()
|
|
164
|
-
* * isCancelled()
|
|
165
|
-
* * isSettled()
|
|
166
|
-
*/
|
|
167
|
-
trackState(): ExtendedPromise<T> & StateQueryable;
|
|
168
|
-
get [Symbol.toStringTag](): string;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
interface LegacyDojoDeferred {
|
|
172
|
-
promise: any;
|
|
173
|
-
isResolved(): boolean;
|
|
174
|
-
isRejected(): boolean;
|
|
175
|
-
isFulfilled(): boolean;
|
|
176
|
-
isCanceled(): boolean;
|
|
177
|
-
progress(update: any, strict?: boolean): any;
|
|
178
|
-
resolve(value?: any, strict?: boolean): any;
|
|
179
|
-
reject(error?: any, strict?: boolean): any;
|
|
180
|
-
then(callback?: any, errback?: any, progback?: any): any;
|
|
181
|
-
cancel(reason?: any, strict?: boolean): any;
|
|
182
|
-
toString(): string;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* This class provides a caching store. All used field values will be cached in a memory store.
|
|
187
|
-
*/
|
|
188
|
-
declare class CachingStore {
|
|
189
|
-
/**
|
|
190
|
-
* Defines if geometry will be cached
|
|
191
|
-
*/
|
|
192
|
-
constructor(args: any);
|
|
193
|
-
maxFeaturesLimit: number;
|
|
194
|
-
initialQuery: any;
|
|
195
|
-
querySequenz: any;
|
|
196
|
-
idProperty: any;
|
|
197
|
-
_cache: any[];
|
|
198
|
-
_geometryCache: any;
|
|
199
|
-
idList: any[];
|
|
200
|
-
deactivate(): void;
|
|
201
|
-
getInitialQuery(): any;
|
|
202
|
-
_addItemToCache(item: any, offset: any): void;
|
|
203
|
-
_updateGeometryCache(item: any, offset: any): void;
|
|
204
|
-
getMetadata(object: any): any;
|
|
205
|
-
getIdentity(object: any): any;
|
|
206
|
-
_getAllMasterStoreFields(): ExtendedPromise<{}>;
|
|
207
|
-
_getItems(itemIds: any, opts: any): Promise<any[]>;
|
|
208
|
-
_buildQuery(itemIds: any): {};
|
|
209
|
-
_isGeometryRequired(options: any, defaultRequired: any): Any;
|
|
210
|
-
_getGeometryFromCache(id: any, offset: any): any;
|
|
211
|
-
_isSpatialQuery(query: any): boolean;
|
|
212
|
-
_getItemsFromCache(query: any, options?: {}): store_api_api.ResultItems<Readonly<Record<string, any>>>;
|
|
213
|
-
_getGeometryForItems(items: any, options: any): ExtendedPromise<any>;
|
|
214
|
-
_getItemsForQuery(query: any, options: any): ExtendedPromise<any[]>;
|
|
215
|
-
query(query: any, options: any): store_api_api.ResultItems<{}>;
|
|
216
|
-
_synchronizedQueryOnCache(query: any, opts: any): any;
|
|
217
|
-
querySequence: any;
|
|
218
|
-
_queryOnCache(query: any, opts: any): ExtendedPromise<any>;
|
|
219
|
-
_geometryMissingInCachedItems(offset: any, query: any, opts: any): boolean;
|
|
220
|
-
_getOffset(options: any): Any;
|
|
221
|
-
_checkIfCacheIsPopulated(): boolean;
|
|
222
|
-
_populateCache(): any;
|
|
223
|
-
_fetchCache: any;
|
|
224
|
-
get(id: any, options: any): any;
|
|
225
|
-
remove(id: any): boolean;
|
|
226
|
-
invalidate(id: any): void;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export { CachingStore as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AsyncWritableInMemoryStore } from 'store-api/InMemoryStore';
|
|
2
|
-
|
|
3
|
-
declare class MemoryStore extends AsyncWritableInMemoryStore<any, any> {
|
|
4
|
-
constructor(opts: any);
|
|
5
|
-
masterStore: any;
|
|
6
|
-
idList: any;
|
|
7
|
-
getMetadata(): Promise<any>;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { MemoryStore };
|