@realsee/dnalogel 3.36.2 → 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 (437) hide show
  1. package/CHANGELOG.md +6 -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 +1 -4
  7. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
  8. package/dist/base/BasePlugin.d.ts +6 -0
  9. package/dist/index.cjs.js +30 -30
  10. package/dist/index.js +934 -937
  11. package/dist/index.umd.js +29 -29
  12. package/docs/assets/search.js +1 -1
  13. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +50 -12
  14. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  15. package/docs/classes/CSS3DRender.html +3 -3
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  18. package/docs/classes/ModelMakerPluginInstance.html +54 -11
  19. package/docs/classes/ModelRoomLabelController.html +3 -3
  20. package/docs/classes/MoveController.html +37 -21
  21. package/docs/classes/Object3DHelperController.html +58 -15
  22. package/docs/classes/PaintBrush.html +3 -3
  23. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  24. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  25. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  26. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  27. package/docs/classes/PanoTagPluginController.html +53 -45
  28. package/docs/classes/Sculpt.html +3 -3
  29. package/docs/classes/Util.BetterTween.html +3 -3
  30. package/docs/classes/Util.Interval.html +3 -3
  31. package/docs/classes/Util.LineSegments.html +3 -3
  32. package/docs/classes/Util.Magnifier.html +3 -3
  33. package/docs/classes/Util.Object3D.html +3 -3
  34. package/docs/classes/Util.PointDomHelper.html +3 -3
  35. package/docs/classes/Util.PointHelper.html +3 -3
  36. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  37. package/docs/classes/Util.Rectangle.html +3 -3
  38. package/docs/classes/WalkController.html +37 -21
  39. package/docs/enums/CameraMovementEffect.html +3 -3
  40. package/docs/enums/ContentType.html +3 -3
  41. package/docs/enums/DIRECTION.html +3 -3
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  43. package/docs/enums/DimensionType.html +3 -3
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  46. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  47. package/docs/enums/PointType.html +3 -3
  48. package/docs/enums/Rotation.html +3 -3
  49. package/docs/functions/AreaMakerPlugin.html +3 -3
  50. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  51. package/docs/functions/CameraMovementPlugin.html +3 -3
  52. package/docs/functions/CruisePlugin.html +3 -3
  53. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  54. package/docs/functions/GuideLinePlugin.html +3 -3
  55. package/docs/functions/ItemLabelPlugin.html +3 -3
  56. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  57. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  58. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  59. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  60. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  61. package/docs/functions/ModelMakerPlugin.html +3 -3
  62. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  63. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  64. package/docs/functions/ModelViewPlugin.html +3 -3
  65. package/docs/functions/MovePlugin.html +3 -3
  66. package/docs/functions/Object3DHelperPlugin.html +3 -3
  67. package/docs/functions/PanoCompassPlugin.html +3 -3
  68. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  69. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  70. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  71. package/docs/functions/PanoMeasurePlugin.html +3 -3
  72. package/docs/functions/PanoRulerPlugin.html +3 -3
  73. package/docs/functions/PanoRulerProPlugin.html +3 -3
  74. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  75. package/docs/functions/PanoTagPlugin.html +3 -3
  76. package/docs/functions/PanoVideoPlugin.html +3 -3
  77. package/docs/functions/PipelinePlugin.html +3 -3
  78. package/docs/functions/SculptPlugin.html +3 -3
  79. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  80. package/docs/functions/Util.absoluteUrl.html +3 -3
  81. package/docs/functions/Util.blink.html +3 -3
  82. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  83. package/docs/functions/Util.equal.html +3 -3
  84. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  85. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  86. package/docs/functions/Util.getFrameTime.html +3 -3
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  89. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  90. package/docs/functions/Util.isModelLike.html +3 -3
  91. package/docs/functions/Util.isNil.html +3 -3
  92. package/docs/functions/Util.isPanoramaLike.html +3 -3
  93. package/docs/functions/Util.nextFrame.html +3 -3
  94. package/docs/functions/Util.notNil.html +3 -3
  95. package/docs/functions/Util.reblink.html +3 -3
  96. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  97. package/docs/functions/Util.tweenProgress.html +3 -3
  98. package/docs/functions/Util.uuid.html +3 -3
  99. package/docs/functions/pluginFlag.html +3 -3
  100. package/docs/index.html +4 -4
  101. package/docs/interfaces/AddTagConfig.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
  105. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  111. package/docs/interfaces/AreaMakerPluginType.State.html +4 -4
  112. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
  113. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  114. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  115. package/docs/interfaces/ContentTypeMapInterface.html +8 -26
  116. package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
  117. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
  119. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  125. package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -4
  126. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
  127. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
  128. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  129. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  130. package/docs/interfaces/CurrentPanoImagePluginType.State.html +5 -5
  131. package/docs/interfaces/EventMap.html +5 -5
  132. package/docs/interfaces/FloorplanBounding.html +3 -3
  133. package/docs/interfaces/FloorplanData.html +3 -3
  134. package/docs/interfaces/FloorplanEntrance.html +3 -3
  135. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  136. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  137. package/docs/interfaces/FloorplanFloorData.html +3 -3
  138. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  139. package/docs/interfaces/FloorplanObserver.html +3 -3
  140. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  141. package/docs/interfaces/FloorplanPosition.html +3 -3
  142. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  143. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  144. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  145. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  146. package/docs/interfaces/FloorplanServerData.html +3 -3
  147. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  148. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  149. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  150. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  151. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  152. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  153. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  154. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  155. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  156. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  157. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  160. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  170. package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -5
  171. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  172. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  173. package/docs/interfaces/HelperOffset.html +3 -3
  174. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  175. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  176. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  177. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  178. package/docs/interfaces/MinMax.html +3 -3
  179. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  180. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  181. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  182. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  183. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  184. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  185. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  186. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.EventMap.html +5 -5
  188. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  191. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  193. package/docs/interfaces/ModelMakerPluginType.State.html +4 -4
  194. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  195. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  196. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  197. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  198. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  199. package/docs/interfaces/Object3DHelperState.html +3 -3
  200. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  201. package/docs/interfaces/PaintBrushAction.html +3 -3
  202. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  203. package/docs/interfaces/PaintBrushState.html +3 -3
  204. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  205. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoMeasureParameterType.html +5 -5
  207. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  208. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  209. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  210. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  211. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  213. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  215. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  216. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  217. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  226. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -5
  231. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  232. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  233. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  234. package/docs/interfaces/Point.html +3 -3
  235. package/docs/interfaces/Room.html +3 -3
  236. package/docs/interfaces/RoomInfo.html +3 -3
  237. package/docs/interfaces/RoomLabel.html +3 -3
  238. package/docs/interfaces/RoomRules.html +3 -3
  239. package/docs/interfaces/Rooms.html +3 -3
  240. package/docs/interfaces/Scissor.html +3 -3
  241. package/docs/interfaces/State.html +6 -6
  242. package/docs/interfaces/TagCacheInterface.html +3 -3
  243. package/docs/interfaces/TagConfig.html +3 -3
  244. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  245. package/docs/interfaces/TagIconUrl.html +3 -3
  246. package/docs/interfaces/TagObjectGroup.html +3 -3
  247. package/docs/interfaces/TagStyle.html +3 -3
  248. package/docs/interfaces/Tags.html +3 -3
  249. package/docs/interfaces/TemporaryState.html +3 -3
  250. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  251. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  252. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  253. package/docs/interfaces/Util.PointIntersection.html +3 -3
  254. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  255. package/docs/modules/AreaMakerPluginType.html +3 -3
  256. package/docs/modules/CruisePluginTypes.html +3 -3
  257. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  258. package/docs/modules/GuideLineItem.html +3 -3
  259. package/docs/modules/GuideLineModeItem.html +3 -3
  260. package/docs/modules/GuideLinePluginType.html +3 -3
  261. package/docs/modules/ModelMakerPluginType.html +3 -3
  262. package/docs/modules/PanoVideoPluginType.html +3 -3
  263. package/docs/modules/SculptData.html +3 -3
  264. package/docs/modules/Util.html +3 -3
  265. package/docs/modules.html +4 -4
  266. package/docs/types/AddObject3DHelperConfig.html +3 -3
  267. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  268. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  269. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  270. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  271. package/docs/types/ArrayPosition.html +3 -3
  272. package/docs/types/AudioAppearance.html +3 -3
  273. package/docs/types/CSS3DRenderExportType.html +3 -3
  274. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  275. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  276. package/docs/types/ClassFunctionParameters.html +3 -3
  277. package/docs/types/Color.html +3 -3
  278. package/docs/types/ContentTypeConfigKey.html +3 -3
  279. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  280. package/docs/types/ContentTypeMap.html +4 -4
  281. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  282. package/docs/types/Create3DElementReturnType.html +3 -3
  283. package/docs/types/CruisePluginExportType.html +3 -3
  284. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  285. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  286. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  287. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  288. package/docs/types/DeprecatedTagProperty.html +3 -3
  289. package/docs/types/Direction-1.html +3 -3
  290. package/docs/types/Direction4.html +3 -3
  291. package/docs/types/ElementRenderer.html +3 -3
  292. package/docs/types/FloorplanRuleLabels.html +3 -3
  293. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  294. package/docs/types/GuideLinePluginExportType.html +3 -3
  295. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  296. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  297. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  298. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  299. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  300. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  301. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  302. package/docs/types/HelperEventMap.html +3 -3
  303. package/docs/types/InternalHelperEventMap.html +3 -3
  304. package/docs/types/LoadTagConfig.html +3 -3
  305. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  306. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  307. package/docs/types/MediaData.html +3 -3
  308. package/docs/types/MediaStore.html +3 -3
  309. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  310. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  311. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  312. package/docs/types/ModelId.html +3 -3
  313. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  314. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  315. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  316. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  317. package/docs/types/MoveArgs.html +3 -3
  318. package/docs/types/MoveOpts.html +3 -3
  319. package/docs/types/Object3DHelperEventMap.html +3 -3
  320. package/docs/types/ObjectFit.html +3 -3
  321. package/docs/types/PaintBrushEventMap.html +3 -3
  322. package/docs/types/PanoCompassPluginData.html +3 -3
  323. package/docs/types/PanoCompassPluginExportType.html +3 -3
  324. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  325. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  326. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  327. package/docs/types/PanoIndex.html +3 -3
  328. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  329. package/docs/types/PanoMeasureReturnType.html +3 -3
  330. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  331. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  332. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  333. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  334. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  335. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  336. package/docs/types/PipelinePluginParameterType.html +3 -3
  337. package/docs/types/PipelinePluginReturnType.html +3 -3
  338. package/docs/types/PlaneTag.html +3 -3
  339. package/docs/types/Point2DTag.html +3 -3
  340. package/docs/types/Point3DTag.html +3 -3
  341. package/docs/types/PointTag.html +3 -3
  342. package/docs/types/PointTagInstance.html +3 -3
  343. package/docs/types/Position.html +3 -3
  344. package/docs/types/PositionFrom.html +3 -3
  345. package/docs/types/RotateArgs.html +3 -3
  346. package/docs/types/RotateOpts.html +3 -3
  347. package/docs/types/RuleLabelsKey.html +3 -3
  348. package/docs/types/RuleLabelsValue.html +3 -3
  349. package/docs/types/ScaleCallback.html +3 -3
  350. package/docs/types/ScalePosition.html +3 -3
  351. package/docs/types/SculptData.BoxData.html +3 -3
  352. package/docs/types/SculptData.CircleData.html +3 -3
  353. package/docs/types/SculptData.CylinderData.html +3 -3
  354. package/docs/types/SculptData.PointData.html +3 -3
  355. package/docs/types/SculptData.PolygonData.html +3 -3
  356. package/docs/types/SculptData.PolylineData.html +3 -3
  357. package/docs/types/SculptData.PrismData.html +3 -3
  358. package/docs/types/SculptData.RectangleData.html +3 -3
  359. package/docs/types/StickType.html +3 -3
  360. package/docs/types/Tag.html +3 -3
  361. package/docs/types/Tag2D.html +3 -3
  362. package/docs/types/Tag3D.html +3 -3
  363. package/docs/types/TagConfigByKey.html +3 -3
  364. package/docs/types/TagContentType.html +3 -3
  365. package/docs/types/TagContentTypeMapping.html +3 -3
  366. package/docs/types/TagDimensionType.html +3 -3
  367. package/docs/types/TagElement.html +3 -3
  368. package/docs/types/TagEvents.html +3 -3
  369. package/docs/types/TagGLTFObject.html +3 -3
  370. package/docs/types/TagHooks.html +3 -3
  371. package/docs/types/TagId.html +3 -3
  372. package/docs/types/TagInstance.html +3 -3
  373. package/docs/types/TagPointType.html +3 -3
  374. package/docs/types/TagRendererMap.html +3 -3
  375. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  376. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  377. package/docs/types/WorkCode.html +3 -3
  378. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  379. package/docs/variables/PLUGIN.html +3 -3
  380. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  381. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  382. package/docs/variables/defaultGlobalConfig.html +3 -3
  383. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  384. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  385. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  386. package/libs/AreaMakerPlugin/Controller.js +5 -2
  387. package/libs/AreaMakerPlugin/index.js +5 -2
  388. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -3
  389. package/libs/CruisePlugin/BaseController.d.ts +0 -3
  390. package/libs/CruisePlugin/BaseController.js +23 -30
  391. package/libs/CruisePlugin/Move.js +3 -3
  392. package/libs/CruisePlugin/Work.js +3 -3
  393. package/libs/CruisePlugin/index.js +3 -3
  394. package/libs/CurrentPanoImagePlugin/Controller.js +13 -10
  395. package/libs/CurrentPanoImagePlugin/index.js +6 -3
  396. package/libs/GuideLinePlugin/Controller.d.ts +0 -4
  397. package/libs/GuideLinePlugin/Controller.js +34 -41
  398. package/libs/GuideLinePlugin/GuideLineItem.js +3 -3
  399. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -3
  400. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
  401. package/libs/GuideLinePlugin/index.js +3 -3
  402. package/libs/ModelMakerPlugin/Controller.d.ts +1 -0
  403. package/libs/ModelMakerPlugin/Controller.js +24 -18
  404. package/libs/ModelMakerPlugin/index.js +5 -2
  405. package/libs/Object3DHelperPlugin/Controller.js +13 -10
  406. package/libs/Object3DHelperPlugin/index.js +8 -5
  407. package/libs/PanoCompassPlugin/Controller.js +5 -2
  408. package/libs/PanoCompassPlugin/index.js +6 -3
  409. package/libs/PanoDoorLabelPlugin/BaseController.js +13 -10
  410. package/libs/PanoDoorLabelPlugin/Controller.js +5 -2
  411. package/libs/PanoDoorLabelPlugin/index.js +6 -3
  412. package/libs/PanoTagPlugin/controller/TagCache.js +19 -16
  413. package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
  414. package/libs/PanoTagPlugin/controller/TagRender.js +3 -3
  415. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -4
  416. package/libs/PanoTagPlugin/controller/TagUtil.js +65 -68
  417. package/libs/PanoTagPlugin/controller/index.js +26 -25
  418. package/libs/PanoTagPlugin/index.js +3 -3
  419. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
  420. package/libs/PanoVideoPlugin/Controller.js +44 -41
  421. package/libs/PanoVideoPlugin/index.js +8 -5
  422. package/libs/PipelinePlugin/Controller.js +33 -30
  423. package/libs/PipelinePlugin/index.js +6 -3
  424. package/libs/base/BasePlugin.d.ts +6 -0
  425. package/libs/base/BasePlugin.js +24 -13
  426. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -2
  427. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -3
  428. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -2
  429. package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -3
  430. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -2
  431. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -3
  432. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -2
  433. package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -3
  434. package/libs/index.js +3 -3
  435. package/libs/shared-utils/Utils/WorkUtil.js +14 -14
  436. package/libs/shared-utils/logger.js +1 -1
  437. package/package.json +1 -1
@@ -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
  };
@@ -23,6 +23,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
24
  import "animejs";
25
25
  import "../shared-utils/url/absoluteUrl.js";
26
+ import "../shared-utils/Utils/WorkUtil.js";
27
+ import "../shared-utils/Utils/BaseUtil.js";
28
+ import "../shared-utils/five/transformPosition.js";
26
29
  import "../shared-utils/equal.js";
27
30
  import "../shared-utils/isTruelyObject.js";
28
31
  import "../shared-utils/isNil.js";
@@ -35,8 +38,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
35
38
  import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
36
39
  import "../shared-utils/three/Extras/Core/Interpolations.js";
37
40
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
38
- const M = (r) => new o(r);
41
+ const Q = (r) => new o(r);
39
42
  export {
40
- M as PipelinePlugin,
41
- M as default
43
+ Q as PipelinePlugin,
44
+ Q as default
42
45
  };
@@ -1,5 +1,6 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import { Subscribe } from '../shared-utils/Subscribe';
3
+ import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
3
4
  /**
4
5
  * 基本属性字段
5
6
  */
@@ -55,7 +56,11 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
55
56
  * @realsee/dnalogel 版本号
56
57
  */
57
58
  readonly VERSION: string;
59
+ readonly NAME?: string;
58
60
  five: Five;
61
+ workUtil: WorkUtil;
62
+ set workCode(workCode: string);
63
+ get workCode(): string;
59
64
  /**
60
65
  * @description: 插件事件钩子
61
66
  */
@@ -99,6 +104,7 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
99
104
  * @description: 获取静态资源的url
100
105
  */
101
106
  absoluteUrl(url: string): string;
107
+ protected onWorkCodeChange(): void;
102
108
  /**
103
109
  * 启用插件,让插件能够响应交互
104
110
  */
@@ -1,7 +1,7 @@
1
- var o = Object.defineProperty;
2
- var s = (e, t, r) => t in e ? o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var i = (e, t, r) => (s(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { Subscribe as a } from "../shared-utils/Subscribe.js";
1
+ var i = Object.defineProperty;
2
+ var s = (e, t, r) => t in e ? i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var o = (e, t, r) => (s(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ import { Subscribe as l } from "../shared-utils/Subscribe.js";
5
5
  import "hammerjs";
6
6
  import "three";
7
7
  import "@realsee/five";
@@ -9,20 +9,29 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
9
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
10
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
11
11
  import "animejs";
12
- import { absoluteUrl as l } from "../shared-utils/url/absoluteUrl.js";
13
- let C = class {
12
+ import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
13
+ import { WorkUtil as m } from "../shared-utils/Utils/WorkUtil.js";
14
+ let f = class {
14
15
  constructor(t, r) {
15
16
  /**
16
17
  * @realsee/dnalogel 版本号
17
18
  */
18
- i(this, "VERSION", "3.36.2");
19
- i(this, "five");
19
+ o(this, "VERSION", "3.36.4");
20
+ o(this, "NAME");
21
+ o(this, "five");
22
+ o(this, "workUtil");
20
23
  /**
21
24
  * @description: 插件事件钩子
22
25
  */
23
- i(this, "hooks", new a());
24
- i(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
25
- this.five = t, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
26
+ o(this, "hooks", new l());
27
+ o(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
28
+ this.five = t, this.workUtil = new m(t), r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
29
+ }
30
+ set workCode(t) {
31
+ this.workUtil.workCode = t, this.onWorkCodeChange();
32
+ }
33
+ get workCode() {
34
+ return this.workUtil.workCode;
26
35
  }
27
36
  /**
28
37
  * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
@@ -34,9 +43,11 @@ let C = class {
34
43
  * @description: 获取静态资源的url
35
44
  */
36
45
  absoluteUrl(t) {
37
- return l(this.staticPrefix, t);
46
+ return a(this.staticPrefix, t);
47
+ }
48
+ onWorkCodeChange() {
38
49
  }
39
50
  };
40
51
  export {
41
- C as Controller
52
+ f as Controller
42
53
  };
@@ -79,6 +79,9 @@ import "../../shared-utils/tap.js";
79
79
  import "../../base/BasePlugin.js";
80
80
  import "../../shared-utils/Subscribe.js";
81
81
  import "../../shared-utils/url/absoluteUrl.js";
82
+ import "../../shared-utils/Utils/WorkUtil.js";
83
+ import "../../shared-utils/Utils/BaseUtil.js";
84
+ import "../../shared-utils/five/transformPosition.js";
82
85
  import "../../shared-utils/nearlyEqual.js";
83
86
  import "../../shared-utils/five/changeMode.js";
84
87
  import "../../shared-utils/positionToVector3.js";
@@ -102,7 +105,7 @@ function G(d) {
102
105
  const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
103
106
  return e && i;
104
107
  }
105
- class te extends O {
108
+ class oe extends O {
106
109
  constructor(t, e) {
107
110
  var a, f;
108
111
  super(t);
@@ -436,5 +439,5 @@ class te extends O {
436
439
  }
437
440
  }
438
441
  export {
439
- te as Controller
442
+ oe as Controller
440
443
  };
@@ -59,6 +59,9 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
59
59
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
60
60
  import "animejs";
61
61
  import "../../shared-utils/url/absoluteUrl.js";
62
+ import "../../shared-utils/Utils/WorkUtil.js";
63
+ import "../../shared-utils/Utils/BaseUtil.js";
64
+ import "../../shared-utils/five/transformPosition.js";
62
65
  import "../../shared-utils/getPxmm.js";
63
66
  import "../utils/correctFiveState.js";
64
67
  import "../utils/constant.js";
@@ -66,8 +69,8 @@ import "../../shared-utils/nearlyEqual.js";
66
69
  import "../../shared-utils/five/changeMode.js";
67
70
  import "../../shared-utils/changeModelCanvasOpacity.js";
68
71
  import "../../shared-utils/isNil.js";
69
- const xo = (o, r) => new t(o, r);
72
+ const Mo = (o, r) => new t(o, r);
70
73
  export {
71
- xo as MapviewFloorplanPlugin,
72
- xo as default
74
+ Mo as MapviewFloorplanPlugin,
75
+ Mo as default
73
76
  };
@@ -79,6 +79,9 @@ import "../../shared-utils/tap.js";
79
79
  import "../../base/BasePlugin.js";
80
80
  import "../../shared-utils/Subscribe.js";
81
81
  import "../../shared-utils/url/absoluteUrl.js";
82
+ import "../../shared-utils/Utils/WorkUtil.js";
83
+ import "../../shared-utils/Utils/BaseUtil.js";
84
+ import "../../shared-utils/five/transformPosition.js";
82
85
  import "../../shared-utils/nearlyEqual.js";
83
86
  import "../../shared-utils/five/changeMode.js";
84
87
  import "../../shared-utils/positionToVector3.js";
@@ -102,7 +105,7 @@ function z(d) {
102
105
  const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
103
106
  return e && i;
104
107
  }
105
- class ee extends T {
108
+ class se extends T {
106
109
  constructor(t, e) {
107
110
  var a, f, m;
108
111
  super(t);
@@ -433,5 +436,5 @@ class ee extends T {
433
436
  }
434
437
  }
435
438
  export {
436
- ee as Controller
439
+ se as Controller
437
440
  };
@@ -60,14 +60,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
60
60
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
61
61
  import "animejs";
62
62
  import "../../shared-utils/url/absoluteUrl.js";
63
+ import "../../shared-utils/Utils/WorkUtil.js";
64
+ import "../../shared-utils/Utils/BaseUtil.js";
65
+ import "../../shared-utils/five/transformPosition.js";
63
66
  import "../utils/correctFiveState.js";
64
67
  import "../utils/constant.js";
65
68
  import "../../shared-utils/nearlyEqual.js";
66
69
  import "../../shared-utils/five/changeMode.js";
67
70
  import "../../shared-utils/changeModelCanvasOpacity.js";
68
71
  import "../../shared-utils/isNil.js";
69
- const Co = (o, r) => new t(o, r);
72
+ const Po = (o, r) => new t(o, r);
70
73
  export {
71
- Co as ModelFloorplanPlugin,
72
- Co as default
74
+ Po as ModelFloorplanPlugin,
75
+ Po as default
73
76
  };
@@ -69,8 +69,11 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
69
69
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
70
70
  import "animejs";
71
71
  import "../../shared-utils/url/absoluteUrl.js";
72
+ import "../../shared-utils/Utils/WorkUtil.js";
73
+ import "../../shared-utils/Utils/BaseUtil.js";
74
+ import "../../shared-utils/five/transformPosition.js";
72
75
  import "../Assets/floorplanExtraObject.js";
73
- class gt extends O {
76
+ class At extends O {
74
77
  constructor(t, i) {
75
78
  super(t);
76
79
  // =============== public properties =================
@@ -213,5 +216,5 @@ class gt extends O {
213
216
  }
214
217
  }
215
218
  export {
216
- gt as Controller
219
+ At as Controller
217
220
  };
@@ -40,10 +40,13 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
40
40
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
41
41
  import "animejs";
42
42
  import "../../shared-utils/url/absoluteUrl.js";
43
+ import "../../shared-utils/Utils/WorkUtil.js";
44
+ import "../../shared-utils/Utils/BaseUtil.js";
45
+ import "../../shared-utils/five/transformPosition.js";
43
46
  import "../utils/formatData.js";
44
47
  import "../Assets/floorplanExtraObject.js";
45
- const V = (o, r) => new t(o, r);
48
+ const Y = (o, r) => new t(o, r);
46
49
  export {
47
- V as PanoFloorplanRadarPlugin,
48
- V as default
50
+ Y as PanoFloorplanRadarPlugin,
51
+ Y as default
49
52
  };
@@ -77,6 +77,9 @@ import "../../shared-utils/tap.js";
77
77
  import "../../base/BasePlugin.js";
78
78
  import "../../shared-utils/Subscribe.js";
79
79
  import "../../shared-utils/url/absoluteUrl.js";
80
+ import "../../shared-utils/Utils/WorkUtil.js";
81
+ import "../../shared-utils/Utils/BaseUtil.js";
82
+ import "../../shared-utils/five/transformPosition.js";
80
83
  import "../../shared-utils/nearlyEqual.js";
81
84
  import "../../shared-utils/to.js";
82
85
  import "../../shared-utils/positionToVector3.js";
@@ -92,7 +95,7 @@ import "../../shared-utils/three/centerPoint.js";
92
95
  import "../../shared-utils/three/getObjectVisible.js";
93
96
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
94
97
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
95
- class Jt extends M {
98
+ class Kt extends M {
96
99
  constructor(t, e) {
97
100
  var h, p;
98
101
  super(t);
@@ -365,5 +368,5 @@ class Jt extends M {
365
368
  }
366
369
  }
367
370
  export {
368
- Jt as Controller
371
+ Kt as Controller
369
372
  };
@@ -58,14 +58,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
58
58
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
59
59
  import "animejs";
60
60
  import "../../shared-utils/url/absoluteUrl.js";
61
+ import "../../shared-utils/Utils/WorkUtil.js";
62
+ import "../../shared-utils/Utils/BaseUtil.js";
63
+ import "../../shared-utils/five/transformPosition.js";
61
64
  import "../../shared-utils/five/changeMode.js";
62
65
  import "../../shared-utils/nearlyEqual.js";
63
66
  import "../../shared-utils/to.js";
64
67
  import "../../shared-utils/getPxmm.js";
65
68
  import "../../shared-utils/changeModelCanvasOpacity.js";
66
69
  import "../../shared-utils/isNil.js";
67
- const go = (o, r) => new t(o, r);
70
+ const Co = (o, r) => new t(o, r);
68
71
  export {
69
- go as TopviewFloorplanPlugin,
70
- go as default
72
+ Co as TopviewFloorplanPlugin,
73
+ Co as default
71
74
  };
package/libs/index.js CHANGED
@@ -133,6 +133,9 @@ import "./shared-utils/tap.js";
133
133
  import "./shared-utils/getPxmm.js";
134
134
  import "./base/BasePluginWithData.js";
135
135
  import "./base/BasePlugin.js";
136
+ import "./shared-utils/Utils/WorkUtil.js";
137
+ import "./shared-utils/Utils/BaseUtil.js";
138
+ import "./shared-utils/five/transformPosition.js";
136
139
  import "./floorplan/utils/correctFiveState.js";
137
140
  import "./floorplan/utils/constant.js";
138
141
  import "./shared-utils/nearlyEqual.js";
@@ -254,9 +257,6 @@ import "./PanoDoorLabelPlugin/DoorLabelItem.js";
254
257
  import "./PanoDoorLabelPlugin/utils.js";
255
258
  import "./GuideLinePlugin/Controller.js";
256
259
  import "./shared-utils/five/fiveLoaded.js";
257
- import "./shared-utils/Utils/WorkUtil.js";
258
- import "./shared-utils/Utils/BaseUtil.js";
259
- import "./shared-utils/five/transformPosition.js";
260
260
  import "./shared-utils/log.js";
261
261
  import "./GuideLinePlugin/utils/createLineGeometry.js";
262
262
  import "./vendor/polyline-normals/index.js";