@realsee/dnalogel 2.2.6 → 2.3.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 (377) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
  3. package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  5. package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  6. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  7. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  9. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  10. package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  11. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  12. package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  13. package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  14. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  15. package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
  16. package/dist/index.cjs.js +46 -46
  17. package/dist/index.js +4987 -4817
  18. package/dist/index.umd.js +39 -39
  19. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  20. package/docs/assets/highlight.css +7 -0
  21. package/docs/assets/main.js +1 -1
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +533 -0
  24. package/docs/classes/CruisePluginController.html +24 -24
  25. package/docs/classes/Magnifier.html +16 -16
  26. package/docs/classes/ModelRoomLabelController.html +11 -11
  27. package/docs/classes/Object3DHelperController.html +24 -24
  28. package/docs/classes/PaintBrush.html +15 -15
  29. package/docs/classes/PanoTagPluginController.html +39 -39
  30. package/docs/classes/Util.BetterTween.html +8 -8
  31. package/docs/classes/Util.FivePointSelector.html +12 -12
  32. package/docs/classes/Util.Interval.html +12 -12
  33. package/docs/classes/Util.Magnifier.html +17 -17
  34. package/docs/classes/Util.PointDomHelper.html +11 -11
  35. package/docs/classes/Util.PointHelper.html +11 -11
  36. package/docs/classes/Util.Rectangle.html +13 -13
  37. package/docs/enums/CameraMovementEffect.html +7 -7
  38. package/docs/enums/ContentType.html +12 -12
  39. package/docs/enums/DIRECTION.html +9 -9
  40. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/DimensionType.html +7 -7
  42. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  43. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  44. package/docs/enums/LinkType.html +7 -7
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/PointType.html +7 -7
  47. package/docs/enums/Rotation.html +8 -8
  48. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  49. package/docs/functions/CameraMovementPlugin.html +6 -5
  50. package/docs/functions/CruisePlugin.html +6 -5
  51. package/docs/functions/GuideLinePlugin.html +7 -6
  52. package/docs/functions/ItemLabelPlugin.html +6 -5
  53. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  54. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  56. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  57. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  58. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  59. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  60. package/docs/functions/ModelViewPlugin.html +6 -5
  61. package/docs/functions/Object3DHelperPlugin.html +6 -5
  62. package/docs/functions/PanoCompassPlugin.html +6 -5
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  64. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  66. package/docs/functions/PanoMeasurePlugin.html +6 -5
  67. package/docs/functions/PanoRulerPlugin.html +6 -5
  68. package/docs/functions/PanoRulerProPlugin.html +6 -5
  69. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  70. package/docs/functions/PanoTagPlugin.html +6 -5
  71. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +7 -6
  83. package/docs/index.html +6 -5
  84. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  85. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  86. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  87. package/docs/interfaces/ContentTypeMap.html +12 -12
  88. package/docs/interfaces/FloorplanBounding.html +8 -8
  89. package/docs/interfaces/FloorplanData.html +10 -10
  90. package/docs/interfaces/FloorplanEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  92. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  93. package/docs/interfaces/FloorplanFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanObserver.html +9 -9
  96. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanPosition.html +7 -7
  98. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  99. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  100. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  101. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  102. package/docs/interfaces/FloorplanServerData.html +7 -7
  103. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  104. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  105. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  106. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  107. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  109. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  110. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  111. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  112. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  113. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  114. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  115. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  116. package/docs/interfaces/LineJson.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  118. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  119. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  120. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  121. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  122. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  123. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  124. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  125. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  126. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  127. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  128. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  129. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  130. package/docs/interfaces/Object3DHelperState.html +8 -8
  131. package/docs/interfaces/OpenParameter.html +7 -7
  132. package/docs/interfaces/PaintBrushAction.html +12 -12
  133. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  134. package/docs/interfaces/PaintBrushState.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  136. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
  137. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  138. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  139. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  140. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  141. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  142. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  144. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  145. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
  146. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
  147. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  148. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  149. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  150. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  151. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  152. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  153. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  154. package/docs/interfaces/Point.html +8 -8
  155. package/docs/interfaces/PointJson.html +8 -8
  156. package/docs/interfaces/Room.html +9 -9
  157. package/docs/interfaces/RoomInfo.html +7 -7
  158. package/docs/interfaces/RoomLabel.html +14 -14
  159. package/docs/interfaces/RoomRules.html +7 -6
  160. package/docs/interfaces/Rooms.html +7 -6
  161. package/docs/interfaces/Scissor.html +9 -9
  162. package/docs/interfaces/TagConfig.html +10 -10
  163. package/docs/interfaces/Tags.html +9 -9
  164. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  165. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  166. package/docs/modules/Util.html +5 -5
  167. package/docs/modules.html +7 -5
  168. package/docs/types/ArrayPosition.html +7 -6
  169. package/docs/types/CSS3DRenderExportType.html +8 -7
  170. package/docs/types/CSS3DRenderPluginExportType.html +7 -6
  171. package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
  172. package/docs/types/Color.html +7 -6
  173. package/docs/types/ContentTypeConfigKey.html +7 -6
  174. package/docs/types/ContentTypeConfigKeyArray.html +7 -6
  175. package/docs/types/Create3DDomContainerReturnType.html +7 -6
  176. package/docs/types/Create3DElementReturnType.html +8 -7
  177. package/docs/types/CruisePluginExportType.html +7 -6
  178. package/docs/types/Direction-1.html +7 -6
  179. package/docs/types/Direction4.html +7 -6
  180. package/docs/types/FloorplanRuleLabels.html +7 -6
  181. package/docs/types/FloorplanServerRuleLabels.html +7 -6
  182. package/docs/types/GuideLinePluginExportType.html +7 -6
  183. package/docs/types/HelperEventMap.html +7 -6
  184. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
  185. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
  186. package/docs/types/MediaData.html +7 -6
  187. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
  188. package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
  189. package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
  190. package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
  191. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
  192. package/docs/types/MoveArgs.html +7 -6
  193. package/docs/types/MoveOpts.html +7 -6
  194. package/docs/types/Object3DHelperEventMap.html +7 -6
  195. package/docs/types/ObjectFit.html +7 -6
  196. package/docs/types/PaintBrushEventMap.html +7 -6
  197. package/docs/types/PanoCompassPluginData.html +7 -6
  198. package/docs/types/PanoCompassPluginExportType.html +7 -6
  199. package/docs/types/PanoCompassPluginParameterType.html +7 -6
  200. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
  201. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
  202. package/docs/types/PanoMeasurePluginEvent.html +7 -6
  203. package/docs/types/PanoMeasureReturnType.html +7 -6
  204. package/docs/types/PanoSpatialTagPluginId.html +7 -6
  205. package/docs/types/PanoTagPluginExportInterface.html +7 -6
  206. package/docs/types/PanoTagPluginParamsInterface.html +7 -6
  207. package/docs/types/PlaneTag.html +7 -6
  208. package/docs/types/PointTag.html +7 -6
  209. package/docs/types/Position.html +7 -6
  210. package/docs/types/RotateArgs.html +7 -6
  211. package/docs/types/RotateOpts.html +7 -6
  212. package/docs/types/RuleLabelsKey.html +7 -6
  213. package/docs/types/RuleLabelsValue.html +7 -6
  214. package/docs/types/Tag.html +7 -6
  215. package/docs/types/Tag2D.html +7 -6
  216. package/docs/types/Tag3D.html +7 -6
  217. package/docs/types/TagId.html +7 -6
  218. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
  219. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
  220. package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
  221. package/docs/variables/PLUGIN.html +7 -6
  222. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
  223. package/docs/variables/ROOM_TYPE_MAP.html +7 -6
  224. package/docs/variables/VERSION.html +7 -6
  225. package/docs/variables/itemLabelPluginServerParams.html +7 -6
  226. package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
  227. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
  228. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  229. package/libs/CSS3DRenderPlugin/CSS3DRender.js +198 -251
  230. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  231. package/libs/CSS3DRenderPlugin/Controller.js +63 -58
  232. package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
  233. package/libs/CSS3DRenderPlugin/index.js +21 -3
  234. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  235. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
  236. package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  237. package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  239. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
  240. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  241. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
  242. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  244. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
  245. package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
  247. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  248. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
  249. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  250. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
  251. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  252. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
  253. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  254. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  255. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  256. package/libs/CameraMovementPlugin/index.js +13 -0
  257. package/libs/CruisePlugin/Controller.js +65 -54
  258. package/libs/CruisePlugin/index.js +26 -3
  259. package/libs/CruisePlugin/typing.js +1 -0
  260. package/libs/GuideLinePlugin/Controller.js +14 -9
  261. package/libs/GuideLinePlugin/index.js +14 -3
  262. package/libs/GuideLinePlugin/typing.js +1 -0
  263. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  264. package/libs/ItemLabelPlugin/events.type.js +1 -0
  265. package/libs/ItemLabelPlugin/index.js +16 -2
  266. package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
  267. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  268. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
  269. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  270. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  271. package/libs/ModelItemLabelPlugin/index.js +12 -2
  272. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  273. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  274. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  275. package/libs/ModelTVVideoPlugin/Plugin.js +80 -62
  276. package/libs/ModelTVVideoPlugin/index.js +25 -0
  277. package/libs/ModelViewPlugin/Plugin.js +2 -1
  278. package/libs/ModelViewPlugin/index.js +6 -0
  279. package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
  280. package/libs/Object3DHelperPlugin/Controller.js +114 -73
  281. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  282. package/libs/Object3DHelperPlugin/index.js +48 -3
  283. package/libs/Object3DHelperPlugin/typings.js +1 -0
  284. package/libs/PanoCompassPlugin/Controller.js +60 -40
  285. package/libs/PanoCompassPlugin/index.js +31 -3
  286. package/libs/PanoCompassPlugin/typings.js +1 -0
  287. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  288. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  289. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  290. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  291. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  292. package/libs/PanoMeasurePlugin/index.js +56 -5
  293. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  294. package/libs/PanoRulerPlugin/index.js +9 -0
  295. package/libs/PanoRulerPlugin/style.js +1 -1
  296. package/libs/PanoRulerPlugin/typings.js +1 -0
  297. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  298. package/libs/PanoRulerProPlugin/index.js +16 -3
  299. package/libs/PanoRulerProPlugin/typings.js +1 -0
  300. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  301. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  302. package/libs/PanoSpatialTagPlugin/Plugin.js +91 -71
  303. package/libs/PanoSpatialTagPlugin/index.js +28 -0
  304. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  305. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  306. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  307. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  308. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  309. package/libs/PanoTagPlugin/Components/Common/Media.js +47 -55
  310. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  311. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  312. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -7
  313. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
  314. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  315. package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
  316. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  317. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
  318. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  319. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  320. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  321. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
  322. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  323. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
  324. package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
  325. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  326. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  327. package/libs/PanoTagPlugin/controller/index.js +2 -2
  328. package/libs/PanoTagPlugin/index.js +90 -3
  329. package/libs/PanoTagPlugin/tag.config.js +2 -1
  330. package/libs/floorplan/Components/BaseImage.js +7 -7
  331. package/libs/floorplan/Components/Camera.js +10 -10
  332. package/libs/floorplan/Components/Compass.js +1 -1
  333. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  334. package/libs/floorplan/Components/Main.js +80 -99
  335. package/libs/floorplan/Components/Normalmage.js +5 -5
  336. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  337. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  338. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
  339. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  340. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  341. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  342. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  343. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  344. package/libs/floorplan/Components/RuleLabels/RuleItem.js +6 -6
  345. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
  346. package/libs/floorplan/Components/SvgImage.js +12 -12
  347. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  348. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  349. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  350. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  351. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  352. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  353. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  354. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  355. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  356. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  357. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  358. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  359. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  360. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  361. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  362. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  363. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  364. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  365. package/libs/floorplan/typings/index.js +1 -0
  366. package/libs/index.js +123 -114
  367. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  368. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
  369. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  370. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  371. package/libs/shared-utils/three/index.js +2 -1
  372. package/package.json +31 -30
  373. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  374. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
  375. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  376. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
  377. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -1,139 +1,101 @@
1
- import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as u, transition_out as h, check_outros as z, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V, group_outros as A } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "../../vendor/svelte/internal/index.js";
2
2
  import "three";
3
3
  import { noTypecheck as C } from "../utils/noTypecheck.js";
4
4
  import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
5
- import Y from "./Tag/index.js";
6
- import Z from "./Common/Point/PointSwitch.js";
7
- import "./Tag/TextTag.js";
8
- import "./Common/Line/Straight.js";
9
- import "../../vendor/svelte/transition/index.js";
10
- import "../../vendor/svelte/easing/index.js";
11
- import "../../shared-utils/uuid.js";
12
- import "./Common/Shadow.js";
13
- import "./Common/MultiLineText.js";
14
- import "./Common/Text.js";
15
- import "animejs";
16
- import "../../shared-utils/isNil.js";
17
- import "../utils/search.js";
18
- import "../utils/constants.js";
19
- import "./Common/Arrow.js";
20
- import "../Assets/Icon.js";
21
- import "../utils/doUtil.js";
22
- import "./Tag/ImageTextTag.js";
23
- import "./Common/Line/Polyline.js";
24
- import "./Common/Media.js";
25
- import "../../vendor/swiper/svelte/swiper.js";
26
- import "swiper";
27
- import "../../vendor/swiper/components-shared/get-params.js";
28
- import "../../vendor/swiper/components-shared/utils.js";
29
- import "../../vendor/swiper/components-shared/params-list.js";
30
- import "../../vendor/swiper/components-shared/mount-swiper.js";
31
- import "../../vendor/swiper/components-shared/get-changed-params.js";
32
- import "../../vendor/swiper/components-shared/update-swiper.js";
33
- import "../../vendor/swiper/svelte/swiper-slide.js";
34
- import "swiper/css";
35
- import "swiper/css/autoplay";
36
- import "./Common/MediaItem.js";
37
- import "./Tag/MarketingTag.js";
38
- import "./Tag/AudioTag.js";
39
- import "./Common/Audio.js";
40
- import "./Tag/MediaPlane.js";
41
- import "./Tag/LinkTag.js";
42
- import "./Tag/CustomTag.js";
43
- import "./Common/Point/CustomPoint.js";
44
- import "./Common/Point/DefaultPoint.js";
45
- function x(e) {
46
- O(e, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
5
+ import { Tag as Y } from "./Tag/index.js";
6
+ import { PointSwitch as Z } from "./Common/Point/PointSwitch.js";
7
+ function x(t) {
8
+ O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
47
9
  }
48
- function I(e) {
49
- let t, n;
50
- return t = new Y({
10
+ function I(t) {
11
+ let e, o;
12
+ return e = new Y({
51
13
  props: {
52
- mediaStore: e[4],
53
- withAnimation: e[0],
54
- tag: C(e[1]),
55
- hooks: e[2],
56
- state: e[3],
57
- temporaryState: e[5]
14
+ mediaStore: t[4],
15
+ withAnimation: t[0],
16
+ tag: C(t[1]),
17
+ hooks: t[2],
18
+ state: t[3],
19
+ temporaryState: t[5]
58
20
  }
59
21
  }), {
60
22
  c() {
61
- E(t.$$.fragment);
23
+ E(e.$$.fragment);
62
24
  },
63
- m(r, m) {
64
- F(t, r, m), n = !0;
25
+ m(a, l) {
26
+ F(e, a, l), o = !0;
65
27
  },
66
- p(r, m) {
28
+ p(a, l) {
67
29
  const i = {};
68
- m & 16 && (i.mediaStore = r[4]), m & 1 && (i.withAnimation = r[0]), m & 2 && (i.tag = C(r[1])), m & 4 && (i.hooks = r[2]), m & 8 && (i.state = r[3]), m & 32 && (i.temporaryState = r[5]), t.$set(i);
30
+ l & 16 && (i.mediaStore = a[4]), l & 1 && (i.withAnimation = a[0]), l & 2 && (i.tag = C(a[1])), l & 4 && (i.hooks = a[2]), l & 8 && (i.state = a[3]), l & 32 && (i.temporaryState = a[5]), e.$set(i);
69
31
  },
70
- i(r) {
71
- n || (u(t.$$.fragment, r), n = !0);
32
+ i(a) {
33
+ o || (p(e.$$.fragment, a), o = !0);
72
34
  },
73
- o(r) {
74
- h(t.$$.fragment, r), n = !1;
35
+ o(a) {
36
+ h(e.$$.fragment, a), o = !1;
75
37
  },
76
- d(r) {
77
- G(t, r);
38
+ d(a) {
39
+ G(e, a);
78
40
  }
79
41
  };
80
42
  }
81
- function L(e) {
82
- let t, n, r, m, i;
83
- return n = new Z({ props: { tag: e[1] } }), {
43
+ function L(t) {
44
+ let e, o, a, l, i;
45
+ return o = new Z({ props: { tag: t[1] } }), {
84
46
  c() {
85
- t = W("div"), E(n.$$.fragment), T(t, "class", "point svelte-1vzhbu2");
47
+ e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
86
48
  },
87
- m(o, p) {
88
- j(o, t, p), F(n, t, null), r = !0, m || (i = U(t, "click", V(e[11])), m = !0);
49
+ m(n, m) {
50
+ j(n, e, m), F(o, e, null), a = !0, l || (i = U(e, "click", V(t[11])), l = !0);
89
51
  },
90
- p(o, p) {
91
- const s = {};
92
- p & 2 && (s.tag = o[1]), n.$set(s);
52
+ p(n, m) {
53
+ const u = {};
54
+ m & 2 && (u.tag = n[1]), o.$set(u);
93
55
  },
94
- i(o) {
95
- r || (u(n.$$.fragment, o), r = !0);
56
+ i(n) {
57
+ a || (p(o.$$.fragment, n), a = !0);
96
58
  },
97
- o(o) {
98
- h(n.$$.fragment, o), r = !1;
59
+ o(n) {
60
+ h(o.$$.fragment, n), a = !1;
99
61
  },
100
- d(o) {
101
- o && B(t), G(n), m = !1, i();
62
+ d(n) {
63
+ n && B(e), G(o), l = !1, i();
102
64
  }
103
65
  };
104
66
  }
105
- function $(e) {
106
- var p, s;
107
- let t, n, r, m, i = e[1].dimensionType === q.Two && I(e), o = e[1].pointType === D.PointTag && ((s = (p = e[1].style) == null ? void 0 : p.point) == null ? void 0 : s.style) !== "noPoint" && L(e);
67
+ function $(t) {
68
+ var m, u;
69
+ let e, o, a, l, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
108
70
  return {
109
71
  c() {
110
- t = W("div"), i && i.c(), n = Q(), o && o.c(), T(t, "class", "wrapper svelte-1vzhbu2"), T(t, "data-id", r = e[1].id), _(t, "hide", e[10]), _(t, "unfolded", e[6]), d(t, "left", e[9]), d(t, "top", e[8]), d(t, "z-index", e[7]);
72
+ e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9]), d(e, "top", t[8]), d(e, "z-index", t[7]);
111
73
  },
112
- m(a, l) {
113
- j(a, t, l), i && i.m(t, null), R(t, n), o && o.m(t, null), m = !0;
74
+ m(r, f) {
75
+ j(r, e, f), i && i.m(e, null), R(e, o), n && n.m(e, null), l = !0;
114
76
  },
115
- p(a, [l]) {
77
+ p(r, [f]) {
116
78
  var g, c;
117
- a[1].dimensionType === q.Two ? i ? (i.p(a, l), l & 2 && u(i, 1)) : (i = I(a), i.c(), u(i, 1), i.m(t, n)) : i && (A(), h(i, 1, 1, () => {
79
+ r[1].dimensionType === q.Two ? i ? (i.p(r, f), f & 2 && p(i, 1)) : (i = I(r), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
118
80
  i = null;
119
- }), z()), a[1].pointType === D.PointTag && ((c = (g = a[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? o ? (o.p(a, l), l & 2 && u(o, 1)) : (o = L(a), o.c(), u(o, 1), o.m(t, null)) : o && (A(), h(o, 1, 1, () => {
120
- o = null;
121
- }), z()), (!m || l & 2 && r !== (r = a[1].id)) && T(t, "data-id", r), (!m || l & 1024) && _(t, "hide", a[10]), (!m || l & 64) && _(t, "unfolded", a[6]), l & 512 && d(t, "left", a[9]), l & 256 && d(t, "top", a[8]), l & 128 && d(t, "z-index", a[7]);
81
+ }), A()), r[1].pointType === D.PointTag && ((c = (g = r[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(r, f), f & 2 && p(n, 1)) : (n = L(r), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
82
+ n = null;
83
+ }), A()), (!l || f & 2 && a !== (a = r[1].id)) && T(e, "data-id", a), (!l || f & 1024) && _(e, "hide", r[10]), (!l || f & 64) && _(e, "unfolded", r[6]), f & 512 && d(e, "left", r[9]), f & 256 && d(e, "top", r[8]), f & 128 && d(e, "z-index", r[7]);
122
84
  },
123
- i(a) {
124
- m || (u(i), u(o), m = !0);
85
+ i(r) {
86
+ l || (p(i), p(n), l = !0);
125
87
  },
126
- o(a) {
127
- h(i), h(o), m = !1;
88
+ o(r) {
89
+ h(i), h(n), l = !1;
128
90
  },
129
- d(a) {
130
- a && B(t), i && i.d(), o && o.d();
91
+ d(r) {
92
+ r && B(e), i && i.d(), n && n.d();
131
93
  }
132
94
  };
133
95
  }
134
- function tt(e, t, n) {
135
- let r, m, i, o, p, s, { withAnimation: a = !1 } = t, { tag: l } = t, { hooks: g } = t, { state: c } = t, { mediaStore: y } = t, { temporaryState: S } = t, k, w = !1;
136
- function H(f) {
96
+ function ee(t, e, o) {
97
+ let a, l, i, n, m, u, { withAnimation: r = !1 } = e, { tag: f } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
98
+ function H(s) {
137
99
  k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
138
100
  () => {
139
101
  w = !1;
@@ -141,36 +103,36 @@ function tt(e, t, n) {
141
103
  800
142
104
  );
143
105
  }
144
- const J = (f) => {
145
- w || g.emit("click", { event: f, target: "TagPoint", tag: l });
106
+ const J = (s) => {
107
+ w || g.emit("click", { event: s, target: "TagPoint", tag: f });
146
108
  };
147
- return e.$$set = (f) => {
148
- "withAnimation" in f && n(0, a = f.withAnimation), "tag" in f && n(1, l = f.tag), "hooks" in f && n(2, g = f.hooks), "state" in f && n(3, c = f.state), "mediaStore" in f && n(4, y = f.mediaStore), "temporaryState" in f && n(5, S = f.temporaryState);
149
- }, e.$$.update = () => {
150
- var f, b, v, P;
151
- e.$$.dirty & 2 && n(12, r = (f = l.state) == null ? void 0 : f.visible), e.$$.dirty & 4096 && n(10, m = !r), e.$$.dirty & 2 && n(6, i = (b = l.state) == null ? void 0 : b.unfolded), e.$$.dirty & 2 && n(9, o = ((v = l.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), e.$$.dirty & 2 && n(8, p = ((P = l.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), e.$$.dirty & 2 && n(7, s = l.contentType === X.Link ? 1 : 0), e.$$.dirty & 64 && H();
109
+ return t.$$set = (s) => {
110
+ "withAnimation" in s && o(0, r = s.withAnimation), "tag" in s && o(1, f = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
111
+ }, t.$$.update = () => {
112
+ var s, b, v, P;
113
+ t.$$.dirty & 2 && o(12, a = (s = f.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, l = !a), t.$$.dirty & 2 && o(6, i = (b = f.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = f.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = f.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = f.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
152
114
  }, [
153
- a,
154
- l,
115
+ r,
116
+ f,
155
117
  g,
156
118
  c,
157
119
  y,
158
120
  S,
159
121
  i,
160
- s,
161
- p,
162
- o,
122
+ u,
163
123
  m,
124
+ n,
125
+ l,
164
126
  J,
165
- r
127
+ a
166
128
  ];
167
129
  }
168
- class Qt extends K {
169
- constructor(t) {
130
+ class re extends K {
131
+ constructor(e) {
170
132
  super(), M(
171
133
  this,
172
- t,
173
- tt,
134
+ e,
135
+ ee,
174
136
  $,
175
137
  N,
176
138
  {
@@ -186,5 +148,5 @@ class Qt extends K {
186
148
  }
187
149
  }
188
150
  export {
189
- Qt as default
151
+ re as TagWrapper
190
152
  };
@@ -31,8 +31,8 @@ import { Subscribe as U } from "@realsee/five";
31
31
  import { Quaternion as k } from "three";
32
32
  import m from "object-assign-deep";
33
33
  import { writable as F } from "../../vendor/svelte/store/index.js";
34
- import L from "../Components/TagContainer.js";
35
- import B from "../Components/Tag/index.js";
34
+ import { TagContainer as L } from "../Components/TagContainer.js";
35
+ import { Tag as B } from "../Components/Tag/index.js";
36
36
  import { arrayPositionToVector3 as g } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
37
37
  import { addDebugPoints as O } from "../utils/addDebugPoints.js";
38
38
  import { planeNormal as I } from "../utils/planeNormal.js";
@@ -1,5 +1,92 @@
1
- import { PanoTagPluginController as r } from "./controller/index.js";
2
- const g = (o, n) => new r(o, n);
1
+ import { PanoTagPluginController as t } from "./controller/index.js";
2
+ import { PanoTagPluginController as Ao, pluginFlag as Bo } from "./controller/index.js";
3
+ import { ContentType as Go, DimensionType as Ho, LinkType as Io, PointType as Jo } from "./typings/tag.js";
4
+ import "@realsee/five";
5
+ import "three";
6
+ import "object-assign-deep";
7
+ import "../vendor/svelte/store/index.js";
8
+ import "../vendor/svelte/internal/index.js";
9
+ import "./Components/TagContainer.js";
10
+ import "./Components/TagWrapper.js";
11
+ import "./utils/noTypecheck.js";
12
+ import "./Components/Tag/index.js";
13
+ import "./Components/Tag/TextTag.js";
14
+ import "./Components/Common/Line/Straight.js";
15
+ import "../vendor/svelte/transition/index.js";
16
+ import "../vendor/svelte/easing/index.js";
17
+ import "../shared-utils/uuid.js";
18
+ import "./Components/Common/Shadow.js";
19
+ import "./Components/Common/MultiLineText.js";
20
+ import "./Components/Common/Text.js";
21
+ import "animejs";
22
+ import "../shared-utils/isNil.js";
23
+ import "./utils/search.js";
24
+ import "./utils/constants.js";
25
+ import "./Components/Common/Arrow.js";
26
+ import "./Assets/Icon.js";
27
+ import "./utils/doUtil.js";
28
+ import "./Components/Tag/ImageTextTag.js";
29
+ import "./Components/Common/Line/Polyline.js";
30
+ import "./Components/Common/Media.js";
31
+ import "../vendor/swiper/svelte/swiper.js";
32
+ import "swiper";
33
+ import "../vendor/swiper/components-shared/get-params.js";
34
+ import "../vendor/swiper/components-shared/utils.js";
35
+ import "../vendor/swiper/components-shared/params-list.js";
36
+ import "../vendor/swiper/components-shared/mount-swiper.js";
37
+ import "../vendor/swiper/components-shared/get-changed-params.js";
38
+ import "../vendor/swiper/components-shared/update-swiper.js";
39
+ import "../vendor/swiper/svelte/swiper-slide.js";
40
+ import "swiper/css";
41
+ import "swiper/css/autoplay";
42
+ import "./Components/Common/MediaItem.js";
43
+ import "./Components/Tag/MarketingTag.js";
44
+ import "./Components/Tag/AudioTag.js";
45
+ import "./Components/Common/Audio.js";
46
+ import "./Components/Tag/MediaPlane.js";
47
+ import "./Components/Tag/LinkTag.js";
48
+ import "./Components/Tag/CustomTag.js";
49
+ import "./Components/Common/Point/PointSwitch.js";
50
+ import "./Components/Common/Point/CustomPoint.js";
51
+ import "./Components/Common/Point/DefaultPoint.js";
52
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
53
+ import "./utils/addDebugPoints.js";
54
+ import "./utils/planeNormal.js";
55
+ import "./utils/actionAfterFiveModelLoad.js";
56
+ import "./utils/normalPositionToPositions.js";
57
+ import "./utils/debounce.js";
58
+ import "./utils/throttle.js";
59
+ import "./utils/resizeObserver.js";
60
+ import "./controller/TagComputer.js";
61
+ import "./tag.config.js";
62
+ import "./utils/tagPosition.js";
63
+ import "../CSS3DRenderPlugin/utils/centerPoint.js";
64
+ import "./utils/checkRange.js";
65
+ import "./controller/TagCacheController.js";
66
+ import "../base/BasePlugin.js";
67
+ import "../shared-utils/Subscribe.js";
68
+ import "../CSS3DRenderPlugin/index.js";
69
+ import "../CSS3DRenderPlugin/Controller.js";
70
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
71
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
72
+ import "three/examples/jsm/renderers/CSS3DRenderer";
73
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
74
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
75
+ import "../CSS3DRenderPlugin/utils/even.js";
76
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
77
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
78
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
79
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
80
+ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
81
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
82
+ const qo = (o, r) => new t(o, r);
3
83
  export {
4
- g as PanoTagPlugin
84
+ Go as ContentType,
85
+ Ho as DimensionType,
86
+ Io as LinkType,
87
+ qo as PanoTagPlugin,
88
+ Ao as PanoTagPluginController,
89
+ Jo as PointType,
90
+ qo as default,
91
+ Bo as pluginFlag
5
92
  };
@@ -39,5 +39,6 @@ const n = {
39
39
  }
40
40
  };
41
41
  export {
42
- n as DefaultConfig
42
+ n as DefaultConfig,
43
+ n as default
43
44
  };
@@ -1,6 +1,6 @@
1
- import { SvelteComponent as d, init as b, safe_not_equal as v, append_styles as k, element as h, attr as y, insert as I, transition_out as u, check_outros as D, transition_in as c, detach as x, group_outros as z, create_component as _, mount_component as g, destroy_component as p } from "../../vendor/svelte/internal/index.js";
2
- import w from "./Normalmage.js";
3
- import C from "./SvgImage.js";
1
+ import { SvelteComponent as d, init as b, safe_not_equal as v, append_styles as k, element as h, attr as y, insert as I, group_outros as D, transition_out as u, check_outros as x, transition_in as c, detach as z, create_component as _, mount_component as g, destroy_component as p } from "../../vendor/svelte/internal/index.js";
2
+ import { Normalmage as w } from "./Normalmage.js";
3
+ import { SvgImage as C } from "./SvgImage.js";
4
4
  function S(l) {
5
5
  k(l, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
6
6
  }
@@ -69,9 +69,9 @@ function B(l) {
69
69
  },
70
70
  p(o, [s]) {
71
71
  let m = t;
72
- t = f(o), t === m ? ~t && a[t].p(o, s) : (e && (z(), u(a[m], 1, 1, () => {
72
+ t = f(o), t === m ? ~t && a[t].p(o, s) : (e && (D(), u(a[m], 1, 1, () => {
73
73
  a[m] = null;
74
- }), D()), ~t ? (e = a[t], e ? e.p(o, s) : (e = a[t] = i[t](o), e.c()), c(e, 1), e.m(n, null)) : e = null);
74
+ }), x()), ~t ? (e = a[t], e ? e.p(o, s) : (e = a[t] = i[t](o), e.c()), c(e, 1), e.m(n, null)) : e = null);
75
75
  },
76
76
  i(o) {
77
77
  r || (c(e), r = !0);
@@ -80,7 +80,7 @@ function B(l) {
80
80
  u(e), r = !1;
81
81
  },
82
82
  d(o) {
83
- o && x(n), ~t && a[t].d();
83
+ o && z(n), ~t && a[t].d();
84
84
  }
85
85
  };
86
86
  }
@@ -99,5 +99,5 @@ class F extends d {
99
99
  }
100
100
  }
101
101
  export {
102
- F as default
102
+ F as BaseImage
103
103
  };
@@ -10,11 +10,11 @@ function w(t) {
10
10
  c() {
11
11
  o = c("div"), e = c("div"), d(e, "class", "floorplan__camera-rotate svelte-17cl35n"), a(e, "background-image", `url(${t[0] || g})`), a(e, "width", t[4]), a(e, "height", t[4]), a(e, "left", "-" + t[4]), a(e, "top", "-" + t[4]), a(e, "transform", `rotate(${t[3]}deg)`), a(e, "transform-origin", `${t[4]} ${t[4]}`), d(o, "class", "floorplan__camera-position svelte-17cl35n"), a(o, "left", t[1]), a(o, "top", t[2]);
12
12
  },
13
- m(n, l) {
14
- U(n, o, l), A(o, e);
13
+ m(n, r) {
14
+ U(n, o, r), A(o, e);
15
15
  },
16
- p(n, [l]) {
17
- l & 1 && a(e, "background-image", `url(${n[0] || g})`);
16
+ p(n, [r]) {
17
+ r & 1 && a(e, "background-image", `url(${n[0] || g})`);
18
18
  },
19
19
  i: f,
20
20
  o: f,
@@ -24,10 +24,10 @@ function w(t) {
24
24
  };
25
25
  }
26
26
  function E(t, o, e) {
27
- let { panoIndex: n } = o, { floorplanData: l } = o, { lastPanoramaLongitude: r } = o, { cameraImageUrl: s } = o;
28
- const { observers: u } = l, m = u[n], p = m.positionInImage.x, _ = m.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(r) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
27
+ let { panoIndex: n } = o, { floorplanData: r } = o, { lastPanoramaLongitude: l } = o, { cameraImageUrl: s } = o;
28
+ const { observers: u } = r, m = u[n], p = m.positionInImage.x, _ = m.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(l) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
29
29
  return t.$$set = (i) => {
30
- "panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6, l = i.floorplanData), "lastPanoramaLongitude" in i && e(7, r = i.lastPanoramaLongitude), "cameraImageUrl" in i && e(0, s = i.cameraImageUrl);
30
+ "panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6, r = i.floorplanData), "lastPanoramaLongitude" in i && e(7, l = i.lastPanoramaLongitude), "cameraImageUrl" in i && e(0, s = i.cameraImageUrl);
31
31
  }, [
32
32
  s,
33
33
  I,
@@ -35,8 +35,8 @@ function E(t, o, e) {
35
35
  h,
36
36
  D,
37
37
  n,
38
- l,
39
- r
38
+ r,
39
+ l
40
40
  ];
41
41
  }
42
42
  class G extends L {
@@ -58,5 +58,5 @@ class G extends L {
58
58
  }
59
59
  }
60
60
  export {
61
- G as default
61
+ G as Camera
62
62
  };
@@ -56,5 +56,5 @@ class q extends k {
56
56
  }
57
57
  }
58
58
  export {
59
- q as default
59
+ q as Compass
60
60
  };