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