@realsee/dnalogel 3.24.3 → 3.25.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 (376) hide show
  1. package/dist/CruisePlugin/Move.d.ts +7 -7
  2. package/dist/CruisePlugin/index.d.ts +1 -1
  3. package/dist/CruisePlugin/typing.d.ts +11 -13
  4. package/dist/index.cjs.js +33 -33
  5. package/dist/index.js +1627 -1611
  6. package/dist/index.umd.js +33 -33
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  10. package/docs/classes/CSS3DRender.html +3 -3
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  13. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +12 -12
  14. package/docs/classes/ModelRoomLabelController.html +3 -3
  15. package/docs/classes/MoveController.html +12 -12
  16. package/docs/classes/Object3DHelperController.html +3 -3
  17. package/docs/classes/PaintBrush.html +3 -3
  18. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  19. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  22. package/docs/classes/PanoTagPluginController.html +3 -3
  23. package/docs/classes/Sculpt.html +3 -3
  24. package/docs/classes/Util.BetterTween.html +3 -3
  25. package/docs/classes/Util.Interval.html +3 -3
  26. package/docs/classes/Util.LineSegments.html +3 -3
  27. package/docs/classes/Util.Magnifier.html +3 -3
  28. package/docs/classes/Util.Object3D.html +3 -3
  29. package/docs/classes/Util.PointDomHelper.html +3 -3
  30. package/docs/classes/Util.PointHelper.html +3 -3
  31. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  32. package/docs/classes/Util.Rectangle.html +3 -3
  33. package/docs/classes/WalkController.html +3 -3
  34. package/docs/enums/CameraMovementEffect.html +3 -3
  35. package/docs/enums/ContentType.html +3 -3
  36. package/docs/enums/DIRECTION.html +3 -3
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  38. package/docs/enums/DimensionType.html +3 -3
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  41. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  42. package/docs/enums/PointType.html +3 -3
  43. package/docs/enums/Rotation.html +3 -3
  44. package/docs/functions/AreaMakerPlugin.html +3 -3
  45. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  46. package/docs/functions/CameraMovementPlugin.html +3 -3
  47. package/docs/functions/CruisePlugin.html +3 -3
  48. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  49. package/docs/functions/GuideLinePlugin.html +3 -3
  50. package/docs/functions/ItemLabelPlugin.html +3 -3
  51. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  52. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  54. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  55. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  56. package/docs/functions/ModelMakerPlugin.html +3 -3
  57. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  58. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  59. package/docs/functions/ModelViewPlugin.html +3 -3
  60. package/docs/functions/MovePlugin.html +4 -4
  61. package/docs/functions/Object3DHelperPlugin.html +3 -3
  62. package/docs/functions/PanoCompassPlugin.html +3 -3
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  64. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  66. package/docs/functions/PanoMeasurePlugin.html +3 -3
  67. package/docs/functions/PanoRulerPlugin.html +3 -3
  68. package/docs/functions/PanoRulerProPlugin.html +3 -3
  69. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  70. package/docs/functions/PanoTagPlugin.html +3 -3
  71. package/docs/functions/PanoVideoPlugin.html +3 -3
  72. package/docs/functions/PipelinePlugin.html +3 -3
  73. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  74. package/docs/functions/Util.absoluteUrl.html +3 -3
  75. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  76. package/docs/functions/Util.equal.html +3 -3
  77. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  78. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  79. package/docs/functions/Util.getFrameTime.html +3 -3
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  82. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  83. package/docs/functions/Util.isModelLike.html +3 -3
  84. package/docs/functions/Util.isNil.html +3 -3
  85. package/docs/functions/Util.isPanoramaLike.html +3 -3
  86. package/docs/functions/Util.nextFrame.html +3 -3
  87. package/docs/functions/Util.notNil.html +3 -3
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  89. package/docs/functions/Util.tweenProgress.html +3 -3
  90. package/docs/functions/Util.uuid.html +3 -3
  91. package/docs/functions/pluginFlag.html +3 -3
  92. package/docs/index.html +4 -4
  93. package/docs/interfaces/AddTagConfig.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  105. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  106. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.Config.html +6 -5
  108. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +4 -3
  109. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -16
  110. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +349 -0
  111. package/docs/interfaces/CruisePluginTypes.MoveAction.html +25 -19
  112. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -14
  113. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -14
  114. package/docs/interfaces/CruisePluginTypes.PluginData.html +29 -28
  115. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -5
  116. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -9
  117. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  120. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  121. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  122. package/docs/interfaces/EventMap.html +3 -3
  123. package/docs/interfaces/FloorplanBounding.html +3 -3
  124. package/docs/interfaces/FloorplanData.html +3 -3
  125. package/docs/interfaces/FloorplanEntrance.html +3 -3
  126. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  127. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  128. package/docs/interfaces/FloorplanFloorData.html +3 -3
  129. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  130. package/docs/interfaces/FloorplanObserver.html +3 -3
  131. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  132. package/docs/interfaces/FloorplanPosition.html +3 -3
  133. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  134. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  135. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  136. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  137. package/docs/interfaces/FloorplanServerData.html +3 -3
  138. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  139. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  140. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  141. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  142. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  143. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  144. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  146. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  147. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  148. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  164. package/docs/interfaces/HelperOffset.html +3 -3
  165. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  166. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  167. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  168. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  169. package/docs/interfaces/MinMax.html +3 -3
  170. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  171. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  172. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  173. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  174. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  175. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  176. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  177. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  178. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  185. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  186. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  187. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  188. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  189. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  190. package/docs/interfaces/Object3DHelperState.html +3 -3
  191. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  192. package/docs/interfaces/PaintBrushAction.html +3 -3
  193. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  194. package/docs/interfaces/PaintBrushState.html +3 -3
  195. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  196. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  197. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  198. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  200. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  201. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  202. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  203. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  204. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  205. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  207. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  208. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  209. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  218. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  225. package/docs/interfaces/Point.html +3 -3
  226. package/docs/interfaces/Room.html +3 -3
  227. package/docs/interfaces/RoomInfo.html +3 -3
  228. package/docs/interfaces/RoomLabel.html +3 -3
  229. package/docs/interfaces/RoomRules.html +3 -3
  230. package/docs/interfaces/Rooms.html +3 -3
  231. package/docs/interfaces/Scissor.html +3 -3
  232. package/docs/interfaces/State.html +3 -3
  233. package/docs/interfaces/TagCacheInterface.html +3 -3
  234. package/docs/interfaces/TagConfig.html +3 -3
  235. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  236. package/docs/interfaces/TagIconUrl.html +3 -3
  237. package/docs/interfaces/TagObjectGroup.html +3 -3
  238. package/docs/interfaces/TagStyle.html +3 -3
  239. package/docs/interfaces/Tags.html +3 -3
  240. package/docs/interfaces/TemporaryState.html +3 -3
  241. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  242. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  243. package/docs/interfaces/Util.PointIntersection.html +3 -3
  244. package/docs/modules/AreaMakerPluginType.html +3 -3
  245. package/docs/modules/CruisePluginTypes.html +5 -3
  246. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  247. package/docs/modules/GuideLineItem.html +3 -3
  248. package/docs/modules/GuideLineModeItem.html +3 -3
  249. package/docs/modules/GuideLinePluginType.html +3 -3
  250. package/docs/modules/ModelMakerPluginType.html +3 -3
  251. package/docs/modules/PanoVideoPluginType.html +3 -3
  252. package/docs/modules/Util.html +3 -3
  253. package/docs/modules.html +4 -4
  254. package/docs/types/AddObject3DHelperConfig.html +3 -3
  255. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  256. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  257. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  258. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  259. package/docs/types/ArrayPosition.html +3 -3
  260. package/docs/types/AudioAppearance.html +3 -3
  261. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  262. package/docs/types/CSS3DRenderExportType.html +3 -3
  263. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  264. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  265. package/docs/types/ClassFunctionParameters.html +3 -3
  266. package/docs/types/Color.html +3 -3
  267. package/docs/types/ContentTypeConfigKey.html +3 -3
  268. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  269. package/docs/types/ContentTypeMap.html +3 -3
  270. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  271. package/docs/types/Create3DElementReturnType.html +3 -3
  272. package/docs/types/CruisePluginExportType.html +4 -4
  273. package/docs/types/CruisePluginTypes.CruiseData.html +4 -3
  274. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -3
  275. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  276. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  277. package/docs/types/DeprecatedTagProperty.html +3 -3
  278. package/docs/types/Direction-1.html +3 -3
  279. package/docs/types/Direction4.html +3 -3
  280. package/docs/types/ElementRenderer.html +3 -3
  281. package/docs/types/FloorplanRuleLabels.html +3 -3
  282. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  283. package/docs/types/GuideLinePluginExportType.html +3 -3
  284. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  285. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  286. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  287. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  288. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  289. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  290. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  291. package/docs/types/HelperEventMap.html +3 -3
  292. package/docs/types/InternalHelperEventMap.html +3 -3
  293. package/docs/types/LoadTagConfig.html +3 -3
  294. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  295. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  296. package/docs/types/MediaData.html +3 -3
  297. package/docs/types/MediaStore.html +3 -3
  298. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  299. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  300. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  301. package/docs/types/ModelId.html +3 -3
  302. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  303. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  304. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  305. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  306. package/docs/types/MoveArgs.html +3 -3
  307. package/docs/types/MoveOpts.html +3 -3
  308. package/docs/types/Object3DHelperEventMap.html +3 -3
  309. package/docs/types/ObjectFit.html +3 -3
  310. package/docs/types/PaintBrushEventMap.html +3 -3
  311. package/docs/types/PanoCompassPluginData.html +3 -3
  312. package/docs/types/PanoCompassPluginExportType.html +3 -3
  313. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  314. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  315. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  316. package/docs/types/PanoIndex.html +3 -3
  317. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  318. package/docs/types/PanoMeasureReturnType.html +3 -3
  319. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  320. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  321. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  322. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  323. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  324. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  325. package/docs/types/PipelinePluginParameterType.html +3 -3
  326. package/docs/types/PipelinePluginReturnType.html +3 -3
  327. package/docs/types/PlaneTag.html +3 -3
  328. package/docs/types/Point2DTag.html +3 -3
  329. package/docs/types/Point3DTag.html +3 -3
  330. package/docs/types/PointTag.html +3 -3
  331. package/docs/types/PointTagInstance.html +3 -3
  332. package/docs/types/Position.html +3 -3
  333. package/docs/types/PositionFrom.html +3 -3
  334. package/docs/types/RotateArgs.html +3 -3
  335. package/docs/types/RotateOpts.html +3 -3
  336. package/docs/types/RuleLabelsKey.html +3 -3
  337. package/docs/types/RuleLabelsValue.html +3 -3
  338. package/docs/types/ScaleCallback.html +3 -3
  339. package/docs/types/ScalePosition.html +3 -3
  340. package/docs/types/StickType.html +3 -3
  341. package/docs/types/Tag.html +3 -3
  342. package/docs/types/Tag2D.html +3 -3
  343. package/docs/types/Tag3D.html +3 -3
  344. package/docs/types/TagConfigByKey.html +3 -3
  345. package/docs/types/TagContentType.html +3 -3
  346. package/docs/types/TagContentTypeMapping.html +3 -3
  347. package/docs/types/TagDimensionType.html +3 -3
  348. package/docs/types/TagElement.html +3 -3
  349. package/docs/types/TagEvents.html +3 -3
  350. package/docs/types/TagGLTFObject.html +3 -3
  351. package/docs/types/TagHooks.html +3 -3
  352. package/docs/types/TagId.html +3 -3
  353. package/docs/types/TagInstance.html +3 -3
  354. package/docs/types/TagPointType.html +3 -3
  355. package/docs/types/TagRendererMap.html +3 -3
  356. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  357. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  358. package/docs/types/WorkCode.html +3 -3
  359. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  360. package/docs/variables/PLUGIN.html +3 -3
  361. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  362. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  363. package/docs/variables/defaultGlobalConfig.html +3 -3
  364. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  365. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  366. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  367. package/libs/CruisePlugin/Move.d.ts +7 -7
  368. package/libs/CruisePlugin/Move.js +249 -88
  369. package/libs/CruisePlugin/index.d.ts +1 -1
  370. package/libs/CruisePlugin/typing.d.ts +11 -13
  371. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +22 -22
  372. package/libs/GuideLinePlugin/index.js +5 -5
  373. package/libs/ModelMakerPlugin/Controller.js +23 -23
  374. package/libs/base/BasePlugin.js +1 -1
  375. package/libs/shared-utils/logger.js +1 -1
  376. package/package.json +1 -1
@@ -1,43 +1,44 @@
1
- var k = Object.defineProperty, w = Object.defineProperties;
2
- var O = Object.getOwnPropertyDescriptors;
3
- var S = Object.getOwnPropertySymbols;
4
- var T = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
- var c = (r, e, t) => e in r ? k(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e) => {
6
- for (var t in e || (e = {}))
7
- T.call(e, t) && c(r, t, e[t]);
8
- if (S)
9
- for (var t of S(e))
10
- x.call(e, t) && c(r, t, e[t]);
11
- return r;
12
- }, d = (r, e) => w(r, O(e));
13
- var f = (r, e, t) => (c(r, typeof e != "symbol" ? e + "" : e, t), t);
14
- var C = (r, e, t) => new Promise((s, h) => {
15
- var o = (i) => {
1
+ var T = Object.defineProperty, x = Object.defineProperties;
2
+ var D = Object.getOwnPropertyDescriptors;
3
+ var k = Object.getOwnPropertySymbols;
4
+ var E = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
+ var d = (e, i, t) => i in e ? T(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, u = (e, i) => {
6
+ for (var t in i || (i = {}))
7
+ E.call(i, t) && d(e, t, i[t]);
8
+ if (k)
9
+ for (var t of k(i))
10
+ F.call(i, t) && d(e, t, i[t]);
11
+ return e;
12
+ }, c = (e, i) => x(e, D(i));
13
+ var n = (e, i, t) => (d(e, typeof i != "symbol" ? i + "" : i, t), t);
14
+ var w = (e, i, t) => new Promise((r, s) => {
15
+ var m = (o) => {
16
16
  try {
17
- n(t.next(i));
18
- } catch (a) {
19
- h(a);
17
+ a(t.next(o));
18
+ } catch (p) {
19
+ s(p);
20
20
  }
21
- }, m = (i) => {
21
+ }, h = (o) => {
22
22
  try {
23
- n(t.throw(i));
24
- } catch (a) {
25
- h(a);
23
+ a(t.throw(o));
24
+ } catch (p) {
25
+ s(p);
26
26
  }
27
- }, n = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(o, m);
28
- n((t = t.apply(r, e)).next());
27
+ }, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(m, h);
28
+ a((t = t.apply(e, i)).next());
29
29
  });
30
- import D from "./BaseController.js";
31
- import { objectAssignDeepExports as l } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
- import * as P from "three";
30
+ import z from "./BaseController.js";
31
+ import { objectAssignDeepExports as g } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import * as L from "three";
33
33
  import "hammerjs";
34
34
  import "@realsee/five";
35
35
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
36
36
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
37
37
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
38
- import { uuid as E } from "../shared-utils/uuid.js";
39
- import { getFiveStateOnCurve as g } from "./utils/getFiveStateOnCurve.js";
40
- import { anyPositionToVector3 as F } from "../shared-utils/positionToVector3.js";
38
+ import { uuid as O } from "../shared-utils/uuid.js";
39
+ import { getFiveStateOnCurve as v } from "./utils/getFiveStateOnCurve.js";
40
+ import { anyPositionToVector3 as A } from "../shared-utils/positionToVector3.js";
41
+ import M from "../GuideLinePlugin/index.js";
41
42
  import "../base/BasePlugin.js";
42
43
  import "../shared-utils/Subscribe.js";
43
44
  import "../shared-utils/url/absoluteUrl.js";
@@ -61,97 +62,257 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
61
62
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
62
63
  import "../shared-utils/vectorToCoordinate.js";
63
64
  import "../shared-utils/formatRad.js";
64
- class pt extends D {
65
- constructor(t, s) {
66
- var m;
67
- super(t, s);
68
- f(this, "curve");
69
- f(this, "baseCurveOffset");
70
- f(this, "curveOffset");
71
- f(this, "playStartedTime", performance.now());
72
- f(this, "duration");
73
- f(this, "changeSpeed", (t, s = !0) => {
74
- this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: s });
65
+ import "../GuideLinePlugin/Controller.js";
66
+ import "../base/BasePluginWithData.js";
67
+ import "../GuideLinePlugin/GuideLineItem/index.js";
68
+ import "../GuideLinePlugin/GuideLineModeItem/index.js";
69
+ import "../shared-utils/log.js";
70
+ import "../GuideLinePlugin/utils/createLineGeometry.js";
71
+ import "../vendor/polyline-normals/index.js";
72
+ import "../vendor/polyline-miter-util/index.js";
73
+ import "../vendor/gl-vec2/add.js";
74
+ import "../vendor/gl-vec2/set.js";
75
+ import "../vendor/gl-vec2/normalize.js";
76
+ import "../vendor/gl-vec2/subtract.js";
77
+ import "../vendor/gl-vec2/dot.js";
78
+ import "../shared-utils/five/mode.js";
79
+ import "../shared-utils/isNil.js";
80
+ import "../shared-utils/animationFrame/BetterTween.js";
81
+ import "../shared-utils/animationFrame/index.js";
82
+ import "../shared-utils/three/loadTexture.js";
83
+ import "../PanoTagPlugin/controller/index.js";
84
+ import "../PanoTagPlugin/utils/addDebugPoints.js";
85
+ import "../PanoTagPlugin/utils/tag/tagCheck.js";
86
+ import "../PanoTagPlugin/utils/debounce.js";
87
+ import "../PanoTagPlugin/utils/throttle.js";
88
+ import "../PanoTagPlugin/utils/tag/format.js";
89
+ import "../shared-utils/audio.js";
90
+ import "../shared-utils/dom/resizeObserver.js";
91
+ import "../PanoTagPlugin/controller/TagRender.js";
92
+ import "../PanoTagPlugin/controller/TagComputer.js";
93
+ import "../PanoTagPlugin/utils/tagPosition.js";
94
+ import "../PanoTagPlugin/utils/checkRange.js";
95
+ import "../PanoTagPlugin/controller/TagUtil.js";
96
+ import "../PanoTagPlugin/typings/tag/TagConfig.js";
97
+ import "../PanoTagPlugin/tag.config.js";
98
+ import "../PanoTagPlugin/utils/planeNormal.js";
99
+ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
100
+ import "../PanoTagPlugin/controller/TagCache.js";
101
+ import "../vendor/svelte/store/index.js";
102
+ import "../vendor/svelte/internal/index.js";
103
+ import "../shared-utils/device.js";
104
+ import "../PanoTagPlugin/utils/model/mediaPlane.js";
105
+ import "../shared-utils/three/Quadrangle.js";
106
+ import "../shared-utils/math/pointIsRectangle.js";
107
+ import "../shared-utils/three/loadVideoTexture.js";
108
+ import "../PanoTagPlugin/Assets/Icon.js";
109
+ import "../shared-utils/three/getPositionsByObjectFit.js";
110
+ import "../shared-utils/three/FragmentTransparencyMaterial.js";
111
+ import "../shared-utils/three/getNormal.js";
112
+ import "../shared-utils/five/FiveDomEvents.js";
113
+ import "../shared-utils/five/calculateThreeMouse.js";
114
+ import "../PanoTagPlugin/utils/tag/adaptConfig.js";
115
+ import "../shared-utils/typescript/entries.js";
116
+ import "../shared-utils/url/getUrl.js";
117
+ import "../shared-utils/five/getFloorIndex.js";
118
+ import "../shared-utils/safeObj.js";
119
+ import "../PanoTagPlugin/Components/TagContainer.js";
120
+ import "../PanoTagPlugin/Components/TagItem.js";
121
+ import "../PanoTagPlugin/Components/Tag/index.js";
122
+ import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
123
+ import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
124
+ import "../PanoTagPlugin/Components/Common/Line/Straight.js";
125
+ import "../vendor/svelte/transition/index.js";
126
+ import "../vendor/svelte/easing/index.js";
127
+ import "../PanoTagPlugin/Components/Common/Shadow.js";
128
+ import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
129
+ import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
130
+ import "animejs";
131
+ import "../PanoTagPlugin/utils/search.js";
132
+ import "../PanoTagPlugin/utils/constants.js";
133
+ import "../PanoTagPlugin/Components/Common/Arrow.js";
134
+ import "../PanoTagPlugin/utils/doUtil.js";
135
+ import "../shared-utils/svelte/resizeObserver.js";
136
+ import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
137
+ import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
138
+ import "../PanoTagPlugin/Components/Common/Text/MText.js";
139
+ import "../PanoTagPlugin/utils/px2rem.js";
140
+ import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
141
+ import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
142
+ import "../PanoTagPlugin/Components/Common/Media.js";
143
+ import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
144
+ import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
145
+ import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
146
+ import "../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
147
+ import "../vendor/svelte-carousel/src/direction.js";
148
+ import "../vendor/svelte-carousel/src/components/Progress/Progress.js";
149
+ import "../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
150
+ import "../vendor/svelte-carousel/src/actions/swipeable/event.js";
151
+ import "../vendor/svelte-carousel/src/utils/event.js";
152
+ import "../vendor/svelte-carousel/src/units.js";
153
+ import "../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
154
+ import "../vendor/svelte-carousel/src/actions/hoverable/event.js";
155
+ import "../vendor/svelte-carousel/src/actions/tappable/tappable.js";
156
+ import "../vendor/svelte-carousel/src/utils/math.js";
157
+ import "../vendor/svelte-carousel/src/actions/tappable/event.js";
158
+ import "../vendor/svelte-carousel/src/utils/page.js";
159
+ import "../vendor/svelte-carousel/src/utils/clones.js";
160
+ import "../vendor/svelte-carousel/src/utils/object.js";
161
+ import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
162
+ import "../vendor/easy-reactive/src/simply-reactive.js";
163
+ import "../vendor/lodash.get/index.js";
164
+ import "../_commonjsHelpers.js";
165
+ import "../vendor/lodash.clonedeep/index.js";
166
+ import "../vendor/easy-reactive/src/utils/subscription.js";
167
+ import "../vendor/easy-reactive/src/utils/object.js";
168
+ import "../vendor/lodash.isequal/index.js";
169
+ import "../vendor/easy-reactive/src/utils/watcher.js";
170
+ import "../vendor/svelte-carousel/src/utils/lazy.js";
171
+ import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
172
+ import "../vendor/svelte-carousel/src/utils/interval.js";
173
+ import "../PanoTagPlugin/Components/Common/MediaItem.js";
174
+ import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
175
+ import "../PanoTagPlugin/utils/noTypecheck.js";
176
+ import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
177
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
178
+ import "../PanoTagPlugin/Components/Common/Audio.js";
179
+ import "../PanoTagPlugin/utils/audio/SharedAudio.js";
180
+ import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
181
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
182
+ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
183
+ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
184
+ import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
185
+ import "../PanoTagPlugin/utils/getImageInfo.js";
186
+ import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
187
+ import "../PanoTagPlugin/Components/Tag/CustomTag.js";
188
+ import "../vendor/classnames/index.js";
189
+ import "../PanoTagPlugin/Components/Common/TagPoint.js";
190
+ import "../CSS3DRenderPlugin/index.js";
191
+ import "../CSS3DRenderPlugin/Controller.js";
192
+ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
193
+ import "../shared-utils/three/GLTFLoader.js";
194
+ import "@realsee/five/gltf-loader";
195
+ import "../shared-utils/five/fiveModelLoad.js";
196
+ import "../PanoTagPlugin/utils/DebugUtil.js";
197
+ import "../GuideLinePlugin/Components/Tag.js";
198
+ import "../GuideLinePlugin/utils/index.js";
199
+ import "../shared-utils/to.js";
200
+ import "../shared-utils/five/changeMode.js";
201
+ import "../shared-utils/nearlyEqual.js";
202
+ import "./Move.js";
203
+ import "./Work.js";
204
+ import "./utils/coordinatesAngle.js";
205
+ import "./utils/coordinatesToVector.js";
206
+ import "./utils/safeCall.js";
207
+ import "./utils/sleep.js";
208
+ import "../shared-utils/five/fiveLoaded.js";
209
+ class $r extends z {
210
+ constructor(t, r) {
211
+ var h;
212
+ super(t, r);
213
+ n(this, "curve");
214
+ n(this, "baseCurveOffset");
215
+ n(this, "curveOffset");
216
+ n(this, "playStartedTime", performance.now());
217
+ n(this, "duration");
218
+ n(this, "changeSpeed", (t, r = !0) => {
219
+ this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: r });
75
220
  });
76
- f(this, "moveToStart", () => {
77
- this.five.setState(d(u({}, g(this.curve, 0, this.curveOffset)), { mode: "Model" }));
221
+ n(this, "moveToStart", () => {
222
+ this.five.setState(c(u({}, v(this.curve, 0, this.curveOffset)), { mode: "Model" }));
78
223
  });
79
- f(this, "playFromStart", () => {
224
+ n(this, "playFromStart", () => {
80
225
  this.clearPauseData(), this.setState({ playing: !0 });
81
226
  });
82
- f(this, "getDuration", () => this.getSpeededDuration(this.duration));
83
- f(this, "getProgress", () => {
84
- var i;
227
+ n(this, "getDuration", () => this.getSpeededDuration(this.duration));
228
+ n(this, "getProgress", () => {
229
+ var o;
85
230
  const t = this.getPauseData();
86
- let s = (i = t == null ? void 0 : t.playedProgress) != null ? i : 0;
87
- (s < 0 || s >= 1) && (s = 0);
88
- const h = 1 - s, o = this.getDuration(), n = (performance.now() - this.playStartedTime) / o;
89
- return 1 - h + n;
231
+ let r = (o = t == null ? void 0 : t.playedProgress) != null ? o : 0;
232
+ (r < 0 || r >= 1) && (r = 0);
233
+ const s = 1 - r, m = this.getDuration(), a = (performance.now() - this.playStartedTime) / m;
234
+ return 1 - s + a;
90
235
  });
91
- const h = {
236
+ const s = {
92
237
  config: {
93
238
  speedConfig: {
94
239
  moveSpeed: 2,
95
240
  moveSpeedUnit: "m/s"
96
241
  }
97
242
  }
98
- }, o = {
243
+ }, m = {
99
244
  allowBroke: !0
100
245
  };
101
- this.state = l({}, h, this.state), this.config = l({}, o, this.config), this.baseCurveOffset = l({ x: 0, y: 0, z: 0 }, { y: 2 }, (m = this.config) == null ? void 0 : m.offset);
246
+ this.state = g({}, s, this.state), this.config = g({}, m, this.config), this.baseCurveOffset = g({ x: 0, y: 0, z: 0 }, { y: 2 }, (h = this.config) == null ? void 0 : h.offset);
102
247
  }
103
- load(t, s) {
104
- var n, i, a, p, v, y;
105
- this.handlePause(), this.clear(), this.data = u({ id: E() }, t);
106
- const h = (() => {
107
- if (this.data.path instanceof P.Curve)
248
+ load(t, r) {
249
+ var a, o, p, f, y, S, C, P, b;
250
+ this.handlePause(), this.clear(), this.data = u({ id: O() }, t);
251
+ const s = (() => {
252
+ if (this.data.path instanceof L.Curve)
108
253
  return this.data.path.curves[0];
109
254
  {
110
- const b = this.data.path.map(F);
111
- return new P.CatmullRomCurve3(b);
255
+ if (this.data.path.length < 2)
256
+ return null;
257
+ const l = this.data.path.map(A);
258
+ return new L.CatmullRomCurve3(l, void 0, "catmullrom", 0.5);
112
259
  }
113
260
  })();
114
- if (this.curve = h, this.curveOffset = {
115
- x: this.baseCurveOffset.x + ((i = (n = this.data.offset) == null ? void 0 : n.x) != null ? i : 0),
116
- y: this.baseCurveOffset.y + ((p = (a = this.data.offset) == null ? void 0 : a.y) != null ? p : 0),
117
- z: this.baseCurveOffset.z + ((y = (v = this.data.offset) == null ? void 0 : v.z) != null ? y : 0)
261
+ if (!s)
262
+ return;
263
+ if (this.curve = s, this.curveOffset = {
264
+ x: this.baseCurveOffset.x + ((o = (a = this.data.offset) == null ? void 0 : a.x) != null ? o : 0),
265
+ y: this.baseCurveOffset.y + ((f = (p = this.data.offset) == null ? void 0 : p.y) != null ? f : 0),
266
+ z: this.baseCurveOffset.z + ((S = (y = this.data.offset) == null ? void 0 : y.z) != null ? S : 0)
118
267
  }, !this.curve)
119
268
  throw new Error("curve is not defined");
120
- const o = this.curve.getLength(), m = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
121
- return this.duration = o / (this.state.config.speedConfig.moveSpeed / m), s ? this.setState(s) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
269
+ const m = this.curve.getLength(), h = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
270
+ if (this.duration = m / (this.state.config.speedConfig.moveSpeed / h), Array.isArray(this.data.path)) {
271
+ const l = this.data.path.map(A).map((G) => G.toArray());
272
+ !this.GuideLine && (((C = this.config) == null ? void 0 : C.useGuideLine) !== !1 && t.useGuildLine || (P = this.config) != null && P.useGuideLine && t.useGuildLine !== !1) && (this.GuideLine = M(this.five, this.config)), (b = this.GuideLine) == null || b.load({
273
+ lines: [
274
+ {
275
+ id: O(),
276
+ path: [{ type: "CatmullRomCurve3", points: l }],
277
+ model_style: { visible: !0 }
278
+ }
279
+ ]
280
+ });
281
+ }
282
+ return r ? this.setState(r) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
122
283
  }
123
284
  handlePlay() {
124
- return new Promise((t, s) => C(this, null, function* () {
125
- var i;
285
+ return new Promise((t, r) => w(this, null, function* () {
286
+ var o;
126
287
  this.hooks.emit("play", { userAction: !0 });
127
- const h = this.getPauseData();
128
- let o = (i = h == null ? void 0 : h.playedProgress) != null ? i : 0;
129
- (o < 0 || o >= 1) && (o = 0);
130
- const m = g(this.curve, o, this.curveOffset);
131
- if (this.hooks.emit("progressChange", o), this.five.setState(d(u({}, m), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
132
- const a = this.addInterruptListener(() => {
133
- this.state.playing && (this.hooks.emit("broke"), this.handlePause(), a(), s(new Error("broke")));
288
+ const s = this.getPauseData();
289
+ let m = (o = s == null ? void 0 : s.playedProgress) != null ? o : 0;
290
+ (m < 0 || m >= 1) && (m = 0);
291
+ const h = v(this.curve, m, this.curveOffset);
292
+ if (this.hooks.emit("progressChange", m), this.five.setState(c(u({}, h), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
293
+ const p = this.addInterruptListener(() => {
294
+ this.state.playing && (this.hooks.emit("broke"), this.handlePause(), p(), r(new Error("broke")));
134
295
  });
135
296
  }
136
- const n = () => {
137
- const a = this.getProgress();
138
- if (a >= 1)
139
- this.five.off("renderFrame", n), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), t("end");
297
+ const a = () => {
298
+ const p = this.getProgress();
299
+ if (p >= 1)
300
+ this.five.off("renderFrame", a), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), t("end");
140
301
  else if (this.state.playing === !1)
141
- this.five.off("renderFrame", n);
142
- else if (a >= 0) {
143
- const p = g(this.curve, a, this.curveOffset);
144
- this.hooks.emit("progressChange", a), this.five.setState(p, !0);
302
+ this.five.off("renderFrame", a);
303
+ else if (p >= 0) {
304
+ const f = v(this.curve, p, this.curveOffset);
305
+ this.hooks.emit("progressChange", p), this.five.setState(f, !0);
145
306
  }
146
307
  };
147
- this.five.on("renderFrame", n);
308
+ this.five.on("renderFrame", a);
148
309
  }));
149
310
  }
150
311
  handlePause(t) {
151
- var s;
152
- this.state.playing = !1, this.hooks.emit("pause", { userAction: (s = t == null ? void 0 : t.userAction) != null ? s : !0 }), this.setPauseData();
312
+ var r;
313
+ this.state.playing = !1, this.hooks.emit("pause", { userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 }), this.setPauseData();
153
314
  }
154
315
  }
155
316
  export {
156
- pt as default
317
+ $r as default
157
318
  };
@@ -1,7 +1,7 @@
1
1
  import type { FivePlugin } from '@realsee/five';
2
2
  import * as CruisePluginTypes from './typing';
3
3
  import type { Config } from './typing';
4
- import type { Config as MovePluginConfig } from './Move';
4
+ import type { MoveConfig as MovePluginConfig } from './Move';
5
5
  import WalkController from './Work';
6
6
  import MoveController from './Move';
7
7
  export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
@@ -24,18 +24,20 @@ export interface CruiseKeyframe {
24
24
  end?: number;
25
25
  data: CruiseData;
26
26
  }
27
- export interface PluginData {
27
+ export interface GuildLineConfig {
28
+ /**
29
+ * @description: 是否使用引导路线
30
+ * @default: false
31
+ */
32
+ useGuildLine?: boolean;
33
+ /** 传递给 GuildPlugin 的参数 */
34
+ guildPluginOptions?: GuideLinePluginData['config'];
35
+ }
36
+ export interface PluginData extends GuildLineConfig {
28
37
  keyframesId: string;
29
38
  keyframes: CruiseKeyframe[];
30
- useGuildLine?: boolean;
31
- guildPluginOptions?: {
32
- arrowTextureUrl?: string;
33
- skipPanoIndexMesh?: boolean;
34
- unitWidth?: number;
35
- unitHeight?: number;
36
- };
37
39
  }
38
- export interface MoveAction {
40
+ export interface MoveAction extends GuildLineConfig {
39
41
  /** five走点动画 */
40
42
  moveEffect?: MoveEffect;
41
43
  /** 到第一个点的走点动画 / 续播到暂停处的走点动画 */
@@ -46,10 +48,6 @@ export interface MoveAction {
46
48
  moveType?: 'justMove' | 'moveAndRotate';
47
49
  /** 停留时长 */
48
50
  stay?: number;
49
- /** 是否自动使用引导路线 */
50
- useGuildLine?: boolean;
51
- /** 传递给 GuildPlugin 的参数 */
52
- guildPluginOptions?: GuideLinePluginData['config'];
53
51
  }
54
52
  export interface MoveWithPanoIndexAction extends MoveAction {
55
53
  /** 点位列表 */
@@ -2,15 +2,15 @@ var V = Object.defineProperty, T = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
3
  var k = Object.getOwnPropertySymbols;
4
4
  var x = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
- var v = (h, e, t) => e in h ? V(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, d = (h, e) => {
5
+ var v = (l, e, t) => e in l ? V(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, d = (l, e) => {
6
6
  for (var t in e || (e = {}))
7
- x.call(e, t) && v(h, t, e[t]);
7
+ x.call(e, t) && v(l, t, e[t]);
8
8
  if (k)
9
9
  for (var t of k(e))
10
- F.call(e, t) && v(h, t, e[t]);
11
- return h;
12
- }, p = (h, e) => T(h, U(e));
13
- var i = (h, e, t) => (v(h, typeof e != "symbol" ? e + "" : e, t), t);
10
+ F.call(e, t) && v(l, t, e[t]);
11
+ return l;
12
+ }, p = (l, e) => T(l, U(e));
13
+ var i = (l, e, t) => (v(l, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as n from "three";
15
15
  import { logWarning as L, logError as S } from "../../shared-utils/log.js";
16
16
  import { createLineGeometry as O } from "../utils/createLineGeometry.js";
@@ -209,13 +209,13 @@ class H {
209
209
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
210
210
  });
211
211
  i(this, "onFlickerAnimeUpdate", (e) => {
212
- var r, o, a, l;
212
+ var r, o, a, h;
213
213
  const { progress: t } = e, s = 1 - t;
214
214
  this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && b(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(d({}, this.startTagContainer.tag.data), {
215
215
  opacity: s,
216
216
  name: this.name,
217
217
  distance: Math.round((o = (r = this.curvePath) == null ? void 0 : r.getLength()) != null ? o : 0)
218
- }))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((l = this.endTagContainer.app) == null || l.$set(p(d({}, this.endTagContainer.tag.data), { opacity: s })));
218
+ }))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((h = this.endTagContainer.app) == null || h.$set(p(d({}, this.endTagContainer.tag.data), { opacity: s })));
219
219
  });
220
220
  i(this, "logWarning", (e) => L("GuideLineModeItem: ", e));
221
221
  i(this, "logError", (e) => S("GuideLineModeItem: ", e));
@@ -304,22 +304,22 @@ class H {
304
304
  return this.logError("disposed");
305
305
  const s = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, r = (y = t == null ? void 0 : t.width) != null ? y : this.width, o = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
306
306
  this.scale = s, this.width = r, this.unitLength = o;
307
- const { geometry: a, maxU: l, curvePath: u, curvePoints: g } = O({
307
+ const { geometry: a, maxU: h, curvePath: u, curvePoints: g } = O({
308
308
  path: e,
309
309
  width: r * s,
310
310
  unitLength: o * s,
311
311
  skipPositions: this.skippedPositions
312
312
  });
313
- this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = l, this.five.needsRender = !0;
313
+ this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = h, this.five.needsRender = !0;
314
314
  const m = e, f = d(d({}, this.geometryStyle), t);
315
315
  this.path = m, this.geometryStyle = f;
316
316
  }
317
317
  /** 设置线条材质 */
318
318
  setMartial(e) {
319
- var s, r;
319
+ var s, r, o, a, h;
320
320
  if (this.disposed)
321
321
  return this.logError("disposed");
322
- (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), this.setTextureUrl((r = (s = e == null ? void 0 : e.texture) == null ? void 0 : s.url) != null ? r : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
322
+ this.setDefaultVisible((s = e == null ? void 0 : e.visible) != null ? s : !1), this.setColor((r = e == null ? void 0 : e.color) != null ? r : "#ffffff"), this.setOpacity((o = e == null ? void 0 : e.opacity) != null ? o : 0.5), this.setTextureUrl((h = (a = e == null ? void 0 : e.texture) == null ? void 0 : a.url) != null ? h : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
323
323
  const t = d(d({}, this.materialStyle), e);
324
324
  this.materialStyle = t;
325
325
  }
@@ -336,8 +336,8 @@ class H {
336
336
  return;
337
337
  const a = new n.Vector3().fromArray(r.tag.position);
338
338
  a.add(o);
339
- const l = a.toArray();
340
- r.plugin.changeTagById(r.tag.id, { position: l });
339
+ const h = a.toArray();
340
+ r.plugin.changeTagById(r.tag.id, { position: h });
341
341
  }
342
342
  }
343
343
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -440,12 +440,12 @@ class H {
440
440
  if (!this.curvePoints || !this.curvePath)
441
441
  return [];
442
442
  const e = this.curvePoints.length, t = this.curvePath.getLength(), s = e - 1, r = t / s, o = (u = this.curvePath.getLengths(s)) != null ? u : [], a = [];
443
- let l = 0;
443
+ let h = 0;
444
444
  for (let g = 0; g < e; g++) {
445
- const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(l);
445
+ const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(h);
446
446
  if (!f)
447
447
  break;
448
- f.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (a.push(o[g]), l += 1);
448
+ f.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (a.push(o[g]), h += 1);
449
449
  }
450
450
  return a;
451
451
  }
@@ -466,9 +466,9 @@ class H {
466
466
  const g = e === "start" ? p(d({}, a.data), { name: this.name, distance: Math.round((c = s.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : a.data, m = new B({ target: u, intro: !0, props: g });
467
467
  return r.app = m, () => m.$destroy();
468
468
  }), r.plugin.load({ tagList: [r.tag] });
469
- const l = this.meshStyle.translate;
470
- if (l && a.position) {
471
- const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(l);
469
+ const h = this.meshStyle.translate;
470
+ if (h && a.position) {
471
+ const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(h);
472
472
  u.add(g), u.y += this.heightOffset;
473
473
  const m = u.toArray();
474
474
  r.plugin.changeTagById(r.tag.id, { position: m });
@@ -491,8 +491,8 @@ class H {
491
491
  return [d({ type: "CatmullRomCurve3", points: r }, s)];
492
492
  }
493
493
  }
494
- function b(h) {
495
- return h.contentType === "Custom";
494
+ function b(l) {
495
+ return l.contentType === "Custom";
496
496
  }
497
497
  const ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
498
498
  __proto__: null,
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
2
  import { GuideLineItem$1 as wt } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as Pt } from "./GuideLineModeItem/index.js";
3
+ import { GuideLineModeItem$1 as bt } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -177,10 +177,10 @@ import "../shared-utils/five/changeMode.js";
177
177
  import "../shared-utils/nearlyEqual.js";
178
178
  import "../CruisePlugin/Move.js";
179
179
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
180
- const $t = (i, o) => new t(i, o);
180
+ const r = (i, o) => new t(i, o), gt = r;
181
181
  export {
182
182
  wt as GuideLineItem,
183
- Pt as GuideLineModeItem,
184
- $t as GuideLinePlugin,
185
- $t as default
183
+ bt as GuideLineModeItem,
184
+ r as GuideLinePlugin,
185
+ gt as default
186
186
  };