@realsee/dnalogel 3.19.0-dev.2 → 3.19.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 (358) hide show
  1. package/components/index.js +104 -95
  2. package/dist/PanoVideoPlugin/Controller.d.ts +4 -4
  3. package/dist/PanoVideoPlugin/VideoMeshController.d.ts +3 -3
  4. package/dist/index.cjs.js +34 -34
  5. package/dist/index.js +928 -920
  6. package/dist/index.umd.js +29 -29
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -32
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +42 -42
  12. package/docs/classes/Magnifier.html +19 -19
  13. package/docs/classes/ModelRoomLabelController.html +10 -10
  14. package/docs/classes/MoveController.html +27 -27
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +50 -50
  22. package/docs/classes/Util.BetterTween.html +9 -9
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.LineSegments.html +7 -7
  25. package/docs/classes/Util.Magnifier.html +19 -19
  26. package/docs/classes/Util.Object3D.html +8 -8
  27. package/docs/classes/Util.PointDomHelper.html +10 -10
  28. package/docs/classes/Util.PointHelper.html +10 -10
  29. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  30. package/docs/classes/Util.Rectangle.html +12 -12
  31. package/docs/classes/WalkController.html +26 -26
  32. package/docs/enums/CameraMovementEffect.html +6 -6
  33. package/docs/enums/ContentType.html +20 -20
  34. package/docs/enums/DIRECTION.html +8 -8
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/DimensionType.html +6 -6
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  40. package/docs/enums/PointType.html +6 -6
  41. package/docs/enums/Rotation.html +7 -7
  42. package/docs/functions/AreaMakerPlugin.html +4 -4
  43. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  44. package/docs/functions/CameraMovementPlugin.html +4 -4
  45. package/docs/functions/CruisePlugin.html +4 -4
  46. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  47. package/docs/functions/GuideLinePlugin.html +4 -4
  48. package/docs/functions/ItemLabelPlugin.html +4 -4
  49. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  50. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  51. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  52. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  53. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  54. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  55. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  56. package/docs/functions/ModelViewPlugin.html +4 -4
  57. package/docs/functions/MovePlugin.html +4 -4
  58. package/docs/functions/Object3DHelperPlugin.html +4 -4
  59. package/docs/functions/PanoCompassPlugin.html +4 -4
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  61. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  63. package/docs/functions/PanoMeasurePlugin.html +4 -4
  64. package/docs/functions/PanoRulerPlugin.html +4 -4
  65. package/docs/functions/PanoRulerProPlugin.html +4 -4
  66. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  67. package/docs/functions/PanoTagPlugin.html +4 -4
  68. package/docs/functions/PanoVideoPlugin.html +4 -4
  69. package/docs/functions/PipelinePlugin.html +4 -4
  70. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  71. package/docs/functions/Util.absoluteUrl.html +4 -4
  72. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  73. package/docs/functions/Util.equal.html +4 -4
  74. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  75. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  76. package/docs/functions/Util.getFrameTime.html +4 -4
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  79. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  80. package/docs/functions/Util.isModelLike.html +4 -4
  81. package/docs/functions/Util.isNil.html +4 -4
  82. package/docs/functions/Util.isPanoramaLike.html +4 -4
  83. package/docs/functions/Util.nextFrame.html +4 -4
  84. package/docs/functions/Util.notNil.html +4 -4
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  86. package/docs/functions/Util.tweenProgress.html +4 -4
  87. package/docs/functions/Util.uuid.html +4 -4
  88. package/docs/functions/pluginFlag.html +4 -4
  89. package/docs/index.html +4 -4
  90. package/docs/interfaces/AddTagConfig.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  100. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  102. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  103. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  104. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  113. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  114. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  115. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  116. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  117. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  118. package/docs/interfaces/EventMap.html +14 -14
  119. package/docs/interfaces/FloorplanBounding.html +7 -7
  120. package/docs/interfaces/FloorplanData.html +9 -9
  121. package/docs/interfaces/FloorplanEntrance.html +10 -10
  122. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  123. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  124. package/docs/interfaces/FloorplanFloorData.html +8 -8
  125. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  126. package/docs/interfaces/FloorplanObserver.html +8 -8
  127. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  128. package/docs/interfaces/FloorplanPosition.html +6 -6
  129. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  130. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  131. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  132. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  133. package/docs/interfaces/FloorplanServerData.html +6 -6
  134. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  135. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  136. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  137. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  138. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  139. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  140. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  141. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  142. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  143. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  144. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  145. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  146. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  147. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  148. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -14
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -20
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  154. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -21
  155. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  156. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  157. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  158. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  159. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  160. package/docs/interfaces/HelperOffset.html +7 -7
  161. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  162. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  163. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  164. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  165. package/docs/interfaces/MinMax.html +6 -6
  166. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  167. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  168. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  169. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  170. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  171. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  172. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  173. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  174. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  175. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  176. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  177. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  178. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  179. package/docs/interfaces/Object3DHelperState.html +7 -7
  180. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  181. package/docs/interfaces/PaintBrushAction.html +11 -11
  182. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  183. package/docs/interfaces/PaintBrushState.html +9 -9
  184. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  185. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  186. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  187. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  188. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  189. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  190. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  191. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  192. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  193. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  194. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  195. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  196. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  197. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  198. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  199. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  200. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  201. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  202. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  203. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  204. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  205. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  206. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  207. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  208. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  209. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  210. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  211. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  212. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  213. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  214. package/docs/interfaces/Point.html +7 -7
  215. package/docs/interfaces/Room.html +8 -8
  216. package/docs/interfaces/RoomInfo.html +6 -6
  217. package/docs/interfaces/RoomLabel.html +13 -13
  218. package/docs/interfaces/RoomRules.html +4 -4
  219. package/docs/interfaces/Rooms.html +4 -4
  220. package/docs/interfaces/Scissor.html +8 -8
  221. package/docs/interfaces/State.html +7 -7
  222. package/docs/interfaces/TagCacheInterface.html +11 -11
  223. package/docs/interfaces/TagConfig.html +13 -13
  224. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  225. package/docs/interfaces/TagIconUrl.html +11 -11
  226. package/docs/interfaces/TagObjectGroup.html +5 -5
  227. package/docs/interfaces/TagStyle.html +5 -5
  228. package/docs/interfaces/Tags.html +8 -8
  229. package/docs/interfaces/TemporaryState.html +5 -5
  230. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  231. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  232. package/docs/interfaces/Util.PointIntersection.html +7 -7
  233. package/docs/modules/AreaMakerPluginType.html +4 -4
  234. package/docs/modules/CruisePluginTypes.html +4 -4
  235. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  236. package/docs/modules/GuideLineItem.html +4 -4
  237. package/docs/modules/GuideLineModeItem.html +4 -4
  238. package/docs/modules/GuideLinePluginType.html +4 -4
  239. package/docs/modules/PanoVideoPluginType.html +4 -4
  240. package/docs/modules/Util.html +4 -4
  241. package/docs/modules.html +4 -4
  242. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  243. package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -4
  244. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  245. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  246. package/docs/types/ArrayPosition.html +4 -4
  247. package/docs/types/AudioAppearance.html +4 -4
  248. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  249. package/docs/types/CSS3DRenderExportType.html +4 -4
  250. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  251. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  252. package/docs/types/ClassFunctionParameters.html +4 -4
  253. package/docs/types/Color.html +4 -4
  254. package/docs/types/ContentTypeConfigKey.html +4 -4
  255. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  256. package/docs/types/ContentTypeMap.html +4 -4
  257. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  258. package/docs/types/Create3DElementReturnType.html +4 -4
  259. package/docs/types/CruisePluginExportType.html +4 -4
  260. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  261. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  262. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  264. package/docs/types/DeprecatedTagProperty.html +4 -4
  265. package/docs/types/Direction-1.html +4 -4
  266. package/docs/types/Direction4.html +4 -4
  267. package/docs/types/ElementRenderer.html +4 -4
  268. package/docs/types/FloorplanRuleLabels.html +4 -4
  269. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  270. package/docs/types/GuideLinePluginExportType.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  276. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  277. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  278. package/docs/types/HelperEventMap.html +4 -4
  279. package/docs/types/InternalHelperEventMap.html +4 -4
  280. package/docs/types/LoadTagConfig.html +4 -4
  281. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  282. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  283. package/docs/types/MediaData.html +4 -4
  284. package/docs/types/MediaStore.html +4 -4
  285. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  286. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  287. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  288. package/docs/types/ModelId.html +4 -4
  289. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  290. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  291. package/docs/types/MoveArgs.html +4 -4
  292. package/docs/types/MoveOpts.html +4 -4
  293. package/docs/types/Object3DHelperEventMap.html +4 -4
  294. package/docs/types/ObjectFit.html +4 -4
  295. package/docs/types/PaintBrushEventMap.html +4 -4
  296. package/docs/types/PanoCompassPluginData.html +4 -4
  297. package/docs/types/PanoCompassPluginExportType.html +4 -4
  298. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  299. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  300. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  301. package/docs/types/PanoIndex.html +4 -4
  302. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  303. package/docs/types/PanoMeasureReturnType.html +4 -4
  304. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  305. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  306. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  307. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  308. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  309. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  310. package/docs/types/PipelinePluginParameterType.html +4 -4
  311. package/docs/types/PipelinePluginReturnType.html +4 -4
  312. package/docs/types/PlaneTag.html +4 -4
  313. package/docs/types/Point2DTag.html +4 -4
  314. package/docs/types/Point3DTag.html +4 -4
  315. package/docs/types/PointTag.html +4 -4
  316. package/docs/types/PointTagInstance.html +4 -4
  317. package/docs/types/Position.html +4 -4
  318. package/docs/types/RotateArgs.html +4 -4
  319. package/docs/types/RotateOpts.html +4 -4
  320. package/docs/types/RuleLabelsKey.html +4 -4
  321. package/docs/types/RuleLabelsValue.html +4 -4
  322. package/docs/types/StickType.html +4 -4
  323. package/docs/types/Tag.html +4 -4
  324. package/docs/types/Tag2D.html +4 -4
  325. package/docs/types/Tag3D.html +4 -4
  326. package/docs/types/TagConfigByKey.html +4 -4
  327. package/docs/types/TagContentType.html +4 -4
  328. package/docs/types/TagContentTypeMapping.html +4 -4
  329. package/docs/types/TagDimensionType.html +4 -4
  330. package/docs/types/TagElement.html +4 -4
  331. package/docs/types/TagEvents.html +4 -4
  332. package/docs/types/TagGLTFObject.html +4 -4
  333. package/docs/types/TagHooks.html +4 -4
  334. package/docs/types/TagId.html +4 -4
  335. package/docs/types/TagInstance.html +4 -4
  336. package/docs/types/TagPointType.html +4 -4
  337. package/docs/types/TagRendererMap.html +4 -4
  338. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  339. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  340. package/docs/types/WorkCode.html +4 -4
  341. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  342. package/docs/variables/PLUGIN.html +4 -4
  343. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  344. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  345. package/docs/variables/defaultGlobalConfig.html +4 -4
  346. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  347. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  348. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  349. package/libs/PanoTagPlugin/controller/TagRender.js +78 -79
  350. package/libs/PanoVideoPlugin/Controller.d.ts +4 -4
  351. package/libs/PanoVideoPlugin/Controller.js +4 -4
  352. package/libs/PanoVideoPlugin/VideoMeshController.d.ts +3 -3
  353. package/libs/PanoVideoPlugin/VideoMeshController.js +9 -9
  354. package/libs/base/BasePlugin.js +1 -1
  355. package/libs/shared-utils/logger.js +1 -1
  356. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +88 -79
  357. package/libs/vendor/classnames/index.js +32 -32
  358. package/package.json +2 -2
@@ -1,16 +1,16 @@
1
- var k = Object.defineProperty;
1
+ var A = Object.defineProperty;
2
2
  var R = Object.getOwnPropertySymbols;
3
- var V = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
4
- var C = (c, l, t) => l in c ? k(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
5
- for (var t in l || (l = {}))
6
- V.call(l, t) && C(c, t, l[t]);
3
+ var k = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
4
+ var C = (d, m, t) => m in d ? A(d, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[m] = t, j = (d, m) => {
5
+ for (var t in m || (m = {}))
6
+ k.call(m, t) && C(d, t, m[t]);
7
7
  if (R)
8
- for (var t of R(l))
9
- I.call(l, t) && C(c, t, l[t]);
10
- return c;
8
+ for (var t of R(m))
9
+ I.call(m, t) && C(d, t, m[t]);
10
+ return d;
11
11
  };
12
- var h = (c, l, t) => (C(c, typeof l != "symbol" ? l + "" : l, t), t);
13
- var S = (c, l, t) => new Promise((e, o) => {
12
+ var u = (d, m, t) => (C(d, typeof m != "symbol" ? m + "" : m, t), t);
13
+ var S = (d, m, t) => new Promise((e, o) => {
14
14
  var i = (s) => {
15
15
  try {
16
16
  a(t.next(s));
@@ -24,16 +24,16 @@ var S = (c, l, t) => new Promise((e, o) => {
24
24
  o(n);
25
25
  }
26
26
  }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
27
- a((t = t.apply(c, l)).next());
27
+ a((t = t.apply(d, m)).next());
28
28
  });
29
- import { TagComputer as E } from "./TagComputer.js";
30
- import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
31
- import x from "../Components/TagContainer.js";
32
- import G from "../Components/Tag/index.js";
33
- import { CSS3DRenderPlugin as F } from "../../CSS3DRenderPlugin/index.js";
34
- import { loadGLTF as _ } from "../../shared-utils/three/GLTFLoader.js";
35
- import { isMediaModelTag as D, isStickModelTag as L } from "../utils/tag/tagCheck.js";
36
- import { VideoPlane as w, ImagePlane as A } from "../utils/model/mediaPlane.js";
29
+ import { TagComputer as V } from "./TagComputer.js";
30
+ import { Group as y, Quaternion as E, Vector3 as b, Matrix4 as v } from "three";
31
+ import O from "../Components/TagContainer.js";
32
+ import x from "../Components/Tag/index.js";
33
+ import { CSS3DRenderPlugin as G } from "../../CSS3DRenderPlugin/index.js";
34
+ import { loadGLTF as F } from "../../shared-utils/three/GLTFLoader.js";
35
+ import { isMediaModelTag as D, isStickModelTag as _ } from "../utils/tag/tagCheck.js";
36
+ import { VideoPlane as L, ImagePlane as w } from "../utils/model/mediaPlane.js";
37
37
  import { centerPoint as q } from "../../shared-utils/three/centerPoint.js";
38
38
  import { arrayPositionToVector3 as g } from "../../shared-utils/positionToVector3.js";
39
39
  import "../utils/tagPosition.js";
@@ -162,38 +162,38 @@ import "../../CSS3DRenderPlugin/Controller.js";
162
162
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
163
163
  import "@realsee/five/gltf-loader";
164
164
  const W = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map();
165
- class Ti extends E {
165
+ class Ti extends V {
166
166
  constructor(t) {
167
167
  super(t);
168
- h(this, "rendererMap", /* @__PURE__ */ new Map());
169
- h(this, "contentTypeMap", /* @__PURE__ */ new Map());
170
- h(this, "group", new y());
171
- h(this, "imagePlaneGroup", new y());
172
- h(this, "gltfObjectGroup", new y());
168
+ u(this, "rendererMap", /* @__PURE__ */ new Map());
169
+ u(this, "contentTypeMap", /* @__PURE__ */ new Map());
170
+ u(this, "group", new y());
171
+ u(this, "imagePlaneGroup", new y());
172
+ u(this, "gltfObjectGroup", new y());
173
173
  /** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
174
- h(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
174
+ u(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
175
175
  /** 临时状态 */
176
- h(this, "temporaryState", { visible: !0 });
176
+ u(this, "temporaryState", { visible: !0 });
177
177
  /** 点标签 */
178
- h(this, "TagContainerSvelte");
178
+ u(this, "TagContainerSvelte");
179
179
  /** 加载外部模型 */
180
- h(this, "loadModel", (t) => S(this, null, function* () {
180
+ u(this, "loadModel", (t) => S(this, null, function* () {
181
181
  var a;
182
182
  const e = t.data.modelUrl;
183
183
  if (!e)
184
184
  return;
185
185
  t.loading = !0;
186
- const o = _(e).then((s) => {
187
- var m;
186
+ const o = F(e).then((s) => {
187
+ var p;
188
188
  const n = Object.assign(s.scene, {
189
189
  customID: t.id,
190
190
  isTagModel: !0,
191
191
  removeEventListener: this.getTagConfig(t).clickable === !1 ? () => {
192
- } : this.addObjectClickHandler(t, s.scene, (u) => {
193
- this.hooks.emit("click", { target: "TagModel", tag: t, event: u });
192
+ } : this.addObjectClickHandler(t, s.scene, (h) => {
193
+ this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
194
194
  })
195
195
  });
196
- return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (m = this.getTagConfig(t).modelConfig) != null && m.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
196
+ return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (p = this.getTagConfig(t).modelConfig) != null && p.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
197
197
  });
198
198
  t.model = { promise: o };
199
199
  const i = yield o;
@@ -204,7 +204,7 @@ class Ti extends E {
204
204
  if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
205
205
  if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
206
206
  const s = t.data.mediaPosition.map(g);
207
- t.mediaPlane = new A(t.data.mediaData[0].url, t.data.mediaPosition.map(g), {
207
+ t.mediaPlane = new w(t.data.mediaData[0].url, t.data.mediaPosition.map(g), {
208
208
  objectFit: t.data.objectFit
209
209
  });
210
210
  const n = new b().addVectors(s[0], s[2]).divideScalar(2);
@@ -249,30 +249,29 @@ class Ti extends E {
249
249
  var o, i;
250
250
  return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Video";
251
251
  }).forEach((e) => {
252
- var m, u, P;
252
+ var l;
253
253
  const o = e.data.mediaData[0];
254
254
  if (!o)
255
255
  return;
256
256
  const { url: i } = o;
257
257
  if (!i)
258
258
  return;
259
- e.mediaPlane && !((u = (m = e.state) == null ? void 0 : m.visible) == null || u) && e.mediaPlane instanceof w && e.mediaPlane.pause();
260
- const r = e.position.map(g), a = this.getCurrentVisibleState(e), s = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), p = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
261
- if ((s || p) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || p) {
262
- const d = new w(i, r, {
259
+ const r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
260
+ if ((a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), s || n) {
261
+ const p = e.position.map(g), h = new L(i, p, {
263
262
  videoCoverSrc: o.videoCoverUrl,
264
263
  playButton: e.data.playIcon,
265
- paused: !((P = e.data.autoplayConfig) != null && P.autoplayVideo),
264
+ paused: !((l = e.data.autoplayConfig) != null && l.autoplayVideo),
266
265
  objectFit: e.data.objectFit,
267
266
  videoTextureMap: W,
268
267
  ImageTextureMap: $,
269
268
  domEvents: this.domEvents
270
269
  });
271
- d.onVideoReady = (f) => {
272
- f.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
270
+ h.onVideoReady = (c) => {
271
+ c.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: h.videoInstance }));
273
272
  };
274
- const T = (f) => (this.five.on("renderFrame", f), () => this.five.off("renderFrame", f));
275
- d.initialRenderHooks(T), e.mediaPlane = d, this.imagePlaneGroup.add(e.mediaPlane);
273
+ const f = (c) => (this.five.on("renderFrame", c), () => this.five.off("renderFrame", c));
274
+ h.initialRenderHooks(f), e.mediaPlane = h, this.imagePlaneGroup.add(e.mediaPlane);
276
275
  }
277
276
  });
278
277
  }
@@ -288,8 +287,8 @@ class Ti extends E {
288
287
  if (!o)
289
288
  return;
290
289
  const i = e.position.map(g), r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
291
- (a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new A(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (p) => {
292
- this.hooks.emit("click", { tag: e, target: "TagContent", event: p.origDomEvent });
290
+ (a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new w(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (l) => {
291
+ this.hooks.emit("click", { tag: e, target: "TagContent", event: l.origDomEvent });
293
292
  }), this.imagePlaneGroup.add(e.mediaPlane));
294
293
  });
295
294
  }
@@ -300,16 +299,16 @@ class Ti extends E {
300
299
  this.filterCSS3DTag.forEach((e) => {
301
300
  var o, i, r;
302
301
  if (e.tag3DContentSvelte) {
303
- const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: p } = e.tag3DContentSvelte;
304
- if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(p)) {
305
- const m = new O().setFromUnitVectors(n, p);
306
- s.css3DObject.setRotationFromQuaternion(m);
302
+ const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: l } = e.tag3DContentSvelte;
303
+ if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(l)) {
304
+ const p = new E().setFromUnitVectors(n, l);
305
+ s.css3DObject.setRotationFromQuaternion(p);
307
306
  }
308
307
  return;
309
308
  } else {
310
309
  if (D(e) && !((o = e.model) != null && o.object) || ((i = e.state) == null ? void 0 : i.visible) === !1 || !this.state.visible || !this.state.enabled)
311
310
  return;
312
- if (this.css3DRenderPlugin || (this.css3DRenderPlugin = F(this.five)), e.stickType === "3DPoint" && !e.normal)
311
+ if (this.css3DRenderPlugin || (this.css3DRenderPlugin = G(this.five)), e.stickType === "3DPoint" && !e.normal)
313
312
  return console.error("updateRenderPlaneTag: 三维点标签缺少法向量!");
314
313
  const a = this.getPositions(e);
315
314
  if (!a)
@@ -317,26 +316,26 @@ class Ti extends E {
317
316
  const s = this.getTagNormal(e);
318
317
  if (!s)
319
318
  return;
320
- const n = this.getTagConfig(e), p = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
321
- if (this.getRenderType(e) === "BehindDom" || p.mode === "behind") {
322
- p.mode = "behind", p.container = document.createElement("div");
323
- const P = "black";
324
- p.container.style.backgroundColor = P, p.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
325
- var d;
326
- if (m.css3DObject.opacityMesh && n.clickable !== !1) {
327
- const T = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (f) => {
328
- this.hooks.emit("click", { event: f, target: "TagContent", tag: e });
319
+ const n = this.getTagConfig(e), l = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
320
+ if (this.getRenderType(e) === "BehindDom" || l.mode === "behind") {
321
+ l.mode = "behind", l.container = document.createElement("div");
322
+ const f = "black";
323
+ l.container.style.backgroundColor = f, l.container.style.border = `3px solid ${f}`, this.css3DRenderPlugin.hooks.on("render", () => {
324
+ var c;
325
+ if (p.css3DObject.opacityMesh && n.clickable !== !1) {
326
+ const P = this.addObjectClickHandler(e, p.css3DObject.opacityMesh, (T) => {
327
+ this.hooks.emit("click", { event: T, target: "TagContent", tag: e });
329
328
  });
330
- (d = this.store.css3DRenderDisposer.get(e.id)) == null || d.push(T);
329
+ (c = this.store.css3DRenderDisposer.get(e.id)) == null || c.push(P);
331
330
  }
332
331
  });
333
332
  }
334
- const m = this.css3DRenderPlugin.create3DDomContainer(a, p);
335
- if (!m)
333
+ const p = this.css3DRenderPlugin.create3DDomContainer(a, l);
334
+ if (!p)
336
335
  return;
337
- this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
338
- const u = new G({
339
- target: m.container,
336
+ this.store.css3DRenderDisposer.set(e.id, [p.dispose]);
337
+ const h = new x({
338
+ target: p.container,
340
339
  props: {
341
340
  tag: e,
342
341
  hooks: this.hooks,
@@ -347,13 +346,13 @@ class Ti extends E {
347
346
  }
348
347
  });
349
348
  e.tag3DContentSvelte = {
350
- svelteApp: u,
351
- domContainer: m,
352
- css3DInstance: m,
349
+ svelteApp: h,
350
+ domContainer: p,
351
+ css3DInstance: p,
353
352
  initialNormal: s,
354
353
  currentNormal: s,
355
354
  dispose: () => {
356
- u.$destroy(), m.dispose();
355
+ h.$destroy(), p.dispose();
357
356
  }
358
357
  }, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
359
358
  }
@@ -387,23 +386,23 @@ class Ti extends E {
387
386
  * @param model 模型
388
387
  */
389
388
  updateTagCss3DObjectMatrix(t, e) {
390
- var T, f, M;
391
- const o = (f = (T = this.getTagConfig(t).tag3DConfig) == null ? void 0 : T.ratio) != null ? f : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
389
+ var P, T, M;
390
+ const o = (T = (P = this.getTagConfig(t).tag3DConfig) == null ? void 0 : P.ratio) != null ? T : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
392
391
  if (!i)
393
392
  return;
394
393
  const r = D(t) ? t.data.mediaPosition : t.position;
395
394
  if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
396
395
  return;
397
396
  e.updateWorldMatrix(!1, !1);
398
- const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]), p = q(s, n).add(new b(0, 0, 5e-4)), m = new v().setPosition(p), u = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(u);
399
- P.decompose(i.position, i.quaternion, i.scale);
400
- const d = i.opacityMesh;
401
- d && P.decompose(d.position, d.quaternion, d.scale);
397
+ const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]), l = q(s, n).add(new b(0, 0, 5e-4)), p = new v().setPosition(l), h = new v().makeScale(o, o, o), f = new v().multiply(a).multiply(p).multiply(h);
398
+ f.decompose(i.position, i.quaternion, i.scale);
399
+ const c = i.opacityMesh;
400
+ c && f.decompose(c.position, c.quaternion, c.scale);
402
401
  }
403
402
  /** 添加模型标签 */
404
403
  addMediaModelTag(t) {
405
404
  return S(this, null, function* () {
406
- const e = t.filter(L).map((o) => this.loadModel(o));
405
+ const e = t.filter(_).map((o) => this.loadModel(o));
407
406
  yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
408
407
  });
409
408
  }
@@ -480,7 +479,7 @@ class Ti extends E {
480
479
  const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
481
480
  if (!r)
482
481
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
483
- this.TagContainerSvelte = new x({
482
+ this.TagContainerSvelte = new O({
484
483
  target: r,
485
484
  props: {
486
485
  hooks: this.hooks,
@@ -24,13 +24,13 @@ export declare class PanoVideoPluginController extends BasePlugin.Controller<Plu
24
24
  */
25
25
  lookAtVideoItemByRenderID(id: string): void;
26
26
  /**
27
- * 将视频开启声音。
27
+ * 取消静音。
28
28
  *
29
- * 大部分浏览器都会禁止自动播放声音,需要用户交互后才能开启声音。
29
+ * 大部分浏览器需要用户交互后才能开启视频声音。
30
30
  *
31
- * 如果需要自动播放,可以在用户交互事件中调用本方法。
31
+ * 如果需要取消静音,建议在用户交互事件中调用本方法。
32
32
  *
33
- * example:
33
+ * 例如:
34
34
  *
35
35
  * ```jsx
36
36
  * onClick={() => {
@@ -110,13 +110,13 @@ class T extends _ {
110
110
  e.lookAtVideo();
111
111
  }
112
112
  /**
113
- * 将视频开启声音。
113
+ * 取消静音。
114
114
  *
115
- * 大部分浏览器都会禁止自动播放声音,需要用户交互后才能开启声音。
115
+ * 大部分浏览器需要用户交互后才能开启视频声音。
116
116
  *
117
- * 如果需要自动播放,可以在用户交互事件中调用本方法。
117
+ * 如果需要取消静音,建议在用户交互事件中调用本方法。
118
118
  *
119
- * example:
119
+ * 例如:
120
120
  *
121
121
  * ```jsx
122
122
  * onClick={() => {
@@ -47,11 +47,11 @@ export declare class VideoMeshController {
47
47
  /** 初始化视频、模型以及相关事件监听。 */
48
48
  constructor(five: Five, params: VideoMeshParams);
49
49
  /**
50
- * 开启声音
50
+ * 取消静音
51
51
  *
52
- * @warning 由于大部分浏览器的限制,声音必须在用户交互事件中开启,否则会被浏览器禁用视频播放。
52
+ * @warning 需要注意:由于大部分浏览器的限制,视频的声音必须在用户有交互事件后才能开启,否则会被浏览器禁用视频播放。
53
53
  */
54
- unmute(): void;
54
+ unmute: () => void;
55
55
  /** 彻底销毁,不响应之后的任何事件 */
56
56
  dispose(): void;
57
57
  enable(): void;
@@ -53,6 +53,14 @@ class ie {
53
53
  * @remark 由于 render video 依赖 Five render,因此需要自动 render five。
54
54
  */
55
55
  t(this, "renderFiveDisposer");
56
+ /**
57
+ * 取消静音
58
+ *
59
+ * @warning 需要注意:由于大部分浏览器的限制,视频的声音必须在用户有交互事件后才能开启,否则会被浏览器禁用视频播放。
60
+ */
61
+ t(this, "unmute", () => {
62
+ this.video.muted = !1;
63
+ });
56
64
  /** 把 uv 值转换成位置 */
57
65
  t(this, "uv2Position", (e, i) => {
58
66
  var c;
@@ -171,7 +179,7 @@ class ie {
171
179
  var r, h;
172
180
  this.five = e, this.panoIndex = i.panoIndex, this._id = i.renderID, this.url = i.url, this.origin = i.origin.slice(), this._enabled = (h = (r = i.initialState) == null ? void 0 : r.enabled) != null ? h : !0;
173
181
  const n = document.createElement("video");
174
- n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n, this.unmute = this.unmute.bind(this);
182
+ n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n;
175
183
  const o = new F(this.video);
176
184
  o.minFilter = m, o.magFilter = m;
177
185
  const a = new y({
@@ -203,14 +211,6 @@ class ie {
203
211
  get enabled() {
204
212
  return this._enabled;
205
213
  }
206
- /**
207
- * 开启声音
208
- *
209
- * @warning 由于大部分浏览器的限制,声音必须在用户交互事件中开启,否则会被浏览器禁用视频播放。
210
- */
211
- unmute() {
212
- this.video.muted = !1;
213
- }
214
214
  /** 彻底销毁,不响应之后的任何事件 */
215
215
  dispose() {
216
216
  this.disposed || (this.disable(), this._disposed = !0);
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.19.0-dev.2");
17
+ i(this, "VERSION", "3.19.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.19.0-dev.2",
3
+ "%c %c@realsee/dnalogel %cv3.19.1",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",