@realsee/dnalogel 3.64.22 → 3.64.23-alpha.16

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 (468) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/ModelMakerPlugin/Controller.d.ts +38 -1
  3. package/dist/ModelMakerPlugin/item/baseItem.d.ts +5 -0
  4. package/dist/ModelMakerPlugin/item/boxItem.d.ts +5 -1
  5. package/dist/ModelMakerPlugin/typings/data.d.ts +2 -0
  6. package/dist/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
  7. package/dist/Sculpt/Meshes/Prism.d.ts +6 -1
  8. package/dist/floorplan/typings/floorplanData.d.ts +49 -0
  9. package/dist/floorplan/typings/floorplanServerData.d.ts +2 -0
  10. package/dist/index.cjs.js +115 -53
  11. package/dist/index.js +7674 -7147
  12. package/dist/index.umd.js +111 -49
  13. package/docs/assets/navigation.js +1 -1
  14. package/docs/assets/search.js +1 -1
  15. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  16. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  17. package/docs/classes/CSS3DRender.html +3 -3
  18. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  19. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  20. package/docs/classes/ModelMakerPluginInstance.html +30 -15
  21. package/docs/classes/ModelRoomLabelController.html +6 -6
  22. package/docs/classes/MoveController.html +17 -17
  23. package/docs/classes/Object3DHelperController.html +15 -15
  24. package/docs/classes/PaintBrush.html +5 -5
  25. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  26. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  27. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  28. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  29. package/docs/classes/PanoTagPluginController.html +34 -34
  30. package/docs/classes/Sculpt.html +23 -23
  31. package/docs/classes/Util.BetterTween.html +2 -2
  32. package/docs/classes/Util.FiveDomEvents.html +4 -4
  33. package/docs/classes/Util.FivePuppet.html +3 -3
  34. package/docs/classes/Util.Interval.html +5 -5
  35. package/docs/classes/Util.LightTag.html +15 -15
  36. package/docs/classes/Util.LineSegments.html +2 -2
  37. package/docs/classes/Util.Magnifier.html +6 -6
  38. package/docs/classes/Util.Object3D.html +4 -4
  39. package/docs/classes/Util.PointHelper.html +2 -2
  40. package/docs/classes/Util.PointSelector.html +16 -16
  41. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  42. package/docs/classes/Util.Rectangle.html +5 -5
  43. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  44. package/docs/classes/Util.sculpt.BoxMesh.html +10 -7
  45. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  46. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  47. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  48. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  49. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  50. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  51. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  52. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  53. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  54. package/docs/classes/Util.sculpt.PrismMesh.html +10 -7
  55. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  56. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  57. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  58. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  59. package/docs/classes/WalkController.html +18 -18
  60. package/docs/enums/CameraMovementEffect.html +3 -3
  61. package/docs/enums/ContentType.html +18 -18
  62. package/docs/enums/DIRECTION.html +2 -2
  63. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  64. package/docs/enums/DimensionType.html +3 -3
  65. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  66. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  67. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  68. package/docs/enums/PointType.html +3 -3
  69. package/docs/enums/Rotation.html +3 -3
  70. package/docs/functions/AreaMakerPlugin.html +1 -1
  71. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  72. package/docs/functions/CameraMovementPlugin.html +2 -2
  73. package/docs/functions/CruisePlugin.html +1 -1
  74. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  75. package/docs/functions/GuideLinePlugin.html +1 -1
  76. package/docs/functions/ItemLabelPlugin.html +1 -1
  77. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  78. package/docs/functions/MeasurePlugin.html +1 -1
  79. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  80. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  81. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  82. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  83. package/docs/functions/ModelMakerPlugin.html +1 -1
  84. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  85. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  86. package/docs/functions/ModelViewPlugin.html +2 -2
  87. package/docs/functions/MovePlugin.html +1 -1
  88. package/docs/functions/Object3DHelperPlugin.html +1 -1
  89. package/docs/functions/PanoCompassPlugin.html +1 -1
  90. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  91. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  92. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  93. package/docs/functions/PanoMeasurePlugin.html +1 -1
  94. package/docs/functions/PanoRulerPlugin.html +2 -2
  95. package/docs/functions/PanoRulerProPlugin.html +2 -2
  96. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  97. package/docs/functions/PanoTagPlugin.html +1 -1
  98. package/docs/functions/PanoVideoPlugin.html +2 -2
  99. package/docs/functions/PipelinePlugin.html +1 -1
  100. package/docs/functions/SculptPlugin.html +2 -2
  101. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  102. package/docs/functions/Util.absoluteUrl.html +2 -2
  103. package/docs/functions/Util.awaitNextFrame.html +1 -1
  104. package/docs/functions/Util.blink.html +2 -2
  105. package/docs/functions/Util.bounding.html +1 -1
  106. package/docs/functions/Util.boundingBox.html +1 -1
  107. package/docs/functions/Util.boundingSphere.html +1 -1
  108. package/docs/functions/Util.boxVertex.html +2 -2
  109. package/docs/functions/Util.boxVertexes.html +1 -1
  110. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  111. package/docs/functions/Util.convexHull.html +2 -2
  112. package/docs/functions/Util.equal.html +2 -2
  113. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  114. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  115. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  116. package/docs/functions/Util.getFrameTime.html +2 -2
  117. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  118. package/docs/functions/Util.inside.html +1 -1
  119. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  120. package/docs/functions/Util.isModelLike.html +1 -1
  121. package/docs/functions/Util.isNil.html +2 -2
  122. package/docs/functions/Util.isPanoramaLike.html +1 -1
  123. package/docs/functions/Util.lookObject.html +2 -2
  124. package/docs/functions/Util.lookPoint.html +2 -2
  125. package/docs/functions/Util.nextFrame.html +1 -1
  126. package/docs/functions/Util.notNil.html +2 -2
  127. package/docs/functions/Util.reblink.html +2 -2
  128. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  129. package/docs/functions/Util.sculpt.createBox.html +1 -1
  130. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  131. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  132. package/docs/functions/Util.sculpt.createLine.html +2 -2
  133. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  134. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  135. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  136. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  137. package/docs/functions/Util.tag.html +1 -1
  138. package/docs/functions/Util.tweenProgress.html +1 -1
  139. package/docs/functions/Util.uuid.html +2 -2
  140. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  141. package/docs/functions/Util.worldBounding.html +1 -1
  142. package/docs/functions/Util.worldBoundingBox.html +1 -1
  143. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  144. package/docs/functions/createPolyline.html +2 -2
  145. package/docs/functions/pluginFlag.html +1 -1
  146. package/docs/hierarchy.html +1 -1
  147. package/docs/index.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  149. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  150. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  151. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  152. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  153. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  154. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  155. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  156. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  158. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  159. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  160. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  161. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  162. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  163. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  165. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  166. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  167. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  168. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  169. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  170. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  172. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  173. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  174. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  175. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  177. package/docs/interfaces/FloorplanBounding.html +5 -5
  178. package/docs/interfaces/FloorplanData.html +4 -3
  179. package/docs/interfaces/FloorplanEntrance.html +8 -8
  180. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  181. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  182. package/docs/interfaces/FloorplanFloorData.html +3 -3
  183. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  184. package/docs/interfaces/FloorplanObserver.html +3 -3
  185. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  186. package/docs/interfaces/FloorplanPosition.html +3 -3
  187. package/docs/interfaces/FloorplanRoomItem.html +9 -9
  188. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  189. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  190. package/docs/interfaces/FloorplanServerComputedData.html +3 -2
  191. package/docs/interfaces/FloorplanServerData.html +3 -3
  192. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  193. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  194. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  195. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  196. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  197. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  198. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  199. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  200. package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
  201. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  202. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  204. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  205. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
  206. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  207. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  209. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  210. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  212. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -20
  214. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  215. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  217. package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
  218. package/docs/interfaces/HelperOffset.html +2 -2
  219. package/docs/interfaces/IFloorplanArea.html +25 -0
  220. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  221. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  222. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  224. package/docs/interfaces/MinMax.html +2 -2
  225. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  226. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  228. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  229. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  230. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  231. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  234. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  235. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +5 -4
  236. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  238. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  239. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  240. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  241. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  242. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  243. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  244. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  245. package/docs/interfaces/Object3DHelperState.html +2 -2
  246. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  247. package/docs/interfaces/PaintBrushAction.html +7 -7
  248. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  249. package/docs/interfaces/PaintBrushState.html +2 -2
  250. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  251. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  252. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  253. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  255. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  257. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  258. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  259. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  260. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  265. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  266. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  274. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  275. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  277. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  279. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  280. package/docs/interfaces/PluginEventMap.html +4 -4
  281. package/docs/interfaces/Point.html +2 -2
  282. package/docs/interfaces/Room.html +2 -2
  283. package/docs/interfaces/RoomInfo.html +2 -2
  284. package/docs/interfaces/RoomLabel.html +7 -7
  285. package/docs/interfaces/RoomRules.html +1 -1
  286. package/docs/interfaces/Rooms.html +1 -1
  287. package/docs/interfaces/Scissor.html +6 -6
  288. package/docs/interfaces/State.html +4 -4
  289. package/docs/interfaces/TagCacheInterface.html +3 -3
  290. package/docs/interfaces/TagConfig.html +11 -11
  291. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  292. package/docs/interfaces/TagIconUrl.html +9 -9
  293. package/docs/interfaces/TagObjectGroup.html +2 -2
  294. package/docs/interfaces/TagStyle.html +2 -2
  295. package/docs/interfaces/Tags.html +4 -4
  296. package/docs/interfaces/TemporaryState.html +2 -2
  297. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  298. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  299. package/docs/interfaces/Util.EventHandlerConfig.html +6 -6
  300. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  301. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  302. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  303. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  304. package/docs/interfaces/Util.PointIntersection.html +11 -11
  305. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  306. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  307. package/docs/modules/AreaMakerPluginType.html +2 -2
  308. package/docs/modules/CruisePluginTypes.html +2 -2
  309. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  310. package/docs/modules/GuideLineItem.html +2 -2
  311. package/docs/modules/GuideLineModeItem.html +2 -2
  312. package/docs/modules/GuideLinePluginType.html +2 -2
  313. package/docs/modules/ModelMakerPluginType.html +2 -2
  314. package/docs/modules/PanoVideoPluginType.html +2 -2
  315. package/docs/modules/SculptData.html +2 -2
  316. package/docs/modules/SculptType.html +2 -2
  317. package/docs/modules/Util.html +2 -2
  318. package/docs/modules/Util.sculpt.html +2 -2
  319. package/docs/modules.html +3 -2
  320. package/docs/types/AddObject3DHelperConfig.html +2 -2
  321. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  322. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  323. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  324. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  325. package/docs/types/ArrayPosition.html +1 -1
  326. package/docs/types/AudioAppearance.html +1 -1
  327. package/docs/types/CSS3DRenderExportType.html +1 -1
  328. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  329. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  330. package/docs/types/ClassFunctionParameters.html +1 -1
  331. package/docs/types/Color.html +1 -1
  332. package/docs/types/ContentTypeConfigKey.html +1 -1
  333. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  334. package/docs/types/ContentTypeMap.html +1 -1
  335. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  336. package/docs/types/Create3DElementReturnType.html +1 -1
  337. package/docs/types/CruisePluginExportType.html +1 -1
  338. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  339. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  340. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  341. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  342. package/docs/types/DeprecatedTagProperty.html +2 -2
  343. package/docs/types/Direction-1.html +1 -1
  344. package/docs/types/Direction4.html +1 -1
  345. package/docs/types/ElementRenderer.html +2 -2
  346. package/docs/types/FloorplanRuleLabels.html +2 -2
  347. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  348. package/docs/types/GuideLinePluginExportType.html +1 -1
  349. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  350. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  351. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  352. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  353. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  354. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  355. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  356. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  357. package/docs/types/HelperEventMap.html +1 -1
  358. package/docs/types/InternalHelperEventMap.html +1 -1
  359. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  360. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  361. package/docs/types/MeasurePluginConfig.html +1 -1
  362. package/docs/types/MediaData.html +2 -2
  363. package/docs/types/MediaStore.html +1 -1
  364. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  365. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  366. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  367. package/docs/types/ModelId.html +1 -1
  368. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  369. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  370. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  371. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  372. package/docs/types/MoveArgs.html +2 -2
  373. package/docs/types/MoveOpts.html +2 -2
  374. package/docs/types/Object3DHelperEventMap.html +1 -1
  375. package/docs/types/ObjectFit.html +1 -1
  376. package/docs/types/PaintBrushEventMap.html +1 -1
  377. package/docs/types/PanoCompassPluginData.html +1 -1
  378. package/docs/types/PanoCompassPluginExportType.html +1 -1
  379. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  380. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  381. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  382. package/docs/types/PanoIndex.html +1 -1
  383. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  384. package/docs/types/PanoMeasureReturnType.html +1 -1
  385. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  386. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  387. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  388. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  389. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  390. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  391. package/docs/types/PipelinePluginParameterType.html +1 -1
  392. package/docs/types/PipelinePluginReturnType.html +1 -1
  393. package/docs/types/PlaneTag.html +2 -2
  394. package/docs/types/Point2DTag.html +2 -2
  395. package/docs/types/Point3DTag.html +2 -2
  396. package/docs/types/PointTagInstance.html +1 -1
  397. package/docs/types/Position.html +1 -1
  398. package/docs/types/PositionFrom.html +1 -1
  399. package/docs/types/RotateArgs.html +2 -2
  400. package/docs/types/RotateOpts.html +2 -2
  401. package/docs/types/RuleLabelsKey.html +1 -1
  402. package/docs/types/RuleLabelsValue.html +1 -1
  403. package/docs/types/ScaleCallback.html +1 -1
  404. package/docs/types/ScalePosition.html +2 -2
  405. package/docs/types/SculptData.BoxData.html +1 -1
  406. package/docs/types/SculptData.CircleData.html +1 -1
  407. package/docs/types/SculptData.CylinderData.html +1 -1
  408. package/docs/types/SculptData.PointData.html +1 -1
  409. package/docs/types/SculptData.PolygonData.html +1 -1
  410. package/docs/types/SculptData.PolylineData.html +1 -1
  411. package/docs/types/SculptData.PrismData.html +1 -1
  412. package/docs/types/SculptData.RectangleData.html +1 -1
  413. package/docs/types/SculptType.Theme.html +2 -2
  414. package/docs/types/StickType.html +1 -1
  415. package/docs/types/Tag.html +2 -2
  416. package/docs/types/Tag2D.html +2 -2
  417. package/docs/types/Tag3D.html +2 -2
  418. package/docs/types/TagClickParams.html +1 -1
  419. package/docs/types/TagConfigByKey.html +1 -1
  420. package/docs/types/TagContentType.html +1 -1
  421. package/docs/types/TagContentTypeMapping.html +1 -1
  422. package/docs/types/TagDimensionType.html +1 -1
  423. package/docs/types/TagElement.html +2 -2
  424. package/docs/types/TagEvents.html +1 -1
  425. package/docs/types/TagGLTFObject.html +1 -1
  426. package/docs/types/TagHooks.html +1 -1
  427. package/docs/types/TagId.html +1 -1
  428. package/docs/types/TagInstance.html +1 -1
  429. package/docs/types/TagPointType.html +2 -2
  430. package/docs/types/TagRendererMap.html +1 -1
  431. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  432. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  433. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  434. package/docs/types/Util.AdherePoint.html +2 -2
  435. package/docs/types/Util.PointSelectorConfig.html +1 -1
  436. package/docs/types/WorkCode.html +1 -1
  437. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  438. package/docs/variables/PLUGIN.html +1 -1
  439. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  440. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  441. package/docs/variables/Util.animeMap.html +1 -1
  442. package/docs/variables/defaultGlobalConfig.html +1 -1
  443. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  444. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  445. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  446. package/libs/ModelMakerPlugin/Controller.d.ts +38 -1
  447. package/libs/ModelMakerPlugin/Controller.js +401 -136
  448. package/libs/ModelMakerPlugin/index.js +4 -3
  449. package/libs/ModelMakerPlugin/item/baseItem.d.ts +5 -0
  450. package/libs/ModelMakerPlugin/item/baseItem.js +42 -22
  451. package/libs/ModelMakerPlugin/item/boxItem.d.ts +5 -1
  452. package/libs/ModelMakerPlugin/item/boxItem.js +36 -13
  453. package/libs/ModelMakerPlugin/typings/data.d.ts +2 -0
  454. package/libs/ModelMakerPlugin/utils/BoxLabelItem.js +204 -0
  455. package/libs/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
  456. package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -10
  457. package/libs/Sculpt/Meshes/Prism.d.ts +6 -1
  458. package/libs/Sculpt/Meshes/Prism.js +37 -30
  459. package/libs/base/BasePlugin.js +3 -3
  460. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +146 -136
  461. package/libs/floorplan/Components/SvgImage.js +23 -17
  462. package/libs/floorplan/typings/floorplanData.d.ts +49 -0
  463. package/libs/floorplan/typings/floorplanServerData.d.ts +2 -0
  464. package/libs/floorplan/utils/formatData.js +14 -13
  465. package/libs/index.js +146 -145
  466. package/libs/shared-utils/logger.js +1 -1
  467. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
  468. package/package.json +1 -1
@@ -13,7 +13,7 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
13
13
  import "../shared-utils/three/core/Sphere.js";
14
14
  import "../vendor/animejs/lib/anime.es.js";
15
15
  import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
16
- import { absoluteUrl as p } from "../shared-utils/url/absoluteUrl.js";
16
+ import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
17
17
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
18
18
  import "../shared-utils/five/FivePuppet.js";
19
19
  let E = class {
@@ -21,7 +21,7 @@ let E = class {
21
21
  /**
22
22
  * @realsee/dnalogel 版本号
23
23
  */
24
- i(this, "VERSION", "3.64.22");
24
+ i(this, "VERSION", "3.64.23-alpha.16");
25
25
  i(this, "NAME");
26
26
  i(this, "five");
27
27
  i(this, "workUtil");
@@ -52,7 +52,7 @@ let E = class {
52
52
  * @description: 获取静态资源的url
53
53
  */
54
54
  absoluteUrl(t) {
55
- return p(this.staticPrefix, t);
55
+ return a(this.staticPrefix, t);
56
56
  }
57
57
  onWorkCodeChange() {
58
58
  }
@@ -1,74 +1,74 @@
1
- import { SvelteComponent as I, init as W, safe_not_equal as w, append_styles as z, empty as k, insert as g, transition_in as _, group_outros as A, transition_out as d, check_outros as v, detach as E, element as q, attr as C, action_destroyer as M, listen as S, update_keyed_each as j, outro_and_destroy_block as B, run_all as F, assign as G, create_component as H, mount_component as J, get_spread_update as K, destroy_component as P } from "../../../vendor/svelte/internal/index.js";
2
- import { RoomLabel as Q } from "./RoomLabel.js";
3
- import { svelteResizeObserver as U } from "../../../shared-utils/svelte/resizeObserver.js";
4
- function X(r) {
5
- z(r, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
1
+ import { SvelteComponent as w, init as z, safe_not_equal as S, append_styles as q, empty as O, insert as E, transition_in as _, group_outros as V, transition_out as d, check_outros as x, detach as c, element as C, attr as M, action_destroyer as j, listen as B, update_keyed_each as F, outro_and_destroy_block as G, run_all as H, assign as J, create_component as K, mount_component as P, get_spread_update as Q, destroy_component as U } from "../../../vendor/svelte/internal/index.js";
2
+ import { RoomLabel as X } from "./RoomLabel.js";
3
+ import { svelteResizeObserver as Y } from "../../../shared-utils/svelte/resizeObserver.js";
4
+ function Z(r) {
5
+ q(r, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
6
6
  }
7
- function y(r, e, o) {
7
+ function N(r, e, o) {
8
8
  const l = r.slice();
9
- return l[15] = e[o], l;
9
+ return l[17] = e[o], l[19] = o, l;
10
10
  }
11
- function L(r) {
12
- let e, o = [], l = /* @__PURE__ */ new Map(), a, b, u, m = (
11
+ function k(r) {
12
+ let e, o = [], l = /* @__PURE__ */ new Map(), n, b, s, i = (
13
13
  /*rooms*/
14
- r[11]
14
+ r[9]
15
15
  );
16
- const f = (t) => (
16
+ const u = (a) => (
17
17
  /*room*/
18
- t[15].id
18
+ a[17].id
19
19
  );
20
- for (let t = 0; t < m.length; t += 1) {
21
- let i = y(r, m, t), s = f(i);
22
- l.set(s, o[t] = N(s, i));
20
+ for (let a = 0; a < i.length; a += 1) {
21
+ let m = N(r, i, a), f = u(m);
22
+ l.set(f, o[a] = v(f, m));
23
23
  }
24
24
  return {
25
25
  c() {
26
- e = q("div");
27
- for (let t = 0; t < o.length; t += 1)
28
- o[t].c();
29
- C(e, "class", "floorplan-plugin__room-labels svelte-13xux0b");
26
+ e = C("div");
27
+ for (let a = 0; a < o.length; a += 1)
28
+ o[a].c();
29
+ M(e, "class", "floorplan-plugin__room-labels svelte-13xux0b");
30
30
  },
31
- m(t, i) {
32
- g(t, e, i);
33
- for (let s = 0; s < o.length; s += 1)
34
- o[s] && o[s].m(e, null);
35
- a = !0, b || (u = [
36
- M(U.call(null, e)),
37
- S(
31
+ m(a, m) {
32
+ E(a, e, m);
33
+ for (let f = 0; f < o.length; f += 1)
34
+ o[f] && o[f].m(e, null);
35
+ n = !0, b || (s = [
36
+ j(Y.call(null, e)),
37
+ B(
38
38
  e,
39
39
  "clientWidth",
40
40
  /*clientWidth_handler*/
41
- r[14]
41
+ r[16]
42
42
  )
43
43
  ], b = !0);
44
44
  },
45
- p(t, i) {
46
- i & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
47
- 3583 && (m = /*rooms*/
48
- t[11], A(), o = j(o, i, f, 1, t, m, l, e, B, N, null, y), v());
45
+ p(a, m) {
46
+ m & /*pxmm, rooms, hoveredRoom, roomAreaVisibility, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
47
+ 3839 && (i = /*rooms*/
48
+ a[9], V(), o = F(o, m, u, 1, a, i, l, e, G, v, null, N), x());
49
49
  },
50
- i(t) {
51
- if (!a) {
52
- for (let i = 0; i < m.length; i += 1)
53
- _(o[i]);
54
- a = !0;
50
+ i(a) {
51
+ if (!n) {
52
+ for (let m = 0; m < i.length; m += 1)
53
+ _(o[m]);
54
+ n = !0;
55
55
  }
56
56
  },
57
- o(t) {
58
- for (let i = 0; i < o.length; i += 1)
59
- d(o[i]);
60
- a = !1;
57
+ o(a) {
58
+ for (let m = 0; m < o.length; m += 1)
59
+ d(o[m]);
60
+ n = !1;
61
61
  },
62
- d(t) {
63
- t && E(e);
64
- for (let i = 0; i < o.length; i += 1)
65
- o[i].d();
66
- b = !1, F(u);
62
+ d(a) {
63
+ a && c(e);
64
+ for (let m = 0; m < o.length; m += 1)
65
+ o[m].d();
66
+ b = !1, H(s);
67
67
  }
68
68
  };
69
69
  }
70
- function N(r, e) {
71
- let o, l, a;
70
+ function v(r, e) {
71
+ let o, l, n;
72
72
  const b = [
73
73
  {
74
74
  pxmm: (
@@ -77,62 +77,65 @@ function N(r, e) {
77
77
  ),
78
78
  room: (
79
79
  /*room*/
80
- e[15]
80
+ e[17]
81
81
  ),
82
82
  hoveredRoom: (
83
83
  /*hoveredRoom*/
84
- e[4]
84
+ e[3]
85
85
  ),
86
86
  roomAreaEnable: (
87
- /*roomAreaEnable*/
88
- e[0]
87
+ /*roomAreaVisibility*/
88
+ e[11][
89
+ /*index*/
90
+ e[19]
91
+ ]
89
92
  ),
90
93
  roomNameEnable: (
91
94
  /*roomNameEnable*/
92
- e[1]
95
+ e[0]
93
96
  ),
94
97
  roomNameOtherTypeEnable: (
95
98
  /*roomNameOtherTypeEnable*/
96
- e[2]
99
+ e[1]
97
100
  ),
98
101
  roomDimensionEnable: (
99
102
  /*roomDimensionEnable*/
100
- e[3]
103
+ e[2]
101
104
  ),
102
105
  getLabelElement: (
103
106
  /*getLabelElement*/
104
- e[7]
107
+ e[6]
105
108
  ),
106
109
  getRoomAreaText: (
107
110
  /*getRoomAreaText*/
108
- e[5]
111
+ e[4]
109
112
  ),
110
113
  getRoomDimensionText: (
111
114
  /*getRoomDimensionText*/
112
- e[6]
115
+ e[5]
113
116
  ),
114
117
  adaptiveRoomLabelVisibleEnable: (
115
118
  /*adaptiveRoomLabelVisibleEnable*/
116
- e[8]
119
+ e[7]
117
120
  )
118
121
  }
119
122
  ];
120
- let u = {};
121
- for (let m = 0; m < b.length; m += 1)
122
- u = G(u, b[m]);
123
- return l = new Q({ props: u }), {
123
+ let s = {};
124
+ for (let i = 0; i < b.length; i += 1)
125
+ s = J(s, b[i]);
126
+ return l = new X({ props: s }), {
124
127
  key: r,
125
128
  first: null,
126
129
  c() {
127
- o = k(), H(l.$$.fragment), this.first = o;
130
+ o = O(), K(l.$$.fragment), this.first = o;
128
131
  },
129
- m(m, f) {
130
- g(m, o, f), J(l, m, f), a = !0;
132
+ m(i, u) {
133
+ E(i, o, u), P(l, i, u), n = !0;
131
134
  },
132
- p(m, f) {
133
- e = m;
134
- const t = f & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
135
- 3583 ? K(b, [
135
+ p(i, u) {
136
+ e = i;
137
+ const a = u & /*pxmm, rooms, hoveredRoom, roomAreaVisibility, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
138
+ 3839 ? Q(b, [
136
139
  {
137
140
  pxmm: (
138
141
  /*pxmm*/
@@ -140,146 +143,153 @@ function N(r, e) {
140
143
  ),
141
144
  room: (
142
145
  /*room*/
143
- e[15]
146
+ e[17]
144
147
  ),
145
148
  hoveredRoom: (
146
149
  /*hoveredRoom*/
147
- e[4]
150
+ e[3]
148
151
  ),
149
152
  roomAreaEnable: (
150
- /*roomAreaEnable*/
151
- e[0]
153
+ /*roomAreaVisibility*/
154
+ e[11][
155
+ /*index*/
156
+ e[19]
157
+ ]
152
158
  ),
153
159
  roomNameEnable: (
154
160
  /*roomNameEnable*/
155
- e[1]
161
+ e[0]
156
162
  ),
157
163
  roomNameOtherTypeEnable: (
158
164
  /*roomNameOtherTypeEnable*/
159
- e[2]
165
+ e[1]
160
166
  ),
161
167
  roomDimensionEnable: (
162
168
  /*roomDimensionEnable*/
163
- e[3]
169
+ e[2]
164
170
  ),
165
171
  getLabelElement: (
166
172
  /*getLabelElement*/
167
- e[7]
173
+ e[6]
168
174
  ),
169
175
  getRoomAreaText: (
170
176
  /*getRoomAreaText*/
171
- e[5]
177
+ e[4]
172
178
  ),
173
179
  getRoomDimensionText: (
174
180
  /*getRoomDimensionText*/
175
- e[6]
181
+ e[5]
176
182
  ),
177
183
  adaptiveRoomLabelVisibleEnable: (
178
184
  /*adaptiveRoomLabelVisibleEnable*/
179
- e[8]
185
+ e[7]
180
186
  )
181
187
  }
182
188
  ]) : {};
183
- l.$set(t);
189
+ l.$set(a);
184
190
  },
185
- i(m) {
186
- a || (_(l.$$.fragment, m), a = !0);
191
+ i(i) {
192
+ n || (_(l.$$.fragment, i), n = !0);
187
193
  },
188
- o(m) {
189
- d(l.$$.fragment, m), a = !1;
194
+ o(i) {
195
+ d(l.$$.fragment, i), n = !1;
190
196
  },
191
- d(m) {
192
- m && E(o), P(l, m);
197
+ d(i) {
198
+ i && c(o), U(l, i);
193
199
  }
194
200
  };
195
201
  }
196
- function Y(r) {
202
+ function p(r) {
197
203
  let e, o, l = (
198
204
  /*rooms*/
199
- r[11] && L(r)
205
+ r[9] && k(r)
200
206
  );
201
207
  return {
202
208
  c() {
203
- l && l.c(), e = k();
209
+ l && l.c(), e = O();
204
210
  },
205
- m(a, b) {
206
- l && l.m(a, b), g(a, e, b), o = !0;
211
+ m(n, b) {
212
+ l && l.m(n, b), E(n, e, b), o = !0;
207
213
  },
208
- p(a, [b]) {
214
+ p(n, [b]) {
209
215
  /*rooms*/
210
- a[11] ? l ? (l.p(a, b), b & /*rooms*/
211
- 2048 && _(l, 1)) : (l = L(a), l.c(), _(l, 1), l.m(e.parentNode, e)) : l && (A(), d(l, 1, 1, () => {
216
+ n[9] ? l ? (l.p(n, b), b & /*rooms*/
217
+ 512 && _(l, 1)) : (l = k(n), l.c(), _(l, 1), l.m(e.parentNode, e)) : l && (V(), d(l, 1, 1, () => {
212
218
  l = null;
213
- }), v());
219
+ }), x());
214
220
  },
215
- i(a) {
221
+ i(n) {
216
222
  o || (_(l), o = !0);
217
223
  },
218
- o(a) {
224
+ o(n) {
219
225
  d(l), o = !1;
220
226
  },
221
- d(a) {
222
- l && l.d(a), a && E(e);
227
+ d(n) {
228
+ l && l.d(n), n && c(e);
223
229
  }
224
230
  };
225
231
  }
226
- function Z(r, e, o) {
227
- let l, { floorIndex: a } = e, { roomAreaEnable: b } = e, { roomNameEnable: u } = e, { roomNameOtherTypeEnable: m } = e, { roomDimensionEnable: f } = e, { floorplanData: t } = e, { hoveredRoom: i } = e, { getRoomAreaText: s } = e, { getRoomDimensionText: c } = e, { getLabelElement: R } = e, { adaptiveRoomLabelVisibleEnable: T } = e, h = 0, D = 0;
228
- const O = (n) => {
229
- o(9, h = n.detail);
232
+ function $(r, e, o) {
233
+ let l, n, b, { floorIndex: s } = e, { roomAreaEnable: i } = e, { roomNameEnable: u } = e, { roomNameOtherTypeEnable: a } = e, { roomDimensionEnable: m } = e, { floorplanData: f } = e, { hoveredRoom: R } = e, { getRoomAreaText: y } = e, { getRoomDimensionText: T } = e, { getLabelElement: D } = e, { adaptiveRoomLabelVisibleEnable: L } = e, h = 0, A = 0;
234
+ const I = (t) => {
235
+ o(8, h = t.detail);
230
236
  };
231
- return r.$$set = (n) => {
232
- "floorIndex" in n && o(12, a = n.floorIndex), "roomAreaEnable" in n && o(0, b = n.roomAreaEnable), "roomNameEnable" in n && o(1, u = n.roomNameEnable), "roomNameOtherTypeEnable" in n && o(2, m = n.roomNameOtherTypeEnable), "roomDimensionEnable" in n && o(3, f = n.roomDimensionEnable), "floorplanData" in n && o(13, t = n.floorplanData), "hoveredRoom" in n && o(4, i = n.hoveredRoom), "getRoomAreaText" in n && o(5, s = n.getRoomAreaText), "getRoomDimensionText" in n && o(6, c = n.getRoomDimensionText), "getLabelElement" in n && o(7, R = n.getLabelElement), "adaptiveRoomLabelVisibleEnable" in n && o(8, T = n.adaptiveRoomLabelVisibleEnable);
237
+ return r.$$set = (t) => {
238
+ "floorIndex" in t && o(12, s = t.floorIndex), "roomAreaEnable" in t && o(13, i = t.roomAreaEnable), "roomNameEnable" in t && o(0, u = t.roomNameEnable), "roomNameOtherTypeEnable" in t && o(1, a = t.roomNameOtherTypeEnable), "roomDimensionEnable" in t && o(2, m = t.roomDimensionEnable), "floorplanData" in t && o(14, f = t.floorplanData), "hoveredRoom" in t && o(3, R = t.hoveredRoom), "getRoomAreaText" in t && o(4, y = t.getRoomAreaText), "getRoomDimensionText" in t && o(5, T = t.getRoomDimensionText), "getLabelElement" in t && o(6, D = t.getLabelElement), "adaptiveRoomLabelVisibleEnable" in t && o(7, L = t.adaptiveRoomLabelVisibleEnable);
233
239
  }, r.$$.update = () => {
234
240
  if (r.$$.dirty & /*floorplanData, floorIndex*/
235
- 12288 && o(11, l = t.floorDatas[a].rooms), r.$$.dirty & /*floorplanData, clientWidth*/
236
- 8704) {
237
- const { max: n, min: x } = t.bounding, V = n.x - x.x;
238
- o(10, D = h / V);
241
+ 20480 && o(9, l = f.floorDatas[s].rooms), r.$$.dirty & /*floorplanData, floorIndex*/
242
+ 20480 && o(15, n = f.areas[s]), r.$$.dirty & /*rooms, roomAreaEnable, areas*/
243
+ 41472 && o(11, b = l.map((t, g) => i && !n[g].hideSize)), r.$$.dirty & /*floorplanData, clientWidth*/
244
+ 16640) {
245
+ const { max: t, min: g } = f.bounding, W = t.x - g.x;
246
+ o(10, A = h / W);
239
247
  }
240
248
  }, [
241
- b,
242
249
  u,
250
+ a,
243
251
  m,
244
- f,
245
- i,
246
- s,
247
- c,
248
252
  R,
253
+ y,
249
254
  T,
250
- h,
251
255
  D,
256
+ L,
257
+ h,
252
258
  l,
253
- a,
254
- t,
255
- O
259
+ A,
260
+ b,
261
+ s,
262
+ i,
263
+ f,
264
+ n,
265
+ I
256
266
  ];
257
267
  }
258
- class oe extends I {
268
+ class te extends w {
259
269
  constructor(e) {
260
- super(), W(
270
+ super(), z(
261
271
  this,
262
272
  e,
263
- Z,
264
- Y,
265
- w,
273
+ $,
274
+ p,
275
+ S,
266
276
  {
267
277
  floorIndex: 12,
268
- roomAreaEnable: 0,
269
- roomNameEnable: 1,
270
- roomNameOtherTypeEnable: 2,
271
- roomDimensionEnable: 3,
272
- floorplanData: 13,
273
- hoveredRoom: 4,
274
- getRoomAreaText: 5,
275
- getRoomDimensionText: 6,
276
- getLabelElement: 7,
277
- adaptiveRoomLabelVisibleEnable: 8
278
+ roomAreaEnable: 13,
279
+ roomNameEnable: 0,
280
+ roomNameOtherTypeEnable: 1,
281
+ roomDimensionEnable: 2,
282
+ floorplanData: 14,
283
+ hoveredRoom: 3,
284
+ getRoomAreaText: 4,
285
+ getRoomDimensionText: 5,
286
+ getLabelElement: 6,
287
+ adaptiveRoomLabelVisibleEnable: 7
278
288
  },
279
- X
289
+ Z
280
290
  );
281
291
  }
282
292
  }
283
293
  export {
284
- oe as RoomLabels
294
+ te as RoomLabels
285
295
  };
@@ -1,27 +1,27 @@
1
- import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u, space as m, attr as _, insert as d, append as v, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as g, init as p, safe_not_equal as r, append_styles as c, element as u, space as m, attr as v, insert as _, append as d, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
2
2
  function h(n) {
3
3
  c(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
4
4
  }
5
5
  function b(n) {
6
- let e, a, l, f;
6
+ let e, s, f, l;
7
7
  return {
8
8
  c() {
9
- e = u("div"), a = new i(!1), l = m(), f = new i(!1), a.a = l, f.a = null, _(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
9
+ e = u("div"), s = new i(!1), f = m(), l = new i(!1), s.a = f, l.a = null, v(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
10
10
  },
11
- m(t, s) {
12
- d(t, e, s), a.m(
11
+ m(t, a) {
12
+ _(t, e, a), s.m(
13
13
  /*svgStyle*/
14
14
  n[1],
15
15
  e
16
- ), v(e, l), f.m(
16
+ ), d(e, f), l.m(
17
17
  /*content*/
18
18
  n[0],
19
19
  e
20
20
  );
21
21
  },
22
- p(t, [s]) {
23
- s & /*content*/
24
- 1 && f.p(
22
+ p(t, [a]) {
23
+ a & /*content*/
24
+ 1 && l.p(
25
25
  /*content*/
26
26
  t[0]
27
27
  );
@@ -33,9 +33,9 @@ function b(n) {
33
33
  }
34
34
  };
35
35
  }
36
- function w(n, e, a) {
37
- let { content: l } = e;
38
- const f = `
36
+ function k(n, e, s) {
37
+ let { content: f } = e;
38
+ const l = `
39
39
  <style>
40
40
  svg [type='lineGroup'] path {
41
41
  fill: #ffffff;
@@ -43,17 +43,23 @@ function w(n, e, a) {
43
43
  }
44
44
  svg [type='lineItemGroup'] g g g g {
45
45
  stroke: #ffffff;
46
+ }
47
+ svg defs g g g {
48
+ stroke: #ffffff;
49
+ }
50
+ svg [type='areaGroup'] path {
51
+ fill: none;
46
52
  }</style>
47
53
  `;
48
54
  return n.$$set = (t) => {
49
- "content" in t && a(0, l = t.content);
50
- }, [l, f];
55
+ "content" in t && s(0, f = t.content);
56
+ }, [f, l];
51
57
  }
52
- class k extends p {
58
+ class G extends g {
53
59
  constructor(e) {
54
- super(), r(this, e, w, b, g, { content: 0 }, h);
60
+ super(), p(this, e, k, b, r, { content: 0 }, h);
55
61
  }
56
62
  }
57
63
  export {
58
- k as SvgImage
64
+ G as SvgImage
59
65
  };
@@ -100,6 +100,53 @@ export interface FloorplanFloorData {
100
100
  rules: FloorplanRuleLabels;
101
101
  items?: any[];
102
102
  }
103
+ interface IAreas {
104
+ id: string;
105
+ direction: string;
106
+ directionCode: string;
107
+ roomType: string;
108
+ sharedLineItems: string[];
109
+ sharedLines: string[];
110
+ towardsRad: number;
111
+ type: number;
112
+ }
113
+ export interface IFloorplanArea {
114
+ attachments: {
115
+ areas: IAreas[];
116
+ lineItems: {
117
+ direction: string;
118
+ directionCode: string;
119
+ edge: boolean;
120
+ id: string;
121
+ is: string;
122
+ length: number;
123
+ towardsRad: number;
124
+ }[];
125
+ };
126
+ points: string[];
127
+ roomName: string;
128
+ roomType: string;
129
+ roomTypeName: number;
130
+ typeName: string;
131
+ type: number;
132
+ id: string;
133
+ empty: boolean;
134
+ roomTypeLabelMod: boolean;
135
+ labelX: number;
136
+ labelY: number;
137
+ hideName: boolean;
138
+ size: number;
139
+ customizedName: string;
140
+ displayName: string;
141
+ floorType: number;
142
+ hideSize: boolean;
143
+ nameIndex: string;
144
+ simpleLabelMod: false;
145
+ sizeWithoutLine: number;
146
+ subLabelX: number;
147
+ subLabelY: number;
148
+ subType: number;
149
+ }
103
150
  /** 对 observer 做一些样式上的计算
104
151
  * @description 每一个 floorplanObserver 对应一个 observer
105
152
  * @description floorplanObserver 和 observer 在自身数组中的索引坐标应该是相同的
@@ -117,6 +164,7 @@ export interface FloorplanData {
117
164
  entrance: FloorplanEntrance | null;
118
165
  bounding: FloorplanBounding;
119
166
  observers: FloorplanObserver[];
167
+ areas: IFloorplanArea[][];
120
168
  }
121
169
  /** 能够映射到雷达图上的三维物体 */
122
170
  export interface FloorplanExtraObject3D {
@@ -146,3 +194,4 @@ export interface FloorplanExtraObject {
146
194
  /** 入户门在户型图上相对坐标 */
147
195
  positionInImage: FloorplanImagePosition;
148
196
  }
197
+ export {};
@@ -1,3 +1,4 @@
1
+ import type { IFloorplanArea } from "./floorplanData";
1
2
  /** 房屋数据映射表 */
2
3
  export declare const ROOM_FETILE_TYPE_MAP: ({
3
4
  type: number;
@@ -144,6 +145,7 @@ export interface FloorplanServerComputedData {
144
145
  bounding: FloorplanServerBounding;
145
146
  observers: FloorplanServerObserver[];
146
147
  doors: FloorplanServerDoorItem[];
148
+ areas: IFloorplanArea[][];
147
149
  }
148
150
  /** 原始输入的户型图数据 */
149
151
  export interface FloorplanServerData {