@realsee/dnalogel 3.0.0-0 → 3.0.0-11

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 (422) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +2 -3
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
  4. package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
  6. package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -5
  7. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
  8. package/dist/PanoTagPlugin/controller/index.d.ts +6 -2
  9. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
  10. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
  11. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
  13. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
  14. package/dist/PanoTagPlugin/utils/index.d.ts +2 -0
  15. package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
  16. package/dist/index.cjs.js +57 -57
  17. package/dist/index.d.ts +0 -1
  18. package/dist/index.js +4455 -4456
  19. package/dist/index.umd.js +48 -48
  20. package/dist/shared-utils/five/FiveDomEvents.d.ts +3 -1
  21. package/dist/shared-utils/nearlyEqual.d.ts +7 -0
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -31
  24. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -32
  25. package/docs/classes/CSS3DRender.html +30 -31
  26. package/docs/classes/CruisePluginController.html +25 -26
  27. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
  28. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
  29. package/docs/classes/Magnifier.html +19 -20
  30. package/docs/classes/ModelRoomLabelController.html +10 -11
  31. package/docs/classes/Object3DHelperController.html +24 -25
  32. package/docs/classes/PaintBrush.html +14 -15
  33. package/docs/classes/PanoMeasurePluginLine.html +26 -27
  34. package/docs/classes/PanoMeasurePluginModel.html +26 -27
  35. package/docs/classes/PanoMeasurePluginPoint.html +10 -11
  36. package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
  37. package/docs/classes/PanoTagPluginController.html +107 -53
  38. package/docs/classes/Util.BetterTween.html +8 -9
  39. package/docs/classes/Util.Interval.html +11 -12
  40. package/docs/classes/Util.LineSegments.html +7 -8
  41. package/docs/classes/Util.Magnifier.html +19 -20
  42. package/docs/classes/Util.Object3D.html +7 -8
  43. package/docs/classes/Util.PointDomHelper.html +10 -11
  44. package/docs/classes/Util.PointHelper.html +10 -11
  45. package/docs/classes/Util.PointSelectorHelper.html +15 -16
  46. package/docs/classes/Util.Rectangle.html +12 -13
  47. package/docs/enums/CameraMovementEffect.html +6 -7
  48. package/docs/enums/ContentType.html +19 -20
  49. package/docs/enums/DIRECTION.html +8 -9
  50. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
  51. package/docs/enums/DimensionType.html +6 -7
  52. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
  53. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
  54. package/docs/enums/PaintBrushTypeEnum.html +7 -8
  55. package/docs/enums/PointType.html +6 -7
  56. package/docs/enums/Rotation.html +7 -8
  57. package/docs/functions/AreaMakerPlugin.html +4 -5
  58. package/docs/functions/CSS3DRenderPlugin.html +4 -5
  59. package/docs/functions/CameraMovementPlugin.html +4 -5
  60. package/docs/functions/CruisePlugin.html +4 -5
  61. package/docs/functions/CurrentPanoImagePlugin.html +4 -5
  62. package/docs/functions/GuideLinePlugin.html +4 -5
  63. package/docs/functions/ItemLabelPlugin.html +4 -5
  64. package/docs/functions/MapviewFloorplanPlugin.html +4 -5
  65. package/docs/functions/ModelChassisCompassPlugin.html +4 -5
  66. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -5
  67. package/docs/functions/ModelFloorplanPlugin.html +4 -5
  68. package/docs/functions/ModelItemLabelPlugin.html +4 -5
  69. package/docs/functions/ModelRoomLabelPlugin.html +4 -5
  70. package/docs/functions/ModelTVVideoPlugin.html +4 -5
  71. package/docs/functions/ModelViewPlugin.html +4 -5
  72. package/docs/functions/Object3DHelperPlugin.html +4 -5
  73. package/docs/functions/PanoCompassPlugin.html +4 -5
  74. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -5
  75. package/docs/functions/PanoDoorLabelPlugin.html +4 -5
  76. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -5
  77. package/docs/functions/PanoMeasurePlugin.html +4 -5
  78. package/docs/functions/PanoRulerPlugin.html +4 -5
  79. package/docs/functions/PanoRulerProPlugin.html +4 -5
  80. package/docs/functions/PanoSpatialTagPlugin.html +4 -5
  81. package/docs/functions/PanoTagPlugin.html +4 -5
  82. package/docs/functions/PanoVideoPlugin.html +4 -5
  83. package/docs/functions/PipelinePlugin.html +4 -5
  84. package/docs/functions/TopviewFloorplanPlugin.html +4 -5
  85. package/docs/functions/Util.absoluteUrl.html +4 -5
  86. package/docs/functions/Util.checkFiveModelLoaded.html +4 -5
  87. package/docs/functions/Util.equal.html +4 -5
  88. package/docs/functions/Util.getCoordsFromClient.html +4 -5
  89. package/docs/functions/Util.getCoordsFromElement.html +4 -5
  90. package/docs/functions/Util.getFrameTime.html +4 -5
  91. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
  92. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
  93. package/docs/functions/Util.isAbsoluteURL.html +4 -5
  94. package/docs/functions/Util.isModelLike.html +4 -5
  95. package/docs/functions/Util.isNil.html +4 -5
  96. package/docs/functions/Util.isPanoramaLike.html +4 -5
  97. package/docs/functions/Util.nextFrame.html +4 -5
  98. package/docs/functions/Util.notNil.html +4 -5
  99. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
  100. package/docs/functions/Util.tweenProgress.html +4 -5
  101. package/docs/functions/Util.uuid.html +4 -5
  102. package/docs/functions/pluginFlag.html +4 -5
  103. package/docs/index.html +4 -5
  104. package/docs/interfaces/AddTagConfig.html +5 -6
  105. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -6
  106. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -6
  107. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -15
  108. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -7
  109. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -9
  110. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -8
  111. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -6
  112. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -6
  113. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -6
  114. package/docs/interfaces/AreaMakerPluginType.State.html +7 -8
  115. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
  116. package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
  117. package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
  118. package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
  119. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
  120. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
  121. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
  122. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
  123. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
  124. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
  125. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -6
  126. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
  127. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -11
  128. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -12
  129. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -7
  130. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -6
  131. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -8
  132. package/docs/interfaces/EventMap.html +14 -15
  133. package/docs/interfaces/FloorplanBounding.html +7 -8
  134. package/docs/interfaces/FloorplanData.html +9 -10
  135. package/docs/interfaces/FloorplanEntrance.html +10 -11
  136. package/docs/interfaces/FloorplanExtraObject.html +9 -10
  137. package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
  138. package/docs/interfaces/FloorplanFloorData.html +8 -9
  139. package/docs/interfaces/FloorplanImagePosition.html +6 -7
  140. package/docs/interfaces/FloorplanObserver.html +8 -9
  141. package/docs/interfaces/FloorplanOutlineItem.html +8 -9
  142. package/docs/interfaces/FloorplanPosition.html +6 -7
  143. package/docs/interfaces/FloorplanRoomItem.html +12 -13
  144. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
  145. package/docs/interfaces/FloorplanServerBounding.html +7 -8
  146. package/docs/interfaces/FloorplanServerComputedData.html +9 -10
  147. package/docs/interfaces/FloorplanServerData.html +6 -7
  148. package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
  149. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
  150. package/docs/interfaces/FloorplanServerEntrance.html +10 -11
  151. package/docs/interfaces/FloorplanServerFloorData.html +8 -9
  152. package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
  153. package/docs/interfaces/FloorplanServerObserver.html +8 -9
  154. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
  155. package/docs/interfaces/FloorplanServerPosition.html +6 -7
  156. package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
  157. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
  158. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
  159. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
  160. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
  161. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
  162. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
  163. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
  164. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
  165. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
  166. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
  167. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
  168. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
  169. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -6
  170. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
  171. package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
  172. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
  173. package/docs/interfaces/HelperOffset.html +7 -8
  174. package/docs/interfaces/ImagePlaneGroup.html +5 -6
  175. package/docs/interfaces/ItemLabelPluginData.html +5 -6
  176. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
  177. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
  178. package/docs/interfaces/MinMax.html +6 -7
  179. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
  180. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
  181. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
  182. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
  183. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
  184. package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
  185. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
  186. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
  187. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
  188. package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
  189. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
  190. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
  191. package/docs/interfaces/ModelViewPluginExportType.html +10 -11
  192. package/docs/interfaces/Object3DHelperState.html +7 -8
  193. package/docs/interfaces/ObjectHelperControllers.html +8 -9
  194. package/docs/interfaces/PaintBrushAction.html +11 -12
  195. package/docs/interfaces/PaintBrushConfigs.html +11 -12
  196. package/docs/interfaces/PaintBrushState.html +9 -10
  197. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
  198. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
  199. package/docs/interfaces/PanoMeasureParameterType.html +15 -16
  200. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
  201. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
  202. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
  203. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
  204. package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
  205. package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
  206. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
  207. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
  208. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
  209. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
  210. package/docs/interfaces/PanoRulerProPluginState.html +7 -8
  211. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
  212. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
  213. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
  214. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
  215. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
  216. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
  217. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
  218. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
  219. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
  220. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
  221. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
  222. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
  223. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
  224. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
  225. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
  226. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
  227. package/docs/interfaces/Point.html +7 -8
  228. package/docs/interfaces/Room.html +8 -9
  229. package/docs/interfaces/RoomInfo.html +6 -7
  230. package/docs/interfaces/RoomLabel.html +13 -14
  231. package/docs/interfaces/RoomRules.html +4 -5
  232. package/docs/interfaces/Rooms.html +4 -5
  233. package/docs/interfaces/Scissor.html +8 -9
  234. package/docs/interfaces/State.html +7 -8
  235. package/docs/interfaces/TagCacheInterface.html +11 -12
  236. package/docs/interfaces/TagConfig.html +27 -45
  237. package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
  238. package/docs/interfaces/TagIconUrl.html +11 -12
  239. package/docs/interfaces/TagObjectGroup.html +5 -6
  240. package/docs/interfaces/TagStyle.html +5 -6
  241. package/docs/interfaces/Tags.html +10 -2153
  242. package/docs/interfaces/TemporaryState.html +5 -6
  243. package/docs/interfaces/Util.MagnifierParameter.html +10 -11
  244. package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
  245. package/docs/interfaces/Util.PointIntersection.html +7 -8
  246. package/docs/modules/AreaMakerPluginType.html +4 -5
  247. package/docs/modules/CruisePluginTypes.html +4 -5
  248. package/docs/modules/CurrentPanoImagePluginType.html +4 -5
  249. package/docs/modules/GuideLineItem.html +4 -5
  250. package/docs/modules/GuideLineModeItem.html +4 -5
  251. package/docs/modules/GuideLinePluginType.html +4 -5
  252. package/docs/modules/PanoVideoPluginType.html +4 -5
  253. package/docs/modules/Util.html +4 -5
  254. package/docs/modules.html +4 -6
  255. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -5
  256. package/docs/types/AreaMakerPluginType.PluginData.html +4 -5
  257. package/docs/types/AreaMakerPluginType.ServerData.html +4 -5
  258. package/docs/types/ArrayPosition.html +4 -5
  259. package/docs/types/AudioAppearance.html +4 -5
  260. package/docs/types/AudioTagTypeConfigKey.html +4 -5
  261. package/docs/types/CSS3DRenderExportType.html +4 -5
  262. package/docs/types/CSS3DRenderPluginExportType.html +4 -5
  263. package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
  264. package/docs/types/ClassFunctionParameters.html +4 -5
  265. package/docs/types/Color.html +4 -5
  266. package/docs/types/ContentTypeConfigKey.html +5 -6
  267. package/docs/types/ContentTypeConfigKeySplit.html +5 -6
  268. package/docs/types/ContentTypeMap.html +4 -5
  269. package/docs/types/Create3DDomContainerReturnType.html +4 -5
  270. package/docs/types/Create3DElementReturnType.html +4 -5
  271. package/docs/types/CruisePluginExportType.html +4 -5
  272. package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
  273. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
  274. package/docs/types/CurrentPanoImagePluginExportType.html +4 -5
  275. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
  276. package/docs/types/DeprecatedTagProperty.html +4 -5
  277. package/docs/types/Direction-1.html +4 -5
  278. package/docs/types/Direction4.html +4 -5
  279. package/docs/types/ElementRenderer.html +4 -5
  280. package/docs/types/FloorplanRuleLabels.html +4 -5
  281. package/docs/types/FloorplanServerRuleLabels.html +4 -5
  282. package/docs/types/GuideLinePluginExportType.html +4 -5
  283. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
  284. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
  285. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
  286. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
  287. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
  288. package/docs/types/GuideLinePluginType.PathItem.html +4 -5
  289. package/docs/types/GuideLinePluginType.PluginData.html +4 -5
  290. package/docs/types/HelperEventMap.html +4 -5
  291. package/docs/types/LoadTagConfig.html +4 -5
  292. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
  293. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
  294. package/docs/types/MediaData.html +4 -5
  295. package/docs/types/MediaStore.html +4 -5
  296. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
  297. package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
  298. package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
  299. package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
  300. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
  301. package/docs/types/MoveArgs.html +4 -5
  302. package/docs/types/MoveOpts.html +4 -5
  303. package/docs/types/Object3DHelperEventMap.html +4 -5
  304. package/docs/types/ObjectFit.html +4 -5
  305. package/docs/types/PaintBrushEventMap.html +4 -5
  306. package/docs/types/PanoCompassPluginData.html +4 -5
  307. package/docs/types/PanoCompassPluginExportType.html +4 -5
  308. package/docs/types/PanoCompassPluginParameterType.html +4 -5
  309. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
  310. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
  311. package/docs/types/PanoIndex.html +4 -5
  312. package/docs/types/PanoMeasurePluginEvent.html +4 -5
  313. package/docs/types/PanoMeasureReturnType.html +4 -5
  314. package/docs/types/PanoSpatialTagPluginId.html +4 -5
  315. package/docs/types/PanoTagPluginExportInterface.html +4 -5
  316. package/docs/types/PanoTagPluginParamsInterface.html +4 -5
  317. package/docs/types/PanoVideoPluginParameterType.html +4 -5
  318. package/docs/types/PanoVideoPluginReturnType.html +4 -5
  319. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
  320. package/docs/types/PipelinePluginParameterType.html +4 -5
  321. package/docs/types/PipelinePluginReturnType.html +4 -5
  322. package/docs/types/PlaneTag.html +4 -5
  323. package/docs/types/Point2DTag.html +4 -5
  324. package/docs/types/Point3DTag.html +4 -5
  325. package/docs/types/PointTag.html +4 -5
  326. package/docs/types/PointTagInstance.html +4 -5
  327. package/docs/types/Position.html +4 -5
  328. package/docs/types/RotateArgs.html +4 -5
  329. package/docs/types/RotateOpts.html +4 -5
  330. package/docs/types/RuleLabelsKey.html +4 -5
  331. package/docs/types/RuleLabelsValue.html +4 -5
  332. package/docs/types/StickType.html +4 -5
  333. package/docs/types/Tag.html +6 -7
  334. package/docs/types/Tag2D.html +4 -5
  335. package/docs/types/Tag3D.html +4 -5
  336. package/docs/types/TagConfigByKey.html +4 -5
  337. package/docs/types/TagContentType.html +4 -5
  338. package/docs/types/TagDimensionType.html +4 -5
  339. package/docs/types/TagElement.html +4 -5
  340. package/docs/types/TagEvents.html +4 -5
  341. package/docs/types/TagGLTFObject.html +4 -5
  342. package/docs/types/TagHooks.html +4 -5
  343. package/docs/types/TagId.html +4 -5
  344. package/docs/types/TagInstance.html +5 -8
  345. package/docs/types/TagPointType.html +4 -5
  346. package/docs/types/TagRendererMap.html +4 -5
  347. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
  348. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
  349. package/docs/types/WorkCode.html +4 -5
  350. package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
  351. package/docs/variables/PLUGIN.html +4 -5
  352. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
  353. package/docs/variables/ROOM_TYPE_MAP.html +4 -5
  354. package/docs/variables/defaultGlobalConfig.html +4 -5
  355. package/docs/variables/itemLabelPluginServerParams.html +4 -5
  356. package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
  357. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
  358. package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -3
  359. package/libs/CSS3DRenderPlugin/Controller.js +3 -4
  360. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
  361. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
  362. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
  363. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +66 -68
  364. package/libs/CruisePlugin/Controller.js +3 -5
  365. package/libs/CruisePlugin/index.js +6 -8
  366. package/libs/CurrentPanoImagePlugin/Controller.js +18 -21
  367. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  368. package/libs/GuideLinePlugin/Controller.js +5 -7
  369. package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
  370. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -5
  371. package/libs/GuideLinePlugin/index.js +8 -10
  372. package/libs/PanoTagPlugin/Components/Tag/index.js +71 -70
  373. package/libs/PanoTagPlugin/Components/TagContainer.js +33 -32
  374. package/libs/PanoTagPlugin/Components/TagItem.js +116 -115
  375. package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
  376. package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
  377. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
  378. package/libs/PanoTagPlugin/controller/TagComputer.js +199 -168
  379. package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -5
  380. package/libs/PanoTagPlugin/controller/TagRender.js +117 -138
  381. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
  382. package/libs/PanoTagPlugin/controller/TagUtil.js +152 -178
  383. package/libs/PanoTagPlugin/controller/index.d.ts +6 -2
  384. package/libs/PanoTagPlugin/controller/index.js +148 -140
  385. package/libs/PanoTagPlugin/index.js +13 -16
  386. package/libs/PanoTagPlugin/tag.config.js +3 -11
  387. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
  388. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
  389. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
  390. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
  391. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
  392. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +16 -0
  393. package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
  394. package/libs/PanoTagPlugin/utils/index.d.ts +2 -0
  395. package/libs/PanoTagPlugin/utils/index.js +31 -23
  396. package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
  397. package/libs/base/BasePlugin.js +1 -1
  398. package/libs/floorplan/index.js +1 -0
  399. package/libs/floorplan/utils/correctFiveState.js +25 -25
  400. package/libs/index.d.ts +0 -1
  401. package/libs/index.js +117 -120
  402. package/libs/shared-utils/five/FiveDomEvents.d.ts +3 -1
  403. package/libs/shared-utils/five/FiveDomEvents.js +56 -50
  404. package/libs/shared-utils/five/changeMode.js +11 -11
  405. package/libs/shared-utils/five/mode.js +5 -5
  406. package/libs/shared-utils/logger.js +1 -1
  407. package/libs/shared-utils/nearlyEqual.d.ts +7 -0
  408. package/libs/shared-utils/nearlyEqual.js +9 -3
  409. package/package.json +2 -2
  410. package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
  411. package/dist/shared-utils/five/adapt.d.ts +0 -9
  412. package/dist/shared-utils/five/fiveModelLoad.d.ts +0 -9
  413. package/dist/shared-utils/typescript/entries.d.ts +0 -2
  414. package/docs/types/ModelId.html +0 -279
  415. package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
  416. package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +0 -7
  417. package/libs/shared-utils/five/adapt.d.ts +0 -9
  418. package/libs/shared-utils/five/adapt.js +0 -16
  419. package/libs/shared-utils/five/fiveModelLoad.d.ts +0 -9
  420. package/libs/shared-utils/five/fiveModelLoad.js +0 -29
  421. package/libs/shared-utils/typescript/entries.d.ts +0 -2
  422. package/libs/shared-utils/typescript/entries.js +0 -6
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 hp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Bp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Up } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as $p } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as qp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Jp, modelRoomLabelPluginServerParams as Kp } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Wp } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as Zp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as re } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as ie } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as pe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as ne, ROOM_FETILE_TYPE_MAP as le, ROOM_TYPE_MAP as ae } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as ue } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as xe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as se } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Me, Rotation as Te } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Ce } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Ee } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as Re } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as ye } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Se } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Ge } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Fe } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as ve } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Ve } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as he } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Be } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as Ue } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as $e } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as qe } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as Je } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as Qe } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as Xe } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as on } from "./CurrentPanoImagePlugin/index.js";
37
+ import { index as tn } from "./shared-utils/index.js";
38
+ import { CSS3DRender as pn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
+ import { Model as nn } from "./PanoMeasurePlugin/Model/index.js";
40
+ import { default as an } from "./PanoMeasurePlugin/Model/point.js";
41
+ import { default as un } from "./PanoMeasurePlugin/Model/line.js";
42
+ import { Polyline as xn } from "./PanoMeasurePlugin/Model/polyline.js";
43
+ import { default as sn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
44
+ import { DISPLAY_STRATEGY_TYPE as Mn } from "./ModelItemLabelPlugin/typings.js";
45
+ import { ModelItemLabelPlugin as Ln } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
46
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as _n } from "./ItemLabelPlugin/typings.js";
47
+ import { Plugin as In } from "./ItemLabelPlugin/Plugin.js";
48
+ import { GuideLineItem$1 as On } from "./GuideLinePlugin/GuideLineItem/index.js";
49
+ import { GuideLineModeItem$1 as An } from "./GuideLinePlugin/GuideLineModeItem/index.js";
50
+ import { default as Dn } from "./CruisePlugin/Controller.js";
51
+ import { typing as bn } from "./CruisePlugin/typing/index.js";
52
+ import { default as Yn, pluginFlag as vn } from "./PanoTagPlugin/controller/index.js";
53
+ import { defaultGlobalConfig as Vn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
54
+ import { ContentType as hn, DimensionType as wn, PointType as Bn } from "./PanoTagPlugin/Archive/deprecated.js";
55
+ import { Object3DHelperController as Un, PLUGIN as jn } from "./Object3DHelperPlugin/Controller.js";
56
+ import { typings as kn } 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";
@@ -256,6 +256,7 @@ import "./vendor/gl-vec2/dot.js";
256
256
  import "./shared-utils/five/mode.js";
257
257
  import "./PanoTagPlugin/utils/addDebugPoints.js";
258
258
  import "./PanoTagPlugin/utils/tag/tagCheck.js";
259
+ import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
259
260
  import "./PanoTagPlugin/utils/debounce.js";
260
261
  import "./PanoTagPlugin/utils/throttle.js";
261
262
  import "./PanoTagPlugin/utils/resizeObserver.js";
@@ -279,8 +280,6 @@ import "./shared-utils/three/getPositionsByObjectFit.js";
279
280
  import "./shared-utils/three/FragmentTransparencyMaterial.js";
280
281
  import "./shared-utils/five/FiveDomEvents.js";
281
282
  import "./shared-utils/three/getObjectVisible.js";
282
- import "./PanoTagPlugin/utils/tag/adaptConfig.js";
283
- import "./shared-utils/typescript/entries.js";
284
283
  import "./shared-utils/five/getFloorIndex.js";
285
284
  import "./shared-utils/util.js";
286
285
  import "./PanoTagPlugin/Components/TagContainer.js";
@@ -350,7 +349,6 @@ import "./PanoTagPlugin/Components/Tag/CustomTag.js";
350
349
  import "./PanoTagPlugin/Components/Common/TagPoint.js";
351
350
  import "./shared-utils/three/GLTFLoader.js";
352
351
  import "@realsee/five/gltf-loader";
353
- import "./shared-utils/five/fiveModelLoad.js";
354
352
  import "./GuideLinePlugin/Components/Tag.js";
355
353
  import "./GuideLinePlugin/utils/index.js";
356
354
  import "./CruisePlugin/utils/coordinatesAngle.js";
@@ -406,7 +404,6 @@ import "./shared-utils/three/objects/LineSegments.js";
406
404
  import "./components/AreaLabel/LabelItem.js";
407
405
  import "./components/AreaLabel/Assets/roomLabelBg.js";
408
406
  import "./CurrentPanoImagePlugin/Controller.js";
409
- import "./shared-utils/five/adapt.js";
410
407
  import "./shared-utils/math/Interval.js";
411
408
  import "./shared-utils/math/Rectangle.js";
412
409
  import "./shared-utils/five/index.js";
@@ -415,66 +412,66 @@ import "./shared-utils/three/getRaycaster.js";
415
412
  r();
416
413
  o();
417
414
  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
415
+ Xe as AreaMakerPlugin,
416
+ pn as CSS3DRender,
417
+ $p as CSS3DRenderPlugin,
418
+ Me as CameraMovementEffect,
419
+ se as CameraMovementPlugin,
420
+ hn as ContentType,
421
+ Ue as CruisePlugin,
422
+ Dn as CruisePluginController,
423
+ bn as CruisePluginTypes,
424
+ on as CurrentPanoImagePlugin,
425
+ ve as DIRECTION,
426
+ Mn as DISPLAY_STRATEGY_TYPE,
427
+ wn as DimensionType,
428
+ Wp as FLOOR_PLAN_ATTACHED_TO,
429
+ ne as FLOOR_TYPE_MAP,
430
+ On as GuideLineItem,
431
+ An as GuideLineModeItem,
432
+ Be as GuideLinePlugin,
433
+ _n as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
434
+ In as ItemLabelPlugin,
435
+ sn as Magnifier,
436
+ re as MapviewFloorplanPlugin,
437
+ ue as ModelChassisCompassPlugin,
438
+ xe as ModelEntryDoorGuidePlugin,
439
+ Zp as ModelFloorplanPlugin,
440
+ Ln as ModelItemLabelPlugin,
441
+ Jp as ModelRoomLabelPlugin,
442
+ Fe as ModelTVVideoPlugin,
443
+ Up as ModelViewPlugin,
444
+ Un as Object3DHelperController,
445
+ qe as Object3DHelperPlugin,
446
+ jn as PLUGIN,
447
+ hp as PaintBrush,
448
+ Bp as PaintBrushTypeEnum,
449
+ Re as PanoCompassPlugin,
450
+ qp as PanoCursorRaycasterPlugin,
451
+ he as PanoDoorLabelPlugin,
452
+ pe as PanoFloorplanRadarPlugin,
453
+ ye as PanoMeasurePlugin,
454
+ un as PanoMeasurePluginLine,
455
+ nn as PanoMeasurePluginModel,
456
+ an as PanoMeasurePluginPoint,
457
+ xn as PanoMeasurePluginPolyline,
458
+ Ce as PanoRulerPlugin,
459
+ Ee as PanoRulerProPlugin,
460
+ Se as PanoSpatialTagPlugin,
461
+ $e as PanoTagPlugin,
462
+ Yn as PanoTagPluginController,
463
+ Je as PanoVideoPlugin,
464
+ kn as PanoVideoPluginType,
465
+ Qe as PipelinePlugin,
466
+ Bn as PointType,
467
+ le as ROOM_FETILE_TYPE_MAP,
468
+ ae as ROOM_TYPE_MAP,
469
+ Te as Rotation,
470
+ ie as TopviewFloorplanPlugin,
471
+ tn as Util,
472
+ Vn as defaultGlobalConfig,
473
+ Ve as itemLabelPluginServerParams,
474
+ Ge as modelItemLabelPluginServerParams,
475
+ Kp as modelRoomLabelPluginServerParams,
476
+ vn as pluginFlag
480
477
  };
@@ -6,7 +6,7 @@
6
6
  * 3. 基于第二点,废弃了之前使用浏览器原生事件监听点击的方式,改为使用 wantsTapGesture 的方式
7
7
  * 4. 重构之后只会在 wantsTapGesture 事件触发的时候做射线检测
8
8
  */
9
- import type { Five } from '@realsee/five';
9
+ import { type Five } from '@realsee/five';
10
10
  import type * as THREE from 'three';
11
11
  type EventName = 'click';
12
12
  type PreventFiveEvent = boolean;
@@ -35,6 +35,7 @@ type Object3DWithEvent = THREE.Object3D & {
35
35
  export declare class FiveDomEvents {
36
36
  private five;
37
37
  private boundObject;
38
+ private extraObjects;
38
39
  constructor(five: Five);
39
40
  /**
40
41
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
@@ -55,5 +56,6 @@ export declare class FiveDomEvents {
55
56
  private handleWantsTapGesture;
56
57
  private objectIsBound;
57
58
  private notify;
59
+ private updateFiveMeshes;
58
60
  }
59
61
  export {};
@@ -1,74 +1,80 @@
1
- var O = Object.defineProperty, g = Object.defineProperties;
2
- var H = Object.getOwnPropertyDescriptors;
1
+ var O = Object.defineProperty, L = Object.defineProperties;
2
+ var x = Object.getOwnPropertyDescriptors;
3
3
  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) => {
4
+ var g = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
5
+ var f = (s, e, t) => e in s ? O(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, p = (s, e) => {
6
6
  for (var t in e || (e = {}))
7
- L.call(e, t) && f(i, t, e[t]);
7
+ g.call(e, t) && f(s, t, e[t]);
8
8
  if (m)
9
9
  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 {
10
+ H.call(e, t) && f(s, t, e[t]);
11
+ return s;
12
+ }, b = (s, e) => L(s, x(e));
13
+ var r = (s, e, t) => (f(s, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import { PBMMesh as $ } from "@realsee/five";
15
+ import { getObjectVisible as F } from "../three/getObjectVisible.js";
16
+ class B {
16
17
  constructor(e) {
17
- u(this, "five");
18
- u(this, "boundObject", {});
19
- u(this, "handleWantsTapGesture", (e) => {
20
- var d;
18
+ r(this, "five");
19
+ r(this, "boundObject", {});
20
+ r(this, "extraObjects", []);
21
+ r(this, "handleWantsTapGesture", (e) => {
22
+ var o;
21
23
  const t = "click", n = this.boundObject[t];
22
24
  if (!n || (n == null ? void 0 : n.length) === 0)
23
25
  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)
26
+ console.debug("射线检测");
27
+ const i = (o = e.intersectObjects([...n, ...this.extraObjects], !0)[0]) == null ? void 0 : o.object;
28
+ if (!i || !this.objectIsBound(i))
26
29
  return;
27
- const r = (d = s[0]) == null ? void 0 : d.object;
28
- if (!r || !this.objectIsBound(r))
29
- return;
30
- if (this.notify(t, r))
30
+ if (this.notify(t, i))
31
31
  return !1;
32
32
  });
33
- u(this, "objectIsBound", (e) => {
33
+ r(this, "objectIsBound", (e) => {
34
34
  let t = e._domEvent, n = e.parent;
35
35
  for (; typeof t == "undefined" && n; )
36
36
  t = n._domEvent, n = n.parent;
37
37
  return !!t;
38
38
  });
39
39
  // eslint-disable-next-line max-params
40
- u(this, "notify", (e, t, n, o) => {
41
- let s = !1, r = [];
42
- const l = [t];
40
+ r(this, "notify", (e, t, n, u) => {
41
+ let i = !1, h = [];
42
+ const o = [t];
43
43
  let d = t;
44
44
  for (; d.parent; )
45
- d = d.parent, l.push(d);
46
- for (const a of l) {
47
- if (s)
45
+ d = d.parent, o.push(d);
46
+ for (const a of o) {
47
+ if (i)
48
48
  break;
49
- const h = a._domEvent;
50
- if (!h)
49
+ const c = a._domEvent;
50
+ if (!c)
51
51
  continue;
52
- const E = h[`${e}Handler`];
52
+ const E = c[`${e}Handler`];
53
53
  if (E)
54
- for (const [b, v] of E) {
55
- if (v != null && v.checkVisible && !x(a))
54
+ for (const [_, v] of E) {
55
+ if (v != null && v.checkVisible && !F(a))
56
56
  continue;
57
- const c = b({
57
+ const l = _({
58
58
  type: e,
59
59
  target: a,
60
60
  origDomEvent: n,
61
- intersect: o,
61
+ intersect: u,
62
62
  stopPropagation: () => {
63
- s = !0;
63
+ i = !0;
64
64
  }
65
65
  });
66
- r.push(c != null ? c : !0);
66
+ h.push(l != null ? l : !0);
67
67
  }
68
68
  }
69
- return r.some((a) => a === !0);
69
+ return h.some((a) => a === !0);
70
+ });
71
+ r(this, "updateFiveMeshes", () => {
72
+ var e;
73
+ this.extraObjects = [], (e = this.five.model) == null || e.traverse((t) => {
74
+ t instanceof $ && this.extraObjects.push(t);
75
+ });
70
76
  });
71
- this.five = e, e.on("wantsTapGesture", this.handleWantsTapGesture);
77
+ this.five = e, this.updateFiveMeshes(), e.on("modelLoaded", this.updateFiveMeshes), e.on("wantsTapGesture", this.handleWantsTapGesture);
72
78
  }
73
79
  /**
74
80
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
@@ -92,24 +98,24 @@ class G {
92
98
  * @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
93
99
  * @return {void}
94
100
  */
95
- 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);
101
+ addEventListener(e, t, n, u) {
102
+ var i;
103
+ e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b(p({}, u), { checkVisible: !0 })]), (i = this.boundObject[t]) == null || i.push(e);
98
104
  }
99
- removeEventListener(e, t, n, ...o) {
100
- var r, l;
105
+ removeEventListener(e, t, n, ...u) {
106
+ var h, o;
101
107
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
102
108
  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));
109
+ const i = e._domEvent[`${t}Handler`].findIndex((d) => d[0] === n);
110
+ 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)) {
111
+ const d = (h = this.boundObject[t]) == null ? void 0 : h.findIndex((a) => a === e);
112
+ d !== -1 && ((o = this.boundObject[t]) == null || o.splice(d, 1));
107
113
  }
108
114
  }
109
115
  dispose() {
110
- this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {};
116
+ this.five.off("modelLoaded", this.updateFiveMeshes), this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {}, this.extraObjects = [];
111
117
  }
112
118
  }
113
119
  export {
114
- G as FiveDomEvents
120
+ B as FiveDomEvents
115
121
  };
@@ -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
  };
@@ -1,10 +1,10 @@
1
- function n(e) {
2
- return e.toLowerCase().includes("panorama");
1
+ function n(a) {
2
+ return a === "Panorama" || a === "DepthPanorama" || a === "VRPanorama" || a === "XRPanorama";
3
3
  }
4
- function o(e) {
5
- return !n(e);
4
+ function r(a) {
5
+ return !n(a);
6
6
  }
7
7
  export {
8
- o as isModelLike,
8
+ r as isModelLike,
9
9
  n as isPanoramaLike
10
10
  };
@@ -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-11",
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
  };
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-11",
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.24",
40
40
  "@sveltejs/vite-plugin-svelte": "^2.4.2",
41
41
  "@tsconfig/svelte": "^4.0.1",
42
42
  "@tweenjs/tween.js": "^20.0.3",
@@ -1,2 +0,0 @@
1
- import type { Tag, TagConfig } from '../..';
2
- export default function adaptConfig(config: TagConfig, tag?: Tag): void;
@@ -1,9 +0,0 @@
1
- /**
2
- * @description: 一些函数,来适配 Five@5.x 和 Five@6.x 的差异
3
- */
4
- import type { Five } from '@realsee/five';
5
- export declare function adaptPanoId(five: Five, func: (params?: {
6
- panoIndex: number;
7
- panoId: string;
8
- derivedId: number;
9
- }, ...args: any[]) => any): (panoIdOrPanoIndex: string | number, ...args: any[]) => void;
@@ -1,9 +0,0 @@
1
- import type { Five } from '@realsee/five';
2
- /**
3
- * @description: 等待 five model 加载完成
4
- */
5
- export declare function waitFiveModelLoaded(five: Five): Promise<void>;
6
- /**
7
- * @note five 6.0 修复了 多次 load work 时,`five.model.loaded` 不会变为 `false` 的问题,不再需要 `five.model.name === five.work?.model.file` 的判断了
8
- */
9
- export declare function fiveModelIsLoaded(five: Five): boolean;
@@ -1,2 +0,0 @@
1
- import type { ObjectEntries } from 'type-fest/source/entries';
2
- export default function entries<T>(obj: T): ObjectEntries<T>;