@realsee/dnalogel 3.5.0-dev.1 → 3.5.0-dev.2

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 (360) hide show
  1. package/dist/CruisePlugin/{CruiseController.d.ts → BaseController.d.ts} +19 -7
  2. package/dist/CruisePlugin/Move.d.ts +3 -3
  3. package/dist/CruisePlugin/Work.d.ts +48 -92
  4. package/dist/index.cjs.js +51 -51
  5. package/dist/index.js +2797 -2937
  6. package/dist/index.umd.js +44 -44
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  10. package/docs/classes/CSS3DRender.html +30 -30
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -40
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/MoveController.html +25 -25
  16. package/docs/classes/Object3DHelperController.html +24 -24
  17. package/docs/classes/PaintBrush.html +14 -14
  18. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  19. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  20. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  21. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  22. package/docs/classes/PanoTagPluginController.html +46 -46
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.Interval.html +11 -11
  25. package/docs/classes/Util.LineSegments.html +7 -7
  26. package/docs/classes/Util.Magnifier.html +19 -19
  27. package/docs/classes/Util.Object3D.html +7 -7
  28. package/docs/classes/Util.PointDomHelper.html +10 -10
  29. package/docs/classes/Util.PointHelper.html +10 -10
  30. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  31. package/docs/classes/Util.Rectangle.html +12 -12
  32. package/docs/classes/WalkController.html +77 -74
  33. package/docs/enums/CameraMovementEffect.html +6 -6
  34. package/docs/enums/ContentType.html +20 -20
  35. package/docs/enums/DIRECTION.html +8 -8
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  37. package/docs/enums/DimensionType.html +6 -6
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  40. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  41. package/docs/enums/PointType.html +6 -6
  42. package/docs/enums/Rotation.html +7 -7
  43. package/docs/functions/AreaMakerPlugin.html +4 -4
  44. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  45. package/docs/functions/CameraMovementPlugin.html +3 -3
  46. package/docs/functions/CruisePlugin.html +3 -3
  47. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  48. package/docs/functions/GuideLinePlugin.html +4 -4
  49. package/docs/functions/ItemLabelPlugin.html +3 -3
  50. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  53. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  55. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  56. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  57. package/docs/functions/ModelViewPlugin.html +3 -3
  58. package/docs/functions/Object3DHelperPlugin.html +3 -3
  59. package/docs/functions/PanoCompassPlugin.html +3 -3
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  61. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  63. package/docs/functions/PanoMeasurePlugin.html +3 -3
  64. package/docs/functions/PanoRulerPlugin.html +3 -3
  65. package/docs/functions/PanoRulerProPlugin.html +3 -3
  66. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  67. package/docs/functions/PanoTagPlugin.html +3 -3
  68. package/docs/functions/PanoVideoPlugin.html +3 -3
  69. package/docs/functions/PipelinePlugin.html +3 -3
  70. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  71. package/docs/functions/Util.absoluteUrl.html +4 -4
  72. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  73. package/docs/functions/Util.equal.html +4 -4
  74. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  75. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  76. package/docs/functions/Util.getFrameTime.html +4 -4
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  79. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  80. package/docs/functions/Util.isModelLike.html +4 -4
  81. package/docs/functions/Util.isNil.html +4 -4
  82. package/docs/functions/Util.isPanoramaLike.html +4 -4
  83. package/docs/functions/Util.nextFrame.html +4 -4
  84. package/docs/functions/Util.notNil.html +4 -4
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  86. package/docs/functions/Util.tweenProgress.html +4 -4
  87. package/docs/functions/Util.uuid.html +4 -4
  88. package/docs/functions/pluginFlag.html +4 -4
  89. package/docs/index.html +4 -4
  90. package/docs/interfaces/AddTagConfig.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  100. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  102. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  103. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  104. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  113. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  114. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  115. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  116. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  117. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  118. package/docs/interfaces/EventMap.html +14 -14
  119. package/docs/interfaces/FloorplanBounding.html +7 -7
  120. package/docs/interfaces/FloorplanData.html +9 -9
  121. package/docs/interfaces/FloorplanEntrance.html +10 -10
  122. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  123. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  124. package/docs/interfaces/FloorplanFloorData.html +8 -8
  125. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  126. package/docs/interfaces/FloorplanObserver.html +8 -8
  127. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  128. package/docs/interfaces/FloorplanPosition.html +6 -6
  129. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  130. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  131. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  132. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  133. package/docs/interfaces/FloorplanServerData.html +6 -6
  134. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  135. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  136. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  137. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  138. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  139. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  140. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  141. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  142. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  143. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  144. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  145. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  146. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  147. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  148. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  154. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
  155. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  156. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  157. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  158. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  159. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  160. package/docs/interfaces/HelperOffset.html +7 -7
  161. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  162. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  163. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  164. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  165. package/docs/interfaces/MinMax.html +6 -6
  166. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  167. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  168. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  169. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  170. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  171. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  172. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  173. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  174. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  175. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  176. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  177. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  178. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  179. package/docs/interfaces/Object3DHelperState.html +7 -7
  180. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  181. package/docs/interfaces/PaintBrushAction.html +11 -11
  182. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  183. package/docs/interfaces/PaintBrushState.html +9 -9
  184. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  185. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  186. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  187. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  188. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  189. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  190. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  191. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  192. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  193. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  194. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  195. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  196. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  197. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  198. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  199. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  200. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  201. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  202. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  203. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  204. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  205. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  206. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  207. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  208. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  209. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  210. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  211. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  212. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  213. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  214. package/docs/interfaces/Point.html +7 -7
  215. package/docs/interfaces/Room.html +8 -8
  216. package/docs/interfaces/RoomInfo.html +6 -6
  217. package/docs/interfaces/RoomLabel.html +13 -13
  218. package/docs/interfaces/RoomRules.html +4 -4
  219. package/docs/interfaces/Rooms.html +4 -4
  220. package/docs/interfaces/Scissor.html +8 -8
  221. package/docs/interfaces/State.html +7 -7
  222. package/docs/interfaces/TagCacheInterface.html +11 -11
  223. package/docs/interfaces/TagConfig.html +13 -13
  224. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  225. package/docs/interfaces/TagIconUrl.html +11 -11
  226. package/docs/interfaces/TagObjectGroup.html +5 -5
  227. package/docs/interfaces/TagStyle.html +5 -5
  228. package/docs/interfaces/Tags.html +8 -8
  229. package/docs/interfaces/TemporaryState.html +5 -5
  230. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  231. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  232. package/docs/interfaces/Util.PointIntersection.html +7 -7
  233. package/docs/modules/AreaMakerPluginType.html +4 -4
  234. package/docs/modules/CruisePluginTypes.html +4 -4
  235. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  236. package/docs/modules/GuideLineItem.html +4 -4
  237. package/docs/modules/GuideLineModeItem.html +4 -4
  238. package/docs/modules/GuideLinePluginType.html +4 -4
  239. package/docs/modules/PanoVideoPluginType.html +4 -4
  240. package/docs/modules/Util.html +4 -4
  241. package/docs/modules.html +4 -4
  242. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  243. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  244. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  245. package/docs/types/ArrayPosition.html +4 -4
  246. package/docs/types/AudioAppearance.html +4 -4
  247. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  248. package/docs/types/CSS3DRenderExportType.html +4 -4
  249. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  250. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  251. package/docs/types/ClassFunctionParameters.html +4 -4
  252. package/docs/types/Color.html +4 -4
  253. package/docs/types/ContentTypeConfigKey.html +4 -4
  254. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  255. package/docs/types/ContentTypeMap.html +4 -4
  256. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  257. package/docs/types/Create3DElementReturnType.html +4 -4
  258. package/docs/types/CruisePluginExportType.html +4 -4
  259. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  260. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  261. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  262. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  263. package/docs/types/DeprecatedTagProperty.html +4 -4
  264. package/docs/types/Direction-1.html +4 -4
  265. package/docs/types/Direction4.html +4 -4
  266. package/docs/types/ElementRenderer.html +4 -4
  267. package/docs/types/FloorplanRuleLabels.html +4 -4
  268. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  269. package/docs/types/GuideLinePluginExportType.html +4 -4
  270. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  272. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  273. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  274. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  275. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  276. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  277. package/docs/types/HelperEventMap.html +4 -4
  278. package/docs/types/LoadTagConfig.html +4 -4
  279. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  280. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  281. package/docs/types/MediaData.html +4 -4
  282. package/docs/types/MediaStore.html +4 -4
  283. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  284. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  285. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  286. package/docs/types/ModelId.html +4 -4
  287. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  288. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  289. package/docs/types/MoveArgs.html +4 -4
  290. package/docs/types/MoveOpts.html +4 -4
  291. package/docs/types/Object3DHelperEventMap.html +4 -4
  292. package/docs/types/ObjectFit.html +4 -4
  293. package/docs/types/PaintBrushEventMap.html +4 -4
  294. package/docs/types/PanoCompassPluginData.html +4 -4
  295. package/docs/types/PanoCompassPluginExportType.html +4 -4
  296. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  297. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  298. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  299. package/docs/types/PanoIndex.html +4 -4
  300. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  301. package/docs/types/PanoMeasureReturnType.html +4 -4
  302. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  303. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  304. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  305. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  306. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  307. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  308. package/docs/types/PipelinePluginParameterType.html +4 -4
  309. package/docs/types/PipelinePluginReturnType.html +4 -4
  310. package/docs/types/PlaneTag.html +4 -4
  311. package/docs/types/Point2DTag.html +4 -4
  312. package/docs/types/Point3DTag.html +4 -4
  313. package/docs/types/PointTag.html +4 -4
  314. package/docs/types/PointTagInstance.html +4 -4
  315. package/docs/types/Position.html +4 -4
  316. package/docs/types/RotateArgs.html +4 -4
  317. package/docs/types/RotateOpts.html +4 -4
  318. package/docs/types/RuleLabelsKey.html +4 -4
  319. package/docs/types/RuleLabelsValue.html +4 -4
  320. package/docs/types/StickType.html +4 -4
  321. package/docs/types/Tag.html +4 -4
  322. package/docs/types/Tag2D.html +4 -4
  323. package/docs/types/Tag3D.html +4 -4
  324. package/docs/types/TagConfigByKey.html +4 -4
  325. package/docs/types/TagContentType.html +4 -4
  326. package/docs/types/TagDimensionType.html +4 -4
  327. package/docs/types/TagElement.html +4 -4
  328. package/docs/types/TagEvents.html +4 -4
  329. package/docs/types/TagGLTFObject.html +4 -4
  330. package/docs/types/TagHooks.html +4 -4
  331. package/docs/types/TagId.html +4 -4
  332. package/docs/types/TagInstance.html +4 -4
  333. package/docs/types/TagPointType.html +4 -4
  334. package/docs/types/TagRendererMap.html +4 -4
  335. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  336. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  337. package/docs/types/WorkCode.html +4 -4
  338. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  339. package/docs/variables/PLUGIN.html +4 -4
  340. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  341. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  342. package/docs/variables/defaultGlobalConfig.html +4 -4
  343. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  344. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  345. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  346. package/libs/CruisePlugin/{CruiseController.d.ts → BaseController.d.ts} +19 -7
  347. package/libs/CruisePlugin/{CruiseController.js → BaseController.js} +67 -73
  348. package/libs/CruisePlugin/Move.d.ts +3 -3
  349. package/libs/CruisePlugin/Move.js +1 -1
  350. package/libs/CruisePlugin/Work.d.ts +48 -92
  351. package/libs/CruisePlugin/Work.js +240 -375
  352. package/libs/CruisePlugin/index.js +3 -3
  353. package/libs/GuideLinePlugin/Controller.js +1 -1
  354. package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
  355. package/libs/GuideLinePlugin/index.js +1 -1
  356. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +29 -29
  357. package/libs/base/BasePlugin.js +1 -1
  358. package/libs/index.js +1 -1
  359. package/libs/shared-utils/logger.js +1 -1
  360. package/package.json +1 -1
@@ -1,34 +1,34 @@
1
1
  var v = Object.defineProperty;
2
2
  var g = Object.getOwnPropertySymbols;
3
3
  var S = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
4
- var f = (a, s, e) => s in a ? v(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, c = (a, s) => {
4
+ var u = (a, s, e) => s in a ? v(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, b = (a, s) => {
5
5
  for (var e in s || (s = {}))
6
- S.call(s, e) && f(a, e, s[e]);
6
+ S.call(s, e) && u(a, e, s[e]);
7
7
  if (g)
8
8
  for (var e of g(s))
9
- y.call(s, e) && f(a, e, s[e]);
9
+ y.call(s, e) && u(a, e, s[e]);
10
10
  return a;
11
11
  };
12
- var h = (a, s, e) => (f(a, typeof s != "symbol" ? s + "" : s, e), e);
13
- var n = (a, s, e) => new Promise((t, i) => {
14
- var r = (d) => {
12
+ var d = (a, s, e) => (u(a, typeof s != "symbol" ? s + "" : s, e), e);
13
+ var f = (a, s, e) => new Promise((i, t) => {
14
+ var r = (h) => {
15
15
  try {
16
- o(e.next(d));
17
- } catch (u) {
18
- i(u);
16
+ n(e.next(h));
17
+ } catch (o) {
18
+ t(o);
19
19
  }
20
- }, b = (d) => {
20
+ }, c = (h) => {
21
21
  try {
22
- o(e.throw(d));
23
- } catch (u) {
24
- i(u);
22
+ n(e.throw(h));
23
+ } catch (o) {
24
+ t(o);
25
25
  }
26
- }, o = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(r, b);
27
- o((e = e.apply(a, s)).next());
26
+ }, n = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(r, c);
27
+ n((e = e.apply(a, s)).next());
28
28
  });
29
- import { Controller as C } from "../base/BasePlugin.js";
30
- import { equal as P } from "../shared-utils/equal.js";
31
- import { objectAssignDeepExports as L } from "../vendor/object-assign-deep/objectAssignDeep.js";
29
+ import { Controller as L } from "../base/BasePlugin.js";
30
+ import { equal as C } from "../shared-utils/equal.js";
31
+ import { objectAssignDeepExports as P } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
32
  import "../shared-utils/Subscribe.js";
33
33
  import "hammerjs";
34
34
  import "three";
@@ -51,33 +51,35 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
51
51
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
52
52
  import "../shared-utils/url/absoluteUrl.js";
53
53
  import "../shared-utils/isTruelyObject.js";
54
- const m = "CruisePlugin", l = `${m}`, Z = (a) => `${l}--${a}`, w = () => {
55
- console.error(`${l} is disposed`);
56
- }, I = () => {
57
- console.warn(`${l} is disabled`);
58
- }, D = () => {
59
- console.error(`${l} is disabled`);
60
- }, p = /* @__PURE__ */ new Map();
61
- class ee extends C {
62
- constructor(e, t) {
63
- super(e, t);
64
- h(this, "state", {
54
+ const m = "CruisePlugin", l = `${m}`, T = (a) => `${l}--${a}`, p = /* @__PURE__ */ new Map();
55
+ class X extends L {
56
+ constructor(e, i) {
57
+ super(e, i);
58
+ d(this, "state", {
65
59
  visible: !0,
66
60
  enabled: !0,
67
61
  disposed: !1,
68
62
  playing: !1,
69
63
  speed: 1
70
64
  });
71
- h(this, "data");
72
- h(this, "config");
73
- // What is your use case? This line meaning don't need re if UnknownRecord and UnknownArray
74
- h(this, "privateState", {
65
+ d(this, "data");
66
+ d(this, "config");
67
+ d(this, "privateState", {
75
68
  playing: !1,
76
69
  broke: !1,
77
70
  modeChanging: !1
78
71
  });
79
- h(this, "GuideLine");
80
- this.config = t, Object.assign(window, { [`__${m}_DEBUG__`]: this });
72
+ d(this, "GuideLine");
73
+ d(this, "disposedErrorLog", () => {
74
+ console.error(`${l} is disposed`);
75
+ });
76
+ d(this, "disableWarnLog", () => {
77
+ console.warn(`${l} is disabled`);
78
+ });
79
+ d(this, "disableErrorLog", () => {
80
+ console.error(`${l} is disabled`);
81
+ });
82
+ this.config = i, Object.assign(window, { [`__${m}_DEBUG__`]: this });
81
83
  }
82
84
  /**
83
85
  * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
@@ -95,7 +97,7 @@ class ee extends C {
95
97
  * @description Show guide line
96
98
  */
97
99
  show(e) {
98
- return n(this, null, function* () {
100
+ return f(this, null, function* () {
99
101
  this.setState({ visible: !0 }, e);
100
102
  });
101
103
  }
@@ -103,7 +105,7 @@ class ee extends C {
103
105
  * @description Hide guide line
104
106
  */
105
107
  hide(e) {
106
- return n(this, null, function* () {
108
+ return f(this, null, function* () {
107
109
  this.setState({ visible: !1 }, e);
108
110
  });
109
111
  }
@@ -128,50 +130,50 @@ class ee extends C {
128
130
  /**
129
131
  * @description Set state
130
132
  */
131
- setState(e, t) {
133
+ setState(e, i) {
132
134
  var r;
133
135
  if (this.state.disposed)
134
- return w();
136
+ return this.disposedErrorLog();
135
137
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
136
- return D();
137
- const i = c({}, this.state);
138
- this.state = L({}, this.state, e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed), P(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 });
138
+ return this.disableErrorLog();
139
+ const t = b({}, this.state);
140
+ this.state = P({}, this.state, e), e.disposed !== void 0 && e.disposed !== t.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== t.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== t.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== t.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== t.speed && this.changeSpeed(e.speed), C(t, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 });
139
141
  }
140
142
  /**
141
143
  * @description Clear pause data
142
144
  */
143
145
  clearPauseData() {
144
- var e, t;
146
+ var e, i;
145
147
  if ((e = this.data) != null && e.id)
146
- return p.delete((t = this.data) == null ? void 0 : t.id);
148
+ return p.delete((i = this.data) == null ? void 0 : i.id);
147
149
  }
148
- changePlayState(e, t) {
150
+ changePlayState(e, i) {
149
151
  this.actionIfStateIsEnabled(
150
152
  () => {
151
- var i;
152
- return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 });
153
+ var t;
154
+ return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (t = i == null ? void 0 : i.userAction) != null ? t : !0 });
153
155
  }
154
- ), e ? this.handlePlay(t) : this.handlePause(t), this.state.playing = e;
156
+ ), e ? this.handlePlay(i) : this.handlePause(i), this.state.playing = e;
155
157
  }
156
- handleEnable(e, t = !0) {
157
- var i, r;
158
- e ? ((i = this.GuideLine) == null || i.enable(), this.hooks.emit("enable", { userAction: t })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: t }), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
158
+ handleEnable(e, i = !0) {
159
+ var t, r;
160
+ e ? ((t = this.GuideLine) == null || t.enable(), this.hooks.emit("enable", { userAction: i })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: i }), this.hooks.emit("disable", { userAction: i })), this.state.enabled = e;
159
161
  }
160
- handleVisible(e, t = !0) {
161
- var i, r;
162
- e ? ((i = this.GuideLine) == null || i.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
162
+ handleVisible(e, i = !0) {
163
+ var t, r;
164
+ e ? ((t = this.GuideLine) == null || t.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: i }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: i }))), this.state.visible = e;
163
165
  }
164
166
  /**
165
167
  * @description: listen interupted by five gesture
166
168
  */
167
169
  addInterruptListener(e) {
168
- const t = () => {
170
+ const i = () => {
169
171
  this.privateState.modeChanging || e();
170
- }, i = (r) => {
171
- r !== "mouseMove" && (e(), this.five.off("gesture", i));
172
+ }, t = (r) => {
173
+ r !== "mouseMove" && (e(), this.five.off("gesture", t));
172
174
  };
173
- return this.five.on("gesture", i), this.five.once("wantsChangeMode", t), () => {
174
- this.five.off("gesture", i), this.five.off("wantsChangeMode", t);
175
+ return this.five.on("gesture", t), this.five.once("wantsChangeMode", i), () => {
176
+ this.five.off("gesture", t), this.five.off("wantsChangeMode", i);
175
177
  };
176
178
  }
177
179
  /**
@@ -180,14 +182,6 @@ class ee extends C {
180
182
  getSpeededDuration(e) {
181
183
  return e / this.state.speed;
182
184
  }
183
- /**
184
- * @description Change five mode
185
- */
186
- changeMode(e, t) {
187
- return n(this, null, function* () {
188
- e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, yield this.five.changeMode(e.mode, e, t), this.privateState.modeChanging = !1);
189
- });
190
- }
191
185
  /**
192
186
  * @description Force interupt five updateCamera
193
187
  */
@@ -203,8 +197,8 @@ class ee extends C {
203
197
  * @description Set pause data
204
198
  */
205
199
  setPauseData() {
206
- var t;
207
- const e = (t = this.data) == null ? void 0 : t.id;
200
+ var i;
201
+ const e = (i = this.data) == null ? void 0 : i.id;
208
202
  if (e)
209
203
  return p.set(e, {
210
204
  fiveState: this.five.getCurrentState(),
@@ -225,13 +219,13 @@ class ee extends C {
225
219
  /**
226
220
  * @description Action function if plugin is enable
227
221
  */
228
- actionIfStateIsEnabled(e, t) {
222
+ actionIfStateIsEnabled(e, i) {
229
223
  if (this.state.enabled)
230
224
  return e();
231
- t != null && t.warnLog && I();
225
+ i != null && i.warnLog && this.disableWarnLog();
232
226
  }
233
227
  }
234
228
  export {
235
- ee as default,
236
- Z as pluginFlag
229
+ X as default,
230
+ T as pluginFlag
237
231
  };
@@ -1,15 +1,15 @@
1
1
  import type { Five } from '@realsee/five';
2
- import CruiseController from './CruiseController';
2
+ import CruiseController from './BaseController';
3
3
  import type { PluginState } from './typing';
4
4
  import type { PartialDeep } from 'type-fest';
5
5
  import type * as THREE from 'three';
6
6
  type Data = {
7
7
  path: THREE.CurvePath<THREE.Vector3>;
8
- offset?: {
8
+ offset?: Partial<{
9
9
  x: number;
10
10
  y: number;
11
11
  z: number;
12
- };
12
+ }>;
13
13
  };
14
14
  type Config = {
15
15
  offset?: number;
@@ -10,7 +10,7 @@ var m = (o, e, t) => e in o ? S(o, e, { enumerable: !0, configurable: !0, writab
10
10
  return o;
11
11
  };
12
12
  var r = (o, e, t) => (m(o, typeof e != "symbol" ? e + "" : e, t), t);
13
- import C from "./CruiseController.js";
13
+ import C from "./BaseController.js";
14
14
  import { objectAssignDeepExports as u } from "../vendor/object-assign-deep/objectAssignDeep.js";
15
15
  import "hammerjs";
16
16
  import "three";
@@ -1,25 +1,31 @@
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 WalkController extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
1
+ import type { Five, State } from '@realsee/five';
2
+ import type { PluginState, PluginServerData, PluginData, CruiseKeyframe, MoveEffect, Config } from './typing';
3
+ import CruiseController from './BaseController';
4
+ export default class WalkController extends CruiseController<PluginData, Config> {
7
5
  state: PluginState;
8
- protected data?: PluginData;
9
- private config?;
10
- private privateState;
11
- private GuideLine?;
6
+ protected privateState: {
7
+ /**
8
+ * privateState.playing 和 state.playing 的区别:
9
+ * state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
10
+ * 其实就是加了一个不允许重复执行handleplay的逻辑
11
+ */
12
+ playing: boolean;
13
+ currentPlayKeyframe: {
14
+ keyframe: CruiseKeyframe;
15
+ originDuration?: number;
16
+ } | null;
17
+ currentPlayQueue: Promise<any>[];
18
+ broke: boolean;
19
+ playId?: string;
20
+ moveToFirstPanoEffect?: MoveEffect;
21
+ moveToFirstPanoDuration?: number;
22
+ modeChanging?: boolean;
23
+ };
12
24
  constructor(five: Five, config?: Config);
13
25
  /**
14
26
  * @description Load Data and State
15
27
  */
16
28
  load(serverData: PluginServerData | PluginServerData['data'], state?: PluginState, userAction?: boolean): Promise<void>;
17
- /**
18
- * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
19
- */
20
- play(options?: {
21
- userAction?: boolean;
22
- }): void;
23
29
  /**
24
30
  * @description If playing, first pause, then play from keyframes index/id
25
31
  * @param {number} options.index play from keyframes index
@@ -37,68 +43,52 @@ export default class WalkController extends BasePluginWithData.Controller<Plugin
37
43
  userAction?: boolean;
38
44
  }): void;
39
45
  /**
40
- * @description Pause
41
- */
42
- pause(options?: {
43
- userAction?: boolean;
44
- }): void;
45
- /**
46
- * @description Show guide line
47
- */
48
- show(options?: {
49
- userAction?: boolean;
50
- }): Promise<void>;
51
- /**
52
- * @description Hide guide line
46
+ * @description Format data
53
47
  */
54
- hide(options?: {
55
- userAction?: boolean;
56
- }): Promise<void>;
48
+ protected formatData(serverData: PluginServerData | PluginServerData['data']): Promise<PluginData>;
57
49
  /**
58
- * @description Enable
50
+ * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
51
+ * @param {number} options.playFromIndex play from keyframes index
52
+ * @param {string} options.playFromId play from keyframes id
59
53
  */
60
- enable(options?: {
54
+ protected handlePlay(options?: {
61
55
  userAction?: boolean;
62
- }): void;
56
+ playFromIndex?: number;
57
+ playFromId?: string;
58
+ notEmitEvent?: true;
59
+ }): Promise<string>;
63
60
  /**
64
- * @description Disable
61
+ * @description: Pause and record pause state
65
62
  */
66
- disable(options?: {
63
+ protected handlePause(options?: {
67
64
  userAction?: boolean;
65
+ notEmitEvent?: true;
68
66
  }): void;
69
67
  /**
70
- * @description Dispose
71
- */
72
- dispose(): void;
73
- /**
74
- * @description Set state
68
+ * @description: Change play speed
75
69
  */
76
- setState(state: Partial<PluginState>, options?: BaseOptions & Record<string, any>): void;
70
+ protected changeSpeed(speed: number, userAction?: boolean): void;
77
71
  /**
78
- * @description Format data
72
+ * @description Get ratate progress
79
73
  */
80
- protected formatData(serverData: PluginServerData | PluginServerData['data']): Promise<PluginData>;
81
- private handleEnable;
82
- private handleVisible;
83
- private changePlayState;
74
+ protected getProgress(): any;
84
75
  /**
85
- * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
86
- * @param {number} options.playFromIndex play from keyframes index
87
- * @param {string} options.playFromId play from keyframes id
76
+ * @description Set pause data
88
77
  */
89
- private handlePlay;
78
+ protected setPauseData(): Map<string, {
79
+ fiveState: Partial<State>;
80
+ id?: string | number;
81
+ playedProgress: number;
82
+ duration?: number;
83
+ }>;
90
84
  /**
91
- * @description: Pause and record pause state
85
+ * @description: Restore state that before loaded
92
86
  */
93
- private handlePause;
87
+ protected clear(): void;
94
88
  /**
95
89
  * @description Play single keyframe
96
90
  */
97
91
  private playKeyframe;
98
- /**
99
- * @description: listen interupted by five gesture
100
- */
101
- private addInterruptListener;
102
92
  /**
103
93
  * @description: getPlayPromise
104
94
  */
@@ -123,42 +113,8 @@ export default class WalkController extends BasePluginWithData.Controller<Plugin
123
113
  * @description: Change five pano
124
114
  */
125
115
  private changePano;
126
- /**
127
- * @description: Change play speed
128
- */
129
- private changeSpeed;
130
- /**
131
- * @description Get duration by speed
132
- */
133
- private getSpeededDuration;
134
- /**
135
- * @description Get ratate progress
136
- */
137
- private getProgress;
138
116
  /**
139
117
  * @description Change five mode
140
118
  */
141
119
  private changeMode;
142
- /**
143
- * @description Force interupt five updateCamera
144
- */
145
- private forceInteruptUpdateCamera;
146
- private getPauseData;
147
- /**
148
- * @description Set pause data
149
- */
150
- private setPauseData;
151
- /**
152
- * @description Clear pause data
153
- */
154
- private clearPauseData;
155
- /**
156
- * @description: Restore state that before loaded
157
- */
158
- private clear;
159
- private handleDispose;
160
- /**
161
- * @description Action function if plugin is enable
162
- */
163
- private actionIfStateIsEnabled;
164
120
  }