@realsee/dnalogel 3.19.0-dev.2 → 3.20.0-dev.2

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 (370) hide show
  1. package/dist/PanoVideoPlugin/Controller.d.ts +0 -17
  2. package/dist/PanoVideoPlugin/VideoMeshController.d.ts +0 -6
  3. package/dist/floorplan/typings/floorplanData.d.ts +7 -0
  4. package/dist/floorplan/typings/floorplanServerData.d.ts +7 -0
  5. package/dist/floorplan/typings/index.d.ts +9 -0
  6. package/dist/index.cjs.js +60 -60
  7. package/dist/index.js +5377 -5224
  8. package/dist/index.umd.js +52 -52
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  11. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -32
  12. package/docs/classes/CSS3DRender.html +30 -30
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +42 -42
  15. package/docs/classes/Magnifier.html +19 -19
  16. package/docs/classes/ModelRoomLabelController.html +10 -10
  17. package/docs/classes/MoveController.html +27 -27
  18. package/docs/classes/Object3DHelperController.html +24 -24
  19. package/docs/classes/PaintBrush.html +14 -14
  20. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  21. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  22. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  23. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  24. package/docs/classes/PanoTagPluginController.html +50 -50
  25. package/docs/classes/Util.BetterTween.html +9 -9
  26. package/docs/classes/Util.Interval.html +11 -11
  27. package/docs/classes/Util.LineSegments.html +7 -7
  28. package/docs/classes/Util.Magnifier.html +19 -19
  29. package/docs/classes/Util.Object3D.html +8 -8
  30. package/docs/classes/Util.PointDomHelper.html +10 -10
  31. package/docs/classes/Util.PointHelper.html +10 -10
  32. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  33. package/docs/classes/Util.Rectangle.html +12 -12
  34. package/docs/classes/WalkController.html +26 -26
  35. package/docs/enums/CameraMovementEffect.html +6 -6
  36. package/docs/enums/ContentType.html +20 -20
  37. package/docs/enums/DIRECTION.html +8 -8
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/DimensionType.html +6 -6
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  42. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  43. package/docs/enums/PointType.html +6 -6
  44. package/docs/enums/Rotation.html +7 -7
  45. package/docs/functions/AreaMakerPlugin.html +4 -4
  46. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  47. package/docs/functions/CameraMovementPlugin.html +4 -4
  48. package/docs/functions/CruisePlugin.html +4 -4
  49. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  50. package/docs/functions/GuideLinePlugin.html +4 -4
  51. package/docs/functions/ItemLabelPlugin.html +4 -4
  52. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  53. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  55. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  56. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  57. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  58. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  59. package/docs/functions/ModelViewPlugin.html +4 -4
  60. package/docs/functions/MovePlugin.html +4 -4
  61. package/docs/functions/Object3DHelperPlugin.html +4 -4
  62. package/docs/functions/PanoCompassPlugin.html +4 -4
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  64. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  66. package/docs/functions/PanoMeasurePlugin.html +4 -4
  67. package/docs/functions/PanoRulerPlugin.html +4 -4
  68. package/docs/functions/PanoRulerProPlugin.html +4 -4
  69. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  70. package/docs/functions/PanoTagPlugin.html +4 -4
  71. package/docs/functions/PanoVideoPlugin.html +4 -4
  72. package/docs/functions/PipelinePlugin.html +4 -4
  73. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  74. package/docs/functions/Util.absoluteUrl.html +4 -4
  75. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  76. package/docs/functions/Util.equal.html +4 -4
  77. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  78. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  79. package/docs/functions/Util.getFrameTime.html +4 -4
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  82. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  83. package/docs/functions/Util.isModelLike.html +4 -4
  84. package/docs/functions/Util.isNil.html +4 -4
  85. package/docs/functions/Util.isPanoramaLike.html +4 -4
  86. package/docs/functions/Util.nextFrame.html +4 -4
  87. package/docs/functions/Util.notNil.html +4 -4
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  89. package/docs/functions/Util.tweenProgress.html +4 -4
  90. package/docs/functions/Util.uuid.html +4 -4
  91. package/docs/functions/pluginFlag.html +4 -4
  92. package/docs/index.html +4 -4
  93. package/docs/interfaces/AddTagConfig.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  103. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  105. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  106. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  107. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  108. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  109. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  110. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  111. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  112. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  113. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  114. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  115. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  116. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  117. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  118. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  119. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  120. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  121. package/docs/interfaces/EventMap.html +14 -14
  122. package/docs/interfaces/FloorplanBounding.html +7 -7
  123. package/docs/interfaces/FloorplanData.html +9 -9
  124. package/docs/interfaces/FloorplanEntrance.html +10 -10
  125. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  126. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  127. package/docs/interfaces/FloorplanFloorData.html +8 -8
  128. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  129. package/docs/interfaces/FloorplanObserver.html +8 -8
  130. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  131. package/docs/interfaces/FloorplanPosition.html +6 -6
  132. package/docs/interfaces/FloorplanRoomItem.html +37 -14
  133. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  134. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  135. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  136. package/docs/interfaces/FloorplanServerData.html +6 -6
  137. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  138. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  139. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  140. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  141. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  142. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  143. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  144. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  145. package/docs/interfaces/FloorplanServerRoomItem.html +38 -15
  146. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  147. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  148. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  149. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  150. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  151. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -14
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  154. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -20
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  157. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -21
  158. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  159. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  160. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  161. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  162. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  163. package/docs/interfaces/HelperOffset.html +7 -7
  164. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  165. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  166. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  167. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  168. package/docs/interfaces/MinMax.html +6 -6
  169. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  170. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  171. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  172. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  173. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  174. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  175. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  176. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  177. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  178. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  179. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  180. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  181. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  182. package/docs/interfaces/Object3DHelperState.html +7 -7
  183. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  184. package/docs/interfaces/PaintBrushAction.html +11 -11
  185. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  186. package/docs/interfaces/PaintBrushState.html +9 -9
  187. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  188. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  189. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  190. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  191. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  192. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  193. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  194. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  195. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  196. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  197. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  198. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  199. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  200. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  201. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  202. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  203. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  204. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  205. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  206. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  207. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  208. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  209. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  210. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  211. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  212. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  213. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  214. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  215. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  216. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  217. package/docs/interfaces/Point.html +7 -7
  218. package/docs/interfaces/Room.html +8 -8
  219. package/docs/interfaces/RoomInfo.html +6 -6
  220. package/docs/interfaces/RoomLabel.html +13 -13
  221. package/docs/interfaces/RoomRules.html +4 -4
  222. package/docs/interfaces/Rooms.html +4 -4
  223. package/docs/interfaces/Scissor.html +8 -8
  224. package/docs/interfaces/State.html +7 -7
  225. package/docs/interfaces/TagCacheInterface.html +11 -11
  226. package/docs/interfaces/TagConfig.html +13 -13
  227. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  228. package/docs/interfaces/TagIconUrl.html +11 -11
  229. package/docs/interfaces/TagObjectGroup.html +5 -5
  230. package/docs/interfaces/TagStyle.html +5 -5
  231. package/docs/interfaces/Tags.html +8 -8
  232. package/docs/interfaces/TemporaryState.html +5 -5
  233. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  234. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  235. package/docs/interfaces/Util.PointIntersection.html +7 -7
  236. package/docs/modules/AreaMakerPluginType.html +4 -4
  237. package/docs/modules/CruisePluginTypes.html +4 -4
  238. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  239. package/docs/modules/GuideLineItem.html +4 -4
  240. package/docs/modules/GuideLineModeItem.html +4 -4
  241. package/docs/modules/GuideLinePluginType.html +4 -4
  242. package/docs/modules/PanoVideoPluginType.html +4 -4
  243. package/docs/modules/Util.html +4 -4
  244. package/docs/modules.html +4 -4
  245. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  246. package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -4
  247. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  248. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  249. package/docs/types/ArrayPosition.html +4 -4
  250. package/docs/types/AudioAppearance.html +4 -4
  251. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  252. package/docs/types/CSS3DRenderExportType.html +4 -4
  253. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  254. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  255. package/docs/types/ClassFunctionParameters.html +4 -4
  256. package/docs/types/Color.html +4 -4
  257. package/docs/types/ContentTypeConfigKey.html +4 -4
  258. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  259. package/docs/types/ContentTypeMap.html +4 -4
  260. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  261. package/docs/types/Create3DElementReturnType.html +4 -4
  262. package/docs/types/CruisePluginExportType.html +4 -4
  263. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  264. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  265. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  266. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  267. package/docs/types/DeprecatedTagProperty.html +4 -4
  268. package/docs/types/Direction-1.html +4 -4
  269. package/docs/types/Direction4.html +4 -4
  270. package/docs/types/ElementRenderer.html +4 -4
  271. package/docs/types/FloorplanRuleLabels.html +4 -4
  272. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  273. package/docs/types/GuideLinePluginExportType.html +4 -4
  274. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  275. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  276. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  277. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  278. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  279. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  280. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  281. package/docs/types/HelperEventMap.html +4 -4
  282. package/docs/types/InternalHelperEventMap.html +4 -4
  283. package/docs/types/LoadTagConfig.html +4 -4
  284. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  285. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  286. package/docs/types/MediaData.html +4 -4
  287. package/docs/types/MediaStore.html +4 -4
  288. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  289. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  290. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  291. package/docs/types/ModelId.html +4 -4
  292. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  293. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  294. package/docs/types/MoveArgs.html +4 -4
  295. package/docs/types/MoveOpts.html +4 -4
  296. package/docs/types/Object3DHelperEventMap.html +4 -4
  297. package/docs/types/ObjectFit.html +4 -4
  298. package/docs/types/PaintBrushEventMap.html +4 -4
  299. package/docs/types/PanoCompassPluginData.html +4 -4
  300. package/docs/types/PanoCompassPluginExportType.html +4 -4
  301. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  302. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  303. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  304. package/docs/types/PanoIndex.html +4 -4
  305. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  306. package/docs/types/PanoMeasureReturnType.html +4 -4
  307. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  308. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  309. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  310. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  311. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  312. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  313. package/docs/types/PipelinePluginParameterType.html +4 -4
  314. package/docs/types/PipelinePluginReturnType.html +4 -4
  315. package/docs/types/PlaneTag.html +4 -4
  316. package/docs/types/Point2DTag.html +4 -4
  317. package/docs/types/Point3DTag.html +4 -4
  318. package/docs/types/PointTag.html +4 -4
  319. package/docs/types/PointTagInstance.html +4 -4
  320. package/docs/types/Position.html +4 -4
  321. package/docs/types/RotateArgs.html +4 -4
  322. package/docs/types/RotateOpts.html +4 -4
  323. package/docs/types/RuleLabelsKey.html +4 -4
  324. package/docs/types/RuleLabelsValue.html +4 -4
  325. package/docs/types/StickType.html +4 -4
  326. package/docs/types/Tag.html +4 -4
  327. package/docs/types/Tag2D.html +4 -4
  328. package/docs/types/Tag3D.html +4 -4
  329. package/docs/types/TagConfigByKey.html +4 -4
  330. package/docs/types/TagContentType.html +4 -4
  331. package/docs/types/TagContentTypeMapping.html +4 -4
  332. package/docs/types/TagDimensionType.html +4 -4
  333. package/docs/types/TagElement.html +4 -4
  334. package/docs/types/TagEvents.html +4 -4
  335. package/docs/types/TagGLTFObject.html +4 -4
  336. package/docs/types/TagHooks.html +4 -4
  337. package/docs/types/TagId.html +4 -4
  338. package/docs/types/TagInstance.html +4 -4
  339. package/docs/types/TagPointType.html +4 -4
  340. package/docs/types/TagRendererMap.html +4 -4
  341. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  342. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  343. package/docs/types/WorkCode.html +4 -4
  344. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  345. package/docs/variables/PLUGIN.html +4 -4
  346. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  347. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  348. package/docs/variables/defaultGlobalConfig.html +4 -4
  349. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  350. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  351. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  352. package/libs/PanoVideoPlugin/Controller.d.ts +0 -17
  353. package/libs/PanoVideoPlugin/Controller.js +39 -63
  354. package/libs/PanoVideoPlugin/VideoMeshController.d.ts +0 -6
  355. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -9
  356. package/libs/base/BasePlugin.js +1 -1
  357. package/libs/floorplan/Components/CurrentFloor.js +208 -188
  358. package/libs/floorplan/Components/Main.js +158 -138
  359. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +273 -155
  360. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +143 -123
  361. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -39
  362. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +28 -26
  363. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +24 -22
  364. package/libs/floorplan/typings/floorplanData.d.ts +7 -0
  365. package/libs/floorplan/typings/floorplanServerData.d.ts +7 -0
  366. package/libs/floorplan/typings/index.d.ts +9 -0
  367. package/libs/floorplan/utils/formatData.js +8 -7
  368. package/libs/shared-utils/logger.js +1 -1
  369. package/libs/vendor/classnames/index.js +32 -32
  370. 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.0-dev.2",
3
+ "%c %c@realsee/dnalogel %cv3.20.0-dev.2",
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",
@@ -1,9 +1,9 @@
1
- var a = {}, f = {
1
+ var o = {}, u = {
2
2
  get exports() {
3
- return a;
3
+ return o;
4
4
  },
5
- set exports(e) {
6
- a = e;
5
+ set exports(s) {
6
+ o = s;
7
7
  }
8
8
  };
9
9
  /*!
@@ -11,37 +11,37 @@ var a = {}, f = {
11
11
  Licensed under the MIT License (MIT), see
12
12
  http://jedwatson.github.io/classnames
13
13
  */
14
- (function(e) {
14
+ (function(s) {
15
15
  (function() {
16
- var l = {}.hasOwnProperty;
17
- function t() {
18
- for (var n = [], o = 0; o < arguments.length; o++) {
19
- var s = arguments[o];
20
- if (s) {
21
- var i = typeof s;
22
- if (i === "string" || i === "number")
23
- n.push(s);
24
- else if (Array.isArray(s)) {
25
- if (s.length) {
26
- var c = t.apply(null, s);
27
- c && n.push(c);
28
- }
29
- } else if (i === "object") {
30
- if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]")) {
31
- n.push(s.toString());
32
- continue;
33
- }
34
- for (var r in s)
35
- l.call(s, r) && s[r] && n.push(r);
36
- }
37
- }
16
+ var f = {}.hasOwnProperty;
17
+ function e() {
18
+ for (var t = "", r = 0; r < arguments.length; r++) {
19
+ var n = arguments[r];
20
+ n && (t = i(t, c(n)));
38
21
  }
39
- return n.join(" ");
22
+ return t;
40
23
  }
41
- e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
24
+ function c(t) {
25
+ if (typeof t == "string" || typeof t == "number")
26
+ return t;
27
+ if (typeof t != "object")
28
+ return "";
29
+ if (Array.isArray(t))
30
+ return e.apply(null, t);
31
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
32
+ return t.toString();
33
+ var r = "";
34
+ for (var n in t)
35
+ f.call(t, n) && t[n] && (r = i(r, n));
36
+ return r;
37
+ }
38
+ function i(t, r) {
39
+ return r ? t ? t + " " + r : t + r : t;
40
+ }
41
+ s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
42
42
  })();
43
- })(f);
44
- const u = a;
43
+ })(u);
44
+ const a = o;
45
45
  export {
46
- u as classnames
46
+ a as classnames
47
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.19.0-dev.2",
3
+ "version": "3.20.0-dev.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",