@realsee/dnalogel 3.19.1 → 3.19.2-dev.3

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 (363) hide show
  1. package/dist/floorplan/typings/floorplanData.d.ts +7 -0
  2. package/dist/floorplan/typings/floorplanServerData.d.ts +7 -0
  3. package/dist/floorplan/typings/index.d.ts +9 -0
  4. package/dist/index.cjs.js +60 -60
  5. package/dist/index.js +5357 -5172
  6. package/dist/index.umd.js +52 -52
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  10. package/docs/classes/CSS3DRender.html +3 -3
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  13. package/docs/classes/Magnifier.html +3 -3
  14. package/docs/classes/ModelRoomLabelController.html +3 -3
  15. package/docs/classes/MoveController.html +3 -3
  16. package/docs/classes/Object3DHelperController.html +3 -3
  17. package/docs/classes/PaintBrush.html +3 -3
  18. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  19. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  22. package/docs/classes/PanoTagPluginController.html +3 -3
  23. package/docs/classes/Util.BetterTween.html +3 -3
  24. package/docs/classes/Util.Interval.html +3 -3
  25. package/docs/classes/Util.LineSegments.html +3 -3
  26. package/docs/classes/Util.Magnifier.html +3 -3
  27. package/docs/classes/Util.Object3D.html +3 -3
  28. package/docs/classes/Util.PointDomHelper.html +3 -3
  29. package/docs/classes/Util.PointHelper.html +3 -3
  30. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  31. package/docs/classes/Util.Rectangle.html +3 -3
  32. package/docs/classes/WalkController.html +3 -3
  33. package/docs/enums/CameraMovementEffect.html +3 -3
  34. package/docs/enums/ContentType.html +3 -3
  35. package/docs/enums/DIRECTION.html +3 -3
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  37. package/docs/enums/DimensionType.html +3 -3
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  40. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  41. package/docs/enums/PointType.html +3 -3
  42. package/docs/enums/Rotation.html +3 -3
  43. package/docs/functions/AreaMakerPlugin.html +3 -3
  44. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  45. package/docs/functions/CameraMovementPlugin.html +3 -3
  46. package/docs/functions/CruisePlugin.html +3 -3
  47. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  48. package/docs/functions/GuideLinePlugin.html +3 -3
  49. package/docs/functions/ItemLabelPlugin.html +3 -3
  50. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  53. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  55. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  56. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  57. package/docs/functions/ModelViewPlugin.html +3 -3
  58. package/docs/functions/MovePlugin.html +3 -3
  59. package/docs/functions/Object3DHelperPlugin.html +3 -3
  60. package/docs/functions/PanoCompassPlugin.html +3 -3
  61. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  62. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  63. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  64. package/docs/functions/PanoMeasurePlugin.html +3 -3
  65. package/docs/functions/PanoRulerPlugin.html +3 -3
  66. package/docs/functions/PanoRulerProPlugin.html +3 -3
  67. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  68. package/docs/functions/PanoTagPlugin.html +3 -3
  69. package/docs/functions/PanoVideoPlugin.html +3 -3
  70. package/docs/functions/PipelinePlugin.html +3 -3
  71. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  72. package/docs/functions/Util.absoluteUrl.html +3 -3
  73. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  74. package/docs/functions/Util.equal.html +3 -3
  75. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  76. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  77. package/docs/functions/Util.getFrameTime.html +3 -3
  78. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  79. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  80. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  81. package/docs/functions/Util.isModelLike.html +3 -3
  82. package/docs/functions/Util.isNil.html +3 -3
  83. package/docs/functions/Util.isPanoramaLike.html +3 -3
  84. package/docs/functions/Util.nextFrame.html +3 -3
  85. package/docs/functions/Util.notNil.html +3 -3
  86. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  87. package/docs/functions/Util.tweenProgress.html +3 -3
  88. package/docs/functions/Util.uuid.html +3 -3
  89. package/docs/functions/pluginFlag.html +3 -3
  90. package/docs/index.html +4 -4
  91. package/docs/interfaces/AddTagConfig.html +3 -3
  92. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  102. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  103. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  104. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  105. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  114. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  119. package/docs/interfaces/EventMap.html +3 -3
  120. package/docs/interfaces/FloorplanBounding.html +3 -3
  121. package/docs/interfaces/FloorplanData.html +9 -9
  122. package/docs/interfaces/FloorplanEntrance.html +3 -3
  123. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  124. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  125. package/docs/interfaces/FloorplanFloorData.html +8 -8
  126. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  127. package/docs/interfaces/FloorplanObserver.html +8 -8
  128. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  129. package/docs/interfaces/FloorplanPosition.html +3 -3
  130. package/docs/interfaces/FloorplanRoomItem.html +28 -5
  131. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  132. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  133. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  134. package/docs/interfaces/FloorplanServerData.html +6 -6
  135. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  136. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  137. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  138. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  139. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  140. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  141. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  142. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  143. package/docs/interfaces/FloorplanServerRoomItem.html +28 -5
  144. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  145. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  146. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  147. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  161. package/docs/interfaces/HelperOffset.html +3 -3
  162. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  163. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  166. package/docs/interfaces/MinMax.html +3 -3
  167. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  170. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  171. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  172. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  175. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  176. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  177. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  178. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  179. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  180. package/docs/interfaces/Object3DHelperState.html +3 -3
  181. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  182. package/docs/interfaces/PaintBrushAction.html +3 -3
  183. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  184. package/docs/interfaces/PaintBrushState.html +3 -3
  185. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  186. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  187. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  188. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  189. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  190. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  191. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  192. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  193. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  194. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  195. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  196. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  197. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  198. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  199. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  200. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  201. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  202. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  203. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  205. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  207. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  208. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  209. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  210. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  211. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  212. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  213. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  214. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  215. package/docs/interfaces/Point.html +3 -3
  216. package/docs/interfaces/Room.html +3 -3
  217. package/docs/interfaces/RoomInfo.html +3 -3
  218. package/docs/interfaces/RoomLabel.html +3 -3
  219. package/docs/interfaces/RoomRules.html +3 -3
  220. package/docs/interfaces/Rooms.html +3 -3
  221. package/docs/interfaces/Scissor.html +3 -3
  222. package/docs/interfaces/State.html +3 -3
  223. package/docs/interfaces/TagCacheInterface.html +3 -3
  224. package/docs/interfaces/TagConfig.html +3 -3
  225. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  226. package/docs/interfaces/TagIconUrl.html +3 -3
  227. package/docs/interfaces/TagObjectGroup.html +3 -3
  228. package/docs/interfaces/TagStyle.html +3 -3
  229. package/docs/interfaces/Tags.html +3 -3
  230. package/docs/interfaces/TemporaryState.html +3 -3
  231. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  232. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  233. package/docs/interfaces/Util.PointIntersection.html +3 -3
  234. package/docs/modules/AreaMakerPluginType.html +3 -3
  235. package/docs/modules/CruisePluginTypes.html +3 -3
  236. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  237. package/docs/modules/GuideLineItem.html +3 -3
  238. package/docs/modules/GuideLineModeItem.html +3 -3
  239. package/docs/modules/GuideLinePluginType.html +3 -3
  240. package/docs/modules/PanoVideoPluginType.html +3 -3
  241. package/docs/modules/Util.html +3 -3
  242. package/docs/modules.html +4 -4
  243. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  244. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  245. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  246. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  247. package/docs/types/ArrayPosition.html +3 -3
  248. package/docs/types/AudioAppearance.html +3 -3
  249. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  250. package/docs/types/CSS3DRenderExportType.html +3 -3
  251. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  252. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  253. package/docs/types/ClassFunctionParameters.html +3 -3
  254. package/docs/types/Color.html +3 -3
  255. package/docs/types/ContentTypeConfigKey.html +3 -3
  256. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  257. package/docs/types/ContentTypeMap.html +3 -3
  258. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  259. package/docs/types/Create3DElementReturnType.html +3 -3
  260. package/docs/types/CruisePluginExportType.html +3 -3
  261. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  262. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  263. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  264. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  265. package/docs/types/DeprecatedTagProperty.html +3 -3
  266. package/docs/types/Direction-1.html +3 -3
  267. package/docs/types/Direction4.html +3 -3
  268. package/docs/types/ElementRenderer.html +3 -3
  269. package/docs/types/FloorplanRuleLabels.html +4 -4
  270. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  271. package/docs/types/GuideLinePluginExportType.html +3 -3
  272. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  273. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  274. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  275. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  276. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  277. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  278. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  279. package/docs/types/HelperEventMap.html +3 -3
  280. package/docs/types/InternalHelperEventMap.html +3 -3
  281. package/docs/types/LoadTagConfig.html +3 -3
  282. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  283. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  284. package/docs/types/MediaData.html +3 -3
  285. package/docs/types/MediaStore.html +3 -3
  286. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  287. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  288. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  289. package/docs/types/ModelId.html +3 -3
  290. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  291. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  292. package/docs/types/MoveArgs.html +3 -3
  293. package/docs/types/MoveOpts.html +3 -3
  294. package/docs/types/Object3DHelperEventMap.html +3 -3
  295. package/docs/types/ObjectFit.html +3 -3
  296. package/docs/types/PaintBrushEventMap.html +3 -3
  297. package/docs/types/PanoCompassPluginData.html +3 -3
  298. package/docs/types/PanoCompassPluginExportType.html +3 -3
  299. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  300. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  301. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  302. package/docs/types/PanoIndex.html +3 -3
  303. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  304. package/docs/types/PanoMeasureReturnType.html +3 -3
  305. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  306. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  307. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  308. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  309. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  310. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  311. package/docs/types/PipelinePluginParameterType.html +3 -3
  312. package/docs/types/PipelinePluginReturnType.html +3 -3
  313. package/docs/types/PlaneTag.html +3 -3
  314. package/docs/types/Point2DTag.html +3 -3
  315. package/docs/types/Point3DTag.html +3 -3
  316. package/docs/types/PointTag.html +3 -3
  317. package/docs/types/PointTagInstance.html +3 -3
  318. package/docs/types/Position.html +3 -3
  319. package/docs/types/RotateArgs.html +3 -3
  320. package/docs/types/RotateOpts.html +3 -3
  321. package/docs/types/RuleLabelsKey.html +4 -4
  322. package/docs/types/RuleLabelsValue.html +4 -4
  323. package/docs/types/StickType.html +3 -3
  324. package/docs/types/Tag.html +3 -3
  325. package/docs/types/Tag2D.html +3 -3
  326. package/docs/types/Tag3D.html +3 -3
  327. package/docs/types/TagConfigByKey.html +3 -3
  328. package/docs/types/TagContentType.html +3 -3
  329. package/docs/types/TagContentTypeMapping.html +3 -3
  330. package/docs/types/TagDimensionType.html +3 -3
  331. package/docs/types/TagElement.html +3 -3
  332. package/docs/types/TagEvents.html +3 -3
  333. package/docs/types/TagGLTFObject.html +3 -3
  334. package/docs/types/TagHooks.html +3 -3
  335. package/docs/types/TagId.html +3 -3
  336. package/docs/types/TagInstance.html +3 -3
  337. package/docs/types/TagPointType.html +3 -3
  338. package/docs/types/TagRendererMap.html +3 -3
  339. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  340. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  341. package/docs/types/WorkCode.html +3 -3
  342. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  343. package/docs/variables/PLUGIN.html +3 -3
  344. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  345. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  346. package/docs/variables/defaultGlobalConfig.html +3 -3
  347. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  348. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  349. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  350. package/libs/base/BasePlugin.js +1 -1
  351. package/libs/floorplan/Components/CurrentFloor.js +208 -188
  352. package/libs/floorplan/Components/Main.js +158 -138
  353. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +273 -155
  354. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +143 -123
  355. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -39
  356. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +28 -26
  357. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +24 -22
  358. package/libs/floorplan/typings/floorplanData.d.ts +7 -0
  359. package/libs/floorplan/typings/floorplanServerData.d.ts +7 -0
  360. package/libs/floorplan/typings/index.d.ts +9 -0
  361. package/libs/floorplan/utils/formatData.js +8 -7
  362. package/libs/shared-utils/logger.js +1 -1
  363. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- var A = Object.defineProperty, C = Object.defineProperties;
2
- var S = Object.getOwnPropertyDescriptors;
1
+ var C = Object.defineProperty, S = Object.defineProperties;
2
+ var E = Object.getOwnPropertyDescriptors;
3
3
  var w = Object.getOwnPropertySymbols;
4
- var E = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
5
- var v = (d, s, t) => s in d ? A(d, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[s] = t, l = (d, s) => {
4
+ var P = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
+ var v = (d, s, t) => s in d ? C(d, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[s] = t, l = (d, s) => {
6
6
  for (var t in s || (s = {}))
7
- E.call(s, t) && v(d, t, s[t]);
7
+ P.call(s, t) && v(d, t, s[t]);
8
8
  if (w)
9
9
  for (var t of w(s))
10
- P.call(s, t) && v(d, t, s[t]);
10
+ x.call(s, t) && v(d, t, s[t]);
11
11
  return d;
12
- }, g = (d, s) => C(d, S(s));
12
+ }, g = (d, s) => S(d, E(s));
13
13
  var o = (d, s, t) => (v(d, typeof s != "symbol" ? s + "" : s, t), t);
14
14
  var c = (d, s, t) => new Promise((e, i) => {
15
15
  var n = (a) => {
@@ -29,16 +29,16 @@ var c = (d, s, t) => new Promise((e, i) => {
29
29
  });
30
30
  import { to as I } from "../../shared-utils/to.js";
31
31
  import { equal as M } from "../../shared-utils/equal.js";
32
- import { Main as x } from "../Components/Main.js";
32
+ import { Main as y } from "../Components/Main.js";
33
33
  import { formatData as b } from "../utils/formatData.js";
34
- import { CAMERA_IMAGE as y } from "../Assets/camera.js";
35
- import { omit as _ } from "../../shared-utils/filter.js";
36
- import { getPxmm as L } from "../../shared-utils/getPxmm.js";
34
+ import { CAMERA_IMAGE as _ } from "../Assets/camera.js";
35
+ import { omit as L } from "../../shared-utils/filter.js";
36
+ import { getPxmm as D } from "../../shared-utils/getPxmm.js";
37
37
  import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
38
- import { Controller as D } from "../../base/BasePluginWithData.js";
39
- import { correctFiveState as T } from "../utils/correctFiveState.js";
38
+ import { Controller as T } from "../../base/BasePluginWithData.js";
39
+ import { correctFiveState as k } from "../utils/correctFiveState.js";
40
40
  import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
41
- import { FIVE_CAMERA_DEFAULT_FOV as k, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
41
+ import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
42
42
  import "../../shared-utils/isTruelyObject.js";
43
43
  import "../../vendor/svelte/internal/index.js";
44
44
  import "../../vendor/svelte/transition/index.js";
@@ -92,15 +92,15 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
92
92
  import "../../shared-utils/url/absoluteUrl.js";
93
93
  import "../../shared-utils/nearlyEqual.js";
94
94
  import "../../shared-utils/five/changeMode.js";
95
- function R(d) {
95
+ function G(d) {
96
96
  const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
97
97
  return e || i;
98
98
  }
99
- function G(d) {
99
+ function W(d) {
100
100
  const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
101
101
  return e && i;
102
102
  }
103
- class Xt extends D {
103
+ class Yt extends T {
104
104
  constructor(t, e) {
105
105
  var a, f, m;
106
106
  super(t);
@@ -165,7 +165,7 @@ class Xt extends D {
165
165
  o(this, "updateSize", () => {
166
166
  if (!this.data || !this.container || !this.wrapper)
167
167
  return !1;
168
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = L(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * r), f = Math.ceil(n * r);
168
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * r), f = Math.ceil(n * r);
169
169
  return this.size.width === a && this.size.height === f || (this.container.style.width = a + "px", this.container.style.height = f + "px", this.size = { width: a, height: f }), !0;
170
170
  });
171
171
  o(this, "highlight", (t) => {
@@ -205,7 +205,7 @@ class Xt extends D {
205
205
  this.showRejection = (u) => {
206
206
  r = !0, a = u;
207
207
  };
208
- const [f] = yield I(T(this.five, this.showState, i.userAction));
208
+ const [f] = yield I(k(this.five, this.showState, i.userAction));
209
209
  if (f)
210
210
  throw f;
211
211
  if (r)
@@ -259,7 +259,7 @@ class Xt extends D {
259
259
  if (!e || this.state.config.autoShowEnable === !1 || this.isHiddenByHideFunc)
260
260
  return;
261
261
  const i = this.five.getCurrentState();
262
- i.mode === "Floorplan" && (this.state.visible || G(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })));
262
+ i.mode === "Floorplan" && (this.state.visible || W(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })));
263
263
  });
264
264
  /** panoIndex 改变时,更新 floorIndex */
265
265
  o(this, "onFivePanoArrived", (t) => {
@@ -271,7 +271,7 @@ class Xt extends D {
271
271
  if (!this.state.visible || this.showPromise)
272
272
  return;
273
273
  const i = this.five.getCurrentState();
274
- R(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e, isAutoHide: !0 }));
274
+ G(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e, isAutoHide: !0 }));
275
275
  });
276
276
  /** 在户型图展示时阻止多指操作, 阻止鼠标放大 */
277
277
  o(this, "onFiveWantsGesture", (t, e) => {
@@ -304,7 +304,7 @@ class Xt extends D {
304
304
  mode: "Floorplan",
305
305
  longitude: 0,
306
306
  latitude: Math.PI / 2,
307
- fov: k / ((a = e == null ? void 0 : e.scale) != null ? a : 1)
307
+ fov: R / ((a = e == null ? void 0 : e.scale) != null ? a : 1)
308
308
  }, this.defaultMissingFloorConfig = {
309
309
  imageURL: this.staticPrefix + "/release/web/saas/missing-floorplan.e274c596.png",
310
310
  imageWidth: 200,
@@ -324,15 +324,17 @@ class Xt extends D {
324
324
  roomLabelsEnable: !0,
325
325
  roomAreaEnable: !0,
326
326
  roomNameEnable: !0,
327
+ roomDimensionEnable: !0,
327
328
  adaptiveRoomLabelVisibleEnable: !0,
328
- cameraImageUrl: y,
329
+ cameraImageUrl: _,
329
330
  attachedTo: O.BOUNDING_CENTER,
330
331
  getLabelElement: void 0,
331
332
  missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
332
333
  i18n: (u) => u,
333
334
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
335
+ getRoomDimensionText: (u, A) => (u / 1e3).toFixed(1) + "m x " + (A / 1e3).toFixed(1) + "m",
334
336
  getRuleDistanceText: (u) => u.toString()
335
- }, n = e ? _(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), r = g(l(l({}, i), n), { missingFloorConfig: h });
337
+ }, n = e ? L(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), r = g(l(l({}, i), n), { missingFloorConfig: h });
336
338
  this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), t.once("dispose", this.dispose), this.addEventListener();
337
339
  }
338
340
  load(t, e, i = !0) {
@@ -425,9 +427,9 @@ class Xt extends D {
425
427
  });
426
428
  if (this.app)
427
429
  return this.app.$set(e);
428
- this.app = new x({ target: this.container, intro: !0, props: e });
430
+ this.app = new y({ target: this.container, intro: !0, props: e });
429
431
  }
430
432
  }
431
433
  export {
432
- Xt as Controller
434
+ Yt as Controller
433
435
  };
@@ -1,15 +1,15 @@
1
- var w = Object.defineProperty, C = Object.defineProperties;
2
- var F = Object.getOwnPropertyDescriptors;
1
+ var C = Object.defineProperty, F = Object.defineProperties;
2
+ var E = Object.getOwnPropertyDescriptors;
3
3
  var g = Object.getOwnPropertySymbols;
4
- var A = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
- var u = (d, n, t) => n in d ? w(d, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[n] = t, l = (d, n) => {
4
+ var A = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
+ var u = (d, n, t) => n in d ? C(d, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[n] = t, l = (d, n) => {
6
6
  for (var t in n || (n = {}))
7
7
  A.call(n, t) && u(d, t, n[t]);
8
8
  if (g)
9
9
  for (var t of g(n))
10
- E.call(n, t) && u(d, t, n[t]);
10
+ x.call(n, t) && u(d, t, n[t]);
11
11
  return d;
12
- }, m = (d, n) => C(d, F(n));
12
+ }, m = (d, n) => F(d, E(n));
13
13
  var o = (d, n, t) => (u(d, typeof n != "symbol" ? n + "" : n, t), t);
14
14
  var f = (d, n, t) => new Promise((e, i) => {
15
15
  var s = (h) => {
@@ -27,16 +27,16 @@ var f = (d, n, t) => new Promise((e, i) => {
27
27
  }, a = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(s, r);
28
28
  a((t = t.apply(d, n)).next());
29
29
  });
30
- import * as x from "three";
31
- import { equal as S } from "../../shared-utils/equal.js";
32
- import { Main as y } from "../Components/Main.js";
30
+ import * as S from "three";
31
+ import { equal as y } from "../../shared-utils/equal.js";
32
+ import { Main as I } from "../Components/Main.js";
33
33
  import { formatData as v } from "../utils/formatData.js";
34
- import { CAMERA_IMAGE as I } from "../Assets/camera.js";
35
- import { omit as L } from "../../shared-utils/filter.js";
34
+ import { CAMERA_IMAGE as L } from "../Assets/camera.js";
35
+ import { omit as T } from "../../shared-utils/filter.js";
36
36
  import { FLOOR_PLAN_ATTACHED_TO as _ } from "../constant.js";
37
37
  import { Controller as M } from "../../base/BasePluginWithData.js";
38
- import { changeMode as T } from "../../shared-utils/five/changeMode.js";
39
- import { getPxmm as P, getAttachedY as D } from "../../shared-utils/getPxmm.js";
38
+ import { changeMode as P } from "../../shared-utils/five/changeMode.js";
39
+ import { getPxmm as D, getAttachedY as O } from "../../shared-utils/getPxmm.js";
40
40
  import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
41
41
  import "../../shared-utils/isTruelyObject.js";
42
42
  import "../../vendor/svelte/internal/index.js";
@@ -90,7 +90,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
90
90
  import "../../shared-utils/url/absoluteUrl.js";
91
91
  import "../../shared-utils/nearlyEqual.js";
92
92
  import "../../shared-utils/to.js";
93
- class Bt extends M {
93
+ class $t extends M {
94
94
  constructor(t, e) {
95
95
  var h, c;
96
96
  super(t);
@@ -122,7 +122,7 @@ class Bt extends M {
122
122
  o(this, "updateSize", () => {
123
123
  if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
124
124
  return !1;
125
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = P(this.five, this.wrapper, this.floorIndex, r), h = Math.ceil(i * a), c = Math.ceil(s * a);
125
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = D(this.five, this.wrapper, this.floorIndex, r), h = Math.ceil(i * a), c = Math.ceil(s * a);
126
126
  return this.size.width === h && this.size.height === c || (this.container.style.width = h + "px", this.container.style.height = c + "px", this.size = { width: h, height: c }), !0;
127
127
  });
128
128
  /** 销毁插件 */
@@ -204,15 +204,17 @@ class Bt extends M {
204
204
  roomLabelsEnable: !0,
205
205
  roomAreaEnable: !0,
206
206
  roomNameEnable: !0,
207
- cameraImageUrl: I,
207
+ roomDimensionEnable: !0,
208
+ cameraImageUrl: L,
208
209
  attachedTo: _.BOUNDING_CENTER,
209
210
  getLabelElement: void 0,
210
211
  missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
211
212
  i18n: (p) => p,
212
213
  adaptiveRoomLabelVisibleEnable: !0,
213
214
  getRoomAreaText: (p) => (p / 1e6).toFixed(1) + "㎡",
215
+ getRoomDimensionText: (p, w) => (p / 1e3).toFixed(1) + "m x " + (w / 1e3).toFixed(1) + "m",
214
216
  getRuleDistanceText: (p) => p.toString()
215
- }, s = e ? L(e, ["selector", "scale"]) : {}, r = l(l({}, i.missingFloorConfig), s.missingFloorConfig), a = m(l(l({}, i), s), { missingFloorConfig: r });
217
+ }, s = e ? T(e, ["selector", "scale"]) : {}, r = l(l({}, i.missingFloorConfig), s.missingFloorConfig), a = m(l(l({}, i), s), { missingFloorConfig: r });
216
218
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
217
219
  }
218
220
  load(t, e, i = !0) {
@@ -229,7 +231,7 @@ class Bt extends M {
229
231
  /** 更新户型图位置 */
230
232
  updatePosition() {
231
233
  var a;
232
- const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new x.Vector3()).setY(t);
234
+ const t = O(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new S.Vector3()).setY(t);
233
235
  if (!e)
234
236
  return;
235
237
  const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, r = -(i.y - 1) / 2;
@@ -294,7 +296,7 @@ class Bt extends M {
294
296
  return;
295
297
  this.isHiddenByHideFunc = !1;
296
298
  const { userAction: e } = t;
297
- this.hooks.emit("show", { userAction: e, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield T(this.five, ["Topview", void 0, void 0, e])), this.five.model.show(this.floorIndex), this.updatePosition(), this.updateSize();
299
+ this.hooks.emit("show", { userAction: e, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield P(this.five, ["Topview", void 0, void 0, e])), this.five.model.show(this.floorIndex), this.updatePosition(), this.updateSize();
298
300
  const i = 500, s = this.state.config.modelOpacity;
299
301
  b(this.five, s, i), this.hooks.emit("showAnimationEnded", { userAction: e, auto: !1 }), this.render();
300
302
  });
@@ -316,7 +318,7 @@ class Bt extends M {
316
318
  updateState(t, e) {
317
319
  var a;
318
320
  const i = this.state, s = (a = t.config) != null && a.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, r = t.config ? m(l(l({}, i.config), t.config), { missingFloorConfig: s }) : i.config;
319
- this.state = m(l(l({}, this.state), t), { config: r }), !S(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
321
+ this.state = m(l(l({}, this.state), t), { config: r }), !y(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
320
322
  }
321
323
  addEventListener() {
322
324
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -357,9 +359,9 @@ class Bt extends M {
357
359
  });
358
360
  if (this.app)
359
361
  return this.app.$set(e);
360
- this.app = new y({ target: this.container, intro: !0, props: e });
362
+ this.app = new I({ target: this.container, intro: !0, props: e });
361
363
  }
362
364
  }
363
365
  export {
364
- Bt as Controller
366
+ $t as Controller
365
367
  };
@@ -77,6 +77,13 @@ export interface FloorplanRoomItem {
77
77
  roomLabel: FloorplanRoomLabelItem;
78
78
  /** 当前房间里的 observer 索引 */
79
79
  observerIndexs: number[];
80
+ /** 当前房间的尺寸 */
81
+ dimension?: {
82
+ /** 房间宽度 */
83
+ width: number;
84
+ /** 房间高度 */
85
+ height: number;
86
+ };
80
87
  }
81
88
  /** 户型图标尺 */
82
89
  export type FloorplanRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanPosition[][]>;
@@ -99,6 +99,13 @@ export interface FloorplanServerRoomItem {
99
99
  room_label: FloorplanServerRoomLabelItem;
100
100
  /** 当前房间里的 observer 索引 */
101
101
  observer_indexs: number[];
102
+ /** 当前房间的尺寸 */
103
+ dimension?: {
104
+ /** 房间宽度 */
105
+ width: number;
106
+ /** 房间高度 */
107
+ height: number;
108
+ };
102
109
  }
103
110
  export type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanServerPosition[][]>;
104
111
  /** 当前楼层的数据 */
@@ -41,6 +41,8 @@ export interface Config {
41
41
  roomAreaEnable: boolean;
42
42
  /** 分间名称是否展示 */
43
43
  roomNameEnable: boolean;
44
+ /** 分间尺寸(长 x 宽)是否展示 */
45
+ roomDimensionEnable: boolean;
44
46
  /** 是否支持房屋标签自适应展示,默认为 true
45
47
  * @description
46
48
  * * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
@@ -65,6 +67,13 @@ export interface Config {
65
67
  * @param area 分间原始面积,单位是 mm²
66
68
  */
67
69
  getRoomAreaText: (areaSize: number) => string;
70
+ /**
71
+ * 自定义分间尺寸文本
72
+ * @param width 分间原始宽度,单位是 mm
73
+ * @param height 分间原始高度,单位是 mm
74
+ * @returns
75
+ */
76
+ getRoomDimensionText: (width: number, height: number) => string;
68
77
  /** 自定义标尺距离文本
69
78
  * @param distance 原始标尺距离,单位是 mm
70
79
  */
@@ -15,8 +15,8 @@ var c = (o, e, r) => new Promise((l, n) => {
15
15
  s((r = r.apply(o, e)).next());
16
16
  });
17
17
  import { FLOORPLAN_EXTRA_OBJECT_IMAGE as f } from "../Assets/floorplanExtraObject.js";
18
- import { getFloorIndexFromModelPosition as a, modelPosition2FloorplanPosition as u, floorplanPosition2ImagePosition as _ } from "./formatPosition.js";
19
- function I(o) {
18
+ import { getFloorIndexFromModelPosition as u, modelPosition2FloorplanPosition as a, floorplanPosition2ImagePosition as _ } from "./formatPosition.js";
19
+ function g(o) {
20
20
  return c(this, null, function* () {
21
21
  const e = new Headers({ "Content-Type": "text/plain" }), r = function(n) {
22
22
  return c(this, null, function* () {
@@ -35,8 +35,8 @@ function I(o) {
35
35
  return yield Promise.all(o.map(r));
36
36
  });
37
37
  }
38
- function g(o) {
39
- return {
38
+ function I(o) {
39
+ const e = {
40
40
  id: o.id,
41
41
  size: o.size,
42
42
  name: o.name,
@@ -49,12 +49,13 @@ function g(o) {
49
49
  },
50
50
  observerIndexs: o.observer_indexs
51
51
  };
52
+ return o.dimension && Object.assign(e, { dimension: o.dimension }), e;
52
53
  }
53
54
  function x(o) {
54
55
  return {
55
56
  floorName: o.floor_name,
56
57
  floorIndex: o.floor_index,
57
- rooms: o.rooms.map(g),
58
+ rooms: o.rooms.map(I),
58
59
  rules: o.rules
59
60
  };
60
61
  }
@@ -78,7 +79,7 @@ function v(o) {
78
79
  }
79
80
  function P(o) {
80
81
  return c(this, null, function* () {
81
- const e = yield I(o.outlines), r = o.computed_data.bounding, l = o.computed_data.floor_datas.map(x), n = o.computed_data.entrance ? v(o.computed_data.entrance) : null;
82
+ const e = yield g(o.outlines), r = o.computed_data.bounding, l = o.computed_data.floor_datas.map(x), n = o.computed_data.entrance ? v(o.computed_data.entrance) : null;
82
83
  return {
83
84
  outlines: e,
84
85
  entrance: n,
@@ -94,7 +95,7 @@ function y(o, e, r) {
94
95
  url: f,
95
96
  width: 45,
96
97
  height: 48
97
- }, s = a(i, e), t = u(i, r), p = _(t, r);
98
+ }, s = u(i, e), t = a(i, r), p = _(t, r);
98
99
  return { floorIndex: s, icon: m, id: n.id, position: t, positionInImage: p };
99
100
  });
100
101
  }
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.19.1",
3
+ "%c %c@realsee/dnalogel %cv3.19.2-dev.3",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.19.1",
3
+ "version": "3.19.2-dev.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",