@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.
Files changed (230) hide show
  1. package/agssearch/api.d.ts +2 -2
  2. package/agssearch/package.json +1 -1
  3. package/apprt/Bundle.d.ts +1 -1
  4. package/apprt/EnvironmentRuleMatcher.d.ts +2 -1
  5. package/apprt/api/index.d.ts +1 -0
  6. package/apprt/api/internal.d.ts +2 -2
  7. package/apprt/launch/BundleController.d.ts +4 -2
  8. package/apprt/launch/Launcher.d.ts +23 -3
  9. package/apprt/launch/layer-min.d.ts +1 -1
  10. package/apprt/launch/layer.d.ts +1 -1
  11. package/apprt/package.json +1 -1
  12. package/apprt/semverrange.d.ts +2 -1
  13. package/apprt/support/ServiceRegistrations.d.ts +3 -2
  14. package/apprt/tracker/BundleTracker.d.ts +2 -1
  15. package/apprt/tracker/ServiceTracker.d.ts +3 -2
  16. package/apprt-binding/Binding.d.ts +2 -1
  17. package/apprt-binding/Transformers.d.ts +2 -1
  18. package/apprt-binding/package.json +1 -1
  19. package/apprt-core/AsyncTask.d.ts +2 -1
  20. package/apprt-core/Cancel.d.ts +2 -1
  21. package/apprt-core/CancelablePromise.d.ts +2 -1
  22. package/apprt-core/Events.d.ts +34 -27
  23. package/apprt-core/Exception.d.ts +2 -1
  24. package/apprt-core/InjectedReference.d.ts +2 -1
  25. package/apprt-core/Locale.d.ts +0 -1
  26. package/apprt-core/Logger.d.ts +2 -1
  27. package/apprt-core/Mutable.d.ts +2 -1
  28. package/apprt-core/Observers.d.ts +2 -1
  29. package/apprt-core/Promise.d.ts +2 -1
  30. package/apprt-core/PropertyPath.d.ts +2 -1
  31. package/apprt-core/TaskExecutor.d.ts +2 -1
  32. package/apprt-core/TreeWalker.d.ts +2 -1
  33. package/apprt-core/Types.d.ts +3 -2
  34. package/apprt-core/clone.d.ts +2 -1
  35. package/apprt-core/comparators.d.ts +2 -4
  36. package/apprt-core/config.d.ts +9 -8
  37. package/apprt-core/freeze.d.ts +2 -1
  38. package/apprt-core/join.d.ts +2 -1
  39. package/apprt-core/load-css.d.ts +2 -1
  40. package/apprt-core/load-js.d.ts +3 -2
  41. package/apprt-core/package.json +1 -1
  42. package/apprt-core/parallel.d.ts +2 -1
  43. package/apprt-core/promise-utils.d.ts +2 -1
  44. package/apprt-core/string-replace.d.ts +2 -1
  45. package/apprt-dom/index.d.ts +2 -1
  46. package/apprt-dom/package.json +1 -1
  47. package/apprt-fetch/index.d.ts +3 -2
  48. package/apprt-fetch/package.json +1 -1
  49. package/apprt-streams/Stream.d.ts +1 -1
  50. package/apprt-streams/package.json +1 -1
  51. package/apprt-tokens/package.json +1 -1
  52. package/apprt-vue/package.json +1 -1
  53. package/apprt-vuetify/RegisterVuetify.d.ts +1 -1
  54. package/apprt-vuetify/components/copyText.d.ts +8 -0
  55. package/apprt-vuetify/package.json +1 -1
  56. package/coordinateconversion/api.d.ts +182 -0
  57. package/coordinateconversion/package.json +5 -0
  58. package/coordinatetransformer/api/CoordinateTransformer.d.ts +6 -4
  59. package/coordinatetransformer/api/ProjectionStore.d.ts +4 -2
  60. package/coordinatetransformer/api/TransformationProvider.d.ts +6 -4
  61. package/coordinatetransformer/api/TransformerStrategy.d.ts +4 -2
  62. package/coordinatetransformer/api/index.d.ts +6 -4
  63. package/coordinatetransformer/package.json +1 -1
  64. package/ct/async.d.ts +1 -1
  65. package/ct/mapping/geometry.d.ts +6 -6
  66. package/ct/package.json +1 -1
  67. package/ct/tools/Tool.d.ts +300 -2
  68. package/dataform/package.json +1 -1
  69. package/dataview/package.json +1 -1
  70. package/domains-system/package.json +1 -1
  71. package/editing/api.d.ts +5 -15
  72. package/editing/package.json +1 -1
  73. package/esri-widgets/EsriDijit.d.ts +2 -1
  74. package/esri-widgets/package.json +1 -1
  75. package/geojson/api.d.ts +6 -6
  76. package/geojson/package.json +1 -1
  77. package/geometryservice/api.d.ts +15 -15
  78. package/geometryservice/package.json +1 -1
  79. package/graphics/GraphicsBuilder.d.ts +1 -1
  80. package/graphics/package.json +1 -1
  81. package/highlights/api.d.ts +4 -4
  82. package/highlights/package.json +1 -1
  83. package/integration-map/package.json +1 -1
  84. package/managementlayout/package.json +1 -1
  85. package/map-actions/api.d.ts +2 -2
  86. package/map-actions/package.json +1 -1
  87. package/map-basemaps-api/BasemapItem.d.ts +2 -9
  88. package/map-basemaps-api/BasemapsModel.d.ts +1 -1
  89. package/map-basemaps-api/api.d.ts +1 -1
  90. package/map-basemaps-api/package.json +1 -1
  91. package/map-config-api/api.d.ts +38 -38
  92. package/map-config-api/package.json +1 -1
  93. package/map-init/api.d.ts +1 -1
  94. package/map-init/package.json +1 -1
  95. package/map-widget/Constraints.d.ts +16 -11
  96. package/map-widget/LayerObserver.d.ts +7 -6
  97. package/map-widget/LayerTraverser.d.ts +7 -6
  98. package/map-widget/MapWidgetFactory.d.ts +17 -11
  99. package/map-widget/MapWidgetModel.d.ts +16 -11
  100. package/map-widget/Navigation.d.ts +9 -2
  101. package/map-widget/ViewReadyWatcher.d.ts +18 -12
  102. package/map-widget/__internal__/{DTPbI1Aa.d.ts → ChgqPGgf.d.ts} +54 -10
  103. package/map-widget/api/BaseTypes.d.ts +6 -0
  104. package/map-widget/api/Constraints.d.ts +16 -11
  105. package/map-widget/api/MapWidget.d.ts +16 -11
  106. package/map-widget/api/MapWidgetFactory.d.ts +19 -14
  107. package/map-widget/api/MapWidgetModel.d.ts +16 -11
  108. package/map-widget/api/MapWidgetRegistration.d.ts +17 -12
  109. package/map-widget/api/Navigation.d.ts +15 -2
  110. package/map-widget/api/SrsChangeService.d.ts +16 -11
  111. package/map-widget/api/VisibilityState.d.ts +109 -0
  112. package/map-widget/api/index.d.ts +17 -12
  113. package/map-widget/package.json +1 -1
  114. package/mapdraw-api/api.d.ts +3 -3
  115. package/mapdraw-api/package.json +1 -1
  116. package/mapnavigation/package.json +1 -1
  117. package/maptips/api.d.ts +2 -2
  118. package/maptips/package.json +1 -1
  119. package/measurement-2d/api.d.ts +3 -2
  120. package/measurement-2d/package.json +1 -1
  121. package/measurement-3d/api.d.ts +1 -1
  122. package/measurement-3d/package.json +1 -1
  123. package/package.json +6 -6
  124. package/parametermanager/package.json +1 -1
  125. package/popups/Action.d.ts +7 -7
  126. package/popups/BaseAction.d.ts +10 -9
  127. package/popups/ContentUpdateProxy.d.ts +5 -4
  128. package/popups/api.d.ts +6 -5
  129. package/popups/package.json +1 -1
  130. package/portal-security/api.d.ts +1 -1
  131. package/portal-security/package.json +1 -1
  132. package/result-api/__internal__/{Bnw4PH_u.d.ts → BGEg3fBn.d.ts} +38 -5
  133. package/result-api/api/actions.d.ts +3 -2
  134. package/result-api/api/formatting.d.ts +3 -2
  135. package/result-api/api/index.d.ts +3 -2
  136. package/result-api/api/model.d.ts +3 -2
  137. package/result-api/api/service.d.ts +9 -2
  138. package/result-api/api/ui.d.ts +3 -2
  139. package/result-api/package.json +1 -1
  140. package/search-api/api.d.ts +16 -2
  141. package/search-api/package.json +1 -1
  142. package/search-ui/api.d.ts +2 -1
  143. package/search-ui/package.json +1 -1
  144. package/selection-services/DrawingSpatialInputAction.d.ts +3 -2
  145. package/selection-services/SearchSource.d.ts +5 -4
  146. package/selection-services/SpatialInputAction.d.ts +3 -2
  147. package/selection-services/TolerancePointDrawingInputAction.d.ts +1 -1
  148. package/selection-services/api/index.d.ts +1 -1
  149. package/selection-services/package.json +1 -1
  150. package/store-api/ComplexQuery.d.ts +3 -2
  151. package/store-api/InMemoryStore.d.ts +6 -5
  152. package/store-api/QueryExecution.d.ts +2 -1
  153. package/store-api/QueryExecutions.d.ts +3 -2
  154. package/store-api/QueryResults.d.ts +1 -3
  155. package/store-api/SpatialQuery.d.ts +3 -2
  156. package/store-api/api/ComplexQueryLang.d.ts +1 -1
  157. package/store-api/api/Store.d.ts +2 -10
  158. package/store-api/api/index.d.ts +1 -1
  159. package/store-api/package.json +1 -1
  160. package/store-api/rest/BaseRestStore.d.ts +3 -2
  161. package/store-api/rest/BaseWriteableRestStore.d.ts +1 -1
  162. package/store-api/rest/ComplexQueryToSQL.d.ts +1 -1
  163. package/store-api/rest/ComplexQueryToSolrQL.d.ts +3 -2
  164. package/store-api/rest/RQLStore.d.ts +1 -1
  165. package/store-api/rest/SQLStore.d.ts +1 -1
  166. package/store-api/utils.d.ts +2 -6
  167. package/system/api/internal.d.ts +1 -1
  168. package/system/package.json +1 -1
  169. package/system/user/Authentication.d.ts +3 -2
  170. package/system/user/Authorization.d.ts +2 -1
  171. package/system/user/User.d.ts +2 -1
  172. package/templatelayout/package.json +1 -1
  173. package/test-utils/package.json +1 -1
  174. package/test-utils/waitFor.d.ts +2 -1
  175. package/theme-tester/package.json +1 -1
  176. package/toc/api/Action.d.ts +4 -4
  177. package/toc/api/Item.d.ts +5 -5
  178. package/toc/api/StateChecker.d.ts +4 -4
  179. package/toc/api/index.d.ts +4 -4
  180. package/toc/package.json +1 -1
  181. package/toolrules/package.json +1 -1
  182. package/vuetify-component-overview/package.json +1 -1
  183. package/windowmanager/package.json +1 -1
  184. package/wizard/package.json +1 -1
  185. package/apprt-core/Observable.d.ts +0 -55
  186. package/apprt-request/api.d.ts +0 -340
  187. package/apprt-request/main.d.ts +0 -6
  188. package/apprt-request/package.json +0 -5
  189. package/apprt-request/request.d.ts +0 -8
  190. package/apprt-vue/directives/clipboard.d.ts +0 -15
  191. package/ct/api/omnisearch/ResultHandler.d.ts +0 -3
  192. package/ct/api/omnisearch/Store.d.ts +0 -3
  193. package/ct/request.d.ts +0 -17
  194. package/ct/ui/controls/mobile/DropDownMenu.d.ts +0 -3
  195. package/omnisearch/ActionsHandler.d.ts +0 -9
  196. package/omnisearch/DrawHandler.d.ts +0 -9
  197. package/omnisearch/DropDownMenu.d.ts +0 -3
  198. package/omnisearch/OmniSearchFactory.d.ts +0 -3
  199. package/omnisearch/OmniSearchModel.d.ts +0 -3
  200. package/omnisearch/RadioButton.d.ts +0 -3
  201. package/omnisearch/ResultCommand.d.ts +0 -9
  202. package/omnisearch/SearchUI.d.ts +0 -3
  203. package/omnisearch/SettingsWidget.d.ts +0 -3
  204. package/omnisearch/ZoomHandler.d.ts +0 -8
  205. package/omnisearch/package.json +0 -5
  206. package/resultcenter/ActionController.d.ts +0 -3
  207. package/resultcenter/BaseCommand.d.ts +0 -3
  208. package/resultcenter/DataModel.d.ts +0 -3
  209. package/resultcenter/DataModelBroadcaster.d.ts +0 -3
  210. package/resultcenter/DataModelMapController.d.ts +0 -25
  211. package/resultcenter/DataViewController.d.ts +0 -3
  212. package/resultcenter/DataViewStore.d.ts +0 -3
  213. package/resultcenter/ExportResultsCommand.d.ts +0 -12
  214. package/resultcenter/FeatureMapVisualizer.d.ts +0 -35
  215. package/resultcenter/GraphicResolverFactory.d.ts +0 -15
  216. package/resultcenter/OpenPopupService.d.ts +0 -5
  217. package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +0 -3
  218. package/resultcenter/RemoveResultsCommand.d.ts +0 -6
  219. package/resultcenter/RestrictQueriesToView.d.ts +0 -3
  220. package/resultcenter/ResultcenterToolRuleProcessor.d.ts +0 -3
  221. package/resultcenter/SearchStoreHandler.d.ts +0 -8
  222. package/resultcenter/SelectAllResultsCommand.d.ts +0 -11
  223. package/resultcenter/StoreEventReceiver.d.ts +0 -3
  224. package/resultcenter/StoreRegistration.d.ts +0 -3
  225. package/resultcenter/TriggerShowResultCenter.d.ts +0 -3
  226. package/resultcenter/VisualizationLayerResolver.d.ts +0 -13
  227. package/resultcenter/package.json +0 -5
  228. package/selection-resultcenter/CachingStore.d.ts +0 -229
  229. package/selection-resultcenter/MemoryStore.d.ts +0 -10
  230. package/selection-resultcenter/package.json +0 -5
@@ -1,17 +1,22 @@
1
- import Map from 'esri/Map';
1
+ import Map from '@arcgis/core/Map';
2
2
  import { MapWidget } from './MapWidget.js';
3
- import { MapWidgetModel } from '../__internal__/DTPbI1Aa.js';
3
+ import { MapWidgetModel } from '../__internal__/ChgqPGgf.js';
4
4
  import 'apprt-core/Mutable';
5
- import 'esri/geometry';
6
- import 'esri/layers/support/LOD';
7
- import 'esri/Camera';
8
- import 'esri/time/TimeExtent';
9
- import 'esri/Viewpoint';
10
- import 'esri/views/MapView';
11
- import 'esri/views/SceneView';
5
+ import '@arcgis/core/geometry/Extent';
6
+ import '@arcgis/core/geometry/Polygon';
7
+ import '@arcgis/core/layers/support/LOD';
8
+ import '@arcgis/core/Camera';
9
+ import '@arcgis/core/geometry/Point';
10
+ import '@arcgis/core/geometry/SpatialReference';
11
+ import '@arcgis/core/layers/Layer';
12
+ import '@arcgis/core/layers/support/Sublayer';
13
+ import '@arcgis/core/time/TimeExtent';
14
+ import '@arcgis/core/Viewpoint';
15
+ import '@arcgis/core/views/MapView';
16
+ import '@arcgis/core/views/SceneView';
17
+ import './VisibilityState.js';
12
18
  import './Navigation.js';
13
- import 'esri/layers/support/Sublayer';
14
- import 'esri/layers/Layer';
19
+ import './BaseTypes.js';
15
20
 
16
21
  /**
17
22
  * Registers map-related components as OSGi services.
@@ -28,7 +33,7 @@ interface MapWidgetRegistration {
28
33
  * * map-widget.MapWidgetModel
29
34
  * * the map widget model provided to interact with the main map
30
35
  * * map-widget.Map
31
- * * the esri/Map part of the MapWidgetModel, provided if only the layer tree should change
36
+ * * the @arcgis/core/Map part of the MapWidgetModel, provided if only the layer tree should change
32
37
  * * map-widget.MapWidget
33
38
  * * the map widget, do not use it directly
34
39
  *
@@ -1,11 +1,24 @@
1
1
  import { Mutable } from 'apprt-core/Mutable';
2
2
 
3
+ /** Documentation for the members of {@link NavigationActionMap}. */
4
+ interface NavigationActionMapMembers {
5
+ /**
6
+ * Indicates whether the view zooms when the user scrolls the mouse wheel.
7
+ */
8
+ mouseWheel: "zoom" | "none";
9
+ }
10
+ type NavigationActionMap = Mutable<NavigationActionMapMembers>;
3
11
  /** Documentation for the members of {@link Navigation}. */
4
12
  interface NavigationMembers {
5
13
  /**
6
14
  * Indicates whether the view zooms when the user scrolls the mouse wheel.
15
+ * @deprecated Use actionMap.mouseWheel instead.
16
+ */
17
+ mouseWheelZoomEnabled?: boolean;
18
+ /**
19
+ * Defines the navigation controls behavior.
7
20
  */
8
- mouseWheelZoomEnabled: boolean;
21
+ actionMap: NavigationActionMap;
9
22
  /**
10
23
  * Indicates whether the view pans when the user touches the screen.
11
24
  */
@@ -17,4 +30,4 @@ interface NavigationMembers {
17
30
  */
18
31
  type Navigation = Mutable<NavigationMembers>;
19
32
 
20
- export type { Navigation, NavigationMembers };
33
+ export type { Navigation, NavigationActionMap, NavigationActionMapMembers, NavigationMembers };
@@ -1,17 +1,22 @@
1
- import { SpatialReference } from 'esri/geometry';
1
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
2
2
  import { MapWidget } from './MapWidget.js';
3
- import '../__internal__/DTPbI1Aa.js';
3
+ import '../__internal__/ChgqPGgf.js';
4
4
  import 'apprt-core/Mutable';
5
- import 'esri/layers/support/LOD';
6
- import 'esri/Camera';
7
- import 'esri/Map';
8
- import 'esri/time/TimeExtent';
9
- import 'esri/Viewpoint';
10
- import 'esri/views/MapView';
11
- import 'esri/views/SceneView';
5
+ import '@arcgis/core/geometry/Extent';
6
+ import '@arcgis/core/geometry/Polygon';
7
+ import '@arcgis/core/layers/support/LOD';
8
+ import '@arcgis/core/Camera';
9
+ import '@arcgis/core/geometry/Point';
10
+ import '@arcgis/core/layers/Layer';
11
+ import '@arcgis/core/layers/support/Sublayer';
12
+ import '@arcgis/core/Map';
13
+ import '@arcgis/core/time/TimeExtent';
14
+ import '@arcgis/core/Viewpoint';
15
+ import '@arcgis/core/views/MapView';
16
+ import '@arcgis/core/views/SceneView';
17
+ import './VisibilityState.js';
12
18
  import './Navigation.js';
13
- import 'esri/layers/support/Sublayer';
14
- import 'esri/layers/Layer';
19
+ import './BaseTypes.js';
15
20
 
16
21
  /**
17
22
  * The SrsChangeService provides methods for successful switching of SRS on a MapWidget.
@@ -0,0 +1,109 @@
1
+ /**
2
+ * Represents a single issue that prevents a layer from being visible.
3
+ *
4
+ * NOTE: More issue types may be added in future versions.
5
+ */
6
+ type VisibilityIssue =
7
+ /**
8
+ * The (sub-)layer is not configured to be visible.
9
+ */
10
+ "not-visible"
11
+ /**
12
+ * The (sub-)layer is not visible, because some of its parent(s) are not configured to be visible.
13
+ */
14
+ | "parent-not-visible"
15
+ /**
16
+ * The (sub-)layer is invisible because its opacity is set to 0.
17
+ */
18
+ | "hidden-by-opacity"
19
+ /**
20
+ * The (sub-)layer is invisible because some of its parent(s) opacity is set to 0.
21
+ */
22
+ | "parent-hidden-by-opacity"
23
+ /**
24
+ * The "full extent" of the (sub-)layer is not visible in the current view.
25
+ */
26
+ | "invisible-at-extent"
27
+ /**
28
+ * The (sub-)layer cannot be shown at the current scale.
29
+ */
30
+ | "invisible-at-scale"
31
+ /**
32
+ * The (sub-)layer cannot be shown at the current time extent.
33
+ */
34
+ | "invisible-at-time-extent"
35
+ /**
36
+ * The layer can only be shown in 3D.
37
+ * This flag is only available for layers (not for sub-layers).
38
+ */
39
+ | "unsupported-in-2d"
40
+ /**
41
+ * The current spatial reference system is not supported.
42
+ * This flag is only available for layers (not for sub-layers).
43
+ */
44
+ | "unsupported-srs"
45
+ /**
46
+ * The layer is either not loaded at all or still loading.
47
+ * This flag is only available for layers (not for sub-layers).
48
+ */
49
+ | "not-loaded"
50
+ /**
51
+ * The layer failed to load, for example due to a network problem.
52
+ * This flag is only available for layers (not for sub-layers).
53
+ */
54
+ | "load-failed"
55
+ /**
56
+ * No layer view is present for this layer.
57
+ * This is a generic error where we can't determine the actual cause.
58
+ * This flag is only available for layers (not for sub-layers).
59
+ */
60
+ | "no-layer-view"
61
+ /**
62
+ * The sub layer is not ready to be displayed, because the layer to which it belongs has issues.
63
+ * This flag is only available for sub-layers.
64
+ * A sublayer is marked by this state if the root layer has one of the following states: not-loaded, load-failed, no-layer-view, unsupported-srs, unsupported-in-2d.
65
+ */
66
+ | "root-layer-not-ready"
67
+ /**
68
+ * This info object has been destroyed, likely because the associated (sub-)layer was removed from the map.
69
+ */
70
+ | "destroyed";
71
+ /**
72
+ * Record with visibility issue type names.
73
+ */
74
+ type VisibilityIssueFilter<Keys extends VisibilityIssue = VisibilityIssue> = Record<Keys, 1>;
75
+ /**
76
+ * Holds effective visibility information for a specific layer in the map.
77
+ */
78
+ interface LayerVisibility {
79
+ /**
80
+ * Returns true if the layer is currently visible to the user.
81
+ *
82
+ * This check takes various states into account:
83
+ *
84
+ * - Is the layer enabled at all (`layer.visible`)?
85
+ * - Are the layer's parents visible?
86
+ * - Is the layer visible in the current extent or zoom level?
87
+ * - Does the layer support the current spatial reference system or view mode?
88
+ * - ...
89
+ */
90
+ readonly isEffectivelyVisible: boolean;
91
+ /**
92
+ * Visibility issues that prevent the layer from being visible.
93
+ *
94
+ * This array is non-empty if {@link isEffectivelyVisible} is false.
95
+ */
96
+ readonly visibilityIssues: VisibilityIssue[];
97
+ /**
98
+ * Filters visibility issues based on the provided filter.
99
+ * @param filter The filter to apply.
100
+ */
101
+ filterIssues<Keys extends VisibilityIssue = VisibilityIssue>(filter: VisibilityIssueFilter<Keys>): Keys[];
102
+ /**
103
+ * Checks if there are any visibility issues that match the provided filter.
104
+ * @param filter The filter to apply.
105
+ */
106
+ hasIssues<Keys extends VisibilityIssue = VisibilityIssue>(filter: VisibilityIssueFilter<Keys>): boolean;
107
+ }
108
+
109
+ export type { LayerVisibility, VisibilityIssue, VisibilityIssueFilter };
@@ -1,17 +1,22 @@
1
- export { Constraints, ConstraintsMembers, LayerLookupResult, MapWidgetModel, MapWidgetModelMembers, SceneViewEnvironment, View, ViewMode, ViewPadding, ViewingMode } from '../__internal__/DTPbI1Aa.js';
2
- export { Navigation, NavigationMembers } from './Navigation.js';
1
+ export { AnyLayer } from './BaseTypes.js';
2
+ export { Constraints, ConstraintsMembers, LayerLookupResult, MapWidgetModel, MapWidgetModelMembers, SceneViewEnvironment, View, ViewMode, ViewPadding, ViewingMode } from '../__internal__/ChgqPGgf.js';
3
+ export { Navigation, NavigationActionMap, NavigationActionMapMembers, NavigationMembers } from './Navigation.js';
3
4
  export { MapWidget } from './MapWidget.js';
4
5
  export { MapWidgetFactory } from './MapWidgetFactory.js';
6
+ export { LayerVisibility, VisibilityIssue, VisibilityIssueFilter } from './VisibilityState.js';
5
7
  export { MapWidgetRegistration } from './MapWidgetRegistration.js';
6
8
  export { SrsChangeService } from './SrsChangeService.js';
7
9
  import 'apprt-core/Mutable';
8
- import 'esri/geometry';
9
- import 'esri/layers/support/LOD';
10
- import 'esri/Camera';
11
- import 'esri/Map';
12
- import 'esri/time/TimeExtent';
13
- import 'esri/Viewpoint';
14
- import 'esri/views/MapView';
15
- import 'esri/views/SceneView';
16
- import 'esri/layers/support/Sublayer';
17
- import 'esri/layers/Layer';
10
+ import '@arcgis/core/geometry/Extent';
11
+ import '@arcgis/core/geometry/Polygon';
12
+ import '@arcgis/core/layers/support/LOD';
13
+ import '@arcgis/core/Camera';
14
+ import '@arcgis/core/geometry/Point';
15
+ import '@arcgis/core/geometry/SpatialReference';
16
+ import '@arcgis/core/layers/Layer';
17
+ import '@arcgis/core/layers/support/Sublayer';
18
+ import '@arcgis/core/Map';
19
+ import '@arcgis/core/time/TimeExtent';
20
+ import '@arcgis/core/Viewpoint';
21
+ import '@arcgis/core/views/MapView';
22
+ import '@arcgis/core/views/SceneView';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "map-widget",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { Mutable } from 'apprt-core/Mutable';
2
- import Graphic from 'esri/Graphic';
3
- import { Symbol } from 'esri/symbols';
2
+ import Graphic from '@arcgis/core/Graphic';
4
3
  import { View } from 'map-widget/api';
4
+ import { SymbolUnion } from '@arcgis/core/unionTypes';
5
5
 
6
6
  /**
7
7
  * Draws a graphic on the map.
@@ -105,7 +105,7 @@ interface DrawingOptions {
105
105
  * Lookup table for symbols.
106
106
  */
107
107
  type SymbolLookup = {
108
- [D in DrawingMode]?: __esri.SymbolProperties | Symbol;
108
+ [D in DrawingMode]?: __esri.SymbolProperties | SymbolUnion;
109
109
  };
110
110
  /**
111
111
  * The type of graphic being drawn.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "mapdraw-api",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "mapnavigation",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
package/maptips/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import MapView from 'esri/views/MapView';
2
- import SceneView from 'esri/views/SceneView';
1
+ import MapView from '@arcgis/core/views/MapView';
2
+ import SceneView from '@arcgis/core/views/SceneView';
3
3
 
4
4
  /**
5
5
  * Constructs maptip viewer instances.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "maptips",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
@@ -1,6 +1,7 @@
1
1
  import { Watchable } from 'apprt-core/Types';
2
- import { Polyline, Polygon } from 'esri/geometry';
3
- import { SystemOrAreaUnit, SystemOrLengthUnit } from 'esri/core/units';
2
+ import Polyline from '@arcgis/core/geometry/Polyline';
3
+ import Polygon from '@arcgis/core/geometry/Polygon';
4
+ import { SystemOrAreaUnit, SystemOrLengthUnit } from '@arcgis/core/core/units';
4
5
 
5
6
  /**
6
7
  * Measurement mode.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "measurement-2d",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { Watchable } from 'apprt-core/Types';
2
- import { SystemOrAreaUnit, SystemOrLengthUnit } from 'esri/core/units';
2
+ import { SystemOrAreaUnit, SystemOrLengthUnit } from '@arcgis/core/core/units';
3
3
 
4
4
  /**
5
5
  * Measurement mode.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "measurement-3d",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "@conterra/ct-mapapps-typings",
3
- "version": "4.20.1",
4
- "description": "TypeDefinitions for ct-mapapps",
5
- "author": "conterra",
6
- "license": "Apache-2.0"
7
- }
2
+ "name": "@conterra/ct-mapapps-typings",
3
+ "version": "4.20.2",
4
+ "description": "TypeDefinitions for ct-mapapps",
5
+ "author": "conterra",
6
+ "license": "Apache-2.0"
7
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "parametermanager",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
@@ -1,11 +1,11 @@
1
1
  import { BaseActionConstructor } from './BaseAction.js';
2
- import 'esri/support/actions/ActionButton';
3
- import 'esri/support/actions/ActionToggle';
2
+ import '@arcgis/core/support/actions/ActionButton';
3
+ import '@arcgis/core/support/actions/ActionToggle';
4
4
  import './api.js';
5
- import 'esri/geometry';
6
- import 'esri/Graphic';
7
- import 'esri/layers/Layer';
8
- import 'esri/layers/support/Sublayer';
5
+ import '@arcgis/core/geometry/Point';
6
+ import '@arcgis/core/Graphic';
7
+ import '@arcgis/core/layers/Layer';
8
+ import '@arcgis/core/layers/support/Sublayer';
9
9
  import 'map-widget/api';
10
10
  import 'store-api/api';
11
11
 
@@ -14,7 +14,7 @@ declare const Action_base: BaseActionConstructor<"button">;
14
14
  * This is the default Action class.
15
15
  * It equals `popups/BaseAction("button")`.
16
16
  *
17
- * @see [esri/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html)
17
+ * @see [@arcgis/core/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html)
18
18
  */
19
19
  declare class Action extends Action_base {
20
20
  }
@@ -1,10 +1,10 @@
1
- import ActionButton from 'esri/support/actions/ActionButton';
2
- import ActionToggle from 'esri/support/actions/ActionToggle';
1
+ import ActionButton from '@arcgis/core/support/actions/ActionButton';
2
+ import ActionToggle from '@arcgis/core/support/actions/ActionToggle';
3
3
  import { Action } from './api.js';
4
- import 'esri/geometry';
5
- import 'esri/Graphic';
6
- import 'esri/layers/Layer';
7
- import 'esri/layers/support/Sublayer';
4
+ import '@arcgis/core/geometry/Point';
5
+ import '@arcgis/core/Graphic';
6
+ import '@arcgis/core/layers/Layer';
7
+ import '@arcgis/core/layers/support/Sublayer';
8
8
  import 'map-widget/api';
9
9
  import 'store-api/api';
10
10
 
@@ -26,8 +26,8 @@ type EsriActionProps<Type extends EsriActionType> = EsriActions[Type][1];
26
26
  */
27
27
  type EsriActionType = "button" | "toggle";
28
28
  /**
29
- * Either [esri/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html)
30
- * or [esri/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html)
29
+ * Either [@arcgis/core/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html)
30
+ * or [@arcgis/core/support/actions/ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html)
31
31
  */
32
32
  type EsriAction = ActionButton | ActionToggle;
33
33
  /**
@@ -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 { type BaseActionConstructor, type EsriAction, type EsriActionType, type ExtendedEsriAction, BaseAction as default };
62
+ export { BaseAction as default };
63
+ export type { BaseActionConstructor, EsriAction, EsriActionType, ExtendedEsriAction };
@@ -1,4 +1,4 @@
1
- import Graphic from 'esri/Graphic';
1
+ import Graphic from '@arcgis/core/Graphic';
2
2
 
3
3
  /**
4
4
  * Proxy to handle content updates
@@ -24,8 +24,8 @@ interface WidgetProxy {
24
24
  * @example
25
25
  * ```ts
26
26
  * import VueDijit from "apprt-vue/VueDijit";
27
- * import Graphic from "esri/Graphic";
28
- * import Layer from "esri/layers/Layer";
27
+ * import Graphic from "@arcgis/core/Graphic";
28
+ * import Layer from "@arcgis/core/layers/Layer";
29
29
  * import { PopupDefinition, PopupTemplateDefinition } from "popups/api";
30
30
  * import ContentUpdateProxy, { WidgetProxy } from "popups/ContentUpdateProxy";
31
31
  * import { Store } from "store-api/api";
@@ -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 { type WidgetProxy, ContentUpdateProxy as default };
95
+ export { ContentUpdateProxy as default };
96
+ export type { WidgetProxy };
package/popups/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Point } from 'esri/geometry';
2
- import Graphic from 'esri/Graphic';
3
- import Layer from 'esri/layers/Layer';
4
- import Sublayer from 'esri/layers/support/Sublayer';
1
+ import Point from '@arcgis/core/geometry/Point';
2
+ import Graphic from '@arcgis/core/Graphic';
3
+ import Layer from '@arcgis/core/layers/Layer';
4
+ import Sublayer from '@arcgis/core/layers/support/Sublayer';
5
5
  import { MapWidgetModel } from 'map-widget/api';
6
6
  import { Store } from 'store-api/api';
7
7
 
@@ -14,6 +14,7 @@ type PopupTemplateProperties = __esri.PopupTemplateProperties;
14
14
  */
15
15
  type PopupTemplateDefinition = PopupTemplateProperties & {
16
16
  popupType?: string;
17
+ customActions?: string[];
17
18
  };
18
19
  /**
19
20
  * Result returned when the template could not be resolved.
@@ -186,7 +187,7 @@ interface ActionMethods {
186
187
  /**
187
188
  * Actions which can be executed in Popups.
188
189
  *
189
- * @see [esri/support/actions/ActionBase](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionBase.html)
190
+ * @see [@arcgis/core/support/actions/ActionBase](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionBase.html)
190
191
  */
191
192
  type Action = __esri.ActionButtonProperties & __esri.ActionToggleProperties & Required<Pick<__esri.ActionBaseProperties, "id" | "title">> & ActionMethods;
192
193
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "popups",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": "./main.d.ts"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { EventSource } from 'apprt-core/Events';
2
- import Credential from 'esri/identity/Credential';
2
+ import Credential from '@arcgis/core/identity/Credential';
3
3
 
4
4
  /**
5
5
  * Events emitted from PortalLoginService.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "portal-security",
3
- "version": "4.20.1",
3
+ "version": "4.20.2",
4
4
  "types": ""
5
5
  }
@@ -1,5 +1,6 @@
1
1
  import { EventSource, Watchable, DeepReadonly } from 'apprt-core/Types';
2
- import { SpatialReference, Geometry } from 'esri/geometry';
2
+ import { Geometry } from '@arcgis/core/geometry';
3
+ import SpatialReference from '@arcgis/core/geometry/SpatialReference';
3
4
  import { AllowedIdTypes, Store, FieldData } from 'store-api/api';
4
5
 
5
6
  type FORMATTER_ID_IDENTIFIER = "object-id";
@@ -31,6 +32,7 @@ interface DateTimeFormatOptions {
31
32
  interface ArcadeFormatOptions {
32
33
  fieldNames: string[];
33
34
  missingFieldNames?: string[];
35
+ geometryRequired: boolean;
34
36
  arcadeExecutor: (args: {
35
37
  $feature: __esri.Graphic;
36
38
  }) => string;
@@ -644,6 +646,11 @@ interface Dataset<IdType extends DatasetItemId = DatasetItemId> extends EventSou
644
646
  * A update error. This error may happen if an updating process failed.
645
647
  */
646
648
  readonly updateError: Error | undefined;
649
+ /**
650
+ * The default aria field for each item.
651
+ * The dataset must be initialized to access this property.
652
+ */
653
+ readonly defaultItemAriaField: string | undefined;
647
654
  /**
648
655
  * Provides access to the initial id provider, if not yet used to init the dataset.
649
656
  */
@@ -704,6 +711,12 @@ interface Dataset<IdType extends DatasetItemId = DatasetItemId> extends EventSou
704
711
  * @param itemIds Ids which data will be updated.
705
712
  */
706
713
  updateItemsById(itemIds: Iterable<IdType>): Promise<void>;
714
+ /**
715
+ * Replaces all items in the dataset by the items provided by the ids provider.
716
+ * All items not longer provided by the ids provider will be removed from the dataset.
717
+ * @param idsProvider A provider which provides ids.
718
+ */
719
+ replaceItemsByIdsProvider(idsProvider: DatasetItemIdsProvider): Promise<void>;
707
720
  /**
708
721
  * Enforces the refresh of the data.
709
722
  * It may completely re-fetch item data and drop no longer existing items.
@@ -826,7 +839,8 @@ interface ItemCount {
826
839
  * Represents the capabilities of a {@link Dataset}.
827
840
  */
828
841
  interface DatasetCapabilities {
829
- /** Does the data set have items with geometry field.
842
+ /**
843
+ * Does the data set have items with geometry field.
830
844
  */
831
845
  readonly supportsGeometry: boolean;
832
846
  /**
@@ -841,6 +855,19 @@ interface DatasetCapabilities {
841
855
  * Flag to indicate if data source supports popups.
842
856
  */
843
857
  readonly supportsPopups: boolean;
858
+ /**
859
+ * Flag to indicate whether the _default highlight_ of items that are loaded in the result ui is disabled.
860
+ * True by default.
861
+ *
862
+ * NOTE: Hover/selected highlight is not affected by this flag.
863
+ */
864
+ readonly defaultHighlightEnabled: boolean;
865
+ /**
866
+ * Like {@link defaultHighlightEnabled} but for selected items.
867
+ *
868
+ * True by default.
869
+ */
870
+ readonly selectedHighlightEnabled: boolean;
844
871
  }
845
872
  /**
846
873
  * Emitted when the focused item changes.
@@ -861,9 +888,9 @@ interface RowEvent<IdType> {
861
888
  datasetItemId: IdType;
862
889
  }
863
890
  /**
864
- * A table item is a dataset item, but without geometry.
891
+ * A table item is a dataset item, but (normally) without geometry.
865
892
  */
866
- type TableItem<IdType extends DatasetItemId = DatasetItemId> = Omit<DatasetItem<IdType>, "geometry">;
893
+ type TableItem<IdType extends DatasetItemId = DatasetItemId> = DatasetItem<IdType>;
867
894
  /**
868
895
  * Events fired by a TableModel.
869
896
  */
@@ -965,6 +992,12 @@ interface TableModel<IdType extends DatasetItemId = DatasetItemId> extends Event
965
992
  * Sort state.
966
993
  */
967
994
  sortBy: SortSpecifier[];
995
+ /**
996
+ * The aria label of a row of the table.
997
+ * This is a string like `Text: ${columnName}`.
998
+ * The default UI attaches it as meta information to a row.
999
+ */
1000
+ readonly rowAriaLabel: string;
968
1001
  /**
969
1002
  * Gets currently fetched rows.
970
1003
  * Should only be accessed if table is in state "loaded".
@@ -1157,7 +1190,7 @@ interface Column {
1157
1190
  /** Column alignment */
1158
1191
  readonly align?: ColumnAlign;
1159
1192
  /** Column special names for UI rendering */
1160
- readonly renderType?: "text" | "mail" | "link";
1193
+ readonly renderType?: "auto" | "text" | "mail" | "link";
1161
1194
  /**
1162
1195
  * Referenced data set fields.
1163
1196
  */
@@ -1,7 +1,8 @@
1
- import { DataTable, TableItem, DataTableCollection } from '../__internal__/Bnw4PH_u.js';
1
+ import { DataTableCollection, DataTable, TableItem } from '../__internal__/BGEg3fBn.js';
2
2
  import { EventSource } from 'apprt-core/Events';
3
3
  import 'apprt-core/Types';
4
- import 'esri/geometry';
4
+ import '@arcgis/core/geometry';
5
+ import '@arcgis/core/geometry/SpatialReference';
5
6
  import 'store-api/api';
6
7
 
7
8
  /**
@@ -1,4 +1,5 @@
1
- export { ArcadeFormatOptions, DateTimeFormat, DateTimeFormatOptions, FORMATTER_COMBINED_IDENTIFIER, FORMATTER_DOMAIN_VALUE_IDENTIFIER, FORMATTER_ID_IDENTIFIER, Formatter, FormatterFacade, FormatterOptions, FormattingInfo, FormattingInfoProvider, NumberFormatOptions, WellKnownFormatterOptions } from '../__internal__/Bnw4PH_u.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__/BGEg3fBn.js';
2
2
  import 'apprt-core/Types';
3
- import 'esri/geometry';
3
+ import '@arcgis/core/geometry';
4
+ import '@arcgis/core/geometry/SpatialReference';
4
5
  import 'store-api/api';