@wandelbots/wandelbots-js-react-components 6.3.0 → 6.4.0-pr.chore-playground-tool-steps.664.4537d63
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 +323 -120
- package/dist/3d.cjs +1 -1
- package/dist/3d.d.ts +5 -3
- package/dist/3d.js +24 -23
- package/dist/CurrentPoseBar/index.cjs +1 -0
- package/dist/CurrentPoseBar/index.d.ts +2 -0
- package/dist/CurrentPoseBar/index.js +5 -0
- package/dist/JoggingButtons/index.cjs +1 -0
- package/dist/JoggingButtons/index.d.ts +3 -0
- package/dist/JoggingButtons/index.js +5 -0
- package/dist/JoggingGizmo/index.cjs +1 -0
- package/dist/JoggingGizmo/index.d.ts +4 -0
- package/dist/JoggingGizmo/index.js +7 -0
- package/dist/JoggingJointSlider/index.cjs +1 -0
- package/dist/JoggingJointSlider/index.d.ts +2 -0
- package/dist/JoggingJointSlider/index.js +5 -0
- package/dist/RobotControlPanel/index.cjs +1 -0
- package/dist/RobotControlPanel/index.d.ts +2 -0
- package/dist/RobotControlPanel/index.js +5 -0
- package/dist/RobotHeader/index.cjs +1 -0
- package/dist/RobotHeader/index.d.ts +4 -0
- package/dist/RobotHeader/index.js +5 -0
- package/dist/SafetyBar/index.cjs +1 -1
- package/dist/SafetyBar/index.js +1 -1
- package/dist/chunks/CurrentPoseBar-CyHUWmjM.cjs +1 -0
- package/dist/chunks/CurrentPoseBar-zTZi68tY.js +505 -0
- package/dist/chunks/JoggingButtons-CXaozFVz.js +108 -0
- package/dist/chunks/JoggingButtons-CbL-5LMK.cjs +1 -0
- package/dist/chunks/JoggingGizmo-DGbFLWgT.cjs +1 -0
- package/dist/chunks/JoggingGizmo-SuS9MmL7.js +810 -0
- package/dist/chunks/JoggingGizmoOrientation-dzned4f4.cjs +1 -0
- package/dist/chunks/JoggingGizmoOrientation-x_crT_64.js +14 -0
- package/dist/chunks/JoggingJointSlider-CZ-k6XCa.js +406 -0
- package/dist/chunks/JoggingJointSlider-R3_A9Ppj.cjs +1 -0
- package/dist/chunks/Robot-D0ZqUCn3.cjs +1 -0
- package/dist/chunks/Robot-UoykZeYH.js +1272 -0
- package/dist/chunks/RobotControlPanel-BnMfmO41.js +822 -0
- package/dist/chunks/RobotControlPanel-BuDGcxPR.cjs +1 -0
- package/dist/chunks/RobotHeader-BZci9ahT.js +244 -0
- package/dist/chunks/RobotHeader-CqK0700U.cjs +1 -0
- package/dist/chunks/SafetyBar-Bbg-o8h9.cjs +1 -0
- package/dist/chunks/{SafetyBar-Cy9DiXp9.js → SafetyBar-Cuak4ffd.js} +11 -10
- package/dist/chunks/SmallSelect-BdD9uLKK.js +52 -0
- package/dist/chunks/SmallSelect-Dcsd7_6_.cjs +1 -0
- package/dist/chunks/TrajectoryExecutionStore-DPqfDcfn.js +3398 -0
- package/dist/chunks/TrajectoryExecutionStore-DV6mLEx9.cjs +3 -0
- package/dist/chunks/converters-C8I_A_tA.cjs +1 -0
- package/dist/chunks/converters-DpNB_WNQ.js +39 -0
- package/dist/chunks/externalizeComponent-BdxGBLIv.cjs +2 -0
- package/dist/chunks/externalizeComponent-_w2d1_pz.js +283 -0
- package/dist/chunks/holdSafety-BtoZ5We3.cjs +1 -0
- package/dist/chunks/holdSafety-Di1GZAWg.js +37 -0
- package/dist/chunks/joggingColors-CuT5u0H8.js +135 -0
- package/dist/chunks/joggingColors-ZDc_2UCp.cjs +1 -0
- package/dist/chunks/useEveryFrame-G_-ma1nC.js +142 -0
- package/dist/chunks/useEveryFrame-dmPPTKtT.cjs +1 -0
- package/dist/chunks/useSmoothedMotionState-COMJRcOt.js +214 -0
- package/dist/chunks/useSmoothedMotionState-Con0E5Bx.cjs +1 -0
- package/dist/components/AppHeader.d.ts +1 -1
- package/dist/components/currentPoseBar/CurrentPoseBar.d.ts +48 -0
- package/dist/components/currentPoseBar/OrientationFormatPopover.d.ts +19 -0
- package/dist/components/currentPoseBar/StreamStatus.d.ts +10 -0
- package/dist/components/currentPoseBar/orientation.d.ts +34 -0
- package/dist/components/currentPoseBar/poseValues.d.ts +15 -0
- package/dist/components/jogging/JoggingButtons.d.ts +16 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +1 -1
- package/dist/components/jogging/JoggingJointTab.d.ts +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +6 -3
- package/dist/components/jogging/JoggingStore.d.ts +96 -19
- package/dist/components/jogging/gizmo/JoggingGizmo.d.ts +43 -0
- package/dist/components/jogging/gizmo/JoggingGizmoOrientation.d.ts +26 -0
- package/dist/components/jogging/gizmo/RotationHandles.d.ts +7 -0
- package/dist/components/jogging/gizmo/RotationScene.d.ts +6 -0
- package/dist/components/jogging/gizmo/TranslationHandles.d.ts +6 -0
- package/dist/components/jogging/gizmo/TranslationScene.d.ts +6 -0
- package/dist/components/jogging/gizmo/arcGrabAreas.d.ts +58 -0
- package/dist/components/jogging/gizmo/arcs.d.ts +54 -0
- package/dist/components/jogging/gizmo/arrows.d.ts +63 -0
- package/dist/components/jogging/gizmo/gizmoShared.d.ts +125 -0
- package/dist/components/jogging/gizmo/gizmoView.d.ts +42 -0
- package/dist/components/jogging/gizmo/useGizmoTurn.d.ts +11 -0
- package/dist/components/jogging/holdSafety.d.ts +44 -0
- package/dist/components/jogging/jogError.d.ts +9 -0
- package/dist/components/jogging/jogHandle.d.ts +23 -0
- package/dist/components/jogging/joggingColors.d.ts +24 -0
- package/dist/components/jogging/joggingVelocity.d.ts +21 -0
- package/dist/components/jogging/joint/JoggingJointSlider.d.ts +52 -0
- package/dist/components/jogging/joint/JointSliderTrack.d.ts +27 -0
- package/dist/components/jogging/joint/jointJog.d.ts +55 -0
- package/dist/components/jogging/joint/useJointJogHold.d.ts +48 -0
- package/dist/components/jogging/useHold.d.ts +38 -0
- package/dist/components/jogging/useJogControls.d.ts +45 -0
- package/dist/components/robotControl/CartesianJogTab.d.ts +21 -0
- package/dist/components/robotControl/HoldToMoveButton.d.ts +25 -0
- package/dist/components/robotControl/JogArea.d.ts +22 -0
- package/dist/components/robotControl/JogModeToggle.d.ts +8 -0
- package/dist/components/robotControl/JointJogTab.d.ts +11 -0
- package/dist/components/robotControl/MoveToTab.d.ts +18 -0
- package/dist/components/robotControl/PanelSelect.d.ts +13 -0
- package/dist/components/robotControl/PoseField.d.ts +21 -0
- package/dist/components/robotControl/RobotControlPanel.d.ts +212 -0
- package/dist/components/robotControl/Section.d.ts +5 -0
- package/dist/components/robotControl/SmallSelect.d.ts +15 -0
- package/dist/components/robotControl/VelocityRow.d.ts +14 -0
- package/dist/components/robotControl/atPose.d.ts +8 -0
- package/dist/components/robotControl/poseText.d.ts +15 -0
- package/dist/components/robotControl/units.d.ts +16 -0
- package/dist/components/robotControl/useCopyText.d.ts +12 -0
- package/dist/components/robotControl/useEveryFrame.d.ts +6 -0
- package/dist/components/robotHeader/ActivationSwitch.d.ts +7 -0
- package/dist/components/robotHeader/AppNavigation.d.ts +15 -0
- package/dist/components/robotHeader/RobotHeader.d.ts +42 -0
- package/dist/components/robots/GenericRobot.d.ts +2 -1
- package/dist/components/robots/LinearAxis.d.ts +1 -1
- package/dist/components/robots/LinearAxisAnimator.d.ts +11 -2
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/robotModelLogic.d.ts +11 -9
- package/dist/components/utils/hooks.d.ts +1 -6
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +13 -18
- package/dist/core.js +37 -51
- package/dist/index.cjs +1 -1
- package/dist/index.js +58 -71
- package/dist/lib/ConnectedMotionGroup.d.ts +5 -7
- package/dist/lib/JoggerConnection.d.ts +137 -27
- package/dist/lib/MotionStreamConnection.d.ts +15 -6
- package/dist/lib/Pose3.d.ts +22 -0
- package/dist/lib/PoseTransformer.d.ts +25 -0
- package/dist/lib/TrajectoryExecutionStore.d.ts +129 -0
- package/dist/lib/connectionLogger.d.ts +9 -0
- package/dist/lib/incrementalCartesianMotion.d.ts +40 -0
- package/dist/lib/motionStateUpdate.d.ts +27 -0
- package/dist/lib/novaConnection.d.ts +23 -0
- package/dist/lib/planErrorTranslation.d.ts +8 -0
- package/dist/lib/rotation.d.ts +12 -0
- package/package.json +31 -66
- package/dist/Setup.d.ts +0 -11
- package/dist/chunks/MotionGroupVisualizer-DshWR1wY.js +0 -1653
- package/dist/chunks/MotionGroupVisualizer-eD7yFEcF.cjs +0 -1
- package/dist/chunks/SafetyBar-DPrv_OQA.cjs +0 -1
- package/dist/chunks/externalizeComponent-EDymnaGR.js +0 -268
- package/dist/chunks/externalizeComponent-OO4jcrz5.cjs +0 -2
- package/dist/chunks/theming-DfSy4-Ic.cjs +0 -4
- package/dist/chunks/theming-mF9Rt8SS.js +0 -5542
- package/dist/chunks/useSmoothedMotionState-DyDgSVYX.js +0 -478
- package/dist/chunks/useSmoothedMotionState-VYxEIyfr.cjs +0 -1
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +0 -11
- package/dist/components/AdornedTextField.d.ts +0 -7
- package/dist/components/CopyableText.d.ts +0 -6
- package/dist/components/CycleTimer/CycleTimer.d.ts +0 -3
- package/dist/components/CycleTimer/DefaultVariant.d.ts +0 -9
- package/dist/components/CycleTimer/SmallVariant.d.ts +0 -10
- package/dist/components/CycleTimer/index.d.ts +0 -27
- package/dist/components/CycleTimer/types.d.ts +0 -49
- package/dist/components/CycleTimer/useAnimations.d.ts +0 -14
- package/dist/components/CycleTimer/useTimerLogic.d.ts +0 -24
- package/dist/components/CycleTimer/utils.d.ts +0 -21
- package/dist/components/CycleTimer.d.ts +0 -3
- package/dist/components/DataGrid.d.ts +0 -66
- package/dist/components/LogPanel.d.ts +0 -38
- package/dist/components/LogStore.d.ts +0 -12
- package/dist/components/LogViewer.d.ts +0 -46
- package/dist/components/ProgramControl.d.ts +0 -55
- package/dist/components/ProgramStateIndicator.d.ts +0 -26
- package/dist/components/RobotCard.d.ts +0 -98
- package/dist/components/RobotListItem.d.ts +0 -34
- package/dist/components/RobotSetupReadinessIndicator.d.ts +0 -37
- package/dist/components/SelectableFab.d.ts +0 -7
- package/dist/components/TabBar.d.ts +0 -45
- package/dist/components/ThemeSelect.d.ts +0 -6
- package/dist/components/Timer/Timer.d.ts +0 -3
- package/dist/components/Timer/TimerDefaultVariant.d.ts +0 -9
- package/dist/components/Timer/TimerSmallVariant.d.ts +0 -10
- package/dist/components/Timer/index.d.ts +0 -19
- package/dist/components/Timer/types.d.ts +0 -35
- package/dist/components/Timer/useTimerAnimations.d.ts +0 -10
- package/dist/components/Timer/useTimerLogic.d.ts +0 -19
- package/dist/components/Timer/utils.d.ts +0 -17
- package/dist/components/Timer.d.ts +0 -3
- package/dist/components/TransparentOverlay.d.ts +0 -4
- package/dist/components/jogging/JoggingFreedriveTab.d.ts +0 -1
- package/dist/components/jogging/PoseCartesianValues.d.ts +0 -9
- package/dist/components/jogging/PoseJointValues.d.ts +0 -8
- package/dist/components/robots/AxisConfig.d.ts +0 -2
- package/dist/components/robots/manufacturerHomePositions.d.ts +0 -20
- package/dist/icons/DropdownArrowIcon.d.ts +0 -2
- package/dist/icons/index.d.ts +0 -12
- package/dist/lib/novaCompat.d.ts +0 -16
- package/dist/themes/createDarkTheme.d.ts +0 -7
- package/dist/themes/themeTypes.d.ts +0 -40
- package/dist/themes/theming.d.ts +0 -24
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Pose } from "@wandelbots/nova-js/v2";
|
|
2
|
-
export type PoseCartesianValuesProps = {
|
|
3
|
-
tcpPose: Pose;
|
|
4
|
-
showCopyButton?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const PoseCartesianValues: (({ tcpPose, showCopyButton }: PoseCartesianValuesProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
export default PoseCartesianValues;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type PoseJointValuesProps = {
|
|
2
|
-
joints: Array<number>;
|
|
3
|
-
showCopyButton?: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare const PoseJointValues: (({ joints, showCopyButton }: PoseJointValuesProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
export default PoseJointValues;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Manufacturer } from "@wandelbots/nova-js/v2";
|
|
2
|
-
/**
|
|
3
|
-
* Default home configs for different robot manufacturers.
|
|
4
|
-
* These joint configurations represent safe home configs for each manufacturer's robots.
|
|
5
|
-
* All angles are in radians.
|
|
6
|
-
*/
|
|
7
|
-
export declare const MANUFACTURER_HOME_CONFIGS: Record<Manufacturer, number[]>;
|
|
8
|
-
/**
|
|
9
|
-
* Extracts manufacturer from modelFromController string.
|
|
10
|
-
* @param modelFromController - String in format "Manufacturer_ModelName"
|
|
11
|
-
* @returns Manufacturer enum value or null if not recognized
|
|
12
|
-
*/
|
|
13
|
-
export declare function extractManufacturer(modelFromController: string): Manufacturer | null;
|
|
14
|
-
/**
|
|
15
|
-
* Gets the default home config for a robot based on its model identifier.
|
|
16
|
-
* @param modelFromController - String in format "Manufacturer_ModelName"
|
|
17
|
-
* @param defaultJointConfig - Optional custom default configuration to use if manufacturer not found
|
|
18
|
-
* @returns Array of joint positions in radians, or null if no configuration available
|
|
19
|
-
*/
|
|
20
|
-
export declare function getDefaultHomeConfig(modelFromController: string, defaultJointConfig?: number[]): number[] | null;
|
package/dist/icons/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { default as AxisXIcon } from "./axis-x.svg";
|
|
2
|
-
export { default as AxisYIcon } from "./axis-y.svg";
|
|
3
|
-
export { default as AxisZIcon } from "./axis-z.svg";
|
|
4
|
-
export { default as HomeIcon } from "./home.svg";
|
|
5
|
-
export { default as JogMinusIcon } from "./jog-minus.svg";
|
|
6
|
-
export { default as JogPlusIcon } from "./jog-plus.svg";
|
|
7
|
-
export { default as JoggingIcon } from "./jogging.svg";
|
|
8
|
-
export { default as OrientationCoordSystemIcon } from "./orientation-coord-system.svg";
|
|
9
|
-
export { default as OrientationToolIcon } from "./orientation-tool.svg";
|
|
10
|
-
export { default as RobotIcon } from "./robot.svg";
|
|
11
|
-
export { default as RotationIcon } from "./rotation.svg";
|
|
12
|
-
export { default as WBLogoIcon } from "./wbLogo.svg";
|
package/dist/lib/novaCompat.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Nova, NovaClient } from "@wandelbots/nova-js/v2";
|
|
2
|
-
/**
|
|
3
|
-
* A Nova-like client. We accept either the current instance-level `Nova`
|
|
4
|
-
* client or, for backwards compatibility, the deprecated cell-scoped
|
|
5
|
-
* `NovaClient`.
|
|
6
|
-
*/
|
|
7
|
-
export type AnyNovaClient = Nova | NovaClient;
|
|
8
|
-
/**
|
|
9
|
-
* For backwards compatibility we still accept the deprecated cell-scoped
|
|
10
|
-
* `NovaClient`. This normalizes it to present the same interface as the
|
|
11
|
-
* current instance-level `Nova` client, so the rest of the code can be
|
|
12
|
-
* written against the newer API.
|
|
13
|
-
*
|
|
14
|
-
* Instance-level `Nova` clients are returned unchanged.
|
|
15
|
-
*/
|
|
16
|
-
export declare function asNovaInstance(nova: AnyNovaClient): Nova;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Internal alias retained for backward compatibility. Use
|
|
3
|
-
* {@link createNovaTheme} from `./theming` instead — it accepts variadic
|
|
4
|
-
* `ThemeOptions` overrides matching the upstream `@wandelbots/mui`
|
|
5
|
-
* signature.
|
|
6
|
-
*/
|
|
7
|
-
export { createNovaTheme as createDarkTheme } from "./theming";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import "@wandelbots/mui";
|
|
2
|
-
export interface AxisControlComponentColors {
|
|
3
|
-
color?: string;
|
|
4
|
-
borderColor?: string;
|
|
5
|
-
backgroundColor?: string;
|
|
6
|
-
buttonBackgroundColor?: {
|
|
7
|
-
default?: string;
|
|
8
|
-
pressed?: string;
|
|
9
|
-
disabled?: string;
|
|
10
|
-
hovered?: string;
|
|
11
|
-
};
|
|
12
|
-
labelColor?: string;
|
|
13
|
-
}
|
|
14
|
-
declare module "@mui/material/styles" {
|
|
15
|
-
interface Theme {
|
|
16
|
-
componentsExt?: {
|
|
17
|
-
JoggingPanel?: {
|
|
18
|
-
JoggingCartesian?: {
|
|
19
|
-
Axis?: {
|
|
20
|
-
X?: AxisControlComponentColors;
|
|
21
|
-
Y?: AxisControlComponentColors;
|
|
22
|
-
Z?: AxisControlComponentColors;
|
|
23
|
-
CustomRotation?: AxisControlComponentColors;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
JoggingJoint?: {
|
|
27
|
-
Joint?: {
|
|
28
|
-
arrowColor?: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
VelocitySlider?: {
|
|
32
|
-
sliderLegendColor?: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
interface ThemeOptions {
|
|
38
|
-
componentsExt?: Theme["componentsExt"];
|
|
39
|
-
}
|
|
40
|
-
}
|
package/dist/themes/theming.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Theme, ThemeOptions } from "@mui/material/styles";
|
|
2
|
-
import "@mui/x-data-grid/themeAugmentation";
|
|
3
|
-
/**
|
|
4
|
-
* Create the default Wandelbots Nova Material UI theme for use with
|
|
5
|
-
* `@wandelbots/wandelbots-js-react-components`. Layers DataGrid +
|
|
6
|
-
* JoggingPanel-defaults on top of the canonical Nova theme from
|
|
7
|
-
* `@wandelbots/mui`.
|
|
8
|
-
*
|
|
9
|
-
* Pass any number of `ThemeOptions` objects to override defaults. Each is
|
|
10
|
-
* deep-merged in order via MUI's `createTheme`.
|
|
11
|
-
*
|
|
12
|
-
* Light mode is not currently supported. Passing `palette: { mode: "light" }`
|
|
13
|
-
* is silently ignored (with a console warning) to preserve backward
|
|
14
|
-
* compatibility. `palette: { mode: "dark" }` is passed through unchanged.
|
|
15
|
-
* Once Figma synchronises a real light palette, light mode support will be
|
|
16
|
-
* re-introduced.
|
|
17
|
-
*/
|
|
18
|
-
export declare function createNovaTheme(...overrides: ThemeOptions[]): Theme;
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Use {@link createNovaTheme} instead. This name shadows the
|
|
21
|
-
* upstream `createNovaMuiTheme` from `@wandelbots/mui` (which has a
|
|
22
|
-
* different, variadic signature) and is therefore confusing.
|
|
23
|
-
*/
|
|
24
|
-
export declare function createNovaMuiTheme(opts?: ThemeOptions): Theme;
|