@conterra/ct-mapapps-typings 4.19.2-next.20250325045859 → 4.19.2-next.20250402042452
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/apprt/Bundle.d.ts +1 -1
- package/apprt/EnvironmentRuleMatcher.d.ts +2 -1
- package/apprt/api/internal.d.ts +1 -1
- package/apprt/launch/BundleController.d.ts +3 -2
- package/apprt/launch/Launcher.d.ts +3 -2
- package/apprt/launch/layer-min.d.ts +1 -1
- package/apprt/launch/layer.d.ts +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-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 +2 -1
- package/apprt-core/Exception.d.ts +2 -1
- package/apprt-core/InjectedReference.d.ts +2 -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 +2 -1
- package/apprt-core/clone.d.ts +2 -1
- package/apprt-core/comparators.d.ts +2 -1
- package/apprt-core/config.d.ts +2 -1
- 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 +2 -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-fetch/index.d.ts +2 -1
- package/apprt-vuetify/RegisterVuetify.d.ts +1 -1
- package/ct/tools/Tool.d.ts +301 -2
- package/esri-widgets/EsriDijit.d.ts +2 -1
- package/map-widget/LayerObserver.d.ts +2 -1
- package/map-widget/LayerTraverser.d.ts +2 -1
- package/map-widget/ViewReadyWatcher.d.ts +2 -1
- package/package.json +1 -1
- package/popups/BaseAction.d.ts +2 -1
- package/popups/ContentUpdateProxy.d.ts +2 -1
- package/result-api/api/actions.d.ts +1 -1
- package/selection-services/DrawingSpatialInputAction.d.ts +2 -1
- package/selection-services/SearchSource.d.ts +2 -1
- package/selection-services/SpatialInputAction.d.ts +2 -1
- package/store-api/ComplexQuery.d.ts +2 -1
- package/store-api/InMemoryStore.d.ts +2 -1
- package/store-api/QueryExecution.d.ts +2 -1
- package/store-api/QueryExecutions.d.ts +3 -2
- package/store-api/SpatialQuery.d.ts +2 -1
- package/store-api/rest/BaseRestStore.d.ts +2 -1
- package/store-api/rest/ComplexQueryToSolrQL.d.ts +2 -1
- package/store-api/utils.d.ts +1 -1
- package/system/api/internal.d.ts +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/test-utils/waitFor.d.ts +2 -1
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/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 {
|
|
@@ -1,5 +1,5 @@
|
|
|
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 {
|
|
@@ -77,4 +77,5 @@ declare class BundleControllerImpl implements InternalBundleController {
|
|
|
77
77
|
type AnyFunc = (...args: any[]) => any;
|
|
78
78
|
declare function bind(scope: any, fn: string | AnyFunc): AnyFunc;
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { bind, BundleControllerImpl as default };
|
|
81
|
+
export type { BundleControllerConstructorOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Launcher, LocationDefinition, LauncherOptions, Framework } from '../api/index.js';
|
|
2
2
|
import { BundleLocator, ConfigLocator } from '../api/internal.js';
|
|
3
3
|
import 'apprt-core/Types';
|
|
4
4
|
|
|
@@ -69,4 +69,5 @@ declare class LauncherImpl implements Launcher {
|
|
|
69
69
|
private _queryParams;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { LauncherImpl as default };
|
|
73
|
+
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/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
|
@@ -281,4 +281,5 @@ declare const Evented: EventedConstructor;
|
|
|
281
281
|
*/
|
|
282
282
|
declare function EventedMixin<BaseType extends Constructor<any, any>>(Base: BaseType): Constructor<InstanceType<BaseType> & Evented<any>, ConstructorParameters<BaseType>>;
|
|
283
283
|
|
|
284
|
-
export {
|
|
284
|
+
export { Evented, EventedMixin, EventedMixin as Evented_Mixin, cleanup, createTypedEvents, emit, emitSync, on };
|
|
285
|
+
export type { EventCallback, EventHandle, EventNames, EventSource, EventedConstructor, 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/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
|
@@ -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 };
|
|
@@ -199,4 +199,5 @@ keyof ObjectType | AllFieldSpecObjects<ObjectType, keyof ObjectType>;
|
|
|
199
199
|
*/
|
|
200
200
|
declare function compareFields<ObjectType>(...fields: FieldSpec<ObjectType>[]): Comparator<ObjectType>;
|
|
201
201
|
|
|
202
|
-
export { BY_COMPARE_TO,
|
|
202
|
+
export { BY_COMPARE_TO, DEFAULT_COMPARE, IGNORE_CASE, TYPE_BASED_COMPARE, compareFields, createStringComparator, createStringWithNumberPartsComparator };
|
|
203
|
+
export type { Comparable, Comparator, FieldSpecObject };
|
package/apprt-core/config.d.ts
CHANGED
|
@@ -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
|
@@ -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/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-fetch/index.d.ts
CHANGED
|
@@ -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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|
package/ct/tools/Tool.d.ts
CHANGED
|
@@ -1,3 +1,302 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) con terra GmbH
|
|
3
|
+
*/
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Utility type to create more specific parameter typings for {@link Stateful.watch}'s callback.
|
|
7
|
+
*
|
|
8
|
+
* This allows us to make the types of the callback's value parameters
|
|
9
|
+
* dependent on the callback's name parameter. This way, handler code like
|
|
10
|
+
* the following is well-typed:
|
|
11
|
+
* ```ts
|
|
12
|
+
* let stateful: Stateful<{id: string, priority: number}>;
|
|
13
|
+
* stateful.watch('*', (name, oldValue, newValue) => {
|
|
14
|
+
* if (name === 'id') {
|
|
15
|
+
* // TypeScript can now infer that newValue is a string
|
|
16
|
+
* console.log(newValue.substring(0, 4));
|
|
17
|
+
* }
|
|
18
|
+
* if (name === 'priority') {
|
|
19
|
+
* // TypeScript can now infer that oldValue and newValue are numbers
|
|
20
|
+
* console.log(newValue - oldValue);
|
|
21
|
+
* }
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* This uses TypeScript's distributive behavior in conditional types to turn
|
|
26
|
+
* a union of properties into a union of tuples.
|
|
27
|
+
*
|
|
28
|
+
* @see https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#distributive-conditional-types
|
|
29
|
+
*/
|
|
30
|
+
type WatchCallbackParams<T, P extends keyof T> = P extends unknown
|
|
31
|
+
? [name: P, oldValue: T[P], newValue: T[P]]
|
|
32
|
+
: never
|
|
33
|
+
;
|
|
34
|
+
|
|
35
|
+
type Stateful<T> = T & {
|
|
36
|
+
watch: <Prop extends keyof T | '*'>(
|
|
37
|
+
property: Prop,
|
|
38
|
+
handler: (...args: WatchCallbackParams<T, Prop extends '*' ? keyof T : Prop>) => void
|
|
39
|
+
) => void
|
|
40
|
+
|
|
41
|
+
set: <Prop extends keyof T>(
|
|
42
|
+
property: Prop,
|
|
43
|
+
value: T[Prop]
|
|
44
|
+
) => void
|
|
45
|
+
|
|
46
|
+
get: <Prop extends keyof T>(
|
|
47
|
+
property: Prop
|
|
48
|
+
) => T[Prop]
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** Placeholder type for parameters to all the Evented functions. */
|
|
52
|
+
type Event = unknown;
|
|
53
|
+
|
|
54
|
+
/** Utility type for all the handler functions in Tool. */
|
|
55
|
+
type HandlerFn<This, Event, Result> = ((this: This, event: Event) => Result) | undefined;
|
|
56
|
+
|
|
57
|
+
/** A partial copy of the declaration in ct/tools/Tool adapted for TypeScript. The types are mostly educated guesses. */
|
|
58
|
+
interface ToolProperties {
|
|
59
|
+
/**
|
|
60
|
+
* Given tool id.
|
|
61
|
+
*/
|
|
62
|
+
id: string
|
|
63
|
+
/**
|
|
64
|
+
* The title of the tool.
|
|
65
|
+
*/
|
|
66
|
+
title: string | undefined
|
|
67
|
+
/**
|
|
68
|
+
* A description of the tool.
|
|
69
|
+
*/
|
|
70
|
+
description: string | undefined
|
|
71
|
+
/**
|
|
72
|
+
* A tool tip.
|
|
73
|
+
*/
|
|
74
|
+
tooltip: string | undefined
|
|
75
|
+
/**
|
|
76
|
+
* The tooltip positions.
|
|
77
|
+
* e.g. ["above","below","after","before"]
|
|
78
|
+
*/
|
|
79
|
+
tooltipPositions: ("above" | "below" | "after" | "before")[] | undefined
|
|
80
|
+
/**
|
|
81
|
+
* Priority is used to ensure an ordering of tools.
|
|
82
|
+
* Tools with high priority are first, equal priority means sort by id.
|
|
83
|
+
*/
|
|
84
|
+
priority: number
|
|
85
|
+
/**
|
|
86
|
+
* A tool group this information is also added as css class to the root node of the created button or menu.
|
|
87
|
+
*/
|
|
88
|
+
toolGroup: string
|
|
89
|
+
/**
|
|
90
|
+
* A tool class appended to the root node of the created button or menu.
|
|
91
|
+
* Note that ctTool_${id} is always added
|
|
92
|
+
*/
|
|
93
|
+
toolClass: string
|
|
94
|
+
/**
|
|
95
|
+
* A tool icon class appended to the icon node of the created button or menu.
|
|
96
|
+
* Note that ctToolIcon_${id} is always added
|
|
97
|
+
*/
|
|
98
|
+
iconClass: string
|
|
99
|
+
/**
|
|
100
|
+
* The visible state of the tool.
|
|
101
|
+
* On change the onShow/onHide events are fired.
|
|
102
|
+
*/
|
|
103
|
+
visibility: boolean
|
|
104
|
+
/**
|
|
105
|
+
* The enabled state of the tool.
|
|
106
|
+
* On change the onDisabled, onEnabled events are fired.
|
|
107
|
+
*/
|
|
108
|
+
enabled: boolean
|
|
109
|
+
/**
|
|
110
|
+
* The active state of the tool, this is only of interest if the tool is togglable.
|
|
111
|
+
* On change the onActivate, onDeactivate events are fired.
|
|
112
|
+
*/
|
|
113
|
+
active: boolean
|
|
114
|
+
/**
|
|
115
|
+
* The togglable state of the tool, this marks that the tool can be toggled.
|
|
116
|
+
* It should be set in the constructor and the state value should never dynamically change.
|
|
117
|
+
*/
|
|
118
|
+
togglable: boolean
|
|
119
|
+
/**
|
|
120
|
+
* The processing state of the tool, this marks that the tool is currently processing something.
|
|
121
|
+
* The state is toggled by the fireProcess* methods and independent from any other state of the tool.
|
|
122
|
+
*/
|
|
123
|
+
processing: boolean
|
|
124
|
+
/**
|
|
125
|
+
* The self reference. Please see the ToolReference class to note that this property allows
|
|
126
|
+
* to handle a tool like a tool reference, which makes code expecting references to be used with tools directly.
|
|
127
|
+
*/
|
|
128
|
+
tool: Tool
|
|
129
|
+
/**
|
|
130
|
+
* Flag auto disables the tool if it becomes hidden.
|
|
131
|
+
* default: true.
|
|
132
|
+
*/
|
|
133
|
+
disableOnHide: boolean
|
|
134
|
+
/**
|
|
135
|
+
* Flag auto enables the tool if it becomes visible.
|
|
136
|
+
* default: true.
|
|
137
|
+
*/
|
|
138
|
+
enableOnShow: boolean
|
|
139
|
+
/**
|
|
140
|
+
* Flag auto deactivates the tool if it is disabled.
|
|
141
|
+
* default: true.
|
|
142
|
+
*/
|
|
143
|
+
deactivateOnDisable: boolean
|
|
144
|
+
/**
|
|
145
|
+
* Flag auto activates the tool if it is enabled.
|
|
146
|
+
* default: false.
|
|
147
|
+
*/
|
|
148
|
+
activateOnEnable: boolean
|
|
149
|
+
/**
|
|
150
|
+
* Flag auto enables the tool if set("active",true) is called.
|
|
151
|
+
*/
|
|
152
|
+
enableOnActivate: boolean
|
|
153
|
+
/**
|
|
154
|
+
* The scope of the default handler functions.
|
|
155
|
+
*/
|
|
156
|
+
handlerScope: object | null
|
|
157
|
+
/**
|
|
158
|
+
* The handler function called if the tool is clicked.
|
|
159
|
+
*/
|
|
160
|
+
clickHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
161
|
+
/**
|
|
162
|
+
* The handler function called if the tool is double clicked.
|
|
163
|
+
*/
|
|
164
|
+
dblClickHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
165
|
+
/**
|
|
166
|
+
* The handler function called before the onActivate event is fired.
|
|
167
|
+
*/
|
|
168
|
+
beforeActivateHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
169
|
+
/**
|
|
170
|
+
* The handler function called if the tool is activated.
|
|
171
|
+
*/
|
|
172
|
+
activateHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
173
|
+
/**
|
|
174
|
+
* The handler function called before the onDeactivate event is fired.
|
|
175
|
+
*/
|
|
176
|
+
beforeDeactivateHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
177
|
+
/**
|
|
178
|
+
* The handler function called if the tool is deactivated.
|
|
179
|
+
*/
|
|
180
|
+
deactivateHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
181
|
+
/**
|
|
182
|
+
* The handler function called if the tool becomes enabled.
|
|
183
|
+
*/
|
|
184
|
+
enabledHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
185
|
+
/**
|
|
186
|
+
* The handler function called if the tool becomes disabled.
|
|
187
|
+
*/
|
|
188
|
+
disabledHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
189
|
+
/**
|
|
190
|
+
* The handler function called if the tool becomes visible.
|
|
191
|
+
*/
|
|
192
|
+
showHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
193
|
+
/**
|
|
194
|
+
* The handler function called if the tool becomes hidden.
|
|
195
|
+
*/
|
|
196
|
+
hideHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
197
|
+
/**
|
|
198
|
+
* The handler function called if the tool starts a processing task.
|
|
199
|
+
*/
|
|
200
|
+
processStartHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
201
|
+
/**
|
|
202
|
+
* The handler function called if the tool ends a processing task.
|
|
203
|
+
*/
|
|
204
|
+
processEndHandler: HandlerFn<ToolProperties["handlerScope"], Event, void>
|
|
205
|
+
/**
|
|
206
|
+
* Rules flag read by the toolrules bundle (optional).
|
|
207
|
+
*/
|
|
208
|
+
rules: object | null
|
|
209
|
+
/**
|
|
210
|
+
* The handler function called to check a condition before activating a togglable tool.
|
|
211
|
+
* The function has to return true if condition is fulfilled and false if not.
|
|
212
|
+
*/
|
|
213
|
+
activationConditionHandler: HandlerFn<ToolProperties["activationConditionHandlerScope"] | Tool, Event, boolean>
|
|
214
|
+
/**
|
|
215
|
+
* The scope of the activation condition handler function.
|
|
216
|
+
*/
|
|
217
|
+
activationConditionHandlerScope: object | null
|
|
218
|
+
/**
|
|
219
|
+
* If true real click,check/uncheck,dblclick events are delegated async into the tool model,
|
|
220
|
+
* so that the browser event flow is not broken.
|
|
221
|
+
*/
|
|
222
|
+
async: boolean
|
|
223
|
+
/**
|
|
224
|
+
* Simulates a click on the tool.
|
|
225
|
+
* Please note that this does not change the active state.
|
|
226
|
+
* A client have to call set("active",true|false) to change the state.
|
|
227
|
+
*/
|
|
228
|
+
click(evt: Event): void;
|
|
229
|
+
/**
|
|
230
|
+
* Simulates a dbl click on the tool.
|
|
231
|
+
*/
|
|
232
|
+
dblClick(evt: Event): void;
|
|
233
|
+
/**
|
|
234
|
+
* Sends a info message to the tool. It simple fires the onInfoMessage() event.
|
|
235
|
+
* Such a message is normally produced in the backend, to indicate a "please click me" state on the tool.
|
|
236
|
+
*/
|
|
237
|
+
infoMsg(msgObj: { message: string }): void;
|
|
238
|
+
/**
|
|
239
|
+
* The onClick event
|
|
240
|
+
*/
|
|
241
|
+
onClick(event: Event): void;
|
|
242
|
+
/**
|
|
243
|
+
* The onDoubleClick event
|
|
244
|
+
**/
|
|
245
|
+
onDblClick(event: Event): void;
|
|
246
|
+
/**
|
|
247
|
+
* The onInfoMessage event, transports a message from the backend to the tool widget.
|
|
248
|
+
**/
|
|
249
|
+
onInfoMessage(event: Event): void;
|
|
250
|
+
/**
|
|
251
|
+
* The onBeforeActivate event, it is called short before onActivate.
|
|
252
|
+
**/
|
|
253
|
+
onBeforeActivate(event: Event): void;
|
|
254
|
+
/**
|
|
255
|
+
* The onActivate event
|
|
256
|
+
**/
|
|
257
|
+
onActivate(event: Event): void;
|
|
258
|
+
/**
|
|
259
|
+
* The onDeactivate event
|
|
260
|
+
**/
|
|
261
|
+
onDeactivate(event: Event): void;
|
|
262
|
+
/**
|
|
263
|
+
* The onBeforeDeactivate event, it is called short before onDeactivate.
|
|
264
|
+
**/
|
|
265
|
+
onBeforeDeactivate(event: Event): void;
|
|
266
|
+
/**
|
|
267
|
+
* The onEnabled event, if the tool becomes enabled (available for pressing)
|
|
268
|
+
**/
|
|
269
|
+
onEnabled(event: Event): void;
|
|
270
|
+
/**
|
|
271
|
+
* The onDisabled event, if the tool becomes disabled (not available for pressing)
|
|
272
|
+
**/
|
|
273
|
+
onDisabled(event: Event): void;
|
|
274
|
+
/**
|
|
275
|
+
* The onShow event, if the tool becomes visible (allowed to show on screen)
|
|
276
|
+
**/
|
|
277
|
+
onShow(event: Event): void;
|
|
278
|
+
/**
|
|
279
|
+
* The onHide event, if the tool becomes hidden (not allowed to show on screen)
|
|
280
|
+
**/
|
|
281
|
+
onHide(event: Event): void;
|
|
282
|
+
/**
|
|
283
|
+
* `onProcessStart` is called when an external process is started
|
|
284
|
+
*/
|
|
285
|
+
onProcessStart(event: Event): void;
|
|
286
|
+
/**
|
|
287
|
+
* `onProcessEnd` is called when an external process is stopped
|
|
288
|
+
*/
|
|
289
|
+
onProcessEnd(event: Event): void;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
interface ToolConstructor {
|
|
293
|
+
new(props?: Partial<ToolProperties>): Tool;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
type Tool = Stateful<ToolProperties>;
|
|
297
|
+
|
|
298
|
+
// Declaring a type and a variable of the same name is a technique used by
|
|
299
|
+
// TypeScript's type declarations for standard library types such as Date.
|
|
300
|
+
declare const Tool: ToolConstructor;
|
|
301
|
+
|
|
302
|
+
export { Tool as default };
|
|
@@ -39,4 +39,5 @@ interface LayerObserver {
|
|
|
39
39
|
}
|
|
40
40
|
declare function createLayerObserver({ map, layers, filter, notify, onlyWatching }?: Partial<LayerObserverOptions>): LayerObserver;
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { createLayerObserver, createLayerObserver as default };
|
|
43
|
+
export type { Context, LayerObserver, LayerObserverOptions, NotifyReason };
|
|
@@ -28,4 +28,5 @@ declare enum VisitCodes {
|
|
|
28
28
|
}
|
|
29
29
|
declare function createLayerTraverser(globalOpts?: Partial<LayerTraverserOptions>): LayerTraverser;
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { VisitCodes, createLayerTraverser, createLayerTraverser as default };
|
|
32
|
+
export type { LayerNode, LayerTraverser, LayerTraverserOptions };
|
|
@@ -24,4 +24,5 @@ interface ViewReadyWatcher {
|
|
|
24
24
|
}
|
|
25
25
|
declare function createViewReadyWatcher(model: MapWidgetModel): ViewReadyWatcher;
|
|
26
26
|
|
|
27
|
-
export {
|
|
27
|
+
export { createViewReadyWatcher, createViewReadyWatcher as default };
|
|
28
|
+
export type { ViewReadyCallback, ViewReadyWatcher };
|
package/package.json
CHANGED
package/popups/BaseAction.d.ts
CHANGED
|
@@ -59,4 +59,5 @@ type BaseActionConstructor<Type extends EsriActionType> = new (properties?: Esri
|
|
|
59
59
|
*/
|
|
60
60
|
declare function BaseAction<Type extends EsriActionType>(type: Type): BaseActionConstructor<Type>;
|
|
61
61
|
|
|
62
|
-
export {
|
|
62
|
+
export { BaseAction as default };
|
|
63
|
+
export type { BaseActionConstructor, EsriAction, EsriActionType, ExtendedEsriAction };
|
|
@@ -92,4 +92,5 @@ interface WidgetProxy {
|
|
|
92
92
|
*/
|
|
93
93
|
declare function ContentUpdateProxy(graphic: Graphic, dijit: any, triggerUpdate: (graphic: Graphic) => void): WidgetProxy;
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ContentUpdateProxy as default };
|
|
96
|
+
export type { WidgetProxy };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataTable, TableItem
|
|
1
|
+
import { DataTableCollection, DataTable, TableItem } from '../__internal__/Bnw4PH_u.js';
|
|
2
2
|
import { EventSource } from 'apprt-core/Events';
|
|
3
3
|
import 'apprt-core/Types';
|
|
4
4
|
import 'esri/geometry';
|
|
@@ -26,4 +26,5 @@ declare class DrawingSpatialInputAction extends SpatialInputActionImpl {
|
|
|
26
26
|
_intercept(geometry: Geometry, options: Record<string, any>): Geometry;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export {
|
|
29
|
+
export { DrawingSpatialInputAction as default };
|
|
30
|
+
export type { DrawingSpatialInputActionOptions };
|
|
@@ -42,4 +42,5 @@ interface SearchSourceConstructor {
|
|
|
42
42
|
}
|
|
43
43
|
declare const _default: SearchSourceConstructor;
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { _default as default };
|
|
46
|
+
export type { SearchSourceConstructor, SearchSourceConstructorOptions };
|
|
@@ -31,4 +31,5 @@ declare class SpatialInputActionImpl implements SpatialInputAction {
|
|
|
31
31
|
trigger(options: Record<string, any>): CancelablePromise<Geometry>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { SpatialInputActionImpl as default };
|
|
35
|
+
export type { CommonSpatialInputActionOptions };
|
|
@@ -292,4 +292,5 @@ declare class ComplexQuery {
|
|
|
292
292
|
*/
|
|
293
293
|
declare function encodePostOrder<T>(encoder: Encoder<T>, walkerOrAst: Walker | AST): any;
|
|
294
294
|
|
|
295
|
-
export {
|
|
295
|
+
export { ComplexQuery, ComplexQuery as default, encodePostOrder, walkerForASTNode };
|
|
296
|
+
export type { AST, ASTNode, ChildVisitCallback, ComplexQueryOptions, Encoder, OperatorChain, OperatorImpl, VisitCallback, Walker };
|
|
@@ -77,4 +77,5 @@ declare class AsyncWritableInMemoryStore<ItemType extends Record<string, any>, I
|
|
|
77
77
|
remove(id: IDType): Promise<void>;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export { AsyncInMemoryStore, AsyncWritableInMemoryStore,
|
|
80
|
+
export { AsyncInMemoryStore, AsyncWritableInMemoryStore, SyncInMemoryStore, SyncWritableInMemoryStore };
|
|
81
|
+
export type { ConstructorOptions };
|
|
@@ -93,4 +93,5 @@ type QueryExecutionConstructor<T> = new (options?: QueryExecutionConstructorOpti
|
|
|
93
93
|
/** Creates a QueryExecution */
|
|
94
94
|
declare const _default: QueryExecutionConstructor<unknown>;
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { _default as default };
|
|
97
|
+
export type { DataSource, QueryExecution, QueryExecutionConstructor, QueryResult, ResultItems, Watchable };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Watchable, QueryExecution } from './QueryExecution.js';
|
|
2
2
|
import 'apprt-core/Mutable';
|
|
3
3
|
|
|
4
4
|
type QueryExecutionsConstructorOptions = Partial<Pick<QueryExecutions, "executions">>;
|
|
@@ -47,4 +47,5 @@ type QueryExecutionsConstructor = new (options?: QueryExecutionsConstructorOptio
|
|
|
47
47
|
*/
|
|
48
48
|
declare const _default: QueryExecutionsConstructor;
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { _default as default };
|
|
51
|
+
export type { QueryExecutionStrategy, QueryExecutions, QueryExecutionsConstructor };
|
|
@@ -31,4 +31,5 @@ interface SpatialQueryExtension {
|
|
|
31
31
|
/** reexports ComplexQuery with spatial operators */
|
|
32
32
|
declare const SpatialQuery: SpatialQueryType;
|
|
33
33
|
|
|
34
|
-
export { SpatialQuery,
|
|
34
|
+
export { SpatialQuery, SpatialQuery as default };
|
|
35
|
+
export type { SpatialQueryExtension, SpatialQueryType };
|
|
@@ -180,4 +180,5 @@ declare class BaseRestStore<ItemType extends IndexableThing, IDType extends stri
|
|
|
180
180
|
private _fetchMetadata;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export { BaseRestStore
|
|
183
|
+
export { BaseRestStore };
|
|
184
|
+
export type { InternalRequestOptions, MethodParameters, RequestOptions };
|
|
@@ -67,4 +67,5 @@ declare const toSolrQL: (query?: ComplexQueryExpression | undefined, options?: C
|
|
|
67
67
|
declare const astToSolrQL: (astOrWalker: Walker | AST) => string;
|
|
68
68
|
declare const _operatorMapping: Record<string, Transformer>;
|
|
69
69
|
|
|
70
|
-
export {
|
|
70
|
+
export { _operatorMapping, astToSolrQL, overload, toSolrQL };
|
|
71
|
+
export type { ComplexQueryToSolrQLOptions, CustomTransformer, Transformer };
|
package/store-api/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
2
|
import CPromise from 'apprt-core/Promise';
|
|
3
3
|
import { ComplexQueryOptions } from './ComplexQuery.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ResultItems, AsyncQueryResult, IndexableThing, SortOptions, PaginationOptions, Metadata } from './api/Store.js';
|
|
5
5
|
import { ComplexQueryExpression } from './api/ComplexQueryLang.js';
|
|
6
6
|
import 'apprt-core/Events';
|
|
7
7
|
import 'esri/geometry/Geometry';
|
package/system/api/internal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import CancelablePromise from 'apprt-core/CancelablePromise';
|
|
2
|
-
import {
|
|
2
|
+
import { ServiceInstance, ComponentContext, ComponentProperties, Bundle, BundleContext, ServiceReference, BundleId, ServiceEvent, AnyPropertyValue, ConfigurationStore, ConfigAdminService, ConfigurationStoreEntry, Configuration, AppConfigJson } from 'apprt/api';
|
|
3
3
|
|
|
4
4
|
interface InternalComponentContext<ExpectedServiceType extends ComponentServiceInstance> extends ComponentContext<ExpectedServiceType> {
|
|
5
5
|
dispose(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Authentication, UserAdminService, User } from 'apprt/api';
|
|
2
2
|
|
|
3
3
|
interface AuthenticationOptions {
|
|
4
4
|
name?: string;
|
|
@@ -21,4 +21,5 @@ declare class AuthenticationImpl implements Authentication {
|
|
|
21
21
|
logout(): boolean | Promise<boolean>;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export {
|
|
24
|
+
export { AuthenticationImpl as default };
|
|
25
|
+
export type { AuthenticationOptions };
|
package/system/user/User.d.ts
CHANGED
package/test-utils/waitFor.d.ts
CHANGED
|
@@ -49,4 +49,5 @@ declare function waitUntil<T>(resolver: () => Promise<T> | T, options?: WaitOpti
|
|
|
49
49
|
*/
|
|
50
50
|
declare function sleep(timeout?: number): Promise<void>;
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { sleep, waitFor, waitUntil };
|
|
53
|
+
export type { WaitOptions };
|