@realsee/dnalogel 3.55.1-alpha.0 → 3.56.1

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 (448) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -0
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
  4. package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
  5. package/dist/index.cjs.js +28 -28
  6. package/dist/index.js +759 -773
  7. package/dist/index.umd.js +28 -28
  8. package/dist/shared-utils/tag.d.ts +6 -1
  9. package/docs/assets/navigation.js +1 -1
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  13. package/docs/classes/CSS3DRender.html +3 -3
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  16. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  17. package/docs/classes/ModelRoomLabelController.html +6 -6
  18. package/docs/classes/MoveController.html +17 -17
  19. package/docs/classes/Object3DHelperController.html +15 -15
  20. package/docs/classes/PaintBrush.html +5 -5
  21. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  22. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  23. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  24. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  25. package/docs/classes/PanoTagPluginController.html +35 -35
  26. package/docs/classes/Sculpt.html +23 -23
  27. package/docs/classes/Util.BetterTween.html +2 -2
  28. package/docs/classes/Util.FiveDomEvents.html +4 -4
  29. package/docs/classes/Util.FivePuppet.html +3 -3
  30. package/docs/classes/Util.Interval.html +5 -5
  31. package/docs/classes/Util.LightTag.html +15 -15
  32. package/docs/classes/Util.LineSegments.html +2 -2
  33. package/docs/classes/Util.Magnifier.html +6 -6
  34. package/docs/classes/Util.Object3D.html +4 -4
  35. package/docs/classes/Util.PointHelper.html +2 -2
  36. package/docs/classes/Util.PointSelector.html +11 -11
  37. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  38. package/docs/classes/Util.Rectangle.html +5 -5
  39. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  40. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  41. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  42. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  43. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  44. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  45. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  46. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  47. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  48. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  49. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  50. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  51. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  52. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  53. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  54. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  55. package/docs/classes/WalkController.html +18 -18
  56. package/docs/enums/CameraMovementEffect.html +3 -3
  57. package/docs/enums/ContentType.html +18 -18
  58. package/docs/enums/DIRECTION.html +2 -2
  59. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/DimensionType.html +3 -3
  61. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  62. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  64. package/docs/enums/PointType.html +3 -3
  65. package/docs/enums/Rotation.html +3 -3
  66. package/docs/functions/AreaMakerPlugin.html +1 -1
  67. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  68. package/docs/functions/CameraMovementPlugin.html +2 -2
  69. package/docs/functions/CruisePlugin.html +1 -1
  70. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  71. package/docs/functions/GuideLinePlugin.html +1 -1
  72. package/docs/functions/ItemLabelPlugin.html +1 -1
  73. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  74. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  75. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  76. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  77. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  78. package/docs/functions/ModelMakerPlugin.html +1 -1
  79. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  80. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  81. package/docs/functions/ModelViewPlugin.html +2 -2
  82. package/docs/functions/MovePlugin.html +1 -1
  83. package/docs/functions/Object3DHelperPlugin.html +1 -1
  84. package/docs/functions/PanoCompassPlugin.html +1 -1
  85. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  86. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  87. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  88. package/docs/functions/PanoMeasurePlugin.html +1 -1
  89. package/docs/functions/PanoRulerPlugin.html +2 -2
  90. package/docs/functions/PanoRulerProPlugin.html +2 -2
  91. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  92. package/docs/functions/PanoTagPlugin.html +1 -1
  93. package/docs/functions/PanoVideoPlugin.html +2 -2
  94. package/docs/functions/PipelinePlugin.html +1 -1
  95. package/docs/functions/SculptPlugin.html +2 -2
  96. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  97. package/docs/functions/Util.absoluteUrl.html +2 -2
  98. package/docs/functions/Util.awaitNextFrame.html +1 -1
  99. package/docs/functions/Util.blink.html +2 -2
  100. package/docs/functions/Util.bounding.html +1 -1
  101. package/docs/functions/Util.boundingBox.html +1 -1
  102. package/docs/functions/Util.boundingSphere.html +1 -1
  103. package/docs/functions/Util.boxVertex.html +2 -2
  104. package/docs/functions/Util.boxVertexes.html +1 -1
  105. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  106. package/docs/functions/Util.convexHull.html +2 -2
  107. package/docs/functions/Util.equal.html +2 -2
  108. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  109. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  110. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  111. package/docs/functions/Util.getFrameTime.html +2 -2
  112. package/docs/functions/Util.inside.html +1 -1
  113. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  114. package/docs/functions/Util.isModelLike.html +1 -1
  115. package/docs/functions/Util.isNil.html +2 -2
  116. package/docs/functions/Util.isPanoramaLike.html +1 -1
  117. package/docs/functions/Util.lookObject.html +2 -2
  118. package/docs/functions/Util.lookPoint.html +2 -2
  119. package/docs/functions/Util.nextFrame.html +1 -1
  120. package/docs/functions/Util.notNil.html +2 -2
  121. package/docs/functions/Util.reblink.html +2 -2
  122. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  123. package/docs/functions/Util.sculpt.createBox.html +1 -1
  124. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  125. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  126. package/docs/functions/Util.sculpt.createLine.html +2 -2
  127. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  128. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  129. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  130. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  131. package/docs/functions/Util.tag.html +1 -1
  132. package/docs/functions/Util.tweenProgress.html +1 -1
  133. package/docs/functions/Util.uuid.html +2 -2
  134. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  135. package/docs/functions/Util.worldBounding.html +1 -1
  136. package/docs/functions/Util.worldBoundingBox.html +1 -1
  137. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  138. package/docs/functions/createPolyline.html +2 -2
  139. package/docs/functions/pluginFlag.html +1 -1
  140. package/docs/hierarchy.html +1 -1
  141. package/docs/index.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  143. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  144. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  145. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  146. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  147. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  148. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  149. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  150. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  152. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  153. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  154. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  155. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  156. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  157. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  159. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  160. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  161. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  162. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  163. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  164. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  166. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  167. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  168. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  169. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  171. package/docs/interfaces/FloorplanBounding.html +5 -5
  172. package/docs/interfaces/FloorplanData.html +3 -3
  173. package/docs/interfaces/FloorplanEntrance.html +8 -8
  174. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  175. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  176. package/docs/interfaces/FloorplanFloorData.html +3 -3
  177. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  178. package/docs/interfaces/FloorplanObserver.html +3 -3
  179. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  180. package/docs/interfaces/FloorplanPosition.html +3 -3
  181. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  182. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  183. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  184. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  185. package/docs/interfaces/FloorplanServerData.html +3 -3
  186. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  187. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  188. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  189. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  190. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  191. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  192. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  193. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  194. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  195. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  196. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  198. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  199. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  200. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  202. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  203. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  205. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  207. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  208. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  210. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  212. package/docs/interfaces/HelperOffset.html +2 -2
  213. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  214. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  215. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  216. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  217. package/docs/interfaces/MinMax.html +2 -2
  218. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  219. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  220. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  221. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  222. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  223. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  224. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  225. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  227. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  228. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  229. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  231. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  232. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  233. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  234. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  235. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  236. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  237. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  238. package/docs/interfaces/Object3DHelperState.html +2 -2
  239. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  240. package/docs/interfaces/PaintBrushAction.html +7 -7
  241. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  242. package/docs/interfaces/PaintBrushState.html +2 -2
  243. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  244. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  245. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  246. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  247. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  248. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  249. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  250. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  251. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  252. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  253. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  254. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  255. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  256. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  258. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  259. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  267. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  268. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  270. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  272. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  273. package/docs/interfaces/PluginEventMap.html +4 -4
  274. package/docs/interfaces/Point.html +2 -2
  275. package/docs/interfaces/Room.html +2 -2
  276. package/docs/interfaces/RoomInfo.html +2 -2
  277. package/docs/interfaces/RoomLabel.html +7 -7
  278. package/docs/interfaces/RoomRules.html +1 -1
  279. package/docs/interfaces/Rooms.html +1 -1
  280. package/docs/interfaces/Scissor.html +6 -6
  281. package/docs/interfaces/State.html +4 -4
  282. package/docs/interfaces/TagCacheInterface.html +3 -3
  283. package/docs/interfaces/TagConfig.html +10 -10
  284. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  285. package/docs/interfaces/TagIconUrl.html +7 -7
  286. package/docs/interfaces/TagObjectGroup.html +2 -2
  287. package/docs/interfaces/TagStyle.html +2 -2
  288. package/docs/interfaces/Tags.html +4 -4
  289. package/docs/interfaces/TemporaryState.html +2 -2
  290. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  291. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  292. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  293. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  294. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  295. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  296. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  297. package/docs/interfaces/Util.PointIntersection.html +4 -4
  298. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  299. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  300. package/docs/modules/AreaMakerPluginType.html +2 -2
  301. package/docs/modules/CruisePluginTypes.html +2 -2
  302. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  303. package/docs/modules/GuideLineItem.html +2 -2
  304. package/docs/modules/GuideLineModeItem.html +2 -2
  305. package/docs/modules/GuideLinePluginType.html +2 -2
  306. package/docs/modules/ModelMakerPluginType.html +2 -2
  307. package/docs/modules/PanoVideoPluginType.html +2 -2
  308. package/docs/modules/SculptData.html +2 -2
  309. package/docs/modules/Util.html +2 -2
  310. package/docs/modules/Util.sculpt.html +2 -2
  311. package/docs/modules.html +2 -2
  312. package/docs/types/AddObject3DHelperConfig.html +2 -2
  313. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  314. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  315. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  316. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  317. package/docs/types/ArrayPosition.html +1 -1
  318. package/docs/types/AudioAppearance.html +1 -1
  319. package/docs/types/CSS3DRenderExportType.html +1 -1
  320. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  321. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  322. package/docs/types/ClassFunctionParameters.html +1 -1
  323. package/docs/types/Color.html +1 -1
  324. package/docs/types/ContentTypeConfigKey.html +1 -1
  325. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  326. package/docs/types/ContentTypeMap.html +1 -1
  327. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  328. package/docs/types/Create3DElementReturnType.html +1 -1
  329. package/docs/types/CruisePluginExportType.html +1 -1
  330. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  331. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  332. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  333. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  334. package/docs/types/DeprecatedTagProperty.html +2 -2
  335. package/docs/types/Direction-1.html +1 -1
  336. package/docs/types/Direction4.html +1 -1
  337. package/docs/types/ElementRenderer.html +2 -2
  338. package/docs/types/FloorplanRuleLabels.html +2 -2
  339. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  340. package/docs/types/GuideLinePluginExportType.html +1 -1
  341. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  342. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  343. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  344. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  345. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  346. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  347. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  348. package/docs/types/HelperEventMap.html +1 -1
  349. package/docs/types/InternalHelperEventMap.html +1 -1
  350. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  351. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  352. package/docs/types/MediaData.html +2 -2
  353. package/docs/types/MediaStore.html +1 -1
  354. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  355. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  356. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  357. package/docs/types/ModelId.html +1 -1
  358. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  359. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  360. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  361. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  362. package/docs/types/MoveArgs.html +2 -2
  363. package/docs/types/MoveOpts.html +2 -2
  364. package/docs/types/Object3DHelperEventMap.html +1 -1
  365. package/docs/types/ObjectFit.html +1 -1
  366. package/docs/types/PaintBrushEventMap.html +1 -1
  367. package/docs/types/PanoCompassPluginData.html +1 -1
  368. package/docs/types/PanoCompassPluginExportType.html +1 -1
  369. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  370. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  371. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  372. package/docs/types/PanoIndex.html +1 -1
  373. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  374. package/docs/types/PanoMeasureReturnType.html +1 -1
  375. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  376. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  377. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  378. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  379. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  380. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  381. package/docs/types/PipelinePluginParameterType.html +1 -1
  382. package/docs/types/PipelinePluginReturnType.html +1 -1
  383. package/docs/types/PlaneTag.html +2 -2
  384. package/docs/types/Point2DTag.html +2 -2
  385. package/docs/types/Point3DTag.html +2 -2
  386. package/docs/types/PointTagInstance.html +1 -1
  387. package/docs/types/Position.html +1 -1
  388. package/docs/types/PositionFrom.html +1 -1
  389. package/docs/types/RotateArgs.html +2 -2
  390. package/docs/types/RotateOpts.html +2 -2
  391. package/docs/types/RuleLabelsKey.html +1 -1
  392. package/docs/types/RuleLabelsValue.html +1 -1
  393. package/docs/types/ScaleCallback.html +1 -1
  394. package/docs/types/ScalePosition.html +2 -2
  395. package/docs/types/SculptData.BoxData.html +1 -1
  396. package/docs/types/SculptData.CircleData.html +1 -1
  397. package/docs/types/SculptData.CylinderData.html +1 -1
  398. package/docs/types/SculptData.PointData.html +1 -1
  399. package/docs/types/SculptData.PolygonData.html +1 -1
  400. package/docs/types/SculptData.PolylineData.html +1 -1
  401. package/docs/types/SculptData.PrismData.html +1 -1
  402. package/docs/types/SculptData.RectangleData.html +1 -1
  403. package/docs/types/StickType.html +1 -1
  404. package/docs/types/Tag.html +2 -2
  405. package/docs/types/Tag2D.html +2 -2
  406. package/docs/types/Tag3D.html +2 -2
  407. package/docs/types/TagClickParams.html +1 -1
  408. package/docs/types/TagConfigByKey.html +1 -1
  409. package/docs/types/TagContentType.html +1 -1
  410. package/docs/types/TagContentTypeMapping.html +1 -1
  411. package/docs/types/TagDimensionType.html +1 -1
  412. package/docs/types/TagElement.html +2 -2
  413. package/docs/types/TagEvents.html +1 -1
  414. package/docs/types/TagGLTFObject.html +1 -1
  415. package/docs/types/TagHooks.html +1 -1
  416. package/docs/types/TagId.html +1 -1
  417. package/docs/types/TagInstance.html +1 -1
  418. package/docs/types/TagPointType.html +2 -2
  419. package/docs/types/TagRendererMap.html +1 -1
  420. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  421. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  422. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  423. package/docs/types/Util.PointSelectorConfig.html +1 -1
  424. package/docs/types/WorkCode.html +1 -1
  425. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  426. package/docs/variables/PLUGIN.html +1 -1
  427. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  428. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  429. package/docs/variables/Util.animeMap.html +1 -1
  430. package/docs/variables/defaultGlobalConfig.html +1 -1
  431. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  432. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  433. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  434. package/libs/ModelMakerPlugin/Controller.js +24 -24
  435. package/libs/ModelMakerPlugin/item/polygonItem.js +5 -5
  436. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -0
  437. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +86 -78
  438. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +0 -28
  439. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
  440. package/libs/PanoTagPlugin/controller/TagUtil.js +85 -70
  441. package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
  442. package/libs/PanoTagPlugin/controller/index.js +120 -137
  443. package/libs/Sculpt/utils/three/ColoredMesh.js +27 -26
  444. package/libs/base/BasePlugin.js +5 -5
  445. package/libs/shared-utils/logger.js +1 -1
  446. package/libs/shared-utils/tag.d.ts +6 -1
  447. package/libs/shared-utils/tag.js +34 -27
  448. package/package.json +1 -1
@@ -1,25 +1,25 @@
1
- var Z = Object.defineProperty, G = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
1
+ var G = Object.defineProperty, K = Object.defineProperties;
2
+ var Q = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
- var S = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
- var M = (c, i, e) => i in c ? Z(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e, p = (c, i) => {
4
+ var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
+ var C = Math.pow, I = (c, i, e) => i in c ? G(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e, p = (c, i) => {
6
6
  for (var e in i || (i = {}))
7
- S.call(i, e) && M(c, e, i[e]);
7
+ D.call(i, e) && I(c, e, i[e]);
8
8
  if (P)
9
9
  for (var e of P(i))
10
- D.call(i, e) && M(c, e, i[e]);
10
+ j.call(i, e) && I(c, e, i[e]);
11
11
  return c;
12
- }, I = (c, i) => G(c, K(i));
13
- var j = (c, i) => {
12
+ }, w = (c, i) => K(c, Q(i));
13
+ var A = (c, i) => {
14
14
  var e = {};
15
15
  for (var t in c)
16
- S.call(c, t) && i.indexOf(t) < 0 && (e[t] = c[t]);
16
+ D.call(c, t) && i.indexOf(t) < 0 && (e[t] = c[t]);
17
17
  if (c != null && P)
18
18
  for (var t of P(c))
19
- i.indexOf(t) < 0 && D.call(c, t) && (e[t] = c[t]);
19
+ i.indexOf(t) < 0 && j.call(c, t) && (e[t] = c[t]);
20
20
  return e;
21
21
  };
22
- var f = (c, i, e) => (M(c, typeof i != "symbol" ? i + "" : i, e), e);
22
+ var f = (c, i, e) => (I(c, typeof i != "symbol" ? i + "" : i, e), e);
23
23
  var y = (c, i, e) => new Promise((t, r) => {
24
24
  var n = (s) => {
25
25
  try {
@@ -36,38 +36,38 @@ var y = (c, i, e) => new Promise((t, r) => {
36
36
  }, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
37
37
  o((e = e.apply(c, i)).next());
38
38
  });
39
- import { Subscribe as Q } from "../../../shared-utils/Subscribe.js";
40
- import { calculateTagConfig as w } from "../../utils/tag/calculateTagConfig.js";
41
- import { getTagStickType as Y } from "../../utils/tag/format.js";
39
+ import { Subscribe as Y } from "../../../shared-utils/Subscribe.js";
40
+ import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
41
+ import { getTagStickType as ee } from "../../utils/tag/format.js";
42
42
  import "../../../shared-utils/tag.js";
43
- import { isPanoramaLike as U, isModelLike as C } from "../../../shared-utils/five/mode.js";
43
+ import { isPanoramaLike as T, isModelLike as k } from "../../../shared-utils/five/mode.js";
44
44
  import * as B from "three";
45
45
  import "hammerjs";
46
46
  import "../../../shared-utils/three/PointSelector/index.js";
47
47
  import "three/examples/jsm/renderers/CSS3DRenderer";
48
- import { centerPoint as ee } from "../../../shared-utils/three/centerPoint.js";
49
- import { anyPositionToVector3 as A } from "../../../shared-utils/positionToVector3.js";
50
- import { toArray as ie } from "../../../shared-utils/util.js";
48
+ import { centerPoint as ie } from "../../../shared-utils/three/centerPoint.js";
49
+ import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
50
+ import { toArray as te } from "../../../shared-utils/util.js";
51
51
  import "@realsee/five/line";
52
- import { isNil as O, notNil as R } from "../../../shared-utils/isNil.js";
52
+ import { isNil as R, notNil as E } from "../../../shared-utils/isNil.js";
53
53
  import "../../../shared-utils/three/core/Five_LineMaterial2.js";
54
54
  import "../../../shared-utils/three/core/Sphere.js";
55
- import { blink as te, reblink as ne } from "../../../shared-utils/three/blink.js";
56
- import { vectorToCoordinates as se } from "../../../shared-utils/vectorToCoordinate.js";
57
- import { transformPosition as E } from "../../../shared-utils/five/transformPosition.js";
58
- import { lookPoint as oe } from "../../../shared-utils/five/lookPoint.js";
59
- import { uuid as re } from "../../../shared-utils/uuid.js";
55
+ import { blink as ne, reblink as se } from "../../../shared-utils/three/blink.js";
56
+ import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
57
+ import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
58
+ import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
59
+ import { uuid as le } from "../../../shared-utils/uuid.js";
60
60
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
61
61
  import "../../../shared-utils/five/FivePuppet.js";
62
62
  import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
63
- import { getTagPosition as L, getTagCenterPosition as $ } from "../../utils/tagPosition.js";
64
- import { checkRange as k } from "../../utils/checkRange.js";
65
- import { isMediaPlaneTag as le, isMediaModelTag as T } from "../../utils/tag/tagCheck.js";
63
+ import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
64
+ import { checkRange as x } from "../../utils/checkRange.js";
65
+ import { isMediaPlaneTag as ae, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
66
66
  import { getUrlExt as N } from "../../../shared-utils/url/getUrl.js";
67
- import { getFloorIndex as ae } from "../../../shared-utils/five/getFloorIndex.js";
68
- import { safeObj as z } from "../../../shared-utils/safeObj.js";
69
- import { Cache as fe } from "../../utils/Cache.js";
70
- import { _raycaster as V } from "../../../shared-utils/three/temp.js";
67
+ import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
68
+ import { safeObj as J } from "../../../shared-utils/safeObj.js";
69
+ import { Cache as de } from "../../utils/Cache.js";
70
+ import { _raycaster as S } from "../../../shared-utils/three/temp.js";
71
71
  import "../../../shared-utils/typescript/entries.js";
72
72
  import "../../utils/tag/adaptConfig.js";
73
73
  import "../../typings/tag/TagConfig.js";
@@ -112,7 +112,7 @@ import "../../../shared-utils/five/getPosition.js";
112
112
  import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
113
113
  import "../../../shared-utils/three/PointSelector/utils/contents.js";
114
114
  import "../../../shared-utils/formatRad.js";
115
- class ji {
115
+ class Ai {
116
116
  constructor(i, e) {
117
117
  f(this, "plugin");
118
118
  f(this, "id");
@@ -144,12 +144,12 @@ class ji {
144
144
  f(this, "entryFromModel");
145
145
  var s, d, h, u;
146
146
  this.plugin = i;
147
- const t = Y(e);
147
+ const t = ee(e);
148
148
  e.stickType = t;
149
149
  const r = JSON.parse(JSON.stringify(e.data)), n = (s = e.initialConfig) != null ? s : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
150
150
  e.initialConfig = n;
151
- const l = w(e, i.config), o = this.getConfig(e);
152
- e.config = o, this.id = (d = e.id) != null ? d : re(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
151
+ const l = U(e, i.config), o = this.getConfig(e);
152
+ e.config = o, this.id = (d = e.id) != null ? d : le(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
153
153
  visible: void 0,
154
154
  unfolded: !this.can("fold")
155
155
  }, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -157,11 +157,11 @@ class ji {
157
157
  if (!a)
158
158
  return;
159
159
  const g = i.workUtil.transform;
160
- return Array.isArray(a) && a.length === 4 ? a.map(A).map((m) => E(m, g).toArray()) : E(A(a), g).toArray();
160
+ return Array.isArray(a) && a.length === 4 ? a.map(O).map((m) => L(m, g).toArray()) : L(O(a), g).toArray();
161
161
  })(), this.matrix = e.matrix ? (() => {
162
162
  const a = new B.Matrix4().fromArray(e.matrix);
163
163
  return a.premultiply(i.workUtil.transform), a.elements;
164
- })() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new fe(), this.hooks = new Q(), Object.keys(e).forEach((a) => {
164
+ })() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(e).forEach((a) => {
165
165
  this[a] === void 0 && e[a] !== void 0 && (this[a] = e[a]);
166
166
  });
167
167
  }
@@ -175,12 +175,12 @@ class ji {
175
175
  return this.plugin.workUtil;
176
176
  }
177
177
  get centerPosition() {
178
- const i = L(this);
179
- return ee(...Array.isArray(i) ? i : [i]);
178
+ const i = $(this);
179
+ return ie(...Array.isArray(i) ? i : [i]);
180
180
  }
181
181
  get currentConfig() {
182
182
  var r, n;
183
- const i = w(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
183
+ const i = U(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
184
184
  return (n = t != null ? t : i) != null ? n : {};
185
185
  }
186
186
  get currentVisible() {
@@ -207,16 +207,16 @@ class ji {
207
207
  const t = (r = i == null ? void 0 : i.targetMode) != null ? r : this.five.state.mode;
208
208
  if (t === "Panorama") {
209
209
  const n = e == null ? void 0 : e.panoIndex;
210
- if (O(n))
210
+ if (R(n))
211
211
  return;
212
212
  const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
213
213
  this.five.setState(p({
214
214
  mode: "Panorama",
215
215
  workCode: this.workUtil.workCode,
216
216
  panoIndex: n
217
- }, se(o))), yield this.five.ready();
217
+ }, oe(o))), yield this.five.ready();
218
218
  } else
219
- t === "Mapview" && (yield oe(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
219
+ t === "Mapview" && (yield re(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
220
220
  });
221
221
  }
222
222
  /**
@@ -252,7 +252,7 @@ class ji {
252
252
  console.warn("tagDom is empty");
253
253
  return;
254
254
  }
255
- yield (r ? te : ne)(n, p({
255
+ yield (r ? ne : se)(n, p({
256
256
  begin: () => {
257
257
  r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
258
258
  },
@@ -336,24 +336,32 @@ class ji {
336
336
  this.state.visible = this.getVisible(), this.applyVisible();
337
337
  }
338
338
  updateZIndex() {
339
- const i = this.getDistance();
339
+ const i = this.getSquaredDistance();
340
340
  this.zIndex = Math.round((1e4 - (i != null ? i : 0)) * 100);
341
341
  }
342
342
  getConfig(i, e) {
343
343
  var l, o, s;
344
- const t = w(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
344
+ const t = U(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
345
345
  return (s = n != null ? n : t) != null ? s : {};
346
346
  }
347
347
  getDistance(i, e = 3) {
348
348
  const t = p(p({}, this.five.getCurrentState()), i), { panoIndex: r, mode: n } = t, l = n === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
349
349
  return !l || !o ? -1 : l.distanceTo(o);
350
350
  }
351
+ /**
352
+ * @description 用于排序的距离,性能更好
353
+ */
354
+ getSquaredDistance() {
355
+ const i = this.five.camera.position;
356
+ let e;
357
+ return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, C(e[0] - i.x, 2) + C(e[1] - i.y, 2) + C(e[2] - i.z, 2);
358
+ }
351
359
  getVisible(i) {
352
360
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
353
361
  return !1;
354
362
  const e = p(p({}, this.five.getCurrentState()), i);
355
363
  let t = this.cache.getVisible(this, e);
356
- return O(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
364
+ return R(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
357
365
  }
358
366
  getUnfoldedByPanoIndex(i) {
359
367
  if (!this.currentVisible)
@@ -393,14 +401,14 @@ class ji {
393
401
  return;
394
402
  const t = this.data.mediaData;
395
403
  if (!(!t || t.length === 0) && e.renderType === "Mesh") {
396
- if (le(this)) {
404
+ if (ae(this)) {
397
405
  if (t.length === 1) {
398
406
  if (t[0].type === "Video")
399
407
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
400
408
  if (t[0].type === "Image")
401
409
  return N(t[0].url) === "gif" ? "Dom" : "Mesh";
402
410
  }
403
- } else if (T(this))
411
+ } else if (V(this))
404
412
  return t.length === 1 && t[0].type === "Image" ? N(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
405
413
  }
406
414
  })();
@@ -426,11 +434,11 @@ class ji {
426
434
  if ((g == null ? void 0 : g.value) === !1)
427
435
  return g;
428
436
  if (s.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
429
- const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = j(h, ["value"]);
437
+ const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = A(h, ["value"]);
430
438
  if (m === !1)
431
439
  return p({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, v);
432
440
  }
433
- if (U(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
441
+ if (T(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
434
442
  if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
435
443
  return {
436
444
  value: !1,
@@ -446,7 +454,7 @@ class ji {
446
454
  }
447
455
  if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
448
456
  const m = this.getDistance(e, 1);
449
- if (k(m, s.visibleDistance) === !1)
457
+ if (x(m, s.visibleDistance) === !1)
450
458
  return {
451
459
  value: !1,
452
460
  checkedList: n,
@@ -484,9 +492,9 @@ class ji {
484
492
  if (n || (n = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(n))
485
493
  return n.includes(e);
486
494
  if (n === "ModelLike")
487
- return C(e);
495
+ return k(e);
488
496
  if (n === "PanoramaLike")
489
- return !U(e);
497
+ return !T(e);
490
498
  if (n === "all")
491
499
  return !0;
492
500
  if (typeof n == "string")
@@ -495,8 +503,8 @@ class ji {
495
503
  if ((() => {
496
504
  var l;
497
505
  const n = t();
498
- if (R((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
499
- if (C(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, C(e))
506
+ if (E((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
507
+ if (k(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, k(e))
500
508
  return !0;
501
509
  } else
502
510
  this.entryFromModel = !1;
@@ -512,33 +520,33 @@ class ji {
512
520
  /** 通过射线检测标签可用性 */
513
521
  computeVisibleByIntersect(i) {
514
522
  var s, d, h, u;
515
- const e = z(z((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = U(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
523
+ const e = J(J((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = T(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
516
524
  if (r === void 0)
517
525
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
518
- const n = ie(
526
+ const n = te(
519
527
  (() => {
520
528
  var g;
521
529
  const a = (g = e.checkPoints) != null ? g : "center";
522
- return a === "center" ? $(this) : a === "corner" ? L(this) : Array.isArray(a) ? a : [];
530
+ return a === "center" ? z(this) : a === "corner" ? $(this) : Array.isArray(a) ? a : [];
523
531
  })()
524
532
  );
525
533
  let l = 0, o = 0;
526
534
  for (const a of n) {
527
535
  const g = new B.Vector3().subVectors(a, r).normalize();
528
536
  let m;
529
- V.set(r, g);
530
- const [v] = this.fiveUtil.model.intersectRaycaster(V);
537
+ S.set(r, g);
538
+ const [v] = this.fiveUtil.model.intersectRaycaster(S);
531
539
  m = v == null ? void 0 : v.distance;
532
- const x = (() => {
533
- if (!T(this))
540
+ const M = (() => {
541
+ if (!V(this))
534
542
  return;
535
- const _ = this.plugin.tags.filter(T).map((X) => {
543
+ const _ = this.plugin.tags.filter(V).map((Z) => {
536
544
  var F;
537
- return (F = X.model) == null ? void 0 : F.object;
538
- }).filter(R), [q] = V.intersectObjects(_, !0);
539
- return q;
540
- })(), J = r.distanceTo(a), W = (d = e.distanceAccuracy) != null ? d : 0.01;
541
- m = Math.min(m != null ? m : 1 / 0, (h = x == null ? void 0 : x.distance) != null ? h : 1 / 0), m + W >= J ? l++ : o++;
545
+ return (F = Z.model) == null ? void 0 : F.object;
546
+ }).filter(E), [X] = S.intersectObjects(_, !0);
547
+ return X;
548
+ })(), W = r.distanceTo(a), q = (d = e.distanceAccuracy) != null ? d : 0.01;
549
+ m = Math.min(m != null ? m : 1 / 0, (h = M == null ? void 0 : M.distance) != null ? h : 1 / 0), m + q >= W ? l++ : o++;
542
550
  const H = (u = e.needPassed) != null ? u : 1;
543
551
  if (l >= H)
544
552
  return { value: !0 };
@@ -557,9 +565,9 @@ class ji {
557
565
  var r, n, l, o, s, d, h;
558
566
  let i = 0;
559
567
  const e = (r = this.fiveState) == null ? void 0 : r.panoIndex;
560
- e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i = ae(
568
+ e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i = fe(
561
569
  this.workUtil.work,
562
- (h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? h : $(this)
570
+ (h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? h : z(this)
563
571
  );
564
572
  const t = this.fiveUtil.model.shownFloor;
565
573
  return {
@@ -580,13 +588,13 @@ class ji {
580
588
  return !1;
581
589
  if (e.keep === "unfolded")
582
590
  return !0;
583
- if (e.unfoldDistance && k(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
591
+ if (e.unfoldDistance && x(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
584
592
  return !1;
585
593
  }
586
594
  }
587
595
  computeUnfoldedByCamera() {
588
596
  var e;
589
- if (this.entryFromModel && C(this.five.state.mode))
597
+ if (this.entryFromModel && k(this.five.state.mode))
590
598
  return !1;
591
599
  const i = this.getConfig().unfoldedConfig;
592
600
  if (i) {
@@ -600,7 +608,7 @@ class ji {
600
608
  return;
601
609
  if (i.autoUnfold.strategy === "ScreenPostion") {
602
610
  const t = this.computeTagProject();
603
- if (t && k(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
611
+ if (t && x(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
604
612
  return !1;
605
613
  }
606
614
  if (i.autoUnfold.strategy === "MinimumDistance") {
@@ -613,9 +621,9 @@ class ji {
613
621
  }).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
614
622
  var s, d;
615
623
  return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
616
- }).map((o) => I(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
624
+ }).map((o) => w(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
617
625
  const d = s.autoUnfold.distance;
618
- return !(d && k(o, d) === !1);
626
+ return !(d && x(o, d) === !1);
619
627
  }).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
620
628
  if (n === -1 || n <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
621
629
  return !1;
@@ -653,7 +661,7 @@ class ji {
653
661
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
654
662
  if (!this.enabled)
655
663
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
656
- const i = I(p({}, this.computeVisible()), {
664
+ const i = w(p({}, this.computeVisible()), {
657
665
  tagInstance: this
658
666
  });
659
667
  return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
@@ -671,5 +679,5 @@ class ji {
671
679
  }
672
680
  }
673
681
  export {
674
- ji as BaseTag
682
+ Ai as BaseTag
675
683
  };
@@ -97,34 +97,6 @@ class wt extends g {
97
97
  onClick(t) {
98
98
  t.target === "TagPoint" && this.unfoldAndFoldOthers();
99
99
  }
100
- // public updateVisible() {
101
- // if (typeof window.requestIdleCallback === 'undefined') {
102
- // super.updateVisible()
103
- // return
104
- // }
105
- // const doRequestIdleCallback = () => {
106
- // if (this.requestIdleCallbackId) {
107
- // cancelIdleCallback(this.requestIdleCallbackId)
108
- // }
109
- // this.requestIdleCallbackId = requestIdleCallback(() => {
110
- // super.updateVisible()
111
- // })
112
- // }
113
- // let canUseRequestIdleCallback = false
114
- // requestIdleCallback(() => {
115
- // canUseRequestIdleCallback = true
116
- // })
117
- // doRequestIdleCallback()
118
- // // 防止不能用 requestIdleCallback 的情况,有些浏览器上有 requestIdleCallback 但是贼慢,要几秒钟。
119
- // setTimeout(() => {
120
- // if (!canUseRequestIdleCallback) {
121
- // if (this.requestIdleCallbackId) {
122
- // cancelIdleCallback(this.requestIdleCallbackId)
123
- // }
124
- // super.updateVisible()
125
- // }
126
- // }, 200)
127
- // }
128
100
  applyVisible() {
129
101
  var t, i, o, e;
130
102
  this.currentVisible && this.updateScreenPosition(), (o = (i = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || o.setVisible(this.currentVisible), (e = this.tag3DContentSvelte) == null || e.svelteApp.$set({
@@ -1,4 +1,4 @@
1
- import type { TagContentType, StickType, TagId, MediaStore, State, PluginEventMap } from '../typings';
1
+ import type { TagContentType, StickType, TagId, MediaStore, State, PluginEventMap, TagInstance, ArrayPosition } from '../typings';
2
2
  import * as THREE from 'three';
3
3
  import type { Tags } from '../typings';
4
4
  import { Five } from '@realsee/five';
@@ -48,6 +48,7 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
48
48
  get filterCSS3DTag(): (BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
49
49
  private _container;
50
50
  private _css3DRenderPlugin;
51
+ private timeoutIds;
51
52
  protected constructor(five: Five);
52
53
  addRenderQueue(params: {
53
54
  type: RenderQueueType;
@@ -69,8 +70,9 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
69
70
  /** 暂停当前标签内进行的所有多媒体 */
70
71
  pauseCurrentMedia(): void;
71
72
  protected loadVideoFirstFrame: () => void;
72
- protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
73
+ protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [ArrayPosition, ArrayPosition, ArrayPosition, ArrayPosition];
73
74
  protected addObjectClickHandler(tag: BaseTag, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
75
+ protected tagsDo: (tags: TagInstance[], func: (tag: TagInstance) => any) => void;
74
76
  /**
75
77
  * @description 检查是否已经销毁
76
78
  * @returns isDisposed; 已经销毁返回 true,否则返回 false