@realsee/dnalogel 3.2.0-dev.4 → 3.2.0-dev.6

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 (370) hide show
  1. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
  2. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
  4. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
  5. package/dist/index.cjs.js +54 -54
  6. package/dist/index.js +3204 -3176
  7. package/dist/index.umd.js +44 -44
  8. package/dist/shared-utils/five/getFloorIndex.d.ts +2 -8
  9. package/dist/shared-utils/five/transformPosition.d.ts +2 -0
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  13. package/docs/classes/CSS3DRender.html +3 -3
  14. package/docs/classes/CruisePluginController.html +3 -3
  15. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  16. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  17. package/docs/classes/Magnifier.html +3 -3
  18. package/docs/classes/ModelRoomLabelController.html +3 -3
  19. package/docs/classes/Object3DHelperController.html +3 -3
  20. package/docs/classes/PaintBrush.html +3 -3
  21. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  22. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  23. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  24. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  25. package/docs/classes/PanoTagPluginController.html +56 -29
  26. package/docs/classes/Util.BetterTween.html +3 -3
  27. package/docs/classes/Util.Interval.html +3 -3
  28. package/docs/classes/Util.LineSegments.html +3 -3
  29. package/docs/classes/Util.Magnifier.html +3 -3
  30. package/docs/classes/Util.Object3D.html +3 -3
  31. package/docs/classes/Util.PointDomHelper.html +3 -3
  32. package/docs/classes/Util.PointHelper.html +3 -3
  33. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  34. package/docs/classes/Util.Rectangle.html +3 -3
  35. package/docs/enums/CameraMovementEffect.html +3 -3
  36. package/docs/enums/ContentType.html +3 -3
  37. package/docs/enums/DIRECTION.html +3 -3
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  39. package/docs/enums/DimensionType.html +3 -3
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  42. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  43. package/docs/enums/PointType.html +3 -3
  44. package/docs/enums/Rotation.html +3 -3
  45. package/docs/functions/AreaMakerPlugin.html +3 -3
  46. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  47. package/docs/functions/CameraMovementPlugin.html +3 -3
  48. package/docs/functions/CruisePlugin.html +3 -3
  49. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  50. package/docs/functions/GuideLinePlugin.html +3 -3
  51. package/docs/functions/ItemLabelPlugin.html +3 -3
  52. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  53. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  55. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  56. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  57. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  58. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  59. package/docs/functions/ModelViewPlugin.html +3 -3
  60. package/docs/functions/Object3DHelperPlugin.html +3 -3
  61. package/docs/functions/PanoCompassPlugin.html +3 -3
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  63. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  65. package/docs/functions/PanoMeasurePlugin.html +3 -3
  66. package/docs/functions/PanoRulerPlugin.html +3 -3
  67. package/docs/functions/PanoRulerProPlugin.html +3 -3
  68. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  69. package/docs/functions/PanoTagPlugin.html +3 -3
  70. package/docs/functions/PanoVideoPlugin.html +3 -3
  71. package/docs/functions/PipelinePlugin.html +3 -3
  72. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  73. package/docs/functions/Util.absoluteUrl.html +3 -3
  74. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  75. package/docs/functions/Util.equal.html +3 -3
  76. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  77. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  78. package/docs/functions/Util.getFrameTime.html +3 -3
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  81. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  82. package/docs/functions/Util.isModelLike.html +3 -3
  83. package/docs/functions/Util.isNil.html +3 -3
  84. package/docs/functions/Util.isPanoramaLike.html +3 -3
  85. package/docs/functions/Util.nextFrame.html +3 -3
  86. package/docs/functions/Util.notNil.html +3 -3
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  88. package/docs/functions/Util.tweenProgress.html +3 -3
  89. package/docs/functions/Util.uuid.html +3 -3
  90. package/docs/functions/pluginFlag.html +3 -3
  91. package/docs/index.html +4 -4
  92. package/docs/interfaces/AddTagConfig.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  105. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  120. package/docs/interfaces/EventMap.html +3 -3
  121. package/docs/interfaces/FloorplanBounding.html +3 -3
  122. package/docs/interfaces/FloorplanData.html +3 -3
  123. package/docs/interfaces/FloorplanEntrance.html +3 -3
  124. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  125. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  126. package/docs/interfaces/FloorplanFloorData.html +3 -3
  127. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  128. package/docs/interfaces/FloorplanObserver.html +3 -3
  129. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  130. package/docs/interfaces/FloorplanPosition.html +3 -3
  131. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  133. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  134. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  135. package/docs/interfaces/FloorplanServerData.html +3 -3
  136. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  138. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  139. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  140. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  141. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  161. package/docs/interfaces/HelperOffset.html +3 -3
  162. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  163. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  166. package/docs/interfaces/MinMax.html +3 -3
  167. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  170. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  171. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  172. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  175. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  176. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  177. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  178. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  179. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  180. package/docs/interfaces/Object3DHelperState.html +3 -3
  181. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  182. package/docs/interfaces/PaintBrushAction.html +3 -3
  183. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  184. package/docs/interfaces/PaintBrushState.html +3 -3
  185. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  186. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  187. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  188. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  189. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  190. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  191. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  192. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  193. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  194. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  195. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  196. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  197. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  198. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  199. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  200. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  201. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  202. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  203. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  205. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  207. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  208. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  209. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  210. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  211. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  212. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  213. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  214. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  215. package/docs/interfaces/Point.html +3 -3
  216. package/docs/interfaces/Room.html +3 -3
  217. package/docs/interfaces/RoomInfo.html +3 -3
  218. package/docs/interfaces/RoomLabel.html +3 -3
  219. package/docs/interfaces/RoomRules.html +3 -3
  220. package/docs/interfaces/Rooms.html +3 -3
  221. package/docs/interfaces/Scissor.html +3 -3
  222. package/docs/interfaces/State.html +3 -3
  223. package/docs/interfaces/TagCacheInterface.html +3 -3
  224. package/docs/interfaces/TagConfig.html +3 -3
  225. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  226. package/docs/interfaces/TagIconUrl.html +3 -3
  227. package/docs/interfaces/TagObjectGroup.html +3 -3
  228. package/docs/interfaces/TagStyle.html +3 -3
  229. package/docs/interfaces/Tags.html +3 -3
  230. package/docs/interfaces/TemporaryState.html +3 -3
  231. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  232. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  233. package/docs/interfaces/Util.PointIntersection.html +3 -3
  234. package/docs/modules/AreaMakerPluginType.html +3 -3
  235. package/docs/modules/CruisePluginTypes.html +3 -3
  236. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  237. package/docs/modules/GuideLineItem.html +3 -3
  238. package/docs/modules/GuideLineModeItem.html +3 -3
  239. package/docs/modules/GuideLinePluginType.html +3 -3
  240. package/docs/modules/PanoVideoPluginType.html +3 -3
  241. package/docs/modules/Util.html +3 -3
  242. package/docs/modules.html +4 -4
  243. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  244. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  245. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  246. package/docs/types/ArrayPosition.html +3 -3
  247. package/docs/types/AudioAppearance.html +3 -3
  248. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  249. package/docs/types/CSS3DRenderExportType.html +3 -3
  250. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  251. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  252. package/docs/types/ClassFunctionParameters.html +3 -3
  253. package/docs/types/Color.html +3 -3
  254. package/docs/types/ContentTypeConfigKey.html +3 -3
  255. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  256. package/docs/types/ContentTypeMap.html +3 -3
  257. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  258. package/docs/types/Create3DElementReturnType.html +3 -3
  259. package/docs/types/CruisePluginExportType.html +3 -3
  260. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  261. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  262. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  264. package/docs/types/DeprecatedTagProperty.html +3 -3
  265. package/docs/types/Direction-1.html +3 -3
  266. package/docs/types/Direction4.html +3 -3
  267. package/docs/types/ElementRenderer.html +3 -3
  268. package/docs/types/FloorplanRuleLabels.html +3 -3
  269. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  270. package/docs/types/GuideLinePluginExportType.html +3 -3
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  276. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  277. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  278. package/docs/types/HelperEventMap.html +3 -3
  279. package/docs/types/LoadTagConfig.html +3 -3
  280. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  281. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  282. package/docs/types/MediaData.html +3 -3
  283. package/docs/types/MediaStore.html +3 -3
  284. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  285. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  286. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  287. package/docs/types/ModelId.html +3 -3
  288. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  289. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  290. package/docs/types/MoveArgs.html +3 -3
  291. package/docs/types/MoveOpts.html +3 -3
  292. package/docs/types/Object3DHelperEventMap.html +3 -3
  293. package/docs/types/ObjectFit.html +3 -3
  294. package/docs/types/PaintBrushEventMap.html +3 -3
  295. package/docs/types/PanoCompassPluginData.html +3 -3
  296. package/docs/types/PanoCompassPluginExportType.html +3 -3
  297. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  298. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  299. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  300. package/docs/types/PanoIndex.html +3 -3
  301. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  302. package/docs/types/PanoMeasureReturnType.html +3 -3
  303. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  304. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  305. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  306. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  307. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  308. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  309. package/docs/types/PipelinePluginParameterType.html +3 -3
  310. package/docs/types/PipelinePluginReturnType.html +3 -3
  311. package/docs/types/PlaneTag.html +3 -3
  312. package/docs/types/Point2DTag.html +3 -3
  313. package/docs/types/Point3DTag.html +3 -3
  314. package/docs/types/PointTag.html +3 -3
  315. package/docs/types/PointTagInstance.html +3 -3
  316. package/docs/types/Position.html +4 -4
  317. package/docs/types/RotateArgs.html +3 -3
  318. package/docs/types/RotateOpts.html +3 -3
  319. package/docs/types/RuleLabelsKey.html +3 -3
  320. package/docs/types/RuleLabelsValue.html +3 -3
  321. package/docs/types/StickType.html +3 -3
  322. package/docs/types/Tag.html +3 -3
  323. package/docs/types/Tag2D.html +3 -3
  324. package/docs/types/Tag3D.html +3 -3
  325. package/docs/types/TagConfigByKey.html +3 -3
  326. package/docs/types/TagContentType.html +3 -3
  327. package/docs/types/TagDimensionType.html +3 -3
  328. package/docs/types/TagElement.html +3 -3
  329. package/docs/types/TagEvents.html +3 -3
  330. package/docs/types/TagGLTFObject.html +3 -3
  331. package/docs/types/TagHooks.html +3 -3
  332. package/docs/types/TagId.html +3 -3
  333. package/docs/types/TagInstance.html +6 -4
  334. package/docs/types/TagPointType.html +3 -3
  335. package/docs/types/TagRendererMap.html +3 -3
  336. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  337. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  338. package/docs/types/WorkCode.html +3 -3
  339. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  340. package/docs/variables/PLUGIN.html +3 -3
  341. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  342. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  343. package/docs/variables/defaultGlobalConfig.html +3 -3
  344. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  345. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  346. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  347. package/libs/CruisePlugin/Controller.js +35 -34
  348. package/libs/CruisePlugin/index.js +6 -5
  349. package/libs/GuideLinePlugin/Controller.js +5 -4
  350. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  351. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  352. package/libs/GuideLinePlugin/index.js +8 -7
  353. package/libs/PanoTagPlugin/controller/TagComputer.js +69 -68
  354. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  355. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
  356. package/libs/PanoTagPlugin/controller/TagUtil.js +111 -93
  357. package/libs/PanoTagPlugin/controller/index.js +8 -5
  358. package/libs/PanoTagPlugin/index.js +12 -11
  359. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
  360. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
  361. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
  362. package/libs/PanoTagPlugin/utils/tagPosition.js +15 -15
  363. package/libs/base/BasePlugin.js +1 -1
  364. package/libs/index.js +117 -116
  365. package/libs/shared-utils/five/getFloorIndex.d.ts +2 -8
  366. package/libs/shared-utils/five/getFloorIndex.js +16 -12
  367. package/libs/shared-utils/five/transformPosition.d.ts +2 -0
  368. package/libs/shared-utils/five/transformPosition.js +10 -0
  369. package/libs/shared-utils/logger.js +1 -1
  370. package/package.json +1 -1
@@ -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 Vi } from "./GuideLineModeItem/index.js";
16
+ import { GuideLineModeItem as Wi } 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";
@@ -72,6 +72,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
72
72
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
73
73
  import "../shared-utils/typescript/entries.js";
74
74
  import "../shared-utils/url/getUrl.js";
75
+ import "../shared-utils/five/transformPosition.js";
75
76
  import "../shared-utils/five/getFloorIndex.js";
76
77
  import "../shared-utils/safeObj.js";
77
78
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -152,5 +153,5 @@ import "../shared-utils/three/GLTFLoader.js";
152
153
  import "@realsee/five/gltf-loader";
153
154
  import "../shared-utils/five/fiveModelLoad.js";
154
155
  export {
155
- Vi as GuideLineModeItem
156
+ Wi as GuideLineModeItem
156
157
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as ft } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as st } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as lt } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as It } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -85,6 +85,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
85
85
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
86
86
  import "../shared-utils/typescript/entries.js";
87
87
  import "../shared-utils/url/getUrl.js";
88
+ import "../shared-utils/five/transformPosition.js";
88
89
  import "../shared-utils/five/getFloorIndex.js";
89
90
  import "../shared-utils/safeObj.js";
90
91
  import "../PanoTagPlugin/Components/TagContainer.js";
@@ -168,10 +169,10 @@ import "./utils/index.js";
168
169
  import "../shared-utils/to.js";
169
170
  import "../shared-utils/five/changeMode.js";
170
171
  import "../shared-utils/nearlyEqual.js";
171
- const Gt = (i, o) => new t(i, o);
172
+ const Lt = (i, o) => new t(i, o);
172
173
  export {
173
- ft as GuideLineItem,
174
- st as GuideLineModeItem,
175
- Gt as GuideLinePlugin,
176
- Gt as default
174
+ lt as GuideLineItem,
175
+ It as GuideLineModeItem,
176
+ Lt as GuideLinePlugin,
177
+ Lt as default
177
178
  };
@@ -1,30 +1,30 @@
1
- var w = Object.defineProperty, E = Object.defineProperties;
1
+ var B = Object.defineProperty, E = Object.defineProperties;
2
2
  var $ = Object.getOwnPropertyDescriptors;
3
- var k = Object.getOwnPropertySymbols;
4
- var L = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
- var M = (m, e, i) => e in m ? w(m, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[e] = i, y = (m, e) => {
3
+ var C = Object.getOwnPropertySymbols;
4
+ var w = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
5
+ var k = (m, e, i) => e in m ? B(m, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[e] = i, g = (m, e) => {
6
6
  for (var i in e || (e = {}))
7
- L.call(e, i) && M(m, i, e[i]);
8
- if (k)
9
- for (var i of k(e))
10
- O.call(e, i) && M(m, i, e[i]);
7
+ w.call(e, i) && k(m, i, e[i]);
8
+ if (C)
9
+ for (var i of C(e))
10
+ O.call(e, i) && k(m, i, e[i]);
11
11
  return m;
12
- }, D = (m, e) => E(m, $(e));
13
- import * as U from "three";
14
- import { is3DTag as z, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
- import { getTagCenterPosition as I, getTagPosition as Z } from "../utils/tagPosition.js";
16
- import { checkRange as b } from "../utils/checkRange.js";
17
- import { isPanoramaLike as h, isModelLike as H } from "../../shared-utils/five/mode.js";
12
+ }, M = (m, e) => E(m, $(e));
13
+ import * as j from "three";
14
+ import { is3DTag as L, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
15
+ import { getTagCenterPosition as x, getTagPosition as z } from "../utils/tagPosition.js";
16
+ import { checkRange as p } from "../utils/checkRange.js";
17
+ import { isPanoramaLike as b, isModelLike as Z } 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 { notNil as N } from "../../shared-utils/isNil.js";
24
- import { TagUtil as q } from "./TagUtil.js";
25
- import { getFloorIndex as W } from "../../shared-utils/five/getFloorIndex.js";
26
- import { safeObj as j } from "../../shared-utils/safeObj.js";
27
- import { toArray as X } from "../../shared-utils/util.js";
23
+ import { notNil as H } from "../../shared-utils/isNil.js";
24
+ import { TagUtil as N } from "./TagUtil.js";
25
+ import { getFloorIndex as q } from "../../shared-utils/five/getFloorIndex.js";
26
+ import { safeObj as R } from "../../shared-utils/safeObj.js";
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";
30
30
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -63,8 +63,9 @@ import "../../shared-utils/five/calculateThreeMouse.js";
63
63
  import "../utils/tag/adaptConfig.js";
64
64
  import "../../shared-utils/typescript/entries.js";
65
65
  import "../../shared-utils/url/getUrl.js";
66
- const T = new U.Raycaster();
67
- class Je extends q {
66
+ import "../../shared-utils/five/transformPosition.js";
67
+ const I = new j.Raycaster();
68
+ class Je extends N {
68
69
  constructor(e) {
69
70
  super(e);
70
71
  }
@@ -72,12 +73,12 @@ class Je extends q {
72
73
  * @description: 获取是否可见
73
74
  */
74
75
  getVisible(e, i) {
75
- const l = y(y({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = l, f = h(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
76
+ const l = g(g({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = l, f = b(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
76
77
  if ((f == null ? void 0 : f.visible) !== void 0)
77
78
  return f.visible;
78
79
  {
79
- const s = [], d = (() => {
80
- var r, c, u;
80
+ const s = [], u = (() => {
81
+ var r, c, v;
81
82
  const o = (r = e.config.visibleConfig) != null ? r : {};
82
83
  if (typeof o == "function")
83
84
  return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
@@ -87,8 +88,8 @@ class Je extends q {
87
88
  return { value: !0, checkedList: s, reason: "config.keep is visible" };
88
89
  if (o.visibleFiveMode !== void 0) {
89
90
  const a = typeof o.visibleFiveMode == "function" ? o.visibleFiveMode(e) : o.visibleFiveMode;
90
- let v = !1;
91
- if (Array.isArray(a) ? v = a.includes(n) : a === "ModelLike" ? v = H(n) : a === "PanoramaLike" ? v = !h(n) : a === "all" ? v = !0 : typeof a == "string" && (v = a === n), v === !1)
91
+ let d = !1;
92
+ if (Array.isArray(a) ? d = a.includes(n) : a === "ModelLike" ? d = Z(n) : a === "PanoramaLike" ? d = !b(n) : a === "all" ? d = !0 : typeof a == "string" && (d = a === n), d === !1)
92
93
  return {
93
94
  value: !1,
94
95
  checkedList: s,
@@ -99,7 +100,7 @@ class Je extends q {
99
100
  }
100
101
  if (o.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
101
102
  return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
102
- if (h(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
103
+ if (b(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
103
104
  if (s.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
104
105
  return {
105
106
  value: !1,
@@ -110,22 +111,22 @@ class Je extends q {
110
111
  return {
111
112
  value: !1,
112
113
  checkedList: s,
113
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(u = e.fiveState) == null ? void 0 : u.panoIndex}`
114
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
114
115
  };
115
116
  }
116
117
  if (o.visibleDistance !== void 0 && (s.push("visibleDistance"), o.visibleDistance !== "unLimited")) {
117
118
  const a = this.getDistance(e);
118
- if (b(a, o.visibleDistance) === !1)
119
+ if (p(a, o.visibleDistance) === !1)
119
120
  return {
120
121
  value: !1,
121
122
  checkedList: s,
122
123
  reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
123
124
  };
124
125
  }
125
- if (h(n) && o.angleRange && z(e)) {
126
+ if (b(n) && o.angleRange && L(e)) {
126
127
  s.push("angleRange");
127
128
  const a = this.getAngle(e);
128
- if (b(a, o.angleRange) === !1)
129
+ if (p(a, o.angleRange) === !1)
129
130
  return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${o.angleRange}` };
130
131
  }
131
132
  if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
@@ -145,7 +146,7 @@ class Je extends q {
145
146
  reason: "all check passed"
146
147
  };
147
148
  })();
148
- return f && (f.visible = d.value, f.__debug_visible_reason__ = d), d.value;
149
+ return f && (f.visible = u.value, f.__debug_visible_reason__ = u), u.value;
149
150
  }
150
151
  }
151
152
  /**
@@ -168,7 +169,7 @@ class Je extends q {
168
169
  return !1;
169
170
  if (n.keep === "unfolded")
170
171
  return !0;
171
- if (n.unfoldDistance && b(this.getDistance(e), n.unfoldDistance) === !1)
172
+ if (n.unfoldDistance && p(this.getDistance(e), n.unfoldDistance) === !1)
172
173
  return !1;
173
174
  })();
174
175
  t.unfolded = f;
@@ -194,24 +195,24 @@ class Je extends q {
194
195
  return;
195
196
  if (t.autoUnfold.strategy === "ScreenPostion") {
196
197
  const f = this.getTagProject(e);
197
- if (f && b(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
198
+ if (f && p(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
198
199
  return !1;
199
200
  }
200
201
  if (t.autoUnfold.strategy === "MinimumDistance") {
201
- const d = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
202
+ const u = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
202
203
  const c = this.getTagProject(r);
203
204
  if (!c)
204
205
  return !1;
205
- const { x: u, y: a, z: v } = c;
206
- return !(Math.abs(v) > 1 || Math.abs(u) > 1 || Math.abs(a) > 1);
206
+ const { x: v, y: a, z: d } = c;
207
+ return !(Math.abs(d) > 1 || Math.abs(v) > 1 || Math.abs(a) > 1);
207
208
  }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: c }) => {
208
- var u, a;
209
- return !(typeof c == "function" || c.keep || c.autoUnfold === !1 || ((u = c.autoUnfold) == null ? void 0 : u.enable) === !1 || ((a = c.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
210
- }).map((r) => D(y({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: c }) => {
211
- const u = c.autoUnfold.distance;
212
- return !(u && b(r, u) === !1);
209
+ var v, a;
210
+ return !(typeof c == "function" || c.keep || c.autoUnfold === !1 || ((v = c.autoUnfold) == null ? void 0 : v.enable) === !1 || ((a = c.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
211
+ }).map((r) => M(g({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: c }) => {
212
+ const v = c.autoUnfold.distance;
213
+ return !(v && p(r, v) === !1);
213
214
  }).sort((r, c) => r.distance - c.distance).findIndex((r) => r.id === e.id);
214
- if (d === -1 || d <= ((n = t.autoUnfold.maxNumber) != null ? n : 1) - 1 === !1)
215
+ if (u === -1 || u <= ((n = t.autoUnfold.maxNumber) != null ? n : 1) - 1 === !1)
215
216
  return !1;
216
217
  }
217
218
  return !0;
@@ -265,7 +266,7 @@ class Je extends q {
265
266
  * @description 一个点的标签
266
267
  */
267
268
  getTagProject(e) {
268
- const i = I(e);
269
+ const i = x(e);
269
270
  if (!i)
270
271
  return;
271
272
  const { x: l, y: t, z: n } = i.project(this.five.camera);
@@ -274,36 +275,36 @@ class Je extends q {
274
275
  }
275
276
  /** 通过射线检测标签可用性 */
276
277
  getTagEnableByIntersect(e, i) {
277
- var o, r, c, u, a, v;
278
- const l = j(j((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = h(this.five.getCurrentState().mode) ? (r = this.work.observers[t]) == null ? void 0 : r.position : this.five.camera.position;
278
+ var o, r, c, v, a;
279
+ const l = R(R((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
279
280
  if (n === void 0)
280
281
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
281
- const f = X(
282
+ const f = W(
282
283
  (() => {
283
- var g;
284
- const p = (g = l.checkPoints) != null ? g : "center";
285
- return p === "center" ? I(e) : p === "corner" ? Z(e) : Array.isArray(p) ? p : [];
284
+ var h;
285
+ const d = (h = l.checkPoints) != null ? h : "center";
286
+ return d === "center" ? x(e) : d === "corner" ? z(e) : Array.isArray(d) ? d : [];
286
287
  })()
287
288
  );
288
- let s = 0, d = 0;
289
- for (const p of f) {
290
- const g = new U.Vector3().subVectors(p, n).normalize();
291
- T.set(n, g);
292
- const _ = n.distanceTo(p), [P] = this.five.model.intersectRaycaster(T), x = (() => {
293
- if (!R(e))
289
+ let s = 0, u = 0;
290
+ for (const d of f) {
291
+ const h = new j.Vector3().subVectors(d, n).normalize();
292
+ I.set(n, h);
293
+ const U = n.distanceTo(d), [y] = this.five.model.intersectRaycaster(I), P = (() => {
294
+ if (!D(e))
294
295
  return;
295
- const S = this.tags.filter(R).map((B) => {
296
- var C;
297
- return (C = B.model) == null ? void 0 : C.object;
298
- }).filter(N), [V] = T.intersectObjects(S, !0);
299
- return V;
300
- })(), F = (c = l.distanceAccuracy) != null ? c : 0.01;
301
- Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + F >= _ ? s++ : d++;
302
- const A = (v = l.needPassed) != null ? v : 1;
303
- if (s >= A)
296
+ const A = this.tags.filter(D).map((V) => {
297
+ var T;
298
+ return (T = V.model) == null ? void 0 : T.object;
299
+ }).filter(H), [S] = I.intersectObjects(A, !0);
300
+ return S;
301
+ })(), _ = (r = l.distanceAccuracy) != null ? r : 0.01;
302
+ Math.min((c = y == null ? void 0 : y.distance) != null ? c : 1 / 0, (v = P == null ? void 0 : P.distance) != null ? v : 1 / 0) + _ >= U ? s++ : u++;
303
+ const F = (a = l.needPassed) != null ? a : 1;
304
+ if (s >= F)
304
305
  return { value: !0 };
305
306
  }
306
- return d === 0 ? { value: !0 } : {
307
+ return u === 0 ? { value: !0 } : {
307
308
  value: !1,
308
309
  reason: {
309
310
  type: "intersectRaycaster check failed",
@@ -314,10 +315,10 @@ class Je extends q {
314
315
  }
315
316
  /** 检测是否匹配当前楼层 */
316
317
  getVisibleByFloorIndex(e) {
317
- var n, f, s, d, o, r, c;
318
+ var n, f, s, u, o, r, c;
318
319
  let i = 0;
319
320
  const l = (n = e.fiveState) == null ? void 0 : n.panoIndex;
320
- l !== void 0 ? i = (f = this.work.observers[l]) == null ? void 0 : f.floorIndex : i = W(this.work.observers, (c = (r = (d = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : d.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? c : I(e));
321
+ l !== void 0 ? i = (f = this.work.observers[l]) == null ? void 0 : f.floorIndex : i = q(this.work, (c = (r = (u = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : u.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? c : x(e));
321
322
  const t = this.five.model.shownFloor;
322
323
  return t === null || t === i;
323
324
  }
@@ -74,6 +74,7 @@ import "../../shared-utils/five/calculateThreeMouse.js";
74
74
  import "../utils/tag/adaptConfig.js";
75
75
  import "../../shared-utils/typescript/entries.js";
76
76
  import "../../shared-utils/url/getUrl.js";
77
+ import "../../shared-utils/five/transformPosition.js";
77
78
  import "../../shared-utils/five/getFloorIndex.js";
78
79
  import "../../shared-utils/safeObj.js";
79
80
  import "../../shared-utils/three/loadTexture.js";
@@ -158,7 +159,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
158
159
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
159
160
  import "@realsee/five/gltf-loader";
160
161
  const q = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
161
- class hi extends x {
162
+ class ui extends x {
162
163
  constructor(t) {
163
164
  super(t);
164
165
  P(this, "group", new y());
@@ -464,5 +465,5 @@ class hi extends x {
464
465
  }
465
466
  }
466
467
  export {
467
- hi as TagRender
468
+ ui as TagRender
468
469
  };
@@ -1,4 +1,4 @@
1
- import type { TagInstance, TagContentType, StickType, TagId, TagConfig, PlaneTag, MediaStore } from '../typings';
1
+ import type { TagInstance, TagContentType, StickType, TagId, TagConfig, PlaneTag, MediaStore, Position } from '../typings';
2
2
  import * as THREE from 'three';
3
3
  import type { Tag, Tags, PointTagInstance, Point3DTag } from '../typings';
4
4
  import { TagCache } from './TagCache';
@@ -10,6 +10,8 @@ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
10
10
  export declare abstract class TagUtil extends TagCache {
11
11
  tags: TagInstance[];
12
12
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
13
+ set workCode(workCode: string);
14
+ get workCode(): string;
13
15
  protected get work(): import("@realsee/five").Work;
14
16
  protected mediaStore: MediaStore;
15
17
  /** css3DRenderPlugin */
@@ -25,6 +27,7 @@ export declare abstract class TagUtil extends TagCache {
25
27
  disposed: boolean;
26
28
  };
27
29
  protected domEvents: FiveDomEvents;
30
+ private _workCode;
28
31
  protected constructor(five: Five);
29
32
  getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
30
33
  /** 暂停当前标签内进行的所有多媒体 */
@@ -40,6 +43,7 @@ export declare abstract class TagUtil extends TagCache {
40
43
  * @description 获取标签当前状态
41
44
  */
42
45
  getCurrentVisibleState(tag: TagInstance): boolean;
46
+ protected getObserverPosition: (index: number) => THREE.Vector3;
43
47
  protected loadVideoFirstFrame: () => void;
44
48
  protected updateTagConfig(): void;
45
49
  protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
@@ -52,7 +56,7 @@ export declare abstract class TagUtil extends TagCache {
52
56
  * @description: 获取距离
53
57
  */
54
58
  protected getDistance(tag: TagInstance, fiveState?: Partial<FiveState>): number;
55
- protected getPositions(tag: TagInstance): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
59
+ protected getPositions(tag: TagInstance): [Position, Position, Position, Position];
56
60
  protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
57
61
  protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
58
62
  protected get filterPointTag(): PointTagInstance[];
@@ -60,6 +64,7 @@ export declare abstract class TagUtil extends TagCache {
60
64
  protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
61
65
  protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
62
66
  protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
67
+ protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
63
68
  /**
64
69
  * @description 检查是否已经销毁
65
70
  * @returns isDisposed; 已经销毁返回 true,否则返回 false