@realsee/dnalogel 3.11.0-dev.0 → 3.12.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/AreaMakerPlugin/typing.d.ts +8 -0
  2. package/dist/AreaMakerPlugin/utils/Item.d.ts +1 -1
  3. package/dist/CruisePlugin/BaseController.d.ts +5 -2
  4. package/dist/index.cjs.js +40 -40
  5. package/dist/index.js +1052 -1023
  6. package/dist/index.umd.js +35 -35
  7. package/dist/shared-utils/Utils/FiveUtil.d.ts +10 -0
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +33 -33
  11. package/docs/classes/CSS3DRender.html +30 -30
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -40
  14. package/docs/classes/Magnifier.html +19 -19
  15. package/docs/classes/ModelRoomLabelController.html +10 -10
  16. package/docs/classes/MoveController.html +52 -25
  17. package/docs/classes/Object3DHelperController.html +24 -24
  18. package/docs/classes/PaintBrush.html +14 -14
  19. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  20. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  21. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  22. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  23. package/docs/classes/PanoTagPluginController.html +50 -50
  24. package/docs/classes/Util.BetterTween.html +8 -8
  25. package/docs/classes/Util.Interval.html +11 -11
  26. package/docs/classes/Util.LineSegments.html +7 -7
  27. package/docs/classes/Util.Magnifier.html +19 -19
  28. package/docs/classes/Util.Object3D.html +7 -7
  29. package/docs/classes/Util.PointDomHelper.html +10 -10
  30. package/docs/classes/Util.PointHelper.html +10 -10
  31. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  32. package/docs/classes/Util.Rectangle.html +12 -12
  33. package/docs/classes/WalkController.html +51 -24
  34. package/docs/enums/CameraMovementEffect.html +6 -6
  35. package/docs/enums/ContentType.html +20 -20
  36. package/docs/enums/DIRECTION.html +8 -8
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  38. package/docs/enums/DimensionType.html +6 -6
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  41. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  42. package/docs/enums/PointType.html +6 -6
  43. package/docs/enums/Rotation.html +7 -7
  44. package/docs/functions/AreaMakerPlugin.html +4 -4
  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 +4 -4
  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/ModelRoomLabelPlugin.html +3 -3
  57. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  58. package/docs/functions/ModelViewPlugin.html +3 -3
  59. package/docs/functions/MovePlugin.html +3 -3
  60. package/docs/functions/Object3DHelperPlugin.html +3 -3
  61. package/docs/functions/PanoCompassPlugin.html +3 -3
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  63. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  65. package/docs/functions/PanoMeasurePlugin.html +3 -3
  66. package/docs/functions/PanoRulerPlugin.html +3 -3
  67. package/docs/functions/PanoRulerProPlugin.html +3 -3
  68. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  69. package/docs/functions/PanoTagPlugin.html +3 -3
  70. package/docs/functions/PanoVideoPlugin.html +3 -3
  71. package/docs/functions/PipelinePlugin.html +3 -3
  72. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  73. package/docs/functions/Util.absoluteUrl.html +4 -4
  74. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  75. package/docs/functions/Util.equal.html +4 -4
  76. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  77. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  78. package/docs/functions/Util.getFrameTime.html +4 -4
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  81. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  82. package/docs/functions/Util.isModelLike.html +4 -4
  83. package/docs/functions/Util.isNil.html +4 -4
  84. package/docs/functions/Util.isPanoramaLike.html +4 -4
  85. package/docs/functions/Util.nextFrame.html +4 -4
  86. package/docs/functions/Util.notNil.html +4 -4
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  88. package/docs/functions/Util.tweenProgress.html +4 -4
  89. package/docs/functions/Util.uuid.html +4 -4
  90. package/docs/functions/pluginFlag.html +4 -4
  91. package/docs/index.html +4 -4
  92. package/docs/interfaces/AddTagConfig.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  102. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  104. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  105. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  106. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  120. package/docs/interfaces/EventMap.html +14 -14
  121. package/docs/interfaces/FloorplanBounding.html +7 -7
  122. package/docs/interfaces/FloorplanData.html +9 -9
  123. package/docs/interfaces/FloorplanEntrance.html +10 -10
  124. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  125. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  126. package/docs/interfaces/FloorplanFloorData.html +8 -8
  127. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  128. package/docs/interfaces/FloorplanObserver.html +8 -8
  129. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  130. package/docs/interfaces/FloorplanPosition.html +6 -6
  131. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  133. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  134. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  135. package/docs/interfaces/FloorplanServerData.html +6 -6
  136. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  138. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  139. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  140. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  141. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  143. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  144. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  153. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  156. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
  157. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  158. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  159. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  160. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  161. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  162. package/docs/interfaces/HelperOffset.html +7 -7
  163. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  164. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  165. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  166. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  167. package/docs/interfaces/MinMax.html +6 -6
  168. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  169. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  170. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  171. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  172. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  173. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  174. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  175. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  176. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  177. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  178. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  179. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  180. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  181. package/docs/interfaces/Object3DHelperState.html +7 -7
  182. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  183. package/docs/interfaces/PaintBrushAction.html +11 -11
  184. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  185. package/docs/interfaces/PaintBrushState.html +9 -9
  186. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  187. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  188. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  189. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  190. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  191. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  192. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  193. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  194. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  195. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  196. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  197. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  198. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  199. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  200. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  201. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  202. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  203. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  204. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  205. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  206. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  207. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  208. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  209. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  210. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  211. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  212. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  213. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  214. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  215. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  216. package/docs/interfaces/Point.html +7 -7
  217. package/docs/interfaces/Room.html +8 -8
  218. package/docs/interfaces/RoomInfo.html +6 -6
  219. package/docs/interfaces/RoomLabel.html +13 -13
  220. package/docs/interfaces/RoomRules.html +4 -4
  221. package/docs/interfaces/Rooms.html +4 -4
  222. package/docs/interfaces/Scissor.html +8 -8
  223. package/docs/interfaces/State.html +7 -7
  224. package/docs/interfaces/TagCacheInterface.html +11 -11
  225. package/docs/interfaces/TagConfig.html +13 -13
  226. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  227. package/docs/interfaces/TagIconUrl.html +11 -11
  228. package/docs/interfaces/TagObjectGroup.html +5 -5
  229. package/docs/interfaces/TagStyle.html +5 -5
  230. package/docs/interfaces/Tags.html +8 -8
  231. package/docs/interfaces/TemporaryState.html +5 -5
  232. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  233. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  234. package/docs/interfaces/Util.PointIntersection.html +7 -7
  235. package/docs/modules/AreaMakerPluginType.html +4 -4
  236. package/docs/modules/CruisePluginTypes.html +4 -4
  237. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  238. package/docs/modules/GuideLineItem.html +4 -4
  239. package/docs/modules/GuideLineModeItem.html +4 -4
  240. package/docs/modules/GuideLinePluginType.html +4 -4
  241. package/docs/modules/PanoVideoPluginType.html +4 -4
  242. package/docs/modules/Util.html +4 -4
  243. package/docs/modules.html +4 -4
  244. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +27 -5
  245. package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -4
  246. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  247. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  248. package/docs/types/ArrayPosition.html +4 -4
  249. package/docs/types/AudioAppearance.html +4 -4
  250. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  251. package/docs/types/CSS3DRenderExportType.html +4 -4
  252. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  253. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  254. package/docs/types/ClassFunctionParameters.html +4 -4
  255. package/docs/types/Color.html +4 -4
  256. package/docs/types/ContentTypeConfigKey.html +4 -4
  257. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  258. package/docs/types/ContentTypeMap.html +4 -4
  259. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  260. package/docs/types/Create3DElementReturnType.html +4 -4
  261. package/docs/types/CruisePluginExportType.html +4 -4
  262. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  263. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  264. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  265. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  266. package/docs/types/DeprecatedTagProperty.html +4 -4
  267. package/docs/types/Direction-1.html +4 -4
  268. package/docs/types/Direction4.html +4 -4
  269. package/docs/types/ElementRenderer.html +4 -4
  270. package/docs/types/FloorplanRuleLabels.html +4 -4
  271. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  272. package/docs/types/GuideLinePluginExportType.html +4 -4
  273. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  274. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  275. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  276. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  277. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  278. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  279. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  280. package/docs/types/HelperEventMap.html +4 -4
  281. package/docs/types/LoadTagConfig.html +4 -4
  282. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  283. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  284. package/docs/types/MediaData.html +4 -4
  285. package/docs/types/MediaStore.html +4 -4
  286. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  287. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  288. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  289. package/docs/types/ModelId.html +4 -4
  290. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  291. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  292. package/docs/types/MoveArgs.html +4 -4
  293. package/docs/types/MoveOpts.html +4 -4
  294. package/docs/types/Object3DHelperEventMap.html +4 -4
  295. package/docs/types/ObjectFit.html +4 -4
  296. package/docs/types/PaintBrushEventMap.html +4 -4
  297. package/docs/types/PanoCompassPluginData.html +4 -4
  298. package/docs/types/PanoCompassPluginExportType.html +4 -4
  299. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  300. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  301. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  302. package/docs/types/PanoIndex.html +4 -4
  303. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  304. package/docs/types/PanoMeasureReturnType.html +4 -4
  305. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  306. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  307. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  308. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  309. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  310. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  311. package/docs/types/PipelinePluginParameterType.html +4 -4
  312. package/docs/types/PipelinePluginReturnType.html +4 -4
  313. package/docs/types/PlaneTag.html +4 -4
  314. package/docs/types/Point2DTag.html +4 -4
  315. package/docs/types/Point3DTag.html +4 -4
  316. package/docs/types/PointTag.html +4 -4
  317. package/docs/types/PointTagInstance.html +4 -4
  318. package/docs/types/Position.html +4 -4
  319. package/docs/types/RotateArgs.html +4 -4
  320. package/docs/types/RotateOpts.html +4 -4
  321. package/docs/types/RuleLabelsKey.html +4 -4
  322. package/docs/types/RuleLabelsValue.html +4 -4
  323. package/docs/types/StickType.html +4 -4
  324. package/docs/types/Tag.html +4 -4
  325. package/docs/types/Tag2D.html +4 -4
  326. package/docs/types/Tag3D.html +4 -4
  327. package/docs/types/TagConfigByKey.html +4 -4
  328. package/docs/types/TagContentType.html +4 -4
  329. package/docs/types/TagContentTypeMapping.html +4 -4
  330. package/docs/types/TagDimensionType.html +4 -4
  331. package/docs/types/TagElement.html +4 -4
  332. package/docs/types/TagEvents.html +4 -4
  333. package/docs/types/TagGLTFObject.html +4 -4
  334. package/docs/types/TagHooks.html +4 -4
  335. package/docs/types/TagId.html +4 -4
  336. package/docs/types/TagInstance.html +4 -4
  337. package/docs/types/TagPointType.html +4 -4
  338. package/docs/types/TagRendererMap.html +4 -4
  339. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  340. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  341. package/docs/types/WorkCode.html +4 -4
  342. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  343. package/docs/variables/PLUGIN.html +4 -4
  344. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  345. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  346. package/docs/variables/defaultGlobalConfig.html +4 -4
  347. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  348. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  349. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  350. package/libs/AreaMakerPlugin/typing.d.ts +8 -0
  351. package/libs/AreaMakerPlugin/utils/Item.d.ts +1 -1
  352. package/libs/AreaMakerPlugin/utils/Item.js +12 -10
  353. package/libs/CruisePlugin/BaseController.d.ts +5 -2
  354. package/libs/CruisePlugin/BaseController.js +58 -50
  355. package/libs/CruisePlugin/Move.js +27 -26
  356. package/libs/CruisePlugin/Work.js +8 -7
  357. package/libs/CruisePlugin/index.js +7 -6
  358. package/libs/GuideLinePlugin/Controller.js +6 -5
  359. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  360. package/libs/GuideLinePlugin/index.js +9 -8
  361. package/libs/base/BasePlugin.js +1 -1
  362. package/libs/index.js +121 -120
  363. package/libs/shared-utils/Utils/FiveUtil.d.ts +10 -0
  364. package/libs/shared-utils/Utils/FiveUtil.js +27 -0
  365. package/libs/shared-utils/logger.js +1 -1
  366. package/package.json +1 -1
@@ -76,7 +76,7 @@ class it {
76
76
  /** 标注标签实例 */
77
77
  i(this, "tagApp");
78
78
  /** 标注标签是否可见 */
79
- i(this, "tagVisible", !0);
79
+ i(this, "tagVisible", null);
80
80
  /** 标注标签的世界坐标 */
81
81
  i(this, "tagPosition", new a.Vector3());
82
82
  /** 标注标签的 NDC 坐标 */
@@ -127,14 +127,14 @@ class it {
127
127
  this.makerObject.material.opacity = o, this.outline.material.opacity = l;
128
128
  return;
129
129
  }
130
- return new Promise((p) => {
130
+ return new Promise((m) => {
131
131
  this.opacityAnime = new T({ makerObjectOpacity: s, outlineOpacity: r }).to({
132
132
  makerObjectOpacity: o,
133
133
  outlineOpacity: l
134
- }).onUpdate(({ makerObjectOpacity: m, outlineOpacity: c }) => {
135
- this.makerObject.material.opacity = m, this.outline.material.opacity = c, this.plugin.five.needsRender = !0;
136
- }).onComplete(() => p(!0)).onDispose(() => {
137
- this.makerObject.material.opacity = o, this.outline.material.opacity = l, this.plugin.five.needsRender = !0, p(!1);
134
+ }).onUpdate(({ makerObjectOpacity: p, outlineOpacity: c }) => {
135
+ this.makerObject.material.opacity = p, this.outline.material.opacity = c, this.plugin.five.needsRender = !0;
136
+ }).onComplete(() => m(!0)).onDispose(() => {
137
+ this.makerObject.material.opacity = o, this.outline.material.opacity = l, this.plugin.five.needsRender = !0, m(!1);
138
138
  }).play();
139
139
  });
140
140
  });
@@ -182,7 +182,7 @@ class it {
182
182
  i(this, "updateTagVisible", () => {
183
183
  var s;
184
184
  const { result: e, msg: t } = this.checkTagVisible();
185
- this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== e && (this.tagVisible = e, (s = this.tagApp) == null || s.$set({ visible: e }));
185
+ this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== e && (this.tagVisible = e, this.tagVisible ? this.hooks.emit("tagShow") : this.hooks.emit("tagHide"), (s = this.tagApp) == null || s.$set({ visible: e }));
186
186
  });
187
187
  /** 检测标注标签是否可见 */
188
188
  i(this, "checkTagVisible", () => {
@@ -210,8 +210,8 @@ class it {
210
210
  };
211
211
  this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(t, 100);
212
212
  });
213
- var p, m, c, g;
214
- const s = t.object_data, o = s.bottom_y, r = s.height, l = new a.Color((p = s.color) != null ? p : "#FFFFFF"), h = (m = s.opacity) != null ? m : 0.4;
213
+ var m, p, c, g;
214
+ const s = t.object_data, o = s.bottom_y, r = s.height, l = new a.Color((m = s.color) != null ? m : "#FFFFFF"), h = (p = s.opacity) != null ? p : 0.4;
215
215
  this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = e, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new a.Shape().fromJSON(s.shape), this.floorIndex = t.floor_index, this.makerObject = new a.Mesh(d(this.shape, r), V(l, h)), u(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new y(
216
216
  new a.EdgesGeometry(this.makerObject.geometry),
217
217
  new a.LineBasicMaterial({ color: l, transparent: !0 })
@@ -219,6 +219,8 @@ class it {
219
219
  }
220
220
  /** 挂载标注 */
221
221
  mount() {
222
+ if (this.mounted)
223
+ return;
222
224
  this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline);
223
225
  const e = !!this.name, t = this.plugin.tagDomContainer;
224
226
  if (e) {
@@ -237,7 +239,7 @@ class it {
237
239
  /** 卸载标注 */
238
240
  unmount() {
239
241
  var e, t;
240
- this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (e = this.tagApp) == null || e.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), (t = this.resizeObserver) == null || t.unobserve();
242
+ this.mounted && (this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (e = this.tagApp) == null || e.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), (t = this.resizeObserver) == null || t.unobserve());
241
243
  }
242
244
  /** 更改标注透明度
243
245
  * @param opacity 标注透明度,范围:0-1
@@ -4,11 +4,14 @@ import type { GuideLinePluginExportType } from '../GuideLinePlugin';
4
4
  import * as BasePlugin from '../base/BasePlugin';
5
5
  import type { PluginState, EventMap, MoveEffect } from './typing';
6
6
  import type { PartialDeep } from 'type-fest';
7
- import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
7
+ import { FiveUtil } from '../shared-utils/Utils/FiveUtil';
8
8
  export declare const pluginFlag: (name: string) => string;
9
9
  export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
10
10
  state: PluginState;
11
- protected workUtil: WorkUtil;
11
+ set workCode(workCode: string);
12
+ get workCode(): string;
13
+ protected fiveUtil: FiveUtil;
14
+ protected workUtil: import("../shared-utils/Utils/WorkUtil").WorkUtil;
12
15
  protected data?: PluginData & {
13
16
  id: string | number;
14
17
  };
@@ -10,26 +10,26 @@ var p = (a, s, e) => s in a ? c(a, s, { enumerable: !0, configurable: !0, writab
10
10
  return a;
11
11
  };
12
12
  var d = (a, s, e) => (p(a, typeof s != "symbol" ? s + "" : s, e), e);
13
- var u = (a, s, e) => new Promise((t, i) => {
14
- var r = (h) => {
13
+ var u = (a, s, e) => new Promise((i, t) => {
14
+ var r = (l) => {
15
15
  try {
16
- n(e.next(h));
17
- } catch (o) {
18
- i(o);
16
+ o(e.next(l));
17
+ } catch (n) {
18
+ t(n);
19
19
  }
20
- }, b = (h) => {
20
+ }, b = (l) => {
21
21
  try {
22
- n(e.throw(h));
23
- } catch (o) {
24
- i(o);
22
+ o(e.throw(l));
23
+ } catch (n) {
24
+ t(n);
25
25
  }
26
- }, n = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(r, b);
27
- n((e = e.apply(a, s)).next());
26
+ }, o = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, b);
27
+ o((e = e.apply(a, s)).next());
28
28
  });
29
- import { Controller as y } from "../base/BasePlugin.js";
30
- import { equal as L } from "../shared-utils/equal.js";
31
- import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
- import { WorkUtil as P } from "../shared-utils/Utils/WorkUtil.js";
29
+ import { Controller as w } from "../base/BasePlugin.js";
30
+ import { equal as C } from "../shared-utils/equal.js";
31
+ import { objectAssignDeepExports as y } from "../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import { FiveUtil as L } from "../shared-utils/Utils/FiveUtil.js";
33
33
  import "../shared-utils/Subscribe.js";
34
34
  import "hammerjs";
35
35
  import "three";
@@ -53,11 +53,12 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
53
53
  import "../shared-utils/url/absoluteUrl.js";
54
54
  import "../shared-utils/isTruelyObject.js";
55
55
  import "../shared-utils/Utils/BaseUtil.js";
56
+ import "../shared-utils/Utils/WorkUtil.js";
56
57
  import "../shared-utils/five/transformPosition.js";
57
- const m = "CruisePlugin", l = `${m}`, Z = (a) => `${l}--${a}`;
58
- class ee extends y {
59
- constructor(e, t) {
60
- super(e, t);
58
+ const m = "CruisePlugin", h = `${m}`, ee = (a) => `${h}--${a}`;
59
+ class ie extends w {
60
+ constructor(e, i) {
61
+ super(e, i);
61
62
  d(this, "state", {
62
63
  visible: !0,
63
64
  enabled: !0,
@@ -65,7 +66,8 @@ class ee extends y {
65
66
  playing: !1,
66
67
  speed: 1
67
68
  });
68
- d(this, "workUtil", new P(this.five));
69
+ d(this, "fiveUtil", new L(this.five));
70
+ d(this, "workUtil", this.fiveUtil.workUtil);
69
71
  d(this, "data");
70
72
  d(this, "config");
71
73
  d(this, "pauseDataMap", /* @__PURE__ */ new Map());
@@ -76,15 +78,21 @@ class ee extends y {
76
78
  });
77
79
  d(this, "GuideLine");
78
80
  d(this, "disposedErrorLog", () => {
79
- console.error(`${l} is disposed`);
81
+ console.error(`${h} is disposed`);
80
82
  });
81
83
  d(this, "disableWarnLog", () => {
82
- console.warn(`${l} is disabled`);
84
+ console.warn(`${h} is disabled`);
83
85
  });
84
86
  d(this, "disableErrorLog", () => {
85
- console.error(`${l} is disabled`);
87
+ console.error(`${h} is disabled`);
86
88
  });
87
- this.config = t, Object.assign(window, { [`__${m}_DEBUG__`]: this });
89
+ this.config = i, Object.assign(window, { [`__${m}_DEBUG__`]: this });
90
+ }
91
+ set workCode(e) {
92
+ this.fiveUtil.workUtil.workCode = e;
93
+ }
94
+ get workCode() {
95
+ return this.fiveUtil.workUtil.workCode;
88
96
  }
89
97
  /**
90
98
  * @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
@@ -135,50 +143,50 @@ class ee extends y {
135
143
  /**
136
144
  * @description Set state
137
145
  */
138
- setState(e, t) {
146
+ setState(e, i) {
139
147
  var r;
140
148
  if (this.state.disposed)
141
149
  return this.disposedErrorLog();
142
150
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
143
151
  return this.disableErrorLog();
144
- const i = g({}, this.state);
145
- this.state = C({}, this.state, e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed), L(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 });
152
+ const t = g({}, this.state);
153
+ this.state = y({}, this.state, e), e.disposed !== void 0 && e.disposed !== t.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== t.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== t.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== t.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== t.speed && this.changeSpeed(e.speed), C(t, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 });
146
154
  }
147
155
  /**
148
156
  * @description Clear pause data
149
157
  */
150
158
  clearPauseData() {
151
- var e, t;
159
+ var e, i;
152
160
  if ((e = this.data) != null && e.id)
153
- return this.pauseDataMap.delete((t = this.data) == null ? void 0 : t.id);
161
+ return this.pauseDataMap.delete((i = this.data) == null ? void 0 : i.id);
154
162
  }
155
- changePlayState(e, t) {
163
+ changePlayState(e, i) {
156
164
  this.actionIfStateIsEnabled(
157
165
  () => {
158
- var i;
159
- return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 });
166
+ var t;
167
+ return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (t = i == null ? void 0 : i.userAction) != null ? t : !0 });
160
168
  }
161
- ), e ? this.handlePlay(t) : this.handlePause(t), this.state.playing = e;
169
+ ), e ? this.handlePlay(i) : this.handlePause(i), this.state.playing = e;
162
170
  }
163
- handleEnable(e, t = !0) {
164
- var i, r;
165
- e ? ((i = this.GuideLine) == null || i.enable(), this.hooks.emit("enable", { userAction: t })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: t }), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
171
+ handleEnable(e, i = !0) {
172
+ var t, r;
173
+ e ? ((t = this.GuideLine) == null || t.enable(), this.hooks.emit("enable", { userAction: i })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: i }), this.hooks.emit("disable", { userAction: i })), this.state.enabled = e;
166
174
  }
167
- handleVisible(e, t = !0) {
168
- var i, r;
169
- e ? ((i = this.GuideLine) == null || i.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
175
+ handleVisible(e, i = !0) {
176
+ var t, r;
177
+ e ? ((t = this.GuideLine) == null || t.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: i }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: i }))), this.state.visible = e;
170
178
  }
171
179
  /**
172
180
  * @description: listen interupted by five gesture
173
181
  */
174
182
  addInterruptListener(e) {
175
- const t = () => {
183
+ const i = () => {
176
184
  this.privateState.modeChanging || e();
177
- }, i = (r) => {
178
- r !== "mouseMove" && (e(), this.five.off("gesture", i));
185
+ }, t = (r) => {
186
+ r !== "mouseMove" && (e(), this.five.off("gesture", t));
179
187
  };
180
- return this.five.on("gesture", i), this.five.once("wantsChangeMode", t), () => {
181
- this.five.off("gesture", i), this.five.off("wantsChangeMode", t);
188
+ return this.five.on("gesture", t), this.five.once("wantsChangeMode", i), () => {
189
+ this.five.off("gesture", t), this.five.off("wantsChangeMode", i);
182
190
  };
183
191
  }
184
192
  /**
@@ -202,8 +210,8 @@ class ee extends y {
202
210
  * @description Set pause data
203
211
  */
204
212
  setPauseData() {
205
- var t;
206
- const e = (t = this.data) == null ? void 0 : t.id;
213
+ var i;
214
+ const e = (i = this.data) == null ? void 0 : i.id;
207
215
  if (e)
208
216
  return this.pauseDataMap.set(e, {
209
217
  fiveState: this.five.getCurrentState(),
@@ -224,13 +232,13 @@ class ee extends y {
224
232
  /**
225
233
  * @description Action function if plugin is enable
226
234
  */
227
- actionIfStateIsEnabled(e, t) {
235
+ actionIfStateIsEnabled(e, i) {
228
236
  if (this.state.enabled)
229
237
  return e();
230
- t != null && t.warnLog && this.disableWarnLog();
238
+ i != null && i.warnLog && this.disableWarnLog();
231
239
  }
232
240
  }
233
241
  export {
234
- ee as default,
235
- Z as pluginFlag
242
+ ie as default,
243
+ ee as pluginFlag
236
244
  };
@@ -2,30 +2,30 @@ var C = Object.defineProperty, P = Object.defineProperties;
2
2
  var b = Object.getOwnPropertyDescriptors;
3
3
  var y = Object.getOwnPropertySymbols;
4
4
  var k = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
- var u = (r, t, e) => t in r ? C(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, d = (r, t) => {
6
- for (var e in t || (t = {}))
7
- k.call(t, e) && u(r, e, t[e]);
5
+ var u = (r, e, t) => e in r ? C(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, d = (r, e) => {
6
+ for (var t in e || (e = {}))
7
+ k.call(e, t) && u(r, t, e[t]);
8
8
  if (y)
9
- for (var e of y(t))
10
- O.call(t, e) && u(r, e, t[e]);
9
+ for (var t of y(e))
10
+ O.call(e, t) && u(r, t, e[t]);
11
11
  return r;
12
- }, c = (r, t) => P(r, b(t));
13
- var f = (r, t, e) => (u(r, typeof t != "symbol" ? t + "" : t, e), e);
14
- var S = (r, t, e) => new Promise((s, h) => {
12
+ }, c = (r, e) => P(r, b(e));
13
+ var f = (r, e, t) => (u(r, typeof e != "symbol" ? e + "" : e, t), t);
14
+ var S = (r, e, t) => new Promise((s, h) => {
15
15
  var o = (i) => {
16
16
  try {
17
- n(e.next(i));
17
+ n(t.next(i));
18
18
  } catch (a) {
19
19
  h(a);
20
20
  }
21
21
  }, p = (i) => {
22
22
  try {
23
- n(e.throw(i));
23
+ n(t.throw(i));
24
24
  } catch (a) {
25
25
  h(a);
26
26
  }
27
27
  }, n = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(o, p);
28
- n((e = e.apply(r, t)).next());
28
+ n((t = t.apply(r, e)).next());
29
29
  });
30
30
  import w from "./BaseController.js";
31
31
  import { objectAssignDeepExports as l } from "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -42,8 +42,9 @@ import "../shared-utils/Subscribe.js";
42
42
  import "../shared-utils/url/absoluteUrl.js";
43
43
  import "../shared-utils/equal.js";
44
44
  import "../shared-utils/isTruelyObject.js";
45
- import "../shared-utils/Utils/WorkUtil.js";
45
+ import "../shared-utils/Utils/FiveUtil.js";
46
46
  import "../shared-utils/Utils/BaseUtil.js";
47
+ import "../shared-utils/Utils/WorkUtil.js";
47
48
  import "../shared-utils/five/transformPosition.js";
48
49
  import "../shared-utils/positionToVector3.js";
49
50
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -60,17 +61,17 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
60
61
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
61
62
  import "../shared-utils/vectorToCoordinate.js";
62
63
  import "../shared-utils/formatRad.js";
63
- class he extends w {
64
- constructor(e, s) {
64
+ class nt extends w {
65
+ constructor(t, s) {
65
66
  var p;
66
- super(e, s);
67
+ super(t, s);
67
68
  f(this, "curve");
68
69
  f(this, "baseCurveOffset");
69
70
  f(this, "curveOffset");
70
71
  f(this, "playStartedTime", performance.now());
71
72
  f(this, "duration");
72
- f(this, "changeSpeed", (e, s = !0) => {
73
- this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: s });
73
+ f(this, "changeSpeed", (t, s = !0) => {
74
+ this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: s });
74
75
  });
75
76
  f(this, "moveToStart", () => {
76
77
  this.five.setState(c(d({}, g(this.curve, 0, this.curveOffset)), { mode: "Model" }));
@@ -81,8 +82,8 @@ class he extends w {
81
82
  f(this, "getDuration", () => this.getSpeededDuration(this.duration));
82
83
  f(this, "getProgress", () => {
83
84
  var i;
84
- const e = this.getPauseData();
85
- let s = (i = e == null ? void 0 : e.playedProgress) != null ? i : 0;
85
+ const t = this.getPauseData();
86
+ let s = (i = t == null ? void 0 : t.playedProgress) != null ? i : 0;
86
87
  (s < 0 || s >= 1) && (s = 0);
87
88
  const h = 1 - s, o = this.getDuration(), n = (performance.now() - this.playStartedTime) / o;
88
89
  return 1 - h + n;
@@ -99,9 +100,9 @@ class he extends w {
99
100
  };
100
101
  this.state = l({}, h, this.state), this.config = l({}, o, this.config), this.baseCurveOffset = l({ x: 0, y: 0, z: 0 }, { y: 2 }, (p = this.config) == null ? void 0 : p.offset);
101
102
  }
102
- load(e, s) {
103
+ load(t, s) {
103
104
  var p, n, i, a, m, v;
104
- if (this.handlePause(), this.clear(), this.data = d({ id: x() }, e), this.curve = this.data.path.curves[0], this.curveOffset = {
105
+ if (this.handlePause(), this.clear(), this.data = d({ id: x() }, t), this.curve = this.data.path.curves[0], this.curveOffset = {
105
106
  x: this.baseCurveOffset.x + ((n = (p = this.data.offset) == null ? void 0 : p.x) != null ? n : 0),
106
107
  y: this.baseCurveOffset.y + ((a = (i = this.data.offset) == null ? void 0 : i.y) != null ? a : 0),
107
108
  z: this.baseCurveOffset.z + ((v = (m = this.data.offset) == null ? void 0 : m.z) != null ? v : 0)
@@ -111,7 +112,7 @@ class he extends w {
111
112
  return this.duration = h / (this.state.config.speedConfig.moveSpeed / o), 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();
112
113
  }
113
114
  handlePlay() {
114
- return new Promise((e, s) => S(this, null, function* () {
115
+ return new Promise((t, s) => S(this, null, function* () {
115
116
  var i;
116
117
  this.hooks.emit("play", { userAction: !0 });
117
118
  const h = this.getPauseData();
@@ -126,7 +127,7 @@ class he extends w {
126
127
  const n = () => {
127
128
  const a = this.getProgress();
128
129
  if (a >= 1)
129
- this.five.off("renderFrame", n), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), e("end");
130
+ this.five.off("renderFrame", n), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), t("end");
130
131
  else if (this.state.playing === !1)
131
132
  this.five.off("renderFrame", n);
132
133
  else if (a >= 0) {
@@ -137,11 +138,11 @@ class he extends w {
137
138
  this.five.on("renderFrame", n);
138
139
  }));
139
140
  }
140
- handlePause(e) {
141
+ handlePause(t) {
141
142
  var s;
142
- this.state.playing = !1, this.hooks.emit("pause", { userAction: (s = e == null ? void 0 : e.userAction) != null ? s : !0 }), this.setPauseData();
143
+ this.state.playing = !1, this.hooks.emit("pause", { userAction: (s = t == null ? void 0 : t.userAction) != null ? s : !0 }), this.setPauseData();
143
144
  }
144
145
  }
145
146
  export {
146
- he as default
147
+ nt as default
147
148
  };
@@ -31,8 +31,8 @@ import { GuideLinePlugin as K } from "../GuideLinePlugin/index.js";
31
31
  import { uuid as S } from "../shared-utils/uuid.js";
32
32
  import { coordinatesAngle as L } from "./utils/coordinatesAngle.js";
33
33
  import { safeCall as T } from "./utils/safeCall.js";
34
- import * as O from "three";
35
- import { sleep as U } from "./utils/sleep.js";
34
+ import * as U from "three";
35
+ import { sleep as O } from "./utils/sleep.js";
36
36
  import { waitFiveLoaded as M } from "../shared-utils/five/fiveLoaded.js";
37
37
  import { vectorToCoordinates as A } from "../shared-utils/vectorToCoordinate.js";
38
38
  import G from "./BaseController.js";
@@ -201,10 +201,11 @@ import "../shared-utils/five/changeMode.js";
201
201
  import "../shared-utils/nearlyEqual.js";
202
202
  import "./Move.js";
203
203
  import "./utils/getFiveStateOnCurve.js";
204
+ import "../shared-utils/Utils/FiveUtil.js";
204
205
  import "../shared-utils/formatRad.js";
205
206
  import "./Work.js";
206
207
  import "./utils/coordinatesToVector.js";
207
- class $i extends G {
208
+ class tr extends G {
208
209
  constructor(t, e) {
209
210
  super(t, e);
210
211
  k(this, "state", {
@@ -308,7 +309,7 @@ class $i extends G {
308
309
  const d = this.workUtil.getObserverPosition(n), u = this.workUtil.getObserverPosition(p);
309
310
  if (!u || !d || ((v = this.workUtil.getObserver(n)) == null ? void 0 : v.floorIndex) !== ((c = this.workUtil.getObserver(p)) == null ? void 0 : c.floorIndex))
310
311
  return;
311
- const f = new O.Vector3().subVectors(u, d);
312
+ const f = new U.Vector3().subVectors(u, d);
312
313
  return A(f.normalize());
313
314
  })();
314
315
  e.moveType === void 0 || e.moveType === "justMove" ? r.push({
@@ -373,7 +374,7 @@ class $i extends G {
373
374
  s.emit("playIndexChange", f.index, f), yield this.playKeyframe(f, {
374
375
  moveEffect: a === !1 ? i.moveToFirstPanoEffect : void 0,
375
376
  duration: a === !1 && typeof i.moveToFirstPanoDuration == "number" ? i.moveToFirstPanoDuration : void 0
376
- }), f.stay && (yield U(f.stay)), a === !1 && (a = !0);
377
+ }), f.stay && (yield O(f.stay)), a === !1 && (a = !0);
377
378
  } catch (v) {
378
379
  return console.error(v), Promise.resolve("broke");
379
380
  }
@@ -572,7 +573,7 @@ class $i extends G {
572
573
  })();
573
574
  i.currentPlayKeyframe && (i.currentPlayKeyframe.originDuration = o), yield new Promise((a) => {
574
575
  var p, d, u;
575
- r.moveToPano(t.panoIndex, {
576
+ this.fiveUtil.moveToPano(t.panoIndex, {
576
577
  latitude: t.latitude,
577
578
  longitude: t.longitude,
578
579
  fov: t.fov,
@@ -594,5 +595,5 @@ class $i extends G {
594
595
  }
595
596
  }
596
597
  export {
597
- $i as default
598
+ tr as default
598
599
  };
@@ -1,4 +1,4 @@
1
- import { typing as Tt } from "./typing/index.js";
1
+ import { typing as Wt } from "./typing/index.js";
2
2
  import t from "./Work.js";
3
3
  import i from "./Move.js";
4
4
  import "../GuideLinePlugin/index.js";
@@ -175,14 +175,15 @@ import "./utils/sleep.js";
175
175
  import "../shared-utils/vectorToCoordinate.js";
176
176
  import "../shared-utils/formatRad.js";
177
177
  import "./BaseController.js";
178
+ import "../shared-utils/Utils/FiveUtil.js";
178
179
  import "./utils/getFiveStateOnCurve.js";
179
- const yt = (o, r) => new t(o, r), Mt = (o, r) => new i(o, r);
180
+ const Mt = (o, r) => new t(o, r), dt = (o, r) => new i(o, r);
180
181
  export {
181
- yt as CruisePlugin,
182
+ Mt as CruisePlugin,
182
183
  t as CruisePluginController,
183
- Tt as CruisePluginTypes,
184
+ Wt as CruisePluginTypes,
184
185
  i as MoveController,
185
- Mt as MovePlugin,
186
+ dt as MovePlugin,
186
187
  t as WalkController,
187
- yt as default
188
+ Mt as default
188
189
  };
@@ -193,6 +193,7 @@ import "../shared-utils/five/changeMode.js";
193
193
  import "../shared-utils/nearlyEqual.js";
194
194
  import "../CruisePlugin/Move.js";
195
195
  import "../CruisePlugin/BaseController.js";
196
+ import "../shared-utils/Utils/FiveUtil.js";
196
197
  import "../shared-utils/Utils/BaseUtil.js";
197
198
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
198
199
  import "../shared-utils/vectorToCoordinate.js";
@@ -203,8 +204,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
203
204
  import "../CruisePlugin/utils/coordinatesToVector.js";
204
205
  import "../CruisePlugin/utils/safeCall.js";
205
206
  import "../CruisePlugin/utils/sleep.js";
206
- const b = "GuideLinePlugin", g = `${b}`, ie = (s) => `${g}--${s}`;
207
- class re extends O {
207
+ const b = "GuideLinePlugin", g = `${b}`, re = (s) => `${g}--${s}`;
208
+ class ee extends O {
208
209
  constructor(t, i) {
209
210
  super(t, i);
210
211
  h(this, "name", b);
@@ -250,7 +251,7 @@ class re extends O {
250
251
  visible: !!(!e.lines && e.routes),
251
252
  unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
252
253
  width: (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.6,
253
- texture: { url: (I = r == null ? void 0 : r.arrowTextureUrl) != null ? I : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
254
+ texture: { url: (I = r == null ? void 0 : r.arrowTextureUrl) != null ? I : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
254
255
  }
255
256
  }, d = (y = (E = e.routes) == null ? void 0 : E.map((l) => {
256
257
  var L;
@@ -353,6 +354,6 @@ class re extends O {
353
354
  }
354
355
  }
355
356
  export {
356
- re as default,
357
- ie as pluginFlag
357
+ ee as default,
358
+ re as pluginFlag
358
359
  };
@@ -5,7 +5,7 @@ import "@realsee/five";
5
5
  import "../shared-utils/five/changeMode.js";
6
6
  import "../CruisePlugin/Move.js";
7
7
  import "../CruisePlugin/Work.js";
8
- import { GuideLineItem as co } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as go } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -164,6 +164,7 @@ import "../shared-utils/nearlyEqual.js";
164
164
  import "../CruisePlugin/BaseController.js";
165
165
  import "../shared-utils/equal.js";
166
166
  import "../shared-utils/isTruelyObject.js";
167
+ import "../shared-utils/Utils/FiveUtil.js";
167
168
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
168
169
  import "../shared-utils/vectorToCoordinate.js";
169
170
  import "../shared-utils/formatRad.js";
@@ -176,5 +177,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
176
177
  import "../CruisePlugin/utils/safeCall.js";
177
178
  import "../CruisePlugin/utils/sleep.js";
178
179
  export {
179
- co as GuideLineItem
180
+ go as GuideLineItem
180
181
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as ct } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as wt } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as gt } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as Ct } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -38,8 +38,9 @@ import "../shared-utils/vectorToCoordinate.js";
38
38
  import "../shared-utils/formatRad.js";
39
39
  import "../CruisePlugin/BaseController.js";
40
40
  import "../vendor/object-assign-deep/objectAssignDeep.js";
41
- import "../shared-utils/Utils/WorkUtil.js";
41
+ import "../shared-utils/Utils/FiveUtil.js";
42
42
  import "../shared-utils/Utils/BaseUtil.js";
43
+ import "../shared-utils/Utils/WorkUtil.js";
43
44
  import "../shared-utils/five/transformPosition.js";
44
45
  import "../shared-utils/log.js";
45
46
  import "./utils/createLineGeometry.js";
@@ -175,10 +176,10 @@ import "../shared-utils/five/changeMode.js";
175
176
  import "../shared-utils/nearlyEqual.js";
176
177
  import "../CruisePlugin/Move.js";
177
178
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
178
- const xt = (i, o) => new t(i, o);
179
+ const Mt = (i, o) => new t(i, o);
179
180
  export {
180
- ct as GuideLineItem,
181
- wt as GuideLineModeItem,
182
- xt as GuideLinePlugin,
183
- xt as default
181
+ gt as GuideLineItem,
182
+ Ct as GuideLineModeItem,
183
+ Mt as GuideLinePlugin,
184
+ Mt as default
184
185
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.11.0-dev.0");
17
+ i(this, "VERSION", "3.12.0-dev.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子