@realsee/dnalogel 3.0.0-0 → 3.0.0-2

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 (432) hide show
  1. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +2 -6
  4. package/dist/index.cjs.js +54 -54
  5. package/dist/index.js +3316 -3309
  6. package/dist/index.umd.js +47 -47
  7. package/dist/shared-utils/index.d.ts +1 -1
  8. package/dist/shared-utils/nearlyEqual.d.ts +7 -0
  9. package/dist/shared-utils/three/getNormal.d.ts +2 -0
  10. package/dist/shared-utils/url/getUrl.d.ts +4 -0
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  13. package/docs/classes/CSS3DRender.html +30 -30
  14. package/docs/classes/CruisePluginController.html +25 -25
  15. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  16. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  17. package/docs/classes/Magnifier.html +19 -19
  18. package/docs/classes/ModelRoomLabelController.html +10 -10
  19. package/docs/classes/Object3DHelperController.html +24 -24
  20. package/docs/classes/PaintBrush.html +14 -14
  21. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  22. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  23. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  24. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  25. package/docs/classes/PanoTagPluginController.html +44 -44
  26. package/docs/classes/Util.BetterTween.html +8 -8
  27. package/docs/classes/Util.Interval.html +11 -11
  28. package/docs/classes/Util.LineSegments.html +7 -7
  29. package/docs/classes/Util.Magnifier.html +19 -19
  30. package/docs/classes/Util.Object3D.html +7 -7
  31. package/docs/classes/Util.PointDomHelper.html +10 -10
  32. package/docs/classes/Util.PointHelper.html +10 -10
  33. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  34. package/docs/classes/Util.Rectangle.html +12 -12
  35. package/docs/enums/CameraMovementEffect.html +6 -6
  36. package/docs/enums/ContentType.html +19 -19
  37. package/docs/enums/DIRECTION.html +8 -8
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/DimensionType.html +6 -6
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  42. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  43. package/docs/enums/PointType.html +6 -6
  44. package/docs/enums/Rotation.html +7 -7
  45. package/docs/functions/AreaMakerPlugin.html +4 -4
  46. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  47. package/docs/functions/CameraMovementPlugin.html +4 -4
  48. package/docs/functions/CruisePlugin.html +4 -4
  49. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  50. package/docs/functions/GuideLinePlugin.html +4 -4
  51. package/docs/functions/ItemLabelPlugin.html +4 -4
  52. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  53. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  55. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  56. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  57. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  58. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  59. package/docs/functions/ModelViewPlugin.html +4 -4
  60. package/docs/functions/Object3DHelperPlugin.html +4 -4
  61. package/docs/functions/PanoCompassPlugin.html +4 -4
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  63. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  65. package/docs/functions/PanoMeasurePlugin.html +4 -4
  66. package/docs/functions/PanoRulerPlugin.html +4 -4
  67. package/docs/functions/PanoRulerProPlugin.html +4 -4
  68. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  69. package/docs/functions/PanoTagPlugin.html +4 -4
  70. package/docs/functions/PanoVideoPlugin.html +4 -4
  71. package/docs/functions/PipelinePlugin.html +4 -4
  72. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  73. package/docs/functions/Util.absoluteUrl.html +4 -4
  74. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  75. package/docs/functions/Util.equal.html +4 -4
  76. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  77. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  78. package/docs/functions/Util.getFrameTime.html +4 -4
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  81. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  82. package/docs/functions/Util.isModelLike.html +4 -4
  83. package/docs/functions/Util.isNil.html +4 -4
  84. package/docs/functions/Util.isPanoramaLike.html +4 -4
  85. package/docs/functions/Util.nextFrame.html +4 -4
  86. package/docs/functions/Util.notNil.html +4 -4
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  88. package/docs/functions/Util.tweenProgress.html +4 -4
  89. package/docs/functions/Util.uuid.html +4 -4
  90. package/docs/functions/pluginFlag.html +4 -4
  91. package/docs/index.html +4 -4
  92. package/docs/interfaces/AddTagConfig.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  102. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  104. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  105. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  106. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  120. package/docs/interfaces/EventMap.html +14 -14
  121. package/docs/interfaces/FloorplanBounding.html +7 -7
  122. package/docs/interfaces/FloorplanData.html +9 -9
  123. package/docs/interfaces/FloorplanEntrance.html +10 -10
  124. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  125. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  126. package/docs/interfaces/FloorplanFloorData.html +8 -8
  127. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  128. package/docs/interfaces/FloorplanObserver.html +8 -8
  129. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  130. package/docs/interfaces/FloorplanPosition.html +6 -6
  131. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  133. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  134. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  135. package/docs/interfaces/FloorplanServerData.html +6 -6
  136. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  138. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  139. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  140. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  141. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  143. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  144. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  152. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  155. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  156. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  157. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  158. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  159. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  160. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  161. package/docs/interfaces/HelperOffset.html +7 -7
  162. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  163. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  164. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  165. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  166. package/docs/interfaces/MinMax.html +6 -6
  167. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  168. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  169. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  170. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  171. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  172. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  173. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  174. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  175. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  176. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  177. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  178. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  179. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  180. package/docs/interfaces/Object3DHelperState.html +7 -7
  181. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  182. package/docs/interfaces/PaintBrushAction.html +11 -11
  183. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  184. package/docs/interfaces/PaintBrushState.html +9 -9
  185. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  186. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  187. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  188. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  189. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  190. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  191. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  192. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  193. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  194. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  195. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  196. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  197. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  198. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  199. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  200. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  201. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  202. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  203. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  204. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  205. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  206. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  207. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  208. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  209. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  210. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  211. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  212. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  213. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  214. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  215. package/docs/interfaces/Point.html +7 -7
  216. package/docs/interfaces/Room.html +8 -8
  217. package/docs/interfaces/RoomInfo.html +6 -6
  218. package/docs/interfaces/RoomLabel.html +13 -13
  219. package/docs/interfaces/RoomRules.html +4 -4
  220. package/docs/interfaces/Rooms.html +4 -4
  221. package/docs/interfaces/Scissor.html +8 -8
  222. package/docs/interfaces/State.html +7 -7
  223. package/docs/interfaces/TagCacheInterface.html +11 -11
  224. package/docs/interfaces/TagConfig.html +13 -13
  225. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  226. package/docs/interfaces/TagIconUrl.html +11 -11
  227. package/docs/interfaces/TagObjectGroup.html +5 -5
  228. package/docs/interfaces/TagStyle.html +5 -5
  229. package/docs/interfaces/Tags.html +8 -8
  230. package/docs/interfaces/TemporaryState.html +5 -5
  231. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  232. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  233. package/docs/interfaces/Util.PointIntersection.html +7 -7
  234. package/docs/modules/AreaMakerPluginType.html +4 -4
  235. package/docs/modules/CruisePluginTypes.html +4 -4
  236. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  237. package/docs/modules/GuideLineItem.html +4 -4
  238. package/docs/modules/GuideLineModeItem.html +4 -4
  239. package/docs/modules/GuideLinePluginType.html +4 -4
  240. package/docs/modules/PanoVideoPluginType.html +4 -4
  241. package/docs/modules/Util.html +4 -4
  242. package/docs/modules.html +4 -4
  243. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  244. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  245. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  246. package/docs/types/ArrayPosition.html +4 -4
  247. package/docs/types/AudioAppearance.html +4 -4
  248. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  249. package/docs/types/CSS3DRenderExportType.html +4 -4
  250. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  251. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  252. package/docs/types/ClassFunctionParameters.html +4 -4
  253. package/docs/types/Color.html +4 -4
  254. package/docs/types/ContentTypeConfigKey.html +4 -4
  255. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  256. package/docs/types/ContentTypeMap.html +4 -4
  257. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  258. package/docs/types/Create3DElementReturnType.html +4 -4
  259. package/docs/types/CruisePluginExportType.html +4 -4
  260. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  261. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  262. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  264. package/docs/types/DeprecatedTagProperty.html +4 -4
  265. package/docs/types/Direction-1.html +4 -4
  266. package/docs/types/Direction4.html +4 -4
  267. package/docs/types/ElementRenderer.html +4 -4
  268. package/docs/types/FloorplanRuleLabels.html +4 -4
  269. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  270. package/docs/types/GuideLinePluginExportType.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  276. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  277. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  278. package/docs/types/HelperEventMap.html +4 -4
  279. package/docs/types/LoadTagConfig.html +4 -4
  280. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  281. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  282. package/docs/types/MediaData.html +4 -4
  283. package/docs/types/MediaStore.html +4 -4
  284. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  285. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  286. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  287. package/docs/types/ModelId.html +4 -4
  288. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  289. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  290. package/docs/types/MoveArgs.html +4 -4
  291. package/docs/types/MoveOpts.html +4 -4
  292. package/docs/types/Object3DHelperEventMap.html +4 -4
  293. package/docs/types/ObjectFit.html +4 -4
  294. package/docs/types/PaintBrushEventMap.html +4 -4
  295. package/docs/types/PanoCompassPluginData.html +4 -4
  296. package/docs/types/PanoCompassPluginExportType.html +4 -4
  297. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  298. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  299. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  300. package/docs/types/PanoIndex.html +4 -4
  301. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  302. package/docs/types/PanoMeasureReturnType.html +4 -4
  303. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  304. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  305. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  306. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  307. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  308. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  309. package/docs/types/PipelinePluginParameterType.html +4 -4
  310. package/docs/types/PipelinePluginReturnType.html +4 -4
  311. package/docs/types/PlaneTag.html +4 -4
  312. package/docs/types/Point2DTag.html +4 -4
  313. package/docs/types/Point3DTag.html +4 -4
  314. package/docs/types/PointTag.html +4 -4
  315. package/docs/types/PointTagInstance.html +4 -4
  316. package/docs/types/Position.html +4 -4
  317. package/docs/types/RotateArgs.html +4 -4
  318. package/docs/types/RotateOpts.html +4 -4
  319. package/docs/types/RuleLabelsKey.html +4 -4
  320. package/docs/types/RuleLabelsValue.html +4 -4
  321. package/docs/types/StickType.html +4 -4
  322. package/docs/types/Tag.html +4 -4
  323. package/docs/types/Tag2D.html +4 -4
  324. package/docs/types/Tag3D.html +4 -4
  325. package/docs/types/TagConfigByKey.html +4 -4
  326. package/docs/types/TagContentType.html +4 -4
  327. package/docs/types/TagDimensionType.html +4 -4
  328. package/docs/types/TagElement.html +4 -4
  329. package/docs/types/TagEvents.html +4 -4
  330. package/docs/types/TagGLTFObject.html +4 -4
  331. package/docs/types/TagHooks.html +4 -4
  332. package/docs/types/TagId.html +4 -4
  333. package/docs/types/TagInstance.html +4 -4
  334. package/docs/types/TagPointType.html +4 -4
  335. package/docs/types/TagRendererMap.html +4 -4
  336. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  337. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  338. package/docs/types/WorkCode.html +4 -4
  339. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  340. package/docs/variables/PLUGIN.html +4 -4
  341. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  342. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  343. package/docs/variables/defaultGlobalConfig.html +4 -4
  344. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  345. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  346. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  347. package/libs/AreaMakerPlugin/Controller.js +5 -3
  348. package/libs/AreaMakerPlugin/index.js +5 -3
  349. package/libs/AreaMakerPlugin/utils/Item.js +9 -7
  350. package/libs/CSS3DRenderPlugin/Controller.js +5 -3
  351. package/libs/CSS3DRenderPlugin/index.js +8 -6
  352. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
  353. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -6
  354. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
  355. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +23 -22
  356. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +2 -6
  357. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +44 -54
  358. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +4 -2
  359. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -3
  360. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +11 -10
  361. package/libs/CruisePlugin/Controller.js +39 -37
  362. package/libs/CruisePlugin/index.js +10 -8
  363. package/libs/CurrentPanoImagePlugin/Controller.js +11 -9
  364. package/libs/CurrentPanoImagePlugin/index.js +6 -4
  365. package/libs/GuideLinePlugin/Controller.js +26 -24
  366. package/libs/GuideLinePlugin/GuideLineItem.js +7 -5
  367. package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -5
  368. package/libs/GuideLinePlugin/index.js +12 -10
  369. package/libs/ModelTVVideoPlugin/Plugin.js +6 -4
  370. package/libs/ModelTVVideoPlugin/index.js +5 -3
  371. package/libs/Object3DHelperPlugin/Controller.js +5 -3
  372. package/libs/Object3DHelperPlugin/index.js +8 -6
  373. package/libs/PanoCompassPlugin/Controller.js +5 -3
  374. package/libs/PanoCompassPlugin/index.js +6 -4
  375. package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
  376. package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
  377. package/libs/PanoDoorLabelPlugin/index.js +6 -4
  378. package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -3
  379. package/libs/PanoMeasurePlugin/Components/Controller1.js +55 -53
  380. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -3
  381. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
  382. package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
  383. package/libs/PanoMeasurePlugin/Model/area.js +4 -2
  384. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +25 -23
  385. package/libs/PanoMeasurePlugin/index.js +16 -14
  386. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +14 -12
  387. package/libs/PanoSpatialTagPlugin/Plugin.js +6 -4
  388. package/libs/PanoSpatialTagPlugin/index.js +3 -1
  389. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
  390. package/libs/PanoTagPlugin/Components/Tag/index.js +185 -183
  391. package/libs/PanoTagPlugin/Components/TagContainer.js +36 -34
  392. package/libs/PanoTagPlugin/Components/TagItem.js +66 -64
  393. package/libs/PanoTagPlugin/controller/TagCache.js +5 -3
  394. package/libs/PanoTagPlugin/controller/TagComputer.js +6 -4
  395. package/libs/PanoTagPlugin/controller/TagRender.js +7 -5
  396. package/libs/PanoTagPlugin/controller/TagUtil.js +66 -59
  397. package/libs/PanoTagPlugin/controller/index.js +16 -14
  398. package/libs/PanoTagPlugin/index.js +16 -14
  399. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
  400. package/libs/PanoVideoPlugin/Controller.js +5 -3
  401. package/libs/PanoVideoPlugin/VideoMeshController.js +4 -2
  402. package/libs/PanoVideoPlugin/index.js +8 -6
  403. package/libs/PipelinePlugin/Controller.js +5 -3
  404. package/libs/PipelinePlugin/index.js +6 -4
  405. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
  406. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -12
  407. package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -0
  408. package/libs/base/BasePlugin.js +2 -2
  409. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -3
  410. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -4
  411. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
  412. package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
  414. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
  415. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -31
  416. package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
  417. package/libs/floorplan/index.js +1 -0
  418. package/libs/index.js +121 -119
  419. package/libs/shared-utils/five/changeMode.js +11 -11
  420. package/libs/shared-utils/index.d.ts +1 -1
  421. package/libs/shared-utils/index.js +1 -1
  422. package/libs/shared-utils/logger.js +1 -1
  423. package/libs/shared-utils/nearlyEqual.d.ts +7 -0
  424. package/libs/shared-utils/nearlyEqual.js +9 -3
  425. package/libs/shared-utils/three/getNormal.d.ts +2 -0
  426. package/libs/shared-utils/three/getNormal.js +10 -0
  427. package/libs/shared-utils/url/getUrl.d.ts +4 -0
  428. package/libs/shared-utils/url/getUrl.js +7 -0
  429. package/package.json +2 -2
  430. /package/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
  431. /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
  432. /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
package/libs/index.js CHANGED
@@ -1,59 +1,59 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Hp } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as jp } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as kp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as zp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Kp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Wp, modelRoomLabelPluginServerParams as Xp } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as oe } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as te } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as me } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as ee } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as le } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as Pe, ROOM_FETILE_TYPE_MAP as ue, ROOM_TYPE_MAP as fe } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as ge } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as de } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Te } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as Ce, Rotation as _e } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Ie } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as Oe } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as Ae } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as De } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as be } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as Ye } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as ce } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Ne } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as we } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as He } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as je } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as ke } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as ze } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Ke } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as We } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as Ze } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as rn } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as mn } from "./CurrentPanoImagePlugin/index.js";
37
- import { index as en } from "./shared-utils/index.js";
38
- import { CSS3DRender as ln } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
- import { Model as Pn } from "./PanoMeasurePlugin/Model/index.js";
40
- import { default as fn } from "./PanoMeasurePlugin/Model/point.js";
41
- import { default as gn } from "./PanoMeasurePlugin/Model/line.js";
42
- import { Polyline as dn } from "./PanoMeasurePlugin/Model/polyline.js";
43
- import { default as Tn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
- import { DISPLAY_STRATEGY_TYPE as Cn } from "./ModelItemLabelPlugin/typings.js";
45
- import { ModelItemLabelPlugin as En } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Rn } from "./ItemLabelPlugin/typings.js";
47
- import { Plugin as yn } from "./ItemLabelPlugin/Plugin.js";
48
- import { GuideLineItem$1 as Sn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
- import { GuideLineModeItem$1 as Gn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
- import { default as Fn } from "./CruisePlugin/Controller.js";
51
- import { typing as vn } from "./CruisePlugin/typing/index.js";
52
- import { default as Vn, pluginFlag as Nn } from "./PanoTagPlugin/controller/index.js";
53
- import { defaultGlobalConfig as wn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
- import { ContentType as Hn, DimensionType as Un, PointType as jn } from "./PanoTagPlugin/Archive/deprecated.js";
55
- import { Object3DHelperController as kn, PLUGIN as qn } from "./Object3DHelperPlugin/Controller.js";
56
- import { typings as Jn } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as jp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as kp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as zp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Kp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as Wp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Zp, modelRoomLabelPluginServerParams as oe } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as te } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as me } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as ee } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as le } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as Pe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as fe, ROOM_FETILE_TYPE_MAP as xe, ROOM_TYPE_MAP as ge } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as de } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Te } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as Ce } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Ee, Rotation as Ie } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Oe } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Ae } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as De } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as be } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Ye } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as ce } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Ne } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as we } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as He } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as je } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as ke } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as ze } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as Ke } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as We } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as Ze } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as rn } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as mn } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as en } from "./CurrentPanoImagePlugin/index.js";
37
+ import { index as ln } from "./shared-utils/index.js";
38
+ import { CSS3DRender as Pn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
+ import { Model as fn } from "./PanoMeasurePlugin/Model/index.js";
40
+ import { default as gn } from "./PanoMeasurePlugin/Model/point.js";
41
+ import { default as dn } from "./PanoMeasurePlugin/Model/line.js";
42
+ import { Polyline as Tn } from "./PanoMeasurePlugin/Model/polyline.js";
43
+ import { default as Cn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
+ import { DISPLAY_STRATEGY_TYPE as En } from "./ModelItemLabelPlugin/typings.js";
45
+ import { ModelItemLabelPlugin as Rn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as yn } from "./ItemLabelPlugin/typings.js";
47
+ import { Plugin as Sn } from "./ItemLabelPlugin/Plugin.js";
48
+ import { GuideLineItem$1 as Gn } from "./GuideLinePlugin/GuideLineItem/index.js";
49
+ import { GuideLineModeItem$1 as Fn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
+ import { default as vn } from "./CruisePlugin/Controller.js";
51
+ import { typing as Vn } from "./CruisePlugin/typing/index.js";
52
+ import { default as hn, pluginFlag as wn } from "./PanoTagPlugin/controller/index.js";
53
+ import { defaultGlobalConfig as Hn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
+ import { ContentType as jn, DimensionType as $n, PointType as kn } from "./PanoTagPlugin/Archive/deprecated.js";
55
+ import { Object3DHelperController as zn, PLUGIN as Jn } from "./Object3DHelperPlugin/Controller.js";
56
+ import { typings as Qn } from "./PanoVideoPlugin/typings/index.js";
57
57
  import "./components/PaintBrush/Controller.js";
58
58
  import "./components/PaintBrush/utils.js";
59
59
  import "./components/PaintBrush/tween.js";
@@ -67,17 +67,19 @@ import "./CSS3DRenderPlugin/Controller.js";
67
67
  import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
68
68
  import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
69
69
  import "hammerjs";
70
- import "./shared-utils/absoluteUrl.js";
70
+ import "./shared-utils/url/absoluteUrl.js";
71
71
  import "./shared-utils/positionToVector3.js";
72
72
  import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
73
73
  import "three/examples/jsm/renderers/CSS3DRenderer";
74
74
  import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
75
+ import "./shared-utils/util.js";
75
76
  import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
76
77
  import "./CSS3DRenderPlugin/utils/even.js";
77
78
  import "./shared-utils/Subscribe.js";
78
79
  import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
79
80
  import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
80
81
  import "./shared-utils/three/centerPoint.js";
82
+ import "./shared-utils/three/getObjectVisible.js";
81
83
  import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
82
84
  import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
83
85
  import "./shared-utils/createLine/index.js";
@@ -277,12 +279,12 @@ import "./shared-utils/math/pointIsRectangle.js";
277
279
  import "./shared-utils/three/loadVideoTexture.js";
278
280
  import "./shared-utils/three/getPositionsByObjectFit.js";
279
281
  import "./shared-utils/three/FragmentTransparencyMaterial.js";
282
+ import "./shared-utils/three/getNormal.js";
280
283
  import "./shared-utils/five/FiveDomEvents.js";
281
- import "./shared-utils/three/getObjectVisible.js";
282
284
  import "./PanoTagPlugin/utils/tag/adaptConfig.js";
283
285
  import "./shared-utils/typescript/entries.js";
286
+ import "./shared-utils/url/getUrl.js";
284
287
  import "./shared-utils/five/getFloorIndex.js";
285
- import "./shared-utils/util.js";
286
288
  import "./PanoTagPlugin/Components/TagContainer.js";
287
289
  import "./PanoTagPlugin/Components/TagItem.js";
288
290
  import "./PanoTagPlugin/Components/Tag/index.js";
@@ -415,66 +417,66 @@ import "./shared-utils/three/getRaycaster.js";
415
417
  r();
416
418
  o();
417
419
  export {
418
- rn as AreaMakerPlugin,
419
- ln as CSS3DRender,
420
- zp as CSS3DRenderPlugin,
421
- Ce as CameraMovementEffect,
422
- Te as CameraMovementPlugin,
423
- Hn as ContentType,
424
- ke as CruisePlugin,
425
- Fn as CruisePluginController,
426
- vn as CruisePluginTypes,
427
- mn as CurrentPanoImagePlugin,
428
- Ne as DIRECTION,
429
- Cn as DISPLAY_STRATEGY_TYPE,
430
- Un as DimensionType,
431
- oe as FLOOR_PLAN_ATTACHED_TO,
432
- Pe as FLOOR_TYPE_MAP,
433
- Sn as GuideLineItem,
434
- Gn as GuideLineModeItem,
435
- je as GuideLinePlugin,
436
- Rn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
437
- yn as ItemLabelPlugin,
438
- Tn as Magnifier,
439
- me as MapviewFloorplanPlugin,
440
- ge as ModelChassisCompassPlugin,
441
- de as ModelEntryDoorGuidePlugin,
442
- te as ModelFloorplanPlugin,
443
- En as ModelItemLabelPlugin,
444
- Wp as ModelRoomLabelPlugin,
445
- ce as ModelTVVideoPlugin,
446
- kp as ModelViewPlugin,
447
- kn as Object3DHelperController,
448
- Ke as Object3DHelperPlugin,
449
- qn as PLUGIN,
450
- Hp as PaintBrush,
451
- jp as PaintBrushTypeEnum,
452
- Ae as PanoCompassPlugin,
453
- Kp as PanoCursorRaycasterPlugin,
454
- He as PanoDoorLabelPlugin,
455
- le as PanoFloorplanRadarPlugin,
456
- De as PanoMeasurePlugin,
457
- gn as PanoMeasurePluginLine,
458
- Pn as PanoMeasurePluginModel,
459
- fn as PanoMeasurePluginPoint,
460
- dn as PanoMeasurePluginPolyline,
461
- Ie as PanoRulerPlugin,
462
- Oe as PanoRulerProPlugin,
463
- be as PanoSpatialTagPlugin,
464
- ze as PanoTagPlugin,
465
- Vn as PanoTagPluginController,
466
- We as PanoVideoPlugin,
467
- Jn as PanoVideoPluginType,
468
- Ze as PipelinePlugin,
469
- jn as PointType,
470
- ue as ROOM_FETILE_TYPE_MAP,
471
- fe as ROOM_TYPE_MAP,
472
- _e as Rotation,
473
- ee as TopviewFloorplanPlugin,
474
- en as Util,
475
- wn as defaultGlobalConfig,
476
- we as itemLabelPluginServerParams,
477
- Ye as modelItemLabelPluginServerParams,
478
- Xp as modelRoomLabelPluginServerParams,
479
- Nn as pluginFlag
420
+ mn as AreaMakerPlugin,
421
+ Pn as CSS3DRender,
422
+ Kp as CSS3DRenderPlugin,
423
+ Ee as CameraMovementEffect,
424
+ Ce as CameraMovementPlugin,
425
+ jn as ContentType,
426
+ ze as CruisePlugin,
427
+ vn as CruisePluginController,
428
+ Vn as CruisePluginTypes,
429
+ en as CurrentPanoImagePlugin,
430
+ we as DIRECTION,
431
+ En as DISPLAY_STRATEGY_TYPE,
432
+ $n as DimensionType,
433
+ te as FLOOR_PLAN_ATTACHED_TO,
434
+ fe as FLOOR_TYPE_MAP,
435
+ Gn as GuideLineItem,
436
+ Fn as GuideLineModeItem,
437
+ ke as GuideLinePlugin,
438
+ yn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
439
+ Sn as ItemLabelPlugin,
440
+ Cn as Magnifier,
441
+ ee as MapviewFloorplanPlugin,
442
+ de as ModelChassisCompassPlugin,
443
+ Te as ModelEntryDoorGuidePlugin,
444
+ me as ModelFloorplanPlugin,
445
+ Rn as ModelItemLabelPlugin,
446
+ Zp as ModelRoomLabelPlugin,
447
+ Ne as ModelTVVideoPlugin,
448
+ zp as ModelViewPlugin,
449
+ zn as Object3DHelperController,
450
+ We as Object3DHelperPlugin,
451
+ Jn as PLUGIN,
452
+ jp as PaintBrush,
453
+ kp as PaintBrushTypeEnum,
454
+ De as PanoCompassPlugin,
455
+ Wp as PanoCursorRaycasterPlugin,
456
+ je as PanoDoorLabelPlugin,
457
+ Pe as PanoFloorplanRadarPlugin,
458
+ be as PanoMeasurePlugin,
459
+ dn as PanoMeasurePluginLine,
460
+ fn as PanoMeasurePluginModel,
461
+ gn as PanoMeasurePluginPoint,
462
+ Tn as PanoMeasurePluginPolyline,
463
+ Oe as PanoRulerPlugin,
464
+ Ae as PanoRulerProPlugin,
465
+ Ye as PanoSpatialTagPlugin,
466
+ Ke as PanoTagPlugin,
467
+ hn as PanoTagPluginController,
468
+ Ze as PanoVideoPlugin,
469
+ Qn as PanoVideoPluginType,
470
+ rn as PipelinePlugin,
471
+ kn as PointType,
472
+ xe as ROOM_FETILE_TYPE_MAP,
473
+ ge as ROOM_TYPE_MAP,
474
+ Ie as Rotation,
475
+ le as TopviewFloorplanPlugin,
476
+ ln as Util,
477
+ Hn as defaultGlobalConfig,
478
+ He as itemLabelPluginServerParams,
479
+ ce as modelItemLabelPluginServerParams,
480
+ oe as modelRoomLabelPluginServerParams,
481
+ wn as pluginFlag
480
482
  };
@@ -14,17 +14,17 @@ var f = (t, c, n) => new Promise((e, r) => {
14
14
  }, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(a, i);
15
15
  u((n = n.apply(t, c)).next());
16
16
  });
17
- import { nearlyEqual as d } from "../nearlyEqual.js";
18
- import { to as l } from "../to.js";
19
- function h(t) {
17
+ import { nearlyEqualRad as d, nearlyEqual as m } from "../nearlyEqual.js";
18
+ import { to as h } from "../to.js";
19
+ function w(t) {
20
20
  return Object.prototype.toString.call(t) === "[object Object]";
21
21
  }
22
- function m(t) {
23
- return h(t) && !!t.isVector3;
22
+ function l(t) {
23
+ return w(t) && !!t.isVector3;
24
24
  }
25
- function g(t, c) {
25
+ function j(t, c) {
26
26
  return f(this, null, function* () {
27
- const [n] = yield l(t.changeMode(...c));
27
+ const [n] = yield h(t.changeMode(...c));
28
28
  if (n)
29
29
  throw new Error("change mode canceled");
30
30
  yield new Promise((i) => {
@@ -36,16 +36,16 @@ function g(t, c) {
36
36
  if (!e)
37
37
  return !0;
38
38
  const r = t.getCurrentState();
39
- if (!w(e, r))
39
+ if (!b(e, r))
40
40
  throw new Error("pose 与预期不符");
41
41
  });
42
42
  }
43
- function w(t, c) {
43
+ function b(t, c) {
44
44
  return Object.keys(t).every((n) => {
45
45
  const e = c[n], r = t[n];
46
- return e === void 0 || r === void 0 ? !0 : typeof e == "number" && typeof r == "number" ? d(e, r, 2) : m(r) && m(e) ? r.distanceTo(e) < 0.01 : e === r;
46
+ return e === void 0 || r === void 0 ? !0 : n === "longitude" || n === "latitude" ? d(e, r, 2) : typeof e == "number" && typeof r == "number" ? m(e, r, 2) : l(r) && l(e) ? r.distanceTo(e) < 0.01 : e === r;
47
47
  });
48
48
  }
49
49
  export {
50
- g as changeMode
50
+ j as changeMode
51
51
  };
@@ -3,6 +3,6 @@ export * from './five';
3
3
  export * from './three';
4
4
  export * from './isNil';
5
5
  export * from './uuid';
6
- export * from './absoluteUrl';
6
+ export * from './url/absoluteUrl';
7
7
  export * from './animationFrame';
8
8
  export { default as equal } from './equal';
@@ -12,7 +12,7 @@ import { Object3D as s } from "./three/core/Object3D.js";
12
12
  import { LineSegments as g } from "./three/objects/LineSegments.js";
13
13
  import { isNil as c, notNil as d } from "./isNil.js";
14
14
  import { uuid as u } from "./uuid.js";
15
- import { absoluteUrl as F, isAbsoluteURL as P } from "./absoluteUrl.js";
15
+ import { absoluteUrl as F, isAbsoluteURL as P } from "./url/absoluteUrl.js";
16
16
  import { getFrameTime as b, nextFrame as v, requestAnimationFrameInterval as L } from "./animationFrame/index.js";
17
17
  import { equal as M } from "./equal.js";
18
18
  import { isModelLike as R, isPanoramaLike as S } from "./five/mode.js";
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.0.0-0",
3
+ "%c %c@realsee/dnalogel %cv3.0.0-2",
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",
@@ -5,3 +5,10 @@
5
5
  * @param accuracy 精度:精确到小数点后几位,默认精确到 小数点后四位
6
6
  */
7
7
  export default function nearlyEqual(num1: number, num2: number, accuracy?: number): boolean;
8
+ /**
9
+ * 比较两个弧度近似相等
10
+ * @param rad1 弧度1
11
+ * @param rad2 弧度2
12
+ * @param accuracy 精度:精确到小数点后几位,默认精确到 小数点后四位
13
+ */
14
+ export declare function nearlyEqualRad(rad1: number, rad2: number, accuracy?: number): boolean;
@@ -1,6 +1,12 @@
1
- function a(t, r, o = 4) {
2
- return Math.floor(t * Math.pow(10, o)) === Math.floor(r * Math.pow(10, o));
1
+ function r(t, a, n = 4) {
2
+ return Math.abs(t - a) < Math.pow(10, -n);
3
3
  }
4
+ function h(t, a, n = 4) {
5
+ const o = Math.PI * 2, s = t % o, e = a % o, i = Math.min(s, e), c = Math.max(s, e);
6
+ return r(i, c, n) || r(i + o, c, n);
7
+ }
8
+ Object.assign(window, { nearlyEqual: r, nearlyEqualRad: h });
4
9
  export {
5
- a as nearlyEqual
10
+ r as nearlyEqual,
11
+ h as nearlyEqualRad
6
12
  };
@@ -0,0 +1,2 @@
1
+ import { Vector3 } from 'three';
2
+ export default function getNormal(points: Vector3[], length?: number): Vector3;
@@ -0,0 +1,10 @@
1
+ import { Vector3 as s } from "three";
2
+ function p(o, r = 1) {
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);
7
+ }
8
+ export {
9
+ p as getNormal
10
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @description 获取文件路径后缀
3
+ */
4
+ export declare function getUrlExt(url: string): string;
@@ -0,0 +1,7 @@
1
+ function o(e) {
2
+ const t = e.split("?")[0].split(".").pop();
3
+ return t ? t.toLowerCase() : "";
4
+ }
5
+ export {
6
+ o as getUrlExt
7
+ };
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-0",
10
+ "version": "3.0.0-2",
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*",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@babel/core": "^7.22.9",
39
- "@realsee/five": "6.0.0-alpha.8",
39
+ "@realsee/five": "6.0.0-alpha.10",
40
40
  "@sveltejs/vite-plugin-svelte": "^2.4.2",
41
41
  "@tsconfig/svelte": "^4.0.1",
42
42
  "@tweenjs/tween.js": "^20.0.3",