@realsee/dnalogel 2.2.7 → 2.3.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 (275) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
  3. package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  5. package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  6. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  7. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  9. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  10. package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  11. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  12. package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  13. package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  14. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  15. package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
  16. package/dist/index.cjs.js +46 -46
  17. package/dist/index.js +5013 -4842
  18. package/dist/index.umd.js +39 -39
  19. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  20. package/docs/assets/highlight.css +7 -0
  21. package/docs/assets/search.js +1 -1
  22. package/docs/classes/CSS3DRender.html +533 -0
  23. package/docs/classes/CruisePluginController.html +24 -24
  24. package/docs/classes/Magnifier.html +16 -16
  25. package/docs/classes/ModelRoomLabelController.html +11 -11
  26. package/docs/classes/Object3DHelperController.html +24 -24
  27. package/docs/classes/PaintBrush.html +15 -15
  28. package/docs/classes/PanoTagPluginController.html +39 -39
  29. package/docs/classes/Util.BetterTween.html +8 -8
  30. package/docs/classes/Util.FivePointSelector.html +12 -12
  31. package/docs/classes/Util.Interval.html +12 -12
  32. package/docs/classes/Util.Magnifier.html +17 -17
  33. package/docs/classes/Util.PointDomHelper.html +11 -11
  34. package/docs/classes/Util.PointHelper.html +11 -11
  35. package/docs/classes/Util.Rectangle.html +13 -13
  36. package/docs/enums/CameraMovementEffect.html +7 -7
  37. package/docs/enums/ContentType.html +12 -12
  38. package/docs/enums/DIRECTION.html +9 -9
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  40. package/docs/enums/DimensionType.html +7 -7
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  43. package/docs/enums/LinkType.html +7 -7
  44. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  45. package/docs/enums/PointType.html +7 -7
  46. package/docs/enums/Rotation.html +8 -8
  47. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  48. package/docs/functions/CameraMovementPlugin.html +6 -5
  49. package/docs/functions/CruisePlugin.html +6 -5
  50. package/docs/functions/GuideLinePlugin.html +7 -6
  51. package/docs/functions/ItemLabelPlugin.html +6 -5
  52. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  53. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  55. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  56. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  57. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  58. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  59. package/docs/functions/ModelViewPlugin.html +6 -5
  60. package/docs/functions/Object3DHelperPlugin.html +6 -5
  61. package/docs/functions/PanoCompassPlugin.html +6 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  65. package/docs/functions/PanoMeasurePlugin.html +6 -5
  66. package/docs/functions/PanoRulerPlugin.html +6 -5
  67. package/docs/functions/PanoRulerProPlugin.html +6 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  69. package/docs/functions/PanoTagPlugin.html +6 -5
  70. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  71. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  72. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  73. package/docs/functions/Util.getFrameTime.html +5 -5
  74. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  75. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  76. package/docs/functions/Util.isNil.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +5 -5
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +5 -5
  81. package/docs/functions/pluginFlag.html +7 -6
  82. package/docs/index.html +6 -5
  83. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  84. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  85. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  86. package/docs/interfaces/ContentTypeMap.html +12 -12
  87. package/docs/interfaces/FloorplanBounding.html +8 -8
  88. package/docs/interfaces/FloorplanData.html +10 -10
  89. package/docs/interfaces/FloorplanEntrance.html +11 -11
  90. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  91. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  92. package/docs/interfaces/FloorplanFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanObserver.html +9 -9
  95. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanPosition.html +7 -7
  97. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  98. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  99. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  100. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  101. package/docs/interfaces/FloorplanServerData.html +7 -7
  102. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  103. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  104. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  105. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  106. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  108. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  111. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  112. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  113. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  114. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  115. package/docs/interfaces/LineJson.html +7 -7
  116. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  118. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  119. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  120. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  121. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  122. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  123. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  124. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  125. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  126. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  127. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  128. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  129. package/docs/interfaces/Object3DHelperState.html +8 -8
  130. package/docs/interfaces/OpenParameter.html +7 -7
  131. package/docs/interfaces/PaintBrushAction.html +12 -12
  132. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  133. package/docs/interfaces/PaintBrushState.html +10 -10
  134. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
  136. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  137. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  139. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  140. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  141. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  144. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
  145. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
  146. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  152. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  153. package/docs/interfaces/Point.html +8 -8
  154. package/docs/interfaces/PointJson.html +8 -8
  155. package/docs/interfaces/Room.html +9 -9
  156. package/docs/interfaces/RoomInfo.html +7 -7
  157. package/docs/interfaces/RoomLabel.html +14 -14
  158. package/docs/interfaces/RoomRules.html +7 -6
  159. package/docs/interfaces/Rooms.html +7 -6
  160. package/docs/interfaces/Scissor.html +9 -9
  161. package/docs/interfaces/TagConfig.html +10 -10
  162. package/docs/interfaces/Tags.html +9 -9
  163. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  164. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  165. package/docs/modules/Util.html +5 -5
  166. package/docs/modules.html +7 -5
  167. package/docs/types/ArrayPosition.html +7 -6
  168. package/docs/types/CSS3DRenderExportType.html +8 -7
  169. package/docs/types/CSS3DRenderPluginExportType.html +7 -6
  170. package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
  171. package/docs/types/Color.html +7 -6
  172. package/docs/types/ContentTypeConfigKey.html +7 -6
  173. package/docs/types/ContentTypeConfigKeyArray.html +7 -6
  174. package/docs/types/Create3DDomContainerReturnType.html +7 -6
  175. package/docs/types/Create3DElementReturnType.html +8 -7
  176. package/docs/types/CruisePluginExportType.html +7 -6
  177. package/docs/types/Direction-1.html +7 -6
  178. package/docs/types/Direction4.html +7 -6
  179. package/docs/types/FloorplanRuleLabels.html +7 -6
  180. package/docs/types/FloorplanServerRuleLabels.html +7 -6
  181. package/docs/types/GuideLinePluginExportType.html +7 -6
  182. package/docs/types/HelperEventMap.html +7 -6
  183. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
  184. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
  185. package/docs/types/MediaData.html +7 -6
  186. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
  187. package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
  188. package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
  189. package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
  190. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
  191. package/docs/types/MoveArgs.html +7 -6
  192. package/docs/types/MoveOpts.html +7 -6
  193. package/docs/types/Object3DHelperEventMap.html +7 -6
  194. package/docs/types/ObjectFit.html +7 -6
  195. package/docs/types/PaintBrushEventMap.html +7 -6
  196. package/docs/types/PanoCompassPluginData.html +7 -6
  197. package/docs/types/PanoCompassPluginExportType.html +7 -6
  198. package/docs/types/PanoCompassPluginParameterType.html +7 -6
  199. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
  200. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
  201. package/docs/types/PanoMeasurePluginEvent.html +7 -6
  202. package/docs/types/PanoMeasureReturnType.html +7 -6
  203. package/docs/types/PanoSpatialTagPluginId.html +7 -6
  204. package/docs/types/PanoTagPluginExportInterface.html +7 -6
  205. package/docs/types/PanoTagPluginParamsInterface.html +7 -6
  206. package/docs/types/PlaneTag.html +7 -6
  207. package/docs/types/PointTag.html +7 -6
  208. package/docs/types/Position.html +7 -6
  209. package/docs/types/RotateArgs.html +7 -6
  210. package/docs/types/RotateOpts.html +7 -6
  211. package/docs/types/RuleLabelsKey.html +7 -6
  212. package/docs/types/RuleLabelsValue.html +7 -6
  213. package/docs/types/Tag.html +7 -6
  214. package/docs/types/Tag2D.html +7 -6
  215. package/docs/types/Tag3D.html +7 -6
  216. package/docs/types/TagId.html +7 -6
  217. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
  218. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
  219. package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
  220. package/docs/variables/PLUGIN.html +7 -6
  221. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
  222. package/docs/variables/ROOM_TYPE_MAP.html +7 -6
  223. package/docs/variables/VERSION.html +7 -6
  224. package/docs/variables/itemLabelPluginServerParams.html +7 -6
  225. package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
  226. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
  227. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  228. package/libs/CSS3DRenderPlugin/CSS3DRender.js +197 -256
  229. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  230. package/libs/CSS3DRenderPlugin/Controller.js +59 -62
  231. package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
  232. package/libs/CSS3DRenderPlugin/index.js +17 -8
  233. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  234. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
  235. package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  236. package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
  237. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +30 -0
  239. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  240. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
  241. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  242. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
  244. package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  245. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  247. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
  248. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  249. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
  250. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  251. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
  252. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  253. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  254. package/libs/CruisePlugin/Controller.js +16 -16
  255. package/libs/ModelTVVideoPlugin/Plugin.js +60 -52
  256. package/libs/ModelTVVideoPlugin/index.js +15 -7
  257. package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
  258. package/libs/Object3DHelperPlugin/Controller.js +103 -83
  259. package/libs/Object3DHelperPlugin/index.js +20 -12
  260. package/libs/PanoCompassPlugin/Controller.js +49 -41
  261. package/libs/PanoCompassPlugin/index.js +13 -5
  262. package/libs/PanoSpatialTagPlugin/Plugin.js +46 -38
  263. package/libs/PanoSpatialTagPlugin/index.js +13 -5
  264. package/libs/PanoTagPlugin/index.js +21 -13
  265. package/libs/index.js +102 -93
  266. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  267. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
  268. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  269. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  270. package/libs/shared-utils/three/index.js +2 -1
  271. package/package.json +15 -14
  272. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  273. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -66
  274. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  275. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
@@ -7,19 +7,27 @@ import { pluginStyle as xe } from "./style.js";
7
7
  import { render as Ee } from "../shared-utils/tinyEJSrender.js";
8
8
  import "../CSS3DRenderPlugin/Controller.js";
9
9
  import "../CSS3DRenderPlugin/CSS3DRender.js";
10
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
10
11
  import "three/examples/jsm/renderers/CSS3DRenderer";
12
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
14
+ import "../CSS3DRenderPlugin/utils/even.js";
11
15
  import "../shared-utils/Subscribe.js";
12
- import "../CSS3DRenderPlugin/utils/evenNumber.js";
13
16
  import "../CSS3DRenderPlugin/utils/positionToVector3.js";
14
- import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
17
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
15
18
  import "../CSS3DRenderPlugin/utils/centerPoint.js";
19
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
20
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
+ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
23
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
16
24
  import "../vendor/svelte/internal/index.js";
17
25
  import "./store.js";
18
26
  import "../vendor/svelte/store/index.js";
19
- const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Ue = (n, s) => {
27
+ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Qe = (n, s) => {
20
28
  var k, z, q, B, G, J, K, Q;
21
29
  let j = s == null ? void 0 : s.container, y = 1.4;
22
- const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, u = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
30
+ const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, f = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
23
31
  S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, xe);
24
32
  const V = new we();
25
33
  let Z = new Image();
@@ -52,20 +60,20 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
52
60
  t.matrixWorldInverse
53
61
  ), g.setFromProjectionMatrix(P), e.tags.forEach((i) => {
54
62
  const $ = t.position.clone().setY(y).distanceTo(i.position);
55
- if ($ < A || $ > u || !g.containsPoint(i.position))
63
+ if ($ < A || $ > f || !g.containsPoint(i.position))
56
64
  return i.destroying = !0;
57
65
  const x = i.position.clone().sub(t.position).setY(0);
58
66
  if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
59
67
  return i.destroying = !0;
60
68
  }), e.tags.forEach((i) => {
61
69
  i.destroying ? i.app.$set({
62
- contentZoom: 0.1 + t.position.distanceTo(i.position) / u,
63
- lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / u),
70
+ contentZoom: 0.1 + t.position.distanceTo(i.position) / f,
71
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
64
72
  destroying: i.destroying
65
73
  }) : i.app.$set({
66
- lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / u),
67
- lineHeightZoom: 0.4 + (t.position.distanceTo(i.position) - A) / u * 0.6,
68
- contentZoom: 0.1 + t.position.distanceTo(i.position) / u
74
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
75
+ lineHeightZoom: 0.4 + (t.position.distanceTo(i.position) - A) / f * 0.6,
76
+ contentZoom: 0.1 + t.position.distanceTo(i.position) / f
69
77
  });
70
78
  }), setTimeout(() => {
71
79
  e.tags.forEach((i) => {
@@ -104,16 +112,16 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
104
112
  ), g.setFromProjectionMatrix(P);
105
113
  const $ = e.tags.filter(
106
114
  (d) => g.containsPoint(d.position) && !d.destroying
107
- ).length, x = e.points.reduce((d, f) => {
108
- if (e.tags.find((l) => f.id === l.id && !l.destroying))
115
+ ).length, x = e.points.reduce((d, m) => {
116
+ if (e.tags.find((l) => m.id === l.id && !l.destroying))
109
117
  return d;
110
- const m = t.position.clone().setY(y).distanceTo(f.position);
111
- if (m < A || m > u || !g.containsPoint(f.position))
118
+ const u = t.position.clone().setY(y).distanceTo(m.position);
119
+ if (u < A || u > f || !g.containsPoint(m.position))
112
120
  return d;
113
- const E = f.position.clone().sub(t.position).setY(0);
114
- if (E.angleTo(f.normal) > Math.PI / 2 - I && E.angleTo(f.normal) < Math.PI / 2 + I)
121
+ const E = m.position.clone().sub(t.position).setY(0);
122
+ if (E.angleTo(m.normal) > Math.PI / 2 - I && E.angleTo(m.normal) < Math.PI / 2 + I)
115
123
  return d;
116
- const w = f.position.clone().project(t);
124
+ const w = m.position.clone().project(t);
117
125
  if (!e.tags.every((l) => {
118
126
  if (l.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
119
127
  return !0;
@@ -124,12 +132,12 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
124
132
  }))
125
133
  return d;
126
134
  const h = {
127
- id: f.id,
128
- position: f.position,
129
- normal: f.normal,
130
- replacement: f.replacement,
131
- weight: f.weight,
132
- distance: m
135
+ id: m.id,
136
+ position: m.position,
137
+ normal: m.normal,
138
+ replacement: m.replacement,
139
+ weight: m.weight,
140
+ distance: u
133
141
  };
134
142
  let c;
135
143
  for (let l = 0, b = d.length; l < b; l++) {
@@ -145,11 +153,11 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
145
153
  }
146
154
  return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
147
155
  }, []);
148
- for (let d = 0, f = x.length; d < f && !($ + p.length >= oe); d++) {
149
- const m = x[d];
150
- if (p.find((c) => m.id === c.id))
156
+ for (let d = 0, m = x.length; d < m && !($ + p.length >= oe); d++) {
157
+ const u = x[d];
158
+ if (p.find((c) => u.id === c.id))
151
159
  continue;
152
- const E = m.position.clone().project(t);
160
+ const E = u.position.clone().project(t);
153
161
  if (!e.tags.concat(p).every((c) => {
154
162
  if (c.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
155
163
  return !0;
@@ -161,24 +169,24 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
161
169
  continue;
162
170
  const w = new a.Raycaster(
163
171
  t.position.clone().setY(y),
164
- m.position.clone().sub(t.position.clone().setY(y)).normalize(),
172
+ u.position.clone().sub(t.position.clone().setY(y)).normalize(),
165
173
  0,
166
- m.distance + v
174
+ u.distance + v
167
175
  ), [h] = e.intersectObjects ? w.intersectObjects(e.intersectObjects, !0) : n.model.bvhs.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
168
- if (!!h && m.distance - h.distance < v) {
169
- const { position: c, normal: l, id: b, replacement: O } = m, fe = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new a.Vector3(0, 1, 0)).setLength(D), ue = [
176
+ if (!!h && u.distance - h.distance < v) {
177
+ const { position: c, normal: l, id: b, replacement: O } = u, me = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new a.Vector3(0, 1, 0)).setLength(D), fe = [
170
178
  c.clone(),
171
179
  c.clone().add(X),
172
180
  c.clone().add(new a.Vector3(0, D, 0)).add(X),
173
181
  c.clone().add(new a.Vector3(0, D, 0))
174
- ].map((be) => fe.projectPoint(be, new a.Vector3())), { container: me, dispose: ge } = C.create3DDomContainer(ue) || {}, he = new Pe({
175
- target: me,
182
+ ].map((be) => me.projectPoint(be, new a.Vector3())), { container: ue, dispose: ge } = C.create3DDomContainer(fe) || {}, he = new Pe({
183
+ target: ue,
176
184
  props: {
177
185
  id: b,
178
186
  content: e.render(e.template, O),
179
- lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / u),
180
- lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / u * 0.6,
181
- contentZoom: 0.1 + t.position.distanceTo(c) / u,
187
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / f),
188
+ lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / f * 0.6,
189
+ contentZoom: 0.1 + t.position.distanceTo(c) / f,
182
190
  upsideDown: c.y > te,
183
191
  folded: e.folded,
184
192
  events: e.events,
@@ -253,6 +261,6 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
253
261
  };
254
262
  };
255
263
  export {
256
- Ue as PanoSpatialTagPlugin,
257
- Ue as default
264
+ Qe as PanoSpatialTagPlugin,
265
+ Qe as default
258
266
  };
@@ -1,16 +1,24 @@
1
1
  import "./Plugin.js";
2
- import { PanoSpatialTagPlugin as j, PanoSpatialTagPlugin as k } from "./Plugin.js";
2
+ import { PanoSpatialTagPlugin as B, PanoSpatialTagPlugin as C } from "./Plugin.js";
3
3
  import "three";
4
4
  import "@realsee/five";
5
5
  import "../CSS3DRenderPlugin/index.js";
6
6
  import "../CSS3DRenderPlugin/Controller.js";
7
7
  import "../CSS3DRenderPlugin/CSS3DRender.js";
8
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
8
9
  import "three/examples/jsm/renderers/CSS3DRenderer";
10
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
11
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
12
+ import "../CSS3DRenderPlugin/utils/even.js";
9
13
  import "../shared-utils/Subscribe.js";
10
- import "../CSS3DRenderPlugin/utils/evenNumber.js";
11
14
  import "../CSS3DRenderPlugin/utils/positionToVector3.js";
12
- import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
15
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
13
16
  import "../CSS3DRenderPlugin/utils/centerPoint.js";
17
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
18
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
19
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
20
+ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
21
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
14
22
  import "./Components/origins.js";
15
23
  import "../vendor/svelte/internal/index.js";
16
24
  import "./store.js";
@@ -19,6 +27,6 @@ import "./Components/tag.js";
19
27
  import "./style.js";
20
28
  import "../shared-utils/tinyEJSrender.js";
21
29
  export {
22
- j as PanoSpatialTagPlugin,
23
- k as default
30
+ B as PanoSpatialTagPlugin,
31
+ C as default
24
32
  };
@@ -1,6 +1,6 @@
1
1
  import { PanoTagPluginController as t } from "./controller/index.js";
2
- import { PanoTagPluginController as Fo, pluginFlag as Lo } from "./controller/index.js";
3
- import { ContentType as ho, DimensionType as jo, LinkType as qo, PointType as vo } from "./typings/tag.js";
2
+ import { PanoTagPluginController as Ao, pluginFlag as Bo } from "./controller/index.js";
3
+ import { ContentType as Go, DimensionType as Ho, LinkType as Io, PointType as Jo } from "./typings/tag.js";
4
4
  import "@realsee/five";
5
5
  import "three";
6
6
  import "object-assign-deep";
@@ -68,17 +68,25 @@ import "../shared-utils/Subscribe.js";
68
68
  import "../CSS3DRenderPlugin/index.js";
69
69
  import "../CSS3DRenderPlugin/Controller.js";
70
70
  import "../CSS3DRenderPlugin/CSS3DRender.js";
71
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
71
72
  import "three/examples/jsm/renderers/CSS3DRenderer";
72
- import "../CSS3DRenderPlugin/utils/evenNumber.js";
73
- import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
74
- const ko = (o, r) => new t(o, r);
73
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
74
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
75
+ import "../CSS3DRenderPlugin/utils/even.js";
76
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
77
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
78
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
79
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
80
+ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
81
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
82
+ const qo = (o, r) => new t(o, r);
75
83
  export {
76
- ho as ContentType,
77
- jo as DimensionType,
78
- qo as LinkType,
79
- ko as PanoTagPlugin,
80
- Fo as PanoTagPluginController,
81
- vo as PointType,
82
- ko as default,
83
- Lo as pluginFlag
84
+ Go as ContentType,
85
+ Ho as DimensionType,
86
+ Io as LinkType,
87
+ qo as PanoTagPlugin,
88
+ Ao as PanoTagPluginController,
89
+ Jo as PointType,
90
+ qo as default,
91
+ Bo as pluginFlag
84
92
  };
package/libs/index.js CHANGED
@@ -1,43 +1,44 @@
1
- import { PaintBrush as Bm } from "./components/PaintBrush/index.js";
2
- import { PaintBrushTypeEnum as Um } from "./components/PaintBrush/typings.js";
3
- import { ModelViewPlugin as km } from "./ModelViewPlugin/Plugin.js";
4
- import { CSS3DRenderPlugin as zm } from "./CSS3DRenderPlugin/index.js";
5
- import { PanoCursorRaycasterPlugin as Km } from "./PanoCursorRaycasterPlugin/index.js";
6
- import { ModelRoomLabelPlugin as Wm, modelRoomLabelPluginServerParams as Xm } from "./ModelRoomLabelPlugin/index.js";
7
- import { FLOOR_PLAN_ATTACHED_TO as $m } from "./floorplan/constant.js";
8
- import { ModelFloorplanPlugin as rp } from "./floorplan/ModelFloorplanPlugin/index.js";
9
- import { MapviewFloorplanPlugin as mp } from "./floorplan/MapviewFloorplanPlugin/index.js";
10
- import { TopviewFloorplanPlugin as ip } from "./floorplan/TopviewFloorplanPlugin/index.js";
11
- import { PanoFloorplanRadarPlugin as lp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
12
- import { FLOOR_TYPE_MAP as Pp, ROOM_FETILE_TYPE_MAP as ap, ROOM_TYPE_MAP as fp } from "./floorplan/typings/floorplanServerData.js";
13
- import { ModelChassisCompassPlugin as xp } from "./ModelChassisCompassPlugin/Plugin.js";
14
- import { ModelEntryDoorGuidePlugin as Tp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
15
- import { CameraMovementPlugin as Lp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
16
- import { CameraMovementEffect as Ep, Rotation as _p } from "./CameraMovementPlugin/typing.js";
17
- import { PanoRulerPlugin as Rp } from "./PanoRulerPlugin/Plugin.js";
18
- import { PanoRulerProPlugin as Op } from "./PanoRulerProPlugin/index.js";
19
- import { PanoCompassPlugin as Ap } from "./PanoCompassPlugin/index.js";
20
- import { PanoMeasurePlugin as Dp } from "./PanoMeasurePlugin/index.js";
21
- import { PanoSpatialTagPlugin as Yp } from "./PanoSpatialTagPlugin/Plugin.js";
22
- import { modelItemLabelPluginServerParams as vp } from "./ModelItemLabelPlugin/index.js";
23
- import { ModelTVVideoPlugin as Gp } from "./ModelTVVideoPlugin/Plugin.js";
24
- import { DIRECTION as cp } from "./ModelTVVideoPlugin/typings.js";
25
- import { itemLabelPluginServerParams as hp } from "./ItemLabelPlugin/index.js";
26
- import { PanoDoorLabelPlugin as Bp } from "./PanoDoorLabelPlugin/index.js";
27
- import { GuideLinePlugin as Up } from "./GuideLinePlugin/index.js";
28
- import { CruisePlugin as kp } from "./CruisePlugin/index.js";
29
- import { PanoTagPlugin as zp } from "./PanoTagPlugin/index.js";
30
- import { Object3DHelperPlugin as Kp } from "./Object3DHelperPlugin/index.js";
31
- import { index as Wp } from "./shared-utils/index.js";
32
- import { Magnifier as Zp } from "./PanoMeasurePlugin/Modules/Magnifier.js";
33
- import { DISPLAY_STRATEGY_TYPE as oi } from "./ModelItemLabelPlugin/typings.js";
34
- import { ModelItemLabelPlugin as ti } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
35
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as pi } from "./ItemLabelPlugin/typings.js";
36
- import { Plugin as ei } from "./ItemLabelPlugin/Plugin.js";
37
- import { default as ni } from "./CruisePlugin/Controller.js";
38
- import { PanoTagPluginController as ai, pluginFlag as fi } from "./PanoTagPlugin/controller/index.js";
39
- import { ContentType as xi, DimensionType as gi, LinkType as Ti, PointType as si } from "./PanoTagPlugin/typings/tag.js";
40
- import { Object3DHelperController as Mi, PLUGIN as Ei, VERSION as _i } from "./Object3DHelperPlugin/Controller.js";
1
+ import { PaintBrush as Jm } from "./components/PaintBrush/index.js";
2
+ import { PaintBrushTypeEnum as Qm } from "./components/PaintBrush/typings.js";
3
+ import { ModelViewPlugin as Xm } from "./ModelViewPlugin/Plugin.js";
4
+ import { CSS3DRenderPlugin as $m } from "./CSS3DRenderPlugin/index.js";
5
+ import { PanoCursorRaycasterPlugin as rp } from "./PanoCursorRaycasterPlugin/index.js";
6
+ import { ModelRoomLabelPlugin as mp, modelRoomLabelPluginServerParams as pp } from "./ModelRoomLabelPlugin/index.js";
7
+ import { FLOOR_PLAN_ATTACHED_TO as ep } from "./floorplan/constant.js";
8
+ import { ModelFloorplanPlugin as np } from "./floorplan/ModelFloorplanPlugin/index.js";
9
+ import { MapviewFloorplanPlugin as ap } from "./floorplan/MapviewFloorplanPlugin/index.js";
10
+ import { TopviewFloorplanPlugin as up } from "./floorplan/TopviewFloorplanPlugin/index.js";
11
+ import { PanoFloorplanRadarPlugin as gp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
12
+ import { FLOOR_TYPE_MAP as sp, ROOM_FETILE_TYPE_MAP as Lp, ROOM_TYPE_MAP as Mp } from "./floorplan/typings/floorplanServerData.js";
13
+ import { ModelChassisCompassPlugin as Ep } from "./ModelChassisCompassPlugin/Plugin.js";
14
+ import { ModelEntryDoorGuidePlugin as _p } from "./ModelEntryDoorGuidePlugin/Plugin.js";
15
+ import { CameraMovementPlugin as Op } from "./CameraMovementPlugin/CameraMovementPlugin.js";
16
+ import { CameraMovementEffect as Ip, Rotation as Ap } from "./CameraMovementPlugin/typing.js";
17
+ import { PanoRulerPlugin as bp } from "./PanoRulerPlugin/Plugin.js";
18
+ import { PanoRulerProPlugin as Fp } from "./PanoRulerProPlugin/index.js";
19
+ import { PanoCompassPlugin as yp } from "./PanoCompassPlugin/index.js";
20
+ import { PanoMeasurePlugin as Np } from "./PanoMeasurePlugin/index.js";
21
+ import { PanoSpatialTagPlugin as Vp } from "./PanoSpatialTagPlugin/Plugin.js";
22
+ import { modelItemLabelPluginServerParams as wp } from "./ModelItemLabelPlugin/index.js";
23
+ import { ModelTVVideoPlugin as Hp } from "./ModelTVVideoPlugin/Plugin.js";
24
+ import { DIRECTION as jp } from "./ModelTVVideoPlugin/typings.js";
25
+ import { itemLabelPluginServerParams as qp } from "./ItemLabelPlugin/index.js";
26
+ import { PanoDoorLabelPlugin as Jp } from "./PanoDoorLabelPlugin/index.js";
27
+ import { GuideLinePlugin as Qp } from "./GuideLinePlugin/index.js";
28
+ import { CruisePlugin as Xp } from "./CruisePlugin/index.js";
29
+ import { PanoTagPlugin as $p } from "./PanoTagPlugin/index.js";
30
+ import { Object3DHelperPlugin as ri } from "./Object3DHelperPlugin/index.js";
31
+ import { index as mi } from "./shared-utils/index.js";
32
+ import { CSS3DRender as ii } from "./CSS3DRenderPlugin/CSS3DRender.js";
33
+ import { Magnifier as li } from "./PanoMeasurePlugin/Modules/Magnifier.js";
34
+ import { DISPLAY_STRATEGY_TYPE as Pi } from "./ModelItemLabelPlugin/typings.js";
35
+ import { ModelItemLabelPlugin as fi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
36
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as xi } from "./ItemLabelPlugin/typings.js";
37
+ import { Plugin as Ti } from "./ItemLabelPlugin/Plugin.js";
38
+ import { default as Li } from "./CruisePlugin/Controller.js";
39
+ import { PanoTagPluginController as di, pluginFlag as Ei } from "./PanoTagPlugin/controller/index.js";
40
+ import { ContentType as _i, DimensionType as Ci, LinkType as Oi, PointType as Si } from "./PanoTagPlugin/typings/tag.js";
41
+ import { Object3DHelperController as Ai, PLUGIN as Di, VERSION as bi } from "./Object3DHelperPlugin/Controller.js";
41
42
  import "./components/PaintBrush/Controller.js";
42
43
  import "./components/PaintBrush/utils.js";
43
44
  import "./components/PaintBrush/tween.js";
@@ -48,13 +49,20 @@ import "./components/PaintBrush/style.js";
48
49
  import "@realsee/five";
49
50
  import "three";
50
51
  import "./CSS3DRenderPlugin/Controller.js";
51
- import "./CSS3DRenderPlugin/CSS3DRender.js";
52
+ import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
53
+ import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
54
+ import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
52
55
  import "three/examples/jsm/renderers/CSS3DRenderer";
56
+ import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
57
+ import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
58
+ import "./CSS3DRenderPlugin/utils/even.js";
53
59
  import "./shared-utils/Subscribe.js";
54
- import "./CSS3DRenderPlugin/utils/evenNumber.js";
55
60
  import "./CSS3DRenderPlugin/utils/positionToVector3.js";
56
- import "./CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
61
+ import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
57
62
  import "./CSS3DRenderPlugin/utils/centerPoint.js";
63
+ import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
64
+ import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
65
+ import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
58
66
  import "./shared-utils/createLine/index.js";
59
67
  import "@realsee/five/line";
60
68
  import "./ModelRoomLabelPlugin/Controller.js";
@@ -292,54 +300,55 @@ import "./shared-utils/three/Assets/index.js";
292
300
  import "./shared-utils/three/PointDomHelper.js";
293
301
  import "./shared-utils/three/FivePointSelector.js";
294
302
  export {
295
- zm as CSS3DRenderPlugin,
296
- Ep as CameraMovementEffect,
297
- Lp as CameraMovementPlugin,
298
- xi as ContentType,
299
- kp as CruisePlugin,
300
- ni as CruisePluginController,
301
- cp as DIRECTION,
302
- oi as DISPLAY_STRATEGY_TYPE,
303
- gi as DimensionType,
304
- $m as FLOOR_PLAN_ATTACHED_TO,
305
- Pp as FLOOR_TYPE_MAP,
306
- Up as GuideLinePlugin,
307
- pi as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
308
- ei as ItemLabelPlugin,
309
- Ti as LinkType,
310
- Zp as Magnifier,
311
- mp as MapviewFloorplanPlugin,
312
- xp as ModelChassisCompassPlugin,
313
- Tp as ModelEntryDoorGuidePlugin,
314
- rp as ModelFloorplanPlugin,
315
- ti as ModelItemLabelPlugin,
316
- Wm as ModelRoomLabelPlugin,
317
- Gp as ModelTVVideoPlugin,
318
- km as ModelViewPlugin,
319
- Mi as Object3DHelperController,
320
- Kp as Object3DHelperPlugin,
321
- Ei as PLUGIN,
322
- Bm as PaintBrush,
323
- Um as PaintBrushTypeEnum,
324
- Ap as PanoCompassPlugin,
325
- Km as PanoCursorRaycasterPlugin,
326
- Bp as PanoDoorLabelPlugin,
327
- lp as PanoFloorplanRadarPlugin,
328
- Dp as PanoMeasurePlugin,
329
- Rp as PanoRulerPlugin,
330
- Op as PanoRulerProPlugin,
331
- Yp as PanoSpatialTagPlugin,
332
- zp as PanoTagPlugin,
333
- ai as PanoTagPluginController,
334
- si as PointType,
335
- ap as ROOM_FETILE_TYPE_MAP,
336
- fp as ROOM_TYPE_MAP,
337
- _p as Rotation,
338
- ip as TopviewFloorplanPlugin,
339
- Wp as Util,
340
- _i as VERSION,
341
- hp as itemLabelPluginServerParams,
342
- vp as modelItemLabelPluginServerParams,
343
- Xm as modelRoomLabelPluginServerParams,
344
- fi as pluginFlag
303
+ ii as CSS3DRender,
304
+ $m as CSS3DRenderPlugin,
305
+ Ip as CameraMovementEffect,
306
+ Op as CameraMovementPlugin,
307
+ _i as ContentType,
308
+ Xp as CruisePlugin,
309
+ Li as CruisePluginController,
310
+ jp as DIRECTION,
311
+ Pi as DISPLAY_STRATEGY_TYPE,
312
+ Ci as DimensionType,
313
+ ep as FLOOR_PLAN_ATTACHED_TO,
314
+ sp as FLOOR_TYPE_MAP,
315
+ Qp as GuideLinePlugin,
316
+ xi as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
317
+ Ti as ItemLabelPlugin,
318
+ Oi as LinkType,
319
+ li as Magnifier,
320
+ ap as MapviewFloorplanPlugin,
321
+ Ep as ModelChassisCompassPlugin,
322
+ _p as ModelEntryDoorGuidePlugin,
323
+ np as ModelFloorplanPlugin,
324
+ fi as ModelItemLabelPlugin,
325
+ mp as ModelRoomLabelPlugin,
326
+ Hp as ModelTVVideoPlugin,
327
+ Xm as ModelViewPlugin,
328
+ Ai as Object3DHelperController,
329
+ ri as Object3DHelperPlugin,
330
+ Di as PLUGIN,
331
+ Jm as PaintBrush,
332
+ Qm as PaintBrushTypeEnum,
333
+ yp as PanoCompassPlugin,
334
+ rp as PanoCursorRaycasterPlugin,
335
+ Jp as PanoDoorLabelPlugin,
336
+ gp as PanoFloorplanRadarPlugin,
337
+ Np as PanoMeasurePlugin,
338
+ bp as PanoRulerPlugin,
339
+ Fp as PanoRulerProPlugin,
340
+ Vp as PanoSpatialTagPlugin,
341
+ $p as PanoTagPlugin,
342
+ di as PanoTagPluginController,
343
+ Si as PointType,
344
+ Lp as ROOM_FETILE_TYPE_MAP,
345
+ Mp as ROOM_TYPE_MAP,
346
+ Ap as Rotation,
347
+ up as TopviewFloorplanPlugin,
348
+ mi as Util,
349
+ bi as VERSION,
350
+ qp as itemLabelPluginServerParams,
351
+ wp as modelItemLabelPluginServerParams,
352
+ pp as modelRoomLabelPluginServerParams,
353
+ Ei as pluginFlag
345
354
  };
@@ -5,7 +5,7 @@ import * as l from "three";
5
5
  import { Subscribe as y } from "../../Subscribe.js";
6
6
  import { DomEvents as j } from "../utils/threex/domevents/index.js";
7
7
  import { notNil as g } from "../../isNil.js";
8
- import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
8
+ import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
9
9
  let h = null;
10
10
  class P {
11
11
  constructor(e, t, o, n, a, r, c) {
@@ -2,17 +2,18 @@ var w = Object.defineProperty;
2
2
  var h = (i, o, r) => o in i ? w(i, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[o] = r;
3
3
  var s = (i, o, r) => (h(i, typeof o != "symbol" ? o + "" : o, r), r);
4
4
  import { MoveHelperAbstract as A } from "../Base/BaseHelper.js";
5
- import { ArrowGroup as e } from "./Objects/ArrowGroup.js";
6
- import { AXES_THREE_COLOR as t } from "../Constants/color.js";
5
+ import { ArrowGroup as t } from "./Objects/ArrowGroup.js";
6
+ import { AXES_THREE_COLOR as e } from "../Constants/color.js";
7
7
  import "three";
8
+ import "../../../CSS3DRenderPlugin/CSS3DRender.js";
8
9
  import "three/examples/jsm/renderers/CSS3DRenderer";
9
10
  import "./OutlineHelper.js";
10
- class v extends A {
11
+ class x extends A {
11
12
  constructor(r) {
12
13
  super(r);
13
- s(this, "xArrow", new e({ direction: "x", color: t.X }));
14
- s(this, "yArrow", new e({ direction: "y", color: t.Y }));
15
- s(this, "zArrow", new e({ direction: "z", color: t.Z }));
14
+ s(this, "xArrow", new t({ direction: "x", color: e.X }));
15
+ s(this, "yArrow", new t({ direction: "y", color: e.Y }));
16
+ s(this, "zArrow", new t({ direction: "z", color: e.Z }));
16
17
  this.add(this.xArrow), this.add(this.yArrow), this.add(this.zArrow);
17
18
  }
18
19
  show() {
@@ -26,5 +27,5 @@ class v extends A {
26
27
  }
27
28
  }
28
29
  export {
29
- v as MoveHelper
30
+ x as MoveHelper
30
31
  };
@@ -3,7 +3,7 @@ import { RectangleScaleHelperAbstract } from '.';
3
3
  import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
4
4
  import type { Vector3 } from 'three';
5
5
  import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
6
- import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus';
6
+ import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/three/CSS3DObject';
7
7
  declare type NonVoid<T> = T extends void ? never : T;
8
8
  declare type OriginObjectType = CSS3DObject | THREE.Object3D;
9
9
  export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObjectType> extends RectangleScaleHelperAbstract<T, HTMLElement> {
@@ -17,7 +17,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
17
17
  private scene;
18
18
  private container;
19
19
  private enabled;
20
- constructor(originObject3D: T, container: Element, camera: THREE.Camera, scene: THREE.Scene);
20
+ constructor(originObject3D: T, container: HTMLElement, camera: THREE.Camera, scene: THREE.Scene);
21
21
  updatePosition(): void;
22
22
  updateQuaternion(): void;
23
23
  applyMatrix4(matrix: THREE.Matrix4): void;
@@ -1,3 +1,4 @@
1
1
  import "three";
2
+ import "../../../CSS3DRenderPlugin/CSS3DRender.js";
2
3
  import "three/examples/jsm/renderers/CSS3DRenderer";
3
4
  import "./OutlineHelper.js";
@@ -3,4 +3,5 @@ import "three";
3
3
  import "@realsee/five";
4
4
  import "@tweenjs/tween.js";
5
5
  import "../animationFrame/BetterTween.js";
6
- import "three/examples/jsm/renderers/CSS3DRenderer";
6
+ import "../../CSS3DRenderPlugin/CSS3DRender.js";
7
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
package/package.json CHANGED
@@ -7,8 +7,21 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.2.7",
10
+ "version": "2.3.1",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
+ "scripts": {
13
+ "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
14
+ "dev": "run-p dev:*",
15
+ "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
16
+ "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
17
+ "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
18
+ "build": "run-p build:*",
19
+ "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
20
+ "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
21
+ "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
22
+ "docs": "typedoc --options ./typedoc.json",
23
+ "prepublishOnly": "run-p build docs"
24
+ },
12
25
  "files": [
13
26
  "libs",
14
27
  "dist",
@@ -69,17 +82,5 @@
69
82
  "peerDependencies": {
70
83
  "@realsee/five": "^5.0.0",
71
84
  "three": ">=0.115.0 <=0.117.1"
72
- },
73
- "scripts": {
74
- "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
75
- "dev": "run-p dev:*",
76
- "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
77
- "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
78
- "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
79
- "build": "run-p build:*",
80
- "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
81
- "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
82
- "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
83
- "docs": "typedoc --options ./typedoc.json"
84
85
  }
85
- }
86
+ }
@@ -1,3 +0,0 @@
1
- export declare function evenNumber(num: number, config?: {
2
- smaller?: boolean;
3
- }): number;