@realsee/dnalogel 3.5.0-tag-dev.2 → 3.6.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 (386) hide show
  1. package/dist/CruisePlugin/BaseController.d.ts +159 -0
  2. package/dist/CruisePlugin/Move.d.ts +40 -0
  3. package/dist/CruisePlugin/Work.d.ts +120 -0
  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/TagRender.d.ts +2 -2
  9. package/dist/index.cjs.js +52 -52
  10. package/dist/index.js +3249 -3160
  11. package/dist/index.umd.js +54 -54
  12. package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +33 -31
  15. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -32
  16. package/docs/classes/CSS3DRender.html +33 -31
  17. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -19
  18. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +43 -41
  19. package/docs/classes/Magnifier.html +22 -20
  20. package/docs/classes/ModelRoomLabelController.html +13 -11
  21. package/docs/classes/MoveController.html +652 -0
  22. package/docs/classes/Object3DHelperController.html +27 -25
  23. package/docs/classes/PaintBrush.html +17 -15
  24. package/docs/classes/PanoMeasurePluginLine.html +29 -27
  25. package/docs/classes/PanoMeasurePluginModel.html +29 -27
  26. package/docs/classes/PanoMeasurePluginPoint.html +13 -11
  27. package/docs/classes/PanoMeasurePluginPolyline.html +29 -27
  28. package/docs/classes/PanoTagPluginController.html +66 -48
  29. package/docs/classes/Util.BetterTween.html +11 -9
  30. package/docs/classes/Util.Interval.html +14 -12
  31. package/docs/classes/Util.LineSegments.html +10 -8
  32. package/docs/classes/Util.Magnifier.html +22 -20
  33. package/docs/classes/Util.Object3D.html +10 -8
  34. package/docs/classes/Util.PointDomHelper.html +13 -11
  35. package/docs/classes/Util.PointHelper.html +13 -11
  36. package/docs/classes/Util.PointSelectorHelper.html +18 -16
  37. package/docs/classes/Util.Rectangle.html +15 -13
  38. package/docs/classes/{CruisePluginController.html → WalkController.html} +97 -99
  39. package/docs/enums/CameraMovementEffect.html +9 -7
  40. package/docs/enums/ContentType.html +23 -21
  41. package/docs/enums/DIRECTION.html +11 -9
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
  43. package/docs/enums/DimensionType.html +9 -7
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
  46. package/docs/enums/PaintBrushTypeEnum.html +10 -8
  47. package/docs/enums/PointType.html +9 -7
  48. package/docs/enums/Rotation.html +10 -8
  49. package/docs/functions/AreaMakerPlugin.html +7 -5
  50. package/docs/functions/CSS3DRenderPlugin.html +6 -4
  51. package/docs/functions/CameraMovementPlugin.html +6 -4
  52. package/docs/functions/CruisePlugin.html +8 -6
  53. package/docs/functions/CurrentPanoImagePlugin.html +6 -4
  54. package/docs/functions/GuideLinePlugin.html +7 -5
  55. package/docs/functions/ItemLabelPlugin.html +6 -4
  56. package/docs/functions/MapviewFloorplanPlugin.html +6 -4
  57. package/docs/functions/ModelChassisCompassPlugin.html +6 -4
  58. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
  59. package/docs/functions/ModelFloorplanPlugin.html +6 -4
  60. package/docs/functions/ModelItemLabelPlugin.html +6 -4
  61. package/docs/functions/ModelRoomLabelPlugin.html +6 -4
  62. package/docs/functions/ModelTVVideoPlugin.html +6 -4
  63. package/docs/functions/ModelViewPlugin.html +6 -4
  64. package/docs/functions/Object3DHelperPlugin.html +6 -4
  65. package/docs/functions/PanoCompassPlugin.html +6 -4
  66. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
  67. package/docs/functions/PanoDoorLabelPlugin.html +6 -4
  68. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
  69. package/docs/functions/PanoMeasurePlugin.html +6 -4
  70. package/docs/functions/PanoRulerPlugin.html +6 -4
  71. package/docs/functions/PanoRulerProPlugin.html +6 -4
  72. package/docs/functions/PanoSpatialTagPlugin.html +6 -4
  73. package/docs/functions/PanoTagPlugin.html +6 -4
  74. package/docs/functions/PanoVideoPlugin.html +6 -4
  75. package/docs/functions/PipelinePlugin.html +6 -4
  76. package/docs/functions/TopviewFloorplanPlugin.html +6 -4
  77. package/docs/functions/Util.absoluteUrl.html +7 -5
  78. package/docs/functions/Util.checkFiveModelLoaded.html +7 -5
  79. package/docs/functions/Util.equal.html +7 -5
  80. package/docs/functions/Util.getCoordsFromClient.html +7 -5
  81. package/docs/functions/Util.getCoordsFromElement.html +7 -5
  82. package/docs/functions/Util.getFrameTime.html +7 -5
  83. package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -5
  84. package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -5
  85. package/docs/functions/Util.isAbsoluteURL.html +7 -5
  86. package/docs/functions/Util.isModelLike.html +7 -5
  87. package/docs/functions/Util.isNil.html +7 -5
  88. package/docs/functions/Util.isPanoramaLike.html +7 -5
  89. package/docs/functions/Util.nextFrame.html +7 -5
  90. package/docs/functions/Util.notNil.html +7 -5
  91. package/docs/functions/Util.requestAnimationFrameInterval.html +7 -5
  92. package/docs/functions/Util.tweenProgress.html +7 -5
  93. package/docs/functions/Util.uuid.html +7 -5
  94. package/docs/functions/pluginFlag.html +7 -5
  95. package/docs/index.html +7 -5
  96. package/docs/interfaces/AddTagConfig.html +8 -6
  97. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +8 -6
  98. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -6
  99. package/docs/interfaces/AreaMakerPluginType.EventMap.html +17 -15
  100. package/docs/interfaces/AreaMakerPluginType.Params.html +9 -7
  101. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -9
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +10 -8
  103. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +8 -6
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +8 -6
  105. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +8 -6
  106. package/docs/interfaces/AreaMakerPluginType.State.html +10 -8
  107. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
  108. package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
  109. package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
  110. package/docs/interfaces/CruisePluginTypes.Config.html +11 -9
  111. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +15 -13
  112. package/docs/interfaces/CruisePluginTypes.EventMap.html +23 -21
  113. package/docs/interfaces/CruisePluginTypes.MoveAction.html +15 -13
  114. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +17 -15
  115. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +17 -15
  116. package/docs/interfaces/CruisePluginTypes.PluginData.html +12 -10
  117. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +9 -7
  118. package/docs/interfaces/CruisePluginTypes.PluginState.html +17 -36
  119. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -11
  120. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -12
  121. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -7
  122. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -6
  123. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -8
  124. package/docs/interfaces/EventMap.html +17 -15
  125. package/docs/interfaces/FloorplanBounding.html +10 -8
  126. package/docs/interfaces/FloorplanData.html +12 -10
  127. package/docs/interfaces/FloorplanEntrance.html +13 -11
  128. package/docs/interfaces/FloorplanExtraObject.html +12 -10
  129. package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
  130. package/docs/interfaces/FloorplanFloorData.html +11 -9
  131. package/docs/interfaces/FloorplanImagePosition.html +9 -7
  132. package/docs/interfaces/FloorplanObserver.html +11 -9
  133. package/docs/interfaces/FloorplanOutlineItem.html +11 -9
  134. package/docs/interfaces/FloorplanPosition.html +9 -7
  135. package/docs/interfaces/FloorplanRoomItem.html +15 -13
  136. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
  137. package/docs/interfaces/FloorplanServerBounding.html +10 -8
  138. package/docs/interfaces/FloorplanServerComputedData.html +12 -10
  139. package/docs/interfaces/FloorplanServerData.html +9 -7
  140. package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
  141. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
  142. package/docs/interfaces/FloorplanServerEntrance.html +13 -11
  143. package/docs/interfaces/FloorplanServerFloorData.html +11 -9
  144. package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
  145. package/docs/interfaces/FloorplanServerObserver.html +11 -9
  146. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
  147. package/docs/interfaces/FloorplanServerPosition.html +9 -7
  148. package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
  149. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
  150. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -8
  151. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +13 -11
  152. package/docs/interfaces/GuideLinePluginType.EventMap.html +16 -14
  153. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +11 -9
  154. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -7
  155. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -14
  156. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +9 -7
  157. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +11 -9
  158. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -20
  159. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +10 -8
  160. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +22 -20
  161. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +8 -6
  162. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +9 -7
  163. package/docs/interfaces/GuideLinePluginType.PluginState.html +11 -9
  164. package/docs/interfaces/GuideLinePluginType.Route.html +14 -12
  165. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +12 -10
  166. package/docs/interfaces/HelperOffset.html +10 -8
  167. package/docs/interfaces/ImagePlaneGroup.html +8 -6
  168. package/docs/interfaces/ItemLabelPluginData.html +8 -6
  169. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
  170. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
  171. package/docs/interfaces/MinMax.html +9 -7
  172. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
  173. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
  174. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
  175. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
  176. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
  177. package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
  178. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
  179. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
  180. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
  181. package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
  182. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
  183. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
  184. package/docs/interfaces/ModelViewPluginExportType.html +13 -11
  185. package/docs/interfaces/Object3DHelperState.html +10 -8
  186. package/docs/interfaces/ObjectHelperControllers.html +11 -9
  187. package/docs/interfaces/PaintBrushAction.html +14 -12
  188. package/docs/interfaces/PaintBrushConfigs.html +14 -12
  189. package/docs/interfaces/PaintBrushState.html +12 -10
  190. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
  191. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
  192. package/docs/interfaces/PanoMeasureParameterType.html +18 -16
  193. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
  194. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
  195. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
  196. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
  197. package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
  198. package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
  199. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
  200. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
  201. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
  202. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
  203. package/docs/interfaces/PanoRulerProPluginState.html +10 -8
  204. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
  205. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
  206. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
  207. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
  208. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
  209. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
  210. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
  211. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
  212. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
  213. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
  214. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
  215. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
  216. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
  217. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
  218. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
  219. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
  220. package/docs/interfaces/Point.html +10 -8
  221. package/docs/interfaces/Room.html +11 -9
  222. package/docs/interfaces/RoomInfo.html +9 -7
  223. package/docs/interfaces/RoomLabel.html +16 -14
  224. package/docs/interfaces/RoomRules.html +7 -5
  225. package/docs/interfaces/Rooms.html +7 -5
  226. package/docs/interfaces/Scissor.html +11 -9
  227. package/docs/interfaces/State.html +10 -8
  228. package/docs/interfaces/TagCacheInterface.html +14 -12
  229. package/docs/interfaces/TagConfig.html +16 -14
  230. package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
  231. package/docs/interfaces/TagIconUrl.html +14 -12
  232. package/docs/interfaces/TagObjectGroup.html +8 -6
  233. package/docs/interfaces/TagStyle.html +8 -6
  234. package/docs/interfaces/Tags.html +11 -9
  235. package/docs/interfaces/TemporaryState.html +8 -6
  236. package/docs/interfaces/Util.MagnifierParameter.html +13 -11
  237. package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
  238. package/docs/interfaces/Util.PointIntersection.html +10 -8
  239. package/docs/modules/AreaMakerPluginType.html +7 -5
  240. package/docs/modules/CruisePluginTypes.html +7 -5
  241. package/docs/modules/CurrentPanoImagePluginType.html +7 -5
  242. package/docs/modules/GuideLineItem.html +7 -5
  243. package/docs/modules/GuideLineModeItem.html +7 -5
  244. package/docs/modules/GuideLinePluginType.html +7 -5
  245. package/docs/modules/PanoVideoPluginType.html +7 -5
  246. package/docs/modules/Util.html +7 -5
  247. package/docs/modules.html +27 -9
  248. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -5
  249. package/docs/types/AreaMakerPluginType.PluginData.html +7 -5
  250. package/docs/types/AreaMakerPluginType.ServerData.html +7 -5
  251. package/docs/types/ArrayPosition.html +7 -5
  252. package/docs/types/AudioAppearance.html +7 -5
  253. package/docs/types/AudioTagTypeConfigKey.html +7 -5
  254. package/docs/types/CSS3DRenderExportType.html +7 -5
  255. package/docs/types/CSS3DRenderPluginExportType.html +7 -5
  256. package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
  257. package/docs/types/ClassFunctionParameters.html +7 -5
  258. package/docs/types/Color.html +7 -5
  259. package/docs/types/ContentTypeConfigKey.html +7 -5
  260. package/docs/types/ContentTypeConfigKeySplit.html +7 -5
  261. package/docs/types/ContentTypeMap.html +7 -5
  262. package/docs/types/Create3DDomContainerReturnType.html +7 -5
  263. package/docs/types/Create3DElementReturnType.html +7 -5
  264. package/docs/types/CruisePluginExportType.html +7 -5
  265. package/docs/types/CruisePluginTypes.CruiseData.html +8 -6
  266. package/docs/types/CruisePluginTypes.MoveEffect.html +8 -6
  267. package/docs/types/CurrentPanoImagePluginExportType.html +7 -5
  268. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -5
  269. package/docs/types/DeprecatedTagProperty.html +7 -5
  270. package/docs/types/Direction-1.html +7 -5
  271. package/docs/types/Direction4.html +7 -5
  272. package/docs/types/ElementRenderer.html +7 -5
  273. package/docs/types/FloorplanRuleLabels.html +7 -5
  274. package/docs/types/FloorplanServerRuleLabels.html +7 -5
  275. package/docs/types/GuideLinePluginExportType.html +7 -5
  276. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -6
  277. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +8 -6
  278. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +8 -6
  279. package/docs/types/GuideLinePluginType.GuideLineStyle.html +8 -6
  280. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +8 -6
  281. package/docs/types/GuideLinePluginType.PathItem.html +8 -6
  282. package/docs/types/GuideLinePluginType.PluginData.html +8 -6
  283. package/docs/types/HelperEventMap.html +7 -5
  284. package/docs/types/LoadTagConfig.html +7 -5
  285. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
  286. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
  287. package/docs/types/MediaData.html +7 -5
  288. package/docs/types/MediaStore.html +7 -5
  289. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
  290. package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
  291. package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
  292. package/docs/types/ModelId.html +7 -5
  293. package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
  294. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
  295. package/docs/types/MoveArgs.html +7 -5
  296. package/docs/types/MoveOpts.html +7 -5
  297. package/docs/types/Object3DHelperEventMap.html +7 -5
  298. package/docs/types/ObjectFit.html +7 -5
  299. package/docs/types/PaintBrushEventMap.html +7 -5
  300. package/docs/types/PanoCompassPluginData.html +7 -5
  301. package/docs/types/PanoCompassPluginExportType.html +7 -5
  302. package/docs/types/PanoCompassPluginParameterType.html +7 -5
  303. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
  304. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
  305. package/docs/types/PanoIndex.html +7 -5
  306. package/docs/types/PanoMeasurePluginEvent.html +7 -5
  307. package/docs/types/PanoMeasureReturnType.html +7 -5
  308. package/docs/types/PanoSpatialTagPluginId.html +7 -5
  309. package/docs/types/PanoTagPluginExportInterface.html +7 -5
  310. package/docs/types/PanoTagPluginParamsInterface.html +7 -5
  311. package/docs/types/PanoVideoPluginParameterType.html +7 -5
  312. package/docs/types/PanoVideoPluginReturnType.html +7 -5
  313. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -5
  314. package/docs/types/PipelinePluginParameterType.html +7 -5
  315. package/docs/types/PipelinePluginReturnType.html +7 -5
  316. package/docs/types/PlaneTag.html +7 -5
  317. package/docs/types/Point2DTag.html +7 -5
  318. package/docs/types/Point3DTag.html +7 -5
  319. package/docs/types/PointTag.html +7 -5
  320. package/docs/types/PointTagInstance.html +7 -5
  321. package/docs/types/Position.html +7 -5
  322. package/docs/types/RotateArgs.html +7 -5
  323. package/docs/types/RotateOpts.html +7 -5
  324. package/docs/types/RuleLabelsKey.html +7 -5
  325. package/docs/types/RuleLabelsValue.html +7 -5
  326. package/docs/types/StickType.html +7 -5
  327. package/docs/types/Tag.html +7 -5
  328. package/docs/types/Tag2D.html +7 -5
  329. package/docs/types/Tag3D.html +7 -5
  330. package/docs/types/TagConfigByKey.html +7 -5
  331. package/docs/types/TagContentType.html +7 -5
  332. package/docs/types/TagContentTypeMapping.html +7 -5
  333. package/docs/types/TagDimensionType.html +7 -5
  334. package/docs/types/TagElement.html +7 -5
  335. package/docs/types/TagEvents.html +7 -5
  336. package/docs/types/TagGLTFObject.html +7 -5
  337. package/docs/types/TagHooks.html +7 -5
  338. package/docs/types/TagId.html +7 -5
  339. package/docs/types/TagInstance.html +7 -5
  340. package/docs/types/TagPointType.html +7 -5
  341. package/docs/types/TagRendererMap.html +7 -5
  342. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
  343. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
  344. package/docs/types/WorkCode.html +7 -5
  345. package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
  346. package/docs/variables/PLUGIN.html +7 -5
  347. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
  348. package/docs/variables/ROOM_TYPE_MAP.html +7 -5
  349. package/docs/variables/defaultGlobalConfig.html +7 -5
  350. package/docs/variables/itemLabelPluginServerParams.html +7 -5
  351. package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
  352. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
  353. package/libs/CruisePlugin/BaseController.d.ts +159 -0
  354. package/libs/CruisePlugin/BaseController.js +231 -0
  355. package/libs/CruisePlugin/Move.d.ts +40 -0
  356. package/libs/CruisePlugin/Move.js +120 -0
  357. package/libs/CruisePlugin/Work.d.ts +120 -0
  358. package/libs/CruisePlugin/Work.js +597 -0
  359. package/libs/CruisePlugin/index.d.ts +4 -3
  360. package/libs/CruisePlugin/index.js +17 -12
  361. package/libs/CruisePlugin/typing.d.ts +2 -2
  362. package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  363. package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
  364. package/libs/GuideLinePlugin/Controller.d.ts +1 -6
  365. package/libs/GuideLinePlugin/Controller.js +48 -62
  366. package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
  367. package/libs/GuideLinePlugin/GuideLineItem.js +13 -10
  368. package/libs/GuideLinePlugin/index.js +20 -17
  369. package/libs/PanoTagPlugin/controller/TagRender.d.ts +2 -2
  370. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  371. package/libs/base/BasePlugin.js +1 -1
  372. package/libs/index.js +124 -119
  373. package/libs/shared-utils/five/fiveLoaded.d.ts +2 -0
  374. package/libs/shared-utils/five/fiveLoaded.js +30 -0
  375. package/libs/shared-utils/formatRad.d.ts +7 -0
  376. package/libs/shared-utils/formatRad.js +7 -0
  377. package/libs/shared-utils/logger.js +1 -1
  378. package/package.json +2 -2
  379. package/dist/CruisePlugin/Controller.d.ts +0 -171
  380. package/dist/CruisePlugin/utils/linerValue.d.ts +0 -1
  381. package/libs/CruisePlugin/Controller.d.ts +0 -171
  382. package/libs/CruisePlugin/Controller.js +0 -760
  383. /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
  384. /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  385. /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  386. /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
package/libs/index.js CHANGED
@@ -1,59 +1,60 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as qp } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as Jp } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Qp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Xp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as oe } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as te, modelRoomLabelPluginServerParams as ie } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as pe } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as ne } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as ae } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as ue } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as xe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as se, ROOM_FETILE_TYPE_MAP as de, ROOM_TYPE_MAP as Me } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Le } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as _e } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Ie } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as Oe, Rotation as ye } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Se } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as Ge } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as Fe } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as ve } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as Ve } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as he } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as Be } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Ue } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as $e } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as qe } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as Je } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Qe } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as Xe } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as on } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as tn } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as pn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as nn } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as an } from "./CurrentPanoImagePlugin/index.js";
37
- import { index as un } from "./shared-utils/index.js";
38
- import { CSS3DRender as xn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
- import { Model as sn } from "./PanoMeasurePlugin/Model/index.js";
40
- import { default as Mn } from "./PanoMeasurePlugin/Model/point.js";
41
- import { default as Ln } from "./PanoMeasurePlugin/Model/line.js";
42
- import { Polyline as _n } from "./PanoMeasurePlugin/Model/polyline.js";
43
- import { default as In } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
- import { DISPLAY_STRATEGY_TYPE as On } from "./ModelItemLabelPlugin/typings.js";
45
- import { ModelItemLabelPlugin as An } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Dn } from "./ItemLabelPlugin/typings.js";
47
- import { Plugin as bn } from "./ItemLabelPlugin/Plugin.js";
48
- import { GuideLineItem$1 as Yn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
- import { GuideLineModeItem$1 as cn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
- import { default as Nn } from "./CruisePlugin/Controller.js";
51
- import { typing as wn } from "./CruisePlugin/typing/index.js";
52
- import { default as Hn, pluginFlag as Un } from "./PanoTagPlugin/controller/index.js";
53
- import { defaultGlobalConfig as $n } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
- import { ContentType as qn, DimensionType as zn, PointType as Jn } from "./PanoTagPlugin/Archive/deprecated.js";
55
- import { Object3DHelperController as Qn, PLUGIN as Wn } from "./Object3DHelperPlugin/Controller.js";
56
- import { typings as Zn } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as zp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Kp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Xp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as oe } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as te } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as me, modelRoomLabelPluginServerParams as pe } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as le } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as ae } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as fe } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as xe } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as se } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as Me, ROOM_FETILE_TYPE_MAP as Te, ROOM_TYPE_MAP as Le } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as _e } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Ie } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as Oe } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Ae, Rotation as Se } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Ge } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as ve } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as Ye } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Ve } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as he } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Be } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Ue } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as ke } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as We } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as ze } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Ke } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as Xe } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as ol } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as tl } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as ml } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as el } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as nl } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as Pl } from "./CurrentPanoImagePlugin/index.js";
37
+ import { index as ul } from "./shared-utils/index.js";
38
+ import { CSS3DRender as gl } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
+ import { Model as dl } from "./PanoMeasurePlugin/Model/index.js";
40
+ import { default as Tl } from "./PanoMeasurePlugin/Model/point.js";
41
+ import { default as Cl } from "./PanoMeasurePlugin/Model/line.js";
42
+ import { Polyline as El } from "./PanoMeasurePlugin/Model/polyline.js";
43
+ import { default as Rl } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
+ import { DISPLAY_STRATEGY_TYPE as yl } from "./ModelItemLabelPlugin/typings.js";
45
+ import { ModelItemLabelPlugin as Sl } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Gl } from "./ItemLabelPlugin/typings.js";
47
+ import { Plugin as vl } from "./ItemLabelPlugin/Plugin.js";
48
+ import { GuideLineItem$1 as Yl } from "./GuideLinePlugin/GuideLineItem/index.js";
49
+ import { GuideLineModeItem$1 as Vl } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
+ import { default as hl } from "./CruisePlugin/Work.js";
51
+ import { default as Bl, default as Hl } from "./CruisePlugin/Move.js";
52
+ import { typing as jl } from "./CruisePlugin/typing/index.js";
53
+ import { default as $l, pluginFlag as Wl } from "./PanoTagPlugin/controller/index.js";
54
+ import { defaultGlobalConfig as zl } from "./PanoTagPlugin/typings/tag/TagConfig.js";
55
+ import { ContentType as Kl, DimensionType as Ql, PointType as Xl } from "./PanoTagPlugin/Archive/deprecated.js";
56
+ import { Object3DHelperController as on, PLUGIN as rn } from "./Object3DHelperPlugin/Controller.js";
57
+ import { typings as mn } from "./PanoVideoPlugin/typings/index.js";
57
58
  import "./components/PaintBrush/Controller.js";
58
59
  import "./components/PaintBrush/utils.js";
59
60
  import "./components/PaintBrush/tween.js";
@@ -247,6 +248,7 @@ import "./PanoDoorLabelPlugin/BaseController.js";
247
248
  import "./PanoDoorLabelPlugin/DoorLabelItem.js";
248
249
  import "./PanoDoorLabelPlugin/utils.js";
249
250
  import "./GuideLinePlugin/Controller.js";
251
+ import "./shared-utils/five/fiveLoaded.js";
250
252
  import "./shared-utils/log.js";
251
253
  import "./GuideLinePlugin/utils/createLineGeometry.js";
252
254
  import "./vendor/polyline-normals/index.js";
@@ -362,10 +364,11 @@ import "./GuideLinePlugin/utils/index.js";
362
364
  import "./CruisePlugin/utils/coordinatesAngle.js";
363
365
  import "./CruisePlugin/utils/coordinatesToVector.js";
364
366
  import "./CruisePlugin/utils/safeCall.js";
365
- import "./CruisePlugin/utils/vectorToCoordinates.js";
366
- import "./CruisePlugin/utils/formatRad.js";
367
- import "./CruisePlugin/utils/linerValue.js";
368
367
  import "./CruisePlugin/utils/sleep.js";
368
+ import "./shared-utils/vectorToCoordinate.js";
369
+ import "./shared-utils/formatRad.js";
370
+ import "./CruisePlugin/BaseController.js";
371
+ import "./CruisePlugin/utils/getFiveStateOnCurve.js";
369
372
  import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
370
373
  import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
371
374
  import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
@@ -420,66 +423,68 @@ import "./shared-utils/three/getRaycaster.js";
420
423
  r();
421
424
  o();
422
425
  export {
423
- nn as AreaMakerPlugin,
424
- xn as CSS3DRender,
425
- Xp as CSS3DRenderPlugin,
426
- Oe as CameraMovementEffect,
427
- Ie as CameraMovementPlugin,
428
- qn as ContentType,
429
- Qe as CruisePlugin,
430
- Nn as CruisePluginController,
431
- wn as CruisePluginTypes,
432
- an as CurrentPanoImagePlugin,
433
- Ue as DIRECTION,
434
- On as DISPLAY_STRATEGY_TYPE,
435
- zn as DimensionType,
436
- pe as FLOOR_PLAN_ATTACHED_TO,
437
- se as FLOOR_TYPE_MAP,
438
- Yn as GuideLineItem,
439
- cn as GuideLineModeItem,
440
- Je as GuideLinePlugin,
441
- Dn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
442
- bn as ItemLabelPlugin,
443
- In as Magnifier,
444
- ae as MapviewFloorplanPlugin,
445
- Le as ModelChassisCompassPlugin,
446
- _e as ModelEntryDoorGuidePlugin,
447
- ne as ModelFloorplanPlugin,
448
- An as ModelItemLabelPlugin,
449
- te as ModelRoomLabelPlugin,
450
- Be as ModelTVVideoPlugin,
451
- Qp as ModelViewPlugin,
452
- Qn as Object3DHelperController,
453
- on as Object3DHelperPlugin,
454
- Wn as PLUGIN,
455
- qp as PaintBrush,
456
- Jp as PaintBrushTypeEnum,
457
- Fe as PanoCompassPlugin,
458
- oe as PanoCursorRaycasterPlugin,
459
- qe as PanoDoorLabelPlugin,
460
- xe as PanoFloorplanRadarPlugin,
461
- ve as PanoMeasurePlugin,
462
- Ln as PanoMeasurePluginLine,
463
- sn as PanoMeasurePluginModel,
464
- Mn as PanoMeasurePluginPoint,
465
- _n as PanoMeasurePluginPolyline,
466
- Se as PanoRulerPlugin,
467
- Ge as PanoRulerProPlugin,
468
- Ve as PanoSpatialTagPlugin,
469
- Xe as PanoTagPlugin,
470
- Hn as PanoTagPluginController,
471
- tn as PanoVideoPlugin,
472
- Zn as PanoVideoPluginType,
473
- pn as PipelinePlugin,
474
- Jn as PointType,
475
- de as ROOM_FETILE_TYPE_MAP,
476
- Me as ROOM_TYPE_MAP,
477
- ye as Rotation,
478
- ue as TopviewFloorplanPlugin,
479
- un as Util,
480
- $n as defaultGlobalConfig,
481
- $e as itemLabelPluginServerParams,
482
- he as modelItemLabelPluginServerParams,
483
- ie as modelRoomLabelPluginServerParams,
484
- Un as pluginFlag
426
+ nl as AreaMakerPlugin,
427
+ gl as CSS3DRender,
428
+ oe as CSS3DRenderPlugin,
429
+ Ae as CameraMovementEffect,
430
+ Oe as CameraMovementPlugin,
431
+ Kl as ContentType,
432
+ Xe as CruisePlugin,
433
+ Bl as CruisePluginController,
434
+ jl as CruisePluginTypes,
435
+ Pl as CurrentPanoImagePlugin,
436
+ ke as DIRECTION,
437
+ yl as DISPLAY_STRATEGY_TYPE,
438
+ Ql as DimensionType,
439
+ le as FLOOR_PLAN_ATTACHED_TO,
440
+ Me as FLOOR_TYPE_MAP,
441
+ Yl as GuideLineItem,
442
+ Vl as GuideLineModeItem,
443
+ Ke as GuideLinePlugin,
444
+ Gl as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
445
+ vl as ItemLabelPlugin,
446
+ Rl as Magnifier,
447
+ fe as MapviewFloorplanPlugin,
448
+ _e as ModelChassisCompassPlugin,
449
+ Ie as ModelEntryDoorGuidePlugin,
450
+ ae as ModelFloorplanPlugin,
451
+ Sl as ModelItemLabelPlugin,
452
+ me as ModelRoomLabelPlugin,
453
+ Ue as ModelTVVideoPlugin,
454
+ Xp as ModelViewPlugin,
455
+ Hl as MoveController,
456
+ on as Object3DHelperController,
457
+ tl as Object3DHelperPlugin,
458
+ rn as PLUGIN,
459
+ zp as PaintBrush,
460
+ Kp as PaintBrushTypeEnum,
461
+ Ye as PanoCompassPlugin,
462
+ te as PanoCursorRaycasterPlugin,
463
+ ze as PanoDoorLabelPlugin,
464
+ se as PanoFloorplanRadarPlugin,
465
+ Ve as PanoMeasurePlugin,
466
+ Cl as PanoMeasurePluginLine,
467
+ dl as PanoMeasurePluginModel,
468
+ Tl as PanoMeasurePluginPoint,
469
+ El as PanoMeasurePluginPolyline,
470
+ Ge as PanoRulerPlugin,
471
+ ve as PanoRulerProPlugin,
472
+ he as PanoSpatialTagPlugin,
473
+ ol as PanoTagPlugin,
474
+ $l as PanoTagPluginController,
475
+ ml as PanoVideoPlugin,
476
+ mn as PanoVideoPluginType,
477
+ el as PipelinePlugin,
478
+ Xl as PointType,
479
+ Te as ROOM_FETILE_TYPE_MAP,
480
+ Le as ROOM_TYPE_MAP,
481
+ Se as Rotation,
482
+ xe as TopviewFloorplanPlugin,
483
+ ul as Util,
484
+ hl as WalkController,
485
+ zl as defaultGlobalConfig,
486
+ We as itemLabelPluginServerParams,
487
+ Be as modelItemLabelPluginServerParams,
488
+ pe as modelRoomLabelPluginServerParams,
489
+ Wl as pluginFlag
485
490
  };
@@ -0,0 +1,2 @@
1
+ import type { Five } from '@realsee/five';
2
+ export declare function waitFiveLoaded(five: Five): Promise<void>;
@@ -0,0 +1,30 @@
1
+ var i = (e, o, r) => new Promise((c, d) => {
2
+ var u = (n) => {
3
+ try {
4
+ t(r.next(n));
5
+ } catch (a) {
6
+ d(a);
7
+ }
8
+ }, w = (n) => {
9
+ try {
10
+ t(r.throw(n));
11
+ } catch (a) {
12
+ d(a);
13
+ }
14
+ }, t = (n) => n.done ? c(n.value) : Promise.resolve(n.value).then(u, w);
15
+ t((r = r.apply(e, o)).next());
16
+ });
17
+ function k(e) {
18
+ return i(this, null, function* () {
19
+ return new Promise((o) => {
20
+ if (e.work) {
21
+ o();
22
+ return;
23
+ }
24
+ e.once("loaded", () => o());
25
+ });
26
+ });
27
+ }
28
+ export {
29
+ k as waitFiveLoaded
30
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 将弧度转成 0 - 2PI 中的值
3
+ * @param rad - 任意弧度值
4
+ * @return 0 - 2PI 的数值
5
+ */
6
+ declare function formatRad(rad: number): number;
7
+ export { formatRad };
@@ -0,0 +1,7 @@
1
+ const t = Math.PI * 2;
2
+ function o(n) {
3
+ return (n % t + t) % t;
4
+ }
5
+ export {
6
+ o as formatRad
7
+ };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.5.0-tag-dev.2",
3
+ "%c %c@realsee/dnalogel %cv3.6.0-dev.0",
4
4
  [
5
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
6
  "background-repeat: no-repeat",
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": "3.5.0-tag-dev.2",
10
+ "version": "3.6.0-dev.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*",
@@ -72,7 +72,7 @@
72
72
  "svelte-carousel": "1.0.25",
73
73
  "svelte-preprocess": "^5.0.4",
74
74
  "three": "0.117.1",
75
- "type-fest": "3.11.0",
75
+ "type-fest": "4.6.0",
76
76
  "typedoc": "^0.24.8",
77
77
  "typescript": "^5.1.6",
78
78
  "vite": "4.3.2",
@@ -1,171 +0,0 @@
1
- import type { Five } from '@realsee/five';
2
- import type { BaseOptions } from '../base/BasePlugin';
3
- import * as BasePluginWithData from '../base/BasePluginWithData';
4
- import type { PluginState, EventMap, PluginServerData, PluginData, Config } from './typing';
5
- export declare const pluginFlag: (name: string) => string;
6
- export default class CruisePluginController extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
7
- static PluginVersion: string;
8
- state: PluginState;
9
- protected data?: PluginData;
10
- private config?;
11
- private privateState;
12
- private GuideLine?;
13
- constructor(five: Five, config?: Config);
14
- /**
15
- * @description Load Data and State
16
- */
17
- load(serverData: PluginServerData | PluginServerData['data'], state?: PluginState, userAction?: boolean): Promise<void>;
18
- /**
19
- * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
20
- */
21
- play(options?: {
22
- userAction?: boolean;
23
- }): void;
24
- /**
25
- * @description If playing, first pause, then play from keyframes index/id
26
- * @param {number} options.index play from keyframes index
27
- * @param {string} options.id play from keyframes id
28
- */
29
- playFrom(options: {
30
- userAction?: boolean;
31
- index?: number;
32
- id?: string;
33
- }): void;
34
- /**
35
- * @description Play from first keyframe
36
- */
37
- playFromStart(options?: {
38
- userAction?: boolean;
39
- }): void;
40
- /**
41
- * @description Pause
42
- */
43
- pause(options?: {
44
- userAction?: boolean;
45
- }): void;
46
- /**
47
- * @description Show guide line
48
- */
49
- show(options?: {
50
- userAction?: boolean;
51
- }): Promise<void>;
52
- /**
53
- * @description Hide guide line
54
- */
55
- hide(options?: {
56
- userAction?: boolean;
57
- }): Promise<void>;
58
- /**
59
- * @description Enable
60
- */
61
- enable(options?: {
62
- userAction?: boolean;
63
- }): void;
64
- /**
65
- * @description Disable
66
- */
67
- disable(options?: {
68
- userAction?: boolean;
69
- }): void;
70
- /**
71
- * @description Dispose
72
- */
73
- dispose(): void;
74
- /**
75
- * @description Set state
76
- */
77
- setState(state: Partial<PluginState>, options?: BaseOptions & Record<string, any>): void;
78
- /**
79
- * @description Format data
80
- */
81
- protected formatData(serverData: PluginServerData | PluginServerData['data']): Promise<PluginData>;
82
- private handleEnable;
83
- private handleVisible;
84
- private changePlayState;
85
- /**
86
- * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
87
- * @param {number} options.playFromIndex play from keyframes index
88
- * @param {string} options.playFromId play from keyframes id
89
- */
90
- private handlePlay;
91
- /**
92
- * @description: Pause and record pause state
93
- */
94
- private handlePause;
95
- /**
96
- * @description Play single keyframe
97
- */
98
- private playKeyframe;
99
- /**
100
- * @description: listen interupted by five gesture
101
- */
102
- private addInterruptListener;
103
- /**
104
- * @description: getPlayPromise
105
- */
106
- private getPlayPromise;
107
- /**
108
- * @description Action promise queue in sequence
109
- */
110
- private actionPromiseQueue;
111
- /**
112
- * @description Action move keyframe
113
- */
114
- private move;
115
- /**
116
- * @description Action rotate keyframe
117
- */
118
- private rotate;
119
- /**
120
- * @description Update five camera
121
- */
122
- private updateCamera;
123
- /**
124
- * @description: Change five pano
125
- */
126
- private changePano;
127
- /**
128
- * @description: Change play speed
129
- */
130
- private changeSpeed;
131
- /**
132
- * @description Get duration by speed
133
- */
134
- private getSpeededDuration;
135
- /**
136
- * @description Get ratate progress
137
- */
138
- private getProgress;
139
- /**
140
- * @description Change five mode
141
- */
142
- private changeMode;
143
- /**
144
- * @description Force interupt five updateCamera
145
- */
146
- private forceInteruptUpdateCamera;
147
- private getPauseData;
148
- /**
149
- * @description Set pause data
150
- */
151
- private setPauseData;
152
- /**
153
- * @description Clear pause data
154
- */
155
- private clearPauseData;
156
- /**
157
- * @description: Restore state that before loaded
158
- */
159
- private clear;
160
- private handleDispose;
161
- /**
162
- * @description Action function if plugin is enable
163
- */
164
- private actionIfStateIsEnabled;
165
- /**
166
- * @description: Wait for five work ready
167
- */
168
- private waitFiveLoaded;
169
- private setFiveLinearUpdateCamera;
170
- private setFiveOriginUpdateCamera;
171
- }
@@ -1 +0,0 @@
1
- export default function linerValue(x0: number, v0: number, t1: number, t: number): number;