build-dxf 0.0.54 → 0.0.56-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-dxf",
3
- "version": "0.0.54",
3
+ "version": "0.0.56-1",
4
4
  "description": "线段构建双线墙壁的dxf版本",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/build.js CHANGED
@@ -6798,7 +6798,7 @@ async function Ms(u, t, e = !1, n) {
6798
6798
  detailsPoint: !1,
6799
6799
  orbitControls: e,
6800
6800
  camera: t
6801
- })).usePlugin(i.Editor.create({ viewPermission: n })), a = o.findComponentByType(r.components.DomContainer);
6801
+ })).usePlugin(i.EditorPlugin.create({ viewPermission: n })), a = o.findComponentByType(r.components.DomContainer);
6802
6802
  return a && u.appendChild(a.domElement), Nt = o, {
6803
6803
  dxfSystem: o,
6804
6804
  getFileAll: () => ps(o)
package/src/index3.js CHANGED
@@ -2464,7 +2464,7 @@ const go = {
2464
2464
  t[n] = o;
2465
2465
  return t;
2466
2466
  }, No = /* @__PURE__ */ Ko(So, [["__scopeId", "data-v-f28c0a81"]]);
2467
- let Re = class extends Pe {
2467
+ class Re extends Pe {
2468
2468
  static name = "Editor";
2469
2469
  container = new p.Group();
2470
2470
  get renderer() {
@@ -2579,7 +2579,7 @@ let Re = class extends Pe {
2579
2579
  destroy() {
2580
2580
  this.commandManager.destroy(), super.destroy(), this.exitEdit(), this.renderer.scene.remove(this.container), this.domElement.remove(), this.app?.unmount();
2581
2581
  }
2582
- };
2582
+ }
2583
2583
  class Fo extends z {
2584
2584
  static name = "PointDrag";
2585
2585
  container = new p.Group();
@@ -2651,13 +2651,13 @@ class Fo extends z {
2651
2651
  function et(c, e = {}) {
2652
2652
  c.addComponent(new Re(e.viewPermission)), c.addComponent(new pt()), c.addComponent(new Fe()), c.addComponent(new Ne()), c.addComponent(new gt()), c.addComponent(new vt()), c.addComponent(new Fo()), c.addComponent(new oe()), c.addComponent(new ne()), c.addComponent(new ce()), c.addComponent(new se()), c.addComponent(new ae()), c.addComponent(new ie()), c.addComponent(new re()), c.addComponent(new de()), c.addComponent(new le()), c.addComponent(new ft());
2653
2653
  }
2654
- const Go = Object.assign(et, {
2654
+ const _o = Object.assign(et, {
2655
2655
  create(c = {}) {
2656
2656
  return (e) => et(e, c);
2657
2657
  }
2658
2658
  });
2659
2659
  export {
2660
- Go as Editor,
2660
+ _o as EditorPlugin,
2661
2661
  et as Editor_,
2662
2662
  jo as components
2663
2663
  };
@@ -4,7 +4,7 @@ type Option = {
4
4
  viewPermission?: "admin";
5
5
  };
6
6
  export declare function Editor_(dxfSystem: DxfSystem, option?: Option): void;
7
- declare const Editor: typeof Editor_ & {
7
+ declare const EditorPlugin: typeof Editor_ & {
8
8
  create(option?: Option): (dxfSystem: DxfSystem) => void;
9
9
  };
10
- export { Editor };
10
+ export { EditorPlugin };