@openglobus/og 1.0.0-rc21 → 1.0.0-rc23
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.
- package/lib/Globe.d.ts +1 -0
- package/lib/control/Sun.d.ts +40 -11
- package/lib/control/timeline/TimelineControl.d.ts +15 -5
- package/lib/control/timeline/TimelineView.d.ts +18 -13
- package/lib/control/timeline/timelineUtils.d.ts +1 -1
- package/lib/og.es.js +1 -1
- package/lib/og.es.js.map +1 -1
- package/lib/ui/Dialog.d.ts +1 -0
- package/lib/ui/Dock.d.ts +6 -0
- package/package.json +8 -4
package/lib/ui/Dialog.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ declare class Dialog<M> extends View<M> {
|
|
|
114
114
|
getTop(): number;
|
|
115
115
|
protected _onMouseMove: (e: MouseEvent) => void;
|
|
116
116
|
protected _onPointerMove: (e: PointerEvent) => void;
|
|
117
|
+
protected _beginDragIfPastThreshold(clientX: number, clientY: number): boolean;
|
|
117
118
|
protected _startDragging(): void;
|
|
118
119
|
protected _clearDragging(): void;
|
|
119
120
|
protected _onMouseUp: () => void;
|
package/lib/ui/Dock.d.ts
CHANGED
|
@@ -83,6 +83,12 @@ export declare class DockManager {
|
|
|
83
83
|
isDocked(dialog: Dialog<any>): boolean;
|
|
84
84
|
attach(dialog: Dialog<any>): void;
|
|
85
85
|
detach(dialog: Dialog<any>): void;
|
|
86
|
+
/**
|
|
87
|
+
* Puts the dialog under the manager's watch, which is all that being known to it means:
|
|
88
|
+
* where it ends up is left to whoever asked - `attach` reads the dialog's own `dock`
|
|
89
|
+
* option, `dock` is told a side outright, and either of them can be the first here.
|
|
90
|
+
*/
|
|
91
|
+
protected _register(dialog: Dialog<any>): void;
|
|
86
92
|
protected _state(dialog: Dialog<any>): DialogState;
|
|
87
93
|
dock(dialog: Dialog<any>, side: DockSide, placement?: DockPlacement): void;
|
|
88
94
|
undock(dialog: Dialog<any>): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openglobus/og",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-rc23",
|
|
4
4
|
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
|
|
5
5
|
"main": "lib/og.es.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,11 +50,12 @@
|
|
|
50
50
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
51
51
|
"@babel/preset-env": "^7.26.9",
|
|
52
52
|
"@babel/preset-typescript": "^7.27.0",
|
|
53
|
-
"@eslint/js": "^10.0.1",
|
|
54
53
|
"@eslint-community/eslint-utils": "^4.6.1",
|
|
54
|
+
"@eslint/js": "^10.0.1",
|
|
55
55
|
"@rollup/plugin-terser": "^1.0.0",
|
|
56
56
|
"@types/draco3d": "^1.4.10",
|
|
57
57
|
"@types/node": "^22.15.3",
|
|
58
|
+
"@types/tz-lookup": "^6.1.2",
|
|
58
59
|
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
59
60
|
"@typescript-eslint/parser": "^8.65.0",
|
|
60
61
|
"clean-jsdoc-theme": "^5.1.0",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"vite": "^8.0.16",
|
|
71
72
|
"vite-plugin-glsl": "^1.6.0",
|
|
72
73
|
"vite-plugin-static-copy": "^4.1.1",
|
|
73
|
-
"vitest": "^4.1.
|
|
74
|
+
"vitest": "^4.1.11"
|
|
74
75
|
},
|
|
75
76
|
"keywords": [
|
|
76
77
|
"map",
|
|
@@ -78,5 +79,8 @@
|
|
|
78
79
|
"webgl",
|
|
79
80
|
"globe",
|
|
80
81
|
"og"
|
|
81
|
-
]
|
|
82
|
+
],
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"tz-lookup": "^6.1.25"
|
|
85
|
+
}
|
|
82
86
|
}
|