@classcad/react-cad 3.0.0-beta.20261119090857 → 3.0.0-beta.20261120101705
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/CHANGELOG.md +5 -3
- package/README.md +2 -2
- package/build/components/UI/CAD/Drawing.d.ts +3 -3
- package/build/components/UI/CAD/Messages/Messages.d.ts +1 -1
- package/build/components/UI/CAD/ViewOptionsBar/ViewOptionButtons.d.ts +1 -1
- package/build/components/UI/CAD/ViewOptionsBar/useOptionCommands.d.ts +2 -2
- package/build/components/UI/CAD/common/ContextMenu.d.ts +2 -2
- package/build/components/UI/CAD/plugins/ProductManagement/index.d.ts +1 -1
- package/build/components/UI/CAD/plugins/SessionManagement/index.d.ts +1 -1
- package/build/components/UI/CAD/store/CADStore.d.ts +1 -1
- package/build/elements/index.d.ts +1 -1
- package/build/index.cjs.js +59 -59
- package/build/index.js +59 -59
- package/build/plugins/AppearanceEditor/index.d.ts +1 -1
- package/build/plugins/Boolean/index.d.ts +1 -1
- package/build/plugins/BoundingBoxInfo/index.d.ts +1 -1
- package/build/plugins/Box/index.d.ts +1 -1
- package/build/plugins/Chamfer/index.d.ts +1 -1
- package/build/plugins/CircularPattern/index.d.ts +1 -1
- package/build/plugins/CompositeCurve/index.d.ts +1 -1
- package/build/plugins/Cone/index.d.ts +1 -1
- package/build/plugins/Cylinder/index.d.ts +1 -1
- package/build/plugins/Dimensions/index.d.ts +1 -1
- package/build/plugins/EntityDeletion/index.d.ts +1 -1
- package/build/plugins/Expressions/index.d.ts +1 -1
- package/build/plugins/Extrusion/index.d.ts +1 -1
- package/build/plugins/Fillet/index.d.ts +1 -1
- package/build/plugins/HLConstraints/CircularPattern/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Cylindrical/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Fastened/index.d.ts +1 -1
- package/build/plugins/HLConstraints/FastenedOrigin/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Gear/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Group/index.d.ts +1 -1
- package/build/plugins/HLConstraints/LinearPattern/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Parallel/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Planar/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Revolute/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Slider/index.d.ts +1 -1
- package/build/plugins/HLConstraints/Spherical/index.d.ts +1 -1
- package/build/plugins/Import/index.d.ts +1 -1
- package/build/plugins/LinearPattern/index.d.ts +1 -1
- package/build/plugins/Measure/index.d.ts +1 -1
- package/build/plugins/Mirror/index.d.ts +1 -1
- package/build/plugins/Revolve/index.d.ts +1 -1
- package/build/plugins/Rotate/index.d.ts +1 -1
- package/build/plugins/Sketch/description.d.ts +1 -1
- package/build/plugins/Slice/index.d.ts +1 -1
- package/build/plugins/SliceBySheet/index.d.ts +1 -1
- package/build/plugins/Sphere/index.d.ts +1 -1
- package/build/plugins/TransformByCsys/index.d.ts +1 -1
- package/build/plugins/Translate/index.d.ts +1 -1
- package/build/plugins/Twist/index.d.ts +1 -1
- package/build/plugins/WorkAxis/index.d.ts +1 -1
- package/build/plugins/WorkCSys/index.d.ts +1 -1
- package/build/plugins/WorkCoordSystem/index.d.ts +1 -1
- package/build/plugins/WorkPlane/index.d.ts +1 -1
- package/build/plugins/WorkPoint/index.d.ts +1 -1
- package/build/session/sessionClient.d.ts +1 -1
- package/build/theme/stage.d.ts +1 -1
- package/doc/api/advanced/session.md +1 -1
- package/doc/api/graphics.md +1 -1
- package/doc/api/hooks.md +1 -1
- package/doc/api/icons.md +1 -1
- package/doc/api/index.md +2 -2
- package/doc/api/panels.md +8 -8
- package/doc/api/theme.md +2 -2
- package/doc/api/tool-plugins.md +1 -1
- package/doc/api/ui-elements.md +2 -2
- package/doc/api/work-geometry.md +1 -1
- package/package.json +6 -5
- package/tsconfig.build.json +2 -2
- package/vitest.config.mts +3 -3
package/build/index.js
CHANGED
|
@@ -2604,7 +2604,7 @@ function Dropdown(_ref16) {
|
|
|
2604
2604
|
}
|
|
2605
2605
|
|
|
2606
2606
|
/**
|
|
2607
|
-
* The form controls the feature dialogs are made of, in the app's look: react-cad's set of
|
|
2607
|
+
* The form controls the feature dialogs are made of, in the app's look: react-cad's set of the SDK's `elements`.
|
|
2608
2608
|
*
|
|
2609
2609
|
* They take the place of the ones `@classcad/react` ships, prop for prop: plugins take their controls from `init`'s
|
|
2610
2610
|
* `elements` option, so an app passes these there. {@link Drawing} does so by itself where the app left the stock
|
|
@@ -3946,7 +3946,7 @@ const createAppState = (set, get) => ({
|
|
|
3946
3946
|
});
|
|
3947
3947
|
|
|
3948
3948
|
/**
|
|
3949
|
-
* react-cad's own store (zustand, vanilla), beside
|
|
3949
|
+
* react-cad's own store (zustand, vanilla), beside the SDK's: what its components share that is not the drawing's.
|
|
3950
3950
|
*
|
|
3951
3951
|
* @internal
|
|
3952
3952
|
*/
|
|
@@ -4480,7 +4480,7 @@ const useStage = () => stageColors(useThemeStore(s => s.mode));
|
|
|
4480
4480
|
* import { init, WASMClient } from '@classcad/client'
|
|
4481
4481
|
* import { elements, getStage } from '@classcad/react-cad'
|
|
4482
4482
|
*
|
|
4483
|
-
* //
|
|
4483
|
+
* // the SDK's highlight colours from the stage's, as Buerligons sets them
|
|
4484
4484
|
* const stage = getStage()
|
|
4485
4485
|
* init((drawingId) => new WASMClient(drawingId, { token: 'ccpk_…' }), {
|
|
4486
4486
|
* elements,
|
|
@@ -5507,7 +5507,7 @@ const Root$J = ({
|
|
|
5507
5507
|
*/
|
|
5508
5508
|
|
|
5509
5509
|
/**
|
|
5510
|
-
* The plugin's description for
|
|
5510
|
+
* The plugin's description for the SDK's plugin system. Its state holds whether the dimensions are shown.
|
|
5511
5511
|
*
|
|
5512
5512
|
* @internal
|
|
5513
5513
|
*/
|
|
@@ -8998,7 +8998,7 @@ const Root$I = ({
|
|
|
8998
8998
|
*/
|
|
8999
8999
|
|
|
9000
9000
|
/**
|
|
9001
|
-
* The plugin's description for
|
|
9001
|
+
* The plugin's description for the SDK's plugin system. Its state holds the type of the operation.
|
|
9002
9002
|
*
|
|
9003
9003
|
* @internal
|
|
9004
9004
|
*/
|
|
@@ -9979,7 +9979,7 @@ const View$m = ({
|
|
|
9979
9979
|
*/
|
|
9980
9980
|
|
|
9981
9981
|
/**
|
|
9982
|
-
* The plugin's description for
|
|
9982
|
+
* The plugin's description for the SDK's plugin system. Its state holds the profile's coordinate system.
|
|
9983
9983
|
*
|
|
9984
9984
|
* @internal
|
|
9985
9985
|
*/
|
|
@@ -10279,7 +10279,7 @@ const View$l = ({
|
|
|
10279
10279
|
*/
|
|
10280
10280
|
|
|
10281
10281
|
/**
|
|
10282
|
-
* The plugin's description for
|
|
10282
|
+
* The plugin's description for the SDK's plugin system. Its state holds the profile's coordinate system.
|
|
10283
10283
|
*
|
|
10284
10284
|
* @internal
|
|
10285
10285
|
*/
|
|
@@ -10527,7 +10527,7 @@ const Root$F = ({
|
|
|
10527
10527
|
*/
|
|
10528
10528
|
|
|
10529
10529
|
/**
|
|
10530
|
-
* The plugin's description for
|
|
10530
|
+
* The plugin's description for the SDK's plugin system.
|
|
10531
10531
|
*
|
|
10532
10532
|
* @internal
|
|
10533
10533
|
*/
|
|
@@ -10733,7 +10733,7 @@ const Root$E = ({
|
|
|
10733
10733
|
*/
|
|
10734
10734
|
|
|
10735
10735
|
/**
|
|
10736
|
-
* The plugin's description for
|
|
10736
|
+
* The plugin's description for the SDK's plugin system.
|
|
10737
10737
|
*
|
|
10738
10738
|
* @internal
|
|
10739
10739
|
*/
|
|
@@ -10852,7 +10852,7 @@ const Root$D = ({
|
|
|
10852
10852
|
*/
|
|
10853
10853
|
|
|
10854
10854
|
/**
|
|
10855
|
-
* The plugin's description for
|
|
10855
|
+
* The plugin's description for the SDK's plugin system.
|
|
10856
10856
|
*
|
|
10857
10857
|
* @internal
|
|
10858
10858
|
*/
|
|
@@ -10985,7 +10985,7 @@ const Root$C = ({
|
|
|
10985
10985
|
*/
|
|
10986
10986
|
|
|
10987
10987
|
/**
|
|
10988
|
-
* The plugin's description for
|
|
10988
|
+
* The plugin's description for the SDK's plugin system.
|
|
10989
10989
|
*
|
|
10990
10990
|
* @internal
|
|
10991
10991
|
*/
|
|
@@ -11260,7 +11260,7 @@ const View$k = ({
|
|
|
11260
11260
|
*/
|
|
11261
11261
|
|
|
11262
11262
|
/**
|
|
11263
|
-
* The plugin's description for
|
|
11263
|
+
* The plugin's description for the SDK's plugin system.
|
|
11264
11264
|
*
|
|
11265
11265
|
* @internal
|
|
11266
11266
|
*/
|
|
@@ -11409,7 +11409,7 @@ const Root$A = ({
|
|
|
11409
11409
|
*/
|
|
11410
11410
|
|
|
11411
11411
|
/**
|
|
11412
|
-
* The plugin's description for
|
|
11412
|
+
* The plugin's description for the SDK's plugin system.
|
|
11413
11413
|
*
|
|
11414
11414
|
* @internal
|
|
11415
11415
|
*/
|
|
@@ -11518,7 +11518,7 @@ const Root$z = ({
|
|
|
11518
11518
|
*/
|
|
11519
11519
|
|
|
11520
11520
|
/**
|
|
11521
|
-
* The plugin's description for
|
|
11521
|
+
* The plugin's description for the SDK's plugin system.
|
|
11522
11522
|
*
|
|
11523
11523
|
* @internal
|
|
11524
11524
|
*/
|
|
@@ -11679,7 +11679,7 @@ const Root$y = ({
|
|
|
11679
11679
|
*/
|
|
11680
11680
|
|
|
11681
11681
|
/**
|
|
11682
|
-
* The plugin's description for
|
|
11682
|
+
* The plugin's description for the SDK's plugin system.
|
|
11683
11683
|
*
|
|
11684
11684
|
* @internal
|
|
11685
11685
|
*/
|
|
@@ -11808,7 +11808,7 @@ const Root$x = ({
|
|
|
11808
11808
|
*/
|
|
11809
11809
|
|
|
11810
11810
|
/**
|
|
11811
|
-
* The plugin's description for
|
|
11811
|
+
* The plugin's description for the SDK's plugin system.
|
|
11812
11812
|
*
|
|
11813
11813
|
* @internal
|
|
11814
11814
|
*/
|
|
@@ -11940,7 +11940,7 @@ const Root$w = ({
|
|
|
11940
11940
|
*/
|
|
11941
11941
|
|
|
11942
11942
|
/**
|
|
11943
|
-
* The plugin's description for
|
|
11943
|
+
* The plugin's description for the SDK's plugin system.
|
|
11944
11944
|
*
|
|
11945
11945
|
* @internal
|
|
11946
11946
|
*/
|
|
@@ -12064,7 +12064,7 @@ const Root$v = ({
|
|
|
12064
12064
|
*/
|
|
12065
12065
|
|
|
12066
12066
|
/**
|
|
12067
|
-
* The plugin's description for
|
|
12067
|
+
* The plugin's description for the SDK's plugin system.
|
|
12068
12068
|
*
|
|
12069
12069
|
* @internal
|
|
12070
12070
|
*/
|
|
@@ -12183,7 +12183,7 @@ const Root$u = ({
|
|
|
12183
12183
|
*/
|
|
12184
12184
|
|
|
12185
12185
|
/**
|
|
12186
|
-
* The plugin's description for
|
|
12186
|
+
* The plugin's description for the SDK's plugin system.
|
|
12187
12187
|
*
|
|
12188
12188
|
* @internal
|
|
12189
12189
|
*/
|
|
@@ -12306,7 +12306,7 @@ const Root$t = ({
|
|
|
12306
12306
|
*/
|
|
12307
12307
|
|
|
12308
12308
|
/**
|
|
12309
|
-
* The plugin's description for
|
|
12309
|
+
* The plugin's description for the SDK's plugin system.
|
|
12310
12310
|
*
|
|
12311
12311
|
* @internal
|
|
12312
12312
|
*/
|
|
@@ -12506,7 +12506,7 @@ const Root$s = ({
|
|
|
12506
12506
|
*/
|
|
12507
12507
|
|
|
12508
12508
|
/**
|
|
12509
|
-
* The plugin's description for
|
|
12509
|
+
* The plugin's description for the SDK's plugin system.
|
|
12510
12510
|
*
|
|
12511
12511
|
* @internal
|
|
12512
12512
|
*/
|
|
@@ -12659,7 +12659,7 @@ const Root$r = ({
|
|
|
12659
12659
|
*/
|
|
12660
12660
|
|
|
12661
12661
|
/**
|
|
12662
|
-
* The plugin's description for
|
|
12662
|
+
* The plugin's description for the SDK's plugin system.
|
|
12663
12663
|
*
|
|
12664
12664
|
* @internal
|
|
12665
12665
|
*/
|
|
@@ -12770,7 +12770,7 @@ const Root$q = ({
|
|
|
12770
12770
|
*/
|
|
12771
12771
|
|
|
12772
12772
|
/**
|
|
12773
|
-
* The plugin's description for
|
|
12773
|
+
* The plugin's description for the SDK's plugin system.
|
|
12774
12774
|
*
|
|
12775
12775
|
* @internal
|
|
12776
12776
|
*/
|
|
@@ -13306,7 +13306,7 @@ const View$j = ({
|
|
|
13306
13306
|
* @module
|
|
13307
13307
|
*/
|
|
13308
13308
|
/**
|
|
13309
|
-
* The plugin's description for
|
|
13309
|
+
* The plugin's description for the SDK's plugin system. Its state holds what was measured and the number of digits.
|
|
13310
13310
|
*
|
|
13311
13311
|
* @internal
|
|
13312
13312
|
*/
|
|
@@ -13386,7 +13386,7 @@ const tolerance$8 = 1e-6;
|
|
|
13386
13386
|
const deltaTolerance = 4;
|
|
13387
13387
|
|
|
13388
13388
|
/**
|
|
13389
|
-
* The plugin's description for
|
|
13389
|
+
* The plugin's description for the SDK's plugin system. Its state holds the sketcher's tools, hover and display options.
|
|
13390
13390
|
*
|
|
13391
13391
|
* @internal
|
|
13392
13392
|
*/
|
|
@@ -23275,7 +23275,7 @@ function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
23275
23275
|
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23276
23276
|
|
|
23277
23277
|
/**
|
|
23278
|
-
* What a {@link ContextMenu} is opened on:
|
|
23278
|
+
* What a {@link ContextMenu} is opened on: the SDK's interaction info of the thing.
|
|
23279
23279
|
*
|
|
23280
23280
|
* @inline
|
|
23281
23281
|
*/
|
|
@@ -25097,7 +25097,7 @@ const View$h = ({
|
|
|
25097
25097
|
*/
|
|
25098
25098
|
|
|
25099
25099
|
/**
|
|
25100
|
-
* The plugin's description for
|
|
25100
|
+
* The plugin's description for the SDK's plugin system.
|
|
25101
25101
|
*
|
|
25102
25102
|
* @internal
|
|
25103
25103
|
*/
|
|
@@ -25588,7 +25588,7 @@ const View$g = ({
|
|
|
25588
25588
|
*/
|
|
25589
25589
|
|
|
25590
25590
|
/**
|
|
25591
|
-
* The plugin's description for
|
|
25591
|
+
* The plugin's description for the SDK's plugin system.
|
|
25592
25592
|
*
|
|
25593
25593
|
* @internal
|
|
25594
25594
|
*/
|
|
@@ -25897,7 +25897,7 @@ const View$f = ({
|
|
|
25897
25897
|
*/
|
|
25898
25898
|
|
|
25899
25899
|
/**
|
|
25900
|
-
* The plugin's description for
|
|
25900
|
+
* The plugin's description for the SDK's plugin system.
|
|
25901
25901
|
*
|
|
25902
25902
|
* @internal
|
|
25903
25903
|
*/
|
|
@@ -26573,7 +26573,7 @@ const View$e = ({
|
|
|
26573
26573
|
*/
|
|
26574
26574
|
|
|
26575
26575
|
/**
|
|
26576
|
-
* The plugin's description for
|
|
26576
|
+
* The plugin's description for the SDK's plugin system. Its state holds the preview of the coordinate system.
|
|
26577
26577
|
*
|
|
26578
26578
|
* @internal
|
|
26579
26579
|
*/
|
|
@@ -27069,7 +27069,7 @@ const View$d = ({
|
|
|
27069
27069
|
*/
|
|
27070
27070
|
|
|
27071
27071
|
/**
|
|
27072
|
-
* The plugin's description for
|
|
27072
|
+
* The plugin's description for the SDK's plugin system. Its state holds the preview of the coordinate system.
|
|
27073
27073
|
*
|
|
27074
27074
|
* @internal
|
|
27075
27075
|
*/
|
|
@@ -27475,7 +27475,7 @@ function Root$i({
|
|
|
27475
27475
|
*/
|
|
27476
27476
|
|
|
27477
27477
|
/**
|
|
27478
|
-
* The plugin's description for
|
|
27478
|
+
* The plugin's description for the SDK's plugin system. Its state holds the display options.
|
|
27479
27479
|
*
|
|
27480
27480
|
* @internal
|
|
27481
27481
|
*/
|
|
@@ -32629,7 +32629,7 @@ const MessageList = ({
|
|
|
32629
32629
|
*/
|
|
32630
32630
|
|
|
32631
32631
|
/**
|
|
32632
|
-
* The app's messages: what
|
|
32632
|
+
* The app's messages: what the SDK's `showMessage` (`@classcad/sdkjs`) says, as toasts and in a log.
|
|
32633
32633
|
*
|
|
32634
32634
|
* A new message comes up as a toast and leaves again after a few seconds; an error stays until the log has been
|
|
32635
32635
|
* opened. The button under the toasts opens the log of all of them, and a dot on it says that there are new ones;
|
|
@@ -35032,7 +35032,7 @@ function useFeatureCount(drawingId) {
|
|
|
35032
35032
|
};
|
|
35033
35033
|
}
|
|
35034
35034
|
|
|
35035
|
-
// TODO: Move to buerli/packages/react or buerli/packages/
|
|
35035
|
+
// TODO: Move to buerli/packages/react or buerli/packages/sdkjs
|
|
35036
35036
|
function readFile(file, type) {
|
|
35037
35037
|
return new Promise((resolve, reject) => {
|
|
35038
35038
|
const reader = new FileReader();
|
|
@@ -35138,7 +35138,7 @@ const FileUtils = {
|
|
|
35138
35138
|
* The session this page shares, for react-cad's components: which client it is, this page's role in it, and what its
|
|
35139
35139
|
* host offers.
|
|
35140
35140
|
*
|
|
35141
|
-
* A thin React layer over the sharing API of `@classcad/client` (`session/share.ts`); any
|
|
35141
|
+
* A thin React layer over the sharing API of `@classcad/client` (`session/share.ts`); any sdkjs app can build its
|
|
35142
35142
|
* own UI on that API without react-cad. Which client is "the session client" is decided by the app, with
|
|
35143
35143
|
* {@link setSessionClient}: a `WSClient` (the session is a ClassCAD server's, or a ClassCAD MCP's) or a `WASMClient`
|
|
35144
35144
|
* (the page hosts it itself). Both have the same surface (role, peers, invites, `createInvite`/`revokeInvite`,
|
|
@@ -36551,7 +36551,7 @@ const fromConfig = geometry => {
|
|
|
36551
36551
|
};
|
|
36552
36552
|
|
|
36553
36553
|
/**
|
|
36554
|
-
* What of the model is drawn now, as
|
|
36554
|
+
* What of the model is drawn now, as the SDK's geometry config says (which the stage draws from).
|
|
36555
36555
|
*
|
|
36556
36556
|
* The example of {@link setViewOptions} switches one of them with it.
|
|
36557
36557
|
*
|
|
@@ -36563,7 +36563,7 @@ const getViewOptions = () => fromConfig(api.getState().options.config.geometry);
|
|
|
36563
36563
|
/**
|
|
36564
36564
|
* Shows or hides what of the model is drawn, for every drawing.
|
|
36565
36565
|
*
|
|
36566
|
-
* It merges the options into
|
|
36566
|
+
* It merges the options into the SDK's geometry config (`init`'s `config.geometry`); what it leaves out stays as it
|
|
36567
36567
|
* is. The {@link ViewOptionButtons} show what is set here, whoever sets it: the user, or the app (Buerligons switches
|
|
36568
36568
|
* the edges off in its realistic look).
|
|
36569
36569
|
*
|
|
@@ -36700,7 +36700,7 @@ const ViewOptionButton = ({
|
|
|
36700
36700
|
/**
|
|
36701
36701
|
* Switches for what of the model is shown: its faces, its wires, its edges, its points.
|
|
36702
36702
|
*
|
|
36703
|
-
* Each is a switch over
|
|
36703
|
+
* Each is a switch over the SDK's geometry config, the one {@link setViewOptions} sets; the wireframe is only there
|
|
36704
36704
|
* while the faces are shown. They take no props: they are the same for every drawing. {@link Drawing} docks them on
|
|
36705
36705
|
* the stage's right-hand side.
|
|
36706
36706
|
*
|
|
@@ -37135,13 +37135,13 @@ const Bar = ({
|
|
|
37135
37135
|
* ({@link AppStyle}) itself. The sidebar's edge is dragged to set its width, and a button in the bar puts it away;
|
|
37136
37136
|
* both are kept for the next visit (in `localStorage`).
|
|
37137
37137
|
*
|
|
37138
|
-
* Drawing contains no canvas: the app's canvas is its child, and fills the stage. The plugins need
|
|
37138
|
+
* Drawing contains no canvas: the app's canvas is its child, and fills the stage. The plugins need the SDK's
|
|
37139
37139
|
* `PluginManager` mounted once in the app, and `BuerliPluginsGeometry` in the canvas for what they draw (both from
|
|
37140
37140
|
* `@classcad/react`).
|
|
37141
37141
|
*
|
|
37142
|
-
* Where the app's `init` left
|
|
37142
|
+
* Where the app's `init` left the SDK's stock form controls in, Drawing hands the SDK react-cad's {@link elements}
|
|
37143
37143
|
* instead; an app that brought controls of its own keeps them. It also sets the colour of the model's edges and
|
|
37144
|
-
* points in
|
|
37144
|
+
* points in the SDK's geometry config to the theme's ink, whenever the theme changes.
|
|
37145
37145
|
*
|
|
37146
37146
|
* Its props: {@link DrawingProps}.
|
|
37147
37147
|
*
|
|
@@ -37686,7 +37686,7 @@ const Root$h = ({
|
|
|
37686
37686
|
*/
|
|
37687
37687
|
|
|
37688
37688
|
/**
|
|
37689
|
-
* The plugin's description for
|
|
37689
|
+
* The plugin's description for the SDK's plugin system.
|
|
37690
37690
|
*
|
|
37691
37691
|
* @internal
|
|
37692
37692
|
*/
|
|
@@ -38091,7 +38091,7 @@ function Root$g({
|
|
|
38091
38091
|
* @module
|
|
38092
38092
|
*/
|
|
38093
38093
|
/**
|
|
38094
|
-
* The plugin's description for
|
|
38094
|
+
* The plugin's description for the SDK's plugin system. Its state holds the ids of the solids that are edited.
|
|
38095
38095
|
*
|
|
38096
38096
|
* @internal
|
|
38097
38097
|
*/
|
|
@@ -38750,7 +38750,7 @@ const View$b = ({
|
|
|
38750
38750
|
*/
|
|
38751
38751
|
|
|
38752
38752
|
/**
|
|
38753
|
-
* The plugin's description for
|
|
38753
|
+
* The plugin's description for the SDK's plugin system.
|
|
38754
38754
|
*
|
|
38755
38755
|
* @internal
|
|
38756
38756
|
*/
|
|
@@ -38952,7 +38952,7 @@ const View$a = ({
|
|
|
38952
38952
|
*/
|
|
38953
38953
|
|
|
38954
38954
|
/**
|
|
38955
|
-
* The plugin's description for
|
|
38955
|
+
* The plugin's description for the SDK's plugin system.
|
|
38956
38956
|
*
|
|
38957
38957
|
* @internal
|
|
38958
38958
|
*/
|
|
@@ -39592,7 +39592,7 @@ const View$9 = ({
|
|
|
39592
39592
|
*/
|
|
39593
39593
|
|
|
39594
39594
|
/**
|
|
39595
|
-
* The plugin's description for
|
|
39595
|
+
* The plugin's description for the SDK's plugin system.
|
|
39596
39596
|
*
|
|
39597
39597
|
* @internal
|
|
39598
39598
|
*/
|
|
@@ -39781,7 +39781,7 @@ const View$8 = ({
|
|
|
39781
39781
|
*/
|
|
39782
39782
|
|
|
39783
39783
|
/**
|
|
39784
|
-
* The plugin's description for
|
|
39784
|
+
* The plugin's description for the SDK's plugin system.
|
|
39785
39785
|
*
|
|
39786
39786
|
* @internal
|
|
39787
39787
|
*/
|
|
@@ -39988,7 +39988,7 @@ const View$7 = ({
|
|
|
39988
39988
|
*/
|
|
39989
39989
|
|
|
39990
39990
|
/**
|
|
39991
|
-
* The plugin's description for
|
|
39991
|
+
* The plugin's description for the SDK's plugin system.
|
|
39992
39992
|
*
|
|
39993
39993
|
* @internal
|
|
39994
39994
|
*/
|
|
@@ -40231,7 +40231,7 @@ const View$6 = ({
|
|
|
40231
40231
|
*/
|
|
40232
40232
|
|
|
40233
40233
|
/**
|
|
40234
|
-
* The plugin's description for
|
|
40234
|
+
* The plugin's description for the SDK's plugin system.
|
|
40235
40235
|
*
|
|
40236
40236
|
* @internal
|
|
40237
40237
|
*/
|
|
@@ -40492,7 +40492,7 @@ const View$5 = ({
|
|
|
40492
40492
|
*/
|
|
40493
40493
|
|
|
40494
40494
|
/**
|
|
40495
|
-
* The plugin's description for
|
|
40495
|
+
* The plugin's description for the SDK's plugin system.
|
|
40496
40496
|
*
|
|
40497
40497
|
* @internal
|
|
40498
40498
|
*/
|
|
@@ -40645,7 +40645,7 @@ const View$4 = ({
|
|
|
40645
40645
|
*/
|
|
40646
40646
|
|
|
40647
40647
|
/**
|
|
40648
|
-
* The plugin's description for
|
|
40648
|
+
* The plugin's description for the SDK's plugin system.
|
|
40649
40649
|
*
|
|
40650
40650
|
* @internal
|
|
40651
40651
|
*/
|
|
@@ -40747,7 +40747,7 @@ const Root$7 = ({
|
|
|
40747
40747
|
*/
|
|
40748
40748
|
|
|
40749
40749
|
/**
|
|
40750
|
-
* The plugin's description for
|
|
40750
|
+
* The plugin's description for the SDK's plugin system.
|
|
40751
40751
|
*
|
|
40752
40752
|
* @internal
|
|
40753
40753
|
*/
|
|
@@ -40944,7 +40944,7 @@ const View$3 = ({
|
|
|
40944
40944
|
*/
|
|
40945
40945
|
|
|
40946
40946
|
/**
|
|
40947
|
-
* The plugin's description for
|
|
40947
|
+
* The plugin's description for the SDK's plugin system. Its state holds the picked instance.
|
|
40948
40948
|
*
|
|
40949
40949
|
* @internal
|
|
40950
40950
|
*/
|
|
@@ -41116,7 +41116,7 @@ const View$2 = ({
|
|
|
41116
41116
|
*/
|
|
41117
41117
|
|
|
41118
41118
|
/**
|
|
41119
|
-
* The plugin's description for
|
|
41119
|
+
* The plugin's description for the SDK's plugin system. Its state holds the picked instance.
|
|
41120
41120
|
*
|
|
41121
41121
|
* @internal
|
|
41122
41122
|
*/
|
|
@@ -41387,7 +41387,7 @@ const View$1 = ({
|
|
|
41387
41387
|
*/
|
|
41388
41388
|
|
|
41389
41389
|
/**
|
|
41390
|
-
* The plugin's description for
|
|
41390
|
+
* The plugin's description for the SDK's plugin system.
|
|
41391
41391
|
*
|
|
41392
41392
|
* @internal
|
|
41393
41393
|
*/
|
|
@@ -41565,7 +41565,7 @@ const Root$3 = ({
|
|
|
41565
41565
|
*/
|
|
41566
41566
|
|
|
41567
41567
|
/**
|
|
41568
|
-
* The plugin's description for
|
|
41568
|
+
* The plugin's description for the SDK's plugin system.
|
|
41569
41569
|
*
|
|
41570
41570
|
* @internal
|
|
41571
41571
|
*/
|
|
@@ -41664,7 +41664,7 @@ const Root$2 = ({
|
|
|
41664
41664
|
*/
|
|
41665
41665
|
|
|
41666
41666
|
/**
|
|
41667
|
-
* The plugin's description for
|
|
41667
|
+
* The plugin's description for the SDK's plugin system.
|
|
41668
41668
|
*
|
|
41669
41669
|
* @internal
|
|
41670
41670
|
*/
|
|
@@ -42360,7 +42360,7 @@ const View = ({
|
|
|
42360
42360
|
*/
|
|
42361
42361
|
|
|
42362
42362
|
/**
|
|
42363
|
-
* The plugin's description for
|
|
42363
|
+
* The plugin's description for the SDK's plugin system: a global plugin, not kept when its window closes; its state
|
|
42364
42364
|
* holds the product that is being placed.
|
|
42365
42365
|
*
|
|
42366
42366
|
* @internal
|
|
@@ -42688,7 +42688,7 @@ const Root = ({
|
|
|
42688
42688
|
*/
|
|
42689
42689
|
|
|
42690
42690
|
/**
|
|
42691
|
-
* The plugin's description for
|
|
42691
|
+
* The plugin's description for the SDK's plugin system: a global plugin with no state of its own (the invites live on
|
|
42692
42692
|
* the session's client).
|
|
42693
42693
|
*
|
|
42694
42694
|
* @internal
|
|
@@ -34,7 +34,7 @@ type InternalState = {
|
|
|
34
34
|
solidIds: ObjectID[];
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* The plugin's description for
|
|
37
|
+
* The plugin's description for the SDK's plugin system. Its state holds the ids of the solids that are edited.
|
|
38
38
|
*
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
import { PluginDescription } from '@classcad/sdkjs';
|
|
32
32
|
import { Root } from './Root';
|
|
33
33
|
/**
|
|
34
|
-
* The plugin's description for
|
|
34
|
+
* The plugin's description for the SDK's plugin system. Its state holds the type of the operation.
|
|
35
35
|
*
|
|
36
36
|
* @internal
|
|
37
37
|
*/
|
|
@@ -27,7 +27,7 @@ import { PluginDescription } from '@classcad/sdkjs';
|
|
|
27
27
|
import { View } from './View';
|
|
28
28
|
import { Root } from './Root';
|
|
29
29
|
/**
|
|
30
|
-
* The plugin's description for
|
|
30
|
+
* The plugin's description for the SDK's plugin system. Its state holds the display options.
|
|
31
31
|
*
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
@@ -28,7 +28,7 @@ import { PluginDescription } from '@classcad/sdkjs';
|
|
|
28
28
|
import { Root } from './Root';
|
|
29
29
|
import { View } from './View';
|
|
30
30
|
/**
|
|
31
|
-
* The plugin's description for
|
|
31
|
+
* The plugin's description for the SDK's plugin system.
|
|
32
32
|
*
|
|
33
33
|
* @internal
|
|
34
34
|
*/
|
|
@@ -26,7 +26,7 @@ import { PluginDescription } from '@classcad/sdkjs';
|
|
|
26
26
|
import { View } from './View';
|
|
27
27
|
import { Root } from './Root';
|
|
28
28
|
/**
|
|
29
|
-
* The plugin's description for
|
|
29
|
+
* The plugin's description for the SDK's plugin system. Its state holds whether the dimensions are shown.
|
|
30
30
|
*
|
|
31
31
|
* @internal
|
|
32
32
|
*/
|
|
@@ -42,7 +42,7 @@ export type ExtrusionPState = {
|
|
|
42
42
|
yDir: THREE.Vector3 | undefined;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
|
-
* The plugin's description for
|
|
45
|
+
* The plugin's description for the SDK's plugin system. Its state holds the profile's coordinate system.
|
|
46
46
|
*
|
|
47
47
|
* @internal
|
|
48
48
|
*/
|
|
@@ -30,7 +30,7 @@ import { PluginDescription } from '@classcad/sdkjs';
|
|
|
30
30
|
import { Root } from './Root';
|
|
31
31
|
import { View } from './View';
|
|
32
32
|
/**
|
|
33
|
-
* The plugin's description for
|
|
33
|
+
* The plugin's description for the SDK's plugin system. Its state holds the picked instance.
|
|
34
34
|
*
|
|
35
35
|
* @internal
|
|
36
36
|
*/
|
|
@@ -29,7 +29,7 @@ import { PluginDescription } from '@classcad/sdkjs';
|
|
|
29
29
|
import { Root } from './Root';
|
|
30
30
|
import { View } from './View';
|
|
31
31
|
/**
|
|
32
|
-
* The plugin's description for
|
|
32
|
+
* The plugin's description for the SDK's plugin system.
|
|
33
33
|
*
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
@@ -29,7 +29,7 @@ import { PluginDescription } from '@classcad/sdkjs';
|
|
|
29
29
|
import { Root } from './Root';
|
|
30
30
|
import { View } from './View';
|
|
31
31
|
/**
|
|
32
|
-
* The plugin's description for
|
|
32
|
+
* The plugin's description for the SDK's plugin system.
|
|
33
33
|
*
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|