@conterra/ct-mapapps-typings 4.19.0-next.20241128050429 → 4.19.0-next.20241129045958

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.
@@ -8,6 +8,7 @@ declare const BasemapItem: MutableConstructor<{
8
8
  description: string | undefined;
9
9
  basemap: Basemap | undefined;
10
10
  thumbnailUrl: string | undefined;
11
+ viewmode: ("2D" | "3D") | undefined;
11
12
  }>;
12
13
  type BasemapItem = BasemapItem$1;
13
14
 
@@ -3,8 +3,11 @@ import Basemap from 'esri/Basemap';
3
3
 
4
4
  /**
5
5
  * Documentation for the members of {@link BasemapsModel}.
6
+
6
7
  */
7
8
  interface BasemapsModelMembers {
9
+ /** The view currently used for the view */
10
+ viewMode?: "2D" | "3D" | undefined;
8
11
  /**
9
12
  * Id of selected basemap item.
10
13
  */
@@ -13,6 +16,12 @@ interface BasemapsModelMembers {
13
16
  * Getter for the selected basemap item.
14
17
  */
15
18
  readonly selected: BasemapItem | undefined;
19
+ /**
20
+ * Array of basemap items filtered by conditions.
21
+ * Currently the condition is the view mode.
22
+ * @returns {BasemapItem[]} The filtered basemaps.
23
+ */
24
+ get filteredBasemaps(): BasemapItem[];
16
25
  /**
17
26
  * Array of basemap items.
18
27
  */
@@ -82,6 +91,10 @@ interface BasemapItemMembers {
82
91
  * An optional thumbnail url.
83
92
  */
84
93
  thumbnailUrl: string | undefined;
94
+ /**
95
+ * Restricts this basemap to a view mode. If not set, basemaps applies to all view modes.
96
+ */
97
+ viewmode: "2D" | "3D" | undefined;
85
98
  }
86
99
  /**
87
100
  * Represents a basemap in the {@link BasemapsModel}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conterra/ct-mapapps-typings",
3
- "version": "4.19.0-next.20241128050429",
3
+ "version": "4.19.0-next.20241129045958",
4
4
  "description": "TypeDefinitions for ct-mapapps",
5
5
  "author": "conterra",
6
6
  "license": "Apache-2.0"
@@ -52,11 +52,8 @@ interface SearchUiService extends EventSource<SearchUiServiceEvents> {
52
52
  }): void;
53
53
  }
54
54
  /**
55
- * Special interface provided for the product `smart.finder` to react on the 'Enter' key pressed event
56
- * of the search-ui input field. It will provide the current text from the input field to another component.
57
- *
58
- * This interface is subject to change and strictly coupled with the requirements of the `smart.finder`.
59
- *
55
+ * Interface to react on the 'Enter' key pressed event of the search-ui input field. It will provide the
56
+ * current text from the input field to another component. This interface is used by the product `smart.finder`
60
57
  * Only one action is allowed. It must be registered as a service which provides `search-ui.EnterKeyAction`.
61
58
  */
62
59
  interface SearchUiEnterKeyAction {