build-dxf 0.1.22 → 0.1.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.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/src/DomEventRegister.js +4 -5
  3. package/src/build.d.ts +1 -0
  4. package/src/build.js +6689 -3068
  5. package/src/components/DragContainer.vue.d.ts +44 -0
  6. package/src/index.css +111 -66
  7. package/src/index.js +10 -10
  8. package/src/index2.js +0 -2
  9. package/src/index3.js +658 -226
  10. package/src/utils/DxfSystem/components/CorrectionDxf.d.ts +1 -1
  11. package/src/utils/DxfSystem/components/Dxf.d.ts +1 -1
  12. package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/Default.d.ts +1 -1
  13. package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/PropertiesPanel.d.ts +33 -0
  14. package/src/utils/DxfSystem/plugin/Editor/components/index.d.ts +1 -0
  15. package/src/utils/DxfSystem/plugin/Editor/pages/EditorTool.vue.d.ts +1 -4
  16. package/src/utils/DxfSystem/plugin/Editor/pages/PropertiesPanel.vue.d.ts +16 -0
  17. package/src/utils/DxfSystem/plugin/Editor/pages/components/Input.vue.d.ts +13 -0
  18. package/src/utils/DxfSystem/plugin/RenderPlugin/components/DomEventRegister.d.ts +1 -2
  19. package/src/utils/DxfSystem/type.d.ts +31 -27
  20. package/src/utils/DxfSystem/utils/BoundExt.d.ts +0 -4
  21. package/src/utils/DxfSystem/utils/BoundExt02.d.ts +46 -0
  22. package/src/utils/DxfSystem/utils/DoorFind.d.ts +4 -3
  23. package/src/utils/DxfSystem/utils/index.d.ts +1 -1
  24. package/src/utils/DxfSystem/utils/lineSegmentClipping.d.ts +1 -1
  25. package/src/utils/LineSegment.d.ts +1 -1
  26. package/src/utils/OBB.d.ts +30 -0
  27. package/src/utils/{PointCloud.d.ts → PCSparseOctree.d.ts} +2 -29
  28. package/src/utils/StorageHelper.d.ts +6 -0
  29. package/src/utils/index.d.ts +2 -0
  30. package/src/utils/isMobile.d.ts +1 -0
  31. package/src/utils/modelScenario/scenario.d.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-dxf",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "线段构建双线墙壁的dxf版本",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -425,14 +425,16 @@ class DomEventRegister extends Component {
425
425
  document.body.style.cursor = bodyCursor ?? "";
426
426
  });
427
427
  }
428
- /**
429
- *
428
+ /**
430
429
  * @param callBack
431
430
  */
432
431
  addCancelDefaultBehavior(callBack) {
433
432
  this.cancelDefaultBehaviorList.push(callBack);
434
433
  return this;
435
434
  }
435
+ destroy() {
436
+ this.canceEventRecord("destory");
437
+ }
436
438
  /**
437
439
  *
438
440
  * @param el
@@ -461,9 +463,6 @@ class DomEventRegister extends Component {
461
463
  el.removeEventListener("mousedown", onMousedown);
462
464
  };
463
465
  }
464
- destroy() {
465
- this.canceEventRecord("destory");
466
- }
467
466
  }
468
467
  export {
469
468
  DomEventRegister as D,
package/src/build.d.ts CHANGED
@@ -38,6 +38,7 @@ type HandleJsonOption = {
38
38
  itemInfo?: string | Record<string, any>;
39
39
  axisAlignCorr?: boolean;
40
40
  axisAlignCorrOption?: SetDataOption;
41
+ doorFind?: boolean;
41
42
  download?: {
42
43
  json?: string;
43
44
  dxf?: string;