@realsee/dnalogel 2.15.1-alpha.0 → 2.16.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 (365) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
  2. package/dist/CruisePlugin/Controller.d.ts +1 -2
  3. package/dist/CruisePlugin/typing.d.ts +12 -2
  4. package/dist/GuideLinePlugin/Controller.d.ts +17 -11
  5. package/dist/GuideLinePlugin/GuideLineItem.d.ts +26 -0
  6. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
  7. package/dist/GuideLinePlugin/index.d.ts +3 -0
  8. package/dist/GuideLinePlugin/typing.d.ts +78 -1
  9. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
  10. package/dist/GuideLinePlugin/utils/index.d.ts +7 -0
  11. package/dist/PanoTagPlugin/typings/controller.d.ts +0 -3
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  13. package/dist/base/BasePlugin.d.ts +1 -0
  14. package/dist/index.cjs.js +118 -118
  15. package/dist/index.js +4429 -4314
  16. package/dist/index.umd.js +117 -117
  17. package/dist/shared-utils/five/index.d.ts +1 -0
  18. package/dist/shared-utils/five/mode.d.ts +3 -0
  19. package/dist/shared-utils/index.d.ts +3 -0
  20. package/dist/shared-utils/isAbsoluteURL.d.ts +1 -0
  21. package/dist/shared-utils/log.d.ts +2 -0
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +33 -31
  24. package/docs/classes/CruisePluginController.html +43 -25
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +168 -0
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +283 -0
  27. package/docs/classes/Magnifier.html +22 -20
  28. package/docs/classes/ModelRoomLabelController.html +13 -11
  29. package/docs/classes/Object3DHelperController.html +42 -24
  30. package/docs/classes/PaintBrush.html +17 -15
  31. package/docs/classes/PanoMeasurePluginLine.html +25 -23
  32. package/docs/classes/PanoMeasurePluginModel.html +24 -22
  33. package/docs/classes/PanoMeasurePluginPoint.html +16 -14
  34. package/docs/classes/PanoMeasurePluginPolyline.html +28 -26
  35. package/docs/classes/PanoTagPluginController.html +64 -46
  36. package/docs/classes/Util.BetterTween.html +10 -8
  37. package/docs/classes/Util.FivePointSelector.html +14 -12
  38. package/docs/classes/Util.Interval.html +14 -12
  39. package/docs/classes/Util.Magnifier.html +19 -17
  40. package/docs/classes/Util.PointDomHelper.html +13 -11
  41. package/docs/classes/Util.PointHelper.html +13 -11
  42. package/docs/classes/Util.Rectangle.html +15 -13
  43. package/docs/enums/CameraMovementEffect.html +9 -7
  44. package/docs/enums/ContentType.html +21 -19
  45. package/docs/enums/DIRECTION.html +11 -9
  46. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
  47. package/docs/enums/DimensionType.html +9 -7
  48. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
  49. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
  50. package/docs/enums/PaintBrushTypeEnum.html +10 -8
  51. package/docs/enums/Rotation.html +10 -8
  52. package/docs/functions/CSS3DRenderPlugin.html +6 -4
  53. package/docs/functions/CameraMovementPlugin.html +6 -4
  54. package/docs/functions/CruisePlugin.html +6 -4
  55. package/docs/functions/GuideLinePlugin.html +7 -5
  56. package/docs/functions/ItemLabelPlugin.html +6 -4
  57. package/docs/functions/MapviewFloorplanPlugin.html +6 -4
  58. package/docs/functions/ModelChassisCompassPlugin.html +6 -4
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
  60. package/docs/functions/ModelFloorplanPlugin.html +6 -4
  61. package/docs/functions/ModelItemLabelPlugin.html +6 -4
  62. package/docs/functions/ModelRoomLabelPlugin.html +6 -4
  63. package/docs/functions/ModelTVVideoPlugin.html +6 -4
  64. package/docs/functions/ModelViewPlugin.html +6 -4
  65. package/docs/functions/Object3DHelperPlugin.html +6 -4
  66. package/docs/functions/PanoCompassPlugin.html +6 -4
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
  68. package/docs/functions/PanoDoorLabelPlugin.html +6 -4
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
  70. package/docs/functions/PanoMeasurePlugin.html +6 -4
  71. package/docs/functions/PanoRulerPlugin.html +6 -4
  72. package/docs/functions/PanoRulerProPlugin.html +6 -4
  73. package/docs/functions/PanoSpatialTagPlugin.html +6 -4
  74. package/docs/functions/PanoTagPlugin.html +6 -4
  75. package/docs/functions/PanoVideoPlugin.html +6 -4
  76. package/docs/functions/TopviewFloorplanPlugin.html +6 -4
  77. package/docs/functions/Util.getCoordsFromClient.html +12 -6
  78. package/docs/functions/Util.getCoordsFromElement.html +12 -6
  79. package/docs/functions/Util.getFrameTime.html +12 -6
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +12 -6
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +12 -6
  82. package/docs/functions/Util.isAbsoluteURL.html +78 -0
  83. package/docs/functions/Util.isModelLike.html +78 -0
  84. package/docs/functions/Util.isNil.html +12 -6
  85. package/docs/functions/Util.isPanoramaLike.html +78 -0
  86. package/docs/functions/Util.nextFrame.html +12 -6
  87. package/docs/functions/Util.notNil.html +12 -6
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +12 -6
  89. package/docs/functions/Util.tweenProgress.html +12 -6
  90. package/docs/functions/Util.uuid.html +75 -0
  91. package/docs/functions/pluginFlag.html +7 -5
  92. package/docs/index.html +6 -4
  93. package/docs/interfaces/AddTagConfig.html +8 -6
  94. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
  95. package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
  96. package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
  97. package/docs/interfaces/EventMap.html +17 -15
  98. package/docs/interfaces/FloorplanBounding.html +10 -8
  99. package/docs/interfaces/FloorplanData.html +12 -10
  100. package/docs/interfaces/FloorplanEntrance.html +13 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +12 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
  103. package/docs/interfaces/FloorplanFloorData.html +11 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +9 -7
  105. package/docs/interfaces/FloorplanObserver.html +11 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +11 -9
  107. package/docs/interfaces/FloorplanPosition.html +9 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +15 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +10 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +12 -10
  112. package/docs/interfaces/FloorplanServerData.html +9 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +13 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +11 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +11 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +9 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
  123. package/docs/interfaces/HelperOffset.html +10 -8
  124. package/docs/interfaces/ImagePlaneGroup.html +8 -6
  125. package/docs/interfaces/ItemLabelPluginData.html +8 -6
  126. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
  127. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
  128. package/docs/interfaces/MinMax.html +9 -7
  129. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
  130. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
  131. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
  132. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
  133. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
  134. package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
  135. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
  136. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
  137. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
  138. package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
  139. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
  140. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
  141. package/docs/interfaces/ModelViewPluginExportType.html +13 -11
  142. package/docs/interfaces/Object3DHelperState.html +10 -8
  143. package/docs/interfaces/ObjectHelperControllers.html +11 -9
  144. package/docs/interfaces/PaintBrushAction.html +14 -12
  145. package/docs/interfaces/PaintBrushConfigs.html +14 -12
  146. package/docs/interfaces/PaintBrushState.html +12 -10
  147. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
  148. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
  149. package/docs/interfaces/PanoMeasureParameterType.html +16 -14
  150. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
  151. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
  152. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
  153. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
  154. package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
  155. package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
  156. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
  157. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
  158. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
  159. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
  160. package/docs/interfaces/PanoRulerProPluginState.html +10 -8
  161. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
  162. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
  163. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
  164. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
  165. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
  166. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
  167. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
  168. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
  169. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
  170. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
  171. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
  172. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
  173. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
  174. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
  175. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
  176. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
  177. package/docs/interfaces/Point.html +10 -8
  178. package/docs/interfaces/Room.html +11 -9
  179. package/docs/interfaces/RoomInfo.html +9 -7
  180. package/docs/interfaces/RoomLabel.html +16 -14
  181. package/docs/interfaces/RoomRules.html +7 -5
  182. package/docs/interfaces/Rooms.html +7 -5
  183. package/docs/interfaces/Scissor.html +11 -9
  184. package/docs/interfaces/State.html +10 -8
  185. package/docs/interfaces/TagCacheInterface.html +14 -12
  186. package/docs/interfaces/TagConfig.html +13 -11
  187. package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
  188. package/docs/interfaces/TagIconUrl.html +13 -11
  189. package/docs/interfaces/TagObjectGroup.html +8 -6
  190. package/docs/interfaces/TagStyle.html +8 -6
  191. package/docs/interfaces/Tags.html +11 -9
  192. package/docs/interfaces/TemporaryState.html +8 -6
  193. package/docs/interfaces/Util.MagnifierParameter.html +13 -11
  194. package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
  195. package/docs/modules/GuideLineItem.html +52 -0
  196. package/docs/modules/GuideLineModeItem.html +52 -0
  197. package/docs/modules/PanoVideoPluginType.html +7 -5
  198. package/docs/modules/Util.html +16 -6
  199. package/docs/modules.html +9 -5
  200. package/docs/types/ArrayPosition.html +7 -5
  201. package/docs/types/AudioAppearance.html +7 -5
  202. package/docs/types/AudioTagTypeConfigKey.html +7 -5
  203. package/docs/types/CSS3DRenderExportType.html +7 -5
  204. package/docs/types/CSS3DRenderPluginExportType.html +7 -5
  205. package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
  206. package/docs/types/ClassFunctionParameters.html +7 -5
  207. package/docs/types/Color.html +7 -5
  208. package/docs/types/ContentTypeConfigKey.html +7 -5
  209. package/docs/types/ContentTypeConfigKeySplit.html +7 -5
  210. package/docs/types/ContentTypeMap.html +7 -5
  211. package/docs/types/Create3DDomContainerReturnType.html +7 -5
  212. package/docs/types/Create3DElementReturnType.html +7 -5
  213. package/docs/types/CruisePluginExportType.html +7 -5
  214. package/docs/types/Direction-1.html +7 -5
  215. package/docs/types/Direction4.html +7 -5
  216. package/docs/types/FloorplanRuleLabels.html +7 -5
  217. package/docs/types/FloorplanServerRuleLabels.html +7 -5
  218. package/docs/types/GuideLinePluginExportType.html +7 -5
  219. package/docs/types/HelperEventMap.html +7 -5
  220. package/docs/types/LoadTagConfig.html +7 -5
  221. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
  222. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
  223. package/docs/types/MediaData.html +7 -5
  224. package/docs/types/MediaStore.html +7 -5
  225. package/docs/types/ModelElement.html +7 -5
  226. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
  227. package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
  228. package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
  229. package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
  230. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
  231. package/docs/types/MoveArgs.html +7 -5
  232. package/docs/types/MoveOpts.html +7 -5
  233. package/docs/types/Object3DHelperEventMap.html +7 -5
  234. package/docs/types/ObjectFit.html +7 -5
  235. package/docs/types/PaintBrushEventMap.html +7 -5
  236. package/docs/types/PanoCompassPluginData.html +7 -5
  237. package/docs/types/PanoCompassPluginExportType.html +7 -5
  238. package/docs/types/PanoCompassPluginParameterType.html +7 -5
  239. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
  240. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
  241. package/docs/types/PanoIndex.html +7 -5
  242. package/docs/types/PanoMeasurePluginEvent.html +7 -5
  243. package/docs/types/PanoMeasureReturnType.html +7 -5
  244. package/docs/types/PanoSpatialTagPluginId.html +7 -5
  245. package/docs/types/PanoTagPluginExportInterface.html +7 -5
  246. package/docs/types/PanoTagPluginParamsInterface.html +7 -5
  247. package/docs/types/PanoVideoPluginParameterType.html +7 -5
  248. package/docs/types/PanoVideoPluginReturnType.html +7 -5
  249. package/docs/types/PlaneTag.html +7 -5
  250. package/docs/types/PlaneTagElement.html +7 -5
  251. package/docs/types/Point2DElement.html +7 -5
  252. package/docs/types/Point2DTag.html +7 -5
  253. package/docs/types/Point3DElement.html +7 -5
  254. package/docs/types/Point3DTag.html +7 -5
  255. package/docs/types/PointTag.html +7 -5
  256. package/docs/types/PointTagElement.html +7 -5
  257. package/docs/types/Position.html +7 -5
  258. package/docs/types/RotateArgs.html +7 -5
  259. package/docs/types/RotateOpts.html +7 -5
  260. package/docs/types/RuleLabelsKey.html +7 -5
  261. package/docs/types/RuleLabelsValue.html +7 -5
  262. package/docs/types/StickType.html +7 -5
  263. package/docs/types/Tag.html +7 -5
  264. package/docs/types/Tag2D.html +7 -5
  265. package/docs/types/Tag3D.html +7 -5
  266. package/docs/types/TagContentType.html +7 -5
  267. package/docs/types/TagDimensionType.html +7 -5
  268. package/docs/types/TagElement.html +8 -6
  269. package/docs/types/TagEvents.html +7 -5
  270. package/docs/types/TagGLTFObject.html +8 -6
  271. package/docs/types/TagHooks.html +7 -5
  272. package/docs/types/TagIconSize.html +7 -5
  273. package/docs/types/TagId.html +7 -5
  274. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
  275. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
  276. package/docs/types/WorkCode.html +7 -5
  277. package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
  278. package/docs/variables/PLUGIN.html +7 -5
  279. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
  280. package/docs/variables/ROOM_TYPE_MAP.html +7 -5
  281. package/docs/variables/itemLabelPluginServerParams.html +7 -5
  282. package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
  283. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
  284. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
  285. package/libs/CSS3DRenderPlugin/Controller.js +40 -31
  286. package/libs/CSS3DRenderPlugin/index.js +12 -6
  287. package/libs/CruisePlugin/Controller.d.ts +1 -2
  288. package/libs/CruisePlugin/Controller.js +197 -174
  289. package/libs/CruisePlugin/index.js +33 -10
  290. package/libs/CruisePlugin/typing.d.ts +12 -2
  291. package/libs/GuideLinePlugin/Controller.d.ts +17 -11
  292. package/libs/GuideLinePlugin/Controller.js +111 -85
  293. package/libs/GuideLinePlugin/GuideLineItem/index.js +35 -0
  294. package/libs/GuideLinePlugin/GuideLineItem.d.ts +26 -0
  295. package/libs/GuideLinePlugin/GuideLineItem.js +31 -0
  296. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +148 -0
  297. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
  298. package/libs/GuideLinePlugin/GuideLineModeItem.js +29 -0
  299. package/libs/GuideLinePlugin/index.d.ts +3 -0
  300. package/libs/GuideLinePlugin/index.js +33 -7
  301. package/libs/GuideLinePlugin/typing.d.ts +78 -1
  302. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
  303. package/libs/GuideLinePlugin/utils/createLineGeometry.js +35 -0
  304. package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +2 -0
  305. package/libs/GuideLinePlugin/utils/dataFormatter.js +6 -0
  306. package/libs/GuideLinePlugin/utils/index.d.ts +7 -0
  307. package/libs/GuideLinePlugin/utils/index.js +32 -0
  308. package/libs/ModelTVVideoPlugin/Plugin.js +37 -31
  309. package/libs/ModelTVVideoPlugin/index.js +11 -5
  310. package/libs/Object3DHelperPlugin/Controller.js +33 -28
  311. package/libs/Object3DHelperPlugin/index.js +18 -13
  312. package/libs/PanoCompassPlugin/Controller.js +8 -6
  313. package/libs/PanoCompassPlugin/index.js +12 -10
  314. package/libs/PanoDoorLabelPlugin/BaseController.js +47 -28
  315. package/libs/PanoDoorLabelPlugin/Controller.js +40 -22
  316. package/libs/PanoDoorLabelPlugin/index.js +21 -3
  317. package/libs/PanoMeasurePlugin/typings/index.js +20 -1
  318. package/libs/PanoSpatialTagPlugin/Plugin.js +8 -3
  319. package/libs/PanoSpatialTagPlugin/index.js +8 -3
  320. package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
  321. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  322. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  323. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  324. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  325. package/libs/PanoTagPlugin/controller/TagCache.js +42 -22
  326. package/libs/PanoTagPlugin/controller/TagComputer.js +4 -3
  327. package/libs/PanoTagPlugin/controller/TagRender.js +53 -58
  328. package/libs/PanoTagPlugin/controller/TagUtil.js +8 -3
  329. package/libs/PanoTagPlugin/controller/index.js +13 -15
  330. package/libs/PanoTagPlugin/index.js +11 -10
  331. package/libs/PanoTagPlugin/typings/controller.d.ts +0 -3
  332. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  333. package/libs/PanoVideoPlugin/Controller.js +4 -3
  334. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  335. package/libs/PanoVideoPlugin/index.js +7 -6
  336. package/libs/base/BasePlugin.d.ts +1 -0
  337. package/libs/base/BasePlugin.js +21 -10
  338. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +57 -38
  339. package/libs/floorplan/MapviewFloorplanPlugin/index.js +22 -3
  340. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +48 -29
  341. package/libs/floorplan/ModelFloorplanPlugin/index.js +22 -3
  342. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +31 -11
  343. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +23 -3
  344. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +59 -40
  345. package/libs/floorplan/TopviewFloorplanPlugin/index.js +22 -3
  346. package/libs/floorplan/index.js +6 -0
  347. package/libs/index.js +77 -72
  348. package/libs/shared-utils/five/index.d.ts +1 -0
  349. package/libs/shared-utils/five/index.js +1 -0
  350. package/libs/shared-utils/five/mode.d.ts +3 -0
  351. package/libs/shared-utils/five/mode.js +11 -0
  352. package/libs/shared-utils/index.d.ts +3 -0
  353. package/libs/shared-utils/index.js +36 -29
  354. package/libs/shared-utils/isAbsoluteURL.d.ts +1 -0
  355. package/libs/shared-utils/isAbsoluteURL.js +6 -0
  356. package/libs/shared-utils/log.d.ts +2 -0
  357. package/libs/shared-utils/log.js +10 -0
  358. package/libs/shared-utils/three/PointDomHelper.js +1 -1
  359. package/package.json +2 -2
  360. package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
  361. package/dist/shared-utils/logger.d.ts +0 -17
  362. package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
  363. package/libs/GuideLinePlugin/utils/getLineGeometries.js +0 -64
  364. package/libs/shared-utils/logger.d.ts +0 -17
  365. package/libs/shared-utils/logger.js +0 -16
@@ -1,31 +1,31 @@
1
1
  var E = Object.defineProperty, w = Object.defineProperties;
2
2
  var F = Object.getOwnPropertyDescriptors;
3
- var m = Object.getOwnPropertySymbols;
3
+ var f = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var p = (h, n, t) => n in h ? E(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, u = (h, n) => {
5
+ var c = (h, n, t) => n in h ? E(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, u = (h, n) => {
6
6
  for (var t in n || (n = {}))
7
- A.call(n, t) && p(h, t, n[t]);
8
- if (m)
9
- for (var t of m(n))
10
- C.call(n, t) && p(h, t, n[t]);
7
+ A.call(n, t) && c(h, t, n[t]);
8
+ if (f)
9
+ for (var t of f(n))
10
+ C.call(n, t) && c(h, t, n[t]);
11
11
  return h;
12
- }, f = (h, n) => w(h, F(n));
13
- var i = (h, n, t) => (p(h, typeof n != "symbol" ? n + "" : n, t), t);
14
- var c = (h, n, t) => new Promise((e, o) => {
12
+ }, m = (h, n) => w(h, F(n));
13
+ var i = (h, n, t) => (c(h, typeof n != "symbol" ? n + "" : n, t), t);
14
+ var p = (h, n, t) => new Promise((e, o) => {
15
15
  var s = (d) => {
16
16
  try {
17
- a(t.next(d));
17
+ r(t.next(d));
18
18
  } catch (l) {
19
19
  o(l);
20
20
  }
21
- }, r = (d) => {
21
+ }, a = (d) => {
22
22
  try {
23
- a(t.throw(d));
23
+ r(t.throw(d));
24
24
  } catch (l) {
25
25
  o(l);
26
26
  }
27
- }, a = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, r);
28
- a((t = t.apply(h, n)).next());
27
+ }, r = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, a);
28
+ r((t = t.apply(h, n)).next());
29
29
  });
30
30
  import * as x from "three";
31
31
  import { equal as S } from "../../shared-utils/equal.js";
@@ -68,8 +68,27 @@ import "../Assets/floorplanExtraObject.js";
68
68
  import "../../shared-utils/tap.js";
69
69
  import "../../base/BasePlugin.js";
70
70
  import "../../shared-utils/Subscribe.js";
71
+ import "@realsee/five";
72
+ import "hammerjs";
73
+ import "@tweenjs/tween.js";
74
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
75
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
76
+ import "three/examples/jsm/renderers/CSS3DRenderer";
77
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
78
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
79
+ import "../../CSS3DRenderPlugin/utils/even.js";
80
+ import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
81
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
82
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
83
+ import "../../shared-utils/three/centerPoint.js";
84
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
85
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
86
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
87
+ import "../../shared-utils/isAbsoluteURL.js";
88
+ import "../../shared-utils/animationFrame/BetterTween.js";
89
+ import "../../shared-utils/animationFrame/index.js";
71
90
  import "../../shared-utils/nearlyEqual.js";
72
- class At extends L {
91
+ class Nt extends L {
73
92
  constructor(t, e) {
74
93
  super(t);
75
94
  i(this, "name", "topviewFloorplanPlugin");
@@ -89,7 +108,7 @@ class At extends L {
89
108
  i(this, "updateSize", () => {
90
109
  if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
91
110
  return;
92
- const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = M(this.five, this.wrapper, this.floorIndex, r), d = Math.ceil(o * a), l = Math.ceil(s * a);
111
+ const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, a = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = M(this.five, this.wrapper, this.floorIndex, a), d = Math.ceil(o * r), l = Math.ceil(s * r);
93
112
  this.size.width === d && this.size.height === l || (this.container.style.width = d + "px", this.container.style.height = l + "px", this.size = { width: d, height: l });
94
113
  });
95
114
  i(this, "dispose", () => {
@@ -165,40 +184,40 @@ class At extends L {
165
184
  attachedTo: _.BOUNDING_CENTER,
166
185
  getLabelElement: void 0,
167
186
  adaptiveRoomLabelVisibleEnable: !0,
168
- getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
169
- getRuleDistanceText: (a) => a.toString()
170
- }, s = e ? I(e, ["selector", "scale"]) : {}, r = u(u({}, o), s);
187
+ getRoomAreaText: (r) => (r / 1e6).toFixed(1) + "\u33A1",
188
+ getRuleDistanceText: (r) => r.toString()
189
+ }, s = e ? I(e, ["selector", "scale"]) : {}, a = u(u({}, o), s);
171
190
  this.state = {
172
191
  enabled: !0,
173
192
  visible: !1,
174
- config: r
193
+ config: a
175
194
  }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
176
195
  }
177
196
  load(t, e, o = !0) {
178
- return c(this, null, function* () {
197
+ return p(this, null, function* () {
179
198
  function s(b) {
180
199
  return Object.prototype.hasOwnProperty.apply(b, ["version"]);
181
200
  }
182
- const r = t;
183
- r && !r.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
184
- const a = JSON.parse(JSON.stringify(t)), d = s(a) ? a.data : a, l = this.data;
201
+ const a = t;
202
+ a && !a.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
203
+ const r = JSON.parse(JSON.stringify(t)), d = s(r) ? r.data : r, l = this.data;
185
204
  this.data = yield v(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, o), this.render();
186
205
  });
187
206
  }
188
207
  updatePosition() {
189
- var a;
190
- const t = P(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new x.Vector3()).setY(t);
208
+ var r;
209
+ const t = P(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.five.model) == null ? void 0 : r.bounding.getCenter(new x.Vector3()).setY(t);
191
210
  if (!e)
192
211
  return;
193
- const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
194
- this.container.style.left = s * 100 + "%", this.container.style.top = r * 100 + "%";
212
+ const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, a = -(o.y - 1) / 2;
213
+ this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
195
214
  }
196
215
  appendTo(t) {
197
216
  if (this.wrapper = t, !!this.state.enabled)
198
217
  return t.appendChild(this.container), this.render(), this;
199
218
  }
200
219
  show() {
201
- return c(this, arguments, function* (t = {}) {
220
+ return p(this, arguments, function* (t = {}) {
202
221
  if (this.state.visible)
203
222
  return;
204
223
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -206,7 +225,7 @@ class At extends L {
206
225
  });
207
226
  }
208
227
  hide() {
209
- return c(this, arguments, function* (t = {}) {
228
+ return p(this, arguments, function* (t = {}) {
210
229
  if (this.isHiddenByHideFunc = !0, !this.state.visible)
211
230
  return;
212
231
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -228,24 +247,24 @@ class At extends L {
228
247
  setState(t, e = {}) {
229
248
  const o = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
230
249
  if (this.updateState(t, s), t.enabled !== void 0 && o.enabled !== t.enabled) {
231
- const r = { userAction: s };
232
- t.enabled ? this._enable(r) : this._disable(r);
250
+ const a = { userAction: s };
251
+ t.enabled ? this._enable(a) : this._disable(a);
233
252
  }
234
253
  if (t.visible !== void 0 && o.visible !== t.visible) {
235
- const r = { userAction: s };
236
- t.visible ? this._show(r) : this._hide(r);
254
+ const a = { userAction: s };
255
+ t.visible ? this._show(a) : this._hide(a);
237
256
  }
238
257
  }
239
258
  changeConfigs(t, e = !0) {
240
259
  this.updateState({ config: t }, e), this.render();
241
260
  }
242
261
  formatData(t) {
243
- return c(this, null, function* () {
262
+ return p(this, null, function* () {
244
263
  return yield v(t.data);
245
264
  });
246
265
  }
247
266
  _show(t) {
248
- return c(this, null, function* () {
267
+ return p(this, null, function* () {
249
268
  if (!this.state.enabled)
250
269
  return;
251
270
  this.isHiddenByHideFunc = !1;
@@ -256,7 +275,7 @@ class At extends L {
256
275
  });
257
276
  }
258
277
  _hide(t) {
259
- return c(this, null, function* () {
278
+ return p(this, null, function* () {
260
279
  if (!this.state.enabled)
261
280
  return;
262
281
  const { userAction: e } = t;
@@ -271,7 +290,7 @@ class At extends L {
271
290
  }
272
291
  updateState(t, e) {
273
292
  const o = this.state, s = t.config ? u(u({}, o.config), t.config) : o.config;
274
- this.state = f(u(u({}, this.state), t), { config: s }), !S(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
293
+ this.state = m(u(u({}, this.state), t), { config: s }), !S(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
275
294
  }
276
295
  addEventListener() {
277
296
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -297,7 +316,7 @@ class At extends L {
297
316
  render(t) {
298
317
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
299
318
  return;
300
- const e = f(u({}, this.state.config), {
319
+ const e = m(u({}, this.state.config), {
301
320
  visible: this.state.visible,
302
321
  duration: t != null ? t : 0,
303
322
  panoIndex: this.panoIndex,
@@ -312,5 +331,5 @@ class At extends L {
312
331
  }
313
332
  }
314
333
  export {
315
- At as Controller
334
+ Nt as Controller
316
335
  };
@@ -37,12 +37,31 @@ import "../constant.js";
37
37
  import "../../base/BasePluginWithData.js";
38
38
  import "../../base/BasePlugin.js";
39
39
  import "../../shared-utils/Subscribe.js";
40
+ import "@realsee/five";
41
+ import "hammerjs";
42
+ import "@tweenjs/tween.js";
43
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
44
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
45
+ import "three/examples/jsm/renderers/CSS3DRenderer";
46
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
47
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
48
+ import "../../CSS3DRenderPlugin/utils/even.js";
49
+ import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
50
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
51
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
52
+ import "../../shared-utils/three/centerPoint.js";
53
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
54
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
55
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
56
+ import "../../shared-utils/isAbsoluteURL.js";
57
+ import "../../shared-utils/animationFrame/BetterTween.js";
58
+ import "../../shared-utils/animationFrame/index.js";
40
59
  import "../../shared-utils/five/changeMode.js";
41
60
  import "../../shared-utils/nearlyEqual.js";
42
61
  import "../../shared-utils/getPxmm.js";
43
62
  import "../../shared-utils/changeModelCanvasOpacity.js";
44
- const U = (o, r) => new t(o, r);
63
+ const fo = (o, r) => new t(o, r);
45
64
  export {
46
- U as TopviewFloorplanPlugin,
47
- U as default
65
+ fo as TopviewFloorplanPlugin,
66
+ fo as default
48
67
  };
@@ -1,3 +1,9 @@
1
1
  import "../vendor/svelte/internal/index.js";
2
2
  import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
3
3
  import "three";
4
+ import "@realsee/five";
5
+ import "hammerjs";
6
+ import "@tweenjs/tween.js";
7
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
8
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
9
+ import "../shared-utils/animationFrame/BetterTween.js";
package/libs/index.js CHANGED
@@ -1,52 +1,53 @@
1
- import { consoleVersion as o } from "./shared-utils/logger.js";
2
- import { PaintBrush as hi } from "./components/PaintBrush/index.js";
3
- import { PaintBrushTypeEnum as Bi } from "./components/PaintBrush/typings.js";
4
- import { ModelViewPlugin as Ui } from "./ModelViewPlugin/Plugin.js";
5
- import { CSS3DRenderPlugin as ki } from "./CSS3DRenderPlugin/index.js";
6
- import { PanoCursorRaycasterPlugin as zi } from "./PanoCursorRaycasterPlugin/index.js";
7
- import { ModelRoomLabelPlugin as Ki, modelRoomLabelPluginServerParams as Qi } from "./ModelRoomLabelPlugin/index.js";
8
- import { FLOOR_PLAN_ATTACHED_TO as Xi } from "./floorplan/constant.js";
9
- import { ModelFloorplanPlugin as $i } from "./floorplan/ModelFloorplanPlugin/index.js";
1
+ import { PaintBrush as hm } from "./components/PaintBrush/index.js";
2
+ import { PaintBrushTypeEnum as Bm } from "./components/PaintBrush/typings.js";
3
+ import { ModelViewPlugin as Um } from "./ModelViewPlugin/Plugin.js";
4
+ import { CSS3DRenderPlugin as jm } from "./CSS3DRenderPlugin/index.js";
5
+ import { PanoCursorRaycasterPlugin as qm } from "./PanoCursorRaycasterPlugin/index.js";
6
+ import { ModelRoomLabelPlugin as Jm, modelRoomLabelPluginServerParams as Km } from "./ModelRoomLabelPlugin/index.js";
7
+ import { FLOOR_PLAN_ATTACHED_TO as Wm } from "./floorplan/constant.js";
8
+ import { ModelFloorplanPlugin as Zm } from "./floorplan/ModelFloorplanPlugin/index.js";
10
9
  import { MapviewFloorplanPlugin as rp } from "./floorplan/MapviewFloorplanPlugin/index.js";
11
- import { TopviewFloorplanPlugin as mp } from "./floorplan/TopviewFloorplanPlugin/index.js";
10
+ import { TopviewFloorplanPlugin as ip } from "./floorplan/TopviewFloorplanPlugin/index.js";
12
11
  import { PanoFloorplanRadarPlugin as pp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
13
12
  import { FLOOR_TYPE_MAP as lp, ROOM_FETILE_TYPE_MAP as np, ROOM_TYPE_MAP as ap } from "./floorplan/typings/floorplanServerData.js";
14
- import { ModelChassisCompassPlugin as fp } from "./ModelChassisCompassPlugin/Plugin.js";
13
+ import { ModelChassisCompassPlugin as up } from "./ModelChassisCompassPlugin/Plugin.js";
15
14
  import { ModelEntryDoorGuidePlugin as xp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
16
15
  import { CameraMovementPlugin as sp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
17
16
  import { CameraMovementEffect as Mp, Rotation as Tp } from "./CameraMovementPlugin/typing.js";
18
17
  import { PanoRulerPlugin as _p } from "./PanoRulerPlugin/Plugin.js";
19
18
  import { PanoRulerProPlugin as Ep } from "./PanoRulerProPlugin/index.js";
20
- import { PanoCompassPlugin as Op } from "./PanoCompassPlugin/index.js";
21
- import { PanoMeasurePlugin as Ap } from "./PanoMeasurePlugin/index.js";
22
- import { PanoSpatialTagPlugin as Ip } from "./PanoSpatialTagPlugin/Plugin.js";
23
- import { modelItemLabelPluginServerParams as yp } from "./ModelItemLabelPlugin/index.js";
24
- import { ModelTVVideoPlugin as Fp } from "./ModelTVVideoPlugin/Plugin.js";
25
- import { DIRECTION as Gp } from "./ModelTVVideoPlugin/typings.js";
26
- import { itemLabelPluginServerParams as cp } from "./ItemLabelPlugin/index.js";
19
+ import { PanoCompassPlugin as Ip } from "./PanoCompassPlugin/index.js";
20
+ import { PanoMeasurePlugin as Op } from "./PanoMeasurePlugin/index.js";
21
+ import { PanoSpatialTagPlugin as cp } from "./PanoSpatialTagPlugin/Plugin.js";
22
+ import { modelItemLabelPluginServerParams as Dp } from "./ModelItemLabelPlugin/index.js";
23
+ import { ModelTVVideoPlugin as yp } from "./ModelTVVideoPlugin/Plugin.js";
24
+ import { DIRECTION as vp } from "./ModelTVVideoPlugin/typings.js";
25
+ import { itemLabelPluginServerParams as Vp } from "./ItemLabelPlugin/index.js";
27
26
  import { PanoDoorLabelPlugin as hp } from "./PanoDoorLabelPlugin/index.js";
28
27
  import { GuideLinePlugin as Bp } from "./GuideLinePlugin/index.js";
29
28
  import { CruisePlugin as Up } from "./CruisePlugin/index.js";
30
- import { PanoTagPlugin as kp } from "./PanoTagPlugin/index.js";
31
- import { Object3DHelperPlugin as zp } from "./Object3DHelperPlugin/index.js";
32
- import { PanoVideoPlugin as Kp } from "./PanoVideoPlugin/index.js";
33
- import { index as Wp } from "./shared-utils/index.js";
34
- import { CSS3DRender as Zp } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
29
+ import { PanoTagPlugin as jp } from "./PanoTagPlugin/index.js";
30
+ import { Object3DHelperPlugin as qp } from "./Object3DHelperPlugin/index.js";
31
+ import { PanoVideoPlugin as Jp } from "./PanoVideoPlugin/index.js";
32
+ import { index as Qp } from "./shared-utils/index.js";
33
+ import { CSS3DRender as Xp } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
35
34
  import { Model as oe } from "./PanoMeasurePlugin/Model/index.js";
36
35
  import { default as te } from "./PanoMeasurePlugin/Model/point.js";
37
- import { default as ie } from "./PanoMeasurePlugin/Model/line.js";
36
+ import { default as me } from "./PanoMeasurePlugin/Model/line.js";
38
37
  import { Polyline as ee } from "./PanoMeasurePlugin/Model/polyline.js";
39
38
  import { default as ne } from "./PanoMeasurePlugin/Modules/Magnifier.js";
40
39
  import { DISPLAY_STRATEGY_TYPE as Pe } from "./ModelItemLabelPlugin/typings.js";
41
- import { ModelItemLabelPlugin as ue } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
40
+ import { ModelItemLabelPlugin as fe } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
42
41
  import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ge } from "./ItemLabelPlugin/typings.js";
43
42
  import { Plugin as de } from "./ItemLabelPlugin/Plugin.js";
44
- import { default as Te } from "./CruisePlugin/Controller.js";
45
- import { default as _e, pluginFlag as Ce } from "./PanoTagPlugin/controller/index.js";
46
- import { ContentType as Re } from "./PanoTagPlugin/typings/tag/TagData.js";
47
- import { DimensionType as Se } from "./PanoTagPlugin/typings/tag/Utils.js";
48
- import { Object3DHelperController as De, PLUGIN as Ie } from "./Object3DHelperPlugin/Controller.js";
49
- import { typings as ye } from "./PanoVideoPlugin/typings/index.js";
43
+ import { GuideLineItem$1 as Te } from "./GuideLinePlugin/GuideLineItem/index.js";
44
+ import { GuideLineModeItem$1 as _e } from "./GuideLinePlugin/GuideLineModeItem/index.js";
45
+ import { default as Ee } from "./CruisePlugin/Controller.js";
46
+ import { default as Ie, pluginFlag as be } from "./PanoTagPlugin/controller/index.js";
47
+ import { ContentType as Se } from "./PanoTagPlugin/typings/tag/TagData.js";
48
+ import { DimensionType as Ae } from "./PanoTagPlugin/typings/tag/Utils.js";
49
+ import { Object3DHelperController as Ge, PLUGIN as ye } from "./Object3DHelperPlugin/Controller.js";
50
+ import { typings as ve } from "./PanoVideoPlugin/typings/index.js";
50
51
  import "./components/PaintBrush/Controller.js";
51
52
  import "./components/PaintBrush/utils.js";
52
53
  import "./components/PaintBrush/tween.js";
@@ -59,6 +60,10 @@ import "three";
59
60
  import "./CSS3DRenderPlugin/Controller.js";
60
61
  import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
61
62
  import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
63
+ import "hammerjs";
64
+ import "./shared-utils/isAbsoluteURL.js";
65
+ import "./shared-utils/animationFrame/BetterTween.js";
66
+ import "./shared-utils/animationFrame/index.js";
62
67
  import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
63
68
  import "three/examples/jsm/renderers/CSS3DRenderer";
64
69
  import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -135,8 +140,6 @@ import "./shared-utils/three/transformToMeshBasicMaterial.js";
135
140
  import "./shared-utils/createCanvasTextTexture.js";
136
141
  import "./shared-utils/three/transformPositionToVector3.js";
137
142
  import "./shared-utils/animationFrame/tween.js";
138
- import "./shared-utils/animationFrame/index.js";
139
- import "./shared-utils/animationFrame/BetterTween.js";
140
143
  import "./shared-utils/animationFrame/formatRad.js";
141
144
  import "./shared-utils/animationFrame/calculateProgress.js";
142
145
  import "./shared-utils/math/planimetry.js";
@@ -152,7 +155,6 @@ import "./shared-utils/three/loadTexture.js";
152
155
  import "./PanoMeasurePlugin/Controller/index.js";
153
156
  import "./PanoMeasurePlugin/Modules/FiveHelper.js";
154
157
  import "./PanoMeasurePlugin/Controller/EditController.js";
155
- import "hammerjs";
156
158
  import "./PanoMeasurePlugin/Controller/BaseController.js";
157
159
  import "./PanoMeasurePlugin/utils/ironbox.js";
158
160
  import "./PanoMeasurePlugin/utils/line.js";
@@ -210,10 +212,11 @@ import "./PanoDoorLabelPlugin/BaseController.js";
210
212
  import "./PanoDoorLabelPlugin/DoorLabelItem.js";
211
213
  import "./PanoDoorLabelPlugin/utils.js";
212
214
  import "./GuideLinePlugin/Controller.js";
213
- import "./GuideLinePlugin/utils/getLineGeometries.js";
214
215
  import "polyline-normals";
215
- import "./GuideLinePlugin/utils/getArrowMaterial.js";
216
- import "./shared-utils/isNil.js";
216
+ import "object-assign-deep";
217
+ import "./shared-utils/log.js";
218
+ import "./GuideLinePlugin/utils/createLineGeometry.js";
219
+ import "./shared-utils/five/mode.js";
217
220
  import "./CruisePlugin/utils/coordinatesAngle.js";
218
221
  import "./CruisePlugin/utils/coordinatesToVector.js";
219
222
  import "./CruisePlugin/utils/safeCall.js";
@@ -221,7 +224,6 @@ import "./CruisePlugin/utils/vectorToCoordinates.js";
221
224
  import "./CruisePlugin/utils/formatRad.js";
222
225
  import "./CruisePlugin/utils/linerValue.js";
223
226
  import "./CruisePlugin/utils/sleep.js";
224
- import "object-assign-deep";
225
227
  import "./PanoTagPlugin/utils/addDebugPoints.js";
226
228
  import "@realsee/five/gltf-loader";
227
229
  import "./PanoTagPlugin/utils/tag/tagCheck.js";
@@ -235,6 +237,7 @@ import "./PanoTagPlugin/controller/TagRender.js";
235
237
  import "./PanoTagPlugin/controller/TagComputer.js";
236
238
  import "./PanoTagPlugin/utils/tagPosition.js";
237
239
  import "./PanoTagPlugin/utils/checkRange.js";
240
+ import "./shared-utils/isNil.js";
238
241
  import "./PanoTagPlugin/controller/TagUtil.js";
239
242
  import "./PanoTagPlugin/tag.config.js";
240
243
  import "./PanoTagPlugin/utils/planeNormal.js";
@@ -350,60 +353,62 @@ import "./shared-utils/three/PointHelper.js";
350
353
  import "./shared-utils/three/Assets/index.js";
351
354
  import "./shared-utils/three/PointDomHelper.js";
352
355
  import "./shared-utils/three/FivePointSelector.js";
353
- o();
356
+ console.info("@realsee/dnalogel %cv2.16.0-0", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
354
357
  export {
355
- Zp as CSS3DRender,
356
- ki as CSS3DRenderPlugin,
358
+ Xp as CSS3DRender,
359
+ jm as CSS3DRenderPlugin,
357
360
  Mp as CameraMovementEffect,
358
361
  sp as CameraMovementPlugin,
359
- Re as ContentType,
362
+ Se as ContentType,
360
363
  Up as CruisePlugin,
361
- Te as CruisePluginController,
362
- Gp as DIRECTION,
364
+ Ee as CruisePluginController,
365
+ vp as DIRECTION,
363
366
  Pe as DISPLAY_STRATEGY_TYPE,
364
- Se as DimensionType,
365
- Xi as FLOOR_PLAN_ATTACHED_TO,
367
+ Ae as DimensionType,
368
+ Wm as FLOOR_PLAN_ATTACHED_TO,
366
369
  lp as FLOOR_TYPE_MAP,
370
+ Te as GuideLineItem,
371
+ _e as GuideLineModeItem,
367
372
  Bp as GuideLinePlugin,
368
373
  ge as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
369
374
  de as ItemLabelPlugin,
370
375
  ne as Magnifier,
371
376
  rp as MapviewFloorplanPlugin,
372
- fp as ModelChassisCompassPlugin,
377
+ up as ModelChassisCompassPlugin,
373
378
  xp as ModelEntryDoorGuidePlugin,
374
- $i as ModelFloorplanPlugin,
375
- ue as ModelItemLabelPlugin,
376
- Ki as ModelRoomLabelPlugin,
377
- Fp as ModelTVVideoPlugin,
378
- Ui as ModelViewPlugin,
379
- De as Object3DHelperController,
380
- zp as Object3DHelperPlugin,
381
- Ie as PLUGIN,
382
- hi as PaintBrush,
383
- Bi as PaintBrushTypeEnum,
384
- Op as PanoCompassPlugin,
385
- zi as PanoCursorRaycasterPlugin,
379
+ Zm as ModelFloorplanPlugin,
380
+ fe as ModelItemLabelPlugin,
381
+ Jm as ModelRoomLabelPlugin,
382
+ yp as ModelTVVideoPlugin,
383
+ Um as ModelViewPlugin,
384
+ Ge as Object3DHelperController,
385
+ qp as Object3DHelperPlugin,
386
+ ye as PLUGIN,
387
+ hm as PaintBrush,
388
+ Bm as PaintBrushTypeEnum,
389
+ Ip as PanoCompassPlugin,
390
+ qm as PanoCursorRaycasterPlugin,
386
391
  hp as PanoDoorLabelPlugin,
387
392
  pp as PanoFloorplanRadarPlugin,
388
- Ap as PanoMeasurePlugin,
389
- ie as PanoMeasurePluginLine,
393
+ Op as PanoMeasurePlugin,
394
+ me as PanoMeasurePluginLine,
390
395
  oe as PanoMeasurePluginModel,
391
396
  te as PanoMeasurePluginPoint,
392
397
  ee as PanoMeasurePluginPolyline,
393
398
  _p as PanoRulerPlugin,
394
399
  Ep as PanoRulerProPlugin,
395
- Ip as PanoSpatialTagPlugin,
396
- kp as PanoTagPlugin,
397
- _e as PanoTagPluginController,
398
- Kp as PanoVideoPlugin,
399
- ye as PanoVideoPluginType,
400
+ cp as PanoSpatialTagPlugin,
401
+ jp as PanoTagPlugin,
402
+ Ie as PanoTagPluginController,
403
+ Jp as PanoVideoPlugin,
404
+ ve as PanoVideoPluginType,
400
405
  np as ROOM_FETILE_TYPE_MAP,
401
406
  ap as ROOM_TYPE_MAP,
402
407
  Tp as Rotation,
403
- mp as TopviewFloorplanPlugin,
404
- Wp as Util,
405
- cp as itemLabelPluginServerParams,
406
- yp as modelItemLabelPluginServerParams,
407
- Qi as modelRoomLabelPluginServerParams,
408
- Ce as pluginFlag
408
+ ip as TopviewFloorplanPlugin,
409
+ Qp as Util,
410
+ Vp as itemLabelPluginServerParams,
411
+ Dp as modelItemLabelPluginServerParams,
412
+ Km as modelRoomLabelPluginServerParams,
413
+ be as pluginFlag
409
414
  };
@@ -0,0 +1 @@
1
+ export * from './mode';
@@ -0,0 +1 @@
1
+ import "@realsee/five";
@@ -0,0 +1,3 @@
1
+ import { Mode } from '@realsee/five';
2
+ export declare function isPanoramaLike(mode: Mode): boolean;
3
+ export declare function isModelLike(mode: Mode): boolean;
@@ -0,0 +1,11 @@
1
+ import "@realsee/five";
2
+ function n(a) {
3
+ return a === "Panorama" || a === "DepthPanorama" || a === "VRPanorama" || a === "XRPanorama";
4
+ }
5
+ function i(a) {
6
+ return !n(a);
7
+ }
8
+ export {
9
+ i as isModelLike,
10
+ n as isPanoramaLike
11
+ };
@@ -1,4 +1,7 @@
1
1
  export * from './math';
2
+ export * from './five';
2
3
  export * from './three';
3
4
  export * from './isNil';
5
+ export * from './uuid';
6
+ export * from './isAbsoluteURL';
4
7
  export * from './animationFrame';
@@ -1,35 +1,42 @@
1
- import { Interval as e } from "./math/Interval.js";
1
+ import { Interval as o } from "./math/Interval.js";
2
2
  import { Rectangle as r } from "./math/Rectangle.js";
3
- import { Magnifier as o } from "./three/Magnifier.js";
4
- import { getCoordsFromClient as t, getCoordsFromElement as m } from "./three/getCoords.js";
5
- import { getRaycasterFromFivePointer as i } from "./three/getRaycaster.js";
6
- import { getIntersectFromRelativePosition as n } from "./three/getIntersect.js";
7
- import { PointHelper as p } from "./three/PointHelper.js";
8
- import { PointDomHelper as l } from "./three/PointDomHelper.js";
9
- import { FivePointSelector as f } from "./three/FivePointSelector.js";
10
- import { isNil as a, notNil as g } from "./isNil.js";
11
- import { nextFrame as s, requestAnimationFrameInterval as F, getFrameTime as c } from "./animationFrame/index.js";
12
- import { BetterTween as P, tweenProgress as v } from "./animationFrame/BetterTween.js";
13
- const w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ import { isPanoramaLike as e, isModelLike as t } from "./five/mode.js";
4
+ import { Magnifier as m } from "./three/Magnifier.js";
5
+ import { getCoordsFromClient as i, getCoordsFromElement as n } from "./three/getCoords.js";
6
+ import { getRaycasterFromFivePointer as p } from "./three/getRaycaster.js";
7
+ import { getIntersectFromRelativePosition as f } from "./three/getIntersect.js";
8
+ import { PointHelper as l } from "./three/PointHelper.js";
9
+ import { PointDomHelper as a } from "./three/PointDomHelper.js";
10
+ import { FivePointSelector as s } from "./three/FivePointSelector.js";
11
+ import { isNil as g, notNil as F } from "./isNil.js";
12
+ import { uuid as P } from "./uuid.js";
13
+ import { isAbsoluteURL as c } from "./isAbsoluteURL.js";
14
+ import { nextFrame as d, requestAnimationFrameInterval as u, getFrameTime as v } from "./animationFrame/index.js";
15
+ import { BetterTween as b, tweenProgress as R } from "./animationFrame/BetterTween.js";
16
+ const O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
17
  __proto__: null,
15
- Interval: e,
18
+ Interval: o,
16
19
  Rectangle: r,
17
- Magnifier: o,
18
- getCoordsFromClient: t,
19
- getCoordsFromElement: m,
20
- getRaycasterFromFivePointer: i,
21
- getIntersectFromRelativePosition: n,
22
- PointHelper: p,
23
- PointDomHelper: l,
24
- FivePointSelector: f,
25
- isNil: a,
26
- notNil: g,
27
- BetterTween: P,
28
- tweenProgress: v,
29
- nextFrame: s,
30
- requestAnimationFrameInterval: F,
31
- getFrameTime: c
20
+ isPanoramaLike: e,
21
+ isModelLike: t,
22
+ Magnifier: m,
23
+ getCoordsFromClient: i,
24
+ getCoordsFromElement: n,
25
+ getRaycasterFromFivePointer: p,
26
+ getIntersectFromRelativePosition: f,
27
+ PointHelper: l,
28
+ PointDomHelper: a,
29
+ FivePointSelector: s,
30
+ isNil: g,
31
+ notNil: F,
32
+ uuid: P,
33
+ isAbsoluteURL: c,
34
+ BetterTween: b,
35
+ tweenProgress: R,
36
+ nextFrame: d,
37
+ requestAnimationFrameInterval: u,
38
+ getFrameTime: v
32
39
  }, Symbol.toStringTag, { value: "Module" }));
33
40
  export {
34
- w as index
41
+ O as index
35
42
  };
@@ -0,0 +1 @@
1
+ export declare function isAbsoluteURL(url: string): boolean;
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t.indexOf("//") === 0 || /^[0-9a-z]+\:\/\//i.test(t);
3
+ }
4
+ export {
5
+ e as isAbsoluteURL
6
+ };
@@ -0,0 +1,2 @@
1
+ export declare function logWarning(name: string, msg: string): void;
2
+ export declare function logError(name: string, msg: string): void;
@@ -0,0 +1,10 @@
1
+ function r(n, o) {
2
+ console.warn(`\u26D4 ==> [${n}]: ${o}`);
3
+ }
4
+ function c(n, o) {
5
+ console.warn(`\u{1F6AB} ==> [${n}]: ${o}`);
6
+ }
7
+ export {
8
+ c as logError,
9
+ r as logWarning
10
+ };