@conterra/ct-mapapps-typings 4.20.0-next.20250717093802 → 4.20.0-next.20250731062643

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Copies text to the user's clipboard.
3
+ *
4
+ * Returns `true` on success and `false` on failure.
5
+ */
6
+ declare function copyText(text: string): Promise<boolean>;
7
+
8
+ export { copyText };
@@ -1,13 +1,17 @@
1
1
  import * as apprt_core_Mutable from 'apprt-core/Mutable';
2
- import { Navigation as Navigation$1 } from './api/Navigation.js';
2
+ import { Navigation as Navigation$1, NavigationActionMap as NavigationActionMap$1 } from './api/Navigation.js';
3
3
 
4
4
  declare const Navigation: apprt_core_Mutable.MutableConstructor<{
5
+ actionMap: NonNullable<apprt_core_Mutable.Mutable<{
6
+ mouseWheel: NonNullable<"none" | "zoom">;
7
+ }>>;
5
8
  mouseWheelZoomEnabled: boolean;
6
9
  browserTouchPanEnabled: boolean;
7
- actionMap: {
8
- mouseWheel: "zoom" | "none";
9
- } | undefined;
10
10
  }>;
11
11
  type Navigation = Navigation$1;
12
+ declare const NavigationActionMap: apprt_core_Mutable.MutableConstructor<{
13
+ mouseWheel: NonNullable<"none" | "zoom">;
14
+ }>;
15
+ type NavigationActionMap = NavigationActionMap$1;
12
16
 
13
- export { Navigation, Navigation as default };
17
+ export { Navigation, NavigationActionMap, Navigation as default };
@@ -1,5 +1,13 @@
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
  /**
@@ -7,12 +15,10 @@ interface NavigationMembers {
7
15
  * @deprecated Use actionMap.mouseWheel instead.
8
16
  */
9
17
  mouseWheelZoomEnabled?: boolean;
10
- actionMap?: {
11
- /**
12
- * Indicates whether the view zooms when the user scrolls the mouse wheel.
13
- */
14
- mouseWheel: "zoom" | "none";
15
- };
18
+ /**
19
+ * Defines the navigation controls behavior.
20
+ */
21
+ actionMap: NavigationActionMap;
16
22
  /**
17
23
  * Indicates whether the view pans when the user touches the screen.
18
24
  */
@@ -24,4 +30,4 @@ interface NavigationMembers {
24
30
  */
25
31
  type Navigation = Mutable<NavigationMembers>;
26
32
 
27
- export type { Navigation, NavigationMembers };
33
+ export type { Navigation, NavigationActionMap, NavigationActionMapMembers, NavigationMembers };
@@ -1,5 +1,5 @@
1
1
  export { Constraints, ConstraintsMembers, LayerLookupResult, MapWidgetModel, MapWidgetModelMembers, SceneViewEnvironment, View, ViewMode, ViewPadding, ViewingMode } from '../__internal__/CDrIcYrK.js';
2
- export { Navigation, NavigationMembers } from './Navigation.js';
2
+ export { Navigation, NavigationActionMap, NavigationActionMapMembers, NavigationMembers } from './Navigation.js';
3
3
  export { MapWidget } from './MapWidget.js';
4
4
  export { MapWidgetFactory } from './MapWidgetFactory.js';
5
5
  export { MapWidgetRegistration } from './MapWidgetRegistration.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conterra/ct-mapapps-typings",
3
- "version": "4.20.0-next.20250717093802",
3
+ "version": "4.20.0-next.20250731062643",
4
4
  "description": "TypeDefinitions for ct-mapapps",
5
5
  "author": "conterra",
6
6
  "license": "Apache-2.0"
@@ -1,15 +0,0 @@
1
- declare namespace VueClipboard {
2
- function bind(el: any, binding: any, vnode: any): void;
3
- function update(el: any, binding: any): void;
4
- function unbind(el: any, binding: any): void;
5
- }
6
- /*!
7
- * Base code from:
8
- * vue-clipboard2 v0.1.0
9
- * https://github.com/Inndy/vue-clipboard2/blob/master/LICENSE
10
- *
11
- * Licensed MIT © Inndy <inndy.tw@gmail.com>
12
- */
13
- declare function copyText(text: any, container: any): Promise<any>;
14
-
15
- export { copyText, VueClipboard as default };