@realsee/dnalogel 3.60.1-alpha.5 → 3.60.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (562) hide show
  1. package/components/index.js +13 -13
  2. package/dist/index.cjs.js +48 -48
  3. package/dist/index.js +6402 -6341
  4. package/dist/index.umd.js +60 -60
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  7. package/docs/classes/CSS3DRender.html +2 -2
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  10. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  11. package/docs/classes/ModelRoomLabelController.html +2 -2
  12. package/docs/classes/MoveController.html +2 -2
  13. package/docs/classes/Object3DHelperController.html +2 -2
  14. package/docs/classes/PaintBrush.html +2 -2
  15. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  16. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  17. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  18. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  19. package/docs/classes/PanoTagPluginController.html +2 -2
  20. package/docs/classes/Sculpt.html +2 -2
  21. package/docs/classes/Util.BetterTween.html +2 -2
  22. package/docs/classes/Util.FiveDomEvents.html +2 -2
  23. package/docs/classes/Util.FivePuppet.html +2 -2
  24. package/docs/classes/Util.Interval.html +2 -2
  25. package/docs/classes/Util.LightTag.html +2 -2
  26. package/docs/classes/Util.LineSegments.html +2 -2
  27. package/docs/classes/Util.Magnifier.html +2 -2
  28. package/docs/classes/Util.Object3D.html +2 -2
  29. package/docs/classes/Util.PointHelper.html +2 -2
  30. package/docs/classes/Util.PointSelector.html +2 -2
  31. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  32. package/docs/classes/Util.Rectangle.html +2 -2
  33. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  34. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  35. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  36. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  37. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  38. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  39. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  40. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  41. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  42. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  46. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  48. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  49. package/docs/classes/WalkController.html +2 -2
  50. package/docs/enums/CameraMovementEffect.html +2 -2
  51. package/docs/enums/ContentType.html +2 -2
  52. package/docs/enums/DIRECTION.html +2 -2
  53. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  54. package/docs/enums/DimensionType.html +2 -2
  55. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  56. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  57. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  58. package/docs/enums/PointType.html +2 -2
  59. package/docs/enums/Rotation.html +2 -2
  60. package/docs/functions/AreaMakerPlugin.html +1 -1
  61. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  62. package/docs/functions/CameraMovementPlugin.html +2 -2
  63. package/docs/functions/CruisePlugin.html +1 -1
  64. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  65. package/docs/functions/GuideLinePlugin.html +1 -1
  66. package/docs/functions/ItemLabelPlugin.html +1 -1
  67. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  68. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  69. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  70. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  71. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  72. package/docs/functions/ModelMakerPlugin.html +1 -1
  73. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  74. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  75. package/docs/functions/ModelViewPlugin.html +2 -2
  76. package/docs/functions/MovePlugin.html +1 -1
  77. package/docs/functions/Object3DHelperPlugin.html +1 -1
  78. package/docs/functions/PanoCompassPlugin.html +1 -1
  79. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  80. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  81. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  82. package/docs/functions/PanoMeasurePlugin.html +1 -1
  83. package/docs/functions/PanoRulerPlugin.html +2 -2
  84. package/docs/functions/PanoRulerProPlugin.html +2 -2
  85. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  86. package/docs/functions/PanoTagPlugin.html +1 -1
  87. package/docs/functions/PanoVideoPlugin.html +2 -2
  88. package/docs/functions/PipelinePlugin.html +1 -1
  89. package/docs/functions/SculptPlugin.html +2 -2
  90. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  91. package/docs/functions/Util.absoluteUrl.html +2 -2
  92. package/docs/functions/Util.awaitNextFrame.html +1 -1
  93. package/docs/functions/Util.blink.html +2 -2
  94. package/docs/functions/Util.bounding.html +1 -1
  95. package/docs/functions/Util.boundingBox.html +1 -1
  96. package/docs/functions/Util.boundingSphere.html +1 -1
  97. package/docs/functions/Util.boxVertex.html +2 -2
  98. package/docs/functions/Util.boxVertexes.html +1 -1
  99. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  100. package/docs/functions/Util.convexHull.html +2 -2
  101. package/docs/functions/Util.equal.html +2 -2
  102. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  103. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  104. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  105. package/docs/functions/Util.getFrameTime.html +2 -2
  106. package/docs/functions/Util.inside.html +1 -1
  107. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  108. package/docs/functions/Util.isModelLike.html +1 -1
  109. package/docs/functions/Util.isNil.html +2 -2
  110. package/docs/functions/Util.isPanoramaLike.html +1 -1
  111. package/docs/functions/Util.lookObject.html +2 -2
  112. package/docs/functions/Util.lookPoint.html +2 -2
  113. package/docs/functions/Util.nextFrame.html +1 -1
  114. package/docs/functions/Util.notNil.html +2 -2
  115. package/docs/functions/Util.reblink.html +2 -2
  116. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  117. package/docs/functions/Util.sculpt.createBox.html +1 -1
  118. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  119. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  120. package/docs/functions/Util.sculpt.createLine.html +2 -2
  121. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  122. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  123. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  124. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  125. package/docs/functions/Util.tag.html +1 -1
  126. package/docs/functions/Util.tweenProgress.html +1 -1
  127. package/docs/functions/Util.uuid.html +2 -2
  128. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  129. package/docs/functions/Util.worldBounding.html +1 -1
  130. package/docs/functions/Util.worldBoundingBox.html +1 -1
  131. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  132. package/docs/functions/createPolyline.html +2 -2
  133. package/docs/functions/pluginFlag.html +1 -1
  134. package/docs/hierarchy.html +1 -1
  135. package/docs/index.html +2 -2
  136. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  137. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  138. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  139. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  140. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  141. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  146. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  147. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  148. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  149. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  150. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  151. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  152. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  153. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  154. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  155. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  160. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  161. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  162. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  163. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  164. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  165. package/docs/interfaces/FloorplanBounding.html +2 -2
  166. package/docs/interfaces/FloorplanData.html +2 -2
  167. package/docs/interfaces/FloorplanEntrance.html +2 -2
  168. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  169. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  170. package/docs/interfaces/FloorplanFloorData.html +2 -2
  171. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  172. package/docs/interfaces/FloorplanObserver.html +2 -2
  173. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  174. package/docs/interfaces/FloorplanPosition.html +2 -2
  175. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  176. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  177. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  178. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  179. package/docs/interfaces/FloorplanServerData.html +2 -2
  180. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  181. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  182. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  183. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  184. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  185. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  186. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  187. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  188. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  189. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  190. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  191. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  192. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  193. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  194. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  195. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  202. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  206. package/docs/interfaces/HelperOffset.html +2 -2
  207. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  208. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  209. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  210. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  211. package/docs/interfaces/MinMax.html +2 -2
  212. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  213. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  214. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  215. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  216. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  217. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  218. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  219. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  220. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  221. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  222. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  223. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  224. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  227. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  228. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  229. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  230. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  231. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  232. package/docs/interfaces/Object3DHelperState.html +2 -2
  233. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  234. package/docs/interfaces/PaintBrushAction.html +2 -2
  235. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  236. package/docs/interfaces/PaintBrushState.html +2 -2
  237. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  238. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  239. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  240. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  241. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  242. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  243. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  244. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  245. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  246. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  247. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  248. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  249. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  250. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  251. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  252. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  253. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  254. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  255. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  256. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  258. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  260. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  261. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  262. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  263. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  264. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  267. package/docs/interfaces/PluginEventMap.html +2 -2
  268. package/docs/interfaces/Point.html +2 -2
  269. package/docs/interfaces/Room.html +2 -2
  270. package/docs/interfaces/RoomInfo.html +2 -2
  271. package/docs/interfaces/RoomLabel.html +2 -2
  272. package/docs/interfaces/RoomRules.html +1 -1
  273. package/docs/interfaces/Rooms.html +1 -1
  274. package/docs/interfaces/Scissor.html +2 -2
  275. package/docs/interfaces/State.html +2 -2
  276. package/docs/interfaces/TagCacheInterface.html +2 -2
  277. package/docs/interfaces/TagConfig.html +2 -2
  278. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  279. package/docs/interfaces/TagIconUrl.html +2 -2
  280. package/docs/interfaces/TagObjectGroup.html +2 -2
  281. package/docs/interfaces/TagStyle.html +2 -2
  282. package/docs/interfaces/Tags.html +2 -2
  283. package/docs/interfaces/TemporaryState.html +2 -2
  284. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  285. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  286. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  287. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  288. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  289. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  290. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  291. package/docs/interfaces/Util.PointIntersection.html +2 -2
  292. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  293. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  294. package/docs/modules/AreaMakerPluginType.html +2 -2
  295. package/docs/modules/CruisePluginTypes.html +2 -2
  296. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  297. package/docs/modules/GuideLineItem.html +2 -2
  298. package/docs/modules/GuideLineModeItem.html +2 -2
  299. package/docs/modules/GuideLinePluginType.html +2 -2
  300. package/docs/modules/ModelMakerPluginType.html +2 -2
  301. package/docs/modules/PanoVideoPluginType.html +2 -2
  302. package/docs/modules/SculptData.html +2 -2
  303. package/docs/modules/Util.html +2 -2
  304. package/docs/modules/Util.sculpt.html +2 -2
  305. package/docs/modules.html +2 -2
  306. package/docs/types/AddObject3DHelperConfig.html +2 -2
  307. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  308. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  309. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  310. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  311. package/docs/types/ArrayPosition.html +1 -1
  312. package/docs/types/AudioAppearance.html +1 -1
  313. package/docs/types/CSS3DRenderExportType.html +1 -1
  314. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  315. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  316. package/docs/types/ClassFunctionParameters.html +1 -1
  317. package/docs/types/Color.html +1 -1
  318. package/docs/types/ContentTypeConfigKey.html +1 -1
  319. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  320. package/docs/types/ContentTypeMap.html +1 -1
  321. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  322. package/docs/types/Create3DElementReturnType.html +1 -1
  323. package/docs/types/CruisePluginExportType.html +1 -1
  324. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  325. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  326. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  327. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  328. package/docs/types/DeprecatedTagProperty.html +2 -2
  329. package/docs/types/Direction-1.html +1 -1
  330. package/docs/types/Direction4.html +1 -1
  331. package/docs/types/ElementRenderer.html +2 -2
  332. package/docs/types/FloorplanRuleLabels.html +2 -2
  333. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  334. package/docs/types/GuideLinePluginExportType.html +1 -1
  335. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  336. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  337. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  338. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  339. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  340. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  341. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  342. package/docs/types/HelperEventMap.html +1 -1
  343. package/docs/types/InternalHelperEventMap.html +1 -1
  344. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  345. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  346. package/docs/types/MediaData.html +2 -2
  347. package/docs/types/MediaStore.html +1 -1
  348. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  349. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  350. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  351. package/docs/types/ModelId.html +1 -1
  352. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  353. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  354. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  355. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  356. package/docs/types/MoveArgs.html +2 -2
  357. package/docs/types/MoveOpts.html +2 -2
  358. package/docs/types/Object3DHelperEventMap.html +1 -1
  359. package/docs/types/ObjectFit.html +1 -1
  360. package/docs/types/PaintBrushEventMap.html +1 -1
  361. package/docs/types/PanoCompassPluginData.html +1 -1
  362. package/docs/types/PanoCompassPluginExportType.html +1 -1
  363. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  364. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  365. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  366. package/docs/types/PanoIndex.html +1 -1
  367. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  368. package/docs/types/PanoMeasureReturnType.html +1 -1
  369. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  370. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  371. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  372. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  373. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  374. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  375. package/docs/types/PipelinePluginParameterType.html +1 -1
  376. package/docs/types/PipelinePluginReturnType.html +1 -1
  377. package/docs/types/PlaneTag.html +2 -2
  378. package/docs/types/Point2DTag.html +2 -2
  379. package/docs/types/Point3DTag.html +2 -2
  380. package/docs/types/PointTagInstance.html +1 -1
  381. package/docs/types/Position.html +1 -1
  382. package/docs/types/PositionFrom.html +1 -1
  383. package/docs/types/RotateArgs.html +2 -2
  384. package/docs/types/RotateOpts.html +2 -2
  385. package/docs/types/RuleLabelsKey.html +1 -1
  386. package/docs/types/RuleLabelsValue.html +1 -1
  387. package/docs/types/ScaleCallback.html +1 -1
  388. package/docs/types/ScalePosition.html +2 -2
  389. package/docs/types/SculptData.BoxData.html +1 -1
  390. package/docs/types/SculptData.CircleData.html +1 -1
  391. package/docs/types/SculptData.CylinderData.html +1 -1
  392. package/docs/types/SculptData.PointData.html +1 -1
  393. package/docs/types/SculptData.PolygonData.html +1 -1
  394. package/docs/types/SculptData.PolylineData.html +1 -1
  395. package/docs/types/SculptData.PrismData.html +1 -1
  396. package/docs/types/SculptData.RectangleData.html +1 -1
  397. package/docs/types/StickType.html +1 -1
  398. package/docs/types/Tag.html +2 -2
  399. package/docs/types/Tag2D.html +2 -2
  400. package/docs/types/Tag3D.html +2 -2
  401. package/docs/types/TagClickParams.html +1 -1
  402. package/docs/types/TagConfigByKey.html +1 -1
  403. package/docs/types/TagContentType.html +1 -1
  404. package/docs/types/TagContentTypeMapping.html +1 -1
  405. package/docs/types/TagDimensionType.html +1 -1
  406. package/docs/types/TagElement.html +2 -2
  407. package/docs/types/TagEvents.html +1 -1
  408. package/docs/types/TagGLTFObject.html +1 -1
  409. package/docs/types/TagHooks.html +1 -1
  410. package/docs/types/TagId.html +1 -1
  411. package/docs/types/TagInstance.html +1 -1
  412. package/docs/types/TagPointType.html +2 -2
  413. package/docs/types/TagRendererMap.html +1 -1
  414. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  415. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  416. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  417. package/docs/types/Util.PointSelectorConfig.html +1 -1
  418. package/docs/types/WorkCode.html +1 -1
  419. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  420. package/docs/variables/PLUGIN.html +1 -1
  421. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  422. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  423. package/docs/variables/Util.animeMap.html +1 -1
  424. package/docs/variables/defaultGlobalConfig.html +1 -1
  425. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  426. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  427. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  428. package/libs/AreaMakerPlugin/Controller.js +88 -134
  429. package/libs/AreaMakerPlugin/index.js +13 -59
  430. package/libs/AreaMakerPlugin/utils/Item.js +49 -100
  431. package/libs/CSS3DRenderPlugin/Controller.js +31 -73
  432. package/libs/CSS3DRenderPlugin/index.js +13 -55
  433. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -88
  434. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +109 -153
  435. package/libs/CruisePlugin/BaseController.js +50 -100
  436. package/libs/CruisePlugin/Move.js +27 -58
  437. package/libs/CruisePlugin/Work.js +57 -88
  438. package/libs/CruisePlugin/index.js +37 -68
  439. package/libs/CurrentPanoImagePlugin/Controller.js +52 -101
  440. package/libs/CurrentPanoImagePlugin/index.js +6 -55
  441. package/libs/GuideLinePlugin/Controller.js +67 -98
  442. package/libs/GuideLinePlugin/GuideLineItem.js +34 -65
  443. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +47 -55
  444. package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -65
  445. package/libs/GuideLinePlugin/index.js +35 -66
  446. package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
  447. package/libs/ModelMakerPlugin/Controller.js +62 -86
  448. package/libs/ModelMakerPlugin/index.js +28 -52
  449. package/libs/ModelMakerPlugin/item/baseItem.js +14 -53
  450. package/libs/ModelMakerPlugin/item/boxItem.js +12 -51
  451. package/libs/ModelMakerPlugin/item/polygonItem.js +14 -53
  452. package/libs/ModelMakerPlugin/item/prismItem.js +23 -61
  453. package/libs/ModelTVVideoPlugin/Plugin.js +52 -94
  454. package/libs/ModelTVVideoPlugin/index.js +5 -47
  455. package/libs/Object3DHelperPlugin/Controller.js +82 -118
  456. package/libs/Object3DHelperPlugin/index.js +44 -80
  457. package/libs/PanoCompassPlugin/Controller.js +30 -66
  458. package/libs/PanoCompassPlugin/index.js +17 -53
  459. package/libs/PanoDoorLabelPlugin/Controller.js +107 -156
  460. package/libs/PanoDoorLabelPlugin/index.js +5 -54
  461. package/libs/PanoMeasurePlugin/Components/Controller0.js +24 -28
  462. package/libs/PanoMeasurePlugin/Components/Controller1.js +24 -28
  463. package/libs/PanoMeasurePlugin/Controller/EditController.js +61 -65
  464. package/libs/PanoMeasurePlugin/Controller/WatchController.js +91 -140
  465. package/libs/PanoMeasurePlugin/Controller/index.js +43 -46
  466. package/libs/PanoMeasurePlugin/Model/area.js +37 -88
  467. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -56
  468. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +31 -35
  469. package/libs/PanoMeasurePlugin/index.js +36 -39
  470. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +25 -79
  471. package/libs/PanoRulerProPlugin/Controller.js +41 -95
  472. package/libs/PanoRulerProPlugin/RulerItems.js +101 -155
  473. package/libs/PanoRulerProPlugin/index.js +6 -60
  474. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -157
  475. package/libs/PanoSpatialTagPlugin/index.js +3 -44
  476. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +54 -110
  477. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +219 -275
  478. package/libs/PanoTagPlugin/Components/Tag/index.js +146 -182
  479. package/libs/PanoTagPlugin/Components/TagContainer.js +100 -136
  480. package/libs/PanoTagPlugin/Components/TagItem.js +77 -113
  481. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +62 -104
  482. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +39 -75
  483. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +76 -112
  484. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +52 -94
  485. package/libs/PanoTagPlugin/controller/TagRender.js +25 -71
  486. package/libs/PanoTagPlugin/controller/TagUtil.js +66 -112
  487. package/libs/PanoTagPlugin/controller/index.js +52 -83
  488. package/libs/PanoTagPlugin/index.js +32 -63
  489. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +42 -98
  490. package/libs/PanoVideoPlugin/Controller.js +68 -117
  491. package/libs/PanoVideoPlugin/VideoMeshController.js +75 -130
  492. package/libs/PanoVideoPlugin/index.js +11 -60
  493. package/libs/PipelinePlugin/Controller.js +63 -111
  494. package/libs/PipelinePlugin/index.js +10 -58
  495. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +26 -81
  496. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +17 -72
  497. package/libs/PipelinePlugin/utils/Objects/Pipe.js +48 -103
  498. package/libs/Sculpt/Meshes/Circle.js +14 -24
  499. package/libs/Sculpt/Meshes/Cylinder.js +22 -32
  500. package/libs/Sculpt/Meshes/Line.js +33 -40
  501. package/libs/Sculpt/Meshes/LineWithDots.js +12 -21
  502. package/libs/Sculpt/Meshes/Point.js +27 -36
  503. package/libs/Sculpt/Meshes/Polygon.js +16 -25
  504. package/libs/Sculpt/Meshes/Rectangle.js +18 -29
  505. package/libs/Sculpt/Objects/Line/Editor.js +22 -33
  506. package/libs/Sculpt/index.js +57 -68
  507. package/libs/Sculpt/utils/three/ColoredMesh.js +21 -31
  508. package/libs/base/BasePlugin.js +15 -26
  509. package/libs/components/AreaLabel/LabelItem.js +43 -42
  510. package/libs/components/PaintBrush/style.js +2 -2
  511. package/libs/components/index.js +1 -2
  512. package/libs/floorplan/Components/BaseImage.js +14 -13
  513. package/libs/floorplan/Components/Camera.js +13 -12
  514. package/libs/floorplan/Components/Compass.js +23 -22
  515. package/libs/floorplan/Components/CurrentFloor.js +19 -18
  516. package/libs/floorplan/Components/Main.js +14 -13
  517. package/libs/floorplan/Components/MissingFloor.js +40 -39
  518. package/libs/floorplan/Components/Normalmage.js +7 -6
  519. package/libs/floorplan/Components/RoomHighlight/Room.js +27 -26
  520. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
  521. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +3 -2
  522. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +3 -2
  523. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +60 -59
  524. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +24 -23
  525. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +35 -34
  526. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +22 -21
  527. package/libs/floorplan/Components/RuleLabels/RuleItem.js +55 -54
  528. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +47 -46
  529. package/libs/floorplan/Components/SvgImage.js +17 -16
  530. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +63 -111
  531. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -54
  532. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +60 -109
  533. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -54
  534. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
  535. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +71 -120
  536. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -54
  537. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +80 -129
  538. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -54
  539. package/libs/floorplan/index.js +0 -12
  540. package/libs/index.js +210 -210
  541. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +13 -22
  542. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +4 -4
  543. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +6 -6
  544. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +1 -1
  545. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +5 -7
  546. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -10
  547. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -4
  548. package/libs/shared-utils/Object3DHelper/utils/index.js +1 -1
  549. package/libs/shared-utils/animationFrame/index.js +6 -7
  550. package/libs/shared-utils/exports.js +62 -62
  551. package/libs/shared-utils/five/index.js +2 -13
  552. package/libs/shared-utils/five/initialCSS3DRender.js +1 -1
  553. package/libs/shared-utils/five/lookObject.js +24 -33
  554. package/libs/shared-utils/index.js +1 -11
  555. package/libs/shared-utils/logger.js +1 -1
  556. package/libs/shared-utils/object3d2LocalMatrix.js +9 -9
  557. package/libs/shared-utils/tag.js +14 -23
  558. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +9 -12
  559. package/libs/shared-utils/three/index.js +1 -11
  560. package/libs/shared-utils/three/libs/NURBSCurve.js +1 -1
  561. package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
  562. package/package.json +3 -2
@@ -1,82 +1,33 @@
1
- var g = Object.defineProperty, f = Object.defineProperties;
2
- var b = Object.getOwnPropertyDescriptors;
3
- var h = Object.getOwnPropertySymbols;
4
- var M = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
5
- var l = (e, i, r) => i in e ? g(e, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[i] = r, p = (e, i) => {
6
- for (var r in i || (i = {}))
7
- M.call(i, r) && l(e, r, i[r]);
8
- if (h)
9
- for (var r of h(i))
10
- W.call(i, r) && l(e, r, i[r]);
11
- return e;
12
- }, a = (e, i) => f(e, b(i));
13
- var s = (e, i, r) => (l(e, typeof i != "symbol" ? i + "" : i, r), r);
14
- import { VideoMeshController as m } from "./VideoMeshController.js";
1
+ var p = Object.defineProperty, b = Object.defineProperties;
2
+ var M = Object.getOwnPropertyDescriptors;
3
+ var c = Object.getOwnPropertySymbols;
4
+ var m = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
5
+ var l = (o, t, e) => t in o ? p(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, a = (o, t) => {
6
+ for (var e in t || (t = {}))
7
+ m.call(t, e) && l(o, e, t[e]);
8
+ if (c)
9
+ for (var e of c(t))
10
+ W.call(t, e) && l(o, e, t[e]);
11
+ return o;
12
+ }, d = (o, t) => b(o, M(t));
13
+ var s = (o, t, e) => (l(o, typeof t != "symbol" ? t + "" : t, e), e);
14
+ import { VideoMeshController as u } from "./VideoMeshController.js";
15
15
  import { Controller as _ } from "../base/BasePlugin.js";
16
16
  import "./utils/shader.js";
17
- import "../shared-utils/tag.js";
18
- import "../shared-utils/positionToVector3.js";
19
17
  import "three";
20
- import "../shared-utils/five/vector3ToScreen.js";
21
- import "../shared-utils/five/getFiveModel.js";
18
+ import "./utils/index.js";
19
+ import "../vendor/animejs/lib/anime.es.js";
20
+ import "../shared-utils/animationFrame/index.js";
21
+ import "../shared-utils/Subscribe.js";
22
22
  import "../shared-utils/Utils/FiveUtil.js";
23
23
  import "../shared-utils/Utils/BaseUtil.js";
24
- import "../shared-utils/Subscribe.js";
25
24
  import "../shared-utils/Utils/WorkUtil.js";
26
25
  import "../shared-utils/five/transformPosition.js";
27
- import "../shared-utils/three/temp.js";
28
- import "../shared-utils/three/core/Raycaster.js";
29
- import "../shared-utils/dom/resizeObserver.js";
30
- import "../shared-utils/five/fiveEveryReadyListener.js";
31
- import "../shared-utils/throttle.js";
32
- import "../vendor/hammerjs/hammer.js";
33
- import "../shared-utils/three/PointSelector/index.js";
34
- import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
35
- import "../shared-utils/three/Magnifier.js";
36
- import "../shared-utils/three/PointSelector/utils/PointHelper.js";
37
- import "../shared-utils/three/Assets/index.js";
38
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
39
- import "../shared-utils/even.js";
40
- import "../shared-utils/CSS3DRender/OpacityMesh.js";
41
- import "../shared-utils/three/centerPoint.js";
42
- import "../shared-utils/three/getObjectVisible.js";
43
- import "../shared-utils/three/CSS3DRenderer/index.js";
44
- import "@realsee/five/line";
45
- import "../shared-utils/isNil.js";
46
- import "../shared-utils/three/core/Five_LineMaterial2.js";
47
- import "../shared-utils/three/core/Sphere.js";
48
- import "../vendor/animejs/lib/anime.es.js";
49
- import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
50
- import "../shared-utils/five/FivePuppet.js";
51
- import "@realsee/five";
52
- import "../shared-utils/five/fiveModelLoad.js";
53
- import "../shared-utils/three/PointSelector/utils/html.js";
54
- import "../shared-utils/five/initialCSS3DRender.js";
55
- import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
56
- import "../shared-utils/createResizeObserver.js";
57
- import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
58
- import "../Sculpt/Meshes/Line.js";
59
- import "../Sculpt/typings/style.js";
60
- import "../shared-utils/three/IObject3D.js";
61
- import "../Sculpt/utils/removeAllTag.js";
62
- import "../Sculpt/utils/Meshes/getLengthHTML.js";
63
- import "../shared-utils/three/applyObjectMatrixWorld.js";
64
- import "../shared-utils/util.js";
65
- import "../shared-utils/three/core/LineGeometry.js";
66
- import "../shared-utils/three/core/LineMaterial.js";
67
- import "../shared-utils/three/core/Line2.js";
68
- import "../shared-utils/three/core/LineMaterial2.js";
69
- import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
70
- import "../shared-utils/isTouchDevice.js";
71
- import "../shared-utils/five/getPosition.js";
72
- import "../shared-utils/five/getRaycasterByNdcPosition.js";
73
- import "../shared-utils/three/PointSelector/utils/contents.js";
74
- import "../shared-utils/animationFrame/index.js";
75
- import "./utils/index.js";
26
+ import "../shared-utils/five/getFiveModel.js";
76
27
  import "../shared-utils/url/absoluteUrl.js";
77
- class Ir extends _ {
78
- constructor(r) {
79
- super(r);
28
+ class V extends _ {
29
+ constructor(e) {
30
+ super(e);
80
31
  s(this, "controllerMap", /* @__PURE__ */ new Map());
81
32
  s(this, "data");
82
33
  s(this, "enabled", !0);
@@ -93,58 +44,58 @@ class Ir extends _ {
93
44
  return this._disposed;
94
45
  }
95
46
  /** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
96
- load(r, t) {
97
- var o;
47
+ load(e, r) {
48
+ var i;
98
49
  if (this.disposed)
99
50
  return this.logWarning("插件已被销毁");
100
- typeof ((o = t == null ? void 0 : t.initialState) == null ? void 0 : o.enabled) != "undefined" && t.initialState.enabled !== this.enabled && (t.initialState.enabled ? this.enable() : this.disable()), r.list.forEach((n) => {
101
- const c = n.pano_index, u = n.render_id;
102
- n.video_list.forEach((d) => {
51
+ typeof ((i = r == null ? void 0 : r.initialState) == null ? void 0 : i.enabled) != "undefined" && r.initialState.enabled !== this.enabled && (r.initialState.enabled ? this.enable() : this.disable()), e.list.forEach((n) => {
52
+ const g = n.pano_index, f = n.render_id;
53
+ n.video_list.forEach((h) => {
103
54
  this.controllerMap.set(
104
- d.render_id,
105
- new m(this.five, a(p({}, d), {
106
- panoIndex: c,
107
- renderID: u,
55
+ h.render_id,
56
+ new u(this.five, d(a({}, h), {
57
+ panoIndex: g,
58
+ renderID: f,
108
59
  hooks: this.hooks,
109
60
  initialState: { enabled: this.enabled }
110
61
  }))
111
62
  );
112
63
  });
113
- }), this.data = r, this.hooks.emit("dataLoaded", r);
64
+ }), this.data = e, this.hooks.emit("dataLoaded", e);
114
65
  }
115
66
  /** 开启插件功能。 */
116
- enable(r) {
117
- var o;
67
+ enable(e) {
68
+ var i;
118
69
  if (this.disposed)
119
70
  return this.logWarning("插件已被销毁");
120
71
  if (this.enabled)
121
72
  return;
122
73
  this.enabled = !0, Array.from(this.controllerMap.values()).forEach((n) => n.enable());
123
- const t = (o = r == null ? void 0 : r.userAction) != null ? o : !0;
124
- this.hooks.emit("enable", { userAction: t });
74
+ const r = (i = e == null ? void 0 : e.userAction) != null ? i : !0;
75
+ this.hooks.emit("enable", { userAction: r });
125
76
  }
126
77
  /** 禁用插件功能。 */
127
- disable(r) {
128
- var o;
78
+ disable(e) {
79
+ var i;
129
80
  if (this.disposed)
130
81
  return this.logWarning("插件已被销毁");
131
82
  if (!this.enabled)
132
83
  return;
133
84
  this.enabled = !1, Array.from(this.controllerMap.values()).forEach((n) => n.disable());
134
- const t = (o = r == null ? void 0 : r.userAction) != null ? o : !0;
135
- this.hooks.emit("disable", { userAction: t });
85
+ const r = (i = e == null ? void 0 : e.userAction) != null ? i : !0;
86
+ this.hooks.emit("disable", { userAction: r });
136
87
  }
137
88
  /** 看向某个视频。
138
89
  * - 会自动切换到全景模式。
139
90
  * - 如果遇到不能自动播放的问题,需要放到用户交互事件中调用。
140
91
  */
141
- lookAtVideoItemByRenderID(r) {
92
+ lookAtVideoItemByRenderID(e) {
142
93
  if (this.disposed)
143
94
  return this.logWarning("插件已被销毁");
144
- const t = this.controllerMap.get(r);
145
- if (!t)
146
- return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
147
- t.lookAtVideo();
95
+ const r = this.controllerMap.get(e);
96
+ if (!r)
97
+ return this.logWarning(`ID 为 ${e} 的点位视频不存在`);
98
+ r.lookAtVideo();
148
99
  }
149
100
  /**
150
101
  * 取消静音。
@@ -162,26 +113,26 @@ class Ir extends _ {
162
113
  * }}
163
114
  * ```
164
115
  */
165
- unmuteByRenderID(r) {
116
+ unmuteByRenderID(e) {
166
117
  if (this.disposed)
167
118
  return this.logWarning("插件已被销毁");
168
- const t = this.controllerMap.get(r);
169
- if (!t)
170
- return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
171
- t.unmute();
119
+ const r = this.controllerMap.get(e);
120
+ if (!r)
121
+ return this.logWarning(`ID 为 ${e} 的点位视频不存在`);
122
+ r.unmute();
172
123
  }
173
124
  /** 为一个点位添加视频(可以是多条)。 */
174
- add(r, t) {
125
+ add(e, r) {
175
126
  if (this.disposed)
176
127
  return this.logWarning("插件已被销毁");
177
- t.forEach((o) => {
178
- if (this.controllerMap.get(o.render_id))
179
- return this.logWarning(`ID 为 ${o.render_id} 的点位视频已存在`);
180
- const n = o.render_id;
128
+ r.forEach((i) => {
129
+ if (this.controllerMap.get(i.render_id))
130
+ return this.logWarning(`ID 为 ${i.render_id} 的点位视频已存在`);
131
+ const n = i.render_id;
181
132
  this.controllerMap.set(
182
- o.render_id,
183
- new m(this.five, a(p({}, o), {
184
- panoIndex: r,
133
+ i.render_id,
134
+ new u(this.five, d(a({}, i), {
135
+ panoIndex: e,
185
136
  renderID: n,
186
137
  hooks: this.hooks,
187
138
  initialState: { enabled: this.enabled }
@@ -190,32 +141,32 @@ class Ir extends _ {
190
141
  });
191
142
  }
192
143
  /** 根据 VideoItem render_id 删除某个视频。 */
193
- removeByRenderID(r) {
144
+ removeByRenderID(e) {
194
145
  if (this.disposed)
195
146
  return this.logWarning("插件已被销毁");
196
- const t = this.controllerMap.get(r);
197
- if (!t)
198
- return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
199
- t.dispose(), this.controllerMap.delete(r);
147
+ const r = this.controllerMap.get(e);
148
+ if (!r)
149
+ return this.logWarning(`ID 为 ${e} 的点位视频不存在`);
150
+ r.dispose(), this.controllerMap.delete(e);
200
151
  }
201
152
  /** 清空现有数据 */
202
153
  clear() {
203
154
  if (this.disposed)
204
155
  return this.logWarning("插件已被销毁");
205
- Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
156
+ Array.from(this.controllerMap.values()).forEach((e) => e.dispose()), this.controllerMap.clear();
206
157
  }
207
158
  /** 销毁插件 */
208
159
  dispose() {
209
160
  if (this.disposed)
210
161
  return this.logWarning("插件已被销毁");
211
- this._disposed = !0, Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
162
+ this._disposed = !0, Array.from(this.controllerMap.values()).forEach((e) => e.dispose()), this.controllerMap.clear();
212
163
  }
213
164
  /** 控制台打印警告 */
214
165
  // TODO: 全局函数 curry 化
215
- logWarning(r) {
216
- console.warn("⛔ ==> [PanoVideoPluginController]:", r);
166
+ logWarning(e) {
167
+ console.warn("⛔ ==> [PanoVideoPluginController]:", e);
217
168
  }
218
169
  }
219
170
  export {
220
- Ir as PanoVideoPluginController
171
+ V as PanoVideoPluginController
221
172
  };
@@ -1,69 +1,14 @@
1
- var g = Object.defineProperty;
2
- var I = (v, i, e) => i in v ? g(v, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[i] = e;
3
- var t = (v, i, e) => (I(v, typeof i != "symbol" ? i + "" : i, e), e);
1
+ var m = Object.defineProperty;
2
+ var I = (v, e, i) => e in v ? m(v, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : v[e] = i;
3
+ var t = (v, e, i) => (I(v, typeof e != "symbol" ? e + "" : e, i), i);
4
4
  import { vertexShader as M, fragmentShader as P } from "./utils/shader.js";
5
- import "../shared-utils/tag.js";
6
- import { VideoTexture as F, LinearFilter as c, ShaderMaterial as y, Vector4 as x, SphereBufferGeometry as L, Mesh as V, Vector3 as p, Quaternion as b } from "three";
7
- import "../vendor/hammerjs/hammer.js";
8
- import "../shared-utils/three/PointSelector/index.js";
9
- import "../shared-utils/three/CSS3DRenderer/index.js";
10
- import "@realsee/five/line";
11
- import "../shared-utils/three/core/Five_LineMaterial2.js";
12
- import "../shared-utils/three/core/Sphere.js";
13
- import { anime as A } from "../vendor/animejs/lib/anime.es.js";
14
- import { requestAnimationFrameInterval as D } from "../shared-utils/animationFrame/index.js";
15
- import "../shared-utils/five/FivePuppet.js";
16
- import E from "./utils/index.js";
17
- import "../shared-utils/positionToVector3.js";
18
- import "../shared-utils/five/vector3ToScreen.js";
19
- import "../shared-utils/five/getFiveModel.js";
20
- import "../shared-utils/Utils/FiveUtil.js";
21
- import "../shared-utils/Utils/BaseUtil.js";
22
- import "../shared-utils/Subscribe.js";
23
- import "../shared-utils/Utils/WorkUtil.js";
24
- import "../shared-utils/five/transformPosition.js";
25
- import "../shared-utils/three/temp.js";
26
- import "../shared-utils/three/core/Raycaster.js";
27
- import "../shared-utils/dom/resizeObserver.js";
28
- import "../shared-utils/five/fiveEveryReadyListener.js";
29
- import "../shared-utils/throttle.js";
30
- import "../shared-utils/five/fiveModelLoad.js";
31
- import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
32
- import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
33
- import "../shared-utils/three/Magnifier.js";
34
- import "../shared-utils/three/PointSelector/utils/PointHelper.js";
35
- import "../shared-utils/three/Assets/index.js";
36
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
37
- import "../shared-utils/even.js";
38
- import "../shared-utils/CSS3DRender/OpacityMesh.js";
39
- import "../shared-utils/three/centerPoint.js";
40
- import "../shared-utils/three/getObjectVisible.js";
41
- import "../shared-utils/isNil.js";
42
- import "../shared-utils/three/PointSelector/utils/html.js";
43
- import "../shared-utils/five/initialCSS3DRender.js";
44
- import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
45
- import "../shared-utils/createResizeObserver.js";
46
- import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
47
- import "../Sculpt/Meshes/Line.js";
48
- import "../Sculpt/typings/style.js";
49
- import "../shared-utils/three/IObject3D.js";
50
- import "../Sculpt/utils/removeAllTag.js";
51
- import "../Sculpt/utils/Meshes/getLengthHTML.js";
52
- import "../shared-utils/three/applyObjectMatrixWorld.js";
53
- import "../shared-utils/util.js";
54
- import "../shared-utils/three/core/LineGeometry.js";
55
- import "../shared-utils/three/core/LineMaterial.js";
56
- import "../shared-utils/three/core/Line2.js";
57
- import "../shared-utils/three/core/LineMaterial2.js";
58
- import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
59
- import "../shared-utils/isTouchDevice.js";
60
- import "../shared-utils/five/getPosition.js";
61
- import "../shared-utils/five/getRaycasterByNdcPosition.js";
62
- import "../shared-utils/three/PointSelector/utils/contents.js";
63
- import "@realsee/five";
64
- class Gi {
5
+ import { VideoTexture as F, LinearFilter as g, ShaderMaterial as y, Vector4 as x, SphereBufferGeometry as L, Mesh as V, Vector3 as l, Quaternion as b } from "three";
6
+ import A from "./utils/index.js";
7
+ import { anime as D } from "../vendor/animejs/lib/anime.es.js";
8
+ import { requestAnimationFrameInterval as E } from "../shared-utils/animationFrame/index.js";
9
+ class S {
65
10
  /** 初始化视频、模型以及相关事件监听。 */
66
- constructor(i, e) {
11
+ constructor(e, i) {
67
12
  t(this, "video");
68
13
  t(this, "_id");
69
14
  /** 视频资源地址 */
@@ -99,75 +44,75 @@ class Gi {
99
44
  this.video.muted = !1;
100
45
  });
101
46
  /** 把 uv 值转换成位置 */
102
- t(this, "uv2Position", (i, e) => {
103
- var f;
104
- const o = Math.PI, a = Math.PI * 2, d = i, s = 1 - e, r = new p(
105
- -1 * Math.cos(a * d) * Math.sin(o * s),
106
- 1 * Math.cos(o * s),
107
- 1 * Math.sin(a * d) * Math.sin(o * s)
47
+ t(this, "uv2Position", (e, i) => {
48
+ var p;
49
+ const n = Math.PI, a = Math.PI * 2, d = e, s = 1 - i, r = new l(
50
+ -1 * Math.cos(a * d) * Math.sin(n * s),
51
+ 1 * Math.cos(n * s),
52
+ 1 * Math.sin(a * d) * Math.sin(n * s)
108
53
  );
109
54
  r.setX(-r.x);
110
- const h = (f = this.five.work) == null ? void 0 : f.observers[this.panoIndex];
55
+ const h = (p = this.five.work) == null ? void 0 : p.observers[this.panoIndex];
111
56
  if (!h)
112
57
  return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
113
- const m = h.position.clone(), l = h.quaternion.clone(), u = r.clone();
114
- return u.applyAxisAngle(new p(0, 1, 0), Math.PI / 2), u.applyQuaternion(l), u.add(m), u;
58
+ const f = h.position.clone(), c = h.quaternion.clone(), u = r.clone();
59
+ return u.applyAxisAngle(new l(0, 1, 0), Math.PI / 2), u.applyQuaternion(c), u.add(f), u;
115
60
  });
116
61
  /** Five 数据加载后需要根据点位位姿调整点位模型位置 */
117
62
  t(this, "onFiveDataLoaded", () => {
118
63
  var r;
119
- const i = (r = this.five.work) == null ? void 0 : r.observers[this.panoIndex];
120
- if (!i)
64
+ const e = (r = this.five.work) == null ? void 0 : r.observers[this.panoIndex];
65
+ if (!e)
121
66
  return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
122
- this.observer = i;
123
- const { x: e, y: n, z: o, w: a } = i.quaternion, d = new b(e, n, o, a), s = i.position;
124
- this.videoMesh.position.fromArray([s.x, s.y, s.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new p(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(d);
67
+ this.observer = e;
68
+ const { x: i, y: o, z: n, w: a } = e.quaternion, d = new b(i, o, n, a), s = e.position;
69
+ this.videoMesh.position.fromArray([s.x, s.y, s.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new l(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(d);
125
70
  });
126
71
  /** 兼容视频播放 */
127
- t(this, "onFiveWantsMoveToPano", (i) => {
128
- i === this.panoIndex && (this.hasVideoEverPlayed || this.video.play().catch(() => {
72
+ t(this, "onFiveWantsMoveToPano", (e) => {
73
+ e === this.panoIndex && (this.hasVideoEverPlayed || this.video.play().catch(() => {
129
74
  }));
130
75
  });
131
76
  /** 走到某个点位上时,挂载/卸载视频 */
132
- t(this, "onFivePanoArrived", (i) => {
77
+ t(this, "onFivePanoArrived", (e) => {
133
78
  if (this.disposed)
134
79
  return this.logWarning("实例已被销毁");
135
- this.enabled && this.panoIndex === i && this.mount();
80
+ this.enabled && this.panoIndex === e && this.mount();
136
81
  });
137
- t(this, "onFivePanoWillArrive", (i) => {
138
- if (i !== this.panoIndex)
82
+ t(this, "onFivePanoWillArrive", (e) => {
83
+ if (e !== this.panoIndex)
139
84
  return this.unmount();
140
- this.panoIndex !== i && this.unmount();
85
+ this.panoIndex !== e && this.unmount();
141
86
  });
142
87
  /** Five 模型变化 */
143
- t(this, "onFiveModeChange", (i) => {
144
- i !== "Panorama" && this.hide();
88
+ t(this, "onFiveModeChange", (e) => {
89
+ e !== "Panorama" && this.hide();
145
90
  });
146
91
  /** Five mode change 动画结束 */
147
92
  t(this, "onFiveInitAnimationEnded", () => {
148
- const i = this.five.getCurrentState();
149
- i.mode === "Panorama" && i.panoIndex === this.panoIndex && this.mount();
93
+ const e = this.five.getCurrentState();
94
+ e.mode === "Panorama" && e.panoIndex === this.panoIndex && this.mount();
150
95
  });
151
96
  /** Five Canvas 点击 */
152
- t(this, "onFiveWantsTapGesture", (i) => {
97
+ t(this, "onFiveWantsTapGesture", (e) => {
153
98
  if (!this.five.scene.children.includes(this.videoMesh))
154
99
  return;
155
100
  if (this.disposed)
156
101
  return this.logWarning("实例已被销毁");
157
102
  if (!this.enabled)
158
103
  return this.logWarning("实例已被禁用");
159
- const [e] = i.intersectObject(this.videoMesh);
160
- if (!e)
104
+ const [i] = e.intersectObject(this.videoMesh);
105
+ if (!i)
161
106
  return;
162
- if (this.checkIntersectionInBounding(this.origin, e)) {
163
- const o = {
107
+ if (this.checkIntersectionInBounding(this.origin, i)) {
108
+ const n = {
164
109
  target: this,
165
110
  _preventDefaultReturn: !1,
166
111
  preventDefault: () => {
167
- o._preventDefaultReturn = !0;
112
+ n._preventDefaultReturn = !0;
168
113
  }
169
114
  };
170
- return this.hooks.emit("click", o), o._preventDefaultReturn === !1 && (this.video.muted = !this.video.muted), !1;
115
+ return this.hooks.emit("click", n), n._preventDefaultReturn === !1 && (this.video.muted = !this.video.muted), !1;
171
116
  }
172
117
  });
173
118
  /** video canplaythrough 事件触发 */
@@ -193,19 +138,19 @@ class Gi {
193
138
  this.video.addEventListener(
194
139
  "timeupdate",
195
140
  () => {
196
- if (this.enabled && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer = D(() => {
141
+ if (this.enabled && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer = E(() => {
197
142
  this.five.needsRender = !0;
198
143
  }, 30)), this.five.scene.add(this.videoMesh), this.videoMesh.material.uniforms.opacity.value === 0)) {
199
- const i = {
144
+ const e = {
200
145
  value: 0
201
146
  };
202
- A({
203
- targets: i,
147
+ D({
148
+ targets: e,
204
149
  value: 1,
205
150
  duration: 300,
206
151
  easing: "linear",
207
152
  update: () => {
208
- this.videoMesh.material.uniforms.opacity.value = i.value;
153
+ this.videoMesh.material.uniforms.opacity.value = e.value;
209
154
  },
210
155
  complete: () => {
211
156
  this.videoMesh.material.uniforms.opacity.value = 1;
@@ -218,20 +163,20 @@ class Gi {
218
163
  });
219
164
  /** video pause 事件触发 */
220
165
  t(this, "onVideoPaused", () => {
221
- var i;
222
- (i = this.renderFiveDisposer) == null || i.call(this), this.renderFiveDisposer = void 0;
166
+ var e;
167
+ (e = this.renderFiveDisposer) == null || e.call(this), this.renderFiveDisposer = void 0;
223
168
  });
224
169
  var r, h;
225
- this.five = i, this.panoIndex = e.panoIndex, this._id = e.renderID, this.url = e.url, this.origin = e.origin.slice(), this.hooks = e.hooks, this._enabled = (h = (r = e.initialState) == null ? void 0 : r.enabled) != null ? h : !0;
226
- const n = document.createElement("video");
227
- n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n;
228
- const o = new F(this.video);
229
- o.minFilter = c, o.magFilter = c;
170
+ this.five = e, this.panoIndex = i.panoIndex, this._id = i.renderID, this.url = i.url, this.origin = i.origin.slice(), this.hooks = i.hooks, this._enabled = (h = (r = i.initialState) == null ? void 0 : r.enabled) != null ? h : !0;
171
+ const o = document.createElement("video");
172
+ o.crossOrigin = "anonymous", o.autoplay = !1, o.muted = !0, o.loop = !0, o.playsInline = !0, this.video = o;
173
+ const n = new F(this.video);
174
+ n.minFilter = g, n.magFilter = g;
230
175
  const a = new y({
231
176
  vertexShader: M,
232
177
  fragmentShader: P,
233
178
  uniforms: {
234
- map: { value: o },
179
+ map: { value: n },
235
180
  size: {
236
181
  value: new x(this.origin[0], 1 - this.origin[1] - this.origin[3], this.origin[2], this.origin[3])
237
182
  },
@@ -273,21 +218,21 @@ class Gi {
273
218
  lookAtVideo() {
274
219
  if (!this.observer)
275
220
  return;
276
- const i = this.getUVCenter();
277
- if (!i)
278
- return;
279
- const e = this.uv2Position(i[0], i[1]);
221
+ const e = this.getUVCenter();
280
222
  if (!e)
281
223
  return;
282
- const n = new p().subVectors(e, this.observer.position).normalize(), { longitude: o, latitude: a } = E(n);
283
- this.five.setState({ panoIndex: this.panoIndex, longitude: o, latitude: a }), this.onFiveWantsMoveToPano(this.panoIndex);
224
+ const i = this.uv2Position(e[0], e[1]);
225
+ if (!i)
226
+ return;
227
+ const o = new l().subVectors(i, this.observer.position).normalize(), { longitude: n, latitude: a } = A(o);
228
+ this.five.setState({ panoIndex: this.panoIndex, longitude: n, latitude: a }), this.onFiveWantsMoveToPano(this.panoIndex);
284
229
  }
285
230
  /** 获取视频中心点的 uv */
286
231
  getUVCenter() {
287
232
  if (!this.origin)
288
233
  return;
289
- const i = this.origin[0] + this.origin[2] / 2, e = this.origin[1] + this.origin[3] / 2;
290
- return [i, e];
234
+ const e = this.origin[0] + this.origin[2] / 2, i = this.origin[1] + this.origin[3] / 2;
235
+ return [e, i];
291
236
  }
292
237
  /** 添加时间监听 */
293
238
  addEventListeners() {
@@ -299,8 +244,8 @@ class Gi {
299
244
  }
300
245
  /** 如果满足 mount 条件,mount */
301
246
  mountIfNeeded() {
302
- const i = this.five.getCurrentState();
303
- i.mode === "Panorama" && i.panoIndex === this.panoIndex && this.enabled && this.mount();
247
+ const e = this.five.getCurrentState();
248
+ e.mode === "Panorama" && e.panoIndex === this.panoIndex && this.enabled && this.mount();
304
249
  }
305
250
  /** 挂载:加载视频资源;添加模型。 */
306
251
  mount() {
@@ -308,10 +253,10 @@ class Gi {
308
253
  return this.logWarning("插件已经销毁,无法挂载。");
309
254
  if (this.url === "")
310
255
  return this.logWarning("视频资源不存在。");
311
- this.video.src !== this.url && (this.video.src = this.url), this.video.paused && this.video.play().catch((i) => {
312
- this.logWarning(i instanceof Error ? i.message : "视频播放失败。"), this.five.once("gesture", () => {
313
- this.video.play().catch((e) => {
314
- this.logWarning(e instanceof Error ? e.message : "自动播放视频失败。");
256
+ this.video.src !== this.url && (this.video.src = this.url), this.video.paused && this.video.play().catch((e) => {
257
+ this.logWarning(e instanceof Error ? e.message : "视频播放失败。"), this.five.once("gesture", () => {
258
+ this.video.play().catch((i) => {
259
+ this.logWarning(i instanceof Error ? i.message : "自动播放视频失败。");
315
260
  });
316
261
  });
317
262
  });
@@ -325,17 +270,17 @@ class Gi {
325
270
  this.video.pause(), this.videoMesh.material.uniforms.opacity.value = 0, this.five.scene.remove(this.videoMesh);
326
271
  }
327
272
  /** 控制台打印警告 */
328
- logWarning(i) {
329
- console.warn("⛔ ==> [VideoMeshController]:", i);
273
+ logWarning(e) {
274
+ console.warn("⛔ ==> [VideoMeshController]:", e);
330
275
  }
331
276
  /** 检测射线与模型的交点是不是在视频的范围内 */
332
- checkIntersectionInBounding(i, e) {
333
- if (!e.uv)
277
+ checkIntersectionInBounding(e, i) {
278
+ if (!i.uv)
334
279
  return !1;
335
- const [n, o] = e.uv.toArray(), [a, d, s, r] = i, h = 1 - d - r, m = a + s, l = h + r;
336
- return n >= a && n <= m && o >= h && o <= l;
280
+ const [o, n] = i.uv.toArray(), [a, d, s, r] = e, h = 1 - d - r, f = a + s, c = h + r;
281
+ return o >= a && o <= f && n >= h && n <= c;
337
282
  }
338
283
  }
339
284
  export {
340
- Gi as VideoMeshController
285
+ S as VideoMeshController
341
286
  };