@realsee/dnalogel 3.0.0-3 → 3.0.0-5

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 (345) hide show
  1. package/dist/index.cjs.js +17 -17
  2. package/dist/index.js +420 -419
  3. package/dist/index.umd.js +17 -17
  4. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  5. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  6. package/docs/classes/CSS3DRender.html +30 -30
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/Object3DHelperController.html +24 -24
  13. package/docs/classes/PaintBrush.html +14 -14
  14. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  15. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  16. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  17. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  18. package/docs/classes/PanoTagPluginController.html +44 -44
  19. package/docs/classes/Util.BetterTween.html +8 -8
  20. package/docs/classes/Util.Interval.html +11 -11
  21. package/docs/classes/Util.LineSegments.html +7 -7
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.Object3D.html +7 -7
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  27. package/docs/classes/Util.Rectangle.html +12 -12
  28. package/docs/enums/CameraMovementEffect.html +6 -6
  29. package/docs/enums/ContentType.html +19 -19
  30. package/docs/enums/DIRECTION.html +8 -8
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  32. package/docs/enums/DimensionType.html +6 -6
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  36. package/docs/enums/PointType.html +6 -6
  37. package/docs/enums/Rotation.html +7 -7
  38. package/docs/functions/AreaMakerPlugin.html +4 -4
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  43. package/docs/functions/GuideLinePlugin.html +4 -4
  44. package/docs/functions/ItemLabelPlugin.html +3 -3
  45. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  48. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  50. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  51. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  52. package/docs/functions/ModelViewPlugin.html +3 -3
  53. package/docs/functions/Object3DHelperPlugin.html +3 -3
  54. package/docs/functions/PanoCompassPlugin.html +3 -3
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  56. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  58. package/docs/functions/PanoMeasurePlugin.html +3 -3
  59. package/docs/functions/PanoRulerPlugin.html +3 -3
  60. package/docs/functions/PanoRulerProPlugin.html +3 -3
  61. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  62. package/docs/functions/PanoTagPlugin.html +3 -3
  63. package/docs/functions/PanoVideoPlugin.html +3 -3
  64. package/docs/functions/PipelinePlugin.html +3 -3
  65. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  66. package/docs/functions/Util.absoluteUrl.html +4 -4
  67. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  68. package/docs/functions/Util.equal.html +4 -4
  69. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  70. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  71. package/docs/functions/Util.getFrameTime.html +4 -4
  72. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  73. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  74. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  75. package/docs/functions/Util.isModelLike.html +4 -4
  76. package/docs/functions/Util.isNil.html +4 -4
  77. package/docs/functions/Util.isPanoramaLike.html +4 -4
  78. package/docs/functions/Util.nextFrame.html +4 -4
  79. package/docs/functions/Util.notNil.html +4 -4
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  81. package/docs/functions/Util.tweenProgress.html +4 -4
  82. package/docs/functions/Util.uuid.html +4 -4
  83. package/docs/functions/pluginFlag.html +4 -4
  84. package/docs/index.html +4 -4
  85. package/docs/interfaces/AddTagConfig.html +5 -5
  86. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  87. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  88. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  89. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  90. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  91. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  92. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  96. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  97. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  98. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  99. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  100. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  101. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  102. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  103. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  104. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  105. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  106. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  107. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  108. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  109. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  110. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  111. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  112. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  113. package/docs/interfaces/EventMap.html +14 -14
  114. package/docs/interfaces/FloorplanBounding.html +7 -7
  115. package/docs/interfaces/FloorplanData.html +9 -9
  116. package/docs/interfaces/FloorplanEntrance.html +10 -10
  117. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  118. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  119. package/docs/interfaces/FloorplanFloorData.html +8 -8
  120. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  121. package/docs/interfaces/FloorplanObserver.html +8 -8
  122. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  123. package/docs/interfaces/FloorplanPosition.html +6 -6
  124. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  125. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  126. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  127. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  128. package/docs/interfaces/FloorplanServerData.html +6 -6
  129. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  130. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  131. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  132. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  133. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  134. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  135. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  136. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  138. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  139. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  140. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  141. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  142. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  144. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  147. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  148. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  149. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  150. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  152. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  153. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  154. package/docs/interfaces/HelperOffset.html +7 -7
  155. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  156. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  157. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  158. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  159. package/docs/interfaces/MinMax.html +6 -6
  160. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  161. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  162. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  163. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  164. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  165. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  166. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  167. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  168. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  169. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  170. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  171. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  172. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  173. package/docs/interfaces/Object3DHelperState.html +7 -7
  174. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  175. package/docs/interfaces/PaintBrushAction.html +11 -11
  176. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  177. package/docs/interfaces/PaintBrushState.html +9 -9
  178. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  179. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  180. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  181. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  182. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  183. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  184. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  185. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  186. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  187. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  188. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  189. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  190. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  191. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  192. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  193. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  194. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  195. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  196. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  197. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  198. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  199. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  200. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  201. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  202. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  203. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  204. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  205. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  206. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  207. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  208. package/docs/interfaces/Point.html +7 -7
  209. package/docs/interfaces/Room.html +8 -8
  210. package/docs/interfaces/RoomInfo.html +6 -6
  211. package/docs/interfaces/RoomLabel.html +13 -13
  212. package/docs/interfaces/RoomRules.html +4 -4
  213. package/docs/interfaces/Rooms.html +4 -4
  214. package/docs/interfaces/Scissor.html +8 -8
  215. package/docs/interfaces/State.html +7 -7
  216. package/docs/interfaces/TagCacheInterface.html +11 -11
  217. package/docs/interfaces/TagConfig.html +13 -13
  218. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  219. package/docs/interfaces/TagIconUrl.html +11 -11
  220. package/docs/interfaces/TagObjectGroup.html +5 -5
  221. package/docs/interfaces/TagStyle.html +5 -5
  222. package/docs/interfaces/Tags.html +8 -8
  223. package/docs/interfaces/TemporaryState.html +5 -5
  224. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  225. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  226. package/docs/interfaces/Util.PointIntersection.html +7 -7
  227. package/docs/modules/AreaMakerPluginType.html +4 -4
  228. package/docs/modules/CruisePluginTypes.html +4 -4
  229. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  230. package/docs/modules/GuideLineItem.html +4 -4
  231. package/docs/modules/GuideLineModeItem.html +4 -4
  232. package/docs/modules/GuideLinePluginType.html +4 -4
  233. package/docs/modules/PanoVideoPluginType.html +4 -4
  234. package/docs/modules/Util.html +4 -4
  235. package/docs/modules.html +4 -4
  236. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  237. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  238. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  239. package/docs/types/ArrayPosition.html +4 -4
  240. package/docs/types/AudioAppearance.html +4 -4
  241. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  242. package/docs/types/CSS3DRenderExportType.html +4 -4
  243. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  244. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  245. package/docs/types/ClassFunctionParameters.html +4 -4
  246. package/docs/types/Color.html +4 -4
  247. package/docs/types/ContentTypeConfigKey.html +4 -4
  248. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  249. package/docs/types/ContentTypeMap.html +4 -4
  250. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  251. package/docs/types/Create3DElementReturnType.html +4 -4
  252. package/docs/types/CruisePluginExportType.html +4 -4
  253. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  254. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  255. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  256. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  257. package/docs/types/DeprecatedTagProperty.html +4 -4
  258. package/docs/types/Direction-1.html +4 -4
  259. package/docs/types/Direction4.html +4 -4
  260. package/docs/types/ElementRenderer.html +4 -4
  261. package/docs/types/FloorplanRuleLabels.html +4 -4
  262. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  263. package/docs/types/GuideLinePluginExportType.html +4 -4
  264. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  265. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  266. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  268. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  269. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  270. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  271. package/docs/types/HelperEventMap.html +4 -4
  272. package/docs/types/LoadTagConfig.html +4 -4
  273. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  274. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  275. package/docs/types/MediaData.html +4 -4
  276. package/docs/types/MediaStore.html +4 -4
  277. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  278. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  279. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  280. package/docs/types/ModelId.html +4 -4
  281. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  282. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  283. package/docs/types/MoveArgs.html +4 -4
  284. package/docs/types/MoveOpts.html +4 -4
  285. package/docs/types/Object3DHelperEventMap.html +4 -4
  286. package/docs/types/ObjectFit.html +4 -4
  287. package/docs/types/PaintBrushEventMap.html +4 -4
  288. package/docs/types/PanoCompassPluginData.html +4 -4
  289. package/docs/types/PanoCompassPluginExportType.html +4 -4
  290. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  291. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  292. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  293. package/docs/types/PanoIndex.html +4 -4
  294. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  295. package/docs/types/PanoMeasureReturnType.html +4 -4
  296. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  297. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  298. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  299. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  300. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  301. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  302. package/docs/types/PipelinePluginParameterType.html +4 -4
  303. package/docs/types/PipelinePluginReturnType.html +4 -4
  304. package/docs/types/PlaneTag.html +4 -4
  305. package/docs/types/Point2DTag.html +4 -4
  306. package/docs/types/Point3DTag.html +4 -4
  307. package/docs/types/PointTag.html +4 -4
  308. package/docs/types/PointTagInstance.html +4 -4
  309. package/docs/types/Position.html +4 -4
  310. package/docs/types/RotateArgs.html +4 -4
  311. package/docs/types/RotateOpts.html +4 -4
  312. package/docs/types/RuleLabelsKey.html +4 -4
  313. package/docs/types/RuleLabelsValue.html +4 -4
  314. package/docs/types/StickType.html +4 -4
  315. package/docs/types/Tag.html +4 -4
  316. package/docs/types/Tag2D.html +4 -4
  317. package/docs/types/Tag3D.html +4 -4
  318. package/docs/types/TagConfigByKey.html +4 -4
  319. package/docs/types/TagContentType.html +4 -4
  320. package/docs/types/TagDimensionType.html +4 -4
  321. package/docs/types/TagElement.html +4 -4
  322. package/docs/types/TagEvents.html +4 -4
  323. package/docs/types/TagGLTFObject.html +4 -4
  324. package/docs/types/TagHooks.html +4 -4
  325. package/docs/types/TagId.html +4 -4
  326. package/docs/types/TagInstance.html +4 -4
  327. package/docs/types/TagPointType.html +4 -4
  328. package/docs/types/TagRendererMap.html +4 -4
  329. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  330. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  331. package/docs/types/WorkCode.html +4 -4
  332. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  333. package/docs/variables/PLUGIN.html +4 -4
  334. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  335. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  336. package/docs/variables/defaultGlobalConfig.html +4 -4
  337. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  338. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  339. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  340. package/libs/PanoTagPlugin/controller/TagUtil.js +59 -58
  341. package/libs/base/BasePlugin.js +1 -1
  342. package/libs/shared-utils/five/FiveDomEvents.js +30 -31
  343. package/libs/shared-utils/logger.js +1 -1
  344. package/libs/shared-utils/three/getNormal.js +5 -5
  345. package/package.json +1 -1
@@ -1,38 +1,38 @@
1
1
  var H = Object.defineProperty, J = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
- var F = Object.getOwnPropertySymbols;
4
- var _ = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
3
+ var L = Object.getOwnPropertySymbols;
4
+ var X = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
5
5
  var k = (a, r, e) => r in a ? H(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e, C = (a, r) => {
6
6
  for (var e in r || (r = {}))
7
- _.call(r, e) && k(a, e, r[e]);
8
- if (F)
9
- for (var e of F(r))
10
- X.call(r, e) && k(a, e, r[e]);
7
+ X.call(r, e) && k(a, e, r[e]);
8
+ if (L)
9
+ for (var e of L(r))
10
+ q.call(r, e) && k(a, e, r[e]);
11
11
  return a;
12
- }, L = (a, r) => J(a, U(r));
12
+ }, x = (a, r) => J(a, U(r));
13
13
  var d = (a, r, e) => (k(a, typeof r != "symbol" ? r + "" : r, e), e);
14
- import { defaultGlobalConfig as q } from "../typings/tag/TagConfig.js";
14
+ import { defaultGlobalConfig as K } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as b } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as K from "three";
17
- import { DefaultConfig as Q } from "../tag.config.js";
18
- import { anyPositionToVector3 as Y, arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
16
+ import * as Q from "three";
17
+ import { DefaultConfig as Y } from "../tag.config.js";
18
+ import { anyPositionToVector3 as Z, arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as x } from "../utils/tagPosition.js";
21
- import { normalPositionToPositions as Z } from "../utils/normalPositionToPositions.js";
22
- import { TagCache as ee } from "./TagCache.js";
23
- import { writable as ie } from "../../vendor/svelte/store/index.js";
24
- import { isIOSWX as te } from "../../shared-utils/device.js";
25
- import { Five as oe } from "@realsee/five";
26
- import { isMediaPlaneTag as ne, isMediaModelTag as B, isPlaneTag as re, isPoint3DTag as se } from "../utils/tag/tagCheck.js";
27
- import { VideoPlane as fe } from "../utils/model/mediaPlane.js";
28
- import { FiveDomEvents as ae } from "../../shared-utils/five/FiveDomEvents.js";
29
- import R from "../utils/tag/adaptConfig.js";
30
- import { isPanoramaLike as W, isModelLike as N } from "../../shared-utils/five/mode.js";
20
+ import { getTagCenterPosition as R } from "../utils/tagPosition.js";
21
+ import { normalPositionToPositions as ee } from "../utils/normalPositionToPositions.js";
22
+ import { TagCache as ie } from "./TagCache.js";
23
+ import { writable as te } from "../../vendor/svelte/store/index.js";
24
+ import { isIOSWX as oe } from "../../shared-utils/device.js";
25
+ import { Five as ne } from "@realsee/five";
26
+ import { isMediaPlaneTag as re, isMediaModelTag as B, isPlaneTag as se, isPoint3DTag as fe } from "../utils/tag/tagCheck.js";
27
+ import { VideoPlane as ae } from "../utils/model/mediaPlane.js";
28
+ import { FiveDomEvents as le } from "../../shared-utils/five/FiveDomEvents.js";
29
+ import N from "../utils/tag/adaptConfig.js";
30
+ import { isPanoramaLike as W, isModelLike as G } from "../../shared-utils/five/mode.js";
31
31
  import "hammerjs";
32
32
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
34
34
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
35
- import { entries as G } from "../../shared-utils/typescript/entries.js";
35
+ import { entries as _ } from "../../shared-utils/typescript/entries.js";
36
36
  import { getUrlExt as $ } from "../../shared-utils/url/getUrl.js";
37
37
  import "../../shared-utils/three/centerPoint.js";
38
38
  import "../../base/BasePlugin.js";
@@ -58,12 +58,12 @@ import "../Assets/Icon.js";
58
58
  import "../../shared-utils/three/getPositionsByObjectFit.js";
59
59
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
60
60
  import "../../shared-utils/three/getNormal.js";
61
- class ti extends ee {
61
+ class oi extends ie {
62
62
  constructor(e) {
63
63
  super(e);
64
64
  d(this, "tags", []);
65
- d(this, "config", Q);
66
- d(this, "mediaStore", ie({
65
+ d(this, "config", Y);
66
+ d(this, "mediaStore", te({
67
67
  currentMediaElement: null
68
68
  }));
69
69
  /** css3DRenderPlugin */
@@ -74,10 +74,10 @@ class ti extends ee {
74
74
  resizeObserverDisposerAdding: !1,
75
75
  css3DRenderDisposer: /* @__PURE__ */ new Map()
76
76
  });
77
- d(this, "domEvents", new ae(this.five));
77
+ d(this, "domEvents", new le(this.five));
78
78
  d(this, "mouseInfo");
79
79
  d(this, "loadVideoFirstFrame", () => {
80
- te && this.hooks.emit("loadVideoFirstFrame");
80
+ oe && this.hooks.emit("loadVideoFirstFrame");
81
81
  });
82
82
  d(this, "preventWhenMouseDown", () => {
83
83
  var e;
@@ -87,7 +87,7 @@ class ti extends ee {
87
87
  this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
88
88
  this.tags.forEach((o) => {
89
89
  var t;
90
- if (o.mediaPlane instanceof fe && i !== o.mediaPlane.videoInstance) {
90
+ if (o.mediaPlane instanceof ae && i !== o.mediaPlane.videoInstance) {
91
91
  if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
92
92
  return;
93
93
  o.mediaPlane.pause();
@@ -125,11 +125,12 @@ class ti extends ee {
125
125
  }
126
126
  updateTagConfig() {
127
127
  this.clearCache(), this.tags.forEach((e) => {
128
- var t;
128
+ var o;
129
129
  const i = this.getTagConfig(e, { useCache: !1 });
130
- e.config = i;
131
- const o = JSON.parse(JSON.stringify(e.data));
132
- e.data = (t = i.initialData) != null && t.important ? b(e.data, o, i.initialData) : b(e.data, i.initialData, o);
130
+ if (e.config = i, e.config.initialData) {
131
+ const t = JSON.parse(JSON.stringify(e.data));
132
+ e.data = (o = i.initialData) != null && o.important ? b(e.data, t, i.initialData) : b(e.data, i.initialData, t);
133
+ }
133
134
  });
134
135
  }
135
136
  can(e, i) {
@@ -159,15 +160,15 @@ class ti extends ee {
159
160
  return;
160
161
  const t = e.data.mediaData;
161
162
  if (!(!t || t.length === 0) && o.renderType === "Mesh") {
162
- if (ne(e)) {
163
+ if (re(e)) {
163
164
  if (t.length === 1) {
164
165
  if (t[0].type === "Video")
165
166
  return "Mesh";
166
167
  if (t[0].type === "Image")
167
- return $(t[0].url) === "gif" ? "BehindDom" : "Mesh";
168
+ return $(t[0].url) === "gif" ? "Dom" : "Mesh";
168
169
  }
169
170
  } else if (B(e))
170
- return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "BehindDom" : "Mesh" : "BehindDom";
171
+ return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
171
172
  }
172
173
  })();
173
174
  return i != null ? i : "Dom";
@@ -187,13 +188,13 @@ class ti extends ee {
187
188
  const f = (n = (s = this.five.work) == null ? void 0 : s.observers[o]) == null ? void 0 : n.position;
188
189
  if (f === void 0)
189
190
  throw new Error(`getAngle(): observerPosition is ${f}`);
190
- const c = (() => e.stickType === "3DPoint" ? Y(e.normal) : E(e.position))();
191
+ const c = (() => e.stickType === "3DPoint" ? Z(e.normal) : E(e.position))();
191
192
  if (!c)
192
193
  return;
193
- const g = x(e);
194
+ const g = R(e);
194
195
  if (!g)
195
196
  return;
196
- const u = new K.Vector3().copy(f).sub(g), v = c.angleTo(u) * 180 / Math.PI;
197
+ const u = new Q.Vector3().copy(f).sub(g), v = c.angleTo(u) * 180 / Math.PI;
197
198
  return t.angle = v, t.angle;
198
199
  }
199
200
  }
@@ -205,7 +206,7 @@ class ti extends ee {
205
206
  const o = C(C({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = o, n = W(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
206
207
  if ((n == null ? void 0 : n.distance) !== void 0)
207
208
  return n.distance;
208
- const f = x(e);
209
+ const f = R(e);
209
210
  if (!f)
210
211
  return -1;
211
212
  if (W(s)) {
@@ -215,16 +216,16 @@ class ti extends ee {
215
216
  const v = u.distanceTo(f);
216
217
  return n && (n.distance = v), v;
217
218
  }
218
- if (N(s))
219
+ if (G(s))
219
220
  return this.five.camera.position.distanceTo(f);
220
221
  }
221
222
  getPositions(e) {
222
- if (re(e))
223
+ if (se(e))
223
224
  return e.position;
224
225
  if (B(e))
225
226
  return e.data.mediaPosition;
226
- if (se(e))
227
- return Z(this.five.camera.position, w(e.position), w(e.normal));
227
+ if (fe(e))
228
+ return ee(this.five.camera.position, w(e.position), w(e.normal));
228
229
  }
229
230
  addObjectClickHandler(e, i, o) {
230
231
  if (!i || !this.domEvents)
@@ -282,7 +283,7 @@ class ti extends ee {
282
283
  * @description: 获取merge后的配置
283
284
  */
284
285
  calculateTagConfig(e, i) {
285
- var v, j, A;
286
+ var v, j, A, S;
286
287
  const o = (v = i == null ? void 0 : i.useCache) != null ? v : !0;
287
288
  if (!e)
288
289
  return (j = this.config.globalConfig) != null ? j : {};
@@ -290,8 +291,8 @@ class ti extends ee {
290
291
  return e.config;
291
292
  const t = {}, s = {}, n = {};
292
293
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([p, h]) => {
293
- var I, O;
294
- const l = p, D = l.split("-"), S = p.startsWith("["), y = S ? D[0].slice(1, -1) : void 0, T = S ? D.slice(1) : D, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (I = s[y]) != null ? I : s[y] = {} : (O = n[y]) != null ? O : n[y] = {} : t;
294
+ var O, V;
295
+ const l = p, D = l.split("-"), I = p.startsWith("["), y = I ? D[0].slice(1, -1) : void 0, T = I ? D.slice(1) : D, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (O = s[y]) != null ? O : s[y] = {} : (V = n[y]) != null ? V : n[y] = {} : t;
295
296
  if (!M[l]) {
296
297
  if (T.length === 0 && (M[l] = h), T.length === 1) {
297
298
  const [m] = T;
@@ -304,30 +305,30 @@ class ti extends ee {
304
305
  if (T.length === 3) {
305
306
  const [m = "Any", P, z] = T;
306
307
  if (P === "Audio" && e.contentType === "Audio") {
307
- const V = e;
308
- (V.stickType === m || m === "Any") && V.data.appearance === z && (M[l] = h);
308
+ const F = e;
309
+ (F.stickType === m || m === "Any") && F.data.appearance === z && (M[l] = h);
309
310
  }
310
311
  }
311
312
  }
312
313
  });
313
314
  const f = b(
314
315
  {},
315
- q,
316
+ K,
316
317
  this.config.globalConfig,
317
318
  ...Object.values(t),
318
- e.config
319
- ), c = {}, g = Object.values(oe.Mode);
320
- G(s).forEach(([p, h]) => {
319
+ (S = e.config) != null && S._isMerged ? e.initialConfig : e.config
320
+ ), c = {}, g = Object.values(ne.Mode);
321
+ _(s).forEach(([p, h]) => {
321
322
  g.forEach((l) => {
322
- (p === "PanoramaLike" && W(l) || p === "ModelLike" && N(l)) && (c[l] = b({}, f, ...Object.values(h)));
323
+ (p === "PanoramaLike" && W(l) || p === "ModelLike" && G(l)) && (c[l] = b({}, f, ...Object.values(h)));
323
324
  });
324
- }), G(n).forEach(([p, h]) => {
325
+ }), _(n).forEach(([p, h]) => {
325
326
  c[p] = b({}, f, ...Object.values(h));
326
327
  });
327
- const u = L(C({}, f), { configWithFiveMode: c });
328
- return R(u, e), Object.values(c).forEach((p) => R(p, e)), u._isMerged = !0, u;
328
+ const u = x(C({}, f), { configWithFiveMode: c });
329
+ return N(u, e), Object.values(c).forEach((p) => N(p, e)), u._isMerged = !0, u;
329
330
  }
330
331
  }
331
332
  export {
332
- ti as TagUtil
333
+ oi as TagUtil
333
334
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.0.0-3");
17
+ i(this, "VERSION", "3.0.0-5");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,30 +1,29 @@
1
- var O = Object.defineProperty, g = Object.defineProperties;
2
- var H = Object.getOwnPropertyDescriptors;
1
+ var b = Object.defineProperty;
3
2
  var m = Object.getOwnPropertySymbols;
4
- var L = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
5
- var f = (i, e, t) => e in i ? O(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, p = (i, e) => {
3
+ var O = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
4
+ var f = (d, e, t) => e in d ? b(d, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[e] = t, p = (d, e) => {
6
5
  for (var t in e || (e = {}))
7
- L.call(e, t) && f(i, t, e[t]);
6
+ O.call(e, t) && f(d, t, e[t]);
8
7
  if (m)
9
8
  for (var t of m(e))
10
- $.call(e, t) && f(i, t, e[t]);
11
- return i;
12
- }, _ = (i, e) => g(i, H(e));
13
- var u = (i, e, t) => (f(i, typeof e != "symbol" ? e + "" : e, t), t);
14
- import { getObjectVisible as x } from "../three/getObjectVisible.js";
15
- class G {
9
+ g.call(e, t) && f(d, t, e[t]);
10
+ return d;
11
+ };
12
+ var u = (d, e, t) => (f(d, typeof e != "symbol" ? e + "" : e, t), t);
13
+ import { getObjectVisible as H } from "../three/getObjectVisible.js";
14
+ class I {
16
15
  constructor(e) {
17
16
  u(this, "five");
18
17
  u(this, "boundObject", {});
19
18
  u(this, "handleWantsTapGesture", (e) => {
20
- var d;
19
+ var s;
21
20
  const t = "click", n = this.boundObject[t];
22
21
  if (!n || (n == null ? void 0 : n.length) === 0)
23
22
  return;
24
- const o = this.five.model.intersectRaycaster(e), s = e.intersectObjects(n, !0);
25
- if (o.length > 0 && s.length > 0 && o[0].distance < s[0].distance)
23
+ const o = this.five.model.intersectRaycaster(e), i = e.intersectObjects(n, !0);
24
+ if (o.length > 0 && i.length > 0 && o[0].distance < i[0].distance)
26
25
  return;
27
- const r = (d = s[0]) == null ? void 0 : d.object;
26
+ const r = (s = i[0]) == null ? void 0 : s.object;
28
27
  if (!r || !this.objectIsBound(r))
29
28
  return;
30
29
  if (this.notify(t, r))
@@ -38,29 +37,29 @@ class G {
38
37
  });
39
38
  // eslint-disable-next-line max-params
40
39
  u(this, "notify", (e, t, n, o) => {
41
- let s = !1, r = [];
40
+ let i = !1, r = [];
42
41
  const l = [t];
43
- let d = t;
44
- for (; d.parent; )
45
- d = d.parent, l.push(d);
42
+ let s = t;
43
+ for (; s.parent; )
44
+ s = s.parent, l.push(s);
46
45
  for (const a of l) {
47
- if (s)
46
+ if (i)
48
47
  break;
49
48
  const h = a._domEvent;
50
49
  if (!h)
51
50
  continue;
52
51
  const E = h[`${e}Handler`];
53
52
  if (E)
54
- for (const [b, v] of E) {
55
- if (v != null && v.checkVisible && !x(a))
53
+ for (const [_, v] of E) {
54
+ if (v != null && v.checkVisible && !H(a))
56
55
  continue;
57
- const c = b({
56
+ const c = _({
58
57
  type: e,
59
58
  target: a,
60
59
  origDomEvent: n,
61
60
  intersect: o,
62
61
  stopPropagation: () => {
63
- s = !0;
62
+ i = !0;
64
63
  }
65
64
  });
66
65
  r.push(c != null ? c : !0);
@@ -93,17 +92,17 @@ class G {
93
92
  * @return {void}
94
93
  */
95
94
  addEventListener(e, t, n, o) {
96
- var s;
97
- e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, _(p({}, o), { checkVisible: !0 })]), (s = this.boundObject[t]) == null || s.push(e);
95
+ var i;
96
+ e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, p({ checkVisible: !0 }, o)]), (i = this.boundObject[t]) == null || i.push(e);
98
97
  }
99
98
  removeEventListener(e, t, n, ...o) {
100
99
  var r, l;
101
100
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
102
101
  return;
103
- const s = e._domEvent[`${t}Handler`].findIndex((d) => d[0] === n);
104
- if (s !== -1 && (e._domEvent[`${t}Handler`].splice(s, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
105
- const d = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
106
- d !== -1 && ((l = this.boundObject[t]) == null || l.splice(d, 1));
102
+ const i = e._domEvent[`${t}Handler`].findIndex((s) => s[0] === n);
103
+ if (i !== -1 && (e._domEvent[`${t}Handler`].splice(i, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
104
+ const s = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
105
+ s !== -1 && ((l = this.boundObject[t]) == null || l.splice(s, 1));
107
106
  }
108
107
  }
109
108
  dispose() {
@@ -111,5 +110,5 @@ class G {
111
110
  }
112
111
  }
113
112
  export {
114
- G as FiveDomEvents
113
+ I as FiveDomEvents
115
114
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.0.0-3",
3
+ "%c %c@realsee/dnalogel %cv3.0.0-5",
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-3",
10
+ "version": "3.0.0-5",
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*",