@zendir/ui 0.1.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.
Files changed (359) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE +21 -0
  3. package/README.md +589 -0
  4. package/dist/index.d.ts +8 -0
  5. package/dist/index.js +421 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/react/3d/EarthViewer.d.ts +46 -0
  8. package/dist/react/3d/EarthViewer.js +836 -0
  9. package/dist/react/3d/EarthViewer.js.map +1 -0
  10. package/dist/react/3d/SolarSystemViewer.d.ts +43 -0
  11. package/dist/react/3d/SolarSystemViewer.js +372 -0
  12. package/dist/react/3d/SolarSystemViewer.js.map +1 -0
  13. package/dist/react/3d/ZenSpace3D.d.ts +16 -0
  14. package/dist/react/3d/ZenSpace3D.js +1253 -0
  15. package/dist/react/3d/ZenSpace3D.js.map +1 -0
  16. package/dist/react/3d/ZenSpace3DCesium.d.ts +9 -0
  17. package/dist/react/3d/ZenSpace3DCesium.js +186 -0
  18. package/dist/react/3d/ZenSpace3DCesium.js.map +1 -0
  19. package/dist/react/3d/ZenSpace3DShaders.d.ts +78 -0
  20. package/dist/react/3d/ZenSpace3DShaders.js +94 -0
  21. package/dist/react/3d/ZenSpace3DShaders.js.map +1 -0
  22. package/dist/react/3d/ZenSpace3DTypes.d.ts +614 -0
  23. package/dist/react/3d/ZenSpace3DUtils.d.ts +183 -0
  24. package/dist/react/3d/ZenSpace3DUtils.js +213 -0
  25. package/dist/react/3d/ZenSpace3DUtils.js.map +1 -0
  26. package/dist/react/3d/index.d.ts +23 -0
  27. package/dist/react/3d/threeLoader.d.ts +22 -0
  28. package/dist/react/3d/threeLoader.js +18 -0
  29. package/dist/react/3d/threeLoader.js.map +1 -0
  30. package/dist/react/astro/ClassificationBanner.d.ts +25 -0
  31. package/dist/react/astro/ClassificationBanner.js +83 -0
  32. package/dist/react/astro/ClassificationBanner.js.map +1 -0
  33. package/dist/react/astro/GlobalStatusBar.d.ts +42 -0
  34. package/dist/react/astro/GlobalStatusBar.js +165 -0
  35. package/dist/react/astro/GlobalStatusBar.js.map +1 -0
  36. package/dist/react/astro/MissionClock.d.ts +169 -0
  37. package/dist/react/astro/MissionClock.js +411 -0
  38. package/dist/react/astro/MissionClock.js.map +1 -0
  39. package/dist/react/astro/MonitoringIcon.d.ts +60 -0
  40. package/dist/react/astro/MonitoringIcon.js +369 -0
  41. package/dist/react/astro/MonitoringIcon.js.map +1 -0
  42. package/dist/react/astro/Notification.d.ts +42 -0
  43. package/dist/react/astro/Notification.js +156 -0
  44. package/dist/react/astro/Notification.js.map +1 -0
  45. package/dist/react/astro/Progress.d.ts +39 -0
  46. package/dist/react/astro/Progress.js +149 -0
  47. package/dist/react/astro/Progress.js.map +1 -0
  48. package/dist/react/astro/SimulationControls.d.ts +136 -0
  49. package/dist/react/astro/SimulationControls.js +668 -0
  50. package/dist/react/astro/SimulationControls.js.map +1 -0
  51. package/dist/react/astro/StatusIndicator.d.ts +34 -0
  52. package/dist/react/astro/StatusIndicator.js +189 -0
  53. package/dist/react/astro/StatusIndicator.js.map +1 -0
  54. package/dist/react/astro/UnifiedTimeline.d.ts +106 -0
  55. package/dist/react/astro/UnifiedTimeline.js +1768 -0
  56. package/dist/react/astro/UnifiedTimeline.js.map +1 -0
  57. package/dist/react/astro/index.d.ts +63 -0
  58. package/dist/react/cards/AccessCard.d.ts +37 -0
  59. package/dist/react/cards/AccessCard.js +410 -0
  60. package/dist/react/cards/AccessCard.js.map +1 -0
  61. package/dist/react/cards/OrbitCard.d.ts +31 -0
  62. package/dist/react/cards/OrbitCard.js +372 -0
  63. package/dist/react/cards/OrbitCard.js.map +1 -0
  64. package/dist/react/cards/SpacecraftCard.d.ts +54 -0
  65. package/dist/react/cards/SpacecraftCard.js +941 -0
  66. package/dist/react/cards/SpacecraftCard.js.map +1 -0
  67. package/dist/react/cards/TelemetryCard.d.ts +40 -0
  68. package/dist/react/cards/TelemetryCard.js +742 -0
  69. package/dist/react/cards/TelemetryCard.js.map +1 -0
  70. package/dist/react/cards/TelemetryStreamCard.d.ts +59 -0
  71. package/dist/react/cards/TelemetryStreamCard.js +309 -0
  72. package/dist/react/cards/TelemetryStreamCard.js.map +1 -0
  73. package/dist/react/cards/index.d.ts +13 -0
  74. package/dist/react/charts/GroundTrackMap.d.ts +112 -0
  75. package/dist/react/charts/GroundTrackMap.js +1123 -0
  76. package/dist/react/charts/GroundTrackMap.js.map +1 -0
  77. package/dist/react/charts/GroundTrackMapLeaflet.d.ts +26 -0
  78. package/dist/react/charts/GroundTrackMapLeaflet.js +571 -0
  79. package/dist/react/charts/GroundTrackMapLeaflet.js.map +1 -0
  80. package/dist/react/charts/groundTrackMapLeafletTiles.d.ts +22 -0
  81. package/dist/react/charts/groundTrackMapLeafletTiles.js +11 -0
  82. package/dist/react/charts/groundTrackMapLeafletTiles.js.map +1 -0
  83. package/dist/react/charts/groundTrackMapLeafletUtils.d.ts +24 -0
  84. package/dist/react/charts/groundTrackMapLeafletUtils.js +109 -0
  85. package/dist/react/charts/groundTrackMapLeafletUtils.js.map +1 -0
  86. package/dist/react/charts/index.d.ts +10 -0
  87. package/dist/react/charts/unified/AstroChart.d.ts +24 -0
  88. package/dist/react/charts/unified/AstroChart.js +1405 -0
  89. package/dist/react/charts/unified/AstroChart.js.map +1 -0
  90. package/dist/react/charts/unified/PowerOverviewChart.d.ts +73 -0
  91. package/dist/react/charts/unified/PowerOverviewChart.js +488 -0
  92. package/dist/react/charts/unified/PowerOverviewChart.js.map +1 -0
  93. package/dist/react/charts/unified/domain.d.ts +845 -0
  94. package/dist/react/charts/unified/domain.js +3168 -0
  95. package/dist/react/charts/unified/domain.js.map +1 -0
  96. package/dist/react/charts/unified/generators.d.ts +276 -0
  97. package/dist/react/charts/unified/generators.js +518 -0
  98. package/dist/react/charts/unified/generators.js.map +1 -0
  99. package/dist/react/charts/unified/index.d.ts +55 -0
  100. package/dist/react/charts/unified/presets.d.ts +290 -0
  101. package/dist/react/charts/unified/presets.js +999 -0
  102. package/dist/react/charts/unified/presets.js.map +1 -0
  103. package/dist/react/charts/unified/sync.d.ts +69 -0
  104. package/dist/react/charts/unified/sync.js +219 -0
  105. package/dist/react/charts/unified/sync.js.map +1 -0
  106. package/dist/react/charts/unified/theme.d.ts +447 -0
  107. package/dist/react/charts/unified/theme.js +562 -0
  108. package/dist/react/charts/unified/theme.js.map +1 -0
  109. package/dist/react/charts/unified/types.d.ts +826 -0
  110. package/dist/react/charts/unified/useChartStream.d.ts +58 -0
  111. package/dist/react/charts/unified/useChartStream.js +226 -0
  112. package/dist/react/charts/unified/useChartStream.js.map +1 -0
  113. package/dist/react/chatgpt/AppCard.d.ts +59 -0
  114. package/dist/react/chatgpt/AppCard.js +306 -0
  115. package/dist/react/chatgpt/AppCard.js.map +1 -0
  116. package/dist/react/chatgpt/ChatGPTCard.d.ts +6 -0
  117. package/dist/react/chatgpt/index.d.ts +167 -0
  118. package/dist/react/chatgpt/index.js +166 -0
  119. package/dist/react/chatgpt/index.js.map +1 -0
  120. package/dist/react/context/DisplaySettingsContext.d.ts +107 -0
  121. package/dist/react/context/DisplaySettingsContext.js +169 -0
  122. package/dist/react/context/DisplaySettingsContext.js.map +1 -0
  123. package/dist/react/context/index.d.ts +5 -0
  124. package/dist/react/core/ActivityPlanner.d.ts +45 -0
  125. package/dist/react/core/ActivityPlanner.js +532 -0
  126. package/dist/react/core/ActivityPlanner.js.map +1 -0
  127. package/dist/react/core/AppBar.d.ts +71 -0
  128. package/dist/react/core/AppBar.js +817 -0
  129. package/dist/react/core/AppBar.js.map +1 -0
  130. package/dist/react/core/AstroIcon.d.ts +84 -0
  131. package/dist/react/core/AstroIcon.js +1243 -0
  132. package/dist/react/core/AstroIcon.js.map +1 -0
  133. package/dist/react/core/Badge.d.ts +27 -0
  134. package/dist/react/core/Badge.js +134 -0
  135. package/dist/react/core/Badge.js.map +1 -0
  136. package/dist/react/core/Button.d.ts +26 -0
  137. package/dist/react/core/Button.js +306 -0
  138. package/dist/react/core/Button.js.map +1 -0
  139. package/dist/react/core/CardHeader.d.ts +34 -0
  140. package/dist/react/core/CardHeader.js +316 -0
  141. package/dist/react/core/CardHeader.js.map +1 -0
  142. package/dist/react/core/ChatPanel.d.ts +627 -0
  143. package/dist/react/core/ChatPanel.js +1144 -0
  144. package/dist/react/core/ChatPanel.js.map +1 -0
  145. package/dist/react/core/Checkbox.d.ts +26 -0
  146. package/dist/react/core/Checkbox.js +130 -0
  147. package/dist/react/core/Checkbox.js.map +1 -0
  148. package/dist/react/core/ColorPickerPanel.d.ts +25 -0
  149. package/dist/react/core/ColorPickerPanel.js +293 -0
  150. package/dist/react/core/ColorPickerPanel.js.map +1 -0
  151. package/dist/react/core/CommandBuilder.d.ts +74 -0
  152. package/dist/react/core/CommandBuilder.js +518 -0
  153. package/dist/react/core/CommandBuilder.js.map +1 -0
  154. package/dist/react/core/ConfirmDialog.d.ts +45 -0
  155. package/dist/react/core/ConfirmDialog.js +315 -0
  156. package/dist/react/core/ConfirmDialog.js.map +1 -0
  157. package/dist/react/core/ConnectionForm.d.ts +57 -0
  158. package/dist/react/core/ConnectionForm.js +496 -0
  159. package/dist/react/core/ConnectionForm.js.map +1 -0
  160. package/dist/react/core/Container.d.ts +51 -0
  161. package/dist/react/core/Container.js +670 -0
  162. package/dist/react/core/Container.js.map +1 -0
  163. package/dist/react/core/CopyButton.d.ts +39 -0
  164. package/dist/react/core/CopyButton.js +105 -0
  165. package/dist/react/core/CopyButton.js.map +1 -0
  166. package/dist/react/core/DataTable.d.ts +113 -0
  167. package/dist/react/core/DataTable.js +446 -0
  168. package/dist/react/core/DataTable.js.map +1 -0
  169. package/dist/react/core/DataValue.d.ts +64 -0
  170. package/dist/react/core/DataValue.js +545 -0
  171. package/dist/react/core/DataValue.js.map +1 -0
  172. package/dist/react/core/Dialog.d.ts +32 -0
  173. package/dist/react/core/Dialog.js +201 -0
  174. package/dist/react/core/Dialog.js.map +1 -0
  175. package/dist/react/core/FileExplorer.d.ts +65 -0
  176. package/dist/react/core/FileExplorer.js +520 -0
  177. package/dist/react/core/FileExplorer.js.map +1 -0
  178. package/dist/react/core/GlassCard.d.ts +129 -0
  179. package/dist/react/core/GlassCard.js +375 -0
  180. package/dist/react/core/GlassCard.js.map +1 -0
  181. package/dist/react/core/HeaderIconWithStatus.d.ts +39 -0
  182. package/dist/react/core/HeaderIconWithStatus.js +157 -0
  183. package/dist/react/core/HeaderIconWithStatus.js.map +1 -0
  184. package/dist/react/core/HexViewer.d.ts +143 -0
  185. package/dist/react/core/HexViewer.js +1106 -0
  186. package/dist/react/core/HexViewer.js.map +1 -0
  187. package/dist/react/core/Icon.d.ts +32 -0
  188. package/dist/react/core/Icon.js +142 -0
  189. package/dist/react/core/Icon.js.map +1 -0
  190. package/dist/react/core/ImageGallery.d.ts +41 -0
  191. package/dist/react/core/ImageGallery.js +320 -0
  192. package/dist/react/core/ImageGallery.js.map +1 -0
  193. package/dist/react/core/Input.d.ts +38 -0
  194. package/dist/react/core/Input.js +288 -0
  195. package/dist/react/core/Input.js.map +1 -0
  196. package/dist/react/core/LimitsBar.d.ts +51 -0
  197. package/dist/react/core/LimitsBar.js +200 -0
  198. package/dist/react/core/LimitsBar.js.map +1 -0
  199. package/dist/react/core/LogViewer.d.ts +61 -0
  200. package/dist/react/core/LogViewer.js +599 -0
  201. package/dist/react/core/LogViewer.js.map +1 -0
  202. package/dist/react/core/MessageStream.d.ts +58 -0
  203. package/dist/react/core/MessageStream.js +455 -0
  204. package/dist/react/core/MessageStream.js.map +1 -0
  205. package/dist/react/core/MissionCalendar.d.ts +81 -0
  206. package/dist/react/core/MissionCalendar.js +1049 -0
  207. package/dist/react/core/MissionCalendar.js.map +1 -0
  208. package/dist/react/core/NumberInput.d.ts +85 -0
  209. package/dist/react/core/NumberInput.js +507 -0
  210. package/dist/react/core/NumberInput.js.map +1 -0
  211. package/dist/react/core/PacketViewer.d.ts +73 -0
  212. package/dist/react/core/PacketViewer.js +431 -0
  213. package/dist/react/core/PacketViewer.js.map +1 -0
  214. package/dist/react/core/Pagination.d.ts +30 -0
  215. package/dist/react/core/Pagination.js +190 -0
  216. package/dist/react/core/Pagination.js.map +1 -0
  217. package/dist/react/core/PinInput.d.ts +41 -0
  218. package/dist/react/core/PinInput.js +210 -0
  219. package/dist/react/core/PinInput.js.map +1 -0
  220. package/dist/react/core/Popover.d.ts +55 -0
  221. package/dist/react/core/Popover.js +288 -0
  222. package/dist/react/core/Popover.js.map +1 -0
  223. package/dist/react/core/Select.d.ts +42 -0
  224. package/dist/react/core/Select.js +303 -0
  225. package/dist/react/core/Select.js.map +1 -0
  226. package/dist/react/core/SideNav.d.ts +103 -0
  227. package/dist/react/core/SideNav.js +551 -0
  228. package/dist/react/core/SideNav.js.map +1 -0
  229. package/dist/react/core/SidePanel.d.ts +33 -0
  230. package/dist/react/core/SidePanel.js +199 -0
  231. package/dist/react/core/SidePanel.js.map +1 -0
  232. package/dist/react/core/Tabs.d.ts +47 -0
  233. package/dist/react/core/Tabs.js +129 -0
  234. package/dist/react/core/Tabs.js.map +1 -0
  235. package/dist/react/core/Toast.d.ts +56 -0
  236. package/dist/react/core/Toast.js +229 -0
  237. package/dist/react/core/Toast.js.map +1 -0
  238. package/dist/react/core/Toggle.d.ts +22 -0
  239. package/dist/react/core/Toggle.js +151 -0
  240. package/dist/react/core/Toggle.js.map +1 -0
  241. package/dist/react/core/Tooltip.d.ts +19 -0
  242. package/dist/react/core/Tooltip.js +179 -0
  243. package/dist/react/core/Tooltip.js.map +1 -0
  244. package/dist/react/core/Typography.d.ts +127 -0
  245. package/dist/react/core/Typography.js +187 -0
  246. package/dist/react/core/Typography.js.map +1 -0
  247. package/dist/react/core/index.d.ts +108 -0
  248. package/dist/react/core/layout/Box.d.ts +77 -0
  249. package/dist/react/core/layout/Box.js +126 -0
  250. package/dist/react/core/layout/Box.js.map +1 -0
  251. package/dist/react/core/layout/Center.d.ts +20 -0
  252. package/dist/react/core/layout/Center.js +34 -0
  253. package/dist/react/core/layout/Center.js.map +1 -0
  254. package/dist/react/core/layout/Divider.d.ts +16 -0
  255. package/dist/react/core/layout/Divider.js +108 -0
  256. package/dist/react/core/layout/Divider.js.map +1 -0
  257. package/dist/react/core/layout/Flex.d.ts +30 -0
  258. package/dist/react/core/layout/Flex.js +128 -0
  259. package/dist/react/core/layout/Flex.js.map +1 -0
  260. package/dist/react/core/layout/Grid.d.ts +36 -0
  261. package/dist/react/core/layout/Grid.js +142 -0
  262. package/dist/react/core/layout/Grid.js.map +1 -0
  263. package/dist/react/core/layout/Spacer.d.ts +8 -0
  264. package/dist/react/core/layout/Spacer.js +31 -0
  265. package/dist/react/core/layout/Spacer.js.map +1 -0
  266. package/dist/react/core/layout/Stack.d.ts +54 -0
  267. package/dist/react/core/layout/Stack.js +74 -0
  268. package/dist/react/core/layout/Stack.js.map +1 -0
  269. package/dist/react/core/layout/index.d.ts +38 -0
  270. package/dist/react/core/layout/responsive.d.ts +23 -0
  271. package/dist/react/core/layout/responsive.js +26 -0
  272. package/dist/react/core/layout/responsive.js.map +1 -0
  273. package/dist/react/core/layout/useBreakpoint.d.ts +77 -0
  274. package/dist/react/core/layout/useBreakpoint.js +73 -0
  275. package/dist/react/core/layout/useBreakpoint.js.map +1 -0
  276. package/dist/react/core/propertyConfig.d.ts +443 -0
  277. package/dist/react/core/propertyConfig.js +399 -0
  278. package/dist/react/core/propertyConfig.js.map +1 -0
  279. package/dist/react/hooks/index.d.ts +21 -0
  280. package/dist/react/hooks/useAccessWindows.d.ts +66 -0
  281. package/dist/react/hooks/useCompactMode.d.ts +82 -0
  282. package/dist/react/hooks/useCompactMode.js +62 -0
  283. package/dist/react/hooks/useCompactMode.js.map +1 -0
  284. package/dist/react/hooks/useLiveSelection.d.ts +57 -0
  285. package/dist/react/hooks/useSimulationPlayback.d.ts +97 -0
  286. package/dist/react/hooks/useSimulationTime.d.ts +61 -0
  287. package/dist/react/hooks/useSpacecraftPosition.d.ts +50 -0
  288. package/dist/react/hooks/useSpacecraftPosition.js +89 -0
  289. package/dist/react/hooks/useSpacecraftPosition.js.map +1 -0
  290. package/dist/react/hooks/useTelemetry.d.ts +55 -0
  291. package/dist/react/hooks/useTelemetry.js +73 -0
  292. package/dist/react/hooks/useTelemetry.js.map +1 -0
  293. package/dist/react/hooks/useZendirSession.d.ts +109 -0
  294. package/dist/react/hooks/useZendirSession.js +148 -0
  295. package/dist/react/hooks/useZendirSession.js.map +1 -0
  296. package/dist/react/index.d.ts +74 -0
  297. package/dist/react/shared/ErrorBoundary.d.ts +63 -0
  298. package/dist/react/shared/ErrorBoundary.js +142 -0
  299. package/dist/react/shared/ErrorBoundary.js.map +1 -0
  300. package/dist/react/shared/Skeleton.d.ts +110 -0
  301. package/dist/react/shared/Skeleton.js +324 -0
  302. package/dist/react/shared/Skeleton.js.map +1 -0
  303. package/dist/react/shared/index.d.ts +12 -0
  304. package/dist/react/theme/ThemeProvider.d.ts +385 -0
  305. package/dist/react/theme/ThemeProvider.js +1096 -0
  306. package/dist/react/theme/ThemeProvider.js.map +1 -0
  307. package/dist/react/theme/astro-tokens.d.ts +153 -0
  308. package/dist/react/theme/cardAccent.d.ts +75 -0
  309. package/dist/react/theme/cardAccent.js +137 -0
  310. package/dist/react/theme/cardAccent.js.map +1 -0
  311. package/dist/react/theme/config.d.ts +39 -0
  312. package/dist/react/theme/index.d.ts +9 -0
  313. package/dist/react/types.d.ts +360 -0
  314. package/dist/react/types.js +58 -0
  315. package/dist/react/types.js.map +1 -0
  316. package/dist/react/utils/index.d.ts +247 -0
  317. package/dist/react/utils/index.js +423 -0
  318. package/dist/react/utils/index.js.map +1 -0
  319. package/dist/react/visualizations/EclipseTimerCard.d.ts +17 -0
  320. package/dist/react/visualizations/EclipseTimerCard.js +250 -0
  321. package/dist/react/visualizations/EclipseTimerCard.js.map +1 -0
  322. package/dist/react/visualizations/LinkBudgetCard.d.ts +50 -0
  323. package/dist/react/visualizations/LinkBudgetCard.js +444 -0
  324. package/dist/react/visualizations/LinkBudgetCard.js.map +1 -0
  325. package/dist/react/visualizations/NavBallCard.d.ts +17 -0
  326. package/dist/react/visualizations/NavBallCard.js +243 -0
  327. package/dist/react/visualizations/NavBallCard.js.map +1 -0
  328. package/dist/react/visualizations/PropulsionCard.d.ts +37 -0
  329. package/dist/react/visualizations/PropulsionCard.js +298 -0
  330. package/dist/react/visualizations/PropulsionCard.js.map +1 -0
  331. package/dist/react/visualizations/SensorFootprintCard.d.ts +33 -0
  332. package/dist/react/visualizations/SensorFootprintCard.js +326 -0
  333. package/dist/react/visualizations/SensorFootprintCard.js.map +1 -0
  334. package/dist/react/visualizations/ThermalHeatmapCard.d.ts +38 -0
  335. package/dist/react/visualizations/ThermalHeatmapCard.js +372 -0
  336. package/dist/react/visualizations/ThermalHeatmapCard.js.map +1 -0
  337. package/dist/react/visualizations/index.d.ts +17 -0
  338. package/dist/react.d.ts +1 -0
  339. package/dist/react.js +421 -0
  340. package/dist/react.js.map +1 -0
  341. package/dist/shaders/atmosphere.frag.js +5 -0
  342. package/dist/shaders/atmosphere.frag.js.map +1 -0
  343. package/dist/shaders/atmosphere.vert.js +5 -0
  344. package/dist/shaders/atmosphere.vert.js.map +1 -0
  345. package/dist/shaders/stars.frag.js +5 -0
  346. package/dist/shaders/stars.frag.js.map +1 -0
  347. package/dist/shaders/stars.vert.js +5 -0
  348. package/dist/shaders/stars.vert.js.map +1 -0
  349. package/dist/style.css +143 -0
  350. package/dist/tokens/index.d.ts +296 -0
  351. package/dist/tokens/index.js +263 -0
  352. package/dist/tokens/index.js.map +1 -0
  353. package/dist/tokens/tokens.css +155 -0
  354. package/dist/types/index.d.ts +23 -0
  355. package/dist/types.d.ts +1 -0
  356. package/dist/types.js +2 -0
  357. package/dist/types.js.map +1 -0
  358. package/package.json +220 -0
  359. package/sdk-stub.js +22 -0
@@ -0,0 +1,668 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { memo, useMemo, useCallback, useState } from "react";
3
+ import { tabularNumsStyle, safeAccentText, classNames } from "../utils/index.js";
4
+ import { AstroIcon } from "../core/AstroIcon.js";
5
+ import { Tooltip } from "../core/Tooltip.js";
6
+ import { useTheme } from "../theme/ThemeProvider.js";
7
+ const DEFAULT_TIME_SCALE_PRESETS = [0.1, 0.25, 0.5, 1, 2, 5, 10, 60, 3600];
8
+ const DEFAULT_STEP_SIZE_PRESETS = [1, 5, 10, 30, 60, 300, 600, 3600];
9
+ function formatElapsedTime(seconds) {
10
+ const absSeconds = Math.abs(seconds);
11
+ const days = Math.floor(absSeconds / 86400);
12
+ const hours = Math.floor(absSeconds % 86400 / 3600);
13
+ const mins = Math.floor(absSeconds % 3600 / 60);
14
+ const secs = Math.floor(absSeconds % 60);
15
+ const sign = seconds < 0 ? "-" : "";
16
+ if (days > 0) {
17
+ return `${sign}${days}:${hours.toString().padStart(2, "0")}:${mins.toString().padStart(2, "0")}:${secs.toString().padStart(2, "0")}`;
18
+ }
19
+ return `${sign}${hours.toString().padStart(2, "0")}:${mins.toString().padStart(2, "0")}:${secs.toString().padStart(2, "0")}`;
20
+ }
21
+ function formatTimeScale(scale) {
22
+ if (scale >= 3600) return `${scale / 3600}h/s`;
23
+ if (scale >= 60) return `${scale / 60}m/s`;
24
+ if (scale === 1) return "1×";
25
+ if (scale < 1) return `${scale}×`;
26
+ return `${scale}×`;
27
+ }
28
+ function formatStepSize(seconds) {
29
+ if (seconds >= 3600) return `${seconds / 3600}h`;
30
+ if (seconds >= 60) return `${seconds / 60}m`;
31
+ return `${seconds}s`;
32
+ }
33
+ function formatTimeDisplay(date) {
34
+ const hours = date.getUTCHours().toString().padStart(2, "0");
35
+ const mins = date.getUTCMinutes().toString().padStart(2, "0");
36
+ const secs = date.getUTCSeconds().toString().padStart(2, "0");
37
+ return `${hours}:${mins}:${secs}`;
38
+ }
39
+ function formatDateDisplay(date) {
40
+ const year = date.getUTCFullYear();
41
+ const month = (date.getUTCMonth() + 1).toString().padStart(2, "0");
42
+ const day = date.getUTCDate().toString().padStart(2, "0");
43
+ return `${year}-${month}-${day}`;
44
+ }
45
+ const ControlButton = memo(function ControlButton2({
46
+ icon,
47
+ label,
48
+ onClick,
49
+ active = false,
50
+ disabled = false,
51
+ danger = false,
52
+ tokens,
53
+ small = false
54
+ }) {
55
+ const size = small ? 28 : 32;
56
+ const iconSize = small ? 14 : 16;
57
+ const baseColor = danger ? tokens.colors.status.critical : active ? tokens.colors.status.normal : tokens.colors.text.primary;
58
+ const bgColor = active ? `${tokens.colors.status.normal}25` : "rgba(255,255,255,0.08)";
59
+ return /* @__PURE__ */ jsx(Tooltip, { content: label, placement: "bottom", children: /* @__PURE__ */ jsx(
60
+ "button",
61
+ {
62
+ onClick,
63
+ disabled,
64
+ "aria-label": label,
65
+ style: {
66
+ display: "flex",
67
+ alignItems: "center",
68
+ justifyContent: "center",
69
+ width: size,
70
+ height: size,
71
+ padding: 0,
72
+ border: "none",
73
+ borderRadius: tokens.borderRadius.md,
74
+ backgroundColor: disabled ? "rgba(255,255,255,0.03)" : bgColor,
75
+ color: disabled ? tokens.colors.text.tertiary : baseColor,
76
+ cursor: disabled ? "not-allowed" : "pointer",
77
+ transition: "all 0.15s ease",
78
+ opacity: disabled ? 0.5 : 1
79
+ },
80
+ onMouseEnter: (e) => {
81
+ if (!disabled) {
82
+ e.currentTarget.style.backgroundColor = active ? `${tokens.colors.status.normal}35` : "rgba(255,255,255,0.15)";
83
+ }
84
+ },
85
+ onMouseLeave: (e) => {
86
+ if (!disabled) {
87
+ e.currentTarget.style.backgroundColor = bgColor;
88
+ }
89
+ },
90
+ children: /* @__PURE__ */ jsx(
91
+ AstroIcon,
92
+ {
93
+ name: icon,
94
+ size: iconSize,
95
+ color: disabled ? tokens.colors.text.tertiary : baseColor
96
+ }
97
+ )
98
+ }
99
+ ) });
100
+ });
101
+ const TimeScaleSelector = memo(function TimeScaleSelector2({
102
+ value,
103
+ presets,
104
+ onChange,
105
+ disabled = false,
106
+ tokens,
107
+ small = false
108
+ }) {
109
+ const [isOpen, setIsOpen] = useState(false);
110
+ return /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
111
+ /* @__PURE__ */ jsx(Tooltip, { content: "Time Scale / Playback Speed", placement: "bottom", children: /* @__PURE__ */ jsxs(
112
+ "button",
113
+ {
114
+ onClick: () => !disabled && setIsOpen(!isOpen),
115
+ disabled,
116
+ style: {
117
+ display: "flex",
118
+ alignItems: "center",
119
+ gap: 4,
120
+ padding: small ? "4px 8px" : "6px 10px",
121
+ border: "none",
122
+ borderRadius: tokens.borderRadius.sm,
123
+ backgroundColor: "rgba(255,255,255,0.08)",
124
+ color: value !== 1 ? tokens.colors.status.caution : tokens.colors.text.secondary,
125
+ fontSize: small ? tokens.typography.fontSize.xxs : "0.6875rem",
126
+ // 10px/11px in rem
127
+ fontWeight: 700,
128
+ // AstroUXDS bold for time display (critical info)
129
+ fontFamily: tokens.typography.fontFamily.mono,
130
+ cursor: disabled ? "not-allowed" : "pointer",
131
+ transition: "all 0.15s ease",
132
+ opacity: disabled ? 0.5 : 1,
133
+ ...tabularNumsStyle
134
+ },
135
+ children: [
136
+ /* @__PURE__ */ jsx(AstroIcon, { name: "fast-forward", size: small ? 10 : 12, color: "inherit" }),
137
+ formatTimeScale(value)
138
+ ]
139
+ }
140
+ ) }),
141
+ isOpen && !disabled && /* @__PURE__ */ jsxs(Fragment, { children: [
142
+ /* @__PURE__ */ jsx(
143
+ "div",
144
+ {
145
+ style: {
146
+ position: "fixed",
147
+ inset: 0,
148
+ zIndex: 99
149
+ },
150
+ onClick: () => setIsOpen(false)
151
+ }
152
+ ),
153
+ /* @__PURE__ */ jsx(
154
+ "div",
155
+ {
156
+ style: {
157
+ position: "absolute",
158
+ top: "100%",
159
+ left: "50%",
160
+ transform: "translateX(-50%)",
161
+ marginTop: 4,
162
+ padding: 4,
163
+ backgroundColor: tokens.colors.background.elevated,
164
+ border: `1px solid ${tokens.colors.border.default}`,
165
+ borderRadius: tokens.borderRadius.md,
166
+ boxShadow: tokens.shadows.lg,
167
+ zIndex: 100,
168
+ minWidth: 80
169
+ },
170
+ children: presets.map((scale) => /* @__PURE__ */ jsx(
171
+ "button",
172
+ {
173
+ onClick: () => {
174
+ onChange == null ? void 0 : onChange(scale);
175
+ setIsOpen(false);
176
+ },
177
+ style: {
178
+ display: "block",
179
+ width: "100%",
180
+ padding: "6px 12px",
181
+ border: "none",
182
+ borderRadius: tokens.borderRadius.sm,
183
+ backgroundColor: value === scale ? tokens.colors.accent.primary : "transparent",
184
+ color: value === scale ? "#ffffff" : tokens.colors.text.secondary,
185
+ fontSize: "0.6875rem",
186
+ // 11px in rem
187
+ fontWeight: value === scale ? 500 : 400,
188
+ // AstroUXDS: 500 (medium) not 600
189
+ fontFamily: tokens.typography.fontFamily.mono,
190
+ textAlign: "center",
191
+ cursor: "pointer",
192
+ transition: "all 0.1s ease",
193
+ ...tabularNumsStyle
194
+ },
195
+ onMouseEnter: (e) => {
196
+ if (value !== scale) {
197
+ e.currentTarget.style.backgroundColor = "rgba(255,255,255,0.1)";
198
+ }
199
+ },
200
+ onMouseLeave: (e) => {
201
+ e.currentTarget.style.backgroundColor = value === scale ? tokens.colors.accent.primary : "transparent";
202
+ },
203
+ children: formatTimeScale(scale)
204
+ },
205
+ scale
206
+ ))
207
+ }
208
+ )
209
+ ] })
210
+ ] });
211
+ });
212
+ const SimulationTimeDisplay = memo(function SimulationTimeDisplay2({
213
+ currentTime,
214
+ elapsedSeconds,
215
+ showElapsed = true,
216
+ showCurrent = true,
217
+ showDate = false,
218
+ isPlaying = false,
219
+ tokens,
220
+ small = false
221
+ }) {
222
+ return /* @__PURE__ */ jsxs(
223
+ "div",
224
+ {
225
+ style: {
226
+ display: "flex",
227
+ flexDirection: "column",
228
+ alignItems: "center",
229
+ gap: 2,
230
+ padding: `${tokens.spacing.xs} ${tokens.spacing.sm}`
231
+ },
232
+ children: [
233
+ showDate && currentTime && /* @__PURE__ */ jsx(
234
+ "span",
235
+ {
236
+ style: {
237
+ fontSize: tokens.typography.fontSize.xs,
238
+ fontFamily: tokens.typography.fontFamily.mono,
239
+ color: tokens.colors.text.tertiary,
240
+ ...tabularNumsStyle
241
+ },
242
+ children: formatDateDisplay(currentTime)
243
+ }
244
+ ),
245
+ showCurrent && currentTime && /* @__PURE__ */ jsx(
246
+ "span",
247
+ {
248
+ style: {
249
+ fontSize: small ? tokens.typography.fontSize.lg : tokens.typography.fontSize.xl,
250
+ fontWeight: tokens.typography.fontWeight.bold,
251
+ // Bold (700) to match MissionClock
252
+ fontFamily: tokens.typography.fontFamily.mono,
253
+ color: tokens.colors.text.primary,
254
+ ...tabularNumsStyle
255
+ },
256
+ children: formatTimeDisplay(currentTime)
257
+ }
258
+ ),
259
+ showElapsed && elapsedSeconds !== void 0 && /* @__PURE__ */ jsxs(
260
+ "span",
261
+ {
262
+ style: {
263
+ fontSize: tokens.typography.fontSize.sm,
264
+ fontFamily: tokens.typography.fontFamily.mono,
265
+ color: tokens.colors.status.caution,
266
+ ...tabularNumsStyle
267
+ },
268
+ children: [
269
+ "T",
270
+ elapsedSeconds >= 0 ? "+" : "",
271
+ formatElapsedTime(elapsedSeconds)
272
+ ]
273
+ }
274
+ ),
275
+ /* @__PURE__ */ jsxs(
276
+ "span",
277
+ {
278
+ style: {
279
+ fontSize: tokens.typography.fontSize.xs,
280
+ fontWeight: tokens.typography.fontWeight.medium,
281
+ color: isPlaying ? safeAccentText(tokens.colors.accent.primary) : tokens.colors.status.standby,
282
+ textTransform: "uppercase",
283
+ letterSpacing: tokens.typography.letterSpacing.wide,
284
+ display: "flex",
285
+ alignItems: "center",
286
+ gap: 4
287
+ },
288
+ children: [
289
+ isPlaying && /* @__PURE__ */ jsx(
290
+ "span",
291
+ {
292
+ style: {
293
+ width: 6,
294
+ height: 6,
295
+ borderRadius: "50%",
296
+ backgroundColor: tokens.colors.accent.primary,
297
+ animation: "pulse 1.5s ease-in-out infinite"
298
+ }
299
+ }
300
+ ),
301
+ "SIM"
302
+ ]
303
+ }
304
+ )
305
+ ]
306
+ }
307
+ );
308
+ });
309
+ const SimulationControls = memo(function SimulationControls2({
310
+ state,
311
+ isPlaying: isPlayingProp,
312
+ isPaused,
313
+ onPlay,
314
+ onPause,
315
+ onStop,
316
+ onStepForward,
317
+ onStepBackward,
318
+ currentTime: currentTimeProp,
319
+ epoch,
320
+ elapsedSeconds: elapsedSecondsProp,
321
+ showElapsedTime = true,
322
+ showCurrentTime = true,
323
+ showDate = true,
324
+ timeScale = 1,
325
+ onTimeScaleChange,
326
+ timeScalePresets = DEFAULT_TIME_SCALE_PRESETS,
327
+ showTimeScale = true,
328
+ stepSize = 60,
329
+ onStepSizeChange: _onStepSizeChange,
330
+ stepSizePresets: _stepSizePresets = DEFAULT_STEP_SIZE_PRESETS,
331
+ showStepControls = true,
332
+ compact = false,
333
+ small = false,
334
+ className = "",
335
+ disabled = false,
336
+ showStatus = true,
337
+ label
338
+ }) {
339
+ const { tokens, theme } = useTheme();
340
+ const isTransparentTheme = theme === "transparent" || theme === "transparent-bold" || theme === "transparent-minimal";
341
+ const isPlaying = useMemo(() => {
342
+ if (state) return state === "playing";
343
+ return isPlayingProp ?? false;
344
+ }, [state, isPlayingProp]);
345
+ const isStopped = useMemo(() => {
346
+ if (state) return state === "stopped";
347
+ return !isPlayingProp && !isPaused;
348
+ }, [state, isPlayingProp, isPaused]);
349
+ const currentTime = useMemo(() => {
350
+ if (!currentTimeProp) return void 0;
351
+ return typeof currentTimeProp === "string" ? new Date(currentTimeProp) : currentTimeProp;
352
+ }, [currentTimeProp]);
353
+ const elapsedSeconds = useMemo(() => {
354
+ if (elapsedSecondsProp !== void 0) return elapsedSecondsProp;
355
+ if (currentTime && epoch) {
356
+ const epochDate = typeof epoch === "string" ? new Date(epoch) : epoch;
357
+ return (currentTime.getTime() - epochDate.getTime()) / 1e3;
358
+ }
359
+ return void 0;
360
+ }, [elapsedSecondsProp, currentTime, epoch]);
361
+ const handlePlayPause = useCallback(() => {
362
+ if (isPlaying) {
363
+ onPause == null ? void 0 : onPause();
364
+ } else {
365
+ onPlay == null ? void 0 : onPlay();
366
+ }
367
+ }, [isPlaying, onPlay, onPause]);
368
+ const handleKeyDown = useCallback((e) => {
369
+ if (disabled) return;
370
+ switch (e.key) {
371
+ case " ":
372
+ e.preventDefault();
373
+ handlePlayPause();
374
+ break;
375
+ case "Escape":
376
+ e.preventDefault();
377
+ onStop == null ? void 0 : onStop();
378
+ break;
379
+ case "ArrowRight":
380
+ e.preventDefault();
381
+ onStepForward == null ? void 0 : onStepForward();
382
+ break;
383
+ case "ArrowLeft":
384
+ e.preventDefault();
385
+ onStepBackward == null ? void 0 : onStepBackward();
386
+ break;
387
+ }
388
+ }, [disabled, handlePlayPause, onStop, onStepForward, onStepBackward]);
389
+ return /* @__PURE__ */ jsxs(
390
+ "div",
391
+ {
392
+ className: classNames("zendir-simulation-controls", className),
393
+ role: "group",
394
+ "aria-label": label || "Simulation Controls",
395
+ onKeyDown: handleKeyDown,
396
+ tabIndex: 0,
397
+ style: {
398
+ display: "flex",
399
+ alignItems: "center",
400
+ gap: compact ? tokens.spacing.sm : tokens.spacing.md,
401
+ padding: compact ? `${tokens.spacing.xs} ${tokens.spacing.sm}` : `${tokens.spacing.sm} ${tokens.spacing.md}`,
402
+ backgroundColor: isTransparentTheme ? "rgba(0,0,0,0.3)" : tokens.colors.background.surface,
403
+ ...isTransparentTheme && {
404
+ backdropFilter: "blur(12px)",
405
+ WebkitBackdropFilter: "blur(12px)"
406
+ },
407
+ ...tokens.colors.border.cardStyle ?? { border: `1px solid ${tokens.colors.border.muted}` },
408
+ borderRadius: tokens.borderRadius.lg,
409
+ outline: "none",
410
+ transition: tokens.animation.fast
411
+ },
412
+ children: [
413
+ (showCurrentTime || showElapsedTime) && !compact && /* @__PURE__ */ jsx(
414
+ SimulationTimeDisplay,
415
+ {
416
+ currentTime,
417
+ elapsedSeconds,
418
+ showElapsed: showElapsedTime,
419
+ showCurrent: showCurrentTime,
420
+ showDate,
421
+ isPlaying,
422
+ tokens,
423
+ small
424
+ }
425
+ ),
426
+ compact && currentTime && /* @__PURE__ */ jsxs(
427
+ "div",
428
+ {
429
+ style: {
430
+ display: "flex",
431
+ alignItems: "center",
432
+ gap: 8
433
+ },
434
+ children: [
435
+ showDate && /* @__PURE__ */ jsx(
436
+ "span",
437
+ {
438
+ style: {
439
+ fontSize: tokens.typography.fontSize.xs,
440
+ fontFamily: tokens.typography.fontFamily.mono,
441
+ color: tokens.colors.text.tertiary,
442
+ ...tabularNumsStyle
443
+ },
444
+ children: formatDateDisplay(currentTime)
445
+ }
446
+ ),
447
+ /* @__PURE__ */ jsx(
448
+ "span",
449
+ {
450
+ style: {
451
+ fontSize: tokens.typography.fontSize.lg,
452
+ fontWeight: tokens.typography.fontWeight.bold,
453
+ // Bold (700) to match MissionClock
454
+ fontFamily: tokens.typography.fontFamily.mono,
455
+ color: tokens.colors.text.primary,
456
+ ...tabularNumsStyle
457
+ },
458
+ children: formatTimeDisplay(currentTime)
459
+ }
460
+ ),
461
+ showStatus && /* @__PURE__ */ jsxs(
462
+ "span",
463
+ {
464
+ style: {
465
+ fontSize: tokens.typography.fontSize.xs,
466
+ fontWeight: tokens.typography.fontWeight.medium,
467
+ color: isPlaying ? safeAccentText(tokens.colors.accent.primary) : tokens.colors.status.standby,
468
+ textTransform: "uppercase",
469
+ display: "flex",
470
+ alignItems: "center",
471
+ gap: 4
472
+ },
473
+ children: [
474
+ isPlaying && /* @__PURE__ */ jsx(
475
+ "span",
476
+ {
477
+ style: {
478
+ width: 6,
479
+ height: 6,
480
+ borderRadius: "50%",
481
+ backgroundColor: tokens.colors.accent.primary
482
+ }
483
+ }
484
+ ),
485
+ "SIM"
486
+ ]
487
+ }
488
+ )
489
+ ]
490
+ }
491
+ ),
492
+ (showCurrentTime || showElapsedTime || compact && currentTime) && /* @__PURE__ */ jsx(
493
+ "div",
494
+ {
495
+ style: {
496
+ width: 1,
497
+ height: 24,
498
+ backgroundColor: tokens.colors.border.muted
499
+ }
500
+ }
501
+ ),
502
+ /* @__PURE__ */ jsxs(
503
+ "div",
504
+ {
505
+ style: {
506
+ display: "flex",
507
+ alignItems: "center",
508
+ gap: 4
509
+ },
510
+ children: [
511
+ showStepControls && /* @__PURE__ */ jsx(
512
+ ControlButton,
513
+ {
514
+ icon: "skip-previous",
515
+ label: `Step backward ${formatStepSize(stepSize)}`,
516
+ onClick: onStepBackward,
517
+ disabled: disabled || !onStepBackward,
518
+ tokens,
519
+ small
520
+ }
521
+ ),
522
+ /* @__PURE__ */ jsx(
523
+ ControlButton,
524
+ {
525
+ icon: "stop",
526
+ label: "Stop / Reset",
527
+ onClick: onStop,
528
+ disabled: disabled || !onStop,
529
+ danger: !isStopped,
530
+ tokens,
531
+ small
532
+ }
533
+ ),
534
+ /* @__PURE__ */ jsx(Tooltip, { content: isPlaying ? "Pause (Space)" : "Play (Space)", placement: "bottom", children: /* @__PURE__ */ jsx(
535
+ "button",
536
+ {
537
+ onClick: handlePlayPause,
538
+ disabled,
539
+ "aria-label": isPlaying ? "Pause simulation" : "Play simulation",
540
+ style: {
541
+ display: "flex",
542
+ alignItems: "center",
543
+ justifyContent: "center",
544
+ width: small ? 36 : 44,
545
+ height: small ? 36 : 44,
546
+ padding: 0,
547
+ border: isPlaying ? `2px solid ${tokens.colors.accent.primary}` : "none",
548
+ borderRadius: "50%",
549
+ // Use accent primary for both states - playing has outline style
550
+ backgroundColor: isPlaying ? "rgba(138, 43, 226, 0.15)" : tokens.colors.accent.primary,
551
+ color: isPlaying ? safeAccentText(tokens.colors.accent.primary) : "#ffffff",
552
+ cursor: disabled ? "not-allowed" : "pointer",
553
+ transition: "all 0.15s ease",
554
+ opacity: disabled ? 0.5 : 1,
555
+ boxShadow: isPlaying ? `0 0 16px ${tokens.colors.accent.primary}50` : `0 0 8px ${tokens.colors.accent.primary}40`
556
+ },
557
+ onMouseEnter: (e) => {
558
+ if (!disabled) {
559
+ e.currentTarget.style.transform = "scale(1.05)";
560
+ }
561
+ },
562
+ onMouseLeave: (e) => {
563
+ e.currentTarget.style.transform = "scale(1)";
564
+ },
565
+ children: /* @__PURE__ */ jsx(
566
+ AstroIcon,
567
+ {
568
+ name: isPlaying ? "pause" : "play-arrow",
569
+ size: small ? 18 : 22,
570
+ color: isPlaying ? tokens.colors.accent.primary : "#ffffff"
571
+ }
572
+ )
573
+ }
574
+ ) }),
575
+ showStepControls && /* @__PURE__ */ jsx(
576
+ ControlButton,
577
+ {
578
+ icon: "skip-next",
579
+ label: `Step forward ${formatStepSize(stepSize)}`,
580
+ onClick: onStepForward,
581
+ disabled: disabled || !onStepForward,
582
+ tokens,
583
+ small
584
+ }
585
+ )
586
+ ]
587
+ }
588
+ ),
589
+ showTimeScale && /* @__PURE__ */ jsxs(Fragment, { children: [
590
+ /* @__PURE__ */ jsx(
591
+ "div",
592
+ {
593
+ style: {
594
+ width: 1,
595
+ height: 24,
596
+ backgroundColor: tokens.colors.border.muted
597
+ }
598
+ }
599
+ ),
600
+ /* @__PURE__ */ jsx(
601
+ TimeScaleSelector,
602
+ {
603
+ value: timeScale,
604
+ presets: timeScalePresets,
605
+ onChange: onTimeScaleChange,
606
+ disabled: disabled || !onTimeScaleChange,
607
+ tokens,
608
+ small
609
+ }
610
+ )
611
+ ] })
612
+ ]
613
+ }
614
+ );
615
+ });
616
+ const MiniSimulationControls = memo(function MiniSimulationControls2({
617
+ isPlaying = false,
618
+ onPlay,
619
+ onPause,
620
+ onStop,
621
+ timeScale = 1,
622
+ onTimeScaleChange,
623
+ disabled = false,
624
+ className = ""
625
+ }) {
626
+ return /* @__PURE__ */ jsx(
627
+ SimulationControls,
628
+ {
629
+ isPlaying,
630
+ onPlay,
631
+ onPause,
632
+ onStop,
633
+ timeScale,
634
+ onTimeScaleChange,
635
+ disabled,
636
+ compact: true,
637
+ small: true,
638
+ showCurrentTime: false,
639
+ showElapsedTime: false,
640
+ showDate: false,
641
+ showStepControls: false,
642
+ showTimeScale: Boolean(onTimeScaleChange),
643
+ className
644
+ }
645
+ );
646
+ });
647
+ const SimulationControlsWithClock = memo(function SimulationControlsWithClock2({
648
+ clockFormat: _clockFormat = "24h",
649
+ timezone = "SIM",
650
+ ...props
651
+ }) {
652
+ return /* @__PURE__ */ jsx(
653
+ SimulationControls,
654
+ {
655
+ ...props,
656
+ showCurrentTime: true,
657
+ showElapsedTime: true,
658
+ showDate: true,
659
+ label: `Simulation Controls - ${timezone}`
660
+ }
661
+ );
662
+ });
663
+ export {
664
+ MiniSimulationControls,
665
+ SimulationControls,
666
+ SimulationControlsWithClock
667
+ };
668
+ //# sourceMappingURL=SimulationControls.js.map