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