@realsee/dnalogel 3.36.6 → 3.36.7

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 (469) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  3. package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
  4. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
  5. package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  6. package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
  7. package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
  8. package/dist/base/BasePlugin.d.ts +2 -1
  9. package/dist/index.cjs.js +37 -37
  10. package/dist/index.js +482 -478
  11. package/dist/index.umd.js +38 -38
  12. package/dist/shared-utils/three/Magnifier.d.ts +1 -1
  13. package/dist/shared-utils/three/PointSelectorHelper.d.ts +1 -1
  14. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +13 -13
  15. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  16. package/docs/classes/CSS3DRender.html +3 -3
  17. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  18. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  19. package/docs/classes/ModelMakerPluginInstance.html +14 -14
  20. package/docs/classes/ModelRoomLabelController.html +3 -3
  21. package/docs/classes/MoveController.html +14 -14
  22. package/docs/classes/Object3DHelperController.html +14 -14
  23. package/docs/classes/PaintBrush.html +3 -3
  24. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  25. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  26. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  27. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  28. package/docs/classes/PanoTagPluginController.html +13 -13
  29. package/docs/classes/Sculpt.html +3 -3
  30. package/docs/classes/Util.BetterTween.html +3 -3
  31. package/docs/classes/Util.Interval.html +3 -3
  32. package/docs/classes/Util.LineSegments.html +3 -3
  33. package/docs/classes/Util.Magnifier.html +3 -3
  34. package/docs/classes/Util.Object3D.html +3 -3
  35. package/docs/classes/Util.PointDomHelper.html +3 -3
  36. package/docs/classes/Util.PointHelper.html +3 -3
  37. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  38. package/docs/classes/Util.Rectangle.html +3 -3
  39. package/docs/classes/WalkController.html +14 -14
  40. package/docs/enums/CameraMovementEffect.html +3 -3
  41. package/docs/enums/ContentType.html +3 -3
  42. package/docs/enums/DIRECTION.html +3 -3
  43. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  44. package/docs/enums/DimensionType.html +3 -3
  45. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  46. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  47. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  48. package/docs/enums/PointType.html +3 -3
  49. package/docs/enums/Rotation.html +3 -3
  50. package/docs/functions/AreaMakerPlugin.html +3 -3
  51. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  52. package/docs/functions/CameraMovementPlugin.html +3 -3
  53. package/docs/functions/CruisePlugin.html +3 -3
  54. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  55. package/docs/functions/GuideLinePlugin.html +3 -3
  56. package/docs/functions/ItemLabelPlugin.html +3 -3
  57. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  58. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  60. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  61. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  62. package/docs/functions/ModelMakerPlugin.html +3 -3
  63. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  64. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  65. package/docs/functions/ModelViewPlugin.html +3 -3
  66. package/docs/functions/MovePlugin.html +3 -3
  67. package/docs/functions/Object3DHelperPlugin.html +3 -3
  68. package/docs/functions/PanoCompassPlugin.html +3 -3
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  70. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  72. package/docs/functions/PanoMeasurePlugin.html +3 -3
  73. package/docs/functions/PanoRulerPlugin.html +3 -3
  74. package/docs/functions/PanoRulerProPlugin.html +3 -3
  75. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  76. package/docs/functions/PanoTagPlugin.html +3 -3
  77. package/docs/functions/PanoVideoPlugin.html +3 -3
  78. package/docs/functions/PipelinePlugin.html +3 -3
  79. package/docs/functions/SculptPlugin.html +3 -3
  80. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  81. package/docs/functions/Util.absoluteUrl.html +3 -3
  82. package/docs/functions/Util.blink.html +3 -3
  83. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  84. package/docs/functions/Util.equal.html +3 -3
  85. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  86. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  87. package/docs/functions/Util.getFrameTime.html +3 -3
  88. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  89. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  90. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  91. package/docs/functions/Util.isModelLike.html +3 -3
  92. package/docs/functions/Util.isNil.html +3 -3
  93. package/docs/functions/Util.isPanoramaLike.html +3 -3
  94. package/docs/functions/Util.nextFrame.html +3 -3
  95. package/docs/functions/Util.notNil.html +3 -3
  96. package/docs/functions/Util.reblink.html +3 -3
  97. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  98. package/docs/functions/Util.tweenProgress.html +3 -3
  99. package/docs/functions/Util.uuid.html +3 -3
  100. package/docs/functions/pluginFlag.html +3 -3
  101. package/docs/index.html +4 -4
  102. package/docs/interfaces/AddTagConfig.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
  106. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  111. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  112. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  113. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
  114. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  115. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  116. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
  118. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
  120. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  125. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  126. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  127. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
  128. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
  129. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  130. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  131. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  132. package/docs/interfaces/EventMap.html +5 -5
  133. package/docs/interfaces/FloorplanBounding.html +3 -3
  134. package/docs/interfaces/FloorplanData.html +3 -3
  135. package/docs/interfaces/FloorplanEntrance.html +3 -3
  136. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  137. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  138. package/docs/interfaces/FloorplanFloorData.html +3 -3
  139. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  140. package/docs/interfaces/FloorplanObserver.html +3 -3
  141. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  142. package/docs/interfaces/FloorplanPosition.html +3 -3
  143. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  144. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  146. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  147. package/docs/interfaces/FloorplanServerData.html +3 -3
  148. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  149. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  150. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  151. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  152. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  153. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  154. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  155. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  156. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  157. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  158. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  161. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  170. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  171. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  172. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  173. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  174. package/docs/interfaces/HelperOffset.html +3 -3
  175. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  176. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  177. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  178. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  179. package/docs/interfaces/MinMax.html +3 -3
  180. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  181. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  182. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  183. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  184. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  185. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  186. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  187. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.EventMap.html +5 -5
  189. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  191. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  193. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  194. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  195. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  196. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  197. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  198. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  199. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  200. package/docs/interfaces/Object3DHelperState.html +3 -3
  201. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  202. package/docs/interfaces/PaintBrushAction.html +3 -3
  203. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  204. package/docs/interfaces/PaintBrushState.html +3 -3
  205. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  206. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  207. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  208. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  209. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  210. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  211. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  212. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  213. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  214. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  215. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  216. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  217. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  218. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  226. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  227. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  231. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -5
  232. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  233. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  234. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  235. package/docs/interfaces/Point.html +3 -3
  236. package/docs/interfaces/Room.html +3 -3
  237. package/docs/interfaces/RoomInfo.html +3 -3
  238. package/docs/interfaces/RoomLabel.html +3 -3
  239. package/docs/interfaces/RoomRules.html +3 -3
  240. package/docs/interfaces/Rooms.html +3 -3
  241. package/docs/interfaces/Scissor.html +3 -3
  242. package/docs/interfaces/State.html +3 -3
  243. package/docs/interfaces/TagCacheInterface.html +3 -3
  244. package/docs/interfaces/TagConfig.html +3 -3
  245. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  246. package/docs/interfaces/TagIconUrl.html +3 -3
  247. package/docs/interfaces/TagObjectGroup.html +3 -3
  248. package/docs/interfaces/TagStyle.html +3 -3
  249. package/docs/interfaces/Tags.html +3 -3
  250. package/docs/interfaces/TemporaryState.html +3 -3
  251. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  252. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  253. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  254. package/docs/interfaces/Util.PointIntersection.html +3 -3
  255. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  256. package/docs/modules/AreaMakerPluginType.html +3 -3
  257. package/docs/modules/CruisePluginTypes.html +3 -3
  258. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  259. package/docs/modules/GuideLineItem.html +3 -3
  260. package/docs/modules/GuideLineModeItem.html +3 -3
  261. package/docs/modules/GuideLinePluginType.html +3 -3
  262. package/docs/modules/ModelMakerPluginType.html +3 -3
  263. package/docs/modules/PanoVideoPluginType.html +3 -3
  264. package/docs/modules/SculptData.html +3 -3
  265. package/docs/modules/Util.html +3 -3
  266. package/docs/modules.html +4 -4
  267. package/docs/types/AddObject3DHelperConfig.html +3 -3
  268. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  269. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  270. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  271. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  272. package/docs/types/ArrayPosition.html +3 -3
  273. package/docs/types/AudioAppearance.html +3 -3
  274. package/docs/types/CSS3DRenderExportType.html +3 -3
  275. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  276. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  277. package/docs/types/ClassFunctionParameters.html +3 -3
  278. package/docs/types/Color.html +3 -3
  279. package/docs/types/ContentTypeConfigKey.html +3 -3
  280. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  281. package/docs/types/ContentTypeMap.html +3 -3
  282. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  283. package/docs/types/Create3DElementReturnType.html +3 -3
  284. package/docs/types/CruisePluginExportType.html +3 -3
  285. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  286. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  287. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  288. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  289. package/docs/types/DeprecatedTagProperty.html +3 -3
  290. package/docs/types/Direction-1.html +3 -3
  291. package/docs/types/Direction4.html +3 -3
  292. package/docs/types/ElementRenderer.html +3 -3
  293. package/docs/types/FloorplanRuleLabels.html +3 -3
  294. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  295. package/docs/types/GuideLinePluginExportType.html +3 -3
  296. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  297. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  298. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  299. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  300. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  301. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  302. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  303. package/docs/types/HelperEventMap.html +3 -3
  304. package/docs/types/InternalHelperEventMap.html +3 -3
  305. package/docs/types/LoadTagConfig.html +3 -3
  306. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  307. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  308. package/docs/types/MediaData.html +3 -3
  309. package/docs/types/MediaStore.html +3 -3
  310. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  311. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  312. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  313. package/docs/types/ModelId.html +3 -3
  314. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  315. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  316. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  317. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  318. package/docs/types/MoveArgs.html +3 -3
  319. package/docs/types/MoveOpts.html +3 -3
  320. package/docs/types/Object3DHelperEventMap.html +3 -3
  321. package/docs/types/ObjectFit.html +3 -3
  322. package/docs/types/PaintBrushEventMap.html +3 -3
  323. package/docs/types/PanoCompassPluginData.html +3 -3
  324. package/docs/types/PanoCompassPluginExportType.html +3 -3
  325. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  326. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  327. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  328. package/docs/types/PanoIndex.html +3 -3
  329. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  330. package/docs/types/PanoMeasureReturnType.html +3 -3
  331. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  332. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  333. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  334. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  335. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  336. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  337. package/docs/types/PipelinePluginParameterType.html +3 -3
  338. package/docs/types/PipelinePluginReturnType.html +3 -3
  339. package/docs/types/PlaneTag.html +3 -3
  340. package/docs/types/Point2DTag.html +3 -3
  341. package/docs/types/Point3DTag.html +3 -3
  342. package/docs/types/PointTag.html +3 -3
  343. package/docs/types/PointTagInstance.html +3 -3
  344. package/docs/types/Position.html +3 -3
  345. package/docs/types/PositionFrom.html +3 -3
  346. package/docs/types/RotateArgs.html +3 -3
  347. package/docs/types/RotateOpts.html +3 -3
  348. package/docs/types/RuleLabelsKey.html +3 -3
  349. package/docs/types/RuleLabelsValue.html +3 -3
  350. package/docs/types/ScaleCallback.html +3 -3
  351. package/docs/types/ScalePosition.html +3 -3
  352. package/docs/types/SculptData.BoxData.html +3 -3
  353. package/docs/types/SculptData.CircleData.html +3 -3
  354. package/docs/types/SculptData.CylinderData.html +3 -3
  355. package/docs/types/SculptData.PointData.html +3 -3
  356. package/docs/types/SculptData.PolygonData.html +3 -3
  357. package/docs/types/SculptData.PolylineData.html +3 -3
  358. package/docs/types/SculptData.PrismData.html +3 -3
  359. package/docs/types/SculptData.RectangleData.html +3 -3
  360. package/docs/types/StickType.html +3 -3
  361. package/docs/types/Tag.html +3 -3
  362. package/docs/types/Tag2D.html +3 -3
  363. package/docs/types/Tag3D.html +3 -3
  364. package/docs/types/TagConfigByKey.html +3 -3
  365. package/docs/types/TagContentType.html +3 -3
  366. package/docs/types/TagContentTypeMapping.html +3 -3
  367. package/docs/types/TagDimensionType.html +3 -3
  368. package/docs/types/TagElement.html +3 -3
  369. package/docs/types/TagEvents.html +3 -3
  370. package/docs/types/TagGLTFObject.html +3 -3
  371. package/docs/types/TagHooks.html +3 -3
  372. package/docs/types/TagId.html +3 -3
  373. package/docs/types/TagInstance.html +3 -3
  374. package/docs/types/TagPointType.html +3 -3
  375. package/docs/types/TagRendererMap.html +3 -3
  376. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  377. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  378. package/docs/types/WorkCode.html +3 -3
  379. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  380. package/docs/variables/PLUGIN.html +3 -3
  381. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  382. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  383. package/docs/variables/defaultGlobalConfig.html +3 -3
  384. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  385. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  386. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  387. package/libs/AreaMakerPlugin/Controller.js +2 -3
  388. package/libs/AreaMakerPlugin/index.js +2 -3
  389. package/libs/AreaMakerPlugin/utils/Item.js +14 -15
  390. package/libs/CSS3DRenderPlugin/Controller.js +2 -3
  391. package/libs/CSS3DRenderPlugin/index.js +5 -6
  392. package/libs/CruisePlugin/BaseController.js +4 -5
  393. package/libs/CruisePlugin/Move.js +1 -1
  394. package/libs/CruisePlugin/Work.js +1 -1
  395. package/libs/CruisePlugin/index.js +1 -1
  396. package/libs/CurrentPanoImagePlugin/Controller.js +10 -11
  397. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  398. package/libs/GuideLinePlugin/Controller.js +1 -1
  399. package/libs/GuideLinePlugin/GuideLineItem/index.js +8 -8
  400. package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  401. package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
  402. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
  403. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  404. package/libs/GuideLinePlugin/index.js +1 -1
  405. package/libs/ModelMakerPlugin/Controller.js +2 -3
  406. package/libs/ModelMakerPlugin/index.js +2 -3
  407. package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
  408. package/libs/ModelTVVideoPlugin/index.js +2 -3
  409. package/libs/Object3DHelperPlugin/Controller.js +3 -4
  410. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
  411. package/libs/Object3DHelperPlugin/index.js +5 -6
  412. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
  413. package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
  414. package/libs/PanoMeasurePlugin/Controller/MixedController.js +4 -3
  415. package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  416. package/libs/PanoMeasurePlugin/Controller/index.js +57 -50
  417. package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
  418. package/libs/PanoMeasurePlugin/Model/index.js +7 -6
  419. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
  420. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
  421. package/libs/PanoMeasurePlugin/index.js +18 -14
  422. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
  423. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -21
  424. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
  425. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
  426. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  427. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  428. package/libs/PanoTagPlugin/controller/TagCache.js +2 -3
  429. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  430. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  431. package/libs/PanoVideoPlugin/Controller.js +2 -3
  432. package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
  433. package/libs/PanoVideoPlugin/index.js +5 -6
  434. package/libs/PipelinePlugin/Controller.js +22 -23
  435. package/libs/PipelinePlugin/index.js +3 -4
  436. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
  437. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
  438. package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
  439. package/libs/Sculpt/Meshes/Box.js +2 -3
  440. package/libs/Sculpt/Meshes/Cylinder.js +2 -3
  441. package/libs/Sculpt/Meshes/Line.js +2 -3
  442. package/libs/Sculpt/Meshes/LineWithDots.js +2 -3
  443. package/libs/Sculpt/Meshes/Point.js +2 -3
  444. package/libs/Sculpt/Meshes/Polyline.js +4 -5
  445. package/libs/Sculpt/Meshes/Prism.js +10 -11
  446. package/libs/Sculpt/Meshes/Rectangle.js +2 -3
  447. package/libs/Sculpt/Objects/Polyline/Editor.js +10 -11
  448. package/libs/Sculpt/index.js +13 -14
  449. package/libs/Sculpt/utils/three/ColoredMesh.js +6 -7
  450. package/libs/base/BasePlugin.d.ts +2 -1
  451. package/libs/base/BasePlugin.js +3 -4
  452. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
  453. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  454. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
  455. package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
  456. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
  457. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
  458. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
  459. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  460. package/libs/floorplan/index.js +0 -1
  461. package/libs/shared-utils/logger.js +1 -1
  462. package/libs/shared-utils/tag.js +13 -13
  463. package/libs/shared-utils/three/Magnifier.d.ts +1 -1
  464. package/libs/shared-utils/three/Magnifier.js +1 -1
  465. package/libs/shared-utils/three/PointDomHelper.js +2 -3
  466. package/libs/shared-utils/three/PointSelectorHelper.d.ts +1 -1
  467. package/libs/shared-utils/three/PointSelectorHelper.js +6 -6
  468. package/libs/shared-utils/three/index.js +0 -1
  469. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import "./GuideLineModeItem/index.js";
2
2
  import "../shared-utils/log.js";
3
3
  import "../shared-utils/to.js";
4
- import "@realsee/five";
5
4
  import "../shared-utils/five/changeMode.js";
6
5
  import "../CruisePlugin/Move.js";
7
6
  import "../CruisePlugin/Work.js";
7
+ import "../shared-utils/Subscribe.js";
8
8
  import { GuideLineItem as ho } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
@@ -26,7 +26,6 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
26
26
  import "../shared-utils/util.js";
27
27
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
28
28
  import "../CSS3DRenderPlugin/utils/even.js";
29
- import "../shared-utils/Subscribe.js";
30
29
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
31
30
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
32
31
  import "../shared-utils/three/centerPoint.js";
@@ -40,6 +39,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
40
39
  import "../shared-utils/animationFrame/index.js";
41
40
  import "../shared-utils/three/loadTexture.js";
42
41
  import "../PanoTagPlugin/controller/index.js";
42
+ import "@realsee/five";
43
43
  import "../vendor/object-assign-deep/objectAssignDeep.js";
44
44
  import "../PanoTagPlugin/utils/addDebugPoints.js";
45
45
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
@@ -16,7 +16,6 @@ import { logWarning as L, logError as S } from "../../shared-utils/log.js";
16
16
  import { createLineGeometry as O } from "../utils/createLineGeometry.js";
17
17
  import { isPanoramaLike as _, isModelLike as M } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
- import "@realsee/five";
20
19
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
20
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
21
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -495,11 +494,11 @@ class H {
495
494
  function b(l) {
496
495
  return l.contentType === "Custom";
497
496
  }
498
- const oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
497
+ const ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
499
498
  __proto__: null,
500
499
  GuideLineModeItem: H
501
500
  }, Symbol.toStringTag, { value: "Module" }));
502
501
  export {
503
502
  H as GuideLineModeItem,
504
- oe as GuideLineModeItem$1
503
+ ae as GuideLineModeItem$1
505
504
  };
@@ -3,7 +3,6 @@ import "../shared-utils/log.js";
3
3
  import "./utils/createLineGeometry.js";
4
4
  import "../shared-utils/five/mode.js";
5
5
  import "hammerjs";
6
- import "@realsee/five";
7
6
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
8
7
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
9
8
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -38,6 +37,7 @@ import "../shared-utils/three/getObjectVisible.js";
38
37
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
39
38
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
40
39
  import "../shared-utils/animationFrame/index.js";
40
+ import "@realsee/five";
41
41
  import "../PanoTagPlugin/utils/addDebugPoints.js";
42
42
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
43
43
  import "../PanoTagPlugin/utils/debounce.js";
@@ -6,7 +6,6 @@ import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
7
7
  import "hammerjs";
8
8
  import "three";
9
- import "@realsee/five";
10
9
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
11
10
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
12
11
  import "../shared-utils/positionToVector3.js";
@@ -58,6 +57,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
58
57
  import "../shared-utils/animationFrame/index.js";
59
58
  import "../shared-utils/three/loadTexture.js";
60
59
  import "../PanoTagPlugin/controller/index.js";
60
+ import "@realsee/five";
61
61
  import "../PanoTagPlugin/utils/addDebugPoints.js";
62
62
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
63
63
  import "../PanoTagPlugin/utils/debounce.js";
@@ -24,7 +24,6 @@ import { PrismMesh as R } from "../Sculpt/Meshes/Prism.js";
24
24
  import { anyPositionToVector3 as I } from "../shared-utils/positionToVector3.js";
25
25
  import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
26
26
  import "hammerjs";
27
- import "@realsee/five";
28
27
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
28
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
29
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -78,7 +77,7 @@ import "../shared-utils/tag.js";
78
77
  import "../shared-utils/five/vector3ToScreen.js";
79
78
  import "../shared-utils/five/FiveDomEvents.js";
80
79
  import "../shared-utils/five/calculateThreeMouse.js";
81
- class Ue extends C {
80
+ class Se extends C {
82
81
  constructor(e, o) {
83
82
  super(e);
84
83
  s(this, "state");
@@ -210,5 +209,5 @@ class Ue extends C {
210
209
  }
211
210
  }
212
211
  export {
213
- Ue as Controller
212
+ Se as Controller
214
213
  };
@@ -4,7 +4,6 @@ import "../base/BasePlugin.js";
4
4
  import "../shared-utils/Subscribe.js";
5
5
  import "hammerjs";
6
6
  import "three";
7
- import "@realsee/five";
8
7
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
8
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
9
  import "../shared-utils/positionToVector3.js";
@@ -60,7 +59,7 @@ import "../vendor/svelte/internal/index.js";
60
59
  import "../components/AreaLabel/LabelItem.js";
61
60
  import "../components/AreaLabel/Assets/roomLabelBg.js";
62
61
  import "./item/prismItem.js";
63
- const ao = (...o) => new r(...o);
62
+ const Mo = (...o) => new r(...o);
64
63
  export {
65
- ao as ModelMakerPlugin
64
+ Mo as ModelMakerPlugin
66
65
  };
@@ -37,12 +37,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
37
37
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
38
38
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
39
39
  import "hammerjs";
40
- import "@realsee/five";
41
40
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
42
41
  import "animejs";
43
42
  import "../shared-utils/url/absoluteUrl.js";
44
43
  import "../shared-utils/five/fiveModelLoad.js";
45
- const ce = (s, { videoElement: g }) => {
44
+ const de = (s, { videoElement: g }) => {
46
45
  const e = {
47
46
  videoMeshes: [],
48
47
  videoTextureEnabled: !1,
@@ -185,6 +184,6 @@ const ce = (s, { videoElement: g }) => {
185
184
  }), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
186
185
  };
187
186
  export {
188
- ce as ModelTVVideoPlugin,
189
- ce as default
187
+ de as ModelTVVideoPlugin,
188
+ de as default
190
189
  };
@@ -1,5 +1,5 @@
1
1
  import { ModelTVVideoPlugin as r } from "./Plugin.js";
2
- import { DIRECTION as k } from "./typings.js";
2
+ import { DIRECTION as j } from "./typings.js";
3
3
  import "three";
4
4
  import "./utils/parseData.js";
5
5
  import "../CSS3DRenderPlugin/index.js";
@@ -21,14 +21,13 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "hammerjs";
24
- import "@realsee/five";
25
24
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
26
25
  import "animejs";
27
26
  import "../shared-utils/url/absoluteUrl.js";
28
27
  import "../shared-utils/five/fiveModelLoad.js";
29
28
  import "../PanoTagPlugin/Assets/Icon.js";
30
29
  export {
31
- k as DIRECTION,
30
+ j as DIRECTION,
32
31
  r as ModelTVVideoPlugin,
33
32
  r as default
34
33
  };
@@ -26,7 +26,6 @@ var g = (l, o, e) => new Promise((t, r) => {
26
26
  }, b = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(s, h);
27
27
  b((e = e.apply(l, o)).next());
28
28
  });
29
- import { Subscribe as R } from "@realsee/five";
30
29
  import { Controller as L } from "../base/BasePlugin.js";
31
30
  import "three";
32
31
  import { MoveHelper as _ } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
@@ -44,7 +43,7 @@ import { BoundingBoxController as J } from "../shared-utils/Object3DHelper/Contr
44
43
  import { ScaleHelper as K } from "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
45
44
  import { ScaleController as Q } from "../shared-utils/Object3DHelper/Controller/ScaleController.js";
46
45
  import { waitFiveModelLoaded as T } from "../shared-utils/five/fiveModelLoad.js";
47
- import "../shared-utils/Subscribe.js";
46
+ import { Subscribe as R } from "../shared-utils/Subscribe.js";
48
47
  import "hammerjs";
49
48
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
50
49
  import "animejs";
@@ -93,7 +92,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
93
92
  }, Z = () => {
94
93
  console.error(`${D} is disabled`);
95
94
  };
96
- class pr extends L {
95
+ class lr extends L {
97
96
  constructor(e) {
98
97
  super(e);
99
98
  f(this, "name", w);
@@ -265,6 +264,6 @@ class pr extends L {
265
264
  }
266
265
  }
267
266
  export {
268
- pr as Object3DHelperController,
267
+ lr as Object3DHelperController,
269
268
  D as PLUGIN
270
269
  };
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * @description: 将手势操作绑定到controller上
3
3
  */
4
- import type { Five, Subscribe } from '@realsee/five';
4
+ import type { Five } from '@realsee/five';
5
5
  import type { BaseController } from '../shared-utils/Object3DHelper/Base/BaseController';
6
6
  import type * as THREE from 'three';
7
+ import type { Subscribe } from '../shared-utils/Subscribe';
7
8
  declare class ControllerWrapper<HelperControllerInterface extends new (...params: ConstructorParameters<typeof BaseController<any>>) => any> {
8
9
  helperController?: InstanceType<HelperControllerInterface>;
9
10
  private five;
@@ -1,6 +1,5 @@
1
1
  import { Object3DHelperController as o } from "./Controller.js";
2
- import { PLUGIN as br } from "./Controller.js";
3
- import "@realsee/five";
2
+ import { PLUGIN as ar } from "./Controller.js";
4
3
  import "../base/BasePlugin.js";
5
4
  import "../shared-utils/Subscribe.js";
6
5
  import "hammerjs";
@@ -60,10 +59,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
60
59
  import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
61
60
  import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
62
61
  import "../shared-utils/five/fiveModelLoad.js";
63
- const cr = (r) => new o(r);
62
+ const nr = (r) => new o(r);
64
63
  export {
65
64
  o as Object3DHelperController,
66
- cr as Object3DHelperPlugin,
67
- br as PLUGIN,
68
- cr as default
65
+ nr as Object3DHelperPlugin,
66
+ ar as PLUGIN,
67
+ nr as default
69
68
  };
@@ -3,10 +3,12 @@ import type { Model } from '../Model';
3
3
  import type { Config } from '../typings';
4
4
  import type { PanoMeasurePluginEvent } from '../typings/event.type';
5
5
  import type { UserDistanceItem } from '../utils/dom/distanceItem';
6
- import type { Five, Intersection, IntersectMeshInterface, Subscribe } from '@realsee/five';
6
+ import type { Five, Intersection, IntersectMeshInterface } from '@realsee/five';
7
+ import type { Subscribe } from '../../shared-utils/Subscribe';
7
8
  import type { OpenParameter, EditParameter, MeasureType } from '../typings/data';
8
9
  import Line from '../Model/line';
9
10
  import type { Magnifier } from '../../shared-utils';
11
+ import type { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
10
12
  export interface ControllerParams {
11
13
  five: Five;
12
14
  group: Group;
@@ -14,6 +16,7 @@ export interface ControllerParams {
14
16
  config: Config;
15
17
  mouseGroup: Group;
16
18
  container: Element;
19
+ workUtil: WorkUtil;
17
20
  magnifier: Magnifier;
18
21
  openParams: OpenParameter;
19
22
  editParams: EditParameter;
@@ -38,6 +41,7 @@ export default class BaseController {
38
41
  protected hook: ControllerParams['hook'];
39
42
  protected magnifier: ControllerParams['magnifier'];
40
43
  protected userDistanceItemCreator: ControllerParams['userDistanceItemCreator'];
44
+ protected workUtil: WorkUtil;
41
45
  protected get currentMeasureType(): MeasureType;
42
46
  private getMeasureType;
43
47
  constructor(params: ControllerParams);
@@ -1,7 +1,7 @@
1
1
  var m = Object.defineProperty;
2
- var u = (s, e, i) => e in s ? m(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i;
3
- var t = (s, e, i) => (u(s, typeof e != "symbol" ? e + "" : e, i), i);
4
- import { Color as l } from "three";
2
+ var l = (s, e, i) => e in s ? m(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i;
3
+ var t = (s, e, i) => (l(s, typeof e != "symbol" ? e + "" : e, i), i);
4
+ import { Color as u } from "three";
5
5
  import h from "../Model/line.js";
6
6
  import r from "../Model/point.js";
7
7
  import { preventDefault as a } from "../utils/ironbox.js";
@@ -15,7 +15,7 @@ import "../utils/dom/distanceItem.js";
15
15
  import "../utils/dom/base.js";
16
16
  import "../utils/isNDCPointInScreen.js";
17
17
  import "../../shared-utils/three/centerPoint.js";
18
- class k {
18
+ class C {
19
19
  constructor(e) {
20
20
  t(this, "model");
21
21
  t(this, "five");
@@ -32,6 +32,7 @@ class k {
32
32
  t(this, "hook");
33
33
  t(this, "magnifier");
34
34
  t(this, "userDistanceItemCreator");
35
+ t(this, "workUtil");
35
36
  t(this, "getMeasureType");
36
37
  t(this, "updateDistanceUI", () => {
37
38
  this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((e) => e.distanceItem.update(this.five));
@@ -44,7 +45,7 @@ class k {
44
45
  });
45
46
  });
46
47
  var n, o;
47
- this.five = e.five, this.hook = e.hook, this.model = e.model, this.getMeasureType = e.getMeasureType, this.config = e.config, this.magnifierParams = e.magnifierParams, this.editParams = e.editParams, this.magnifier = e.magnifier, this.container = e.container, this.isMobile = (o = (n = e.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new l(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
48
+ this.five = e.five, this.hook = e.hook, this.model = e.model, this.getMeasureType = e.getMeasureType, this.config = e.config, this.magnifierParams = e.magnifierParams, this.editParams = e.editParams, this.magnifier = e.magnifier, this.container = e.container, this.isMobile = (o = (n = e.openParams) == null ? void 0 : n.isMobile) != null ? o : !1, this.workUtil = e.workUtil, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new h(new r([0, 0, 0]), new r([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new u(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
48
49
  const i = this.five.getElement();
49
50
  i && (i.addEventListener("touchstart", a), i.addEventListener("contextmenu", a));
50
51
  }
@@ -72,5 +73,5 @@ class k {
72
73
  }
73
74
  }
74
75
  export {
75
- k as default
76
+ C as default
76
77
  };
@@ -10,12 +10,13 @@ import v from "../utils/isNDCPointInScreen.js";
10
10
  import { closestPointOnLine as G } from "../utils/math.js";
11
11
  import { Polyline as L } from "../Model/polyline.js";
12
12
  import W from "../Modules/rangePiece/index.js";
13
- import "@realsee/five";
13
+ import "../../shared-utils/Subscribe.js";
14
14
  import "../../shared-utils/uuid.js";
15
15
  import "../utils/line.js";
16
16
  import "../../shared-utils/five/FiveLine.js";
17
17
  import "@realsee/five/line";
18
18
  import "../utils/constants.js";
19
+ import "@realsee/five";
19
20
  import "../utils/dom/distanceItem.js";
20
21
  import "../utils/dom/base.js";
21
22
  import "../../shared-utils/three/centerPoint.js";
@@ -30,7 +31,7 @@ import "../../shared-utils/animationFrame/index.js";
30
31
  import "../../shared-utils/noop.js";
31
32
  import "../utils/mouseGroup.js";
32
33
  import "../../shared-utils/five/calculateThreeMouse.js";
33
- class ae extends T {
34
+ class le extends T {
34
35
  constructor(e) {
35
36
  super(e);
36
37
  t(this, "state", "watching");
@@ -144,5 +145,5 @@ class ae extends T {
144
145
  }
145
146
  }
146
147
  export {
147
- ae as default
148
+ le as default
148
149
  };
@@ -7,12 +7,14 @@ import EditController from './EditController';
7
7
  import ViewController from './ViewController';
8
8
  import WatchController from './WatchController';
9
9
  import MixedController from './MixedController';
10
- import { type Five, Subscribe } from '@realsee/five';
10
+ import type { Subscribe } from '../../shared-utils/Subscribe';
11
+ import type { Five } from '@realsee/five';
11
12
  import { type UIControllerParams } from '../Modules/UIController';
12
13
  import { type GuideControllerParams } from '../Modules/GuideController';
13
14
  import { Magnifier } from '../../shared-utils';
14
15
  import type { MagnifierParameter } from '../../shared-utils';
15
16
  import type Area from '../Model/area';
17
+ import * as BasePlugin from '../../base/BasePlugin';
16
18
  export type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
17
19
  export interface PanoMeasureParameterType extends Partial<Config> {
18
20
  editParams?: EditParameter;
@@ -22,8 +24,10 @@ export interface PanoMeasureParameterType extends Partial<Config> {
22
24
  useGuideController?: boolean | GuideControllerParams;
23
25
  userDistanceItemCreator?: () => UserDistanceItem;
24
26
  }
25
- export default class MeasureController {
27
+ export default class MeasureController extends BasePlugin.Controller<BasePlugin.State, BasePlugin.EventMap<BasePlugin.State> & PanoMeasurePluginEvent> {
28
+ state: BasePlugin.State;
26
29
  hasOpen: boolean;
30
+ /** @deprecated use hooks instead */
27
31
  hook: Subscribe<PanoMeasurePluginEvent>;
28
32
  magnifier: Magnifier;
29
33
  controller: WatchController | EditController | MixedController | ViewController | null;
@@ -31,7 +35,6 @@ export default class MeasureController {
31
35
  allowMeasureType: Array<MeasureType>;
32
36
  /** 当前的测量类型 */
33
37
  currentMeasureType: MeasureType | null;
34
- private five;
35
38
  private model;
36
39
  private group;
37
40
  private config;
@@ -1,40 +1,41 @@
1
- var I = Object.defineProperty;
2
- var w = Object.getOwnPropertySymbols;
1
+ var k = Object.defineProperty;
2
+ var P = Object.getOwnPropertySymbols;
3
3
  var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
4
- var p = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, a = (s, t) => {
5
- for (var e in t || (t = {}))
6
- T.call(t, e) && p(s, e, t[e]);
7
- if (w)
8
- for (var e of w(t))
9
- U.call(t, e) && p(s, e, t[e]);
10
- return s;
4
+ var c = (n, s, t) => s in n ? k(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t, m = (n, s) => {
5
+ for (var t in s || (s = {}))
6
+ T.call(s, t) && c(n, t, s[t]);
7
+ if (P)
8
+ for (var t of P(s))
9
+ U.call(s, t) && c(n, t, s[t]);
10
+ return n;
11
11
  };
12
- var r = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
13
- import l from "./EditController.js";
14
- import P from "./ViewController.js";
15
- import v from "./WatchController.js";
16
- import h from "./MixedController.js";
17
- import { omit as k } from "../../shared-utils/filter.js";
12
+ var r = (n, s, t) => (c(n, typeof s != "symbol" ? s + "" : s, t), t);
13
+ import h from "./EditController.js";
14
+ import v from "./ViewController.js";
15
+ import b from "./WatchController.js";
16
+ import a from "./MixedController.js";
17
+ import { omit as x } from "../../shared-utils/filter.js";
18
18
  import { Group as D } from "three";
19
19
  import { Model as E } from "../Model/index.js";
20
- import { Subscribe as G } from "@realsee/five";
21
- import { getMouseGroup as x } from "../utils/mouseGroup.js";
22
- import { UIController as S } from "../Modules/UIController/index.js";
23
- import { GuideController as L } from "../Modules/GuideController.js";
24
- import { ShortcutKeyController as O } from "./ShortcutKeyController.js";
25
- import { safeObj as b } from "../../shared-utils/safeObj.js";
26
- import { Magnifier as A } from "../../shared-utils/three/Magnifier.js";
20
+ import { getMouseGroup as G } from "../utils/mouseGroup.js";
21
+ import { UIController as L } from "../Modules/UIController/index.js";
22
+ import { GuideController as O } from "../Modules/GuideController.js";
23
+ import { ShortcutKeyController as S } from "./ShortcutKeyController.js";
24
+ import { safeObj as I } from "../../shared-utils/safeObj.js";
25
+ import { Magnifier as W } from "../../shared-utils/three/Magnifier.js";
27
26
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
27
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
29
28
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
30
29
  import "animejs";
31
- import { isTouchDevice as B } from "../../shared-utils/isTouchDevice.js";
30
+ import { isTouchDevice as A } from "../../shared-utils/isTouchDevice.js";
31
+ import { Controller as B } from "../../base/BasePlugin.js";
32
32
  import "../Model/line.js";
33
33
  import "../../shared-utils/uuid.js";
34
34
  import "../utils/line.js";
35
35
  import "../../shared-utils/five/FiveLine.js";
36
36
  import "@realsee/five/line";
37
37
  import "../utils/constants.js";
38
+ import "@realsee/five";
38
39
  import "../utils/dom/distanceItem.js";
39
40
  import "../utils/dom/base.js";
40
41
  import "../utils/isNDCPointInScreen.js";
@@ -113,17 +114,23 @@ import "../../vendor/svelte/transition/index.js";
113
114
  import "../../vendor/svelte/easing/index.js";
114
115
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
115
116
  import "../Components/Tip.js";
116
- class Le {
117
+ import "../../shared-utils/Utils/WorkUtil.js";
118
+ import "../../shared-utils/Utils/BaseUtil.js";
119
+ import "../../shared-utils/five/transformPosition.js";
120
+ class Ve extends B {
117
121
  constructor(t, e) {
122
+ var l, u, d, f, g, y, M, C, w;
123
+ super(t);
124
+ r(this, "state", { enabled: !0 });
118
125
  r(this, "hasOpen", !1);
119
- r(this, "hook", new G());
126
+ /** @deprecated use hooks instead */
127
+ r(this, "hook");
120
128
  r(this, "magnifier");
121
129
  r(this, "controller", null);
122
130
  /** 允许的测量类型 */
123
131
  r(this, "allowMeasureType");
124
132
  /** 当前的测量类型 */
125
133
  r(this, "currentMeasureType");
126
- r(this, "five");
127
134
  r(this, "model");
128
135
  r(this, "group");
129
136
  r(this, "config");
@@ -139,9 +146,9 @@ class Le {
139
146
  */
140
147
  r(this, "disable", () => {
141
148
  var t, e, i, o;
142
- this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
149
+ this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
143
150
  });
144
- r(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof h ? "Mixed" : this.controller instanceof P ? "View" : null);
151
+ r(this, "getCurrentMode", () => this.controller instanceof h ? "Edit" : this.controller instanceof b ? "Watch" : this.controller instanceof a ? "Mixed" : this.controller instanceof v ? "View" : null);
145
152
  /** 变更场景
146
153
  * @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
147
154
  */
@@ -151,10 +158,10 @@ class Le {
151
158
  return;
152
159
  (o = this.controller) == null || o.dispose();
153
160
  const e = {
154
- View: P,
155
- Watch: v,
156
- Edit: l,
157
- Mixed: h
161
+ View: v,
162
+ Watch: b,
163
+ Edit: h,
164
+ Mixed: a
158
165
  };
159
166
  if (!e[t])
160
167
  throw new Error("不存在的 Mode");
@@ -167,26 +174,25 @@ class Le {
167
174
  r(this, "changeMeasureType", (t) => {
168
175
  this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
169
176
  });
170
- var n, c, u, d, f, g, y, M, C;
171
- this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = e == null ? void 0 : e.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(t, (u = e.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = e.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
172
- const i = (M = (y = e.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
177
+ this.five = t, this.hook = this.hooks, this.params = e, this.config = x(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (u = (l = e == null ? void 0 : e.openParams) == null ? void 0 : l.isMobile) != null ? u : !1, this.magnifier = new W(t, (d = e.magnifierParams) != null ? d : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((g = (f = e.editParams) == null ? void 0 : f.allowMeasureType) != null ? g : ["line"])), this.currentMeasureType = (y = this.allowMeasureType[0]) != null ? y : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
178
+ const i = (C = (M = e.editParams) == null ? void 0 : M.pointSelectorMode) != null ? C : A ? "fixed" : "cursor", o = (w = this.params.openParams) != null ? w : {};
173
179
  if (this.params.useUIController !== !1) {
174
- const m = a({
180
+ const p = m({
175
181
  container: this.container,
176
182
  openParams: o,
177
183
  i18n: e.i18n,
178
184
  pointSelectorMode: i,
179
185
  useNewUI: this.allowMeasureType.length > 1
180
- }, b(this.params.useUIController));
181
- this.useUIController = new S(this, m);
186
+ }, I(this.params.useUIController));
187
+ this.useUIController = new L(this, p);
182
188
  }
183
189
  if (this.params.useGuideController !== !1) {
184
- const m = a({
190
+ const p = m({
185
191
  container: this.container,
186
192
  pointSelectorMode: i,
187
193
  i18n: e.i18n
188
- }, b(this.params.useGuideController));
189
- this.useGuideController = new L(this, m);
194
+ }, I(this.params.useGuideController));
195
+ this.useGuideController = new O(this, p);
190
196
  }
191
197
  }
192
198
  appendTo(t) {
@@ -212,7 +218,7 @@ class Le {
212
218
  */
213
219
  enable(t) {
214
220
  var e, i;
215
- this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
221
+ this.hasOpen || (this.state.enabled = !0, this.hasOpen = !0, this.group.matrix.copy(this.workUtil.transform), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld(), this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new S(this, this.five), this.hook.emit("enable", !0));
216
222
  }
217
223
  /** 进入编辑模式 */
218
224
  edit(t) {
@@ -222,7 +228,7 @@ class Le {
222
228
  }
223
229
  /** 撤销编辑 */
224
230
  revoke() {
225
- this.controller instanceof l && this.controller.revoke();
231
+ this.controller instanceof h && this.controller.revoke();
226
232
  }
227
233
  removePolyline(t) {
228
234
  this.model.removePolyline(t);
@@ -256,20 +262,20 @@ class Le {
256
262
  */
257
263
  save(t) {
258
264
  var o;
259
- if (!(this.controller instanceof l) && !(this.controller instanceof h))
265
+ if (!(this.controller instanceof h) && !(this.controller instanceof a))
260
266
  return this;
261
267
  const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", i = this.controller.model.areas;
262
- return this.controller instanceof l ? this.controller.complete() : i.forEach((n) => {
263
- n.showArea(), this.model.addArea(n);
268
+ return this.controller instanceof h ? this.controller.complete() : i.forEach((l) => {
269
+ l.showArea(), this.model.addArea(l);
264
270
  }), this.changeMode(e), this;
265
271
  }
266
272
  /** Mixed 模式才有用,添加起点 */
267
273
  addStartPoint() {
268
- this.controller instanceof h && this.hook.emit("willChangeState", "watching", "editing");
274
+ this.controller instanceof a && this.hook.emit("willChangeState", "watching", "editing");
269
275
  }
270
276
  /** Mixed 模式才有用,添加终点 */
271
277
  addEndPoint() {
272
- this.controller instanceof h && this.hook.emit("willChangeState", "editing", "watching");
278
+ this.controller instanceof a && this.hook.emit("willChangeState", "editing", "watching");
273
279
  }
274
280
  /** 导出数据 */
275
281
  toJson() {
@@ -305,15 +311,16 @@ class Le {
305
311
  config: this.config,
306
312
  magnifier: this.magnifier,
307
313
  container: this.container,
314
+ workUtil: this.workUtil,
308
315
  openParams: t,
309
316
  editParams: e,
310
317
  magnifierParams: this.params.magnifierParams,
311
318
  getMeasureType: () => this.currentMeasureType,
312
- mouseGroup: x(a({}, t.crossHairParameter)),
319
+ mouseGroup: G(m({}, t.crossHairParameter)),
313
320
  userDistanceItemCreator: this.params.userDistanceItemCreator
314
321
  };
315
322
  }
316
323
  }
317
324
  export {
318
- Le as default
325
+ Ve as default
319
326
  };
@@ -1,9 +1,9 @@
1
+ import { Subscribe } from '../../shared-utils/Subscribe';
1
2
  import type { Config } from '../typings';
2
3
  import type { MeasurePluginData } from '../typings/data';
3
4
  import type Area from './area';
4
5
  import type Line from './line';
5
6
  import { Polyline } from './polyline';
6
- import { Subscribe } from '@realsee/five';
7
7
  type IModelEvent = {
8
8
  /** 新增线条
9
9
  * @param line 被创建的线条