@realsee/dnalogel 3.36.3 → 3.36.4

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 (435) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -3
  3. package/dist/CruisePlugin/BaseController.d.ts +0 -3
  4. package/dist/GuideLinePlugin/Controller.d.ts +0 -4
  5. package/dist/ModelMakerPlugin/Controller.d.ts +1 -0
  6. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +0 -4
  7. package/dist/base/BasePlugin.d.ts +6 -0
  8. package/dist/index.cjs.js +30 -30
  9. package/dist/index.js +929 -937
  10. package/dist/index.umd.js +29 -29
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +50 -12
  13. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  14. package/docs/classes/CSS3DRender.html +3 -3
  15. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  16. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  17. package/docs/classes/ModelMakerPluginInstance.html +54 -11
  18. package/docs/classes/ModelRoomLabelController.html +3 -3
  19. package/docs/classes/MoveController.html +37 -21
  20. package/docs/classes/Object3DHelperController.html +58 -15
  21. package/docs/classes/PaintBrush.html +3 -3
  22. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  23. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  24. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  25. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  26. package/docs/classes/PanoTagPluginController.html +31 -23
  27. package/docs/classes/Sculpt.html +3 -3
  28. package/docs/classes/Util.BetterTween.html +3 -3
  29. package/docs/classes/Util.Interval.html +3 -3
  30. package/docs/classes/Util.LineSegments.html +3 -3
  31. package/docs/classes/Util.Magnifier.html +3 -3
  32. package/docs/classes/Util.Object3D.html +3 -3
  33. package/docs/classes/Util.PointDomHelper.html +3 -3
  34. package/docs/classes/Util.PointHelper.html +3 -3
  35. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  36. package/docs/classes/Util.Rectangle.html +3 -3
  37. package/docs/classes/WalkController.html +37 -21
  38. package/docs/enums/CameraMovementEffect.html +3 -3
  39. package/docs/enums/ContentType.html +3 -3
  40. package/docs/enums/DIRECTION.html +3 -3
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  42. package/docs/enums/DimensionType.html +3 -3
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  45. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  46. package/docs/enums/PointType.html +3 -3
  47. package/docs/enums/Rotation.html +3 -3
  48. package/docs/functions/AreaMakerPlugin.html +3 -3
  49. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  50. package/docs/functions/CameraMovementPlugin.html +3 -3
  51. package/docs/functions/CruisePlugin.html +3 -3
  52. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  53. package/docs/functions/GuideLinePlugin.html +3 -3
  54. package/docs/functions/ItemLabelPlugin.html +3 -3
  55. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  56. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  57. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  58. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  59. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  60. package/docs/functions/ModelMakerPlugin.html +3 -3
  61. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  62. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  63. package/docs/functions/ModelViewPlugin.html +3 -3
  64. package/docs/functions/MovePlugin.html +3 -3
  65. package/docs/functions/Object3DHelperPlugin.html +3 -3
  66. package/docs/functions/PanoCompassPlugin.html +3 -3
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  68. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  70. package/docs/functions/PanoMeasurePlugin.html +3 -3
  71. package/docs/functions/PanoRulerPlugin.html +3 -3
  72. package/docs/functions/PanoRulerProPlugin.html +3 -3
  73. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  74. package/docs/functions/PanoTagPlugin.html +3 -3
  75. package/docs/functions/PanoVideoPlugin.html +3 -3
  76. package/docs/functions/PipelinePlugin.html +3 -3
  77. package/docs/functions/SculptPlugin.html +3 -3
  78. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  79. package/docs/functions/Util.absoluteUrl.html +3 -3
  80. package/docs/functions/Util.blink.html +3 -3
  81. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  82. package/docs/functions/Util.equal.html +3 -3
  83. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  84. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  85. package/docs/functions/Util.getFrameTime.html +3 -3
  86. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  87. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  88. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  89. package/docs/functions/Util.isModelLike.html +3 -3
  90. package/docs/functions/Util.isNil.html +3 -3
  91. package/docs/functions/Util.isPanoramaLike.html +3 -3
  92. package/docs/functions/Util.nextFrame.html +3 -3
  93. package/docs/functions/Util.notNil.html +3 -3
  94. package/docs/functions/Util.reblink.html +3 -3
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  96. package/docs/functions/Util.tweenProgress.html +3 -3
  97. package/docs/functions/Util.uuid.html +3 -3
  98. package/docs/functions/pluginFlag.html +3 -3
  99. package/docs/index.html +4 -4
  100. package/docs/interfaces/AddTagConfig.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
  104. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.State.html +4 -4
  111. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
  112. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  113. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  114. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
  116. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
  118. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -4
  125. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
  126. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
  127. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  128. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  129. package/docs/interfaces/CurrentPanoImagePluginType.State.html +5 -5
  130. package/docs/interfaces/EventMap.html +5 -5
  131. package/docs/interfaces/FloorplanBounding.html +3 -3
  132. package/docs/interfaces/FloorplanData.html +3 -3
  133. package/docs/interfaces/FloorplanEntrance.html +3 -3
  134. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  135. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  136. package/docs/interfaces/FloorplanFloorData.html +3 -3
  137. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  138. package/docs/interfaces/FloorplanObserver.html +3 -3
  139. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  140. package/docs/interfaces/FloorplanPosition.html +3 -3
  141. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  142. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  144. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  145. package/docs/interfaces/FloorplanServerData.html +3 -3
  146. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  147. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  148. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  149. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  150. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  151. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  152. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  153. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  154. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  155. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  156. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  159. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -5
  170. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  171. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  172. package/docs/interfaces/HelperOffset.html +3 -3
  173. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  174. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  175. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  176. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  177. package/docs/interfaces/MinMax.html +3 -3
  178. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  179. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  180. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  181. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  182. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  183. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  184. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  185. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.EventMap.html +5 -5
  187. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  191. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.State.html +4 -4
  193. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  194. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  195. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  196. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  197. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  198. package/docs/interfaces/Object3DHelperState.html +3 -3
  199. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  200. package/docs/interfaces/PaintBrushAction.html +3 -3
  201. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  202. package/docs/interfaces/PaintBrushState.html +3 -3
  203. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  205. package/docs/interfaces/PanoMeasureParameterType.html +5 -5
  206. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  207. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  208. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  209. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  210. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  211. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  212. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  213. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  214. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  215. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  216. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -5
  230. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  231. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  232. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  233. package/docs/interfaces/Point.html +3 -3
  234. package/docs/interfaces/Room.html +3 -3
  235. package/docs/interfaces/RoomInfo.html +3 -3
  236. package/docs/interfaces/RoomLabel.html +3 -3
  237. package/docs/interfaces/RoomRules.html +3 -3
  238. package/docs/interfaces/Rooms.html +3 -3
  239. package/docs/interfaces/Scissor.html +3 -3
  240. package/docs/interfaces/State.html +6 -6
  241. package/docs/interfaces/TagCacheInterface.html +3 -3
  242. package/docs/interfaces/TagConfig.html +3 -3
  243. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  244. package/docs/interfaces/TagIconUrl.html +3 -3
  245. package/docs/interfaces/TagObjectGroup.html +3 -3
  246. package/docs/interfaces/TagStyle.html +3 -3
  247. package/docs/interfaces/Tags.html +3 -3
  248. package/docs/interfaces/TemporaryState.html +3 -3
  249. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  250. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  251. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  252. package/docs/interfaces/Util.PointIntersection.html +3 -3
  253. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  254. package/docs/modules/AreaMakerPluginType.html +3 -3
  255. package/docs/modules/CruisePluginTypes.html +3 -3
  256. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  257. package/docs/modules/GuideLineItem.html +3 -3
  258. package/docs/modules/GuideLineModeItem.html +3 -3
  259. package/docs/modules/GuideLinePluginType.html +3 -3
  260. package/docs/modules/ModelMakerPluginType.html +3 -3
  261. package/docs/modules/PanoVideoPluginType.html +3 -3
  262. package/docs/modules/SculptData.html +3 -3
  263. package/docs/modules/Util.html +3 -3
  264. package/docs/modules.html +4 -4
  265. package/docs/types/AddObject3DHelperConfig.html +3 -3
  266. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  267. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  268. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  269. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  270. package/docs/types/ArrayPosition.html +3 -3
  271. package/docs/types/AudioAppearance.html +3 -3
  272. package/docs/types/CSS3DRenderExportType.html +3 -3
  273. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  274. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  275. package/docs/types/ClassFunctionParameters.html +3 -3
  276. package/docs/types/Color.html +3 -3
  277. package/docs/types/ContentTypeConfigKey.html +3 -3
  278. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  279. package/docs/types/ContentTypeMap.html +3 -3
  280. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  281. package/docs/types/Create3DElementReturnType.html +3 -3
  282. package/docs/types/CruisePluginExportType.html +3 -3
  283. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  284. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  285. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  286. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  287. package/docs/types/DeprecatedTagProperty.html +3 -3
  288. package/docs/types/Direction-1.html +3 -3
  289. package/docs/types/Direction4.html +3 -3
  290. package/docs/types/ElementRenderer.html +3 -3
  291. package/docs/types/FloorplanRuleLabels.html +3 -3
  292. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  293. package/docs/types/GuideLinePluginExportType.html +3 -3
  294. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  295. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  296. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  297. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  298. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  299. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  300. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  301. package/docs/types/HelperEventMap.html +3 -3
  302. package/docs/types/InternalHelperEventMap.html +3 -3
  303. package/docs/types/LoadTagConfig.html +3 -3
  304. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  305. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  306. package/docs/types/MediaData.html +3 -3
  307. package/docs/types/MediaStore.html +3 -3
  308. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  309. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  310. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  311. package/docs/types/ModelId.html +3 -3
  312. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  313. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  314. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  315. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  316. package/docs/types/MoveArgs.html +3 -3
  317. package/docs/types/MoveOpts.html +3 -3
  318. package/docs/types/Object3DHelperEventMap.html +3 -3
  319. package/docs/types/ObjectFit.html +3 -3
  320. package/docs/types/PaintBrushEventMap.html +3 -3
  321. package/docs/types/PanoCompassPluginData.html +3 -3
  322. package/docs/types/PanoCompassPluginExportType.html +3 -3
  323. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  324. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  325. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  326. package/docs/types/PanoIndex.html +3 -3
  327. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  328. package/docs/types/PanoMeasureReturnType.html +3 -3
  329. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  330. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  331. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  332. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  333. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  334. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  335. package/docs/types/PipelinePluginParameterType.html +3 -3
  336. package/docs/types/PipelinePluginReturnType.html +3 -3
  337. package/docs/types/PlaneTag.html +3 -3
  338. package/docs/types/Point2DTag.html +3 -3
  339. package/docs/types/Point3DTag.html +3 -3
  340. package/docs/types/PointTag.html +3 -3
  341. package/docs/types/PointTagInstance.html +3 -3
  342. package/docs/types/Position.html +3 -3
  343. package/docs/types/PositionFrom.html +3 -3
  344. package/docs/types/RotateArgs.html +3 -3
  345. package/docs/types/RotateOpts.html +3 -3
  346. package/docs/types/RuleLabelsKey.html +3 -3
  347. package/docs/types/RuleLabelsValue.html +3 -3
  348. package/docs/types/ScaleCallback.html +3 -3
  349. package/docs/types/ScalePosition.html +3 -3
  350. package/docs/types/SculptData.BoxData.html +3 -3
  351. package/docs/types/SculptData.CircleData.html +3 -3
  352. package/docs/types/SculptData.CylinderData.html +3 -3
  353. package/docs/types/SculptData.PointData.html +3 -3
  354. package/docs/types/SculptData.PolygonData.html +3 -3
  355. package/docs/types/SculptData.PolylineData.html +3 -3
  356. package/docs/types/SculptData.PrismData.html +3 -3
  357. package/docs/types/SculptData.RectangleData.html +3 -3
  358. package/docs/types/StickType.html +3 -3
  359. package/docs/types/Tag.html +3 -3
  360. package/docs/types/Tag2D.html +3 -3
  361. package/docs/types/Tag3D.html +3 -3
  362. package/docs/types/TagConfigByKey.html +3 -3
  363. package/docs/types/TagContentType.html +3 -3
  364. package/docs/types/TagContentTypeMapping.html +3 -3
  365. package/docs/types/TagDimensionType.html +3 -3
  366. package/docs/types/TagElement.html +3 -3
  367. package/docs/types/TagEvents.html +3 -3
  368. package/docs/types/TagGLTFObject.html +3 -3
  369. package/docs/types/TagHooks.html +3 -3
  370. package/docs/types/TagId.html +3 -3
  371. package/docs/types/TagInstance.html +3 -3
  372. package/docs/types/TagPointType.html +3 -3
  373. package/docs/types/TagRendererMap.html +3 -3
  374. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  375. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  376. package/docs/types/WorkCode.html +3 -3
  377. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  378. package/docs/variables/PLUGIN.html +3 -3
  379. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  380. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  381. package/docs/variables/defaultGlobalConfig.html +3 -3
  382. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  383. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  384. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  385. package/libs/AreaMakerPlugin/Controller.js +5 -2
  386. package/libs/AreaMakerPlugin/index.js +5 -2
  387. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -3
  388. package/libs/CruisePlugin/BaseController.d.ts +0 -3
  389. package/libs/CruisePlugin/BaseController.js +23 -30
  390. package/libs/CruisePlugin/Move.js +3 -3
  391. package/libs/CruisePlugin/Work.js +3 -3
  392. package/libs/CruisePlugin/index.js +3 -3
  393. package/libs/CurrentPanoImagePlugin/Controller.js +13 -10
  394. package/libs/CurrentPanoImagePlugin/index.js +6 -3
  395. package/libs/GuideLinePlugin/Controller.d.ts +0 -4
  396. package/libs/GuideLinePlugin/Controller.js +34 -41
  397. package/libs/GuideLinePlugin/GuideLineItem.js +3 -3
  398. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -3
  399. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
  400. package/libs/GuideLinePlugin/index.js +3 -3
  401. package/libs/ModelMakerPlugin/Controller.d.ts +1 -0
  402. package/libs/ModelMakerPlugin/Controller.js +24 -18
  403. package/libs/ModelMakerPlugin/index.js +5 -2
  404. package/libs/Object3DHelperPlugin/Controller.js +13 -10
  405. package/libs/Object3DHelperPlugin/index.js +8 -5
  406. package/libs/PanoCompassPlugin/Controller.js +5 -2
  407. package/libs/PanoCompassPlugin/index.js +6 -3
  408. package/libs/PanoDoorLabelPlugin/BaseController.js +13 -10
  409. package/libs/PanoDoorLabelPlugin/Controller.js +5 -2
  410. package/libs/PanoDoorLabelPlugin/index.js +6 -3
  411. package/libs/PanoTagPlugin/controller/TagCache.js +19 -16
  412. package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
  413. package/libs/PanoTagPlugin/controller/TagRender.js +3 -3
  414. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +0 -4
  415. package/libs/PanoTagPlugin/controller/TagUtil.js +59 -66
  416. package/libs/PanoTagPlugin/controller/index.js +3 -3
  417. package/libs/PanoTagPlugin/index.js +3 -3
  418. package/libs/PanoVideoPlugin/Controller.js +44 -41
  419. package/libs/PanoVideoPlugin/index.js +8 -5
  420. package/libs/PipelinePlugin/Controller.js +33 -30
  421. package/libs/PipelinePlugin/index.js +6 -3
  422. package/libs/base/BasePlugin.d.ts +6 -0
  423. package/libs/base/BasePlugin.js +24 -13
  424. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -2
  425. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -3
  426. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -2
  427. package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -3
  428. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -2
  429. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -3
  430. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -2
  431. package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -3
  432. package/libs/index.js +3 -3
  433. package/libs/shared-utils/Utils/WorkUtil.js +14 -14
  434. package/libs/shared-utils/logger.js +1 -1
  435. package/package.json +1 -1
@@ -2,25 +2,25 @@ var q = Object.defineProperty, K = Object.defineProperties;
2
2
  var Q = Object.getOwnPropertyDescriptors;
3
3
  var L = Object.getOwnPropertySymbols;
4
4
  var Y = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
5
- var _ = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
5
+ var k = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
6
6
  for (var e in s || (s = {}))
7
- Y.call(s, e) && _(l, e, s[e]);
7
+ Y.call(s, e) && k(l, e, s[e]);
8
8
  if (L)
9
9
  for (var e of L(s))
10
- ee.call(s, e) && _(l, e, s[e]);
10
+ ee.call(s, e) && k(l, e, s[e]);
11
11
  return l;
12
- }, U = (l, s) => K(l, Q(s));
13
- var f = (l, s, e) => (_(l, typeof s != "symbol" ? s + "" : s, e), e);
12
+ }, V = (l, s) => K(l, Q(s));
13
+ var f = (l, s, e) => (k(l, typeof s != "symbol" ? s + "" : s, e), e);
14
14
  import { defaultGlobalConfig as ie } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as V from "three";
16
+ import * as U from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
18
  import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
19
- import { planeNormal as w } from "../utils/planeNormal.js";
19
+ import { planeNormal as E } from "../utils/planeNormal.js";
20
20
  import { getTagCenterPosition as B } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as re } from "./TagCache.js";
23
- import { writable as ne } from "../../vendor/svelte/store/index.js";
22
+ import { TagCache as ne } from "./TagCache.js";
23
+ import { writable as re } from "../../vendor/svelte/store/index.js";
24
24
  import { isIOSWX as se } from "../../shared-utils/device.js";
25
25
  import { CSS3DRenderPlugin as fe } from "../../CSS3DRenderPlugin/index.js";
26
26
  import { Five as ae } from "@realsee/five";
@@ -28,14 +28,13 @@ import { isMediaPlaneTag as ce, isMediaModelTag as N, isPlaneTag as le, isPoint3
28
28
  import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
29
29
  import { FiveDomEvents as me } from "../../shared-utils/five/FiveDomEvents.js";
30
30
  import z from "../utils/tag/adaptConfig.js";
31
- import { isPanoramaLike as E, isModelLike as $ } from "../../shared-utils/five/mode.js";
31
+ import { isPanoramaLike as S, isModelLike as $ } from "../../shared-utils/five/mode.js";
32
32
  import "hammerjs";
33
33
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
34
34
  import "animejs";
35
35
  import { entries as H } from "../../shared-utils/typescript/entries.js";
36
36
  import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
37
37
  import { transformPosition as G } from "../../shared-utils/five/transformPosition.js";
38
- import { WorkUtil as he } from "../../shared-utils/Utils/WorkUtil.js";
39
38
  import "../../shared-utils/three/centerPoint.js";
40
39
  import "../../base/BasePlugin.js";
41
40
  import "../../shared-utils/Subscribe.js";
@@ -53,6 +52,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
53
52
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
53
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
55
54
  import "../../shared-utils/url/absoluteUrl.js";
55
+ import "../../shared-utils/Utils/WorkUtil.js";
56
+ import "../../shared-utils/Utils/BaseUtil.js";
56
57
  import "../../vendor/svelte/internal/index.js";
57
58
  import "../../CSS3DRenderPlugin/Controller.js";
58
59
  import "../../shared-utils/five/fiveModelLoad.js";
@@ -65,16 +66,14 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
65
66
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
66
67
  import "../../shared-utils/three/getNormal.js";
67
68
  import "../../shared-utils/five/calculateThreeMouse.js";
68
- import "../../shared-utils/Utils/BaseUtil.js";
69
- class gi extends re {
69
+ class hi extends ne {
70
70
  constructor(e) {
71
71
  super(e);
72
72
  f(this, "tags", []);
73
73
  f(this, "config", te);
74
- f(this, "workUtil", new he(this.five));
75
74
  /** 插件参数 */
76
75
  f(this, "params");
77
- f(this, "mediaStore", ne({
76
+ f(this, "mediaStore", re({
78
77
  currentMediaElement: null
79
78
  }));
80
79
  f(this, "store", {
@@ -123,12 +122,6 @@ class gi extends re {
123
122
  return o === "BehindDom" || o === "Dom";
124
123
  }));
125
124
  }
126
- set workCode(e) {
127
- this.workUtil.workCode = e;
128
- }
129
- get workCode() {
130
- return this.workUtil.workCode;
131
- }
132
125
  /** css3DRenderPlugin */
133
126
  get css3DRenderPlugin() {
134
127
  var e, i, o;
@@ -174,9 +167,9 @@ class gi extends re {
174
167
  * @description 获取标签配置
175
168
  */
176
169
  getTagConfig(e, i) {
177
- var n, a, d;
178
- const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (a = o.configWithFiveMode) == null ? void 0 : a[t];
179
- return (d = r != null ? r : o) != null ? d : {};
170
+ var r, a, d;
171
+ const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (a = o.configWithFiveMode) == null ? void 0 : a[t];
172
+ return (d = n != null ? n : o) != null ? d : {};
180
173
  }
181
174
  /**
182
175
  * @description 获取标签当前状态
@@ -191,8 +184,8 @@ class gi extends re {
191
184
  e.computedConfig = i;
192
185
  const o = this.getTagConfig(e);
193
186
  if (e.config = o, e.config.initialData) {
194
- const r = JSON.parse(JSON.stringify(e.data));
195
- e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
187
+ const n = JSON.parse(JSON.stringify(e.data));
188
+ e.data = (t = o.initialData) != null && t.important ? y(e.data, n, o.initialData) : y(e.data, o.initialData, n);
196
189
  }
197
190
  });
198
191
  }
@@ -247,16 +240,16 @@ class gi extends re {
247
240
  if (t.angle !== void 0)
248
241
  return t.angle;
249
242
  {
250
- const r = this.workUtil.getObserverPosition(o);
251
- if (r === void 0)
252
- throw new Error(`getAngle(): observerPosition is ${r}`);
253
- const n = (() => e.stickType === "3DPoint" ? P(e.normal) : w(e.position))();
254
- if (!n)
243
+ const n = this.workUtil.getObserverPosition(o);
244
+ if (n === void 0)
245
+ throw new Error(`getAngle(): observerPosition is ${n}`);
246
+ const r = (() => e.stickType === "3DPoint" ? P(e.normal) : E(e.position))();
247
+ if (!r)
255
248
  return;
256
249
  const a = B(e);
257
250
  if (!a)
258
251
  return;
259
- const d = new V.Vector3().copy(r).sub(a), g = n.angleTo(d) * 180 / Math.PI;
252
+ const d = new U.Vector3().copy(n).sub(a), g = r.angleTo(d) * 180 / Math.PI;
260
253
  return t.angle = g, t.angle;
261
254
  }
262
255
  }
@@ -264,20 +257,20 @@ class gi extends re {
264
257
  * @description 获取距离
265
258
  */
266
259
  getDistance(e, i) {
267
- const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = E(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
268
- if ((n == null ? void 0 : n.distance) !== void 0)
269
- return n.distance;
260
+ const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = S(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
261
+ if ((r == null ? void 0 : r.distance) !== void 0)
262
+ return r.distance;
270
263
  const a = B(e);
271
264
  if (!a)
272
265
  return -1;
273
- if (E(r)) {
266
+ if (S(n)) {
274
267
  const d = this.workUtil.getObserverPosition(t);
275
268
  if (d === void 0)
276
269
  return -1;
277
270
  const g = d.distanceTo(a);
278
- return n && (n.distance = g), g;
271
+ return r && (r.distance = g), g;
279
272
  }
280
- if ($(r))
273
+ if ($(n))
281
274
  return this.five.camera.position.distanceTo(a);
282
275
  }
283
276
  getPositions(e) {
@@ -292,23 +285,23 @@ class gi extends re {
292
285
  if (!i || !this.domEvents)
293
286
  return () => {
294
287
  };
295
- const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
288
+ const t = () => !(!this.getCurrentVisibleState(e) || e.loading), n = (r) => {
296
289
  if (!t())
297
290
  return !1;
298
- o(n.origDomEvent);
291
+ o(r.origDomEvent);
299
292
  };
300
- return this.domEvents.addEventListener(i, "click", r), () => {
301
- var n;
302
- (n = this.domEvents) == null || n.removeEventListener(i, "click", r);
293
+ return this.domEvents.addEventListener(i, "click", n), () => {
294
+ var r;
295
+ (r = this.domEvents) == null || r.removeEventListener(i, "click", n);
303
296
  };
304
297
  }
305
298
  getTagNormal(e) {
306
299
  if (e.normal)
307
300
  return P(e.normal);
308
301
  if (e.stickType === "Plane")
309
- return w(e.position);
302
+ return E(e.position);
310
303
  if (e.stickType === "Model")
311
- return w(this.getPositions(e));
304
+ return E(this.getPositions(e));
312
305
  }
313
306
  getTransformedPostion(e) {
314
307
  if (!e)
@@ -317,7 +310,7 @@ class gi extends re {
317
310
  return Array.isArray(e) && e.length === 4 ? e.map(P).map((o) => G(o, i)) : G(P(e), i);
318
311
  }
319
312
  getTransformedMatrix(e) {
320
- const i = new V.Matrix4().fromArray(e);
313
+ const i = new U.Matrix4().fromArray(e);
321
314
  return i.premultiply(this.workUtil.transform), i.elements;
322
315
  }
323
316
  /**
@@ -331,8 +324,8 @@ class gi extends re {
331
324
  * @description 获取merge后的配置
332
325
  */
333
326
  calculateTagConfig(e, i) {
334
- var S, A, x, O, I;
335
- const o = (S = i == null ? void 0 : i.useCache) != null ? S : !0;
327
+ var w, A, x, O, I;
328
+ const o = (w = i == null ? void 0 : i.useCache) != null ? w : !0;
336
329
  if (!e)
337
330
  return (A = this.config.globalConfig) != null ? A : {};
338
331
  if (o) {
@@ -341,41 +334,41 @@ class gi extends re {
341
334
  if ((O = e == null ? void 0 : e.config) != null && O._isMerged)
342
335
  return e.config;
343
336
  }
344
- const t = {}, r = {}, n = {};
337
+ const t = {}, n = {}, r = {};
345
338
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
346
- var j, R;
347
- const c = u, b = c.split("-"), W = u.startsWith("["), T = W ? b[0].slice(1, -1) : void 0, p = W ? b.slice(1) : b, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (j = r[T]) != null ? j : r[T] = {} : (R = n[T]) != null ? R : n[T] = {} : t;
339
+ var W, R;
340
+ const c = u, _ = c.split("-"), j = u.startsWith("["), T = j ? _[0].slice(1, -1) : void 0, h = j ? _.slice(1) : _, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (W = n[T]) != null ? W : n[T] = {} : (R = r[T]) != null ? R : r[T] = {} : t;
348
341
  if (!v[c]) {
349
- if (p.length === 0 && (v[c] = m), p.length === 1) {
350
- const [h] = p;
351
- (e.contentType === h || h === "Any") && (v[c] = m);
342
+ if (h.length === 0 && (v[c] = m), h.length === 1) {
343
+ const [p] = h;
344
+ (e.contentType === p || p === "Any") && (v[c] = m);
352
345
  }
353
- if (p.length === 2) {
354
- const [h = "Any", M = "Any"] = p;
355
- h === "Mixin" && e.contentType === M && (v[c] = m), (e.stickType === h || h === "Any") && (e.contentType === M || M === "Any") && (v[c] = m);
346
+ if (h.length === 2) {
347
+ const [p = "Any", M = "Any"] = h;
348
+ p === "Mixin" && e.contentType === M && (v[c] = m), (e.stickType === p || p === "Any") && (e.contentType === M || M === "Any") && (v[c] = m);
356
349
  }
357
- if (p.length === 3) {
358
- const [h = "Any", M, Z] = p;
350
+ if (h.length === 3) {
351
+ const [p = "Any", M, Z] = h;
359
352
  if (M === "Audio" && e.contentType === "Audio") {
360
353
  const F = e;
361
- (F.stickType === h || h === "Any") && F.data.appearance === Z && (v[c] = m);
354
+ (F.stickType === p || p === "Any") && F.data.appearance === Z && (v[c] = m);
362
355
  }
363
356
  }
364
357
  }
365
358
  });
366
359
  const a = (I = e.initialConfig) != null ? I : {}, d = y({}, ie, this.config.globalConfig, ...Object.values(t)), g = y({}, d, a), C = {}, X = Object.values(ae.Mode);
367
- H(r).forEach(([u, m]) => {
360
+ H(n).forEach(([u, m]) => {
368
361
  X.forEach((c) => {
369
- (u === "PanoramaLike" && E(c) || u === "ModelLike" && $(c)) && (C[c] = y({}, d, ...Object.values(m), a, { _isMerged: !0 }));
362
+ (u === "PanoramaLike" && S(c) || u === "ModelLike" && $(c)) && (C[c] = y({}, d, ...Object.values(m), a, { _isMerged: !0 }));
370
363
  });
371
- }), H(n).forEach(([u, m]) => {
364
+ }), H(r).forEach(([u, m]) => {
372
365
  const c = C[u];
373
366
  C[u] = y({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
374
367
  });
375
- const k = U(D({}, g), { configWithFiveMode: C });
376
- return z(k), Object.values(C).forEach((u) => z(u)), k._isMerged = !0, k;
368
+ const b = V(D({}, g), { configWithFiveMode: C });
369
+ return z(b), Object.values(C).forEach((u) => z(u)), b._isMerged = !0, b;
377
370
  }
378
371
  }
379
372
  export {
380
- gi as TagUtil
373
+ hi as TagUtil
381
374
  };
@@ -67,6 +67,9 @@ import "./TagCache.js";
67
67
  import "../../base/BasePlugin.js";
68
68
  import "../../shared-utils/Subscribe.js";
69
69
  import "../../shared-utils/url/absoluteUrl.js";
70
+ import "../../shared-utils/Utils/WorkUtil.js";
71
+ import "../../shared-utils/Utils/BaseUtil.js";
72
+ import "../../shared-utils/five/transformPosition.js";
70
73
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
71
74
  import "three/examples/jsm/renderers/CSS3DRenderer";
72
75
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -96,9 +99,6 @@ import "../../shared-utils/five/calculateThreeMouse.js";
96
99
  import "../utils/tag/adaptConfig.js";
97
100
  import "../../shared-utils/typescript/entries.js";
98
101
  import "../../shared-utils/url/getUrl.js";
99
- import "../../shared-utils/five/transformPosition.js";
100
- import "../../shared-utils/Utils/WorkUtil.js";
101
- import "../../shared-utils/Utils/BaseUtil.js";
102
102
  import "../../shared-utils/five/getFloorIndex.js";
103
103
  import "../Components/TagContainer.js";
104
104
  import "../Components/TagItem.js";
@@ -44,6 +44,9 @@ import "./utils/normalPositionToPositions.js";
44
44
  import "./controller/TagCache.js";
45
45
  import "../base/BasePlugin.js";
46
46
  import "../shared-utils/url/absoluteUrl.js";
47
+ import "../shared-utils/Utils/WorkUtil.js";
48
+ import "../shared-utils/Utils/BaseUtil.js";
49
+ import "../shared-utils/five/transformPosition.js";
47
50
  import "../vendor/svelte/store/index.js";
48
51
  import "../vendor/svelte/internal/index.js";
49
52
  import "../shared-utils/device.js";
@@ -64,9 +67,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
64
67
  import "./utils/tag/adaptConfig.js";
65
68
  import "../shared-utils/typescript/entries.js";
66
69
  import "../shared-utils/url/getUrl.js";
67
- import "../shared-utils/five/transformPosition.js";
68
- import "../shared-utils/Utils/WorkUtil.js";
69
- import "../shared-utils/Utils/BaseUtil.js";
70
70
  import "../shared-utils/five/getFloorIndex.js";
71
71
  import "../shared-utils/safeObj.js";
72
72
  import "./Components/TagContainer.js";
@@ -2,15 +2,15 @@ var f = Object.defineProperty, m = Object.defineProperties;
2
2
  var b = Object.getOwnPropertyDescriptors;
3
3
  var p = Object.getOwnPropertySymbols;
4
4
  var M = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
5
- var l = (o, t, e) => t in o ? f(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]);
5
+ var l = (o, t, r) => t in o ? f(o, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[t] = r, a = (o, t) => {
6
+ for (var r in t || (t = {}))
7
+ M.call(t, r) && l(o, r, t[r]);
8
8
  if (p)
9
- for (var e of p(t))
10
- W.call(t, e) && l(o, e, t[e]);
9
+ for (var r of p(t))
10
+ W.call(t, r) && l(o, r, t[r]);
11
11
  return o;
12
12
  }, d = (o, t) => m(o, b(t));
13
- var s = (o, t, e) => (l(o, typeof t != "symbol" ? t + "" : t, e), e);
13
+ var s = (o, t, r) => (l(o, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  import { VideoMeshController as c } from "./VideoMeshController.js";
15
15
  import { Controller as _ } from "../base/BasePlugin.js";
16
16
  import "./utils/shader.js";
@@ -38,9 +38,12 @@ import "animejs";
38
38
  import "../shared-utils/animationFrame/index.js";
39
39
  import "./utils/index.js";
40
40
  import "../shared-utils/url/absoluteUrl.js";
41
- class T extends _ {
42
- constructor(e) {
43
- super(e);
41
+ import "../shared-utils/Utils/WorkUtil.js";
42
+ import "../shared-utils/Utils/BaseUtil.js";
43
+ import "../shared-utils/five/transformPosition.js";
44
+ class Y extends _ {
45
+ constructor(r) {
46
+ super(r);
44
47
  s(this, "controllerMap", /* @__PURE__ */ new Map());
45
48
  s(this, "data");
46
49
  s(this, "enabled", !0);
@@ -57,11 +60,11 @@ class T extends _ {
57
60
  return this._disposed;
58
61
  }
59
62
  /** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
60
- load(e, r) {
63
+ load(r, e) {
61
64
  var i;
62
65
  if (this.disposed)
63
66
  return this.logWarning("插件已被销毁");
64
- 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) => {
67
+ typeof ((i = e == null ? void 0 : e.initialState) == null ? void 0 : i.enabled) != "undefined" && e.initialState.enabled !== this.enabled && (e.initialState.enabled ? this.enable() : this.disable()), r.list.forEach((n) => {
65
68
  const u = n.pano_index, g = n.render_id;
66
69
  n.video_list.forEach((h) => {
67
70
  this.controllerMap.set(
@@ -74,41 +77,41 @@ class T extends _ {
74
77
  }))
75
78
  );
76
79
  });
77
- }), this.data = e, this.hooks.emit("dataLoaded", e);
80
+ }), this.data = r, this.hooks.emit("dataLoaded", r);
78
81
  }
79
82
  /** 开启插件功能。 */
80
- enable(e) {
83
+ enable(r) {
81
84
  var i;
82
85
  if (this.disposed)
83
86
  return this.logWarning("插件已被销毁");
84
87
  if (this.enabled)
85
88
  return;
86
89
  this.enabled = !0, Array.from(this.controllerMap.values()).forEach((n) => n.enable());
87
- const r = (i = e == null ? void 0 : e.userAction) != null ? i : !0;
88
- this.hooks.emit("enable", { userAction: r });
90
+ const e = (i = r == null ? void 0 : r.userAction) != null ? i : !0;
91
+ this.hooks.emit("enable", { userAction: e });
89
92
  }
90
93
  /** 禁用插件功能。 */
91
- disable(e) {
94
+ disable(r) {
92
95
  var i;
93
96
  if (this.disposed)
94
97
  return this.logWarning("插件已被销毁");
95
98
  if (!this.enabled)
96
99
  return;
97
100
  this.enabled = !1, Array.from(this.controllerMap.values()).forEach((n) => n.disable());
98
- const r = (i = e == null ? void 0 : e.userAction) != null ? i : !0;
99
- this.hooks.emit("disable", { userAction: r });
101
+ const e = (i = r == null ? void 0 : r.userAction) != null ? i : !0;
102
+ this.hooks.emit("disable", { userAction: e });
100
103
  }
101
104
  /** 看向某个视频。
102
105
  * - 会自动切换到全景模式。
103
106
  * - 如果遇到不能自动播放的问题,需要放到用户交互事件中调用。
104
107
  */
105
- lookAtVideoItemByRenderID(e) {
108
+ lookAtVideoItemByRenderID(r) {
106
109
  if (this.disposed)
107
110
  return this.logWarning("插件已被销毁");
108
- const r = this.controllerMap.get(e);
109
- if (!r)
110
- return this.logWarning(`ID 为 ${e} 的点位视频不存在`);
111
- r.lookAtVideo();
111
+ const e = this.controllerMap.get(r);
112
+ if (!e)
113
+ return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
114
+ e.lookAtVideo();
112
115
  }
113
116
  /**
114
117
  * 取消静音。
@@ -126,26 +129,26 @@ class T extends _ {
126
129
  * }}
127
130
  * ```
128
131
  */
129
- unmuteByRenderID(e) {
132
+ unmuteByRenderID(r) {
130
133
  if (this.disposed)
131
134
  return this.logWarning("插件已被销毁");
132
- const r = this.controllerMap.get(e);
133
- if (!r)
134
- return this.logWarning(`ID 为 ${e} 的点位视频不存在`);
135
- r.unmute();
135
+ const e = this.controllerMap.get(r);
136
+ if (!e)
137
+ return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
138
+ e.unmute();
136
139
  }
137
140
  /** 为一个点位添加视频(可以是多条)。 */
138
- add(e, r) {
141
+ add(r, e) {
139
142
  if (this.disposed)
140
143
  return this.logWarning("插件已被销毁");
141
- r.forEach((i) => {
144
+ e.forEach((i) => {
142
145
  if (this.controllerMap.get(i.render_id))
143
146
  return this.logWarning(`ID 为 ${i.render_id} 的点位视频已存在`);
144
147
  const n = i.render_id;
145
148
  this.controllerMap.set(
146
149
  i.render_id,
147
150
  new c(this.five, d(a({}, i), {
148
- panoIndex: e,
151
+ panoIndex: r,
149
152
  renderID: n,
150
153
  hooks: this.hooks,
151
154
  initialState: { enabled: this.enabled }
@@ -154,32 +157,32 @@ class T extends _ {
154
157
  });
155
158
  }
156
159
  /** 根据 VideoItem render_id 删除某个视频。 */
157
- removeByRenderID(e) {
160
+ removeByRenderID(r) {
158
161
  if (this.disposed)
159
162
  return this.logWarning("插件已被销毁");
160
- const r = this.controllerMap.get(e);
161
- if (!r)
162
- return this.logWarning(`ID 为 ${e} 的点位视频不存在`);
163
- r.dispose(), this.controllerMap.delete(e);
163
+ const e = this.controllerMap.get(r);
164
+ if (!e)
165
+ return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
166
+ e.dispose(), this.controllerMap.delete(r);
164
167
  }
165
168
  /** 清空现有数据 */
166
169
  clear() {
167
170
  if (this.disposed)
168
171
  return this.logWarning("插件已被销毁");
169
- Array.from(this.controllerMap.values()).forEach((e) => e.dispose()), this.controllerMap.clear();
172
+ Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
170
173
  }
171
174
  /** 销毁插件 */
172
175
  dispose() {
173
176
  if (this.disposed)
174
177
  return this.logWarning("插件已被销毁");
175
- this._disposed = !0, Array.from(this.controllerMap.values()).forEach((e) => e.dispose()), this.controllerMap.clear();
178
+ this._disposed = !0, Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
176
179
  }
177
180
  /** 控制台打印警告 */
178
181
  // TODO: 全局函数 curry 化
179
- logWarning(e) {
180
- console.warn("⛔ ==> [PanoVideoPluginController]:", e);
182
+ logWarning(r) {
183
+ console.warn("⛔ ==> [PanoVideoPluginController]:", r);
181
184
  }
182
185
  }
183
186
  export {
184
- T as PanoVideoPluginController
187
+ Y as PanoVideoPluginController
185
188
  };
@@ -1,5 +1,5 @@
1
1
  import { PanoVideoPluginController as r } from "./Controller.js";
2
- import { typings as E } from "./typings/index.js";
2
+ import { typings as H } from "./typings/index.js";
3
3
  import "./VideoMeshController.js";
4
4
  import "./utils/shader.js";
5
5
  import "hammerjs";
@@ -27,9 +27,12 @@ import "../shared-utils/animationFrame/index.js";
27
27
  import "./utils/index.js";
28
28
  import "../base/BasePlugin.js";
29
29
  import "../shared-utils/url/absoluteUrl.js";
30
- const A = (o) => new r(o);
30
+ import "../shared-utils/Utils/WorkUtil.js";
31
+ import "../shared-utils/Utils/BaseUtil.js";
32
+ import "../shared-utils/five/transformPosition.js";
33
+ const E = (o) => new r(o);
31
34
  export {
32
- A as PanoVideoPlugin,
33
- E as PanoVideoPluginType,
34
- A as default
35
+ E as PanoVideoPlugin,
36
+ H as PanoVideoPluginType,
37
+ E as default
35
38
  };
@@ -1,30 +1,30 @@
1
1
  var j = Object.defineProperty;
2
2
  var v = Object.getOwnPropertySymbols;
3
3
  var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
4
- var A = (p, n, e) => n in p ? j(p, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[n] = e, m = (p, n) => {
4
+ var A = (c, n, e) => n in c ? j(c, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[n] = e, m = (c, n) => {
5
5
  for (var e in n || (n = {}))
6
- P.call(n, e) && A(p, e, n[e]);
6
+ P.call(n, e) && A(c, e, n[e]);
7
7
  if (v)
8
8
  for (var e of v(n))
9
- _.call(n, e) && A(p, e, n[e]);
10
- return p;
9
+ _.call(n, e) && A(c, e, n[e]);
10
+ return c;
11
11
  };
12
- var u = (p, n, e) => (A(p, typeof n != "symbol" ? n + "" : n, e), e);
13
- var d = (p, n, e) => new Promise((t, i) => {
12
+ var u = (c, n, e) => (A(c, typeof n != "symbol" ? n + "" : n, e), e);
13
+ var d = (c, n, e) => new Promise((t, i) => {
14
14
  var s = (a) => {
15
15
  try {
16
- h(e.next(a));
17
- } catch (c) {
18
- i(c);
16
+ o(e.next(a));
17
+ } catch (p) {
18
+ i(p);
19
19
  }
20
20
  }, r = (a) => {
21
21
  try {
22
- h(e.throw(a));
23
- } catch (c) {
24
- i(c);
22
+ o(e.throw(a));
23
+ } catch (p) {
24
+ i(p);
25
25
  }
26
- }, h = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
27
- h((e = e.apply(p, n)).next());
26
+ }, o = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
27
+ o((e = e.apply(c, n)).next());
28
28
  });
29
29
  import * as F from "three";
30
30
  import { Controller as S } from "../base/BasePluginWithData.js";
@@ -55,6 +55,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
55
55
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
56
56
  import "animejs";
57
57
  import "../shared-utils/url/absoluteUrl.js";
58
+ import "../shared-utils/Utils/WorkUtil.js";
59
+ import "../shared-utils/Utils/BaseUtil.js";
60
+ import "../shared-utils/five/transformPosition.js";
58
61
  import "../shared-utils/isTruelyObject.js";
59
62
  import "../shared-utils/animationFrame/index.js";
60
63
  import "./utils/Objects/Pipe.js";
@@ -63,7 +66,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
63
66
  import "../shared-utils/three/Extras/Core/Interpolations.js";
64
67
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
65
68
  const g = { flowSpeed: 0.6, rotateSpeed: 0 };
66
- class le extends S {
69
+ class we extends S {
67
70
  constructor(e) {
68
71
  super(e);
69
72
  // ==================== public properties ====================
@@ -92,12 +95,12 @@ class le extends S {
92
95
  const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
93
96
  if (i.length === 0 || !this.data)
94
97
  return;
95
- const h = i[0].object.customID, a = this.data.pipes.find(({ id: o }) => o === h), c = this.data.pipelines.find((o) => a && o.pipes.includes(a));
96
- if (!(!a || !c))
98
+ const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o), p = this.data.pipelines.find((h) => a && h.pipes.includes(a));
99
+ if (!(!a || !p))
97
100
  return this.hooks.emit("tap", {
98
101
  intersectObjects: i,
99
102
  pipe: a,
100
- pipeline: c,
103
+ pipeline: p,
101
104
  wantsFiveTapGestureParams: e
102
105
  }), !1;
103
106
  });
@@ -123,16 +126,16 @@ class le extends S {
123
126
  return d(this, null, function* () {
124
127
  const r = this.data;
125
128
  this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
126
- this.data.pipes.filter((h) => !!(h != null && h.texture)).map((b) => d(this, [b], function* ({ id: h, texture: a, path: c, radius: o }) {
127
- const l = yield this.loadPipeTexture(a), f = { id: h, path: c, textureURL: a, texture: l, geometryConfig: { radius: o } };
129
+ this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path: p, radius: h }) {
130
+ const l = yield this.loadPipeTexture(a), f = { id: o, path: p, textureURL: a, texture: l, geometryConfig: { radius: h } };
128
131
  return new D(f);
129
132
  }))
130
- ), this.data.pipelines.forEach((h) => {
131
- h.pipes.reduce((a, c) => {
132
- const o = this.findPipeObjectWithID(c.id);
133
- return o == null || o.setInitialDisplacement(a), a + ((o == null ? void 0 : o.pathLength) || 0);
133
+ ), this.data.pipelines.forEach((o) => {
134
+ o.pipes.reduce((a, p) => {
135
+ const h = this.findPipeObjectWithID(p.id);
136
+ return h == null || h.setInitialDisplacement(a), a + ((h == null ? void 0 : h.pathLength) || 0);
134
137
  }, 0);
135
- }), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((h) => h.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
138
+ }), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((o) => o.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
136
139
  });
137
140
  }
138
141
  /** 更改插件 State
@@ -226,14 +229,14 @@ class le extends S {
226
229
  * */
227
230
  switchPipelines(e) {
228
231
  return d(this, null, function* () {
229
- var c, o, b, l, f, w;
232
+ var p, h, b, l, f, w;
230
233
  if (!this.data)
231
234
  return;
232
- const t = (c = e == null ? void 0 : e.target) != null ? c : null, i = (o = e == null ? void 0 : e.userAction) != null ? o : !0;
235
+ const t = (p = e == null ? void 0 : e.target) != null ? p : null, i = (h = e == null ? void 0 : e.userAction) != null ? h : !0;
233
236
  this.updateState({ target: t }, i);
234
- const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, h = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
237
+ const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, o = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
235
238
  target: t,
236
- showAnime: h,
239
+ showAnime: o,
237
240
  hideAnime: r
238
241
  };
239
242
  this._switchPipelines(a);
@@ -343,5 +346,5 @@ class le extends S {
343
346
  }
344
347
  }
345
348
  export {
346
- le as Controller
349
+ we as Controller
347
350
  };