@realsee/dnalogel 2.28.0-dev.1 → 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
@@ -0,0 +1,94 @@
1
+ import * as THREE from 'three';
2
+ import type { Five } from '@realsee/five';
3
+ import * as BasePlugin from '../base/BasePluginWithData';
4
+ import { AreaMakerItem } from './utils/Item';
5
+ import type * as PluginType from './typing';
6
+ export declare class Controller extends BasePlugin.Controller<PluginType.State, PluginType.EventMap, PluginType.ServerData, PluginType.PluginData> {
7
+ /** 插件当前状态 */
8
+ state: PluginType.State;
9
+ /** 标注模型 { id: item } 的映射表 */
10
+ itemMap: Map<string | number, AreaMakerItem>;
11
+ /** 标注模型容器 */
12
+ modelGroup: THREE.Group;
13
+ /** 当前使用的数据 */
14
+ data?: PluginType.PluginData;
15
+ /** tag 容器 */
16
+ tagDomContainer: HTMLDivElement;
17
+ /** 插件配置项 */
18
+ get config(): {
19
+ modelDepthTest: boolean;
20
+ };
21
+ /** 是否已经被销毁 */
22
+ get disposed(): boolean;
23
+ /** 查询问题使用的调试对象 */
24
+ checkMsg: {
25
+ childrenMountedState: string;
26
+ };
27
+ /** 是否在 Five Change Mode 动画中 */
28
+ private isInFiveChangeModeAnime;
29
+ /** 子组件是否挂载 */
30
+ private childrenMountedState;
31
+ /** config 的原始值 */
32
+ private _config;
33
+ /** disposed 的原始值 */
34
+ private _disposed;
35
+ /** AreaMakerPlugin
36
+ * @param `five` `<Five>` Five 实例
37
+ * @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
38
+ * @param `params.initialState` `<PluginType.State> | <undefined>` 插件初始化后,使用的状态
39
+ */
40
+ constructor(five: Five, params?: PluginType.Params);
41
+ /** 加载数据,重复调用会使用新数据覆盖旧数据 */
42
+ load(data: PluginType.ServerData): Promise<void>;
43
+ /** 将插件的 DOM 容器添加到指定的 DOM 元素上 */
44
+ appendTo(wrapper: Element): void;
45
+ /** 启用插件
46
+ * @param `options` `<Option> | <undefined>`
47
+ * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
48
+ */
49
+ enable(options?: BasePlugin.BaseOptions): void;
50
+ /** 禁用插件
51
+ * @param `options` `<Option> | <undefined>`
52
+ * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
53
+ */
54
+ disable(options?: BasePlugin.BaseOptions): void;
55
+ /** 展示标注
56
+ * @param `options` `<Partial<ShowHideOptions>> | <undefined>`
57
+ * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
58
+ */
59
+ show(options?: Partial<PluginType.ShowHideOptions>): Promise<void>;
60
+ /** 插件内容整体隐藏
61
+ * @param `options` `<Partial<ShowHideOptions>> | <undefined>`
62
+ * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
63
+ */
64
+ hide(options?: Partial<PluginType.ShowHideOptions>): Promise<void>;
65
+ /** 更改插件 State
66
+ * @param `state` `<Partial<Plugin.State>>` 插件属性 `state` 的子集。
67
+ * @param `options` `<Option> | <undefined>`
68
+ * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
69
+ */
70
+ setState(state: Partial<PluginType.State>, options?: BasePlugin.BaseOptions): void;
71
+ /** 更改插件 Config
72
+ * @param `config` `<Partial<Plugin.Config>>` 插件属性 `config` 的子集。
73
+ * @param `options` `<Option> | <undefined>`
74
+ */
75
+ updateConfig(config: Partial<PluginType.Config>, options?: BasePlugin.BaseOptions): void;
76
+ /** 根据 ID 获取标注 */
77
+ getMaskItemByID(id: string | number): AreaMakerItem;
78
+ /** 销毁插件,移除所有副作用,销毁后将不响应任何 API */
79
+ dispose: () => void;
80
+ protected formatData(serverData: PluginType.ServerData): PluginType.PluginData;
81
+ private checkChildrenMountedState;
82
+ private updateChildrenMountedState;
83
+ private onFiveInitAnimationWillStart;
84
+ private onFiveInitAnimationEnded;
85
+ private onFiveCameraUpdate;
86
+ private onFiveModeChange;
87
+ private onMakerTagClick;
88
+ private updateState;
89
+ private _enable;
90
+ private onWantsFiveTapGesture;
91
+ private _disable;
92
+ private _show;
93
+ private _hide;
94
+ }
@@ -0,0 +1,4 @@
1
+ import type { Five } from '@realsee/five';
2
+ import type * as AreaMakerPluginType from './typing';
3
+ export declare const AreaMakerPlugin: (five: Five) => AreaMakerPluginType.AreaMakerController;
4
+ export type { AreaMakerPluginType };
@@ -0,0 +1,148 @@
1
+ import type * as BasePlugin from '../base/BasePluginWithData';
2
+ import type * as THREE from 'three';
3
+ import type { AreaMakerItem } from './utils/Item';
4
+ export type { Controller as AreaMakerController } from './Controller';
5
+ export type { AreaMakerItem };
6
+ /** 插件初始化参数 */
7
+ export interface Params {
8
+ config?: Partial<Config>;
9
+ initialState?: Partial<State>;
10
+ }
11
+ /** 插件状态 */
12
+ export interface State extends BasePlugin.State {
13
+ /** 插件是否启用 */
14
+ enabled: boolean;
15
+ /** 插件整体是否可见 */
16
+ visible: boolean;
17
+ }
18
+ /** 插件配置 */
19
+ export interface Config {
20
+ /** 标注模型是否开启深度检测,此配置仅对模型生效,不会影响标签的展示效果。
21
+ * @default true
22
+ * @description 关闭后,标注模型不会被其他模型遮挡
23
+ */
24
+ modelDepthTest: boolean;
25
+ }
26
+ /** 插件事件 */
27
+ export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
28
+ /** visible 从 false 到 true 的回调
29
+ * @param event.userAction 是否是用户操作
30
+ */
31
+ show: (event: {
32
+ userAction: boolean;
33
+ }) => void;
34
+ /** visible 从 true 到 false 的回调
35
+ * @param event.userAction 是否是用户操作
36
+ */
37
+ hide: (event: {
38
+ userAction: boolean;
39
+ }) => void;
40
+ /** enabled 从 false 到 true 的回调
41
+ * @param event.userAction 是否是用户操作
42
+ */
43
+ enable: (event: {
44
+ userAction: boolean;
45
+ }) => void;
46
+ /** enabled 从 true 到 false 的回调
47
+ * @param event.userAction 是否是用户操作
48
+ */
49
+ disable: (event: {
50
+ userAction: boolean;
51
+ }) => void;
52
+ /** config 变更的回调
53
+ * @param event.prevConfig 变更前的 config
54
+ * @param event.config 变更后的 config
55
+ * @param event.userAction 是否是用户操作
56
+ */
57
+ configChange: (event: {
58
+ prevConfig: Config;
59
+ config: Config;
60
+ userAction: boolean;
61
+ }) => void;
62
+ /** 插件内容点击的回调
63
+ * @param event.target 点击的标注实例
64
+ * @param event.intersectObjects 射线与标注模型的交点集合
65
+ * @param event.wantsFiveTapGestureParams Five wantsFiveTapGesture 的回调参数
66
+ * @returns <boolean> | <void> 返回 false 会阻止 Five wantsFiveTapGesture 的回调,其余 return 值会被忽略
67
+ */
68
+ wantsTap: (event: {
69
+ target: AreaMakerItem;
70
+ intersectObjects: THREE.Intersection[];
71
+ }) => boolean | void;
72
+ }
73
+ /** 标注实例事件 */
74
+ export type AreaMakerItemEventMap = {
75
+ /** 标注标签点击的回调
76
+ * @param event.target 点击的标注实例
77
+ * @param event.nativeEvent 点击事件的的原始 MouseEvent
78
+ */
79
+ tagClick: (event: {
80
+ target: AreaMakerItem;
81
+ nativeEvent: MouseEvent;
82
+ }) => void;
83
+ };
84
+ /** 动画相关的配置 */
85
+ export interface AnimeOptions {
86
+ /** 动画时长,单位是毫秒 */
87
+ duration?: number;
88
+ }
89
+ export interface ShowHideOptions extends BasePlugin.BaseOptions {
90
+ userAction: boolean;
91
+ }
92
+ /** 第一版数据
93
+ * @description 为什么会存在两种数据?
94
+ * 目前数据是线上已经存在的,这一版数据目前存在以下问题:
95
+ * 1. 无法描述弧线。
96
+ * 2. 数据结构不够清晰,数据存在一定产品逻辑上的抽象,比如说标注的高度,是由楼层高度和人工设置的高度修正组成的。
97
+ */
98
+ export interface ServerDataV1 {
99
+ list: ServerAreaMakerItemV1[];
100
+ }
101
+ /** 第二版数据 */
102
+ export interface ServerDataV2 {
103
+ list: ServerAreaMakerItem[];
104
+ }
105
+ /** load 的数据 */
106
+ export type ServerData = ServerDataV1 | ServerDataV2;
107
+ /** 插件使用的数据 */
108
+ export type PluginData = ServerDataV2;
109
+ export interface ServerAreaMakerItem {
110
+ id: number | string;
111
+ /** 标注名称 */
112
+ name?: string;
113
+ /** 标注所在楼层 */
114
+ floor_index: number;
115
+ /** 标注物体 */
116
+ object_data: {
117
+ /** 标注底面形状,THREE.Shape().toJSON() 的结果 */
118
+ shape: Record<string, any>;
119
+ /** 标注底面 y 坐标 */
120
+ bottom_y: number;
121
+ /** 标注高度,指标注顶部距离底部的距离。只能为正值,单位是米 */
122
+ height: number;
123
+ /** 标注颜色
124
+ * @example "#ffffff"
125
+ */
126
+ color?: string;
127
+ /** 标注透明度 */
128
+ opacity?: number;
129
+ };
130
+ }
131
+ export interface ServerAreaMakerItemV1 {
132
+ id: number;
133
+ name: string;
134
+ object_data: {
135
+ /** 绘制平面的三维世界坐标点集合 */
136
+ points: number[][];
137
+ /** 楼层索引 */
138
+ floorIndex: number;
139
+ /** 楼层高度 */
140
+ height: number;
141
+ /** 人工设置的y坐标方向偏移 */
142
+ fixedY: number;
143
+ /** 人工设置的高度修正 */
144
+ fixedHeight: number;
145
+ color: string;
146
+ opacity?: number;
147
+ };
148
+ }
@@ -0,0 +1,114 @@
1
+ import * as THREE from 'three';
2
+ import { Object3D } from '../../shared-utils';
3
+ import { LineSegments } from '../../shared-utils';
4
+ import type { Controller } from '../Controller';
5
+ import type * as PluginType from '../typing';
6
+ import LabelItem from '../../components/AreaLabel/LabelItem.svelte';
7
+ import { Subscribe } from '../../shared-utils/Subscribe';
8
+ declare class AreaMakerModelGroup extends Object3D {
9
+ private areaMakerItem;
10
+ constructor(areaMakerItem: AreaMakerItem);
11
+ raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void;
12
+ }
13
+ export declare class AreaMakerItem {
14
+ id: string | number;
15
+ /** 标注名称 */
16
+ name: string;
17
+ /** 标注几何体 */
18
+ makerObject: THREE.Mesh<THREE.ExtrudeBufferGeometry, THREE.MeshBasicMaterial>;
19
+ /** 标注几何体的边框 */
20
+ outline: LineSegments<THREE.EdgesGeometry, THREE.LineBasicMaterial>;
21
+ /** 标注底面 Y 坐标 */
22
+ bottomY: PluginType.ServerAreaMakerItem['object_data']['bottom_y'];
23
+ /** 标注透明度 */
24
+ opacity: PluginType.ServerAreaMakerItem['object_data']['opacity'];
25
+ /** 标注高度 */
26
+ height: PluginType.ServerAreaMakerItem['object_data']['height'];
27
+ /** 标注所在楼层 */
28
+ floorIndex: PluginType.ServerAreaMakerItem['floor_index'];
29
+ /** 标注底面形状 */
30
+ shape: THREE.Shape;
31
+ /** 是否被挂载 */
32
+ mounted: boolean;
33
+ /** 查询问题使用的调试对象 */
34
+ checkMsg: {
35
+ /** 当标注没有展示时,可以通过这个字段查看原因 */
36
+ checkVisibleMsg: string;
37
+ /** 当标注标签没有展示时,可以通过这个字段查看原因 */
38
+ checkTagVisibleMsg: string;
39
+ };
40
+ /** 模型容器 */
41
+ modelGroup: AreaMakerModelGroup;
42
+ /** 标注是否可见 */
43
+ visible: boolean;
44
+ /** 标注标签实例 */
45
+ tagApp: LabelItem | null;
46
+ /** 标注标签是否可见 */
47
+ tagVisible: boolean;
48
+ /** 标注标签的世界坐标 */
49
+ tagPosition: THREE.Vector3;
50
+ /** 标注标签的 NDC 坐标 */
51
+ tagNDCPosition: THREE.Vector3;
52
+ /** 标注标签的 transform */
53
+ tagTransform: {
54
+ left: number;
55
+ top: number;
56
+ };
57
+ /** 标注标签的显示层级 */
58
+ tagZIndex: number;
59
+ hooks: Subscribe<PluginType.AreaMakerItemEventMap>;
60
+ /** Plugin 实例 */
61
+ private plugin;
62
+ /** 标注透明度动画 */
63
+ private opacityAnime?;
64
+ constructor(plugin: Controller, data: PluginType.ServerAreaMakerItem);
65
+ /** 挂载标注 */
66
+ mount(): void;
67
+ /** 卸载标注 */
68
+ unmount(): void;
69
+ /** 更改标注透明度
70
+ * @param opacity 标注透明度,范围:0-1
71
+ */
72
+ setOpacity(opacity: number): void;
73
+ /** 更改标注颜色
74
+ * @param color 标注颜色,支持 hex
75
+ * @example setColor('#FF0000')
76
+ */
77
+ setColor(color: string): void;
78
+ /** 更改标注高度
79
+ * @param height 标注高度,单位:米
80
+ */
81
+ setHeight(height: number): void;
82
+ /** 更改标注标签的显示层级
83
+ * @description 为什么需要这个方法
84
+ * 在相机朝向或位置发生变化时,各个标签所在的坐标与相机的远近关系发生了变化,所以标签的层级也会有变化。
85
+ * 比如:
86
+ * - 相机 -> 标签 A -> 标签 B: 标签 A 在标签 B 的前面
87
+ * - 标签 A <- 标签 B <- 相机: 标签 A 在标签 B 的后面
88
+ * 但是当前元素是无法感知到这种变化的,所以需要通过父元素调用这个方法来更新标签的层级。
89
+ */
90
+ setTagZIndex(zIndex: number): void;
91
+ /** 显示标注 */
92
+ /** 隐藏标注 */
93
+ /** 透明度动画 */
94
+ private doOpacityAnime;
95
+ /** 插件 Config 变化时更新自身 depthTest */
96
+ private onPluginConfigChange;
97
+ /** 更新标注可见性 */
98
+ private updateVisible;
99
+ /** 检测标注是否可见 */
100
+ private checkVisible;
101
+ /** 更新标注标签 */
102
+ private updateTag;
103
+ /** 更新标注标签的 NDC Position */
104
+ private updateTagNDCPosition;
105
+ /** 更新标注标签的 transform */
106
+ private updateTagDomTransform;
107
+ /** 更新标注标签可见性 */
108
+ private updateTagVisible;
109
+ /** 检测标注标签是否可见 */
110
+ private checkTagVisible;
111
+ /** 相机位姿发生变化时,更新标签 */
112
+ private onFiveCameraUpdate;
113
+ }
114
+ export {};
@@ -17,11 +17,6 @@ interface LineGeometryOption {
17
17
  * @returns THREE BufferGeometry
18
18
  */
19
19
  export declare function createLineGeometry(options: LineGeometryOption): {
20
- geometry: THREE.BufferGeometry;
21
- maxU: number;
22
- curvePath?: undefined;
23
- curvePoints?: undefined;
24
- } | {
25
20
  geometry: THREE.BufferGeometry;
26
21
  maxU: number;
27
22
  curvePath: THREE.CurvePath<THREE.Vector3>;
@@ -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>;
@@ -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+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQA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KD7O/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==";
@@ -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;