@realsee/dnalogel 3.4.0 → 3.5.0-dev.1

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 (383) hide show
  1. package/dist/CruisePlugin/CruiseController.d.ts +147 -0
  2. package/dist/CruisePlugin/Move.d.ts +36 -0
  3. package/dist/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  4. package/dist/CruisePlugin/index.d.ts +4 -3
  5. package/dist/CruisePlugin/typing.d.ts +2 -2
  6. package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  7. package/dist/GuideLinePlugin/Controller.d.ts +1 -6
  8. package/dist/index.cjs.js +54 -54
  9. package/dist/index.js +3413 -3184
  10. package/dist/index.umd.js +47 -47
  11. package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
  12. package/docs/.nojekyll +1 -0
  13. package/docs/assets/highlight.css +120 -0
  14. package/docs/assets/main.js +58 -0
  15. package/docs/assets/search.js +1 -0
  16. package/docs/assets/style.css +1367 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +727 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +680 -0
  19. package/docs/classes/CSS3DRender.html +775 -0
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +478 -0
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +858 -0
  22. package/docs/classes/Magnifier.html +482 -0
  23. package/docs/classes/ModelRoomLabelController.html +400 -0
  24. package/docs/classes/MoveController.html +651 -0
  25. package/docs/classes/Object3DHelperController.html +642 -0
  26. package/docs/classes/PaintBrush.html +504 -0
  27. package/docs/classes/PanoMeasurePluginLine.html +524 -0
  28. package/docs/classes/PanoMeasurePluginModel.html +573 -0
  29. package/docs/classes/PanoMeasurePluginPoint.html +364 -0
  30. package/docs/classes/PanoMeasurePluginPolyline.html +569 -0
  31. package/docs/classes/PanoTagPluginController.html +1079 -0
  32. package/docs/classes/Util.BetterTween.html +418 -0
  33. package/docs/classes/Util.Interval.html +434 -0
  34. package/docs/classes/Util.LineSegments.html +386 -0
  35. package/docs/classes/Util.Magnifier.html +505 -0
  36. package/docs/classes/Util.Object3D.html +408 -0
  37. package/docs/classes/Util.PointDomHelper.html +409 -0
  38. package/docs/classes/Util.PointHelper.html +400 -0
  39. package/docs/classes/Util.PointSelectorHelper.html +456 -0
  40. package/docs/classes/Util.Rectangle.html +457 -0
  41. package/docs/classes/WalkController.html +667 -0
  42. package/docs/enums/CameraMovementEffect.html +312 -0
  43. package/docs/enums/ContentType.html +458 -0
  44. package/docs/enums/DIRECTION.html +322 -0
  45. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +322 -0
  46. package/docs/enums/DimensionType.html +312 -0
  47. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +315 -0
  48. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +322 -0
  49. package/docs/enums/PaintBrushTypeEnum.html +315 -0
  50. package/docs/enums/PointType.html +312 -0
  51. package/docs/enums/Rotation.html +319 -0
  52. package/docs/functions/AreaMakerPlugin.html +292 -0
  53. package/docs/functions/CSS3DRenderPlugin.html +290 -0
  54. package/docs/functions/CameraMovementPlugin.html +295 -0
  55. package/docs/functions/CruisePlugin.html +292 -0
  56. package/docs/functions/CurrentPanoImagePlugin.html +292 -0
  57. package/docs/functions/GuideLinePlugin.html +292 -0
  58. package/docs/functions/ItemLabelPlugin.html +292 -0
  59. package/docs/functions/MapviewFloorplanPlugin.html +292 -0
  60. package/docs/functions/ModelChassisCompassPlugin.html +295 -0
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +295 -0
  62. package/docs/functions/ModelFloorplanPlugin.html +292 -0
  63. package/docs/functions/ModelItemLabelPlugin.html +292 -0
  64. package/docs/functions/ModelRoomLabelPlugin.html +290 -0
  65. package/docs/functions/ModelTVVideoPlugin.html +292 -0
  66. package/docs/functions/ModelViewPlugin.html +295 -0
  67. package/docs/functions/Object3DHelperPlugin.html +290 -0
  68. package/docs/functions/PanoCompassPlugin.html +292 -0
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +296 -0
  70. package/docs/functions/PanoDoorLabelPlugin.html +292 -0
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +292 -0
  72. package/docs/functions/PanoMeasurePlugin.html +292 -0
  73. package/docs/functions/PanoRulerPlugin.html +295 -0
  74. package/docs/functions/PanoRulerProPlugin.html +295 -0
  75. package/docs/functions/PanoSpatialTagPlugin.html +295 -0
  76. package/docs/functions/PanoTagPlugin.html +297 -0
  77. package/docs/functions/PanoVideoPlugin.html +301 -0
  78. package/docs/functions/PipelinePlugin.html +290 -0
  79. package/docs/functions/TopviewFloorplanPlugin.html +292 -0
  80. package/docs/functions/Util.absoluteUrl.html +328 -0
  81. package/docs/functions/Util.checkFiveModelLoaded.html +331 -0
  82. package/docs/functions/Util.equal.html +340 -0
  83. package/docs/functions/Util.getCoordsFromClient.html +330 -0
  84. package/docs/functions/Util.getCoordsFromElement.html +330 -0
  85. package/docs/functions/Util.getFrameTime.html +322 -0
  86. package/docs/functions/Util.getIntersectFromRelativePosition.html +330 -0
  87. package/docs/functions/Util.getRaycasterFromFivePointer.html +330 -0
  88. package/docs/functions/Util.isAbsoluteURL.html +323 -0
  89. package/docs/functions/Util.isModelLike.html +323 -0
  90. package/docs/functions/Util.isNil.html +331 -0
  91. package/docs/functions/Util.isPanoramaLike.html +323 -0
  92. package/docs/functions/Util.nextFrame.html +336 -0
  93. package/docs/functions/Util.notNil.html +331 -0
  94. package/docs/functions/Util.requestAnimationFrameInterval.html +352 -0
  95. package/docs/functions/Util.tweenProgress.html +325 -0
  96. package/docs/functions/Util.uuid.html +321 -0
  97. package/docs/functions/pluginFlag.html +290 -0
  98. package/docs/index.html +356 -0
  99. package/docs/interfaces/AddTagConfig.html +305 -0
  100. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +331 -0
  101. package/docs/interfaces/AreaMakerPluginType.Config.html +336 -0
  102. package/docs/interfaces/AreaMakerPluginType.EventMap.html +622 -0
  103. package/docs/interfaces/AreaMakerPluginType.Params.html +335 -0
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +385 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +370 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +335 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +328 -0
  108. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +327 -0
  109. package/docs/interfaces/AreaMakerPluginType.State.html +356 -0
  110. package/docs/interfaces/CSS3DRenderPluginEventMap.html +451 -0
  111. package/docs/interfaces/CSS3DRenderPluginState.html +327 -0
  112. package/docs/interfaces/CameraMovementPluginExportType.html +360 -0
  113. package/docs/interfaces/CruisePluginTypes.Config.html +361 -0
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +363 -0
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +698 -0
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +387 -0
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +423 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +413 -0
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +353 -0
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +321 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +389 -0
  122. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +384 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +523 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +325 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +317 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.State.html +339 -0
  127. package/docs/interfaces/EventMap.html +544 -0
  128. package/docs/interfaces/FloorplanBounding.html +334 -0
  129. package/docs/interfaces/FloorplanData.html +337 -0
  130. package/docs/interfaces/FloorplanEntrance.html +362 -0
  131. package/docs/interfaces/FloorplanExtraObject.html +352 -0
  132. package/docs/interfaces/FloorplanExtraObject3D.html +341 -0
  133. package/docs/interfaces/FloorplanFloorData.html +330 -0
  134. package/docs/interfaces/FloorplanImagePosition.html +316 -0
  135. package/docs/interfaces/FloorplanObserver.html +334 -0
  136. package/docs/interfaces/FloorplanOutlineItem.html +330 -0
  137. package/docs/interfaces/FloorplanPosition.html +316 -0
  138. package/docs/interfaces/FloorplanRoomItem.html +381 -0
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +322 -0
  140. package/docs/interfaces/FloorplanServerBounding.html +334 -0
  141. package/docs/interfaces/FloorplanServerComputedData.html +333 -0
  142. package/docs/interfaces/FloorplanServerData.html +316 -0
  143. package/docs/interfaces/FloorplanServerDoorItem.html +333 -0
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +319 -0
  145. package/docs/interfaces/FloorplanServerEntrance.html +362 -0
  146. package/docs/interfaces/FloorplanServerFloorData.html +330 -0
  147. package/docs/interfaces/FloorplanServerImagePosition.html +316 -0
  148. package/docs/interfaces/FloorplanServerObserver.html +334 -0
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +330 -0
  150. package/docs/interfaces/FloorplanServerPosition.html +316 -0
  151. package/docs/interfaces/FloorplanServerRoomItem.html +393 -0
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +322 -0
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +325 -0
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +364 -0
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +528 -0
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +359 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +350 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +417 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +339 -0
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +349 -0
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +485 -0
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +346 -0
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +485 -0
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +311 -0
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +332 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +357 -0
  167. package/docs/interfaces/GuideLinePluginType.Route.html +373 -0
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +355 -0
  169. package/docs/interfaces/HelperOffset.html +334 -0
  170. package/docs/interfaces/ImagePlaneGroup.html +308 -0
  171. package/docs/interfaces/ItemLabelPluginData.html +305 -0
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +390 -0
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +326 -0
  174. package/docs/interfaces/MinMax.html +312 -0
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +312 -0
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +348 -0
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +312 -0
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +319 -0
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +356 -0
  180. package/docs/interfaces/ModelItemLabelPluginData.html +305 -0
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +390 -0
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +312 -0
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +305 -0
  184. package/docs/interfaces/ModelTVVideoPluginData.html +326 -0
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +350 -0
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +305 -0
  187. package/docs/interfaces/ModelViewPluginExportType.html +418 -0
  188. package/docs/interfaces/Object3DHelperState.html +319 -0
  189. package/docs/interfaces/ObjectHelperControllers.html +326 -0
  190. package/docs/interfaces/PaintBrushAction.html +365 -0
  191. package/docs/interfaces/PaintBrushConfigs.html +363 -0
  192. package/docs/interfaces/PaintBrushState.html +347 -0
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +427 -0
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +284 -0
  195. package/docs/interfaces/PanoMeasureParameterType.html +451 -0
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +319 -0
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +316 -0
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +312 -0
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +322 -0
  200. package/docs/interfaces/PanoRulerPluginExportType.html +379 -0
  201. package/docs/interfaces/PanoRulerPluginOptions.html +328 -0
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +319 -0
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +355 -0
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +325 -0
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +312 -0
  206. package/docs/interfaces/PanoRulerProPluginState.html +319 -0
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +298 -0
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +287 -0
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +355 -0
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +337 -0
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +433 -0
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +333 -0
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +354 -0
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +340 -0
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +333 -0
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +325 -0
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +343 -0
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +316 -0
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +422 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +316 -0
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +351 -0
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +370 -0
  223. package/docs/interfaces/Point.html +319 -0
  224. package/docs/interfaces/Room.html +326 -0
  225. package/docs/interfaces/RoomInfo.html +312 -0
  226. package/docs/interfaces/RoomLabel.html +388 -0
  227. package/docs/interfaces/RoomRules.html +287 -0
  228. package/docs/interfaces/Rooms.html +287 -0
  229. package/docs/interfaces/Scissor.html +346 -0
  230. package/docs/interfaces/State.html +333 -0
  231. package/docs/interfaces/TagCacheInterface.html +364 -0
  232. package/docs/interfaces/TagConfig.html +567 -0
  233. package/docs/interfaces/TagGLTFObjectGroup.html +308 -0
  234. package/docs/interfaces/TagIconUrl.html +365 -0
  235. package/docs/interfaces/TagObjectGroup.html +308 -0
  236. package/docs/interfaces/TagStyle.html +318 -0
  237. package/docs/interfaces/Tags.html +2822 -0
  238. package/docs/interfaces/TemporaryState.html +305 -0
  239. package/docs/interfaces/Util.MagnifierParameter.html +393 -0
  240. package/docs/interfaces/Util.MouseGroupParameter.html +352 -0
  241. package/docs/interfaces/Util.PointIntersection.html +367 -0
  242. package/docs/modules/AreaMakerPluginType.html +325 -0
  243. package/docs/modules/CruisePluginTypes.html +330 -0
  244. package/docs/modules/CurrentPanoImagePluginType.html +299 -0
  245. package/docs/modules/GuideLineItem.html +291 -0
  246. package/docs/modules/GuideLineModeItem.html +296 -0
  247. package/docs/modules/GuideLinePluginType.html +352 -0
  248. package/docs/modules/PanoVideoPluginType.html +303 -0
  249. package/docs/modules/Util.html +353 -0
  250. package/docs/modules.html +558 -0
  251. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +333 -0
  252. package/docs/types/AreaMakerPluginType.PluginData.html +303 -0
  253. package/docs/types/AreaMakerPluginType.ServerData.html +303 -0
  254. package/docs/types/ArrayPosition.html +281 -0
  255. package/docs/types/AudioAppearance.html +281 -0
  256. package/docs/types/AudioTagTypeConfigKey.html +281 -0
  257. package/docs/types/CSS3DRenderExportType.html +281 -0
  258. package/docs/types/CSS3DRenderPluginExportType.html +281 -0
  259. package/docs/types/CSS3DRenderPluginParameterType.html +281 -0
  260. package/docs/types/ClassFunctionParameters.html +288 -0
  261. package/docs/types/Color.html +281 -0
  262. package/docs/types/ContentTypeConfigKey.html +281 -0
  263. package/docs/types/ContentTypeConfigKeySplit.html +281 -0
  264. package/docs/types/ContentTypeMap.html +281 -0
  265. package/docs/types/Create3DDomContainerReturnType.html +281 -0
  266. package/docs/types/Create3DElementReturnType.html +281 -0
  267. package/docs/types/CruisePluginExportType.html +281 -0
  268. package/docs/types/CruisePluginTypes.CruiseData.html +320 -0
  269. package/docs/types/CruisePluginTypes.MoveEffect.html +297 -0
  270. package/docs/types/CurrentPanoImagePluginExportType.html +281 -0
  271. package/docs/types/DeprecatedMediaPlaneProperty.html +293 -0
  272. package/docs/types/DeprecatedTagProperty.html +296 -0
  273. package/docs/types/Direction-1.html +281 -0
  274. package/docs/types/Direction4.html +281 -0
  275. package/docs/types/ElementRenderer.html +305 -0
  276. package/docs/types/FloorplanRuleLabels.html +284 -0
  277. package/docs/types/FloorplanServerRuleLabels.html +281 -0
  278. package/docs/types/GuideLinePluginExportType.html +281 -0
  279. package/docs/types/GuideLinePluginType.GuideLineItem.html +354 -0
  280. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +375 -0
  281. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +308 -0
  282. package/docs/types/GuideLinePluginType.GuideLineStyle.html +311 -0
  283. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +311 -0
  284. package/docs/types/GuideLinePluginType.PathItem.html +311 -0
  285. package/docs/types/GuideLinePluginType.PluginData.html +320 -0
  286. package/docs/types/HelperEventMap.html +519 -0
  287. package/docs/types/LoadTagConfig.html +281 -0
  288. package/docs/types/MapviewFloorplanPluginParameterType.html +281 -0
  289. package/docs/types/MapviewFloorplanPluginReturnType.html +281 -0
  290. package/docs/types/MediaData.html +302 -0
  291. package/docs/types/MediaStore.html +286 -0
  292. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +288 -0
  293. package/docs/types/ModelFloorplanPluginParameterType.html +281 -0
  294. package/docs/types/ModelFloorplanPluginReturnType.html +281 -0
  295. package/docs/types/ModelId.html +281 -0
  296. package/docs/types/ModelRoomLabelPluginParameters.html +281 -0
  297. package/docs/types/ModelRoomLabelPluginReturnType.html +281 -0
  298. package/docs/types/MoveArgs.html +291 -0
  299. package/docs/types/MoveOpts.html +289 -0
  300. package/docs/types/Object3DHelperEventMap.html +374 -0
  301. package/docs/types/ObjectFit.html +281 -0
  302. package/docs/types/PaintBrushEventMap.html +312 -0
  303. package/docs/types/PanoCompassPluginData.html +281 -0
  304. package/docs/types/PanoCompassPluginExportType.html +281 -0
  305. package/docs/types/PanoCompassPluginParameterType.html +281 -0
  306. package/docs/types/PanoFloorplanRadarPluginParameterType.html +281 -0
  307. package/docs/types/PanoFloorplanRadarPluginReturnType.html +281 -0
  308. package/docs/types/PanoIndex.html +281 -0
  309. package/docs/types/PanoMeasurePluginEvent.html +281 -0
  310. package/docs/types/PanoMeasureReturnType.html +281 -0
  311. package/docs/types/PanoSpatialTagPluginId.html +281 -0
  312. package/docs/types/PanoTagPluginExportInterface.html +281 -0
  313. package/docs/types/PanoTagPluginParamsInterface.html +281 -0
  314. package/docs/types/PanoVideoPluginParameterType.html +281 -0
  315. package/docs/types/PanoVideoPluginReturnType.html +281 -0
  316. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +289 -0
  317. package/docs/types/PipelinePluginParameterType.html +281 -0
  318. package/docs/types/PipelinePluginReturnType.html +281 -0
  319. package/docs/types/PlaneTag.html +289 -0
  320. package/docs/types/Point2DTag.html +289 -0
  321. package/docs/types/Point3DTag.html +289 -0
  322. package/docs/types/PointTag.html +286 -0
  323. package/docs/types/PointTagInstance.html +286 -0
  324. package/docs/types/Position.html +281 -0
  325. package/docs/types/RotateArgs.html +293 -0
  326. package/docs/types/RotateOpts.html +289 -0
  327. package/docs/types/RuleLabelsKey.html +281 -0
  328. package/docs/types/RuleLabelsValue.html +281 -0
  329. package/docs/types/StickType.html +281 -0
  330. package/docs/types/Tag.html +347 -0
  331. package/docs/types/Tag2D.html +289 -0
  332. package/docs/types/Tag3D.html +289 -0
  333. package/docs/types/TagConfigByKey.html +286 -0
  334. package/docs/types/TagContentType.html +281 -0
  335. package/docs/types/TagDimensionType.html +283 -0
  336. package/docs/types/TagElement.html +291 -0
  337. package/docs/types/TagEvents.html +334 -0
  338. package/docs/types/TagGLTFObject.html +304 -0
  339. package/docs/types/TagHooks.html +281 -0
  340. package/docs/types/TagId.html +281 -0
  341. package/docs/types/TagInstance.html +357 -0
  342. package/docs/types/TagPointType.html +284 -0
  343. package/docs/types/TagRendererMap.html +286 -0
  344. package/docs/types/TopviewFloorplanPluginParameterType.html +281 -0
  345. package/docs/types/TopviewFloorplanPluginReturnType.html +281 -0
  346. package/docs/types/WorkCode.html +281 -0
  347. package/docs/variables/FLOOR_TYPE_MAP.html +291 -0
  348. package/docs/variables/PLUGIN.html +281 -0
  349. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +284 -0
  350. package/docs/variables/ROOM_TYPE_MAP.html +291 -0
  351. package/docs/variables/defaultGlobalConfig.html +281 -0
  352. package/docs/variables/itemLabelPluginServerParams.html +288 -0
  353. package/docs/variables/modelItemLabelPluginServerParams.html +288 -0
  354. package/docs/variables/modelRoomLabelPluginServerParams.html +288 -0
  355. package/libs/CruisePlugin/CruiseController.d.ts +147 -0
  356. package/libs/CruisePlugin/CruiseController.js +237 -0
  357. package/libs/CruisePlugin/Move.d.ts +36 -0
  358. package/libs/CruisePlugin/Move.js +120 -0
  359. package/libs/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  360. package/libs/CruisePlugin/{Controller.js → Work.js} +149 -177
  361. package/libs/CruisePlugin/index.d.ts +4 -3
  362. package/libs/CruisePlugin/index.js +15 -10
  363. package/libs/CruisePlugin/typing.d.ts +2 -2
  364. package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  365. package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
  366. package/libs/GuideLinePlugin/Controller.d.ts +1 -6
  367. package/libs/GuideLinePlugin/Controller.js +48 -62
  368. package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
  369. package/libs/GuideLinePlugin/GuideLineItem.js +12 -9
  370. package/libs/GuideLinePlugin/index.js +20 -17
  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/utils/linerValue.d.ts +0 -1
  380. /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
  381. /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  382. /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  383. /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
@@ -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
+ };
@@ -0,0 +1,11 @@
1
+ import * as g from "three";
2
+ import { vectorToCoordinates as f } from "../../shared-utils/vectorToCoordinate.js";
3
+ import "../../shared-utils/formatRad.js";
4
+ function A(o, n, t) {
5
+ var e, i, r;
6
+ const a = new g.Vector3().fromArray([(e = t.x) != null ? e : 0, (i = t.y) != null ? i : 0, (r = t.z) != null ? r : 0]), c = o.getPointAt(n).clone().add(a), d = o.getTangentAt(n), { longitude: m, latitude: s } = f(d);
7
+ return { offset: c.clone(), longitude: m, latitude: s, distance: 0 };
8
+ }
9
+ export {
10
+ A as getFiveStateOnCurve
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
  }
@@ -1,15 +1,15 @@
1
- var O = Object.defineProperty;
2
- var G = Object.getOwnPropertySymbols;
3
- var M = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
4
- var c = (s, o, t) => o in s ? O(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, f = (s, o) => {
1
+ var C = Object.defineProperty;
2
+ var T = Object.getOwnPropertySymbols;
3
+ var M = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
4
+ var c = (s, o, t) => o in s ? C(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, f = (s, o) => {
5
5
  for (var t in o || (o = {}))
6
6
  M.call(o, t) && c(s, t, o[t]);
7
- if (G)
8
- for (var t of G(o))
9
- N.call(o, t) && c(s, t, o[t]);
7
+ if (T)
8
+ for (var t of T(o))
9
+ O.call(o, t) && c(s, t, o[t]);
10
10
  return s;
11
11
  };
12
- var d = (s, o, t) => (c(s, typeof o != "symbol" ? o + "" : o, t), t);
12
+ var h = (s, o, t) => (c(s, typeof o != "symbol" ? o + "" : o, t), t);
13
13
  var u = (s, o, t) => new Promise((i, a) => {
14
14
  var m = (p) => {
15
15
  try {
@@ -26,12 +26,13 @@ var u = (s, o, t) => new Promise((i, a) => {
26
26
  }, r = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(m, e);
27
27
  r((t = t.apply(s, o)).next());
28
28
  });
29
- import { Controller as P } from "../base/BasePluginWithData.js";
30
- import { equal as $ } from "../shared-utils/equal.js";
31
- import { GuideLineItem as k } from "./GuideLineItem/index.js";
32
- import x from "../CruisePlugin/Controller.js";
33
- import { objectAssignDeepExports as S } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
- import * as T from "three";
29
+ import { Controller as x } from "../base/BasePluginWithData.js";
30
+ import { equal as N } from "../shared-utils/equal.js";
31
+ import { GuideLineItem as $ } from "./GuideLineItem/index.js";
32
+ import k from "../CruisePlugin/Move.js";
33
+ import { objectAssignDeepExports as A } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
+ import * as G from "three";
35
+ import { waitFiveLoaded as P } from "../shared-utils/five/fiveLoaded.js";
35
36
  import "../base/BasePlugin.js";
36
37
  import "../shared-utils/Subscribe.js";
37
38
  import "hammerjs";
@@ -189,37 +190,38 @@ import "./utils/index.js";
189
190
  import "../shared-utils/to.js";
190
191
  import "../shared-utils/five/changeMode.js";
191
192
  import "../shared-utils/nearlyEqual.js";
193
+ import "../CruisePlugin/Work.js";
192
194
  import "./index.js";
193
195
  import "./Controller.js";
194
196
  import "../CruisePlugin/utils/coordinatesAngle.js";
195
197
  import "../CruisePlugin/utils/coordinatesToVector.js";
196
198
  import "../CruisePlugin/utils/safeCall.js";
197
- import "../CruisePlugin/utils/vectorToCoordinates.js";
198
- import "../CruisePlugin/utils/formatRad.js";
199
- import "../CruisePlugin/utils/linerValue.js";
200
199
  import "../CruisePlugin/utils/sleep.js";
201
- const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Kr = (s) => `${g}--${s}`;
202
- class Qr extends P {
200
+ import "../shared-utils/vectorToCoordinate.js";
201
+ import "../shared-utils/formatRad.js";
202
+ import "../CruisePlugin/CruiseController.js";
203
+ import "../CruisePlugin/utils/getFiveStateOnCurve.js";
204
+ const b = "GuideLinePlugin", g = `${b}`, Yr = (s) => `${g}--${s}`;
205
+ class Zr extends x {
203
206
  constructor(t, i) {
204
207
  super(t, i);
205
- d(this, "version", V);
206
- d(this, "name", b);
207
- d(this, "cruisePlugin");
208
+ h(this, "name", b);
209
+ h(this, "cruisePlugin");
208
210
  /** GuideLineItem 索引 */
209
- d(this, "itemMap", /* @__PURE__ */ new Map());
210
- d(this, "state", {
211
+ h(this, "itemMap", /* @__PURE__ */ new Map());
212
+ h(this, "state", {
211
213
  visible: !1,
212
214
  enabled: !0
213
215
  });
214
- d(this, "data");
216
+ h(this, "data");
215
217
  /** 当新增一根线时,整体高度的偏移值 */
216
- d(this, "heightOffset", 0);
217
- d(this, "_config");
218
- d(this, "_disposed", !1);
219
- d(this, "disposedErrorLog", () => {
218
+ h(this, "heightOffset", 0);
219
+ h(this, "_config");
220
+ h(this, "_disposed", !1);
221
+ h(this, "disposedErrorLog", () => {
220
222
  console.error(`${g} is disposed`);
221
223
  });
222
- this._config = i != null ? i : {}, this.cruisePlugin = new x(t, { useGuideLine: !1 }), Object.assign(window, { [`__${b}_DEBUG__`]: this });
224
+ this._config = i != null ? i : {}, this.cruisePlugin = new k(t), Object.assign(window, { [`__${b}_DEBUG__`]: this });
223
225
  }
224
226
  get config() {
225
227
  return this._config;
@@ -229,7 +231,7 @@ class Qr extends P {
229
231
  }
230
232
  load(t, i, a = !0) {
231
233
  return u(this, null, function* () {
232
- var v, w, I, E, y, L, D;
234
+ var v, I, w, E, y, D, L;
233
235
  if (this.disposed)
234
236
  return;
235
237
  const m = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, e = yield this.formatData(t);
@@ -238,14 +240,14 @@ class Qr extends P {
238
240
  panorama_style: {
239
241
  visible: !!(!e.lines && e.routes),
240
242
  unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
241
- width: (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.6,
242
- texture: { url: (I = r == null ? void 0 : r.arrowTextureUrl) != null ? I : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
243
+ width: (I = r == null ? void 0 : r.unitWidth) != null ? I : 0.6,
244
+ texture: { url: (w = r == null ? void 0 : r.arrowTextureUrl) != null ? w : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
243
245
  }
244
- }, h = (y = (E = e.routes) == null ? void 0 : E.map((l) => {
246
+ }, d = (y = (E = e.routes) == null ? void 0 : E.map((l) => {
245
247
  var _;
246
- return S({}, n, { id: (_ = l.id) != null ? _ : Date.now(), pano_group: l.panoIndexList });
247
- })) != null ? y : [], A = (D = (L = e.lines) == null ? void 0 : L.map((l) => S({}, n, l))) != null ? D : [], C = [...h, ...A];
248
- yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
248
+ return A({}, n, { id: (_ = l.id) != null ? _ : Date.now(), pano_group: l.panoIndexList });
249
+ })) != null ? y : [], S = (L = (D = e.lines) == null ? void 0 : D.map((l) => A({}, n, l))) != null ? L : [], V = [...d, ...S];
250
+ yield P(this.five), this.clear(), V.forEach((l) => {
249
251
  this.addGuideLineItem(l);
250
252
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
251
253
  });
@@ -284,13 +286,13 @@ class Qr extends P {
284
286
  if (this.disposed)
285
287
  return this.disposedErrorLog();
286
288
  const a = f({}, this.state);
287
- this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (m = i == null ? void 0 : i.userAction) != null ? m : !0 }), this.five.needsRender = !0);
289
+ this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), N(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (m = i == null ? void 0 : i.userAction) != null ? m : !0 }), this.five.needsRender = !0);
288
290
  }
289
291
  /** 添加一个 GuideLineItem */
290
292
  addGuideLineItem(t) {
291
293
  const i = t.render_id || t.id, a = this.itemMap.get(i);
292
294
  a && this.removeGuideLineItem(a);
293
- const m = new k({ five: this.five, id: i, plugin: this });
295
+ const m = new $({ five: this.five, id: i, plugin: this });
294
296
  return this.itemMap.set(i, m), t && m.setData(t), this.heightOffset += 1e-4, m.modelItem.setHeightOffset(this.heightOffset), m.panoramaItem.setHeightOffset(this.heightOffset), m;
295
297
  }
296
298
  /** 获取 Plugin 内的 GuideLineItem */
@@ -308,21 +310,21 @@ class Qr extends P {
308
310
  return Array.isArray(e) && e.every((r) => typeof r == "number");
309
311
  }
310
312
  function a(e, r) {
311
- return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
313
+ return new G.Vector3().fromArray(e).distanceTo(new G.Vector3().fromArray(r)) < 0.01;
312
314
  }
313
315
  function m(e) {
314
316
  var p;
315
317
  const r = (p = e.tag) == null ? void 0 : p.position;
316
318
  return i(r) ? t.every((n) => {
317
- var h;
318
- return i((h = n.tag) == null ? void 0 : h.position) ? !a(r, n.tag.position) : !0;
319
+ var d;
320
+ return i((d = n.tag) == null ? void 0 : d.position) ? !a(r, n.tag.position) : !0;
319
321
  }) : !1;
320
322
  }
321
323
  this.itemMap.forEach((e) => {
322
324
  const r = e.modelItem.startTagContainer, p = e.modelItem.endTagContainer, n = m(r);
323
325
  n && t.push(r), r.plugin.setState({ enabled: n }, {});
324
- const h = m(p);
325
- h && t.push(p), p.plugin.setState({ enabled: h }, {});
326
+ const d = m(p);
327
+ d && t.push(p), p.plugin.setState({ enabled: d }, {});
326
328
  });
327
329
  }
328
330
  /** 清空所有 GuideLineItem */
@@ -337,27 +339,11 @@ class Qr extends P {
337
339
  handleVisible(t, i = !0) {
338
340
  this.state.enabled && this.hooks.emit(t ? "show" : "hide", { userAction: i });
339
341
  }
340
- /**
341
- * @description: Wait for five model ready
342
- */
343
- waitFiveLoaded() {
344
- return u(this, null, function* () {
345
- return new Promise((t) => {
346
- if (this.five.work) {
347
- t();
348
- return;
349
- }
350
- this.five.once("loaded", () => {
351
- t();
352
- });
353
- });
354
- });
355
- }
356
342
  getDataWithoutVersion(t) {
357
343
  return typeof t == "object" && t !== null && t.version && t.data ? t.data : t;
358
344
  }
359
345
  }
360
346
  export {
361
- Qr as default,
362
- Kr as pluginFlag
347
+ Zr as default,
348
+ Yr as pluginFlag
363
349
  };
@@ -1,17 +1,17 @@
1
- var v = Object.defineProperty;
1
+ var S = Object.defineProperty;
2
2
  var w = Object.getOwnPropertySymbols;
3
- var S = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
4
- var d = (o, e, t) => e in o ? v(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, c = (o, e) => {
3
+ var k = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
4
+ var c = (o, e, t) => e in o ? S(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, g = (o, e) => {
5
5
  for (var t in e || (e = {}))
6
- S.call(e, t) && d(o, t, e[t]);
6
+ k.call(e, t) && c(o, t, e[t]);
7
7
  if (w)
8
8
  for (var t of w(e))
9
- b.call(e, t) && d(o, t, e[t]);
9
+ b.call(e, t) && c(o, t, e[t]);
10
10
  return o;
11
11
  };
12
- var s = (o, e, t) => (d(o, typeof e != "symbol" ? e + "" : e, t), t);
13
- var g = (o, e, t) => new Promise((n, i) => {
14
- var p = (r) => {
12
+ var s = (o, e, t) => (c(o, typeof e != "symbol" ? e + "" : e, t), t);
13
+ var d = (o, e, t) => new Promise((n, i) => {
14
+ var u = (r) => {
15
15
  try {
16
16
  a(t.next(r));
17
17
  } catch (m) {
@@ -23,15 +23,16 @@ var g = (o, e, t) => new Promise((n, i) => {
23
23
  } catch (m) {
24
24
  i(m);
25
25
  }
26
- }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(p, l);
26
+ }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(u, l);
27
27
  a((t = t.apply(o, e)).next());
28
28
  });
29
- import { GuideLineModeItem as y } from "../GuideLineModeItem/index.js";
30
- import x from "../../CruisePlugin/Controller.js";
31
- import { logError as G } from "../../shared-utils/log.js";
32
- import { to as L } from "../../shared-utils/to.js";
33
- import { Subscribe as k } from "@realsee/five";
34
- import { changeMode as P } from "../../shared-utils/five/changeMode.js";
29
+ import { GuideLineModeItem as v } from "../GuideLineModeItem/index.js";
30
+ import { logError as x } from "../../shared-utils/log.js";
31
+ import { to as y } from "../../shared-utils/to.js";
32
+ import { Subscribe as G } from "@realsee/five";
33
+ import { changeMode as L } from "../../shared-utils/five/changeMode.js";
34
+ import P from "../../CruisePlugin/Move.js";
35
+ import M from "../../CruisePlugin/Work.js";
35
36
  class C {
36
37
  constructor(e) {
37
38
  s(this, "id");
@@ -39,12 +40,12 @@ class C {
39
40
  s(this, "isGuideLine", !0);
40
41
  s(this, "panoramaItem");
41
42
  s(this, "modelItem");
42
- s(this, "hooks", new k());
43
+ s(this, "hooks", new G());
43
44
  s(this, "_visible", !0);
44
45
  s(this, "plugin");
45
46
  s(this, "five");
46
- s(this, "logError", (e) => G("GuideLineItem: ", e));
47
- this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new y(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new y(this.five, { mode: "model", plugin: this.plugin, parent: this });
47
+ s(this, "logError", (e) => x("GuideLineItem: ", e));
48
+ this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new v(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new v(this.five, { mode: "model", plugin: this.plugin, parent: this });
48
49
  }
49
50
  get visible() {
50
51
  return this._visible;
@@ -54,12 +55,12 @@ class C {
54
55
  }
55
56
  setDataByMode(e, t) {
56
57
  var m;
57
- const n = e === "panorama" ? this.panoramaItem : this.modelItem, i = e === "panorama" ? t.panorama_style : t.model_style, p = t.path, l = i, a = i, r = i;
58
+ const n = e === "panorama" ? this.panoramaItem : this.modelItem, i = e === "panorama" ? t.panorama_style : t.model_style, u = t.path, l = i, a = i, r = i;
58
59
  if (t.pano_group) {
59
60
  const h = e === "panorama";
60
- n.setGeometryByPanoGroup(t.pano_group, c({ skipPanoGroup: h }, l));
61
+ n.setGeometryByPanoGroup(t.pano_group, g({ skipPanoGroup: h }, l));
61
62
  } else
62
- t.path && n.setGeometryByPath(p, l);
63
+ t.path && n.setGeometryByPath(u, l);
63
64
  n.name = t.name, n.setMeshStyle(r), n.setMartial(a), n.setVisibleFloorIndexes((m = t.visible_floor_indexes) != null ? m : null), n.setStartTag(i == null ? void 0 : i.start_tag), n.setEndTag(i == null ? void 0 : i.end_tag);
64
65
  }
65
66
  show() {
@@ -72,44 +73,53 @@ class C {
72
73
  this.panoramaItem.dispose(), this.modelItem.dispose();
73
74
  }
74
75
  walk(e) {
75
- return g(this, null, function* () {
76
- if (!this.panoramaItem.panoGroup)
77
- return;
78
- const t = c({ panoIndexList: this.panoramaItem.panoGroup }, e);
79
- this.hooks.emit("walkStart", { userAction: !0 });
80
- const [n] = yield L(M(this.five, t));
81
- if (this.hooks.emit("walkEnded", { userAction: !0 }), n)
82
- return this.logError(n.message);
76
+ return d(this, null, function* () {
77
+ if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
78
+ const t = g({ panoIndexList: this.panoramaItem.panoGroup }, e), [n] = yield y(A(this.five, t));
79
+ if (n)
80
+ return this.logError(n.message);
81
+ } else {
82
+ const t = { path: this.panoramaItem.curvePath }, [n] = yield y(E(this.five, t));
83
+ if (n)
84
+ return this.logError(n.message);
85
+ }
86
+ this.hooks.emit("walkEnded", { userAction: !0 });
83
87
  });
84
88
  }
85
89
  }
86
- function M(o, e) {
87
- return g(this, null, function* () {
90
+ function E(o, e) {
91
+ return d(this, null, function* () {
92
+ const t = new P(o);
93
+ yield t.load(e), t.playFromStart();
94
+ });
95
+ }
96
+ function A(o, e) {
97
+ return d(this, null, function* () {
88
98
  if (e.panoIndexList.length === 0)
89
99
  return;
90
100
  const t = o.getCurrentState();
91
- t.mode !== "Panorama" && (yield P(o, ["Panorama", { longitude: t.longitude, latitude: 0, panoIndex: e.panoIndexList[0] }]));
92
- const n = new x(o, { useGuideLine: !1 });
93
- yield n.load(e), yield new Promise((i, p) => {
101
+ t.mode !== "Panorama" && (yield L(o, ["Panorama", { longitude: t.longitude, latitude: 0, panoIndex: e.panoIndexList[0] }]));
102
+ const n = new M(o);
103
+ yield n.load(e), yield new Promise((i, u) => {
94
104
  const l = o.getCurrentState();
95
105
  let a = e.panoIndexList.slice();
96
106
  l.panoIndex === a[0] && m(l.panoIndex), n.playFromStart();
97
- function r(u) {
98
- if (u !== "Panorama")
107
+ function r(p) {
108
+ if (p !== "Panorama")
99
109
  return f(new Error("mode not match"));
100
110
  }
101
- function m(u) {
111
+ function m(p) {
102
112
  const I = a[0];
103
- if (a = a.slice(1), u !== I)
104
- return f(new Error("panoIndex not match, wanted: " + I + ", got: " + u));
113
+ if (a = a.slice(1), p !== I)
114
+ return f(new Error("panoIndex not match, wanted: " + I + ", got: " + p));
105
115
  if (a.length === 0)
106
116
  return _();
107
117
  }
108
118
  function h() {
109
119
  o.off("modeChange", r), o.off("panoArrived", m);
110
120
  }
111
- function f(u) {
112
- h(), p(u);
121
+ function f(p) {
122
+ h(), u(p);
113
123
  }
114
124
  function _() {
115
125
  h(), i();
@@ -118,11 +128,11 @@ function M(o, e) {
118
128
  });
119
129
  });
120
130
  }
121
- const O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
131
+ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
122
132
  __proto__: null,
123
133
  GuideLineItem: C
124
134
  }, Symbol.toStringTag, { value: "Module" }));
125
135
  export {
126
136
  C as GuideLineItem,
127
- O as GuideLineItem$1
137
+ V as GuideLineItem$1
128
138
  };
@@ -1,10 +1,11 @@
1
1
  import "./GuideLineModeItem/index.js";
2
- import "../CruisePlugin/Controller.js";
3
2
  import "../shared-utils/log.js";
4
3
  import "../shared-utils/to.js";
5
4
  import "@realsee/five";
6
5
  import "../shared-utils/five/changeMode.js";
7
- import { GuideLineItem as Go } from "./GuideLineItem/index.js";
6
+ import "../CruisePlugin/Move.js";
7
+ import "../CruisePlugin/Work.js";
8
+ import { GuideLineItem as ao } from "./GuideLineItem/index.js";
8
9
  import "three";
9
10
  import "./utils/createLineGeometry.js";
10
11
  import "../vendor/polyline-normals/index.js";
@@ -157,19 +158,21 @@ import "@realsee/five/gltf-loader";
157
158
  import "../shared-utils/five/fiveModelLoad.js";
158
159
  import "./Components/Tag.js";
159
160
  import "./utils/index.js";
161
+ import "../shared-utils/nearlyEqual.js";
162
+ import "../CruisePlugin/CruiseController.js";
163
+ import "../shared-utils/equal.js";
164
+ import "../shared-utils/isTruelyObject.js";
165
+ import "../CruisePlugin/utils/getFiveStateOnCurve.js";
166
+ import "../shared-utils/vectorToCoordinate.js";
167
+ import "../shared-utils/formatRad.js";
160
168
  import "../base/BasePluginWithData.js";
161
169
  import "./index.js";
162
170
  import "./Controller.js";
163
- import "../shared-utils/equal.js";
164
- import "../shared-utils/isTruelyObject.js";
165
- import "../shared-utils/nearlyEqual.js";
171
+ import "../shared-utils/five/fiveLoaded.js";
166
172
  import "../CruisePlugin/utils/coordinatesAngle.js";
167
173
  import "../CruisePlugin/utils/coordinatesToVector.js";
168
174
  import "../CruisePlugin/utils/safeCall.js";
169
- import "../CruisePlugin/utils/vectorToCoordinates.js";
170
- import "../CruisePlugin/utils/formatRad.js";
171
- import "../CruisePlugin/utils/linerValue.js";
172
175
  import "../CruisePlugin/utils/sleep.js";
173
176
  export {
174
- Go as GuideLineItem
177
+ ao as GuideLineItem
175
178
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as st } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as xt } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as Mt } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as ct } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -26,16 +26,14 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
26
26
  import "../shared-utils/url/absoluteUrl.js";
27
27
  import "../shared-utils/equal.js";
28
28
  import "../shared-utils/isTruelyObject.js";
29
- import "../CruisePlugin/Controller.js";
30
- import "./index.js";
29
+ import "../CruisePlugin/Move.js";
30
+ import "../CruisePlugin/CruiseController.js";
31
+ import "../vendor/object-assign-deep/objectAssignDeep.js";
31
32
  import "../shared-utils/uuid.js";
32
- import "../CruisePlugin/utils/coordinatesAngle.js";
33
- import "../CruisePlugin/utils/coordinatesToVector.js";
34
- import "../CruisePlugin/utils/safeCall.js";
35
- import "../CruisePlugin/utils/vectorToCoordinates.js";
36
- import "../CruisePlugin/utils/formatRad.js";
37
- import "../CruisePlugin/utils/linerValue.js";
38
- import "../CruisePlugin/utils/sleep.js";
33
+ import "../CruisePlugin/utils/getFiveStateOnCurve.js";
34
+ import "../shared-utils/vectorToCoordinate.js";
35
+ import "../shared-utils/formatRad.js";
36
+ import "../shared-utils/five/fiveLoaded.js";
39
37
  import "../shared-utils/log.js";
40
38
  import "./utils/createLineGeometry.js";
41
39
  import "../vendor/polyline-normals/index.js";
@@ -50,7 +48,6 @@ import "../shared-utils/animationFrame/BetterTween.js";
50
48
  import "../shared-utils/animationFrame/index.js";
51
49
  import "../shared-utils/three/loadTexture.js";
52
50
  import "../PanoTagPlugin/controller/index.js";
53
- import "../vendor/object-assign-deep/objectAssignDeep.js";
54
51
  import "../PanoTagPlugin/utils/addDebugPoints.js";
55
52
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
56
53
  import "../PanoTagPlugin/utils/debounce.js";
@@ -170,10 +167,16 @@ import "./utils/index.js";
170
167
  import "../shared-utils/to.js";
171
168
  import "../shared-utils/five/changeMode.js";
172
169
  import "../shared-utils/nearlyEqual.js";
173
- const at = (i, o) => new t(i, o);
170
+ import "../CruisePlugin/Work.js";
171
+ import "./index.js";
172
+ import "../CruisePlugin/utils/coordinatesAngle.js";
173
+ import "../CruisePlugin/utils/coordinatesToVector.js";
174
+ import "../CruisePlugin/utils/safeCall.js";
175
+ import "../CruisePlugin/utils/sleep.js";
176
+ const st = (i, o) => new t(i, o);
174
177
  export {
175
- st as GuideLineItem,
176
- xt as GuideLineModeItem,
177
- at as GuideLinePlugin,
178
- at as default
178
+ Mt as GuideLineItem,
179
+ ct as GuideLineModeItem,
180
+ st as GuideLinePlugin,
181
+ st as default
179
182
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.4.0");
17
+ i(this, "VERSION", "3.5.0-dev.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子