@realsee/dnalogel 3.36.7 → 3.36.9

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 (383) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.cjs.js +24 -24
  3. package/dist/index.js +1707 -1703
  4. package/dist/index.umd.js +24 -24
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  7. package/docs/classes/CSS3DRender.html +3 -3
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  10. package/docs/classes/ModelMakerPluginInstance.html +3 -3
  11. package/docs/classes/ModelRoomLabelController.html +3 -3
  12. package/docs/classes/MoveController.html +3 -3
  13. package/docs/classes/Object3DHelperController.html +3 -3
  14. package/docs/classes/PaintBrush.html +3 -3
  15. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  16. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  17. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  18. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  19. package/docs/classes/PanoTagPluginController.html +3 -3
  20. package/docs/classes/Sculpt.html +3 -3
  21. package/docs/classes/Util.BetterTween.html +3 -3
  22. package/docs/classes/Util.Interval.html +3 -3
  23. package/docs/classes/Util.LineSegments.html +3 -3
  24. package/docs/classes/Util.Magnifier.html +3 -3
  25. package/docs/classes/Util.Object3D.html +3 -3
  26. package/docs/classes/Util.PointDomHelper.html +3 -3
  27. package/docs/classes/Util.PointHelper.html +3 -3
  28. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  29. package/docs/classes/Util.Rectangle.html +3 -3
  30. package/docs/classes/WalkController.html +3 -3
  31. package/docs/enums/CameraMovementEffect.html +3 -3
  32. package/docs/enums/ContentType.html +3 -3
  33. package/docs/enums/DIRECTION.html +3 -3
  34. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  35. package/docs/enums/DimensionType.html +3 -3
  36. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  37. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  38. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  39. package/docs/enums/PointType.html +3 -3
  40. package/docs/enums/Rotation.html +3 -3
  41. package/docs/functions/AreaMakerPlugin.html +3 -3
  42. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  43. package/docs/functions/CameraMovementPlugin.html +3 -3
  44. package/docs/functions/CruisePlugin.html +3 -3
  45. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  46. package/docs/functions/GuideLinePlugin.html +3 -3
  47. package/docs/functions/ItemLabelPlugin.html +3 -3
  48. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  51. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  52. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  53. package/docs/functions/ModelMakerPlugin.html +3 -3
  54. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  55. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  56. package/docs/functions/ModelViewPlugin.html +3 -3
  57. package/docs/functions/MovePlugin.html +3 -3
  58. package/docs/functions/Object3DHelperPlugin.html +3 -3
  59. package/docs/functions/PanoCompassPlugin.html +3 -3
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  61. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  63. package/docs/functions/PanoMeasurePlugin.html +3 -3
  64. package/docs/functions/PanoRulerPlugin.html +3 -3
  65. package/docs/functions/PanoRulerProPlugin.html +3 -3
  66. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  67. package/docs/functions/PanoTagPlugin.html +3 -3
  68. package/docs/functions/PanoVideoPlugin.html +3 -3
  69. package/docs/functions/PipelinePlugin.html +3 -3
  70. package/docs/functions/SculptPlugin.html +3 -3
  71. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  72. package/docs/functions/Util.absoluteUrl.html +3 -3
  73. package/docs/functions/Util.blink.html +3 -3
  74. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  75. package/docs/functions/Util.equal.html +3 -3
  76. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  77. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  78. package/docs/functions/Util.getFrameTime.html +3 -3
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  81. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  82. package/docs/functions/Util.isModelLike.html +3 -3
  83. package/docs/functions/Util.isNil.html +3 -3
  84. package/docs/functions/Util.isPanoramaLike.html +3 -3
  85. package/docs/functions/Util.nextFrame.html +3 -3
  86. package/docs/functions/Util.notNil.html +3 -3
  87. package/docs/functions/Util.reblink.html +3 -3
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  89. package/docs/functions/Util.tweenProgress.html +3 -3
  90. package/docs/functions/Util.uuid.html +3 -3
  91. package/docs/functions/pluginFlag.html +3 -3
  92. package/docs/index.html +4 -4
  93. package/docs/interfaces/AddTagConfig.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  105. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  106. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  107. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  120. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  121. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  122. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  123. package/docs/interfaces/EventMap.html +3 -3
  124. package/docs/interfaces/FloorplanBounding.html +3 -3
  125. package/docs/interfaces/FloorplanData.html +3 -3
  126. package/docs/interfaces/FloorplanEntrance.html +3 -3
  127. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  128. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  129. package/docs/interfaces/FloorplanFloorData.html +3 -3
  130. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  131. package/docs/interfaces/FloorplanObserver.html +3 -3
  132. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  133. package/docs/interfaces/FloorplanPosition.html +3 -3
  134. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  135. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  136. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  137. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  138. package/docs/interfaces/FloorplanServerData.html +3 -3
  139. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  140. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  141. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  142. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  143. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  145. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  146. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  147. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  148. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  149. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  165. package/docs/interfaces/HelperOffset.html +3 -3
  166. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  167. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  168. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  169. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  170. package/docs/interfaces/MinMax.html +3 -3
  171. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  172. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  173. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  174. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  175. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  176. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  177. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  178. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  186. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  187. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  188. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  189. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  190. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  191. package/docs/interfaces/Object3DHelperState.html +3 -3
  192. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  193. package/docs/interfaces/PaintBrushAction.html +3 -3
  194. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  195. package/docs/interfaces/PaintBrushState.html +3 -3
  196. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  197. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  198. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  200. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  201. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  202. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  203. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  205. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  207. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  208. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  209. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  226. package/docs/interfaces/Point.html +3 -3
  227. package/docs/interfaces/Room.html +3 -3
  228. package/docs/interfaces/RoomInfo.html +3 -3
  229. package/docs/interfaces/RoomLabel.html +3 -3
  230. package/docs/interfaces/RoomRules.html +3 -3
  231. package/docs/interfaces/Rooms.html +3 -3
  232. package/docs/interfaces/Scissor.html +3 -3
  233. package/docs/interfaces/State.html +3 -3
  234. package/docs/interfaces/TagCacheInterface.html +3 -3
  235. package/docs/interfaces/TagConfig.html +3 -3
  236. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  237. package/docs/interfaces/TagIconUrl.html +3 -3
  238. package/docs/interfaces/TagObjectGroup.html +3 -3
  239. package/docs/interfaces/TagStyle.html +3 -3
  240. package/docs/interfaces/Tags.html +3 -3
  241. package/docs/interfaces/TemporaryState.html +3 -3
  242. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  243. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  244. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  245. package/docs/interfaces/Util.PointIntersection.html +3 -3
  246. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  247. package/docs/modules/AreaMakerPluginType.html +3 -3
  248. package/docs/modules/CruisePluginTypes.html +3 -3
  249. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  250. package/docs/modules/GuideLineItem.html +3 -3
  251. package/docs/modules/GuideLineModeItem.html +3 -3
  252. package/docs/modules/GuideLinePluginType.html +3 -3
  253. package/docs/modules/ModelMakerPluginType.html +3 -3
  254. package/docs/modules/PanoVideoPluginType.html +3 -3
  255. package/docs/modules/SculptData.html +3 -3
  256. package/docs/modules/Util.html +3 -3
  257. package/docs/modules.html +4 -4
  258. package/docs/types/AddObject3DHelperConfig.html +3 -3
  259. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  260. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  261. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  262. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  263. package/docs/types/ArrayPosition.html +3 -3
  264. package/docs/types/AudioAppearance.html +3 -3
  265. package/docs/types/CSS3DRenderExportType.html +3 -3
  266. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  267. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  268. package/docs/types/ClassFunctionParameters.html +3 -3
  269. package/docs/types/Color.html +3 -3
  270. package/docs/types/ContentTypeConfigKey.html +3 -3
  271. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  272. package/docs/types/ContentTypeMap.html +3 -3
  273. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  274. package/docs/types/Create3DElementReturnType.html +3 -3
  275. package/docs/types/CruisePluginExportType.html +3 -3
  276. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  277. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  278. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  279. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  280. package/docs/types/DeprecatedTagProperty.html +3 -3
  281. package/docs/types/Direction-1.html +3 -3
  282. package/docs/types/Direction4.html +3 -3
  283. package/docs/types/ElementRenderer.html +3 -3
  284. package/docs/types/FloorplanRuleLabels.html +3 -3
  285. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  286. package/docs/types/GuideLinePluginExportType.html +3 -3
  287. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  288. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  289. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  290. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  291. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  292. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  293. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  294. package/docs/types/HelperEventMap.html +3 -3
  295. package/docs/types/InternalHelperEventMap.html +3 -3
  296. package/docs/types/LoadTagConfig.html +3 -3
  297. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  298. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  299. package/docs/types/MediaData.html +3 -3
  300. package/docs/types/MediaStore.html +3 -3
  301. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  302. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  303. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  304. package/docs/types/ModelId.html +3 -3
  305. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  306. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  307. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  308. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  309. package/docs/types/MoveArgs.html +3 -3
  310. package/docs/types/MoveOpts.html +3 -3
  311. package/docs/types/Object3DHelperEventMap.html +3 -3
  312. package/docs/types/ObjectFit.html +3 -3
  313. package/docs/types/PaintBrushEventMap.html +3 -3
  314. package/docs/types/PanoCompassPluginData.html +3 -3
  315. package/docs/types/PanoCompassPluginExportType.html +3 -3
  316. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  317. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  318. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  319. package/docs/types/PanoIndex.html +3 -3
  320. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  321. package/docs/types/PanoMeasureReturnType.html +3 -3
  322. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  323. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  324. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  325. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  326. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  327. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  328. package/docs/types/PipelinePluginParameterType.html +3 -3
  329. package/docs/types/PipelinePluginReturnType.html +3 -3
  330. package/docs/types/PlaneTag.html +3 -3
  331. package/docs/types/Point2DTag.html +3 -3
  332. package/docs/types/Point3DTag.html +3 -3
  333. package/docs/types/PointTag.html +3 -3
  334. package/docs/types/PointTagInstance.html +3 -3
  335. package/docs/types/Position.html +3 -3
  336. package/docs/types/PositionFrom.html +3 -3
  337. package/docs/types/RotateArgs.html +3 -3
  338. package/docs/types/RotateOpts.html +3 -3
  339. package/docs/types/RuleLabelsKey.html +3 -3
  340. package/docs/types/RuleLabelsValue.html +3 -3
  341. package/docs/types/ScaleCallback.html +3 -3
  342. package/docs/types/ScalePosition.html +3 -3
  343. package/docs/types/SculptData.BoxData.html +3 -3
  344. package/docs/types/SculptData.CircleData.html +3 -3
  345. package/docs/types/SculptData.CylinderData.html +3 -3
  346. package/docs/types/SculptData.PointData.html +3 -3
  347. package/docs/types/SculptData.PolygonData.html +3 -3
  348. package/docs/types/SculptData.PolylineData.html +3 -3
  349. package/docs/types/SculptData.PrismData.html +3 -3
  350. package/docs/types/SculptData.RectangleData.html +3 -3
  351. package/docs/types/StickType.html +3 -3
  352. package/docs/types/Tag.html +3 -3
  353. package/docs/types/Tag2D.html +3 -3
  354. package/docs/types/Tag3D.html +3 -3
  355. package/docs/types/TagConfigByKey.html +3 -3
  356. package/docs/types/TagContentType.html +3 -3
  357. package/docs/types/TagContentTypeMapping.html +3 -3
  358. package/docs/types/TagDimensionType.html +3 -3
  359. package/docs/types/TagElement.html +3 -3
  360. package/docs/types/TagEvents.html +3 -3
  361. package/docs/types/TagGLTFObject.html +3 -3
  362. package/docs/types/TagHooks.html +3 -3
  363. package/docs/types/TagId.html +3 -3
  364. package/docs/types/TagInstance.html +3 -3
  365. package/docs/types/TagPointType.html +3 -3
  366. package/docs/types/TagRendererMap.html +3 -3
  367. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  368. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  369. package/docs/types/WorkCode.html +3 -3
  370. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  371. package/docs/variables/PLUGIN.html +3 -3
  372. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  373. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  374. package/docs/variables/defaultGlobalConfig.html +3 -3
  375. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  376. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  377. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  378. package/libs/PanoMeasurePlugin/Controller/ViewController.js +4 -4
  379. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +6 -6
  380. package/libs/PanoRulerPlugin/Plugin.js +159 -155
  381. package/libs/base/BasePlugin.js +1 -1
  382. package/libs/shared-utils/logger.js +1 -1
  383. package/package.json +1 -1
@@ -1,256 +1,260 @@
1
1
  var ne = Object.defineProperty;
2
2
  var J = Object.getOwnPropertySymbols;
3
3
  var oe = Object.prototype.hasOwnProperty, se = Object.prototype.propertyIsEnumerable;
4
- var Q = (t, n, e) => n in t ? ne(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, B = (t, n) => {
5
- for (var e in n || (n = {}))
6
- oe.call(n, e) && Q(t, e, n[e]);
4
+ var Q = (t, o, e) => o in t ? ne(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e, B = (t, o) => {
5
+ for (var e in o || (o = {}))
6
+ oe.call(o, e) && Q(t, e, o[e]);
7
7
  if (J)
8
- for (var e of J(n))
9
- se.call(n, e) && Q(t, e, n[e]);
8
+ for (var e of J(o))
9
+ se.call(o, e) && Q(t, e, o[e]);
10
10
  return t;
11
11
  };
12
- var X = (t, n, e) => new Promise(($, h) => {
13
- var S = (x) => {
12
+ var X = (t, o, e) => new Promise((I, g) => {
13
+ var S = (h) => {
14
14
  try {
15
- u(e.next(x));
16
- } catch (v) {
17
- h(v);
15
+ f(e.next(h));
16
+ } catch (E) {
17
+ g(E);
18
18
  }
19
- }, l = (x) => {
19
+ }, i = (h) => {
20
20
  try {
21
- u(e.throw(x));
22
- } catch (v) {
23
- h(v);
21
+ f(e.throw(h));
22
+ } catch (E) {
23
+ g(E);
24
24
  }
25
- }, u = (x) => x.done ? $(x.value) : Promise.resolve(x.value).then(S, l);
26
- u((e = e.apply(t, n)).next());
25
+ }, f = (h) => h.done ? I(h.value) : Promise.resolve(h.value).then(S, i);
26
+ f((e = e.apply(t, o)).next());
27
27
  });
28
28
  import { Five as re } from "@realsee/five";
29
29
  import { Vector3 as L, Raycaster as ie } from "three";
30
30
  import { intersectionOfLine as le } from "../shared-utils/math/planimetry.js";
31
31
  import { nextFrame as ae } from "../shared-utils/nextFrame.js";
32
32
  import ce from "./style.js";
33
- const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)), de = (t, n) => {
34
- const e = {}, $ = new ie(), h = n.work;
35
- if (!h)
33
+ const ue = (t, o) => Math.sqrt(Math.pow(t.z - o.z, 2) + Math.pow(t.x - o.x, 2)), de = (t, o) => {
34
+ const e = {}, I = new ie(), g = o.work;
35
+ if (!g)
36
36
  return e;
37
37
  const S = t.observers;
38
- h.observers.forEach((l, u) => {
39
- const { standingPosition: x } = l, v = new L(x.x, x.y, x.z);
40
- $.set(v, new L(0, 1, 0));
41
- const [I] = n.model.intersectRaycaster($), q = I ? I.point.y : 2.7, k = S[u];
38
+ g.observers.forEach((i, f) => {
39
+ const { standingPosition: h } = i, E = new L(h.x, h.y, h.z);
40
+ I.set(E, new L(0, 1, 0));
41
+ const [O] = o.model.intersectRaycaster(I), q = O ? O.point.y : 2.7, k = S[f];
42
42
  if (!k)
43
43
  return e;
44
44
  const A = t.rooms[k].name;
45
45
  e[A] === void 0 ? e[A] = {
46
46
  __roof: [q],
47
- __floor: [v.y]
48
- } : (e[A].__roof.push(q), e[A].__floor.push(v.y));
47
+ __floor: [E.y]
48
+ } : (e[A].__roof.push(q), e[A].__floor.push(E.y));
49
49
  });
50
- for (const l in e) {
51
- const u = e[l];
52
- u.__roof.sort(), u.__floor.sort(), u.floor = u.__floor[~~(u.__floor.length / 2)], u.roof = u.__roof[u.__roof.length - 1];
50
+ for (const i in e) {
51
+ const f = e[i];
52
+ f.__roof.sort(), f.__floor.sort(), f.floor = f.__floor[~~(f.__floor.length / 2)], f.roof = f.__roof[f.__roof.length - 1];
53
53
  }
54
54
  return e;
55
- }, Pe = (t, n) => {
55
+ }, Pe = (t, o) => {
56
56
  const e = {
57
57
  enable: !1,
58
58
  loaded: !1,
59
- options: n.options || {
59
+ options: o.options || {
60
60
  distanceText: (r) => `${r.toFixed(1)}m`
61
61
  }
62
- }, $ = (r, a) => {
63
- const c = `
62
+ }, I = (r, l) => {
63
+ const a = `
64
64
  <div class="PanoRulerPlugin-rule-line">
65
65
  <em></em>
66
66
  <div class="PanoRulerPlugin-rule-label">
67
- <div class="PanoRulerPlugin-rule-label-name">${e.options.distanceText(a)}</div>
67
+ <div class="PanoRulerPlugin-rule-label-name">${e.options.distanceText(l)}</div>
68
68
  </div>
69
69
  </div>
70
- `, o = document.createElement("div");
71
- return o.setAttribute("class", "PanoRulerPlugin-rule"), o.setAttribute("data-name", r), o.setAttribute("style", "display: none"), o.innerHTML = c, o;
72
- }, h = document.createElement("div");
73
- h.setAttribute("style", "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;");
70
+ `, s = document.createElement("div");
71
+ return s.setAttribute("class", "PanoRulerPlugin-rule"), s.setAttribute("data-name", r), s.setAttribute("style", "display: none"), s.innerHTML = a, s;
72
+ }, g = document.createElement("div");
73
+ g.setAttribute("style", "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;");
74
74
  const S = document.createElement("div");
75
- S.innerHTML = ce, h.appendChild(S);
76
- const l = {}, u = (r, a) => {
75
+ S.innerHTML = ce, g.appendChild(S);
76
+ const i = {}, f = (r, l) => {
77
+ var d;
77
78
  if (e.loaded)
78
79
  throw new Error("标尺被重复初始化!");
79
- const c = de(r, t), o = t.work;
80
- if (!o)
80
+ const a = de(r, t), s = t.work;
81
+ if (!s)
81
82
  return !1;
82
- for (const i in a) {
83
- const y = a[i], { standingPosition: p } = o.observers[0], m = y.map(({ x: d, z: f, observers: b }) => {
84
- const s = b.length > 0 ? r.rooms[r.observers[b[0]]].name : "", P = c[s] ? c[s].floor : null;
85
- let g = 1 / 0, w = {
83
+ for (const c in l) {
84
+ const P = l[c], x = (d = s.observers[0]) == null ? void 0 : d.standingPosition;
85
+ if (!x)
86
+ return;
87
+ const v = P.map(({ x: u, z: b, observers: n }) => {
88
+ const m = n.length > 0 ? r.rooms[r.observers[n[0]]].name : "", y = a[m] ? a[m].floor : null;
89
+ let p = 1 / 0, w = {
86
90
  index: 0,
87
- x: p.x,
88
- y: p.y,
89
- z: p.z
91
+ x: x.x,
92
+ y: x.y,
93
+ z: x.z
90
94
  };
91
- b.forEach((C) => {
92
- if (!o.observers[C])
95
+ n.forEach((C) => {
96
+ if (!s.observers[C])
93
97
  return;
94
- const { standingPosition: Y } = o.observers[C], O = {
98
+ const { standingPosition: F } = s.observers[C], T = {
95
99
  index: C,
96
- x: Y.x,
97
- y: Y.y,
98
- z: Y.z
99
- }, R = ue({ x: d, z: f }, O);
100
- P ? R < g && Math.abs(O.y - P) < 0.3 && (g = R, w = O) : R < g && (g = R, w = O);
100
+ x: F.x,
101
+ y: F.y,
102
+ z: F.z
103
+ }, R = ue({ x: u, z: b }, T);
104
+ y ? R < p && Math.abs(T.y - y) < 0.3 && (p = R, w = T) : R < p && (p = R, w = T);
101
105
  });
102
- const _ = new L(d, w.y, f);
103
- Object.assign(_, { observers: b });
104
- const T = c[s] ? c[s].roof : null, j = T ? new L(d, T, f) : null;
105
- return j && Object.assign(j, { observers: b }), { origin: _, vertical: j };
106
+ const M = new L(u, w.y, b);
107
+ Object.assign(M, { observers: n });
108
+ const H = a[m] ? a[m].roof : null, j = H ? new L(u, H, b) : null;
109
+ return j && Object.assign(j, { observers: n }), { origin: M, vertical: j };
106
110
  });
107
- l[i] = {
108
- origins: m.map((d) => d.origin),
111
+ i[c] = {
112
+ origins: v.map((u) => u.origin),
109
113
  rules: []
110
114
  };
111
- for (const { origin: d, vertical: f } of m) {
112
- if (!f)
115
+ for (const { origin: u, vertical: b } of v) {
116
+ if (!b)
113
117
  continue;
114
- const b = $(i, d.distanceTo(f));
115
- h.append(b), l[i].rules.push({ vertical: !0, rule: [d, f], $element: b });
118
+ const n = I(c, u.distanceTo(b));
119
+ g.append(n), i[c].rules.push({ vertical: !0, rule: [u, b], $element: n });
116
120
  }
117
- for (let d = 0; d < m.length; d++) {
118
- let f = d + 1;
119
- f >= m.length && (f = 0);
120
- const { origin: b } = m[d], { origin: s } = m[f], P = $(i, b.distanceTo(s));
121
- h.append(P), l[i].rules.push({ vertical: !1, rule: [b, s], $element: P });
121
+ for (let u = 0; u < v.length; u++) {
122
+ let b = u + 1;
123
+ b >= v.length && (b = 0);
124
+ const { origin: n } = v[u], { origin: m } = v[b], y = I(c, n.distanceTo(m));
125
+ g.append(y), i[c].rules.push({ vertical: !1, rule: [n, m], $element: y });
122
126
  }
123
127
  }
124
128
  return e.loaded = !0, !0;
125
- }, x = (r, a, c) => X(void 0, null, function* () {
126
- const o = r || n.roomInfo, i = a || n.roomRules;
127
- if (!o || !i)
129
+ }, h = (r, l, a) => X(void 0, null, function* () {
130
+ const s = r || o.roomInfo, d = l || o.roomRules;
131
+ if (!s || !d)
128
132
  throw new Error("标尺数据依赖不齐全!");
129
- return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise((y) => t.once("modelLoaded", () => y(u(o, i))));
133
+ return e.loaded = !1, e.options = B(B({}, e.options), a || {}), t.model.loaded ? f(s, d) : yield new Promise((c) => t.once("modelLoaded", () => c(f(s, d))));
130
134
  });
131
- n.roomInfo && n.roomRules && x(n.roomInfo, n.roomRules);
132
- const v = (r, a, c, o) => {
133
- const i = [
135
+ o.roomInfo && o.roomRules && h(o.roomInfo, o.roomRules);
136
+ const E = (r, l, a, s) => {
137
+ const d = [
134
138
  [
135
139
  { x: 0, y: 0 },
136
- { x: c, y: 0 }
140
+ { x: a, y: 0 }
137
141
  ],
138
142
  [
139
143
  { x: 0, y: 0 },
140
- { x: 0, y: o }
144
+ { x: 0, y: s }
141
145
  ],
142
146
  [
143
- { x: c, y: 0 },
144
- { x: c, y: o }
147
+ { x: a, y: 0 },
148
+ { x: a, y: s }
145
149
  ],
146
150
  [
147
- { x: 0, y: o },
148
- { x: c, y: o }
151
+ { x: 0, y: s },
152
+ { x: a, y: s }
149
153
  ]
150
- ], y = [];
151
- for (let p = 0; p < i.length; p++) {
152
- const m = le([r, a], [i[p][0], i[p][1]], !0);
153
- m && y.push(m);
154
+ ], c = [];
155
+ for (let P = 0; P < d.length; P++) {
156
+ const x = le([r, l], [d[P][0], d[P][1]], !0);
157
+ x && c.push(x);
154
158
  }
155
- return y.length === 0 ? !1 : y;
156
- }, I = () => {
159
+ return c.length === 0 ? !1 : c;
160
+ }, O = () => {
157
161
  var b;
158
162
  const r = (b = t.getElement()) == null ? void 0 : b.parentElement;
159
- if (!r || !e.loaded || Object.keys(l).length <= 0)
163
+ if (!r || !e.loaded || Object.keys(i).length <= 0)
160
164
  return;
161
- const { panoIndex: a, camera: c, currentMode: o } = t;
162
- if (a === void 0)
165
+ const { panoIndex: l, camera: a, currentMode: s } = t;
166
+ if (l === void 0)
163
167
  return;
164
- let i;
165
- for (const s in l)
166
- s.split(",").indexOf(a.toString()) >= 0 && (i = s);
167
- if (!i) {
168
- for (const s in l)
169
- for (const { $element: P } of l[s].rules)
170
- P.style.display = "none";
168
+ let d;
169
+ for (const n in i)
170
+ n.split(",").indexOf(l.toString()) >= 0 && (d = n);
171
+ if (!d) {
172
+ for (const n in i)
173
+ for (const { $element: m } of i[n].rules)
174
+ m.style.display = "none";
171
175
  return;
172
176
  }
173
- const y = c.position, p = c.getWorldDirection(new L()), m = r.clientWidth, d = r.clientHeight;
174
- if (o !== re.Mode.Panorama) {
175
- for (const s in l)
176
- for (const { $element: P } of l[s].rules)
177
- P.style.display = "none";
177
+ const c = a.position, P = a.getWorldDirection(new L()), x = r.clientWidth, v = r.clientHeight;
178
+ if (s !== re.Mode.Panorama) {
179
+ for (const n in i)
180
+ for (const { $element: m } of i[n].rules)
181
+ m.style.display = "none";
178
182
  return;
179
183
  }
180
- for (const s in l)
181
- for (const { $element: P } of l[s].rules)
182
- P.style.display = s === i ? "block" : "none";
183
- const [f] = l[i].origins.slice().filter((s) => s.observers.indexOf(a) >= 0).sort((s, P) => {
184
- const g = s.clone().setY(0).sub(y).normalize().angleTo(p.clone().setY(0)), w = P.clone().setY(0).sub(y).normalize().angleTo(p.clone().setY(0));
185
- return g - w;
184
+ for (const n in i)
185
+ for (const { $element: m } of i[n].rules)
186
+ m.style.display = n === d ? "block" : "none";
187
+ const [u] = i[d].origins.slice().filter((n) => n.observers.indexOf(l) >= 0).sort((n, m) => {
188
+ const y = n.clone().setY(0).sub(c).normalize().angleTo(P.clone().setY(0)), p = m.clone().setY(0).sub(c).normalize().angleTo(P.clone().setY(0));
189
+ return y - p;
186
190
  });
187
- for (const { rule: s, vertical: P, $element: g } of l[i].rules) {
188
- const [w, _] = s, T = g.querySelector(".PanoRulerPlugin-rule-line");
189
- if (!T)
191
+ for (const { rule: n, vertical: m, $element: y } of i[d].rules) {
192
+ const [p, w] = n, M = y.querySelector(".PanoRulerPlugin-rule-line");
193
+ if (!M)
190
194
  return;
191
- if (!f) {
192
- g.style.display = "none";
195
+ if (!u) {
196
+ y.style.display = "none";
193
197
  continue;
194
198
  }
195
- if (w !== f && _ !== f) {
196
- g.style.display = "none";
199
+ if (p !== u && w !== u) {
200
+ y.style.display = "none";
197
201
  continue;
198
202
  }
199
- if (w.distanceTo(_) < 0.3) {
200
- g.style.display = "none";
203
+ if (p.distanceTo(w) < 0.3) {
204
+ y.style.display = "none";
201
205
  continue;
202
206
  }
203
- if (w.observers.indexOf(a) === -1 || _.observers.indexOf(a) === -1) {
204
- g.style.display = "none";
207
+ if (p.observers.indexOf(l) === -1 || w.observers.indexOf(l) === -1) {
208
+ y.style.display = "none";
205
209
  continue;
206
210
  }
207
- if (w.clone().sub(y).normalize().angleTo(p) > Math.PI / 2) {
208
- g.style.display = "none";
211
+ if (p.clone().sub(c).normalize().angleTo(P) > Math.PI / 2) {
212
+ y.style.display = "none";
209
213
  continue;
210
214
  }
211
- if (_.clone().sub(y).normalize().angleTo(p) > Math.PI / 2) {
212
- g.style.display = "none";
215
+ if (w.clone().sub(c).normalize().angleTo(P) > Math.PI / 2) {
216
+ y.style.display = "none";
213
217
  continue;
214
218
  }
215
- const K = w.distanceTo(_);
216
- if (_.clone().sub(
217
- _.clone().sub(w).divide(new L(2, 2, 2))
218
- ).distanceTo(y) / K > 8) {
219
- g.style.display = "none";
219
+ const K = p.distanceTo(w);
220
+ if (w.clone().sub(
221
+ w.clone().sub(p).divide(new L(2, 2, 2))
222
+ ).distanceTo(c) / K > 8) {
223
+ y.style.display = "none";
220
224
  continue;
221
225
  }
222
- const O = w.clone().project(c), R = (O.x + 1) / 2 * m, F = (-O.y + 1) / 2 * d, V = _.clone().project(c), N = (V.x + 1) / 2 * m, D = (-V.y + 1) / 2 * d, E = Math.sqrt(Math.pow(N - R, 2) + Math.pow(D - F, 2));
223
- let H = E, z = 50;
224
- const M = v(
225
- { x: ~~R, y: ~~F },
226
+ const F = p.clone().project(a), T = (F.x + 1) / 2 * x, R = (-F.y + 1) / 2 * v, V = w.clone().project(a), Y = (V.x + 1) / 2 * x, N = (-V.y + 1) / 2 * v, $ = Math.sqrt(Math.pow(Y - T, 2) + Math.pow(N - R, 2));
227
+ let D = $, z = 50;
228
+ const _ = E(
229
+ { x: ~~T, y: ~~R },
226
230
  {
227
- x: ~~N,
228
- y: ~~D
231
+ x: ~~Y,
232
+ y: ~~N
229
233
  },
230
- m,
231
- d
234
+ x,
235
+ v
232
236
  );
233
- if (M && M.length === 1 && (f === w ? (H = Math.sqrt(Math.pow(M[0].x - R, 2) + Math.pow(M[0].y - F, 2)), z = H / E * 50) : f === _ && (H = Math.sqrt(Math.pow(M[0].x - N, 2) + Math.pow(M[0].y - D, 2)), z = 100 - H / E * 50)), M && M.length === 2) {
237
+ if (_ && _.length === 1 && (u === p ? (D = Math.sqrt(Math.pow(_[0].x - T, 2) + Math.pow(_[0].y - R, 2)), z = D / $ * 50) : u === w && (D = Math.sqrt(Math.pow(_[0].x - Y, 2) + Math.pow(_[0].y - N, 2)), z = 100 - D / $ * 50)), _ && _.length === 2) {
234
238
  const G = {
235
- x: (M[0].x + M[1].x) / 2,
236
- y: (M[0].y + M[1].y) / 2
239
+ x: (_[0].x + _[1].x) / 2,
240
+ y: (_[0].y + _[1].y) / 2
237
241
  };
238
- z = Math.sqrt(Math.pow(G.x - R, 2) + Math.pow(G.y - F, 2)) / E * 100;
242
+ z = Math.sqrt(Math.pow(G.x - T, 2) + Math.pow(G.y - R, 2)) / $ * 100;
239
243
  }
240
- const te = (Math.PI / 2 - Math.atan2(N - R, F - D)) / Math.PI * 180, W = T.querySelector(".PanoRulerPlugin-rule-label"), U = W.children[0].clientWidth;
241
- U >= E || U / 2 >= z / 100 * E || U / 2 >= (1 - z / 100) * E ? T.style.display = "none" : (T.style.display = "block", T.style.width = E + "px", T.style.left = R + "px", T.style.top = F + "px", T.style.transform = `rotate(${-te}deg)`, W.style.left = `${z}%`);
244
+ const te = (Math.PI / 2 - Math.atan2(Y - T, R - N)) / Math.PI * 180, W = M.querySelector(".PanoRulerPlugin-rule-label"), U = W.children[0].clientWidth;
245
+ U >= $ || U / 2 >= z / 100 * $ || U / 2 >= (1 - z / 100) * $ ? M.style.display = "none" : (M.style.display = "block", M.style.width = $ + "px", M.style.left = T + "px", M.style.top = R + "px", M.style.transform = `rotate(${-te}deg)`, W.style.left = `${z}%`);
242
246
  }
243
- }, q = () => ae(I), k = () => {
244
- var r, a;
245
- return e.loaded ? (e.enable || (h.setAttribute("class", "PanoRulerPlugin" + (e.options.className ? " " + e.options.className : "")), (a = (r = t.getElement()) == null ? void 0 : r.parentElement) == null || a.append(h), I(), t.on("modeChange", I), t.on("cameraUpdate", q), e.enable = !0), !0) : !1;
246
- }, A = () => (e.enable && (t.off("modeChange", I), t.off("cameraUpdate", q), h && h.remove(), e.enable = !1), !0);
247
+ }, q = () => ae(O), k = () => {
248
+ var r, l;
249
+ return e.loaded ? (e.enable || (g.setAttribute("class", "PanoRulerPlugin" + (e.options.className ? " " + e.options.className : "")), (l = (r = t.getElement()) == null ? void 0 : r.parentElement) == null || l.append(g), O(), t.on("modeChange", O), t.on("cameraUpdate", q), e.enable = !0), !0) : !1;
250
+ }, A = () => (e.enable && (t.off("modeChange", O), t.off("cameraUpdate", q), g && g.remove(), e.enable = !1), !0);
247
251
  function Z(r) {
248
252
  if (r.distanceText && r.distanceText !== e.options.distanceText) {
249
- const a = r.distanceText;
250
- e.options.distanceText = a, Object.values(l).forEach((c) => {
251
- c.rules.forEach((o) => {
252
- const [i, y] = o.rule, p = i.distanceTo(y), m = o.$element.querySelector(".PanoRulerPlugin-rule-label-name");
253
- m && (m.innerText = a(p));
253
+ const l = r.distanceText;
254
+ e.options.distanceText = l, Object.values(i).forEach((a) => {
255
+ a.rules.forEach((s) => {
256
+ const [d, c] = s.rule, P = d.distanceTo(c), x = s.$element.querySelector(".PanoRulerPlugin-rule-label-name");
257
+ x && (x.innerText = l(P));
254
258
  });
255
259
  });
256
260
  }
@@ -258,7 +262,7 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
258
262
  return {
259
263
  enable: k,
260
264
  disable: A,
261
- load: x,
265
+ load: h,
262
266
  state: e,
263
267
  changeConfigs: Z
264
268
  };
@@ -15,7 +15,7 @@ let x = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- o(this, "VERSION", "3.36.7");
18
+ o(this, "VERSION", "3.36.9");
19
19
  o(this, "NAME");
20
20
  o(this, "five");
21
21
  o(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.36.7",
3
+ "%c %c@realsee/dnalogel %cv3.36.9",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.36.7",
3
+ "version": "3.36.9",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",