@realsee/dnalogel 3.4.0-tag-dev.1 → 3.5.0-dev.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 (380) hide show
  1. package/dist/CruisePlugin/CruiseController.d.ts +147 -0
  2. package/dist/CruisePlugin/Move.d.ts +29 -0
  3. package/dist/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  4. package/dist/CruisePlugin/index.d.ts +4 -3
  5. package/dist/CruisePlugin/typing.d.ts +2 -2
  6. package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  7. package/dist/GuideLinePlugin/Controller.d.ts +1 -6
  8. package/dist/index.cjs.js +54 -54
  9. package/dist/index.js +3221 -2999
  10. package/dist/index.umd.js +47 -47
  11. package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
  12. package/docs/assets/search.js +1 -1
  13. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +33 -31
  14. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -32
  15. package/docs/classes/CSS3DRender.html +33 -31
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -19
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +43 -41
  18. package/docs/classes/Magnifier.html +22 -20
  19. package/docs/classes/ModelRoomLabelController.html +13 -11
  20. package/docs/classes/MoveController.html +641 -0
  21. package/docs/classes/Object3DHelperController.html +27 -25
  22. package/docs/classes/PaintBrush.html +17 -15
  23. package/docs/classes/PanoMeasurePluginLine.html +29 -27
  24. package/docs/classes/PanoMeasurePluginModel.html +29 -27
  25. package/docs/classes/PanoMeasurePluginPoint.html +13 -11
  26. package/docs/classes/PanoMeasurePluginPolyline.html +29 -27
  27. package/docs/classes/PanoTagPluginController.html +49 -47
  28. package/docs/classes/Util.BetterTween.html +11 -9
  29. package/docs/classes/Util.Interval.html +14 -12
  30. package/docs/classes/Util.LineSegments.html +10 -8
  31. package/docs/classes/Util.Magnifier.html +22 -20
  32. package/docs/classes/Util.Object3D.html +10 -8
  33. package/docs/classes/Util.PointDomHelper.html +13 -11
  34. package/docs/classes/Util.PointHelper.html +13 -11
  35. package/docs/classes/Util.PointSelectorHelper.html +18 -16
  36. package/docs/classes/Util.Rectangle.html +15 -13
  37. package/docs/classes/{CruisePluginController.html → WalkController.html} +52 -57
  38. package/docs/enums/CameraMovementEffect.html +9 -7
  39. package/docs/enums/ContentType.html +23 -21
  40. package/docs/enums/DIRECTION.html +11 -9
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
  42. package/docs/enums/DimensionType.html +9 -7
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
  45. package/docs/enums/PaintBrushTypeEnum.html +10 -8
  46. package/docs/enums/PointType.html +9 -7
  47. package/docs/enums/Rotation.html +10 -8
  48. package/docs/functions/AreaMakerPlugin.html +7 -5
  49. package/docs/functions/CSS3DRenderPlugin.html +6 -4
  50. package/docs/functions/CameraMovementPlugin.html +6 -4
  51. package/docs/functions/CruisePlugin.html +8 -6
  52. package/docs/functions/CurrentPanoImagePlugin.html +6 -4
  53. package/docs/functions/GuideLinePlugin.html +7 -5
  54. package/docs/functions/ItemLabelPlugin.html +6 -4
  55. package/docs/functions/MapviewFloorplanPlugin.html +6 -4
  56. package/docs/functions/ModelChassisCompassPlugin.html +6 -4
  57. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
  58. package/docs/functions/ModelFloorplanPlugin.html +6 -4
  59. package/docs/functions/ModelItemLabelPlugin.html +6 -4
  60. package/docs/functions/ModelRoomLabelPlugin.html +6 -4
  61. package/docs/functions/ModelTVVideoPlugin.html +6 -4
  62. package/docs/functions/ModelViewPlugin.html +6 -4
  63. package/docs/functions/Object3DHelperPlugin.html +6 -4
  64. package/docs/functions/PanoCompassPlugin.html +6 -4
  65. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
  66. package/docs/functions/PanoDoorLabelPlugin.html +6 -4
  67. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
  68. package/docs/functions/PanoMeasurePlugin.html +6 -4
  69. package/docs/functions/PanoRulerPlugin.html +6 -4
  70. package/docs/functions/PanoRulerProPlugin.html +6 -4
  71. package/docs/functions/PanoSpatialTagPlugin.html +6 -4
  72. package/docs/functions/PanoTagPlugin.html +6 -4
  73. package/docs/functions/PanoVideoPlugin.html +6 -4
  74. package/docs/functions/PipelinePlugin.html +6 -4
  75. package/docs/functions/TopviewFloorplanPlugin.html +6 -4
  76. package/docs/functions/Util.absoluteUrl.html +7 -5
  77. package/docs/functions/Util.checkFiveModelLoaded.html +7 -5
  78. package/docs/functions/Util.equal.html +7 -5
  79. package/docs/functions/Util.getCoordsFromClient.html +7 -5
  80. package/docs/functions/Util.getCoordsFromElement.html +7 -5
  81. package/docs/functions/Util.getFrameTime.html +7 -5
  82. package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -5
  83. package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -5
  84. package/docs/functions/Util.isAbsoluteURL.html +7 -5
  85. package/docs/functions/Util.isModelLike.html +7 -5
  86. package/docs/functions/Util.isNil.html +7 -5
  87. package/docs/functions/Util.isPanoramaLike.html +7 -5
  88. package/docs/functions/Util.nextFrame.html +7 -5
  89. package/docs/functions/Util.notNil.html +7 -5
  90. package/docs/functions/Util.requestAnimationFrameInterval.html +7 -5
  91. package/docs/functions/Util.tweenProgress.html +7 -5
  92. package/docs/functions/Util.uuid.html +7 -5
  93. package/docs/functions/pluginFlag.html +7 -5
  94. package/docs/index.html +7 -5
  95. package/docs/interfaces/AddTagConfig.html +8 -6
  96. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +8 -6
  97. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -6
  98. package/docs/interfaces/AreaMakerPluginType.EventMap.html +17 -15
  99. package/docs/interfaces/AreaMakerPluginType.Params.html +9 -7
  100. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -9
  101. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +10 -8
  102. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +8 -6
  103. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +8 -6
  104. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +8 -6
  105. package/docs/interfaces/AreaMakerPluginType.State.html +10 -8
  106. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
  107. package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
  108. package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
  109. package/docs/interfaces/CruisePluginTypes.Config.html +11 -9
  110. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +15 -13
  111. package/docs/interfaces/CruisePluginTypes.EventMap.html +23 -21
  112. package/docs/interfaces/CruisePluginTypes.MoveAction.html +15 -13
  113. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +17 -15
  114. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +17 -15
  115. package/docs/interfaces/CruisePluginTypes.PluginData.html +12 -10
  116. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +9 -7
  117. package/docs/interfaces/CruisePluginTypes.PluginState.html +17 -36
  118. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -11
  119. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -12
  120. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -7
  121. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -6
  122. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -8
  123. package/docs/interfaces/EventMap.html +17 -15
  124. package/docs/interfaces/FloorplanBounding.html +10 -8
  125. package/docs/interfaces/FloorplanData.html +12 -10
  126. package/docs/interfaces/FloorplanEntrance.html +13 -11
  127. package/docs/interfaces/FloorplanExtraObject.html +12 -10
  128. package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
  129. package/docs/interfaces/FloorplanFloorData.html +11 -9
  130. package/docs/interfaces/FloorplanImagePosition.html +9 -7
  131. package/docs/interfaces/FloorplanObserver.html +11 -9
  132. package/docs/interfaces/FloorplanOutlineItem.html +11 -9
  133. package/docs/interfaces/FloorplanPosition.html +9 -7
  134. package/docs/interfaces/FloorplanRoomItem.html +15 -13
  135. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
  136. package/docs/interfaces/FloorplanServerBounding.html +10 -8
  137. package/docs/interfaces/FloorplanServerComputedData.html +12 -10
  138. package/docs/interfaces/FloorplanServerData.html +9 -7
  139. package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
  140. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
  141. package/docs/interfaces/FloorplanServerEntrance.html +13 -11
  142. package/docs/interfaces/FloorplanServerFloorData.html +11 -9
  143. package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
  144. package/docs/interfaces/FloorplanServerObserver.html +11 -9
  145. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
  146. package/docs/interfaces/FloorplanServerPosition.html +9 -7
  147. package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
  148. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
  149. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -8
  150. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +13 -11
  151. package/docs/interfaces/GuideLinePluginType.EventMap.html +16 -14
  152. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +11 -9
  153. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -7
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -14
  155. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +9 -7
  156. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +11 -9
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -20
  158. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +10 -8
  159. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +22 -20
  160. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +8 -6
  161. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +9 -7
  162. package/docs/interfaces/GuideLinePluginType.PluginState.html +11 -9
  163. package/docs/interfaces/GuideLinePluginType.Route.html +14 -12
  164. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +12 -10
  165. package/docs/interfaces/HelperOffset.html +10 -8
  166. package/docs/interfaces/ImagePlaneGroup.html +8 -6
  167. package/docs/interfaces/ItemLabelPluginData.html +8 -6
  168. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
  169. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
  170. package/docs/interfaces/MinMax.html +9 -7
  171. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
  172. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
  173. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
  174. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
  175. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
  176. package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
  177. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
  178. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
  179. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
  180. package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
  181. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
  182. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
  183. package/docs/interfaces/ModelViewPluginExportType.html +13 -11
  184. package/docs/interfaces/Object3DHelperState.html +10 -8
  185. package/docs/interfaces/ObjectHelperControllers.html +11 -9
  186. package/docs/interfaces/PaintBrushAction.html +14 -12
  187. package/docs/interfaces/PaintBrushConfigs.html +14 -12
  188. package/docs/interfaces/PaintBrushState.html +12 -10
  189. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
  190. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
  191. package/docs/interfaces/PanoMeasureParameterType.html +18 -16
  192. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
  193. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
  194. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
  195. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
  196. package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
  197. package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
  198. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
  199. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
  200. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
  201. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
  202. package/docs/interfaces/PanoRulerProPluginState.html +10 -8
  203. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
  204. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
  205. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
  206. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
  207. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
  208. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
  209. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
  210. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
  211. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
  212. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
  213. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
  214. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
  215. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
  216. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
  217. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
  218. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
  219. package/docs/interfaces/Point.html +10 -8
  220. package/docs/interfaces/Room.html +11 -9
  221. package/docs/interfaces/RoomInfo.html +9 -7
  222. package/docs/interfaces/RoomLabel.html +16 -14
  223. package/docs/interfaces/RoomRules.html +7 -5
  224. package/docs/interfaces/Rooms.html +7 -5
  225. package/docs/interfaces/Scissor.html +11 -9
  226. package/docs/interfaces/State.html +10 -8
  227. package/docs/interfaces/TagCacheInterface.html +14 -12
  228. package/docs/interfaces/TagConfig.html +16 -14
  229. package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
  230. package/docs/interfaces/TagIconUrl.html +14 -12
  231. package/docs/interfaces/TagObjectGroup.html +8 -6
  232. package/docs/interfaces/TagStyle.html +8 -6
  233. package/docs/interfaces/Tags.html +11 -9
  234. package/docs/interfaces/TemporaryState.html +8 -6
  235. package/docs/interfaces/Util.MagnifierParameter.html +13 -11
  236. package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
  237. package/docs/interfaces/Util.PointIntersection.html +10 -8
  238. package/docs/modules/AreaMakerPluginType.html +7 -5
  239. package/docs/modules/CruisePluginTypes.html +7 -5
  240. package/docs/modules/CurrentPanoImagePluginType.html +7 -5
  241. package/docs/modules/GuideLineItem.html +7 -5
  242. package/docs/modules/GuideLineModeItem.html +7 -5
  243. package/docs/modules/GuideLinePluginType.html +7 -5
  244. package/docs/modules/PanoVideoPluginType.html +7 -5
  245. package/docs/modules/Util.html +7 -5
  246. package/docs/modules.html +27 -9
  247. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -5
  248. package/docs/types/AreaMakerPluginType.PluginData.html +7 -5
  249. package/docs/types/AreaMakerPluginType.ServerData.html +7 -5
  250. package/docs/types/ArrayPosition.html +7 -5
  251. package/docs/types/AudioAppearance.html +7 -5
  252. package/docs/types/AudioTagTypeConfigKey.html +7 -5
  253. package/docs/types/CSS3DRenderExportType.html +7 -5
  254. package/docs/types/CSS3DRenderPluginExportType.html +7 -5
  255. package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
  256. package/docs/types/ClassFunctionParameters.html +7 -5
  257. package/docs/types/Color.html +7 -5
  258. package/docs/types/ContentTypeConfigKey.html +7 -5
  259. package/docs/types/ContentTypeConfigKeySplit.html +7 -5
  260. package/docs/types/ContentTypeMap.html +7 -5
  261. package/docs/types/Create3DDomContainerReturnType.html +7 -5
  262. package/docs/types/Create3DElementReturnType.html +7 -5
  263. package/docs/types/CruisePluginExportType.html +7 -5
  264. package/docs/types/CruisePluginTypes.CruiseData.html +8 -6
  265. package/docs/types/CruisePluginTypes.MoveEffect.html +8 -6
  266. package/docs/types/CurrentPanoImagePluginExportType.html +7 -5
  267. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -5
  268. package/docs/types/DeprecatedTagProperty.html +7 -5
  269. package/docs/types/Direction-1.html +7 -5
  270. package/docs/types/Direction4.html +7 -5
  271. package/docs/types/ElementRenderer.html +7 -5
  272. package/docs/types/FloorplanRuleLabels.html +7 -5
  273. package/docs/types/FloorplanServerRuleLabels.html +7 -5
  274. package/docs/types/GuideLinePluginExportType.html +7 -5
  275. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -6
  276. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +8 -6
  277. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +8 -6
  278. package/docs/types/GuideLinePluginType.GuideLineStyle.html +8 -6
  279. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +8 -6
  280. package/docs/types/GuideLinePluginType.PathItem.html +8 -6
  281. package/docs/types/GuideLinePluginType.PluginData.html +8 -6
  282. package/docs/types/HelperEventMap.html +7 -5
  283. package/docs/types/LoadTagConfig.html +7 -5
  284. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
  285. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
  286. package/docs/types/MediaData.html +7 -5
  287. package/docs/types/MediaStore.html +7 -5
  288. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
  289. package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
  290. package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
  291. package/docs/types/ModelId.html +7 -5
  292. package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
  293. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
  294. package/docs/types/MoveArgs.html +7 -5
  295. package/docs/types/MoveOpts.html +7 -5
  296. package/docs/types/Object3DHelperEventMap.html +7 -5
  297. package/docs/types/ObjectFit.html +7 -5
  298. package/docs/types/PaintBrushEventMap.html +7 -5
  299. package/docs/types/PanoCompassPluginData.html +7 -5
  300. package/docs/types/PanoCompassPluginExportType.html +7 -5
  301. package/docs/types/PanoCompassPluginParameterType.html +7 -5
  302. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
  303. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
  304. package/docs/types/PanoIndex.html +7 -5
  305. package/docs/types/PanoMeasurePluginEvent.html +7 -5
  306. package/docs/types/PanoMeasureReturnType.html +7 -5
  307. package/docs/types/PanoSpatialTagPluginId.html +7 -5
  308. package/docs/types/PanoTagPluginExportInterface.html +7 -5
  309. package/docs/types/PanoTagPluginParamsInterface.html +7 -5
  310. package/docs/types/PanoVideoPluginParameterType.html +7 -5
  311. package/docs/types/PanoVideoPluginReturnType.html +7 -5
  312. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -5
  313. package/docs/types/PipelinePluginParameterType.html +7 -5
  314. package/docs/types/PipelinePluginReturnType.html +7 -5
  315. package/docs/types/PlaneTag.html +7 -5
  316. package/docs/types/Point2DTag.html +7 -5
  317. package/docs/types/Point3DTag.html +7 -5
  318. package/docs/types/PointTag.html +7 -5
  319. package/docs/types/PointTagInstance.html +7 -5
  320. package/docs/types/Position.html +7 -5
  321. package/docs/types/RotateArgs.html +7 -5
  322. package/docs/types/RotateOpts.html +7 -5
  323. package/docs/types/RuleLabelsKey.html +7 -5
  324. package/docs/types/RuleLabelsValue.html +7 -5
  325. package/docs/types/StickType.html +7 -5
  326. package/docs/types/Tag.html +7 -5
  327. package/docs/types/Tag2D.html +7 -5
  328. package/docs/types/Tag3D.html +7 -5
  329. package/docs/types/TagConfigByKey.html +7 -5
  330. package/docs/types/TagContentType.html +7 -5
  331. package/docs/types/TagDimensionType.html +7 -5
  332. package/docs/types/TagElement.html +7 -5
  333. package/docs/types/TagEvents.html +7 -5
  334. package/docs/types/TagGLTFObject.html +7 -5
  335. package/docs/types/TagHooks.html +7 -5
  336. package/docs/types/TagId.html +7 -5
  337. package/docs/types/TagInstance.html +7 -5
  338. package/docs/types/TagPointType.html +7 -5
  339. package/docs/types/TagRendererMap.html +7 -5
  340. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
  341. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
  342. package/docs/types/WorkCode.html +7 -5
  343. package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
  344. package/docs/variables/PLUGIN.html +7 -5
  345. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
  346. package/docs/variables/ROOM_TYPE_MAP.html +7 -5
  347. package/docs/variables/defaultGlobalConfig.html +7 -5
  348. package/docs/variables/itemLabelPluginServerParams.html +7 -5
  349. package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
  350. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
  351. package/libs/CruisePlugin/CruiseController.d.ts +147 -0
  352. package/libs/CruisePlugin/CruiseController.js +237 -0
  353. package/libs/CruisePlugin/Move.d.ts +29 -0
  354. package/libs/CruisePlugin/Move.js +113 -0
  355. package/libs/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  356. package/libs/CruisePlugin/{Controller.js → Work.js} +149 -177
  357. package/libs/CruisePlugin/index.d.ts +4 -3
  358. package/libs/CruisePlugin/index.js +15 -10
  359. package/libs/CruisePlugin/typing.d.ts +2 -2
  360. package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  361. package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
  362. package/libs/GuideLinePlugin/Controller.d.ts +1 -6
  363. package/libs/GuideLinePlugin/Controller.js +48 -62
  364. package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
  365. package/libs/GuideLinePlugin/GuideLineItem.js +12 -9
  366. package/libs/GuideLinePlugin/index.js +20 -17
  367. package/libs/PanoTagPlugin/controller/index.js +1 -1
  368. package/libs/base/BasePlugin.js +1 -1
  369. package/libs/index.js +124 -119
  370. package/libs/shared-utils/five/fiveLoaded.d.ts +2 -0
  371. package/libs/shared-utils/five/fiveLoaded.js +30 -0
  372. package/libs/shared-utils/formatRad.d.ts +7 -0
  373. package/libs/shared-utils/formatRad.js +7 -0
  374. package/libs/shared-utils/logger.js +1 -1
  375. package/package.json +2 -2
  376. package/dist/CruisePlugin/utils/linerValue.d.ts +0 -1
  377. /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
  378. /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  379. /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  380. /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
@@ -0,0 +1,147 @@
1
+ import type { Five, State } from '@realsee/five';
2
+ import type { BaseOptions } from '../base/BasePlugin';
3
+ import * as BasePlugin from '../base/BasePlugin';
4
+ import type { PluginState, EventMap } from './typing';
5
+ import type { PartialDeep } from 'type-fest';
6
+ export declare const pluginFlag: (name: string) => string;
7
+ export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
8
+ state: PluginState;
9
+ protected data?: PluginData & {
10
+ id: string | number;
11
+ };
12
+ protected config?: Config;
13
+ private privateState;
14
+ private GuideLine?;
15
+ constructor(five: Five, config?: Config);
16
+ /**
17
+ * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
18
+ */
19
+ play(options?: {
20
+ userAction?: boolean;
21
+ }): void;
22
+ /**
23
+ * @description Pause
24
+ */
25
+ pause(options?: {
26
+ userAction?: boolean;
27
+ }): void;
28
+ /**
29
+ * @description Show guide line
30
+ */
31
+ show(options?: {
32
+ userAction?: boolean;
33
+ }): Promise<void>;
34
+ /**
35
+ * @description Hide guide line
36
+ */
37
+ hide(options?: {
38
+ userAction?: boolean;
39
+ }): Promise<void>;
40
+ /**
41
+ * @description Enable
42
+ */
43
+ enable(options?: {
44
+ userAction?: boolean;
45
+ }): void;
46
+ /**
47
+ * @description Disable
48
+ */
49
+ disable(options?: {
50
+ userAction?: boolean;
51
+ }): void;
52
+ /**
53
+ * @description Dispose
54
+ */
55
+ dispose(): void;
56
+ /**
57
+ * @description Set state
58
+ */
59
+ setState(state: PartialDeep<PluginState>, options?: BaseOptions & Record<string, any>): void;
60
+ /**
61
+ * @description Clear pause data
62
+ */
63
+ protected clearPauseData(): boolean;
64
+ protected changePlayState(play: boolean, options?: {
65
+ userAction?: boolean;
66
+ playFromIndex?: number;
67
+ playFromId?: string;
68
+ }): void;
69
+ protected handleEnable(enabled: boolean, userAction?: boolean): void;
70
+ protected handleVisible(visible: boolean, userAction?: boolean): void;
71
+ /**
72
+ * @description: listen interupted by five gesture
73
+ */
74
+ protected addInterruptListener(interrupt: () => void): () => void;
75
+ /**
76
+ * @description Get duration by speed
77
+ */
78
+ protected getSpeededDuration(duration: number): number;
79
+ /**
80
+ * @description Change five mode
81
+ */
82
+ protected changeMode(data: Partial<State>, duration?: number): Promise<void>;
83
+ /**
84
+ * @description Force interupt five updateCamera
85
+ */
86
+ protected forceInteruptUpdateCamera(): void;
87
+ protected getPauseData(): {
88
+ fiveState: Partial<State>;
89
+ id?: string | number;
90
+ playedProgress: number;
91
+ duration?: number;
92
+ };
93
+ /**
94
+ * @description Set pause data
95
+ */
96
+ protected setPauseData(): Map<string | number, {
97
+ fiveState: Partial<State>;
98
+ id?: string | number;
99
+ playedProgress: number;
100
+ duration?: number;
101
+ }>;
102
+ /**
103
+ * @description: Restore state that before loaded
104
+ */
105
+ protected clear(): void;
106
+ protected handleDispose(): void;
107
+ /**
108
+ * @description Action function if plugin is enable
109
+ */
110
+ protected actionIfStateIsEnabled<T = any>(func: () => T, options?: {
111
+ warnLog?: true;
112
+ }): T;
113
+ /**
114
+ * @description Load Data and State
115
+ */
116
+ abstract load(serverData: unknown, state?: PluginState, userAction?: boolean): Promise<void>;
117
+ /**
118
+ * @description Play from first keyframe
119
+ */
120
+ abstract playFromStart(): void;
121
+ /**
122
+ * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
123
+ * @param {number} options.playFromIndex play from keyframes index
124
+ * @param {string} options.playFromId play from keyframes id
125
+ */
126
+ protected abstract handlePlay(options?: {
127
+ userAction?: boolean;
128
+ playFromIndex?: number;
129
+ playFromId?: string;
130
+ notEmitEvent?: true;
131
+ }): Promise<string>;
132
+ /**
133
+ * @description: Change play speed
134
+ */
135
+ protected abstract changeSpeed(speed: number): void;
136
+ /**
137
+ * @description Get ratate progress
138
+ */
139
+ protected abstract getProgress(): number;
140
+ /**
141
+ * @description: Pause and record pause state
142
+ */
143
+ protected abstract handlePause(options?: {
144
+ userAction?: boolean;
145
+ notEmitEvent?: true;
146
+ }): void;
147
+ }
@@ -0,0 +1,29 @@
1
+ import type { Five } from '@realsee/five';
2
+ import CruiseController from './CruiseController';
3
+ import type { PluginState } from './typing';
4
+ import type { PartialDeep } from 'type-fest';
5
+ import type * as THREE from 'three';
6
+ type Data = {
7
+ path: THREE.CurvePath<THREE.Vector3>;
8
+ };
9
+ type Config = {
10
+ offsetY?: number;
11
+ allowBroke?: boolean;
12
+ };
13
+ export default class MoveController extends CruiseController<Data, Config> {
14
+ private curve;
15
+ private curveOffset;
16
+ private playStartedTime;
17
+ private duration;
18
+ constructor(five: Five, config?: Config);
19
+ load(data: Data, state?: PartialDeep<PluginState>): Promise<void>;
20
+ changeSpeed: (speed: number, userAction?: boolean) => void;
21
+ playFromStart(): void;
22
+ protected getDuration(): number;
23
+ protected getProgress(): number;
24
+ protected handlePlay(): Promise<string>;
25
+ protected handlePause(options?: {
26
+ userAction?: boolean;
27
+ }): void;
28
+ }
29
+ export {};
@@ -3,8 +3,7 @@ import type { BaseOptions } from '../base/BasePlugin';
3
3
  import * as BasePluginWithData from '../base/BasePluginWithData';
4
4
  import type { PluginState, EventMap, PluginServerData, PluginData, Config } from './typing';
5
5
  export declare const pluginFlag: (name: string) => string;
6
- export default class CruisePluginController extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
7
- static PluginVersion: string;
6
+ export default class WalkController extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
8
7
  state: PluginState;
9
8
  protected data?: PluginData;
10
9
  private config?;
@@ -162,10 +161,4 @@ export default class CruisePluginController extends BasePluginWithData.Controlle
162
161
  * @description Action function if plugin is enable
163
162
  */
164
163
  private actionIfStateIsEnabled;
165
- /**
166
- * @description: Wait for five work ready
167
- */
168
- private waitFiveLoaded;
169
- private setFiveLinearUpdateCamera;
170
- private setFiveOriginUpdateCamera;
171
164
  }
@@ -1,9 +1,10 @@
1
1
  import type { FivePlugin } from '@realsee/five';
2
- import CruisePluginController from './Controller';
3
2
  import * as CruisePluginTypes from './typing';
4
3
  import type { Config } from './typing';
5
- export { CruisePluginController };
6
- export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof CruisePluginController>>;
4
+ import WalkController from './Work';
5
+ import MoveController from './Move';
6
+ export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
7
+ export { WalkController, MoveController, MoveController as CruisePluginController };
7
8
  export type { CruisePluginExportType } from './typing';
8
9
  export default CruisePlugin;
9
10
  export { CruisePluginTypes };
@@ -82,7 +82,7 @@ export interface PluginState extends BasePluginWithData.State {
82
82
  speed: number;
83
83
  config?: {
84
84
  /** 速度配置 */
85
- speedConfig?: {
85
+ speedConfig?: Partial<{
86
86
  /** 旋转速度 */
87
87
  rotateSpeed: number;
88
88
  /** 旋转速度单位 */
@@ -91,7 +91,7 @@ export interface PluginState extends BasePluginWithData.State {
91
91
  moveSpeed: number;
92
92
  /** 移动速度单位 */
93
93
  moveSpeedUnit: 'm/s' | 'm/ms';
94
- };
94
+ }>;
95
95
  /** five 走点动画 */
96
96
  moveEffect?: MoveEffect;
97
97
  };
@@ -0,0 +1,11 @@
1
+ import * as THREE from 'three';
2
+ export declare function getFiveStateOnCurve(curve: THREE.Curve<THREE.Vector3>, progress: number, curveOffset: Partial<{
3
+ x: number;
4
+ y: number;
5
+ z: number;
6
+ }>): {
7
+ offset: THREE.Vector3;
8
+ longitude: number;
9
+ latitude: number;
10
+ distance: number;
11
+ };
@@ -4,10 +4,9 @@ import type { EventMap, PluginData, PluginServerData, PluginState } from './typi
4
4
  import type * as PluginType from './typing';
5
5
  import type { Config } from '../base/BasePlugin';
6
6
  import { GuideLineItem } from './GuideLineItem';
7
- import CruisePluginController from '../CruisePlugin/Controller';
7
+ import CruisePluginController from '../CruisePlugin/Move';
8
8
  export declare const pluginFlag: (name: string) => string;
9
9
  export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
10
- readonly version = "v1.1.0";
11
10
  readonly name = "GuideLinePlugin";
12
11
  readonly cruisePlugin: CruisePluginController;
13
12
  /** GuideLineItem 索引 */
@@ -60,9 +59,5 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
60
59
  private handleEnable;
61
60
  private handleVisible;
62
61
  private disposedErrorLog;
63
- /**
64
- * @description: Wait for five model ready
65
- */
66
- private waitFiveLoaded;
67
62
  private getDataWithoutVersion;
68
63
  }