@realsee/dnalogel 3.0.0-2 → 3.0.0-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
  2. package/dist/index.cjs.js +26 -26
  3. package/dist/index.js +771 -770
  4. package/dist/index.umd.js +26 -26
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +45 -45
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.LineSegments.html +7 -7
  23. package/docs/classes/Util.Magnifier.html +19 -19
  24. package/docs/classes/Util.Object3D.html +7 -7
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/AreaMakerPlugin.html +4 -4
  40. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  41. package/docs/functions/CameraMovementPlugin.html +4 -4
  42. package/docs/functions/CruisePlugin.html +4 -4
  43. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  44. package/docs/functions/GuideLinePlugin.html +4 -4
  45. package/docs/functions/ItemLabelPlugin.html +4 -4
  46. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  47. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  48. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  49. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  50. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  51. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  52. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  53. package/docs/functions/ModelViewPlugin.html +4 -4
  54. package/docs/functions/Object3DHelperPlugin.html +4 -4
  55. package/docs/functions/PanoCompassPlugin.html +4 -4
  56. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  57. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  58. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  59. package/docs/functions/PanoMeasurePlugin.html +4 -4
  60. package/docs/functions/PanoRulerPlugin.html +4 -4
  61. package/docs/functions/PanoRulerProPlugin.html +4 -4
  62. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  63. package/docs/functions/PanoTagPlugin.html +4 -4
  64. package/docs/functions/PanoVideoPlugin.html +4 -4
  65. package/docs/functions/PipelinePlugin.html +4 -4
  66. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  67. package/docs/functions/Util.absoluteUrl.html +4 -4
  68. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  69. package/docs/functions/Util.equal.html +4 -4
  70. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  71. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  72. package/docs/functions/Util.getFrameTime.html +4 -4
  73. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  74. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  75. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  76. package/docs/functions/Util.isModelLike.html +4 -4
  77. package/docs/functions/Util.isNil.html +4 -4
  78. package/docs/functions/Util.isPanoramaLike.html +4 -4
  79. package/docs/functions/Util.nextFrame.html +4 -4
  80. package/docs/functions/Util.notNil.html +4 -4
  81. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  82. package/docs/functions/Util.tweenProgress.html +4 -4
  83. package/docs/functions/Util.uuid.html +4 -4
  84. package/docs/functions/pluginFlag.html +4 -4
  85. package/docs/index.html +4 -4
  86. package/docs/interfaces/AddTagConfig.html +5 -5
  87. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  88. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  90. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  91. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  92. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  93. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  97. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  98. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  99. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  100. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  101. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  102. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  103. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  104. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  105. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  106. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  107. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  108. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  109. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  110. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  111. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  112. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  113. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  114. package/docs/interfaces/EventMap.html +14 -14
  115. package/docs/interfaces/FloorplanBounding.html +7 -7
  116. package/docs/interfaces/FloorplanData.html +9 -9
  117. package/docs/interfaces/FloorplanEntrance.html +10 -10
  118. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  119. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  120. package/docs/interfaces/FloorplanFloorData.html +8 -8
  121. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  122. package/docs/interfaces/FloorplanObserver.html +8 -8
  123. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  124. package/docs/interfaces/FloorplanPosition.html +6 -6
  125. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  126. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  127. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  128. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  129. package/docs/interfaces/FloorplanServerData.html +6 -6
  130. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  131. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  132. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  133. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  134. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  135. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  136. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  137. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  138. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  139. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  140. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  141. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  142. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  143. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  144. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  145. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  146. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  147. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  148. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  149. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  150. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  151. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  152. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  153. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  154. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  155. package/docs/interfaces/HelperOffset.html +7 -7
  156. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  157. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  158. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  159. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  160. package/docs/interfaces/MinMax.html +6 -6
  161. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  162. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  163. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  164. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  165. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  166. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  167. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  168. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  169. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  170. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  171. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  172. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  173. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  174. package/docs/interfaces/Object3DHelperState.html +7 -7
  175. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  176. package/docs/interfaces/PaintBrushAction.html +11 -11
  177. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  178. package/docs/interfaces/PaintBrushState.html +9 -9
  179. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  180. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  181. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  182. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  183. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  184. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  185. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  186. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  187. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  188. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  189. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  190. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  191. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  192. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  193. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  194. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  195. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  196. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  197. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  198. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  199. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  200. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  201. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  202. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  203. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  204. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  205. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  206. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  207. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  208. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  209. package/docs/interfaces/Point.html +7 -7
  210. package/docs/interfaces/Room.html +8 -8
  211. package/docs/interfaces/RoomInfo.html +6 -6
  212. package/docs/interfaces/RoomLabel.html +13 -13
  213. package/docs/interfaces/RoomRules.html +4 -4
  214. package/docs/interfaces/Rooms.html +4 -4
  215. package/docs/interfaces/Scissor.html +8 -8
  216. package/docs/interfaces/State.html +7 -7
  217. package/docs/interfaces/TagCacheInterface.html +11 -11
  218. package/docs/interfaces/TagConfig.html +15 -15
  219. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  220. package/docs/interfaces/TagIconUrl.html +11 -11
  221. package/docs/interfaces/TagObjectGroup.html +5 -5
  222. package/docs/interfaces/TagStyle.html +5 -5
  223. package/docs/interfaces/Tags.html +8 -8
  224. package/docs/interfaces/TemporaryState.html +5 -5
  225. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  226. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  227. package/docs/interfaces/Util.PointIntersection.html +7 -7
  228. package/docs/modules/AreaMakerPluginType.html +4 -4
  229. package/docs/modules/CruisePluginTypes.html +4 -4
  230. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  231. package/docs/modules/GuideLineItem.html +4 -4
  232. package/docs/modules/GuideLineModeItem.html +4 -4
  233. package/docs/modules/GuideLinePluginType.html +4 -4
  234. package/docs/modules/PanoVideoPluginType.html +4 -4
  235. package/docs/modules/Util.html +4 -4
  236. package/docs/modules.html +4 -4
  237. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  238. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  239. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  240. package/docs/types/ArrayPosition.html +4 -4
  241. package/docs/types/AudioAppearance.html +4 -4
  242. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  243. package/docs/types/CSS3DRenderExportType.html +4 -4
  244. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  245. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  246. package/docs/types/ClassFunctionParameters.html +4 -4
  247. package/docs/types/Color.html +4 -4
  248. package/docs/types/ContentTypeConfigKey.html +4 -4
  249. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  250. package/docs/types/ContentTypeMap.html +4 -4
  251. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  252. package/docs/types/Create3DElementReturnType.html +4 -4
  253. package/docs/types/CruisePluginExportType.html +4 -4
  254. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  255. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  256. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  257. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  258. package/docs/types/DeprecatedTagProperty.html +4 -4
  259. package/docs/types/Direction-1.html +4 -4
  260. package/docs/types/Direction4.html +4 -4
  261. package/docs/types/ElementRenderer.html +4 -4
  262. package/docs/types/FloorplanRuleLabels.html +4 -4
  263. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  264. package/docs/types/GuideLinePluginExportType.html +4 -4
  265. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  266. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  268. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  269. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  270. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  271. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  272. package/docs/types/HelperEventMap.html +4 -4
  273. package/docs/types/LoadTagConfig.html +4 -4
  274. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  275. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  276. package/docs/types/MediaData.html +4 -4
  277. package/docs/types/MediaStore.html +4 -4
  278. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  279. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  280. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  281. package/docs/types/ModelId.html +4 -4
  282. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  283. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  284. package/docs/types/MoveArgs.html +4 -4
  285. package/docs/types/MoveOpts.html +4 -4
  286. package/docs/types/Object3DHelperEventMap.html +4 -4
  287. package/docs/types/ObjectFit.html +4 -4
  288. package/docs/types/PaintBrushEventMap.html +4 -4
  289. package/docs/types/PanoCompassPluginData.html +4 -4
  290. package/docs/types/PanoCompassPluginExportType.html +4 -4
  291. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  292. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  293. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  294. package/docs/types/PanoIndex.html +4 -4
  295. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  296. package/docs/types/PanoMeasureReturnType.html +4 -4
  297. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  298. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  299. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  300. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  301. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  302. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  303. package/docs/types/PipelinePluginParameterType.html +4 -4
  304. package/docs/types/PipelinePluginReturnType.html +4 -4
  305. package/docs/types/PlaneTag.html +4 -4
  306. package/docs/types/Point2DTag.html +4 -4
  307. package/docs/types/Point3DTag.html +4 -4
  308. package/docs/types/PointTag.html +4 -4
  309. package/docs/types/PointTagInstance.html +4 -4
  310. package/docs/types/Position.html +4 -4
  311. package/docs/types/RotateArgs.html +4 -4
  312. package/docs/types/RotateOpts.html +4 -4
  313. package/docs/types/RuleLabelsKey.html +4 -4
  314. package/docs/types/RuleLabelsValue.html +4 -4
  315. package/docs/types/StickType.html +4 -4
  316. package/docs/types/Tag.html +4 -4
  317. package/docs/types/Tag2D.html +4 -4
  318. package/docs/types/Tag3D.html +4 -4
  319. package/docs/types/TagConfigByKey.html +4 -4
  320. package/docs/types/TagContentType.html +4 -4
  321. package/docs/types/TagDimensionType.html +4 -4
  322. package/docs/types/TagElement.html +4 -4
  323. package/docs/types/TagEvents.html +4 -4
  324. package/docs/types/TagGLTFObject.html +4 -4
  325. package/docs/types/TagHooks.html +4 -4
  326. package/docs/types/TagId.html +4 -4
  327. package/docs/types/TagInstance.html +4 -4
  328. package/docs/types/TagPointType.html +4 -4
  329. package/docs/types/TagRendererMap.html +4 -4
  330. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  331. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  332. package/docs/types/WorkCode.html +4 -4
  333. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  334. package/docs/variables/PLUGIN.html +4 -4
  335. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  336. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  337. package/docs/variables/defaultGlobalConfig.html +4 -4
  338. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  339. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  340. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  341. package/libs/PanoTagPlugin/controller/TagComputer.js +20 -19
  342. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
  343. package/libs/base/BasePlugin.js +1 -1
  344. package/libs/shared-utils/logger.js +1 -1
  345. package/libs/shared-utils/three/getNormal.js +5 -5
  346. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.0.0-2</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.0.0-4</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-2</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-4</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/2acfe35/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/35271c0/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
28
28
  <div class="col-sidebar">
29
29
  <div class="page-menu">
30
30
  <div class="tsd-navigation settings">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>2</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>4</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
44
44
  <li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.0.0-2</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.0.0-4</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-2</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-4</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/2acfe35/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/35271c0/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
28
28
  <div class="col-sidebar">
29
29
  <div class="page-menu">
30
30
  <div class="tsd-navigation settings">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>2</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>4</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
44
44
  <li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
@@ -2,15 +2,15 @@ var E = Object.defineProperty, $ = Object.defineProperties;
2
2
  var L = Object.getOwnPropertyDescriptors;
3
3
  var k = Object.getOwnPropertySymbols;
4
4
  var _ = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
5
- var M = (v, e, i) => e in v ? E(v, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : v[e] = i, y = (v, e) => {
5
+ var M = (p, e, i) => e in p ? E(p, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[e] = i, y = (p, e) => {
6
6
  for (var i in e || (e = {}))
7
- _.call(e, i) && M(v, i, e[i]);
7
+ _.call(e, i) && M(p, i, e[i]);
8
8
  if (k)
9
9
  for (var i of k(e))
10
- z.call(e, i) && M(v, i, e[i]);
11
- return v;
12
- }, D = (v, e) => $(v, L(e));
13
- import * as F from "three";
10
+ z.call(e, i) && M(p, i, e[i]);
11
+ return p;
12
+ }, D = (p, e) => $(p, L(e));
13
+ import * as j from "three";
14
14
  import { is3DTag as O, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
15
15
  import { getTagCenterPosition as I, getTagPosition as Z } from "../utils/tagPosition.js";
16
16
  import { checkRange as h } from "../utils/checkRange.js";
@@ -62,7 +62,7 @@ import "../../shared-utils/five/FiveDomEvents.js";
62
62
  import "../utils/tag/adaptConfig.js";
63
63
  import "../../shared-utils/typescript/entries.js";
64
64
  import "../../shared-utils/url/getUrl.js";
65
- const T = new F.Raycaster();
65
+ const T = new j.Raycaster();
66
66
  class Ge extends q {
67
67
  constructor(e) {
68
68
  super(e);
@@ -85,8 +85,9 @@ class Ge extends q {
85
85
  if (s.keep === "visible")
86
86
  return { value: !0, checkedList: o, reason: "config.keep is visible" };
87
87
  if (s.visibleFiveMode !== void 0) {
88
- let a = !1;
89
- if (Array.isArray(s.visibleFiveMode) ? a = s.visibleFiveMode.includes(n) : s.visibleFiveMode === "ModelLike" ? a = H(n) : s.visibleFiveMode === "PanoramaLike" ? a = !b(n) : s.visibleFiveMode === "all" ? a = !0 : typeof s.visibleFiveMode == "string" && (a = s.visibleFiveMode === n), a === !1)
88
+ const a = typeof s.visibleFiveMode == "function" ? s.visibleFiveMode(e) : s.visibleFiveMode;
89
+ let v = !1;
90
+ if (Array.isArray(a) ? v = a.includes(n) : a === "ModelLike" ? v = H(n) : a === "PanoramaLike" ? v = !b(n) : a === "all" ? v = !0 : typeof a == "string" && (v = a === n), v === !1)
90
91
  return {
91
92
  value: !1,
92
93
  checkedList: o,
@@ -200,8 +201,8 @@ class Ge extends q {
200
201
  const f = this.getTagProject(r);
201
202
  if (!f)
202
203
  return !1;
203
- const { x: u, y: a, z: m } = f;
204
- return !(Math.abs(m) > 1 || Math.abs(u) > 1 || Math.abs(a) > 1);
204
+ const { x: u, y: a, z: v } = f;
205
+ return !(Math.abs(v) > 1 || Math.abs(u) > 1 || Math.abs(a) > 1);
205
206
  }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: f }) => {
206
207
  var u, a;
207
208
  return !(typeof f == "function" || f.keep || f.autoUnfold === !1 || ((u = f.autoUnfold) == null ? void 0 : u.enable) === !1 || ((a = f.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
@@ -276,22 +277,22 @@ class Ge extends q {
276
277
  }
277
278
  /** 通过射线检测标签可用性 */
278
279
  getTagEnableByIntersect(e, i) {
279
- var s, r, f, u, a, m;
280
+ var s, r, f, u, a, v;
280
281
  const l = U(U((s = this.getTagConfig(e).visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? (r = this.five.work.observers[t]) == null ? void 0 : r.position : this.five.camera.position;
281
282
  if (n === void 0)
282
283
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
283
284
  const d = X(
284
285
  (() => {
285
286
  var g;
286
- const p = (g = l.checkPoints) != null ? g : "center";
287
- return p === "center" ? I(e) : p === "corner" ? Z(e) : Array.isArray(p) ? p : [];
287
+ const m = (g = l.checkPoints) != null ? g : "center";
288
+ return m === "center" ? I(e) : m === "corner" ? Z(e) : Array.isArray(m) ? m : [];
288
289
  })()
289
290
  );
290
291
  let o = 0, c = 0;
291
- for (const p of d) {
292
- const g = new F.Vector3().subVectors(p, n).normalize();
292
+ for (const m of d) {
293
+ const g = new j.Vector3().subVectors(m, n).normalize();
293
294
  T.set(n, g);
294
- const j = n.distanceTo(p), [P] = this.five.model.intersectRaycaster(T), x = (() => {
295
+ const F = n.distanceTo(m), [P] = this.five.model.intersectRaycaster(T), x = (() => {
295
296
  if (!R(e))
296
297
  return;
297
298
  const B = this.tags.filter(R).map((A) => {
@@ -300,8 +301,8 @@ class Ge extends q {
300
301
  }).filter(N), [w] = T.intersectObjects(B, !0);
301
302
  return w;
302
303
  })(), S = (f = l.distanceAccuracy) != null ? f : 0.01;
303
- Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + S >= j ? o++ : c++;
304
- const V = (m = l.needPassed) != null ? m : 1;
304
+ Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + S >= F ? o++ : c++;
305
+ const V = (v = l.needPassed) != null ? v : 1;
305
306
  if (o >= V)
306
307
  return { value: !0 };
307
308
  }
@@ -5,6 +5,7 @@ import type { MinMax } from './Utils';
5
5
  import type { TagInstance } from './TagInstance';
6
6
  import type { PartialObjectDeep } from '../../../typings/typings';
7
7
  import type { Vector3 } from 'three';
8
+ type TagVisibleMode = Mode | Mode[] | 'PanoramaLike' | 'ModelLike' | 'all';
8
9
  export interface TagConfig<C extends TagContentType = TagContentType> {
9
10
  /**
10
11
  * @description: 显示/隐藏相关配置
@@ -57,7 +58,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
57
58
  * }
58
59
  * ```
59
60
  */
60
- visibleFiveMode?: Mode | Mode[] | 'PanoramaLike' | 'ModelLike' | 'all';
61
+ visibleFiveMode?: TagVisibleMode | ((tag: TagInstance) => TagVisibleMode);
61
62
  /**
62
63
  * @description 当 visibleFiveMode 包含 'Floorplan' 或者 'MapView' 时,是否仅在当前楼层模型下可见
63
64
  * @default false
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.0.0-2");
17
+ i(this, "VERSION", "3.0.0-4");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.0.0-2",
3
+ "%c %c@realsee/dnalogel %cv3.0.0-4",
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",
@@ -1,9 +1,9 @@
1
- import { Vector3 as s } from "three";
2
- function p(o, r = 1) {
1
+ import { Vector3 as u } from "three";
2
+ function p(o, r) {
3
3
  if (o.length < 3)
4
- return console.error("points.length < 3"), new s(0, 0, 0);
5
- const [t, n, e] = o, l = t.clone().sub(n), c = e.clone().sub(n);
6
- return l.cross(c).normalize().multiplyScalar(r);
4
+ return console.error("points.length < 3"), new u(0, 0, 0);
5
+ const [n, t, c] = o, l = n.clone().sub(t), s = n.clone().sub(c), e = l.cross(s).normalize();
6
+ return typeof r == "number" ? e.multiplyScalar(r) : e;
7
7
  }
8
8
  export {
9
9
  p as getNormal
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "3.0.0-2",
10
+ "version": "3.0.0-4",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",