@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
@@ -70,13 +70,42 @@ import "../../shared-utils/five/transformPosition.js";
70
70
  import "../../shared-utils/three/temp.js";
71
71
  import "../../shared-utils/dom/resizeObserver.js";
72
72
  import "hammerjs";
73
+ import "../../shared-utils/three/PointSelector/index.js";
74
+ import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
75
+ import "../../shared-utils/three/Magnifier.js";
76
+ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
77
+ import "../../shared-utils/three/Assets/index.js";
78
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
73
79
  import "three/examples/jsm/renderers/CSS3DRenderer";
80
+ import "../../CSS3DRenderPlugin/utils/even.js";
81
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
82
+ import "../../shared-utils/three/centerPoint.js";
83
+ import "../../shared-utils/three/getObjectVisible.js";
74
84
  import "@realsee/five/line";
75
85
  import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
76
86
  import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
77
87
  import "../../vendor/three/build/three.module.js";
78
88
  import "../../shared-utils/three/core/Sphere.js";
79
89
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
90
+ import "../../shared-utils/three/PointSelector/utils/html.js";
91
+ import "../../shared-utils/five/initialCSS3DRender.js";
92
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
93
+ import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
94
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
95
+ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
96
+ import "../../Sculpt/Meshes/Line.js";
97
+ import "../../Sculpt/typings/style.js";
98
+ import "../../shared-utils/five/FiveLine.js";
99
+ import "../../shared-utils/three/IObject3D.js";
100
+ import "../../Sculpt/utils/removeAllTag.js";
101
+ import "../../Sculpt/utils/Meshes/getLengthHTML.js";
102
+ import "../../shared-utils/three/applyObjectMatrixWorld.js";
103
+ import "../../shared-utils/util.js";
104
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
105
+ import "../../shared-utils/isTouchDevice.js";
106
+ import "../../shared-utils/five/getPosition.js";
107
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
108
+ import "../../shared-utils/three/PointSelector/utils/contents.js";
80
109
  import "../utils/noTypecheck.js";
81
110
  import "./Tag/AudioTag/index.js";
82
111
  import "./Tag/AudioTag/AudioTag.js";
@@ -98,7 +127,6 @@ import "@realsee/five/gltf-loader";
98
127
  import "../utils/planeNormal.js";
99
128
  import "../utils/tag/tagCheck.js";
100
129
  import "../utils/model/mediaPlane.js";
101
- import "../../shared-utils/three/centerPoint.js";
102
130
  import "../../shared-utils/three/loadTexture.js";
103
131
  import "../../shared-utils/three/Quadrangle.js";
104
132
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -116,7 +144,6 @@ import "../typings/tag/TagConfig.js";
116
144
  import "@realsee/five";
117
145
  import "../../shared-utils/five/mode.js";
118
146
  import "../utils/tag/format.js";
119
- import "../../shared-utils/util.js";
120
147
  import "../../shared-utils/three/blink.js";
121
148
  import "../../shared-utils/vectorToCoordinate.js";
122
149
  import "../../shared-utils/formatRad.js";
@@ -131,83 +158,83 @@ import "./Common/TagPoint.js";
131
158
  function K(a) {
132
159
  I(a, "svelte-1owzhnq", ".tag--container.svelte-1owzhnq{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0);transition:opacity 0.2s linear}.tag--container.hide.svelte-1owzhnq{opacity:0;pointer-events:none}.tag--container.hide.svelte-1owzhnq *{pointer-events:none !important}");
133
160
  }
134
- function b(a, t, i) {
135
- const e = a.slice();
136
- return e[8] = t[i], e;
161
+ function b(a, t, o) {
162
+ const i = a.slice();
163
+ return i[8] = t[o], i;
137
164
  }
138
165
  function y(a) {
139
- let t, i = [], e = /* @__PURE__ */ new Map(), m, r, p = (
166
+ let t, o = [], i = /* @__PURE__ */ new Map(), m, r, n = (
140
167
  /*tags*/
141
168
  a[0]
142
169
  );
143
- const f = (n) => (
170
+ const f = (p) => (
144
171
  /*tag*/
145
- n[8].id
172
+ p[8].id
146
173
  );
147
- for (let n = 0; n < p.length; n += 1) {
148
- let o = b(a, p, n), s = f(o);
149
- e.set(s, i[n] = z(s, o));
174
+ for (let p = 0; p < n.length; p += 1) {
175
+ let e = b(a, n, p), s = f(e);
176
+ i.set(s, o[p] = z(s, e));
150
177
  }
151
178
  return {
152
179
  c() {
153
- var n;
180
+ var p;
154
181
  t = N("div");
155
- for (let o = 0; o < i.length; o += 1)
156
- i[o].c();
182
+ for (let e = 0; e < o.length; e += 1)
183
+ o[e].c();
157
184
  h(t, "class", "tag--container svelte-1owzhnq"), h(t, "data-infive", "1"), g(t, "hide", !/*state*/
158
185
  a[4].visible || !/*temporaryState*/
159
186
  a[5].visible), k(
160
187
  t,
161
188
  "z-index",
162
189
  /*zIndex*/
163
- (n = a[6]) != null ? n : ""
190
+ (p = a[6]) != null ? p : ""
164
191
  );
165
192
  },
166
- m(n, o) {
167
- _(n, t, o);
168
- for (let s = 0; s < i.length; s += 1)
169
- i[s] && i[s].m(t, null);
193
+ m(p, e) {
194
+ _(p, t, e);
195
+ for (let s = 0; s < o.length; s += 1)
196
+ o[s] && o[s].m(t, null);
170
197
  r = !0;
171
198
  },
172
- p(n, o) {
199
+ p(p, e) {
173
200
  var s;
174
- o & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap*/
175
- 63 && (p = /*tags*/
176
- n[0], v(), i = j(i, o, f, 1, n, p, e, t, A, z, null, b), S()), (!r || o & /*state, temporaryState*/
201
+ e & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap*/
202
+ 63 && (n = /*tags*/
203
+ p[0], v(), o = j(o, e, f, 1, p, n, i, t, A, z, null, b), S()), (!r || e & /*state, temporaryState*/
177
204
  48) && g(t, "hide", !/*state*/
178
- n[4].visible || !/*temporaryState*/
179
- n[5].visible), o & /*zIndex*/
205
+ p[4].visible || !/*temporaryState*/
206
+ p[5].visible), e & /*zIndex*/
180
207
  64 && k(
181
208
  t,
182
209
  "z-index",
183
210
  /*zIndex*/
184
- (s = n[6]) != null ? s : ""
211
+ (s = p[6]) != null ? s : ""
185
212
  );
186
213
  },
187
- i(n) {
214
+ i(p) {
188
215
  if (!r) {
189
- for (let o = 0; o < p.length; o += 1)
190
- c(i[o]);
216
+ for (let e = 0; e < n.length; e += 1)
217
+ c(o[e]);
191
218
  m || B(() => {
192
219
  m = D(t, J, {}), m.start();
193
220
  }), r = !0;
194
221
  }
195
222
  },
196
- o(n) {
197
- for (let o = 0; o < i.length; o += 1)
198
- u(i[o]);
223
+ o(p) {
224
+ for (let e = 0; e < o.length; e += 1)
225
+ u(o[e]);
199
226
  r = !1;
200
227
  },
201
- d(n) {
202
- n && d(t);
203
- for (let o = 0; o < i.length; o += 1)
204
- i[o].d();
228
+ d(p) {
229
+ p && d(t);
230
+ for (let e = 0; e < o.length; e += 1)
231
+ o[e].d();
205
232
  }
206
233
  };
207
234
  }
208
235
  function z(a, t) {
209
- let i, e, m;
210
- return e = new H({
236
+ let o, i, m;
237
+ return i = new H({
211
238
  props: {
212
239
  state: (
213
240
  /*state*/
@@ -238,85 +265,85 @@ function z(a, t) {
238
265
  key: a,
239
266
  first: null,
240
267
  c() {
241
- i = M(), E(e.$$.fragment), this.first = i;
268
+ o = M(), E(i.$$.fragment), this.first = o;
242
269
  },
243
- m(r, p) {
244
- _(r, i, p), F(e, r, p), m = !0;
270
+ m(r, n) {
271
+ _(r, o, n), F(i, r, n), m = !0;
245
272
  },
246
- p(r, p) {
273
+ p(r, n) {
247
274
  t = r;
248
275
  const f = {};
249
- p & /*state*/
276
+ n & /*state*/
250
277
  16 && (f.state = /*state*/
251
- t[4]), p & /*temporaryState*/
278
+ t[4]), n & /*temporaryState*/
252
279
  32 && (f.temporaryState = /*temporaryState*/
253
- t[5]), p & /*tags*/
280
+ t[5]), n & /*tags*/
254
281
  1 && (f.tag = /*tag*/
255
- t[8]), p & /*mediaStore*/
282
+ t[8]), n & /*mediaStore*/
256
283
  2 && (f.mediaStore = /*mediaStore*/
257
- t[1]), p & /*rendererMap*/
284
+ t[1]), n & /*rendererMap*/
258
285
  4 && (f.rendererMap = /*rendererMap*/
259
- t[2]), p & /*contentTypeMap*/
286
+ t[2]), n & /*contentTypeMap*/
260
287
  8 && (f.contentTypeMap = /*contentTypeMap*/
261
- t[3]), e.$set(f);
288
+ t[3]), i.$set(f);
262
289
  },
263
290
  i(r) {
264
- m || (c(e.$$.fragment, r), m = !0);
291
+ m || (c(i.$$.fragment, r), m = !0);
265
292
  },
266
293
  o(r) {
267
- u(e.$$.fragment, r), m = !1;
294
+ u(i.$$.fragment, r), m = !1;
268
295
  },
269
296
  d(r) {
270
- r && d(i), G(e, r);
297
+ r && d(o), G(i, r);
271
298
  }
272
299
  };
273
300
  }
274
301
  function L(a) {
275
- let t, i, e = (
302
+ let t, o, i = (
276
303
  /*state*/
277
304
  a[4].enabled && y(a)
278
305
  );
279
306
  return {
280
307
  c() {
281
- e && e.c(), t = M();
308
+ i && i.c(), t = M();
282
309
  },
283
310
  m(m, r) {
284
- e && e.m(m, r), _(m, t, r), i = !0;
311
+ i && i.m(m, r), _(m, t, r), o = !0;
285
312
  },
286
313
  p(m, [r]) {
287
314
  /*state*/
288
- m[4].enabled ? e ? (e.p(m, r), r & /*state*/
289
- 16 && c(e, 1)) : (e = y(m), e.c(), c(e, 1), e.m(t.parentNode, t)) : e && (v(), u(e, 1, 1, () => {
290
- e = null;
315
+ m[4].enabled ? i ? (i.p(m, r), r & /*state*/
316
+ 16 && c(i, 1)) : (i = y(m), i.c(), c(i, 1), i.m(t.parentNode, t)) : i && (v(), u(i, 1, 1, () => {
317
+ i = null;
291
318
  }), S());
292
319
  },
293
320
  i(m) {
294
- i || (c(e), i = !0);
321
+ o || (c(i), o = !0);
295
322
  },
296
323
  o(m) {
297
- u(e), i = !1;
324
+ u(i), o = !1;
298
325
  },
299
326
  d(m) {
300
- e && e.d(m), m && d(t);
327
+ i && i.d(m), m && d(t);
301
328
  }
302
329
  };
303
330
  }
304
- function O(a, t, i) {
305
- let { tags: e = [] } = t, { hooks: m } = t, { mediaStore: r } = t, { rendererMap: p } = t, { contentTypeMap: f } = t, { state: n } = t, { temporaryState: o } = t, { zIndex: s = void 0 } = t;
331
+ function O(a, t, o) {
332
+ let { tags: i = [] } = t, { hooks: m } = t, { mediaStore: r } = t, { rendererMap: n } = t, { contentTypeMap: f } = t, { state: p } = t, { temporaryState: e } = t, { zIndex: s = void 0 } = t;
306
333
  return C("hooks", m), a.$$set = (l) => {
307
- "tags" in l && i(0, e = l.tags), "hooks" in l && i(7, m = l.hooks), "mediaStore" in l && i(1, r = l.mediaStore), "rendererMap" in l && i(2, p = l.rendererMap), "contentTypeMap" in l && i(3, f = l.contentTypeMap), "state" in l && i(4, n = l.state), "temporaryState" in l && i(5, o = l.temporaryState), "zIndex" in l && i(6, s = l.zIndex);
334
+ "tags" in l && o(0, i = l.tags), "hooks" in l && o(7, m = l.hooks), "mediaStore" in l && o(1, r = l.mediaStore), "rendererMap" in l && o(2, n = l.rendererMap), "contentTypeMap" in l && o(3, f = l.contentTypeMap), "state" in l && o(4, p = l.state), "temporaryState" in l && o(5, e = l.temporaryState), "zIndex" in l && o(6, s = l.zIndex);
308
335
  }, [
309
- e,
336
+ i,
310
337
  r,
311
- p,
312
- f,
313
338
  n,
314
- o,
339
+ f,
340
+ p,
341
+ e,
315
342
  s,
316
343
  m
317
344
  ];
318
345
  }
319
- class si extends w {
346
+ class Jo extends w {
320
347
  constructor(t) {
321
348
  super(), T(
322
349
  this,
@@ -339,5 +366,5 @@ class si extends w {
339
366
  }
340
367
  }
341
368
  export {
342
- si as default
369
+ Jo as default
343
370
  };
@@ -6,6 +6,7 @@ import tt from "./Common/TagPoint.js";
6
6
  import "../../shared-utils/tag.js";
7
7
  import { isModelLike as et } from "../../shared-utils/five/mode.js";
8
8
  import "hammerjs";
9
+ import "../../shared-utils/three/PointSelector/index.js";
9
10
  import "three/examples/jsm/renderers/CSS3DRenderer";
10
11
  import "@realsee/five/line";
11
12
  import "../../vendor/three/examples/jsm/lines/LineGeometry.js";
@@ -77,6 +78,34 @@ import "../../shared-utils/Utils/WorkUtil.js";
77
78
  import "../../shared-utils/five/transformPosition.js";
78
79
  import "../../shared-utils/three/temp.js";
79
80
  import "../../shared-utils/dom/resizeObserver.js";
81
+ import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
82
+ import "../../shared-utils/three/Magnifier.js";
83
+ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
84
+ import "../../shared-utils/three/Assets/index.js";
85
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
86
+ import "../../CSS3DRenderPlugin/utils/even.js";
87
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
88
+ import "../../shared-utils/three/centerPoint.js";
89
+ import "../../shared-utils/three/getObjectVisible.js";
90
+ import "../../shared-utils/three/PointSelector/utils/html.js";
91
+ import "../../shared-utils/five/initialCSS3DRender.js";
92
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
93
+ import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
94
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
95
+ import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
96
+ import "../../Sculpt/Meshes/Line.js";
97
+ import "../../Sculpt/typings/style.js";
98
+ import "../../shared-utils/five/FiveLine.js";
99
+ import "../../shared-utils/three/IObject3D.js";
100
+ import "../../Sculpt/utils/removeAllTag.js";
101
+ import "../../Sculpt/utils/Meshes/getLengthHTML.js";
102
+ import "../../shared-utils/three/applyObjectMatrixWorld.js";
103
+ import "../../shared-utils/util.js";
104
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
105
+ import "../../shared-utils/isTouchDevice.js";
106
+ import "../../shared-utils/five/getPosition.js";
107
+ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
108
+ import "../../shared-utils/three/PointSelector/utils/contents.js";
80
109
  import "../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
81
110
  import "../../vendor/three/build/three.module.js";
82
111
  import "./Tag/AudioTag/index.js";
@@ -99,7 +128,6 @@ import "@realsee/five/gltf-loader";
99
128
  import "../utils/planeNormal.js";
100
129
  import "../utils/tag/tagCheck.js";
101
130
  import "../utils/model/mediaPlane.js";
102
- import "../../shared-utils/three/centerPoint.js";
103
131
  import "../../shared-utils/three/loadTexture.js";
104
132
  import "../../shared-utils/three/Quadrangle.js";
105
133
  import "../../shared-utils/math/pointsIsRectangle.js";
@@ -116,7 +144,6 @@ import "../utils/tag/adaptConfig.js";
116
144
  import "../typings/tag/TagConfig.js";
117
145
  import "@realsee/five";
118
146
  import "../utils/tag/format.js";
119
- import "../../shared-utils/util.js";
120
147
  import "../../shared-utils/three/blink.js";
121
148
  import "../../shared-utils/vectorToCoordinate.js";
122
149
  import "../../shared-utils/formatRad.js";
@@ -465,7 +492,7 @@ function at(o, t, i) {
465
492
  H
466
493
  ];
467
494
  }
468
- class Li extends J {
495
+ class oo extends J {
469
496
  constructor(t) {
470
497
  super(), K(
471
498
  this,
@@ -486,5 +513,5 @@ class Li extends J {
486
513
  }
487
514
  }
488
515
  export {
489
- Li as default
516
+ oo as default
490
517
  };
@@ -43,6 +43,7 @@ import "../../../shared-utils/tag.js";
43
43
  import { isPanoramaLike as U, isModelLike as C } from "../../../shared-utils/five/mode.js";
44
44
  import * as B from "three";
45
45
  import "hammerjs";
46
+ import "../../../shared-utils/three/PointSelector/index.js";
46
47
  import "three/examples/jsm/renderers/CSS3DRenderer";
47
48
  import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
48
49
  import "@realsee/five/line";
@@ -77,10 +78,36 @@ import "../../../shared-utils/Utils/FiveUtil.js";
77
78
  import "../../../shared-utils/Utils/BaseUtil.js";
78
79
  import "../../../shared-utils/Utils/WorkUtil.js";
79
80
  import "../../../shared-utils/dom/resizeObserver.js";
81
+ import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
82
+ import "../../../shared-utils/three/Magnifier.js";
83
+ import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
84
+ import "../../../shared-utils/three/Assets/index.js";
85
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
86
+ import "../../../CSS3DRenderPlugin/utils/even.js";
87
+ import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
88
+ import "../../../shared-utils/three/getObjectVisible.js";
89
+ import "../../../shared-utils/three/PointSelector/utils/html.js";
90
+ import "../../../shared-utils/five/initialCSS3DRender.js";
91
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
92
+ import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
93
+ import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
94
+ import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
95
+ import "../../../Sculpt/Meshes/Line.js";
96
+ import "../../../Sculpt/typings/style.js";
97
+ import "../../../shared-utils/five/FiveLine.js";
98
+ import "../../../shared-utils/three/IObject3D.js";
99
+ import "../../../Sculpt/utils/removeAllTag.js";
100
+ import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
101
+ import "../../../shared-utils/three/applyObjectMatrixWorld.js";
102
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
103
+ import "../../../shared-utils/isTouchDevice.js";
104
+ import "../../../shared-utils/five/getPosition.js";
105
+ import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
106
+ import "../../../shared-utils/three/PointSelector/utils/contents.js";
80
107
  import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
81
108
  import "../../../vendor/three/build/three.module.js";
82
109
  import "../../../shared-utils/formatRad.js";
83
- class ii {
110
+ class Ti {
84
111
  constructor(i, e) {
85
112
  f(this, "plugin");
86
113
  f(this, "id");
@@ -639,5 +666,5 @@ class ii {
639
666
  }
640
667
  }
641
668
  export {
642
- ii as BaseTag
669
+ Ti as BaseTag
643
670
  };
@@ -1,21 +1,21 @@
1
1
  var f = Object.defineProperty;
2
- var b = (m, r, i) => r in m ? f(m, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[r] = i;
3
- var l = (m, r, i) => (b(m, typeof r != "symbol" ? r + "" : r, i), i);
4
- var d = (m, r, i) => new Promise((s, o) => {
5
- var a = (t) => {
2
+ var b = (p, e, i) => e in p ? f(p, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[e] = i;
3
+ var l = (p, e, i) => (b(p, typeof e != "symbol" ? e + "" : e, i), i);
4
+ var d = (p, e, i) => new Promise((m, o) => {
5
+ var s = (t) => {
6
6
  try {
7
- e(i.next(t));
7
+ r(i.next(t));
8
8
  } catch (n) {
9
9
  o(n);
10
10
  }
11
- }, p = (t) => {
11
+ }, a = (t) => {
12
12
  try {
13
- e(i.throw(t));
13
+ r(i.throw(t));
14
14
  } catch (n) {
15
15
  o(n);
16
16
  }
17
- }, e = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(a, p);
18
- e((i = i.apply(m, r)).next());
17
+ }, r = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(s, a);
18
+ r((i = i.apply(p, e)).next());
19
19
  });
20
20
  import { arrayPositionToVector3 as h } from "../../../shared-utils/positionToVector3.js";
21
21
  import { loadGLTF as j } from "../../../shared-utils/three/GLTFLoader.js";
@@ -53,20 +53,47 @@ import "../../../shared-utils/three/temp.js";
53
53
  import "../../../shared-utils/dom/resizeObserver.js";
54
54
  import "../../../shared-utils/five/mode.js";
55
55
  import "hammerjs";
56
+ import "../../../shared-utils/three/PointSelector/index.js";
57
+ import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
58
+ import "../../../shared-utils/three/Magnifier.js";
59
+ import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
60
+ import "../../../shared-utils/three/Assets/index.js";
61
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
56
62
  import "three/examples/jsm/renderers/CSS3DRenderer";
63
+ import "../../../CSS3DRenderPlugin/utils/even.js";
64
+ import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
65
+ import "../../../shared-utils/three/getObjectVisible.js";
57
66
  import "@realsee/five/line";
58
67
  import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
59
68
  import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
60
69
  import "../../../vendor/three/build/three.module.js";
61
70
  import "../../../shared-utils/three/core/Sphere.js";
62
71
  import "animejs";
72
+ import "../../../shared-utils/isNil.js";
63
73
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
64
- import "../../utils/tag/format.js";
74
+ import "../../../shared-utils/three/PointSelector/utils/html.js";
75
+ import "../../../shared-utils/five/initialCSS3DRender.js";
76
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
77
+ import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
78
+ import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
79
+ import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
80
+ import "../../../Sculpt/Meshes/Line.js";
81
+ import "../../../Sculpt/typings/style.js";
82
+ import "../../../shared-utils/five/FiveLine.js";
83
+ import "../../../shared-utils/three/IObject3D.js";
84
+ import "../../../Sculpt/utils/removeAllTag.js";
85
+ import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
86
+ import "../../../shared-utils/three/applyObjectMatrixWorld.js";
65
87
  import "../../../shared-utils/util.js";
88
+ import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
89
+ import "../../../shared-utils/isTouchDevice.js";
90
+ import "../../../shared-utils/five/getPosition.js";
91
+ import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
92
+ import "../../../shared-utils/three/PointSelector/utils/contents.js";
93
+ import "../../utils/tag/format.js";
66
94
  import "../../../shared-utils/three/blink.js";
67
95
  import "../../../shared-utils/vectorToCoordinate.js";
68
96
  import "../../../shared-utils/formatRad.js";
69
- import "../../../shared-utils/isNil.js";
70
97
  import "../../../shared-utils/five/lookPoint.js";
71
98
  import "../../../shared-utils/uuid.js";
72
99
  import "../../utils/tagPosition.js";
@@ -75,42 +102,42 @@ import "../../../shared-utils/url/getUrl.js";
75
102
  import "../../../shared-utils/five/getFloorIndex.js";
76
103
  import "../../../shared-utils/safeObj.js";
77
104
  import "../../utils/Cache.js";
78
- class Ot extends D {
79
- constructor(i, s) {
80
- super(i, s);
105
+ class ti extends D {
106
+ constructor(i, m) {
107
+ super(i, m);
81
108
  l(this, "loading", !1);
82
109
  /** 加载外部模型 */
83
110
  l(this, "loadModel", () => d(this, null, function* () {
84
- var p;
111
+ var a;
85
112
  const i = this.data.modelUrl;
86
113
  if (!i)
87
114
  return;
88
115
  this.loading = !0;
89
- const s = j(i).then((e) => d(this, null, function* () {
116
+ const m = j(i).then((r) => d(this, null, function* () {
90
117
  var c;
91
- const t = Object.assign(e.scene, {
118
+ const t = Object.assign(r.scene, {
92
119
  customID: this.id,
93
120
  isTagModel: !0,
94
121
  removeEventListener: this.getConfig().clickable === !1 ? () => {
95
- } : this.addObjectClickHandler(this, e.scene, (g) => {
122
+ } : this.addObjectClickHandler(this, r.scene, (g) => {
96
123
  this.plugin.hooks.emit("click", { target: "TagModel", tag: this, event: g });
97
124
  })
98
125
  });
99
126
  return t.visible = this.currentVisible, new u.Matrix4().fromArray(this.matrix).decompose(t.position, t.quaternion, t.scale), t.updateWorldMatrix(!0, !0), t.visible = yield this.getVisible(), (c = this.getConfig().modelConfig) != null && c.autoLookAtEnabled && t.lookAt(this.five.camera.position.clone().setY(t.position.y)), t;
100
127
  }));
101
- this.model = { promise: s };
102
- const o = yield s;
103
- if (this.loading = !1, ((p = this.model) == null ? void 0 : p.promise) !== s || !this.plugin.tags.includes(this))
128
+ this.model = { promise: m };
129
+ const o = yield m;
130
+ if (this.loading = !1, ((a = this.model) == null ? void 0 : a.promise) !== m || !this.plugin.tags.includes(this))
104
131
  return;
105
132
  this.model.object = o;
106
- const a = this.plugin.gltfObjectGroup.children.find((e) => e.customID === this.id);
107
- if (a && (this.plugin.gltfObjectGroup.remove(a), a.removeEventListener()), this.plugin.updateRender3DDomTag(), T(this)) {
133
+ const s = this.plugin.gltfObjectGroup.children.find((r) => r.customID === this.id);
134
+ if (s && (this.plugin.gltfObjectGroup.remove(s), s.removeEventListener()), this.plugin.updateRender3DDomTag(), T(this)) {
108
135
  if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
109
- const e = this.data.mediaPosition.map(h);
136
+ const r = this.data.mediaPosition.map(h);
110
137
  this.mediaPlane = new M(this.data.mediaData[0].url, this.data.mediaPosition.map(h), {
111
138
  objectFit: this.data.objectFit
112
139
  });
113
- const t = new u.Vector3().addVectors(e[0], e[2]).divideScalar(2);
140
+ const t = new u.Vector3().addVectors(r[0], r[2]).divideScalar(2);
114
141
  this.mediaPlane.position.copy(t), o.add(this.mediaPlane);
115
142
  }
116
143
  this.computeRenderType() !== "Mesh" && (o.updateTagCss3DObjectMatrix = () => this.plugin.updateTagCss3DObjectMatrix(this, o), o.updateTagCss3DObjectMatrix());
@@ -120,13 +147,13 @@ class Ot extends D {
120
147
  this.state.unfolded = !0;
121
148
  }
122
149
  applyVisible() {
123
- var i, s, o;
124
- (i = this.model) != null && i.object && (this.model.object.visible = this.currentVisible), (s = this.tag3DContentSvelte) == null || s.svelteApp.$set({ tag: this, state: this.plugin.state }), (o = this.tag3DContentSvelte) == null || o.css3DInstance.setVisible(this.currentVisible);
150
+ var i, m, o;
151
+ (i = this.model) != null && i.object && (this.model.object.visible = this.currentVisible), (m = this.tag3DContentSvelte) == null || m.svelteApp.$set({ tag: this, state: this.plugin.state }), (o = this.tag3DContentSvelte) == null || o.css3DInstance.setVisible(this.currentVisible);
125
152
  }
126
153
  computeNormal() {
127
154
  return v(this.data.mediaPosition);
128
155
  }
129
156
  }
130
157
  export {
131
- Ot as ModelTag
158
+ ti as ModelTag
132
159
  };