@buerli.io/react-cad 0.0.23-beta.1 → 0.0.23
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/build/components/UI/CAD/Drawing.d.ts +3 -2
- package/build/components/UI/CAD/common/Menu.d.ts +1 -1
- package/build/index.cjs.js +2920 -2861
- package/build/index.js +2926 -2867
- package/build/plugins/Dimensions/index.d.ts +1 -1
- package/build/plugins/Sketch/View/graphics/Merged/MergedWrapper.d.ts +3 -0
- package/build/plugins/Sketch/View/handlers/Drag.d.ts +1 -1
- package/build/plugins/Sketch/View/handlers/Fillet.d.ts +1 -1
- package/build/plugins/Sketch/types.d.ts +0 -1
- package/build/utils/defaultValues.d.ts +3 -0
- package/build/utils/drawing/index.d.ts +3 -0
- package/build/utils/drawing/useDrawingArr.d.ts +2 -0
- package/build/utils/drawing/useDrawingCCId.d.ts +2 -0
- package/build/utils/drawing/useDrawingStr.d.ts +2 -0
- package/package.json +7 -7
|
@@ -13,6 +13,6 @@ declare const Plugin: {
|
|
|
13
13
|
drawingId: string | number;
|
|
14
14
|
pluginId: string | number;
|
|
15
15
|
}>;
|
|
16
|
-
description: import("@buerli.io/core/build/
|
|
16
|
+
description: import("@buerli.io/core/build/store/states/plugin").PluginDescription<any>;
|
|
17
17
|
};
|
|
18
18
|
export { Plugin };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DrawingID, PluginID } from '@buerli.io/core';
|
|
2
2
|
import { Handler } from '../../types';
|
|
3
|
-
export declare function Drag(drawingId: DrawingID, pluginId: PluginID): Handler;
|
|
3
|
+
export declare function Drag(drawingId: DrawingID, pluginId: PluginID, camControls: any): Handler;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DrawingID, PluginID } from '@buerli.io/core';
|
|
2
2
|
import { Handler } from '../../types';
|
|
3
|
-
export declare function Fillet(drawingId: DrawingID, pluginId: PluginID): Handler;
|
|
3
|
+
export declare function Fillet(drawingId: DrawingID, pluginId: PluginID, camControls: any): Handler;
|
|
@@ -4,7 +4,6 @@ import { IStructureObject, ObjectID, PluginID } from '@buerli.io/core';
|
|
|
4
4
|
import { CCClasses } from '@buerli.io/classcad';
|
|
5
5
|
import { InfinityPlane } from '../../components/graphics/InfinityPlane';
|
|
6
6
|
import { Geometry } from 'three-stdlib';
|
|
7
|
-
export declare const UNDEFINEDID = -1;
|
|
8
7
|
export declare type HighlightedConstraintsT = Array<{
|
|
9
8
|
constraintId: ObjectID;
|
|
10
9
|
geometryId: ObjectID;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buerli.io/react-cad",
|
|
3
|
-
"version": "0.0.23
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "buerli CAD components",
|
|
5
5
|
"author": "AWV Informatik AG <info@awv-informatik.ch>",
|
|
6
6
|
"repository": {},
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"@babel/preset-react": "^7.14.5",
|
|
48
48
|
"@babel/preset-typescript": "^7.10.4",
|
|
49
49
|
"@buerli.io/icons": "^1.0.9",
|
|
50
|
+
"@react-three/drei": "^7.26.1",
|
|
51
|
+
"@react-three/fiber": "^7.0.19",
|
|
50
52
|
"@rollup/plugin-babel": "^5.3.0",
|
|
51
53
|
"@rollup/plugin-image": "^2.1.0",
|
|
52
54
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
@@ -87,16 +89,15 @@
|
|
|
87
89
|
"typescript": "4.1.2"
|
|
88
90
|
},
|
|
89
91
|
"peerDependencies": {
|
|
92
|
+
"@react-three/drei": ">= 7.26.1",
|
|
90
93
|
"@react-three/fiber": ">= 7.0.17",
|
|
91
94
|
"three": ">=0.129"
|
|
92
95
|
},
|
|
93
96
|
"dependencies": {
|
|
94
97
|
"@ant-design/compatible": "^1.0.8",
|
|
95
|
-
"@buerli.io/classcad": "0.0.35
|
|
96
|
-
"@buerli.io/react": "0.0.35
|
|
97
|
-
"
|
|
98
|
-
"@react-three/fiber": "^7.0.17",
|
|
99
|
-
"antd": "4.11.2",
|
|
98
|
+
"@buerli.io/classcad": "0.0.35",
|
|
99
|
+
"@buerli.io/react": "0.0.35",
|
|
100
|
+
"antd": "^4.15.3",
|
|
100
101
|
"react": "^17.0.2",
|
|
101
102
|
"react-colorful": "^5.3.0",
|
|
102
103
|
"react-movable": "^2.3.0",
|
|
@@ -104,7 +105,6 @@
|
|
|
104
105
|
"react-uid": "^2.3.1",
|
|
105
106
|
"styled-components": "^4.3.2",
|
|
106
107
|
"three-rounded-box": "^0.1.1",
|
|
107
|
-
"three-stdlib": "^2.4.0",
|
|
108
108
|
"uuid": "^3.3.2",
|
|
109
109
|
"zustand": "^3.5.7"
|
|
110
110
|
}
|