@realsee/dnalogel 2.2.6 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) 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 +4987 -4817
  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/main.js +1 -1
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +533 -0
  24. package/docs/classes/CruisePluginController.html +24 -24
  25. package/docs/classes/Magnifier.html +16 -16
  26. package/docs/classes/ModelRoomLabelController.html +11 -11
  27. package/docs/classes/Object3DHelperController.html +24 -24
  28. package/docs/classes/PaintBrush.html +15 -15
  29. package/docs/classes/PanoTagPluginController.html +39 -39
  30. package/docs/classes/Util.BetterTween.html +8 -8
  31. package/docs/classes/Util.FivePointSelector.html +12 -12
  32. package/docs/classes/Util.Interval.html +12 -12
  33. package/docs/classes/Util.Magnifier.html +17 -17
  34. package/docs/classes/Util.PointDomHelper.html +11 -11
  35. package/docs/classes/Util.PointHelper.html +11 -11
  36. package/docs/classes/Util.Rectangle.html +13 -13
  37. package/docs/enums/CameraMovementEffect.html +7 -7
  38. package/docs/enums/ContentType.html +12 -12
  39. package/docs/enums/DIRECTION.html +9 -9
  40. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/DimensionType.html +7 -7
  42. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  43. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  44. package/docs/enums/LinkType.html +7 -7
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/PointType.html +7 -7
  47. package/docs/enums/Rotation.html +8 -8
  48. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  49. package/docs/functions/CameraMovementPlugin.html +6 -5
  50. package/docs/functions/CruisePlugin.html +6 -5
  51. package/docs/functions/GuideLinePlugin.html +7 -6
  52. package/docs/functions/ItemLabelPlugin.html +6 -5
  53. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  54. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  56. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  57. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  58. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  59. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  60. package/docs/functions/ModelViewPlugin.html +6 -5
  61. package/docs/functions/Object3DHelperPlugin.html +6 -5
  62. package/docs/functions/PanoCompassPlugin.html +6 -5
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  64. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  66. package/docs/functions/PanoMeasurePlugin.html +6 -5
  67. package/docs/functions/PanoRulerPlugin.html +6 -5
  68. package/docs/functions/PanoRulerProPlugin.html +6 -5
  69. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  70. package/docs/functions/PanoTagPlugin.html +6 -5
  71. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +7 -6
  83. package/docs/index.html +6 -5
  84. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  85. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  86. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  87. package/docs/interfaces/ContentTypeMap.html +12 -12
  88. package/docs/interfaces/FloorplanBounding.html +8 -8
  89. package/docs/interfaces/FloorplanData.html +10 -10
  90. package/docs/interfaces/FloorplanEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  92. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  93. package/docs/interfaces/FloorplanFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanObserver.html +9 -9
  96. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanPosition.html +7 -7
  98. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  99. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  100. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  101. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  102. package/docs/interfaces/FloorplanServerData.html +7 -7
  103. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  104. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  105. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  106. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  107. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  109. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  110. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  111. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  112. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  113. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  114. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  115. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  116. package/docs/interfaces/LineJson.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  118. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  119. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  120. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  121. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  122. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  123. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  124. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  125. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  126. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  127. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  128. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  129. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  130. package/docs/interfaces/Object3DHelperState.html +8 -8
  131. package/docs/interfaces/OpenParameter.html +7 -7
  132. package/docs/interfaces/PaintBrushAction.html +12 -12
  133. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  134. package/docs/interfaces/PaintBrushState.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  136. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
  137. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  138. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  139. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  140. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  141. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  142. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  144. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  145. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
  146. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
  147. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  148. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  149. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  150. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  151. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  152. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  153. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  154. package/docs/interfaces/Point.html +8 -8
  155. package/docs/interfaces/PointJson.html +8 -8
  156. package/docs/interfaces/Room.html +9 -9
  157. package/docs/interfaces/RoomInfo.html +7 -7
  158. package/docs/interfaces/RoomLabel.html +14 -14
  159. package/docs/interfaces/RoomRules.html +7 -6
  160. package/docs/interfaces/Rooms.html +7 -6
  161. package/docs/interfaces/Scissor.html +9 -9
  162. package/docs/interfaces/TagConfig.html +10 -10
  163. package/docs/interfaces/Tags.html +9 -9
  164. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  165. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  166. package/docs/modules/Util.html +5 -5
  167. package/docs/modules.html +7 -5
  168. package/docs/types/ArrayPosition.html +7 -6
  169. package/docs/types/CSS3DRenderExportType.html +8 -7
  170. package/docs/types/CSS3DRenderPluginExportType.html +7 -6
  171. package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
  172. package/docs/types/Color.html +7 -6
  173. package/docs/types/ContentTypeConfigKey.html +7 -6
  174. package/docs/types/ContentTypeConfigKeyArray.html +7 -6
  175. package/docs/types/Create3DDomContainerReturnType.html +7 -6
  176. package/docs/types/Create3DElementReturnType.html +8 -7
  177. package/docs/types/CruisePluginExportType.html +7 -6
  178. package/docs/types/Direction-1.html +7 -6
  179. package/docs/types/Direction4.html +7 -6
  180. package/docs/types/FloorplanRuleLabels.html +7 -6
  181. package/docs/types/FloorplanServerRuleLabels.html +7 -6
  182. package/docs/types/GuideLinePluginExportType.html +7 -6
  183. package/docs/types/HelperEventMap.html +7 -6
  184. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
  185. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
  186. package/docs/types/MediaData.html +7 -6
  187. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
  188. package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
  189. package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
  190. package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
  191. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
  192. package/docs/types/MoveArgs.html +7 -6
  193. package/docs/types/MoveOpts.html +7 -6
  194. package/docs/types/Object3DHelperEventMap.html +7 -6
  195. package/docs/types/ObjectFit.html +7 -6
  196. package/docs/types/PaintBrushEventMap.html +7 -6
  197. package/docs/types/PanoCompassPluginData.html +7 -6
  198. package/docs/types/PanoCompassPluginExportType.html +7 -6
  199. package/docs/types/PanoCompassPluginParameterType.html +7 -6
  200. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
  201. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
  202. package/docs/types/PanoMeasurePluginEvent.html +7 -6
  203. package/docs/types/PanoMeasureReturnType.html +7 -6
  204. package/docs/types/PanoSpatialTagPluginId.html +7 -6
  205. package/docs/types/PanoTagPluginExportInterface.html +7 -6
  206. package/docs/types/PanoTagPluginParamsInterface.html +7 -6
  207. package/docs/types/PlaneTag.html +7 -6
  208. package/docs/types/PointTag.html +7 -6
  209. package/docs/types/Position.html +7 -6
  210. package/docs/types/RotateArgs.html +7 -6
  211. package/docs/types/RotateOpts.html +7 -6
  212. package/docs/types/RuleLabelsKey.html +7 -6
  213. package/docs/types/RuleLabelsValue.html +7 -6
  214. package/docs/types/Tag.html +7 -6
  215. package/docs/types/Tag2D.html +7 -6
  216. package/docs/types/Tag3D.html +7 -6
  217. package/docs/types/TagId.html +7 -6
  218. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
  219. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
  220. package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
  221. package/docs/variables/PLUGIN.html +7 -6
  222. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
  223. package/docs/variables/ROOM_TYPE_MAP.html +7 -6
  224. package/docs/variables/VERSION.html +7 -6
  225. package/docs/variables/itemLabelPluginServerParams.html +7 -6
  226. package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
  227. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
  228. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  229. package/libs/CSS3DRenderPlugin/CSS3DRender.js +198 -251
  230. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  231. package/libs/CSS3DRenderPlugin/Controller.js +63 -58
  232. package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
  233. package/libs/CSS3DRenderPlugin/index.js +21 -3
  234. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  235. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
  236. package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  237. package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  239. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
  240. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  241. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
  242. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  244. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
  245. package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
  247. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  248. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
  249. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  250. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
  251. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  252. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
  253. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  254. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  255. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  256. package/libs/CameraMovementPlugin/index.js +13 -0
  257. package/libs/CruisePlugin/Controller.js +65 -54
  258. package/libs/CruisePlugin/index.js +26 -3
  259. package/libs/CruisePlugin/typing.js +1 -0
  260. package/libs/GuideLinePlugin/Controller.js +14 -9
  261. package/libs/GuideLinePlugin/index.js +14 -3
  262. package/libs/GuideLinePlugin/typing.js +1 -0
  263. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  264. package/libs/ItemLabelPlugin/events.type.js +1 -0
  265. package/libs/ItemLabelPlugin/index.js +16 -2
  266. package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
  267. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  268. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
  269. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  270. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  271. package/libs/ModelItemLabelPlugin/index.js +12 -2
  272. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  273. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  274. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  275. package/libs/ModelTVVideoPlugin/Plugin.js +80 -62
  276. package/libs/ModelTVVideoPlugin/index.js +25 -0
  277. package/libs/ModelViewPlugin/Plugin.js +2 -1
  278. package/libs/ModelViewPlugin/index.js +6 -0
  279. package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
  280. package/libs/Object3DHelperPlugin/Controller.js +114 -73
  281. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  282. package/libs/Object3DHelperPlugin/index.js +48 -3
  283. package/libs/Object3DHelperPlugin/typings.js +1 -0
  284. package/libs/PanoCompassPlugin/Controller.js +60 -40
  285. package/libs/PanoCompassPlugin/index.js +31 -3
  286. package/libs/PanoCompassPlugin/typings.js +1 -0
  287. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  288. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  289. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  290. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  291. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  292. package/libs/PanoMeasurePlugin/index.js +56 -5
  293. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  294. package/libs/PanoRulerPlugin/index.js +9 -0
  295. package/libs/PanoRulerPlugin/style.js +1 -1
  296. package/libs/PanoRulerPlugin/typings.js +1 -0
  297. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  298. package/libs/PanoRulerProPlugin/index.js +16 -3
  299. package/libs/PanoRulerProPlugin/typings.js +1 -0
  300. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  301. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  302. package/libs/PanoSpatialTagPlugin/Plugin.js +91 -71
  303. package/libs/PanoSpatialTagPlugin/index.js +28 -0
  304. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  305. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  306. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  307. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  308. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  309. package/libs/PanoTagPlugin/Components/Common/Media.js +47 -55
  310. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  311. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  312. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -7
  313. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
  314. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  315. package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
  316. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  317. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
  318. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  319. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  320. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  321. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
  322. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  323. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
  324. package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
  325. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  326. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  327. package/libs/PanoTagPlugin/controller/index.js +2 -2
  328. package/libs/PanoTagPlugin/index.js +90 -3
  329. package/libs/PanoTagPlugin/tag.config.js +2 -1
  330. package/libs/floorplan/Components/BaseImage.js +7 -7
  331. package/libs/floorplan/Components/Camera.js +10 -10
  332. package/libs/floorplan/Components/Compass.js +1 -1
  333. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  334. package/libs/floorplan/Components/Main.js +80 -99
  335. package/libs/floorplan/Components/Normalmage.js +5 -5
  336. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  337. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  338. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
  339. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  340. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  341. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  342. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  343. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  344. package/libs/floorplan/Components/RuleLabels/RuleItem.js +6 -6
  345. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
  346. package/libs/floorplan/Components/SvgImage.js +12 -12
  347. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  348. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  349. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  350. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  351. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  352. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  353. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  354. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  355. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  356. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  357. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  358. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  359. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  360. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  361. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  362. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  363. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  364. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  365. package/libs/floorplan/typings/index.js +1 -0
  366. package/libs/index.js +123 -114
  367. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  368. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
  369. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  370. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  371. package/libs/shared-utils/three/index.js +2 -1
  372. package/package.json +31 -30
  373. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  374. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
  375. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  376. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
  377. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
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 dp } 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 { ModelItemLabelPlugin as oi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
34
- import { Plugin as ti } from "./ItemLabelPlugin/Plugin.js";
35
- import { CruisePluginController as pi } from "./CruisePlugin/Controller.js";
36
- import { DISPLAY_STRATEGY_TYPE as ei } from "./ModelItemLabelPlugin/typings.js";
37
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ni } from "./ItemLabelPlugin/typings.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";
@@ -178,31 +186,12 @@ import "./PanoSpatialTagPlugin/store.js";
178
186
  import "./PanoSpatialTagPlugin/Components/tag.js";
179
187
  import "./PanoSpatialTagPlugin/style.js";
180
188
  import "./shared-utils/tinyEJSrender.js";
181
- import "classnames";
182
- import "./ModelTVVideoPlugin/utils/parseData.js";
183
- import "./PanoDoorLabelPlugin/Controller.js";
184
- import "./PanoDoorLabelPlugin/BaseController.js";
185
- import "./PanoDoorLabelPlugin/DoorLabelItem.js";
186
- import "./PanoDoorLabelPlugin/utils.js";
187
- import "./GuideLinePlugin/Controller.js";
188
- import "./GuideLinePlugin/utils/getLineGeometries.js";
189
- import "polyline-normals";
190
- import "./GuideLinePlugin/utils/getArrowMaterial.js";
191
- import "./shared-utils/isNil.js";
192
- import "./shared-utils/math/Interval.js";
193
- import "./shared-utils/math/Rectangle.js";
194
- import "./shared-utils/three/Magnifier.js";
195
- import "./shared-utils/three/getCoords.js";
196
- import "./shared-utils/three/getRaycaster.js";
197
- import "./shared-utils/three/getIntersect.js";
198
- import "./shared-utils/three/PointHelper.js";
199
- import "./shared-utils/three/Assets/index.js";
200
- import "./shared-utils/three/PointDomHelper.js";
201
- import "./shared-utils/three/FivePointSelector.js";
202
189
  import "./ModelItemLabelPlugin/ItemLabelComponent.js";
203
190
  import "./ModelItemLabelPlugin/ItemLabelItem.js";
191
+ import "classnames";
204
192
  import "./shared-utils/debounce.js";
205
193
  import "./ModelItemLabelPlugin/utils/parseData.js";
194
+ import "./ModelTVVideoPlugin/utils/parseData.js";
206
195
  import "./ItemLabelPlugin/ItemLabelComponent.js";
207
196
  import "./ItemLabelPlugin/ItemLabelItem.js";
208
197
  import "./ItemLabelPlugin/utils/isImpacted.js";
@@ -210,6 +199,15 @@ import "./ItemLabelPlugin/utils/getStrokeLength.js";
210
199
  import "./ItemLabelPlugin/utils/getLabelTransform.js";
211
200
  import "./ItemLabelPlugin/utils/transform2RenderData.js";
212
201
  import "./ItemLabelPlugin/utils/parseData.js";
202
+ import "./PanoDoorLabelPlugin/Controller.js";
203
+ import "./PanoDoorLabelPlugin/BaseController.js";
204
+ import "./PanoDoorLabelPlugin/DoorLabelItem.js";
205
+ import "./PanoDoorLabelPlugin/utils.js";
206
+ import "./GuideLinePlugin/Controller.js";
207
+ import "./GuideLinePlugin/utils/getLineGeometries.js";
208
+ import "polyline-normals";
209
+ import "./GuideLinePlugin/utils/getArrowMaterial.js";
210
+ import "./shared-utils/isNil.js";
213
211
  import "./CruisePlugin/utils/coordinatesAngle.js";
214
212
  import "./CruisePlugin/utils/coordinatesToVector.js";
215
213
  import "./CruisePlugin/utils/safeCall.js";
@@ -291,55 +289,66 @@ import "./shared-utils/Object3DHelper/Controller/RotateController.js";
291
289
  import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
292
290
  import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
293
291
  import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
292
+ import "./shared-utils/math/Interval.js";
293
+ import "./shared-utils/math/Rectangle.js";
294
+ import "./shared-utils/three/Magnifier.js";
295
+ import "./shared-utils/three/getCoords.js";
296
+ import "./shared-utils/three/getRaycaster.js";
297
+ import "./shared-utils/three/getIntersect.js";
298
+ import "./shared-utils/three/PointHelper.js";
299
+ import "./shared-utils/three/Assets/index.js";
300
+ import "./shared-utils/three/PointDomHelper.js";
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
- pi as CruisePluginController,
301
- cp as DIRECTION,
302
- ei 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
- ni as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
308
- ti 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
- oi 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
- dp 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.6",
10
+ "version": "2.3.0",
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",
@@ -20,45 +33,45 @@
20
33
  "registry": "https://registry.npmjs.org/"
21
34
  },
22
35
  "devDependencies": {
23
- "@babel/core": "^7.17.5",
36
+ "@babel/core": "^7.20.2",
24
37
  "@realsee/five": "5.0.0-alpha.162",
25
- "@sveltejs/vite-plugin-svelte": "^1.1.0",
38
+ "@sveltejs/vite-plugin-svelte": "^1.3.1",
26
39
  "@tsconfig/svelte": "^3.0.0",
27
40
  "@types/animejs": "^3.1.6",
28
41
  "@types/glob": "^8.0.0",
29
42
  "@types/hammerjs": "2.0.41",
30
43
  "@types/node": "^18.11.9",
31
44
  "@types/object-assign-deep": "0.4.0",
32
- "@typescript-eslint/eslint-plugin": "^5.40.1",
33
- "@typescript-eslint/parser": "^5.40.1",
45
+ "@typescript-eslint/eslint-plugin": "^5.44.0",
46
+ "@typescript-eslint/parser": "^5.44.0",
34
47
  "autoprefixer": "^10.4.13",
35
48
  "eslint": "8.26.0",
36
49
  "eslint-config-alloy": "^4.7.0",
37
50
  "eslint-config-prettier": "^8.5.0",
38
51
  "eslint-plugin-prettier": "^4.2.1",
39
- "eslint-plugin-svelte": "^2.10.0",
40
- "glob": "^8.0.1",
52
+ "eslint-plugin-svelte": "^2.13.1",
53
+ "glob": "^8.0.3",
41
54
  "npm-run-all": "^4.1.5",
42
- "postcss": "^8.4.18",
55
+ "postcss": "^8.4.19",
43
56
  "postcss-load-config": "^4.0.1",
44
57
  "postcss-plugin-px2rem": "^0.8.1",
45
- "prettier": "^2.7.1",
46
- "prettier-plugin-svelte": "^2.8.0",
47
- "sass": "^1.54.5",
48
- "stylelint": "^14.14.0",
49
- "stylelint-config-prettier": "^9.0.3",
58
+ "prettier": "^2.8.0",
59
+ "prettier-plugin-svelte": "^2.8.1",
60
+ "sass": "^1.56.1",
61
+ "stylelint": "^14.15.0",
62
+ "stylelint-config-prettier": "^9.0.4",
50
63
  "svelte": "3.53.1",
51
64
  "svelte-preprocess": "^4.10.7",
52
65
  "three": "0.117.1",
53
- "typedoc": "^0.23.20",
54
- "typescript": "^4.8.4",
66
+ "typedoc": "^0.23.21",
67
+ "typescript": "^4.9.3",
55
68
  "vite": "3.2.3",
56
- "vite-plugin-dts": "^1.7.0"
69
+ "vite-plugin-dts": "^1.7.1"
57
70
  },
58
71
  "dependencies": {
59
72
  "@tweenjs/tween.js": "^18.6.4",
60
73
  "animejs": "^3.2.1",
61
- "classnames": "^2.3.1",
74
+ "classnames": "^2.3.2",
62
75
  "hammerjs": "^2.0.8",
63
76
  "object-assign-deep": "0.4.0",
64
77
  "polyline-normals": "^2.0.2",
@@ -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;
@@ -1,65 +0,0 @@
1
- var P = Object.defineProperty;
2
- var k = (p, h, t) => h in p ? P(p, h, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[h] = t;
3
- var s = (p, h, t) => (k(p, typeof h != "symbol" ? h + "" : h, t), t);
4
- import { CSS3DObject as D } from "three/examples/jsm/renderers/CSS3DRenderer";
5
- import { Vector3 as n } from "three";
6
- import { evenNumber as f } from "./evenNumber.js";
7
- import { centerPoint as W } from "./centerPoint.js";
8
- import { Subscribe as j } from "../../shared-utils/Subscribe.js";
9
- const w = "1.0.2", v = `CSS3DObjectPlus@${w}`, C = 216e-5, E = 3e-3;
10
- class z extends D {
11
- constructor(t, e, o = E, x = 1, M = "front") {
12
- const l = Math.max(C, o), d = e[0].distanceTo(e[1]), m = e[1].distanceTo(e[2]), c = f(d / o * x), a = f(m / o * x), r = W(...e);
13
- let u;
14
- if (l === o)
15
- t.style.width = `${c}px`, t.style.height = `${a}px`, u = t;
16
- else {
17
- const i = document.createElement("div");
18
- i.style.width = `${c}px`, i.style.height = `${a}px`, i.style.pointerEvents = "none";
19
- const b = o / l;
20
- t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = `${b * c}px`, t.style.height = `${b * a}px`, i.appendChild(t), u = i;
21
- }
22
- super(u);
23
- s(this, "version", w);
24
- s(this, "width");
25
- s(this, "height");
26
- s(this, "domWidthPx");
27
- s(this, "domHeightPx");
28
- s(this, "cornerPoints");
29
- s(this, "ratio");
30
- s(this, "container");
31
- s(this, "centerPosition");
32
- s(this, "mode", "front");
33
- s(this, "hooks", new j());
34
- s(this, "isCSS3DObjectPlus", !0);
35
- if (this.scale.set(l, l, l), this.cornerPoints = e, this.ratio = o, this.container = t, this.mode = M, l === o)
36
- this.width = d, this.height = m, this.domWidthPx = c, this.domHeightPx = a, this.centerPosition = r;
37
- else {
38
- const i = o / l;
39
- this.width = i * d, this.height = i * m, this.domWidthPx = i * c, this.domHeightPx = i * a, this.centerPosition = new n().subVectors(r, e[0]).multiplyScalar(i).add(e[0]);
40
- }
41
- t.classList.add(`${v}__container`);
42
- const V = new n().subVectors(e[1], e[0]), y = new n().subVectors(e[3], e[0]), $ = new n().crossVectors(V, y).normalize();
43
- this.lookAt($);
44
- const g = this.up.clone().applyQuaternion(this.quaternion), S = y.clone(), O = new n().crossVectors(g, S).normalize();
45
- this.rotateOnWorldAxis(O, g.angleTo(S)), this.position.copy(r);
46
- }
47
- changeMode(t, e) {
48
- if (t === this.mode)
49
- return;
50
- const o = this.mode;
51
- this.mode = t, this.hooks.emit("changeMode", t, o, e);
52
- }
53
- applyScaleMatrix4(t) {
54
- this.scale.applyMatrix4(t), this.hooks.emit("applyScaleMatrix4", t);
55
- }
56
- applyMatrix4(t) {
57
- super.applyMatrix4(t), this.hooks.emit("applyMatrix4", t);
58
- }
59
- applyQuaternion(t) {
60
- return super.applyQuaternion(t), this.hooks.emit("applyQuaternion", t), this;
61
- }
62
- }
63
- export {
64
- z as CSS3DObjectPlus
65
- };
@@ -1,3 +0,0 @@
1
- export declare function evenNumber(num: number, config?: {
2
- smaller?: boolean;
3
- }): number;
@@ -1,7 +0,0 @@
1
- function t(u, r) {
2
- const e = Math.round(u);
3
- return e % 2 === 0 ? e : e + Number(r != null && r.smaller ? -1 : 1);
4
- }
5
- export {
6
- t as evenNumber
7
- };