@realsee/dnalogel 2.16.0-2 → 2.16.0-alpha.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 (427) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +0 -1
  2. package/dist/CruisePlugin/Controller.d.ts +2 -1
  3. package/dist/CruisePlugin/typing.d.ts +2 -12
  4. package/dist/GuideLinePlugin/Controller.d.ts +12 -20
  5. package/dist/GuideLinePlugin/index.d.ts +0 -4
  6. package/dist/GuideLinePlugin/typing.d.ts +1 -70
  7. package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
  8. package/dist/PanoTagPlugin/typings/controller.d.ts +5 -2
  9. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -3
  10. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -1
  11. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +69 -0
  12. package/dist/base/BasePlugin.d.ts +0 -1
  13. package/dist/index.cjs.js +115 -162
  14. package/dist/index.js +5234 -5141
  15. package/dist/index.umd.js +116 -163
  16. package/dist/shared-utils/five/FiveDomEvents.d.ts +11 -0
  17. package/dist/shared-utils/index.d.ts +0 -3
  18. package/dist/shared-utils/logger.d.ts +17 -0
  19. package/dist/shared-utils/math/pointIsRectangle.d.ts +2 -0
  20. package/dist/shared-utils/offscreenCanvas.d.ts +2 -0
  21. package/dist/shared-utils/three/Quadrangle.d.ts +20 -0
  22. package/dist/shared-utils/three/getPositionsByObjectFit.d.ts +2 -0
  23. package/dist/shared-utils/three/loadVideoTexture.d.ts +4 -0
  24. package/docs/assets/search.js +1 -1
  25. package/docs/classes/CSS3DRender.html +31 -34
  26. package/docs/classes/CruisePluginController.html +27 -46
  27. package/docs/classes/Magnifier.html +20 -23
  28. package/docs/classes/ModelRoomLabelController.html +11 -14
  29. package/docs/classes/Object3DHelperController.html +24 -43
  30. package/docs/classes/PaintBrush.html +15 -18
  31. package/docs/classes/PanoMeasurePluginLine.html +23 -26
  32. package/docs/classes/PanoMeasurePluginModel.html +22 -25
  33. package/docs/classes/PanoMeasurePluginPoint.html +14 -17
  34. package/docs/classes/PanoMeasurePluginPolyline.html +26 -29
  35. package/docs/classes/PanoTagPluginController.html +65 -84
  36. package/docs/classes/Util.BetterTween.html +8 -11
  37. package/docs/classes/Util.FivePointSelector.html +12 -15
  38. package/docs/classes/Util.Interval.html +12 -15
  39. package/docs/classes/Util.Magnifier.html +17 -20
  40. package/docs/classes/Util.PointDomHelper.html +11 -14
  41. package/docs/classes/Util.PointHelper.html +11 -14
  42. package/docs/classes/Util.Rectangle.html +13 -16
  43. package/docs/enums/CameraMovementEffect.html +7 -10
  44. package/docs/enums/ContentType.html +19 -22
  45. package/docs/enums/DIRECTION.html +9 -12
  46. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -12
  47. package/docs/enums/DimensionType.html +7 -10
  48. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -11
  49. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -12
  50. package/docs/enums/PaintBrushTypeEnum.html +8 -11
  51. package/docs/enums/Rotation.html +8 -11
  52. package/docs/functions/CSS3DRenderPlugin.html +5 -7
  53. package/docs/functions/CameraMovementPlugin.html +5 -7
  54. package/docs/functions/CruisePlugin.html +5 -7
  55. package/docs/functions/GuideLinePlugin.html +6 -8
  56. package/docs/functions/ItemLabelPlugin.html +5 -7
  57. package/docs/functions/MapviewFloorplanPlugin.html +5 -7
  58. package/docs/functions/ModelChassisCompassPlugin.html +5 -7
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -7
  60. package/docs/functions/ModelFloorplanPlugin.html +5 -7
  61. package/docs/functions/ModelItemLabelPlugin.html +5 -7
  62. package/docs/functions/ModelRoomLabelPlugin.html +5 -7
  63. package/docs/functions/ModelTVVideoPlugin.html +5 -7
  64. package/docs/functions/ModelViewPlugin.html +5 -7
  65. package/docs/functions/Object3DHelperPlugin.html +5 -7
  66. package/docs/functions/PanoCompassPlugin.html +5 -7
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -7
  68. package/docs/functions/PanoDoorLabelPlugin.html +5 -7
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -7
  70. package/docs/functions/PanoMeasurePlugin.html +5 -7
  71. package/docs/functions/PanoRulerPlugin.html +5 -7
  72. package/docs/functions/PanoRulerProPlugin.html +5 -7
  73. package/docs/functions/PanoSpatialTagPlugin.html +5 -7
  74. package/docs/functions/PanoTagPlugin.html +5 -7
  75. package/docs/functions/PanoVideoPlugin.html +5 -7
  76. package/docs/functions/TopviewFloorplanPlugin.html +5 -7
  77. package/docs/functions/Util.getCoordsFromClient.html +6 -13
  78. package/docs/functions/Util.getCoordsFromElement.html +6 -13
  79. package/docs/functions/Util.getFrameTime.html +6 -13
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -13
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -13
  82. package/docs/functions/Util.isNil.html +6 -13
  83. package/docs/functions/Util.nextFrame.html +6 -13
  84. package/docs/functions/Util.notNil.html +6 -13
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -13
  86. package/docs/functions/Util.tweenProgress.html +6 -13
  87. package/docs/functions/pluginFlag.html +6 -8
  88. package/docs/index.html +5 -7
  89. package/docs/interfaces/AddTagConfig.html +6 -9
  90. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -14
  91. package/docs/interfaces/CSS3DRenderPluginState.html +8 -11
  92. package/docs/interfaces/CameraMovementPluginExportType.html +7 -10
  93. package/docs/interfaces/EventMap.html +15 -18
  94. package/docs/interfaces/FloorplanBounding.html +8 -11
  95. package/docs/interfaces/FloorplanData.html +10 -13
  96. package/docs/interfaces/FloorplanEntrance.html +11 -14
  97. package/docs/interfaces/FloorplanExtraObject.html +10 -13
  98. package/docs/interfaces/FloorplanExtraObject3D.html +8 -11
  99. package/docs/interfaces/FloorplanFloorData.html +9 -12
  100. package/docs/interfaces/FloorplanImagePosition.html +7 -10
  101. package/docs/interfaces/FloorplanObserver.html +9 -12
  102. package/docs/interfaces/FloorplanOutlineItem.html +9 -12
  103. package/docs/interfaces/FloorplanPosition.html +7 -10
  104. package/docs/interfaces/FloorplanRoomItem.html +13 -16
  105. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -10
  106. package/docs/interfaces/FloorplanServerBounding.html +8 -11
  107. package/docs/interfaces/FloorplanServerComputedData.html +10 -13
  108. package/docs/interfaces/FloorplanServerData.html +7 -10
  109. package/docs/interfaces/FloorplanServerDoorItem.html +10 -13
  110. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -11
  111. package/docs/interfaces/FloorplanServerEntrance.html +11 -14
  112. package/docs/interfaces/FloorplanServerFloorData.html +9 -12
  113. package/docs/interfaces/FloorplanServerImagePosition.html +7 -10
  114. package/docs/interfaces/FloorplanServerObserver.html +9 -12
  115. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -12
  116. package/docs/interfaces/FloorplanServerPosition.html +7 -10
  117. package/docs/interfaces/FloorplanServerRoomItem.html +14 -17
  118. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -10
  119. package/docs/interfaces/HelperOffset.html +8 -11
  120. package/docs/interfaces/ImagePlaneGroup.html +6 -9
  121. package/docs/interfaces/ItemLabelPluginData.html +6 -9
  122. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -14
  123. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -12
  124. package/docs/interfaces/MinMax.html +7 -10
  125. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -10
  126. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -11
  127. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -10
  128. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -11
  129. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -11
  130. package/docs/interfaces/ModelItemLabelPluginData.html +6 -9
  131. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -14
  132. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -10
  133. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -9
  134. package/docs/interfaces/ModelTVVideoPluginData.html +9 -12
  135. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -11
  136. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -9
  137. package/docs/interfaces/ModelViewPluginExportType.html +11 -14
  138. package/docs/interfaces/Object3DHelperState.html +8 -11
  139. package/docs/interfaces/ObjectHelperControllers.html +9 -12
  140. package/docs/interfaces/PaintBrushAction.html +12 -15
  141. package/docs/interfaces/PaintBrushConfigs.html +12 -15
  142. package/docs/interfaces/PaintBrushState.html +10 -13
  143. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -13
  144. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -8
  145. package/docs/interfaces/PanoMeasureParameterType.html +14 -17
  146. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -11
  147. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -10
  148. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -10
  149. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -11
  150. package/docs/interfaces/PanoRulerPluginExportType.html +10 -13
  151. package/docs/interfaces/PanoRulerPluginOptions.html +7 -10
  152. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -11
  153. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -12
  154. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -10
  155. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -10
  156. package/docs/interfaces/PanoRulerProPluginState.html +8 -11
  157. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -8
  158. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -8
  159. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -14
  160. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -13
  161. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -16
  162. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -13
  163. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -16
  164. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -14
  165. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -13
  166. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -9
  167. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -11
  168. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -9
  169. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -18
  170. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -9
  171. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -11
  172. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -13
  173. package/docs/interfaces/Point.html +8 -11
  174. package/docs/interfaces/Room.html +9 -12
  175. package/docs/interfaces/RoomInfo.html +7 -10
  176. package/docs/interfaces/RoomLabel.html +14 -17
  177. package/docs/interfaces/RoomRules.html +6 -8
  178. package/docs/interfaces/Rooms.html +6 -8
  179. package/docs/interfaces/Scissor.html +9 -12
  180. package/docs/interfaces/State.html +8 -11
  181. package/docs/interfaces/TagCacheInterface.html +12 -15
  182. package/docs/interfaces/TagConfig.html +11 -14
  183. package/docs/interfaces/TagGLTFObjectGroup.html +6 -9
  184. package/docs/interfaces/TagIconUrl.html +11 -14
  185. package/docs/interfaces/TagObjectGroup.html +6 -9
  186. package/docs/interfaces/TagStyle.html +6 -9
  187. package/docs/interfaces/Tags.html +10 -13
  188. package/docs/interfaces/TemporaryState.html +6 -9
  189. package/docs/interfaces/Util.MagnifierParameter.html +11 -14
  190. package/docs/interfaces/Util.MouseGroupParameter.html +8 -11
  191. package/docs/modules/PanoVideoPluginType.html +5 -8
  192. package/docs/modules/Util.html +6 -17
  193. package/docs/modules.html +7 -11
  194. package/docs/types/ArrayPosition.html +6 -8
  195. package/docs/types/AudioAppearance.html +6 -8
  196. package/docs/types/AudioTagTypeConfigKey.html +6 -8
  197. package/docs/types/CSS3DRenderExportType.html +6 -8
  198. package/docs/types/CSS3DRenderPluginExportType.html +6 -8
  199. package/docs/types/CSS3DRenderPluginParameterType.html +6 -8
  200. package/docs/types/ClassFunctionParameters.html +6 -8
  201. package/docs/types/Color.html +6 -8
  202. package/docs/types/ContentTypeConfigKey.html +6 -8
  203. package/docs/types/ContentTypeConfigKeySplit.html +6 -8
  204. package/docs/types/ContentTypeMap.html +6 -8
  205. package/docs/types/Create3DDomContainerReturnType.html +6 -8
  206. package/docs/types/Create3DElementReturnType.html +6 -8
  207. package/docs/types/CruisePluginExportType.html +6 -8
  208. package/docs/types/Direction-1.html +6 -8
  209. package/docs/types/Direction4.html +6 -8
  210. package/docs/types/ElementRenderer.html +288 -0
  211. package/docs/types/FloorplanRuleLabels.html +6 -8
  212. package/docs/types/FloorplanServerRuleLabels.html +6 -8
  213. package/docs/types/GuideLinePluginExportType.html +6 -8
  214. package/docs/types/HelperEventMap.html +6 -8
  215. package/docs/types/LoadTagConfig.html +6 -8
  216. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -8
  217. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -8
  218. package/docs/types/MediaData.html +6 -8
  219. package/docs/types/MediaStore.html +6 -8
  220. package/docs/types/ModelElement.html +6 -8
  221. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -8
  222. package/docs/types/ModelFloorplanPluginParameterType.html +6 -8
  223. package/docs/types/ModelFloorplanPluginReturnType.html +6 -8
  224. package/docs/types/ModelRoomLabelPluginParameters.html +6 -8
  225. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -8
  226. package/docs/types/MoveArgs.html +6 -8
  227. package/docs/types/MoveOpts.html +6 -8
  228. package/docs/types/Object3DHelperEventMap.html +6 -8
  229. package/docs/types/ObjectFit.html +6 -8
  230. package/docs/types/PaintBrushEventMap.html +6 -8
  231. package/docs/types/PanoCompassPluginData.html +6 -8
  232. package/docs/types/PanoCompassPluginExportType.html +6 -8
  233. package/docs/types/PanoCompassPluginParameterType.html +6 -8
  234. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -8
  235. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -8
  236. package/docs/types/PanoIndex.html +6 -8
  237. package/docs/types/PanoMeasurePluginEvent.html +6 -8
  238. package/docs/types/PanoMeasureReturnType.html +6 -8
  239. package/docs/types/PanoSpatialTagPluginId.html +6 -8
  240. package/docs/types/PanoTagPluginExportInterface.html +6 -8
  241. package/docs/types/PanoTagPluginParamsInterface.html +6 -8
  242. package/docs/types/PanoVideoPluginParameterType.html +6 -8
  243. package/docs/types/PanoVideoPluginReturnType.html +6 -8
  244. package/docs/types/PlaneTag.html +6 -8
  245. package/docs/types/PlaneTagElement.html +6 -8
  246. package/docs/types/Point2DElement.html +6 -8
  247. package/docs/types/Point2DTag.html +6 -8
  248. package/docs/types/Point3DElement.html +6 -8
  249. package/docs/types/Point3DTag.html +6 -8
  250. package/docs/types/PointTag.html +6 -8
  251. package/docs/types/PointTagElement.html +6 -8
  252. package/docs/types/Position.html +6 -8
  253. package/docs/types/RotateArgs.html +6 -8
  254. package/docs/types/RotateOpts.html +6 -8
  255. package/docs/types/RuleLabelsKey.html +6 -8
  256. package/docs/types/RuleLabelsValue.html +6 -8
  257. package/docs/types/StickType.html +6 -8
  258. package/docs/types/Tag.html +7 -9
  259. package/docs/types/Tag2D.html +6 -8
  260. package/docs/types/Tag3D.html +6 -8
  261. package/docs/types/TagContentType.html +6 -8
  262. package/docs/types/TagDimensionType.html +6 -8
  263. package/docs/types/TagElement.html +7 -9
  264. package/docs/types/TagEvents.html +6 -8
  265. package/docs/types/TagGLTFObject.html +7 -9
  266. package/docs/types/TagHooks.html +6 -8
  267. package/docs/types/TagIconSize.html +6 -8
  268. package/docs/types/TagId.html +6 -8
  269. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -8
  270. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -8
  271. package/docs/types/WorkCode.html +6 -8
  272. package/docs/variables/FLOOR_TYPE_MAP.html +6 -8
  273. package/docs/variables/PLUGIN.html +6 -8
  274. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -8
  275. package/docs/variables/ROOM_TYPE_MAP.html +6 -8
  276. package/docs/variables/itemLabelPluginServerParams.html +6 -8
  277. package/docs/variables/modelItemLabelPluginServerParams.html +6 -8
  278. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -8
  279. package/libs/CSS3DRenderPlugin/Controller.d.ts +0 -1
  280. package/libs/CSS3DRenderPlugin/Controller.js +31 -40
  281. package/libs/CSS3DRenderPlugin/index.js +6 -12
  282. package/libs/CruisePlugin/Controller.d.ts +2 -1
  283. package/libs/CruisePlugin/Controller.js +174 -197
  284. package/libs/CruisePlugin/index.js +10 -33
  285. package/libs/CruisePlugin/typing.d.ts +2 -12
  286. package/libs/GuideLinePlugin/Controller.d.ts +12 -20
  287. package/libs/GuideLinePlugin/Controller.js +88 -125
  288. package/libs/GuideLinePlugin/index.d.ts +0 -4
  289. package/libs/GuideLinePlugin/index.js +7 -33
  290. package/libs/GuideLinePlugin/typing.d.ts +1 -70
  291. package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
  292. package/libs/GuideLinePlugin/utils/getLineGeometries.js +64 -0
  293. package/libs/ModelTVVideoPlugin/Plugin.js +45 -53
  294. package/libs/ModelTVVideoPlugin/index.js +5 -11
  295. package/libs/Object3DHelperPlugin/Controller.js +28 -33
  296. package/libs/Object3DHelperPlugin/index.js +13 -18
  297. package/libs/PanoCompassPlugin/Controller.js +6 -8
  298. package/libs/PanoCompassPlugin/index.js +10 -12
  299. package/libs/PanoDoorLabelPlugin/BaseController.js +28 -47
  300. package/libs/PanoDoorLabelPlugin/Controller.js +22 -40
  301. package/libs/PanoDoorLabelPlugin/index.js +3 -21
  302. package/libs/PanoMeasurePlugin/typings/index.js +1 -20
  303. package/libs/PanoSpatialTagPlugin/Plugin.js +3 -8
  304. package/libs/PanoSpatialTagPlugin/index.js +3 -8
  305. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +4 -2
  306. package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
  307. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -2
  308. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +13 -11
  309. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +4 -2
  310. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +4 -2
  311. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +4 -2
  312. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +20 -18
  313. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +4 -2
  314. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  315. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +38 -36
  316. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +25 -23
  317. package/libs/PanoTagPlugin/Components/Tag/index.js +26 -25
  318. package/libs/PanoTagPlugin/Components/TagContainer.js +4 -3
  319. package/libs/PanoTagPlugin/Components/TagItem.js +4 -3
  320. package/libs/PanoTagPlugin/controller/TagCache.js +22 -42
  321. package/libs/PanoTagPlugin/controller/TagComputer.js +4 -5
  322. package/libs/PanoTagPlugin/controller/TagRender.js +82 -63
  323. package/libs/PanoTagPlugin/controller/TagUtil.js +13 -20
  324. package/libs/PanoTagPlugin/controller/index.js +22 -15
  325. package/libs/PanoTagPlugin/index.js +17 -13
  326. package/libs/PanoTagPlugin/typings/controller.d.ts +5 -2
  327. package/libs/PanoTagPlugin/typings/index.js +6 -4
  328. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -3
  329. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -1
  330. package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -0
  331. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -2
  332. package/libs/PanoTagPlugin/utils/index.js +35 -33
  333. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +69 -0
  334. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +214 -0
  335. package/libs/PanoTagPlugin/utils/planeNormal.js +4 -2
  336. package/libs/PanoTagPlugin/utils/tagPosition.js +9 -7
  337. package/libs/PanoVideoPlugin/Controller.js +3 -4
  338. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  339. package/libs/PanoVideoPlugin/index.js +6 -7
  340. package/libs/base/BasePlugin.d.ts +0 -1
  341. package/libs/base/BasePlugin.js +10 -21
  342. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +38 -57
  343. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -22
  344. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +29 -48
  345. package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -22
  346. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +11 -31
  347. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -23
  348. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +40 -59
  349. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -22
  350. package/libs/floorplan/index.js +0 -6
  351. package/libs/index.js +120 -118
  352. package/libs/shared-utils/five/FiveDomEvents.d.ts +11 -0
  353. package/libs/shared-utils/five/FiveDomEvents.js +77 -0
  354. package/libs/shared-utils/index.d.ts +0 -3
  355. package/libs/shared-utils/index.js +29 -36
  356. package/libs/shared-utils/logger.d.ts +17 -0
  357. package/libs/shared-utils/logger.js +16 -0
  358. package/libs/shared-utils/math/pointIsRectangle.d.ts +2 -0
  359. package/libs/shared-utils/math/pointIsRectangle.js +10 -0
  360. package/libs/shared-utils/offscreenCanvas.d.ts +2 -0
  361. package/libs/shared-utils/offscreenCanvas.js +12 -0
  362. package/libs/shared-utils/three/PointDomHelper.js +1 -1
  363. package/libs/shared-utils/three/Quadrangle.d.ts +20 -0
  364. package/libs/shared-utils/three/Quadrangle.js +41 -0
  365. package/libs/shared-utils/three/getPositionsByObjectFit.d.ts +2 -0
  366. package/libs/shared-utils/three/getPositionsByObjectFit.js +20 -0
  367. package/libs/shared-utils/three/loadTexture.js +19 -21
  368. package/libs/shared-utils/three/loadVideoTexture.d.ts +4 -0
  369. package/libs/shared-utils/three/loadVideoTexture.js +14 -0
  370. package/package.json +2 -2
  371. package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -26
  372. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -64
  373. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -19
  374. package/dist/GuideLinePlugin/utils/index.d.ts +0 -7
  375. package/dist/PanoTagPlugin/utils/model/imagePlane.d.ts +0 -9
  376. package/dist/shared-utils/five/index.d.ts +0 -1
  377. package/dist/shared-utils/five/mode.d.ts +0 -3
  378. package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
  379. package/dist/shared-utils/log.d.ts +0 -2
  380. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -169
  381. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -344
  382. package/docs/functions/Util.isAbsoluteURL.html +0 -79
  383. package/docs/functions/Util.isModelLike.html +0 -79
  384. package/docs/functions/Util.isPanoramaLike.html +0 -79
  385. package/docs/functions/Util.uuid.html +0 -76
  386. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -97
  387. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -258
  388. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -92
  389. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -87
  390. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -108
  391. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -85
  392. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -76
  393. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -71
  394. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -82
  395. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -99
  396. package/docs/interfaces/GuideLinePluginType.Route.html +0 -103
  397. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -92
  398. package/docs/modules/GuideLineItem.html +0 -53
  399. package/docs/modules/GuideLineModeItem.html +0 -53
  400. package/docs/modules/GuideLinePluginType.html +0 -99
  401. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -67
  402. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -65
  403. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -67
  404. package/docs/types/GuideLinePluginType.PathItem.html +0 -67
  405. package/docs/types/GuideLinePluginType.PluginData.html +0 -65
  406. package/libs/GuideLinePlugin/GuideLineItem/index.js +0 -35
  407. package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -26
  408. package/libs/GuideLinePlugin/GuideLineItem.js +0 -31
  409. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +0 -231
  410. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -64
  411. package/libs/GuideLinePlugin/GuideLineModeItem.js +0 -29
  412. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -19
  413. package/libs/GuideLinePlugin/utils/createLineGeometry.js +0 -35
  414. package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +0 -2
  415. package/libs/GuideLinePlugin/utils/dataFormatter.js +0 -6
  416. package/libs/GuideLinePlugin/utils/index.d.ts +0 -7
  417. package/libs/GuideLinePlugin/utils/index.js +0 -32
  418. package/libs/PanoTagPlugin/utils/model/imagePlane.d.ts +0 -9
  419. package/libs/PanoTagPlugin/utils/model/imagePlane.js +0 -33
  420. package/libs/shared-utils/five/index.d.ts +0 -1
  421. package/libs/shared-utils/five/index.js +0 -1
  422. package/libs/shared-utils/five/mode.d.ts +0 -3
  423. package/libs/shared-utils/five/mode.js +0 -11
  424. package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
  425. package/libs/shared-utils/isAbsoluteURL.js +0 -6
  426. package/libs/shared-utils/log.d.ts +0 -2
  427. package/libs/shared-utils/log.js +0 -10
@@ -1,79 +1,60 @@
1
- var l = Object.defineProperty, m = Object.defineProperties;
2
- var d = Object.getOwnPropertyDescriptors;
3
- var h = Object.getOwnPropertySymbols;
4
- var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var o = (i, e, t) => e in i ? l(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
1
+ var d = Object.defineProperty, u = Object.defineProperties;
2
+ var b = Object.getOwnPropertyDescriptors;
3
+ var o = Object.getOwnPropertySymbols;
4
+ var p = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
+ var n = (s, e, t) => e in s ? d(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, i = (s, e) => {
6
6
  for (var t in e || (e = {}))
7
- u.call(e, t) && o(i, t, e[t]);
8
- if (h)
9
- for (var t of h(e))
10
- b.call(e, t) && o(i, t, e[t]);
11
- return i;
12
- }, r = (i, e) => m(i, d(e));
13
- var a = (i, e, t) => (o(i, typeof e != "symbol" ? e + "" : e, t), t);
14
- import { Five as v } from "@realsee/five";
15
- import { Controller as c } from "../base/BasePlugin.js";
7
+ p.call(e, t) && n(s, t, e[t]);
8
+ if (o)
9
+ for (var t of o(e))
10
+ v.call(e, t) && n(s, t, e[t]);
11
+ return s;
12
+ }, a = (s, e) => u(s, b(e));
13
+ var r = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import { Five as c } from "@realsee/five";
15
+ import { Controller as f } from "../base/BasePlugin.js";
16
16
  import "../shared-utils/Subscribe.js";
17
- import "hammerjs";
18
- import "three";
19
- import "@tweenjs/tween.js";
20
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
22
- import "three/examples/jsm/renderers/CSS3DRenderer";
23
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
24
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
25
- import "../CSS3DRenderPlugin/utils/even.js";
26
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
27
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
28
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
29
- import "../shared-utils/three/centerPoint.js";
30
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
31
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
32
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
33
- import "../shared-utils/isAbsoluteURL.js";
34
- import "../shared-utils/animationFrame/BetterTween.js";
35
- import "../shared-utils/animationFrame/index.js";
36
- class K extends c {
17
+ class g extends f {
37
18
  constructor(t) {
38
19
  super(t);
39
- a(this, "state");
40
- a(this, "container");
41
- a(this, "enabled");
20
+ r(this, "state");
21
+ r(this, "container");
22
+ r(this, "enabled");
42
23
  this.five = t, this.five.once("dispose", this.dispose), this.enabled = !0, this.state = this.initState();
43
24
  }
44
25
  enable(t) {
45
- this.enabled = !0, this.updateState(r(s({}, t), { userAction: !0 }));
26
+ this.enabled = !0, this.updateState(a(i({}, t), { userAction: !0 }));
46
27
  }
47
28
  disable(t) {
48
- this.enabled = !1, this.updateState(r(s({}, t), { userAction: !0 }));
29
+ this.enabled = !1, this.updateState(a(i({}, t), { userAction: !0 }));
49
30
  }
50
31
  show(t) {
51
32
  if (!!this.state.enabled)
52
- return this.setState(r(s({}, this.state), { visible: !0 }), t), Promise.resolve();
33
+ return this.setState(a(i({}, this.state), { visible: !0 }), t), Promise.resolve();
53
34
  }
54
35
  hide(t) {
55
36
  if (!!this.state.enabled)
56
- return this.setState(r(s({}, this.state), { visible: !1 }), t), Promise.resolve();
37
+ return this.setState(a(i({}, this.state), { visible: !1 }), t), Promise.resolve();
57
38
  }
58
39
  dispose() {
59
40
  this.container.remove();
60
41
  }
61
- setState(t, n) {
42
+ setState(t, h) {
62
43
  if (!this.enabled)
63
44
  return;
64
- const p = s({}, this.state);
65
- this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(p, n);
45
+ const l = i({}, this.state);
46
+ this.state = i(i(i({}, this.state), t), h), this.stateChangedCallback(l, h);
66
47
  }
67
48
  get visible() {
68
- return this.five.state.mode === v.Mode.Panorama;
49
+ return this.five.state.mode === c.Mode.Panorama;
69
50
  }
70
51
  appendTo(t) {
71
52
  !this.enabled || (this.container = t, this.render());
72
53
  }
73
54
  updateState(t) {
74
- this.setState(r(s({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
55
+ this.setState(a(i({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
75
56
  }
76
57
  }
77
58
  export {
78
- K as BasePanoPluginController
59
+ g as BasePanoPluginController
79
60
  };
@@ -2,15 +2,15 @@ var $ = Object.defineProperty, B = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
4
  var G = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
5
- var T = (p, a, e) => a in p ? $(p, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[a] = e, H = (p, a) => {
5
+ var T = (v, a, e) => a in v ? $(v, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[a] = e, H = (v, a) => {
6
6
  for (var e in a || (a = {}))
7
- G.call(a, e) && T(p, e, a[e]);
7
+ G.call(a, e) && T(v, e, a[e]);
8
8
  if (C)
9
9
  for (var e of C(a))
10
- N.call(a, e) && T(p, e, a[e]);
11
- return p;
12
- }, W = (p, a) => B(p, U(a));
13
- var r = (p, a, e) => (T(p, typeof a != "symbol" ? a + "" : a, e), e);
10
+ N.call(a, e) && T(v, e, a[e]);
11
+ return v;
12
+ }, W = (v, a) => B(v, U(a));
13
+ var r = (v, a, e) => (T(v, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three";
15
15
  import { BasePanoPluginController as q } from "./BaseController.js";
16
16
  import X from "./DoorLabelItem.js";
@@ -18,28 +18,10 @@ import { getCameraToward as Y, isTwoRectOverlaped as Z, getDistance as J, getTow
18
18
  import "@realsee/five";
19
19
  import "../base/BasePlugin.js";
20
20
  import "../shared-utils/Subscribe.js";
21
- import "hammerjs";
22
- import "@tweenjs/tween.js";
23
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
24
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
25
- import "three/examples/jsm/renderers/CSS3DRenderer";
26
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
27
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
28
- import "../CSS3DRenderPlugin/utils/even.js";
29
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
30
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
31
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
32
- import "../shared-utils/three/centerPoint.js";
33
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
34
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
35
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
36
- import "../shared-utils/isAbsoluteURL.js";
37
- import "../shared-utils/animationFrame/BetterTween.js";
38
- import "../shared-utils/animationFrame/index.js";
39
21
  import "../vendor/svelte/internal/index.js";
40
22
  import "classnames";
41
23
  const ee = { userAction: !0 };
42
- class Oe extends q {
24
+ class fe extends q {
43
25
  constructor(e) {
44
26
  super(e);
45
27
  r(this, "MinVisibledistance", 1.8);
@@ -92,10 +74,10 @@ class Oe extends q {
92
74
  const i = s.position.clone(), t = i.distanceTo(l);
93
75
  if (t < this.MinVisibledistance || t > this.MaxVisibledistance)
94
76
  return;
95
- const c = new Q(), v = i.clone().sub(l).normalize();
96
- c.set(l, v);
97
- const [b] = this.five.model.intersectRaycaster(c);
98
- b && b.distance + 0.1 < t || o.push(f);
77
+ const c = new Q(), b = i.clone().sub(l).normalize();
78
+ c.set(l, b);
79
+ const [p] = this.five.model.intersectRaycaster(c);
80
+ p && p.distance + 0.1 < t || o.push(f);
99
81
  }), this.visibleLabelMap.set(e, o), o;
100
82
  }
101
83
  })();
@@ -104,7 +86,7 @@ class Oe extends q {
104
86
  }), this.fixDoorPosition();
105
87
  });
106
88
  r(this, "fixDoorPosition", () => {
107
- var i, t, c, v, b, y, g, w, L, E, _, S;
89
+ var i, t, c, b, p, y, g, w, L, E, _, S;
108
90
  const { panoIndex: e, camera: n } = this.five;
109
91
  if (e === null)
110
92
  return;
@@ -128,7 +110,7 @@ class Oe extends q {
128
110
  left: l * M / 100,
129
111
  top: h * k / 100,
130
112
  width: (c = (t = (i = I.children) == null ? void 0 : i[0]) == null ? void 0 : t.clientWidth) != null ? c : 0,
131
- height: (y = (b = (v = I.children) == null ? void 0 : v[0]) == null ? void 0 : b.clientHeight) != null ? y : 0
113
+ height: (y = (p = (b = I.children) == null ? void 0 : b[0]) == null ? void 0 : p.clientHeight) != null ? y : 0
132
114
  }, F = {
133
115
  left: l * O / 100,
134
116
  top: h * P / 100,
@@ -155,8 +137,8 @@ class Oe extends q {
155
137
  if (o > 0) {
156
138
  const i = new V(0, 0, -1), t = h.clone(), c = new j();
157
139
  c.setFromUnitVectors(i, t);
158
- const v = new z();
159
- v.setFromQuaternion(c, "YXZ"), s.longitude = v.y;
140
+ const b = new z();
141
+ b.setFromQuaternion(c, "YXZ"), s.longitude = b.y;
160
142
  }
161
143
  this.five.emit("wantsToMoveToPano", l, {}, !0) || this.five.moveToPano(l, { longitude: s.longitude });
162
144
  }
@@ -170,20 +152,20 @@ class Oe extends q {
170
152
  const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((i) => !!(i && i.name === h.name)), s = this.five.work.observers.filter((i, t) => !!h.observer_indexs.find((c) => c === t));
171
153
  o && o.forEach((i) => {
172
154
  const t = i.position;
173
- let c = 1 / 0, v;
155
+ let c = 1 / 0, b;
174
156
  s.forEach((y) => {
175
157
  const g = y.standingPosition, w = {
176
158
  x: g.x,
177
159
  y: g.y,
178
160
  z: g.z
179
161
  }, L = J(t, w);
180
- L < c && (c = L, v = w);
181
- }), v && (t.y = v.y + 0.01);
182
- const b = new V(t.x, t.y, t.z);
183
- b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, i.rad, 0))), this.doorLabels.push({
162
+ L < c && (c = L, b = w);
163
+ }), b && (t.y = b.y + 0.01);
164
+ const p = new V(t.x, t.y, t.z);
165
+ p.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, i.rad, 0))), this.doorLabels.push({
184
166
  roomName: h.name,
185
167
  name: i.name,
186
- position: b,
168
+ position: p,
187
169
  toward: K(i.rad)
188
170
  });
189
171
  });
@@ -238,5 +220,5 @@ class Oe extends q {
238
220
  }
239
221
  }
240
222
  export {
241
- Oe as PanoDoorLabelPluginController
223
+ fe as PanoDoorLabelPluginController
242
224
  };
@@ -4,30 +4,12 @@ import "./BaseController.js";
4
4
  import "@realsee/five";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
7
- import "hammerjs";
8
- import "@tweenjs/tween.js";
9
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
11
- import "three/examples/jsm/renderers/CSS3DRenderer";
12
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
14
- import "../CSS3DRenderPlugin/utils/even.js";
15
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
16
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
17
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
18
- import "../shared-utils/three/centerPoint.js";
19
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
20
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
21
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import "../shared-utils/isAbsoluteURL.js";
23
- import "../shared-utils/animationFrame/BetterTween.js";
24
- import "../shared-utils/animationFrame/index.js";
25
7
  import "./DoorLabelItem.js";
26
8
  import "../vendor/svelte/internal/index.js";
27
9
  import "classnames";
28
10
  import "./utils.js";
29
- const A = (o) => new r(o);
11
+ const b = (o) => new r(o);
30
12
  export {
31
- A as PanoDoorLabelPlugin,
32
- A as default
13
+ b as PanoDoorLabelPlugin,
14
+ b as default
33
15
  };
@@ -1,20 +1 @@
1
- import "@realsee/five";
2
- import "hammerjs";
3
- import "three";
4
- import "@tweenjs/tween.js";
5
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
6
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
7
- import "../../shared-utils/animationFrame/BetterTween.js";
8
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
9
- import "three/examples/jsm/renderers/CSS3DRenderer";
10
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
11
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
12
- import "../../CSS3DRenderPlugin/utils/even.js";
13
- import "../../shared-utils/Subscribe.js";
14
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
15
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
16
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
17
- import "../../shared-utils/three/centerPoint.js";
18
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
19
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
20
- import "../../shared-utils/animationFrame/index.js";
1
+
@@ -21,15 +21,10 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
23
23
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
- import "hammerjs";
25
- import "@tweenjs/tween.js";
26
- import "../shared-utils/isAbsoluteURL.js";
27
- import "../shared-utils/animationFrame/BetterTween.js";
28
- import "../shared-utils/animationFrame/index.js";
29
24
  import "../vendor/svelte/internal/index.js";
30
25
  import "./store.js";
31
26
  import "../vendor/svelte/store/index.js";
32
- const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", to = (n, s) => {
27
+ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Qe = (n, s) => {
33
28
  var k, z, q, B, G, J, K, Q;
34
29
  let j = s == null ? void 0 : s.container, y = 1.4;
35
30
  const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, f = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
@@ -266,6 +261,6 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
266
261
  };
267
262
  };
268
263
  export {
269
- to as PanoSpatialTagPlugin,
270
- to as default
264
+ Qe as PanoSpatialTagPlugin,
265
+ Qe as default
271
266
  };
@@ -1,5 +1,5 @@
1
1
  import "./Plugin.js";
2
- import { PanoSpatialTagPlugin as G, PanoSpatialTagPlugin as H } from "./Plugin.js";
2
+ import { PanoSpatialTagPlugin as B, PanoSpatialTagPlugin as C } from "./Plugin.js";
3
3
  import "three";
4
4
  import "@realsee/five";
5
5
  import "../CSS3DRenderPlugin/index.js";
@@ -19,11 +19,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
19
19
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
20
20
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
21
21
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import "hammerjs";
23
- import "@tweenjs/tween.js";
24
- import "../shared-utils/isAbsoluteURL.js";
25
- import "../shared-utils/animationFrame/BetterTween.js";
26
- import "../shared-utils/animationFrame/index.js";
27
22
  import "./Components/origins.js";
28
23
  import "../vendor/svelte/internal/index.js";
29
24
  import "./store.js";
@@ -32,6 +27,6 @@ import "./Components/tag.js";
32
27
  import "./style.js";
33
28
  import "../shared-utils/tinyEJSrender.js";
34
29
  export {
35
- G as PanoSpatialTagPlugin,
36
- H as default
30
+ B as PanoSpatialTagPlugin,
31
+ C as default
37
32
  };
@@ -31,6 +31,8 @@ import "three";
31
31
  import { noTypecheck as W } from "../../../utils/noTypecheck.js";
32
32
  import "@realsee/five/gltf-loader";
33
33
  import "../../../../shared-utils/three/loadTexture.js";
34
+ import "@realsee/five";
35
+ import "../../../../shared-utils/threex/domevents/index.js";
34
36
  import { getKeyframeInfo as se, getImageInfo as fe } from "../../../utils/getImageInfo.js";
35
37
  import g from "../../../utils/px2rem.js";
36
38
  import ce from "../Shadow.js";
@@ -329,11 +331,11 @@ function We(e, i, o) {
329
331
  l
330
332
  ];
331
333
  }
332
- class ze extends $ {
334
+ class Ee extends $ {
333
335
  constructor(i) {
334
336
  super(), x(this, i, We, ye, ee, { width: 1, icon: 12, shadow: 0 }, de);
335
337
  }
336
338
  }
337
339
  export {
338
- ze as default
340
+ Ee as default
339
341
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as U, insert as q, transition_in as c, transition_out as p, check_outros as D, detach as w, getContext as F, onMount as me, onDestroy as ue, element as G, attr as H, toggle_class as I, append as se, group_outros as M, add_render_callback as fe, create_in_transition as de, identity as J, create_out_transition as ce, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as _e } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as U, insert as D, transition_in as c, transition_out as p, check_outros as q, detach as w, getContext as F, onMount as me, onDestroy as se, element as G, attr as H, toggle_class as y, append as ue, group_outros as M, add_render_callback as fe, create_in_transition as de, identity as J, create_out_transition as ce, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as _e } from "../../../vendor/svelte/internal/index.js";
2
2
  import { Carousel as ge } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
3
3
  import { fly as K } from "../../../vendor/svelte/transition/index.js";
4
4
  import $ from "./MediaItem.js";
@@ -40,37 +40,37 @@ function P(t, i, l) {
40
40
  return n[25] = i[l], n[26] = i, n[27] = l, n;
41
41
  }
42
42
  function Q(t) {
43
- let i, l, n, e, u, r, a;
44
- const o = [he, be], s = [];
45
- function y(f, _) {
43
+ let i, l, n, e, s, r, a;
44
+ const o = [he, be], u = [];
45
+ function I(f, _) {
46
46
  return f[13] && f[10].length > 1 ? 0 : 1;
47
47
  }
48
- return n = y(t), e = s[n] = o[n](t), {
48
+ return n = I(t), e = u[n] = o[n](t), {
49
49
  c() {
50
- i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), I(l, "carouselEnabled", t[13]), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), I(i, "unfolded", t[5]);
50
+ i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), y(l, "carouselEnabled", t[13]), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), y(i, "unfolded", t[5]);
51
51
  },
52
52
  m(f, _) {
53
- q(f, i, _), se(i, l), s[n].m(l, null), a = !0;
53
+ D(f, i, _), ue(i, l), u[n].m(l, null), a = !0;
54
54
  },
55
55
  p(f, _) {
56
56
  t = f;
57
57
  let b = n;
58
- n = y(t), n === b ? s[n].p(t, _) : (M(), p(s[b], 1, 1, () => {
59
- s[b] = null;
60
- }), D(), e = s[n], e ? e.p(t, _) : (e = s[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _ & 8192) && I(l, "carouselEnabled", t[13]), (!a || _ & 32) && I(i, "unfolded", t[5]);
58
+ n = I(t), n === b ? u[n].p(t, _) : (M(), p(u[b], 1, 1, () => {
59
+ u[b] = null;
60
+ }), q(), e = u[n], e ? e.p(t, _) : (e = u[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _ & 8192) && y(l, "carouselEnabled", t[13]), (!a || _ & 32) && y(i, "unfolded", t[5]);
61
61
  },
62
62
  i(f) {
63
63
  a || (c(e), f && fe(() => {
64
- r && r.end(1), u = de(i, K, t[6] ? {
64
+ r && r.end(1), s = de(i, K, t[6] ? {
65
65
  y: 4,
66
66
  duration: t[4],
67
67
  delay: t[2],
68
68
  easing: J
69
- } : void 0), u.start();
69
+ } : void 0), s.start();
70
70
  }), a = !0);
71
71
  },
72
72
  o(f) {
73
- p(e), u && u.invalidate(), f && (r = ce(i, K, t[6] ? {
73
+ p(e), s && s.invalidate(), f && (r = ce(i, K, t[6] ? {
74
74
  y: 4,
75
75
  duration: t[4],
76
76
  delay: t[3],
@@ -78,7 +78,7 @@ function Q(t) {
78
78
  } : void 0)), a = !1;
79
79
  },
80
80
  d(f) {
81
- f && w(i), s[n].d(), f && r && r.end();
81
+ f && w(i), u[n].d(), f && r && r.end();
82
82
  }
83
83
  };
84
84
  }
@@ -89,13 +89,13 @@ function be(t) {
89
89
  t[7],
90
90
  { tag: t[0] }
91
91
  ];
92
- function u(a) {
92
+ function s(a) {
93
93
  t[20](a);
94
94
  }
95
95
  let r = {};
96
96
  for (let a = 0; a < e.length; a += 1)
97
97
  r = W(r, e[a]);
98
- return t[8][0] !== void 0 && (r.mediaInstance = t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", u)), {
98
+ return t[8][0] !== void 0 && (r.mediaInstance = t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
99
99
  c() {
100
100
  S(i.$$.fragment);
101
101
  },
@@ -103,12 +103,12 @@ function be(t) {
103
103
  N(i, a, o), n = !0;
104
104
  },
105
105
  p(a, o) {
106
- const s = o & 131 ? Y(e, [
106
+ const u = o & 131 ? Y(e, [
107
107
  o & 2 && { media: a[1][0] },
108
108
  o & 128 && Z(a[7]),
109
109
  o & 1 && { tag: a[0] }
110
110
  ]) : {};
111
- !l && o & 256 && (l = !0, s.mediaInstance = a[8][0], x(() => l = !1)), i.$set(s);
111
+ !l && o & 256 && (l = !0, u.mediaInstance = a[8][0], x(() => l = !1)), i.$set(u);
112
112
  },
113
113
  i(a) {
114
114
  n || (c(i.$$.fragment, a), n = !0);
@@ -125,19 +125,19 @@ function he(t) {
125
125
  let i, l, n = {
126
126
  dots: !1,
127
127
  arrows: !1,
128
- $$slots: { default: [ye] },
128
+ $$slots: { default: [Ie] },
129
129
  $$scope: { ctx: t }
130
130
  };
131
131
  return i = new ge({ props: n }), t[18](i), i.$on("pageChange", t[19]), {
132
132
  c() {
133
133
  S(i.$$.fragment);
134
134
  },
135
- m(e, u) {
136
- N(i, e, u), l = !0;
135
+ m(e, s) {
136
+ N(i, e, s), l = !0;
137
137
  },
138
- p(e, u) {
138
+ p(e, s) {
139
139
  const r = {};
140
- u & 268436865 && (r.$$scope = { dirty: u, ctx: e }), i.$set(r);
140
+ s & 268436865 && (r.$$scope = { dirty: s, ctx: e }), i.$set(r);
141
141
  },
142
142
  i(e) {
143
143
  l || (c(i.$$.fragment, e), l = !0);
@@ -157,13 +157,13 @@ function R(t) {
157
157
  { media: t[25] },
158
158
  { tag: t[0] }
159
159
  ];
160
- function u(a) {
160
+ function s(a) {
161
161
  t[17](a, t[27]);
162
162
  }
163
163
  let r = {};
164
164
  for (let a = 0; a < e.length; a += 1)
165
165
  r = W(r, e[a]);
166
- return t[8][t[27]] !== void 0 && (r.mediaInstance = t[8][t[27]]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", u)), {
166
+ return t[8][t[27]] !== void 0 && (r.mediaInstance = t[8][t[27]]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
167
167
  c() {
168
168
  S(i.$$.fragment);
169
169
  },
@@ -172,12 +172,12 @@ function R(t) {
172
172
  },
173
173
  p(a, o) {
174
174
  t = a;
175
- const s = o & 1153 ? Y(e, [
175
+ const u = o & 1153 ? Y(e, [
176
176
  o & 128 && Z(t[7]),
177
177
  o & 1024 && { media: t[25] },
178
178
  o & 1 && { tag: t[0] }
179
179
  ]) : {};
180
- !l && o & 256 && (l = !0, s.mediaInstance = t[8][t[27]], x(() => l = !1)), i.$set(s);
180
+ !l && o & 256 && (l = !0, u.mediaInstance = t[8][t[27]], x(() => l = !1)), i.$set(u);
181
181
  },
182
182
  i(a) {
183
183
  n || (c(i.$$.fragment, a), n = !0);
@@ -190,11 +190,11 @@ function R(t) {
190
190
  }
191
191
  };
192
192
  }
193
- function ye(t) {
193
+ function Ie(t) {
194
194
  let i, l, n = t[10], e = [];
195
195
  for (let r = 0; r < n.length; r += 1)
196
196
  e[r] = R(P(t, n, r));
197
- const u = (r) => p(e[r], 1, 1, () => {
197
+ const s = (r) => p(e[r], 1, 1, () => {
198
198
  e[r] = null;
199
199
  });
200
200
  return {
@@ -206,19 +206,19 @@ function ye(t) {
206
206
  m(r, a) {
207
207
  for (let o = 0; o < e.length; o += 1)
208
208
  e[o].m(r, a);
209
- q(r, i, a), l = !0;
209
+ D(r, i, a), l = !0;
210
210
  },
211
211
  p(r, a) {
212
212
  if (a & 1409) {
213
213
  n = r[10];
214
214
  let o;
215
215
  for (o = 0; o < n.length; o += 1) {
216
- const s = P(r, n, o);
217
- e[o] ? (e[o].p(s, a), c(e[o], 1)) : (e[o] = R(s), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
216
+ const u = P(r, n, o);
217
+ e[o] ? (e[o].p(u, a), c(e[o], 1)) : (e[o] = R(u), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
218
218
  }
219
219
  for (M(), o = n.length; o < e.length; o += 1)
220
- u(o);
221
- D();
220
+ s(o);
221
+ q();
222
222
  }
223
223
  },
224
224
  i(r) {
@@ -239,19 +239,19 @@ function ye(t) {
239
239
  }
240
240
  };
241
241
  }
242
- function Ie(t) {
242
+ function ye(t) {
243
243
  let i, l, n = t[5] && Q(t);
244
244
  return {
245
245
  c() {
246
246
  n && n.c(), i = U();
247
247
  },
248
- m(e, u) {
249
- n && n.m(e, u), q(e, i, u), l = !0;
248
+ m(e, s) {
249
+ n && n.m(e, s), D(e, i, s), l = !0;
250
250
  },
251
- p(e, [u]) {
252
- e[5] ? n ? (n.p(e, u), u & 32 && c(n, 1)) : (n = Q(e), n.c(), c(n, 1), n.m(i.parentNode, i)) : n && (M(), p(n, 1, 1, () => {
251
+ p(e, [s]) {
252
+ e[5] ? n ? (n.p(e, s), s & 32 && c(n, 1)) : (n = Q(e), n.c(), c(n, 1), n.m(i.parentNode, i)) : n && (M(), p(n, 1, 1, () => {
253
253
  n = null;
254
- }), D());
254
+ }), q());
255
255
  },
256
256
  i(e) {
257
257
  l || (c(n), l = !0);
@@ -265,7 +265,7 @@ function Ie(t) {
265
265
  };
266
266
  }
267
267
  function ke(t, i, l) {
268
- let n, e, u, r, { tag: a } = i, { mediaData: o } = i, { inDelay: s = 0 } = i, { outDelay: y = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = { autoplay: !0, autoplayVideo: !1 } } = i, g = [], v = 0, h, B = null;
268
+ let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = { autoplay: !0, autoplayVideo: !1 } } = i, g = [], v = 0, h, B = null;
269
269
  const O = F("hooks"), T = F("mediaStore");
270
270
  function V() {
271
271
  const m = g[v], d = m == null ? void 0 : m.videoInstance;
@@ -274,14 +274,14 @@ function ke(t, i, l) {
274
274
  me(() => {
275
275
  O.on("click", (m) => {
276
276
  var d, z, A;
277
- !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.domContainer) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && V();
277
+ !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && V();
278
278
  }), B = setInterval(
279
279
  () => {
280
280
  r && (h == null || h.goToNext());
281
281
  },
282
282
  3e3
283
283
  );
284
- }), ue(() => {
284
+ }), se(() => {
285
285
  clearInterval(B), O.off("click", V);
286
286
  });
287
287
  function ee(m, d) {
@@ -299,21 +299,21 @@ function ke(t, i, l) {
299
299
  t.$$.not_equal(g[0], m) && (g[0] = m, l(8, g));
300
300
  }
301
301
  return t.$$set = (m) => {
302
- "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, s = m.inDelay), "outDelay" in m && l(3, y = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
302
+ "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, u = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
303
303
  }, t.$$.update = () => {
304
- t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, u = o), t.$$.dirty & 67072 && (r = u.length > 1 && C.autoplay && n);
304
+ t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, s = o), t.$$.dirty & 67072 && (r = s.length > 1 && C.autoplay && n);
305
305
  }, [
306
306
  a,
307
307
  o,
308
- s,
309
- y,
308
+ u,
309
+ I,
310
310
  f,
311
311
  _,
312
312
  b,
313
313
  L,
314
314
  g,
315
315
  n,
316
- u,
316
+ s,
317
317
  v,
318
318
  h,
319
319
  e,
@@ -332,7 +332,7 @@ class it extends ae {
332
332
  this,
333
333
  i,
334
334
  ke,
335
- Ie,
335
+ ye,
336
336
  oe,
337
337
  {
338
338
  tag: 0,