@realsee/dnalogel 2.28.0-dev.0 → 2.28.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 (408) hide show
  1. package/dist/AreaMakerPlugin/Controller.d.ts +94 -0
  2. package/dist/AreaMakerPlugin/index.d.ts +4 -0
  3. package/dist/AreaMakerPlugin/typing.d.ts +148 -0
  4. package/dist/AreaMakerPlugin/utils/Item.d.ts +114 -0
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  8. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  9. package/dist/base/BasePluginWithData.d.ts +1 -1
  10. package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  11. package/dist/floorplan/index.d.ts +0 -1
  12. package/dist/floorplan/utils/correctFiveState.d.ts +2 -0
  13. package/dist/index.cjs.js +67 -67
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +6898 -7187
  16. package/dist/index.umd.js +60 -60
  17. package/dist/shared-utils/index.d.ts +1 -0
  18. package/dist/shared-utils/math/planimetry.d.ts +1 -1
  19. package/dist/shared-utils/three/core/Object3D.d.ts +8 -0
  20. package/dist/shared-utils/three/index.d.ts +2 -0
  21. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  22. package/dist/shared-utils/three/objects/LineSegments.d.ts +9 -0
  23. package/libs/AreaMakerPlugin/Controller.d.ts +94 -0
  24. package/libs/AreaMakerPlugin/Controller.js +336 -0
  25. package/libs/AreaMakerPlugin/index.d.ts +4 -0
  26. package/libs/AreaMakerPlugin/index.js +37 -0
  27. package/libs/AreaMakerPlugin/typing.d.ts +148 -0
  28. package/libs/AreaMakerPlugin/utils/Item.d.ts +114 -0
  29. package/libs/AreaMakerPlugin/utils/Item.js +263 -0
  30. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -39
  31. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  32. package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
  33. package/libs/PanoTagPlugin/controller/TagRender.js +19 -18
  34. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  35. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  36. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  37. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
  38. package/libs/base/BasePlugin.js +1 -1
  39. package/libs/base/BasePluginWithData.d.ts +1 -1
  40. package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  41. package/libs/components/AreaLabel/Assets/roomLabelBg.js +4 -0
  42. package/libs/components/AreaLabel/LabelItem.js +125 -0
  43. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +49 -48
  44. package/libs/floorplan/index.d.ts +0 -1
  45. package/libs/floorplan/utils/correctFiveState.d.ts +2 -0
  46. package/libs/floorplan/utils/correctFiveState.js +28 -28
  47. package/libs/index.d.ts +1 -0
  48. package/libs/index.js +120 -122
  49. package/libs/shared-utils/device.js +0 -1
  50. package/libs/shared-utils/five/changeMode.js +32 -29
  51. package/libs/shared-utils/index.d.ts +1 -0
  52. package/libs/shared-utils/index.js +27 -21
  53. package/libs/shared-utils/logger.js +1 -1
  54. package/libs/shared-utils/math/planimetry.d.ts +1 -1
  55. package/libs/shared-utils/math/planimetry.js +36 -29
  56. package/libs/shared-utils/three/core/Object3D.d.ts +8 -0
  57. package/libs/shared-utils/three/core/Object3D.js +22 -0
  58. package/libs/shared-utils/three/index.d.ts +2 -0
  59. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  60. package/libs/shared-utils/three/loadVideoTexture.js +6 -6
  61. package/libs/shared-utils/three/objects/LineSegments.d.ts +9 -0
  62. package/libs/shared-utils/three/objects/LineSegments.js +9 -0
  63. package/libs/vendor/svelte/internal/index.js +79 -85
  64. package/package.json +2 -2
  65. package/dist/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
  66. package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
  67. package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
  68. package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
  69. package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
  70. package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
  71. package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
  72. package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
  73. package/docs/.nojekyll +0 -1
  74. package/docs/assets/highlight.css +0 -120
  75. package/docs/assets/main.js +0 -58
  76. package/docs/assets/search.js +0 -1
  77. package/docs/assets/style.css +0 -1367
  78. package/docs/classes/CSS3DRender.html +0 -770
  79. package/docs/classes/CruisePluginController.html +0 -669
  80. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -488
  81. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -789
  82. package/docs/classes/Magnifier.html +0 -477
  83. package/docs/classes/ModelRoomLabelController.html +0 -395
  84. package/docs/classes/Object3DHelperController.html +0 -637
  85. package/docs/classes/PaintBrush.html +0 -499
  86. package/docs/classes/PanoMeasurePluginLine.html +0 -519
  87. package/docs/classes/PanoMeasurePluginModel.html +0 -568
  88. package/docs/classes/PanoMeasurePluginPoint.html +0 -359
  89. package/docs/classes/PanoMeasurePluginPolyline.html +0 -564
  90. package/docs/classes/PanoTagPluginController.html +0 -1087
  91. package/docs/classes/Util.BetterTween.html +0 -409
  92. package/docs/classes/Util.Interval.html +0 -425
  93. package/docs/classes/Util.Magnifier.html +0 -496
  94. package/docs/classes/Util.PointDomHelper.html +0 -400
  95. package/docs/classes/Util.PointHelper.html +0 -391
  96. package/docs/classes/Util.PointSelectorHelper.html +0 -447
  97. package/docs/classes/Util.Rectangle.html +0 -448
  98. package/docs/enums/CameraMovementEffect.html +0 -307
  99. package/docs/enums/ContentType.html +0 -443
  100. package/docs/enums/DIRECTION.html +0 -317
  101. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -317
  102. package/docs/enums/DimensionType.html +0 -307
  103. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -310
  104. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -317
  105. package/docs/enums/PaintBrushTypeEnum.html +0 -310
  106. package/docs/enums/PointType.html +0 -307
  107. package/docs/enums/Rotation.html +0 -314
  108. package/docs/functions/CSS3DRenderPlugin.html +0 -285
  109. package/docs/functions/CameraMovementPlugin.html +0 -290
  110. package/docs/functions/CruisePlugin.html +0 -287
  111. package/docs/functions/FloorplanRoomsPlugin.html +0 -285
  112. package/docs/functions/GuideLinePlugin.html +0 -287
  113. package/docs/functions/ItemLabelPlugin.html +0 -287
  114. package/docs/functions/MapviewFloorplanPlugin.html +0 -287
  115. package/docs/functions/ModelChassisCompassPlugin.html +0 -290
  116. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -290
  117. package/docs/functions/ModelFloorplanPlugin.html +0 -287
  118. package/docs/functions/ModelItemLabelPlugin.html +0 -287
  119. package/docs/functions/ModelRoomLabelPlugin.html +0 -285
  120. package/docs/functions/ModelTVVideoPlugin.html +0 -287
  121. package/docs/functions/ModelViewPlugin.html +0 -290
  122. package/docs/functions/Object3DHelperPlugin.html +0 -285
  123. package/docs/functions/PanoCompassPlugin.html +0 -287
  124. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -291
  125. package/docs/functions/PanoDoorLabelPlugin.html +0 -287
  126. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -287
  127. package/docs/functions/PanoMeasurePlugin.html +0 -287
  128. package/docs/functions/PanoRulerPlugin.html +0 -290
  129. package/docs/functions/PanoRulerProPlugin.html +0 -290
  130. package/docs/functions/PanoSpatialTagPlugin.html +0 -290
  131. package/docs/functions/PanoTagPlugin.html +0 -292
  132. package/docs/functions/PanoVideoPlugin.html +0 -296
  133. package/docs/functions/PipelinePlugin.html +0 -285
  134. package/docs/functions/TopviewFloorplanPlugin.html +0 -287
  135. package/docs/functions/Util.absoluteUrl.html +0 -319
  136. package/docs/functions/Util.getCoordsFromClient.html +0 -321
  137. package/docs/functions/Util.getCoordsFromElement.html +0 -321
  138. package/docs/functions/Util.getFrameTime.html +0 -313
  139. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -321
  140. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -321
  141. package/docs/functions/Util.isAbsoluteURL.html +0 -314
  142. package/docs/functions/Util.isModelLike.html +0 -314
  143. package/docs/functions/Util.isNil.html +0 -322
  144. package/docs/functions/Util.isPanoramaLike.html +0 -314
  145. package/docs/functions/Util.nextFrame.html +0 -327
  146. package/docs/functions/Util.notNil.html +0 -322
  147. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -343
  148. package/docs/functions/Util.tweenProgress.html +0 -316
  149. package/docs/functions/Util.uuid.html +0 -312
  150. package/docs/functions/pluginFlag.html +0 -285
  151. package/docs/index.html +0 -351
  152. package/docs/interfaces/AddTagConfig.html +0 -300
  153. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -446
  154. package/docs/interfaces/CSS3DRenderPluginState.html +0 -322
  155. package/docs/interfaces/CameraMovementPluginExportType.html +0 -355
  156. package/docs/interfaces/CruisePluginTypes.Config.html +0 -356
  157. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -358
  158. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -693
  159. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -382
  160. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -418
  161. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -408
  162. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -348
  163. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -316
  164. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -405
  165. package/docs/interfaces/EventMap.html +0 -539
  166. package/docs/interfaces/FloorplanBounding.html +0 -329
  167. package/docs/interfaces/FloorplanData.html +0 -332
  168. package/docs/interfaces/FloorplanEntrance.html +0 -357
  169. package/docs/interfaces/FloorplanExtraObject.html +0 -347
  170. package/docs/interfaces/FloorplanExtraObject3D.html +0 -336
  171. package/docs/interfaces/FloorplanFloorData.html +0 -325
  172. package/docs/interfaces/FloorplanImagePosition.html +0 -311
  173. package/docs/interfaces/FloorplanObserver.html +0 -329
  174. package/docs/interfaces/FloorplanOutlineItem.html +0 -325
  175. package/docs/interfaces/FloorplanPosition.html +0 -311
  176. package/docs/interfaces/FloorplanRoomItem.html +0 -376
  177. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -317
  178. package/docs/interfaces/FloorplanServerBounding.html +0 -329
  179. package/docs/interfaces/FloorplanServerComputedData.html +0 -328
  180. package/docs/interfaces/FloorplanServerData.html +0 -311
  181. package/docs/interfaces/FloorplanServerDoorItem.html +0 -328
  182. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -314
  183. package/docs/interfaces/FloorplanServerEntrance.html +0 -357
  184. package/docs/interfaces/FloorplanServerFloorData.html +0 -325
  185. package/docs/interfaces/FloorplanServerImagePosition.html +0 -311
  186. package/docs/interfaces/FloorplanServerObserver.html +0 -329
  187. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -325
  188. package/docs/interfaces/FloorplanServerPosition.html +0 -311
  189. package/docs/interfaces/FloorplanServerRoomItem.html +0 -388
  190. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -317
  191. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -320
  192. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -358
  193. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -522
  194. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -353
  195. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -344
  196. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -411
  197. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -343
  198. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -468
  199. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -340
  200. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -468
  201. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -305
  202. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -326
  203. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -351
  204. package/docs/interfaces/GuideLinePluginType.Route.html +0 -367
  205. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -349
  206. package/docs/interfaces/HelperOffset.html +0 -329
  207. package/docs/interfaces/ImagePlaneGroup.html +0 -303
  208. package/docs/interfaces/ItemLabelPluginData.html +0 -300
  209. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -385
  210. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -321
  211. package/docs/interfaces/MinMax.html +0 -307
  212. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -307
  213. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -343
  214. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -307
  215. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -314
  216. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -351
  217. package/docs/interfaces/ModelItemLabelPluginData.html +0 -300
  218. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -385
  219. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -307
  220. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -300
  221. package/docs/interfaces/ModelTVVideoPluginData.html +0 -321
  222. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -345
  223. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -300
  224. package/docs/interfaces/ModelViewPluginExportType.html +0 -413
  225. package/docs/interfaces/Object3DHelperState.html +0 -314
  226. package/docs/interfaces/ObjectHelperControllers.html +0 -321
  227. package/docs/interfaces/PaintBrushAction.html +0 -360
  228. package/docs/interfaces/PaintBrushConfigs.html +0 -358
  229. package/docs/interfaces/PaintBrushState.html +0 -342
  230. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -422
  231. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -279
  232. package/docs/interfaces/PanoMeasureParameterType.html +0 -446
  233. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -314
  234. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -311
  235. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -307
  236. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -317
  237. package/docs/interfaces/PanoRulerPluginExportType.html +0 -374
  238. package/docs/interfaces/PanoRulerPluginOptions.html +0 -323
  239. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -314
  240. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -350
  241. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -320
  242. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -307
  243. package/docs/interfaces/PanoRulerProPluginState.html +0 -314
  244. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -293
  245. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -282
  246. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -350
  247. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -332
  248. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -428
  249. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -328
  250. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -349
  251. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -335
  252. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -328
  253. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -320
  254. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -338
  255. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -311
  256. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -417
  257. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -311
  258. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -346
  259. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -365
  260. package/docs/interfaces/Point.html +0 -314
  261. package/docs/interfaces/Room.html +0 -321
  262. package/docs/interfaces/RoomInfo.html +0 -307
  263. package/docs/interfaces/RoomLabel.html +0 -383
  264. package/docs/interfaces/RoomRules.html +0 -282
  265. package/docs/interfaces/Rooms.html +0 -282
  266. package/docs/interfaces/Scissor.html +0 -341
  267. package/docs/interfaces/State.html +0 -328
  268. package/docs/interfaces/TagCacheInterface.html +0 -352
  269. package/docs/interfaces/TagConfig.html +0 -542
  270. package/docs/interfaces/TagGLTFObjectGroup.html +0 -303
  271. package/docs/interfaces/TagIconUrl.html +0 -360
  272. package/docs/interfaces/TagObjectGroup.html +0 -303
  273. package/docs/interfaces/TagStyle.html +0 -313
  274. package/docs/interfaces/Tags.html +0 -543
  275. package/docs/interfaces/TemporaryState.html +0 -300
  276. package/docs/interfaces/Util.MagnifierParameter.html +0 -384
  277. package/docs/interfaces/Util.MouseGroupParameter.html +0 -343
  278. package/docs/interfaces/Util.PointIntersection.html +0 -358
  279. package/docs/modules/CruisePluginTypes.html +0 -325
  280. package/docs/modules/GuideLineItem.html +0 -286
  281. package/docs/modules/GuideLineModeItem.html +0 -291
  282. package/docs/modules/GuideLinePluginType.html +0 -345
  283. package/docs/modules/PanoVideoPluginType.html +0 -298
  284. package/docs/modules/Util.html +0 -340
  285. package/docs/modules.html +0 -534
  286. package/docs/types/ArrayPosition.html +0 -276
  287. package/docs/types/AudioAppearance.html +0 -276
  288. package/docs/types/AudioTagTypeConfigKey.html +0 -276
  289. package/docs/types/CSS3DRenderExportType.html +0 -276
  290. package/docs/types/CSS3DRenderPluginExportType.html +0 -276
  291. package/docs/types/CSS3DRenderPluginParameterType.html +0 -276
  292. package/docs/types/ClassFunctionParameters.html +0 -283
  293. package/docs/types/Color.html +0 -276
  294. package/docs/types/ContentTypeConfigKey.html +0 -276
  295. package/docs/types/ContentTypeConfigKeySplit.html +0 -276
  296. package/docs/types/ContentTypeMap.html +0 -276
  297. package/docs/types/Create3DDomContainerReturnType.html +0 -276
  298. package/docs/types/Create3DElementReturnType.html +0 -276
  299. package/docs/types/CruisePluginExportType.html +0 -276
  300. package/docs/types/CruisePluginTypes.CruiseData.html +0 -315
  301. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -292
  302. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -288
  303. package/docs/types/DeprecatedTagProperty.html +0 -291
  304. package/docs/types/Direction-1.html +0 -276
  305. package/docs/types/Direction4.html +0 -276
  306. package/docs/types/ElementRenderer.html +0 -300
  307. package/docs/types/FloorplanRoomsPluginParameterType.html +0 -276
  308. package/docs/types/FloorplanRoomsPluginReturnType.html +0 -276
  309. package/docs/types/FloorplanRuleLabels.html +0 -279
  310. package/docs/types/FloorplanServerRuleLabels.html +0 -276
  311. package/docs/types/GuideLinePluginExportType.html +0 -276
  312. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -348
  313. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -369
  314. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -302
  315. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -305
  316. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -305
  317. package/docs/types/GuideLinePluginType.PathItem.html +0 -305
  318. package/docs/types/GuideLinePluginType.PluginData.html +0 -314
  319. package/docs/types/HelperEventMap.html +0 -514
  320. package/docs/types/LoadTagConfig.html +0 -276
  321. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -276
  322. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -276
  323. package/docs/types/MediaData.html +0 -292
  324. package/docs/types/MediaStore.html +0 -281
  325. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -283
  326. package/docs/types/ModelFloorplanPluginParameterType.html +0 -276
  327. package/docs/types/ModelFloorplanPluginReturnType.html +0 -276
  328. package/docs/types/ModelRoomLabelPluginParameters.html +0 -276
  329. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -276
  330. package/docs/types/MoveArgs.html +0 -286
  331. package/docs/types/MoveOpts.html +0 -284
  332. package/docs/types/Object3DHelperEventMap.html +0 -369
  333. package/docs/types/ObjectFit.html +0 -276
  334. package/docs/types/PaintBrushEventMap.html +0 -307
  335. package/docs/types/PanoCompassPluginData.html +0 -276
  336. package/docs/types/PanoCompassPluginExportType.html +0 -276
  337. package/docs/types/PanoCompassPluginParameterType.html +0 -276
  338. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -276
  339. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -276
  340. package/docs/types/PanoIndex.html +0 -276
  341. package/docs/types/PanoMeasurePluginEvent.html +0 -276
  342. package/docs/types/PanoMeasureReturnType.html +0 -276
  343. package/docs/types/PanoSpatialTagPluginId.html +0 -276
  344. package/docs/types/PanoTagPluginExportInterface.html +0 -276
  345. package/docs/types/PanoTagPluginParamsInterface.html +0 -276
  346. package/docs/types/PanoVideoPluginParameterType.html +0 -276
  347. package/docs/types/PanoVideoPluginReturnType.html +0 -276
  348. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -284
  349. package/docs/types/PipelinePluginParameterType.html +0 -276
  350. package/docs/types/PipelinePluginReturnType.html +0 -276
  351. package/docs/types/PlaneTag.html +0 -284
  352. package/docs/types/Point2DTag.html +0 -284
  353. package/docs/types/Point3DTag.html +0 -284
  354. package/docs/types/PointTag.html +0 -281
  355. package/docs/types/PointTagInstance.html +0 -281
  356. package/docs/types/Position.html +0 -276
  357. package/docs/types/RotateArgs.html +0 -288
  358. package/docs/types/RotateOpts.html +0 -284
  359. package/docs/types/RuleLabelsKey.html +0 -276
  360. package/docs/types/RuleLabelsValue.html +0 -276
  361. package/docs/types/StickType.html +0 -276
  362. package/docs/types/Tag.html +0 -342
  363. package/docs/types/Tag2D.html +0 -284
  364. package/docs/types/Tag3D.html +0 -284
  365. package/docs/types/TagConfigByKey.html +0 -281
  366. package/docs/types/TagContentType.html +0 -276
  367. package/docs/types/TagDimensionType.html +0 -278
  368. package/docs/types/TagElement.html +0 -286
  369. package/docs/types/TagEvents.html +0 -329
  370. package/docs/types/TagGLTFObject.html +0 -299
  371. package/docs/types/TagHooks.html +0 -276
  372. package/docs/types/TagId.html +0 -276
  373. package/docs/types/TagInstance.html +0 -348
  374. package/docs/types/TagPointType.html +0 -279
  375. package/docs/types/TagRendererMap.html +0 -281
  376. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -276
  377. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -276
  378. package/docs/types/WorkCode.html +0 -276
  379. package/docs/variables/FLOOR_TYPE_MAP.html +0 -286
  380. package/docs/variables/PLUGIN.html +0 -276
  381. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -279
  382. package/docs/variables/ROOM_TYPE_MAP.html +0 -286
  383. package/docs/variables/defaultGlobalConfig.html +0 -276
  384. package/docs/variables/itemLabelPluginServerParams.html +0 -283
  385. package/docs/variables/modelItemLabelPluginServerParams.html +0 -283
  386. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -283
  387. package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
  388. package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +0 -51
  389. package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
  390. package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +0 -25
  391. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +0 -188
  392. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
  393. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
  394. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
  395. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +0 -111
  396. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
  397. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +0 -191
  398. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
  399. package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +0 -237
  400. package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
  401. package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
  402. package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +0 -207
  403. package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
  404. package/libs/floorplan/FloorplanRoomsPlugin/index.js +0 -43
  405. package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
  406. /package/dist/{floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts → components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
  407. /package/libs/{floorplan/FloorplanRoomsPlugin → AreaMakerPlugin}/typing.js +0 -0
  408. /package/{dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts → libs/components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
@@ -163,15 +163,16 @@ class ri extends w {
163
163
  if (!e)
164
164
  return;
165
165
  const o = F(e).then((r) => {
166
- var l, m, h, d, u;
166
+ var l, m, h, p, u;
167
167
  const s = Object.assign(r.scene, {
168
168
  customID: t.id,
169
169
  isTagModel: !0,
170
- removeEventListener: this.addObjectClickHandler(t, r.scene, (c) => {
170
+ removeEventListener: t.config.clickable === !1 ? () => {
171
+ } : this.addObjectClickHandler(t, r.scene, (c) => {
171
172
  this.hooks.emit("click", { target: "TagModel", tag: t, event: c });
172
173
  })
173
174
  });
174
- return s.visible = this.getCurrentVisibleState(t), new g().fromArray(t.matrix).decompose(s.position, s.quaternion, s.scale), s.updateWorldMatrix(!0, !0), s.visible = this.getVisibleByFiveMode(t), (h = (m = (l = this.config) == null ? void 0 : l.globalConfig) == null ? void 0 : m.modelConfig) != null && h.autoLookAtEnabled && ((u = (d = t.config) == null ? void 0 : d.modelConfig) != null && u.autoLookAtEnabled) && s.lookAt(this.five.camera.position.clone().setY(s.position.y)), s;
175
+ return s.visible = this.getCurrentVisibleState(t), new g().fromArray(t.matrix).decompose(s.position, s.quaternion, s.scale), s.updateWorldMatrix(!0, !0), s.visible = this.getVisibleByFiveMode(t), (h = (m = (l = this.config) == null ? void 0 : l.globalConfig) == null ? void 0 : m.modelConfig) != null && h.autoLookAtEnabled && ((u = (p = t.config) == null ? void 0 : p.modelConfig) != null && u.autoLookAtEnabled) && s.lookAt(this.five.camera.position.clone().setY(s.position.y)), s;
175
176
  });
176
177
  t.model = { promise: o };
177
178
  const i = yield o;
@@ -222,7 +223,7 @@ class ri extends w {
222
223
  var o, i;
223
224
  return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Video";
224
225
  }).forEach((e) => {
225
- var l, m, h, d, u;
226
+ var l, m, h, p, u;
226
227
  const o = e.data.mediaData[0];
227
228
  if (!o)
228
229
  return;
@@ -230,8 +231,8 @@ class ri extends w {
230
231
  if (!i)
231
232
  return;
232
233
  e.mediaPlane && !((m = (l = e.state) == null ? void 0 : l.visible) == null || m) && e.mediaPlane instanceof R && e.mediaPlane.pause();
233
- const n = e.position.map(C), a = this.getCurrentVisibleState(e), r = (() => !!(e.mediaPlane && !a))(), s = (() => !!(!e.mediaPlane && a))(), p = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
234
- if ((r || p) && (e.mediaPlane && this.imagePlaneGroup.remove(e.mediaPlane), (h = e.mediaPlane) == null || h.dispose(), (d = e.mediaPlane) == null || d.removeFromParent(), e.mediaPlane = void 0), s || p) {
234
+ const n = e.position.map(C), a = this.getCurrentVisibleState(e), r = (() => !!(e.mediaPlane && !a))(), s = (() => !!(!e.mediaPlane && a))(), d = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
235
+ if ((r || d) && (e.mediaPlane && this.imagePlaneGroup.remove(e.mediaPlane), (h = e.mediaPlane) == null || h.dispose(), (p = e.mediaPlane) == null || p.removeFromParent(), e.mediaPlane = void 0), s || d) {
235
236
  const c = new R(i, n, {
236
237
  videoCoverSrc: o.videoCoverUrl,
237
238
  playButton: e.data.playIcon,
@@ -257,12 +258,12 @@ class ri extends w {
257
258
  var o, i;
258
259
  return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Image";
259
260
  }).forEach((e) => {
260
- var p, l;
261
+ var d, l;
261
262
  const { url: o } = e.data.mediaData[0];
262
263
  if (!o)
263
264
  return;
264
265
  const i = e.position.map(C), n = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !n))(), r = (() => !!(!e.mediaPlane && n))(), s = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
265
- (a || s) && (e.mediaPlane && this.imagePlaneGroup.remove(e.mediaPlane), (p = e.mediaPlane) == null || p.dispose(), (l = e.mediaPlane) == null || l.removeFromParent(), e.mediaPlane = void 0), (r || s) && (e.mediaPlane = new j(o, i, { objectFit: e.data.objectFit }), e.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (m) => {
266
+ (a || s) && (e.mediaPlane && this.imagePlaneGroup.remove(e.mediaPlane), (d = e.mediaPlane) == null || d.dispose(), (l = e.mediaPlane) == null || l.removeFromParent(), e.mediaPlane = void 0), (r || s) && (e.mediaPlane = new j(o, i, { objectFit: e.data.objectFit }), e.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (m) => {
266
267
  this.hooks.emit("click", { tag: e, target: "TagContent", event: m.origDomEvent });
267
268
  }), this.imagePlaneGroup.add(e.mediaPlane));
268
269
  });
@@ -274,9 +275,9 @@ class ri extends w {
274
275
  this.sort([...this.filterCSS3DTag]).forEach((e) => {
275
276
  var o, i, n, a;
276
277
  if (e.tag3DContentSvelte) {
277
- const { svelteApp: r, css3DInstance: s, initialNormal: p, currentNormal: l } = e.tag3DContentSvelte;
278
- if (r.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !p.equals(l)) {
279
- const m = new O().setFromUnitVectors(p, l);
278
+ const { svelteApp: r, css3DInstance: s, initialNormal: d, currentNormal: l } = e.tag3DContentSvelte;
279
+ if (r.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !d.equals(l)) {
280
+ const m = new O().setFromUnitVectors(d, l);
280
281
  s.css3DObject.setRotationFromQuaternion(m);
281
282
  }
282
283
  return;
@@ -291,13 +292,13 @@ class ri extends w {
291
292
  const s = this.getTagNormal(e);
292
293
  if (!s)
293
294
  return;
294
- const l = (n = this.getTagConfig(e).tag3DConfig) != null ? n : {};
295
+ const d = this.getTagConfig(e), l = (n = d.tag3DConfig) != null ? n : {};
295
296
  if (this.getRenderType(e) === "BehindDom") {
296
297
  l.mode = "behind", l.container = document.createElement("div");
297
- const d = "black";
298
- l.container.style.backgroundColor = d, l.container.style.border = `3px solid ${d}`, this.css3DRenderPlugin.hooks.on("render", () => {
298
+ const p = "black";
299
+ l.container.style.backgroundColor = p, l.container.style.border = `3px solid ${p}`, this.css3DRenderPlugin.hooks.on("render", () => {
299
300
  var u;
300
- if (m.css3DObject.opacityMesh) {
301
+ if (m.css3DObject.opacityMesh && d.clickable !== !1) {
301
302
  const c = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (v) => {
302
303
  this.hooks.emit("click", { event: v, target: "TagContent", tag: e });
303
304
  });
@@ -368,10 +369,10 @@ class ri extends w {
368
369
  if (!n || n.length !== 4 || !Array.isArray(n[0]) || !Array.isArray(n[2]))
369
370
  return;
370
371
  e.updateWorldMatrix(!1, !1);
371
- const a = e.matrixWorld, r = new D().fromArray(n[0]), s = new D().fromArray(n[2]), p = x(r, s).add(new D(0, 0, 5e-4)), l = new g().setPosition(p), m = new g().makeScale(o, o, o), h = new g().multiply(a).multiply(l).multiply(m);
372
+ const a = e.matrixWorld, r = new D().fromArray(n[0]), s = new D().fromArray(n[2]), d = x(r, s).add(new D(0, 0, 5e-4)), l = new g().setPosition(d), m = new g().makeScale(o, o, o), h = new g().multiply(a).multiply(l).multiply(m);
372
373
  h.decompose(i.position, i.quaternion, i.scale);
373
- const d = i.opacityMesh;
374
- d && h.decompose(d.position, d.quaternion, d.scale);
374
+ const p = i.opacityMesh;
375
+ p && h.decompose(p.position, p.quaternion, p.scale);
375
376
  }
376
377
  /** 添加模型标签 */
377
378
  addMediaModelTag(t) {
@@ -33,7 +33,7 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
33
33
  /** 标签 wrapper 的 classname */
34
34
  className?: string;
35
35
  /** 标签数据 */
36
- data: C extends TagContentType ? ContentTypeMap[C] : ContentTypeMap[keyof ContentTypeMap];
36
+ data: ContentTypeMap[C];
37
37
  /** 「展开/收起」 「可见/不可见」 的策略配置 */
38
38
  config?: TagConfig<C>;
39
39
  /** 打标签时的 five state */
@@ -141,9 +141,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
141
141
  * @description: 标签的默认数据,会将 tag.data 深度合并进来
142
142
  * @code `tag.data = ObjectAssignDeep(initialData, tag.data)`
143
143
  */
144
- initialData?: (C extends TagContentType ? PartialObjectDeep<ContentTypeMap[C]> : {
145
- [key: string]: any;
146
- }) & {
144
+ initialData?: PartialObjectDeep<ContentTypeMap[C]> & {
147
145
  /**
148
146
  * @description: 类似 css 的 !important,会覆盖掉 tag.data 中对应的数据
149
147
  * @code
@@ -173,5 +171,5 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
173
171
  clickable?: boolean;
174
172
  isMerged?: boolean;
175
173
  }
176
- export declare const defaultGlobalConfig: TagConfig<any>;
174
+ export declare const defaultGlobalConfig: TagConfig;
177
175
  export {};
@@ -156,6 +156,8 @@ interface ContentTypeMapInterface {
156
156
  type ContentTypeMapInterfaceWithExtraData = {
157
157
  [key in keyof ContentTypeMapInterface]: ContentTypeMapInterface[key] & {
158
158
  extraData?: Object;
159
+ } & {
160
+ [key: string]: any;
159
161
  };
160
162
  };
161
163
  export type ContentTypeMap = Pick<ContentTypeMapInterfaceWithExtraData, TagContentType>;
@@ -24,7 +24,7 @@ import { loadTexture as T } from "../../../shared-utils/three/loadTexture.js";
24
24
  import { QuadrangleGeometry as F, QuadrangleMesh as I } from "../../../shared-utils/three/Quadrangle.js";
25
25
  import { getVideoTexture as B } from "../../../shared-utils/three/loadVideoTexture.js";
26
26
  import { Image_Play_Icon_With_Text as L, Image_Play_Icon as b } from "../../Assets/Icon.js";
27
- import { getPositionsByObjectFit as g } from "../../../shared-utils/three/getPositionsByObjectFit.js";
27
+ import { getPositionsByObjectFit as f } from "../../../shared-utils/three/getPositionsByObjectFit.js";
28
28
  import { FragmentTransparencyMaterial as H } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
29
29
  import "../../../shared-utils/math/pointIsRectangle.js";
30
30
  import "../../../shared-utils/device.js";
@@ -65,15 +65,15 @@ class G extends P {
65
65
  a = t.map((h) => h.clone().add(i));
66
66
  }
67
67
  T(e).then((i) => {
68
- var f;
69
- const h = new URL(e, location.href).pathname.endsWith(".png"), u = new l.MeshBasicMaterial({ map: i, transparent: h }), p = g(
70
- (f = s == null ? void 0 : s.objectFit) != null ? f : "contain",
68
+ var g;
69
+ const h = new URL(e, location.href).pathname.endsWith(".png"), u = new l.MeshBasicMaterial({ map: i, transparent: h }), p = f(
70
+ (g = s == null ? void 0 : s.objectFit) != null ? g : "contain",
71
71
  a,
72
72
  i.image.width / i.image.height
73
73
  ), m = x(...p), M = p.map((V) => V.clone().sub(m)), y = new F(M);
74
74
  this.position.copy(m), this.geometry = y, this.material = u;
75
75
  }).catch((i) => {
76
- console.error(`Imageplane error ${i}`);
76
+ console.error(`Imageplane error ${i == null ? void 0 : i.message}`);
77
77
  });
78
78
  }
79
79
  }
@@ -155,7 +155,7 @@ class O extends P {
155
155
  const t = yield this.getImageTexture(this.videoCoverSrc);
156
156
  if (!t)
157
157
  return;
158
- const s = new l.MeshBasicMaterial({ transparent: !1, map: t }), o = g(this.objectFit, this.cornerPoints, t.image.width / t.image.height), a = new I(o, s);
158
+ const s = new l.MeshBasicMaterial({ transparent: !1, map: t }), o = f(this.objectFit, this.cornerPoints, t.image.width / t.image.height), a = new I(o, s);
159
159
  return a.position.copy(new w(0, 0, 0)), a.name = "videoCoverMesh", a;
160
160
  }))();
161
161
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -171,9 +171,9 @@ class O extends P {
171
171
  if (!this.src)
172
172
  return;
173
173
  const s = this.getVideoTexture(this.src), o = new l.MeshBasicMaterial({ transparent: !1, map: s }), a = yield new Promise((i) => {
174
- s.metadataLoaded ? i(g(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
174
+ s.metadataLoaded ? i(f(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
175
175
  "videoLoaded",
176
- () => i(g(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
176
+ () => i(f(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
177
177
  );
178
178
  }), n = new I(a, o);
179
179
  return n.name = "videoMesh", n.position.copy(new w(0, 0, 0)), n;
@@ -196,10 +196,10 @@ class O extends P {
196
196
  if (this.children.includes(this.buttonMesh))
197
197
  return;
198
198
  const e = yield (() => v(this, null, function* () {
199
- var m, M, y, f;
199
+ var m, M, y, g;
200
200
  if (this.buttonMesh)
201
201
  return this.buttonMesh;
202
- const t = (M = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? M : 1 / 0, s = (f = (y = this.coverMesh) == null ? void 0 : y.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? f : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, s, o) / o * 0.3, i = yield this.getImageTexture(this.buttonSrc), h = g("contain", this.cornerPoints, i.image.width / i.image.height), u = new I(h, new H(i));
202
+ const t = (M = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? M : 1 / 0, s = (g = (y = this.coverMesh) == null ? void 0 : y.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, s, o) / o * 0.3, i = yield this.getImageTexture(this.buttonSrc), h = f("contain", this.cornerPoints, i.image.width / i.image.height), u = new I(h, new H(i));
203
203
  u.position.copy(new w(0, 0, 0)), u.name = "buttonMesh", u.scale.set(n, n, n), this.domEvents.addAutoBindEventListener(u, "click", () => this.play());
204
204
  const p = new l.Vector3().crossVectors(new l.Vector3().subVectors(h[0], h[1]), new l.Vector3().subVectors(h[0], h[3])).normalize().multiplyScalar(1e-4);
205
205
  return u.position.add(p), u;
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.28.0-dev.0");
17
+ i(this, "VERSION", "2.28.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -16,7 +16,7 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
16
16
  */
17
17
  abstract load(serverData: PluginServerData, state?: PluginState, userAction?: boolean): Promise<void>;
18
18
  /** 把原始数据转化为插件数据 */
19
- protected abstract formatData?(serverData: PluginServerData): Promise<PluginData>;
19
+ protected abstract formatData?(serverData: PluginServerData): Promise<PluginData> | PluginData;
20
20
  }
21
21
  export type { State, EventMap, Config };
22
22
  export type { BaseOptions } from './BasePlugin';
@@ -0,0 +1 @@
1
+ export declare const ROOM_LABEL_BG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMxOr+e/ye3y7989p3/9jfvHnz2q1bt25oMb549913/3Lwzjvv/Mu3337775988smdzz///AcVQ+IecsAOp8OOHR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5zoxsQgKD7O/OgIT3OLgrrkLAMR9EuQYsXLlWO5ePNMJ25s7Fhv8EIraduDDOJI7kfh6FT98M6Ka/GrLbE0/131X79+/YVXX331+tNPP32b3nt1tGhXP/rooz/ruf9N/YzWQ/2e2c8Cfg7Wz8RC9WkeE8pj/rQltMRH/jXdsdreAEp04mg8u22zYhvZ9IPueLE4puMLfnjRKzKCbD4ZHv9oK/mwaPOlm/ukkbFwjKLj428j8t8DEEvN9xJoJuhsDI9lxOeHXr3zE8cGm7fpQMfNgR54ntXmYXzx1ltvbX64VUl4SH//66+/fl2/5ndLC/BHMV/Q6ypN06Bm3lgFaKMcEbj+bDHN88/curvewF4hjhNWasrwhy/0waIPjylyYjp49Ag++NhFhi7F+jeEFcc/H6w5TYbnxo2OoufXmNPcX+XWv4QLMo+taJkfeY4gvtRs/n8vzY/cssxB5CyKxi96/aB+/Y9+KfE/X3vttS8lI7e9/wfu514OAjYP0QAAAABJRU5ErkJggg==";
2
+ export {
3
+ A as ROOM_LABEL_BG
4
+ };
@@ -0,0 +1,125 @@
1
+ import { SvelteComponent as v, init as p, safe_not_equal as h, append_styles as z, element as d, text as k, space as y, attr as u, set_style as l, toggle_class as g, insert as q, append as b, listen as w, set_data as x, noop as _, detach as C, is_function as I } from "../../vendor/svelte/internal/index.js";
2
+ import { ROOM_LABEL_BG as L } from "./Assets/roomLabelBg.js";
3
+ function B(t) {
4
+ z(t, "svelte-qxepni", ".room-label-item.svelte-qxepni{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-qxepni{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-qxepni{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-qxepni{font-size:0.625rem}");
5
+ }
6
+ function O(t) {
7
+ let e, i, r, f, a, m, c;
8
+ return {
9
+ c() {
10
+ e = d("div"), i = d("span"), r = k(
11
+ /*content*/
12
+ t[0]
13
+ ), f = y(), a = d("div"), u(i, "class", "room-label-item__text svelte-qxepni"), l(i, "background-image", "url(" + L + ")"), g(
14
+ i,
15
+ "wide",
16
+ /*content*/
17
+ t[0].length > 3
18
+ ), u(a, "class", "room-label-item__bar svelte-qxepni"), u(e, "class", "room-label-item svelte-qxepni"), l(
19
+ e,
20
+ "z-index",
21
+ /*zIndex*/
22
+ t[2]
23
+ ), l(
24
+ e,
25
+ "transform",
26
+ /*transform*/
27
+ t[3]
28
+ ), l(
29
+ e,
30
+ "opacity",
31
+ /*opacity*/
32
+ t[1]
33
+ ), l(
34
+ e,
35
+ "visibility",
36
+ /*visibility*/
37
+ t[5]
38
+ );
39
+ },
40
+ m(s, o) {
41
+ q(s, e, o), b(e, i), b(i, r), b(e, f), b(e, a), m || (c = w(i, "click", function() {
42
+ I(
43
+ /*onClick*/
44
+ t[4]
45
+ ) && t[4].apply(this, arguments);
46
+ }), m = !0);
47
+ },
48
+ p(s, [o]) {
49
+ t = s, o & /*content*/
50
+ 1 && x(
51
+ r,
52
+ /*content*/
53
+ t[0]
54
+ ), o & /*content*/
55
+ 1 && g(
56
+ i,
57
+ "wide",
58
+ /*content*/
59
+ t[0].length > 3
60
+ ), o & /*zIndex*/
61
+ 4 && l(
62
+ e,
63
+ "z-index",
64
+ /*zIndex*/
65
+ t[2]
66
+ ), o & /*transform*/
67
+ 8 && l(
68
+ e,
69
+ "transform",
70
+ /*transform*/
71
+ t[3]
72
+ ), o & /*opacity*/
73
+ 2 && l(
74
+ e,
75
+ "opacity",
76
+ /*opacity*/
77
+ t[1]
78
+ ), o & /*visibility*/
79
+ 32 && l(
80
+ e,
81
+ "visibility",
82
+ /*visibility*/
83
+ t[5]
84
+ );
85
+ },
86
+ i: _,
87
+ o: _,
88
+ d(s) {
89
+ s && C(e), m = !1, c();
90
+ }
91
+ };
92
+ }
93
+ function j(t, e, i) {
94
+ let r, { content: f } = e, { visible: a } = e, { opacity: m = 1 } = e, { zIndex: c = 0 } = e, { transform: s } = e, { onClick: o = () => {
95
+ } } = e;
96
+ return t.$$set = (n) => {
97
+ "content" in n && i(0, f = n.content), "visible" in n && i(6, a = n.visible), "opacity" in n && i(1, m = n.opacity), "zIndex" in n && i(2, c = n.zIndex), "transform" in n && i(3, s = n.transform), "onClick" in n && i(4, o = n.onClick);
98
+ }, t.$$.update = () => {
99
+ t.$$.dirty & /*visible*/
100
+ 64 && i(5, r = a ? "visible" : "hidden");
101
+ }, [f, m, c, s, o, r, a];
102
+ }
103
+ class G extends v {
104
+ constructor(e) {
105
+ super(), p(
106
+ this,
107
+ e,
108
+ j,
109
+ O,
110
+ h,
111
+ {
112
+ content: 0,
113
+ visible: 6,
114
+ opacity: 1,
115
+ zIndex: 2,
116
+ transform: 3,
117
+ onClick: 4
118
+ },
119
+ B
120
+ );
121
+ }
122
+ }
123
+ export {
124
+ G as LabelItem
125
+ };
@@ -1,18 +1,18 @@
1
- var S = Object.defineProperty, A = Object.defineProperties;
2
- var P = Object.getOwnPropertyDescriptors;
3
- var w = Object.getOwnPropertySymbols;
4
- var E = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var m = (d, n, t) => n in d ? S(d, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[n] = t, c = (d, n) => {
6
- for (var t in n || (n = {}))
7
- E.call(n, t) && m(d, t, n[t]);
8
- if (w)
9
- for (var t of w(n))
10
- C.call(n, t) && m(d, t, n[t]);
1
+ var A = Object.defineProperty, P = Object.defineProperties;
2
+ var E = Object.getOwnPropertyDescriptors;
3
+ var g = Object.getOwnPropertySymbols;
4
+ var C = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
+ var m = (d, r, t) => r in d ? A(d, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[r] = t, c = (d, r) => {
6
+ for (var t in r || (r = {}))
7
+ C.call(r, t) && m(d, t, r[t]);
8
+ if (g)
9
+ for (var t of g(r))
10
+ I.call(r, t) && m(d, t, r[t]);
11
11
  return d;
12
- }, v = (d, n) => A(d, P(n));
13
- var o = (d, n, t) => (m(d, typeof n != "symbol" ? n + "" : n, t), t);
14
- var u = (d, n, t) => new Promise((e, i) => {
15
- var r = (a) => {
12
+ }, v = (d, r) => P(d, E(r));
13
+ var o = (d, r, t) => (m(d, typeof r != "symbol" ? r + "" : r, t), t);
14
+ var u = (d, r, t) => new Promise((e, i) => {
15
+ var n = (a) => {
16
16
  try {
17
17
  s(t.next(a));
18
18
  } catch (l) {
@@ -24,21 +24,21 @@ var u = (d, n, t) => new Promise((e, i) => {
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, s = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(r, h);
28
- s((t = t.apply(d, n)).next());
27
+ }, s = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(n, h);
28
+ s((t = t.apply(d, r)).next());
29
29
  });
30
- import * as I from "three";
30
+ import * as w from "three";
31
31
  import { to as y } from "../../shared-utils/to.js";
32
32
  import { equal as F } from "../../shared-utils/equal.js";
33
33
  import { Main as x } from "../Components/Main.js";
34
- import { formatData as g } from "../utils/formatData.js";
34
+ import { formatData as b } from "../utils/formatData.js";
35
35
  import { CAMERA_IMAGE as M } from "../Assets/camera.js";
36
36
  import { omit as _ } from "../../shared-utils/filter.js";
37
37
  import { FLOOR_PLAN_ATTACHED_TO as L } from "../constant.js";
38
38
  import { Controller as O } from "../../base/BasePluginWithData.js";
39
39
  import { getPxmm as D, getAttachedY as T } from "../../shared-utils/getPxmm.js";
40
40
  import { checkShowState as k, correctFiveState as H } from "../utils/correctFiveState.js";
41
- import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
41
+ import { changeModelCanvasOpacity as S } from "../../shared-utils/changeModelCanvasOpacity.js";
42
42
  import { FloorplanErrorType as f, SHOW_ANIME_DURATION as R } from "../utils/constant.js";
43
43
  import "../../shared-utils/isTruelyObject.js";
44
44
  import "../../vendor/svelte/internal/index.js";
@@ -90,11 +90,11 @@ import "../../shared-utils/absoluteUrl.js";
90
90
  import "../../shared-utils/nearlyEqual.js";
91
91
  import "../../shared-utils/five/changeMode.js";
92
92
  function G(d) {
93
- const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
93
+ const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
94
94
  return e || i;
95
95
  }
96
96
  function W(d) {
97
- const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
97
+ const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
98
98
  return e && i;
99
99
  }
100
100
  class Jt extends O {
@@ -160,7 +160,7 @@ class Jt extends O {
160
160
  o(this, "updateSize", () => {
161
161
  if (!this.data || !k(this.five, this.showState) || !this.container || !this.wrapper)
162
162
  return;
163
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, s = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * s), l = Math.ceil(r * s);
163
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, s = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * s), l = Math.ceil(n * s);
164
164
  this.size.width === a && this.size.height === l || (this.container.style.width = a + "px", this.container.style.height = l + "px", this.size = { width: a, height: l });
165
165
  });
166
166
  o(this, "highlight", (t) => {
@@ -170,9 +170,9 @@ class Jt extends O {
170
170
  this.highlightData = {}, this.render();
171
171
  });
172
172
  o(this, "_disable", (t) => {
173
- var i, r, h;
173
+ var i, n, h;
174
174
  const { userAction: e } = t;
175
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (r = this.app) == null || r.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
175
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (n = this.app) == null || n.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
176
176
  });
177
177
  o(this, "_enable", (t) => {
178
178
  const { userAction: e } = t;
@@ -194,7 +194,7 @@ class Jt extends O {
194
194
  immediately: !1,
195
195
  isAutoShow: !1,
196
196
  userAction: !0
197
- }, i = c(c({}, e), t), r = () => u(this, null, function* () {
197
+ }, i = c(c({}, e), t), n = () => u(this, null, function* () {
198
198
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
199
199
  let s = !1, a;
200
200
  this.showRejection = (p) => {
@@ -207,10 +207,10 @@ class Jt extends O {
207
207
  throw a ? new Error(a) : new Error(f.UnknownError);
208
208
  this.updateSize(), this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
209
209
  });
210
- return this.isHiddenByHideFunc = !1, this.showPromise = r().then(() => {
210
+ return this.isHiddenByHideFunc = !1, this.showPromise = n().then(() => {
211
211
  this.showPromise = void 0, this.showRejection = void 0;
212
212
  const s = i.modelOpacity, a = i.immediately ? 0 : R;
213
- b(this.five, s, a), this.render(a), this.hooks.emit("showAnimationEnded", {
213
+ S(this.five, s, a), this.render(a), this.hooks.emit("showAnimationEnded", {
214
214
  auto: i.isAutoShow,
215
215
  userAction: i.userAction
216
216
  });
@@ -220,13 +220,13 @@ class Jt extends O {
220
220
  }), this.showPromise;
221
221
  }));
222
222
  o(this, "_hide", (t) => {
223
- var r;
224
- (r = this.showRejection) == null || r.call(this, f.BreakOffByHide), this.showPromise = void 0;
223
+ var n;
224
+ (n = this.showRejection) == null || n.call(this, f.BreakOffByHide), this.showPromise = void 0;
225
225
  const i = c(c({}, {
226
226
  userAction: !0,
227
227
  isAutoHide: !1
228
228
  }), t);
229
- b(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
229
+ S(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
230
230
  });
231
231
  o(this, "handleClick", () => {
232
232
  if (!this.state.visible)
@@ -236,12 +236,13 @@ class Jt extends O {
236
236
  });
237
237
  /** modelLoaded 之后自动执行 append container 操作 */
238
238
  o(this, "onFiveModelLoaded", () => {
239
- if (this.state.enabled === !1 || this.wrapper || !this.selector)
239
+ const e = this.five.model.bounding.getCenter(new w.Vector3());
240
+ if (this.showState.offset = e, this.state.enabled === !1 || this.wrapper || !this.selector)
240
241
  return;
241
- const t = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
242
- if (!t)
242
+ const i = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
243
+ if (!i)
243
244
  throw new Error("不正确的父容器选择器");
244
- this.wrapper = t, t.append(this.container);
245
+ this.wrapper = i, i.append(this.container);
245
246
  });
246
247
  /** 更改模型时,自动隐藏户型图 */
247
248
  o(this, "onFiveModeChange", (t) => {
@@ -292,7 +293,7 @@ class Jt extends O {
292
293
  mode: "Mapview",
293
294
  longitude: 0,
294
295
  latitude: Math.PI / 2,
295
- fov: 90
296
+ fov: 80
296
297
  };
297
298
  const i = {
298
299
  northDesc: "北",
@@ -312,7 +313,7 @@ class Jt extends O {
312
313
  adaptiveRoomLabelVisibleEnable: !0,
313
314
  getRoomAreaText: (s) => (s / 1e6).toFixed(1) + "㎡",
314
315
  getRuleDistanceText: (s) => s.toString()
315
- }, r = e ? _(e, ["selector", "scale"]) : {}, h = c(c({}, i), r);
316
+ }, n = e ? _(e, ["selector", "scale"]) : {}, h = c(c({}, i), n);
316
317
  this.state = {
317
318
  enabled: !0,
318
319
  visible: !1,
@@ -321,13 +322,13 @@ class Jt extends O {
321
322
  }
322
323
  load(t, e, i = !0) {
323
324
  return u(this, null, function* () {
324
- function r(p) {
325
+ function n(p) {
325
326
  return Object.prototype.hasOwnProperty.apply(p, ["version"]);
326
327
  }
327
328
  const h = t;
328
329
  h && !h.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
329
- const s = JSON.parse(JSON.stringify(t)), a = r(s) ? s.data : s, l = this.data;
330
- this.data = yield g(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, i), this.render();
330
+ const s = JSON.parse(JSON.stringify(t)), a = n(s) ? s.data : s, l = this.data;
331
+ this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, i), this.render();
331
332
  });
332
333
  }
333
334
  /** 把插件的渲染DOM插入到对应的容器中去 */
@@ -351,9 +352,9 @@ class Jt extends O {
351
352
  }
352
353
  /** 更改插件 State */
353
354
  setState(t, e = {}) {
354
- const i = this.state, r = e.userAction !== void 0 ? e.userAction : !0;
355
- 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) {
356
- const h = { userAction: r };
355
+ const i = this.state, n = e.userAction !== void 0 ? e.userAction : !0;
356
+ if (this.updateState(t, n), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: n }) : this._disable({ userAction: n })), t.visible !== void 0 && i.visible !== t.visible) {
357
+ const h = { userAction: n };
357
358
  t.visible ? this._show(h) : this._hide(h);
358
359
  }
359
360
  }
@@ -363,20 +364,20 @@ class Jt extends O {
363
364
  /** 更新户型图位置 */
364
365
  updatePosition() {
365
366
  var s;
366
- const t = T(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new I.Vector3()).setY(t);
367
+ const t = T(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new w.Vector3()).setY(t);
367
368
  if (!e)
368
369
  return;
369
- const i = e.clone().project(this.five.camera), r = (i.x + 1) / 2, h = -(i.y - 1) / 2;
370
- this.container.style.left = r * 100 + "%", this.container.style.top = h * 100 + "%";
370
+ const i = e.clone().project(this.five.camera), n = (i.x + 1) / 2, h = -(i.y - 1) / 2;
371
+ this.container.style.left = n * 100 + "%", this.container.style.top = h * 100 + "%";
371
372
  }
372
373
  formatData(t) {
373
374
  return u(this, null, function* () {
374
- return yield g(t.data);
375
+ return yield b(t.data);
375
376
  });
376
377
  }
377
378
  updateState(t, e) {
378
- const i = this.state, r = t.config ? c(c({}, i.config), t.config) : i.config;
379
- this.state = v(c(c({}, this.state), t), { config: r }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
379
+ const i = this.state, n = t.config ? c(c({}, i.config), t.config) : i.config;
380
+ this.state = v(c(c({}, this.state), t), { config: n }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
380
381
  }
381
382
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
382
383
  *
@@ -3,6 +3,5 @@ export * from './ModelFloorplanPlugin';
3
3
  export * from './MapviewFloorplanPlugin';
4
4
  export * from './TopviewFloorplanPlugin';
5
5
  export * from './PanoFloorplanRadarPlugin';
6
- export * from './FloorplanRoomsPlugin';
7
6
  export * from './typings/floorplanServerData';
8
7
  export * from './typings/floorplanData';
@@ -1,9 +1,11 @@
1
+ import type * as THREE from 'three';
1
2
  import type { Five, Mode } from '@realsee/five';
2
3
  export interface ShowState {
3
4
  latitude: number;
4
5
  longitude: number;
5
6
  fov: number;
6
7
  mode: Mode;
8
+ offset?: THREE.Vector3;
7
9
  }
8
10
  /** 判断当前状态是否可以展示户型图 */
9
11
  export declare function checkShowState(five: Five, showState: ShowState): boolean;