@realsee/dnalogel 3.19.1 → 3.19.2-dev.4

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 +5458 -5270
  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 +277 -156
  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,87 +1,87 @@
1
- import { SvelteComponent as T, init as V, safe_not_equal as D, append_styles as I, empty as k, insert as h, transition_in as _, group_outros as A, transition_out as d, check_outros as y, detach as g, element as W, attr as w, action_destroyer as z, listen as q, update_keyed_each as C, outro_and_destroy_block as M, run_all as O, assign as S, create_component as j, mount_component as B, get_spread_update as F, destroy_component as G } from "../../../vendor/svelte/internal/index.js";
2
- import { RoomLabel as H } from "./RoomLabel.js";
3
- import { svelteResizeObserver as J } from "../../../shared-utils/svelte/resizeObserver.js";
4
- function K(m) {
5
- I(m, "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 I, init as W, safe_not_equal as w, append_styles as z, empty as T, insert as g, transition_in as _, group_outros as v, transition_out as d, check_outros as y, detach as h, element as q, attr as C, action_destroyer as M, listen as O, update_keyed_each as S, outro_and_destroy_block as j, run_all as B, assign as F, create_component as G, mount_component as H, get_spread_update as J, destroy_component as K } from "../../../vendor/svelte/internal/index.js";
2
+ import { RoomLabel as P } from "./RoomLabel.js";
3
+ import { svelteResizeObserver as Q } from "../../../shared-utils/svelte/resizeObserver.js";
4
+ function U(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}");
6
6
  }
7
- function R(m, e, o) {
8
- const l = m.slice();
9
- return l[12] = e[o], l;
7
+ function L(r, e, o) {
8
+ const l = r.slice();
9
+ return l[14] = e[o], l;
10
10
  }
11
- function L(m) {
12
- let e, o = [], l = /* @__PURE__ */ new Map(), n, f, s, t = (
11
+ function k(r) {
12
+ let e, o = [], l = /* @__PURE__ */ new Map(), t, f, u, n = (
13
13
  /*rooms*/
14
- m[8]
14
+ r[10]
15
15
  );
16
- const b = (a) => (
16
+ const b = (i) => (
17
17
  /*room*/
18
- a[12].id
18
+ i[14].id
19
19
  );
20
- for (let a = 0; a < t.length; a += 1) {
21
- let r = R(m, t, a), u = b(r);
22
- l.set(u, o[a] = v(u, r));
20
+ for (let i = 0; i < n.length; i += 1) {
21
+ let m = L(r, n, i), s = b(m);
22
+ l.set(s, o[i] = A(s, m));
23
23
  }
24
24
  return {
25
25
  c() {
26
- e = W("div");
27
- for (let a = 0; a < o.length; a += 1)
28
- o[a].c();
29
- w(e, "class", "floorplan-plugin__room-labels svelte-13xux0b");
26
+ e = q("div");
27
+ for (let i = 0; i < o.length; i += 1)
28
+ o[i].c();
29
+ C(e, "class", "floorplan-plugin__room-labels svelte-13xux0b");
30
30
  },
31
- m(a, r) {
32
- h(a, e, r);
33
- for (let u = 0; u < o.length; u += 1)
34
- o[u] && o[u].m(e, null);
35
- n = !0, f || (s = [
36
- z(J.call(null, e)),
37
- q(
31
+ m(i, m) {
32
+ g(i, e, m);
33
+ for (let s = 0; s < o.length; s += 1)
34
+ o[s] && o[s].m(e, null);
35
+ t = !0, f || (u = [
36
+ M(Q.call(null, e)),
37
+ O(
38
38
  e,
39
39
  "clientWidth",
40
40
  /*clientWidth_handler*/
41
- m[11]
41
+ r[13]
42
42
  )
43
43
  ], f = !0);
44
44
  },
45
- p(a, r) {
46
- r & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, getLabelElement, getRoomAreaText, adaptiveRoomLabelVisibleEnable*/
47
- 447 && (t = /*rooms*/
48
- a[8], A(), o = C(o, r, b, 1, a, t, l, e, M, v, null, R), y());
45
+ p(i, m) {
46
+ m & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
47
+ 1791 && (n = /*rooms*/
48
+ i[10], v(), o = S(o, m, b, 1, i, n, l, e, j, A, null, L), y());
49
49
  },
50
- i(a) {
51
- if (!n) {
52
- for (let r = 0; r < t.length; r += 1)
53
- _(o[r]);
54
- n = !0;
50
+ i(i) {
51
+ if (!t) {
52
+ for (let m = 0; m < n.length; m += 1)
53
+ _(o[m]);
54
+ t = !0;
55
55
  }
56
56
  },
57
- o(a) {
58
- for (let r = 0; r < o.length; r += 1)
59
- d(o[r]);
60
- n = !1;
57
+ o(i) {
58
+ for (let m = 0; m < o.length; m += 1)
59
+ d(o[m]);
60
+ t = !1;
61
61
  },
62
- d(a) {
63
- a && g(e);
64
- for (let r = 0; r < o.length; r += 1)
65
- o[r].d();
66
- f = !1, O(s);
62
+ d(i) {
63
+ i && h(e);
64
+ for (let m = 0; m < o.length; m += 1)
65
+ o[m].d();
66
+ f = !1, B(u);
67
67
  }
68
68
  };
69
69
  }
70
- function v(m, e) {
71
- let o, l, n;
70
+ function A(r, e) {
71
+ let o, l, t;
72
72
  const f = [
73
73
  {
74
74
  pxmm: (
75
75
  /*pxmm*/
76
- e[7]
76
+ e[9]
77
77
  ),
78
78
  room: (
79
79
  /*room*/
80
- e[12]
80
+ e[14]
81
81
  ),
82
82
  hoveredRoom: (
83
83
  /*hoveredRoom*/
84
- e[2]
84
+ e[3]
85
85
  ),
86
86
  roomAreaEnable: (
87
87
  /*roomAreaEnable*/
@@ -91,48 +91,56 @@ function v(m, e) {
91
91
  /*roomNameEnable*/
92
92
  e[1]
93
93
  ),
94
+ roomDimensionEnable: (
95
+ /*roomDimensionEnable*/
96
+ e[2]
97
+ ),
94
98
  getLabelElement: (
95
99
  /*getLabelElement*/
96
- e[4]
100
+ e[6]
97
101
  ),
98
102
  getRoomAreaText: (
99
103
  /*getRoomAreaText*/
100
- e[3]
104
+ e[4]
105
+ ),
106
+ getRoomDimensionText: (
107
+ /*getRoomDimensionText*/
108
+ e[5]
101
109
  ),
102
110
  adaptiveRoomLabelVisibleEnable: (
103
111
  /*adaptiveRoomLabelVisibleEnable*/
104
- e[5]
112
+ e[7]
105
113
  )
106
114
  }
107
115
  ];
108
- let s = {};
109
- for (let t = 0; t < f.length; t += 1)
110
- s = S(s, f[t]);
111
- return l = new H({ props: s }), {
112
- key: m,
116
+ let u = {};
117
+ for (let n = 0; n < f.length; n += 1)
118
+ u = F(u, f[n]);
119
+ return l = new P({ props: u }), {
120
+ key: r,
113
121
  first: null,
114
122
  c() {
115
- o = k(), j(l.$$.fragment), this.first = o;
123
+ o = T(), G(l.$$.fragment), this.first = o;
116
124
  },
117
- m(t, b) {
118
- h(t, o, b), B(l, t, b), n = !0;
125
+ m(n, b) {
126
+ g(n, o, b), H(l, n, b), t = !0;
119
127
  },
120
- p(t, b) {
121
- e = t;
122
- const a = b & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, getLabelElement, getRoomAreaText, adaptiveRoomLabelVisibleEnable*/
123
- 447 ? F(f, [
128
+ p(n, b) {
129
+ e = n;
130
+ const i = b & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
131
+ 1791 ? J(f, [
124
132
  {
125
133
  pxmm: (
126
134
  /*pxmm*/
127
- e[7]
135
+ e[9]
128
136
  ),
129
137
  room: (
130
138
  /*room*/
131
- e[12]
139
+ e[14]
132
140
  ),
133
141
  hoveredRoom: (
134
142
  /*hoveredRoom*/
135
- e[2]
143
+ e[3]
136
144
  ),
137
145
  roomAreaEnable: (
138
146
  /*roomAreaEnable*/
@@ -142,114 +150,126 @@ function v(m, e) {
142
150
  /*roomNameEnable*/
143
151
  e[1]
144
152
  ),
153
+ roomDimensionEnable: (
154
+ /*roomDimensionEnable*/
155
+ e[2]
156
+ ),
145
157
  getLabelElement: (
146
158
  /*getLabelElement*/
147
- e[4]
159
+ e[6]
148
160
  ),
149
161
  getRoomAreaText: (
150
162
  /*getRoomAreaText*/
151
- e[3]
163
+ e[4]
164
+ ),
165
+ getRoomDimensionText: (
166
+ /*getRoomDimensionText*/
167
+ e[5]
152
168
  ),
153
169
  adaptiveRoomLabelVisibleEnable: (
154
170
  /*adaptiveRoomLabelVisibleEnable*/
155
- e[5]
171
+ e[7]
156
172
  )
157
173
  }
158
174
  ]) : {};
159
- l.$set(a);
175
+ l.$set(i);
160
176
  },
161
- i(t) {
162
- n || (_(l.$$.fragment, t), n = !0);
177
+ i(n) {
178
+ t || (_(l.$$.fragment, n), t = !0);
163
179
  },
164
- o(t) {
165
- d(l.$$.fragment, t), n = !1;
180
+ o(n) {
181
+ d(l.$$.fragment, n), t = !1;
166
182
  },
167
- d(t) {
168
- t && g(o), G(l, t);
183
+ d(n) {
184
+ n && h(o), K(l, n);
169
185
  }
170
186
  };
171
187
  }
172
- function P(m) {
188
+ function X(r) {
173
189
  let e, o, l = (
174
190
  /*rooms*/
175
- m[8] && L(m)
191
+ r[10] && k(r)
176
192
  );
177
193
  return {
178
194
  c() {
179
- l && l.c(), e = k();
195
+ l && l.c(), e = T();
180
196
  },
181
- m(n, f) {
182
- l && l.m(n, f), h(n, e, f), o = !0;
197
+ m(t, f) {
198
+ l && l.m(t, f), g(t, e, f), o = !0;
183
199
  },
184
- p(n, [f]) {
200
+ p(t, [f]) {
185
201
  /*rooms*/
186
- n[8] ? l ? (l.p(n, f), f & /*rooms*/
187
- 256 && _(l, 1)) : (l = L(n), l.c(), _(l, 1), l.m(e.parentNode, e)) : l && (A(), d(l, 1, 1, () => {
202
+ t[10] ? l ? (l.p(t, f), f & /*rooms*/
203
+ 1024 && _(l, 1)) : (l = k(t), l.c(), _(l, 1), l.m(e.parentNode, e)) : l && (v(), d(l, 1, 1, () => {
188
204
  l = null;
189
205
  }), y());
190
206
  },
191
- i(n) {
207
+ i(t) {
192
208
  o || (_(l), o = !0);
193
209
  },
194
- o(n) {
210
+ o(t) {
195
211
  d(l), o = !1;
196
212
  },
197
- d(n) {
198
- l && l.d(n), n && g(e);
213
+ d(t) {
214
+ l && l.d(t), t && h(e);
199
215
  }
200
216
  };
201
217
  }
202
- function Q(m, e, o) {
203
- let l, { floorIndex: n } = e, { roomAreaEnable: f } = e, { roomNameEnable: s } = e, { floorplanData: t } = e, { hoveredRoom: b } = e, { getRoomAreaText: a } = e, { getLabelElement: r } = e, { adaptiveRoomLabelVisibleEnable: u } = e, c = 0, E = 0;
204
- const N = (i) => {
205
- o(6, c = i.detail);
218
+ function Y(r, e, o) {
219
+ let l, { floorIndex: t } = e, { roomAreaEnable: f } = e, { roomNameEnable: u } = e, { roomDimensionEnable: n } = e, { floorplanData: b } = e, { hoveredRoom: i } = e, { getRoomAreaText: m } = e, { getRoomDimensionText: s } = e, { getLabelElement: E } = e, { adaptiveRoomLabelVisibleEnable: R } = e, c = 0, D = 0;
220
+ const x = (a) => {
221
+ o(8, c = a.detail);
206
222
  };
207
- return m.$$set = (i) => {
208
- "floorIndex" in i && o(9, n = i.floorIndex), "roomAreaEnable" in i && o(0, f = i.roomAreaEnable), "roomNameEnable" in i && o(1, s = i.roomNameEnable), "floorplanData" in i && o(10, t = i.floorplanData), "hoveredRoom" in i && o(2, b = i.hoveredRoom), "getRoomAreaText" in i && o(3, a = i.getRoomAreaText), "getLabelElement" in i && o(4, r = i.getLabelElement), "adaptiveRoomLabelVisibleEnable" in i && o(5, u = i.adaptiveRoomLabelVisibleEnable);
209
- }, m.$$.update = () => {
210
- if (m.$$.dirty & /*floorplanData, floorIndex*/
211
- 1536 && o(8, l = t.floorDatas[n].rooms), m.$$.dirty & /*floorplanData, clientWidth*/
212
- 1088) {
213
- const { max: i, min: p } = t.bounding, x = i.x - p.x;
214
- o(7, E = c / x);
223
+ return r.$$set = (a) => {
224
+ "floorIndex" in a && o(11, t = a.floorIndex), "roomAreaEnable" in a && o(0, f = a.roomAreaEnable), "roomNameEnable" in a && o(1, u = a.roomNameEnable), "roomDimensionEnable" in a && o(2, n = a.roomDimensionEnable), "floorplanData" in a && o(12, b = a.floorplanData), "hoveredRoom" in a && o(3, i = a.hoveredRoom), "getRoomAreaText" in a && o(4, m = a.getRoomAreaText), "getRoomDimensionText" in a && o(5, s = a.getRoomDimensionText), "getLabelElement" in a && o(6, E = a.getLabelElement), "adaptiveRoomLabelVisibleEnable" in a && o(7, R = a.adaptiveRoomLabelVisibleEnable);
225
+ }, r.$$.update = () => {
226
+ if (r.$$.dirty & /*floorplanData, floorIndex*/
227
+ 6144 && o(10, l = b.floorDatas[t].rooms), r.$$.dirty & /*floorplanData, clientWidth*/
228
+ 4352) {
229
+ const { max: a, min: N } = b.bounding, V = a.x - N.x;
230
+ o(9, D = c / V);
215
231
  }
216
232
  }, [
217
233
  f,
218
- s,
219
- b,
220
- a,
221
- r,
222
234
  u,
223
- c,
235
+ n,
236
+ i,
237
+ m,
238
+ s,
224
239
  E,
240
+ R,
241
+ c,
242
+ D,
225
243
  l,
226
- n,
227
244
  t,
228
- N
245
+ b,
246
+ x
229
247
  ];
230
248
  }
231
- class Z extends T {
249
+ class ee extends I {
232
250
  constructor(e) {
233
- super(), V(
251
+ super(), W(
234
252
  this,
235
253
  e,
236
- Q,
237
- P,
238
- D,
254
+ Y,
255
+ X,
256
+ w,
239
257
  {
240
- floorIndex: 9,
258
+ floorIndex: 11,
241
259
  roomAreaEnable: 0,
242
260
  roomNameEnable: 1,
243
- floorplanData: 10,
244
- hoveredRoom: 2,
245
- getRoomAreaText: 3,
246
- getLabelElement: 4,
247
- adaptiveRoomLabelVisibleEnable: 5
261
+ roomDimensionEnable: 2,
262
+ floorplanData: 12,
263
+ hoveredRoom: 3,
264
+ getRoomAreaText: 4,
265
+ getRoomDimensionText: 5,
266
+ getLabelElement: 6,
267
+ adaptiveRoomLabelVisibleEnable: 7
248
268
  },
249
- K
269
+ U
250
270
  );
251
271
  }
252
272
  }
253
273
  export {
254
- Z as RoomLabels
274
+ ee as RoomLabels
255
275
  };
@@ -1,16 +1,16 @@
1
1
  var F = Object.defineProperty, P = Object.defineProperties;
2
2
  var E = Object.getOwnPropertyDescriptors;
3
- var v = Object.getOwnPropertySymbols;
3
+ var w = Object.getOwnPropertySymbols;
4
4
  var x = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
- var g = (d, r, t) => r in d ? F(d, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[r] = t, l = (d, r) => {
5
+ var v = (d, r, t) => r in d ? F(d, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[r] = t, l = (d, r) => {
6
6
  for (var t in r || (r = {}))
7
- x.call(r, t) && g(d, t, r[t]);
8
- if (v)
9
- for (var t of v(r))
10
- I.call(r, t) && g(d, t, r[t]);
7
+ x.call(r, t) && v(d, t, r[t]);
8
+ if (w)
9
+ for (var t of w(r))
10
+ I.call(r, t) && v(d, t, r[t]);
11
11
  return d;
12
- }, m = (d, r) => P(d, E(r));
13
- var o = (d, r, t) => (g(d, typeof r != "symbol" ? r + "" : r, t), t);
12
+ }, p = (d, r) => P(d, E(r));
13
+ var o = (d, r, t) => (v(d, typeof r != "symbol" ? r + "" : r, t), t);
14
14
  var u = (d, r, t) => new Promise((e, i) => {
15
15
  var n = (a) => {
16
16
  try {
@@ -27,19 +27,19 @@ var u = (d, r, t) => new Promise((e, i) => {
27
27
  }, s = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(n, h);
28
28
  s((t = t.apply(d, r)).next());
29
29
  });
30
- import * as w from "three";
30
+ import * as b from "three";
31
31
  import { to as M } from "../../shared-utils/to.js";
32
32
  import { equal as y } from "../../shared-utils/equal.js";
33
33
  import { Main as L } from "../Components/Main.js";
34
- import { formatData as b } from "../utils/formatData.js";
34
+ import { formatData as S } from "../utils/formatData.js";
35
35
  import { CAMERA_IMAGE as _ } from "../Assets/camera.js";
36
- import { omit as S } from "../../shared-utils/filter.js";
37
- import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
38
- import { Controller as D } from "../../base/BasePluginWithData.js";
36
+ import { omit as C } from "../../shared-utils/filter.js";
37
+ import { FLOOR_PLAN_ATTACHED_TO as D } from "../constant.js";
38
+ import { Controller as O } from "../../base/BasePluginWithData.js";
39
39
  import { getPxmm as T, getAttachedY as k } from "../../shared-utils/getPxmm.js";
40
- import { correctFiveState as H } from "../utils/correctFiveState.js";
41
- import { changeModelCanvasOpacity as C } from "../../shared-utils/changeModelCanvasOpacity.js";
42
- import { FloorplanErrorType as p, SHOW_ANIME_DURATION as R } from "../utils/constant.js";
40
+ import { correctFiveState as R } from "../utils/correctFiveState.js";
41
+ import { changeModelCanvasOpacity as A } from "../../shared-utils/changeModelCanvasOpacity.js";
42
+ import { FloorplanErrorType as m, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
43
43
  import "../../shared-utils/isTruelyObject.js";
44
44
  import "../../vendor/svelte/internal/index.js";
45
45
  import "../../vendor/svelte/transition/index.js";
@@ -100,7 +100,7 @@ function W(d) {
100
100
  const { latitude: r, longitude: t } = d, e = Math.abs(r - 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 Qt extends D {
103
+ class Qt extends O {
104
104
  constructor(t, e) {
105
105
  var a, f;
106
106
  super(t);
@@ -177,7 +177,7 @@ class Qt extends D {
177
177
  o(this, "_disable", (t) => {
178
178
  var i, n, h;
179
179
  const { userAction: e } = t;
180
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, p.BreakOffByDisable), this.showPromise = void 0, (n = this.app) == null || n.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
180
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, m.BreakOffByDisable), this.showPromise = void 0, (n = this.app) == null || n.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
181
181
  });
182
182
  o(this, "_enable", (t) => {
183
183
  const { userAction: e } = t;
@@ -188,9 +188,9 @@ class Qt extends D {
188
188
  if (!this.state.enabled)
189
189
  return;
190
190
  if (!((h = this.five.model) != null && h.loaded))
191
- throw new Error(p.ModelNotLoaded);
191
+ throw new Error(m.ModelNotLoaded);
192
192
  if (!this.data)
193
- throw new Error(p.DataNotLoaded);
193
+ throw new Error(m.DataNotLoaded);
194
194
  if (this.showPromise)
195
195
  return this.showPromise;
196
196
  const e = {
@@ -202,22 +202,22 @@ class Qt extends D {
202
202
  }, i = l(l({}, e), t), n = () => u(this, null, function* () {
203
203
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
204
204
  let s = !1, a;
205
- this.showRejection = (A) => {
206
- s = !0, a = A;
205
+ this.showRejection = (g) => {
206
+ s = !0, a = g;
207
207
  };
208
- const [f] = yield M(H(this.five, this.showState, i.userAction));
208
+ const [f] = yield M(R(this.five, this.showState, i.userAction));
209
209
  if (f)
210
210
  throw f;
211
211
  if (s)
212
- throw a ? new Error(a) : new Error(p.UnknownError);
212
+ throw a ? new Error(a) : new Error(m.UnknownError);
213
213
  if (!this.updateSize())
214
- throw new Error(p.UpdateSizeError);
214
+ throw new Error(m.UpdateSizeError);
215
215
  this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
216
216
  });
217
217
  return this.isHiddenByHideFunc = !1, this.showPromise = n().then(() => {
218
218
  this.showPromise = void 0, this.showRejection = void 0;
219
- const s = i.modelOpacity, a = i.immediately ? 0 : R;
220
- C(this.five, s, a), this.render(a), this.hooks.emit("showAnimationEnded", {
219
+ const s = i.modelOpacity, a = i.immediately ? 0 : H;
220
+ A(this.five, s, a), this.render(a), this.hooks.emit("showAnimationEnded", {
221
221
  auto: i.isAutoShow,
222
222
  userAction: i.userAction
223
223
  });
@@ -228,12 +228,12 @@ class Qt extends D {
228
228
  }));
229
229
  o(this, "_hide", (t) => {
230
230
  var n;
231
- (n = this.showRejection) == null || n.call(this, p.BreakOffByHide), this.showPromise = void 0;
231
+ (n = this.showRejection) == null || n.call(this, m.BreakOffByHide), this.showPromise = void 0;
232
232
  const i = l(l({}, {
233
233
  userAction: !0,
234
234
  isAutoHide: !1
235
235
  }), t);
236
- C(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
236
+ A(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
237
237
  });
238
238
  o(this, "handleClick", () => {
239
239
  if (!this.state.visible)
@@ -243,7 +243,7 @@ class Qt extends D {
243
243
  });
244
244
  /** modelLoaded 之后自动执行 append container 操作 */
245
245
  o(this, "onFiveModelLoaded", () => {
246
- const e = this.five.model.bounding.getCenter(new w.Vector3());
246
+ const e = this.five.model.bounding.getCenter(new b.Vector3());
247
247
  if (this.showState.offset = e, this.state.enabled === !1 || this.wrapper || !this.selector)
248
248
  return;
249
249
  const i = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
@@ -277,7 +277,7 @@ class Qt extends D {
277
277
  /** 户型图展示中,转动三维模型,结束时应该自动修复模型状态 */
278
278
  o(this, "onFiveWantsPanGesture", (t, e) => {
279
279
  if (this.five.getCurrentState().mode === this.showState.mode && this.state.config.autoShowEnable !== !1 && e && this.state.visible)
280
- return this.five.updateCamera(S(this.showState, ["offset"]), 0), !1;
280
+ return this.five.updateCamera(C(this.showState, ["offset"]), 0), !1;
281
281
  });
282
282
  /** 阻止点击分间走点 */
283
283
  o(this, "onFiveWantsTapGesture", () => this.handleClick());
@@ -319,15 +319,17 @@ class Qt extends D {
319
319
  roomLabelsEnable: !0,
320
320
  roomAreaEnable: !0,
321
321
  roomNameEnable: !0,
322
+ roomDimensionEnable: !0,
322
323
  cameraImageUrl: _,
323
- attachedTo: O.BOUNDING_CENTER,
324
+ attachedTo: D.BOUNDING_CENTER,
324
325
  getLabelElement: void 0,
325
326
  adaptiveRoomLabelVisibleEnable: !0,
326
327
  missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
327
328
  i18n: (c) => c,
328
329
  getRoomAreaText: (c) => (c / 1e6).toFixed(1) + "㎡",
330
+ getRoomDimensionText: (c, g) => (c / 1e3).toFixed(1) + "m x " + (g / 1e3).toFixed(1) + "m",
329
331
  getRuleDistanceText: (c) => c.toString()
330
- }, n = e ? S(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), s = m(l(l({}, i), n), { missingFloorConfig: h });
332
+ }, n = e ? C(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), s = p(l(l({}, i), n), { missingFloorConfig: h });
331
333
  this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
332
334
  }
333
335
  load(t, e, i = !0) {
@@ -338,7 +340,7 @@ class Qt extends D {
338
340
  const h = t;
339
341
  h && !h.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
340
342
  const s = JSON.parse(JSON.stringify(t)), a = n(s) ? s.data : s, f = this.data;
341
- this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
343
+ this.data = yield S(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
342
344
  });
343
345
  }
344
346
  /** 把插件的渲染DOM插入到对应的容器中去 */
@@ -374,7 +376,7 @@ class Qt extends D {
374
376
  /** 更新户型图位置 */
375
377
  updatePosition() {
376
378
  var s;
377
- const t = k(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new w.Vector3()).setY(t);
379
+ const t = k(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new b.Vector3()).setY(t);
378
380
  if (!e)
379
381
  return;
380
382
  const i = e.clone().project(this.five.camera), n = (i.x + 1) / 2, h = -(i.y - 1) / 2;
@@ -382,13 +384,13 @@ class Qt extends D {
382
384
  }
383
385
  formatData(t) {
384
386
  return u(this, null, function* () {
385
- return yield b(t.data);
387
+ return yield S(t.data);
386
388
  });
387
389
  }
388
390
  updateState(t, e) {
389
391
  var s;
390
- const i = this.state, n = (s = t.config) != null && s.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, h = t.config ? m(l(l({}, i.config), t.config), { missingFloorConfig: n }) : i.config;
391
- this.state = m(l(l({}, this.state), t), { config: h }), !y(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
392
+ const i = this.state, n = (s = t.config) != null && s.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, h = t.config ? p(l(l({}, i.config), t.config), { missingFloorConfig: n }) : i.config;
393
+ this.state = p(l(l({}, this.state), t), { config: h }), !y(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
392
394
  }
393
395
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
394
396
  *
@@ -417,7 +419,7 @@ class Qt extends D {
417
419
  render(t) {
418
420
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
419
421
  return;
420
- const e = m(l({}, this.state.config), {
422
+ const e = p(l({}, this.state.config), {
421
423
  visible: this.state.visible,
422
424
  duration: t != null ? t : 0,
423
425
  panoIndex: this.panoIndex,