@wandelbots/wandelbots-js-react-components 2.13.4 → 2.13.5
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/README.md +2 -2
- package/dist/auth0-spa-js.production.esm-1QXzndwB.js +950 -0
- package/dist/auth0-spa-js.production.esm-1QXzndwB.js.map +1 -0
- package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs +5 -0
- package/dist/auth0-spa-js.production.esm-BLRAk7Yh.cjs.map +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +1 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.d.ts +1 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.d.ts.map +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
- package/dist/components/jogging/JoggingStore.d.ts +1 -1
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts +1 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseJointValues.d.ts +1 -1
- package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
- package/dist/components/robots/Robot.d.ts +2 -2
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/RobotAnimator.d.ts +1 -1
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts +1 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyBar.d.ts +1 -1
- package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
- package/dist/index.cjs +57 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19371 -6631
- package/dist/index.js.map +1 -1
- package/package.json +8 -3
- package/src/components/3d-viewport/CoordinateSystemTransform.tsx +2 -2
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -2
- package/src/components/3d-viewport/TrajectoryRenderer.tsx +1 -1
- package/src/components/jogging/JoggingCartesianTab.tsx +1 -1
- package/src/components/jogging/JoggingJointTab.tsx +1 -1
- package/src/components/jogging/JoggingPanel.tsx +1 -1
- package/src/components/jogging/JoggingStore.ts +2 -2
- package/src/components/jogging/PoseCartesianValues.tsx +2 -2
- package/src/components/jogging/PoseJointValues.tsx +1 -1
- package/src/components/robots/DHRobot.tsx +1 -1
- package/src/components/robots/Robot.tsx +2 -2
- package/src/components/robots/RobotAnimator.tsx +1 -1
- package/src/components/robots/SupportedRobot.tsx +1 -1
- package/src/components/safetyBar/OperationModeIndicator.tsx +1 -1
- package/src/components/safetyBar/SafetyBar.tsx +1 -1
- package/src/components/safetyBar/SafetyStateIndicator.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.5",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -50,6 +50,9 @@
|
|
|
50
50
|
"@emotion/styled": "^11.14.0",
|
|
51
51
|
"@mui/icons-material": "^6.4.1",
|
|
52
52
|
"@mui/material": "^6.4.0",
|
|
53
|
+
"@react-spring/three": "^9.7.5",
|
|
54
|
+
"@react-three/drei": "^9.122.0",
|
|
55
|
+
"@react-three/fiber": "^8.18.0",
|
|
53
56
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
54
57
|
"@rollup/plugin-json": "^6.1.0",
|
|
55
58
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
@@ -59,8 +62,8 @@
|
|
|
59
62
|
"@storybook/addon-essentials": "^8.6.4",
|
|
60
63
|
"@storybook/addon-interactions": "^8.6.4",
|
|
61
64
|
"@storybook/blocks": "^8.6.4",
|
|
62
|
-
"@storybook/react": "^8.6.4",
|
|
63
65
|
"@storybook/csf-tools": "^8.6.4",
|
|
66
|
+
"@storybook/react": "^8.6.4",
|
|
64
67
|
"@storybook/react-vite": "^8.6.4",
|
|
65
68
|
"@storybook/test": "^8.6.4",
|
|
66
69
|
"@storybook/test-runner": "^0.21.3",
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"@types/react": "^18.3.12",
|
|
71
74
|
"@types/three": "^0.174.0",
|
|
72
75
|
"@vitejs/plugin-react": "^4.3.4",
|
|
73
|
-
"@wandelbots/
|
|
76
|
+
"@wandelbots/nova-js": "^2.0.1",
|
|
74
77
|
"add": "^2.0.6",
|
|
75
78
|
"glob": "^11.0.1",
|
|
76
79
|
"http-server": "^14.1.1",
|
|
@@ -94,6 +97,8 @@
|
|
|
94
97
|
"storybook": "^8.6.4",
|
|
95
98
|
"storybook-dark-mode": "^4.0.2",
|
|
96
99
|
"storybook-preset-inline-svg": "^1.0.1",
|
|
100
|
+
"three": "^0.174.0",
|
|
101
|
+
"three-stdlib": "^2.35.14",
|
|
97
102
|
"ts-dedent": "^2.2.0",
|
|
98
103
|
"typescript": "^5.8.2",
|
|
99
104
|
"unplugin": "^1.15.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CoordinateSystem } from "@wandelbots/
|
|
1
|
+
import type { CoordinateSystem } from "@wandelbots/nova-api/v1"
|
|
2
2
|
import type { ReactNode } from "react"
|
|
3
|
-
import {
|
|
3
|
+
import { Quaternion, Vector3 } from "three"
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Applies a API coordinate system transformation to
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type GroupProps } from "@react-three/fiber"
|
|
2
|
-
import type { Geometry } from "@wandelbots/
|
|
3
|
-
import type { SafetySetupSafetyZone } from "@wandelbots/
|
|
2
|
+
import type { Geometry } from "@wandelbots/nova-api/v1"
|
|
3
|
+
import type { SafetySetupSafetyZone } from "@wandelbots/nova-js/v1"
|
|
4
4
|
import * as THREE from "three"
|
|
5
5
|
import { ConvexGeometry } from "three-stdlib"
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Typography,
|
|
6
6
|
useTheme,
|
|
7
7
|
} from "@mui/material"
|
|
8
|
-
import { degreesToRadians, radiansToDegrees } from "@wandelbots/
|
|
8
|
+
import { degreesToRadians, radiansToDegrees } from "@wandelbots/nova-js"
|
|
9
9
|
import { observer } from "mobx-react-lite"
|
|
10
10
|
import { useTranslation } from "react-i18next"
|
|
11
11
|
import XAxisIcon from "../../icons/axis-x.svg"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Divider, Stack } from "@mui/material"
|
|
2
|
-
import { radiansToDegrees } from "@wandelbots/
|
|
2
|
+
import { radiansToDegrees } from "@wandelbots/nova-js"
|
|
3
3
|
import { observer } from "mobx-react-lite"
|
|
4
4
|
import type { ReactNode } from "react"
|
|
5
5
|
import { JoggingJointLimitDetector } from "./JoggingJointLimitDetector"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Stack, Tab, Tabs, type SxProps } from "@mui/material"
|
|
2
|
-
import { NovaClient } from "@wandelbots/
|
|
2
|
+
import { NovaClient } from "@wandelbots/nova-js/v1"
|
|
3
3
|
import { isString } from "lodash-es"
|
|
4
4
|
import { runInAction } from "mobx"
|
|
5
5
|
import { observer, useLocalObservable } from "mobx-react-lite"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { tryParseJson } from "@wandelbots/nova-js"
|
|
1
2
|
import type {
|
|
2
3
|
CoordinateSystem,
|
|
3
4
|
JoggerConnection,
|
|
4
5
|
MotionGroupSpecification,
|
|
5
6
|
RobotTcp,
|
|
6
|
-
} from "@wandelbots/
|
|
7
|
-
import { tryParseJson } from "@wandelbots/wandelbots-js"
|
|
7
|
+
} from "@wandelbots/nova-js/v1"
|
|
8
8
|
import { countBy } from "lodash-es"
|
|
9
9
|
import keyBy from "lodash-es/keyBy"
|
|
10
10
|
import uniqueId from "lodash-es/uniqueId"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Stack } from "@mui/material"
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import { poseToWandelscriptString } from "@wandelbots/nova-js"
|
|
3
|
+
import type { MotionStreamConnection } from "@wandelbots/nova-js/v1"
|
|
4
4
|
import { observer } from "mobx-react-lite"
|
|
5
5
|
import { useRef } from "react"
|
|
6
6
|
import { CopyableText } from "../CopyableText"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Stack } from "@mui/material"
|
|
2
|
-
import type { MotionStreamConnection } from "@wandelbots/
|
|
2
|
+
import type { MotionStreamConnection } from "@wandelbots/nova-js/v1"
|
|
3
3
|
import { observer } from "mobx-react-lite"
|
|
4
4
|
import { useRef } from "react"
|
|
5
5
|
import { CopyableText } from "../CopyableText"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Line } from "@react-three/drei"
|
|
2
|
-
import type { DHParameter } from "@wandelbots/
|
|
2
|
+
import type { DHParameter } from "@wandelbots/nova-api/v1"
|
|
3
3
|
import type * as THREE from "three"
|
|
4
4
|
import { Matrix4, Quaternion, Vector3 } from "three"
|
|
5
5
|
import type { LineGeometry } from "three/examples/jsm/lines/LineGeometry.js"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type GroupProps } from "@react-three/fiber"
|
|
2
2
|
|
|
3
|
-
import type { ConnectedMotionGroup } from "@wandelbots/
|
|
3
|
+
import type { ConnectedMotionGroup } from "@wandelbots/nova-js/v1"
|
|
4
4
|
import type { Group } from "three"
|
|
5
5
|
import { SupportedRobot } from "./SupportedRobot"
|
|
6
6
|
import { defaultGetModel } from "./robotModelLogic"
|
|
@@ -14,7 +14,7 @@ export type RobotProps = {
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* The Robot component is a wrapper around the SupportedRobot component
|
|
17
|
-
* for usage with @wandelbots/
|
|
17
|
+
* for usage with @wandelbots/nova-js ConnectedMotionGroup object.
|
|
18
18
|
*
|
|
19
19
|
* @param {RobotProps} props - The properties for the Robot component.
|
|
20
20
|
* @param {ConnectedMotionGroup} props.connectedMotionGroup - The connected motion group containing motion state and parameters.
|
|
@@ -3,7 +3,7 @@ import { useThree } from "@react-three/fiber"
|
|
|
3
3
|
import type {
|
|
4
4
|
DHParameter,
|
|
5
5
|
MotionGroupStateResponse,
|
|
6
|
-
} from "@wandelbots/
|
|
6
|
+
} from "@wandelbots/nova-api/v1"
|
|
7
7
|
import React, { useRef } from "react"
|
|
8
8
|
import type { Group, Object3D } from "three"
|
|
9
9
|
import { useAutorun } from "../utils/hooks"
|
|
@@ -2,7 +2,7 @@ import type { GroupProps } from "@react-three/fiber"
|
|
|
2
2
|
import type {
|
|
3
3
|
DHParameter,
|
|
4
4
|
MotionGroupStateResponse,
|
|
5
|
-
} from "@wandelbots/
|
|
5
|
+
} from "@wandelbots/nova-api/v1"
|
|
6
6
|
import { Suspense, useCallback, useEffect, useState } from "react"
|
|
7
7
|
import { DHRobot } from "./DHRobot"
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme, type PopoverOrigin } from "@mui/material"
|
|
2
|
-
import type { RobotControllerStateOperationModeEnum } from "@wandelbots/
|
|
2
|
+
import type { RobotControllerStateOperationModeEnum } from "@wandelbots/nova-js/v1"
|
|
3
3
|
import { observer } from "mobx-react-lite"
|
|
4
4
|
import { Trans, useTranslation } from "react-i18next"
|
|
5
5
|
import OperationModeAutomaticIcon from "./icons/operation-mode-automatic.svg"
|
|
@@ -2,7 +2,7 @@ import { Divider, Stack, type PopoverOrigin } from "@mui/material"
|
|
|
2
2
|
import type {
|
|
3
3
|
RobotControllerStateOperationModeEnum,
|
|
4
4
|
RobotControllerStateSafetyStateEnum,
|
|
5
|
-
} from "@wandelbots/
|
|
5
|
+
} from "@wandelbots/nova-js/v1"
|
|
6
6
|
import { observer } from "mobx-react-lite"
|
|
7
7
|
import { externalizeComponent } from "../../externalizeComponent"
|
|
8
8
|
import { ControllerTypeIndicator } from "./ControllerTypeIndicator"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme, type PopoverOrigin } from "@mui/material"
|
|
2
|
-
import type { RobotControllerStateSafetyStateEnum } from "@wandelbots/
|
|
2
|
+
import type { RobotControllerStateSafetyStateEnum } from "@wandelbots/nova-js/v1"
|
|
3
3
|
import { observer } from "mobx-react-lite"
|
|
4
4
|
import { Trans, useTranslation } from "react-i18next"
|
|
5
5
|
import { assertUnreachable } from "../utils/errorHandling"
|