@buerli.io/react-cad 0.13.1-beta.9 → 1.0.0

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.
Files changed (385) hide show
  1. package/README.md +1 -1
  2. package/build/components/UI/CAD/Constraints.d.ts +12 -12
  3. package/build/components/UI/CAD/Drawing.d.ts +16 -16
  4. package/build/components/UI/CAD/ListPlaceholder.d.ts +2 -2
  5. package/build/components/UI/CAD/Messages/Message.d.ts +5 -5
  6. package/build/components/UI/CAD/Messages/Messages.d.ts +9 -9
  7. package/build/components/UI/CAD/Messages/index.d.ts +1 -1
  8. package/build/components/UI/CAD/Messages/msgStore.d.ts +18 -18
  9. package/build/components/UI/CAD/ModelTree/AssemblyNode.d.ts +10 -10
  10. package/build/components/UI/CAD/ModelTree/FeatureList/Feature.d.ts +7 -7
  11. package/build/components/UI/CAD/ModelTree/FeatureList/FeatureList.d.ts +5 -5
  12. package/build/components/UI/CAD/ModelTree/FeatureList/index.d.ts +1 -1
  13. package/build/components/UI/CAD/ModelTree/FeatureList/utils.d.ts +7 -7
  14. package/build/components/UI/CAD/ModelTree/ModelTree.d.ts +13 -13
  15. package/build/components/UI/CAD/ModelTree/ModelTreeHeader.d.ts +16 -16
  16. package/build/components/UI/CAD/ModelTree/index.d.ts +1 -1
  17. package/build/components/UI/CAD/ModelTree/primitives.d.ts +9 -9
  18. package/build/components/UI/CAD/ModelTree/useContextMenuItems.d.ts +5 -5
  19. package/build/components/UI/CAD/PluginBounds.d.ts +8 -8
  20. package/build/components/UI/CAD/PluginTooltip.d.ts +5 -5
  21. package/build/components/UI/CAD/PluginsWindows.d.ts +23 -23
  22. package/build/components/UI/CAD/SideBar.d.ts +6 -6
  23. package/build/components/UI/CAD/Solids/Solids.d.ts +11 -11
  24. package/build/components/UI/CAD/Solids/index.d.ts +1 -1
  25. package/build/components/UI/CAD/Solids/useContextMenuItems.d.ts +5 -5
  26. package/build/components/UI/CAD/Solids/useVisibleSolids.d.ts +2 -2
  27. package/build/components/UI/CAD/ToolBar/AssemblyModeCmds.d.ts +3 -3
  28. package/build/components/UI/CAD/ToolBar/Icon.d.ts +4 -4
  29. package/build/components/UI/CAD/ToolBar/PartModeCmds.d.ts +3 -3
  30. package/build/components/UI/CAD/ToolBar/ToolBar.d.ts +6 -6
  31. package/build/components/UI/CAD/ToolBar/index.d.ts +1 -1
  32. package/build/components/UI/CAD/ToolBar/useCommands.d.ts +10 -10
  33. package/build/components/UI/CAD/ViewOptionsBar/ViewOptionButtons.d.ts +3 -3
  34. package/build/components/UI/CAD/ViewOptionsBar/useOptionCommands.d.ts +14 -14
  35. package/build/components/UI/CAD/ViewPlugButtons.d.ts +6 -6
  36. package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModal.d.ts +19 -19
  37. package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModal.test.d.ts +1 -1
  38. package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalContext.d.ts +9 -9
  39. package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalInner.d.ts +27 -27
  40. package/build/components/UI/CAD/ant-design-draggable-modal/DraggableModalProvider.d.ts +4 -4
  41. package/build/components/UI/CAD/ant-design-draggable-modal/ResizeHandle.d.ts +2 -2
  42. package/build/components/UI/CAD/ant-design-draggable-modal/clamp.d.ts +1 -1
  43. package/build/components/UI/CAD/ant-design-draggable-modal/draggableModalReducer.d.ts +123 -123
  44. package/build/components/UI/CAD/ant-design-draggable-modal/getWindowSize.d.ts +4 -4
  45. package/build/components/UI/CAD/ant-design-draggable-modal/index.d.ts +3 -3
  46. package/build/components/UI/CAD/ant-design-draggable-modal/useDrag.d.ts +5 -5
  47. package/build/components/UI/CAD/ant-design-draggable-modal/usePrevious.d.ts +1 -1
  48. package/build/components/UI/CAD/ant-design-draggable-modal/useResize.d.ts +7 -7
  49. package/build/components/UI/CAD/common/BlankDiv.d.ts +4 -4
  50. package/build/components/UI/CAD/common/Collapse.d.ts +8 -8
  51. package/build/components/UI/CAD/common/ContextMenu.d.ts +33 -33
  52. package/build/components/UI/CAD/common/Divider.d.ts +4 -4
  53. package/build/components/UI/CAD/common/EntityName.d.ts +9 -9
  54. package/build/components/UI/CAD/common/Icon.d.ts +5 -5
  55. package/build/components/UI/CAD/common/Img.d.ts +1 -1
  56. package/build/components/UI/CAD/common/LoadingScreen/LoadingScreen.d.ts +6 -6
  57. package/build/components/UI/CAD/common/LoadingScreen/Spinner.d.ts +2 -2
  58. package/build/components/UI/CAD/common/LoadingScreen/index.d.ts +1 -1
  59. package/build/components/UI/CAD/common/Menu.d.ts +29 -29
  60. package/build/components/UI/CAD/common/MultiSelect.d.ts +12 -12
  61. package/build/components/UI/CAD/common/NameEdit.d.ts +8 -8
  62. package/build/components/UI/CAD/common/SectionHeader.d.ts +4 -4
  63. package/build/components/UI/CAD/common/primitives.d.ts +10 -10
  64. package/build/components/UI/CAD/hooks/index.d.ts +13 -13
  65. package/build/components/UI/CAD/hooks/useContextMenuInteraction.d.ts +7 -7
  66. package/build/components/UI/CAD/hooks/useContextMenuItems.d.ts +5 -5
  67. package/build/components/UI/CAD/hooks/useCurrentInstance.d.ts +2 -2
  68. package/build/components/UI/CAD/hooks/useCurrentProduct.d.ts +2 -2
  69. package/build/components/UI/CAD/hooks/useEditMode.d.ts +7 -7
  70. package/build/components/UI/CAD/hooks/useGlobalMateInfo.d.ts +6 -6
  71. package/build/components/UI/CAD/hooks/useHasPending.d.ts +8 -8
  72. package/build/components/UI/CAD/hooks/useIsDisabled.d.ts +2 -2
  73. package/build/components/UI/CAD/hooks/useIsLoading.d.ts +8 -8
  74. package/build/components/UI/CAD/hooks/useIsSketchActive.d.ts +2 -2
  75. package/build/components/UI/CAD/hooks/useObjectDetails.d.ts +12 -12
  76. package/build/components/UI/CAD/hooks/useOperationSequence.d.ts +2 -2
  77. package/build/components/UI/CAD/hooks/useRollbackBar.d.ts +8 -8
  78. package/build/components/UI/CAD/hooks/useRoot.d.ts +2 -2
  79. package/build/components/UI/CAD/index.d.ts +17 -17
  80. package/build/components/UI/CAD/plugins/ProductManagement/ProdTable.d.ts +10 -10
  81. package/build/components/UI/CAD/plugins/ProductManagement/Root.d.ts +6 -6
  82. package/build/components/UI/CAD/plugins/ProductManagement/View.d.ts +6 -6
  83. package/build/components/UI/CAD/plugins/ProductManagement/index.d.ts +8 -8
  84. package/build/components/UI/CAD/plugins/ProductManagement/types.d.ts +4 -4
  85. package/build/components/UI/CAD/plugins/ProductManagement/useContextMenuItems.d.ts +5 -5
  86. package/build/components/UI/CAD/store/CADActions.d.ts +15 -15
  87. package/build/components/UI/CAD/store/CADStore.d.ts +26 -26
  88. package/build/components/UI/Readfile.d.ts +6 -6
  89. package/build/components/UI/editors/BooleanEditor/BooleanEditor.d.ts +8 -15
  90. package/build/components/UI/editors/BooleanEditor/index.d.ts +2 -2
  91. package/build/components/UI/editors/BooleanEditor/useBoolParam.d.ts +3 -5
  92. package/build/components/UI/editors/CSysEditor/CSysEditor.d.ts +11 -11
  93. package/build/components/UI/editors/CSysEditor/index.d.ts +2 -2
  94. package/build/components/UI/editors/CSysEditor/useCSysParam.d.ts +9 -9
  95. package/build/components/UI/editors/ColorEditor/ColorEditor.d.ts +9 -9
  96. package/build/components/UI/editors/ColorEditor/index.d.ts +2 -2
  97. package/build/components/UI/editors/ColorEditor/useColorParam.d.ts +9 -9
  98. package/build/components/UI/editors/ExpressionEditor/ExpressionEditor.d.ts +16 -14
  99. package/build/components/UI/editors/ExpressionEditor/index.d.ts +2 -2
  100. package/build/components/UI/editors/ExpressionEditor/useExpressionsParam.d.ts +5 -3
  101. package/build/components/UI/editors/NumberEditor/Inputs.d.ts +18 -18
  102. package/build/components/UI/editors/NumberEditor/Mentions.d.ts +11 -11
  103. package/build/components/UI/editors/NumberEditor/NumOrExpr.d.ts +12 -12
  104. package/build/components/UI/editors/NumberEditor/NumberEditor.d.ts +12 -22
  105. package/build/components/UI/editors/NumberEditor/index.d.ts +2 -2
  106. package/build/components/UI/editors/NumberEditor/useNumParam.d.ts +5 -9
  107. package/build/components/UI/editors/PointEditor/PointEditor.d.ts +10 -18
  108. package/build/components/UI/editors/PointEditor/index.d.ts +2 -2
  109. package/build/components/UI/editors/PointEditor/usePointParam.d.ts +5 -7
  110. package/build/components/UI/editors/RefsEditors/ChainFinder.d.ts +14 -14
  111. package/build/components/UI/editors/RefsEditors/MateEditor.d.ts +13 -13
  112. package/build/components/UI/editors/RefsEditors/MateOrientationEditor.d.ts +9 -9
  113. package/build/components/UI/editors/RefsEditors/RefEditor.d.ts +24 -24
  114. package/build/components/UI/editors/RefsEditors/RefsEditor.d.ts +16 -16
  115. package/build/components/UI/editors/RefsEditors/index.d.ts +8 -8
  116. package/build/components/UI/editors/RefsEditors/pickers.d.ts +4 -4
  117. package/build/components/UI/editors/RefsEditors/useIdParam.d.ts +3 -3
  118. package/build/components/UI/editors/RefsEditors/useMateParam.d.ts +10 -10
  119. package/build/components/UI/editors/RefsEditors/useModes.d.ts +11 -11
  120. package/build/components/UI/editors/RefsEditors/useRefsParam.d.ts +3 -3
  121. package/build/components/UI/editors/RefsEditors/useSelectedItems.d.ts +18 -18
  122. package/build/components/UI/editors/ToleranceEditor/ToleranceEditor.d.ts +7 -7
  123. package/build/components/UI/editors/ToleranceEditor/index.d.ts +2 -2
  124. package/build/components/UI/editors/ToleranceEditor/useToleranceParam.d.ts +3 -3
  125. package/build/components/UI/editors/TypeEditor/TypeEditor.d.ts +10 -10
  126. package/build/components/UI/editors/TypeEditor/index.d.ts +2 -2
  127. package/build/components/UI/editors/TypeEditor/useTypeParam.d.ts +3 -5
  128. package/build/components/UI/editors/TypeWrapper.d.ts +5 -5
  129. package/build/components/UI/editors/Wrapper.d.ts +9 -9
  130. package/build/components/UI/editors/useParam.d.ts +20 -20
  131. package/build/components/UI/editors/useValidation.d.ts +4 -4
  132. package/build/components/graphics/CSysDisplay.d.ts +50 -50
  133. package/build/components/graphics/CompositeCurveObj.d.ts +11 -11
  134. package/build/components/graphics/GeometryOverrides/GeometryOverridesManager.d.ts +5 -5
  135. package/build/components/graphics/GeometryOverrides/GeometryOverridesStore.d.ts +18 -18
  136. package/build/components/graphics/GeometryOverrides/index.d.ts +2 -2
  137. package/build/components/graphics/GeometryOverrides/useOverrideGeometryColor.d.ts +3 -3
  138. package/build/components/graphics/HUD.d.ts +4 -4
  139. package/build/components/graphics/HoveredConstraintDisplay.d.ts +5 -5
  140. package/build/components/graphics/InfinityPlane.d.ts +4 -4
  141. package/build/components/graphics/Outlines/AAPass.d.ts +8 -8
  142. package/build/components/graphics/Outlines/IDPass.d.ts +12 -12
  143. package/build/components/graphics/Outlines/Outline.d.ts +20 -20
  144. package/build/components/graphics/Outlines/OutlineEffect.d.ts +37 -37
  145. package/build/components/graphics/Outlines/OutlineMaterial.d.ts +9 -9
  146. package/build/components/graphics/Outlines/WidenPass.d.ts +17 -17
  147. package/build/components/graphics/PluginGeometryBounds.d.ts +8 -8
  148. package/build/components/graphics/SelectableMate.d.ts +3 -3
  149. package/build/components/graphics/SelectedMateObj.d.ts +12 -12
  150. package/build/components/graphics/WorkAxisObj.d.ts +10 -10
  151. package/build/components/graphics/WorkCSysObj.d.ts +11 -11
  152. package/build/components/graphics/WorkCoordSystemObj.d.ts +11 -11
  153. package/build/components/graphics/WorkPlaneObj.d.ts +11 -11
  154. package/build/components/graphics/WorkPointObj.d.ts +10 -10
  155. package/build/components/graphics/graphics.d.ts +61 -61
  156. package/build/components/graphics/utils/MatePathTransform.d.ts +10 -10
  157. package/build/components/graphics/utils/useCsysMatrix.d.ts +4 -4
  158. package/build/components/utils/CompValidation/ErrorBoundary.d.ts +28 -28
  159. package/build/components/utils/CompValidation/validators/CSysDisplayValidator.d.ts +12 -12
  160. package/build/components/utils/CompValidation/validators/DrawingValidator.d.ts +12 -12
  161. package/build/components/utils/CompValidation/validators/ExpressionsValidator.d.ts +12 -12
  162. package/build/components/utils/CompValidation/validators/FPluginValidator.d.ts +16 -16
  163. package/build/components/utils/CompValidation/validators/FeatureListValidator.d.ts +12 -12
  164. package/build/components/utils/CompValidation/validators/ProductManagementValidator.d.ts +14 -14
  165. package/build/components/utils/CompValidation/verifiers.d.ts +32 -32
  166. package/build/components/utils/FtVisibilityController.d.ts +6 -6
  167. package/build/index.cjs.js +3320 -3672
  168. package/build/index.d.ts +73 -72
  169. package/build/index.js +3267 -3620
  170. package/build/plugins/AppearanceEditor/Root.d.ts +7 -7
  171. package/build/plugins/AppearanceEditor/index.d.ts +7 -7
  172. package/build/plugins/Boolean/Root.d.ts +6 -6
  173. package/build/plugins/Boolean/index.d.ts +4 -4
  174. package/build/plugins/BoundingBoxInfo/Root.d.ts +7 -7
  175. package/build/plugins/BoundingBoxInfo/View.d.ts +6 -6
  176. package/build/plugins/BoundingBoxInfo/index.d.ts +5 -5
  177. package/build/plugins/Box/Root.d.ts +6 -6
  178. package/build/plugins/Box/index.d.ts +4 -4
  179. package/build/plugins/Chamfer/Root.d.ts +6 -6
  180. package/build/plugins/Chamfer/index.d.ts +4 -4
  181. package/build/plugins/CircularPattern/Root.d.ts +6 -6
  182. package/build/plugins/CircularPattern/index.d.ts +4 -4
  183. package/build/plugins/CompositeCurve/Root.d.ts +6 -6
  184. package/build/plugins/CompositeCurve/View.d.ts +6 -6
  185. package/build/plugins/CompositeCurve/index.d.ts +5 -5
  186. package/build/plugins/Cone/Root.d.ts +6 -6
  187. package/build/plugins/Cone/index.d.ts +4 -4
  188. package/build/plugins/Cylinder/Root.d.ts +6 -6
  189. package/build/plugins/Cylinder/index.d.ts +4 -4
  190. package/build/plugins/Dimensions/DimContext.d.ts +10 -10
  191. package/build/plugins/Dimensions/Root.d.ts +6 -6
  192. package/build/plugins/Dimensions/View.d.ts +6 -6
  193. package/build/plugins/Dimensions/graphics/DimGraphics.d.ts +7 -7
  194. package/build/plugins/Dimensions/graphics/DimensionSet.d.ts +8 -8
  195. package/build/plugins/Dimensions/graphics/primitives.d.ts +35 -35
  196. package/build/plugins/Dimensions/index.d.ts +5 -5
  197. package/build/plugins/Dimensions/utils.d.ts +5 -5
  198. package/build/plugins/EntityDeletion/Root.d.ts +6 -6
  199. package/build/plugins/EntityDeletion/index.d.ts +4 -4
  200. package/build/plugins/Expressions/Root.d.ts +6 -6
  201. package/build/plugins/Expressions/index.d.ts +4 -4
  202. package/build/plugins/Expressions/useContextMenuItems.d.ts +5 -5
  203. package/build/plugins/Extrusion/Root.d.ts +6 -6
  204. package/build/plugins/Extrusion/View.d.ts +6 -6
  205. package/build/plugins/Extrusion/index.d.ts +10 -10
  206. package/build/plugins/Fillet/Root.d.ts +6 -6
  207. package/build/plugins/Fillet/index.d.ts +4 -4
  208. package/build/plugins/HLConstraints/CircularPattern/Root.d.ts +6 -6
  209. package/build/plugins/HLConstraints/CircularPattern/View.d.ts +6 -6
  210. package/build/plugins/HLConstraints/CircularPattern/index.d.ts +5 -5
  211. package/build/plugins/HLConstraints/Cylindrical/Root.d.ts +6 -6
  212. package/build/plugins/HLConstraints/Cylindrical/View.d.ts +6 -6
  213. package/build/plugins/HLConstraints/Cylindrical/index.d.ts +5 -5
  214. package/build/plugins/HLConstraints/Fastened/Root.d.ts +6 -6
  215. package/build/plugins/HLConstraints/Fastened/View.d.ts +6 -6
  216. package/build/plugins/HLConstraints/Fastened/index.d.ts +5 -5
  217. package/build/plugins/HLConstraints/FastenedOrigin/Root.d.ts +6 -6
  218. package/build/plugins/HLConstraints/FastenedOrigin/View.d.ts +6 -6
  219. package/build/plugins/HLConstraints/FastenedOrigin/index.d.ts +5 -5
  220. package/build/plugins/HLConstraints/Gear/Root.d.ts +6 -6
  221. package/build/plugins/HLConstraints/Gear/View.d.ts +6 -6
  222. package/build/plugins/HLConstraints/Gear/index.d.ts +5 -5
  223. package/build/plugins/HLConstraints/Group/Root.d.ts +6 -6
  224. package/build/plugins/HLConstraints/Group/index.d.ts +4 -4
  225. package/build/plugins/HLConstraints/LinearPattern/Root.d.ts +6 -6
  226. package/build/plugins/HLConstraints/LinearPattern/View.d.ts +6 -6
  227. package/build/plugins/HLConstraints/LinearPattern/index.d.ts +5 -5
  228. package/build/plugins/HLConstraints/Parallel/Root.d.ts +6 -6
  229. package/build/plugins/HLConstraints/Parallel/View.d.ts +6 -6
  230. package/build/plugins/HLConstraints/Parallel/index.d.ts +5 -5
  231. package/build/plugins/HLConstraints/Planar/Root.d.ts +6 -6
  232. package/build/plugins/HLConstraints/Planar/View.d.ts +6 -6
  233. package/build/plugins/HLConstraints/Planar/index.d.ts +5 -5
  234. package/build/plugins/HLConstraints/Revolute/Root.d.ts +6 -6
  235. package/build/plugins/HLConstraints/Revolute/View.d.ts +6 -6
  236. package/build/plugins/HLConstraints/Revolute/index.d.ts +5 -5
  237. package/build/plugins/HLConstraints/Slider/Root.d.ts +6 -6
  238. package/build/plugins/HLConstraints/Slider/View.d.ts +6 -6
  239. package/build/plugins/HLConstraints/Slider/index.d.ts +5 -5
  240. package/build/plugins/HLConstraints/Spherical/Root.d.ts +6 -6
  241. package/build/plugins/HLConstraints/Spherical/View.d.ts +6 -6
  242. package/build/plugins/HLConstraints/Spherical/index.d.ts +5 -5
  243. package/build/plugins/HLConstraints/components/CSysDisplayWrapper.d.ts +7 -7
  244. package/build/plugins/HLConstraints/components/HLConstrIcon.d.ts +7 -7
  245. package/build/plugins/HLConstraints/components/LimitedValue.d.ts +12 -12
  246. package/build/plugins/HLConstraints/components/Limits.d.ts +25 -22
  247. package/build/plugins/HLConstraints/components/LimitsCollapse.d.ts +8 -8
  248. package/build/plugins/HLConstraints/validators.d.ts +2 -2
  249. package/build/plugins/Import/Root.d.ts +6 -6
  250. package/build/plugins/Import/index.d.ts +4 -4
  251. package/build/plugins/LinearPattern/Root.d.ts +6 -6
  252. package/build/plugins/LinearPattern/index.d.ts +4 -4
  253. package/build/plugins/Measure/Digits.d.ts +6 -6
  254. package/build/plugins/Measure/Root.d.ts +6 -6
  255. package/build/plugins/Measure/View.d.ts +10 -10
  256. package/build/plugins/Measure/config.d.ts +1 -1
  257. package/build/plugins/Measure/graphics/MeasureGraphics.d.ts +24 -24
  258. package/build/plugins/Measure/index.d.ts +9 -9
  259. package/build/plugins/Measure/utils.d.ts +1 -1
  260. package/build/plugins/Mirror/Root.d.ts +6 -6
  261. package/build/plugins/Mirror/index.d.ts +4 -4
  262. package/build/plugins/Revolve/Root.d.ts +6 -6
  263. package/build/plugins/Revolve/index.d.ts +4 -4
  264. package/build/plugins/Rotate/Root.d.ts +6 -6
  265. package/build/plugins/Rotate/index.d.ts +4 -4
  266. package/build/plugins/Sketch/Root/Constraints/Constraints.d.ts +2 -2
  267. package/build/plugins/Sketch/Root/Constraints/constraintsHelpers.d.ts +21 -19
  268. package/build/plugins/Sketch/Root/Constraints/index.d.ts +2 -2
  269. package/build/plugins/Sketch/Root/Constraints/utils.d.ts +6 -6
  270. package/build/plugins/Sketch/Root/CopyPatterns.d.ts +2 -7
  271. package/build/plugins/Sketch/Root/Details.d.ts +2 -2
  272. package/build/plugins/Sketch/Root/Handlers.d.ts +3 -3
  273. package/build/plugins/Sketch/Root/PlaneSelection.d.ts +7 -7
  274. package/build/plugins/Sketch/Root/Position.d.ts +2 -2
  275. package/build/plugins/Sketch/Root/Regions.d.ts +2 -2
  276. package/build/plugins/Sketch/Root/Root.d.ts +6 -6
  277. package/build/plugins/Sketch/Root/RootContext.d.ts +7 -7
  278. package/build/plugins/Sketch/Root/SketchGroup.d.ts +9 -9
  279. package/build/plugins/Sketch/Root/index.d.ts +1 -1
  280. package/build/plugins/Sketch/Root/useContextMenuItems.d.ts +5 -5
  281. package/build/plugins/Sketch/Root/useLayoutSize.d.ts +11 -11
  282. package/build/plugins/Sketch/View/View.d.ts +6 -6
  283. package/build/plugins/Sketch/View/ViewContext.d.ts +8 -8
  284. package/build/plugins/Sketch/View/graphics/Constraints.d.ts +5 -5
  285. package/build/plugins/Sketch/View/graphics/IconGroups.d.ts +7 -7
  286. package/build/plugins/Sketch/View/graphics/Merged/Arc.d.ts +12 -12
  287. package/build/plugins/Sketch/View/graphics/Merged/ArcGeometry.d.ts +2 -2
  288. package/build/plugins/Sketch/View/graphics/Merged/ArcMaterial.d.ts +2 -2
  289. package/build/plugins/Sketch/View/graphics/Merged/Circle.d.ts +8 -8
  290. package/build/plugins/Sketch/View/graphics/Merged/Line.d.ts +10 -10
  291. package/build/plugins/Sketch/View/graphics/Merged/MergedWrapper.d.ts +24 -24
  292. package/build/plugins/Sketch/View/graphics/Merged/Point.d.ts +8 -8
  293. package/build/plugins/Sketch/View/graphics/MousePosition.d.ts +2 -2
  294. package/build/plugins/Sketch/View/graphics/Regions.d.ts +5 -5
  295. package/build/plugins/Sketch/View/graphics/TmpAngularDimension.d.ts +8 -8
  296. package/build/plugins/Sketch/View/graphics/graphics.d.ts +5 -5
  297. package/build/plugins/Sketch/View/graphics/hooks.d.ts +38 -38
  298. package/build/plugins/Sketch/View/graphics/primitives.d.ts +34 -34
  299. package/build/plugins/Sketch/View/graphics/scale.d.ts +5 -5
  300. package/build/plugins/Sketch/View/graphics/tmpGraphics.d.ts +3 -3
  301. package/build/plugins/Sketch/View/handlers/CreateAngle.d.ts +3 -3
  302. package/build/plugins/Sketch/View/handlers/Drag.d.ts +3 -3
  303. package/build/plugins/Sketch/View/handlers/DrawArc.d.ts +3 -3
  304. package/build/plugins/Sketch/View/handlers/DrawCircle.d.ts +3 -3
  305. package/build/plugins/Sketch/View/handlers/DrawLine.d.ts +3 -3
  306. package/build/plugins/Sketch/View/handlers/DrawPoint.d.ts +3 -3
  307. package/build/plugins/Sketch/View/handlers/DrawRectangle.d.ts +3 -3
  308. package/build/plugins/Sketch/View/handlers/Fillet.d.ts +3 -3
  309. package/build/plugins/Sketch/View/handlers/HandlersConstructors.d.ts +28 -28
  310. package/build/plugins/Sketch/View/handlers/Hover.d.ts +3 -3
  311. package/build/plugins/Sketch/View/handlers/SSelect.d.ts +3 -3
  312. package/build/plugins/Sketch/View/handlers/Split.d.ts +3 -3
  313. package/build/plugins/Sketch/View/handlers/Trim.d.ts +3 -3
  314. package/build/plugins/Sketch/View/handlers/Use.d.ts +3 -3
  315. package/build/plugins/Sketch/View/handlers/filletHelpers.d.ts +22 -40
  316. package/build/plugins/Sketch/View/handlers/hoverHelpers.d.ts +3 -3
  317. package/build/plugins/Sketch/View/handlers/snapper.d.ts +11 -11
  318. package/build/plugins/Sketch/View/handlers/splitHelpers.d.ts +19 -19
  319. package/build/plugins/Sketch/View/index.d.ts +1 -1
  320. package/build/plugins/Sketch/constants.d.ts +5 -5
  321. package/build/plugins/Sketch/description.d.ts +2 -2
  322. package/build/plugins/Sketch/index.d.ts +4 -4
  323. package/build/plugins/Sketch/resources.d.ts +5 -5
  324. package/build/plugins/Sketch/types.d.ts +133 -131
  325. package/build/plugins/Sketch/utils/Interaction.d.ts +7 -7
  326. package/build/plugins/Sketch/utils/OverdefinedStateManager.d.ts +6 -6
  327. package/build/plugins/Sketch/utils/getSketchState.d.ts +3 -3
  328. package/build/plugins/Sketch/utils/useSketchRegions.d.ts +2 -2
  329. package/build/plugins/Sketch/utils/useSketchState.d.ts +4 -4
  330. package/build/plugins/Slice/Root.d.ts +6 -6
  331. package/build/plugins/Slice/index.d.ts +4 -4
  332. package/build/plugins/SliceBySheet/Root.d.ts +6 -6
  333. package/build/plugins/SliceBySheet/index.d.ts +4 -4
  334. package/build/plugins/Sphere/Root.d.ts +6 -6
  335. package/build/plugins/Sphere/index.d.ts +4 -4
  336. package/build/plugins/TransformByCsys/Root.d.ts +6 -6
  337. package/build/plugins/TransformByCsys/index.d.ts +4 -4
  338. package/build/plugins/Translate/Root.d.ts +6 -6
  339. package/build/plugins/Translate/index.d.ts +4 -4
  340. package/build/plugins/Twist/Root.d.ts +6 -6
  341. package/build/plugins/Twist/View.d.ts +6 -6
  342. package/build/plugins/Twist/index.d.ts +10 -10
  343. package/build/plugins/WorkAxis/Root.d.ts +6 -6
  344. package/build/plugins/WorkAxis/View.d.ts +6 -6
  345. package/build/plugins/WorkAxis/index.d.ts +5 -5
  346. package/build/plugins/WorkCSys/Root.d.ts +6 -6
  347. package/build/plugins/WorkCSys/View.d.ts +6 -6
  348. package/build/plugins/WorkCSys/index.d.ts +14 -14
  349. package/build/plugins/WorkCoordSystem/Root.d.ts +6 -6
  350. package/build/plugins/WorkCoordSystem/View.d.ts +6 -6
  351. package/build/plugins/WorkCoordSystem/index.d.ts +14 -14
  352. package/build/plugins/WorkPlane/Root.d.ts +6 -6
  353. package/build/plugins/WorkPlane/View.d.ts +6 -6
  354. package/build/plugins/WorkPlane/index.d.ts +5 -5
  355. package/build/plugins/WorkPlane/validators.d.ts +1 -1
  356. package/build/plugins/WorkPoint/Root.d.ts +6 -6
  357. package/build/plugins/WorkPoint/View.d.ts +6 -6
  358. package/build/plugins/WorkPoint/index.d.ts +5 -5
  359. package/build/plugins/components/PluginForm.d.ts +24 -36
  360. package/build/plugins/utils/useRefsReset.d.ts +2 -2
  361. package/build/types.d.ts +17 -17
  362. package/build/utils/FileUtils.d.ts +18 -18
  363. package/build/utils/conversionUtils.d.ts +16 -0
  364. package/build/utils/defaultValues.d.ts +3 -3
  365. package/build/utils/drawing/index.d.ts +3 -3
  366. package/build/utils/drawing/useDrawingArr.d.ts +10 -10
  367. package/build/utils/drawing/useDrawingCCId.d.ts +10 -10
  368. package/build/utils/drawing/useDrawingStr.d.ts +10 -10
  369. package/build/utils/getHighlightedColor.d.ts +1 -1
  370. package/build/utils/getMatePath.d.ts +2 -2
  371. package/build/utils/getMateRefIds.d.ts +2 -2
  372. package/build/utils/helpers.d.ts +18 -18
  373. package/build/utils/mateUtils.d.ts +2 -2
  374. package/build/utils/selection/filters.d.ts +12 -12
  375. package/build/utils/selection/scopes/mateSelection.d.ts +29 -29
  376. package/build/utils/selection/scopes/treeObjInteraction.d.ts +37 -37
  377. package/build/utils/selection/useSelectorsOrder.d.ts +12 -12
  378. package/build/utils/sketchIntersectionUtils.d.ts +29 -29
  379. package/build/utils/sketchUtils.d.ts +173 -173
  380. package/build/utils/useAllObjects.d.ts +2 -2
  381. package/build/utils/useIsUncommited.d.ts +2 -2
  382. package/build/utils/useRetainVisibility.d.ts +2 -2
  383. package/build/utils/useScale.d.ts +4 -2
  384. package/build/utils/validation.d.ts +11 -12
  385. package/package.json +107 -107
@@ -1,131 +1,133 @@
1
- import { ThreeEvent, ReactThreeFiber } from '@react-three/fiber';
2
- import { IStructureObject, ObjectID } from '@buerli.io/core';
3
- import { InfinityPlane } from '../../components/graphics/InfinityPlane';
4
- import { Geometry } from 'three-stdlib';
5
- export declare type HighlightedConstraintsT = Array<{
6
- constraintId: ObjectID;
7
- geometryId: ObjectID;
8
- }>;
9
- export declare type SketchPState = {
10
- alwaysShowConstr: boolean;
11
- showCoincidence: boolean;
12
- showRigidSets: boolean;
13
- activeHandler: HandlersList | undefined;
14
- handlers: {
15
- [key: string]: Handler;
16
- };
17
- tmpObjects: {
18
- [key: string]: TmpObject;
19
- };
20
- highlighted: ObjectID[];
21
- interaction: {
22
- cycle: number;
23
- objects: ObjectID[];
24
- lastHoveredPos: {
25
- [key: ObjectID]: THREE.Vector3;
26
- };
27
- constraintsToGeometry: {
28
- [key: ObjectID]: ObjectID;
29
- };
30
- };
31
- overdefined: {
32
- [key: ObjectID]: ObjectID[];
33
- };
34
- isDragged: boolean;
35
- scale: number;
36
- step: number;
37
- mousePos: THREE.Vector3 | undefined;
38
- cursor: null | string;
39
- needsUpdate: number;
40
- };
41
- export declare type TmpObjectID = string;
42
- export declare enum HandlersList {
43
- CREATEANGLE = "createAngle",
44
- DRAG = "drag",
45
- DRAWPOINT = "drawPoint",
46
- DRAWLINE = "drawLine",
47
- DRAWRECT2POINTS = "drawRect2Points",
48
- DRAWRECTCENTER = "drawRectCenter",
49
- DRAWARCTANGENT = "drawArcTangent",
50
- DRAWARCCENTER = "drawArcCenter",
51
- DRAWARCMIDDLE = "drawArcMidlde",
52
- DRAWCIRCLE = "drawCircle",
53
- FILLET = "fillet",
54
- HOVER = "hover",
55
- TRIM = "trim",
56
- SPLIT = "split",
57
- USEGEOM = "useGeometry",
58
- USEREF = "useReference",
59
- SSELECT = "sSelect"
60
- }
61
- export declare type PointerEventsT = {
62
- target: any;
63
- pointerId: any;
64
- };
65
- export declare type Handler = {
66
- name: HandlersList;
67
- filter: (object: IStructureObject) => boolean;
68
- onActivate?: () => void;
69
- onDeactivate?: (() => void) | (() => Promise<void>);
70
- pointerHandlers: Record<string, (e: ThreeEvent<PointerEvent> & PointerEventsT) => void>;
71
- keyHandlers?: Record<string, (e: KeyboardEvent) => boolean | void>;
72
- };
73
- export declare enum TmpObjClasses {
74
- Line = "Line",
75
- Point = "Point",
76
- Circle = "Cirlce",
77
- Arc = "Arc",
78
- AngularDimension = "AngularDimension",
79
- Rectangle = "Rectangle"
80
- }
81
- declare type TmpObjectCommon = {
82
- class: TmpObjClasses;
83
- id: string;
84
- color?: THREE.ColorRepresentation;
85
- };
86
- export declare type TmpLineT = TmpObjectCommon & {
87
- startPId: TmpObjectID;
88
- endPId: TmpObjectID;
89
- };
90
- export declare type TmpRectT = TmpObjectCommon & {
91
- start: THREE.Vector3;
92
- end: THREE.Vector3;
93
- isSquare: boolean;
94
- isCentered: boolean;
95
- };
96
- export declare type TmpPointT = TmpObjectCommon & {
97
- position: THREE.Vector3;
98
- size?: number;
99
- };
100
- export declare type TmpArcT = TmpObjectCommon & {
101
- startPId: TmpObjectID;
102
- endPId: TmpObjectID;
103
- centerPId: TmpObjectID;
104
- clockwise: boolean;
105
- drawAsLine?: boolean;
106
- };
107
- export declare type TmpCircleT = TmpObjectCommon & {
108
- centerPId: TmpObjectID;
109
- radius: number;
110
- };
111
- export declare type TmpAngularDimensionT = TmpObjectCommon & {
112
- dir0: THREE.Vector3;
113
- dir1: THREE.Vector3;
114
- center: THREE.Vector3;
115
- dimPos: THREE.Vector3;
116
- reflex: number;
117
- };
118
- export declare type TmpObject = TmpLineT | TmpPointT | TmpArcT | TmpCircleT | TmpAngularDimensionT | TmpRectT;
119
- export declare type TmpObjects = {
120
- [key: string]: TmpObject;
121
- };
122
- declare global {
123
- type InfinityPlaneT = ReactThreeFiber.Object3DNode<InfinityPlane, typeof InfinityPlane>;
124
- namespace JSX {
125
- interface IntrinsicElements {
126
- infinityPlane: InfinityPlaneT;
127
- geometry: ReactThreeFiber.Node<Geometry, typeof Geometry>;
128
- }
129
- }
130
- }
131
- export {};
1
+ import { ThreeEvent, ReactThreeFiber } from '@react-three/fiber';
2
+ import { ScgObject, ObjectID } from '@buerli.io/core';
3
+ import { InfinityPlane } from '../../components/graphics/InfinityPlane';
4
+ import { Geometry } from 'three-stdlib';
5
+ export declare type HighlightedConstraintsT = Array<{
6
+ constraintId: ObjectID;
7
+ geometryId: ObjectID;
8
+ }>;
9
+ export declare type SketchPState = {
10
+ alwaysShowConstr: boolean;
11
+ showCoincidence: boolean;
12
+ showRigidSets: boolean;
13
+ activeHandler: HandlersList | undefined;
14
+ handlers: {
15
+ [key: string]: Handler;
16
+ };
17
+ tmpObjects: {
18
+ [key: string]: TmpObject;
19
+ };
20
+ highlighted: ObjectID[];
21
+ interaction: {
22
+ cycle: number;
23
+ objects: ObjectID[];
24
+ lastHoveredPos: {
25
+ [key: ObjectID]: THREE.Vector3;
26
+ };
27
+ constraintsToGeometry: {
28
+ [key: ObjectID]: ObjectID;
29
+ };
30
+ };
31
+ overdefined: {
32
+ [key: ObjectID]: ObjectID[];
33
+ };
34
+ isDragged: boolean;
35
+ scale: number;
36
+ step: number;
37
+ mousePos: THREE.Vector3 | undefined;
38
+ cursor: null | string;
39
+ needsUpdate: number;
40
+ };
41
+ export declare type TmpObjectID = string;
42
+ export declare enum HandlersList {
43
+ CREATEANGLE = "createAngle",
44
+ DRAG = "drag",
45
+ DRAWPOINT = "drawPoint",
46
+ DRAWLINE = "drawLine",
47
+ DRAWRECT2POINTS = "drawRect2Points",
48
+ DRAWRECTCENTER = "drawRectCenter",
49
+ DRAWARCTANGENT = "drawArcTangent",
50
+ DRAWARCCENTER = "drawArcCenter",
51
+ DRAWARCMIDDLE = "drawArcMidlde",
52
+ DRAWCIRCLE = "drawCircle",
53
+ FILLET = "fillet",
54
+ HOVER = "hover",
55
+ TRIM = "trim",
56
+ SPLIT = "split",
57
+ USEGEOM = "useGeometry",
58
+ USEREF = "useReference",
59
+ SSELECT = "sSelect"
60
+ }
61
+ export declare type PointerEventsT = {
62
+ target: any;
63
+ pointerId: any;
64
+ };
65
+ export declare type Handler = {
66
+ name: HandlersList;
67
+ filter: (object: ScgObject) => boolean;
68
+ onActivate?: () => void;
69
+ onDeactivate?: (() => void) | (() => Promise<void>);
70
+ pointerHandlers: Record<string, (e: ThreeEvent<PointerEvent> & PointerEventsT) => void>;
71
+ keyHandlers?: Record<string, (e: KeyboardEvent) => boolean | void>;
72
+ };
73
+ export declare enum TmpObjClasses {
74
+ Line = "Line",
75
+ Point = "Point",
76
+ Circle = "Cirlce",
77
+ Arc = "Arc",
78
+ AngularDimension = "AngularDimension",
79
+ Rectangle = "Rectangle"
80
+ }
81
+ declare type TmpObjectCommon = {
82
+ class: TmpObjClasses;
83
+ id: string;
84
+ color?: THREE.ColorRepresentation;
85
+ };
86
+ export declare type TmpLineT = TmpObjectCommon & {
87
+ startPId: TmpObjectID;
88
+ endPId: TmpObjectID;
89
+ };
90
+ export declare type TmpRectT = TmpObjectCommon & {
91
+ start: THREE.Vector3;
92
+ end: THREE.Vector3;
93
+ isSquare: boolean;
94
+ isCentered: boolean;
95
+ };
96
+ export declare type TmpPointT = TmpObjectCommon & {
97
+ position: THREE.Vector3;
98
+ size?: number;
99
+ };
100
+ export declare type TmpArcT = TmpObjectCommon & {
101
+ startPId: TmpObjectID;
102
+ endPId: TmpObjectID;
103
+ centerPId: TmpObjectID;
104
+ clockwise: boolean;
105
+ drawAsLine?: boolean;
106
+ };
107
+ export declare type TmpCircleT = TmpObjectCommon & {
108
+ centerPId: TmpObjectID;
109
+ radius: number;
110
+ };
111
+ export declare type TmpAngularDimensionT = TmpObjectCommon & {
112
+ dir0: THREE.Vector3;
113
+ dir1: THREE.Vector3;
114
+ center: THREE.Vector3;
115
+ dimPos: THREE.Vector3;
116
+ reflex: number;
117
+ };
118
+ export declare type TmpObject = TmpLineT | TmpPointT | TmpArcT | TmpCircleT | TmpAngularDimensionT | TmpRectT;
119
+ export declare type TmpObjects = {
120
+ [key: string]: TmpObject;
121
+ };
122
+ export declare type ConstraintType = 'COINCIDENT' | 'COLINEAR' | 'CONCENTRIC' | 'EQUAL_LENGTH' | 'EQUAL_RADIUS' | 'FIXATION' | 'HORIZONTAL' | 'MIDPOINT' | 'PARALLEL' | 'PERPENDICULAR' | 'SPLINE_FIT_POINT' | 'SYMMETRY' | 'TANGENT' | 'VERTICAL';
123
+ export declare type DimensionType = 'RADIUS' | 'DIAMETER' | 'OFFSET' | 'HORIZONTAL_DISTANCE' | 'VERTICAL_DISTANCE' | 'ANGLE' | 'ANGLEOX';
124
+ declare global {
125
+ type InfinityPlaneT = ReactThreeFiber.Object3DNode<InfinityPlane, typeof InfinityPlane>;
126
+ namespace JSX {
127
+ interface IntrinsicElements {
128
+ infinityPlane: InfinityPlaneT;
129
+ geometry: ReactThreeFiber.Node<Geometry, typeof Geometry>;
130
+ }
131
+ }
132
+ }
133
+ export {};
@@ -1,7 +1,7 @@
1
- import * as THREE from 'three';
2
- import { DrawingID, PluginID, ObjectID } from '@buerli.io/core';
3
- export declare const hover: (drawingId: DrawingID, pluginId: PluginID, objIds: ObjectID[], hoverPos?: THREE.Vector3) => void;
4
- export declare const unhover: (drawingId: DrawingID, pluginId: PluginID, objId: ObjectID) => void;
5
- export declare const select: (drawingId: DrawingID, selectedId: ObjectID) => void;
6
- export declare const setSelected: (drawingId: DrawingID, selectedIds: ObjectID[]) => void;
7
- export declare const tab: (drawingId: DrawingID, pluginId: PluginID) => void;
1
+ import * as THREE from 'three';
2
+ import { DrawingID, PluginID, ObjectID } from '@buerli.io/core';
3
+ export declare const hover: (drawingId: DrawingID, pluginId: PluginID, objIds: ObjectID[], hoverPos?: THREE.Vector3) => void;
4
+ export declare const unhover: (drawingId: DrawingID, pluginId: PluginID, objId: ObjectID) => void;
5
+ export declare const select: (drawingId: DrawingID, selectedId: ObjectID) => void;
6
+ export declare const setSelected: (drawingId: DrawingID, selectedIds: ObjectID[]) => void;
7
+ export declare const tab: (drawingId: DrawingID, pluginId: PluginID) => void;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const OverdefinedStateManager: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const OverdefinedStateManager: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,3 +1,3 @@
1
- import { DrawingID, PluginID } from '@buerli.io/core';
2
- import { SketchPState } from '../types';
3
- export declare function getSketchState(drawingId: DrawingID, pluginId: PluginID): SketchPState;
1
+ import { DrawingID, PluginID } from '@buerli.io/core';
2
+ import { SketchPState } from '../types';
3
+ export declare function getSketchState(drawingId: DrawingID, pluginId: PluginID): SketchPState;
@@ -1,2 +1,2 @@
1
- import { DrawingID, ObjectID } from '@buerli.io/core';
2
- export declare const useSketchRegions: (drawingId: DrawingID, sketchId: ObjectID) => number[];
1
+ import { DrawingID, ObjectID } from '@buerli.io/core';
2
+ export declare const useSketchRegions: (drawingId: DrawingID, sketchId: ObjectID) => number[];
@@ -1,4 +1,4 @@
1
- import { EqualityChecker } from 'zustand';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- import { SketchPState } from '../types';
4
- export declare function useSketchState<T>(drawingId: DrawingID, pluginId: PluginID, sel: (state: SketchPState) => T, equalityFn?: EqualityChecker<T | undefined> | undefined): T;
1
+ import { EqualityChecker } from 'zustand';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ import { SketchPState } from '../types';
4
+ export declare function useSketchState<T>(drawingId: DrawingID, pluginId: PluginID, sel: (state: SketchPState) => T, equalityFn?: EqualityChecker<T | undefined> | undefined): T;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,4 +1,4 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- declare const description: PluginDescription;
4
- export { Root, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ declare const description: PluginDescription;
4
+ export { Root, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,4 +1,4 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- declare const description: PluginDescription;
4
- export { Root, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ declare const description: PluginDescription;
4
+ export { Root, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,4 +1,4 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- declare const description: PluginDescription;
4
- export { Root, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ declare const description: PluginDescription;
4
+ export { Root, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,4 +1,4 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- declare const description: PluginDescription;
4
- export { Root, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ declare const description: PluginDescription;
4
+ export { Root, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,4 +1,4 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- declare const description: PluginDescription;
4
- export { Root, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ declare const description: PluginDescription;
4
+ export { Root, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const View: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const View: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,10 +1,10 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- import { View } from './View';
4
- export declare type TwistPState = {
5
- originPos: THREE.Vector3 | undefined;
6
- xDir: THREE.Vector3 | undefined;
7
- yDir: THREE.Vector3 | undefined;
8
- };
9
- declare const description: PluginDescription;
10
- export { Root, View, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ import { View } from './View';
4
+ export declare type TwistPState = {
5
+ originPos: THREE.Vector3 | undefined;
6
+ xDir: THREE.Vector3 | undefined;
7
+ yDir: THREE.Vector3 | undefined;
8
+ };
9
+ declare const description: PluginDescription;
10
+ export { Root, View, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const View: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const View: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,5 +1,5 @@
1
- import { PluginDescription } from '@buerli.io/core';
2
- import { Root } from './Root';
3
- import { View } from './View';
4
- declare const description: PluginDescription;
5
- export { Root, View, description };
1
+ import { PluginDescription } from '@buerli.io/core';
2
+ import { Root } from './Root';
3
+ import { View } from './View';
4
+ declare const description: PluginDescription;
5
+ export { Root, View, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const View: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const View: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,14 +1,14 @@
1
- import * as THREE from 'three';
2
- import { PluginDescription } from '@buerli.io/core';
3
- import { Root } from './Root';
4
- import { View } from './View';
5
- export declare type InternalState = {
6
- originPos: THREE.Vector3 | undefined;
7
- xDir: THREE.Vector3 | undefined;
8
- yDir: THREE.Vector3 | undefined;
9
- offset: THREE.Vector3;
10
- rotation: THREE.Vector3;
11
- inverted: 0 | 1;
12
- };
13
- declare const description: PluginDescription<InternalState>;
14
- export { Root, View, description };
1
+ import * as THREE from 'three';
2
+ import { PluginDescription } from '@buerli.io/core';
3
+ import { Root } from './Root';
4
+ import { View } from './View';
5
+ export declare type InternalState = {
6
+ originPos: THREE.Vector3 | undefined;
7
+ xDir: THREE.Vector3 | undefined;
8
+ yDir: THREE.Vector3 | undefined;
9
+ offset: THREE.Vector3;
10
+ rotation: THREE.Vector3;
11
+ inverted: 0 | 1;
12
+ };
13
+ declare const description: PluginDescription<InternalState>;
14
+ export { Root, View, description };
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const Root: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const Root: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { DrawingID, PluginID } from '@buerli.io/core';
3
- export declare const View: React.FC<{
4
- drawingId: DrawingID;
5
- pluginId: PluginID;
6
- }>;
1
+ import React from 'react';
2
+ import { DrawingID, PluginID } from '@buerli.io/core';
3
+ export declare const View: React.FC<{
4
+ drawingId: DrawingID;
5
+ pluginId: PluginID;
6
+ }>;
@@ -1,14 +1,14 @@
1
- import * as THREE from 'three';
2
- import { PluginDescription } from '@buerli.io/core';
3
- import { Root } from './Root';
4
- import { View } from './View';
5
- export declare type InternalState = {
6
- originPos: THREE.Vector3 | undefined;
7
- xDir: THREE.Vector3 | undefined;
8
- yDir: THREE.Vector3 | undefined;
9
- offset: THREE.Vector3;
10
- rotation: THREE.Vector3;
11
- inverted: 0 | 1;
12
- };
13
- declare const description: PluginDescription<InternalState>;
14
- export { Root, View, description };
1
+ import * as THREE from 'three';
2
+ import { PluginDescription } from '@buerli.io/core';
3
+ import { Root } from './Root';
4
+ import { View } from './View';
5
+ export declare type InternalState = {
6
+ originPos: THREE.Vector3 | undefined;
7
+ xDir: THREE.Vector3 | undefined;
8
+ yDir: THREE.Vector3 | undefined;
9
+ offset: THREE.Vector3;
10
+ rotation: THREE.Vector3;
11
+ inverted: 0 | 1;
12
+ };
13
+ declare const description: PluginDescription<InternalState>;
14
+ export { Root, View, description };