@realsee/dnalogel 2.30.2 → 3.0.0-0

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 (428) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +3 -2
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -1
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
  4. package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
  6. package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -1
  7. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
  8. package/dist/PanoTagPlugin/controller/index.d.ts +2 -6
  9. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
  10. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
  11. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
  13. package/dist/PanoTagPlugin/utils/index.d.ts +0 -2
  14. package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
  15. package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
  16. package/dist/floorplan/utils/correctFiveState.d.ts +1 -1
  17. package/dist/index.cjs.js +59 -59
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.js +4722 -4731
  20. package/dist/index.umd.js +46 -46
  21. package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -3
  22. package/dist/shared-utils/five/adapt.d.ts +9 -0
  23. package/dist/shared-utils/five/fiveModelLoad.d.ts +9 -0
  24. package/dist/shared-utils/getPxmm.d.ts +1 -1
  25. package/dist/shared-utils/typescript/entries.d.ts +2 -0
  26. package/docs/.nojekyll +1 -0
  27. package/docs/assets/highlight.css +120 -0
  28. package/docs/assets/main.js +58 -0
  29. package/docs/assets/search.js +1 -0
  30. package/docs/assets/style.css +1367 -0
  31. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +725 -0
  32. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +678 -0
  33. package/docs/classes/CSS3DRender.html +773 -0
  34. package/docs/classes/CruisePluginController.html +672 -0
  35. package/docs/classes/GuideLineItem.GuideLineItem.html +491 -0
  36. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +792 -0
  37. package/docs/classes/Magnifier.html +480 -0
  38. package/docs/classes/ModelRoomLabelController.html +398 -0
  39. package/docs/classes/Object3DHelperController.html +640 -0
  40. package/docs/classes/PaintBrush.html +502 -0
  41. package/docs/classes/PanoMeasurePluginLine.html +522 -0
  42. package/docs/classes/PanoMeasurePluginModel.html +571 -0
  43. package/docs/classes/PanoMeasurePluginPoint.html +362 -0
  44. package/docs/classes/PanoMeasurePluginPolyline.html +567 -0
  45. package/docs/classes/PanoTagPluginController.html +1050 -0
  46. package/docs/classes/Util.BetterTween.html +416 -0
  47. package/docs/classes/Util.Interval.html +432 -0
  48. package/docs/classes/Util.LineSegments.html +384 -0
  49. package/docs/classes/Util.Magnifier.html +503 -0
  50. package/docs/classes/Util.Object3D.html +406 -0
  51. package/docs/classes/Util.PointDomHelper.html +407 -0
  52. package/docs/classes/Util.PointHelper.html +398 -0
  53. package/docs/classes/Util.PointSelectorHelper.html +454 -0
  54. package/docs/classes/Util.Rectangle.html +455 -0
  55. package/docs/enums/CameraMovementEffect.html +310 -0
  56. package/docs/enums/ContentType.html +446 -0
  57. package/docs/enums/DIRECTION.html +320 -0
  58. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +320 -0
  59. package/docs/enums/DimensionType.html +310 -0
  60. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +313 -0
  61. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +320 -0
  62. package/docs/enums/PaintBrushTypeEnum.html +313 -0
  63. package/docs/enums/PointType.html +310 -0
  64. package/docs/enums/Rotation.html +317 -0
  65. package/docs/functions/AreaMakerPlugin.html +290 -0
  66. package/docs/functions/CSS3DRenderPlugin.html +288 -0
  67. package/docs/functions/CameraMovementPlugin.html +293 -0
  68. package/docs/functions/CruisePlugin.html +290 -0
  69. package/docs/functions/CurrentPanoImagePlugin.html +290 -0
  70. package/docs/functions/GuideLinePlugin.html +290 -0
  71. package/docs/functions/ItemLabelPlugin.html +290 -0
  72. package/docs/functions/MapviewFloorplanPlugin.html +290 -0
  73. package/docs/functions/ModelChassisCompassPlugin.html +293 -0
  74. package/docs/functions/ModelEntryDoorGuidePlugin.html +293 -0
  75. package/docs/functions/ModelFloorplanPlugin.html +290 -0
  76. package/docs/functions/ModelItemLabelPlugin.html +290 -0
  77. package/docs/functions/ModelRoomLabelPlugin.html +288 -0
  78. package/docs/functions/ModelTVVideoPlugin.html +290 -0
  79. package/docs/functions/ModelViewPlugin.html +293 -0
  80. package/docs/functions/Object3DHelperPlugin.html +288 -0
  81. package/docs/functions/PanoCompassPlugin.html +290 -0
  82. package/docs/functions/PanoCursorRaycasterPlugin.html +294 -0
  83. package/docs/functions/PanoDoorLabelPlugin.html +290 -0
  84. package/docs/functions/PanoFloorplanRadarPlugin.html +290 -0
  85. package/docs/functions/PanoMeasurePlugin.html +290 -0
  86. package/docs/functions/PanoRulerPlugin.html +293 -0
  87. package/docs/functions/PanoRulerProPlugin.html +293 -0
  88. package/docs/functions/PanoSpatialTagPlugin.html +293 -0
  89. package/docs/functions/PanoTagPlugin.html +295 -0
  90. package/docs/functions/PanoVideoPlugin.html +299 -0
  91. package/docs/functions/PipelinePlugin.html +288 -0
  92. package/docs/functions/TopviewFloorplanPlugin.html +290 -0
  93. package/docs/functions/Util.absoluteUrl.html +326 -0
  94. package/docs/functions/Util.checkFiveModelLoaded.html +329 -0
  95. package/docs/functions/Util.equal.html +338 -0
  96. package/docs/functions/Util.getCoordsFromClient.html +328 -0
  97. package/docs/functions/Util.getCoordsFromElement.html +328 -0
  98. package/docs/functions/Util.getFrameTime.html +320 -0
  99. package/docs/functions/Util.getIntersectFromRelativePosition.html +328 -0
  100. package/docs/functions/Util.getRaycasterFromFivePointer.html +328 -0
  101. package/docs/functions/Util.isAbsoluteURL.html +321 -0
  102. package/docs/functions/Util.isModelLike.html +321 -0
  103. package/docs/functions/Util.isNil.html +329 -0
  104. package/docs/functions/Util.isPanoramaLike.html +321 -0
  105. package/docs/functions/Util.nextFrame.html +334 -0
  106. package/docs/functions/Util.notNil.html +329 -0
  107. package/docs/functions/Util.requestAnimationFrameInterval.html +350 -0
  108. package/docs/functions/Util.tweenProgress.html +323 -0
  109. package/docs/functions/Util.uuid.html +319 -0
  110. package/docs/functions/pluginFlag.html +288 -0
  111. package/docs/index.html +354 -0
  112. package/docs/interfaces/AddTagConfig.html +303 -0
  113. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +329 -0
  114. package/docs/interfaces/AreaMakerPluginType.Config.html +334 -0
  115. package/docs/interfaces/AreaMakerPluginType.EventMap.html +620 -0
  116. package/docs/interfaces/AreaMakerPluginType.Params.html +333 -0
  117. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +383 -0
  118. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +368 -0
  119. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +333 -0
  120. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +326 -0
  121. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +325 -0
  122. package/docs/interfaces/AreaMakerPluginType.State.html +354 -0
  123. package/docs/interfaces/CSS3DRenderPluginEventMap.html +449 -0
  124. package/docs/interfaces/CSS3DRenderPluginState.html +325 -0
  125. package/docs/interfaces/CameraMovementPluginExportType.html +358 -0
  126. package/docs/interfaces/CruisePluginTypes.Config.html +359 -0
  127. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +361 -0
  128. package/docs/interfaces/CruisePluginTypes.EventMap.html +696 -0
  129. package/docs/interfaces/CruisePluginTypes.MoveAction.html +385 -0
  130. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +421 -0
  131. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +411 -0
  132. package/docs/interfaces/CruisePluginTypes.PluginData.html +351 -0
  133. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +319 -0
  134. package/docs/interfaces/CruisePluginTypes.PluginState.html +408 -0
  135. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +382 -0
  136. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +521 -0
  137. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +323 -0
  138. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +315 -0
  139. package/docs/interfaces/CurrentPanoImagePluginType.State.html +337 -0
  140. package/docs/interfaces/EventMap.html +542 -0
  141. package/docs/interfaces/FloorplanBounding.html +332 -0
  142. package/docs/interfaces/FloorplanData.html +335 -0
  143. package/docs/interfaces/FloorplanEntrance.html +360 -0
  144. package/docs/interfaces/FloorplanExtraObject.html +350 -0
  145. package/docs/interfaces/FloorplanExtraObject3D.html +339 -0
  146. package/docs/interfaces/FloorplanFloorData.html +328 -0
  147. package/docs/interfaces/FloorplanImagePosition.html +314 -0
  148. package/docs/interfaces/FloorplanObserver.html +332 -0
  149. package/docs/interfaces/FloorplanOutlineItem.html +328 -0
  150. package/docs/interfaces/FloorplanPosition.html +314 -0
  151. package/docs/interfaces/FloorplanRoomItem.html +379 -0
  152. package/docs/interfaces/FloorplanRoomLabelItem.html +320 -0
  153. package/docs/interfaces/FloorplanServerBounding.html +332 -0
  154. package/docs/interfaces/FloorplanServerComputedData.html +331 -0
  155. package/docs/interfaces/FloorplanServerData.html +314 -0
  156. package/docs/interfaces/FloorplanServerDoorItem.html +331 -0
  157. package/docs/interfaces/FloorplanServerDoorPosition.html +317 -0
  158. package/docs/interfaces/FloorplanServerEntrance.html +360 -0
  159. package/docs/interfaces/FloorplanServerFloorData.html +328 -0
  160. package/docs/interfaces/FloorplanServerImagePosition.html +314 -0
  161. package/docs/interfaces/FloorplanServerObserver.html +332 -0
  162. package/docs/interfaces/FloorplanServerOutlineItem.html +328 -0
  163. package/docs/interfaces/FloorplanServerPosition.html +314 -0
  164. package/docs/interfaces/FloorplanServerRoomItem.html +391 -0
  165. package/docs/interfaces/FloorplanServerRoomLabelItem.html +320 -0
  166. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +323 -0
  167. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +361 -0
  168. package/docs/interfaces/GuideLinePluginType.EventMap.html +525 -0
  169. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +356 -0
  170. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +347 -0
  171. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +414 -0
  172. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +346 -0
  173. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +471 -0
  174. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +343 -0
  175. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +471 -0
  176. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +308 -0
  177. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +329 -0
  178. package/docs/interfaces/GuideLinePluginType.PluginState.html +354 -0
  179. package/docs/interfaces/GuideLinePluginType.Route.html +370 -0
  180. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +352 -0
  181. package/docs/interfaces/HelperOffset.html +332 -0
  182. package/docs/interfaces/ImagePlaneGroup.html +306 -0
  183. package/docs/interfaces/ItemLabelPluginData.html +303 -0
  184. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +388 -0
  185. package/docs/interfaces/ItemLabelPluginParametersType.html +324 -0
  186. package/docs/interfaces/MinMax.html +310 -0
  187. package/docs/interfaces/ModelChassisCompassPluginData.html +310 -0
  188. package/docs/interfaces/ModelChassisCompassPluginExportType.html +346 -0
  189. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +310 -0
  190. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +317 -0
  191. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +354 -0
  192. package/docs/interfaces/ModelItemLabelPluginData.html +303 -0
  193. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +388 -0
  194. package/docs/interfaces/ModelItemLabelPluginParametersType.html +310 -0
  195. package/docs/interfaces/ModelRoomLabelPluginData.html +303 -0
  196. package/docs/interfaces/ModelTVVideoPluginData.html +324 -0
  197. package/docs/interfaces/ModelTVVideoPluginExportType.html +348 -0
  198. package/docs/interfaces/ModelTVVideoPluginParameterType.html +303 -0
  199. package/docs/interfaces/ModelViewPluginExportType.html +416 -0
  200. package/docs/interfaces/Object3DHelperState.html +317 -0
  201. package/docs/interfaces/ObjectHelperControllers.html +324 -0
  202. package/docs/interfaces/PaintBrushAction.html +363 -0
  203. package/docs/interfaces/PaintBrushConfigs.html +361 -0
  204. package/docs/interfaces/PaintBrushState.html +345 -0
  205. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +425 -0
  206. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +282 -0
  207. package/docs/interfaces/PanoMeasureParameterType.html +449 -0
  208. package/docs/interfaces/PanoMeasurePluginLineJson.html +317 -0
  209. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +314 -0
  210. package/docs/interfaces/PanoMeasurePluginPointJson.html +310 -0
  211. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +320 -0
  212. package/docs/interfaces/PanoRulerPluginExportType.html +377 -0
  213. package/docs/interfaces/PanoRulerPluginOptions.html +326 -0
  214. package/docs/interfaces/PanoRulerPluginParameterType.html +317 -0
  215. package/docs/interfaces/PanoRulerProPluginExportType.html +353 -0
  216. package/docs/interfaces/PanoRulerProPluginOptions.html +323 -0
  217. package/docs/interfaces/PanoRulerProPluginParameterType.html +310 -0
  218. package/docs/interfaces/PanoRulerProPluginState.html +317 -0
  219. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +296 -0
  220. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +285 -0
  221. package/docs/interfaces/PanoSpatialTagPluginData.html +353 -0
  222. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +335 -0
  223. package/docs/interfaces/PanoSpatialTagPluginExportType.html +431 -0
  224. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +331 -0
  225. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +352 -0
  226. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +338 -0
  227. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +331 -0
  228. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +323 -0
  229. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +341 -0
  230. package/docs/interfaces/PanoVideoPluginType.PluginData.html +314 -0
  231. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +420 -0
  232. package/docs/interfaces/PanoVideoPluginType.PluginState.html +314 -0
  233. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +349 -0
  234. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +368 -0
  235. package/docs/interfaces/Point.html +317 -0
  236. package/docs/interfaces/Room.html +324 -0
  237. package/docs/interfaces/RoomInfo.html +310 -0
  238. package/docs/interfaces/RoomLabel.html +386 -0
  239. package/docs/interfaces/RoomRules.html +285 -0
  240. package/docs/interfaces/Rooms.html +285 -0
  241. package/docs/interfaces/Scissor.html +344 -0
  242. package/docs/interfaces/State.html +331 -0
  243. package/docs/interfaces/TagCacheInterface.html +362 -0
  244. package/docs/interfaces/TagConfig.html +565 -0
  245. package/docs/interfaces/TagGLTFObjectGroup.html +306 -0
  246. package/docs/interfaces/TagIconUrl.html +363 -0
  247. package/docs/interfaces/TagObjectGroup.html +306 -0
  248. package/docs/interfaces/TagStyle.html +316 -0
  249. package/docs/interfaces/Tags.html +2688 -0
  250. package/docs/interfaces/TemporaryState.html +303 -0
  251. package/docs/interfaces/Util.MagnifierParameter.html +391 -0
  252. package/docs/interfaces/Util.MouseGroupParameter.html +350 -0
  253. package/docs/interfaces/Util.PointIntersection.html +365 -0
  254. package/docs/modules/AreaMakerPluginType.html +323 -0
  255. package/docs/modules/CruisePluginTypes.html +328 -0
  256. package/docs/modules/CurrentPanoImagePluginType.html +297 -0
  257. package/docs/modules/GuideLineItem.html +289 -0
  258. package/docs/modules/GuideLineModeItem.html +294 -0
  259. package/docs/modules/GuideLinePluginType.html +348 -0
  260. package/docs/modules/PanoVideoPluginType.html +301 -0
  261. package/docs/modules/Util.html +351 -0
  262. package/docs/modules.html +540 -0
  263. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +331 -0
  264. package/docs/types/AreaMakerPluginType.PluginData.html +301 -0
  265. package/docs/types/AreaMakerPluginType.ServerData.html +301 -0
  266. package/docs/types/ArrayPosition.html +279 -0
  267. package/docs/types/AudioAppearance.html +279 -0
  268. package/docs/types/AudioTagTypeConfigKey.html +279 -0
  269. package/docs/types/CSS3DRenderExportType.html +279 -0
  270. package/docs/types/CSS3DRenderPluginExportType.html +279 -0
  271. package/docs/types/CSS3DRenderPluginParameterType.html +279 -0
  272. package/docs/types/ClassFunctionParameters.html +286 -0
  273. package/docs/types/Color.html +279 -0
  274. package/docs/types/ContentTypeConfigKey.html +279 -0
  275. package/docs/types/ContentTypeConfigKeySplit.html +279 -0
  276. package/docs/types/ContentTypeMap.html +279 -0
  277. package/docs/types/Create3DDomContainerReturnType.html +279 -0
  278. package/docs/types/Create3DElementReturnType.html +279 -0
  279. package/docs/types/CruisePluginExportType.html +279 -0
  280. package/docs/types/CruisePluginTypes.CruiseData.html +318 -0
  281. package/docs/types/CruisePluginTypes.MoveEffect.html +295 -0
  282. package/docs/types/CurrentPanoImagePluginExportType.html +279 -0
  283. package/docs/types/DeprecatedMediaPlaneProperty.html +291 -0
  284. package/docs/types/DeprecatedTagProperty.html +294 -0
  285. package/docs/types/Direction-1.html +279 -0
  286. package/docs/types/Direction4.html +279 -0
  287. package/docs/types/ElementRenderer.html +303 -0
  288. package/docs/types/FloorplanRuleLabels.html +282 -0
  289. package/docs/types/FloorplanServerRuleLabels.html +279 -0
  290. package/docs/types/GuideLinePluginExportType.html +279 -0
  291. package/docs/types/GuideLinePluginType.GuideLineItem.html +351 -0
  292. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +372 -0
  293. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +305 -0
  294. package/docs/types/GuideLinePluginType.GuideLineStyle.html +308 -0
  295. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +308 -0
  296. package/docs/types/GuideLinePluginType.PathItem.html +308 -0
  297. package/docs/types/GuideLinePluginType.PluginData.html +317 -0
  298. package/docs/types/HelperEventMap.html +517 -0
  299. package/docs/types/LoadTagConfig.html +279 -0
  300. package/docs/types/MapviewFloorplanPluginParameterType.html +279 -0
  301. package/docs/types/MapviewFloorplanPluginReturnType.html +279 -0
  302. package/docs/types/MediaData.html +295 -0
  303. package/docs/types/MediaStore.html +284 -0
  304. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +286 -0
  305. package/docs/types/ModelFloorplanPluginParameterType.html +279 -0
  306. package/docs/types/ModelFloorplanPluginReturnType.html +279 -0
  307. package/docs/types/ModelId.html +279 -0
  308. package/docs/types/ModelRoomLabelPluginParameters.html +279 -0
  309. package/docs/types/ModelRoomLabelPluginReturnType.html +279 -0
  310. package/docs/types/MoveArgs.html +289 -0
  311. package/docs/types/MoveOpts.html +287 -0
  312. package/docs/types/Object3DHelperEventMap.html +372 -0
  313. package/docs/types/ObjectFit.html +279 -0
  314. package/docs/types/PaintBrushEventMap.html +310 -0
  315. package/docs/types/PanoCompassPluginData.html +279 -0
  316. package/docs/types/PanoCompassPluginExportType.html +279 -0
  317. package/docs/types/PanoCompassPluginParameterType.html +279 -0
  318. package/docs/types/PanoFloorplanRadarPluginParameterType.html +279 -0
  319. package/docs/types/PanoFloorplanRadarPluginReturnType.html +279 -0
  320. package/docs/types/PanoIndex.html +279 -0
  321. package/docs/types/PanoMeasurePluginEvent.html +279 -0
  322. package/docs/types/PanoMeasureReturnType.html +279 -0
  323. package/docs/types/PanoSpatialTagPluginId.html +279 -0
  324. package/docs/types/PanoTagPluginExportInterface.html +279 -0
  325. package/docs/types/PanoTagPluginParamsInterface.html +279 -0
  326. package/docs/types/PanoVideoPluginParameterType.html +279 -0
  327. package/docs/types/PanoVideoPluginReturnType.html +279 -0
  328. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +287 -0
  329. package/docs/types/PipelinePluginParameterType.html +279 -0
  330. package/docs/types/PipelinePluginReturnType.html +279 -0
  331. package/docs/types/PlaneTag.html +287 -0
  332. package/docs/types/Point2DTag.html +287 -0
  333. package/docs/types/Point3DTag.html +287 -0
  334. package/docs/types/PointTag.html +284 -0
  335. package/docs/types/PointTagInstance.html +284 -0
  336. package/docs/types/Position.html +279 -0
  337. package/docs/types/RotateArgs.html +291 -0
  338. package/docs/types/RotateOpts.html +287 -0
  339. package/docs/types/RuleLabelsKey.html +279 -0
  340. package/docs/types/RuleLabelsValue.html +279 -0
  341. package/docs/types/StickType.html +279 -0
  342. package/docs/types/Tag.html +345 -0
  343. package/docs/types/Tag2D.html +287 -0
  344. package/docs/types/Tag3D.html +287 -0
  345. package/docs/types/TagConfigByKey.html +284 -0
  346. package/docs/types/TagContentType.html +279 -0
  347. package/docs/types/TagDimensionType.html +281 -0
  348. package/docs/types/TagElement.html +289 -0
  349. package/docs/types/TagEvents.html +332 -0
  350. package/docs/types/TagGLTFObject.html +302 -0
  351. package/docs/types/TagHooks.html +279 -0
  352. package/docs/types/TagId.html +279 -0
  353. package/docs/types/TagInstance.html +353 -0
  354. package/docs/types/TagPointType.html +282 -0
  355. package/docs/types/TagRendererMap.html +284 -0
  356. package/docs/types/TopviewFloorplanPluginParameterType.html +279 -0
  357. package/docs/types/TopviewFloorplanPluginReturnType.html +279 -0
  358. package/docs/types/WorkCode.html +279 -0
  359. package/docs/variables/FLOOR_TYPE_MAP.html +289 -0
  360. package/docs/variables/PLUGIN.html +279 -0
  361. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +282 -0
  362. package/docs/variables/ROOM_TYPE_MAP.html +289 -0
  363. package/docs/variables/defaultGlobalConfig.html +279 -0
  364. package/docs/variables/itemLabelPluginServerParams.html +286 -0
  365. package/docs/variables/modelItemLabelPluginServerParams.html +286 -0
  366. package/docs/variables/modelRoomLabelPluginServerParams.html +286 -0
  367. package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -2
  368. package/libs/CSS3DRenderPlugin/Controller.js +4 -3
  369. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -1
  370. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
  371. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
  372. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +68 -66
  373. package/libs/CruisePlugin/Controller.js +5 -3
  374. package/libs/CruisePlugin/index.js +8 -6
  375. package/libs/CurrentPanoImagePlugin/Controller.js +21 -18
  376. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  377. package/libs/GuideLinePlugin/Controller.js +7 -5
  378. package/libs/GuideLinePlugin/GuideLineItem.js +5 -3
  379. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
  380. package/libs/GuideLinePlugin/index.js +10 -8
  381. package/libs/PanoSpatialTagPlugin/Plugin.js +6 -18
  382. package/libs/PanoTagPlugin/Components/Tag/index.js +70 -71
  383. package/libs/PanoTagPlugin/Components/TagContainer.js +32 -33
  384. package/libs/PanoTagPlugin/Components/TagItem.js +115 -116
  385. package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
  386. package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
  387. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
  388. package/libs/PanoTagPlugin/controller/TagComputer.js +168 -199
  389. package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -1
  390. package/libs/PanoTagPlugin/controller/TagRender.js +138 -117
  391. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
  392. package/libs/PanoTagPlugin/controller/TagUtil.js +178 -152
  393. package/libs/PanoTagPlugin/controller/index.d.ts +2 -6
  394. package/libs/PanoTagPlugin/controller/index.js +140 -148
  395. package/libs/PanoTagPlugin/index.js +16 -13
  396. package/libs/PanoTagPlugin/tag.config.js +11 -3
  397. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
  398. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
  399. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
  400. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
  401. package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
  402. package/libs/PanoTagPlugin/utils/index.d.ts +0 -2
  403. package/libs/PanoTagPlugin/utils/index.js +23 -31
  404. package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
  405. package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
  406. package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +7 -0
  407. package/libs/base/BasePlugin.js +1 -1
  408. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +32 -33
  409. package/libs/floorplan/utils/correctFiveState.d.ts +1 -1
  410. package/libs/floorplan/utils/correctFiveState.js +30 -29
  411. package/libs/index.d.ts +1 -0
  412. package/libs/index.js +120 -117
  413. package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -3
  414. package/libs/shared-utils/five/FiveDomEvents.js +50 -56
  415. package/libs/shared-utils/five/adapt.d.ts +9 -0
  416. package/libs/shared-utils/five/adapt.js +16 -0
  417. package/libs/shared-utils/five/fiveModelLoad.d.ts +9 -0
  418. package/libs/shared-utils/five/fiveModelLoad.js +29 -0
  419. package/libs/shared-utils/five/mode.js +5 -5
  420. package/libs/shared-utils/getPxmm.d.ts +1 -1
  421. package/libs/shared-utils/getPxmm.js +1 -3
  422. package/libs/shared-utils/logger.js +1 -1
  423. package/libs/shared-utils/typescript/entries.d.ts +2 -0
  424. package/libs/shared-utils/typescript/entries.js +6 -0
  425. package/package.json +2 -6
  426. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
  427. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
  428. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +0 -16
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 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";
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";
57
57
  import "./components/PaintBrush/Controller.js";
58
58
  import "./components/PaintBrush/utils.js";
59
59
  import "./components/PaintBrush/tween.js";
@@ -256,7 +256,6 @@ 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";
260
259
  import "./PanoTagPlugin/utils/debounce.js";
261
260
  import "./PanoTagPlugin/utils/throttle.js";
262
261
  import "./PanoTagPlugin/utils/resizeObserver.js";
@@ -280,6 +279,8 @@ import "./shared-utils/three/getPositionsByObjectFit.js";
280
279
  import "./shared-utils/three/FragmentTransparencyMaterial.js";
281
280
  import "./shared-utils/five/FiveDomEvents.js";
282
281
  import "./shared-utils/three/getObjectVisible.js";
282
+ import "./PanoTagPlugin/utils/tag/adaptConfig.js";
283
+ import "./shared-utils/typescript/entries.js";
283
284
  import "./shared-utils/five/getFloorIndex.js";
284
285
  import "./shared-utils/util.js";
285
286
  import "./PanoTagPlugin/Components/TagContainer.js";
@@ -349,6 +350,7 @@ import "./PanoTagPlugin/Components/Tag/CustomTag.js";
349
350
  import "./PanoTagPlugin/Components/Common/TagPoint.js";
350
351
  import "./shared-utils/three/GLTFLoader.js";
351
352
  import "@realsee/five/gltf-loader";
353
+ import "./shared-utils/five/fiveModelLoad.js";
352
354
  import "./GuideLinePlugin/Components/Tag.js";
353
355
  import "./GuideLinePlugin/utils/index.js";
354
356
  import "./CruisePlugin/utils/coordinatesAngle.js";
@@ -404,6 +406,7 @@ import "./shared-utils/three/objects/LineSegments.js";
404
406
  import "./components/AreaLabel/LabelItem.js";
405
407
  import "./components/AreaLabel/Assets/roomLabelBg.js";
406
408
  import "./CurrentPanoImagePlugin/Controller.js";
409
+ import "./shared-utils/five/adapt.js";
407
410
  import "./shared-utils/math/Interval.js";
408
411
  import "./shared-utils/math/Rectangle.js";
409
412
  import "./shared-utils/five/index.js";
@@ -412,66 +415,66 @@ import "./shared-utils/three/getRaycaster.js";
412
415
  r();
413
416
  o();
414
417
  export {
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
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
477
480
  };
@@ -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,7 +35,6 @@ type Object3DWithEvent = THREE.Object3D & {
35
35
  export declare class FiveDomEvents {
36
36
  private five;
37
37
  private boundObject;
38
- private extraObjects;
39
38
  constructor(five: Five);
40
39
  /**
41
40
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
@@ -56,6 +55,5 @@ export declare class FiveDomEvents {
56
55
  private handleWantsTapGesture;
57
56
  private objectIsBound;
58
57
  private notify;
59
- private updateFiveMeshes;
60
58
  }
61
59
  export {};
@@ -1,80 +1,74 @@
1
- var O = Object.defineProperty, L = Object.defineProperties;
2
- var g = Object.getOwnPropertyDescriptors;
1
+ var O = Object.defineProperty, g = Object.defineProperties;
2
+ var H = Object.getOwnPropertyDescriptors;
3
3
  var m = Object.getOwnPropertySymbols;
4
- var x = 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) => {
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) => {
6
6
  for (var t in e || (e = {}))
7
- x.call(e, t) && f(s, t, e[t]);
7
+ L.call(e, t) && f(i, t, e[t]);
8
8
  if (m)
9
9
  for (var t of m(e))
10
- H.call(e, t) && f(s, t, e[t]);
11
- return s;
12
- }, b = (s, e) => L(s, g(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 {
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 {
17
16
  constructor(e) {
18
- r(this, "five");
19
- r(this, "boundObject", {});
20
- r(this, "extraObjects", []);
21
- r(this, "handleWantsTapGesture", (e) => {
22
- var o;
17
+ u(this, "five");
18
+ u(this, "boundObject", {});
19
+ u(this, "handleWantsTapGesture", (e) => {
20
+ var d;
23
21
  const t = "click", n = this.boundObject[t];
24
22
  if (!n || (n == null ? void 0 : n.length) === 0)
25
23
  return;
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))
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)
29
26
  return;
30
- if (this.notify(t, i))
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))
31
31
  return !1;
32
32
  });
33
- r(this, "objectIsBound", (e) => {
33
+ u(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
- r(this, "notify", (e, t, n, u) => {
41
- let i = !1, h = [];
42
- const o = [t];
40
+ u(this, "notify", (e, t, n, o) => {
41
+ let s = !1, r = [];
42
+ const l = [t];
43
43
  let d = t;
44
44
  for (; d.parent; )
45
- d = d.parent, o.push(d);
46
- for (const a of o) {
47
- if (i)
45
+ d = d.parent, l.push(d);
46
+ for (const a of l) {
47
+ if (s)
48
48
  break;
49
- const c = a._domEvent;
50
- if (!c)
49
+ const h = a._domEvent;
50
+ if (!h)
51
51
  continue;
52
- const E = c[`${e}Handler`];
52
+ const E = h[`${e}Handler`];
53
53
  if (E)
54
- for (const [_, v] of E) {
55
- if (v != null && v.checkVisible && !F(a))
54
+ for (const [b, v] of E) {
55
+ if (v != null && v.checkVisible && !x(a))
56
56
  continue;
57
- const l = _({
57
+ const c = b({
58
58
  type: e,
59
59
  target: a,
60
60
  origDomEvent: n,
61
- intersect: u,
61
+ intersect: o,
62
62
  stopPropagation: () => {
63
- i = !0;
63
+ s = !0;
64
64
  }
65
65
  });
66
- h.push(l != null ? l : !0);
66
+ r.push(c != null ? c : !0);
67
67
  }
68
68
  }
69
- return h.some((a) => a === !0);
70
- });
71
- r(this, "updateFiveMeshes", () => {
72
- var e, t;
73
- this.extraObjects = [], (t = (e = this.five.model) == null ? void 0 : e.originModel) == null || t.traverse((n) => {
74
- n instanceof $ && this.extraObjects.push(n);
75
- });
69
+ return r.some((a) => a === !0);
76
70
  });
77
- this.five = e, this.updateFiveMeshes(), e.on("modelLoaded", this.updateFiveMeshes), e.on("wantsTapGesture", this.handleWantsTapGesture);
71
+ this.five = e, e.on("wantsTapGesture", this.handleWantsTapGesture);
78
72
  }
79
73
  /**
80
74
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
@@ -98,24 +92,24 @@ class B {
98
92
  * @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
99
93
  * @return {void}
100
94
  */
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);
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);
104
98
  }
105
- removeEventListener(e, t, n, ...u) {
106
- var h, o;
99
+ removeEventListener(e, t, n, ...o) {
100
+ var r, l;
107
101
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
108
102
  return;
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));
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));
113
107
  }
114
108
  }
115
109
  dispose() {
116
- this.five.off("modelLoaded", this.updateFiveMeshes), this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {}, this.extraObjects = [];
110
+ this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {};
117
111
  }
118
112
  }
119
113
  export {
120
- B as FiveDomEvents
114
+ G as FiveDomEvents
121
115
  };
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,16 @@
1
+ function k(t, p) {
2
+ return function(n, ...s) {
3
+ var e, a;
4
+ if (typeof n == "number") {
5
+ const o = n, d = t.work.observers[n], c = (e = d == null ? void 0 : d.panoId) != null ? e : `${t.work.workCode}[${o}]`, i = d == null ? void 0 : d.derivedId;
6
+ p({ panoIndex: o, panoId: c, derivedId: i }, ...s);
7
+ } else if (typeof n == "string") {
8
+ const o = n, d = t.work.observers.find((f) => f.panoId === o), c = (a = d == null ? void 0 : d.index) != null ? a : d == null ? void 0 : d.panoIndex, i = d == null ? void 0 : d.derivedId;
9
+ p({ panoIndex: c, panoId: o, derivedId: i }, ...s);
10
+ } else
11
+ console.error(`adaptPano error: panoIdOrPanoIndex is ${n}`);
12
+ };
13
+ }
14
+ export {
15
+ k as adaptPanoId
16
+ };
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,29 @@
1
+ var l = (d, o, n) => new Promise((r, t) => {
2
+ var c = (e) => {
3
+ try {
4
+ a(n.next(e));
5
+ } catch (i) {
6
+ t(i);
7
+ }
8
+ }, u = (e) => {
9
+ try {
10
+ a(n.throw(e));
11
+ } catch (i) {
12
+ t(i);
13
+ }
14
+ }, a = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(c, u);
15
+ a((n = n.apply(d, o)).next());
16
+ });
17
+ function s(d) {
18
+ return l(this, null, function* () {
19
+ return new Promise((o) => {
20
+ f(d) ? o() : d.once("modelLoaded", () => o());
21
+ });
22
+ });
23
+ }
24
+ function f(d) {
25
+ return d.model.loaded;
26
+ }
27
+ export {
28
+ s as waitFiveModelLoaded
29
+ };
@@ -1,10 +1,10 @@
1
- function n(a) {
2
- return a === "Panorama" || a === "DepthPanorama" || a === "VRPanorama" || a === "XRPanorama";
1
+ function n(e) {
2
+ return e.toLowerCase().includes("panorama");
3
3
  }
4
- function r(a) {
5
- return !n(a);
4
+ function o(e) {
5
+ return !n(e);
6
6
  }
7
7
  export {
8
- r as isModelLike,
8
+ o as isModelLike,
9
9
  n as isPanoramaLike
10
10
  };
@@ -9,7 +9,7 @@ export declare function getFloorY(five: Five, floorIndex: number): number;
9
9
  * * FLOOR_PLAN_ATTACHED_TO.FLOOR:当前楼层地板的 Y
10
10
  * * FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER:当前模型中心的 Y
11
11
  * * FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER:当前楼层天花板的 Y
12
- */
12
+ */
13
13
  export declare function getAttachedY(five: Five, floorIndex: number, attachedTo?: FLOOR_PLAN_ATTACHED_TO): number;
14
14
  /**
15
15
  * 获取「在俯视图」状态下,模型 mm 与屏幕像素 px 的对应关系,即每 mm 对应多少 px
@@ -2,9 +2,7 @@ import { FLOOR_PLAN_ATTACHED_TO as m } from "../floorplan/constant.js";
2
2
  import * as c from "three";
3
3
  function s(o, t) {
4
4
  const r = Math.max(...o.work.observers.map((n) => n.floorIndex));
5
- return t > r ? o.model.bounding.max.y : Math.max(
6
- ...o.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
7
- );
5
+ return t > r ? o.model.bounding.max.y : Math.max(...o.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y));
8
6
  }
9
7
  function l(o, t, r = m.BOUNDING_CENTER) {
10
8
  const n = s(o, t), e = s(o, t + 1);
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.30.2",
3
+ "%c %c@realsee/dnalogel %cv3.0.0-0",
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",
@@ -0,0 +1,2 @@
1
+ import type { ObjectEntries } from 'type-fest/source/entries';
2
+ export default function entries<T>(obj: T): ObjectEntries<T>;
@@ -0,0 +1,6 @@
1
+ function t(e) {
2
+ return Object.entries(e);
3
+ }
4
+ export {
5
+ t as entries
6
+ };
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": "2.30.2",
10
+ "version": "3.0.0-0",
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": "5.0.0-alpha.207",
39
+ "@realsee/five": "6.0.0-alpha.8",
40
40
  "@sveltejs/vite-plugin-svelte": "^2.4.2",
41
41
  "@tsconfig/svelte": "^4.0.1",
42
42
  "@tweenjs/tween.js": "^20.0.3",
@@ -84,9 +84,5 @@
84
84
  "earcut": "^2.2.4",
85
85
  "hammerjs": "^2.0.8",
86
86
  "tslib": "^2.6.0"
87
- },
88
- "peerDependencies": {
89
- "@realsee/five": "^5.0.0",
90
- "three": ">=0.115.0 <=0.117.1"
91
87
  }
92
88
  }
@@ -1,4 +0,0 @@
1
- import type { Five } from '@realsee/five';
2
- export declare function actionAfterFiveModelLoad(five: Five, fuc: () => any): void;
3
- export declare function waitFiveModelLoaded(five: Five): Promise<void>;
4
- export declare function fiveModelLoaded(five: Five): boolean;
@@ -1,4 +0,0 @@
1
- import type { Five } from '@realsee/five';
2
- export declare function actionAfterFiveModelLoad(five: Five, fuc: () => any): void;
3
- export declare function waitFiveModelLoaded(five: Five): Promise<void>;
4
- export declare function fiveModelLoaded(five: Five): boolean;