@realsee/dnalogel 2.15.1-alpha.0 → 2.16.0-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 (365) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
  2. package/dist/CruisePlugin/Controller.d.ts +1 -2
  3. package/dist/CruisePlugin/typing.d.ts +12 -2
  4. package/dist/GuideLinePlugin/Controller.d.ts +17 -11
  5. package/dist/GuideLinePlugin/GuideLineItem.d.ts +26 -0
  6. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
  7. package/dist/GuideLinePlugin/index.d.ts +3 -0
  8. package/dist/GuideLinePlugin/typing.d.ts +78 -1
  9. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
  10. package/dist/GuideLinePlugin/utils/index.d.ts +7 -0
  11. package/dist/PanoTagPlugin/typings/controller.d.ts +0 -3
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  13. package/dist/base/BasePlugin.d.ts +1 -0
  14. package/dist/index.cjs.js +118 -118
  15. package/dist/index.js +4429 -4314
  16. package/dist/index.umd.js +117 -117
  17. package/dist/shared-utils/five/index.d.ts +1 -0
  18. package/dist/shared-utils/five/mode.d.ts +3 -0
  19. package/dist/shared-utils/index.d.ts +3 -0
  20. package/dist/shared-utils/isAbsoluteURL.d.ts +1 -0
  21. package/dist/shared-utils/log.d.ts +2 -0
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +33 -31
  24. package/docs/classes/CruisePluginController.html +43 -25
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +168 -0
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +283 -0
  27. package/docs/classes/Magnifier.html +22 -20
  28. package/docs/classes/ModelRoomLabelController.html +13 -11
  29. package/docs/classes/Object3DHelperController.html +42 -24
  30. package/docs/classes/PaintBrush.html +17 -15
  31. package/docs/classes/PanoMeasurePluginLine.html +25 -23
  32. package/docs/classes/PanoMeasurePluginModel.html +24 -22
  33. package/docs/classes/PanoMeasurePluginPoint.html +16 -14
  34. package/docs/classes/PanoMeasurePluginPolyline.html +28 -26
  35. package/docs/classes/PanoTagPluginController.html +64 -46
  36. package/docs/classes/Util.BetterTween.html +10 -8
  37. package/docs/classes/Util.FivePointSelector.html +14 -12
  38. package/docs/classes/Util.Interval.html +14 -12
  39. package/docs/classes/Util.Magnifier.html +19 -17
  40. package/docs/classes/Util.PointDomHelper.html +13 -11
  41. package/docs/classes/Util.PointHelper.html +13 -11
  42. package/docs/classes/Util.Rectangle.html +15 -13
  43. package/docs/enums/CameraMovementEffect.html +9 -7
  44. package/docs/enums/ContentType.html +21 -19
  45. package/docs/enums/DIRECTION.html +11 -9
  46. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
  47. package/docs/enums/DimensionType.html +9 -7
  48. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
  49. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
  50. package/docs/enums/PaintBrushTypeEnum.html +10 -8
  51. package/docs/enums/Rotation.html +10 -8
  52. package/docs/functions/CSS3DRenderPlugin.html +6 -4
  53. package/docs/functions/CameraMovementPlugin.html +6 -4
  54. package/docs/functions/CruisePlugin.html +6 -4
  55. package/docs/functions/GuideLinePlugin.html +7 -5
  56. package/docs/functions/ItemLabelPlugin.html +6 -4
  57. package/docs/functions/MapviewFloorplanPlugin.html +6 -4
  58. package/docs/functions/ModelChassisCompassPlugin.html +6 -4
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
  60. package/docs/functions/ModelFloorplanPlugin.html +6 -4
  61. package/docs/functions/ModelItemLabelPlugin.html +6 -4
  62. package/docs/functions/ModelRoomLabelPlugin.html +6 -4
  63. package/docs/functions/ModelTVVideoPlugin.html +6 -4
  64. package/docs/functions/ModelViewPlugin.html +6 -4
  65. package/docs/functions/Object3DHelperPlugin.html +6 -4
  66. package/docs/functions/PanoCompassPlugin.html +6 -4
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
  68. package/docs/functions/PanoDoorLabelPlugin.html +6 -4
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
  70. package/docs/functions/PanoMeasurePlugin.html +6 -4
  71. package/docs/functions/PanoRulerPlugin.html +6 -4
  72. package/docs/functions/PanoRulerProPlugin.html +6 -4
  73. package/docs/functions/PanoSpatialTagPlugin.html +6 -4
  74. package/docs/functions/PanoTagPlugin.html +6 -4
  75. package/docs/functions/PanoVideoPlugin.html +6 -4
  76. package/docs/functions/TopviewFloorplanPlugin.html +6 -4
  77. package/docs/functions/Util.getCoordsFromClient.html +12 -6
  78. package/docs/functions/Util.getCoordsFromElement.html +12 -6
  79. package/docs/functions/Util.getFrameTime.html +12 -6
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +12 -6
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +12 -6
  82. package/docs/functions/Util.isAbsoluteURL.html +78 -0
  83. package/docs/functions/Util.isModelLike.html +78 -0
  84. package/docs/functions/Util.isNil.html +12 -6
  85. package/docs/functions/Util.isPanoramaLike.html +78 -0
  86. package/docs/functions/Util.nextFrame.html +12 -6
  87. package/docs/functions/Util.notNil.html +12 -6
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +12 -6
  89. package/docs/functions/Util.tweenProgress.html +12 -6
  90. package/docs/functions/Util.uuid.html +75 -0
  91. package/docs/functions/pluginFlag.html +7 -5
  92. package/docs/index.html +6 -4
  93. package/docs/interfaces/AddTagConfig.html +8 -6
  94. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
  95. package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
  96. package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
  97. package/docs/interfaces/EventMap.html +17 -15
  98. package/docs/interfaces/FloorplanBounding.html +10 -8
  99. package/docs/interfaces/FloorplanData.html +12 -10
  100. package/docs/interfaces/FloorplanEntrance.html +13 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +12 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
  103. package/docs/interfaces/FloorplanFloorData.html +11 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +9 -7
  105. package/docs/interfaces/FloorplanObserver.html +11 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +11 -9
  107. package/docs/interfaces/FloorplanPosition.html +9 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +15 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +10 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +12 -10
  112. package/docs/interfaces/FloorplanServerData.html +9 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +13 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +11 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +11 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +9 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
  123. package/docs/interfaces/HelperOffset.html +10 -8
  124. package/docs/interfaces/ImagePlaneGroup.html +8 -6
  125. package/docs/interfaces/ItemLabelPluginData.html +8 -6
  126. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
  127. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
  128. package/docs/interfaces/MinMax.html +9 -7
  129. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
  130. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
  131. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
  132. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
  133. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
  134. package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
  135. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
  136. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
  137. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
  138. package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
  139. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
  140. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
  141. package/docs/interfaces/ModelViewPluginExportType.html +13 -11
  142. package/docs/interfaces/Object3DHelperState.html +10 -8
  143. package/docs/interfaces/ObjectHelperControllers.html +11 -9
  144. package/docs/interfaces/PaintBrushAction.html +14 -12
  145. package/docs/interfaces/PaintBrushConfigs.html +14 -12
  146. package/docs/interfaces/PaintBrushState.html +12 -10
  147. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
  148. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
  149. package/docs/interfaces/PanoMeasureParameterType.html +16 -14
  150. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
  151. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
  152. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
  153. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
  154. package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
  155. package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
  156. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
  157. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
  158. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
  159. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
  160. package/docs/interfaces/PanoRulerProPluginState.html +10 -8
  161. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
  162. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
  163. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
  164. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
  165. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
  166. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
  167. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
  168. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
  169. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
  170. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
  171. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
  172. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
  173. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
  174. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
  175. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
  176. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
  177. package/docs/interfaces/Point.html +10 -8
  178. package/docs/interfaces/Room.html +11 -9
  179. package/docs/interfaces/RoomInfo.html +9 -7
  180. package/docs/interfaces/RoomLabel.html +16 -14
  181. package/docs/interfaces/RoomRules.html +7 -5
  182. package/docs/interfaces/Rooms.html +7 -5
  183. package/docs/interfaces/Scissor.html +11 -9
  184. package/docs/interfaces/State.html +10 -8
  185. package/docs/interfaces/TagCacheInterface.html +14 -12
  186. package/docs/interfaces/TagConfig.html +13 -11
  187. package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
  188. package/docs/interfaces/TagIconUrl.html +13 -11
  189. package/docs/interfaces/TagObjectGroup.html +8 -6
  190. package/docs/interfaces/TagStyle.html +8 -6
  191. package/docs/interfaces/Tags.html +11 -9
  192. package/docs/interfaces/TemporaryState.html +8 -6
  193. package/docs/interfaces/Util.MagnifierParameter.html +13 -11
  194. package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
  195. package/docs/modules/GuideLineItem.html +52 -0
  196. package/docs/modules/GuideLineModeItem.html +52 -0
  197. package/docs/modules/PanoVideoPluginType.html +7 -5
  198. package/docs/modules/Util.html +16 -6
  199. package/docs/modules.html +9 -5
  200. package/docs/types/ArrayPosition.html +7 -5
  201. package/docs/types/AudioAppearance.html +7 -5
  202. package/docs/types/AudioTagTypeConfigKey.html +7 -5
  203. package/docs/types/CSS3DRenderExportType.html +7 -5
  204. package/docs/types/CSS3DRenderPluginExportType.html +7 -5
  205. package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
  206. package/docs/types/ClassFunctionParameters.html +7 -5
  207. package/docs/types/Color.html +7 -5
  208. package/docs/types/ContentTypeConfigKey.html +7 -5
  209. package/docs/types/ContentTypeConfigKeySplit.html +7 -5
  210. package/docs/types/ContentTypeMap.html +7 -5
  211. package/docs/types/Create3DDomContainerReturnType.html +7 -5
  212. package/docs/types/Create3DElementReturnType.html +7 -5
  213. package/docs/types/CruisePluginExportType.html +7 -5
  214. package/docs/types/Direction-1.html +7 -5
  215. package/docs/types/Direction4.html +7 -5
  216. package/docs/types/FloorplanRuleLabels.html +7 -5
  217. package/docs/types/FloorplanServerRuleLabels.html +7 -5
  218. package/docs/types/GuideLinePluginExportType.html +7 -5
  219. package/docs/types/HelperEventMap.html +7 -5
  220. package/docs/types/LoadTagConfig.html +7 -5
  221. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
  222. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
  223. package/docs/types/MediaData.html +7 -5
  224. package/docs/types/MediaStore.html +7 -5
  225. package/docs/types/ModelElement.html +7 -5
  226. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
  227. package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
  228. package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
  229. package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
  230. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
  231. package/docs/types/MoveArgs.html +7 -5
  232. package/docs/types/MoveOpts.html +7 -5
  233. package/docs/types/Object3DHelperEventMap.html +7 -5
  234. package/docs/types/ObjectFit.html +7 -5
  235. package/docs/types/PaintBrushEventMap.html +7 -5
  236. package/docs/types/PanoCompassPluginData.html +7 -5
  237. package/docs/types/PanoCompassPluginExportType.html +7 -5
  238. package/docs/types/PanoCompassPluginParameterType.html +7 -5
  239. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
  240. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
  241. package/docs/types/PanoIndex.html +7 -5
  242. package/docs/types/PanoMeasurePluginEvent.html +7 -5
  243. package/docs/types/PanoMeasureReturnType.html +7 -5
  244. package/docs/types/PanoSpatialTagPluginId.html +7 -5
  245. package/docs/types/PanoTagPluginExportInterface.html +7 -5
  246. package/docs/types/PanoTagPluginParamsInterface.html +7 -5
  247. package/docs/types/PanoVideoPluginParameterType.html +7 -5
  248. package/docs/types/PanoVideoPluginReturnType.html +7 -5
  249. package/docs/types/PlaneTag.html +7 -5
  250. package/docs/types/PlaneTagElement.html +7 -5
  251. package/docs/types/Point2DElement.html +7 -5
  252. package/docs/types/Point2DTag.html +7 -5
  253. package/docs/types/Point3DElement.html +7 -5
  254. package/docs/types/Point3DTag.html +7 -5
  255. package/docs/types/PointTag.html +7 -5
  256. package/docs/types/PointTagElement.html +7 -5
  257. package/docs/types/Position.html +7 -5
  258. package/docs/types/RotateArgs.html +7 -5
  259. package/docs/types/RotateOpts.html +7 -5
  260. package/docs/types/RuleLabelsKey.html +7 -5
  261. package/docs/types/RuleLabelsValue.html +7 -5
  262. package/docs/types/StickType.html +7 -5
  263. package/docs/types/Tag.html +7 -5
  264. package/docs/types/Tag2D.html +7 -5
  265. package/docs/types/Tag3D.html +7 -5
  266. package/docs/types/TagContentType.html +7 -5
  267. package/docs/types/TagDimensionType.html +7 -5
  268. package/docs/types/TagElement.html +8 -6
  269. package/docs/types/TagEvents.html +7 -5
  270. package/docs/types/TagGLTFObject.html +8 -6
  271. package/docs/types/TagHooks.html +7 -5
  272. package/docs/types/TagIconSize.html +7 -5
  273. package/docs/types/TagId.html +7 -5
  274. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
  275. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
  276. package/docs/types/WorkCode.html +7 -5
  277. package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
  278. package/docs/variables/PLUGIN.html +7 -5
  279. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
  280. package/docs/variables/ROOM_TYPE_MAP.html +7 -5
  281. package/docs/variables/itemLabelPluginServerParams.html +7 -5
  282. package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
  283. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
  284. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
  285. package/libs/CSS3DRenderPlugin/Controller.js +40 -31
  286. package/libs/CSS3DRenderPlugin/index.js +12 -6
  287. package/libs/CruisePlugin/Controller.d.ts +1 -2
  288. package/libs/CruisePlugin/Controller.js +197 -174
  289. package/libs/CruisePlugin/index.js +33 -10
  290. package/libs/CruisePlugin/typing.d.ts +12 -2
  291. package/libs/GuideLinePlugin/Controller.d.ts +17 -11
  292. package/libs/GuideLinePlugin/Controller.js +111 -85
  293. package/libs/GuideLinePlugin/GuideLineItem/index.js +35 -0
  294. package/libs/GuideLinePlugin/GuideLineItem.d.ts +26 -0
  295. package/libs/GuideLinePlugin/GuideLineItem.js +31 -0
  296. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +148 -0
  297. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
  298. package/libs/GuideLinePlugin/GuideLineModeItem.js +29 -0
  299. package/libs/GuideLinePlugin/index.d.ts +3 -0
  300. package/libs/GuideLinePlugin/index.js +33 -7
  301. package/libs/GuideLinePlugin/typing.d.ts +78 -1
  302. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
  303. package/libs/GuideLinePlugin/utils/createLineGeometry.js +35 -0
  304. package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +2 -0
  305. package/libs/GuideLinePlugin/utils/dataFormatter.js +6 -0
  306. package/libs/GuideLinePlugin/utils/index.d.ts +7 -0
  307. package/libs/GuideLinePlugin/utils/index.js +32 -0
  308. package/libs/ModelTVVideoPlugin/Plugin.js +37 -31
  309. package/libs/ModelTVVideoPlugin/index.js +11 -5
  310. package/libs/Object3DHelperPlugin/Controller.js +33 -28
  311. package/libs/Object3DHelperPlugin/index.js +18 -13
  312. package/libs/PanoCompassPlugin/Controller.js +8 -6
  313. package/libs/PanoCompassPlugin/index.js +12 -10
  314. package/libs/PanoDoorLabelPlugin/BaseController.js +47 -28
  315. package/libs/PanoDoorLabelPlugin/Controller.js +40 -22
  316. package/libs/PanoDoorLabelPlugin/index.js +21 -3
  317. package/libs/PanoMeasurePlugin/typings/index.js +20 -1
  318. package/libs/PanoSpatialTagPlugin/Plugin.js +8 -3
  319. package/libs/PanoSpatialTagPlugin/index.js +8 -3
  320. package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
  321. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  322. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  323. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  324. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  325. package/libs/PanoTagPlugin/controller/TagCache.js +42 -22
  326. package/libs/PanoTagPlugin/controller/TagComputer.js +4 -3
  327. package/libs/PanoTagPlugin/controller/TagRender.js +53 -58
  328. package/libs/PanoTagPlugin/controller/TagUtil.js +8 -3
  329. package/libs/PanoTagPlugin/controller/index.js +13 -15
  330. package/libs/PanoTagPlugin/index.js +11 -10
  331. package/libs/PanoTagPlugin/typings/controller.d.ts +0 -3
  332. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  333. package/libs/PanoVideoPlugin/Controller.js +4 -3
  334. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  335. package/libs/PanoVideoPlugin/index.js +7 -6
  336. package/libs/base/BasePlugin.d.ts +1 -0
  337. package/libs/base/BasePlugin.js +21 -10
  338. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +57 -38
  339. package/libs/floorplan/MapviewFloorplanPlugin/index.js +22 -3
  340. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +48 -29
  341. package/libs/floorplan/ModelFloorplanPlugin/index.js +22 -3
  342. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +31 -11
  343. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +23 -3
  344. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +59 -40
  345. package/libs/floorplan/TopviewFloorplanPlugin/index.js +22 -3
  346. package/libs/floorplan/index.js +6 -0
  347. package/libs/index.js +77 -72
  348. package/libs/shared-utils/five/index.d.ts +1 -0
  349. package/libs/shared-utils/five/index.js +1 -0
  350. package/libs/shared-utils/five/mode.d.ts +3 -0
  351. package/libs/shared-utils/five/mode.js +11 -0
  352. package/libs/shared-utils/index.d.ts +3 -0
  353. package/libs/shared-utils/index.js +36 -29
  354. package/libs/shared-utils/isAbsoluteURL.d.ts +1 -0
  355. package/libs/shared-utils/isAbsoluteURL.js +6 -0
  356. package/libs/shared-utils/log.d.ts +2 -0
  357. package/libs/shared-utils/log.js +10 -0
  358. package/libs/shared-utils/three/PointDomHelper.js +1 -1
  359. package/package.json +2 -2
  360. package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
  361. package/dist/shared-utils/logger.d.ts +0 -17
  362. package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
  363. package/libs/GuideLinePlugin/utils/getLineGeometries.js +0 -64
  364. package/libs/shared-utils/logger.d.ts +0 -17
  365. package/libs/shared-utils/logger.js +0 -16
@@ -3,8 +3,8 @@ var m = (o, e, t) => e in o ? l(o, e, { enumerable: !0, configurable: !0, writab
3
3
  var n = (o, e, t) => (m(o, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as a from "three";
5
5
  import * as p from "@tweenjs/tween.js";
6
- import "hammerjs";
7
6
  import "@realsee/five";
7
+ import "hammerjs";
8
8
  import { rangePieceImg as h } from "../../PanoMeasurePlugin/Modules/rangePiece/html.js";
9
9
  import { CSS3DRenderPlugin as b } from "../../CSS3DRenderPlugin/index.js";
10
10
  import { BetterTween as u } from "../animationFrame/BetterTween.js";
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.15.1-alpha.0",
10
+ "version": "2.16.0-0",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
@@ -68,7 +68,7 @@
68
68
  "svelte-carousel": "1.0.22",
69
69
  "svelte-preprocess": "^4.10.7",
70
70
  "three": "0.117.1",
71
- "type-fest": "3.2.0",
71
+ "type-fest": "3.8.0",
72
72
  "typedoc": "^0.23.21",
73
73
  "typescript": "^4.9.3",
74
74
  "vite": "3.2.3",
@@ -1,16 +0,0 @@
1
- import * as THREE from 'three';
2
- export interface LineGeometriesConfig {
3
- /** 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示 */
4
- skipPanoIndexMesh?: boolean;
5
- unitWidth?: number;
6
- unitHeight?: number;
7
- }
8
- /**
9
- * @description: 根据坐标获取平滑曲线
10
- * @param {Vector3[]} positionList 坐标点数组
11
- * @param {number} config.unitWidth 宽
12
- * @param {number} config.unitHeight 高
13
- * @param {boolean} config.skipPanoIndexMesh 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示
14
- * @return {THREE.BufferGeometry[]} THREE.BufferGeometry[]
15
- */
16
- export default function getLineGeometries(positionList: THREE.Vector3[], config?: LineGeometriesConfig): THREE.BufferGeometry[];
@@ -1,17 +0,0 @@
1
- /**
2
- * 输出格式化日志
3
- */
4
- export declare enum LOG_LEVEL {
5
- info = "INFO",
6
- log = "LOG",
7
- error = "ERROR",
8
- warn = "WARN"
9
- }
10
- export declare function consoleVersion(): void;
11
- export declare const logger: {
12
- log: (...args: any[]) => void;
13
- info: (...args: any[]) => void;
14
- error: (...args: any[]) => void;
15
- warn: (...args: any[]) => void;
16
- };
17
- export default logger;
@@ -1,16 +0,0 @@
1
- import * as THREE from 'three';
2
- export interface LineGeometriesConfig {
3
- /** 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示 */
4
- skipPanoIndexMesh?: boolean;
5
- unitWidth?: number;
6
- unitHeight?: number;
7
- }
8
- /**
9
- * @description: 根据坐标获取平滑曲线
10
- * @param {Vector3[]} positionList 坐标点数组
11
- * @param {number} config.unitWidth 宽
12
- * @param {number} config.unitHeight 高
13
- * @param {boolean} config.skipPanoIndexMesh 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示
14
- * @return {THREE.BufferGeometry[]} THREE.BufferGeometry[]
15
- */
16
- export default function getLineGeometries(positionList: THREE.Vector3[], config?: LineGeometriesConfig): THREE.BufferGeometry[];
@@ -1,64 +0,0 @@
1
- import * as T from "three";
2
- import { Vector3 as A } from "three";
3
- import L from "polyline-normals";
4
- const O = 2, U = 3, V = 3, F = 2;
5
- function X(i, r) {
6
- var w, I, _;
7
- if (i.length < 2)
8
- return console.warn("positionList length must be greater than 1"), [];
9
- const p = (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.5, u = (I = r == null ? void 0 : r.unitHeight) != null ? I : 0.5, R = (_ = r == null ? void 0 : r.skipPanoIndexMesh) != null ? _ : !1, f = new T.CatmullRomCurve3(i, !1, "catmullrom", 1);
10
- if (R) {
11
- const E = Math.ceil(f.getLength() / u * 1.5), s = f.getPoints(E), v = [];
12
- let o = 0;
13
- const a = i;
14
- return a.forEach((l, y) => {
15
- let n = 0, t = 99999999;
16
- s.forEach((c, e) => {
17
- const h = c.distanceTo(l);
18
- h < t && (n = e, t = h);
19
- });
20
- const m = s[n + 1], x = m == null ? void 0 : m.distanceTo(l), d = s[n - 1], g = d == null ? void 0 : d.distanceTo(l);
21
- if (n > o && n - o > 1) {
22
- let c = n;
23
- d !== void 0 && g > 0.8 && (c = n + 1), d !== void 0 && g > 0.2 && g < 0.3 ? c = n : t > 0.2 && t < 0.3 && (c = n + 1);
24
- let e = o;
25
- if (m !== void 0 && x > 0.2 && x < 0.3 ? e = o + 1 : t > 0.2 && t < 0.3 && (e = o), s[e] && s[e + 1]) {
26
- const b = a[y - 1];
27
- if (b)
28
- if (b.equals(s[e]))
29
- e += 1;
30
- else {
31
- const P = new A().subVectors(s[e + 1], s[e]), M = new A().subVectors(b, s[e]);
32
- P.angleTo(M) < Math.PI / 2 && (e += 1);
33
- }
34
- }
35
- if (c < e || c - e <= 1)
36
- return;
37
- const h = s.slice(e, c), N = B(h, p, u);
38
- v.push(N), o = n;
39
- }
40
- }), v;
41
- } else {
42
- const E = Math.ceil(f.getLength()), s = f.getPoints(E);
43
- return [B(s, p, u)];
44
- }
45
- }
46
- function B(i, r, p) {
47
- const u = r / 2, R = p / r, f = i.length, w = L(i.map((t) => [t.x, t.z])), _ = (i.length - 1) * O * U, E = 2 * f, s = E * V, v = E * F, o = new Uint32Array(_), a = new Float32Array(s), l = new Float32Array(v);
48
- i.forEach((t, m) => {
49
- });
50
- let y = 0;
51
- for (let t = 0; t < i.length; t++) {
52
- const [m, x] = w[t][0], d = i[t], { x: g, y: c, z: e } = d, h = new A(g + m * u, c + 0.05, e + x * u);
53
- a[t * 6 + 0] = h.x, a[t * 6 + 1] = h.y, a[t * 6 + 2] = h.z;
54
- const N = new A(g - m * u, c + 0.05, e - x * u);
55
- a[t * 6 + 3] = N.x, a[t * 6 + 4] = N.y, a[t * 6 + 5] = N.z, y += t > 0 ? i[t - 1].clone().sub(i[t]).length() : 0;
56
- const b = y / r / R;
57
- l[t * 4 + 0] = 0, l[t * 4 + 1] = b, l[t * 4 + 2] = 1, l[t * 4 + 3] = b, t !== i.length - 1 && (o[t * 6 + 0] = t * 2 + 0, o[t * 6 + 1] = t * 2 + 2, o[t * 6 + 2] = t * 2 + 1, o[t * 6 + 3] = t * 2 + 2, o[t * 6 + 4] = t * 2 + 3, o[t * 6 + 5] = t * 2 + 1);
58
- }
59
- const n = new T.BufferGeometry();
60
- return n.setAttribute("position", new T.BufferAttribute(a, 3)), n.setAttribute("uv", new T.BufferAttribute(l, 2)), n.setIndex(new T.BufferAttribute(o, 1)), n;
61
- }
62
- export {
63
- X as default
64
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * 输出格式化日志
3
- */
4
- export declare enum LOG_LEVEL {
5
- info = "INFO",
6
- log = "LOG",
7
- error = "ERROR",
8
- warn = "WARN"
9
- }
10
- export declare function consoleVersion(): void;
11
- export declare const logger: {
12
- log: (...args: any[]) => void;
13
- info: (...args: any[]) => void;
14
- error: (...args: any[]) => void;
15
- warn: (...args: any[]) => void;
16
- };
17
- export default logger;
@@ -1,16 +0,0 @@
1
- function A() {
2
- console.info(
3
- "%c %c@realsee/dnalogel %cv2.15.1-alpha.0",
4
- [
5
- "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
- "background-repeat: no-repeat",
7
- "background-position: 0 center",
8
- "padding-left: 8px"
9
- ].join(";"),
10
- "",
11
- "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px"
12
- );
13
- }
14
- export {
15
- A as consoleVersion
16
- };