@zendir/ui 0.3.0 → 0.4.0
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/CHANGELOG.md +15 -0
- package/dist/index.js +67 -62
- package/dist/index.js.map +1 -1
- package/dist/react/3d/ZenSpace3D.js +3 -2
- package/dist/react/3d/ZenSpace3DShaders.js +478 -0
- package/dist/react/3d/ZenSpace3DShaders.js.map +1 -0
- package/dist/react/3d/capturePngAnalysis.js +42 -0
- package/dist/react/3d/capturePngAnalysis.js.map +1 -0
- package/dist/react/3d/index.js +57 -0
- package/dist/react/3d/index.js.map +1 -0
- package/dist/react/3d/threeLoader.js +4 -0
- package/dist/react/3d/threeLoader.js.map +1 -1
- package/dist/react/astro/ClassificationBanner.js +1 -1
- package/dist/react/astro/GlobalStatusBar.js +1 -1
- package/dist/react/astro/MissionClock.js +8 -5
- package/dist/react/astro/MissionClock.js.map +1 -1
- package/dist/react/astro/MonitoringIcon.js +1 -1
- package/dist/react/astro/Notification.js +1 -1
- package/dist/react/astro/Progress.js +1 -1
- package/dist/react/astro/SimulationControls.js +1 -1
- package/dist/react/astro/StatusIndicator.js +1 -1
- package/dist/react/astro/UnifiedTimeline.js +1 -1
- package/dist/react/astro/index.js +34 -0
- package/dist/react/astro/index.js.map +1 -0
- package/dist/react/cards/AccessCard.js +410 -0
- package/dist/react/cards/AccessCard.js.map +1 -0
- package/dist/react/cards/OrbitCard.js +372 -0
- package/dist/react/cards/OrbitCard.js.map +1 -0
- package/dist/react/cards/SpacecraftCard.js +941 -0
- package/dist/react/cards/SpacecraftCard.js.map +1 -0
- package/dist/react/cards/TelemetryCard.js +742 -0
- package/dist/react/cards/TelemetryCard.js.map +1 -0
- package/dist/react/cards/TelemetryStreamCard.js +309 -0
- package/dist/react/cards/TelemetryStreamCard.js.map +1 -0
- package/dist/react/cards/index.js +13 -0
- package/dist/react/cards/index.js.map +1 -0
- package/dist/react/charts/GroundTrackMap.js +1 -1
- package/dist/react/charts/GroundTrackMapLeaflet.js +1 -1
- package/dist/react/charts/index.js +104 -0
- package/dist/react/charts/index.js.map +1 -0
- package/dist/react/charts/unified/AstroChart.js +1 -1
- package/dist/react/charts/unified/PowerOverviewChart.js +488 -0
- package/dist/react/charts/unified/PowerOverviewChart.js.map +1 -0
- package/dist/react/charts/unified/domain.js +3168 -0
- package/dist/react/charts/unified/domain.js.map +1 -0
- package/dist/react/charts/unified/generators.js +518 -0
- package/dist/react/charts/unified/generators.js.map +1 -0
- package/dist/react/charts/unified/presets.js +1000 -0
- package/dist/react/charts/unified/presets.js.map +1 -0
- package/dist/react/charts/unified/sync.js +219 -0
- package/dist/react/charts/unified/sync.js.map +1 -0
- package/dist/react/charts/unified/theme.js +331 -4
- package/dist/react/charts/unified/theme.js.map +1 -1
- package/dist/react/charts/unified/useChartStream.js +226 -0
- package/dist/react/charts/unified/useChartStream.js.map +1 -0
- package/dist/react/chatgpt/index.js +163 -0
- package/dist/react/chatgpt/index.js.map +1 -0
- package/dist/react/core/data/DataTable.js +1 -1
- package/dist/react/core/data/DataValue.js +1 -1
- package/dist/react/core/display/AstroIcon.js +1 -1
- package/dist/react/core/display/Badge.js +1 -1
- package/dist/react/core/display/CardHeader.js +1 -1
- package/dist/react/core/display/Container.js +1 -1
- package/dist/react/core/display/GlassCard.js +1 -1
- package/dist/react/core/display/HeaderIconWithStatus.js +1 -1
- package/dist/react/core/feedback/Dialog.js +24 -21
- package/dist/react/core/feedback/Dialog.js.map +1 -1
- package/dist/react/core/feedback/Toast.js +1 -1
- package/dist/react/core/index.d.ts +4 -0
- package/dist/react/core/index.js +166 -0
- package/dist/react/core/index.js.map +1 -0
- package/dist/react/core/inputs/Button.js +1 -1
- package/dist/react/core/inputs/Checkbox.js +1 -1
- package/dist/react/core/inputs/Input.js +1 -1
- package/dist/react/core/inputs/NumberInput.js +1 -1
- package/dist/react/core/inputs/PinInput.js +1 -1
- package/dist/react/core/inputs/Select.js +1 -1
- package/dist/react/core/inputs/Toggle.js +1 -1
- package/dist/react/core/layout/Box.js +1 -1
- package/dist/react/core/layout/Flex.js +1 -1
- package/dist/react/core/layout/Grid.js +1 -1
- package/dist/react/core/layout/Stack.js +1 -1
- package/dist/react/core/navigation/AppBar.js +1 -1
- package/dist/react/core/navigation/Pagination.js +1 -1
- package/dist/react/core/navigation/SideNav.js +1 -1
- package/dist/react/core/navigation/SideNav.js.map +1 -1
- package/dist/react/core/navigation/Tabs.js +1 -1
- package/dist/react/core/overlays/SidePanel.js +1 -1
- package/dist/react/core/overlays/Tooltip.js +1 -1
- package/dist/react/core/widgets/Capture.js +1 -1
- package/dist/react/core/widgets/ChatPanel.js +1 -1
- package/dist/react/core/widgets/ColorPickerPanel.js +1 -1
- package/dist/react/core/widgets/ConnectionForm.js +1 -1
- package/dist/react/core/widgets/FileExplorer.js +1 -1
- package/dist/react/core/widgets/ImageFrame.d.ts +51 -0
- package/dist/react/core/widgets/ImageFrame.js +201 -0
- package/dist/react/core/widgets/ImageFrame.js.map +1 -0
- package/dist/react/core/widgets/ImageGallery.js +1 -1
- package/dist/react/core/widgets/ImagePanel.d.ts +43 -0
- package/dist/react/core/widgets/ImagePanel.js +105 -0
- package/dist/react/core/widgets/ImagePanel.js.map +1 -0
- package/dist/react/core/widgets/MessageStream.js +1 -1
- package/dist/react/core/widgets/MissionCalendar.js +1 -1
- package/dist/react/hooks/useCompactMode.js +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/react/panels/index.js +8 -0
- package/dist/react/panels/index.js.map +1 -0
- package/dist/react/theme/config.js +30 -0
- package/dist/react/theme/config.js.map +1 -0
- package/dist/react/theme/index.js +19 -0
- package/dist/react/theme/index.js.map +1 -0
- package/dist/react/utils/index.js +8 -0
- package/dist/react/utils/index.js.map +1 -1
- package/dist/react.js +67 -62
- package/dist/react.js.map +1 -1
- package/package.json +46 -38
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @zendir/ui
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add `ImageFrame` widget: renders a single-channel sensor/CCD data frame
|
|
8
|
+
(`number[]` of samples) as a false-colour image on a canvas, with
|
|
9
|
+
fixed-ceiling normalisation, `cividis`/`gray` colormaps, an optional raw
|
|
10
|
+
value grid, and loading/empty states. Purely presentational — callers
|
|
11
|
+
pass the frame data in. Also exports the pure `decodeImage` helper.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Scope the Dialog focus trap to the open transition so typing in a dialog
|
|
16
|
+
input isn't interrupted when the surrounding parent re-renders.
|
|
17
|
+
|
|
3
18
|
## 0.3.0
|
|
4
19
|
|
|
5
20
|
**Upgrade from npm:** The latest public release on the registry is
|
package/dist/index.js
CHANGED
|
@@ -1,80 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Skeleton3D, SkeletonBox, SkeletonCard, SkeletonChart, SkeletonCircle, SkeletonText } from "./react/shared/Skeleton.js";
|
|
3
|
-
import { STATUS_COLORS, addAlpha, clamp, classNames, focusRingStyle, formatAltitude, formatCoordinate, formatCountdown, formatDataRate, formatDecibels, formatDegrees, formatDistance, formatDuration, formatFrequency, formatLatLon, formatNumber, formatPercentage, formatPower, formatTabular, formatTemperature, formatTime, formatUTC, formatVelocity, getStatusColor, getStatusFromValue, getStatusSeverity, getWorstStatus, isStatusLevel, isValidNumber, lerp, mapRange, normalizeStatus, safeAccentText, safeNumber, tabularNumsStyle, transitions, withNullSafety } from "./react/utils/index.js";
|
|
4
|
-
import { useCompactMode } from "./react/hooks/useCompactMode.js";
|
|
5
|
-
import { PLANETS, auToKm, estimateOrbitalPeriod, estimateOrbitalVelocity, getPlanet, normalizePlanetName } from "./react/types.js";
|
|
6
|
-
import { ActivityPlanner } from "./react/core/widgets/ActivityPlanner.js";
|
|
7
|
-
import { AppBar } from "./react/core/navigation/AppBar.js";
|
|
8
|
-
import { AstroChart } from "./react/charts/unified/AstroChart.js";
|
|
9
|
-
import { BREAKPOINTS, useBreakpoint } from "./react/core/layout/useBreakpoint.js";
|
|
10
|
-
import { Badge } from "./react/core/display/Badge.js";
|
|
11
|
-
import { Body1, Body2, Body3, Compact, DataText, Display1, Display2, FONT_FAMILY_MONO, FONT_FAMILY_PRIMARY, FONT_WEIGHTS, H1, H2, H3, H4, H5, H6, Label, Micro, Mono, Typography } from "./react/core/display/Typography.js";
|
|
12
|
-
import { Box } from "./react/core/layout/Box.js";
|
|
1
|
+
import { Icon, getIconNames, isValidIconName } from "./react/core/display/Icon.js";
|
|
13
2
|
import { Button } from "./react/core/inputs/Button.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { Capture, loadCapturePlaceholderImage, useCapture } from "./react/core/widgets/Capture.js";
|
|
18
|
-
import { CardHeader } from "./react/core/display/CardHeader.js";
|
|
19
|
-
import { CategoryPalette } from "./react/utils/categoryPalette.js";
|
|
20
|
-
import { CategoryProvider, useCategoryPalette, useCategoryPaletteRequired } from "./react/context/CategoryContext.js";
|
|
21
|
-
import { Center } from "./react/core/layout/Center.js";
|
|
3
|
+
import { Input } from "./react/core/inputs/Input.js";
|
|
4
|
+
import { Select } from "./react/core/inputs/Select.js";
|
|
5
|
+
import { Toggle } from "./react/core/inputs/Toggle.js";
|
|
22
6
|
import { Checkbox } from "./react/core/inputs/Checkbox.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { ConnectionForm } from "./react/core/widgets/ConnectionForm.js";
|
|
7
|
+
import { Tooltip } from "./react/core/overlays/Tooltip.js";
|
|
8
|
+
import { Dialog } from "./react/core/feedback/Dialog.js";
|
|
9
|
+
import { Badge } from "./react/core/display/Badge.js";
|
|
10
|
+
import { Tabs } from "./react/core/navigation/Tabs.js";
|
|
28
11
|
import { Container } from "./react/core/display/Container.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
12
|
+
import { GLASS_COLOR_OVERLAYS, GlassCard } from "./react/core/display/GlassCard.js";
|
|
13
|
+
import { Pagination } from "./react/core/navigation/Pagination.js";
|
|
31
14
|
import { DataValue, DataValueGroup } from "./react/core/data/DataValue.js";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
15
|
+
import { HeaderIconWithStatus } from "./react/core/display/HeaderIconWithStatus.js";
|
|
16
|
+
import { CardHeader } from "./react/core/display/CardHeader.js";
|
|
17
|
+
import { CATEGORY_ICONS, CATEGORY_LABELS, PROPERTY_PRESETS, createPropertyConfig, deriveBatteryStatus, deriveStatus, formatPropertyLabel, formatPropertyValue, getPropertiesByCategory, getPropertyConfig } from "./react/core/data/propertyConfig.js";
|
|
18
|
+
import { MessageStream } from "./react/core/widgets/MessageStream.js";
|
|
19
|
+
import { AppBar } from "./react/core/navigation/AppBar.js";
|
|
20
|
+
import { ColorPickerPanel } from "./react/core/widgets/ColorPickerPanel.js";
|
|
21
|
+
import { Body1, Body2, Body3, Compact, DataText, Display1, Display2, FONT_FAMILY_MONO, FONT_FAMILY_PRIMARY, FONT_WEIGHTS, H1, H2, H3, H4, H5, H6, Label, Micro, Mono, Typography } from "./react/core/display/Typography.js";
|
|
22
|
+
import { NumberInput } from "./react/core/inputs/NumberInput.js";
|
|
23
|
+
import { SIDENAV_HEADER_LOGO_SLOT_HEIGHT_PX, SideNav } from "./react/core/navigation/SideNav.js";
|
|
24
|
+
import { ToastProvider, useToast, useToastManager } from "./react/core/feedback/Toast.js";
|
|
25
|
+
import { Menu, Popover } from "./react/core/overlays/Popover.js";
|
|
26
|
+
import { Box } from "./react/core/layout/Box.js";
|
|
36
27
|
import { Flex } from "./react/core/layout/Flex.js";
|
|
37
|
-
import { GLASS_COLOR_OVERLAYS, GlassCard } from "./react/core/display/GlassCard.js";
|
|
38
|
-
import { GlobalStatusBar } from "./react/astro/GlobalStatusBar.js";
|
|
39
28
|
import { Grid } from "./react/core/layout/Grid.js";
|
|
40
|
-
import { GroundTrackMap } from "./react/charts/GroundTrackMap.js";
|
|
41
29
|
import { HStack, Stack, VStack } from "./react/core/layout/Stack.js";
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
30
|
+
import { Center } from "./react/core/layout/Center.js";
|
|
31
|
+
import { Spacer } from "./react/core/layout/Spacer.js";
|
|
32
|
+
import { Divider } from "./react/core/layout/Divider.js";
|
|
33
|
+
import { BREAKPOINTS, useBreakpoint } from "./react/core/layout/useBreakpoint.js";
|
|
34
|
+
import { resolveResponsive, resolveSpacing } from "./react/core/layout/responsive.js";
|
|
35
|
+
import { ConfirmDialog, ConfirmProvider, useConfirm } from "./react/core/feedback/ConfirmDialog.js";
|
|
36
|
+
import { PinInput } from "./react/core/inputs/PinInput.js";
|
|
37
|
+
import { CopyButton, useCopyToClipboard } from "./react/core/display/CopyButton.js";
|
|
38
|
+
import { DataTable, DataTableRowDetail } from "./react/core/data/DataTable.js";
|
|
45
39
|
import { ImageGallery } from "./react/core/widgets/ImageGallery.js";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
40
|
+
import { ImageFrame, decodeImage } from "./react/core/widgets/ImageFrame.js";
|
|
41
|
+
import { ImagePanel } from "./react/core/widgets/ImagePanel.js";
|
|
42
|
+
import { CHAT_RESPONSE_JSON_PROMPT, CHAT_RESPONSE_MCP_TOOL, CHAT_RESPONSE_TOOL_SCHEMA, CHAT_RESPONSE_YAML_PROMPT, CHAT_STATUS_RULES_PROMPT, ChatPanel, createChatResponseParser, parseChatResponse, parseMcpToolResult } from "./react/core/widgets/ChatPanel.js";
|
|
43
|
+
import { ConnectionForm } from "./react/core/widgets/ConnectionForm.js";
|
|
44
|
+
import { SidePanel } from "./react/core/overlays/SidePanel.js";
|
|
45
|
+
import { HexViewer, REGION_BORDER_COLORS, REGION_COLORS } from "./react/core/widgets/HexViewer.js";
|
|
48
46
|
import { LimitsBar } from "./react/core/inputs/LimitsBar.js";
|
|
49
47
|
import { LogViewer } from "./react/core/widgets/LogViewer.js";
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
48
|
+
import { PacketViewer } from "./react/core/widgets/PacketViewer.js";
|
|
49
|
+
import { CommandBuilder } from "./react/core/widgets/CommandBuilder.js";
|
|
50
|
+
import { FileExplorer } from "./react/core/widgets/FileExplorer.js";
|
|
53
51
|
import { MissionCalendar } from "./react/core/widgets/MissionCalendar.js";
|
|
52
|
+
import { ActivityPlanner } from "./react/core/widgets/ActivityPlanner.js";
|
|
53
|
+
import { Capture, loadCapturePlaceholderImage, useCapture } from "./react/core/widgets/Capture.js";
|
|
54
|
+
import { ZenSpace3D } from "./react/3d/ZenSpace3D.js";
|
|
55
|
+
import { ecefEulerXyzToHpr, ecefMetersToSdkPosition } from "./react/3d/CesiumCaptureSource.js";
|
|
56
|
+
import { useSimulationScene } from "./react/hooks/useSimulationScene.js";
|
|
57
|
+
import { ThemeProvider, useScrollbarStyles, useTheme, useThemeTokens } from "./react/theme/ThemeProvider.js";
|
|
58
|
+
import { CARD_ACCENT_COLORS, CardAccentProvider, SPACE_SYSTEM_COLORS, getAccentColorOptions, getSystemAccentColor, useCardAccent } from "./react/theme/cardAccent.js";
|
|
59
|
+
import { ErrorBoundary, withErrorBoundary } from "./react/shared/ErrorBoundary.js";
|
|
60
|
+
import { Skeleton3D, SkeletonBox, SkeletonCard, SkeletonChart, SkeletonCircle, SkeletonText } from "./react/shared/Skeleton.js";
|
|
61
|
+
import { STATUS_COLORS, addAlpha, clamp, classNames, focusRingStyle, formatAltitude, formatCoordinate, formatCountdown, formatDataRate, formatDecibels, formatDegrees, formatDistance, formatDuration, formatFrequency, formatLatLon, formatNumber, formatPercentage, formatPower, formatTabular, formatTemperature, formatTime, formatUTC, formatVelocity, getStatusColor, getStatusFromValue, getStatusSeverity, getWorstStatus, isStatusLevel, isValidNumber, lerp, mapRange, normalizeStatus, safeAccentText, safeNumber, tabularNumsStyle, transitions, withNullSafety } from "./react/utils/index.js";
|
|
62
|
+
import { StatusIndicator } from "./react/astro/StatusIndicator.js";
|
|
63
|
+
import { ClassificationBanner } from "./react/astro/ClassificationBanner.js";
|
|
64
|
+
import { GlobalStatusBar } from "./react/astro/GlobalStatusBar.js";
|
|
54
65
|
import { MissionClock } from "./react/astro/MissionClock.js";
|
|
66
|
+
import { MiniSimulationControls, SimulationControls, SimulationControlsWithClock } from "./react/astro/SimulationControls.js";
|
|
55
67
|
import { MonitoringIcon } from "./react/astro/MonitoringIcon.js";
|
|
56
|
-
import { Notification } from "./react/astro/Notification.js";
|
|
57
|
-
import { NumberInput } from "./react/core/inputs/NumberInput.js";
|
|
58
|
-
import { ObjectInventoryPanel, recommendedFlyDistance } from "./react/panels/ObjectInventoryPanel.js";
|
|
59
|
-
import { PacketViewer } from "./react/core/widgets/PacketViewer.js";
|
|
60
|
-
import { Pagination } from "./react/core/navigation/Pagination.js";
|
|
61
|
-
import { PinInput } from "./react/core/inputs/PinInput.js";
|
|
62
68
|
import { Progress } from "./react/astro/Progress.js";
|
|
63
|
-
import {
|
|
64
|
-
import { Select } from "./react/core/inputs/Select.js";
|
|
65
|
-
import { SidePanel } from "./react/core/overlays/SidePanel.js";
|
|
66
|
-
import { Spacer } from "./react/core/layout/Spacer.js";
|
|
67
|
-
import { StatusIndicator } from "./react/astro/StatusIndicator.js";
|
|
68
|
-
import { Tabs } from "./react/core/navigation/Tabs.js";
|
|
69
|
-
import { ThemeProvider, useScrollbarStyles, useTheme, useThemeTokens } from "./react/theme/ThemeProvider.js";
|
|
69
|
+
import { Notification } from "./react/astro/Notification.js";
|
|
70
70
|
import { UnifiedTimeline } from "./react/astro/UnifiedTimeline.js";
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
71
|
+
import { GroundTrackMap } from "./react/charts/GroundTrackMap.js";
|
|
72
|
+
import { useCompactMode } from "./react/hooks/useCompactMode.js";
|
|
73
|
+
import { ObjectInventoryPanel, recommendedFlyDistance } from "./react/panels/ObjectInventoryPanel.js";
|
|
74
|
+
import { LayerControlPanel } from "./react/panels/LayerControlPanel.js";
|
|
75
|
+
import { PLANETS, auToKm, estimateOrbitalPeriod, estimateOrbitalVelocity, getPlanet, normalizePlanetName } from "./react/types.js";
|
|
76
|
+
import { AstroChart } from "./react/charts/unified/AstroChart.js";
|
|
77
|
+
import { CategoryPalette } from "./react/utils/categoryPalette.js";
|
|
78
|
+
import { CategoryProvider, useCategoryPalette, useCategoryPaletteRequired } from "./react/context/CategoryContext.js";
|
|
79
|
+
import { DisplaySettingsProvider, GLASS_TINTS, PRESET_COLORS, getEffectiveCompactMode, useDisplaySettings, useDisplaySettingsOptional } from "./react/context/DisplaySettingsContext.js";
|
|
78
80
|
export {
|
|
79
81
|
ActivityPlanner,
|
|
80
82
|
AppBar,
|
|
@@ -143,7 +145,9 @@ export {
|
|
|
143
145
|
HeaderIconWithStatus,
|
|
144
146
|
HexViewer,
|
|
145
147
|
Icon,
|
|
148
|
+
ImageFrame,
|
|
146
149
|
ImageGallery,
|
|
150
|
+
ImagePanel,
|
|
147
151
|
Input,
|
|
148
152
|
Label,
|
|
149
153
|
LayerControlPanel,
|
|
@@ -202,6 +206,7 @@ export {
|
|
|
202
206
|
classNames,
|
|
203
207
|
createChatResponseParser,
|
|
204
208
|
createPropertyConfig,
|
|
209
|
+
decodeImage,
|
|
205
210
|
deriveBatteryStatus,
|
|
206
211
|
deriveStatus,
|
|
207
212
|
ecefEulerXyzToHpr,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React, { forwardRef, useState, useEffect, useRef, useMemo, useCallback, useImperativeHandle } from "react";
|
|
3
|
+
import { useTheme } from "../theme/ThemeProvider.js";
|
|
3
4
|
import { AstroIcon } from "../core/display/AstroIcon.js";
|
|
4
5
|
import { SCENE_EARTH_RADIUS, latLonAltToCartesian, KM_TO_SCENE, easeOutCubic } from "./ZenSpace3DUtils.js";
|
|
5
6
|
import atmosphereVertexShader from "../../shaders/atmosphere.vert.js";
|
|
@@ -8,7 +9,6 @@ import starsVertexShader from "../../shaders/stars.vert.js";
|
|
|
8
9
|
import starsFragmentShader from "../../shaders/stars.frag.js";
|
|
9
10
|
import { loadThree } from "./threeLoader.js";
|
|
10
11
|
import { ZenSpace3DCesium } from "./ZenSpace3DCesium.js";
|
|
11
|
-
import { useTheme } from "../theme/ThemeProvider.js";
|
|
12
12
|
const DEFAULT_LAYERS = {
|
|
13
13
|
planets: true,
|
|
14
14
|
moons: true,
|
|
@@ -1248,6 +1248,7 @@ function ObjectLegend({ currentView, satellites, stations, groundStations, onObj
|
|
|
1248
1248
|
] });
|
|
1249
1249
|
}
|
|
1250
1250
|
export {
|
|
1251
|
-
ZenSpace3D
|
|
1251
|
+
ZenSpace3D,
|
|
1252
|
+
ZenSpace3D as default
|
|
1252
1253
|
};
|
|
1253
1254
|
//# sourceMappingURL=ZenSpace3D.js.map
|