@wandelbots/wandelbots-js-react-components 1.14.0 → 1.15.1
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/dist/components/TransparentOverlay.d.ts +4 -0
- package/dist/components/TransparentOverlay.d.ts.map +1 -0
- package/dist/components/jogging/JoggingCartesianTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointTab.d.ts.map +1 -1
- package/dist/components/jogging/JoggingPanel.d.ts +2 -0
- package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
- package/dist/components/jogging/JoggingStore.d.ts +16 -0
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/index.cjs +27 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2085 -2018
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/TransparentOverlay.tsx +24 -0
- package/src/components/jogging/JoggingCartesianTab.tsx +1 -29
- package/src/components/jogging/JoggingJointTab.tsx +1 -20
- package/src/components/jogging/JoggingJointValues.tsx +1 -1
- package/src/components/jogging/JoggingPanel.tsx +128 -83
- package/src/components/jogging/JoggingStore.tsx +83 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransparentOverlay.d.ts","sourceRoot":"","sources":["../../src/components/TransparentOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,kBAAkB,UACtB,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,4CAmB1C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoggingCartesianTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianTab.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAA2B,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"JoggingCartesianTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingCartesianTab.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAA2B,MAAM,gBAAgB,CAAA;AAa3E,eAAO,MAAM,mBAAmB,eAClB;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAqOpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoggingJointTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointTab.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAMlD,eAAO,MAAM,eAAe,eACd;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;
|
|
1
|
+
{"version":3,"file":"JoggingJointTab.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingJointTab.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAMlD,eAAO,MAAM,eAAe,eACd;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE;;CAiFpC,CAAA"}
|
|
@@ -9,6 +9,8 @@ export type JoggingPanelProps = {
|
|
|
9
9
|
onSetup?: (store: JoggingStore) => void;
|
|
10
10
|
/** Any children will go at the bottom of the panel under the default contents */
|
|
11
11
|
children?: React.ReactNode;
|
|
12
|
+
/** Set this to true to disable jogging UI temporarily e.g. when a program is executing */
|
|
13
|
+
locked?: boolean;
|
|
12
14
|
};
|
|
13
15
|
/**
|
|
14
16
|
* A high-level, opinionated UI panel for jogging a robot using the Wandelbots Platform API
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoggingPanel.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"JoggingPanel.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAI7C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAKtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gFAAgF;IAChF,IAAI,EAAE,UAAU,GAAG,MAAM,CAAA;IACzB,iDAAiD;IACjD,aAAa,EAAE,MAAM,CAAA;IACrB,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IACvC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,WACN,iBAAiB;;CA6EnC,CAAA"}
|
|
@@ -21,6 +21,14 @@ export declare class JoggingStore {
|
|
|
21
21
|
readonly coordSystems: CoordinateSystem[];
|
|
22
22
|
readonly tcps: RobotTcp[];
|
|
23
23
|
selectedTabId: "cartesian" | "joint" | "debug";
|
|
24
|
+
/**
|
|
25
|
+
* State of the jogging panel. Starts as "inactive"
|
|
26
|
+
*/
|
|
27
|
+
activationState: "inactive" | "loading" | "active";
|
|
28
|
+
/**
|
|
29
|
+
* If an error occurred connecting to the jogging websocket
|
|
30
|
+
*/
|
|
31
|
+
activationError: unknown | null;
|
|
24
32
|
/** Locks to prevent UI interactions during certain operations */
|
|
25
33
|
locks: Set<string>;
|
|
26
34
|
/**
|
|
@@ -68,6 +76,9 @@ export declare class JoggingStore {
|
|
|
68
76
|
static loadFor(jogger: JoggerConnection): Promise<JoggingStore>;
|
|
69
77
|
constructor(jogger: JoggerConnection, motionGroupSpec: MotionGroupSpecification, coordSystems: CoordinateSystem[], tcps: RobotTcp[]);
|
|
70
78
|
dispose(): void;
|
|
79
|
+
deactivate(): Promise<void>;
|
|
80
|
+
/** Activate the jogger with current settings */
|
|
81
|
+
activate(): Promise<void>;
|
|
71
82
|
loadFromLocalStorage(): void;
|
|
72
83
|
saveToLocalStorage(): void;
|
|
73
84
|
get isLocked(): boolean;
|
|
@@ -122,6 +133,11 @@ export declare class JoggingStore {
|
|
|
122
133
|
get tabIndex(): number;
|
|
123
134
|
get coordSystemsById(): import("lodash").Dictionary<CoordinateSystem>;
|
|
124
135
|
get selectedCoordSystem(): CoordinateSystem;
|
|
136
|
+
/**
|
|
137
|
+
* The id of the coordinate system to use for jogging.
|
|
138
|
+
* If in tool orientation, this is set to "tool", not the
|
|
139
|
+
* selected coordinate system.
|
|
140
|
+
*/
|
|
125
141
|
get activeCoordSystemId(): string;
|
|
126
142
|
get tcpsById(): import("lodash").Dictionary<RobotTcp>;
|
|
127
143
|
get activeDiscreteIncrement(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoggingStore.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingStore.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"JoggingStore.d.ts","sourceRoot":"","sources":["../../../src/components/jogging/JoggingStore.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,QAAQ,EACT,MAAM,2BAA2B,CAAA;AAGlC,QAAA,MAAM,wBAAwB;;;;GAK7B,CAAA;AAED,QAAA,MAAM,gBAAgB;;;;;;IAGZ,CAAA;AAEV,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAA;AAC/E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAC/D,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,IAAI,CAAC,CAAA;AAErD,qBAAa,YAAY;IAiGrB,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