@realsee/dnalogel 3.64.31 → 3.65.0-alpha.1

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 (510) hide show
  1. package/CHANGELOG.md +0 -24
  2. package/components/index.js +3 -3
  3. package/dist/ModelMakerPlugin/Controller.d.ts +13 -52
  4. package/dist/ModelMakerPlugin/item/baseItem.d.ts +14 -33
  5. package/dist/ModelMakerPlugin/item/boxItem.d.ts +3 -13
  6. package/dist/ModelMakerPlugin/item/polygonItem.d.ts +3 -13
  7. package/dist/ModelMakerPlugin/item/prismItem.d.ts +2 -12
  8. package/dist/ModelMakerPlugin/typings/data.d.ts +46 -100
  9. package/dist/ModelMakerPlugin/typings/index.d.ts +3 -12
  10. package/dist/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.svelte.d.ts +1 -0
  11. package/dist/Sculpt/Meshes/LineWithDots.d.ts +0 -15
  12. package/dist/Sculpt/Meshes/Prism.d.ts +1 -1
  13. package/dist/index.cjs.js +70 -66
  14. package/dist/index.js +9414 -9454
  15. package/dist/index.umd.js +64 -60
  16. package/dist/shared-utils/tag.d.ts +2 -2
  17. package/docs/assets/navigation.js +1 -1
  18. package/docs/assets/search.js +1 -1
  19. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  20. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  21. package/docs/classes/CSS3DRender.html +3 -3
  22. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  23. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  24. package/docs/classes/ModelMakerPluginInstance.html +15 -30
  25. package/docs/classes/ModelRoomLabelController.html +6 -6
  26. package/docs/classes/MoveController.html +17 -17
  27. package/docs/classes/Object3DHelperController.html +15 -15
  28. package/docs/classes/PaintBrush.html +5 -5
  29. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  30. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  31. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  32. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  33. package/docs/classes/PanoTagPluginController.html +35 -35
  34. package/docs/classes/Sculpt.html +23 -23
  35. package/docs/classes/Util.BetterTween.html +2 -2
  36. package/docs/classes/Util.FiveDomEvents.html +4 -4
  37. package/docs/classes/Util.FivePuppet.html +3 -3
  38. package/docs/classes/Util.Interval.html +5 -5
  39. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  40. package/docs/classes/Util.LightTag.html +14 -14
  41. package/docs/classes/Util.LineSegments.html +2 -2
  42. package/docs/classes/Util.Magnifier.html +6 -6
  43. package/docs/classes/Util.Object3D.html +4 -4
  44. package/docs/classes/Util.PointDomHelper.html +3 -3
  45. package/docs/classes/Util.PointHelper.html +2 -2
  46. package/docs/classes/Util.PointSelector.html +16 -16
  47. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  48. package/docs/classes/Util.Rectangle.html +5 -5
  49. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  50. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  51. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  52. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  53. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  54. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  55. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  56. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  57. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  58. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  59. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  60. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  61. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  62. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  63. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  64. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  65. package/docs/classes/WalkController.html +18 -18
  66. package/docs/enums/CameraMovementEffect.html +3 -3
  67. package/docs/enums/ContentType.html +18 -18
  68. package/docs/enums/DIRECTION.html +2 -2
  69. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  70. package/docs/enums/DimensionType.html +3 -3
  71. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  72. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  73. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  74. package/docs/enums/PointType.html +3 -3
  75. package/docs/enums/Rotation.html +3 -3
  76. package/docs/functions/AreaMakerPlugin.html +1 -1
  77. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  78. package/docs/functions/CameraMovementPlugin.html +2 -2
  79. package/docs/functions/CruisePlugin.html +1 -1
  80. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  81. package/docs/functions/GuideLinePlugin.html +1 -1
  82. package/docs/functions/ItemLabelPlugin.html +1 -1
  83. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  84. package/docs/functions/MeasurePlugin.html +1 -1
  85. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  86. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  87. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  88. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  89. package/docs/functions/ModelMakerPlugin.html +1 -1
  90. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  91. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  92. package/docs/functions/ModelViewPlugin.html +2 -2
  93. package/docs/functions/MovePlugin.html +1 -1
  94. package/docs/functions/Object3DHelperPlugin.html +1 -1
  95. package/docs/functions/PanoCompassPlugin.html +1 -1
  96. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  97. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  98. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  99. package/docs/functions/PanoMeasurePlugin.html +1 -1
  100. package/docs/functions/PanoRulerPlugin.html +2 -2
  101. package/docs/functions/PanoRulerProPlugin.html +2 -2
  102. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  103. package/docs/functions/PanoTagPlugin.html +1 -1
  104. package/docs/functions/PanoVideoPlugin.html +2 -2
  105. package/docs/functions/PipelinePlugin.html +1 -1
  106. package/docs/functions/SculptPlugin.html +2 -2
  107. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  108. package/docs/functions/Util.absoluteUrl.html +2 -2
  109. package/docs/functions/Util.awaitNextFrame.html +1 -1
  110. package/docs/functions/Util.blink.html +2 -2
  111. package/docs/functions/Util.bounding.html +1 -1
  112. package/docs/functions/Util.boundingBox.html +1 -1
  113. package/docs/functions/Util.boundingSphere.html +1 -1
  114. package/docs/functions/Util.boxVertex.html +2 -2
  115. package/docs/functions/Util.boxVertexes.html +1 -1
  116. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  117. package/docs/functions/Util.convexHull.html +2 -2
  118. package/docs/functions/Util.equal.html +2 -2
  119. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  120. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  121. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  122. package/docs/functions/Util.getFrameTime.html +2 -2
  123. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  124. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  125. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  126. package/docs/functions/Util.inside.html +1 -1
  127. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  128. package/docs/functions/Util.isModelLike.html +1 -1
  129. package/docs/functions/Util.isNil.html +2 -2
  130. package/docs/functions/Util.isPanoramaLike.html +1 -1
  131. package/docs/functions/Util.lookObject.html +2 -2
  132. package/docs/functions/Util.lookPoint.html +2 -2
  133. package/docs/functions/Util.nextFrame.html +1 -1
  134. package/docs/functions/Util.notNil.html +2 -2
  135. package/docs/functions/Util.reblink.html +2 -2
  136. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  137. package/docs/functions/Util.sculpt.createBox.html +1 -1
  138. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  139. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  140. package/docs/functions/Util.sculpt.createLine.html +2 -2
  141. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  142. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  143. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  144. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  145. package/docs/functions/Util.tag.html +1 -1
  146. package/docs/functions/Util.tweenProgress.html +1 -1
  147. package/docs/functions/Util.uuid.html +2 -2
  148. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  149. package/docs/functions/Util.worldBounding.html +1 -1
  150. package/docs/functions/Util.worldBoundingBox.html +1 -1
  151. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  152. package/docs/functions/createPolyline.html +2 -2
  153. package/docs/functions/pluginFlag.html +1 -1
  154. package/docs/hierarchy.html +1 -1
  155. package/docs/index.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  157. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  158. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  159. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  160. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  161. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  162. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  163. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  164. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  165. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  166. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  167. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  168. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  169. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  170. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  171. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  173. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  174. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  175. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  176. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  177. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  178. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  179. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  180. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  181. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  182. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  183. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  184. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  185. package/docs/interfaces/FloorplanBounding.html +5 -5
  186. package/docs/interfaces/FloorplanData.html +3 -3
  187. package/docs/interfaces/FloorplanEntrance.html +8 -8
  188. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  189. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  190. package/docs/interfaces/FloorplanFloorData.html +3 -3
  191. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  192. package/docs/interfaces/FloorplanObserver.html +3 -3
  193. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  194. package/docs/interfaces/FloorplanPosition.html +3 -3
  195. package/docs/interfaces/FloorplanRoomItem.html +9 -9
  196. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  197. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  198. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  199. package/docs/interfaces/FloorplanServerData.html +3 -3
  200. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  201. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  202. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  203. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  204. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  205. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  206. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  207. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  208. package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
  209. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  210. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  212. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  213. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
  214. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  215. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  217. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  218. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  220. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  222. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  223. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  224. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  225. package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
  226. package/docs/interfaces/HelperOffset.html +2 -2
  227. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  228. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  229. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  230. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  231. package/docs/interfaces/MinMax.html +2 -2
  232. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  233. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  234. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  235. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  236. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  237. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  238. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  239. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  241. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -9
  242. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +9 -7
  243. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -3
  244. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +11 -7
  245. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +8 -7
  246. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  247. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  248. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  249. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  250. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  251. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  252. package/docs/interfaces/Object3DHelperState.html +2 -2
  253. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  254. package/docs/interfaces/PaintBrushAction.html +7 -7
  255. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  256. package/docs/interfaces/PaintBrushState.html +2 -2
  257. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  258. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  259. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  260. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  261. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  262. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  263. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  264. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  268. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  269. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  270. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  272. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  273. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  277. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  278. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  279. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  281. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  282. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  284. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  285. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  286. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  287. package/docs/interfaces/PluginEventMap.html +4 -4
  288. package/docs/interfaces/Point.html +2 -2
  289. package/docs/interfaces/Room.html +2 -2
  290. package/docs/interfaces/RoomInfo.html +2 -2
  291. package/docs/interfaces/RoomLabel.html +7 -7
  292. package/docs/interfaces/RoomRules.html +1 -1
  293. package/docs/interfaces/Rooms.html +1 -1
  294. package/docs/interfaces/Scissor.html +6 -6
  295. package/docs/interfaces/State.html +4 -4
  296. package/docs/interfaces/TagCacheInterface.html +3 -3
  297. package/docs/interfaces/TagConfig.html +10 -10
  298. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  299. package/docs/interfaces/TagIconUrl.html +9 -9
  300. package/docs/interfaces/TagObjectGroup.html +2 -2
  301. package/docs/interfaces/TagStyle.html +2 -2
  302. package/docs/interfaces/Tags.html +4 -4
  303. package/docs/interfaces/TemporaryState.html +2 -2
  304. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  305. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  306. package/docs/interfaces/Util.EventHandlerConfig.html +5 -5
  307. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  308. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  309. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  310. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  311. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  312. package/docs/interfaces/Util.PointIntersection.html +11 -11
  313. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  314. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  315. package/docs/modules/AreaMakerPluginType.html +2 -2
  316. package/docs/modules/CruisePluginTypes.html +2 -2
  317. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  318. package/docs/modules/GuideLineItem.html +2 -2
  319. package/docs/modules/GuideLineModeItem.html +2 -2
  320. package/docs/modules/GuideLinePluginType.html +2 -2
  321. package/docs/modules/ModelMakerPluginType.html +3 -11
  322. package/docs/modules/PanoVideoPluginType.html +2 -2
  323. package/docs/modules/SculptData.html +2 -2
  324. package/docs/modules/SculptType.html +2 -2
  325. package/docs/modules/Util.html +2 -2
  326. package/docs/modules/Util.sculpt.html +2 -2
  327. package/docs/modules.html +2 -2
  328. package/docs/types/AddObject3DHelperConfig.html +2 -2
  329. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  330. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  331. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  332. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  333. package/docs/types/ArrayPosition.html +1 -1
  334. package/docs/types/AudioAppearance.html +1 -1
  335. package/docs/types/CSS3DRenderExportType.html +1 -1
  336. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  337. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  338. package/docs/types/ClassFunctionParameters.html +1 -1
  339. package/docs/types/Color.html +1 -1
  340. package/docs/types/ContentTypeConfigKey.html +1 -1
  341. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  342. package/docs/types/ContentTypeMap.html +1 -1
  343. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  344. package/docs/types/Create3DElementReturnType.html +1 -1
  345. package/docs/types/CruisePluginExportType.html +1 -1
  346. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  347. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  348. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  349. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  350. package/docs/types/DeprecatedTagProperty.html +2 -2
  351. package/docs/types/Direction-1.html +1 -1
  352. package/docs/types/Direction4.html +1 -1
  353. package/docs/types/ElementRenderer.html +2 -2
  354. package/docs/types/FloorplanRuleLabels.html +2 -2
  355. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  356. package/docs/types/GuideLinePluginExportType.html +1 -1
  357. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  358. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  359. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  360. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  361. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  362. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  363. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  364. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  365. package/docs/types/HelperEventMap.html +1 -1
  366. package/docs/types/InternalHelperEventMap.html +1 -1
  367. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  368. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  369. package/docs/types/MeasurePluginConfig.html +1 -1
  370. package/docs/types/MediaData.html +2 -2
  371. package/docs/types/MediaStore.html +1 -1
  372. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  373. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  374. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  375. package/docs/types/ModelId.html +1 -1
  376. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  377. package/docs/types/ModelMakerPluginType.ItemType.html +1 -2
  378. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  379. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  380. package/docs/types/MoveArgs.html +2 -2
  381. package/docs/types/MoveOpts.html +2 -2
  382. package/docs/types/Object3DHelperEventMap.html +1 -1
  383. package/docs/types/ObjectFit.html +1 -1
  384. package/docs/types/PaintBrushEventMap.html +1 -1
  385. package/docs/types/PanoCompassPluginData.html +1 -1
  386. package/docs/types/PanoCompassPluginExportType.html +1 -1
  387. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  388. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  389. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  390. package/docs/types/PanoIndex.html +1 -1
  391. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  392. package/docs/types/PanoMeasureReturnType.html +1 -1
  393. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  394. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  395. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  396. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  397. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  398. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  399. package/docs/types/PipelinePluginParameterType.html +1 -1
  400. package/docs/types/PipelinePluginReturnType.html +1 -1
  401. package/docs/types/PlaneTag.html +2 -2
  402. package/docs/types/Point2DTag.html +2 -2
  403. package/docs/types/Point3DTag.html +2 -2
  404. package/docs/types/PointTagInstance.html +1 -1
  405. package/docs/types/Position.html +1 -1
  406. package/docs/types/PositionFrom.html +1 -1
  407. package/docs/types/RotateArgs.html +2 -2
  408. package/docs/types/RotateOpts.html +2 -2
  409. package/docs/types/RuleLabelsKey.html +1 -1
  410. package/docs/types/RuleLabelsValue.html +1 -1
  411. package/docs/types/ScaleCallback.html +1 -1
  412. package/docs/types/ScalePosition.html +2 -2
  413. package/docs/types/SculptData.BoxData.html +1 -1
  414. package/docs/types/SculptData.CircleData.html +1 -1
  415. package/docs/types/SculptData.CylinderData.html +1 -1
  416. package/docs/types/SculptData.PointData.html +1 -1
  417. package/docs/types/SculptData.PolygonData.html +1 -1
  418. package/docs/types/SculptData.PolylineData.html +1 -1
  419. package/docs/types/SculptData.PrismData.html +1 -1
  420. package/docs/types/SculptData.RectangleData.html +1 -1
  421. package/docs/types/SculptType.Theme.html +2 -2
  422. package/docs/types/StickType.html +1 -1
  423. package/docs/types/Tag.html +2 -2
  424. package/docs/types/Tag2D.html +2 -2
  425. package/docs/types/Tag3D.html +2 -2
  426. package/docs/types/TagClickParams.html +1 -1
  427. package/docs/types/TagConfigByKey.html +1 -1
  428. package/docs/types/TagContentType.html +1 -1
  429. package/docs/types/TagContentTypeMapping.html +1 -1
  430. package/docs/types/TagDimensionType.html +1 -1
  431. package/docs/types/TagElement.html +2 -2
  432. package/docs/types/TagEvents.html +1 -1
  433. package/docs/types/TagGLTFObject.html +1 -1
  434. package/docs/types/TagHooks.html +1 -1
  435. package/docs/types/TagId.html +1 -1
  436. package/docs/types/TagInstance.html +1 -1
  437. package/docs/types/TagPointType.html +2 -2
  438. package/docs/types/TagRendererMap.html +1 -1
  439. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  440. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  441. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  442. package/docs/types/Util.AdherePoint.html +2 -2
  443. package/docs/types/Util.PointSelectorConfig.html +1 -1
  444. package/docs/types/WorkCode.html +1 -1
  445. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  446. package/docs/variables/PLUGIN.html +1 -1
  447. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  448. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  449. package/docs/variables/Util.animeMap.html +1 -1
  450. package/docs/variables/defaultGlobalConfig.html +1 -1
  451. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  452. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  453. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  454. package/libs/CruisePlugin/Move.js +3 -2
  455. package/libs/CruisePlugin/Work.js +3 -2
  456. package/libs/CruisePlugin/index.js +7 -6
  457. package/libs/GuideLinePlugin/Controller.js +5 -4
  458. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  459. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  460. package/libs/GuideLinePlugin/index.js +7 -6
  461. package/libs/ModelMakerPlugin/Controller.d.ts +13 -52
  462. package/libs/ModelMakerPlugin/Controller.js +159 -260
  463. package/libs/ModelMakerPlugin/item/baseItem.d.ts +14 -33
  464. package/libs/ModelMakerPlugin/item/baseItem.js +3 -5
  465. package/libs/ModelMakerPlugin/item/boxItem.d.ts +3 -13
  466. package/libs/ModelMakerPlugin/item/boxItem.js +4 -4
  467. package/libs/ModelMakerPlugin/item/polygonItem.d.ts +3 -13
  468. package/libs/ModelMakerPlugin/item/polygonItem.js +5 -4
  469. package/libs/ModelMakerPlugin/item/prismItem.d.ts +2 -12
  470. package/libs/ModelMakerPlugin/typings/data.d.ts +46 -100
  471. package/libs/ModelMakerPlugin/typings/index.d.ts +3 -12
  472. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +209 -209
  473. package/libs/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.js +186 -0
  474. package/libs/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.svelte.d.ts +1 -0
  475. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +111 -97
  476. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +111 -146
  477. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +92 -66
  478. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +243 -273
  479. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +39 -112
  480. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  481. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  482. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  483. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  484. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  485. package/libs/PanoTagPlugin/controller/index.js +6 -5
  486. package/libs/PanoTagPlugin/index.js +12 -11
  487. package/libs/Sculpt/Meshes/Line.js +4 -1
  488. package/libs/Sculpt/Meshes/LineWithDots.d.ts +0 -15
  489. package/libs/Sculpt/Meshes/PolygonWithEdge.js +34 -37
  490. package/libs/Sculpt/Meshes/Prism.d.ts +1 -1
  491. package/libs/Sculpt/Meshes/Prism.js +12 -9
  492. package/libs/base/BasePlugin.js +1 -1
  493. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +8 -16
  494. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  495. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -3
  496. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -2
  497. package/libs/index.js +146 -145
  498. package/libs/shared-utils/logger.js +1 -1
  499. package/libs/shared-utils/tag.d.ts +2 -2
  500. package/libs/shared-utils/tag.js +19 -20
  501. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +4 -4
  502. package/package.json +11 -14
  503. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +0 -46
  504. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +0 -46
  505. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +0 -47
  506. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +0 -17
  507. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +0 -23
  508. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +0 -11
  509. package/docs/types/ModelMakerPluginType.MarkerItem.html +0 -1
  510. package/docs/types/ModelMakerPluginType.ServerItem.html +0 -2
package/CHANGELOG.md CHANGED
@@ -1,27 +1,3 @@
1
- # CHANGELOG
2
-
3
- ## 3.64.31
4
-
5
- - fix(floorplan): 修复户型图插件MapviewFloorplanPlugin、ModelFloorplanPlugin、TopviewFloorplanPlugin在沙盘中observers取值
6
-
7
- ## 3.64.30
8
-
9
- - fix(modelMarkerPlugin): 修复2d标注初始没有enable
10
-
11
- ## 3.64.29
12
-
13
- - fix(PanoTagPlugin): 优化营销标签渲染和性能逻辑
14
-
15
- ## 3.64.28
16
-
17
- - chore(ModelMakerPlugin): 支持修改标注的透明度
18
- - feat(ModelMakerPlugin): 增强模型透明度控制和类型定义
19
- - fix(ModelMakerPlugin): 简化标签透明度控制逻辑
20
-
21
- ## 3.64.27
22
-
23
- - fix(MapviewFloorplanPlugin): 修正其他类型名称展示逻辑
24
-
25
1
  ## 3.64.26
26
2
 
27
3
  - fix(MapviewFloorplanPlugin): 修正区域三角viewBox起始点
@@ -43,13 +43,13 @@ var b = Object.freeze({
43
43
  return t;
44
44
  },
45
45
  In: function(t) {
46
- return t;
46
+ return this.None(t);
47
47
  },
48
48
  Out: function(t) {
49
- return t;
49
+ return this.None(t);
50
50
  },
51
51
  InOut: function(t) {
52
- return t;
52
+ return this.None(t);
53
53
  }
54
54
  }),
55
55
  Quadratic: Object.freeze({
@@ -1,12 +1,13 @@
1
1
  import type { Five, Mode as FiveMode } from '@realsee/five';
2
2
  import * as BasePlugin from '../base/BasePluginWithData';
3
- import { Group } from 'three';
4
- import type { MarkerItem, State, ServerData, ItemType, ElementRenderer, EventMap } from './typings';
5
- export declare class Controller extends BasePlugin.Controller<State, EventMap, ServerData, ServerData> {
6
- state: State;
7
- items: MarkerItem[];
8
- group: Group;
9
- protected data: ServerData;
3
+ import type * as PluginType from './typings';
4
+ import * as THREE from 'three';
5
+ import type { ModelMakerBaseItem } from './item/baseItem';
6
+ export declare class Controller extends BasePlugin.Controller<PluginType.State, PluginType.EventMap, PluginType.ServerData, PluginType.ServerData> {
7
+ state: PluginType.State;
8
+ items: ModelMakerBaseItem[];
9
+ group: THREE.Group;
10
+ protected data: PluginType.ServerData;
10
11
  private tagRendererMap;
11
12
  private fiveDomEvents;
12
13
  private zFightingOffset;
@@ -14,8 +15,6 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, S
14
15
  private occlusionVisibility;
15
16
  private occlusionMode;
16
17
  private fiveEveryReadyListenerDisposer?;
17
- private originalOpacities;
18
- private originalTagOpacities;
19
18
  constructor(five: Five, config?: {
20
19
  tagContainerZIndex?: number;
21
20
  /**
@@ -31,53 +30,18 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, S
31
30
  */
32
31
  occlusionMode?: 'translucence' | 'depthTest';
33
32
  });
34
- load(serverData: ServerData): Promise<void>;
35
- setState(targetState: Partial<State>): void;
36
- getItemById(id: string | number): MarkerItem;
37
- registerTagRenderer(map: Partial<Record<ItemType, ElementRenderer>>): void;
38
- hasCustomTagRenderer(map: ItemType): boolean;
33
+ load(serverData: PluginType.ServerData): Promise<void>;
34
+ setState(targetState: Partial<PluginType.State>): void;
35
+ getItemById(id: string | number): ModelMakerBaseItem;
36
+ registerTagRenderer(map: Partial<Record<PluginType.ItemType, PluginType.ElementRenderer>>): void;
37
+ hasCustomTagRenderer(map: PluginType.ItemType): boolean;
39
38
  enable(): void;
40
39
  disable(): void;
41
40
  show(): void;
42
41
  hide(): void;
43
42
  clear(): void;
44
- /**
45
- * 设置所有模型的透明度
46
- * @param opacityPercent 透明度系数,范围0-1,1表示保持原始透明度,0表示完全透明
47
- * @param options 可选参数
48
- * @param options.type 模型类型,可选值为'box'、'prism'、'triangles'
49
- * @param options.id 模型id
50
- */
51
- setModelsOpacity(opacityPercent: number, options?: {
52
- type?: ItemType | ItemType[];
53
- id?: number;
54
- }): void;
55
- /**
56
- * 隐藏指定类型的模型
57
- * @param itemTypes 模型类型数组
58
- */
59
- hideItemsByType(itemTypes: ItemType[] | ItemType): void;
60
- /**
61
- * 显示指定类型的模型
62
- * @param itemTypes 模型类型数组
63
- */
64
- showItemsByType(itemTypes: ItemType[] | ItemType): void;
65
43
  dispose(): void;
66
44
  protected onWorkCodeChange(): void;
67
- /**
68
- * 设置棱柱体模型的透明度
69
- * @param id 模型id
70
- * @param model 模型对象
71
- * @param opacityPercent 透明度系数,范围0-1
72
- */
73
- private setPrismModelOpacity;
74
- /**
75
- * 设置多边形模型的透明度
76
- * @param id 模型id
77
- * @param model 模型对象
78
- * @param opacityPercent 透明度系数,范围0-1
79
- */
80
- private setPolygonModelOpacity;
81
45
  private onFiveModeChange;
82
46
  private handleShow;
83
47
  private handleHide;
@@ -85,7 +49,4 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, S
85
49
  private handleDisable;
86
50
  private onFiveEveryReady;
87
51
  private updateTagRenderer;
88
- getPrismItems(): MarkerItem[];
89
- getPolygonItems(): MarkerItem[];
90
- getBoxItems(): MarkerItem[];
91
52
  }
@@ -1,59 +1,40 @@
1
1
  import type { Five, Mode } from '@realsee/five';
2
- import type { Object3D } from 'three';
3
- import { Vector3 } from 'three';
2
+ import * as THREE from 'three';
4
3
  import { Subscribe } from '../../shared-utils/Subscribe';
5
4
  import type { LightTag } from '../../shared-utils/tag';
6
5
  import type { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
7
- import type { ServerItem, ItemType, ElementRenderer } from '../typings';
8
- interface ModelWithCenter extends Object3D {
9
- /** 模型中心点 */
10
- center?: Vector3;
11
- }
12
- /**
13
- * @description 模型标注的事件类型
14
- */
15
- type ModelMakerEvent<ServerData extends ServerItem> = {
16
- /** 启用 */
6
+ type Event = {
17
7
  enable: () => void;
18
- /** 禁用 */
19
8
  disable: () => void;
20
- /** 显示 */
21
9
  show: () => void;
22
- /** 隐藏 */
23
10
  hide: () => void;
24
- /** 点击 */
25
- click: (item: ModelMakerBaseItem<ServerData>) => void | boolean;
11
+ click: (item: ModelMakerBaseItem) => void | boolean;
26
12
  };
27
- /**
28
- * @description 模型标注的基类
29
- */
30
- export declare class ModelMakerBaseItem<ServerData extends ServerItem> extends Subscribe<ModelMakerEvent<ServerData>> {
31
- __renderer?: ElementRenderer;
32
- __disposeRenderer?: () => void;
13
+ export declare class ModelMakerBaseItem extends Subscribe<Event> {
33
14
  get container(): HTMLDivElement;
34
- type: ItemType;
15
+ type: string;
35
16
  tag: LightTag;
36
- rawData: ServerData;
37
- model: ModelWithCenter;
17
+ rawData: any;
18
+ model: THREE.Object3D;
38
19
  get state(): {
39
20
  visible: boolean;
40
21
  enabled: boolean;
41
22
  };
42
23
  visibles: boolean[];
43
24
  protected five: Five;
44
- protected group: Object3D;
25
+ protected group: THREE.Object3D;
45
26
  protected fiveDomEvents: FiveDomEvents;
46
- protected disposers: (() => void)[];
27
+ protected disposers: (() => any)[];
47
28
  constructor(params: {
48
29
  five: Five;
49
- model: ModelWithCenter;
50
- group: Object3D;
51
- type: ItemType;
30
+ model: THREE.Object3D;
31
+ group: THREE.Object3D;
32
+ type: string;
52
33
  fiveDomEvents: FiveDomEvents;
53
- rawData?: ServerData;
34
+ rawData?: any;
54
35
  tagWrapper?: HTMLElement;
55
36
  visibleMode?: Mode[];
56
- position?: Vector3;
37
+ position?: THREE.Vector3;
57
38
  tagContainerZIndex?: number;
58
39
  });
59
40
  show(): void;
@@ -1,20 +1,10 @@
1
1
  import { ModelMakerBaseItem } from './baseItem';
2
- import type { ServerBoxItem } from '../typings';
3
- /**
4
- * @description 模型标注的盒子类型标注的构造参数类型
5
- */
6
- type ModelMakerBoxItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerBoxItem>>;
7
- /**
8
- * @description 模型标注的盒子类型标注,即长方体
9
- * @extends ModelMakerBaseItem
10
- */
11
- export declare class ModelMakerBoxItem extends ModelMakerBaseItem<ServerBoxItem> {
12
- constructor(...args: ModelMakerBoxItemArgs);
2
+ export declare class ModelMakerBoxItem extends ModelMakerBaseItem {
3
+ constructor(...args: ConstructorParameters<typeof ModelMakerBaseItem>);
13
4
  enable(): void;
14
5
  disable(): void;
15
6
  show(): void;
16
- updateVisible(): void;
17
7
  protected onClick(): boolean;
18
8
  private hideTag;
9
+ updateVisible(): void;
19
10
  }
20
- export {};
@@ -1,19 +1,9 @@
1
- import type { ServerTrianglesItem } from '../typings';
2
- import { ModelMakerBaseItem } from './baseItem';
3
- /**
4
- * @description 模型标注的多边形类型标注的构造参数类型
5
- */
6
- type ModelMakerPolygonItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerTrianglesItem>>;
7
- /**
8
- * @description 模型标注的多边形类型标注,即多边形
9
- * @extends ModelMakerBaseItem
10
- */
11
- export declare class ModelMakerPolygonItem extends ModelMakerBaseItem<ServerTrianglesItem> {
12
- constructor(...args: ModelMakerPolygonItemArgs);
1
+ import { ModelMakerBoxItem } from './boxItem';
2
+ export declare class ModelMakerPolygonItem extends ModelMakerBoxItem {
3
+ constructor(...args: ConstructorParameters<typeof ModelMakerBoxItem>);
13
4
  show(): void;
14
5
  private onPanoArrived;
15
6
  private onModeChange;
16
7
  private updatePanoIndex;
17
8
  private updateMode;
18
9
  }
19
- export {};
@@ -1,18 +1,8 @@
1
- import type { ServerPrismItem } from '../typings';
2
1
  import { ModelMakerBaseItem } from './baseItem';
3
- /**
4
- * @description 模型标注的棱柱类型标注的构造参数类型
5
- */
6
- type ModelMakerPrismItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerPrismItem>>;
7
- /**
8
- * @description 模型标注的棱柱类型标注
9
- * @extends ModelMakerBaseItem
10
- */
11
- export declare class ModelMakerPrismItem extends ModelMakerBaseItem<ServerPrismItem> {
12
- constructor(...args: ModelMakerPrismItemArgs);
2
+ export declare class ModelMakerPrismItem extends ModelMakerBaseItem {
3
+ constructor(...args: ConstructorParameters<typeof ModelMakerBaseItem>);
13
4
  onModelShownFloorChange: (fiveCurrentfloor: number | null) => void;
14
5
  show(): void;
15
6
  hide(): void;
16
7
  private updateFiveCurrentFloorState;
17
8
  }
18
- export {};
@@ -1,110 +1,56 @@
1
- /**
2
- * @description box 所带的数据详细类型
3
- */
4
- export interface BoxItemObjectData {
5
- /** box 的其中一个顶点坐标 */
6
- start: number[];
7
- /** start 对角位置的顶点坐标 */
8
- end: number[];
9
- /** box 的欧拉角旋转,旋转顺序是 [XYZ] */
10
- rotation?: number[];
11
- /** 标注颜色 */
12
- color?: string;
13
- /** 透明度 */
14
- opacity?: number;
15
- /** 所在楼层 */
16
- floorIndex?: number;
17
- /** 绘制平面的三维世界坐标点数组 */
18
- points?: number[][];
19
- /** 其他信息 */
20
- [key: string]: any;
21
- }
22
- /**
23
- * @description triangles 所带的数据详细类型
24
- */
25
- export interface TrianglesItemObjectData {
26
- /** 可见点位 */
27
- panoIndex?: number;
28
- /** 多边形的顶点坐标数组 */
29
- points: number[][];
30
- /** 标注颜色 */
31
- color?: string;
32
- /** 透明度 */
33
- opacity?: number;
34
- /** 其他信息 */
35
- [key: string]: any;
36
- }
37
- /**
38
- * @description prism 所带的数据详细类型
39
- */
40
- export interface PrismItemObjectData {
41
- /** 绘制平面的三维世界坐标点数组 */
42
- points: number[][];
43
- /** 楼层高度 */
44
- height: number;
45
- /** 所在楼层 */
46
- floorIndex?: number;
47
- /** 人工设置的y坐标方向偏移 */
48
- fixedY?: number;
49
- /** 人工设置的高度修正 */
50
- fixedHeight?: number;
51
- /** 标注颜色 */
52
- color?: string;
53
- /** 透明度 */
54
- opacity?: number;
55
- /** 是否是危险区域 */
56
- isRiskyArea?: boolean;
57
- /** 关联VR ID列表 */
58
- related_resource_code_list?: string[];
59
- /** 空间编码 */
60
- space_code?: string;
61
- /** 其他信息 */
62
- [key: string]: any;
1
+ export interface ServerData {
2
+ list: (ServerBoxItem | ServerTrianglesItem | ServerPrismItem)[];
63
3
  }
64
- /**
65
- * @description 基础数据类型
66
- */
67
- export interface ServerBaseItem<TObjectData = any> {
4
+ export interface ServerBaseItem {
68
5
  /** 唯一标识 */
69
6
  id?: number;
70
7
  /** 标签名 */
71
8
  name?: string;
72
- /** 类型 */
73
- type: ItemType;
74
- /** 对象数据 */
75
- object_data: TObjectData;
76
- /** 其他信息 */
77
- [key: string]: any;
78
9
  }
79
- /**
80
- * @description 模型类型枚举
81
- */
82
- export type ItemType = 'box' | 'triangles' | 'prism';
83
- /**
84
- * @description box 数据类型
85
- */
86
- export interface ServerBoxItem extends ServerBaseItem<BoxItemObjectData> {
10
+ export interface ServerBoxItem extends ServerBaseItem {
87
11
  type: 'box';
88
- }
89
- /**
90
- * @description triangles 数据类型
91
- */
92
- export interface ServerTrianglesItem extends ServerBaseItem<TrianglesItemObjectData> {
12
+ object_data: {
13
+ /** box 的其中一个顶点坐标 */
14
+ start: number[];
15
+ /** start 对角位置的顶点坐标 */
16
+ end: number[];
17
+ /** box 的欧拉角旋转,旋转顺序是 [XYZ] */
18
+ rotation?: number[];
19
+ /** 标注颜色 */
20
+ color?: string;
21
+ /** 透明度 */
22
+ opacity?: number;
23
+ };
24
+ }
25
+ export interface ServerTrianglesItem extends ServerBaseItem {
93
26
  type: 'triangles';
94
- }
95
- /**
96
- * @description prism 数据类型
97
- */
98
- export interface ServerPrismItem extends ServerBaseItem<PrismItemObjectData> {
27
+ object_data: {
28
+ /** 可见点位 */
29
+ panoIndex?: number;
30
+ /** 多边形的顶点坐标数组 */
31
+ points: number[][];
32
+ /** 标注颜色 */
33
+ color?: string;
34
+ /** 透明度 */
35
+ opacity?: number;
36
+ };
37
+ }
38
+ export interface ServerPrismItem extends ServerBaseItem {
99
39
  type: 'prism';
100
- }
101
- /**
102
- * @description 所有 item 数据类型
103
- */
104
- export type ServerItem = ServerBoxItem | ServerTrianglesItem | ServerPrismItem;
105
- /**
106
- * @description 服务端存储数据类型
107
- */
108
- export interface ServerData {
109
- list: ServerItem[];
40
+ object_data: {
41
+ /** 绘制平面的三维世界坐标点数组 */
42
+ points: number[][];
43
+ /** 楼层高度 */
44
+ height: number;
45
+ /** 所在楼层 */
46
+ floorIndex?: number;
47
+ /** 人工设置的y坐标方向偏移 */
48
+ fixedY?: number;
49
+ /** 人工设置的高度修正 */
50
+ fixedHeight?: number;
51
+ /** 标注颜色 */
52
+ color?: string;
53
+ /** 透明度 */
54
+ opacity?: number;
55
+ };
110
56
  }
@@ -1,16 +1,7 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import type * as BasePlugin from '../../base/BasePluginWithData';
3
+ import type { ModelMakerBaseItem } from '../item/baseItem';
3
4
  import type { ServerData } from './data';
4
- import type { ModelMakerBoxItem } from '../item/boxItem';
5
- import type { ModelMakerPolygonItem } from '../item/polygonItem';
6
- import type { ModelMakerPrismItem } from '../item/prismItem';
7
- export type { ModelMakerBoxItem } from '../item/boxItem';
8
- export type { ModelMakerPolygonItem } from '../item/polygonItem';
9
- export type { ModelMakerPrismItem } from '../item/prismItem';
10
- export type { ServerBoxItem } from './data';
11
- export type { ServerTrianglesItem } from './data';
12
- export type { ServerPrismItem } from './data';
13
- export type { ItemType } from './data';
14
5
  export type { Controller as ModelMakerController } from '../Controller';
15
6
  export type * from './data';
16
7
  /** 插件状态 */
@@ -47,5 +38,5 @@ export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
47
38
  userAction: boolean;
48
39
  }) => void;
49
40
  }
50
- export type MarkerItem = ModelMakerBoxItem | ModelMakerPolygonItem | ModelMakerPrismItem;
51
- export type ElementRenderer = (container: HTMLElement, item: MarkerItem, five?: Five) => () => void;
41
+ export type ItemType = ServerData['list'][number]['type'];
42
+ export type ElementRenderer = (container: HTMLElement, item: ModelMakerBaseItem, five?: Five) => () => void;
@@ -0,0 +1 @@
1
+ export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -10,22 +10,7 @@ type Style = LineMeshStyle & {
10
10
  startPoint?: boolean;
11
11
  endPoint?: boolean;
12
12
  };
13
- /**
14
- * 点颜色
15
- */
16
13
  pointColor?: Color;
17
- /**
18
- * 点透明度
19
- */
20
- pointOpacity?: number;
21
- /**
22
- * 线颜色
23
- */
24
- lineColor?: Color;
25
- /**
26
- * 线透明度
27
- */
28
- lineOpacity?: number;
29
14
  };
30
15
  /**
31
16
  * Represents a mesh that consists of a line with dots at the start and end points.
@@ -45,10 +45,10 @@ export declare class PrismMesh extends IObject3D {
45
45
  center: THREE.Vector3;
46
46
  };
47
47
  protected geometryInfoNeedUpdate: boolean;
48
- private edgeMesh;
49
48
  prismMesh: ColoredMesh & {
50
49
  geometry: PrismGeometry;
51
50
  };
51
+ private edgeMesh;
52
52
  paramStyle: Partial<PrismStyle>;
53
53
  constructor(params?: Partial<PrismData & PrismStyle>);
54
54
  setStyle(params?: Partial<PrismStyle>): void;