@realsee/dnalogel 2.16.0-10 → 2.16.0-11

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 (541) hide show
  1. package/components/index.js +688 -240
  2. package/dist/GuideLinePlugin/Controller.d.ts +4 -3
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  4. package/dist/GuideLinePlugin/typing.d.ts +0 -1
  5. package/dist/index.cjs.js +100 -86
  6. package/dist/index.js +14560 -7717
  7. package/dist/index.umd.js +93 -79
  8. package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  9. package/dist/shared-utils/animationFrame/index.d.ts +1 -1
  10. package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
  11. package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
  12. package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/CSS3DRender.html +31 -31
  15. package/docs/classes/CruisePluginController.html +26 -26
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
  18. package/docs/classes/Magnifier.html +20 -20
  19. package/docs/classes/ModelRoomLabelController.html +11 -11
  20. package/docs/classes/Object3DHelperController.html +25 -25
  21. package/docs/classes/PaintBrush.html +15 -15
  22. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  23. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  24. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  25. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  26. package/docs/classes/PanoTagPluginController.html +47 -47
  27. package/docs/classes/Util.BetterTween.html +29 -18
  28. package/docs/classes/Util.FivePointSelector.html +12 -12
  29. package/docs/classes/Util.Interval.html +12 -12
  30. package/docs/classes/Util.Magnifier.html +17 -17
  31. package/docs/classes/Util.PointDomHelper.html +11 -11
  32. package/docs/classes/Util.PointHelper.html +11 -11
  33. package/docs/classes/Util.Rectangle.html +13 -13
  34. package/docs/enums/CameraMovementEffect.html +7 -7
  35. package/docs/enums/ContentType.html +19 -19
  36. package/docs/enums/DIRECTION.html +9 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  38. package/docs/enums/DimensionType.html +7 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  42. package/docs/enums/Rotation.html +8 -8
  43. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  44. package/docs/functions/CameraMovementPlugin.html +4 -4
  45. package/docs/functions/CruisePlugin.html +4 -4
  46. package/docs/functions/GuideLinePlugin.html +5 -5
  47. package/docs/functions/ItemLabelPlugin.html +4 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  55. package/docs/functions/ModelViewPlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  69. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  70. package/docs/functions/Util.getFrameTime.html +5 -5
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  73. package/docs/functions/Util.isAbsoluteURL.html +5 -5
  74. package/docs/functions/Util.isModelLike.html +5 -5
  75. package/docs/functions/Util.isNil.html +5 -5
  76. package/docs/functions/Util.isPanoramaLike.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +18 -7
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +7 -18
  81. package/docs/functions/Util.uuid.html +5 -5
  82. package/docs/functions/pluginFlag.html +5 -5
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +6 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
  97. package/docs/interfaces/EventMap.html +15 -15
  98. package/docs/interfaces/FloorplanBounding.html +8 -8
  99. package/docs/interfaces/FloorplanData.html +10 -10
  100. package/docs/interfaces/FloorplanEntrance.html +11 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  103. package/docs/interfaces/FloorplanFloorData.html +9 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  105. package/docs/interfaces/FloorplanObserver.html +9 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  107. package/docs/interfaces/FloorplanPosition.html +7 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  112. package/docs/interfaces/FloorplanServerData.html +7 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
  124. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
  125. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
  126. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
  128. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
  129. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
  131. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
  132. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
  138. package/docs/interfaces/HelperOffset.html +8 -8
  139. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  140. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  143. package/docs/interfaces/MinMax.html +7 -7
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  149. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  153. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  156. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  157. package/docs/interfaces/Object3DHelperState.html +8 -8
  158. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  159. package/docs/interfaces/PaintBrushAction.html +12 -12
  160. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  161. package/docs/interfaces/PaintBrushState.html +10 -10
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  169. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  170. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  175. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  192. package/docs/interfaces/Point.html +8 -8
  193. package/docs/interfaces/Room.html +9 -9
  194. package/docs/interfaces/RoomInfo.html +7 -7
  195. package/docs/interfaces/RoomLabel.html +14 -14
  196. package/docs/interfaces/RoomRules.html +5 -5
  197. package/docs/interfaces/Rooms.html +5 -5
  198. package/docs/interfaces/Scissor.html +9 -9
  199. package/docs/interfaces/State.html +8 -8
  200. package/docs/interfaces/TagCacheInterface.html +12 -12
  201. package/docs/interfaces/TagConfig.html +11 -11
  202. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  203. package/docs/interfaces/TagIconUrl.html +12 -12
  204. package/docs/interfaces/TagObjectGroup.html +6 -6
  205. package/docs/interfaces/TagStyle.html +6 -6
  206. package/docs/interfaces/Tags.html +9 -9
  207. package/docs/interfaces/TemporaryState.html +6 -6
  208. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  209. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  210. package/docs/modules/CruisePluginTypes.html +5 -5
  211. package/docs/modules/GuideLineItem.html +5 -5
  212. package/docs/modules/GuideLineModeItem.html +5 -5
  213. package/docs/modules/GuideLinePluginType.html +5 -5
  214. package/docs/modules/PanoVideoPluginType.html +5 -5
  215. package/docs/modules/Util.html +5 -5
  216. package/docs/modules.html +4 -4
  217. package/docs/types/ArrayPosition.html +5 -5
  218. package/docs/types/AudioAppearance.html +5 -5
  219. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  220. package/docs/types/CSS3DRenderExportType.html +5 -5
  221. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  222. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  223. package/docs/types/ClassFunctionParameters.html +5 -5
  224. package/docs/types/Color.html +5 -5
  225. package/docs/types/ContentTypeConfigKey.html +5 -5
  226. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  227. package/docs/types/ContentTypeMap.html +5 -5
  228. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  229. package/docs/types/Create3DElementReturnType.html +5 -5
  230. package/docs/types/CruisePluginExportType.html +5 -5
  231. package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
  232. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
  233. package/docs/types/Direction-1.html +5 -5
  234. package/docs/types/Direction4.html +5 -5
  235. package/docs/types/FloorplanRuleLabels.html +5 -5
  236. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  237. package/docs/types/GuideLinePluginExportType.html +5 -5
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
  242. package/docs/types/GuideLinePluginType.PathItem.html +5 -5
  243. package/docs/types/GuideLinePluginType.PluginData.html +5 -5
  244. package/docs/types/HelperEventMap.html +5 -5
  245. package/docs/types/LoadTagConfig.html +5 -5
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  248. package/docs/types/MediaData.html +5 -5
  249. package/docs/types/MediaStore.html +5 -5
  250. package/docs/types/ModelElement.html +5 -5
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  252. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  253. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  254. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  256. package/docs/types/MoveArgs.html +5 -5
  257. package/docs/types/MoveOpts.html +5 -5
  258. package/docs/types/Object3DHelperEventMap.html +5 -5
  259. package/docs/types/ObjectFit.html +5 -5
  260. package/docs/types/PaintBrushEventMap.html +5 -5
  261. package/docs/types/PanoCompassPluginData.html +5 -5
  262. package/docs/types/PanoCompassPluginExportType.html +5 -5
  263. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  266. package/docs/types/PanoIndex.html +5 -5
  267. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  268. package/docs/types/PanoMeasureReturnType.html +5 -5
  269. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  270. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  271. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  272. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  273. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  274. package/docs/types/PlaneTag.html +5 -5
  275. package/docs/types/PlaneTagElement.html +5 -5
  276. package/docs/types/Point2DElement.html +5 -5
  277. package/docs/types/Point2DTag.html +5 -5
  278. package/docs/types/Point3DElement.html +5 -5
  279. package/docs/types/Point3DTag.html +5 -5
  280. package/docs/types/PointTag.html +5 -5
  281. package/docs/types/PointTagElement.html +5 -5
  282. package/docs/types/Position.html +5 -5
  283. package/docs/types/RotateArgs.html +5 -5
  284. package/docs/types/RotateOpts.html +5 -5
  285. package/docs/types/RuleLabelsKey.html +5 -5
  286. package/docs/types/RuleLabelsValue.html +5 -5
  287. package/docs/types/StickType.html +5 -5
  288. package/docs/types/Tag.html +5 -5
  289. package/docs/types/Tag2D.html +5 -5
  290. package/docs/types/Tag3D.html +5 -5
  291. package/docs/types/TagContentType.html +5 -5
  292. package/docs/types/TagDimensionType.html +5 -5
  293. package/docs/types/TagElement.html +5 -5
  294. package/docs/types/TagEvents.html +5 -5
  295. package/docs/types/TagGLTFObject.html +5 -5
  296. package/docs/types/TagHooks.html +5 -5
  297. package/docs/types/TagIconSize.html +5 -5
  298. package/docs/types/TagId.html +5 -5
  299. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  301. package/docs/types/WorkCode.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  307. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  309. package/libs/CSS3DRenderPlugin/Controller.js +47 -13
  310. package/libs/CSS3DRenderPlugin/index.js +6 -8
  311. package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
  312. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
  313. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
  314. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
  315. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
  316. package/libs/CameraMovementPlugin/index.js +7 -9
  317. package/libs/CruisePlugin/Controller.js +161 -52
  318. package/libs/CruisePlugin/index.js +36 -30
  319. package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
  320. package/libs/GuideLinePlugin/Components/Tag.js +14 -2
  321. package/libs/GuideLinePlugin/Controller.d.ts +4 -3
  322. package/libs/GuideLinePlugin/Controller.js +119 -100
  323. package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
  324. package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
  325. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
  326. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  327. package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
  328. package/libs/GuideLinePlugin/index.js +37 -30
  329. package/libs/GuideLinePlugin/typing.d.ts +0 -1
  330. package/libs/GuideLinePlugin/typing.js +7 -9
  331. package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
  332. package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
  333. package/libs/GuideLinePlugin/utils/index.js +17 -14
  334. package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
  335. package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
  336. package/libs/ItemLabelPlugin/Plugin.js +2 -2
  337. package/libs/ItemLabelPlugin/index.js +8 -9
  338. package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
  339. package/libs/ModelChassisCompassPlugin/index.js +3 -4
  340. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
  341. package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
  342. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
  343. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
  344. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
  345. package/libs/ModelItemLabelPlugin/index.js +6 -7
  346. package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
  347. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
  348. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
  349. package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
  350. package/libs/ModelTVVideoPlugin/index.js +6 -9
  351. package/libs/ModelViewPlugin/Plugin.js +3 -3
  352. package/libs/ModelViewPlugin/index.js +3 -4
  353. package/libs/Object3DHelperPlugin/Controller.js +62 -42
  354. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
  355. package/libs/Object3DHelperPlugin/index.js +7 -9
  356. package/libs/PanoCompassPlugin/Controller.js +54 -4
  357. package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
  358. package/libs/PanoCompassPlugin/index.js +3 -3
  359. package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
  360. package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
  361. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
  362. package/libs/PanoDoorLabelPlugin/index.js +5 -7
  363. package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
  364. package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
  365. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
  366. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  367. package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
  368. package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
  369. package/libs/PanoMeasurePlugin/Model/index.js +4 -4
  370. package/libs/PanoMeasurePlugin/Model/line.js +8 -8
  371. package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
  372. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
  373. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
  374. package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
  375. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
  376. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
  377. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
  378. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  379. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
  380. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
  381. package/libs/PanoMeasurePlugin/index.js +14 -15
  382. package/libs/PanoMeasurePlugin/typings/index.js +1 -3
  383. package/libs/PanoRulerPlugin/Plugin.js +54 -54
  384. package/libs/PanoRulerPlugin/index.js +3 -4
  385. package/libs/PanoRulerProPlugin/Controller.js +14 -15
  386. package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
  387. package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
  388. package/libs/PanoRulerProPlugin/index.js +4 -5
  389. package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
  390. package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
  391. package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
  392. package/libs/PanoSpatialTagPlugin/index.js +4 -7
  393. package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
  394. package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
  395. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
  396. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
  397. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
  398. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
  399. package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
  400. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
  401. package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
  402. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +87 -8
  403. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
  404. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
  405. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
  406. package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
  407. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
  408. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
  409. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
  410. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
  411. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
  412. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
  413. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
  414. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
  415. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
  416. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
  417. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
  418. package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
  419. package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
  420. package/libs/PanoTagPlugin/Components/TagItem.js +201 -28
  421. package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
  422. package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
  423. package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
  424. package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
  425. package/libs/PanoTagPlugin/controller/index.js +90 -28
  426. package/libs/PanoTagPlugin/index.js +18 -19
  427. package/libs/PanoTagPlugin/tag.config.js +4 -0
  428. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
  429. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
  430. package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
  431. package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
  432. package/libs/PanoVideoPlugin/Controller.js +53 -39
  433. package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
  434. package/libs/PanoVideoPlugin/index.js +6 -7
  435. package/libs/_commonjsHelpers.js +4 -0
  436. package/libs/base/BasePlugin.js +23 -15
  437. package/libs/base/BasePluginWithData.js +2 -2
  438. package/libs/components/PaintBrush/Controller.js +15 -4
  439. package/libs/components/PaintBrush/Subscribe.js +37 -0
  440. package/libs/components/PaintBrush/index.js +17 -4
  441. package/libs/components/PaintBrush/tween.js +2 -2
  442. package/libs/components/index.js +1 -1
  443. package/libs/floorplan/Components/BaseImage.js +24 -6
  444. package/libs/floorplan/Components/Camera.js +73 -27
  445. package/libs/floorplan/Components/Compass.js +20 -3
  446. package/libs/floorplan/Components/CurrentFloor.js +189 -50
  447. package/libs/floorplan/Components/Main.js +202 -54
  448. package/libs/floorplan/Components/Normalmage.js +5 -2
  449. package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
  450. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
  451. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
  452. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
  453. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
  454. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
  455. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
  456. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
  457. package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
  458. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
  459. package/libs/floorplan/Components/SvgImage.js +18 -6
  460. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
  461. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
  462. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
  463. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
  464. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
  465. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
  467. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
  468. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
  469. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
  470. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -64
  471. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
  472. package/libs/floorplan/index.js +1 -3
  473. package/libs/floorplan/typings/floorplanServerData.js +80 -80
  474. package/libs/index.js +136 -129
  475. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
  476. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
  477. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
  478. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
  479. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
  480. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
  481. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
  482. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
  483. package/libs/shared-utils/Object3DHelper/index.js +15 -0
  484. package/libs/shared-utils/Subscribe.js +38 -1
  485. package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  486. package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
  487. package/libs/shared-utils/animationFrame/index.d.ts +1 -1
  488. package/libs/shared-utils/animationFrame/index.js +14 -14
  489. package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
  490. package/libs/shared-utils/animationFrame/tween.js +15 -15
  491. package/libs/shared-utils/audio.js +9 -9
  492. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  493. package/libs/shared-utils/createCanvasTextTexture.js +3 -3
  494. package/libs/shared-utils/five/changeMode.js +11 -11
  495. package/libs/shared-utils/index.js +15 -15
  496. package/libs/shared-utils/log.js +2 -2
  497. package/libs/shared-utils/math/Interval.js +2 -0
  498. package/libs/shared-utils/math/Rectangle.js +2 -0
  499. package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
  500. package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  501. package/libs/shared-utils/three/FivePointSelector.js +1 -1
  502. package/libs/shared-utils/three/Magnifier.js +10 -7
  503. package/libs/shared-utils/three/PointDomHelper.js +11 -10
  504. package/libs/shared-utils/three/index.js +1 -2
  505. package/libs/shared-utils/three/loadTexture.js +10 -10
  506. package/libs/shared-utils/threex/domevents/index.js +2 -2
  507. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
  508. package/libs/vendor/classnames/index.js +47 -0
  509. package/libs/vendor/easy-reactive/main.js +3 -0
  510. package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
  511. package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
  512. package/libs/vendor/gl-vec2/add.js +7 -0
  513. package/libs/vendor/gl-vec2/dot.js +7 -0
  514. package/libs/vendor/gl-vec2/normalize.js +8 -0
  515. package/libs/vendor/gl-vec2/set.js +7 -0
  516. package/libs/vendor/gl-vec2/subtract.js +7 -0
  517. package/libs/vendor/lodash.clonedeep/index.js +457 -0
  518. package/libs/vendor/lodash.get/index.js +236 -0
  519. package/libs/vendor/lodash.isequal/index.js +489 -0
  520. package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
  521. package/libs/vendor/polyline-miter-util/index.js +18 -0
  522. package/libs/vendor/polyline-normals/index.js +28 -0
  523. package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
  524. package/libs/vendor/svelte/easing/index.js +4 -5
  525. package/libs/vendor/svelte/index.js +1 -1
  526. package/libs/vendor/svelte/internal/index.js +412 -388
  527. package/libs/vendor/svelte/store/index.js +6 -6
  528. package/libs/vendor/svelte/transition/index.js +23 -20
  529. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
  530. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
  531. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
  532. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
  533. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
  534. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
  535. package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
  536. package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
  537. package/package.json +11 -13
  538. package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
  539. package/libs/vendor/simply-reactive/main.js +0 -3
  540. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
  541. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
@@ -1,28 +1,28 @@
1
- var A = Object.defineProperty, S = Object.defineProperties;
1
+ var F = Object.defineProperty, E = Object.defineProperties;
2
2
  var C = Object.getOwnPropertyDescriptors;
3
3
  var w = Object.getOwnPropertySymbols;
4
4
  var P = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
- var m = (h, s, t) => s in h ? A(h, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[s] = t, l = (h, s) => {
5
+ var m = (h, s, t) => s in h ? F(h, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[s] = t, u = (h, s) => {
6
6
  for (var t in s || (s = {}))
7
7
  P.call(s, t) && m(h, t, s[t]);
8
8
  if (w)
9
9
  for (var t of w(s))
10
10
  I.call(s, t) && m(h, t, s[t]);
11
11
  return h;
12
- }, v = (h, s) => S(h, C(s));
12
+ }, v = (h, s) => E(h, C(s));
13
13
  var o = (h, s, t) => (m(h, typeof s != "symbol" ? s + "" : s, t), t);
14
14
  var f = (h, s, t) => new Promise((e, i) => {
15
15
  var r = (n) => {
16
16
  try {
17
17
  a(t.next(n));
18
- } catch (u) {
19
- i(u);
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
21
  }, d = (n) => {
22
22
  try {
23
23
  a(t.throw(n));
24
- } catch (u) {
25
- i(u);
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
27
  }, a = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(r, d);
28
28
  a((t = t.apply(h, s)).next());
@@ -31,14 +31,14 @@ import { to as M } from "../../shared-utils/to.js";
31
31
  import { equal as x } from "../../shared-utils/equal.js";
32
32
  import { Main as y } from "../Components/Main.js";
33
33
  import { formatData as b } from "../utils/formatData.js";
34
- import { CAMERA_IMAGE as D } from "../Assets/camera.js";
35
- import { omit as _ } from "../../shared-utils/filter.js";
36
- import { getPxmm as L } from "../../shared-utils/getPxmm.js";
37
- import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
34
+ import { CAMERA_IMAGE as _ } from "../Assets/camera.js";
35
+ import { omit as L } from "../../shared-utils/filter.js";
36
+ import { getPxmm as O } from "../../shared-utils/getPxmm.js";
37
+ import { FLOOR_PLAN_ATTACHED_TO as D } from "../constant.js";
38
38
  import { Controller as k } from "../../base/BasePluginWithData.js";
39
- import { checkShowState as T, correctFiveState as B } from "../utils/correctFiveState.js";
40
- import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
41
- import { FIVE_CAMERA_DEFAULT_FOV as G, FloorplanErrorType as c, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
39
+ import { checkShowState as T, correctFiveState as G } from "../utils/correctFiveState.js";
40
+ import { changeModelCanvasOpacity as A } from "../../shared-utils/changeModelCanvasOpacity.js";
41
+ import { FIVE_CAMERA_DEFAULT_FOV as H, FloorplanErrorType as c, SHOW_ANIME_DURATION as W } from "../utils/constant.js";
42
42
  import "../../shared-utils/isTruelyObject.js";
43
43
  import "../../vendor/svelte/internal/index.js";
44
44
  import "../../vendor/svelte/transition/index.js";
@@ -72,7 +72,7 @@ import "../../base/BasePlugin.js";
72
72
  import "../../shared-utils/Subscribe.js";
73
73
  import "@realsee/five";
74
74
  import "hammerjs";
75
- import "@tweenjs/tween.js";
75
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
76
76
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
77
77
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
78
78
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -87,60 +87,85 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
87
87
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
88
88
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
89
89
  import "../../shared-utils/isAbsoluteURL.js";
90
- import "../../shared-utils/animationFrame/BetterTween.js";
91
- import "../../shared-utils/animationFrame/index.js";
92
90
  import "../../shared-utils/nearlyEqual.js";
93
91
  import "../../shared-utils/five/changeMode.js";
94
- function W(h) {
92
+ function R(h) {
95
93
  const { latitude: s, longitude: t } = h, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
96
94
  return e || i;
97
95
  }
98
- function R(h) {
96
+ function N(h) {
99
97
  const { latitude: s, longitude: t } = h, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
100
98
  return e && i;
101
99
  }
102
- class Yt extends k {
100
+ class Qt extends k {
103
101
  constructor(t, e) {
104
102
  var a;
105
103
  super(t);
104
+ // =============== public properties =================
106
105
  o(this, "name", "modelFloorplanPlugin");
107
106
  o(this, "state");
107
+ // =============== private properties =================
108
108
  o(this, "data");
109
+ /** 展示户型图时,需要正确的状态 */
109
110
  o(this, "showState");
111
+ /** show 动画的公共 Promise */
110
112
  o(this, "showPromise");
111
113
  o(this, "app");
112
114
  o(this, "panoIndex", 0);
113
115
  o(this, "floorIndex", 0);
114
116
  o(this, "selector");
117
+ /** 公共 Promise 的 reject 方法 */
115
118
  o(this, "showRejection");
119
+ /** 户型图父容器 */
116
120
  o(this, "wrapper");
121
+ /** 户型图主容器 */
117
122
  o(this, "container", document.createElement("div"));
123
+ /** 展示户型图图前,Five 的 Panorama Longitude */
118
124
  o(this, "lastPanoramaLongitude", 0);
125
+ /** 户型图大小 */
119
126
  o(this, "size", { width: 0, height: 0 });
127
+ /** 是否已经执行过事件监听 */
120
128
  o(this, "hasAddedEventListener", !1);
129
+ /** 上一次隐藏是否是用户调用了 hide 导致的 */
121
130
  o(this, "isHiddenByHideFunc", !1);
131
+ /** 高亮区域 */
122
132
  o(this, "highlightData", {});
133
+ /** 销毁插件 */
123
134
  o(this, "dispose", () => {
124
135
  var t, e;
125
136
  this.removeEventListener(), (t = this.app) == null || t.$destroy(), this.app = void 0, (e = this.container) == null || e.remove(), this.data = void 0, this.wrapper = void 0, this.selector = void 0, this.hooks.emit("dispose");
126
137
  });
138
+ /** 展示户型图
139
+ * 1. show 函数大部分情况下需要耗时
140
+ * 2. 如果当前已经在展示中,将不会触发任何事件
141
+ * 3. 如果展示过程被中断,将抛出错误
142
+ * 4. 多次调用 show 方法,只会触发一次 showAnimationEnded 事件,但是展示结果会取决于最后一次调用参数
143
+ * 5. 如果多次调用 show 方法,参数与上次参数不一致时,上次 show Promise 会被 reject
144
+ * @param opts.floorIndex 楼层
145
+ * @param opts.modelOpacity 模型透明度
146
+ * @param opts.immediately 是否立即展示
147
+ * @param opts.isAutoShow 是否是自动展示
148
+ * @param opts.userAction 是否是用户行为
149
+ */
127
150
  o(this, "show", (...e) => f(this, [...e], function* (t = {}) {
128
151
  if (!this.state.enabled || !this.showPromise && this.state.visible)
129
152
  return;
130
153
  const i = t.userAction !== void 0 ? t.userAction : !0;
131
154
  this.updateState({ visible: !0 }, i), this._show(t);
132
155
  }));
156
+ /** 隐藏户型图 */
133
157
  o(this, "hide", (...e) => f(this, [...e], function* (t = {}) {
134
- !this.state.enabled || (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
158
+ this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
135
159
  }));
160
+ /** 更新户型图大小 */
136
161
  o(this, "updateSize", () => {
137
162
  if (!this.data || !T(this.five, this.showState) || !this.container || !this.wrapper)
138
163
  return;
139
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, d = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = L(this.five, this.wrapper, this.floorIndex, d), n = Math.ceil(i * a), u = Math.ceil(r * a);
140
- this.size.width === n && this.size.height === u || (this.container.style.width = n + "px", this.container.style.height = u + "px", this.size = { width: n, height: u });
164
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, d = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = O(this.five, this.wrapper, this.floorIndex, d), n = Math.ceil(i * a), l = Math.ceil(r * a);
165
+ this.size.width === n && this.size.height === l || (this.container.style.width = n + "px", this.container.style.height = l + "px", this.size = { width: n, height: l });
141
166
  });
142
167
  o(this, "highlight", (t) => {
143
- !this.state.config.highlightEnable || (this.highlightData = t, this.render());
168
+ this.state.config.highlightEnable && (this.highlightData = t, this.render());
144
169
  });
145
170
  o(this, "unhighlight", () => {
146
171
  this.highlightData = {}, this.render();
@@ -169,20 +194,20 @@ class Yt extends k {
169
194
  immediately: !1,
170
195
  isAutoShow: !1,
171
196
  userAction: !0
172
- }, i = l(l({}, e), t), r = () => f(this, null, function* () {
197
+ }, i = u(u({}, e), t), r = () => f(this, null, function* () {
173
198
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
174
199
  let a = !1, n;
175
- this.showRejection = (E) => {
176
- a = !0, n = E;
200
+ this.showRejection = (S) => {
201
+ a = !0, n = S;
177
202
  };
178
- const [u] = yield M(B(this.five, this.showState, i.userAction));
179
- if (u)
180
- throw u;
203
+ const [l] = yield M(G(this.five, this.showState, i.userAction));
204
+ if (l)
205
+ throw l;
181
206
  if (a)
182
207
  throw n ? new Error(n) : new Error(c.UnknownError);
183
208
  this.updateSize(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
184
- const p = i.modelOpacity, g = i.immediately ? 0 : H;
185
- F(this.five, p, g), this.render(g);
209
+ const p = i.modelOpacity, g = i.immediately ? 0 : W;
210
+ A(this.five, p, g), this.render(g);
186
211
  });
187
212
  return this.showPromise = r().then(() => {
188
213
  this.hooks.emit("showAnimationEnded", {
@@ -199,11 +224,11 @@ class Yt extends k {
199
224
  o(this, "_hide", (t) => {
200
225
  var r;
201
226
  (r = this.showRejection) == null || r.call(this, c.BreakOffByHide), this.showPromise = void 0;
202
- const i = l(l({}, {
227
+ const i = u(u({}, {
203
228
  userAction: !0,
204
229
  isAutoHide: !1
205
230
  }), t);
206
- F(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
231
+ A(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
207
232
  });
208
233
  o(this, "handleClick", () => {
209
234
  if (!this.state.visible)
@@ -211,45 +236,55 @@ class Yt extends k {
211
236
  if (this.hooks.emit("click"))
212
237
  return !1;
213
238
  });
239
+ /** modelLoaded 之后自动执行 append container 操作 */
214
240
  o(this, "onFiveModelLoaded", () => {
215
241
  if (this.state.enabled === !1 || this.wrapper || !this.selector)
216
242
  return;
217
243
  const t = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
218
244
  if (!t)
219
- throw new Error("\u4E0D\u6B63\u786E\u7684\u7236\u5BB9\u5668\u9009\u62E9\u5668");
245
+ throw new Error("不正确的父容器选择器");
220
246
  this.wrapper = t, t.append(this.container);
221
247
  });
248
+ /** 更改模型时,自动隐藏户型图 */
222
249
  o(this, "onFiveModeChange", (t) => {
223
250
  t !== this.showState.mode && (this.updateState({ visible: !1 }, !1), this._hide({ userAction: !1 }));
224
251
  });
252
+ /** 惯性结束后,判断能否自动展示户型图 */
225
253
  o(this, "onFiveInteriaPan", (t, e) => {
226
254
  if (!e || this.state.config.autoShowEnable === !1 || this.isHiddenByHideFunc)
227
255
  return;
228
256
  const i = this.five.getCurrentState();
229
- i.mode === "Floorplan" && (this.state.visible || R(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })));
257
+ i.mode === "Floorplan" && (this.state.visible || N(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })));
230
258
  });
259
+ /** panoIndex 改变时,更新 floorIndex */
231
260
  o(this, "onFivePanoArrived", (t) => {
232
261
  var e;
233
- !((e = this.five) != null && e.work) || (this.panoIndex = t, this.floorIndex = this.five.work.observers[t].floorIndex);
262
+ (e = this.five) != null && e.work && (this.panoIndex = t, this.floorIndex = this.five.work.observers[t].floorIndex);
234
263
  });
264
+ /** cameraUpdate 时判断户型图是否应该自动隐藏 */
235
265
  o(this, "onFiveCameraUpdate", (t, e) => {
236
266
  if (!this.state.visible || this.showPromise)
237
267
  return;
238
268
  const i = this.five.getCurrentState();
239
- W(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e, isAutoHide: !0 }));
269
+ R(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e, isAutoHide: !0 }));
240
270
  });
271
+ /** 在户型图展示时阻止多指操作, 阻止鼠标放大 */
241
272
  o(this, "onFiveWantsGesture", (t, e) => {
242
- if (!!this.state.visible && (e.length > 1 || t === "mouseWheel"))
273
+ if (this.state.visible && (e.length > 1 || t === "mouseWheel"))
243
274
  return !1;
244
275
  });
276
+ /** 户型图展示中,转动三维模型,结束时应该自动修复模型状态 */
245
277
  o(this, "onFiveWantsPanGesture", (t, e) => {
246
278
  if (this.five.getCurrentState().mode === "Floorplan" && this.state.config.autoShowEnable !== !1 && e && this.state.visible)
247
279
  return this.five.updateCamera(this.showState, 0), !1;
248
280
  });
281
+ /** 阻止点击分间走点 */
249
282
  o(this, "onFiveWantsTapGesture", () => this.handleClick());
283
+ /** 从 Panorama 切换到其他模态时,记录当前的相机水平视角 */
250
284
  o(this, "onFiveWantsChangeMode", (t, e) => {
251
285
  e === "Panorama" && t === "Floorplan" && (this.lastPanoramaLongitude = this.five.getCurrentState().longitude);
252
286
  });
287
+ /** 模型楼层高亮改变时,自动进行楼层切换 */
253
288
  o(this, "onModelShownFloorChange", (t) => {
254
289
  if (this.floorIndex !== t) {
255
290
  if (t === null) {
@@ -260,14 +295,14 @@ class Yt extends k {
260
295
  this.floorIndex = t, this.updateSize(), this.render();
261
296
  }
262
297
  });
263
- e != null && e.selector && (this.selector = e.selector, console.warn("\u4E0D\u63A8\u8350\u7EE7\u7EED\u4F7F\u7528 params.selector \u914D\u7F6E\u7236\u5BB9\u5668\uFF0C\u8BF7\u4F7F\u7528 appendTo \u65B9\u6CD5")), this.showState = {
298
+ e != null && e.selector && (this.selector = e.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = {
264
299
  mode: "Floorplan",
265
300
  longitude: 0,
266
301
  latitude: Math.PI / 2,
267
- fov: G / ((a = e == null ? void 0 : e.scale) != null ? a : 1)
302
+ fov: H / ((a = e == null ? void 0 : e.scale) != null ? a : 1)
268
303
  };
269
304
  const i = {
270
- northDesc: "\u5317",
305
+ northDesc: "",
271
306
  modelOpacity: 1,
272
307
  cameraEnable: !0,
273
308
  highlightEnable: !1,
@@ -279,12 +314,12 @@ class Yt extends k {
279
314
  roomAreaEnable: !0,
280
315
  roomNameEnable: !0,
281
316
  adaptiveRoomLabelVisibleEnable: !0,
282
- cameraImageUrl: D,
283
- attachedTo: O.BOUNDING_CENTER,
317
+ cameraImageUrl: _,
318
+ attachedTo: D.BOUNDING_CENTER,
284
319
  getLabelElement: void 0,
285
- getRoomAreaText: (n) => (n / 1e6).toFixed(1) + "\u33A1",
320
+ getRoomAreaText: (n) => (n / 1e6).toFixed(1) + "",
286
321
  getRuleDistanceText: (n) => n.toString()
287
- }, r = e ? _(e, ["selector", "scale"]) : {}, d = l(l({}, i), r);
322
+ }, r = e ? L(e, ["selector", "scale"]) : {}, d = u(u({}, i), r);
288
323
  this.state = {
289
324
  enabled: !0,
290
325
  visible: !1,
@@ -297,27 +332,31 @@ class Yt extends k {
297
332
  return Object.prototype.hasOwnProperty.apply(p, ["version"]);
298
333
  }
299
334
  const d = t;
300
- d && !d.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
301
- const a = JSON.parse(JSON.stringify(t)), n = r(a) ? a.data : a, u = this.data;
302
- this.data = yield b(n), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, u), e && this.updateState(e, i), this.render();
335
+ d && !d.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
336
+ const a = JSON.parse(JSON.stringify(t)), n = r(a) ? a.data : a, l = this.data;
337
+ this.data = yield b(n), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, i), this.render();
303
338
  });
304
339
  }
340
+ /** 把插件的渲染DOM插入到对应的容器中去 */
305
341
  appendTo(t) {
306
342
  if (this.wrapper = t, !!this.state.enabled)
307
343
  return t.appendChild(this.container), this.render(), this;
308
344
  }
345
+ /** 启用插件 */
309
346
  enable(t = {}) {
310
347
  if (this.state.enabled)
311
348
  return;
312
349
  const e = t.userAction !== void 0 ? t.userAction : !0;
313
350
  this.updateState({ enabled: !0 }, t.userAction || e), this._enable({ userAction: e });
314
351
  }
352
+ /** 禁用插件 */
315
353
  disable(t = {}) {
316
354
  if (!this.state.enabled)
317
355
  return;
318
356
  const e = t.userAction !== void 0 ? t.userAction : !0;
319
357
  this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
320
358
  }
359
+ /** 更改插件 State */
321
360
  setState(t, e = {}) {
322
361
  const i = this.state, r = e.userAction !== void 0 ? e.userAction : !0;
323
362
  if (this.updateState(t, r), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: r }) : this._disable({ userAction: r })), t.visible !== void 0 && i.visible !== t.visible) {
@@ -335,9 +374,13 @@ class Yt extends k {
335
374
  });
336
375
  }
337
376
  updateState(t, e) {
338
- const i = this.state, r = t.config ? l(l({}, i.config), t.config) : i.config;
339
- this.state = v(l(l({}, this.state), t), { config: r }), !x(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
377
+ const i = this.state, r = t.config ? u(u({}, i.config), t.config) : i.config;
378
+ this.state = v(u(u({}, this.state), t), { config: r }), !x(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
340
379
  }
380
+ /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
381
+ *
382
+ * - TODO: 等 selector 功能下掉之后删除这个逻辑
383
+ */
341
384
  initContainer() {
342
385
  this.container.classList.add("floorplan-plugin"), Object.assign(this.container.style, {
343
386
  position: "absolute",
@@ -361,7 +404,7 @@ class Yt extends k {
361
404
  render(t) {
362
405
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
363
406
  return;
364
- const e = v(l({}, this.state.config), {
407
+ const e = v(u({}, this.state.config), {
365
408
  visible: this.state.visible,
366
409
  duration: t != null ? t : 0,
367
410
  panoIndex: this.panoIndex,
@@ -376,5 +419,5 @@ class Yt extends k {
376
419
  }
377
420
  }
378
421
  export {
379
- Yt as Controller
422
+ Qt as Controller
380
423
  };
@@ -41,7 +41,7 @@ import "../../base/BasePlugin.js";
41
41
  import "../../shared-utils/Subscribe.js";
42
42
  import "@realsee/five";
43
43
  import "hammerjs";
44
- import "@tweenjs/tween.js";
44
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
45
45
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
46
46
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
47
47
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -56,15 +56,13 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
56
56
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
57
57
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
58
58
  import "../../shared-utils/isAbsoluteURL.js";
59
- import "../../shared-utils/animationFrame/BetterTween.js";
60
- import "../../shared-utils/animationFrame/index.js";
61
59
  import "../utils/correctFiveState.js";
62
60
  import "../utils/constant.js";
63
61
  import "../../shared-utils/nearlyEqual.js";
64
62
  import "../../shared-utils/five/changeMode.js";
65
63
  import "../../shared-utils/changeModelCanvasOpacity.js";
66
- const go = (o, r) => new t(o, r);
64
+ const so = (o, r) => new t(o, r);
67
65
  export {
68
- go as ModelFloorplanPlugin,
69
- go as default
66
+ so as ModelFloorplanPlugin,
67
+ so as default
70
68
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as w, init as y, safe_not_equal as k, append_styles as T, element as p, attr as g, set_style as l, insert as W, append as x, noop as I, detach as P, onMount as S } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as D, init as w, safe_not_equal as k, append_styles as T, element as g, attr as p, set_style as l, insert as W, append as x, noop as I, detach as P, onMount as S } from "../../../vendor/svelte/internal/index.js";
2
2
  import { CAMERA_IMAGE as b } from "../../Assets/camera.js";
3
3
  import { throttle as E } from "../../../shared-utils/throttle.js";
4
4
  function F(n) {
@@ -8,13 +8,39 @@ function R(n) {
8
8
  let a, t, o;
9
9
  return {
10
10
  c() {
11
- a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2]), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
11
+ a = g("div"), t = g("div"), o = g("div"), p(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + /*cameraImageUrl*/
12
+ (n[0] || b) + ")"), l(
13
+ o,
14
+ "transform",
15
+ /*rotateTransform*/
16
+ n[1]
17
+ ), p(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(
18
+ t,
19
+ "transform",
20
+ /*positionTransform*/
21
+ n[2]
22
+ ), p(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
12
23
  },
13
24
  m(i, r) {
14
25
  W(i, a, r), x(a, t), x(t, o);
15
26
  },
16
27
  p(i, [r]) {
17
- r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]), r & 4 && l(t, "transform", i[2]);
28
+ r & /*cameraImageUrl*/
29
+ 1 && l(o, "background-image", "url(" + /*cameraImageUrl*/
30
+ (i[0] || b) + ")"), (r & /*cameraImageUrl*/
31
+ 1 || r & /*rotateTransform, cameraImageUrl*/
32
+ 3) && l(
33
+ o,
34
+ "transform",
35
+ /*rotateTransform*/
36
+ i[1]
37
+ ), r & /*positionTransform*/
38
+ 4 && l(
39
+ t,
40
+ "transform",
41
+ /*positionTransform*/
42
+ i[2]
43
+ );
18
44
  },
19
45
  i: I,
20
46
  o: I,
@@ -27,31 +53,33 @@ function z(n) {
27
53
  return `rotate(${Math.floor(n / Math.PI * 180) * -1 + 45}deg)`;
28
54
  }
29
55
  function G(n, a, t) {
30
- let o, i, { five: r } = a, { pxmm: m } = a, { floorplanData: f } = a, { cameraImageUrl: v } = a, c = r.getCurrentState().panoIndex, d = r.getCurrentState().longitude;
56
+ let o, i, { five: r } = a, { pxmm: m } = a, { floorplanData: f } = a, { cameraImageUrl: _ } = a, c = r.getCurrentState().panoIndex, d = r.getCurrentState().longitude;
31
57
  function q(e, C) {
32
58
  const s = e.bounding, u = e.observers[C];
33
59
  if (!u)
34
60
  return "";
35
- const M = (s.max.x - s.min.x) * m, U = (s.max.y - s.min.y) * m, A = Math.floor(u.positionInImage.x * M), D = Math.floor(u.positionInImage.y * U);
36
- return `translate(${A}px, ${D}px)`;
61
+ const M = (s.max.x - s.min.x) * m, U = (s.max.y - s.min.y) * m, y = Math.floor(u.positionInImage.x * M), A = Math.floor(u.positionInImage.y * U);
62
+ return `translate(${y}px, ${A}px)`;
37
63
  }
38
- function _(e) {
64
+ function h(e) {
39
65
  t(6, c = e);
40
66
  }
41
- const h = E(
67
+ const v = E(
42
68
  (e) => {
43
69
  t(7, d = e.longitude);
44
70
  },
45
71
  1e3 / 60
46
72
  );
47
- return S(() => (r.on("panoWillArrive", _), r.on("cameraDirectionUpdate", h), function() {
48
- r.off("panoWillArrive", _), r.off("cameraDirectionUpdate", h);
73
+ return S(() => (r.on("panoWillArrive", h), r.on("cameraDirectionUpdate", v), function() {
74
+ r.off("panoWillArrive", h), r.off("cameraDirectionUpdate", v);
49
75
  })), n.$$set = (e) => {
50
- "five" in e && t(3, r = e.five), "pxmm" in e && t(4, m = e.pxmm), "floorplanData" in e && t(5, f = e.floorplanData), "cameraImageUrl" in e && t(0, v = e.cameraImageUrl);
76
+ "five" in e && t(3, r = e.five), "pxmm" in e && t(4, m = e.pxmm), "floorplanData" in e && t(5, f = e.floorplanData), "cameraImageUrl" in e && t(0, _ = e.cameraImageUrl);
51
77
  }, n.$$.update = () => {
52
- n.$$.dirty & 96 && t(2, o = q(f, c)), n.$$.dirty & 128 && t(1, i = z(d));
78
+ n.$$.dirty & /*floorplanData, panoIndex*/
79
+ 96 && t(2, o = q(f, c)), n.$$.dirty & /*longitude*/
80
+ 128 && t(1, i = z(d));
53
81
  }, [
54
- v,
82
+ _,
55
83
  i,
56
84
  o,
57
85
  r,
@@ -61,9 +89,9 @@ function G(n, a, t) {
61
89
  d
62
90
  ];
63
91
  }
64
- class B extends w {
92
+ class B extends D {
65
93
  constructor(a) {
66
- super(), y(
94
+ super(), w(
67
95
  this,
68
96
  a,
69
97
  G,
@@ -10,12 +10,30 @@ function k(l) {
10
10
  let o, r;
11
11
  const f = [
12
12
  {
13
- five: l[0],
14
- pxmm: l[1],
15
- floorIndex: l[2],
16
- floorplanData: l[4],
17
- onRoomHeightClick: l[7],
18
- highlightData: l[5]
13
+ five: (
14
+ /*five*/
15
+ l[0]
16
+ ),
17
+ pxmm: (
18
+ /*pxmm*/
19
+ l[1]
20
+ ),
21
+ floorIndex: (
22
+ /*floorIndex*/
23
+ l[2]
24
+ ),
25
+ floorplanData: (
26
+ /*floorplanData*/
27
+ l[4]
28
+ ),
29
+ onRoomHeightClick: (
30
+ /*onRoomHeightClick*/
31
+ l[7]
32
+ ),
33
+ highlightData: (
34
+ /*highlightData*/
35
+ l[5]
36
+ )
19
37
  }
20
38
  ];
21
39
  let g = {};
@@ -29,14 +47,33 @@ function k(l) {
29
47
  p(o, t, m), r = !0;
30
48
  },
31
49
  p(t, m) {
32
- const h = m & 183 ? x(f, [
50
+ const h = m & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData*/
51
+ 183 ? x(f, [
33
52
  {
34
- five: t[0],
35
- pxmm: t[1],
36
- floorIndex: t[2],
37
- floorplanData: t[4],
38
- onRoomHeightClick: t[7],
39
- highlightData: t[5]
53
+ five: (
54
+ /*five*/
55
+ t[0]
56
+ ),
57
+ pxmm: (
58
+ /*pxmm*/
59
+ t[1]
60
+ ),
61
+ floorIndex: (
62
+ /*floorIndex*/
63
+ t[2]
64
+ ),
65
+ floorplanData: (
66
+ /*floorplanData*/
67
+ t[4]
68
+ ),
69
+ onRoomHeightClick: (
70
+ /*onRoomHeightClick*/
71
+ t[7]
72
+ ),
73
+ highlightData: (
74
+ /*highlightData*/
75
+ t[5]
76
+ )
40
77
  }
41
78
  ]) : {};
42
79
  o.$set(h);
@@ -56,8 +93,14 @@ function N(l) {
56
93
  let o, r, f, g, t, m;
57
94
  const h = [
58
95
  {
59
- floorIndex: l[2],
60
- floorplanData: l[4]
96
+ floorIndex: (
97
+ /*floorIndex*/
98
+ l[2]
99
+ ),
100
+ floorplanData: (
101
+ /*floorplanData*/
102
+ l[4]
103
+ )
61
104
  }
62
105
  ];
63
106
  let s = {};
@@ -65,10 +108,16 @@ function N(l) {
65
108
  s = v(s, h[e]);
66
109
  o = new q({ props: s }), f = new F({
67
110
  props: {
68
- extraObjects: l[6]
111
+ extraObjects: (
112
+ /*currentFloorExtraObjects*/
113
+ l[6]
114
+ )
69
115
  }
70
116
  });
71
- let n = l[3] && k(l);
117
+ let n = (
118
+ /*hoverEnable*/
119
+ l[3] && k(l)
120
+ );
72
121
  return {
73
122
  c() {
74
123
  D(o.$$.fragment), r = j(), D(f.$$.fragment), g = j(), n && n.c(), t = H();
@@ -77,15 +126,26 @@ function N(l) {
77
126
  p(o, e, a), b(e, r, a), p(f, e, a), b(e, g, a), n && n.m(e, a), b(e, t, a), m = !0;
78
127
  },
79
128
  p(e, [a]) {
80
- const i = a & 20 ? x(h, [
129
+ const i = a & /*floorIndex, floorplanData*/
130
+ 20 ? x(h, [
81
131
  {
82
- floorIndex: e[2],
83
- floorplanData: e[4]
132
+ floorIndex: (
133
+ /*floorIndex*/
134
+ e[2]
135
+ ),
136
+ floorplanData: (
137
+ /*floorplanData*/
138
+ e[4]
139
+ )
84
140
  }
85
141
  ]) : {};
86
142
  o.$set(i);
87
143
  const I = {};
88
- a & 64 && (I.extraObjects = e[6]), f.$set(I), e[3] ? n ? (n.p(e, a), a & 8 && u(n, 1)) : (n = k(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (w(), _(n, 1, 1, () => {
144
+ a & /*currentFloorExtraObjects*/
145
+ 64 && (I.extraObjects = /*currentFloorExtraObjects*/
146
+ e[6]), f.$set(I), /*hoverEnable*/
147
+ e[3] ? n ? (n.p(e, a), a & /*hoverEnable*/
148
+ 8 && u(n, 1)) : (n = k(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (w(), _(n, 1, 1, () => {
89
149
  n = null;
90
150
  }), R());
91
151
  },
@@ -106,7 +166,8 @@ function S(l, o, r) {
106
166
  return l.$$set = (i) => {
107
167
  "five" in i && r(0, g = i.five), "pxmm" in i && r(1, t = i.pxmm), "floorIndex" in i && r(2, m = i.floorIndex), "hoverEnable" in i && r(3, h = i.hoverEnable), "floorplanData" in i && r(4, s = i.floorplanData), "extraObjects" in i && r(8, n = i.extraObjects), "highlightData" in i && r(5, e = i.highlightData);
108
168
  }, l.$$.update = () => {
109
- l.$$.dirty & 260 && r(6, f = n == null ? void 0 : n.filter((i) => i.floorIndex === m));
169
+ l.$$.dirty & /*extraObjects, floorIndex*/
170
+ 260 && r(6, f = n == null ? void 0 : n.filter((i) => i.floorIndex === m));
110
171
  }, [
111
172
  g,
112
173
  t,