@conterra/ct-mapapps-typings 4.20.0 → 4.20.1-next.20251024040237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/agssearch/package.json +1 -1
  2. package/apprt/package.json +1 -1
  3. package/apprt-binding/package.json +1 -1
  4. package/apprt-core/Events.d.ts +33 -27
  5. package/apprt-core/Locale.d.ts +0 -1
  6. package/apprt-core/comparators.d.ts +0 -3
  7. package/apprt-core/package.json +1 -1
  8. package/apprt-dom/package.json +1 -1
  9. package/apprt-fetch/package.json +1 -1
  10. package/apprt-streams/Stream.d.ts +1 -1
  11. package/apprt-streams/package.json +1 -1
  12. package/apprt-tokens/package.json +1 -1
  13. package/apprt-vue/package.json +1 -1
  14. package/apprt-vuetify/package.json +1 -1
  15. package/coordinateconversion/package.json +1 -1
  16. package/coordinatetransformer/package.json +1 -1
  17. package/ct/package.json +1 -1
  18. package/dataform/package.json +1 -1
  19. package/dataview/package.json +1 -1
  20. package/domains-system/package.json +1 -1
  21. package/editing/package.json +1 -1
  22. package/esri-widgets/package.json +1 -1
  23. package/geojson/package.json +1 -1
  24. package/geometryservice/package.json +1 -1
  25. package/graphics/package.json +1 -1
  26. package/highlights/package.json +1 -1
  27. package/integration-map/package.json +1 -1
  28. package/managementlayout/package.json +1 -1
  29. package/map-actions/package.json +1 -1
  30. package/map-basemaps-api/package.json +1 -1
  31. package/map-config-api/package.json +1 -1
  32. package/map-init/package.json +1 -1
  33. package/map-widget/package.json +1 -1
  34. package/mapdraw-api/package.json +1 -1
  35. package/mapnavigation/package.json +1 -1
  36. package/maptips/package.json +1 -1
  37. package/measurement-2d/package.json +1 -1
  38. package/measurement-3d/package.json +1 -1
  39. package/package.json +1 -1
  40. package/parametermanager/package.json +1 -1
  41. package/popups/package.json +1 -1
  42. package/portal-security/package.json +1 -1
  43. package/result-api/package.json +1 -1
  44. package/search-api/package.json +1 -1
  45. package/search-ui/package.json +1 -1
  46. package/selection-services/package.json +1 -1
  47. package/store-api/InMemoryStore.d.ts +3 -3
  48. package/store-api/package.json +1 -1
  49. package/system/package.json +1 -1
  50. package/templatelayout/package.json +1 -1
  51. package/test-utils/package.json +1 -1
  52. package/theme-tester/package.json +1 -1
  53. package/toc/package.json +1 -1
  54. package/toolrules/package.json +1 -1
  55. package/vuetify-component-overview/package.json +1 -1
  56. package/windowmanager/package.json +1 -1
  57. package/wizard/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "agssearch",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-binding",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -20,12 +20,42 @@ interface EventedConstructor {
20
20
  /** Creates a new Evented instance. */
21
21
  new <Events>(): Evented<Events>;
22
22
  }
23
+ /** The signature of {@link Evented | Evented's} `on(...)` method. */
24
+ interface EventedOn<Events> {
25
+ /**
26
+ * Register event listener for specific events.
27
+ *
28
+ * @param eventName name of the event
29
+ * @param callback the event handler callback will be invoked when the event has been emitted
30
+ * @returns a handle to unregister from the event
31
+ */
32
+ <Name extends EventNames<Events>>(eventName: Name, callback: EventCallback<Events[Name]>): EventHandle;
33
+ /**
34
+ * Register event listener for any event.
35
+ *
36
+ * @param eventName must be `"*"` for this overload
37
+ * @param callback the event handler callback will be invoked when any event has been emitted
38
+ * @returns a handle to unregister from the events
39
+ */
40
+ (eventName: "*", callback: EventCallback<Events[EventNames<Events>]>): EventHandle;
41
+ /**
42
+ * Register event listener for the events listed in `eventName`.
43
+ * Comma separated event names are possible, for example `"eventA,eventB"`.
44
+ *
45
+ * @param eventName the event name or list of names
46
+ * @param callback the event handler callback
47
+ * @returns a handle to unregister from the event(s)
48
+ */
49
+ (eventName: string | string[], callback: EventCallback<unknown>): EventHandle;
50
+ }
23
51
  /**
24
52
  * Like `Evented`, but only specifies the `on` function.
25
53
  * This is useful if clients of a class should not be able to invoke the `emit()` function
26
54
  * themselves.
27
55
  */
28
- type EventSource<Events> = Pick<Evented<Events>, "on">;
56
+ interface EventSource<Events> {
57
+ on: EventedOn<Events>;
58
+ }
29
59
  /**
30
60
  * A helper object that establishes TypeScript support for arbitrary event targets.
31
61
  *
@@ -223,31 +253,7 @@ declare function cleanup(target: any): void;
223
253
  * ```
224
254
  */
225
255
  interface Evented<Events> {
226
- /**
227
- * Register event listener for specific events.
228
- *
229
- * @param eventName name of the event
230
- * @param callback the event handler callback will be invoked when the event has been emitted
231
- * @returns a handle to unregister from the event
232
- */
233
- on<Name extends EventNames<Events>>(eventName: Name, callback: EventCallback<Events[Name]>): EventHandle;
234
- /**
235
- * Register event listener for any event.
236
- *
237
- * @param eventName must be `"*"` for this overload
238
- * @param callback the event handler callback will be invoked when any event has been emitted
239
- * @returns a handle to unregister from the events
240
- */
241
- on(eventName: "*", callback: EventCallback<Events[EventNames<Events>]>): EventHandle;
242
- /**
243
- * Register event listener for the events listed in `eventName`.
244
- * Comma separated event names are possible, for example `"eventA,eventB"`.
245
- *
246
- * @param eventName the event name or list of names
247
- * @param callback the event handler callback
248
- * @returns a handle to unregister from the event(s)
249
- */
250
- on(eventName: string | string[], callback: EventCallback<unknown>): EventHandle;
256
+ on: EventedOn<Events>;
251
257
  /**
252
258
  * Emits an event.
253
259
  * All associated event listeners registered for the given event name will be invoked asynchronously.
@@ -282,4 +288,4 @@ declare const Evented: EventedConstructor;
282
288
  declare function EventedMixin<BaseType extends Constructor<any, any>>(Base: BaseType): Constructor<InstanceType<BaseType> & Evented<any>, ConstructorParameters<BaseType>>;
283
289
 
284
290
  export { Evented, EventedMixin, EventedMixin as Evented_Mixin, cleanup, createTypedEvents, emit, emitSync, on };
285
- export type { EventCallback, EventHandle, EventNames, EventSource, EventedConstructor, TypedEvents };
291
+ export type { EventCallback, EventHandle, EventNames, EventSource, EventedConstructor, EventedOn, TypedEvents };
@@ -8,7 +8,6 @@ declare class Locale {
8
8
  /**
9
9
  * Creates a Locale
10
10
  *
11
- * @constructs
12
11
  * @param lang The language or the full lang-country string.
13
12
  * @param country The country.
14
13
  */
@@ -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"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-core",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-dom",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": "./index.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-fetch",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": "./index.d.ts"
5
5
  }
@@ -304,7 +304,7 @@ declare abstract class Stream<T> implements Iterable<T> {
304
304
  * const result = Stream.from(items).take(1).toArray(); // [1]
305
305
  * ```
306
306
  *
307
- * @count the number of elements to include in the returned stream
307
+ * @param count the number of elements to include in the returned stream
308
308
  */
309
309
  take(count: number): Stream<T>;
310
310
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-streams",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-tokens",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-vue",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": "./index.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "apprt-vuetify",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "coordinateconversion",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "coordinatetransformer",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
package/ct/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ct",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": "./main.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "dataform",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "dataview",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "domains-system",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "editing",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "esri-widgets",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "geojson",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "geometryservice",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "graphics",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "highlights",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "integration-map",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "managementlayout",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "map-actions",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "map-basemaps-api",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "map-config-api",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "map-init",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "map-widget",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "mapdraw-api",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "mapnavigation",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "maptips",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "measurement-2d",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "measurement-3d",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conterra/ct-mapapps-typings",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-next.20251024040237",
4
4
  "description": "TypeDefinitions for ct-mapapps",
5
5
  "author": "conterra",
6
6
  "license": "Apache-2.0"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "parametermanager",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "popups",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": "./main.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "portal-security",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "result-api",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "search-api",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "search-ui",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "selection-services",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,4 +1,4 @@
1
- import { Evented } from 'apprt-core/Events';
1
+ import { Evented, EventSource, EventedOn } from 'apprt-core/Events';
2
2
  import { Metadata, StoreEvents, SyncStore, QueryOptions, ResultItems, SyncWritableStore, CreateOptions, AsyncStore, AsyncQueryResult, GetOptions, AsyncWritableStore } from './api/Store.js';
3
3
  import { ComplexQueryExpression } from './api/ComplexQueryLang.js';
4
4
  import '@arcgis/core/geometry/Geometry';
@@ -57,9 +57,9 @@ declare class SyncWritableInMemoryStore<ItemType extends Record<string, any>, ID
57
57
  /**
58
58
  * A readonly asynchronous store.
59
59
  */
60
- declare class AsyncInMemoryStore<ItemType extends Record<string, any>, IDType extends string | number> implements AsyncStore<ItemType, IDType> {
60
+ declare class AsyncInMemoryStore<ItemType extends Record<string, any>, IDType extends string | number> implements AsyncStore<ItemType, IDType>, EventSource<StoreEvents<IDType>> {
61
61
  protected _mem: SyncWritableStore<ItemType, IDType>;
62
- readonly on: AsyncStore<ItemType, IDType>["on"];
62
+ readonly on: EventedOn<StoreEvents<IDType>>;
63
63
  constructor(opts?: ConstructorOptions<ItemType>);
64
64
  get id(): string | undefined;
65
65
  get idProperty(): string | undefined;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "store-api",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "system",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "templatelayout",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "test-utils",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "theme-tester",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
package/toc/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "toc",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "toolrules",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "vuetify-component-overview",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "windowmanager",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "wizard",
3
- "version": "4.20.0",
3
+ "version": "4.20.1-SNAPSHOT",
4
4
  "types": ""
5
5
  }