@wandelbots/wandelbots-js-react-components 6.4.0-pr.feat-panel-without-cartesian-tabs.665.b302214 → 6.4.0-pr.feat-robot-session.672.4fae5bd

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 (157) hide show
  1. package/README.md +78 -148
  2. package/dist/3d.cjs +1 -1
  3. package/dist/3d.d.ts +3 -1
  4. package/dist/3d.js +14 -15
  5. package/dist/CurrentPoseBar/index.cjs +1 -1
  6. package/dist/CurrentPoseBar/index.d.ts +1 -1
  7. package/dist/CurrentPoseBar/index.js +1 -1
  8. package/dist/JoggingButtons/index.cjs +1 -1
  9. package/dist/JoggingButtons/index.js +1 -1
  10. package/dist/JoggingGizmo/index.cjs +1 -1
  11. package/dist/JoggingGizmo/index.d.ts +1 -0
  12. package/dist/JoggingGizmo/index.js +4 -5
  13. package/dist/JoggingJointSlider/index.cjs +1 -1
  14. package/dist/JoggingJointSlider/index.js +1 -1
  15. package/dist/SafetyBar/index.cjs +1 -1
  16. package/dist/SafetyBar/index.js +1 -1
  17. package/dist/chunks/ConnectedMotionGroup-D9JJSyXB.js +1822 -0
  18. package/dist/chunks/ConnectedMotionGroup-ir7Vf690.cjs +3 -0
  19. package/dist/chunks/CurrentPoseBar-Cbz4AO36.cjs +1 -0
  20. package/dist/chunks/CurrentPoseBar-CpwvWpEY.js +619 -0
  21. package/dist/chunks/{JoggingButtons-CXaozFVz.js → JoggingButtons-i8FdMpCx.js} +2 -2
  22. package/dist/chunks/{JoggingButtons-CbL-5LMK.cjs → JoggingButtons-paQCBXf4.cjs} +1 -1
  23. package/dist/chunks/JoggingGizmoOrientation-CKZeLcMp.js +893 -0
  24. package/dist/chunks/JoggingGizmoOrientation-EPtBeAun.cjs +1 -0
  25. package/dist/chunks/JoggingJointSlider-DQhJOmcc.js +378 -0
  26. package/dist/chunks/JoggingJointSlider-YcEBMgF1.cjs +1 -0
  27. package/dist/chunks/Pose3-Ci1bxEvz.js +1373 -0
  28. package/dist/chunks/Pose3-DwMOSTKO.cjs +1 -0
  29. package/dist/chunks/SafetyBar-Be1c6Vz9.cjs +1 -0
  30. package/dist/chunks/{SafetyBar-Cuak4ffd.js → SafetyBar-WXLP3Yi0.js} +26 -25
  31. package/dist/chunks/{externalizeComponent-_w2d1_pz.js → externalizeComponent-7OVHUIUh.js} +54 -119
  32. package/dist/chunks/externalizeComponent-B0n_tR3v.cjs +2 -0
  33. package/dist/chunks/holdSafety-Cbej6-Kc.js +62 -0
  34. package/dist/chunks/holdSafety-TeMXlYQe.cjs +1 -0
  35. package/dist/chunks/joggingColors-BKRoSGQu.js +132 -0
  36. package/dist/chunks/joggingColors-BkPm75Hr.cjs +1 -0
  37. package/dist/chunks/json-3cqBD7UQ.js +18 -0
  38. package/dist/chunks/json-Bd6uGfgP.cjs +1 -0
  39. package/dist/chunks/loadRobotSession-Bt1-Brjp.js +3761 -0
  40. package/dist/chunks/loadRobotSession-DHVuK_pj.cjs +1 -0
  41. package/dist/chunks/novaConnection-BTSIgWd1.cjs +1 -0
  42. package/dist/chunks/novaConnection-J6_ohIQ0.js +14 -0
  43. package/dist/chunks/poseText-BXUaQWnK.cjs +1 -0
  44. package/dist/chunks/poseText-CtdXIeT_.js +41 -0
  45. package/dist/chunks/{useSmoothedMotionState-COMJRcOt.js → useSmoothedMotionState-C_Vo0py0.js} +66 -78
  46. package/dist/chunks/useSmoothedMotionState-Ce9NjwBu.cjs +1 -0
  47. package/dist/components/VelocitySlider.d.ts +6 -1
  48. package/dist/components/currentPoseBar/CurrentPoseBar.d.ts +1 -1
  49. package/dist/components/currentPoseBar/poseValues.d.ts +1 -1
  50. package/dist/components/jogging/JoggingButtons.d.ts +3 -1
  51. package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +7 -1
  52. package/dist/components/jogging/JoggingCartesianTab.d.ts +3 -0
  53. package/dist/components/jogging/JoggingJointTab.d.ts +3 -0
  54. package/dist/components/jogging/JoggingJointValueControl.d.ts +7 -1
  55. package/dist/components/jogging/JoggingRefusedError.d.ts +24 -0
  56. package/dist/components/jogging/JoggingStore.d.ts +284 -26
  57. package/dist/components/jogging/gizmo/JoggingGizmo.d.ts +14 -4
  58. package/dist/components/jogging/gizmo/RotationHandles.d.ts +3 -3
  59. package/dist/components/jogging/gizmo/gizmoShared.d.ts +19 -9
  60. package/dist/components/jogging/holdSafety.d.ts +51 -13
  61. package/dist/components/jogging/joggingColors.d.ts +6 -0
  62. package/dist/components/jogging/joint/JoggingJointSlider.d.ts +9 -5
  63. package/dist/components/jogging/joint/useJointJogHold.d.ts +10 -15
  64. package/dist/components/jogging/useHold.d.ts +17 -13
  65. package/dist/components/jogging/useJogControls.d.ts +2 -3
  66. package/dist/components/robotControl/PanelSelect.d.ts +1 -1
  67. package/dist/components/robotControl/SmallSelect.d.ts +1 -1
  68. package/dist/components/robotControl/poseText.d.ts +34 -6
  69. package/dist/components/robotControl/robotControlTypes.d.ts +36 -0
  70. package/dist/components/utils/converters.d.ts +0 -2
  71. package/dist/components/utils/json.d.ts +4 -0
  72. package/dist/components/utils/useSmoothedMotionState.d.ts +11 -2
  73. package/dist/components/utils/useWebGLRenderer.d.ts +32 -0
  74. package/dist/components/utils/webglSupport.d.ts +11 -0
  75. package/dist/core.cjs +1 -1
  76. package/dist/core.d.ts +18 -5
  77. package/dist/core.js +56 -39
  78. package/dist/index.cjs +1 -1
  79. package/dist/index.js +71 -55
  80. package/dist/lib/ConnectedMotionGroup.d.ts +4 -1
  81. package/dist/lib/ControllerStateStream.d.ts +125 -0
  82. package/dist/lib/JoggerConnection.d.ts +48 -13
  83. package/dist/lib/MotionStreamConnection.d.ts +3 -2
  84. package/dist/lib/PoseTransformer.d.ts +22 -3
  85. package/dist/lib/TrajectoryExecutionStore.d.ts +144 -13
  86. package/dist/lib/controllerStateSource.d.ts +38 -0
  87. package/dist/lib/incrementalCartesianMotion.d.ts +2 -2
  88. package/dist/lib/motionGroupModelResources.d.ts +1 -0
  89. package/dist/lib/nats/natsControllerStateSource.d.ts +27 -0
  90. package/dist/lib/poseMath.d.ts +51 -0
  91. package/dist/lib/robotSession/RobotActivation.d.ts +90 -0
  92. package/dist/lib/robotSession/RobotDescription.d.ts +84 -0
  93. package/dist/lib/robotSession/RobotLiveState.d.ts +65 -0
  94. package/dist/lib/robotSession/RobotLoadProgress.d.ts +72 -0
  95. package/dist/lib/robotSession/RobotSafety.d.ts +59 -0
  96. package/dist/lib/robotSession/RobotSession.d.ts +117 -0
  97. package/dist/lib/robotSession/RobotTargetPose.d.ts +116 -0
  98. package/dist/lib/robotSession/loadRobotResources.d.ts +46 -0
  99. package/dist/lib/robotSession/loadRobotSession.d.ts +81 -0
  100. package/dist/lib/robotSession/robotPose.d.ts +27 -0
  101. package/dist/nats.cjs +1 -0
  102. package/dist/nats.d.ts +4 -0
  103. package/dist/nats.js +131 -0
  104. package/dist/session.cjs +1 -0
  105. package/dist/session.d.ts +22 -0
  106. package/dist/session.js +33 -0
  107. package/package.json +37 -1
  108. package/dist/RobotControlPanel/index.cjs +0 -1
  109. package/dist/RobotControlPanel/index.d.ts +0 -2
  110. package/dist/RobotControlPanel/index.js +0 -5
  111. package/dist/RobotHeader/index.cjs +0 -1
  112. package/dist/RobotHeader/index.d.ts +0 -4
  113. package/dist/RobotHeader/index.js +0 -5
  114. package/dist/chunks/CurrentPoseBar-CyHUWmjM.cjs +0 -1
  115. package/dist/chunks/CurrentPoseBar-zTZi68tY.js +0 -505
  116. package/dist/chunks/JoggingGizmo-DGbFLWgT.cjs +0 -1
  117. package/dist/chunks/JoggingGizmo-SuS9MmL7.js +0 -810
  118. package/dist/chunks/JoggingGizmoOrientation-dzned4f4.cjs +0 -1
  119. package/dist/chunks/JoggingGizmoOrientation-x_crT_64.js +0 -14
  120. package/dist/chunks/JoggingJointSlider-CZ-k6XCa.js +0 -406
  121. package/dist/chunks/JoggingJointSlider-R3_A9Ppj.cjs +0 -1
  122. package/dist/chunks/Robot-D0ZqUCn3.cjs +0 -1
  123. package/dist/chunks/Robot-UoykZeYH.js +0 -1272
  124. package/dist/chunks/RobotControlPanel-BXtBHEe9.cjs +0 -1
  125. package/dist/chunks/RobotControlPanel-BiLexAWI.js +0 -827
  126. package/dist/chunks/RobotHeader-BZci9ahT.js +0 -244
  127. package/dist/chunks/RobotHeader-CqK0700U.cjs +0 -1
  128. package/dist/chunks/SafetyBar-Bbg-o8h9.cjs +0 -1
  129. package/dist/chunks/SmallSelect-BdD9uLKK.js +0 -52
  130. package/dist/chunks/SmallSelect-Dcsd7_6_.cjs +0 -1
  131. package/dist/chunks/TrajectoryExecutionStore-CgXDsq3f.js +0 -3407
  132. package/dist/chunks/TrajectoryExecutionStore-DMGcu1kk.cjs +0 -3
  133. package/dist/chunks/converters-C8I_A_tA.cjs +0 -1
  134. package/dist/chunks/converters-DpNB_WNQ.js +0 -39
  135. package/dist/chunks/externalizeComponent-BdxGBLIv.cjs +0 -2
  136. package/dist/chunks/holdSafety-BtoZ5We3.cjs +0 -1
  137. package/dist/chunks/holdSafety-Di1GZAWg.js +0 -37
  138. package/dist/chunks/joggingColors-CuT5u0H8.js +0 -135
  139. package/dist/chunks/joggingColors-ZDc_2UCp.cjs +0 -1
  140. package/dist/chunks/useEveryFrame-G_-ma1nC.js +0 -142
  141. package/dist/chunks/useEveryFrame-dmPPTKtT.cjs +0 -1
  142. package/dist/chunks/useSmoothedMotionState-Con0E5Bx.cjs +0 -1
  143. package/dist/components/robotControl/CartesianJogTab.d.ts +0 -21
  144. package/dist/components/robotControl/HoldToMoveButton.d.ts +0 -25
  145. package/dist/components/robotControl/JogArea.d.ts +0 -22
  146. package/dist/components/robotControl/JogModeToggle.d.ts +0 -8
  147. package/dist/components/robotControl/JointJogTab.d.ts +0 -11
  148. package/dist/components/robotControl/MoveToTab.d.ts +0 -18
  149. package/dist/components/robotControl/PoseField.d.ts +0 -21
  150. package/dist/components/robotControl/RobotControlPanel.d.ts +0 -218
  151. package/dist/components/robotControl/Section.d.ts +0 -5
  152. package/dist/components/robotControl/VelocityRow.d.ts +0 -14
  153. package/dist/components/robotControl/atPose.d.ts +0 -8
  154. package/dist/components/robotControl/units.d.ts +0 -16
  155. package/dist/components/robotHeader/ActivationSwitch.d.ts +0 -7
  156. package/dist/components/robotHeader/AppNavigation.d.ts +0 -15
  157. package/dist/components/robotHeader/RobotHeader.d.ts +0 -42
package/README.md CHANGED
@@ -41,7 +41,7 @@ pnpm add three three-stdlib @react-three/fiber @react-three/drei
41
41
 
42
42
  You can also import from the top-level package, but then you'll need to provide all optional dependencies.
43
43
 
44
- The parts use the theme of your app. Create it with `createNovaMuiTheme` of `@wandelbots/mui`:
44
+ The parts use the theme of your app. Without the Nova theme they still work, in the default colours of MUI. For the Nova look, create the theme with `createNovaMuiTheme` of `@wandelbots/mui`:
45
45
 
46
46
  ```tsx
47
47
  import { ThemeProvider } from "@mui/material/styles"
@@ -66,13 +66,15 @@ Browse the full icon set at https://wandelbotsgmbh.github.io/nova-design-system/
66
66
  **Available Entry Points:**
67
67
 
68
68
  - **`.`** (Main) — All components. Requires the peer dependencies of `/core` and `/3d`.
69
- - **`/core`** — The parts without 3D (jogging, `SafetyBar`, `AppHeader`, `LoadingCover`, `NoMotionGroupModal`), the NOVA connections and `JoggingStore`, the motion state helpers and `i18n`.
69
+ - **`/core`** — The parts without 3D (jogging, `SafetyBar`, `AppHeader`, `LoadingCover`, `NoMotionGroupModal`), the NOVA connections and `JoggingStore`, the motion state helpers and `i18n`. It also exports everything of `/session`.
70
70
  - **`/3d`** — The 3D parts (`Robot`, `MotionGroupVisualizer`, `SafetyZonesRenderer`, …). Requires in addition three, three-stdlib, @react-three/fiber and @react-three/drei.
71
+ - **`/session`** (beta) — The library without React: a robot of a NOVA cell, loaded and connected (`loadRobotSession`, `RobotSession` with its description, live state, safety, activation, jogging and Move to), `JoggingStore`, the NOVA connections and the pose math on plain numbers. It loads no React, no MUI and no three.js, and needs only `mobx`.
72
+ - **`/nats`** — A robot's live controller state over NOVA's NATS server (`natsControllerStateSource`, `natsUrlOf`): the `stateSource` of `loadRobotSession` instead of NOVA's websocket. Requires in addition nats.ws; no other entry point loads it.
71
73
  - **`/SafetyBar`** — Only `SafetyBar` (also as the default export).
72
74
  - **`/JoggingGizmo`** — Only `JoggingGizmo` (also as the default export) and `JoggingGizmoOrientation`. Requires in addition three and @react-three/fiber.
73
75
  - **`/JoggingButtons`** — Only `JoggingButtons` (also as the default export). No 3D packages needed.
74
76
  - **`/JoggingJointSlider`** — Only `JoggingJointSlider` (also as the default export). No 3D packages needed.
75
- - **`/RobotControlPanel`** — The whole Robot control panel, `RobotControlPanel` (also as the default export). It shows the jog gizmo, so it requires in addition three and @react-three/fiber, as `/JoggingGizmo` does.
77
+ - **`/CurrentPoseBar`** — Only `CurrentPoseBar` (also as the default export). No 3D packages needed.
76
78
 
77
79
  A component's own entry point brings only what that component needs, e.g. `/JoggingButtons` no three.js and no NOVA client, unlike `/core`. The entry points share their common code, so an app that imports a component from both `/core` and its own entry point gets one copy of it:
78
80
 
@@ -80,20 +82,73 @@ A component's own entry point brings only what that component needs, e.g. `/Jogg
80
82
  import JoggingJointSlider from "@wandelbots/wandelbots-js-react-components/JoggingJointSlider"
81
83
  ```
82
84
 
83
- ### Peer dependencies
85
+ ### The simple parts on their own
86
+
87
+ `JoggingGizmo`, `JoggingButtons`, `JoggingJointSlider`, `CurrentPoseBar` and `SafetyBar` take plain props and report through callbacks: no store, no provider and no i18n setup of the app. The app keeps its own connection to the robot and moves it in `onJogStart` and `onJogStop`. While a control is held the robot moves; it stops when the control is let go, when the pointer leaves it, when the window loses focus or the tab is hidden, on any key, and when the part becomes disabled or unmounts. The keyboard starts no motion.
88
+
89
+ What each one loads, besides `react` and `@mui/material` (checked by `src/test/bare.test.tsx`):
84
90
 
85
- | Package | Version |
91
+ | Entry point | Also needs |
86
92
  | --- | --- |
87
- | `react`, `react-dom` | ^19 |
88
- | `@mui/material`, `@mui/icons-material` | ^7 |
89
- | `@emotion/react`, `@emotion/styled` | ^11 |
90
- | `@wandelbots/mui` | ^2 |
91
- | `mobx` | ^6.13.6 |
92
- | `mobx-react-lite` | ^4.1.0 |
93
- | `three` (only `/3d`, `/JoggingGizmo`, `/RobotControlPanel`) | >=0.182 |
94
- | `three-stdlib` (only `/3d`) | >=2 |
95
- | `@react-three/fiber` (only `/3d`, `/JoggingGizmo`, `/RobotControlPanel`) | ^9 |
96
- | `@react-three/drei` (only `/3d`) | ^10 |
93
+ | `/JoggingGizmo` | `three`, `@react-three/fiber`, `@wandelbots/design-tokens` |
94
+ | `/JoggingButtons` | `@wandelbots/mui`, `@wandelbots/icons`, `@wandelbots/design-tokens` |
95
+ | `/JoggingJointSlider` | nothing else |
96
+ | `/CurrentPoseBar` | `@wandelbots/mui`, `@wandelbots/icons` |
97
+ | `/SafetyBar` | `mobx-react-lite`, `axios` |
98
+
99
+ All of them load i18next and react-i18next, which come with the library.
100
+
101
+ ### The robot session (beta)
102
+
103
+ `loadRobotSession` loads one robot of a cell and keeps it connected: its description, its live state, its safety, its activation, jogging and Move to, as MobX stores. It is **beta** in 7.x: the props and callbacks of the parts are the stable promise, while the classes of `/session` may still change in a minor version. An app that builds on them pins the minor version. An app that owns its robot connection does not need a session: the simple parts take plain props.
104
+
105
+ ### Without three.js or without React
106
+
107
+ - **An app without a 3D view** needs no three.js. It takes the robot from `/session` and its parts from the component entry points that draw nothing in 3D: `/CurrentPoseBar`, `/SafetyBar`, `/JoggingButtons` and `/JoggingJointSlider`.
108
+ - **`/core` needs three.js installed**, although it draws nothing in 3D: `ConnectedMotionGroup`, which it exports, gives a three.js quaternion (`mountingQuaternion`).
109
+ - **An app without React**, or with a UI of its own, uses `/session` alone (and `/nats`). Of the peer dependencies it needs only `mobx` (see [Peer dependencies](#peer-dependencies)). The parts of a session are MobX stores: such an app follows them with `autorun` or `reaction` of MobX. What it calls returns a promise that rejects when it fails (a jog that may not start rejects with a `JoggingRefusedError`), and what fails in the background goes to `onError`.
110
+
111
+ ```typescript
112
+ import { autorun } from "mobx"
113
+ import { loadRobotSession } from "@wandelbots/wandelbots-js-react-components/session"
114
+
115
+ const load = loadRobotSession("https://my-instance.wandelbots.io", "0@ur5e", {
116
+ onError: (error) => console.warn(error.kind, error.message),
117
+ })
118
+ // Rejects when the load fails; load.retry() loads again
119
+ const session = await load.ready
120
+
121
+ const stopFollowing = autorun(() => {
122
+ console.log(session.safety.canBeMoved, session.state.displayedTcpPose)
123
+ })
124
+
125
+ // Jog along X while a key of the app's own UI is held
126
+ await session.activation.activate()
127
+ await session.jogging.startCartesianJogging("translate", "x", "+")
128
+ // … and when it is let go
129
+ await session.jogging.stopJogging()
130
+
131
+ stopFollowing()
132
+ load.dispose()
133
+ ```
134
+
135
+ ### Peer dependencies
136
+
137
+ | Package | Version | Needed by |
138
+ | --- | --- | --- |
139
+ | `mobx` | ^6.13.6 | Every entry point |
140
+ | `react`, `react-dom` | ^19 | Every entry point with UI: all but `/session` and `/nats` |
141
+ | `@mui/material`, `@mui/icons-material` | ^7 | Every entry point with UI |
142
+ | `@emotion/react`, `@emotion/styled` | ^11 | Every entry point with UI |
143
+ | `@wandelbots/mui` | ^2 | Every entry point with UI (each simple part's needs are in [The simple parts on their own](#the-simple-parts-on-their-own)) |
144
+ | `mobx-react-lite` | ^4.1.0 | Every entry point with UI |
145
+ | `three` | >=0.182 | `.`, `/3d`, `/JoggingGizmo`, and `/core` (`ConnectedMotionGroup`) |
146
+ | `@react-three/fiber` | ^9 | `.`, `/3d`, `/JoggingGizmo` |
147
+ | `three-stdlib` | >=2 | `.`, `/3d` |
148
+ | `@react-three/drei` | ^10 | `.`, `/3d` |
149
+ | `nats.ws` | ^1.30.3 | `/nats` |
150
+
151
+ Only `mobx` is a required peer. The others are optional in `package.json`, so an app installs those of the entry points it imports: an app that takes only `/session` (and `/nats`) installs `mobx` (and `nats.ws`), and no React, MUI or three.js.
97
152
 
98
153
  These packages are peer dependencies because the app and the library must use the same copy: React, the MUI theme of the app, the MobX stores that the app reads with its own `observer`, and the `<Canvas>` of React Three Fiber.
99
154
 
@@ -168,6 +223,13 @@ Manual robot control interfaces.
168
223
  - Real-time velocity control
169
224
  - Multiple coordinate systems support (Robot base or Tool)
170
225
 
226
+ **Simple jogging parts** (plain props and callbacks, see [The simple parts on their own](#the-simple-parts-on-their-own))
227
+
228
+ - **JoggingGizmo** - Handles in 3D to move the TCP along or turn it about the X, Y and Z axes
229
+ - **JoggingButtons** - A minus and a plus button per axis
230
+ - **JoggingJointSlider** - A joint on its range between its limits: hold a point to move the joint toward it
231
+ - **CurrentPoseBar** - The current pose of the TCP, its TCP and coordinate system, and the orientation format
232
+
171
233
  **Individual Jogging Controls**
172
234
 
173
235
  - **JoggingCartesianAxisControl** - Single-axis cartesian movement
@@ -175,138 +237,6 @@ Manual robot control interfaces.
175
237
  - **VelocitySlider** (and **VelocitySliderLabel**) - Speed adjustment interface
176
238
  - **JoggingStore** - The state of the jogging (velocity, coordinate system, the jogging connection). `JoggingPanel` gives it to `onSetup`, and `JoggingStore.loadFor` creates one for your own controls.
177
239
 
178
- **JoggingGizmo** and **JoggingGizmoOrientation** (from `/3d` or `/JoggingGizmo`) - Jogging by the axes of the jog frame as the camera of the 3D view sees them: orbit the view and the gizmo turns with it, so the arrow pointing right on screen moves the robot right on screen. Hold a handle to jog.
179
-
180
- - The gizmo draws in its own small canvas, so it can sit in a panel next to the 3D view. `JoggingGizmoOrientation` goes inside the app's `<Canvas>` and passes the camera's view to the gizmo through a shared ref. Until it has, the gizmo stays disabled.
181
- - `JoggingGizmoOrientation` goes anywhere in the scene. It follows the camera's up: in a scene that is Y up, like that of this library's robots, it translates NOVA's axes (Z up), so NOVA's Z is the scene's Y. In a scene that is Z up like NOVA's world, whose camera has Z up, it takes NOVA's axes as they are.
182
- - `frameQuaternion` of `JoggingGizmo` is the frame the gizmo jogs along, in NOVA's coordinates: by default NOVA's world frame. The app gives it to the gizmo where it picks the frame, e.g. "Move along the axes of: Tool". Only the camera's view comes from the 3D scene. A frame that turns, such as the tool's, can be a function: the gizmo calls it every animation frame.
183
- - `motion` is `"translate"` (arrows, the default) or `"rotate"`: a circle about each axis with an arc per direction, whose arrowhead shows the way it turns (`+` counterclockwise seen from the tip of the axis). The handles are named as the jog buttons: "Jog X+", or "Jog Rx+" when rotating. A jog that runs when `motion` changes stops.
184
- - The gizmo moves nothing itself: `onJogStart(axis, direction)` and `onJogStop` leave that to the app, in the frame it jogs in. The app knows its `motion`, so it knows whether to move along the axis or turn about it.
185
- - A press jogs along the arrow drawn where it lands. Where a press could not tell two handles apart, it jogs neither: an arrow that points (almost) at or away from the viewer, or the farther of two arrowheads drawn over each other. The keyboard reaches every handle by its name.
186
- - When rotating, a press turns the way the arc drawn there points: an arc is grabbed anywhere along it, an arrowhead above everything else. Where two arcs cross, the one drawn nearer there takes the press. An axis seen (almost) edge on, whose arcs lie over each other, takes no press.
187
-
188
- ```tsx
189
- const orientation = useRef<Quaternion | null>(null)
190
-
191
- <Canvas>
192
- {/* … the 3D view with the robot */}
193
- <JoggingGizmoOrientation target={orientation} />
194
- </Canvas>
195
-
196
- <JoggingGizmo
197
- orientation={orientation}
198
- frameQuaternion={jogFrame} // optional: NOVA's world frame by default
199
- motion={motion} // "translate" or "rotate"
200
- onJogStart={(axis, direction) =>
201
- motion === "rotate"
202
- ? startRotating(axis, direction)
203
- : startJogging(axis, direction)
204
- }
205
- onJogStop={() => stopJogging()}
206
- />
207
- ```
208
-
209
- **JoggingButtons** (from `/core` or `/JoggingButtons`) - Jogging by buttons: a row per axis with a minus and a plus button, held to jog (X-, X+; or Rx-, Rx+ when `motion` is `"rotate"`). It takes the same props as `JoggingGizmo` (`JogControlsProps`: `motion`, `onJogStart`, `onJogStop`, `activeHandle`, `disabled`), so an app wires both the same way and can offer both. Unlike the gizmo, the buttons do not turn with the 3D view: X+ is X+ of the jog frame, wherever the camera looks from. They draw nothing in 3D, so they need no `<Canvas>` and no `JoggingGizmoOrientation`.
210
-
211
- ```tsx
212
- <JoggingButtons
213
- motion={motion} // "translate" or "rotate"
214
- onJogStart={(axis, direction) =>
215
- motion === "rotate"
216
- ? startRotating(axis, direction)
217
- : startJogging(axis, direction)
218
- }
219
- onJogStop={() => stopJogging()}
220
- />
221
- ```
222
-
223
- **JoggingJointSlider** (from `/core` or `/JoggingJointSlider`) - One joint as a slider across its limits, with the thumb at the joint's value and the limits below; an app shows one per joint. Hover the track to see the goal under the pointer, and press there to jog the joint toward it: it stops when it gets there or when the slider is let go. While held, the goal follows the pointer, and the joint turns around when the goal passes it. An arrow key held on the focused slider jogs toward that limit.
224
-
225
- - `value`, `min` and `max` are in NOVA's units: radians, or mm with `linear`. A revolute joint with one limit spans one turn from it, and without limits the turn it stands in. A linear axis needs both limits to be jogged with the slider; without them it only shows its value. `angleUnit` shows degrees (default) or radians.
226
- - `onJogStart(direction)` and `onJogStop` leave the jogging to the app, as for `JoggingGizmo` and `JoggingButtons`. One press can bring several starts and stops, always in turn: the joint stops at the goal, and starts again when the goal moves on. When the goal passes the joint, `onJogStop` and the `onJogStart` of the other way come in the same event: an app with asynchronous jog commands must apply them in that order, and must not tear down its jogging connection on that stop.
227
- - One joint at a time is up to the app. Keep the jogging joint in a ref, which changes at once, and ignore the others' calls: `disabled` alone changes only with the next render, too late for two fingers that move in the same frame.
228
-
229
- ```tsx
230
- const jogging = useRef<number | null>(null)
231
- const [active, setActive] = useState<number | null>(null)
232
-
233
- {jointValues.map((value, index) => (
234
- <JoggingJointSlider
235
- key={index}
236
- label={`J${index + 1}`}
237
- value={value}
238
- min={limits[index].lower_limit}
239
- max={limits[index].upper_limit}
240
- onJogStart={(direction) => {
241
- if (jogging.current !== null && jogging.current !== index) return
242
- jogging.current = index
243
- setActive(index)
244
- startJointJogging(index, direction)
245
- }}
246
- onJogStop={() => {
247
- if (jogging.current !== index) return
248
- jogging.current = null
249
- setActive(null)
250
- stopJogging()
251
- }}
252
- // Shows the others as unavailable; the ref does the excluding
253
- disabled={active !== null && active !== index}
254
- />
255
- ))}
256
- ```
257
-
258
- **RobotControlPanel** (from `/3d` or `/RobotControlPanel`) - The Robot control panel of the design, built from the parts above: the tabs Translate and Rotate, with the TCP and the frame to jog along, Continuous or Increment, the velocity, the step size, and the gizmo or the buttons with a switch between them; the tab Joint, with a `JoggingJointSlider` per joint and the joint velocity; and the tab Move to, with a typed target pose (or the current one), the frame it is relative to, and a button to hold to move there. An app that wants the whole panel imports this; an app that wants one part imports that part.
259
-
260
- - It moves nothing itself, as its parts: `onJogStart(motion, axis, direction)` and `onJogStop` for jogging while held, and `increments.onStep(motion, axis, direction, distance)` for one step per press. The app keeps the velocity and the selects in its own store; the panel keeps the tab, the mode, the step size and the view.
261
- - Velocities and step sizes are in NOVA's units: mm and mm/s to translate, rad and rad/s to rotate. The panel shows mm/s and °/s.
262
- - `tcp` and `jogFrame` show a select each, filled by the app. Without `increments`, there is no Continuous/Increment toggle. Without `gizmoOrientation` (from a `JoggingGizmoOrientation` in the app's 3D scene), it jogs with buttons only.
263
- - `onJogStop` also comes when the tab, the mode or the view changes while a control is held: the jog of that press must not go on.
264
- - `disabled` turns off every control: nothing may move. `jogDisabled` turns off only the jogging of Translate, Rotate and Joint, e.g. while a trajectory moves the robot; Move to stays usable, so a move of its own does not end when the app locks jogging during it.
265
- - The panel keeps its tab, jog mode and step size itself. An app that keeps them in its own store (to remember them, or because its jogging depends on them) gives `tab`, `jogMode` and `increments.step`, and gets `onTabChange`, `onJogModeChange` and `increments.onStepChange`; each also works alone, to follow a choice without keeping it.
266
- - `joints` gives the Joint tab: the joints' values and limits (rad, or mm with `linear`), their names, the joint velocity, and `onJogStart(index, direction)` and `onJogStop`. The panel jogs one joint at a time; the turn-around of a slider brings `onJogStop` and `onJogStart` in the same event, as described for `JoggingJointSlider`. Without `joints`, there is no Joint tab.
267
- - `moveTo` gives the Move to tab. It works as RobotPad's pose field: the coordinates `(x, y, z, rx, ry, rz)` (mm, rotation vector in rad: the format RobotPad copies and pastes) show the TCP's current pose (`getCurrentPose`, read every animation frame), with Copy and Edit pose, and Move to, off until a pose is the target. Edit pose, or a click on the field, makes it editable; Save pose edit (Enter) makes the typed pose the target (`onTargetChange(pose)`): the app plans the move and loads it, and reports `state` (`"planning"`, `"planned"`, `"moving"`, `"stopping"` or `"idle"`, as RobotPad's trajectory) and an `error` (e.g. out of reach). Then Reset shows. Held for 200 ms while `"planned"`, Move to calls `onMoveStart(pose)`, the release `onMoveStop`: the app starts and pauses its trajectory; the button says Moving… and Stopping…. At the target (within 0.5 mm and 0.01 rad) it turns off; once the move no longer runs, the field shows the current pose again (`onTargetChange(null)`), as do Reset, another tab and another TCP or frame (a held move gets its `onMoveStop` first). While another pose is typed, Move to stays off. `frame` is the "Relative to" select. It moves with `velocity.translate`. Without `moveTo`, there is no Move to tab.
268
-
269
- ```tsx
270
- const orientation = useRef<Quaternion | null>(null)
271
-
272
- <RobotControlPanel
273
- gizmoOrientation={orientation}
274
- tcp={{ options: tcps, value: tcp, onChange: setTcp }}
275
- jogFrame={{ options: frames, value: frame, onChange: setFrame }}
276
- velocity={{
277
- translate: { value: mmPerSec, min: 1, max: 250 },
278
- rotate: { value: radPerSec, min: 0.02, max: 1 },
279
- }}
280
- onVelocityChange={(motion, value) => setVelocity(motion, value)}
281
- onJogStart={(motion, axis, direction) => startJogging(motion, axis, direction)}
282
- onJogStop={() => stopJogging()}
283
- increments={{
284
- steps: { translate: [0.1, 1, 5, 10], rotate: [0.001, 0.01, 0.05] },
285
- onStep: (motion, axis, direction, distance) =>
286
- jogStep(motion, axis, direction, distance),
287
- }}
288
- joints={{
289
- joints: jointValues.map((value, index) => ({
290
- value,
291
- min: limits[index].lower_limit,
292
- max: limits[index].upper_limit,
293
- })),
294
- velocity: { value: jointRadPerSec, min: 0.02, max: 1 },
295
- onVelocityChange: setJointVelocity,
296
- onJogStart: (index, direction) => startJointJogging(index, direction),
297
- onJogStop: () => stopJogging(),
298
- }}
299
- moveTo={{
300
- getCurrentPose: () => currentTcpPose(),
301
- onTargetChange: (pose) => planAndLoad(pose), // or drop the plan (null)
302
- state: trajectoryState, // "planning" | "planned" | "moving" | "stopping" | "idle"
303
- error,
304
- onMoveStart: () => startTrajectory(),
305
- onMoveStop: () => pauseTrajectory(),
306
- }}
307
- />
308
- ```
309
-
310
240
  ### 3D Visualization & Robotics
311
241
 
312
242
  3D components for robot visualization. They render inside the `<Canvas>` of React Three Fiber.
@@ -421,7 +351,7 @@ pnpm playground:preview # serves playground/dist on http://localhost:4180
421
351
 
422
352
  Vite reads these values when it starts (see [A NOVA instance](#a-nova-instance)). `CELL_ID` in the environment selects the cell (default `cell`). The cell needs a robot: without a motion group, the playground shows `NoMotionGroupModal`.
423
353
 
424
- The pages are Jogging, Joint limits, Safety and collisions, Robot models, Layouts and Building blocks. Each page combines parts that work together. Layouts puts `RobotControlPanel` and `CurrentPoseBar` over the robot's 3D view as the Figma design does; Building blocks shows the smaller parts alone. The app menu of the `AppHeader` switches the pages, and the URL selects the page and the motion group, for example `?page=jogging&motionGroup=0@ur5e`. The dev server uses React StrictMode, so a part that leaves a connection open shows up.
354
+ The pages are Jogging, Joint limits, Safety and collisions, Robot models and Building blocks. Each page combines parts that work together. The app menu of the `AppHeader` switches the pages, and the URL selects the page and the motion group, for example `?page=jogging&motionGroup=0@ur5e`. The dev server uses React StrictMode, so a part that leaves a connection open shows up.
425
355
 
426
356
  The built playground contains the URL and the access token of the instance: never publish or upload `playground/dist`.
427
357
 
package/dist/3d.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/Robot-D0ZqUCn3.cjs"),t=require("./chunks/JoggingGizmo-DGbFLWgT.cjs"),i=require("./chunks/JoggingGizmoOrientation-dzned4f4.cjs"),r=require("./chunks/RobotControlPanel-BXtBHEe9.cjs"),e=require("./chunks/useSmoothedMotionState-Con0E5Bx.cjs");exports.CollisionSceneRenderer=o.CollisionSceneRenderer;exports.JointLimitGizmo=o.JointLimitGizmo;exports.LinearAxis=o.LinearAxis;exports.MotionGroupVisualizer=o.MotionGroupVisualizer;exports.MotionGroupVisualizerExact=o.MotionGroupVisualizerExact;exports.PresetEnvironment=o.PresetEnvironment;exports.Robot=o.Robot;exports.SafetyZonesRenderer=o.SafetyZonesRenderer;exports.SupportedLinearAxis=o.SupportedLinearAxis;exports.SupportedLinearAxisExact=o.SupportedLinearAxisExact;exports.SupportedRobot=o.SupportedRobot;exports.SupportedRobotExact=o.SupportedRobotExact;exports.TrajectoryRenderer=o.TrajectoryRenderer;exports.defaultGetModel=o.defaultGetModel;exports.JoggingGizmo=t.JoggingGizmo;exports.JoggingGizmoOrientation=i.JoggingGizmoOrientation;exports.RobotControlPanel=r.RobotControlPanel;exports.ValueInterpolator=e.ValueInterpolator;exports.useSmoothedMotionState=e.useSmoothedMotionState;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunks/Pose3-DwMOSTKO.cjs"),e=require("./chunks/JoggingGizmoOrientation-EPtBeAun.cjs"),t=require("./chunks/useSmoothedMotionState-Ce9NjwBu.cjs");exports.CollisionSceneRenderer=o.CollisionSceneRenderer;exports.JointLimitGizmo=o.JointLimitGizmo;exports.LinearAxis=o.LinearAxis;exports.MotionGroupVisualizer=o.MotionGroupVisualizer;exports.MotionGroupVisualizerExact=o.MotionGroupVisualizerExact;exports.Pose3=o.Pose3;exports.PresetEnvironment=o.PresetEnvironment;exports.Robot=o.Robot;exports.SafetyZonesRenderer=o.SafetyZonesRenderer;exports.SupportedLinearAxis=o.SupportedLinearAxis;exports.SupportedLinearAxisExact=o.SupportedLinearAxisExact;exports.SupportedRobot=o.SupportedRobot;exports.SupportedRobotExact=o.SupportedRobotExact;exports.TrajectoryRenderer=o.TrajectoryRenderer;exports.defaultGetModel=o.defaultGetModel;exports.parseRotationToQuaternion=o.parseRotationToQuaternion;exports.JoggingGizmo=e.JoggingGizmo;exports.JoggingGizmoOrientation=e.JoggingGizmoOrientation;exports.ValueInterpolator=t.ValueInterpolator;exports.useSmoothedMotionState=t.useSmoothedMotionState;
package/dist/3d.d.ts CHANGED
@@ -7,7 +7,7 @@ export { JoggingGizmo, type JoggingGizmoProps, } from "./components/jogging/gizm
7
7
  export { JoggingGizmoOrientation, type JoggingGizmoOrientationProps, } from "./components/jogging/gizmo/JoggingGizmoOrientation";
8
8
  export type { JogAxis, JogDirection, JogHandle, } from "./components/jogging/jogHandle";
9
9
  export type { JogControlsProps } from "./components/jogging/useJogControls";
10
- export { type JogMotion, RobotControlPanel, type RobotControlIncrements, type RobotControlJogMode, type RobotControlJoint, type RobotControlJoints, type RobotControlMoveState, type RobotControlMoveTo, type RobotControlOption, type RobotControlPanelProps, type RobotControlPose, type RobotControlSelect, type RobotControlTab, type RobotControlVelocity, } from "./components/robotControl/RobotControlPanel";
10
+ export type { WebGLUnavailableContext } from "./components/utils/useWebGLRenderer";
11
11
  export * from "./components/robots/LinearAxis";
12
12
  export * from "./components/robots/MotionGroupVisualizer";
13
13
  export * from "./components/robots/Robot";
@@ -16,3 +16,5 @@ export * from "./components/robots/SupportedLinearAxis";
16
16
  export * from "./components/robots/SupportedRobot";
17
17
  export { ValueInterpolator, type InterpolationOptions, } from "./components/utils/interpolation";
18
18
  export * from "./components/utils/useSmoothedMotionState";
19
+ export { Pose3 } from "./lib/Pose3";
20
+ export { parseRotationToQuaternion } from "./lib/rotation";
package/dist/3d.js CHANGED
@@ -1,26 +1,25 @@
1
- import { C as a, J as r, L as t, M as s, a as i, P as n, R as p, S as d, b as m, c as u, d as x, e as l, T as R, f as S } from "./chunks/Robot-UoykZeYH.js";
2
- import { J as c } from "./chunks/JoggingGizmo-SuS9MmL7.js";
3
- import { J as G } from "./chunks/JoggingGizmoOrientation-x_crT_64.js";
4
- import { R as b } from "./chunks/RobotControlPanel-BiLexAWI.js";
5
- import { V as L, a as M } from "./chunks/useSmoothedMotionState-COMJRcOt.js";
1
+ import { C as a, J as t, L as r, M as s, a as i, P as n, b as p, R as u, S as d, c as m, d as x, e as S, f as l, T as R, g, p as c } from "./chunks/Pose3-Ci1bxEvz.js";
2
+ import { J as G, a as z } from "./chunks/JoggingGizmoOrientation-CKZeLcMp.js";
3
+ import { V as L, a as M } from "./chunks/useSmoothedMotionState-C_Vo0py0.js";
6
4
  export {
7
5
  a as CollisionSceneRenderer,
8
- c as JoggingGizmo,
9
- G as JoggingGizmoOrientation,
10
- r as JointLimitGizmo,
11
- t as LinearAxis,
6
+ G as JoggingGizmo,
7
+ z as JoggingGizmoOrientation,
8
+ t as JointLimitGizmo,
9
+ r as LinearAxis,
12
10
  s as MotionGroupVisualizer,
13
11
  i as MotionGroupVisualizerExact,
14
- n as PresetEnvironment,
15
- p as Robot,
16
- b as RobotControlPanel,
12
+ n as Pose3,
13
+ p as PresetEnvironment,
14
+ u as Robot,
17
15
  d as SafetyZonesRenderer,
18
16
  m as SupportedLinearAxis,
19
- u as SupportedLinearAxisExact,
20
- x as SupportedRobot,
17
+ x as SupportedLinearAxisExact,
18
+ S as SupportedRobot,
21
19
  l as SupportedRobotExact,
22
20
  R as TrajectoryRenderer,
23
21
  L as ValueInterpolator,
24
- S as defaultGetModel,
22
+ g as defaultGetModel,
23
+ c as parseRotationToQuaternion,
25
24
  M as useSmoothedMotionState
26
25
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/CurrentPoseBar-CyHUWmjM.cjs");exports.CurrentPoseBar=e.CurrentPoseBar;exports.default=e.CurrentPoseBar;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/CurrentPoseBar-Cbz4AO36.cjs");exports.CurrentPoseBar=e.CurrentPoseBar;exports.default=e.CurrentPoseBar;
@@ -1,2 +1,2 @@
1
1
  export { CurrentPoseBar, CurrentPoseBar as default, type CurrentPoseBarProps, type CurrentPoseBarState, type EulerConvention, type OrientationFormat, } from "../components/currentPoseBar/CurrentPoseBar";
2
- export type { RobotControlOption, RobotControlPose, RobotControlSelect, } from "../components/robotControl/RobotControlPanel";
2
+ export type { RobotControlOption, RobotControlPose, RobotControlSelect, } from "../components/robotControl/robotControlTypes";
@@ -1,4 +1,4 @@
1
- import { C as e, C as o } from "../chunks/CurrentPoseBar-zTZi68tY.js";
1
+ import { C as e, C as o } from "../chunks/CurrentPoseBar-CpwvWpEY.js";
2
2
  export {
3
3
  e as CurrentPoseBar,
4
4
  o as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../chunks/JoggingButtons-CbL-5LMK.cjs");exports.JoggingButtons=t.JoggingButtons;exports.default=t.JoggingButtons;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../chunks/JoggingButtons-paQCBXf4.cjs");exports.JoggingButtons=t.JoggingButtons;exports.default=t.JoggingButtons;
@@ -1,4 +1,4 @@
1
- import { J as a, J as g } from "../chunks/JoggingButtons-CXaozFVz.js";
1
+ import { J as a, J as g } from "../chunks/JoggingButtons-i8FdMpCx.js";
2
2
  export {
3
3
  a as JoggingButtons,
4
4
  g as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../chunks/JoggingGizmo-DGbFLWgT.cjs"),o=require("../chunks/JoggingGizmoOrientation-dzned4f4.cjs");exports.JoggingGizmo=i.JoggingGizmo;exports.default=i.JoggingGizmo;exports.JoggingGizmoOrientation=o.JoggingGizmoOrientation;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../chunks/JoggingGizmoOrientation-EPtBeAun.cjs");exports.JoggingGizmo=i.JoggingGizmo;exports.JoggingGizmoOrientation=i.JoggingGizmoOrientation;exports.default=i.JoggingGizmo;
@@ -2,3 +2,4 @@ export { JoggingGizmo, JoggingGizmo as default, type JoggingGizmoProps, } from "
2
2
  export { JoggingGizmoOrientation, type JoggingGizmoOrientationProps, } from "../components/jogging/gizmo/JoggingGizmoOrientation";
3
3
  export type { JogAxis, JogDirection, JogHandle, } from "../components/jogging/jogHandle";
4
4
  export type { JogControlsProps } from "../components/jogging/useJogControls";
5
+ export type { WebGLUnavailableContext } from "../components/utils/useWebGLRenderer";
@@ -1,7 +1,6 @@
1
- import { J as i, J as a } from "../chunks/JoggingGizmo-SuS9MmL7.js";
2
- import { J as t } from "../chunks/JoggingGizmoOrientation-x_crT_64.js";
1
+ import { J as g, a as i, J as n } from "../chunks/JoggingGizmoOrientation-CKZeLcMp.js";
3
2
  export {
4
- i as JoggingGizmo,
5
- t as JoggingGizmoOrientation,
6
- a as default
3
+ g as JoggingGizmo,
4
+ i as JoggingGizmoOrientation,
5
+ n as default
7
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/JoggingJointSlider-R3_A9Ppj.cjs");exports.JoggingJointSlider=e.JoggingJointSlider;exports.default=e.JoggingJointSlider;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/JoggingJointSlider-YcEBMgF1.cjs");exports.JoggingJointSlider=e.JoggingJointSlider;exports.default=e.JoggingJointSlider;
@@ -1,4 +1,4 @@
1
- import { J as a, J as e } from "../chunks/JoggingJointSlider-CZ-k6XCa.js";
1
+ import { J as a, J as e } from "../chunks/JoggingJointSlider-DQhJOmcc.js";
2
2
  export {
3
3
  a as JoggingJointSlider,
4
4
  e as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/SafetyBar-Bbg-o8h9.cjs");exports.SafetyBar=e.SafetyBar;exports.default=e.SafetyBar;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../chunks/SafetyBar-Be1c6Vz9.cjs");exports.SafetyBar=e.SafetyBar;exports.default=e.SafetyBar;
@@ -1,4 +1,4 @@
1
- import { S as f, S as r } from "../chunks/SafetyBar-Cuak4ffd.js";
1
+ import { S as f, S as r } from "../chunks/SafetyBar-WXLP3Yi0.js";
2
2
  export {
3
3
  f as SafetyBar,
4
4
  r as default