@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,36 +1,36 @@
1
- import { SvelteComponent as j, init as k, safe_not_equal as $, append_styles as w, element as h, attr as _, insert as b, update_keyed_each as y, noop as u, detach as v, space as I, set_style as r, append as g, destroy_block as z } from "../../../../vendor/svelte/internal/index.js";
2
- function x(a) {
3
- w(a, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
1
+ import { SvelteComponent as j, init as k, safe_not_equal as $, append_styles as w, element as h, attr as _, insert as b, update_keyed_each as y, destroy_block as I, noop as u, detach as v, space as z, set_style as r, append as g } from "../../../../vendor/svelte/internal/index.js";
2
+ function x(s) {
3
+ w(s, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
4
4
  }
5
- function d(a, t, e) {
6
- const l = a.slice();
5
+ function d(s, t, e) {
6
+ const l = s.slice();
7
7
  return l[1] = t[e], l;
8
8
  }
9
- function m(a, t) {
10
- let e, l, n = `${t[1].icon.width / 16}rem`, c = `${t[1].icon.height / 16}rem`, i, o = `${t[1].positionInImage.y * 100}%`, s = `${t[1].positionInImage.x * 100}%`;
9
+ function m(s, t) {
10
+ let e, l, n = `${t[1].icon.width / 16}rem`, c = `${t[1].icon.height / 16}rem`, i, o = `${t[1].positionInImage.y * 100}%`, a = `${t[1].positionInImage.x * 100}%`;
11
11
  return {
12
- key: a,
12
+ key: s,
13
13
  first: null,
14
14
  c() {
15
- e = h("div"), l = h("div"), i = I(), _(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${t[1].icon.url})`), r(l, "width", n), r(l, "height", c), _(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", o), r(e, "left", s), this.first = e;
15
+ e = h("div"), l = h("div"), i = z(), _(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${t[1].icon.url})`), r(l, "width", n), r(l, "height", c), _(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", o), r(e, "left", a), this.first = e;
16
16
  },
17
17
  m(f, p) {
18
18
  b(f, e, p), g(e, l), g(e, i);
19
19
  },
20
20
  p(f, p) {
21
- t = f, p & 1 && r(l, "background-image", `url(${t[1].icon.url})`), p & 1 && n !== (n = `${t[1].icon.width / 16}rem`) && r(l, "width", n), p & 1 && c !== (c = `${t[1].icon.height / 16}rem`) && r(l, "height", c), p & 1 && o !== (o = `${t[1].positionInImage.y * 100}%`) && r(e, "top", o), p & 1 && s !== (s = `${t[1].positionInImage.x * 100}%`) && r(e, "left", s);
21
+ t = f, p & 1 && r(l, "background-image", `url(${t[1].icon.url})`), p & 1 && n !== (n = `${t[1].icon.width / 16}rem`) && r(l, "width", n), p & 1 && c !== (c = `${t[1].icon.height / 16}rem`) && r(l, "height", c), p & 1 && o !== (o = `${t[1].positionInImage.y * 100}%`) && r(e, "top", o), p & 1 && a !== (a = `${t[1].positionInImage.x * 100}%`) && r(e, "left", a);
22
22
  },
23
23
  d(f) {
24
24
  f && v(e);
25
25
  }
26
26
  };
27
27
  }
28
- function O(a) {
29
- let t, e = [], l = /* @__PURE__ */ new Map(), n = a[0];
28
+ function O(s) {
29
+ let t, e = [], l = /* @__PURE__ */ new Map(), n = s[0];
30
30
  const c = (i) => i[1].id;
31
31
  for (let i = 0; i < n.length; i += 1) {
32
- let o = d(a, n, i), s = c(o);
33
- l.set(s, e[i] = m(s, o));
32
+ let o = d(s, n, i), a = c(o);
33
+ l.set(a, e[i] = m(a, o));
34
34
  }
35
35
  return {
36
36
  c() {
@@ -41,11 +41,11 @@ function O(a) {
41
41
  },
42
42
  m(i, o) {
43
43
  b(i, t, o);
44
- for (let s = 0; s < e.length; s += 1)
45
- e[s].m(t, null);
44
+ for (let a = 0; a < e.length; a += 1)
45
+ e[a].m(t, null);
46
46
  },
47
47
  p(i, [o]) {
48
- o & 1 && (n = i[0], e = y(e, o, c, 1, i, n, l, t, z, m, null, d));
48
+ o & 1 && (n = i[0], e = y(e, o, c, 1, i, n, l, t, I, m, null, d));
49
49
  },
50
50
  i: u,
51
51
  o: u,
@@ -56,9 +56,9 @@ function O(a) {
56
56
  }
57
57
  };
58
58
  }
59
- function q(a, t, e) {
59
+ function q(s, t, e) {
60
60
  let { extraObjects: l = [] } = t;
61
- return a.$$set = (n) => {
61
+ return s.$$set = (n) => {
62
62
  "extraObjects" in n && e(0, l = n.extraObjects);
63
63
  }, [l];
64
64
  }
@@ -68,5 +68,5 @@ class E extends j {
68
68
  }
69
69
  }
70
70
  export {
71
- E as default
71
+ E as ExtraObjects
72
72
  };
@@ -1,46 +1,37 @@
1
- import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as L, empty as Q, insert as y, transition_in as u, transition_out as h, check_outros as M, detach as k, onMount as R, element as F, attr as N, add_render_callback as T, add_resize_listener as V, group_outros as P, assign as O, create_component as U, space as X, set_style as q, mount_component as C, append as Y, get_spread_update as H, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
- import Z from "./Camera.js";
3
- import x from "./CurrentFloor/CurrentFloor.js";
4
- import "../../Assets/camera.js";
5
- import "../../../shared-utils/throttle.js";
6
- import "./CurrentFloor/ExtraObjects.js";
7
- import "../../Components/BaseImage.js";
8
- import "../../Components/Normalmage.js";
9
- import "../../Components/SvgImage.js";
10
- import "../../Components/RoomHighlight/RoomHighlight.js";
11
- import "../../Components/RoomHighlight/Room.js";
12
- import "../../utils/formatPosition.js";
1
+ import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as L, empty as Q, insert as y, transition_in as c, transition_out as g, check_outros as M, detach as k, onMount as R, element as F, attr as N, add_render_callback as T, add_resize_listener as V, group_outros as P, assign as O, create_component as U, space as X, set_style as q, mount_component as C, append as Y, get_spread_update as H, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
+ import { Camera as Z } from "./Camera.js";
3
+ import { CurrentFloor as x } from "./CurrentFloor/CurrentFloor.js";
13
4
  function $(o) {
14
5
  L(o, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
15
6
  }
16
7
  function W(o) {
17
- let t, l, n, e = o[6] !== 0 && A(o);
8
+ let n, l, r, e = o[6] !== 0 && A(o);
18
9
  return {
19
10
  c() {
20
- t = F("div"), e && e.c(), N(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), T(() => o[12].call(t));
11
+ n = F("div"), e && e.c(), N(n, "class", "plugin-floorplan-radar svelte-1mvqyqq"), T(() => o[12].call(n));
21
12
  },
22
13
  m(i, f) {
23
- y(i, t, f), e && e.m(t, null), l = V(t, o[12].bind(t)), n = !0;
14
+ y(i, n, f), e && e.m(n, null), l = V(n, o[12].bind(n)), r = !0;
24
15
  },
25
16
  p(i, f) {
26
- i[6] !== 0 ? e ? (e.p(i, f), f & 64 && u(e, 1)) : (e = A(i), e.c(), u(e, 1), e.m(t, null)) : e && (P(), h(e, 1, 1, () => {
17
+ i[6] !== 0 ? e ? (e.p(i, f), f & 64 && c(e, 1)) : (e = A(i), e.c(), c(e, 1), e.m(n, null)) : e && (P(), g(e, 1, 1, () => {
27
18
  e = null;
28
19
  }), M());
29
20
  },
30
21
  i(i) {
31
- n || (u(e), n = !0);
22
+ r || (c(e), r = !0);
32
23
  },
33
24
  o(i) {
34
- h(e), n = !1;
25
+ g(e), r = !1;
35
26
  },
36
27
  d(i) {
37
- i && k(t), e && e.d(), l();
28
+ i && k(n), e && e.d(), l();
38
29
  }
39
30
  };
40
31
  }
41
32
  function A(o) {
42
- let t, l, n, e, i = `${o[8]}px`, f = `${o[11]}px`, c;
43
- const d = [
33
+ let n, l, r, e, i = `${o[8]}px`, f = `${o[11]}px`, u;
34
+ const _ = [
44
35
  {
45
36
  five: o[0],
46
37
  pxmm: o[9],
@@ -50,11 +41,11 @@ function A(o) {
50
41
  extraObjects: o[5]
51
42
  }
52
43
  ];
53
- let p = {};
54
- for (let r = 0; r < d.length; r += 1)
55
- p = O(p, d[r]);
56
- l = new x({ props: p });
57
- const _ = [
44
+ let d = {};
45
+ for (let t = 0; t < _.length; t += 1)
46
+ d = O(d, _[t]);
47
+ l = new x({ props: d });
48
+ const h = [
58
49
  {
59
50
  pxmm: o[9],
60
51
  five: o[0],
@@ -62,117 +53,117 @@ function A(o) {
62
53
  cameraImageUrl: o[4]
63
54
  }
64
55
  ];
65
- let s = {};
66
- for (let r = 0; r < _.length; r += 1)
67
- s = O(s, _[r]);
68
- return e = new Z({ props: s }), {
56
+ let m = {};
57
+ for (let t = 0; t < h.length; t += 1)
58
+ m = O(m, h[t]);
59
+ return e = new Z({ props: m }), {
69
60
  c() {
70
- t = F("div"), U(l.$$.fragment), n = X(), U(e.$$.fragment), N(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i), q(t, "height", f);
61
+ n = F("div"), U(l.$$.fragment), r = X(), U(e.$$.fragment), N(n, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(n, "width", i), q(n, "height", f);
71
62
  },
72
- m(r, m) {
73
- y(r, t, m), C(l, t, null), Y(t, n), C(e, t, null), c = !0;
63
+ m(t, s) {
64
+ y(t, n, s), C(l, n, null), Y(n, r), C(e, n, null), u = !0;
74
65
  },
75
- p(r, m) {
76
- const g = m & 1581 ? H(d, [
66
+ p(t, s) {
67
+ const p = s & 1581 ? H(_, [
77
68
  {
78
- five: r[0],
79
- pxmm: r[9],
80
- floorIndex: r[10],
81
- floorplanData: r[3],
82
- hoverEnable: r[2],
83
- extraObjects: r[5]
69
+ five: t[0],
70
+ pxmm: t[9],
71
+ floorIndex: t[10],
72
+ floorplanData: t[3],
73
+ hoverEnable: t[2],
74
+ extraObjects: t[5]
84
75
  }
85
76
  ]) : {};
86
- l.$set(g);
87
- const v = m & 537 ? H(_, [
77
+ l.$set(p);
78
+ const v = s & 537 ? H(h, [
88
79
  {
89
- pxmm: r[9],
90
- five: r[0],
91
- floorplanData: r[3],
92
- cameraImageUrl: r[4]
80
+ pxmm: t[9],
81
+ five: t[0],
82
+ floorplanData: t[3],
83
+ cameraImageUrl: t[4]
93
84
  }
94
85
  ]) : {};
95
- e.$set(v), m & 256 && i !== (i = `${r[8]}px`) && q(t, "width", i), m & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f);
86
+ e.$set(v), s & 256 && i !== (i = `${t[8]}px`) && q(n, "width", i), s & 2048 && f !== (f = `${t[11]}px`) && q(n, "height", f);
96
87
  },
97
- i(r) {
98
- c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
88
+ i(t) {
89
+ u || (c(l.$$.fragment, t), c(e.$$.fragment, t), u = !0);
99
90
  },
100
- o(r) {
101
- h(l.$$.fragment, r), h(e.$$.fragment, r), c = !1;
91
+ o(t) {
92
+ g(l.$$.fragment, t), g(e.$$.fragment, t), u = !1;
102
93
  },
103
- d(r) {
104
- r && k(t), S(l), S(e);
94
+ d(t) {
95
+ t && k(n), S(l), S(e);
105
96
  }
106
97
  };
107
98
  }
108
99
  function ee(o) {
109
- let t, l, n = o[1] && W(o);
100
+ let n, l, r = o[1] && W(o);
110
101
  return {
111
102
  c() {
112
- n && n.c(), t = Q();
103
+ r && r.c(), n = Q();
113
104
  },
114
105
  m(e, i) {
115
- n && n.m(e, i), y(e, t, i), l = !0;
106
+ r && r.m(e, i), y(e, n, i), l = !0;
116
107
  },
117
108
  p(e, [i]) {
118
- e[1] ? n ? (n.p(e, i), i & 2 && u(n, 1)) : (n = W(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (P(), h(n, 1, 1, () => {
119
- n = null;
109
+ e[1] ? r ? (r.p(e, i), i & 2 && c(r, 1)) : (r = W(e), r.c(), c(r, 1), r.m(n.parentNode, n)) : r && (P(), g(r, 1, 1, () => {
110
+ r = null;
120
111
  }), M());
121
112
  },
122
113
  i(e) {
123
- l || (u(n), l = !0);
114
+ l || (c(r), l = !0);
124
115
  },
125
116
  o(e) {
126
- h(n), l = !1;
117
+ g(r), l = !1;
127
118
  },
128
119
  d(e) {
129
- n && n.d(e), e && k(t);
120
+ r && r.d(e), e && k(n);
130
121
  }
131
122
  };
132
123
  }
133
- function te(o, t, l) {
124
+ function ne(o, n, l) {
134
125
  var w, D;
135
- let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: d = [] } = t, p = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, s = 0, r = 0, m = 0, g = 0;
126
+ let { five: r } = n, { visible: e } = n, { hoverEnable: i } = n, { floorplanData: f } = n, { cameraImageUrl: u } = n, { extraObjects: _ = [] } = n, d = 0, h = (D = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, m = 0, t = 0, s = 0, p = 0;
136
127
  function v(a) {
137
- l(10, _ = n.work.observers[a].floorIndex);
128
+ l(10, h = r.work.observers[a].floorIndex);
138
129
  }
139
- R(() => (n.on("panoArrived", v), () => {
140
- n.off("panoArrived", v);
130
+ R(() => (r.on("panoArrived", v), () => {
131
+ r.off("panoArrived", v);
141
132
  }));
142
133
  function B() {
143
- s = this.clientWidth, r = this.clientHeight, l(6, s), l(7, r);
134
+ m = this.clientWidth, t = this.clientHeight, l(6, m), l(7, t);
144
135
  }
145
136
  return o.$$set = (a) => {
146
- "five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, i = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, c = a.cameraImageUrl), "extraObjects" in a && l(5, d = a.extraObjects);
137
+ "five" in a && l(0, r = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, i = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, u = a.cameraImageUrl), "extraObjects" in a && l(5, _ = a.extraObjects);
147
138
  }, o.$$.update = () => {
148
139
  if (o.$$.dirty & 456) {
149
- const a = Math.min(s, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
140
+ const a = Math.min(m, t), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
150
141
  return b > I ? [a, a / b * I] : [a / I * b, a];
151
142
  }();
152
- l(8, m = E[0]), l(11, g = E[1]), l(9, p = m / b);
143
+ l(8, s = E[0]), l(11, p = E[1]), l(9, d = s / b);
153
144
  }
154
145
  }, [
155
- n,
146
+ r,
156
147
  e,
157
148
  i,
158
149
  f,
159
- c,
160
- d,
161
- s,
162
- r,
150
+ u,
151
+ _,
163
152
  m,
153
+ t,
154
+ s,
155
+ d,
156
+ h,
164
157
  p,
165
- _,
166
- g,
167
158
  B
168
159
  ];
169
160
  }
170
- class _e extends G {
171
- constructor(t) {
161
+ class ie extends G {
162
+ constructor(n) {
172
163
  super(), J(
173
164
  this,
174
- t,
175
- te,
165
+ n,
166
+ ne,
176
167
  ee,
177
168
  K,
178
169
  {
@@ -188,5 +179,5 @@ class _e extends G {
188
179
  }
189
180
  }
190
181
  export {
191
- _e as default
182
+ ie as Main
192
183
  };
@@ -1,38 +1,53 @@
1
1
  var v = Object.defineProperty, A = Object.defineProperties;
2
- var S = Object.getOwnPropertyDescriptors;
2
+ var m = Object.getOwnPropertyDescriptors;
3
3
  var f = Object.getOwnPropertySymbols;
4
- var g = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var l = (r, i, t) => i in r ? v(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, u = (r, i) => {
4
+ var S = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
5
+ var l = (r, i, t) => i in r ? v(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
6
6
  for (var t in i || (i = {}))
7
- g.call(i, t) && l(r, t, i[t]);
7
+ S.call(i, t) && l(r, t, i[t]);
8
8
  if (f)
9
9
  for (var t of f(i))
10
- _.call(i, t) && l(r, t, i[t]);
10
+ g.call(i, t) && l(r, t, i[t]);
11
11
  return r;
12
- }, b = (r, i) => A(r, S(i));
12
+ }, b = (r, i) => A(r, m(i));
13
13
  var a = (r, i, t) => (l(r, typeof i != "symbol" ? i + "" : i, t), t);
14
- var p = (r, i, t) => new Promise((e, s) => {
14
+ var c = (r, i, t) => new Promise((e, s) => {
15
15
  var n = (h) => {
16
16
  try {
17
- d(t.next(h));
18
- } catch (c) {
19
- s(c);
17
+ u(t.next(h));
18
+ } catch (d) {
19
+ s(d);
20
20
  }
21
21
  }, o = (h) => {
22
22
  try {
23
- d(t.throw(h));
24
- } catch (c) {
25
- s(c);
23
+ u(t.throw(h));
24
+ } catch (d) {
25
+ s(d);
26
26
  }
27
- }, d = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(n, o);
28
- d((t = t.apply(r, i)).next());
27
+ }, u = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(n, o);
28
+ u((t = t.apply(r, i)).next());
29
29
  });
30
- import y from "./Components/Main.js";
31
- import { equal as D } from "../../shared-utils/equal.js";
32
- import { CAMERA_IMAGE as E } from "../Assets/camera.js";
33
- import { Controller as C } from "../../base/BasePluginWithData.js";
34
- import { formatData as w, formatExtraObjects as O } from "../utils/formatData.js";
35
- class P extends C {
30
+ import { Main as _ } from "./Components/Main.js";
31
+ import { equal as y } from "../../shared-utils/equal.js";
32
+ import { CAMERA_IMAGE as D } from "../Assets/camera.js";
33
+ import { Controller as E } from "../../base/BasePluginWithData.js";
34
+ import { formatData as w, formatExtraObjects as C } from "../utils/formatData.js";
35
+ import "../../vendor/svelte/internal/index.js";
36
+ import "./Components/Camera.js";
37
+ import "../../shared-utils/throttle.js";
38
+ import "./Components/CurrentFloor/CurrentFloor.js";
39
+ import "./Components/CurrentFloor/ExtraObjects.js";
40
+ import "../Components/BaseImage.js";
41
+ import "../Components/Normalmage.js";
42
+ import "../Components/SvgImage.js";
43
+ import "../Components/RoomHighlight/RoomHighlight.js";
44
+ import "../Components/RoomHighlight/Room.js";
45
+ import "../utils/formatPosition.js";
46
+ import "../../shared-utils/isTruelyObject.js";
47
+ import "../../base/BasePlugin.js";
48
+ import "../../shared-utils/Subscribe.js";
49
+ import "../Assets/floorplanExtraObject.js";
50
+ class K extends E {
36
51
  constructor(t, e) {
37
52
  super(t);
38
53
  a(this, "name", "panoFloorplanRadarPlugin");
@@ -55,21 +70,21 @@ class P extends C {
55
70
  this.five = t;
56
71
  const s = {
57
72
  hoverEnable: !1,
58
- cameraImageUrl: E
59
- }, n = e != null && e.configs ? e.configs : {}, o = u(u({}, s), n);
73
+ cameraImageUrl: D
74
+ }, n = e != null && e.configs ? e.configs : {}, o = p(p({}, s), n);
60
75
  this.state = { enabled: !0, visible: !0, config: o }, e != null && e.wrapper && console.warn("\u4E0D\u63A8\u8350\u7EE7\u7EED\u4F7F\u7528 params.selector \u914D\u7F6E\u7236\u5BB9\u5668\uFF0C\u8BF7\u4F7F\u7528 appendTo \u65B9\u6CD5"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
61
76
  }
62
77
  load(t, e, s = !0) {
63
- return p(this, null, function* () {
64
- function n(c) {
65
- return Object.prototype.hasOwnProperty.apply(c, ["version"]);
78
+ return c(this, null, function* () {
79
+ function n(d) {
80
+ return Object.prototype.hasOwnProperty.apply(d, ["version"]);
66
81
  }
67
- const o = JSON.parse(JSON.stringify(t)), d = n(o) ? o.data : o, h = this.data;
68
- this.data = yield w(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, h), e && this.updateState(e, s), this.render();
82
+ const o = JSON.parse(JSON.stringify(t)), u = n(o) ? o.data : o, h = this.data;
83
+ this.data = yield w(u), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, h), e && this.updateState(e, s), this.render();
69
84
  });
70
85
  }
71
86
  show() {
72
- return p(this, arguments, function* (t = {}) {
87
+ return c(this, arguments, function* (t = {}) {
73
88
  if (this.state.visible)
74
89
  return;
75
90
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -77,7 +92,7 @@ class P extends C {
77
92
  });
78
93
  }
79
94
  hide() {
80
- return p(this, arguments, function* (t = {}) {
95
+ return c(this, arguments, function* (t = {}) {
81
96
  if (!this.state.visible)
82
97
  return;
83
98
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -114,10 +129,10 @@ class P extends C {
114
129
  this.setState({ config: t }, { userAction: e }), this.render();
115
130
  }
116
131
  setExtraObjectsWith3DPositions(t) {
117
- !this.data || (this.extraObjects = O(t, this.five, this.data), this.render());
132
+ !this.data || (this.extraObjects = C(t, this.five, this.data), this.render());
118
133
  }
119
134
  formatData(t) {
120
- return p(this, null, function* () {
135
+ return c(this, null, function* () {
121
136
  return yield w(t.data);
122
137
  });
123
138
  }
@@ -139,7 +154,7 @@ class P extends C {
139
154
  }
140
155
  updateState(t, e) {
141
156
  const s = this.state;
142
- this.state = u(u({}, this.state), t), !D(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
157
+ this.state = p(p({}, this.state), t), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
143
158
  }
144
159
  render() {
145
160
  if (this.disposed || !this.state.enabled)
@@ -150,15 +165,15 @@ class P extends C {
150
165
  }
151
166
  if (!this.data || !this.wrapper)
152
167
  return;
153
- const t = b(u({}, this.state.config), {
168
+ const t = b(p({}, this.state.config), {
154
169
  five: this.five,
155
170
  floorplanData: this.data,
156
171
  visible: this.state.visible,
157
172
  extraObjects: this.extraObjects
158
173
  });
159
- this.app ? this.app.$set(t) : this.app = new y({ target: this.wrapper, props: t });
174
+ this.app ? this.app.$set(t) : this.app = new _({ target: this.wrapper, props: t });
160
175
  }
161
176
  }
162
177
  export {
163
- P as Controller
178
+ K as Controller
164
179
  };
@@ -1,5 +1,26 @@
1
- import { Controller as n } from "./Controller.js";
2
- const t = (o, r) => new n(o, r);
1
+ import { Controller as t } from "./Controller.js";
2
+ import "./Components/Main.js";
3
+ import "../../vendor/svelte/internal/index.js";
4
+ import "./Components/Camera.js";
5
+ import "../Assets/camera.js";
6
+ import "../../shared-utils/throttle.js";
7
+ import "./Components/CurrentFloor/CurrentFloor.js";
8
+ import "./Components/CurrentFloor/ExtraObjects.js";
9
+ import "../Components/BaseImage.js";
10
+ import "../Components/Normalmage.js";
11
+ import "../Components/SvgImage.js";
12
+ import "../Components/RoomHighlight/RoomHighlight.js";
13
+ import "../Components/RoomHighlight/Room.js";
14
+ import "../utils/formatPosition.js";
15
+ import "../../shared-utils/equal.js";
16
+ import "../../shared-utils/isTruelyObject.js";
17
+ import "../../base/BasePluginWithData.js";
18
+ import "../../base/BasePlugin.js";
19
+ import "../../shared-utils/Subscribe.js";
20
+ import "../utils/formatData.js";
21
+ import "../Assets/floorplanExtraObject.js";
22
+ const j = (o, r) => new t(o, r);
3
23
  export {
4
- t as PanoFloorplanRadarPlugin
24
+ j as PanoFloorplanRadarPlugin,
25
+ j as default
5
26
  };