@realsee/dnalogel 3.50.17-alpha.0 → 3.51.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 (118) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/ModelMakerPlugin/Controller.d.ts +2 -0
  3. package/dist/Sculpt/utils/export.d.ts +18 -0
  4. package/dist/index.cjs.js +207 -207
  5. package/dist/index.js +34866 -34775
  6. package/dist/index.umd.js +211 -211
  7. package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
  8. package/dist/shared-utils/index.d.ts +1 -0
  9. package/dist/shared-utils/tag.d.ts +40 -1
  10. package/dist/shared-utils/three/temp.d.ts +2 -2
  11. package/libs/AreaMakerPlugin/Controller.js +100 -46
  12. package/libs/AreaMakerPlugin/index.js +64 -10
  13. package/libs/AreaMakerPlugin/utils/Item.js +156 -100
  14. package/libs/CSS3DRenderPlugin/Controller.js +93 -44
  15. package/libs/CSS3DRenderPlugin/index.js +62 -13
  16. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +105 -49
  17. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +130 -77
  18. package/libs/CruisePlugin/BaseController.js +143 -89
  19. package/libs/CruisePlugin/Move.js +83 -39
  20. package/libs/CruisePlugin/Work.js +95 -51
  21. package/libs/CruisePlugin/index.js +66 -22
  22. package/libs/CurrentPanoImagePlugin/Controller.js +139 -85
  23. package/libs/CurrentPanoImagePlugin/index.js +63 -9
  24. package/libs/GuideLinePlugin/Controller.js +57 -13
  25. package/libs/GuideLinePlugin/GuideLineItem.js +63 -19
  26. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +6 -2
  27. package/libs/GuideLinePlugin/GuideLineModeItem.js +58 -14
  28. package/libs/GuideLinePlugin/index.js +66 -22
  29. package/libs/ModelMakerPlugin/Controller.d.ts +2 -0
  30. package/libs/ModelMakerPlugin/Controller.js +190 -129
  31. package/libs/ModelMakerPlugin/index.js +63 -21
  32. package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
  33. package/libs/ModelMakerPlugin/item/boxItem.js +5 -3
  34. package/libs/ModelMakerPlugin/item/polygonItem.js +9 -7
  35. package/libs/ModelMakerPlugin/item/prismItem.js +5 -3
  36. package/libs/ModelTVVideoPlugin/Plugin.js +96 -47
  37. package/libs/ModelTVVideoPlugin/index.js +55 -6
  38. package/libs/Object3DHelperPlugin/Controller.js +42 -25
  39. package/libs/Object3DHelperPlugin/index.js +28 -12
  40. package/libs/PanoCompassPlugin/Controller.js +92 -44
  41. package/libs/PanoCompassPlugin/index.js +63 -15
  42. package/libs/PanoDoorLabelPlugin/BaseController.js +79 -25
  43. package/libs/PanoDoorLabelPlugin/Controller.js +132 -78
  44. package/libs/PanoDoorLabelPlugin/index.js +63 -9
  45. package/libs/PanoMeasurePlugin/Components/Controller0.js +126 -77
  46. package/libs/PanoMeasurePlugin/Components/Controller1.js +139 -90
  47. package/libs/PanoMeasurePlugin/Controller/EditController.js +120 -71
  48. package/libs/PanoMeasurePlugin/Controller/WatchController.js +120 -70
  49. package/libs/PanoMeasurePlugin/Controller/index.js +132 -86
  50. package/libs/PanoMeasurePlugin/Model/area.js +72 -22
  51. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -0
  52. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +64 -15
  53. package/libs/PanoMeasurePlugin/index.js +62 -16
  54. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +57 -2
  55. package/libs/PanoRulerProPlugin/Controller.js +88 -33
  56. package/libs/PanoRulerProPlugin/RulerItems.js +146 -91
  57. package/libs/PanoRulerProPlugin/index.js +64 -9
  58. package/libs/PanoSpatialTagPlugin/Plugin.js +177 -128
  59. package/libs/PanoSpatialTagPlugin/index.js +53 -4
  60. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +116 -60
  61. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +192 -136
  62. package/libs/PanoTagPlugin/Components/Tag/index.js +194 -139
  63. package/libs/PanoTagPlugin/Components/TagContainer.js +112 -57
  64. package/libs/PanoTagPlugin/Components/TagItem.js +204 -149
  65. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +157 -101
  66. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -20
  67. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +86 -31
  68. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +93 -37
  69. package/libs/PanoTagPlugin/controller/TagRender.js +62 -18
  70. package/libs/PanoTagPlugin/controller/TagUtil.js +123 -79
  71. package/libs/PanoTagPlugin/controller/index.js +110 -72
  72. package/libs/PanoTagPlugin/index.js +72 -28
  73. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +77 -21
  74. package/libs/PanoVideoPlugin/Controller.js +95 -41
  75. package/libs/PanoVideoPlugin/VideoMeshController.js +119 -63
  76. package/libs/PanoVideoPlugin/index.js +66 -12
  77. package/libs/PipelinePlugin/Controller.js +173 -119
  78. package/libs/PipelinePlugin/index.js +63 -9
  79. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +70 -14
  80. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +58 -2
  81. package/libs/PipelinePlugin/utils/Objects/Pipe.js +98 -42
  82. package/libs/Sculpt/Meshes/Box.js +3 -2
  83. package/libs/Sculpt/Meshes/Cylinder.js +10 -6
  84. package/libs/Sculpt/Meshes/Line.js +43 -38
  85. package/libs/Sculpt/Meshes/LineWithDots.js +14 -10
  86. package/libs/Sculpt/Meshes/Point.js +24 -20
  87. package/libs/Sculpt/Meshes/Polygon.js +5 -2
  88. package/libs/Sculpt/Meshes/Prism.js +19 -16
  89. package/libs/Sculpt/Objects/Line/Editor.js +6 -5
  90. package/libs/Sculpt/index.js +15 -14
  91. package/libs/Sculpt/utils/export.d.ts +18 -0
  92. package/libs/Sculpt/utils/export.js +21 -0
  93. package/libs/Sculpt/utils/three/ColoredMesh.js +26 -22
  94. package/libs/base/BasePlugin.js +14 -10
  95. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +146 -94
  96. package/libs/floorplan/MapviewFloorplanPlugin/index.js +62 -10
  97. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -56
  98. package/libs/floorplan/ModelFloorplanPlugin/index.js +62 -9
  99. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +116 -63
  100. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +62 -9
  101. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +105 -52
  102. package/libs/floorplan/TopviewFloorplanPlugin/index.js +62 -9
  103. package/libs/floorplan/index.js +4 -0
  104. package/libs/index.js +208 -206
  105. package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
  106. package/libs/shared-utils/five/fiveEveryReadyListener.js +15 -0
  107. package/libs/shared-utils/five/index.js +6 -2
  108. package/libs/shared-utils/five/lookObject.js +31 -27
  109. package/libs/shared-utils/index.d.ts +1 -0
  110. package/libs/shared-utils/index.js +19 -17
  111. package/libs/shared-utils/logger.js +1 -1
  112. package/libs/shared-utils/tag.d.ts +40 -1
  113. package/libs/shared-utils/tag.js +139 -86
  114. package/libs/shared-utils/three/index.js +4 -0
  115. package/libs/shared-utils/three/temp.d.ts +2 -2
  116. package/libs/shared-utils/three/temp.js +4 -4
  117. package/package.json +1 -1
  118. package/README.md +0 -116
@@ -1,30 +1,30 @@
1
1
  var g = Object.defineProperty;
2
2
  var c = Object.getOwnPropertySymbols;
3
3
  var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
4
- var f = (r, n, e) => n in r ? g(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e, a = (r, n) => {
5
- for (var e in n || (n = {}))
6
- v.call(n, e) && f(r, e, n[e]);
4
+ var f = (n, r, i) => r in n ? g(n, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[r] = i, a = (n, r) => {
5
+ for (var i in r || (r = {}))
6
+ v.call(r, i) && f(n, i, r[i]);
7
7
  if (c)
8
- for (var e of c(n))
9
- b.call(n, e) && f(r, e, n[e]);
10
- return r;
8
+ for (var i of c(r))
9
+ b.call(r, i) && f(n, i, r[i]);
10
+ return n;
11
11
  };
12
- var o = (r, n, e) => (f(r, typeof n != "symbol" ? n + "" : n, e), e);
13
- var u = (r, n, e) => new Promise((i, t) => {
14
- var s = (d) => {
12
+ var o = (n, r, i) => (f(n, typeof r != "symbol" ? r + "" : r, i), i);
13
+ var l = (n, r, i) => new Promise((e, t) => {
14
+ var s = (m) => {
15
15
  try {
16
- p(e.next(d));
17
- } catch (m) {
18
- t(m);
16
+ d(i.next(m));
17
+ } catch (u) {
18
+ t(u);
19
19
  }
20
- }, l = (d) => {
20
+ }, p = (m) => {
21
21
  try {
22
- p(e.throw(d));
23
- } catch (m) {
24
- t(m);
22
+ d(i.throw(m));
23
+ } catch (u) {
24
+ t(u);
25
25
  }
26
- }, p = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, l);
27
- p((e = e.apply(r, n)).next());
26
+ }, d = (m) => m.done ? e(m.value) : Promise.resolve(m.value).then(s, p);
27
+ d((i = i.apply(n, r)).next());
28
28
  });
29
29
  import * as h from "three";
30
30
  import { Controller as M } from "../base/BasePlugin.js";
@@ -38,6 +38,10 @@ import "../vendor/three/examples/jsm/lines/LineGeometry.js";
38
38
  import "../shared-utils/three/core/Sphere.js";
39
39
  import "animejs";
40
40
  import { equal as P } from "../shared-utils/equal.js";
41
+ import "../Sculpt/Meshes/Polygon.js";
42
+ import "../Sculpt/utils/Modules/Global.js";
43
+ import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
44
+ import "../Sculpt/utils/three/rayOnLine.js";
41
45
  import { loadTexture as w } from "../shared-utils/three/loadTexture.js";
42
46
  import "../shared-utils/Subscribe.js";
43
47
  import "../shared-utils/Utils/FiveUtil.js";
@@ -51,7 +55,10 @@ import "../shared-utils/animationFrame/index.js";
51
55
  import "../shared-utils/positionToVector3.js";
52
56
  import "../shared-utils/five/vector3ToScreen.js";
53
57
  import "../shared-utils/three/temp.js";
58
+ import "../shared-utils/three/core/Raycaster.js";
54
59
  import "../shared-utils/dom/resizeObserver.js";
60
+ import "../shared-utils/five/fiveEveryReadyListener.js";
61
+ import "../shared-utils/throttle.js";
55
62
  import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
56
63
  import "../shared-utils/three/Magnifier.js";
57
64
  import "../shared-utils/three/PointSelector/utils/PointHelper.js";
@@ -83,10 +90,57 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
83
90
  import "../shared-utils/three/PointSelector/utils/contents.js";
84
91
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
85
92
  import "../vendor/three/build/three.module.js";
93
+ import "../shared-utils/three/generatePolygonGeometry.js";
94
+ import "../shared-utils/three/earcut3D.js";
95
+ import "earcut";
96
+ import "../shared-utils/three/getNormal.js";
97
+ import "../PanoMeasurePlugin/utils/isIntersecting.js";
98
+ import "../Sculpt/utils/three/ColoredMesh.js";
99
+ import "../shared-utils/three/geometryUtil.js";
100
+ import "../Sculpt/utils/Modules/Cursor.js";
101
+ import "../Object3DHelperPlugin/Controller.js";
102
+ import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
103
+ import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
104
+ import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
105
+ import "../shared-utils/three/boundingBox.js";
106
+ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
107
+ import "../shared-utils/Object3DHelper/utils/direction.js";
108
+ import "../shared-utils/Object3DHelper/Constants/color.js";
109
+ import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
110
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
111
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
112
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
113
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
114
+ import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
115
+ import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
116
+ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
117
+ import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
118
+ import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
119
+ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
120
+ import "../shared-utils/Object3DHelper/Controller/MoveController.js";
121
+ import "../shared-utils/Object3DHelper/Base/BaseController.js";
122
+ import "../shared-utils/threex/domevents/index.js";
123
+ import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
124
+ import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
125
+ import "../Object3DHelperPlugin/FiveControllerWrapper.js";
126
+ import "../shared-utils/Object3DHelper/index.js";
127
+ import "../shared-utils/Object3DHelper/Controller/RotateController.js";
128
+ import "../shared-utils/math/rad2Deg.js";
129
+ import "../shared-utils/math/deg2Rad.js";
130
+ import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
131
+ import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
132
+ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
133
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
134
+ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
135
+ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
136
+ import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
137
+ import "../shared-utils/five/fiveModelLoad.js";
138
+ import "../shared-utils/five/FiveDomEvents.js";
139
+ import "../shared-utils/five/calculateThreeMouse.js";
86
140
  import "../shared-utils/isTruelyObject.js";
87
141
  class Fe extends M {
88
- constructor(e, i) {
89
- super(e);
142
+ constructor(i, e) {
143
+ super(i);
90
144
  // ==================== public properties ====================
91
145
  /** 插件当前状态 */
92
146
  o(this, "state");
@@ -121,26 +175,26 @@ class Fe extends M {
121
175
  });
122
176
  o(this, "checkMeshVisible", () => this.state.visible ? this.config.imageURL === "" ? { result: !1, msg: "图片不存在" } : this.mesh.material.map ? this.five.work ? this.five.getCurrentState().mode !== "Panorama" ? { result: !1, msg: "非全景模式" } : this.isInPanoMoveAnime ? { result: !1, msg: "处于走点动画中" } : { result: !0, msg: "" } : { result: !1, msg: "Five 数据未加载" } : { result: !1, msg: "指南针贴图未加载" } : { result: !1, msg: "插件隐藏" });
123
177
  /** 贴图加载完成的回调 */
124
- o(this, "onTextureLoaded", (e) => {
125
- this.mesh.material.map = e, this.mesh.material.needsUpdate = !0, this.updateMeshVisible();
178
+ o(this, "onTextureLoaded", (i) => {
179
+ this.mesh.material.map = i, this.mesh.material.needsUpdate = !0, this.updateMeshVisible();
126
180
  });
127
181
  /** Five load Work 后 */
128
182
  o(this, "onFiveWillLoad", () => {
129
183
  this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
130
184
  });
131
185
  /** 走点前 */
132
- o(this, "onFivePanoWillArrive", (e) => {
133
- var i;
134
- e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
186
+ o(this, "onFivePanoWillArrive", (i) => {
187
+ var e;
188
+ i !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (e = this.opacityAnimeTween) == null || e.dispose(), this.updateMeshVisible());
135
189
  });
136
190
  /** 走点后 */
137
191
  // eslint-disable-next-line @typescript-eslint/member-ordering
138
- o(this, "onFivePanoArrived", (e) => {
139
- e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
192
+ o(this, "onFivePanoArrived", (i) => {
193
+ i !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = i, this.isInPanoMoveAnime = !1, this.updateMeshPosition(i), this.updateMeshVisible(), this.five.needsRender = !0);
140
194
  });
141
- o(this, "onMeshVisibleChange", (e) => {
142
- var i;
143
- if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
195
+ o(this, "onMeshVisibleChange", (i) => {
196
+ var e;
197
+ if ((e = this.opacityAnimeTween) == null || e.dispose(), !i) {
144
198
  this.mesh.visible = !1;
145
199
  return;
146
200
  }
@@ -152,18 +206,18 @@ class Fe extends M {
152
206
  o(this, "onFiveModeChange", () => {
153
207
  this.updateMeshVisible();
154
208
  });
155
- this.five = e;
209
+ this.five = i;
156
210
  const t = {
157
211
  enabled: !0,
158
212
  visible: !0
159
213
  };
160
- this.state = Object.assign(t, i == null ? void 0 : i.initialState);
214
+ this.state = Object.assign(t, e == null ? void 0 : e.initialState);
161
215
  const s = a({
162
216
  width: 1.4,
163
217
  yOffset: 0.01,
164
218
  yRotate: 0,
165
219
  imageURL: this.absoluteUrl("/release/web/logo.7febb17f.png")
166
- }, i == null ? void 0 : i.config);
220
+ }, e == null ? void 0 : e.config);
167
221
  this._config = s, this.group.name = "current-pano-image-plugin-group", this.mesh = new h.Mesh(
168
222
  new h.PlaneBufferGeometry(this.config.width, this.config.width),
169
223
  new h.MeshBasicMaterial({ transparent: !0, opacity: 0, depthTest: !1 })
@@ -181,48 +235,48 @@ class Fe extends M {
181
235
  * 启用插件,响应用户操作并展示UI
182
236
  * @param options
183
237
  */
184
- enable(e = {}) {
238
+ enable(i = {}) {
185
239
  var t;
186
240
  if (this.state.enabled)
187
241
  return;
188
- const i = (t = e.userAction) != null ? t : !0;
189
- this.updateState({ enabled: !0 }, i), this.checkMsg.pluginDisabled = "", this._enable({ userAction: i });
242
+ const e = (t = i.userAction) != null ? t : !0;
243
+ this.updateState({ enabled: !0 }, e), this.checkMsg.pluginDisabled = "", this._enable({ userAction: e });
190
244
  }
191
245
  /** 禁用插件
192
246
  * @param `options` `<Option> | <undefined>`
193
247
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
194
248
  */
195
- disable(e = {}) {
249
+ disable(i = {}) {
196
250
  var t;
197
251
  if (this.state.enabled === !1)
198
252
  return;
199
- const i = (t = e.userAction) != null ? t : !0;
200
- this.updateState({ enabled: !1 }, i), this.checkMsg.pluginDisabled = "调用 disable 禁用", this._disable({ userAction: i });
253
+ const e = (t = i.userAction) != null ? t : !0;
254
+ this.updateState({ enabled: !1 }, e), this.checkMsg.pluginDisabled = "调用 disable 禁用", this._disable({ userAction: e });
201
255
  }
202
256
  /** 插件内容整体展示
203
257
  * @param `options` `<Partial<BaseOptions>> | <undefined>`
204
258
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
205
259
  */
206
- show(e) {
207
- return u(this, null, function* () {
260
+ show(i) {
261
+ return l(this, null, function* () {
208
262
  if (this.state.visible)
209
263
  return Promise.resolve();
210
264
  if (this.disposed)
211
265
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
212
- const i = a({ userAction: !0 }, e);
213
- this.updateState({ visible: !0 }, i.userAction), this.checkMsg.pluginHidden = "", this._show(i);
266
+ const e = a({ userAction: !0 }, i);
267
+ this.updateState({ visible: !0 }, e.userAction), this.checkMsg.pluginHidden = "", this._show(e);
214
268
  });
215
269
  }
216
270
  /** 插件内容整体隐藏
217
271
  * @param `options` `<Partial<BaseOptions>> | <undefined>`
218
272
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
219
273
  */
220
- hide(e) {
221
- return u(this, null, function* () {
274
+ hide(i) {
275
+ return l(this, null, function* () {
222
276
  if (this.state.visible === !1)
223
277
  return;
224
- const i = a({ userAction: !0 }, e);
225
- this.updateState({ visible: !1 }, i.userAction), this.checkMsg.pluginDisabled = "调用 hide 隐藏", this._hide(i);
278
+ const e = a({ userAction: !0 }, i);
279
+ this.updateState({ visible: !1 }, e.userAction), this.checkMsg.pluginDisabled = "调用 hide 隐藏", this._hide(e);
226
280
  });
227
281
  }
228
282
  /** 更改插件 State
@@ -230,24 +284,24 @@ class Fe extends M {
230
284
  * @param `options` `<Option> | <undefined>`
231
285
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
232
286
  */
233
- setState(e, i = {}) {
287
+ setState(i, e = {}) {
234
288
  const t = this.state;
235
- if (P(e, t, { deep: !0 }))
289
+ if (P(i, t, { deep: !0 }))
236
290
  return;
237
- const s = i.userAction !== void 0 ? i.userAction : !0;
238
- if (this.updateState(e, s), e.enabled !== void 0 && t.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), e.visible !== void 0 && t.visible !== e.visible) {
239
- const l = { userAction: s, anime: { duration: 500 } };
240
- e.visible ? this.checkMsg.pluginHidden = "" : this.checkMsg.pluginHidden = "调用 setState 隐藏", e.visible ? this._show(l) : this._hide(l);
291
+ const s = e.userAction !== void 0 ? e.userAction : !0;
292
+ if (this.updateState(i, s), i.enabled !== void 0 && t.enabled !== i.enabled && (i.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", i.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), i.visible !== void 0 && t.visible !== i.visible) {
293
+ const p = { userAction: s, anime: { duration: 500 } };
294
+ i.visible ? this.checkMsg.pluginHidden = "" : this.checkMsg.pluginHidden = "调用 setState 隐藏", i.visible ? this._show(p) : this._hide(p);
241
295
  }
242
296
  }
243
297
  /** 更改插件 Config
244
298
  * @param `config` `<Partial<Plugin.Config>>` 插件属性 `config` 的子集。
245
299
  * @param `options` `<Option> | <undefined>`
246
300
  */
247
- updateConfig(e, i = {}) {
248
- var l;
249
- const t = this.config, s = a(a({}, t), e);
250
- this._config = s, t.imageURL !== s.imageURL && this.reloadTexture(s.imageURL), t.yOffset !== s.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), t.yRotate !== s.yRotate && this.updateMeshQuaternion(s.yRotate), t.width !== s.width && (this.mesh.geometry = new h.PlaneBufferGeometry(s.width, s.width)), this.hooks.emit("configChange", { prevConfig: t, config: s, userAction: (l = i.userAction) != null ? l : !0 });
301
+ updateConfig(i, e = {}) {
302
+ var p;
303
+ const t = this.config, s = a(a({}, t), i);
304
+ this._config = s, t.imageURL !== s.imageURL && this.reloadTexture(s.imageURL), t.yOffset !== s.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), t.yRotate !== s.yRotate && this.updateMeshQuaternion(s.yRotate), t.width !== s.width && (this.mesh.geometry = new h.PlaneBufferGeometry(s.width, s.width)), this.hooks.emit("configChange", { prevConfig: t, config: s, userAction: (p = e.userAction) != null ? p : !0 });
251
305
  }
252
306
  /** 问什么看不到模型 */
253
307
  __whyCantSeeMesh() {
@@ -260,58 +314,58 @@ class Fe extends M {
260
314
  if (this.checkMsg.meshHidden)
261
315
  return this.checkMsg.meshHidden;
262
316
  }
263
- updateState(e, i) {
317
+ updateState(i, e) {
264
318
  const t = this.state;
265
- this.state = a(a({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: i });
319
+ this.state = a(a({}, this.state), i), this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: e });
266
320
  }
267
321
  /** 根据各种条件更新 Mesh 的可见性 */
268
322
  updateMeshVisible() {
269
- const { result: e, msg: i } = this.checkMeshVisible();
270
- this.checkMsg.meshHidden = i, e !== this.mesh.visible && this.onMeshVisibleChange(e);
323
+ const { result: i, msg: e } = this.checkMeshVisible();
324
+ this.checkMsg.meshHidden = e, i !== this.mesh.visible && this.onMeshVisibleChange(i);
271
325
  }
272
326
  /** 根据点位更新 Mesh 坐标 */
273
- updateMeshPosition(e) {
274
- const i = this.workUtil.getObserverStandingPosition(e);
275
- if (!i) {
327
+ updateMeshPosition(i) {
328
+ const e = this.workUtil.getObserverStandingPosition(i);
329
+ if (!e) {
276
330
  console.warn("CurrentPanoImagePlugin: 无法获取到当前点位的 standingPosition");
277
331
  return;
278
332
  }
279
- const t = i.clone().setY(i.y + this.config.yOffset);
333
+ const t = e.clone().setY(e.y + this.config.yOffset);
280
334
  t && this.mesh.position.copy(t);
281
335
  }
282
336
  /** 重新加载贴图,调用时会先清除已有的贴图 */
283
- reloadTexture(e) {
284
- return u(this, null, function* () {
285
- if (this.mesh.material.map = null, e !== "") {
286
- const i = w(e);
287
- this.textureLoadingPromise = i;
288
- const t = yield i;
289
- t.minFilter = h.LinearFilter, this.textureLoadingPromise === i && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
337
+ reloadTexture(i) {
338
+ return l(this, null, function* () {
339
+ if (this.mesh.material.map = null, i !== "") {
340
+ const e = w(i);
341
+ this.textureLoadingPromise = e;
342
+ const t = yield e;
343
+ t.minFilter = h.LinearFilter, this.textureLoadingPromise === e && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
290
344
  }
291
345
  this.updateMeshVisible();
292
346
  });
293
347
  }
294
348
  /** north_rad 变化时,需要更新模型的旋转角度 */
295
- updateMeshQuaternion(e) {
296
- const i = new h.Quaternion();
297
- i.multiplyQuaternions(
349
+ updateMeshQuaternion(i) {
350
+ const e = new h.Quaternion();
351
+ e.multiplyQuaternions(
298
352
  // 沿着自身 X 轴旋转 -90 度
299
353
  new h.Quaternion().setFromAxisAngle(new h.Vector3(1, 0, 0), -Math.PI / 2),
300
354
  // 沿着自身 Z 轴旋转 rad 弧度
301
- new h.Quaternion().setFromAxisAngle(new h.Vector3(0, 0, 1), e)
302
- ), this.mesh.quaternion.copy(i);
355
+ new h.Quaternion().setFromAxisAngle(new h.Vector3(0, 0, 1), i)
356
+ ), this.mesh.quaternion.copy(e);
303
357
  }
304
- _enable(e) {
305
- this.hooks.emit("enable", { userAction: e.userAction }), this.config.imageURL && !this.mesh.material.map && !this.textureLoadingPromise && this.reloadTexture(this.config.imageURL), this.five.scene.add(this.group), this.five.needsRender = !0, this.five.work && this.onFiveWillLoad(), this.five.getCurrentState().mode === "Panorama" && (this.onFiveModeChange(), this.onFivePanoArrived(this.five.getCurrentState().panoIndex)), this.five.on("willLoad", this.onFiveWillLoad), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("panoWillArrive", this.onFivePanoWillArrive), this.five.on("modeChange", this.onFiveModeChange);
358
+ _enable(i) {
359
+ this.hooks.emit("enable", { userAction: i.userAction }), this.config.imageURL && !this.mesh.material.map && !this.textureLoadingPromise && this.reloadTexture(this.config.imageURL), this.five.scene.add(this.group), this.five.needsRender = !0, this.five.work && this.onFiveWillLoad(), this.five.getCurrentState().mode === "Panorama" && (this.onFiveModeChange(), this.onFivePanoArrived(this.five.getCurrentState().panoIndex)), this.five.on("willLoad", this.onFiveWillLoad), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("panoWillArrive", this.onFivePanoWillArrive), this.five.on("modeChange", this.onFiveModeChange);
306
360
  }
307
- _disable(e) {
308
- this.hooks.emit("disable", { userAction: e.userAction }), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("willLoad", this.onFiveWillLoad), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("panoWillArrive", this.onFivePanoWillArrive), this.five.off("modeChange", this.onFiveModeChange);
361
+ _disable(i) {
362
+ this.hooks.emit("disable", { userAction: i.userAction }), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("willLoad", this.onFiveWillLoad), this.five.off("panoArrived", this.onFivePanoArrived), this.five.off("panoWillArrive", this.onFivePanoWillArrive), this.five.off("modeChange", this.onFiveModeChange);
309
363
  }
310
- _show(e) {
311
- this.hooks.emit("show", e), this.updateMeshVisible(), this.five.needsRender = !0;
364
+ _show(i) {
365
+ this.hooks.emit("show", i), this.updateMeshVisible(), this.five.needsRender = !0;
312
366
  }
313
- _hide(e) {
314
- this.hooks.emit("hide", e), this.updateMeshVisible(), this.five.needsRender = !0;
367
+ _hide(i) {
368
+ this.hooks.emit("hide", i), this.updateMeshVisible(), this.five.needsRender = !0;
315
369
  }
316
370
  }
317
371
  export {
@@ -11,7 +11,10 @@ import "../shared-utils/Utils/BaseUtil.js";
11
11
  import "../shared-utils/Utils/WorkUtil.js";
12
12
  import "../shared-utils/five/transformPosition.js";
13
13
  import "../shared-utils/three/temp.js";
14
+ import "../shared-utils/three/core/Raycaster.js";
14
15
  import "../shared-utils/dom/resizeObserver.js";
16
+ import "../shared-utils/five/fiveEveryReadyListener.js";
17
+ import "../shared-utils/throttle.js";
15
18
  import "hammerjs";
16
19
  import "../shared-utils/three/PointSelector/index.js";
17
20
  import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
@@ -32,33 +35,84 @@ import "../shared-utils/three/core/Sphere.js";
32
35
  import "animejs";
33
36
  import "../shared-utils/isNil.js";
34
37
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
35
- import "../shared-utils/three/PointSelector/utils/html.js";
36
- import "../shared-utils/five/initialCSS3DRender.js";
38
+ import "../Sculpt/Meshes/Polygon.js";
39
+ import "../shared-utils/three/generatePolygonGeometry.js";
40
+ import "../shared-utils/three/earcut3D.js";
41
+ import "earcut";
42
+ import "../shared-utils/three/getNormal.js";
43
+ import "../PanoMeasurePlugin/utils/isIntersecting.js";
44
+ import "../Sculpt/typings/style.js";
45
+ import "../Sculpt/utils/three/ColoredMesh.js";
46
+ import "../shared-utils/three/IObject3D.js";
47
+ import "../Sculpt/utils/Modules/Global.js";
48
+ import "../Sculpt/utils/Modules/Cursor.js";
49
+ import "../Object3DHelperPlugin/Controller.js";
50
+ import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
51
+ import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
52
+ import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
53
+ import "../shared-utils/three/boundingBox.js";
54
+ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
55
+ import "../shared-utils/Object3DHelper/utils/direction.js";
56
+ import "../shared-utils/Object3DHelper/Constants/color.js";
57
+ import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
58
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
37
59
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
38
60
  import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
39
61
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
62
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
63
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
64
+ import "../shared-utils/util.js";
65
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
66
+ import "../shared-utils/three/PointSelector/utils/html.js";
67
+ import "../shared-utils/five/initialCSS3DRender.js";
40
68
  import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
41
69
  import "../Sculpt/Meshes/Line.js";
42
- import "../Sculpt/typings/style.js";
43
70
  import "../shared-utils/five/FiveLine.js";
44
- import "../shared-utils/three/IObject3D.js";
45
71
  import "../Sculpt/utils/removeAllTag.js";
46
72
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
47
73
  import "../shared-utils/three/applyObjectMatrixWorld.js";
48
- import "../shared-utils/util.js";
74
+ import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
75
+ import "../Sculpt/utils/three/rayOnLine.js";
49
76
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
77
+ import "../shared-utils/url/absoluteUrl.js";
78
+ import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
79
+ import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
80
+ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
81
+ import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
82
+ import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
83
+ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
84
+ import "../shared-utils/Object3DHelper/Controller/MoveController.js";
85
+ import "../shared-utils/Object3DHelper/Base/BaseController.js";
86
+ import "../shared-utils/threex/domevents/index.js";
87
+ import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
88
+ import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
89
+ import "../Object3DHelperPlugin/FiveControllerWrapper.js";
90
+ import "../shared-utils/Object3DHelper/index.js";
91
+ import "../shared-utils/Object3DHelper/Controller/RotateController.js";
92
+ import "../shared-utils/math/rad2Deg.js";
93
+ import "../shared-utils/math/deg2Rad.js";
94
+ import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
95
+ import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
96
+ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
97
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
98
+ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
99
+ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
100
+ import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
101
+ import "../shared-utils/five/fiveModelLoad.js";
102
+ import "../shared-utils/five/FiveDomEvents.js";
103
+ import "../shared-utils/five/calculateThreeMouse.js";
50
104
  import "../shared-utils/isTouchDevice.js";
105
+ import "../shared-utils/three/geometryUtil.js";
51
106
  import "../shared-utils/five/getPosition.js";
52
107
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
53
108
  import "../shared-utils/three/PointSelector/utils/contents.js";
54
- import "../shared-utils/url/absoluteUrl.js";
55
109
  import "../shared-utils/animationFrame/BetterTween.js";
56
110
  import "../shared-utils/animationFrame/index.js";
57
111
  import "../shared-utils/equal.js";
58
112
  import "../shared-utils/isTruelyObject.js";
59
113
  import "../shared-utils/three/loadTexture.js";
60
- const ar = (r, o) => new t(r, o);
114
+ const ao = (r, o) => new t(r, o);
61
115
  export {
62
- ar as CurrentPanoImagePlugin,
63
- ar as default
116
+ ao as CurrentPanoImagePlugin,
117
+ ao as default
64
118
  };
@@ -40,6 +40,10 @@ import { waitFiveModelLoaded as $ } from "../shared-utils/five/fiveModelLoad.js"
40
40
  import { uuid as P } from "../shared-utils/uuid.js";
41
41
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
42
42
  import { equal as W } from "../shared-utils/equal.js";
43
+ import "../Sculpt/Meshes/Polygon.js";
44
+ import "../Sculpt/utils/Modules/Global.js";
45
+ import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
46
+ import "../Sculpt/utils/three/rayOnLine.js";
43
47
  import { GuideLineItem as H } from "./GuideLineItem/index.js";
44
48
  import U from "../CruisePlugin/Work.js";
45
49
  import { objectAssignDeepExports as V } from "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -54,7 +58,10 @@ import "../shared-utils/url/absoluteUrl.js";
54
58
  import "../shared-utils/positionToVector3.js";
55
59
  import "../shared-utils/five/vector3ToScreen.js";
56
60
  import "../shared-utils/three/temp.js";
61
+ import "../shared-utils/three/core/Raycaster.js";
57
62
  import "../shared-utils/dom/resizeObserver.js";
63
+ import "../shared-utils/five/fiveEveryReadyListener.js";
64
+ import "../shared-utils/throttle.js";
58
65
  import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
59
66
  import "../shared-utils/three/Magnifier.js";
60
67
  import "../shared-utils/three/PointSelector/utils/PointHelper.js";
@@ -86,6 +93,52 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
86
93
  import "../shared-utils/three/PointSelector/utils/contents.js";
87
94
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
88
95
  import "../vendor/three/build/three.module.js";
96
+ import "../shared-utils/three/generatePolygonGeometry.js";
97
+ import "../shared-utils/three/earcut3D.js";
98
+ import "earcut";
99
+ import "../shared-utils/three/getNormal.js";
100
+ import "../PanoMeasurePlugin/utils/isIntersecting.js";
101
+ import "../Sculpt/utils/three/ColoredMesh.js";
102
+ import "../shared-utils/three/geometryUtil.js";
103
+ import "../Sculpt/utils/Modules/Cursor.js";
104
+ import "../Object3DHelperPlugin/Controller.js";
105
+ import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
106
+ import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
107
+ import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
108
+ import "../shared-utils/three/boundingBox.js";
109
+ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
110
+ import "../shared-utils/Object3DHelper/utils/direction.js";
111
+ import "../shared-utils/Object3DHelper/Constants/color.js";
112
+ import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
113
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
114
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
115
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
116
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
117
+ import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
118
+ import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
119
+ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
120
+ import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
121
+ import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
122
+ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
123
+ import "../shared-utils/Object3DHelper/Controller/MoveController.js";
124
+ import "../shared-utils/Object3DHelper/Base/BaseController.js";
125
+ import "../shared-utils/threex/domevents/index.js";
126
+ import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
127
+ import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
128
+ import "../Object3DHelperPlugin/FiveControllerWrapper.js";
129
+ import "../shared-utils/Object3DHelper/index.js";
130
+ import "../shared-utils/Object3DHelper/Controller/RotateController.js";
131
+ import "../shared-utils/math/rad2Deg.js";
132
+ import "../shared-utils/math/deg2Rad.js";
133
+ import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
134
+ import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
135
+ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
136
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
137
+ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
138
+ import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
139
+ import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
140
+ import "../shared-utils/five/FiveDomEvents.js";
141
+ import "../shared-utils/five/calculateThreeMouse.js";
89
142
  import "../shared-utils/isTruelyObject.js";
90
143
  import "./GuideLineModeItem/index.js";
91
144
  import "../shared-utils/log.js";
@@ -190,7 +243,6 @@ import "../shared-utils/three/loadVideoTexture.js";
190
243
  import "../shared-utils/device.js";
191
244
  import "../shared-utils/three/getPositionsByObjectFit.js";
192
245
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
193
- import "../shared-utils/three/getNormal.js";
194
246
  import "../PanoTagPlugin/controller/Tag/BaseTag.js";
195
247
  import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
196
248
  import "../shared-utils/typescript/entries.js";
@@ -212,14 +264,6 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
212
264
  import "../vendor/svelte/store/index.js";
213
265
  import "../CSS3DRenderPlugin/index.js";
214
266
  import "../CSS3DRenderPlugin/Controller.js";
215
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
216
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
217
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
218
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
219
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
220
- import "../shared-utils/five/FiveDomEvents.js";
221
- import "../shared-utils/five/calculateThreeMouse.js";
222
- import "../shared-utils/three/core/Raycaster.js";
223
267
  import "../PanoTagPlugin/utils/DebugUtil.js";
224
268
  import "../PanoTagPlugin/utils/addDebugPoints.js";
225
269
  import "../PanoTagPlugin/controller/Tag/PointTag.js";
@@ -242,8 +286,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
242
286
  import "../CruisePlugin/utils/safeCall.js";
243
287
  import "../CruisePlugin/utils/sleep.js";
244
288
  import "../shared-utils/five/fiveLoaded.js";
245
- const b = "GuideLinePlugin", g = `${b}`, Bo = (s) => `${g}--${s}`;
246
- class Co extends N {
289
+ const b = "GuideLinePlugin", g = `${b}`, Te = (s) => `${g}--${s}`;
290
+ class ke extends N {
247
291
  constructor(t, i) {
248
292
  super(t, i);
249
293
  h(this, "name", b);
@@ -385,6 +429,6 @@ class Co extends N {
385
429
  }
386
430
  }
387
431
  export {
388
- Co as default,
389
- Bo as pluginFlag
432
+ ke as default,
433
+ Te as pluginFlag
390
434
  };