@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,44 +1,44 @@
1
- var U = Object.defineProperty, E = Object.defineProperties;
2
- var k = Object.getOwnPropertyDescriptors;
3
- var T = Object.getOwnPropertySymbols;
4
- var F = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
5
- var f = Math.pow, y = (d, h, e) => h in d ? U(d, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[h] = e, g = (d, h) => {
6
- for (var e in h || (h = {}))
7
- F.call(h, e) && y(d, e, h[e]);
8
- if (T)
9
- for (var e of T(h))
10
- w.call(h, e) && y(d, e, h[e]);
1
+ var S = Object.defineProperty, D = Object.defineProperties;
2
+ var P = Object.getOwnPropertyDescriptors;
3
+ var y = Object.getOwnPropertySymbols;
4
+ var U = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
5
+ var u = (d, a, e) => a in d ? S(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
6
+ for (var e in a || (a = {}))
7
+ U.call(a, e) && u(d, e, a[e]);
8
+ if (y)
9
+ for (var e of y(a))
10
+ A.call(a, e) && u(d, e, a[e]);
11
11
  return d;
12
- }, v = (d, h) => E(d, k(h));
13
- var p = (d, h, e) => (y(d, typeof h != "symbol" ? h + "" : h, e), e);
14
- var m = (d, h, e) => new Promise((t, i) => {
12
+ }, c = (d, a) => D(d, P(a));
13
+ var p = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
+ var l = (d, a, e) => new Promise((t, i) => {
15
15
  var o = (s) => {
16
16
  try {
17
- r(e.next(s));
18
- } catch (a) {
19
- i(a);
17
+ n(e.next(s));
18
+ } catch (h) {
19
+ i(h);
20
20
  }
21
- }, n = (s) => {
21
+ }, r = (s) => {
22
22
  try {
23
- r(e.throw(s));
24
- } catch (a) {
25
- i(a);
23
+ n(e.throw(s));
24
+ } catch (h) {
25
+ i(h);
26
26
  }
27
- }, r = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, n);
28
- r((e = e.apply(d, h)).next());
27
+ }, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, r);
28
+ n((e = e.apply(d, a)).next());
29
29
  });
30
- import * as b from "three";
31
- import { objectAssignDeepExports as c } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
- import { arrayPositionToVector3 as M } from "../../shared-utils/positionToVector3.js";
33
- import { isModelTag as _, isMediaModelTag as L } from "../utils/tag/tagCheck.js";
34
- import { debounce as I } from "../utils/debounce.js";
35
- import { throttle as R } from "../utils/throttle.js";
36
- import B, { getTagStickType as O } from "../utils/tag/format.js";
37
- import { generateBlankAudio as G, AudioNamespace as N } from "../../shared-utils/audio.js";
38
- import { resizeObserver as C } from "../../shared-utils/dom/resizeObserver.js";
39
- import { TagRender as V } from "./TagRender.js";
30
+ import * as v from "three";
31
+ import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import { arrayPositionToVector3 as E } from "../../shared-utils/positionToVector3.js";
33
+ import { isModelTag as k, isMediaModelTag as F } from "../utils/tag/tagCheck.js";
34
+ import { debounce as w } from "../utils/debounce.js";
35
+ import { throttle as M } from "../utils/throttle.js";
36
+ import _, { getTagStickType as L } from "../utils/tag/format.js";
37
+ import { generateBlankAudio as I, AudioNamespace as R } from "../../shared-utils/audio.js";
38
+ import { resizeObserver as b } from "../../shared-utils/dom/resizeObserver.js";
39
+ import { TagRender as B } from "./TagRender.js";
40
40
  import "../../shared-utils/tag.js";
41
- import { isModelLike as z } from "../../shared-utils/five/mode.js";
41
+ import { isModelLike as O } from "../../shared-utils/five/mode.js";
42
42
  import "hammerjs";
43
43
  import "../../shared-utils/three/PointSelector/index.js";
44
44
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -46,17 +46,17 @@ import "@realsee/five/line";
46
46
  import "../../shared-utils/three/core/Five_LineMaterial2.js";
47
47
  import "../../shared-utils/three/core/Sphere.js";
48
48
  import "animejs";
49
- import { waitFiveModelLoaded as x } from "../../shared-utils/five/fiveModelLoad.js";
50
- import { nextFrame as Q } from "../../shared-utils/animationFrame/index.js";
49
+ import { waitFiveModelLoaded as G } from "../../shared-utils/five/fiveModelLoad.js";
50
+ import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
51
51
  import "../../shared-utils/five/FivePuppet.js";
52
- import { DebugUtil as $ } from "../utils/DebugUtil.js";
53
- import { safeObj as D } from "../../shared-utils/safeObj.js";
54
- import { PointTag as j } from "./Tag/PointTag.js";
55
- import { ModelTag as W } from "./Tag/ModelTag.js";
56
- import { PlaneTag as q } from "./Tag/PlaneTag.js";
57
- import H from "../Components/TagContainer.js";
58
- import { fiveEveryReadyListener as J } from "../../shared-utils/five/fiveEveryReadyListener.js";
59
- import { tweenProgress as Z } from "../../shared-utils/animationFrame/BetterTween.js";
52
+ import { DebugUtil as V } from "../utils/DebugUtil.js";
53
+ import { safeObj as T } from "../../shared-utils/safeObj.js";
54
+ import { PointTag as z } from "./Tag/PointTag.js";
55
+ import { ModelTag as Q } from "./Tag/ModelTag.js";
56
+ import { PlaneTag as $ } from "./Tag/PlaneTag.js";
57
+ import x from "../Components/TagContainer.js";
58
+ import { fiveEveryReadyListener as j } from "../../shared-utils/five/fiveEveryReadyListener.js";
59
+ import { tweenProgress as W } from "../../shared-utils/animationFrame/BetterTween.js";
60
60
  import "../Components/Tag/index.js";
61
61
  import "../../vendor/svelte/internal/index.js";
62
62
  import "../Components/Tag/TextTag/index.js";
@@ -215,20 +215,19 @@ import "../../base/BasePlugin.js";
215
215
  import "../utils/addDebugPoints.js";
216
216
  import "../Components/TagItem.js";
217
217
  import "../Components/Common/TagPoint.js";
218
- const S = "Dnalogel-PanoTagPlugin", Po = (d) => `${S}--${d}`;
219
- class Ao extends V {
218
+ const C = "Dnalogel-PanoTagPlugin", To = (d) => `${C}--${d}`;
219
+ class Co extends B {
220
220
  constructor(e, t) {
221
221
  super(e);
222
222
  /** state */
223
223
  p(this, "state", { enabled: !0, visible: !0 });
224
224
  /** debug */
225
225
  p(this, "debug");
226
- p(this, "debugUtil", new $(this));
227
- p(this, "timeoutIds", []);
226
+ p(this, "debugUtil", new V(this));
228
227
  /** 更改 tag 模型 */
229
- p(this, "changeTagModel", (e, t) => m(this, null, function* () {
228
+ p(this, "changeTagModel", (e, t) => l(this, null, function* () {
230
229
  var i;
231
- e.data = c({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
230
+ e.data = f({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
232
231
  }));
233
232
  p(this, "handleFiveModeChange", (e) => {
234
233
  const t = () => {
@@ -236,7 +235,7 @@ class Ao extends V {
236
235
  i.state.visible = !1, i.applyVisible();
237
236
  }), this.five.ready().then(() => {
238
237
  this.tagsDo(this.tags, (i) => {
239
- i.updateVisible(), L(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
238
+ i.updateVisible(), F(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
240
239
  });
241
240
  });
242
241
  };
@@ -264,58 +263,42 @@ class Ao extends V {
264
263
  this.five.off("render.prepare", this.handleFiveCameraUpdate);
265
264
  }, 1e3);
266
265
  });
267
- p(this, "handleFivePanoArrived", () => m(this, null, function* () {
266
+ p(this, "handleFivePanoArrived", () => l(this, null, function* () {
268
267
  this.tags.forEach((e) => {
269
- e.state.visible = !1, e.temporaryState = v(g({}, e.temporaryState), { visible: !0 }), e.applyVisible();
268
+ e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible();
270
269
  }), this.tagsDo(this.tags, (e) => {
271
270
  e.updateVisible();
272
- }), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(_).filter((e) => {
271
+ }), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(k).filter((e) => {
273
272
  var t;
274
273
  return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
275
274
  }).forEach((e) => {
276
- var a;
277
- const t = new b.Mesh(new b.BoxGeometry(), new b.MeshBasicMaterial()), i = (a = e.model) == null ? void 0 : a.object;
275
+ var h;
276
+ const t = new v.Mesh(new v.BoxGeometry(), new v.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
278
277
  if (!i)
279
278
  return;
280
279
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
281
280
  const o = this.five.camera.position;
282
281
  t.lookAt(o.clone().setY(t.position.y));
283
- const n = i.quaternion.clone(), r = t.quaternion.clone(), s = Z();
284
- s.onUpdate(({ progress: l }) => {
285
- i.quaternion.copy(n.clone().slerp(r, l));
282
+ const r = i.quaternion.clone(), n = t.quaternion.clone(), s = W();
283
+ s.onUpdate(({ progress: g }) => {
284
+ i.quaternion.copy(r.clone().slerp(n, g));
286
285
  }), s.play();
287
286
  });
288
287
  }));
289
- p(this, "tagsDo", (e, t) => {
290
- const i = this.five.camera.position, o = (e != null ? e : this.tags).sort((s, a) => {
291
- let l;
292
- Array.isArray(s.position[0]) ? l = s.position[0] : l = s.position;
293
- let u;
294
- Array.isArray(a.position[0]) ? u = a.position[0] : u = a.position;
295
- const P = f(l[0] - i.x, 2) + f(l[1] - i.y, 2) + f(l[2] - i.z, 2), A = f(u[0] - i.x, 2) + f(u[1] - i.y, 2) + f(u[2] - i.z, 2);
296
- return P - A;
297
- });
298
- this.timeoutIds.forEach((s) => clearTimeout(s));
299
- const r = o.length > 1e3 ? 30 : 17;
300
- for (let s = 0; s < o.length; s++) {
301
- const a = o[s], l = setTimeout(() => t(a), s * r);
302
- this.timeoutIds.push(l);
303
- }
304
- });
305
288
  /** 楼层切换时,需要更新标签可见性 */
306
289
  p(this, "handleFiveModelShownFloorChange", () => {
307
290
  this.tagsDo(this.tags, (e) => e.updateVisible());
308
291
  });
309
292
  p(this, "onFiveEveryReady", () => {
310
- this.setUnfoldedByCamera(), z(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
293
+ this.setUnfoldedByCamera(), O(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
311
294
  });
312
295
  p(this, "render", () => {
313
296
  this.renderQueue.forEach((e, t) => {
314
297
  const { keys: i } = e;
315
298
  if (t === "TagContainerSvelte") {
316
- const n = this.filterPointTag.filter((s) => s.screenPosition), r = {
299
+ const r = this.filterPointTag.filter((s) => s.screenPosition), n = {
317
300
  hooks: this.hooks,
318
- tags: n,
301
+ tags: r,
319
302
  state: this.state,
320
303
  temporaryState: this.temporaryState,
321
304
  mediaStore: this.mediaStore,
@@ -326,18 +309,18 @@ class Ao extends V {
326
309
  if (this.TagContainerSvelte) {
327
310
  let s = {};
328
311
  if (i.length === 0)
329
- s = r;
312
+ s = n;
330
313
  else
331
- for (const a of i)
332
- s[a] = r[a];
314
+ for (const h of i)
315
+ s[h] = n[h];
333
316
  this.TagContainerSvelte.$set(s);
334
317
  } else {
335
318
  if (!this.container)
336
319
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
337
- this.TagContainerSvelte = new H({
320
+ this.TagContainerSvelte = new x({
338
321
  target: this.container,
339
- props: v(g({}, r), { state: v(g({}, this.state), { enabled: !1 }) })
340
- }), Q(() => {
322
+ props: c(m({}, n), { state: c(m({}, this.state), { enabled: !1 }) })
323
+ }), N(() => {
341
324
  var s;
342
325
  (s = this.TagContainerSvelte) == null || s.$set({ state: this.state });
343
326
  });
@@ -345,9 +328,9 @@ class Ao extends V {
345
328
  }
346
329
  }), this.renderQueue.clear();
347
330
  });
348
- this.params = c({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), G(1, { namespace: N.PlayAudio });
331
+ this.params = f({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), I(1, { namespace: R.PlayAudio });
349
332
  try {
350
- Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = S + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
333
+ Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = C + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
351
334
  get: function() {
352
335
  return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, o) => o.tags.length - i.tags.length)[0];
353
336
  }
@@ -356,23 +339,23 @@ class Ao extends V {
356
339
  }
357
340
  }
358
341
  appendTo(e) {
359
- var i, o, n, r;
342
+ var i, o, r, n;
360
343
  this.debugUtil.addLog("appendTo"), this.container = e, (i = this.css3DRenderPlugin) == null || i.appendToFrontFiveContainer(this.container);
361
- const t = (n = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : n.root;
362
- t && t !== this.container && ((r = this.TagContainerSvelte) == null || r.$destroy(), this.TagContainerSvelte = void 0);
344
+ const t = (r = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : r.root;
345
+ t && t !== this.container && ((n = this.TagContainerSvelte) == null || n.$destroy(), this.TagContainerSvelte = void 0);
363
346
  }
364
347
  /**
365
348
  * @description 加载数据
366
349
  */
367
350
  load(e) {
368
- return m(this, null, function* () {
351
+ return l(this, null, function* () {
369
352
  var i, o;
370
353
  this.clearTags();
371
354
  try {
372
355
  console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
373
- } catch (n) {
356
+ } catch (r) {
374
357
  }
375
- this.config = c({}, this.config, {
358
+ this.config = f({}, this.config, {
376
359
  globalConfig: (i = e.globalConfig) != null ? i : {},
377
360
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
378
361
  });
@@ -384,22 +367,22 @@ class Ao extends V {
384
367
  * @description 添加标签
385
368
  */
386
369
  addTag(e) {
387
- return m(this, null, function* () {
370
+ return l(this, null, function* () {
388
371
  const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
389
- const n = O(o);
390
- if (n === "2DPoint" || n === "3DPoint")
391
- return new j(this, o);
392
- if (n === "Model")
393
- return new W(this, o);
394
- if (n === "Plane")
395
- return new q(this, o);
372
+ const r = L(o);
373
+ if (r === "2DPoint" || r === "3DPoint")
374
+ return new z(this, o);
375
+ if (r === "Model")
376
+ return new Q(this, o);
377
+ if (r === "Plane")
378
+ return new $(this, o);
396
379
  });
397
- return i.forEach(B), this.tags.push(...i), this.tagsLengthWillUpdate = !0, x(this.five).then(() => m(this, null, function* () {
398
- var o, n;
399
- this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (r) => {
400
- this.tags.includes(r) && (r.stickType === "Model" && r.loadModel().then(() => {
401
- this.tags.includes(r) && r.updateVisible();
402
- }), r.updateVisible(), r.updateZIndex());
380
+ return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
381
+ var o, r;
382
+ this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (n) => {
383
+ this.tags.includes(n) && (n.stickType === "Model" && n.loadModel().then(() => {
384
+ this.tags.includes(n) && n.updateVisible();
385
+ }), n.updateVisible(), n.updateZIndex());
403
386
  }), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
404
387
  }));
405
388
  });
@@ -408,7 +391,7 @@ class Ao extends V {
408
391
  * @description 改变配置
409
392
  */
410
393
  changeConfig(e, t = !0) {
411
- t ? this.config = c({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
394
+ t ? this.config = f({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
412
395
  i.updateConfig();
413
396
  }), this.tagsDo(this.tags, (i) => {
414
397
  i.updateVisible();
@@ -418,7 +401,7 @@ class Ao extends V {
418
401
  * @description 改变全局配置
419
402
  */
420
403
  changeGlobalConfig(e, t = !0) {
421
- t ? this.config.globalConfig = c({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
404
+ t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
422
405
  i.updateConfig();
423
406
  }), this.tagsDo(this.tags, (i) => {
424
407
  i.updateVisible();
@@ -428,14 +411,14 @@ class Ao extends V {
428
411
  * @description 改变类型配置
429
412
  */
430
413
  changeContentTypeConfig(e, t, i = !0) {
431
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = c({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
414
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
432
415
  o.updateConfig();
433
416
  }), this.tagsDo(this.tags, (o) => {
434
417
  o.updateVisible();
435
418
  });
436
419
  }
437
420
  show(e) {
438
- return m(this, null, function* () {
421
+ return l(this, null, function* () {
439
422
  if (this.checkDisposed())
440
423
  return;
441
424
  const { userAction: t = !0 } = e != null ? e : {};
@@ -443,7 +426,7 @@ class Ao extends V {
443
426
  });
444
427
  }
445
428
  hide(e) {
446
- return m(this, null, function* () {
429
+ return l(this, null, function* () {
447
430
  if (this.checkDisposed())
448
431
  return;
449
432
  const { userAction: t = !0 } = e != null ? e : {};
@@ -465,18 +448,18 @@ class Ao extends V {
465
448
  setState(e, t) {
466
449
  if (this.checkDisposed())
467
450
  return;
468
- const { userAction: i = !0 } = t != null ? t : {}, o = g({}, this.state);
451
+ const { userAction: i = !0 } = t != null ? t : {}, o = m({}, this.state);
469
452
  this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
470
453
  }
471
454
  /**
472
455
  * @description 销毁
473
456
  */
474
457
  dispose() {
475
- var e, t, i, o, n, r;
458
+ var e, t, i, o, r, n;
476
459
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((s) => {
477
- var a;
478
- return (a = s.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
479
- }), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (r = (n = this.store).resizeObserverDisposer) == null || r.call(n), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
460
+ var h;
461
+ return (h = s.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
462
+ }), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (r = this.store).resizeObserverDisposer) == null || n.call(r), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
480
463
  }
481
464
  /**
482
465
  * @description 闪烁标签
@@ -484,7 +467,7 @@ class Ao extends V {
484
467
  * @param {Partial<anime.AnimeParams>} animeConfig
485
468
  */
486
469
  blinkTagById(e, t) {
487
- return m(this, null, function* () {
470
+ return l(this, null, function* () {
488
471
  var i;
489
472
  return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
490
473
  });
@@ -515,7 +498,7 @@ class Ao extends V {
515
498
  */
516
499
  changeTagNormalById(e, t) {
517
500
  const i = this.getTagById(e);
518
- i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = M(t));
501
+ i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = E(t));
519
502
  }
520
503
  /**
521
504
  * @description 改变data
@@ -565,15 +548,15 @@ class Ao extends V {
565
548
  clearTags() {
566
549
  var e;
567
550
  this.tags.length && (this.tags.forEach((t) => {
568
- var i, o, n, r, s;
569
- (o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (r = (n = t.model) == null ? void 0 : n.object) == null ? void 0 : r.parent) == null || s.remove(t.model.object);
551
+ var i, o, r, n, s;
552
+ (o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (n = (r = t.model) == null ? void 0 : r.object) == null ? void 0 : n.parent) == null || s.remove(t.model.object);
570
553
  }), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
571
554
  }
572
555
  /**
573
556
  * @description 设置 unfolded
574
557
  */
575
558
  setUnfolded() {
576
- return m(this, null, function* () {
559
+ return l(this, null, function* () {
577
560
  return new Promise((e) => {
578
561
  setTimeout(() => {
579
562
  this.setUnfoldedByCamera(), e();
@@ -596,8 +579,8 @@ class Ao extends V {
596
579
  handleDisable() {
597
580
  var e, t, i;
598
581
  this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
599
- var n;
600
- (n = o.tag3DContentSvelte) == null || n.dispose(), o.tag3DContentSvelte = void 0;
582
+ var r;
583
+ (r = o.tag3DContentSvelte) == null || r.dispose(), o.tag3DContentSvelte = void 0;
601
584
  }), this.five.needsRender = !0;
602
585
  }
603
586
  addResizeListener() {
@@ -612,20 +595,20 @@ class Ao extends V {
612
595
  if (this.store.disposed)
613
596
  return;
614
597
  const e = this.five.getElement(), t = () => {
615
- this.state.enabled && (this.filterPointTag.forEach((a) => a.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
598
+ this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
616
599
  }, i = () => {
617
600
  this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
618
- }, { observe: o, unobserve: n } = C(
619
- R(() => {
601
+ }, { observe: o, unobserve: r } = b(
602
+ M(() => {
620
603
  this.store.resizeObserverDisposer && i();
621
604
  }, 500),
622
605
  e
623
- ), { observe: r, unobserve: s } = C(
624
- I(() => t(), 400),
606
+ ), { observe: n, unobserve: s } = b(
607
+ w(() => t(), 400),
625
608
  e
626
609
  );
627
- return o(), r(), () => {
628
- n(), s();
610
+ return o(), n(), () => {
611
+ r(), s();
629
612
  };
630
613
  }
631
614
  setUnfoldedByCamera() {
@@ -635,31 +618,31 @@ class Ao extends V {
635
618
  if (t.state && i !== void 0) {
636
619
  if (i === !0 && t.screenPosition) {
637
620
  const o = t.getConfig().unfoldedConfig;
638
- D(o).keep !== "unfolded" && (e = !0);
621
+ T(o).keep !== "unfolded" && (e = !0);
639
622
  }
640
623
  t.state.unfolded = i;
641
624
  }
642
625
  }), e && this.filterPointTag.forEach((t) => {
643
626
  const i = t.getConfig().unfoldedConfig;
644
- typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || D(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
627
+ typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || T(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
645
628
  });
646
629
  }
647
630
  changeTagMode(e, t) {
648
- var i, o, n, r, s, a;
649
- ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((r = (n = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : n.css3DObject) == null ? void 0 : r.mode) !== t && ((s = e.config) != null && s.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (a = this.store.css3DRenderDisposer.get(e.id)) == null || a.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
631
+ var i, o, r, n, s, h;
632
+ ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : n.mode) !== t && ((s = e.config) != null && s.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
650
633
  }
651
634
  /**
652
635
  * @description 添加 cameraUpdate, panoArrived 等事件监听
653
636
  */
654
637
  addEventListener() {
655
- const { five: e, hooks: t } = this, i = J(this.five, this.onFiveEveryReady);
638
+ const { five: e, hooks: t } = this, i = j(this.five, this.onFiveEveryReady);
656
639
  return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), e.on("render.prepare", this.render), t.on("click", this.clickhandler), () => {
657
640
  i(), e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), e.off("render.prepare", this.render), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
658
641
  };
659
642
  }
660
643
  }
661
644
  export {
662
- Ao as PanoTagPluginController,
663
- Ao as default,
664
- Po as pluginFlag
645
+ Co as PanoTagPluginController,
646
+ Co as default,
647
+ To as pluginFlag
665
648
  };
@@ -1,7 +1,7 @@
1
1
  var g = Object.defineProperty;
2
2
  var y = Object.getOwnPropertySymbols;
3
3
  var p = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var d = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, u = (i, e) => {
4
+ var d = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, a = (i, e) => {
5
5
  for (var t in e || (e = {}))
6
6
  p.call(e, t) && d(i, t, e[t]);
7
7
  if (y)
@@ -9,8 +9,8 @@ var d = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writab
9
9
  f.call(e, t) && d(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- var o = (i, e, t) => (d(i, typeof e != "symbol" ? e + "" : e, t), t);
13
- import * as h from "three";
12
+ var s = (i, e, t) => (d(i, typeof e != "symbol" ? e + "" : e, t), t);
13
+ import * as o from "three";
14
14
  import { DEFAULT_COLOR as F, DEFAULT_OPACITY as B, DEFAULT_HIGHLIGHT_OPACITY as M } from "../../typings/style.js";
15
15
  import { IObject3D as T } from "../../../shared-utils/three/IObject3D.js";
16
16
  import "../../../shared-utils/tag.js";
@@ -18,40 +18,41 @@ import "hammerjs";
18
18
  import "../../../shared-utils/three/PointSelector/index.js";
19
19
  import "three/examples/jsm/renderers/CSS3DRenderer";
20
20
  import "@realsee/five/line";
21
- import { notNil as a } from "../../../shared-utils/isNil.js";
21
+ import { notNil as u } from "../../../shared-utils/isNil.js";
22
22
  import "../../../shared-utils/three/core/Five_LineMaterial2.js";
23
23
  import "../../../shared-utils/three/core/Sphere.js";
24
24
  import "animejs";
25
25
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
26
26
  import "../../../shared-utils/five/FivePuppet.js";
27
- class L extends T {
27
+ class A extends T {
28
28
  constructor(t) {
29
- var n, m;
29
+ var c, m;
30
30
  super();
31
- o(this, "name", "ColoredMesh");
32
- o(this, "meshFont");
33
- o(this, "meshBackground");
34
- o(this, "paramsStyle", {});
35
- o(this, "_geometry", new h.BufferGeometry());
36
- o(this, "highlighted", !1);
37
- o(this, "opacityBeforeHighlight");
31
+ s(this, "name", "ColoredMesh");
32
+ s(this, "meshFont");
33
+ s(this, "meshBackground");
34
+ s(this, "paramsStyle", {});
35
+ s(this, "_geometry", new o.BufferGeometry());
36
+ s(this, "highlighted", !1);
37
+ s(this, "opacityBeforeHighlight");
38
38
  this.paramsStyle = t != null ? t : {};
39
- const c = new h.MeshBasicMaterial({
40
- color: (n = t == null ? void 0 : t.color) != null ? n : F,
39
+ const n = new o.MeshBasicMaterial({
40
+ color: new o.Color((c = t == null ? void 0 : t.color) != null ? c : F).convertSRGBToLinear(),
41
+ // 给 MeshBasicMaterial 的颜色必须是 linear,要不颜色不对
41
42
  transparent: !0,
42
- side: h.DoubleSide,
43
+ side: o.DoubleSide,
43
44
  depthTest: !0,
44
45
  depthWrite: !1,
45
46
  opacity: (m = t == null ? void 0 : t.opacity) != null ? m : B
46
- }), l = new h.MeshBasicMaterial({
47
+ }), l = new o.MeshBasicMaterial({
47
48
  color: 16777215,
48
49
  transparent: !0,
49
- side: h.DoubleSide,
50
+ side: o.DoubleSide,
50
51
  depthTest: !1,
51
52
  depthWrite: !1,
52
- opacity: 0.3 / 0.5 * c.opacity
53
- }), s = new h.Mesh(this.geometry, c), r = new h.Mesh(this.geometry, l);
54
- s.name = "MeshFront", r.name = "MeshBackground", s.renderOrder = 1, r.renderOrder = 0, this.meshFont = s, this.meshBackground = r, this.add(s), this.setOcclusionVisibility({ occlusionVisibility: t == null ? void 0 : t.occlusionVisibility, occlusionMode: t == null ? void 0 : t.occlusionMode });
53
+ opacity: 0.3 / 0.5 * n.opacity
54
+ }), h = new o.Mesh(this.geometry, n), r = new o.Mesh(this.geometry, l);
55
+ h.name = "MeshFront", r.name = "MeshBackground", h.renderOrder = 1, r.renderOrder = 0, this.meshFont = h, this.meshBackground = r, this.add(h), this.setOcclusionVisibility({ occlusionVisibility: t == null ? void 0 : t.occlusionVisibility, occlusionMode: t == null ? void 0 : t.occlusionMode });
55
56
  }
56
57
  get style() {
57
58
  return {
@@ -80,7 +81,7 @@ class L extends T {
80
81
  return this._geometry;
81
82
  }
82
83
  setStyle(t) {
83
- this.paramsStyle = u(u({}, this.paramsStyle), t), a(t.color) && (this.meshFont.material.color.set(t.color), this.needsRender = !0), a(t.opacity) && (this.meshFont.material.opacity = t.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(t);
84
+ this.paramsStyle = a(a({}, this.paramsStyle), t), u(t.color) && (this.meshFont.material.color.set(new o.Color(t.color).convertSRGBToLinear()), this.needsRender = !0), u(t.opacity) && (this.meshFont.material.opacity = t.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(t);
84
85
  }
85
86
  highlight() {
86
87
  this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.meshFont.material.opacity = this.opacity * M, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0);
@@ -89,11 +90,11 @@ class L extends T {
89
90
  this.highlighted && (this.highlighted = !1, this.meshFont.material.opacity = this.opacityBeforeHighlight, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0);
90
91
  }
91
92
  setOcclusionVisibility(t) {
92
- var s, r, n;
93
- const c = (r = (s = t.occlusionMode) != null ? s : this.paramsStyle.occlusionMode) != null ? r : "translucence", l = (n = t.occlusionVisibility) != null ? n : this.paramsStyle.occlusionVisibility;
94
- a(l) && (l ? c === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : c === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
93
+ var h, r, c;
94
+ const n = (r = (h = t.occlusionMode) != null ? h : this.paramsStyle.occlusionMode) != null ? r : "translucence", l = (c = t.occlusionVisibility) != null ? c : this.paramsStyle.occlusionVisibility;
95
+ u(l) && (l ? n === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : n === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
95
96
  }
96
97
  }
97
98
  export {
98
- L as ColoredMesh
99
+ A as ColoredMesh
99
100
  };
@@ -11,8 +11,8 @@ import "@realsee/five/line";
11
11
  import "../shared-utils/three/core/Five_LineMaterial2.js";
12
12
  import "../shared-utils/three/core/Sphere.js";
13
13
  import "animejs";
14
- import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
15
- import { absoluteUrl as m } from "../shared-utils/url/absoluteUrl.js";
14
+ import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
15
+ import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
16
16
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
17
17
  import "../shared-utils/five/FivePuppet.js";
18
18
  let F = class {
@@ -20,7 +20,7 @@ let F = class {
20
20
  /**
21
21
  * @realsee/dnalogel 版本号
22
22
  */
23
- i(this, "VERSION", "3.55.1-alpha.0");
23
+ i(this, "VERSION", "3.56.1");
24
24
  i(this, "NAME");
25
25
  i(this, "five");
26
26
  i(this, "workUtil");
@@ -39,7 +39,7 @@ let F = class {
39
39
  return this.workUtil.workCode;
40
40
  }
41
41
  updateFive(t) {
42
- this.five = t, this.fiveUtil = new a(t), this.workUtil = this.fiveUtil.workUtil;
42
+ this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil;
43
43
  }
44
44
  /**
45
45
  * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
@@ -51,7 +51,7 @@ let F = class {
51
51
  * @description: 获取静态资源的url
52
52
  */
53
53
  absoluteUrl(t) {
54
- return m(this.staticPrefix, t);
54
+ return a(this.staticPrefix, t);
55
55
  }
56
56
  onWorkCodeChange() {
57
57
  }