@realsee/dnalogel 3.11.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 (386) hide show
  1. package/dist/CruisePlugin/BaseController.d.ts +5 -0
  2. package/dist/CruisePlugin/Work.d.ts +1 -5
  3. package/dist/GuideLinePlugin/Controller.d.ts +4 -0
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
  5. package/dist/base/BasePlugin.d.ts +1 -1
  6. package/dist/index.cjs.js +49 -49
  7. package/dist/index.js +2743 -2655
  8. package/dist/index.umd.js +44 -44
  9. package/dist/shared-utils/Utils/BaseUtil.d.ts +5 -0
  10. package/dist/shared-utils/Utils/FiveUtil.d.ts +10 -0
  11. package/dist/shared-utils/Utils/WorkUtil.d.ts +33 -0
  12. package/docs/.nojekyll +1 -0
  13. package/docs/assets/highlight.css +120 -0
  14. package/docs/assets/main.js +58 -0
  15. package/docs/assets/search.js +1 -0
  16. package/docs/assets/style.css +1367 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +730 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +693 -0
  19. package/docs/classes/CSS3DRender.html +777 -0
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +480 -0
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +860 -0
  22. package/docs/classes/Magnifier.html +484 -0
  23. package/docs/classes/ModelRoomLabelController.html +402 -0
  24. package/docs/classes/MoveController.html +680 -0
  25. package/docs/classes/Object3DHelperController.html +644 -0
  26. package/docs/classes/PaintBrush.html +506 -0
  27. package/docs/classes/PanoMeasurePluginLine.html +526 -0
  28. package/docs/classes/PanoMeasurePluginModel.html +575 -0
  29. package/docs/classes/PanoMeasurePluginPoint.html +366 -0
  30. package/docs/classes/PanoMeasurePluginPolyline.html +571 -0
  31. package/docs/classes/PanoTagPluginController.html +1131 -0
  32. package/docs/classes/Util.BetterTween.html +420 -0
  33. package/docs/classes/Util.Interval.html +436 -0
  34. package/docs/classes/Util.LineSegments.html +388 -0
  35. package/docs/classes/Util.Magnifier.html +507 -0
  36. package/docs/classes/Util.Object3D.html +410 -0
  37. package/docs/classes/Util.PointDomHelper.html +411 -0
  38. package/docs/classes/Util.PointHelper.html +402 -0
  39. package/docs/classes/Util.PointSelectorHelper.html +458 -0
  40. package/docs/classes/Util.Rectangle.html +459 -0
  41. package/docs/classes/WalkController.html +699 -0
  42. package/docs/enums/CameraMovementEffect.html +314 -0
  43. package/docs/enums/ContentType.html +460 -0
  44. package/docs/enums/DIRECTION.html +324 -0
  45. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +324 -0
  46. package/docs/enums/DimensionType.html +314 -0
  47. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +317 -0
  48. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +324 -0
  49. package/docs/enums/PaintBrushTypeEnum.html +317 -0
  50. package/docs/enums/PointType.html +314 -0
  51. package/docs/enums/Rotation.html +321 -0
  52. package/docs/functions/AreaMakerPlugin.html +294 -0
  53. package/docs/functions/CSS3DRenderPlugin.html +292 -0
  54. package/docs/functions/CameraMovementPlugin.html +297 -0
  55. package/docs/functions/CruisePlugin.html +294 -0
  56. package/docs/functions/CurrentPanoImagePlugin.html +294 -0
  57. package/docs/functions/GuideLinePlugin.html +294 -0
  58. package/docs/functions/ItemLabelPlugin.html +294 -0
  59. package/docs/functions/MapviewFloorplanPlugin.html +294 -0
  60. package/docs/functions/ModelChassisCompassPlugin.html +297 -0
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +297 -0
  62. package/docs/functions/ModelFloorplanPlugin.html +294 -0
  63. package/docs/functions/ModelItemLabelPlugin.html +294 -0
  64. package/docs/functions/ModelRoomLabelPlugin.html +292 -0
  65. package/docs/functions/ModelTVVideoPlugin.html +294 -0
  66. package/docs/functions/ModelViewPlugin.html +297 -0
  67. package/docs/functions/MovePlugin.html +294 -0
  68. package/docs/functions/Object3DHelperPlugin.html +292 -0
  69. package/docs/functions/PanoCompassPlugin.html +294 -0
  70. package/docs/functions/PanoCursorRaycasterPlugin.html +298 -0
  71. package/docs/functions/PanoDoorLabelPlugin.html +294 -0
  72. package/docs/functions/PanoFloorplanRadarPlugin.html +294 -0
  73. package/docs/functions/PanoMeasurePlugin.html +294 -0
  74. package/docs/functions/PanoRulerPlugin.html +297 -0
  75. package/docs/functions/PanoRulerProPlugin.html +297 -0
  76. package/docs/functions/PanoSpatialTagPlugin.html +297 -0
  77. package/docs/functions/PanoTagPlugin.html +299 -0
  78. package/docs/functions/PanoVideoPlugin.html +303 -0
  79. package/docs/functions/PipelinePlugin.html +292 -0
  80. package/docs/functions/TopviewFloorplanPlugin.html +294 -0
  81. package/docs/functions/Util.absoluteUrl.html +330 -0
  82. package/docs/functions/Util.checkFiveModelLoaded.html +333 -0
  83. package/docs/functions/Util.equal.html +342 -0
  84. package/docs/functions/Util.getCoordsFromClient.html +332 -0
  85. package/docs/functions/Util.getCoordsFromElement.html +332 -0
  86. package/docs/functions/Util.getFrameTime.html +324 -0
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +332 -0
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +332 -0
  89. package/docs/functions/Util.isAbsoluteURL.html +325 -0
  90. package/docs/functions/Util.isModelLike.html +325 -0
  91. package/docs/functions/Util.isNil.html +333 -0
  92. package/docs/functions/Util.isPanoramaLike.html +325 -0
  93. package/docs/functions/Util.nextFrame.html +338 -0
  94. package/docs/functions/Util.notNil.html +333 -0
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +354 -0
  96. package/docs/functions/Util.tweenProgress.html +327 -0
  97. package/docs/functions/Util.uuid.html +323 -0
  98. package/docs/functions/pluginFlag.html +292 -0
  99. package/docs/index.html +358 -0
  100. package/docs/interfaces/AddTagConfig.html +307 -0
  101. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +334 -0
  102. package/docs/interfaces/AreaMakerPluginType.Config.html +339 -0
  103. package/docs/interfaces/AreaMakerPluginType.EventMap.html +625 -0
  104. package/docs/interfaces/AreaMakerPluginType.Params.html +338 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +396 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +381 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +338 -0
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +331 -0
  109. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +330 -0
  110. package/docs/interfaces/AreaMakerPluginType.State.html +359 -0
  111. package/docs/interfaces/CSS3DRenderPluginEventMap.html +453 -0
  112. package/docs/interfaces/CSS3DRenderPluginState.html +329 -0
  113. package/docs/interfaces/CameraMovementPluginExportType.html +362 -0
  114. package/docs/interfaces/CruisePluginTypes.Config.html +363 -0
  115. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +365 -0
  116. package/docs/interfaces/CruisePluginTypes.EventMap.html +723 -0
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +389 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +425 -0
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +415 -0
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +355 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +323 -0
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +391 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +386 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +525 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +327 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +319 -0
  127. package/docs/interfaces/CurrentPanoImagePluginType.State.html +341 -0
  128. package/docs/interfaces/EventMap.html +546 -0
  129. package/docs/interfaces/FloorplanBounding.html +336 -0
  130. package/docs/interfaces/FloorplanData.html +339 -0
  131. package/docs/interfaces/FloorplanEntrance.html +364 -0
  132. package/docs/interfaces/FloorplanExtraObject.html +354 -0
  133. package/docs/interfaces/FloorplanExtraObject3D.html +343 -0
  134. package/docs/interfaces/FloorplanFloorData.html +332 -0
  135. package/docs/interfaces/FloorplanImagePosition.html +318 -0
  136. package/docs/interfaces/FloorplanObserver.html +336 -0
  137. package/docs/interfaces/FloorplanOutlineItem.html +332 -0
  138. package/docs/interfaces/FloorplanPosition.html +318 -0
  139. package/docs/interfaces/FloorplanRoomItem.html +383 -0
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +324 -0
  141. package/docs/interfaces/FloorplanServerBounding.html +336 -0
  142. package/docs/interfaces/FloorplanServerComputedData.html +335 -0
  143. package/docs/interfaces/FloorplanServerData.html +318 -0
  144. package/docs/interfaces/FloorplanServerDoorItem.html +335 -0
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +321 -0
  146. package/docs/interfaces/FloorplanServerEntrance.html +364 -0
  147. package/docs/interfaces/FloorplanServerFloorData.html +332 -0
  148. package/docs/interfaces/FloorplanServerImagePosition.html +318 -0
  149. package/docs/interfaces/FloorplanServerObserver.html +336 -0
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +332 -0
  151. package/docs/interfaces/FloorplanServerPosition.html +318 -0
  152. package/docs/interfaces/FloorplanServerRoomItem.html +395 -0
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +324 -0
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +327 -0
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +366 -0
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +530 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +361 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +352 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +419 -0
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +341 -0
  161. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +351 -0
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +487 -0
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +348 -0
  164. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +487 -0
  165. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +313 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +334 -0
  167. package/docs/interfaces/GuideLinePluginType.PluginState.html +359 -0
  168. package/docs/interfaces/GuideLinePluginType.Route.html +375 -0
  169. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +357 -0
  170. package/docs/interfaces/HelperOffset.html +336 -0
  171. package/docs/interfaces/ImagePlaneGroup.html +310 -0
  172. package/docs/interfaces/ItemLabelPluginData.html +307 -0
  173. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +392 -0
  174. package/docs/interfaces/ItemLabelPluginParametersType.html +328 -0
  175. package/docs/interfaces/MinMax.html +314 -0
  176. package/docs/interfaces/ModelChassisCompassPluginData.html +314 -0
  177. package/docs/interfaces/ModelChassisCompassPluginExportType.html +350 -0
  178. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +314 -0
  179. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +321 -0
  180. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +358 -0
  181. package/docs/interfaces/ModelItemLabelPluginData.html +307 -0
  182. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +392 -0
  183. package/docs/interfaces/ModelItemLabelPluginParametersType.html +314 -0
  184. package/docs/interfaces/ModelRoomLabelPluginData.html +307 -0
  185. package/docs/interfaces/ModelTVVideoPluginData.html +328 -0
  186. package/docs/interfaces/ModelTVVideoPluginExportType.html +352 -0
  187. package/docs/interfaces/ModelTVVideoPluginParameterType.html +307 -0
  188. package/docs/interfaces/ModelViewPluginExportType.html +420 -0
  189. package/docs/interfaces/Object3DHelperState.html +321 -0
  190. package/docs/interfaces/ObjectHelperControllers.html +328 -0
  191. package/docs/interfaces/PaintBrushAction.html +367 -0
  192. package/docs/interfaces/PaintBrushConfigs.html +365 -0
  193. package/docs/interfaces/PaintBrushState.html +349 -0
  194. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +429 -0
  195. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +286 -0
  196. package/docs/interfaces/PanoMeasureParameterType.html +453 -0
  197. package/docs/interfaces/PanoMeasurePluginLineJson.html +321 -0
  198. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +318 -0
  199. package/docs/interfaces/PanoMeasurePluginPointJson.html +314 -0
  200. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +324 -0
  201. package/docs/interfaces/PanoRulerPluginExportType.html +381 -0
  202. package/docs/interfaces/PanoRulerPluginOptions.html +330 -0
  203. package/docs/interfaces/PanoRulerPluginParameterType.html +321 -0
  204. package/docs/interfaces/PanoRulerProPluginExportType.html +357 -0
  205. package/docs/interfaces/PanoRulerProPluginOptions.html +327 -0
  206. package/docs/interfaces/PanoRulerProPluginParameterType.html +314 -0
  207. package/docs/interfaces/PanoRulerProPluginState.html +321 -0
  208. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +300 -0
  209. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +289 -0
  210. package/docs/interfaces/PanoSpatialTagPluginData.html +357 -0
  211. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +339 -0
  212. package/docs/interfaces/PanoSpatialTagPluginExportType.html +435 -0
  213. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +335 -0
  214. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +356 -0
  215. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +342 -0
  216. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +335 -0
  217. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +327 -0
  218. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +345 -0
  219. package/docs/interfaces/PanoVideoPluginType.PluginData.html +318 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +424 -0
  221. package/docs/interfaces/PanoVideoPluginType.PluginState.html +318 -0
  222. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +353 -0
  223. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +372 -0
  224. package/docs/interfaces/Point.html +321 -0
  225. package/docs/interfaces/Room.html +328 -0
  226. package/docs/interfaces/RoomInfo.html +314 -0
  227. package/docs/interfaces/RoomLabel.html +390 -0
  228. package/docs/interfaces/RoomRules.html +289 -0
  229. package/docs/interfaces/Rooms.html +289 -0
  230. package/docs/interfaces/Scissor.html +348 -0
  231. package/docs/interfaces/State.html +335 -0
  232. package/docs/interfaces/TagCacheInterface.html +366 -0
  233. package/docs/interfaces/TagConfig.html +569 -0
  234. package/docs/interfaces/TagGLTFObjectGroup.html +310 -0
  235. package/docs/interfaces/TagIconUrl.html +367 -0
  236. package/docs/interfaces/TagObjectGroup.html +310 -0
  237. package/docs/interfaces/TagStyle.html +320 -0
  238. package/docs/interfaces/Tags.html +2824 -0
  239. package/docs/interfaces/TemporaryState.html +307 -0
  240. package/docs/interfaces/Util.MagnifierParameter.html +395 -0
  241. package/docs/interfaces/Util.MouseGroupParameter.html +354 -0
  242. package/docs/interfaces/Util.PointIntersection.html +369 -0
  243. package/docs/modules/AreaMakerPluginType.html +329 -0
  244. package/docs/modules/CruisePluginTypes.html +332 -0
  245. package/docs/modules/CurrentPanoImagePluginType.html +301 -0
  246. package/docs/modules/GuideLineItem.html +293 -0
  247. package/docs/modules/GuideLineModeItem.html +298 -0
  248. package/docs/modules/GuideLinePluginType.html +354 -0
  249. package/docs/modules/PanoVideoPluginType.html +305 -0
  250. package/docs/modules/Util.html +355 -0
  251. package/docs/modules.html +562 -0
  252. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +358 -0
  253. package/docs/types/AreaMakerPluginType.ItemRenderer.html +324 -0
  254. package/docs/types/AreaMakerPluginType.PluginData.html +306 -0
  255. package/docs/types/AreaMakerPluginType.ServerData.html +306 -0
  256. package/docs/types/ArrayPosition.html +283 -0
  257. package/docs/types/AudioAppearance.html +283 -0
  258. package/docs/types/AudioTagTypeConfigKey.html +283 -0
  259. package/docs/types/CSS3DRenderExportType.html +283 -0
  260. package/docs/types/CSS3DRenderPluginExportType.html +283 -0
  261. package/docs/types/CSS3DRenderPluginParameterType.html +283 -0
  262. package/docs/types/ClassFunctionParameters.html +290 -0
  263. package/docs/types/Color.html +283 -0
  264. package/docs/types/ContentTypeConfigKey.html +283 -0
  265. package/docs/types/ContentTypeConfigKeySplit.html +283 -0
  266. package/docs/types/ContentTypeMap.html +283 -0
  267. package/docs/types/Create3DDomContainerReturnType.html +283 -0
  268. package/docs/types/Create3DElementReturnType.html +283 -0
  269. package/docs/types/CruisePluginExportType.html +283 -0
  270. package/docs/types/CruisePluginTypes.CruiseData.html +322 -0
  271. package/docs/types/CruisePluginTypes.MoveEffect.html +299 -0
  272. package/docs/types/CurrentPanoImagePluginExportType.html +283 -0
  273. package/docs/types/DeprecatedMediaPlaneProperty.html +295 -0
  274. package/docs/types/DeprecatedTagProperty.html +298 -0
  275. package/docs/types/Direction-1.html +283 -0
  276. package/docs/types/Direction4.html +283 -0
  277. package/docs/types/ElementRenderer.html +307 -0
  278. package/docs/types/FloorplanRuleLabels.html +286 -0
  279. package/docs/types/FloorplanServerRuleLabels.html +283 -0
  280. package/docs/types/GuideLinePluginExportType.html +283 -0
  281. package/docs/types/GuideLinePluginType.GuideLineItem.html +356 -0
  282. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +377 -0
  283. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +310 -0
  284. package/docs/types/GuideLinePluginType.GuideLineStyle.html +313 -0
  285. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +313 -0
  286. package/docs/types/GuideLinePluginType.PathItem.html +313 -0
  287. package/docs/types/GuideLinePluginType.PluginData.html +322 -0
  288. package/docs/types/HelperEventMap.html +521 -0
  289. package/docs/types/LoadTagConfig.html +283 -0
  290. package/docs/types/MapviewFloorplanPluginParameterType.html +283 -0
  291. package/docs/types/MapviewFloorplanPluginReturnType.html +283 -0
  292. package/docs/types/MediaData.html +304 -0
  293. package/docs/types/MediaStore.html +288 -0
  294. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +290 -0
  295. package/docs/types/ModelFloorplanPluginParameterType.html +283 -0
  296. package/docs/types/ModelFloorplanPluginReturnType.html +283 -0
  297. package/docs/types/ModelId.html +283 -0
  298. package/docs/types/ModelRoomLabelPluginParameters.html +283 -0
  299. package/docs/types/ModelRoomLabelPluginReturnType.html +283 -0
  300. package/docs/types/MoveArgs.html +293 -0
  301. package/docs/types/MoveOpts.html +291 -0
  302. package/docs/types/Object3DHelperEventMap.html +376 -0
  303. package/docs/types/ObjectFit.html +283 -0
  304. package/docs/types/PaintBrushEventMap.html +314 -0
  305. package/docs/types/PanoCompassPluginData.html +283 -0
  306. package/docs/types/PanoCompassPluginExportType.html +283 -0
  307. package/docs/types/PanoCompassPluginParameterType.html +283 -0
  308. package/docs/types/PanoFloorplanRadarPluginParameterType.html +283 -0
  309. package/docs/types/PanoFloorplanRadarPluginReturnType.html +283 -0
  310. package/docs/types/PanoIndex.html +283 -0
  311. package/docs/types/PanoMeasurePluginEvent.html +283 -0
  312. package/docs/types/PanoMeasureReturnType.html +283 -0
  313. package/docs/types/PanoSpatialTagPluginId.html +283 -0
  314. package/docs/types/PanoTagPluginExportInterface.html +283 -0
  315. package/docs/types/PanoTagPluginParamsInterface.html +283 -0
  316. package/docs/types/PanoVideoPluginParameterType.html +283 -0
  317. package/docs/types/PanoVideoPluginReturnType.html +283 -0
  318. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +291 -0
  319. package/docs/types/PipelinePluginParameterType.html +283 -0
  320. package/docs/types/PipelinePluginReturnType.html +283 -0
  321. package/docs/types/PlaneTag.html +291 -0
  322. package/docs/types/Point2DTag.html +291 -0
  323. package/docs/types/Point3DTag.html +291 -0
  324. package/docs/types/PointTag.html +288 -0
  325. package/docs/types/PointTagInstance.html +288 -0
  326. package/docs/types/Position.html +283 -0
  327. package/docs/types/RotateArgs.html +295 -0
  328. package/docs/types/RotateOpts.html +291 -0
  329. package/docs/types/RuleLabelsKey.html +283 -0
  330. package/docs/types/RuleLabelsValue.html +283 -0
  331. package/docs/types/StickType.html +283 -0
  332. package/docs/types/Tag.html +349 -0
  333. package/docs/types/Tag2D.html +291 -0
  334. package/docs/types/Tag3D.html +291 -0
  335. package/docs/types/TagConfigByKey.html +288 -0
  336. package/docs/types/TagContentType.html +283 -0
  337. package/docs/types/TagContentTypeMapping.html +283 -0
  338. package/docs/types/TagDimensionType.html +285 -0
  339. package/docs/types/TagElement.html +293 -0
  340. package/docs/types/TagEvents.html +336 -0
  341. package/docs/types/TagGLTFObject.html +306 -0
  342. package/docs/types/TagHooks.html +283 -0
  343. package/docs/types/TagId.html +283 -0
  344. package/docs/types/TagInstance.html +361 -0
  345. package/docs/types/TagPointType.html +286 -0
  346. package/docs/types/TagRendererMap.html +290 -0
  347. package/docs/types/TopviewFloorplanPluginParameterType.html +283 -0
  348. package/docs/types/TopviewFloorplanPluginReturnType.html +283 -0
  349. package/docs/types/WorkCode.html +283 -0
  350. package/docs/variables/FLOOR_TYPE_MAP.html +293 -0
  351. package/docs/variables/PLUGIN.html +283 -0
  352. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +286 -0
  353. package/docs/variables/ROOM_TYPE_MAP.html +293 -0
  354. package/docs/variables/defaultGlobalConfig.html +283 -0
  355. package/docs/variables/itemLabelPluginServerParams.html +290 -0
  356. package/docs/variables/modelItemLabelPluginServerParams.html +290 -0
  357. package/docs/variables/modelRoomLabelPluginServerParams.html +290 -0
  358. package/libs/CruisePlugin/BaseController.d.ts +5 -0
  359. package/libs/CruisePlugin/BaseController.js +66 -54
  360. package/libs/CruisePlugin/Move.js +29 -25
  361. package/libs/CruisePlugin/Work.d.ts +1 -5
  362. package/libs/CruisePlugin/Work.js +131 -128
  363. package/libs/CruisePlugin/index.js +9 -6
  364. package/libs/GuideLinePlugin/Controller.d.ts +4 -0
  365. package/libs/GuideLinePlugin/Controller.js +40 -30
  366. package/libs/GuideLinePlugin/GuideLineItem.js +5 -2
  367. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +61 -61
  368. package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
  369. package/libs/GuideLinePlugin/index.js +11 -8
  370. package/libs/PanoTagPlugin/controller/TagComputer.js +24 -22
  371. package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
  372. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
  373. package/libs/PanoTagPlugin/controller/TagUtil.js +94 -104
  374. package/libs/PanoTagPlugin/controller/index.js +7 -5
  375. package/libs/PanoTagPlugin/index.js +13 -11
  376. package/libs/base/BasePlugin.d.ts +1 -1
  377. package/libs/base/BasePlugin.js +2 -2
  378. package/libs/index.js +124 -121
  379. package/libs/shared-utils/Utils/BaseUtil.d.ts +5 -0
  380. package/libs/shared-utils/Utils/BaseUtil.js +12 -0
  381. package/libs/shared-utils/Utils/FiveUtil.d.ts +10 -0
  382. package/libs/shared-utils/Utils/FiveUtil.js +27 -0
  383. package/libs/shared-utils/Utils/WorkUtil.d.ts +33 -0
  384. package/libs/shared-utils/Utils/WorkUtil.js +68 -0
  385. package/libs/shared-utils/logger.js +1 -1
  386. package/package.json +1 -1
@@ -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 ao } 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";
@@ -76,6 +76,8 @@ import "../PanoTagPlugin/utils/tag/adaptConfig.js";
76
76
  import "../shared-utils/typescript/entries.js";
77
77
  import "../shared-utils/url/getUrl.js";
78
78
  import "../shared-utils/five/transformPosition.js";
79
+ import "../shared-utils/Utils/WorkUtil.js";
80
+ import "../shared-utils/Utils/BaseUtil.js";
79
81
  import "../shared-utils/five/getFloorIndex.js";
80
82
  import "../shared-utils/safeObj.js";
81
83
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -162,6 +164,7 @@ import "../shared-utils/nearlyEqual.js";
162
164
  import "../CruisePlugin/BaseController.js";
163
165
  import "../shared-utils/equal.js";
164
166
  import "../shared-utils/isTruelyObject.js";
167
+ import "../shared-utils/Utils/FiveUtil.js";
165
168
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
166
169
  import "../shared-utils/vectorToCoordinate.js";
167
170
  import "../shared-utils/formatRad.js";
@@ -174,5 +177,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
174
177
  import "../CruisePlugin/utils/safeCall.js";
175
178
  import "../CruisePlugin/utils/sleep.js";
176
179
  export {
177
- ao as GuideLineItem
180
+ go as GuideLineItem
178
181
  };
@@ -2,26 +2,26 @@ var P = Object.defineProperty, V = Object.defineProperties;
2
2
  var T = Object.getOwnPropertyDescriptors;
3
3
  var k = Object.getOwnPropertySymbols;
4
4
  var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
- var b = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, u = (h, e) => {
5
+ var v = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, d = (h, e) => {
6
6
  for (var t in e || (e = {}))
7
- F.call(e, t) && b(h, t, e[t]);
7
+ F.call(e, t) && v(h, t, e[t]);
8
8
  if (k)
9
9
  for (var t of k(e))
10
- L.call(e, t) && b(h, t, e[t]);
10
+ L.call(e, t) && v(h, t, e[t]);
11
11
  return h;
12
12
  }, p = (h, e) => V(h, T(e));
13
- var i = (h, e, t) => (b(h, typeof e != "symbol" ? e + "" : e, t), t);
13
+ var i = (h, e, t) => (v(h, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as n from "three";
15
- import { logWarning as x, logError as S } from "../../shared-utils/log.js";
16
- import { createLineGeometry as U } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as M, isModelLike as _ } from "../../shared-utils/five/mode.js";
15
+ import { logWarning as S, logError as U } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as x } from "../utils/createLineGeometry.js";
17
+ import { isPanoramaLike as M, isModelLike as O } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { BetterTween as O, tweenProgress as G } from "../../shared-utils/animationFrame/BetterTween.js";
24
- import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
23
+ import { BetterTween as _, tweenProgress as A } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
25
25
  import w from "../../PanoTagPlugin/controller/index.js";
26
26
  import E from "../Components/Tag.js";
27
27
  import { filterAdjacentDistinct as B } from "../utils/index.js";
@@ -155,8 +155,8 @@ class N {
155
155
  i(this, "plugin");
156
156
  i(this, "textureHasLoaded", !1);
157
157
  i(this, "disposed", !1);
158
- i(this, "flowAnime", new O({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
- i(this, "flickerAnime", G(300).yoyo(!0).repeat(5));
158
+ i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
+ i(this, "flickerAnime", A(300).yoyo(!0).repeat(5));
160
160
  /** 缓存 panoGroup 中每个点距离起点的长度 */
161
161
  i(this, "cacheLengths", []);
162
162
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -175,7 +175,7 @@ class N {
175
175
  });
176
176
  /** 模型状态变更 */
177
177
  i(this, "onFiveModeChange", (e) => {
178
- this.modeVisible = this.mode === "panorama" ? M(e) : _(e), this.updateVisible();
178
+ this.modeVisible = this.mode === "panorama" ? M(e) : O(e), this.updateVisible();
179
179
  });
180
180
  i(this, "onFiveModelShownFloorChange", (e) => {
181
181
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -190,17 +190,17 @@ class N {
190
190
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
191
191
  });
192
192
  i(this, "onFlickerAnimeUpdate", (e) => {
193
- var s, a, o, d;
193
+ var s, o, a, l;
194
194
  const { progress: t } = e, r = 1 - t;
195
- this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(p(u({}, this.startTagContainer.tag.data), {
195
+ this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(d({}, this.startTagContainer.tag.data), {
196
196
  opacity: r,
197
197
  name: this.name,
198
- distance: Math.round((a = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? a : 0)
199
- }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((d = this.endTagContainer.app) == null || d.$set(p(u({}, this.endTagContainer.tag.data), { opacity: r })));
198
+ distance: Math.round((o = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? o : 0)
199
+ }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((l = this.endTagContainer.app) == null || l.$set(p(d({}, this.endTagContainer.tag.data), { opacity: r })));
200
200
  });
201
- i(this, "logWarning", (e) => x("GuideLineModeItem: ", e));
202
- i(this, "logError", (e) => S("GuideLineModeItem: ", e));
203
- var a, o;
201
+ i(this, "logWarning", (e) => S("GuideLineModeItem: ", e));
202
+ i(this, "logError", (e) => U("GuideLineModeItem: ", e));
203
+ var o, a;
204
204
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new w(this.five) }, this.endTagContainer = { tag: null, plugin: new w(this.five) };
205
205
  const r = new n.BufferGeometry(), s = new n.ShaderMaterial({
206
206
  vertexShader: R,
@@ -221,7 +221,7 @@ class N {
221
221
  vOffset: { value: 0 }
222
222
  }
223
223
  });
224
- this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
224
+ this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((a = (o = this.five.model) == null ? void 0 : o.shownFloor) != null ? a : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
225
225
  }
226
226
  get panoGroup() {
227
227
  return this._panoGroup;
@@ -270,28 +270,28 @@ class N {
270
270
  return this.logError("setPathByPanoGroup: work is not ready");
271
271
  const r = B(e);
272
272
  if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
273
- const a = t.skipPanoGroup ? r.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
274
- this.skippedPositions = a;
273
+ const o = t.skipPanoGroup ? r.map((a) => this.plugin.workUtils.getObserverStandingPosition(a)) : null;
274
+ this.skippedPositions = o;
275
275
  }
276
276
  const s = this.getPathFromPanoGroup(r, this.five.work, t);
277
277
  this.path = s, this.setGeometryByPath(s, t);
278
278
  }
279
279
  /** 通过路径设置线条形状 */
280
280
  setGeometryByPath(e, t) {
281
- var f, v, C;
281
+ var c, b, C;
282
282
  if (this.disposed)
283
283
  return this.logError("disposed");
284
- const r = (f = t == null ? void 0 : t.scale) != null ? f : this.scale, s = (v = t == null ? void 0 : t.width) != null ? v : this.width, a = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
- this.scale = r, this.width = s, this.unitLength = a;
286
- const { geometry: o, maxU: d, curvePath: g, curvePoints: m } = U({
284
+ const r = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, s = (b = t == null ? void 0 : t.width) != null ? b : this.width, o = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
+ this.scale = r, this.width = s, this.unitLength = o;
286
+ const { geometry: a, maxU: l, curvePath: u, curvePoints: g } = x({
287
287
  path: e,
288
288
  width: s * r,
289
- unitLength: a * r,
289
+ unitLength: o * r,
290
290
  skipPositions: this.skippedPositions
291
291
  });
292
- this._curvePath = g, this._curvePoints = m, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = d, this.five.needsRender = !0;
293
- const l = e, c = u(u({}, this.geometryStyle), t);
294
- this.path = l, this.geometryStyle = c;
292
+ this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = l, this.five.needsRender = !0;
293
+ const m = e, f = d(d({}, this.geometryStyle), t);
294
+ this.path = m, this.geometryStyle = f;
295
295
  }
296
296
  /** 设置线条材质 */
297
297
  setMartial(e) {
@@ -299,24 +299,24 @@ class N {
299
299
  if (this.disposed)
300
300
  return this.logError("disposed");
301
301
  (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((r = e == null ? void 0 : e.texture) == null ? void 0 : r.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
302
- const t = u(u({}, this.materialStyle), e);
302
+ const t = d(d({}, this.materialStyle), e);
303
303
  this.materialStyle = t;
304
304
  }
305
305
  /** 设置模型状态 */
306
306
  setMeshStyle(e) {
307
307
  if (e != null && e.translate) {
308
- const s = new n.Vector3(), a = new n.Vector3().fromArray(e.translate);
309
- a.y += this.heightOffset, s.add(a), this.mesh.position.copy(s), r(this.startTagContainer, a), r(this.endTagContainer, a);
308
+ const s = new n.Vector3(), o = new n.Vector3().fromArray(e.translate);
309
+ o.y += this.heightOffset, s.add(o), this.mesh.position.copy(s), r(this.startTagContainer, o), r(this.endTagContainer, o);
310
310
  }
311
- const t = u(u({}, this.meshStyle), e);
311
+ const t = d(d({}, this.meshStyle), e);
312
312
  this.meshStyle = t;
313
- function r(s, a) {
313
+ function r(s, o) {
314
314
  if (!s.tag)
315
315
  return;
316
- const o = new n.Vector3().fromArray(s.tag.position);
317
- o.add(a);
318
- const d = o.toArray();
319
- s.plugin.changeTagById(s.tag.id, { position: d });
316
+ const a = new n.Vector3().fromArray(s.tag.position);
317
+ a.add(o);
318
+ const l = a.toArray();
319
+ s.plugin.changeTagById(s.tag.id, { position: l });
320
320
  }
321
321
  }
322
322
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -370,7 +370,7 @@ class N {
370
370
  setTextureUrl(e) {
371
371
  if (this.disposed)
372
372
  return this.logError("disposed");
373
- this.textureUrl = e, A(e).then((t) => {
373
+ this.textureUrl = e, G(e).then((t) => {
374
374
  this.disposed || this.textureUrl === e && (t.wrapT = n.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
375
375
  });
376
376
  }
@@ -402,42 +402,42 @@ class N {
402
402
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
403
403
  }
404
404
  getPanoGroupLengths() {
405
- var m;
405
+ var u;
406
406
  if (!this.curvePoints || !this.curvePath)
407
407
  return [];
408
- const e = this.panoGroup.map((l) => this.five.work.observers[l]), t = this.curvePoints.length, r = this.curvePath.getLength(), s = t - 1, a = r / s, o = (m = this.curvePath.getLengths(s)) != null ? m : [], d = [];
409
- let g = 0;
410
- for (let l = 0; l < t; l++) {
411
- const c = this.curvePoints[l], f = e[g];
408
+ const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (u = this.curvePath.getLengths(r)) != null ? u : [], a = [];
409
+ let l = 0;
410
+ for (let g = 0; g < e; g++) {
411
+ const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(l);
412
412
  if (!f)
413
413
  break;
414
- f.standingPosition.clone().setY(0).distanceTo(c.clone().setY(0)) < a && (d.push(o[l]), g += 1);
414
+ f.clone().setY(0).distanceTo(m.clone().setY(0)) < s && (a.push(o[g]), l += 1);
415
415
  }
416
- return d;
416
+ return a;
417
417
  }
418
418
  setTag(e, t) {
419
419
  const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
420
420
  if (!(t != null && t.data))
421
421
  return s.plugin.clearTags();
422
- const o = I({}, {
422
+ const a = I({}, {
423
423
  contentType: "Custom",
424
424
  stickType: "2DPoint",
425
425
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
426
426
  style: { point: { enabled: !1 } },
427
427
  data: {}
428
428
  }, t);
429
- s.tag = o, y(o) && (s.tag.element = (g) => {
430
- var c, f;
431
- (c = s.app) == null || c.$destroy();
432
- const m = e === "start" ? p(u({}, o.data), { name: this.name, distance: Math.round((f = r.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : o.data, l = new E({ target: g, intro: !0, props: m });
433
- return s.app = l, () => l.$destroy();
429
+ s.tag = a, y(a) && (s.tag.element = (u) => {
430
+ var f, c;
431
+ (f = s.app) == null || f.$destroy();
432
+ const g = e === "start" ? p(d({}, a.data), { name: this.name, distance: Math.round((c = r.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : a.data, m = new E({ target: u, intro: !0, props: g });
433
+ return s.app = m, () => m.$destroy();
434
434
  }), s.plugin.load({ tagList: [s.tag] });
435
- const d = this.meshStyle.translate;
436
- if (d && o.position) {
437
- const g = new n.Vector3().fromArray(o.position), m = new n.Vector3().fromArray(d);
438
- g.add(m), g.y += this.heightOffset;
439
- const l = g.toArray();
440
- s.plugin.changeTagById(s.tag.id, { position: l });
435
+ const l = this.meshStyle.translate;
436
+ if (l && a.position) {
437
+ const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(l);
438
+ u.add(g), u.y += this.heightOffset;
439
+ const m = u.toArray();
440
+ s.plugin.changeTagById(s.tag.id, { position: m });
441
441
  }
442
442
  }
443
443
  doShow() {
@@ -450,8 +450,8 @@ class N {
450
450
  getPathFromPanoGroup(e, t, r) {
451
451
  if (e.length < 2)
452
452
  return [];
453
- const a = e.map((o) => t.observers[o]).map((o) => o.standingPosition.toArray());
454
- return [u({ type: "CatmullRomCurve3", points: a }, r)];
453
+ const s = e.map((o) => this.plugin.workUtils.getObserverStandingPosition(o).toArray());
454
+ return [d({ type: "CatmullRomCurve3", points: s }, r)];
455
455
  }
456
456
  }
457
457
  function y(h) {
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
13
13
  import "./Components/Tag.js";
14
14
  import "./utils/index.js";
15
15
  import "../vendor/object-assign-deep/objectAssignDeep.js";
16
- import { GuideLineModeItem as Xi } from "./GuideLineModeItem/index.js";
16
+ import { GuideLineModeItem as Zi } from "./GuideLineModeItem/index.js";
17
17
  import "../vendor/polyline-normals/index.js";
18
18
  import "../vendor/polyline-miter-util/index.js";
19
19
  import "../vendor/gl-vec2/add.js";
@@ -73,6 +73,8 @@ import "../PanoTagPlugin/utils/tag/adaptConfig.js";
73
73
  import "../shared-utils/typescript/entries.js";
74
74
  import "../shared-utils/url/getUrl.js";
75
75
  import "../shared-utils/five/transformPosition.js";
76
+ import "../shared-utils/Utils/WorkUtil.js";
77
+ import "../shared-utils/Utils/BaseUtil.js";
76
78
  import "../shared-utils/five/getFloorIndex.js";
77
79
  import "../shared-utils/safeObj.js";
78
80
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -154,5 +156,5 @@ import "../shared-utils/three/GLTFLoader.js";
154
156
  import "@realsee/five/gltf-loader";
155
157
  import "../shared-utils/five/fiveModelLoad.js";
156
158
  export {
157
- Xi as GuideLineModeItem
159
+ Zi as GuideLineModeItem
158
160
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as Mt } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as ct } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as 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,6 +38,10 @@ 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/FiveUtil.js";
42
+ import "../shared-utils/Utils/BaseUtil.js";
43
+ import "../shared-utils/Utils/WorkUtil.js";
44
+ import "../shared-utils/five/transformPosition.js";
41
45
  import "../shared-utils/log.js";
42
46
  import "./utils/createLineGeometry.js";
43
47
  import "../vendor/polyline-normals/index.js";
@@ -86,7 +90,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
86
90
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
87
91
  import "../shared-utils/typescript/entries.js";
88
92
  import "../shared-utils/url/getUrl.js";
89
- import "../shared-utils/five/transformPosition.js";
90
93
  import "../shared-utils/five/getFloorIndex.js";
91
94
  import "../shared-utils/safeObj.js";
92
95
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -173,10 +176,10 @@ import "../shared-utils/five/changeMode.js";
173
176
  import "../shared-utils/nearlyEqual.js";
174
177
  import "../CruisePlugin/Move.js";
175
178
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
176
- const st = (i, o) => new t(i, o);
179
+ const Mt = (i, o) => new t(i, o);
177
180
  export {
178
- Mt as GuideLineItem,
179
- ct as GuideLineModeItem,
180
- st as GuideLinePlugin,
181
- st as default
181
+ gt as GuideLineItem,
182
+ Ct as GuideLineModeItem,
183
+ Mt as GuideLinePlugin,
184
+ Mt as default
182
185
  };
@@ -1,18 +1,18 @@
1
- var $ = Object.defineProperty, w = Object.defineProperties;
1
+ var A = Object.defineProperty, $ = Object.defineProperties;
2
2
  var E = Object.getOwnPropertyDescriptors;
3
- var k = Object.getOwnPropertySymbols;
3
+ var T = Object.getOwnPropertySymbols;
4
4
  var L = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var M = (b, e, i) => e in b ? $(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
5
+ var M = (b, e, i) => e in b ? A(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
6
6
  for (var i in e || (e = {}))
7
7
  L.call(e, i) && M(b, i, e[i]);
8
- if (k)
9
- for (var i of k(e))
8
+ if (T)
9
+ for (var i of T(e))
10
10
  _.call(e, i) && M(b, i, e[i]);
11
11
  return b;
12
- }, D = (b, e) => w(b, E(e));
12
+ }, U = (b, e) => $(b, E(e));
13
13
  import * as F from "three";
14
- import { is3DTag as z, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
- import { getTagCenterPosition as C, getTagPosition as O } from "../utils/tagPosition.js";
14
+ import { is3DTag as O, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
15
+ import { getTagCenterPosition as C, getTagPosition as z } from "../utils/tagPosition.js";
16
16
  import { checkRange as h } from "../utils/checkRange.js";
17
17
  import { isPanoramaLike as y, isModelLike as Z } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
@@ -23,7 +23,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import { notNil as q } from "../../shared-utils/isNil.js";
24
24
  import { TagUtil as H } from "./TagUtil.js";
25
25
  import { getFloorIndex as N } from "../../shared-utils/five/getFloorIndex.js";
26
- import { safeObj as U } from "../../shared-utils/safeObj.js";
26
+ import { safeObj as R } from "../../shared-utils/safeObj.js";
27
27
  import { toArray as W } from "../../shared-utils/util.js";
28
28
  import "../../shared-utils/three/centerPoint.js";
29
29
  import "../../shared-utils/positionToVector3.js";
@@ -64,9 +64,11 @@ import "../utils/tag/adaptConfig.js";
64
64
  import "../../shared-utils/typescript/entries.js";
65
65
  import "../../shared-utils/url/getUrl.js";
66
66
  import "../../shared-utils/five/transformPosition.js";
67
+ import "../../shared-utils/Utils/WorkUtil.js";
68
+ import "../../shared-utils/Utils/BaseUtil.js";
67
69
  const I = new F.Raycaster();
68
70
  I.params.Points.threshold = 0.1;
69
- class Je extends H {
71
+ class Qe extends H {
70
72
  constructor(e) {
71
73
  super(e);
72
74
  }
@@ -131,7 +133,7 @@ class Je extends H {
131
133
  reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${n.visibleDistance}`
132
134
  };
133
135
  }
134
- if (y(o) && n.angleRange && z(e)) {
136
+ if (y(o) && n.angleRange && O(e)) {
135
137
  s.push("angleRange");
136
138
  const l = this.getAngle(e);
137
139
  if (h(l, n.angleRange) === !1)
@@ -216,7 +218,7 @@ class Je extends H {
216
218
  }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
217
219
  var u, m;
218
220
  return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((m = a.autoUnfold) == null ? void 0 : m.strategy) !== "MinimumDistance");
219
- }).map((r) => D(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
221
+ }).map((r) => U(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
220
222
  const u = a.autoUnfold.distance;
221
223
  return !(u && h(r, u) === !1);
222
224
  }).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
@@ -265,14 +267,14 @@ class Je extends H {
265
267
  /** 通过射线检测标签可用性 */
266
268
  getTagEnableByIntersect(e, i) {
267
269
  var n, r, a, u, m;
268
- const f = U(U((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
270
+ const f = R(R((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
269
271
  if (o === void 0)
270
272
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
271
273
  const d = W(
272
274
  (() => {
273
275
  var g;
274
276
  const v = (g = f.checkPoints) != null ? g : "center";
275
- return v === "center" ? C(e) : v === "corner" ? O(e) : Array.isArray(v) ? v : [];
277
+ return v === "center" ? C(e) : v === "corner" ? z(e) : Array.isArray(v) ? v : [];
276
278
  })()
277
279
  );
278
280
  let s = 0, c = 0;
@@ -280,13 +282,13 @@ class Je extends H {
280
282
  const g = new F.Vector3().subVectors(v, o).normalize();
281
283
  I.set(o, g);
282
284
  const P = o.distanceTo(v), [l] = this.five.model.intersectRaycaster(I), p = (() => {
283
- if (!R(e))
285
+ if (!D(e))
284
286
  return;
285
- const V = this.tags.filter(R).map((A) => {
286
- var T;
287
- return (T = A.model) == null ? void 0 : T.object;
288
- }).filter(q), [B] = I.intersectObjects(V, !0);
289
- return B;
287
+ const V = this.tags.filter(D).map((B) => {
288
+ var k;
289
+ return (k = B.model) == null ? void 0 : k.object;
290
+ }).filter(q), [w] = I.intersectObjects(V, !0);
291
+ return w;
290
292
  })(), S = (r = f.distanceAccuracy) != null ? r : 0.01;
291
293
  Math.min((a = l == null ? void 0 : l.distance) != null ? a : 1 / 0, (u = p == null ? void 0 : p.distance) != null ? u : 1 / 0) + S >= P ? s++ : c++;
292
294
  const j = (m = f.needPassed) != null ? m : 1;
@@ -307,11 +309,11 @@ class Je extends H {
307
309
  var o, d, s, c, n, r, a;
308
310
  let i = 0;
309
311
  const f = (o = e.fiveState) == null ? void 0 : o.panoIndex;
310
- f !== void 0 ? i = (d = this.work.observers[f]) == null ? void 0 : d.floorIndex : i = N(this.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? a : C(e));
312
+ f !== void 0 ? i = (d = this.workUtil.getObserver(f)) == null ? void 0 : d.floorIndex : i = N(this.workUtil.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? a : C(e));
311
313
  const t = this.five.model.shownFloor;
312
314
  return t === null || t === i;
313
315
  }
314
316
  }
315
317
  export {
316
- Je as TagComputer
318
+ Qe as TagComputer
317
319
  };
@@ -75,6 +75,8 @@ import "../utils/tag/adaptConfig.js";
75
75
  import "../../shared-utils/typescript/entries.js";
76
76
  import "../../shared-utils/url/getUrl.js";
77
77
  import "../../shared-utils/five/transformPosition.js";
78
+ import "../../shared-utils/Utils/WorkUtil.js";
79
+ import "../../shared-utils/Utils/BaseUtil.js";
78
80
  import "../../shared-utils/five/getFloorIndex.js";
79
81
  import "../../shared-utils/safeObj.js";
80
82
  import "../../shared-utils/three/loadTexture.js";
@@ -160,7 +162,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
160
162
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
161
163
  import "@realsee/five/gltf-loader";
162
164
  const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
163
- class fi extends I {
165
+ class Ti extends I {
164
166
  constructor(t) {
165
167
  super(t);
166
168
  h(this, "rendererMap", /* @__PURE__ */ new Map());
@@ -493,5 +495,5 @@ class fi extends I {
493
495
  }
494
496
  }
495
497
  export {
496
- fi as TagRender
498
+ Ti as TagRender
497
499
  };
@@ -7,12 +7,13 @@ import { Five } from '@realsee/five';
7
7
  import type { State as FiveState } from '@realsee/five';
8
8
  import type { Mode } from '@realsee/five';
9
9
  import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
10
+ import { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
10
11
  export declare abstract class TagUtil extends TagCache {
11
12
  tags: TagInstance[];
12
13
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
13
14
  set workCode(workCode: string);
14
15
  get workCode(): string;
15
- protected get work(): import("@realsee/five").Work;
16
+ workUtil: WorkUtil;
16
17
  protected mediaStore: MediaStore;
17
18
  /** css3DRenderPlugin */
18
19
  protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
@@ -27,7 +28,6 @@ export declare abstract class TagUtil extends TagCache {
27
28
  disposed: boolean;
28
29
  };
29
30
  protected domEvents: FiveDomEvents;
30
- private _workCode;
31
31
  protected constructor(five: Five);
32
32
  getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
33
33
  /** 暂停当前标签内进行的所有多媒体 */
@@ -43,7 +43,6 @@ export declare abstract class TagUtil extends TagCache {
43
43
  * @description 获取标签当前状态
44
44
  */
45
45
  getCurrentVisibleState(tag: TagInstance): boolean;
46
- protected getObserverPosition: (index: number) => THREE.Vector3;
47
46
  protected loadVideoFirstFrame: () => void;
48
47
  protected updateTagConfig(): void;
49
48
  protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;