@realsee/dnalogel 3.36.5 → 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 (477) hide show
  1. package/CHANGELOG.md +6 -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 +635 -624
  11. package/dist/index.umd.js +38 -38
  12. package/dist/shared-utils/tag.d.ts +4 -1
  13. package/dist/shared-utils/three/Magnifier.d.ts +1 -1
  14. package/dist/shared-utils/three/PointSelectorHelper.d.ts +1 -1
  15. package/dist/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
  16. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +13 -13
  17. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  18. package/docs/classes/CSS3DRender.html +3 -3
  19. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  20. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  21. package/docs/classes/ModelMakerPluginInstance.html +14 -14
  22. package/docs/classes/ModelRoomLabelController.html +3 -3
  23. package/docs/classes/MoveController.html +14 -14
  24. package/docs/classes/Object3DHelperController.html +14 -14
  25. package/docs/classes/PaintBrush.html +3 -3
  26. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  27. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  28. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  29. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  30. package/docs/classes/PanoTagPluginController.html +13 -13
  31. package/docs/classes/Sculpt.html +3 -3
  32. package/docs/classes/Util.BetterTween.html +3 -3
  33. package/docs/classes/Util.Interval.html +3 -3
  34. package/docs/classes/Util.LineSegments.html +3 -3
  35. package/docs/classes/Util.Magnifier.html +3 -3
  36. package/docs/classes/Util.Object3D.html +3 -3
  37. package/docs/classes/Util.PointDomHelper.html +3 -3
  38. package/docs/classes/Util.PointHelper.html +3 -3
  39. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  40. package/docs/classes/Util.Rectangle.html +3 -3
  41. package/docs/classes/WalkController.html +14 -14
  42. package/docs/enums/CameraMovementEffect.html +3 -3
  43. package/docs/enums/ContentType.html +3 -3
  44. package/docs/enums/DIRECTION.html +3 -3
  45. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  46. package/docs/enums/DimensionType.html +3 -3
  47. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  48. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  49. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  50. package/docs/enums/PointType.html +3 -3
  51. package/docs/enums/Rotation.html +3 -3
  52. package/docs/functions/AreaMakerPlugin.html +3 -3
  53. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  54. package/docs/functions/CameraMovementPlugin.html +3 -3
  55. package/docs/functions/CruisePlugin.html +3 -3
  56. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  57. package/docs/functions/GuideLinePlugin.html +3 -3
  58. package/docs/functions/ItemLabelPlugin.html +3 -3
  59. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  60. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  62. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  63. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  64. package/docs/functions/ModelMakerPlugin.html +3 -3
  65. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  66. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  67. package/docs/functions/ModelViewPlugin.html +3 -3
  68. package/docs/functions/MovePlugin.html +3 -3
  69. package/docs/functions/Object3DHelperPlugin.html +3 -3
  70. package/docs/functions/PanoCompassPlugin.html +3 -3
  71. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  72. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  73. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  74. package/docs/functions/PanoMeasurePlugin.html +3 -3
  75. package/docs/functions/PanoRulerPlugin.html +3 -3
  76. package/docs/functions/PanoRulerProPlugin.html +3 -3
  77. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  78. package/docs/functions/PanoTagPlugin.html +3 -3
  79. package/docs/functions/PanoVideoPlugin.html +3 -3
  80. package/docs/functions/PipelinePlugin.html +3 -3
  81. package/docs/functions/SculptPlugin.html +3 -3
  82. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  83. package/docs/functions/Util.absoluteUrl.html +3 -3
  84. package/docs/functions/Util.blink.html +3 -3
  85. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  86. package/docs/functions/Util.equal.html +3 -3
  87. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  88. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  89. package/docs/functions/Util.getFrameTime.html +3 -3
  90. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  91. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  92. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  93. package/docs/functions/Util.isModelLike.html +3 -3
  94. package/docs/functions/Util.isNil.html +3 -3
  95. package/docs/functions/Util.isPanoramaLike.html +3 -3
  96. package/docs/functions/Util.nextFrame.html +3 -3
  97. package/docs/functions/Util.notNil.html +3 -3
  98. package/docs/functions/Util.reblink.html +3 -3
  99. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  100. package/docs/functions/Util.tweenProgress.html +3 -3
  101. package/docs/functions/Util.uuid.html +3 -3
  102. package/docs/functions/pluginFlag.html +3 -3
  103. package/docs/index.html +4 -4
  104. package/docs/interfaces/AddTagConfig.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
  108. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  111. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  112. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  113. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  114. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  115. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
  116. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  117. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  118. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
  120. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
  122. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  125. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  126. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  127. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  128. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  129. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
  130. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
  131. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  132. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  133. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  134. package/docs/interfaces/EventMap.html +5 -5
  135. package/docs/interfaces/FloorplanBounding.html +3 -3
  136. package/docs/interfaces/FloorplanData.html +3 -3
  137. package/docs/interfaces/FloorplanEntrance.html +3 -3
  138. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  139. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  140. package/docs/interfaces/FloorplanFloorData.html +3 -3
  141. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  142. package/docs/interfaces/FloorplanObserver.html +3 -3
  143. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  144. package/docs/interfaces/FloorplanPosition.html +3 -3
  145. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  146. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  147. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  148. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  149. package/docs/interfaces/FloorplanServerData.html +3 -3
  150. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  151. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  152. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  153. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  154. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  155. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  156. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  157. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  158. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  159. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  160. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  163. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  170. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  171. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  172. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  173. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  174. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  175. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  176. package/docs/interfaces/HelperOffset.html +3 -3
  177. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  178. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  179. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  180. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  181. package/docs/interfaces/MinMax.html +3 -3
  182. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  183. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  184. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  185. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  186. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  187. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  188. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  189. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.EventMap.html +5 -5
  191. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  193. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  194. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  195. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  196. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  197. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  198. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  199. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  200. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  201. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  202. package/docs/interfaces/Object3DHelperState.html +3 -3
  203. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  204. package/docs/interfaces/PaintBrushAction.html +3 -3
  205. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  206. package/docs/interfaces/PaintBrushState.html +3 -3
  207. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  208. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  209. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  210. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  211. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  212. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  213. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  214. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  215. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  216. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  217. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  218. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  219. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  220. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  226. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  227. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  228. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  229. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  231. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  232. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  233. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -5
  234. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  235. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  236. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  237. package/docs/interfaces/Point.html +3 -3
  238. package/docs/interfaces/Room.html +3 -3
  239. package/docs/interfaces/RoomInfo.html +3 -3
  240. package/docs/interfaces/RoomLabel.html +3 -3
  241. package/docs/interfaces/RoomRules.html +3 -3
  242. package/docs/interfaces/Rooms.html +3 -3
  243. package/docs/interfaces/Scissor.html +3 -3
  244. package/docs/interfaces/State.html +3 -3
  245. package/docs/interfaces/TagCacheInterface.html +3 -3
  246. package/docs/interfaces/TagConfig.html +3 -3
  247. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  248. package/docs/interfaces/TagIconUrl.html +3 -3
  249. package/docs/interfaces/TagObjectGroup.html +3 -3
  250. package/docs/interfaces/TagStyle.html +3 -3
  251. package/docs/interfaces/Tags.html +3 -3
  252. package/docs/interfaces/TemporaryState.html +3 -3
  253. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  254. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  255. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  256. package/docs/interfaces/Util.PointIntersection.html +3 -3
  257. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  258. package/docs/modules/AreaMakerPluginType.html +3 -3
  259. package/docs/modules/CruisePluginTypes.html +3 -3
  260. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  261. package/docs/modules/GuideLineItem.html +3 -3
  262. package/docs/modules/GuideLineModeItem.html +3 -3
  263. package/docs/modules/GuideLinePluginType.html +3 -3
  264. package/docs/modules/ModelMakerPluginType.html +3 -3
  265. package/docs/modules/PanoVideoPluginType.html +3 -3
  266. package/docs/modules/SculptData.html +3 -3
  267. package/docs/modules/Util.html +3 -3
  268. package/docs/modules.html +4 -4
  269. package/docs/types/AddObject3DHelperConfig.html +3 -3
  270. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  271. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  272. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  273. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  274. package/docs/types/ArrayPosition.html +3 -3
  275. package/docs/types/AudioAppearance.html +3 -3
  276. package/docs/types/CSS3DRenderExportType.html +3 -3
  277. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  278. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  279. package/docs/types/ClassFunctionParameters.html +3 -3
  280. package/docs/types/Color.html +3 -3
  281. package/docs/types/ContentTypeConfigKey.html +3 -3
  282. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  283. package/docs/types/ContentTypeMap.html +3 -3
  284. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  285. package/docs/types/Create3DElementReturnType.html +3 -3
  286. package/docs/types/CruisePluginExportType.html +3 -3
  287. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  288. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  289. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  290. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  291. package/docs/types/DeprecatedTagProperty.html +3 -3
  292. package/docs/types/Direction-1.html +3 -3
  293. package/docs/types/Direction4.html +3 -3
  294. package/docs/types/ElementRenderer.html +3 -3
  295. package/docs/types/FloorplanRuleLabels.html +3 -3
  296. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  297. package/docs/types/GuideLinePluginExportType.html +3 -3
  298. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  299. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  300. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  301. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  302. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  303. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  304. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  305. package/docs/types/HelperEventMap.html +3 -3
  306. package/docs/types/InternalHelperEventMap.html +3 -3
  307. package/docs/types/LoadTagConfig.html +3 -3
  308. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  309. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  310. package/docs/types/MediaData.html +3 -3
  311. package/docs/types/MediaStore.html +3 -3
  312. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  313. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  314. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  315. package/docs/types/ModelId.html +3 -3
  316. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  317. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  318. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  319. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  320. package/docs/types/MoveArgs.html +3 -3
  321. package/docs/types/MoveOpts.html +3 -3
  322. package/docs/types/Object3DHelperEventMap.html +3 -3
  323. package/docs/types/ObjectFit.html +3 -3
  324. package/docs/types/PaintBrushEventMap.html +3 -3
  325. package/docs/types/PanoCompassPluginData.html +3 -3
  326. package/docs/types/PanoCompassPluginExportType.html +3 -3
  327. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  328. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  329. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  330. package/docs/types/PanoIndex.html +3 -3
  331. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  332. package/docs/types/PanoMeasureReturnType.html +3 -3
  333. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  334. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  335. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  336. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  337. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  338. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  339. package/docs/types/PipelinePluginParameterType.html +3 -3
  340. package/docs/types/PipelinePluginReturnType.html +3 -3
  341. package/docs/types/PlaneTag.html +3 -3
  342. package/docs/types/Point2DTag.html +3 -3
  343. package/docs/types/Point3DTag.html +3 -3
  344. package/docs/types/PointTag.html +3 -3
  345. package/docs/types/PointTagInstance.html +3 -3
  346. package/docs/types/Position.html +3 -3
  347. package/docs/types/PositionFrom.html +3 -3
  348. package/docs/types/RotateArgs.html +3 -3
  349. package/docs/types/RotateOpts.html +3 -3
  350. package/docs/types/RuleLabelsKey.html +3 -3
  351. package/docs/types/RuleLabelsValue.html +3 -3
  352. package/docs/types/ScaleCallback.html +3 -3
  353. package/docs/types/ScalePosition.html +3 -3
  354. package/docs/types/SculptData.BoxData.html +3 -3
  355. package/docs/types/SculptData.CircleData.html +3 -3
  356. package/docs/types/SculptData.CylinderData.html +3 -3
  357. package/docs/types/SculptData.PointData.html +3 -3
  358. package/docs/types/SculptData.PolygonData.html +3 -3
  359. package/docs/types/SculptData.PolylineData.html +3 -3
  360. package/docs/types/SculptData.PrismData.html +3 -3
  361. package/docs/types/SculptData.RectangleData.html +3 -3
  362. package/docs/types/StickType.html +3 -3
  363. package/docs/types/Tag.html +3 -3
  364. package/docs/types/Tag2D.html +3 -3
  365. package/docs/types/Tag3D.html +3 -3
  366. package/docs/types/TagConfigByKey.html +3 -3
  367. package/docs/types/TagContentType.html +3 -3
  368. package/docs/types/TagContentTypeMapping.html +3 -3
  369. package/docs/types/TagDimensionType.html +3 -3
  370. package/docs/types/TagElement.html +3 -3
  371. package/docs/types/TagEvents.html +3 -3
  372. package/docs/types/TagGLTFObject.html +3 -3
  373. package/docs/types/TagHooks.html +3 -3
  374. package/docs/types/TagId.html +3 -3
  375. package/docs/types/TagInstance.html +3 -3
  376. package/docs/types/TagPointType.html +3 -3
  377. package/docs/types/TagRendererMap.html +3 -3
  378. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  379. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  380. package/docs/types/WorkCode.html +3 -3
  381. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  382. package/docs/variables/PLUGIN.html +3 -3
  383. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  384. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  385. package/docs/variables/defaultGlobalConfig.html +3 -3
  386. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  387. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  388. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  389. package/libs/AreaMakerPlugin/Controller.js +2 -3
  390. package/libs/AreaMakerPlugin/index.js +2 -3
  391. package/libs/AreaMakerPlugin/utils/Item.js +14 -15
  392. package/libs/CSS3DRenderPlugin/Controller.js +2 -3
  393. package/libs/CSS3DRenderPlugin/index.js +5 -6
  394. package/libs/CruisePlugin/BaseController.js +4 -5
  395. package/libs/CruisePlugin/Move.js +1 -1
  396. package/libs/CruisePlugin/Work.js +1 -1
  397. package/libs/CruisePlugin/index.js +1 -1
  398. package/libs/CurrentPanoImagePlugin/Controller.js +10 -11
  399. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  400. package/libs/GuideLinePlugin/Controller.js +1 -1
  401. package/libs/GuideLinePlugin/GuideLineItem/index.js +8 -8
  402. package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  403. package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
  404. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
  405. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  406. package/libs/GuideLinePlugin/index.js +1 -1
  407. package/libs/ModelMakerPlugin/Controller.js +11 -12
  408. package/libs/ModelMakerPlugin/index.js +2 -3
  409. package/libs/ModelMakerPlugin/item/baseItem.js +14 -14
  410. package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
  411. package/libs/ModelTVVideoPlugin/index.js +2 -3
  412. package/libs/Object3DHelperPlugin/Controller.js +3 -4
  413. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
  414. package/libs/Object3DHelperPlugin/index.js +5 -6
  415. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
  416. package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
  417. package/libs/PanoMeasurePlugin/Controller/MixedController.js +4 -3
  418. package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  419. package/libs/PanoMeasurePlugin/Controller/index.js +57 -50
  420. package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
  421. package/libs/PanoMeasurePlugin/Model/index.js +7 -6
  422. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
  423. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
  424. package/libs/PanoMeasurePlugin/index.js +18 -14
  425. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
  426. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -21
  427. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
  428. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
  429. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  430. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  431. package/libs/PanoTagPlugin/controller/TagCache.js +2 -3
  432. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  433. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  434. package/libs/PanoVideoPlugin/Controller.js +2 -3
  435. package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
  436. package/libs/PanoVideoPlugin/index.js +5 -6
  437. package/libs/PipelinePlugin/Controller.js +22 -23
  438. package/libs/PipelinePlugin/index.js +3 -4
  439. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
  440. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
  441. package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
  442. package/libs/Sculpt/Meshes/Box.js +2 -3
  443. package/libs/Sculpt/Meshes/Cylinder.js +2 -3
  444. package/libs/Sculpt/Meshes/Line.js +2 -3
  445. package/libs/Sculpt/Meshes/LineWithDots.js +2 -3
  446. package/libs/Sculpt/Meshes/Point.js +2 -3
  447. package/libs/Sculpt/Meshes/Polyline.js +4 -5
  448. package/libs/Sculpt/Meshes/Prism.js +10 -11
  449. package/libs/Sculpt/Meshes/Rectangle.js +2 -3
  450. package/libs/Sculpt/Objects/Base/index.js +21 -24
  451. package/libs/Sculpt/Objects/Polyline/Editor.js +10 -11
  452. package/libs/Sculpt/index.js +13 -14
  453. package/libs/Sculpt/utils/three/ColoredMesh.js +6 -7
  454. package/libs/base/BasePlugin.d.ts +2 -1
  455. package/libs/base/BasePlugin.js +3 -4
  456. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
  457. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  458. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
  459. package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
  460. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
  461. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
  462. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
  463. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  464. package/libs/floorplan/index.js +0 -1
  465. package/libs/index.js +126 -125
  466. package/libs/shared-utils/logger.js +1 -1
  467. package/libs/shared-utils/tag.d.ts +4 -1
  468. package/libs/shared-utils/tag.js +33 -29
  469. package/libs/shared-utils/three/Magnifier.d.ts +1 -1
  470. package/libs/shared-utils/three/Magnifier.js +1 -1
  471. package/libs/shared-utils/three/PointDomHelper.js +2 -3
  472. package/libs/shared-utils/three/PointSelectorHelper.d.ts +1 -1
  473. package/libs/shared-utils/three/PointSelectorHelper.js +6 -6
  474. package/libs/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
  475. package/libs/shared-utils/three/applyObjectMatrixWorld.js +10 -0
  476. package/libs/shared-utils/three/index.js +0 -1
  477. package/package.json +1 -1
@@ -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 被创建的线条
@@ -1,8 +1,8 @@
1
1
  var t = Object.defineProperty;
2
2
  var l = (s, e, i) => e in s ? t(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i;
3
3
  var r = (s, e, i) => (l(s, typeof e != "symbol" ? e + "" : e, i), i);
4
- import { Polyline as n } from "./polyline.js";
5
- import { Subscribe as p } from "@realsee/five";
4
+ import { Subscribe as n } from "../../shared-utils/Subscribe.js";
5
+ import { Polyline as p } from "./polyline.js";
6
6
  import "./line.js";
7
7
  import "../../shared-utils/uuid.js";
8
8
  import "../utils/line.js";
@@ -10,17 +10,18 @@ import "../../shared-utils/five/FiveLine.js";
10
10
  import "@realsee/five/line";
11
11
  import "../utils/constants.js";
12
12
  import "three";
13
+ import "@realsee/five";
13
14
  import "../utils/dom/distanceItem.js";
14
15
  import "../utils/dom/base.js";
15
16
  import "../utils/isNDCPointInScreen.js";
16
17
  import "../../shared-utils/three/centerPoint.js";
17
18
  import "./point.js";
18
- class v {
19
+ class x {
19
20
  constructor(e) {
20
21
  r(this, "config");
21
22
  r(this, "polylines", []);
22
23
  r(this, "areas", []);
23
- r(this, "hook", new p());
24
+ r(this, "hook", new n());
24
25
  this.config = e;
25
26
  }
26
27
  addPolyline(e) {
@@ -87,7 +88,7 @@ class v {
87
88
  getClosestPoint() {
88
89
  }
89
90
  parse(e) {
90
- this.clear(), this.polylines.push(...e.polylines.map((i) => new n({ model: this }).fromJson(i))), this.polylines.forEach((i) => this.hook.emit("polylineAdded", i));
91
+ this.clear(), this.polylines.push(...e.polylines.map((i) => new p({ model: this }).fromJson(i))), this.polylines.forEach((i) => this.hook.emit("polylineAdded", i));
91
92
  }
92
93
  toJson() {
93
94
  return {
@@ -96,5 +97,5 @@ class v {
96
97
  }
97
98
  }
98
99
  export {
99
- v as Model
100
+ x as Model
100
101
  };
@@ -3,9 +3,9 @@ import "three";
3
3
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
4
4
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
5
5
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
6
- import "@realsee/five";
7
6
  import "animejs";
8
7
  import "hammerjs";
8
+ import "../../shared-utils/Subscribe.js";
9
9
  import "../../shared-utils/positionToVector3.js";
10
10
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
11
11
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -13,7 +13,6 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
13
  import "../../shared-utils/util.js";
14
14
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
15
15
  import "../../CSS3DRenderPlugin/utils/even.js";
16
- import "../../shared-utils/Subscribe.js";
17
16
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
17
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
19
18
  import "../../shared-utils/three/centerPoint.js";
@@ -1,8 +1,9 @@
1
- import type { Five, Subscribe } from '@realsee/five';
1
+ import type { Five } from '@realsee/five';
2
2
  import type { Group } from 'three';
3
3
  import type { Model } from '../../Model';
4
4
  import type { PanoMeasurePluginEvent } from '../../typings/event.type';
5
5
  import type { OpenParameter } from '../../typings/data';
6
+ import type { Subscribe } from '../../../shared-utils/Subscribe';
6
7
  export interface RangePieceControllerParams {
7
8
  openParams: OpenParameter;
8
9
  container: Element;
@@ -1,15 +1,14 @@
1
1
  import t from "./Controller/index.js";
2
- import { Magnifier as $o } from "../shared-utils/three/Magnifier.js";
2
+ import { Magnifier as ir } from "../shared-utils/three/Magnifier.js";
3
3
  import "three";
4
4
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
5
5
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
6
6
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
7
- import "@realsee/five";
8
7
  import "animejs";
9
- import { Model as rr } from "./Model/index.js";
10
- import { default as ir } from "./Model/point.js";
11
- import { default as pr } from "./Model/line.js";
12
- import { Polyline as nr } from "./Model/polyline.js";
8
+ import { Model as pr } from "./Model/index.js";
9
+ import { default as nr } from "./Model/point.js";
10
+ import { default as ur } from "./Model/line.js";
11
+ import { Polyline as Pr } from "./Model/polyline.js";
13
12
  import "./Controller/EditController.js";
14
13
  import "../shared-utils/throttle.js";
15
14
  import "./Controller/BaseController.js";
@@ -19,6 +18,7 @@ import "./utils/line.js";
19
18
  import "../shared-utils/five/FiveLine.js";
20
19
  import "@realsee/five/line";
21
20
  import "./utils/constants.js";
21
+ import "@realsee/five";
22
22
  import "./utils/dom/distanceItem.js";
23
23
  import "./utils/dom/base.js";
24
24
  import "./utils/isNDCPointInScreen.js";
@@ -102,15 +102,19 @@ import "../vendor/object-assign-deep/objectAssignDeep.js";
102
102
  import "./Components/Tip.js";
103
103
  import "./Controller/ShortcutKeyController.js";
104
104
  import "../shared-utils/safeObj.js";
105
- const Yo = function(o, r) {
105
+ import "../base/BasePlugin.js";
106
+ import "../shared-utils/Utils/WorkUtil.js";
107
+ import "../shared-utils/Utils/BaseUtil.js";
108
+ import "../shared-utils/five/transformPosition.js";
109
+ const or = function(o, r) {
106
110
  return new t(o, r);
107
111
  };
108
112
  export {
109
- $o as Magnifier,
110
- Yo as PanoMeasurePlugin,
111
- pr as PanoMeasurePluginLine,
112
- rr as PanoMeasurePluginModel,
113
- ir as PanoMeasurePluginPoint,
114
- nr as PanoMeasurePluginPolyline,
115
- Yo as default
113
+ ir as Magnifier,
114
+ or as PanoMeasurePlugin,
115
+ ur as PanoMeasurePluginLine,
116
+ pr as PanoMeasurePluginModel,
117
+ nr as PanoMeasurePluginPoint,
118
+ Pr as PanoMeasurePluginPolyline,
119
+ or as default
116
120
  };
@@ -15,7 +15,6 @@ import { ItemDom as y } from "./base.js";
15
15
  import { getGeometryInfo as I } from "../../../shared-utils/three/geometryUtil.js";
16
16
  import "hammerjs";
17
17
  import "three";
18
- import "@realsee/five";
19
18
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
20
19
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
20
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -36,7 +35,7 @@ import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
36
35
  import "../../../shared-utils/three/getObjectVisible.js";
37
36
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
38
37
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
39
- class X extends y {
38
+ class W extends y {
40
39
  constructor(t) {
41
40
  t.containerStyle = s(p({}, t.containerStyle), {
42
41
  zIndex: "1"
@@ -67,5 +66,5 @@ class X extends y {
67
66
  }
68
67
  }
69
68
  export {
70
- X as AreaItem
69
+ W as AreaItem
71
70
  };
@@ -1,24 +1,24 @@
1
- var $ = Object.defineProperty, j = Object.defineProperties;
2
- var w = Object.getOwnPropertyDescriptors;
1
+ var j = Object.defineProperty, w = Object.defineProperties;
2
+ var H = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
- var H = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
5
- var u = (e, n, t) => n in e ? $(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, b = (e, n) => {
6
- for (var t in n || (n = {}))
7
- H.call(n, t) && u(e, t, n[t]);
4
+ var z = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
+ var u = (n, e, t) => e in n ? j(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, y = (n, e) => {
6
+ for (var t in e || (e = {}))
7
+ z.call(e, t) && u(n, t, e[t]);
8
8
  if (P)
9
- for (var t of P(n))
10
- z.call(n, t) && u(e, t, n[t]);
11
- return e;
12
- }, y = (e, n) => j(e, w(n));
13
- var C = (e, n, t) => (u(e, typeof n != "symbol" ? n + "" : n, t), t);
14
- import { ItemDom as F } from "./base.js";
9
+ for (var t of P(e))
10
+ F.call(e, t) && u(n, t, e[t]);
11
+ return n;
12
+ }, b = (n, e) => w(n, H(e));
13
+ var C = (n, e, t) => (u(n, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import { ItemDom as Y } from "./base.js";
15
15
  import { Vector2 as I } from "three";
16
16
  import { isNDCPointInFront as g } from "../isNDCPointInScreen.js";
17
- import { centerPoint as Y } from "../../../shared-utils/three/centerPoint.js";
18
- class A extends F {
17
+ import { centerPoint as k } from "../../../shared-utils/three/centerPoint.js";
18
+ class B extends Y {
19
19
  constructor(t) {
20
20
  var o;
21
- t.contentStyle = y(b({}, t.contentStyle), {
21
+ t.contentStyle = b(y({}, t.contentStyle), {
22
22
  background: "rgba(195,195,195,0.70)",
23
23
  border: "0.5px solid rgba(255,255,255,0.6)",
24
24
  borderRadius: "999px"
@@ -39,15 +39,15 @@ class A extends F {
39
39
  const a = o.clientWidth, r = o.clientHeight, d = a / 2, c = r / 2;
40
40
  if (this.line.points.length < 2)
41
41
  return;
42
- const [l, h] = this.line.points, i = l.position.clone().project(t.camera), s = h.position.clone().project(t.camera), m = Y(l.position, h.position).clone().project(t.camera), p = new I(i.x * d, i.y * c), f = new I(s.x * d, s.y * c), x = p.distanceTo(f);
42
+ const [l, h] = this.line.points.map(($) => $.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), i = l.clone().project(t.camera), s = h.clone().project(t.camera), m = k(l, h).clone().project(t.camera), p = new I(i.x * d, i.y * c), f = new I(s.x * d, s.y * c), x = p.distanceTo(f);
43
43
  if ((() => !(Math.abs(i.z) > 1 || Math.abs(s.z) > 1 || !g(i) && !g(s) || !g(m) || x === 0))() === !1) {
44
44
  this.hide();
45
45
  return;
46
46
  }
47
- const S = (m.x + 1) / 2 * a, E = -(m.y - 1) / 2 * r, M = -(Math.atan((p.y - f.y) / (p.x - f.x)) * 180) / Math.PI, T = this.containerDom.parentElement && this.contentDom.clientWidth > x ? -20 : 0;
48
- this.containerDom.style.transform = `translate(${S}px, ${E}px) rotate(${M}deg) translateY(${T}px)`, this.show(), (D = this.params.userDistanceItem) == null || D.update({ line: this.line, polyline: this.line.getPolyline() });
49
- const W = this.getCurrentContent();
50
- this.contentDom.innerText = W;
47
+ const S = (m.x + 1) / 2 * a, E = -(m.y - 1) / 2 * r, M = -(Math.atan((p.y - f.y) / (p.x - f.x)) * 180) / Math.PI, W = this.containerDom.parentElement && this.contentDom.clientWidth > x ? -20 : 0;
48
+ this.containerDom.style.transform = `translate(${S}px, ${E}px) rotate(${M}deg) translateY(${W}px)`, this.show(), (D = this.params.userDistanceItem) == null || D.update({ line: this.line, polyline: this.line.getPolyline() });
49
+ const T = this.getCurrentContent();
50
+ this.contentDom.innerText = T;
51
51
  }
52
52
  /** 获取内容文本 */
53
53
  getCurrentContent() {
@@ -59,5 +59,5 @@ class A extends F {
59
59
  }
60
60
  }
61
61
  export {
62
- A as DistanceItem
62
+ B as DistanceItem
63
63
  };
@@ -1,7 +1,6 @@
1
1
  import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as C, text as S, attr as d, set_style as L, null_to_empty as D, toggle_class as H, insert as y, mount_component as ne, append as q, set_data as P, transition_in as oe, transition_out as ae, detach as T, destroy_component as ce, src_url_equal as F, action_destroyer as fe, listen as me, destroy_each as O, run_all as ge } from "../../../vendor/svelte/internal/index.js";
2
2
  import "hammerjs";
3
3
  import "three";
4
- import "@realsee/five";
5
4
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
6
5
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
7
6
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -424,11 +423,11 @@ function ze(l, e, t) {
424
423
  U
425
424
  ];
426
425
  }
427
- class Ke extends te {
426
+ class Je extends te {
428
427
  constructor(e) {
429
428
  super(), le(this, e, ze, ue, ie, { tag: 0 }, he);
430
429
  }
431
430
  }
432
431
  export {
433
- Ke as default
432
+ Je as default
434
433
  };
@@ -64,7 +64,6 @@ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
64
64
  import "../../../vendor/svelte-carousel/src/utils/interval.js";
65
65
  import "../Common/MediaItem.js";
66
66
  import "hammerjs";
67
- import "@realsee/five";
68
67
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
69
68
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
70
69
  import "../../../shared-utils/positionToVector3.js";
@@ -729,7 +728,7 @@ function TA(n, A, t) {
729
728
  G
730
729
  ];
731
730
  }
732
- class ct extends tA {
731
+ class ut extends tA {
733
732
  constructor(A) {
734
733
  super(), nA(
735
734
  this,
@@ -752,5 +751,5 @@ class ct extends tA {
752
751
  }
753
752
  }
754
753
  export {
755
- ct as default
754
+ ut as default
756
755
  };
@@ -59,7 +59,6 @@ import "../../vendor/svelte-carousel/src/utils/interval.js";
59
59
  import "./Common/MediaItem.js";
60
60
  import "./Tag/MarketingTag.js";
61
61
  import "hammerjs";
62
- import "@realsee/five";
63
62
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
64
63
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
65
64
  import "../../shared-utils/positionToVector3.js";
@@ -297,7 +296,7 @@ function K(p, t, e) {
297
296
  n
298
297
  ];
299
298
  }
300
- class qe extends A {
299
+ class Te extends A {
301
300
  constructor(t) {
302
301
  super(), z(
303
302
  this,
@@ -321,5 +320,5 @@ class qe extends A {
321
320
  }
322
321
  }
323
322
  export {
324
- qe as default
323
+ Te as default
325
324
  };
@@ -61,7 +61,6 @@ import "../../vendor/svelte-carousel/src/utils/interval.js";
61
61
  import "./Common/MediaItem.js";
62
62
  import "./Tag/MarketingTag.js";
63
63
  import "hammerjs";
64
- import "@realsee/five";
65
64
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
66
65
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
67
66
  import "../../shared-utils/positionToVector3.js";
@@ -494,7 +493,7 @@ function fe(n, e, i) {
494
493
  C
495
494
  ];
496
495
  }
497
- class Yt extends U {
496
+ class Xt extends U {
498
497
  constructor(e) {
499
498
  super(), W(
500
499
  this,
@@ -516,5 +515,5 @@ class Yt extends U {
516
515
  }
517
516
  }
518
517
  export {
519
- Yt as default
518
+ Xt as default
520
519
  };
@@ -5,7 +5,6 @@ import { Controller as g } from "../../base/BasePlugin.js";
5
5
  import "../../shared-utils/Subscribe.js";
6
6
  import "hammerjs";
7
7
  import "three";
8
- import "@realsee/five";
9
8
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
10
9
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
11
10
  import "../../shared-utils/positionToVector3.js";
@@ -27,7 +26,7 @@ import "../../shared-utils/url/absoluteUrl.js";
27
26
  import "../../shared-utils/Utils/WorkUtil.js";
28
27
  import "../../shared-utils/Utils/BaseUtil.js";
29
28
  import "../../shared-utils/five/transformPosition.js";
30
- class J extends g {
29
+ class H extends g {
31
30
  constructor(t) {
32
31
  super(t);
33
32
  s(this, "tagCacheByPanoIndex", {});
@@ -62,5 +61,5 @@ class J extends g {
62
61
  }
63
62
  }
64
63
  export {
65
- J as TagCache
64
+ H as TagCache
66
65
  };
@@ -25,7 +25,6 @@ import { getTagCenterPosition as k, getTagPosition as q } from "../utils/tagPosi
25
25
  import { checkRange as P } from "../utils/checkRange.js";
26
26
  import { isPanoramaLike as x, isModelLike as H } from "../../shared-utils/five/mode.js";
27
27
  import "hammerjs";
28
- import "@realsee/five";
29
28
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
30
29
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
31
30
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -65,6 +64,7 @@ import "../../shared-utils/device.js";
65
64
  import "../../CSS3DRenderPlugin/index.js";
66
65
  import "../../CSS3DRenderPlugin/Controller.js";
67
66
  import "../../shared-utils/five/fiveModelLoad.js";
67
+ import "@realsee/five";
68
68
  import "../utils/model/mediaPlane.js";
69
69
  import "../../shared-utils/three/loadTexture.js";
70
70
  import "../../shared-utils/three/Quadrangle.js";
@@ -40,7 +40,6 @@ import "../utils/tagPosition.js";
40
40
  import "../utils/checkRange.js";
41
41
  import "../../shared-utils/five/mode.js";
42
42
  import "hammerjs";
43
- import "@realsee/five";
44
43
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
45
44
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
46
45
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -76,6 +75,7 @@ import "../../shared-utils/device.js";
76
75
  import "../../CSS3DRenderPlugin/index.js";
77
76
  import "../../CSS3DRenderPlugin/Controller.js";
78
77
  import "../../shared-utils/five/fiveModelLoad.js";
78
+ import "@realsee/five";
79
79
  import "../../shared-utils/five/FiveDomEvents.js";
80
80
  import "../../shared-utils/five/calculateThreeMouse.js";
81
81
  import "../utils/tag/adaptConfig.js";
@@ -16,7 +16,6 @@ import { Controller as _ } from "../base/BasePlugin.js";
16
16
  import "./utils/shader.js";
17
17
  import "hammerjs";
18
18
  import "three";
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 "../shared-utils/positionToVector3.js";
@@ -41,7 +40,7 @@ import "../shared-utils/url/absoluteUrl.js";
41
40
  import "../shared-utils/Utils/WorkUtil.js";
42
41
  import "../shared-utils/Utils/BaseUtil.js";
43
42
  import "../shared-utils/five/transformPosition.js";
44
- class Y extends _ {
43
+ class X extends _ {
45
44
  constructor(r) {
46
45
  super(r);
47
46
  s(this, "controllerMap", /* @__PURE__ */ new Map());
@@ -184,5 +183,5 @@ class Y extends _ {
184
183
  }
185
184
  }
186
185
  export {
187
- Y as PanoVideoPluginController
186
+ X as PanoVideoPluginController
188
187
  };