@conterra/ct-mapapps-typings 4.19.0-next.20241031045252 → 4.19.0-next.20241101051158

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 (61) hide show
  1. package/agssearch/api.d.ts +0 -1
  2. package/apprt/BundleEvent.d.ts +12 -9
  3. package/apprt/Constants.d.ts +6 -5
  4. package/apprt/FrameworkEvent.d.ts +8 -5
  5. package/apprt/ServiceEvent.d.ts +8 -5
  6. package/apprt/event/EventConstants.d.ts +3 -2
  7. package/apprt/launch/FrameworkEvent.d.ts +2 -0
  8. package/apprt/semver.d.ts +2 -2
  9. package/coordinatetransformer/api/CoordinateTransformer.d.ts +0 -1
  10. package/coordinatetransformer/api/TransformationProvider.d.ts +0 -1
  11. package/coordinatetransformer/api/TransformerStrategy.d.ts +0 -1
  12. package/ct/mapping/geometry.d.ts +0 -1
  13. package/ct/request.d.ts +2 -2
  14. package/editing/api.d.ts +0 -1
  15. package/geojson/api.d.ts +0 -1
  16. package/geometryservice/api.d.ts +0 -1
  17. package/highlights/api.d.ts +0 -1
  18. package/map-actions/api.d.ts +0 -1
  19. package/map-basemaps-api/BasemapItem.d.ts +0 -1
  20. package/map-basemaps-api/BasemapsModel.d.ts +5 -3
  21. package/map-basemaps-api/api.d.ts +0 -1
  22. package/map-config-api/api.d.ts +0 -1
  23. package/map-init/api.d.ts +0 -1
  24. package/map-widget/Constraints.d.ts +1 -1
  25. package/map-widget/LayerObserver.d.ts +0 -1
  26. package/map-widget/LayerTraverser.d.ts +0 -1
  27. package/map-widget/MapWidgetFactory.d.ts +1 -2
  28. package/map-widget/MapWidgetModel.d.ts +4 -2
  29. package/map-widget/ViewReadyWatcher.d.ts +1 -1
  30. package/map-widget/__internal__/{DFiGfJS1.d.ts → DDMSoh8m.d.ts} +0 -1
  31. package/map-widget/api/Constraints.d.ts +1 -1
  32. package/map-widget/api/MapWidget.d.ts +1 -1
  33. package/map-widget/api/MapWidgetFactory.d.ts +1 -2
  34. package/map-widget/api/MapWidgetModel.d.ts +1 -1
  35. package/map-widget/api/MapWidgetRegistration.d.ts +1 -2
  36. package/map-widget/api/SrsChangeService.d.ts +1 -2
  37. package/map-widget/api/index.d.ts +1 -1
  38. package/mapdraw-api/api.d.ts +0 -1
  39. package/maptips/api.d.ts +0 -1
  40. package/package.json +1 -1
  41. package/popups/BaseAction.d.ts +0 -1
  42. package/popups/ContentUpdateProxy.d.ts +0 -1
  43. package/popups/api.d.ts +0 -1
  44. package/portal-security/api.d.ts +0 -1
  45. package/result-api/__internal__/{LZ4ypyEL.d.ts → Sdx04aD7.d.ts} +0 -1
  46. package/result-api/api/actions.d.ts +1 -1
  47. package/result-api/api/formatting.d.ts +1 -1
  48. package/result-api/api/index.d.ts +1 -1
  49. package/result-api/api/model.d.ts +1 -1
  50. package/result-api/api/service.d.ts +1 -1
  51. package/result-api/api/ui.d.ts +1 -1
  52. package/search-api/api.d.ts +59 -4
  53. package/selection-services/DrawingSpatialInputAction.d.ts +0 -1
  54. package/selection-services/SpatialInputAction.d.ts +0 -1
  55. package/selection-services/TolerancePointDrawingInputAction.d.ts +0 -1
  56. package/selection-services/api/index.d.ts +0 -1
  57. package/store-api/api/ComplexQueryLang.d.ts +0 -1
  58. package/style-guide/style-guide-layout/template.d.ts +0 -1
  59. package/theme-tester/test-layout/test-layout.d.ts +0 -1
  60. package/toc/api/Item.d.ts +0 -1
  61. package/vuetify-component-overview/component-overview-layout/template.d.ts +0 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Layer from 'esri/layers/Layer';
3
2
  import Sublayer from 'esri/layers/support/Sublayer';
4
3
  import { AsyncStore } from 'store-api/api';
@@ -1,14 +1,17 @@
1
+ import { BundleEvent_INSTALLED, BundleEvent_STARTED, BundleEvent_STOPPED, BundleEvent_UNINSTALLED, BundleEvent_RESOLVING, BundleEvent_RESOLVED, BundleEvent_UNRESOLVED, BundleEvent_STARTING, BundleEvent_STOPPING } from './api/index.js';
2
+ import 'apprt-core/Types';
3
+
1
4
  declare const BundleEvent: {
2
5
  types: {
3
- INSTALLED: 1;
4
- STARTED: 2;
5
- STOPPED: 4;
6
- UNINSTALLED: 16;
7
- RESOLVING: 24;
8
- RESOLVED: 32;
9
- UNRESOLVED: 64;
10
- STARTING: 128;
11
- STOPPING: 256;
6
+ INSTALLED: BundleEvent_INSTALLED;
7
+ STARTED: BundleEvent_STARTED;
8
+ STOPPED: BundleEvent_STOPPED;
9
+ UNINSTALLED: BundleEvent_UNINSTALLED;
10
+ RESOLVING: BundleEvent_RESOLVING;
11
+ RESOLVED: BundleEvent_RESOLVED;
12
+ UNRESOLVED: BundleEvent_UNRESOLVED;
13
+ STARTING: BundleEvent_STARTING;
14
+ STOPPING: BundleEvent_STOPPING;
12
15
  };
13
16
  };
14
17
 
@@ -1,7 +1,7 @@
1
- import { ServiceReference } from './api/index.js';
1
+ import { ServiceReference, AUTOSTART_POLICY_YES, AUTOSTART_POLICY_NO } from './api/index.js';
2
2
  import 'apprt-core/Types';
3
3
 
4
- declare const _default: Readonly<{
4
+ declare const constants: {
5
5
  SERVICE_REFERENCE_COMPARATOR(a: ServiceReference, b: ServiceReference): number;
6
6
  /**
7
7
  * Location identifier of the OSGi <i>system bundle</i>, which is defined
@@ -81,8 +81,8 @@ declare const _default: Readonly<{
81
81
  * object returned by the `Bundle.getHeaders` method.
82
82
  */
83
83
  BUNDLE_AUTOSTARTPOLICY: string;
84
- AUTOSTARTPOLICY_YES: "yes";
85
- AUTOSTARTPOLICY_NO: "no";
84
+ AUTOSTARTPOLICY_YES: AUTOSTART_POLICY_YES;
85
+ AUTOSTARTPOLICY_NO: AUTOSTART_POLICY_NO;
86
86
  /**
87
87
  * Manifest header identifying the bundle's vendor.
88
88
  *
@@ -389,6 +389,7 @@ declare const _default: Readonly<{
389
389
  * ones.
390
390
  */
391
391
  CM_RANKING: string;
392
- }>;
392
+ };
393
+ declare const _default: Readonly<typeof constants>;
393
394
 
394
395
  export { _default as default };
@@ -1,10 +1,13 @@
1
+ import { FrameworkEvent_STARTED, FrameworkEvent_ERROR, FrameworkEvent_STARTLEVEL_CHANGED, FrameworkEvent_WARNING, FrameworkEvent_STOPPED } from './api/index.js';
2
+ import 'apprt-core/Types';
3
+
1
4
  declare const FrameworkEvent: {
2
5
  types: {
3
- STARTED: 1;
4
- ERROR: 2;
5
- STARTLEVEL_CHANGED: 8;
6
- WARNING: 16;
7
- STOPPED: 64;
6
+ STARTED: FrameworkEvent_STARTED;
7
+ ERROR: FrameworkEvent_ERROR;
8
+ STARTLEVEL_CHANGED: FrameworkEvent_STARTLEVEL_CHANGED;
9
+ WARNING: FrameworkEvent_WARNING;
10
+ STOPPED: FrameworkEvent_STOPPED;
8
11
  };
9
12
  };
10
13
 
@@ -1,10 +1,13 @@
1
+ import { ServiceEvent_REGISTERED, ServiceEvent_MODIFIED, ServiceEvent_UNREGISTERING, ServiceEvent_LAZY_GET, ServiceEvent_LAZY_UNGET } from './api/index.js';
2
+ import 'apprt-core/Types';
3
+
1
4
  declare const ServiceEvent: {
2
5
  types: {
3
- REGISTERED: 1;
4
- MODIFIED: 2;
5
- UNREGISTERING: 4;
6
- LAZY_GET: 8;
7
- LAZY_UNGET: 9;
6
+ REGISTERED: ServiceEvent_REGISTERED;
7
+ MODIFIED: ServiceEvent_MODIFIED;
8
+ UNREGISTERING: ServiceEvent_UNREGISTERING;
9
+ LAZY_GET: ServiceEvent_LAZY_GET;
10
+ LAZY_UNGET: ServiceEvent_LAZY_UNGET;
8
11
  };
9
12
  };
10
13
 
@@ -1,4 +1,4 @@
1
- declare const _default: Readonly<{
1
+ declare const EventConstants: {
2
2
  /**
3
3
  * Service registration property (named `Event-Topics`)
4
4
  * specifying the `Event` topics of interest to a Event Handler
@@ -113,6 +113,7 @@ declare const _default: Readonly<{
113
113
  * event property is `Date`.
114
114
  */
115
115
  TIMESTAMP: string;
116
- }>;
116
+ };
117
+ declare const _default: Readonly<typeof EventConstants>;
117
118
 
118
119
  export { _default as default };
@@ -1,4 +1,6 @@
1
1
  import FrameworkEvent from '../FrameworkEvent.js';
2
+ import '../api/index.js';
3
+ import 'apprt-core/Types';
2
4
 
3
5
 
4
6
 
package/apprt/semver.d.ts CHANGED
@@ -23,8 +23,8 @@ declare function semver(major?: number, minor?: number, patch?: number, hotfix?:
23
23
  */
24
24
  declare function semver(versionString?: string, ignoreBuild?: boolean): SemVer;
25
25
  declare namespace semver {
26
- var parse: (versionString?: string | undefined, ignoreBuild?: boolean | undefined) => SemVer;
27
- var create: (major?: number | undefined, minor?: number | undefined, patch?: number | undefined, hotfix?: number | undefined, prerelease?: readonly string[] | undefined, build?: string | undefined) => SemVer;
26
+ var parse: (versionString?: string, ignoreBuild?: boolean) => SemVer;
27
+ var create: (major?: number, minor?: number, patch?: number, hotfix?: number, prerelease?: readonly string[], build?: string) => SemVer;
28
28
  var compare: (a: SemVer, b: SemVer) => number;
29
29
  var equals: (a: SemVer, b: SemVer) => boolean;
30
30
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { SpatialReference, Geometry, Extent } from 'esri/geometry';
3
2
 
4
3
  /** Helper type to represent an item or an array of items. */
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { SpatialReference } from 'esri/geometry';
3
2
  import GeographicTransformation from 'esri/geometry/support/GeographicTransformation';
4
3
  import GeographicTransformationStep from 'esri/geometry/support/GeographicTransformationStep';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Geometry, SpatialReference } from 'esri/geometry';
3
2
  import { Items } from './CoordinateTransformer.js';
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import SpatialReference from 'esri/geometry/SpatialReference';
3
2
  import Point from 'esri/geometry/Point';
4
3
  import Extent from 'esri/geometry/Extent';
package/ct/request.d.ts CHANGED
@@ -3,8 +3,8 @@ declare namespace request {
3
3
  export { request };
4
4
  export function requestJSON(params: any, flags: any): Promise<any>;
5
5
  export let getProxiedUrl: (url: string, options?: {
6
- force?: boolean | undefined;
7
- } | undefined) => string;
6
+ force?: boolean;
7
+ }) => string;
8
8
  export namespace preprocessors {
9
9
  function add(p: any, first: any): void;
10
10
  function remove(p: any): void;
package/editing/api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Graphic from 'esri/Graphic';
3
2
  import FeatureLayer from 'esri/layers/FeatureLayer';
4
3
  import Editor from 'esri/widgets/Editor';
package/geojson/api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Geometry from 'esri/geometry/Geometry';
3
2
 
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Geometry } from 'esri/geometry';
3
2
  import Point from 'esri/geometry/Point';
4
3
  import Polygon from 'esri/geometry/Polygon';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Collection from 'esri/core/Collection';
3
2
  import Graphic from 'esri/Graphic';
4
3
  import esriSymbol from 'esri/symbols/Symbol';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { EventSource } from 'apprt-core/Events';
3
2
  import { Geometry } from 'esri/geometry';
4
3
  import { PopupTemplateDefinition } from 'popups/api';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { MutableConstructor } from 'apprt-core/Mutable';
3
2
  import { BasemapItem as BasemapItem$1 } from './api.js';
4
3
  import Basemap from 'esri/Basemap';
@@ -2,9 +2,11 @@ import { BasemapsModelMembers, BasemapItem, BasemapItemProps, BasemapsModel as B
2
2
  import 'apprt-core/Mutable';
3
3
  import 'esri/Basemap';
4
4
 
5
- declare const BasemapsModel: new (options?: Partial<Omit<BasemapsModelMembers, "basemaps"> & {
6
- basemaps: (BasemapItem | BasemapItemProps)[];
7
- }>) => BasemapsModel$1;
5
+ declare const BasemapsModel: {
6
+ new (options?: Partial<Omit<BasemapsModelMembers, "basemaps"> & {
7
+ basemaps: (BasemapItem | BasemapItemProps)[];
8
+ }>): BasemapsModel$1;
9
+ };
8
10
  type BasemapsModel = BasemapsModel$1;
9
11
 
10
12
  export { BasemapsModel, BasemapsModel as default };
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Mutable } from 'apprt-core/Mutable';
3
2
  import Basemap from 'esri/Basemap';
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { ExtensibleUnion } from 'apprt-core/Types';
3
2
  import Basemap from 'esri/Basemap';
4
3
  import Ground from 'esri/Ground';
package/map-init/api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Map from 'esri/Map';
3
2
  import { BasemapsModel } from 'map-basemaps-api/api';
4
3
  import { MapWidgetModel, MapWidget } from 'map-widget/api';
@@ -1,5 +1,5 @@
1
1
  import * as apprt_core_Mutable from 'apprt-core/Mutable';
2
- import { ViewMode, Constraints as Constraints$1 } from './__internal__/DFiGfJS1.js';
2
+ import { ViewMode, Constraints as Constraints$1 } from './__internal__/DDMSoh8m.js';
3
3
  import 'esri/geometry';
4
4
  import 'esri/layers/support/LOD';
5
5
  import 'esri/Camera';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Context as Context$1 } from 'apprt-core/TreeWalker';
3
2
  import { LayerNode, VisitCodes } from './LayerTraverser.js';
4
3
  import Layer from 'esri/layers/Layer';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Context } from 'apprt-core/TreeWalker';
3
2
  import Collection from 'esri/core/Collection';
4
3
  import Layer from 'esri/layers/Layer';
@@ -1,6 +1,5 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Map from 'esri/Map';
3
- import { MapWidgetModel } from './__internal__/DFiGfJS1.js';
2
+ import { MapWidgetModel } from './__internal__/DDMSoh8m.js';
4
3
  import { MapWidget } from './api/MapWidget.js';
5
4
  import { MapWidgetFactory as MapWidgetFactory$1 } from './api/MapWidgetFactory.js';
6
5
  import 'apprt-core/Mutable';
@@ -1,4 +1,4 @@
1
- import { MapWidgetModelMembers, MapWidgetModel as MapWidgetModel$1 } from './__internal__/DFiGfJS1.js';
1
+ import { MapWidgetModelMembers, MapWidgetModel as MapWidgetModel$1 } from './__internal__/DDMSoh8m.js';
2
2
  import 'apprt-core/Mutable';
3
3
  import 'esri/geometry';
4
4
  import 'esri/layers/support/LOD';
@@ -10,7 +10,9 @@ import 'esri/views/MapView';
10
10
  import 'esri/views/SceneView';
11
11
  import './api/Navigation.js';
12
12
 
13
- declare const MapWidgetModel: new (args: Partial<MapWidgetModelMembers>) => MapWidgetModel;
13
+ declare const MapWidgetModel: {
14
+ new (args: Partial<MapWidgetModelMembers>): MapWidgetModel;
15
+ };
14
16
  type MapWidgetModel = MapWidgetModel$1;
15
17
 
16
18
  export { MapWidgetModel, MapWidgetModel as default };
@@ -1,4 +1,4 @@
1
- import { MapWidgetModel } from './__internal__/DFiGfJS1.js';
1
+ import { MapWidgetModel } from './__internal__/DDMSoh8m.js';
2
2
  import 'apprt-core/Mutable';
3
3
  import 'esri/geometry';
4
4
  import 'esri/layers/support/LOD';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Mutable } from 'apprt-core/Mutable';
3
2
  import { Extent, Point, SpatialReference, Polygon } from 'esri/geometry';
4
3
  import LOD from 'esri/layers/support/LOD';
@@ -1,7 +1,7 @@
1
1
  import 'apprt-core/Mutable';
2
2
  import 'esri/geometry';
3
3
  import 'esri/layers/support/LOD';
4
- export { Constraints, ConstraintsMembers } from '../__internal__/DFiGfJS1.js';
4
+ export { Constraints, ConstraintsMembers } from '../__internal__/DDMSoh8m.js';
5
5
  import 'esri/Camera';
6
6
  import 'esri/Map';
7
7
  import 'esri/TimeExtent';
@@ -1,4 +1,4 @@
1
- import { MapWidgetModel } from '../__internal__/DFiGfJS1.js';
1
+ import { MapWidgetModel } from '../__internal__/DDMSoh8m.js';
2
2
  import 'apprt-core/Mutable';
3
3
  import 'esri/geometry';
4
4
  import 'esri/layers/support/LOD';
@@ -1,7 +1,6 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Map from 'esri/Map';
3
2
  import { MapWidget } from './MapWidget.js';
4
- import { MapWidgetModelMembers, MapWidgetModel } from '../__internal__/DFiGfJS1.js';
3
+ import { MapWidgetModelMembers, MapWidgetModel } from '../__internal__/DDMSoh8m.js';
5
4
  import 'apprt-core/Mutable';
6
5
  import 'esri/geometry';
7
6
  import 'esri/layers/support/LOD';
@@ -6,6 +6,6 @@ import 'esri/TimeExtent';
6
6
  import 'esri/Viewpoint';
7
7
  import 'esri/views/MapView';
8
8
  import 'esri/views/SceneView';
9
- export { MapWidgetModel, MapWidgetModelMembers, View, ViewMode, ViewPadding } from '../__internal__/DFiGfJS1.js';
9
+ export { MapWidgetModel, MapWidgetModelMembers, View, ViewMode, ViewPadding } from '../__internal__/DDMSoh8m.js';
10
10
  import './Navigation.js';
11
11
  import 'esri/layers/support/LOD';
@@ -1,7 +1,6 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Map from 'esri/Map';
3
2
  import { MapWidget } from './MapWidget.js';
4
- import { MapWidgetModel } from '../__internal__/DFiGfJS1.js';
3
+ import { MapWidgetModel } from '../__internal__/DDMSoh8m.js';
5
4
  import 'apprt-core/Mutable';
6
5
  import 'esri/geometry';
7
6
  import 'esri/layers/support/LOD';
@@ -1,7 +1,6 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { SpatialReference } from 'esri/geometry';
3
2
  import { MapWidget } from './MapWidget.js';
4
- import '../__internal__/DFiGfJS1.js';
3
+ import '../__internal__/DDMSoh8m.js';
5
4
  import 'apprt-core/Mutable';
6
5
  import 'esri/layers/support/LOD';
7
6
  import 'esri/Camera';
@@ -1,4 +1,4 @@
1
- export { Constraints, ConstraintsMembers, MapWidgetModel, MapWidgetModelMembers, View, ViewMode, ViewPadding } from '../__internal__/DFiGfJS1.js';
1
+ export { Constraints, ConstraintsMembers, MapWidgetModel, MapWidgetModelMembers, View, ViewMode, ViewPadding } from '../__internal__/DDMSoh8m.js';
2
2
  export { Navigation, NavigationMembers } from './Navigation.js';
3
3
  export { MapWidget } from './MapWidget.js';
4
4
  export { MapWidgetFactory } from './MapWidgetFactory.js';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Mutable } from 'apprt-core/Mutable';
3
2
  import Graphic from 'esri/Graphic';
4
3
  import { Symbol } from 'esri/symbols';
package/maptips/api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import MapView from 'esri/views/MapView';
3
2
  import SceneView from 'esri/views/SceneView';
4
3
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conterra/ct-mapapps-typings",
3
- "version": "4.19.0-next.20241031045252",
3
+ "version": "4.19.0-next.20241101051158",
4
4
  "description": "TypeDefinitions for ct-mapapps",
5
5
  "author": "conterra",
6
6
  "license": "Apache-2.0"
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import ActionButton from 'esri/support/actions/ActionButton';
3
2
  import ActionToggle from 'esri/support/actions/ActionToggle';
4
3
  import { Action } from './api.js';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Graphic from 'esri/Graphic';
3
2
 
4
3
  /**
package/popups/api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Point } from 'esri/geometry';
3
2
  import Graphic from 'esri/Graphic';
4
3
  import Layer from 'esri/layers/Layer';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { EventSource } from 'apprt-core/Events';
3
2
  import Credential from 'esri/identity/Credential';
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { EventSource, Watchable, DeepReadonly } from 'apprt-core/Types';
3
2
  import { SpatialReference, Geometry } from 'esri/geometry';
4
3
  import { AllowedIdTypes, Store, FieldData } from 'store-api/api';
@@ -1,4 +1,4 @@
1
- import { DataTable, TableItem, DataTableCollection } from '../__internal__/LZ4ypyEL.js';
1
+ import { DataTable, TableItem, DataTableCollection } from '../__internal__/Sdx04aD7.js';
2
2
  import { EventSource } from 'apprt-core/Events';
3
3
  import 'apprt-core/Types';
4
4
  import 'esri/geometry';
@@ -1,4 +1,4 @@
1
- export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/LZ4ypyEL.js';
1
+ export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/Sdx04aD7.js';
2
2
  import 'apprt-core/Types';
3
3
  import 'esri/geometry';
4
4
  import 'store-api/api';
@@ -1,4 +1,4 @@
1
- export { ArcadeFormatOptions, CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Filter, FocusChangedEvent, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, ItemCount, NumberFormatOptions, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties, WellKnownFormatterOptions } from '../__internal__/LZ4ypyEL.js';
1
+ export { ArcadeFormatOptions, CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Filter, FocusChangedEvent, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, ItemCount, NumberFormatOptions, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties, WellKnownFormatterOptions } from '../__internal__/Sdx04aD7.js';
2
2
  export { DataTableFactory, ResultViewerService, ResultViewerServiceEvents, ResultViewerServiceOpenOptions } from './service.js';
3
3
  export { DataTableUi, DataTableUiConfig, DataTableUiEvents, DataTableUiFactory } from './ui.js';
4
4
  export { BulkActionContext, BulkButtonTableAction, BulkTableAction, RowActionContext, RowButtonTableAction, RowTableAction, TableAction, TableActionDisplayState, TableActionDisplayStateProvider, TableActionItem, TableActionResolver, TableActionResolverContext, TableActionResolverContextEvents, TableActionResolverContextOptions, TableActionUIType } from './actions.js';
@@ -1,4 +1,4 @@
1
1
  import 'apprt-core/Types';
2
2
  import 'esri/geometry';
3
3
  import 'store-api/api';
4
- export { CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, Filter, FocusChangedEvent, ItemCount, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties } from '../__internal__/LZ4ypyEL.js';
4
+ export { CollectionChangedEvent, Column, ColumnAlign, ColumnProvider, ColumnProviderFactory, DataSource, DataTable, DataTableCollection, DataTableCollectionEvents, DataTableEvents, DataTableId, DataTableWatchProperties, Dataset, DatasetCapabilities, DatasetEvents, DatasetField, DatasetItem, DatasetItemId, DatasetItemIdsProvider, DatasetState, DatasetWatchProperties, Filter, FocusChangedEvent, ItemCount, QueryDefinition, QueryResult, RowEvent, RowItem, SELECTION_COLUMN_NAME, Selection, SelectionEvents, SortSpecifier, SuggestFilter, TableItem, TableModel, TableModelEvents, TableModelState, TableModelWatchProperties } from '../__internal__/Sdx04aD7.js';
@@ -1,5 +1,5 @@
1
1
  import { Store, ComplexQueryExpression, QueryOptions } from 'store-api/api';
2
- import { DataTableCollection, DataTable, DatasetItemIdsProvider } from '../__internal__/LZ4ypyEL.js';
2
+ import { DataTableCollection, DataTable, DatasetItemIdsProvider } from '../__internal__/Sdx04aD7.js';
3
3
  import { EventSource, Handle } from 'apprt-core/Types';
4
4
  import 'esri/geometry';
5
5
 
@@ -1,4 +1,4 @@
1
- import { DataTableCollection } from '../__internal__/LZ4ypyEL.js';
1
+ import { DataTableCollection } from '../__internal__/Sdx04aD7.js';
2
2
  import { EventSource } from 'apprt-core/Types';
3
3
  import 'esri/geometry';
4
4
  import 'store-api/api';
@@ -4,6 +4,10 @@ import { Store } from 'store-api/api';
4
4
  * Provides search functionality (use `search-api.SearchService` OSGi service name).
5
5
  */
6
6
  interface SearchService {
7
+ /**
8
+ * Returns true if the service knows a store with the given id.
9
+ */
10
+ hasStore(storeId: string): boolean;
7
11
  /**
8
12
  * Searches items on one or more data sources using the given query.
9
13
  *
@@ -25,6 +29,17 @@ interface SearchOptions {
25
29
  * See https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal.
26
30
  */
27
31
  signal?: AbortSignal;
32
+ /**
33
+ * IDs of stores to search. If not provided, all available stores are searched
34
+ */
35
+ stores?: string[];
36
+ /**
37
+ * Optional context parameter that is passed through the search-api.
38
+ * This value can be used to indicate the origin of the search (e.g. a UI widget or bundle).
39
+ *
40
+ * See also {@link QueryEvent.context} and {@link SelectedEvent.context}.
41
+ */
42
+ context?: string;
28
43
  /**
29
44
  * An optional number of items requested from each store.
30
45
  * Note that the implementation may return fewer results if the
@@ -99,6 +114,16 @@ interface ResultSet {
99
114
  readonly items: ResultItem[];
100
115
  /** Total number of available results */
101
116
  readonly total: number;
117
+ /**
118
+ * Selects multiple items at once.
119
+ * The items must belong to this result set (from `this.items`).
120
+ *
121
+ * When using this method, make sure that the configured map actions
122
+ * can handle multiple items at once.
123
+ *
124
+ * See also {@link ResultItem.select} for more details.
125
+ */
126
+ select(items: ResultItem[]): ResultSelectionHandle;
102
127
  }
103
128
  /**
104
129
  * A single result item, for example describing a feature.
@@ -120,6 +145,8 @@ interface ResultItem {
120
145
  * that will clear side effects made by the selection, if applicable (e.g. highlights).
121
146
  *
122
147
  * Note that selections may also be removed automatically (e.g. when a new selection is made).
148
+ *
149
+ * To select multiple items at once, see {@link ResultGroup.select}.
123
150
  */
124
151
  select(): ResultSelectionHandle;
125
152
  }
@@ -136,15 +163,35 @@ interface ResultSelectionHandle {
136
163
  * An event emitted via the Event Service using the topic name `search-api/QUERY`.
137
164
  */
138
165
  interface QueryEvent {
139
- /** The original search query entered by the user. */
166
+ /**
167
+ * The original search query entered by the user.
168
+ */
140
169
  readonly query: string;
170
+ /**
171
+ * Context parameter that was specified when the search was started.
172
+ *
173
+ * May indicate the UI widget or bundle where the search was originally triggered.
174
+ *
175
+ * See also {@link SearchOptions.context}.
176
+ */
177
+ readonly context: string | undefined;
141
178
  }
142
179
  /**
143
180
  * An event emitted via the Event Service using the topic name `search-api/SELECTED`.
144
181
  */
145
182
  interface SelectedEvent {
146
- /** The original search query entered by the user. */
183
+ /**
184
+ * The original search query entered by the user.
185
+ */
147
186
  readonly query: string;
187
+ /**
188
+ * Context parameter that was specified when the search was started.
189
+ *
190
+ * May indicate the UI widget or bundle where the search was originally triggered.
191
+ *
192
+ * See also {@link SearchOptions.context}.
193
+ */
194
+ readonly context: string | undefined;
148
195
  /**
149
196
  * The source of the selected item.
150
197
  * Currently all sources are stores, but different source types may be added in the future.
@@ -152,9 +199,17 @@ interface SelectedEvent {
152
199
  */
153
200
  readonly source: ItemSource;
154
201
  /**
155
- * The selected item.
202
+ * The selected item (for single selection).
203
+ *
204
+ * Mutually exclusive with {@link items}.
205
+ */
206
+ readonly item?: Record<string, unknown>;
207
+ /**
208
+ * The selected items (for multi selection).
209
+ *
210
+ * Mutually exclusive with {@link item}.
156
211
  */
157
- readonly item: Readonly<Record<string, unknown>>;
212
+ readonly items?: Record<string, unknown>[];
158
213
  }
159
214
  /** Describes the item source for a selection event. */
160
215
  interface ItemSource {
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import CancelablePromise from 'apprt-core/CancelablePromise';
3
2
  import SpatialInputActionImpl, { CommonSpatialInputActionOptions } from './SpatialInputAction.js';
4
3
  import { MapWidgetModel } from 'map-widget/api';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import CancelablePromise from 'apprt-core/CancelablePromise';
3
2
  import { SpatialInputAction } from './api/index.js';
4
3
  import { Geometry } from 'esri/geometry';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import { Geometry } from 'esri/geometry';
3
2
  import DrawingSpatialInputAction, { DrawingSpatialInputActionOptions } from './DrawingSpatialInputAction.js';
4
3
  import 'apprt-core/CancelablePromise';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import CancelablePromise from 'apprt-core/CancelablePromise';
3
2
  import { Geometry } from 'esri/geometry';
4
3
  import { QueryExecutions } from 'store-api/QueryExecutions';
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Geometry from 'esri/geometry/Geometry';
3
2
 
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="types/build-support" />
2
1
  import templateStringContent from 'text!./template.html';
3
2
 
4
3
  declare namespace _default {
@@ -1,4 +1,3 @@
1
- /// <reference types="types/build-support" />
2
1
  import templateStringContent from 'text!./themeTester.html';
3
2
 
4
3
  declare namespace _default {
package/toc/api/Item.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="arcgis-js-api" />
2
1
  import Layer from 'esri/layers/Layer';
3
2
  import Sublayer from 'esri/layers/support/Sublayer';
4
3
  import WMSSublayer from 'esri/layers/support/WMSSublayer';
@@ -1,4 +1,3 @@
1
- /// <reference types="types/build-support" />
2
1
  import templateStringContent from 'text!./template.html';
3
2
 
4
3
  declare namespace _default {