From 6b56d88a43fa85a81db9602e1f7b8fe4d598fad3 Mon Sep 17 00:00:00 2001 From: porotkin Date: Fri, 3 Jan 2025 18:46:04 +0200 Subject: [PATCH] Update declarations --- cesium-kotlin/src/jsMain/kotlin/cesium/widgets/Animation.kt | 1 + .../jsMain/kotlin/cesium/widgets/ComputeScreenSpacePosition.kt | 3 +-- .../src/jsMain/kotlin/cesium/widgets/DateFormatter.kt | 2 +- .../jsMain/kotlin/cesium/widgets/DestinationFoundFunction.kt | 2 ++ .../src/jsMain/kotlin/cesium/widgets/TimeFormatter.kt | 2 +- cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ViewerMixin.kt | 2 ++ .../src/jsMain/kotlin/cesium/widgets/viewerDragDropMixin.kt | 2 +- 7 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/Animation.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/Animation.kt index 71bbb6951..d33dbfd0b 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/Animation.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/Animation.kt @@ -5,6 +5,7 @@ package cesium.widgets import cesium.engine.Clock +import cesium.engine.ClockRange import web.dom.Element /** diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ComputeScreenSpacePosition.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ComputeScreenSpacePosition.kt index 54191d291..5741d1ecd 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ComputeScreenSpacePosition.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ComputeScreenSpacePosition.kt @@ -2,8 +2,7 @@ package cesium.widgets -import cesium.engine.Cartesian2 -import cesium.engine.Cartesian3 +import cesium.engine.* /** * A function that converts the world position of an object to a screen space position. diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DateFormatter.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DateFormatter.kt index 8edc96942..45c7bc948 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DateFormatter.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DateFormatter.kt @@ -2,7 +2,7 @@ package cesium.widgets -import cesium.engine.JulianDate +import cesium.engine.* /** * A function that formats a date for display. diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DestinationFoundFunction.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DestinationFoundFunction.kt index 27b6be8d8..1a1d668fb 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DestinationFoundFunction.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/DestinationFoundFunction.kt @@ -2,6 +2,8 @@ package cesium.widgets +import cesium.engine.* + /** * A function that handles the result of a successful geocode. * @param [viewModel] The view model. diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/TimeFormatter.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/TimeFormatter.kt index cb57efd50..4b48f65a3 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/TimeFormatter.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/TimeFormatter.kt @@ -2,7 +2,7 @@ package cesium.widgets -import cesium.engine.JulianDate +import cesium.engine.* /** * A function that formats a time for display. diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ViewerMixin.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ViewerMixin.kt index 5b0ff4977..f7af8609a 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ViewerMixin.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/ViewerMixin.kt @@ -2,6 +2,8 @@ package cesium.widgets +import cesium.engine.* + /** * A function that augments a Viewer instance with additional functionality. * @param [viewer] The viewer instance. diff --git a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/viewerDragDropMixin.kt b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/viewerDragDropMixin.kt index fb3ade765..c1e1afbc8 100644 --- a/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/viewerDragDropMixin.kt +++ b/cesium-kotlin/src/jsMain/kotlin/cesium/widgets/viewerDragDropMixin.kt @@ -4,7 +4,7 @@ package cesium.widgets -import cesium.engine.Proxy +import cesium.engine.* import js.objects.JsPlainObject import web.dom.Element