@realsee/dnalogel 3.3.5-dev.0 → 3.4.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 (386) hide show
  1. package/dist/CruisePlugin/CruiseController.d.ts +146 -0
  2. package/dist/CruisePlugin/Move.d.ts +25 -0
  3. package/dist/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  4. package/dist/CruisePlugin/index.d.ts +4 -3
  5. package/dist/CruisePlugin/typing.d.ts +2 -2
  6. package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  7. package/dist/GuideLinePlugin/Controller.d.ts +1 -6
  8. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +4 -0
  9. package/dist/PanoTagPlugin/controller/TagRender.d.ts +0 -4
  10. package/dist/index.cjs.js +53 -53
  11. package/dist/index.js +4420 -4234
  12. package/dist/index.umd.js +48 -48
  13. package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
  14. package/docs/assets/search.js +1 -1
  15. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -31
  16. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +33 -32
  17. package/docs/classes/CSS3DRender.html +32 -31
  18. package/docs/classes/GuideLineItem.GuideLineItem.html +20 -19
  19. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +42 -41
  20. package/docs/classes/Magnifier.html +21 -20
  21. package/docs/classes/ModelRoomLabelController.html +12 -11
  22. package/docs/classes/MoveController.html +640 -0
  23. package/docs/classes/Object3DHelperController.html +26 -25
  24. package/docs/classes/PaintBrush.html +16 -15
  25. package/docs/classes/PanoMeasurePluginLine.html +28 -27
  26. package/docs/classes/PanoMeasurePluginModel.html +28 -27
  27. package/docs/classes/PanoMeasurePluginPoint.html +12 -11
  28. package/docs/classes/PanoMeasurePluginPolyline.html +28 -27
  29. package/docs/classes/PanoTagPluginController.html +49 -48
  30. package/docs/classes/Util.BetterTween.html +10 -9
  31. package/docs/classes/Util.Interval.html +13 -12
  32. package/docs/classes/Util.LineSegments.html +9 -8
  33. package/docs/classes/Util.Magnifier.html +21 -20
  34. package/docs/classes/Util.Object3D.html +9 -8
  35. package/docs/classes/Util.PointDomHelper.html +12 -11
  36. package/docs/classes/Util.PointHelper.html +12 -11
  37. package/docs/classes/Util.PointSelectorHelper.html +17 -16
  38. package/docs/classes/Util.Rectangle.html +14 -13
  39. package/docs/classes/{CruisePluginController.html → WalkController.html} +51 -57
  40. package/docs/enums/CameraMovementEffect.html +8 -7
  41. package/docs/enums/ContentType.html +21 -20
  42. package/docs/enums/DIRECTION.html +10 -9
  43. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  44. package/docs/enums/DimensionType.html +8 -7
  45. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  46. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  47. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  48. package/docs/enums/PointType.html +8 -7
  49. package/docs/enums/Rotation.html +9 -8
  50. package/docs/functions/AreaMakerPlugin.html +6 -5
  51. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  52. package/docs/functions/CameraMovementPlugin.html +5 -4
  53. package/docs/functions/CruisePlugin.html +7 -6
  54. package/docs/functions/CurrentPanoImagePlugin.html +5 -4
  55. package/docs/functions/GuideLinePlugin.html +6 -5
  56. package/docs/functions/ItemLabelPlugin.html +5 -4
  57. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  58. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  60. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  61. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  62. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  63. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  64. package/docs/functions/ModelViewPlugin.html +5 -4
  65. package/docs/functions/Object3DHelperPlugin.html +5 -4
  66. package/docs/functions/PanoCompassPlugin.html +5 -4
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  68. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  70. package/docs/functions/PanoMeasurePlugin.html +5 -4
  71. package/docs/functions/PanoRulerPlugin.html +5 -4
  72. package/docs/functions/PanoRulerProPlugin.html +5 -4
  73. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  74. package/docs/functions/PanoTagPlugin.html +5 -4
  75. package/docs/functions/PanoVideoPlugin.html +5 -4
  76. package/docs/functions/PipelinePlugin.html +5 -4
  77. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  78. package/docs/functions/Util.absoluteUrl.html +6 -5
  79. package/docs/functions/Util.checkFiveModelLoaded.html +6 -5
  80. package/docs/functions/Util.equal.html +6 -5
  81. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  82. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  83. package/docs/functions/Util.getFrameTime.html +6 -5
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  86. package/docs/functions/Util.isAbsoluteURL.html +6 -5
  87. package/docs/functions/Util.isModelLike.html +6 -5
  88. package/docs/functions/Util.isNil.html +6 -5
  89. package/docs/functions/Util.isPanoramaLike.html +6 -5
  90. package/docs/functions/Util.nextFrame.html +6 -5
  91. package/docs/functions/Util.notNil.html +6 -5
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  93. package/docs/functions/Util.tweenProgress.html +6 -5
  94. package/docs/functions/Util.uuid.html +6 -5
  95. package/docs/functions/pluginFlag.html +6 -5
  96. package/docs/index.html +6 -5
  97. package/docs/interfaces/AddTagConfig.html +7 -6
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -6
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -6
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +16 -15
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -7
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -9
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -8
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -6
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -6
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -6
  107. package/docs/interfaces/AreaMakerPluginType.State.html +9 -8
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  109. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  110. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  111. package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
  112. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
  113. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
  114. package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
  115. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
  116. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
  117. package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
  118. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -6
  119. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -35
  120. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +12 -11
  121. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +13 -12
  122. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +8 -7
  123. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +7 -6
  124. package/docs/interfaces/CurrentPanoImagePluginType.State.html +9 -8
  125. package/docs/interfaces/EventMap.html +16 -15
  126. package/docs/interfaces/FloorplanBounding.html +9 -8
  127. package/docs/interfaces/FloorplanData.html +11 -10
  128. package/docs/interfaces/FloorplanEntrance.html +12 -11
  129. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  130. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  131. package/docs/interfaces/FloorplanFloorData.html +10 -9
  132. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  133. package/docs/interfaces/FloorplanObserver.html +10 -9
  134. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  135. package/docs/interfaces/FloorplanPosition.html +8 -7
  136. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  137. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  138. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  139. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  140. package/docs/interfaces/FloorplanServerData.html +8 -7
  141. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  142. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  143. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  144. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  145. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  146. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  147. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  148. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  149. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  150. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  151. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
  152. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
  153. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
  154. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
  155. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
  156. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
  157. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -6
  158. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
  159. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -19
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -7
  161. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -19
  162. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
  163. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -6
  164. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
  165. package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
  166. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
  167. package/docs/interfaces/HelperOffset.html +9 -8
  168. package/docs/interfaces/ImagePlaneGroup.html +7 -6
  169. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  170. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  171. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  172. package/docs/interfaces/MinMax.html +8 -7
  173. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  174. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  175. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  176. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  177. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  178. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  179. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  180. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  181. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  182. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  183. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  184. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  185. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  186. package/docs/interfaces/Object3DHelperState.html +9 -8
  187. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  188. package/docs/interfaces/PaintBrushAction.html +13 -12
  189. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  190. package/docs/interfaces/PaintBrushState.html +11 -10
  191. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  192. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  193. package/docs/interfaces/PanoMeasureParameterType.html +17 -16
  194. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  195. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  196. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  197. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  198. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  199. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  200. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  201. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  202. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  203. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  204. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  205. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  206. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  207. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  208. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  209. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  210. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  211. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  212. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  213. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  214. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
  215. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
  216. package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
  217. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
  218. package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
  219. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
  220. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
  221. package/docs/interfaces/Point.html +9 -8
  222. package/docs/interfaces/Room.html +10 -9
  223. package/docs/interfaces/RoomInfo.html +8 -7
  224. package/docs/interfaces/RoomLabel.html +15 -14
  225. package/docs/interfaces/RoomRules.html +6 -5
  226. package/docs/interfaces/Rooms.html +6 -5
  227. package/docs/interfaces/Scissor.html +10 -9
  228. package/docs/interfaces/State.html +9 -8
  229. package/docs/interfaces/TagCacheInterface.html +13 -12
  230. package/docs/interfaces/TagConfig.html +15 -14
  231. package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
  232. package/docs/interfaces/TagIconUrl.html +13 -12
  233. package/docs/interfaces/TagObjectGroup.html +7 -6
  234. package/docs/interfaces/TagStyle.html +7 -6
  235. package/docs/interfaces/Tags.html +10 -9
  236. package/docs/interfaces/TemporaryState.html +7 -6
  237. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  238. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  239. package/docs/interfaces/Util.PointIntersection.html +9 -8
  240. package/docs/modules/AreaMakerPluginType.html +6 -5
  241. package/docs/modules/CruisePluginTypes.html +6 -5
  242. package/docs/modules/CurrentPanoImagePluginType.html +6 -5
  243. package/docs/modules/GuideLineItem.html +6 -5
  244. package/docs/modules/GuideLineModeItem.html +6 -5
  245. package/docs/modules/GuideLinePluginType.html +6 -5
  246. package/docs/modules/PanoVideoPluginType.html +6 -5
  247. package/docs/modules/Util.html +6 -5
  248. package/docs/modules.html +8 -6
  249. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -5
  250. package/docs/types/AreaMakerPluginType.PluginData.html +6 -5
  251. package/docs/types/AreaMakerPluginType.ServerData.html +6 -5
  252. package/docs/types/ArrayPosition.html +6 -5
  253. package/docs/types/AudioAppearance.html +6 -5
  254. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  255. package/docs/types/CSS3DRenderExportType.html +6 -5
  256. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  257. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  258. package/docs/types/ClassFunctionParameters.html +6 -5
  259. package/docs/types/Color.html +6 -5
  260. package/docs/types/ContentTypeConfigKey.html +6 -5
  261. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  262. package/docs/types/ContentTypeMap.html +6 -5
  263. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  264. package/docs/types/Create3DElementReturnType.html +6 -5
  265. package/docs/types/CruisePluginExportType.html +6 -5
  266. package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
  267. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
  268. package/docs/types/CurrentPanoImagePluginExportType.html +6 -5
  269. package/docs/types/DeprecatedMediaPlaneProperty.html +6 -5
  270. package/docs/types/DeprecatedTagProperty.html +6 -5
  271. package/docs/types/Direction-1.html +6 -5
  272. package/docs/types/Direction4.html +6 -5
  273. package/docs/types/ElementRenderer.html +6 -5
  274. package/docs/types/FloorplanRuleLabels.html +6 -5
  275. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  276. package/docs/types/GuideLinePluginExportType.html +6 -5
  277. package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -5
  278. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
  279. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
  280. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
  281. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -5
  282. package/docs/types/GuideLinePluginType.PathItem.html +6 -5
  283. package/docs/types/GuideLinePluginType.PluginData.html +6 -5
  284. package/docs/types/HelperEventMap.html +6 -5
  285. package/docs/types/LoadTagConfig.html +6 -5
  286. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  287. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  288. package/docs/types/MediaData.html +6 -5
  289. package/docs/types/MediaStore.html +6 -5
  290. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  291. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  292. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  293. package/docs/types/ModelId.html +6 -5
  294. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  295. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  296. package/docs/types/MoveArgs.html +6 -5
  297. package/docs/types/MoveOpts.html +6 -5
  298. package/docs/types/Object3DHelperEventMap.html +6 -5
  299. package/docs/types/ObjectFit.html +6 -5
  300. package/docs/types/PaintBrushEventMap.html +6 -5
  301. package/docs/types/PanoCompassPluginData.html +6 -5
  302. package/docs/types/PanoCompassPluginExportType.html +6 -5
  303. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  304. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  305. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  306. package/docs/types/PanoIndex.html +6 -5
  307. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  308. package/docs/types/PanoMeasureReturnType.html +6 -5
  309. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  310. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  311. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  312. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  313. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  314. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -5
  315. package/docs/types/PipelinePluginParameterType.html +6 -5
  316. package/docs/types/PipelinePluginReturnType.html +6 -5
  317. package/docs/types/PlaneTag.html +6 -5
  318. package/docs/types/Point2DTag.html +6 -5
  319. package/docs/types/Point3DTag.html +6 -5
  320. package/docs/types/PointTag.html +6 -5
  321. package/docs/types/PointTagInstance.html +6 -5
  322. package/docs/types/Position.html +6 -5
  323. package/docs/types/RotateArgs.html +6 -5
  324. package/docs/types/RotateOpts.html +6 -5
  325. package/docs/types/RuleLabelsKey.html +6 -5
  326. package/docs/types/RuleLabelsValue.html +6 -5
  327. package/docs/types/StickType.html +6 -5
  328. package/docs/types/Tag.html +6 -5
  329. package/docs/types/Tag2D.html +6 -5
  330. package/docs/types/Tag3D.html +6 -5
  331. package/docs/types/TagConfigByKey.html +6 -5
  332. package/docs/types/TagContentType.html +6 -5
  333. package/docs/types/TagDimensionType.html +6 -5
  334. package/docs/types/TagElement.html +6 -5
  335. package/docs/types/TagEvents.html +6 -5
  336. package/docs/types/TagGLTFObject.html +6 -5
  337. package/docs/types/TagHooks.html +6 -5
  338. package/docs/types/TagId.html +6 -5
  339. package/docs/types/TagInstance.html +6 -5
  340. package/docs/types/TagPointType.html +6 -5
  341. package/docs/types/TagRendererMap.html +6 -5
  342. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  343. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  344. package/docs/types/WorkCode.html +6 -5
  345. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  346. package/docs/variables/PLUGIN.html +6 -5
  347. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  348. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  349. package/docs/variables/defaultGlobalConfig.html +6 -5
  350. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  351. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  352. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  353. package/libs/CruisePlugin/CruiseController.d.ts +146 -0
  354. package/libs/CruisePlugin/CruiseController.js +235 -0
  355. package/libs/CruisePlugin/Move.d.ts +25 -0
  356. package/libs/CruisePlugin/Move.js +111 -0
  357. package/libs/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
  358. package/libs/CruisePlugin/{Controller.js → Work.js} +149 -177
  359. package/libs/CruisePlugin/index.d.ts +4 -3
  360. package/libs/CruisePlugin/index.js +14 -10
  361. package/libs/CruisePlugin/typing.d.ts +2 -2
  362. package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
  363. package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
  364. package/libs/GuideLinePlugin/Controller.d.ts +1 -6
  365. package/libs/GuideLinePlugin/Controller.js +60 -74
  366. package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
  367. package/libs/GuideLinePlugin/GuideLineItem.js +12 -9
  368. package/libs/GuideLinePlugin/index.js +20 -17
  369. package/libs/PanoTagPlugin/Components/TagItem.js +255 -287
  370. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +4 -0
  371. package/libs/PanoTagPlugin/controller/TagComputer.js +135 -116
  372. package/libs/PanoTagPlugin/controller/TagRender.d.ts +0 -4
  373. package/libs/PanoTagPlugin/controller/TagRender.js +71 -90
  374. package/libs/base/BasePlugin.js +1 -1
  375. package/libs/index.js +123 -119
  376. package/libs/shared-utils/five/fiveLoaded.d.ts +2 -0
  377. package/libs/shared-utils/five/fiveLoaded.js +30 -0
  378. package/libs/shared-utils/formatRad.d.ts +7 -0
  379. package/libs/shared-utils/formatRad.js +7 -0
  380. package/libs/shared-utils/logger.js +1 -1
  381. package/package.json +2 -2
  382. package/dist/CruisePlugin/utils/linerValue.d.ts +0 -1
  383. /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
  384. /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  385. /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
  386. /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
@@ -1,40 +1,40 @@
1
- var A = Object.defineProperty;
1
+ var V = Object.defineProperty;
2
2
  var R = Object.getOwnPropertySymbols;
3
- var V = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
4
- var C = (c, l, t) => l in c ? A(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
3
+ var E = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
4
+ var C = (c, l, t) => l in c ? V(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
5
5
  for (var t in l || (l = {}))
6
- V.call(l, t) && C(c, t, l[t]);
6
+ E.call(l, t) && C(c, t, l[t]);
7
7
  if (R)
8
8
  for (var t of R(l))
9
- E.call(l, t) && C(c, t, l[t]);
9
+ A.call(l, t) && C(c, t, l[t]);
10
10
  return c;
11
11
  };
12
12
  var f = (c, l, t) => (C(c, typeof l != "symbol" ? l + "" : l, t), t);
13
13
  var S = (c, l, t) => new Promise((e, o) => {
14
- var i = (s) => {
14
+ var i = (r) => {
15
15
  try {
16
- a(t.next(s));
16
+ a(t.next(r));
17
17
  } catch (n) {
18
18
  o(n);
19
19
  }
20
- }, r = (s) => {
20
+ }, s = (r) => {
21
21
  try {
22
- a(t.throw(s));
22
+ a(t.throw(r));
23
23
  } catch (n) {
24
24
  o(n);
25
25
  }
26
- }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
26
+ }, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(i, s);
27
27
  a((t = t.apply(c, l)).next());
28
28
  });
29
- import { TagComputer as I } from "./TagComputer.js";
30
- import { Group as y, Quaternion as O, Vector3 as T, Matrix4 as v } from "three";
31
- import x from "../Components/TagContainer.js";
29
+ import { TagComputer as x } from "./TagComputer.js";
30
+ import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
31
+ import I from "../Components/TagContainer.js";
32
32
  import G from "../Components/Tag/index.js";
33
33
  import { CSS3DRenderPlugin as F } from "../../CSS3DRenderPlugin/index.js";
34
- import { loadGLTF as _ } from "../../shared-utils/three/GLTFLoader.js";
35
- import { isMediaModelTag as D, isStickModelTag as L } from "../utils/tag/tagCheck.js";
34
+ import { loadGLTF as L } from "../../shared-utils/three/GLTFLoader.js";
35
+ import { isMediaModelTag as D, isStickModelTag as W } from "../utils/tag/tagCheck.js";
36
36
  import { VideoPlane as w, ImagePlane as k } from "../utils/model/mediaPlane.js";
37
- import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
37
+ import { centerPoint as $ } from "../../shared-utils/three/centerPoint.js";
38
38
  import { arrayPositionToVector3 as g } from "../../shared-utils/positionToVector3.js";
39
39
  import "../utils/tagPosition.js";
40
40
  import "../utils/checkRange.js";
@@ -158,8 +158,8 @@ import "../Components/Tag/CustomTag.js";
158
158
  import "../../CSS3DRenderPlugin/Controller.js";
159
159
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
160
160
  import "@realsee/five/gltf-loader";
161
- const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
162
- class ui extends I {
161
+ const q = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
162
+ class ui extends x {
163
163
  constructor(t) {
164
164
  super(t);
165
165
  f(this, "group", new y());
@@ -179,13 +179,13 @@ class ui extends I {
179
179
  if (!e)
180
180
  return;
181
181
  t.loading = !0;
182
- const o = _(e).then((s) => {
182
+ const o = L(e).then((r) => {
183
183
  var m;
184
- const n = Object.assign(s.scene, {
184
+ const n = Object.assign(r.scene, {
185
185
  customID: t.id,
186
186
  isTagModel: !0,
187
187
  removeEventListener: this.getTagConfig(t).clickable === !1 ? () => {
188
- } : this.addObjectClickHandler(t, s.scene, (h) => {
188
+ } : this.addObjectClickHandler(t, r.scene, (h) => {
189
189
  this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
190
190
  })
191
191
  });
@@ -196,14 +196,14 @@ class ui extends I {
196
196
  if (t.loading = !1, ((a = t.model) == null ? void 0 : a.promise) !== o || !this.tags.includes(t))
197
197
  return;
198
198
  t.model.object = i;
199
- const r = this.gltfObjectGroup.children.find((s) => s.customID === t.id);
200
- if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
199
+ const s = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
200
+ if (s && (this.gltfObjectGroup.remove(s), s.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
201
201
  if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
202
- const s = t.data.mediaPosition.map(g);
202
+ const r = t.data.mediaPosition.map(g);
203
203
  t.mediaPlane = new k(t.data.mediaData[0].url, t.data.mediaPosition.map(g), {
204
204
  objectFit: t.data.objectFit
205
205
  });
206
- const n = new T().addVectors(s[0], s[2]).divideScalar(2);
206
+ const n = new b().addVectors(r[0], r[2]).divideScalar(2);
207
207
  t.mediaPlane.position.copy(n), i.add(t.mediaPlane);
208
208
  }
209
209
  this.getRenderType(t) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, i), i.updateTagCss3DObjectMatrix());
@@ -248,22 +248,22 @@ class ui extends I {
248
248
  if (!i)
249
249
  return;
250
250
  e.mediaPlane && !((h = (m = e.state) == null ? void 0 : m.visible) == null || h) && e.mediaPlane instanceof w && e.mediaPlane.pause();
251
- const r = e.position.map(g), a = this.getCurrentVisibleState(e), s = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), d = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
252
- if ((s || d) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || d) {
253
- const p = new w(i, r, {
251
+ const s = e.position.map(g), a = this.getCurrentVisibleState(e), r = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), p = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
252
+ if ((r || p) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || p) {
253
+ const d = new w(i, s, {
254
254
  videoCoverSrc: o.videoCoverUrl,
255
255
  playButton: e.data.playIcon,
256
256
  paused: !((P = e.data.autoplayConfig) != null && P.autoplayVideo),
257
257
  objectFit: e.data.objectFit,
258
- videoTextureMap: $,
259
- ImageTextureMap: q,
258
+ videoTextureMap: q,
259
+ ImageTextureMap: B,
260
260
  domEvents: this.domEvents
261
261
  });
262
- p.onVideoReady = (u) => {
263
- u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
262
+ d.onVideoReady = (u) => {
263
+ u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
264
264
  };
265
- const b = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
266
- p.initialRenderHooks(b), e.mediaPlane = p, this.imagePlaneGroup.add(e.mediaPlane);
265
+ const T = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
266
+ d.initialRenderHooks(T), e.mediaPlane = d, this.imagePlaneGroup.add(e.mediaPlane);
267
267
  }
268
268
  });
269
269
  }
@@ -278,9 +278,9 @@ class ui extends I {
278
278
  const { url: o } = e.data.mediaData[0];
279
279
  if (!o)
280
280
  return;
281
- const i = e.position.map(g), r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
282
- (a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (d) => {
283
- this.hooks.emit("click", { tag: e, target: "TagContent", event: d.origDomEvent });
281
+ const i = e.position.map(g), s = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !s))(), r = (() => !!(!e.mediaPlane && s))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
282
+ (a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (r || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (p) => {
283
+ this.hooks.emit("click", { tag: e, target: "TagContent", event: p.origDomEvent });
284
284
  }), this.imagePlaneGroup.add(e.mediaPlane));
285
285
  });
286
286
  }
@@ -289,12 +289,12 @@ class ui extends I {
289
289
  */
290
290
  updateRender3DDomTag() {
291
291
  this.filterCSS3DTag.forEach((e) => {
292
- var o, i, r;
292
+ var o, i, s;
293
293
  if (e.tag3DContentSvelte) {
294
- const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: d } = e.tag3DContentSvelte;
295
- if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(d)) {
296
- const m = new O().setFromUnitVectors(n, d);
297
- s.css3DObject.setRotationFromQuaternion(m);
294
+ const { svelteApp: a, css3DInstance: r, initialNormal: n, currentNormal: p } = e.tag3DContentSvelte;
295
+ if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(p)) {
296
+ const m = new O().setFromUnitVectors(n, p);
297
+ r.css3DObject.setRotationFromQuaternion(m);
298
298
  }
299
299
  return;
300
300
  } else {
@@ -305,24 +305,24 @@ class ui extends I {
305
305
  const a = this.getPositions(e);
306
306
  if (!a)
307
307
  return;
308
- const s = this.getTagNormal(e);
309
- if (!s)
308
+ const r = this.getTagNormal(e);
309
+ if (!r)
310
310
  return;
311
- const n = this.getTagConfig(e), d = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
312
- if (this.getRenderType(e) === "BehindDom" || d.mode === "behind") {
313
- d.mode = "behind", d.container = document.createElement("div");
311
+ const n = this.getTagConfig(e), p = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
312
+ if (this.getRenderType(e) === "BehindDom" || p.mode === "behind") {
313
+ p.mode = "behind", p.container = document.createElement("div");
314
314
  const P = "black";
315
- d.container.style.backgroundColor = P, d.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
316
- var p;
315
+ p.container.style.backgroundColor = P, p.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
316
+ var d;
317
317
  if (m.css3DObject.opacityMesh && n.clickable !== !1) {
318
- const b = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
318
+ const T = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
319
319
  this.hooks.emit("click", { event: u, target: "TagContent", tag: e });
320
320
  });
321
- (p = this.store.css3DRenderDisposer.get(e.id)) == null || p.push(b);
321
+ (d = this.store.css3DRenderDisposer.get(e.id)) == null || d.push(T);
322
322
  }
323
323
  });
324
324
  }
325
- const m = this.css3DRenderPlugin.create3DDomContainer(a, d);
325
+ const m = this.css3DRenderPlugin.create3DDomContainer(a, p);
326
326
  if (!m)
327
327
  return;
328
328
  this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
@@ -341,12 +341,12 @@ class ui extends I {
341
341
  svelteApp: h,
342
342
  domContainer: m,
343
343
  css3DInstance: m,
344
- initialNormal: s,
345
- currentNormal: s,
344
+ initialNormal: r,
345
+ currentNormal: r,
346
346
  dispose: () => {
347
347
  h.$destroy(), m.dispose();
348
348
  }
349
- }, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
349
+ }, D(e) && ((s = e.model) != null && s.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
350
350
  }
351
351
  }), this.clearUnusedPanelTag();
352
352
  }
@@ -360,8 +360,8 @@ class ui extends I {
360
360
  updateRenderModelTag() {
361
361
  const t = (i) => !this.enabledModelTagSet.has(i.customID), e = this.gltfObjectGroup.children.filter(t);
362
362
  e.forEach((i) => i.removeEventListener()), this.gltfObjectGroup.remove(...e), this.tags.filter((i) => i.stickType === "Model").forEach((i) => {
363
- var r;
364
- (r = i.model) == null || r.promise.then((a) => {
363
+ var s;
364
+ (s = i.model) == null || s.promise.then((a) => {
365
365
  a.visible = this.getCurrentVisibleState(i);
366
366
  });
367
367
  }), this.five.needsRender = !0;
@@ -378,45 +378,26 @@ class ui extends I {
378
378
  * @param model 模型
379
379
  */
380
380
  updateTagCss3DObjectMatrix(t, e) {
381
- var b, u, M;
382
- const o = (u = (b = this.getTagConfig(t).tag3DConfig) == null ? void 0 : b.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
381
+ var T, u, M;
382
+ const o = (u = (T = this.getTagConfig(t).tag3DConfig) == null ? void 0 : T.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
383
383
  if (!i)
384
384
  return;
385
- const r = D(t) ? t.data.mediaPosition : t.position;
386
- if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
385
+ const s = D(t) ? t.data.mediaPosition : t.position;
386
+ if (!s || s.length !== 4 || !Array.isArray(s[0]) || !Array.isArray(s[2]))
387
387
  return;
388
388
  e.updateWorldMatrix(!1, !1);
389
- const a = e.matrixWorld, s = new T().fromArray(r[0]), n = new T().fromArray(r[2]), d = W(s, n).add(new T(0, 0, 5e-4)), m = new v().setPosition(d), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
389
+ const a = e.matrixWorld, r = new b().fromArray(s[0]), n = new b().fromArray(s[2]), p = $(r, n).add(new b(0, 0, 5e-4)), m = new v().setPosition(p), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
390
390
  P.decompose(i.position, i.quaternion, i.scale);
391
- const p = i.opacityMesh;
392
- p && P.decompose(p.position, p.quaternion, p.scale);
391
+ const d = i.opacityMesh;
392
+ d && P.decompose(d.position, d.quaternion, d.scale);
393
393
  }
394
394
  /** 添加模型标签 */
395
395
  addMediaModelTag(t) {
396
396
  return S(this, null, function* () {
397
- const e = t.filter(L).map((o) => this.loadModel(o));
397
+ const e = t.filter(W).map((o) => this.loadModel(o));
398
398
  yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
399
399
  });
400
400
  }
401
- /**
402
- * @description: 一个点的标签
403
- */
404
- setPointTagPosition() {
405
- const t = this.filterPointTag;
406
- t.length !== 0 && t.forEach((e) => {
407
- var a;
408
- const o = this.getCurrentVisibleState(e), i = (a = e.__Object__) != null ? a : {
409
- timeoutId: void 0,
410
- inAnimation: !0
411
- };
412
- if (e.__Object__ = i, !o && e.screenPosition ? (i.inAnimation = !0, i.timeoutId = setTimeout(() => {
413
- this.getCurrentVisibleState(e) || (i.inAnimation = !1, e.screenPosition = null, this.updateDomView());
414
- }, 1e3)) : i.timeoutId && (i.inAnimation = !1, clearTimeout(i.timeoutId)), !o && !i.inAnimation)
415
- return;
416
- const r = this.getTagProject(e);
417
- r ? e.screenPosition = { leftPercent: (r.x + 1) / 2 * 100, topPercent: (-r.y + 1) / 2 * 100 } : e.screenPosition = null;
418
- });
419
- }
420
401
  /**
421
402
  * @description: 渲染单个点的标签
422
403
  */
@@ -434,8 +415,8 @@ class ui extends I {
434
415
  temporaryState: this.temporaryState,
435
416
  withAnimation: this.store.visibleWithAnimation
436
417
  }), this.filterCSS3DTag.forEach((e) => {
437
- var o, i, r, a, s;
438
- (a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((r = e.state) == null ? void 0 : r.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
418
+ var o, i, s, a, r;
419
+ (a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((s = e.state) == null ? void 0 : s.visible)) !== !1), (r = e.tag3DContentSvelte) == null || r.svelteApp.$set({
439
420
  state: this.state,
440
421
  temporaryState: this.temporaryState,
441
422
  withAnimation: this.store.visibleWithAnimation
@@ -466,11 +447,11 @@ class ui extends I {
466
447
  if (this.TagContainerSvelte)
467
448
  this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
468
449
  else {
469
- const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
470
- if (!r)
450
+ const s = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
451
+ if (!s)
471
452
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
472
- this.TagContainerSvelte = new x({
473
- target: r,
453
+ this.TagContainerSvelte = new I({
454
+ target: s,
474
455
  props: {
475
456
  hooks: this.hooks,
476
457
  tags: e,
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.3.5-dev.0");
17
+ i(this, "VERSION", "3.4.0-dev.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
package/libs/index.js CHANGED
@@ -1,59 +1,60 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as kp } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as zp } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Kp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Wp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Zp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as re, modelRoomLabelPluginServerParams as te } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as me } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as ee } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as le } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as Pe } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as fe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as ge, ROOM_FETILE_TYPE_MAP as se, ROOM_TYPE_MAP as de } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Te } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as Ce } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Ee } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as Re, Rotation as Oe } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Ae } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as De } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as be } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as Ye } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as ce } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as Ne } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as we } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as He } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as je } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as ke } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as ze } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Ke } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as We } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Ze } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as rn } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as mn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as en } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as ln } from "./CurrentPanoImagePlugin/index.js";
37
- import { index as Pn } from "./shared-utils/index.js";
38
- import { CSS3DRender as fn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
- import { Model as gn } from "./PanoMeasurePlugin/Model/index.js";
40
- import { default as dn } from "./PanoMeasurePlugin/Model/point.js";
41
- import { default as Tn } from "./PanoMeasurePlugin/Model/line.js";
42
- import { Polyline as Cn } from "./PanoMeasurePlugin/Model/polyline.js";
43
- import { default as En } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
- import { DISPLAY_STRATEGY_TYPE as Rn } from "./ModelItemLabelPlugin/typings.js";
45
- import { ModelItemLabelPlugin as yn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Sn } from "./ItemLabelPlugin/typings.js";
47
- import { Plugin as Gn } from "./ItemLabelPlugin/Plugin.js";
48
- import { GuideLineItem$1 as Fn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
- import { GuideLineModeItem$1 as vn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
- import { default as Vn } from "./CruisePlugin/Controller.js";
51
- import { typing as hn } from "./CruisePlugin/typing/index.js";
52
- import { default as Bn, pluginFlag as Hn } from "./PanoTagPlugin/controller/index.js";
53
- import { defaultGlobalConfig as jn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
- import { ContentType as kn, DimensionType as qn, PointType as zn } from "./PanoTagPlugin/Archive/deprecated.js";
55
- import { Object3DHelperController as Kn, PLUGIN as Qn } from "./Object3DHelperPlugin/Controller.js";
56
- import { typings as Xn } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as qp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Jp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Qp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Zp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as re } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as ie, modelRoomLabelPluginServerParams as me } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as ee } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as le } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as Pe } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as ue } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as ge } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as de, ROOM_FETILE_TYPE_MAP as Me, ROOM_TYPE_MAP as Te } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as Ce } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Ee } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as Re } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as ye, Rotation as Ae } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as De } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as be } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as Fe } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as ce } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Ne } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as we } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as He } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as je } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as $e } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as qe } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Je } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as Qe } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as Ze } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as rn } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as mn } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as en } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as ln } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as Pn } from "./CurrentPanoImagePlugin/index.js";
37
+ import { index as un } from "./shared-utils/index.js";
38
+ import { CSS3DRender as gn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
+ import { Model as dn } from "./PanoMeasurePlugin/Model/index.js";
40
+ import { default as Tn } from "./PanoMeasurePlugin/Model/point.js";
41
+ import { default as Cn } from "./PanoMeasurePlugin/Model/line.js";
42
+ import { Polyline as En } from "./PanoMeasurePlugin/Model/polyline.js";
43
+ import { default as Rn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
+ import { DISPLAY_STRATEGY_TYPE as yn } from "./ModelItemLabelPlugin/typings.js";
45
+ import { ModelItemLabelPlugin as Sn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Gn } from "./ItemLabelPlugin/typings.js";
47
+ import { Plugin as vn } from "./ItemLabelPlugin/Plugin.js";
48
+ import { GuideLineItem$1 as Yn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
+ import { GuideLineModeItem$1 as Vn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
+ import { default as hn } from "./CruisePlugin/Work.js";
51
+ import { default as Bn } from "./CruisePlugin/Move.js";
52
+ import { typing as Un } from "./CruisePlugin/typing/index.js";
53
+ import { default as kn, pluginFlag as $n } from "./PanoTagPlugin/controller/index.js";
54
+ import { defaultGlobalConfig as qn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
55
+ import { ContentType as Jn, DimensionType as Kn, PointType as Qn } from "./PanoTagPlugin/Archive/deprecated.js";
56
+ import { Object3DHelperController as Zn, PLUGIN as ol } from "./Object3DHelperPlugin/Controller.js";
57
+ import { typings as tl } from "./PanoVideoPlugin/typings/index.js";
57
58
  import "./components/PaintBrush/Controller.js";
58
59
  import "./components/PaintBrush/utils.js";
59
60
  import "./components/PaintBrush/tween.js";
@@ -247,6 +248,7 @@ import "./PanoDoorLabelPlugin/BaseController.js";
247
248
  import "./PanoDoorLabelPlugin/DoorLabelItem.js";
248
249
  import "./PanoDoorLabelPlugin/utils.js";
249
250
  import "./GuideLinePlugin/Controller.js";
251
+ import "./shared-utils/five/fiveLoaded.js";
250
252
  import "./shared-utils/log.js";
251
253
  import "./GuideLinePlugin/utils/createLineGeometry.js";
252
254
  import "./vendor/polyline-normals/index.js";
@@ -361,10 +363,11 @@ import "./GuideLinePlugin/utils/index.js";
361
363
  import "./CruisePlugin/utils/coordinatesAngle.js";
362
364
  import "./CruisePlugin/utils/coordinatesToVector.js";
363
365
  import "./CruisePlugin/utils/safeCall.js";
364
- import "./CruisePlugin/utils/vectorToCoordinates.js";
365
- import "./CruisePlugin/utils/formatRad.js";
366
- import "./CruisePlugin/utils/linerValue.js";
367
366
  import "./CruisePlugin/utils/sleep.js";
367
+ import "./shared-utils/vectorToCoordinate.js";
368
+ import "./shared-utils/formatRad.js";
369
+ import "./CruisePlugin/CruiseController.js";
370
+ import "./CruisePlugin/utils/getFiveStateOnCurve.js";
368
371
  import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
369
372
  import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
370
373
  import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
@@ -419,66 +422,67 @@ import "./shared-utils/three/getRaycaster.js";
419
422
  r();
420
423
  o();
421
424
  export {
422
- en as AreaMakerPlugin,
423
- fn as CSS3DRender,
424
- Wp as CSS3DRenderPlugin,
425
- Re as CameraMovementEffect,
426
- Ee as CameraMovementPlugin,
427
- kn as ContentType,
428
- Ke as CruisePlugin,
429
- Vn as CruisePluginController,
430
- hn as CruisePluginTypes,
431
- ln as CurrentPanoImagePlugin,
432
- He as DIRECTION,
433
- Rn as DISPLAY_STRATEGY_TYPE,
434
- qn as DimensionType,
435
- me as FLOOR_PLAN_ATTACHED_TO,
436
- ge as FLOOR_TYPE_MAP,
437
- Fn as GuideLineItem,
438
- vn as GuideLineModeItem,
439
- ze as GuideLinePlugin,
440
- Sn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
441
- Gn as ItemLabelPlugin,
442
- En as Magnifier,
443
- le as MapviewFloorplanPlugin,
444
- Te as ModelChassisCompassPlugin,
445
- Ce as ModelEntryDoorGuidePlugin,
446
- ee as ModelFloorplanPlugin,
447
- yn as ModelItemLabelPlugin,
448
- re as ModelRoomLabelPlugin,
449
- we as ModelTVVideoPlugin,
450
- Kp as ModelViewPlugin,
451
- Kn as Object3DHelperController,
452
- Ze as Object3DHelperPlugin,
453
- Qn as PLUGIN,
454
- kp as PaintBrush,
455
- zp as PaintBrushTypeEnum,
456
- be as PanoCompassPlugin,
457
- Zp as PanoCursorRaycasterPlugin,
458
- ke as PanoDoorLabelPlugin,
459
- fe as PanoFloorplanRadarPlugin,
460
- Ye as PanoMeasurePlugin,
461
- Tn as PanoMeasurePluginLine,
462
- gn as PanoMeasurePluginModel,
463
- dn as PanoMeasurePluginPoint,
464
- Cn as PanoMeasurePluginPolyline,
465
- Ae as PanoRulerPlugin,
466
- De as PanoRulerProPlugin,
467
- ce as PanoSpatialTagPlugin,
468
- We as PanoTagPlugin,
469
- Bn as PanoTagPluginController,
470
- rn as PanoVideoPlugin,
471
- Xn as PanoVideoPluginType,
472
- mn as PipelinePlugin,
473
- zn as PointType,
474
- se as ROOM_FETILE_TYPE_MAP,
475
- de as ROOM_TYPE_MAP,
476
- Oe as Rotation,
477
- Pe as TopviewFloorplanPlugin,
478
- Pn as Util,
479
- jn as defaultGlobalConfig,
480
- je as itemLabelPluginServerParams,
481
- Ne as modelItemLabelPluginServerParams,
482
- te as modelRoomLabelPluginServerParams,
483
- Hn as pluginFlag
425
+ ln as AreaMakerPlugin,
426
+ gn as CSS3DRender,
427
+ Zp as CSS3DRenderPlugin,
428
+ ye as CameraMovementEffect,
429
+ Re as CameraMovementPlugin,
430
+ Jn as ContentType,
431
+ Qe as CruisePlugin,
432
+ Un as CruisePluginTypes,
433
+ Pn as CurrentPanoImagePlugin,
434
+ je as DIRECTION,
435
+ yn as DISPLAY_STRATEGY_TYPE,
436
+ Kn as DimensionType,
437
+ ee as FLOOR_PLAN_ATTACHED_TO,
438
+ de as FLOOR_TYPE_MAP,
439
+ Yn as GuideLineItem,
440
+ Vn as GuideLineModeItem,
441
+ Je as GuideLinePlugin,
442
+ Gn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
443
+ vn as ItemLabelPlugin,
444
+ Rn as Magnifier,
445
+ Pe as MapviewFloorplanPlugin,
446
+ Ce as ModelChassisCompassPlugin,
447
+ Ee as ModelEntryDoorGuidePlugin,
448
+ le as ModelFloorplanPlugin,
449
+ Sn as ModelItemLabelPlugin,
450
+ ie as ModelRoomLabelPlugin,
451
+ He as ModelTVVideoPlugin,
452
+ Qp as ModelViewPlugin,
453
+ Bn as MoveController,
454
+ Zn as Object3DHelperController,
455
+ rn as Object3DHelperPlugin,
456
+ ol as PLUGIN,
457
+ qp as PaintBrush,
458
+ Jp as PaintBrushTypeEnum,
459
+ Fe as PanoCompassPlugin,
460
+ re as PanoCursorRaycasterPlugin,
461
+ qe as PanoDoorLabelPlugin,
462
+ ge as PanoFloorplanRadarPlugin,
463
+ ce as PanoMeasurePlugin,
464
+ Cn as PanoMeasurePluginLine,
465
+ dn as PanoMeasurePluginModel,
466
+ Tn as PanoMeasurePluginPoint,
467
+ En as PanoMeasurePluginPolyline,
468
+ De as PanoRulerPlugin,
469
+ be as PanoRulerProPlugin,
470
+ Ne as PanoSpatialTagPlugin,
471
+ Ze as PanoTagPlugin,
472
+ kn as PanoTagPluginController,
473
+ mn as PanoVideoPlugin,
474
+ tl as PanoVideoPluginType,
475
+ en as PipelinePlugin,
476
+ Qn as PointType,
477
+ Me as ROOM_FETILE_TYPE_MAP,
478
+ Te as ROOM_TYPE_MAP,
479
+ Ae as Rotation,
480
+ ue as TopviewFloorplanPlugin,
481
+ un as Util,
482
+ hn as WalkController,
483
+ qn as defaultGlobalConfig,
484
+ $e as itemLabelPluginServerParams,
485
+ we as modelItemLabelPluginServerParams,
486
+ me as modelRoomLabelPluginServerParams,
487
+ $n as pluginFlag
484
488
  };
@@ -0,0 +1,2 @@
1
+ import type { Five } from '@realsee/five';
2
+ export declare function waitFiveLoaded(five: Five): Promise<void>;
@@ -0,0 +1,30 @@
1
+ var i = (e, o, r) => new Promise((c, d) => {
2
+ var u = (n) => {
3
+ try {
4
+ t(r.next(n));
5
+ } catch (a) {
6
+ d(a);
7
+ }
8
+ }, w = (n) => {
9
+ try {
10
+ t(r.throw(n));
11
+ } catch (a) {
12
+ d(a);
13
+ }
14
+ }, t = (n) => n.done ? c(n.value) : Promise.resolve(n.value).then(u, w);
15
+ t((r = r.apply(e, o)).next());
16
+ });
17
+ function k(e) {
18
+ return i(this, null, function* () {
19
+ return new Promise((o) => {
20
+ if (e.work) {
21
+ o();
22
+ return;
23
+ }
24
+ e.once("loaded", () => o());
25
+ });
26
+ });
27
+ }
28
+ export {
29
+ k as waitFiveLoaded
30
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 将弧度转成 0 - 2PI 中的值
3
+ * @param rad - 任意弧度值
4
+ * @return 0 - 2PI 的数值
5
+ */
6
+ declare function formatRad(rad: number): number;
7
+ export { formatRad };