@realsee/dnalogel 3.50.14 → 3.50.15-alpha.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.
Files changed (110) hide show
  1. package/README.md +116 -0
  2. package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
  3. package/dist/Sculpt/index.d.ts +4 -4
  4. package/dist/index.cjs.js +262 -262
  5. package/dist/index.js +4235 -4231
  6. package/dist/index.umd.js +263 -263
  7. package/dist/shared-utils/five/index.d.ts +2 -0
  8. package/dist/shared-utils/tag.d.ts +1 -1
  9. package/dist/shared-utils/three/index.d.ts +1 -0
  10. package/libs/AreaMakerPlugin/Controller.js +104 -74
  11. package/libs/AreaMakerPlugin/index.js +33 -3
  12. package/libs/AreaMakerPlugin/utils/Item.js +66 -36
  13. package/libs/CSS3DRenderPlugin/Controller.js +39 -19
  14. package/libs/CSS3DRenderPlugin/index.js +34 -14
  15. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +60 -35
  16. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +98 -78
  17. package/libs/CruisePlugin/BaseController.js +59 -29
  18. package/libs/CruisePlugin/Move.js +33 -14
  19. package/libs/CruisePlugin/Work.js +66 -47
  20. package/libs/CruisePlugin/index.js +38 -19
  21. package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
  22. package/libs/CurrentPanoImagePlugin/index.js +34 -4
  23. package/libs/GuideLinePlugin/Controller.js +69 -50
  24. package/libs/GuideLinePlugin/GuideLineItem.js +34 -15
  25. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  26. package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -15
  27. package/libs/GuideLinePlugin/index.js +38 -19
  28. package/libs/ModelMakerPlugin/Controller.js +60 -42
  29. package/libs/ModelMakerPlugin/index.js +34 -16
  30. package/libs/ModelTVVideoPlugin/Plugin.js +48 -28
  31. package/libs/ModelTVVideoPlugin/index.js +24 -4
  32. package/libs/Object3DHelperPlugin/Controller.js +49 -30
  33. package/libs/Object3DHelperPlugin/index.js +36 -17
  34. package/libs/PanoCompassPlugin/Controller.js +33 -13
  35. package/libs/PanoCompassPlugin/index.js +34 -14
  36. package/libs/PanoDoorLabelPlugin/BaseController.js +55 -25
  37. package/libs/PanoDoorLabelPlugin/Controller.js +99 -69
  38. package/libs/PanoDoorLabelPlugin/index.js +34 -4
  39. package/libs/PanoMeasurePlugin/Components/Controller0.js +8 -8
  40. package/libs/PanoMeasurePlugin/Components/Controller1.js +8 -8
  41. package/libs/PanoMeasurePlugin/Controller/WatchController.js +75 -49
  42. package/libs/PanoMeasurePlugin/Controller/index.js +16 -16
  43. package/libs/PanoMeasurePlugin/Model/area.js +41 -15
  44. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +29 -0
  45. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +8 -8
  46. package/libs/PanoMeasurePlugin/index.js +3 -3
  47. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +43 -15
  48. package/libs/PanoRulerProPlugin/Controller.js +60 -30
  49. package/libs/PanoRulerProPlugin/RulerItems.js +85 -55
  50. package/libs/PanoRulerProPlugin/index.js +33 -3
  51. package/libs/PanoSpatialTagPlugin/Plugin.js +54 -34
  52. package/libs/PanoSpatialTagPlugin/index.js +22 -2
  53. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
  54. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +235 -206
  55. package/libs/PanoTagPlugin/Components/Tag/index.js +152 -125
  56. package/libs/PanoTagPlugin/Components/TagContainer.js +97 -70
  57. package/libs/PanoTagPlugin/Components/TagItem.js +31 -4
  58. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +29 -2
  59. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +55 -28
  60. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +53 -26
  61. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +54 -27
  62. package/libs/PanoTagPlugin/controller/TagRender.js +48 -29
  63. package/libs/PanoTagPlugin/controller/TagUtil.js +33 -14
  64. package/libs/PanoTagPlugin/controller/index.js +49 -30
  65. package/libs/PanoTagPlugin/index.js +41 -22
  66. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +59 -29
  67. package/libs/PanoVideoPlugin/Controller.js +91 -61
  68. package/libs/PanoVideoPlugin/VideoMeshController.js +56 -26
  69. package/libs/PanoVideoPlugin/index.js +36 -6
  70. package/libs/PipelinePlugin/Controller.js +80 -51
  71. package/libs/PipelinePlugin/index.js +34 -5
  72. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +44 -14
  73. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +43 -13
  74. package/libs/PipelinePlugin/utils/Objects/Pipe.js +61 -31
  75. package/libs/Sculpt/Meshes/Box.js +3 -2
  76. package/libs/Sculpt/Meshes/Cylinder.js +3 -2
  77. package/libs/Sculpt/Meshes/Line.js +9 -8
  78. package/libs/Sculpt/Meshes/LineWithDots.js +8 -7
  79. package/libs/Sculpt/Meshes/Point.js +3 -2
  80. package/libs/Sculpt/Meshes/Polygon.js +3 -2
  81. package/libs/Sculpt/Meshes/Prism.js +9 -8
  82. package/libs/Sculpt/Meshes/Rectangle.js +3 -2
  83. package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
  84. package/libs/Sculpt/Objects/Line/Editor.js +7 -6
  85. package/libs/Sculpt/index.d.ts +4 -4
  86. package/libs/Sculpt/index.js +3 -2
  87. package/libs/Sculpt/utils/three/ColoredMesh.js +6 -5
  88. package/libs/base/BasePlugin.js +4 -3
  89. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +89 -60
  90. package/libs/floorplan/MapviewFloorplanPlugin/index.js +34 -5
  91. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +79 -50
  92. package/libs/floorplan/ModelFloorplanPlugin/index.js +34 -5
  93. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +68 -38
  94. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +34 -4
  95. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +104 -75
  96. package/libs/floorplan/TopviewFloorplanPlugin/index.js +34 -5
  97. package/libs/floorplan/index.js +1 -0
  98. package/libs/index.js +28 -28
  99. package/libs/shared-utils/five/fiveModelLoad.js +1 -0
  100. package/libs/shared-utils/five/index.d.ts +2 -0
  101. package/libs/shared-utils/five/index.js +3 -2
  102. package/libs/shared-utils/five/lookObject.js +3 -2
  103. package/libs/shared-utils/index.js +42 -35
  104. package/libs/shared-utils/logger.js +1 -1
  105. package/libs/shared-utils/tag.d.ts +1 -1
  106. package/libs/shared-utils/tag.js +41 -41
  107. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
  108. package/libs/shared-utils/three/index.d.ts +1 -0
  109. package/libs/shared-utils/three/index.js +1 -0
  110. package/package.json +1 -1
@@ -2,7 +2,7 @@ var D = Object.defineProperty, P = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
3
  var b = Object.getOwnPropertySymbols;
4
4
  var E = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
5
- var u = (d, a, e) => a in d ? D(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, f = (d, a) => {
5
+ var u = (d, a, e) => a in d ? D(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
7
  E.call(a, e) && u(d, e, a[e]);
8
8
  if (b)
@@ -28,7 +28,7 @@ var l = (d, a, e) => new Promise((t, i) => {
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as v from "three";
31
- import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
31
+ import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
32
  import { arrayPositionToVector3 as F } from "../../shared-utils/positionToVector3.js";
33
33
  import { isModelTag as k, isMediaModelTag as w } from "../utils/tag/tagCheck.js";
34
34
  import { debounce as M } from "../utils/debounce.js";
@@ -40,13 +40,14 @@ import { TagRender as R } from "./TagRender.js";
40
40
  import "../../shared-utils/tag.js";
41
41
  import { isModelLike as O } from "../../shared-utils/five/mode.js";
42
42
  import "hammerjs";
43
+ import "../../shared-utils/three/PointSelector/index.js";
43
44
  import "three/examples/jsm/renderers/CSS3DRenderer";
44
45
  import "@realsee/five/line";
45
46
  import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
46
47
  import "../../shared-utils/three/core/Sphere.js";
47
48
  import "animejs";
48
- import { nextFrame as G } from "../../shared-utils/animationFrame/index.js";
49
- import { waitFiveModelLoaded as N } from "../../shared-utils/five/fiveModelLoad.js";
49
+ import { waitFiveModelLoaded as G } from "../../shared-utils/five/fiveModelLoad.js";
50
+ import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
50
51
  import { DebugUtil as V } from "../utils/DebugUtil.js";
51
52
  import { safeObj as C } from "../../shared-utils/safeObj.js";
52
53
  import { PointTag as z } from "./Tag/PointTag.js";
@@ -120,6 +121,34 @@ import "../../shared-utils/Subscribe.js";
120
121
  import "../../shared-utils/Utils/WorkUtil.js";
121
122
  import "../../shared-utils/five/transformPosition.js";
122
123
  import "../../shared-utils/three/temp.js";
124
+ import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
125
+ import "../../shared-utils/three/Magnifier.js";
126
+ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
127
+ import "../../shared-utils/three/Assets/index.js";
128
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
129
+ import "../../CSS3DRenderPlugin/utils/even.js";
130
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
131
+ import "../../shared-utils/three/centerPoint.js";
132
+ import "../../shared-utils/three/getObjectVisible.js";
133
+ import "../../shared-utils/three/PointSelector/utils/html.js";
134
+ import "../../shared-utils/five/initialCSS3DRender.js";
135
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
136
+ import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
137
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
138
+ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
139
+ import "../../Sculpt/Meshes/Line.js";
140
+ import "../../Sculpt/typings/style.js";
141
+ import "../../shared-utils/five/FiveLine.js";
142
+ import "../../shared-utils/three/IObject3D.js";
143
+ import "../../Sculpt/utils/removeAllTag.js";
144
+ import "../../Sculpt/utils/Meshes/getLengthHTML.js";
145
+ import "../../shared-utils/three/applyObjectMatrixWorld.js";
146
+ import "../../shared-utils/util.js";
147
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
148
+ import "../../shared-utils/isTouchDevice.js";
149
+ import "../../shared-utils/five/getPosition.js";
150
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
151
+ import "../../shared-utils/three/PointSelector/utils/contents.js";
123
152
  import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
124
153
  import "../../vendor/three/build/three.module.js";
125
154
  import "../utils/noTypecheck.js";
@@ -140,7 +169,6 @@ import "../../shared-utils/three/GLTFLoader.js";
140
169
  import "@realsee/five/gltf-loader";
141
170
  import "../utils/planeNormal.js";
142
171
  import "../utils/model/mediaPlane.js";
143
- import "../../shared-utils/three/centerPoint.js";
144
172
  import "../../shared-utils/three/loadTexture.js";
145
173
  import "../../shared-utils/three/Quadrangle.js";
146
174
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -155,7 +183,6 @@ import "../../shared-utils/typescript/entries.js";
155
183
  import "../utils/tag/adaptConfig.js";
156
184
  import "../typings/tag/TagConfig.js";
157
185
  import "@realsee/five";
158
- import "../../shared-utils/util.js";
159
186
  import "../../shared-utils/three/blink.js";
160
187
  import "../../shared-utils/vectorToCoordinate.js";
161
188
  import "../../shared-utils/formatRad.js";
@@ -172,13 +199,6 @@ import "../../vendor/svelte/store/index.js";
172
199
  import "../../CSS3DRenderPlugin/index.js";
173
200
  import "../../CSS3DRenderPlugin/Controller.js";
174
201
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
175
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
176
- import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
177
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
178
- import "../../CSS3DRenderPlugin/utils/even.js";
179
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
180
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
181
- import "../../shared-utils/three/getObjectVisible.js";
182
202
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
183
203
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
184
204
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
@@ -187,13 +207,12 @@ import "../../shared-utils/url/absoluteUrl.js";
187
207
  import "../../shared-utils/five/FiveDomEvents.js";
188
208
  import "../../shared-utils/five/calculateThreeMouse.js";
189
209
  import "../../shared-utils/three/core/Raycaster.js";
190
- import "../../shared-utils/isTouchDevice.js";
191
210
  import "../../base/BasePlugin.js";
192
211
  import "../utils/addDebugPoints.js";
193
212
  import "../Components/TagItem.js";
194
213
  import "../Components/Common/TagPoint.js";
195
- const S = "Dnalogel-PanoTagPlugin", Ji = (d) => `${S}--${d}`;
196
- class Zi extends R {
214
+ const S = "Dnalogel-PanoTagPlugin", co = (d) => `${S}--${d}`;
215
+ class uo extends R {
197
216
  constructor(e, t) {
198
217
  super(e);
199
218
  /** state */
@@ -204,7 +223,7 @@ class Zi extends R {
204
223
  /** 更改 tag 模型 */
205
224
  p(this, "changeTagModel", (e, t) => l(this, null, function* () {
206
225
  var i;
207
- e.data = m({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
226
+ e.data = f({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
208
227
  }));
209
228
  p(this, "handleFiveModeChange", (e) => {
210
229
  const t = () => {
@@ -240,7 +259,7 @@ class Zi extends R {
240
259
  });
241
260
  p(this, "handleFivePanoArrived", () => l(this, null, function* () {
242
261
  this.tags.forEach((e) => {
243
- e.state.visible = !1, e.temporaryState = c(f({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
262
+ e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
244
263
  }), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(k).filter((e) => {
245
264
  var t;
246
265
  return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
@@ -292,8 +311,8 @@ class Zi extends R {
292
311
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
293
312
  this.TagContainerSvelte = new x({
294
313
  target: this.container,
295
- props: c(f({}, n), { state: c(f({}, this.state), { enabled: !1 }) })
296
- }), G(() => {
314
+ props: c(m({}, n), { state: c(m({}, this.state), { enabled: !1 }) })
315
+ }), N(() => {
297
316
  var r;
298
317
  (r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
299
318
  });
@@ -301,7 +320,7 @@ class Zi extends R {
301
320
  }
302
321
  }), this.renderQueue.clear();
303
322
  });
304
- this.params = m({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), I(1, { namespace: B.PlayAudio });
323
+ this.params = f({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), I(1, { namespace: B.PlayAudio });
305
324
  try {
306
325
  Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = S + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
307
326
  get: function() {
@@ -328,7 +347,7 @@ class Zi extends R {
328
347
  console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
329
348
  } catch (s) {
330
349
  }
331
- this.config = m({}, this.config, {
350
+ this.config = f({}, this.config, {
332
351
  globalConfig: (i = e.globalConfig) != null ? i : {},
333
352
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
334
353
  });
@@ -350,7 +369,7 @@ class Zi extends R {
350
369
  if (s === "Plane")
351
370
  return new $(this, o);
352
371
  });
353
- return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() => l(this, null, function* () {
372
+ return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
354
373
  var o, s;
355
374
  this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), i.forEach((n) => {
356
375
  this.tags.includes(n) && (n.stickType === "Model" && n.loadModel().then(() => {
@@ -364,7 +383,7 @@ class Zi extends R {
364
383
  * @description 改变配置
365
384
  */
366
385
  changeConfig(e, t = !0) {
367
- t ? this.config = m({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
386
+ t ? this.config = f({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
368
387
  i.updateConfig(), i.updateVisible();
369
388
  });
370
389
  }
@@ -372,7 +391,7 @@ class Zi extends R {
372
391
  * @description 改变全局配置
373
392
  */
374
393
  changeGlobalConfig(e, t = !0) {
375
- t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
394
+ t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
376
395
  i.updateConfig(), i.updateVisible();
377
396
  });
378
397
  }
@@ -380,7 +399,7 @@ class Zi extends R {
380
399
  * @description 改变类型配置
381
400
  */
382
401
  changeContentTypeConfig(e, t, i = !0) {
383
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
402
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
384
403
  o.updateConfig(), o.updateVisible();
385
404
  });
386
405
  }
@@ -415,7 +434,7 @@ class Zi extends R {
415
434
  setState(e, t) {
416
435
  if (this.checkDisposed())
417
436
  return;
418
- const { userAction: i = !0 } = t != null ? t : {}, o = f({}, this.state);
437
+ const { userAction: i = !0 } = t != null ? t : {}, o = m({}, this.state);
419
438
  this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
420
439
  }
421
440
  /**
@@ -615,7 +634,7 @@ class Zi extends R {
615
634
  }
616
635
  }
617
636
  export {
618
- Zi as PanoTagPluginController,
619
- Zi as default,
620
- Ji as pluginFlag
637
+ uo as PanoTagPluginController,
638
+ uo as default,
639
+ co as pluginFlag
621
640
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as fr } from "./controller/index.js";
3
- import { defaultGlobalConfig as ur } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Tr, DimensionType as xr, PointType as sr } from "./Archive/deprecated.js";
2
+ import { pluginFlag as qr } from "./controller/index.js";
3
+ import { defaultGlobalConfig as zr } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Br, DimensionType as Er, PointType as Hr } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "../vendor/object-assign-deep/objectAssignDeep.js";
7
7
  import "../shared-utils/positionToVector3.js";
@@ -80,13 +80,42 @@ import "../shared-utils/Utils/WorkUtil.js";
80
80
  import "../shared-utils/five/transformPosition.js";
81
81
  import "../shared-utils/three/temp.js";
82
82
  import "hammerjs";
83
+ import "../shared-utils/three/PointSelector/index.js";
84
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
85
+ import "../shared-utils/three/Magnifier.js";
86
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
87
+ import "../shared-utils/three/Assets/index.js";
88
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
83
89
  import "three/examples/jsm/renderers/CSS3DRenderer";
90
+ import "../CSS3DRenderPlugin/utils/even.js";
91
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
92
+ import "../shared-utils/three/centerPoint.js";
93
+ import "../shared-utils/three/getObjectVisible.js";
84
94
  import "@realsee/five/line";
85
95
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
86
96
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
87
97
  import "../vendor/three/build/three.module.js";
88
98
  import "../shared-utils/three/core/Sphere.js";
89
99
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
100
+ import "../shared-utils/three/PointSelector/utils/html.js";
101
+ import "../shared-utils/five/initialCSS3DRender.js";
102
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
103
+ import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
104
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
105
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
106
+ import "../Sculpt/Meshes/Line.js";
107
+ import "../Sculpt/typings/style.js";
108
+ import "../shared-utils/five/FiveLine.js";
109
+ import "../shared-utils/three/IObject3D.js";
110
+ import "../Sculpt/utils/removeAllTag.js";
111
+ import "../Sculpt/utils/Meshes/getLengthHTML.js";
112
+ import "../shared-utils/three/applyObjectMatrixWorld.js";
113
+ import "../shared-utils/util.js";
114
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
115
+ import "../shared-utils/isTouchDevice.js";
116
+ import "../shared-utils/five/getPosition.js";
117
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
118
+ import "../shared-utils/three/PointSelector/utils/contents.js";
90
119
  import "./utils/noTypecheck.js";
91
120
  import "./Components/Tag/AudioTag/index.js";
92
121
  import "./Components/Tag/AudioTag/AudioTag.js";
@@ -106,7 +135,6 @@ import "../shared-utils/three/GLTFLoader.js";
106
135
  import "@realsee/five/gltf-loader";
107
136
  import "./utils/planeNormal.js";
108
137
  import "./utils/model/mediaPlane.js";
109
- import "../shared-utils/three/centerPoint.js";
110
138
  import "../shared-utils/three/loadTexture.js";
111
139
  import "../shared-utils/three/Quadrangle.js";
112
140
  import "../shared-utils/math/pointsIsRectangle.js";
@@ -121,7 +149,6 @@ import "../shared-utils/typescript/entries.js";
121
149
  import "./utils/tag/adaptConfig.js";
122
150
  import "@realsee/five";
123
151
  import "../shared-utils/five/mode.js";
124
- import "../shared-utils/util.js";
125
152
  import "../shared-utils/three/blink.js";
126
153
  import "../shared-utils/vectorToCoordinate.js";
127
154
  import "../shared-utils/formatRad.js";
@@ -139,23 +166,15 @@ import "../vendor/svelte/store/index.js";
139
166
  import "../CSS3DRenderPlugin/index.js";
140
167
  import "../CSS3DRenderPlugin/Controller.js";
141
168
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
142
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
143
- import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
144
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
145
- import "../CSS3DRenderPlugin/utils/even.js";
146
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
147
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
148
- import "../shared-utils/three/getObjectVisible.js";
149
169
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
150
170
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
151
171
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
152
172
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
153
- import "../shared-utils/url/absoluteUrl.js";
154
173
  import "../shared-utils/five/fiveModelLoad.js";
174
+ import "../shared-utils/url/absoluteUrl.js";
155
175
  import "../shared-utils/five/FiveDomEvents.js";
156
176
  import "../shared-utils/five/calculateThreeMouse.js";
157
177
  import "../shared-utils/three/core/Raycaster.js";
158
- import "../shared-utils/isTouchDevice.js";
159
178
  import "../base/BasePlugin.js";
160
179
  import "../shared-utils/animationFrame/index.js";
161
180
  import "./utils/DebugUtil.js";
@@ -166,14 +185,14 @@ import "./Components/TagContainer.js";
166
185
  import "./Components/TagItem.js";
167
186
  import "./Components/Common/TagPoint.js";
168
187
  import "../shared-utils/animationFrame/BetterTween.js";
169
- const er = (o, t) => new r(o, t);
188
+ const hr = (o, t) => new r(o, t);
170
189
  export {
171
- Tr as ContentType,
172
- xr as DimensionType,
173
- er as PanoTagPlugin,
190
+ Br as ContentType,
191
+ Er as DimensionType,
192
+ hr as PanoTagPlugin,
174
193
  r as PanoTagPluginController,
175
- sr as PointType,
176
- er as default,
177
- ur as defaultGlobalConfig,
178
- fr as pluginFlag
194
+ Hr as PointType,
195
+ hr as default,
196
+ zr as defaultGlobalConfig,
197
+ qr as pluginFlag
179
198
  };
@@ -2,12 +2,12 @@ var z = Object.defineProperty, B = Object.defineProperties;
2
2
  var H = Object.getOwnPropertyDescriptors;
3
3
  var E = Object.getOwnPropertySymbols;
4
4
  var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
5
- var x = (o, i, e) => i in o ? z(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e, F = (o, i) => {
6
- for (var e in i || (i = {}))
7
- J.call(i, e) && x(o, e, i[e]);
5
+ var x = (o, i, t) => i in o ? z(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t, F = (o, i) => {
6
+ for (var t in i || (i = {}))
7
+ J.call(i, t) && x(o, t, i[t]);
8
8
  if (E)
9
- for (var e of E(i))
10
- K.call(i, e) && x(o, e, i[e]);
9
+ for (var t of E(i))
10
+ K.call(i, t) && x(o, t, i[t]);
11
11
  return o;
12
12
  }, _ = (o, i) => B(o, H(i));
13
13
  import { objectAssignDeepExports as l } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
@@ -19,6 +19,7 @@ import "../../../shared-utils/tag.js";
19
19
  import { isPanoramaLike as R, isModelLike as S } from "../../../shared-utils/five/mode.js";
20
20
  import "three";
21
21
  import "hammerjs";
22
+ import "../../../shared-utils/three/PointSelector/index.js";
22
23
  import "three/examples/jsm/renderers/CSS3DRenderer";
23
24
  import "@realsee/five/line";
24
25
  import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
@@ -35,11 +36,40 @@ import "../../../shared-utils/Utils/WorkUtil.js";
35
36
  import "../../../shared-utils/five/transformPosition.js";
36
37
  import "../../../shared-utils/three/temp.js";
37
38
  import "../../../shared-utils/dom/resizeObserver.js";
39
+ import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
40
+ import "../../../shared-utils/three/Magnifier.js";
41
+ import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
42
+ import "../../../shared-utils/three/Assets/index.js";
43
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
44
+ import "../../../CSS3DRenderPlugin/utils/even.js";
45
+ import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
46
+ import "../../../shared-utils/three/centerPoint.js";
47
+ import "../../../shared-utils/three/getObjectVisible.js";
48
+ import "../../../shared-utils/isNil.js";
49
+ import "../../../shared-utils/three/PointSelector/utils/html.js";
50
+ import "../../../shared-utils/five/initialCSS3DRender.js";
51
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
52
+ import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
53
+ import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
54
+ import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
55
+ import "../../../Sculpt/Meshes/Line.js";
56
+ import "../../../Sculpt/typings/style.js";
57
+ import "../../../shared-utils/five/FiveLine.js";
58
+ import "../../../shared-utils/three/IObject3D.js";
59
+ import "../../../Sculpt/utils/removeAllTag.js";
60
+ import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
61
+ import "../../../shared-utils/three/applyObjectMatrixWorld.js";
62
+ import "../../../shared-utils/util.js";
63
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
64
+ import "../../../shared-utils/isTouchDevice.js";
65
+ import "../../../shared-utils/five/getPosition.js";
66
+ import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
67
+ import "../../../shared-utils/three/PointSelector/utils/contents.js";
38
68
  import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
39
69
  import "../../../vendor/three/build/three.module.js";
40
- function Co(o, i, e) {
70
+ function $o(o, i, t) {
41
71
  var v, b, j, C, A;
42
- const D = (v = e == null ? void 0 : e.useCache) != null ? v : !0;
72
+ const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
43
73
  if (!o)
44
74
  return (b = i.globalConfig) != null ? b : {};
45
75
  if (D) {
@@ -49,39 +79,39 @@ function Co(o, i, e) {
49
79
  return o.config;
50
80
  }
51
81
  const k = {}, d = {}, y = {};
52
- i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([n, r]) => {
82
+ i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([r, n]) => {
53
83
  var O, W;
54
- const t = n, a = t.split("-"), g = n.startsWith("["), s = g ? a[0].slice(1, -1) : void 0, p = g ? a.slice(1) : a, f = s ? ["PanoramaLike", "ModelLike"].includes(s) ? (O = d[s]) != null ? O : d[s] = {} : (W = y[s]) != null ? W : y[s] = {} : k;
55
- if (!f[t]) {
56
- if (p.length === 0 && (f[t] = r), p.length === 1) {
57
- const [c] = p;
58
- (o.contentType === c || c === "Any") && (f[t] = r);
84
+ const e = r, a = e.split("-"), g = r.startsWith("["), m = g ? a[0].slice(1, -1) : void 0, c = g ? a.slice(1) : a, s = m ? ["PanoramaLike", "ModelLike"].includes(m) ? (O = d[m]) != null ? O : d[m] = {} : (W = y[m]) != null ? W : y[m] = {} : k;
85
+ if (!s[e]) {
86
+ if (c.length === 0 && (s[e] = n), c.length === 1) {
87
+ const [p] = c;
88
+ (o.contentType === p || p === "Any") && (s[e] = n);
59
89
  }
60
- if (p.length === 2) {
61
- const [c = "Any", u = "Any"] = p;
62
- c === "Mixin" && o.contentType === u && (f[t] = r), (o.stickType === c || c === "Any") && (o.contentType === u || u === "Any") && (f[t] = r);
90
+ if (c.length === 2) {
91
+ const [p = "Any", u = "Any"] = c;
92
+ p === "Mixin" && o.contentType === u && (s[e] = n), (o.stickType === p || p === "Any") && (o.contentType === u || u === "Any") && (s[e] = n);
63
93
  }
64
- if (p.length === 3) {
65
- const [c = "Any", u, w] = p;
94
+ if (c.length === 3) {
95
+ const [p = "Any", u, w] = c;
66
96
  if (u === "Audio" && o.contentType === "Audio") {
67
97
  const L = o;
68
- (L.stickType === c || c === "Any") && L.data.appearance === w && (f[t] = r);
98
+ (L.stickType === p || p === "Any") && L.data.appearance === w && (s[e] = n);
69
99
  }
70
100
  }
71
101
  }
72
102
  });
73
- const h = (A = o.initialConfig) != null ? A : {}, M = l({}, N, i.globalConfig, ...Object.values(k)), G = l({}, M, h), m = {}, q = Object.values(Q.Mode);
74
- I(d).forEach(([n, r]) => {
75
- q.forEach((t) => {
76
- (n === "PanoramaLike" && R(t) || n === "ModelLike" && S(t)) && (m[t] = l({}, M, ...Object.values(r), h, { _isMerged: !0 }));
103
+ const h = (A = o.initialConfig) != null ? A : {}, M = l({}, N, i.globalConfig, ...Object.values(k)), G = l({}, M, h), f = {}, q = Object.values(Q.Mode);
104
+ I(d).forEach(([r, n]) => {
105
+ q.forEach((e) => {
106
+ (r === "PanoramaLike" && R(e) || r === "ModelLike" && S(e)) && (f[e] = l({}, M, ...Object.values(n), h, { _isMerged: !0 }));
77
107
  });
78
- }), I(y).forEach(([n, r]) => {
79
- const t = m[n];
80
- m[n] = l({}, M, t, ...Object.values(r), h, { _isMerged: !0 });
108
+ }), I(y).forEach(([r, n]) => {
109
+ const e = f[r];
110
+ f[r] = l({}, M, e, ...Object.values(n), h, { _isMerged: !0 });
81
111
  });
82
- const T = _(F({}, G), { configWithFiveMode: m });
83
- return P(T), Object.values(m).forEach((n) => P(n)), T._isMerged = !0, T;
112
+ const T = _(F({}, G), { configWithFiveMode: f });
113
+ return P(T), Object.values(f).forEach((r) => P(r)), T._isMerged = !0, T;
84
114
  }
85
115
  export {
86
- Co as calculateTagConfig
116
+ $o as calculateTagConfig
87
117
  };