@realsee/dnalogel 3.67.2 → 3.67.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (492) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/AreaMakerPlugin/utils/Item.d.ts +9 -0
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
  4. package/dist/index.cjs.js +82 -82
  5. package/dist/index.js +8333 -7902
  6. package/dist/index.umd.js +75 -75
  7. package/dist/shared-utils/fontSize.d.ts +185 -0
  8. package/dist/shared-utils/px2rem.d.ts +1 -0
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  11. package/docs/classes/CSS3DRender.html +2 -2
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  14. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  15. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  16. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  17. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  18. package/docs/classes/ModelRoomLabelController.html +2 -2
  19. package/docs/classes/MoveController.html +2 -2
  20. package/docs/classes/Object3DHelperController.html +2 -2
  21. package/docs/classes/PaintBrush.html +2 -2
  22. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  23. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  24. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  25. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  26. package/docs/classes/PanoTagPluginController.html +2 -2
  27. package/docs/classes/Sculpt.html +2 -2
  28. package/docs/classes/Util.BetterTween.html +2 -2
  29. package/docs/classes/Util.FiveDomEvents.html +2 -2
  30. package/docs/classes/Util.FivePuppet.html +2 -2
  31. package/docs/classes/Util.Interval.html +2 -2
  32. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  33. package/docs/classes/Util.LightTag.html +2 -2
  34. package/docs/classes/Util.LineSegments.html +2 -2
  35. package/docs/classes/Util.Magnifier.html +2 -2
  36. package/docs/classes/Util.Object3D.html +2 -2
  37. package/docs/classes/Util.PointDomHelper.html +2 -2
  38. package/docs/classes/Util.PointHelper.html +2 -2
  39. package/docs/classes/Util.PointSelector.html +2 -2
  40. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  41. package/docs/classes/Util.Rectangle.html +2 -2
  42. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  43. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  57. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  58. package/docs/classes/WalkController.html +2 -2
  59. package/docs/enums/CameraMovementEffect.html +2 -2
  60. package/docs/enums/ContentType.html +2 -2
  61. package/docs/enums/DIRECTION.html +2 -2
  62. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/DimensionType.html +2 -2
  64. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  65. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  66. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  67. package/docs/enums/PointType.html +2 -2
  68. package/docs/enums/Rotation.html +2 -2
  69. package/docs/functions/AreaMakerPlugin.html +1 -1
  70. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  71. package/docs/functions/CameraMovementPlugin.html +2 -2
  72. package/docs/functions/CruisePlugin.html +1 -1
  73. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  74. package/docs/functions/GuideLinePlugin.html +1 -1
  75. package/docs/functions/ItemLabelPlugin.html +1 -1
  76. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  77. package/docs/functions/MeasurePlugin.html +1 -1
  78. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  79. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  80. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  81. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  82. package/docs/functions/ModelMakerPlugin.html +1 -1
  83. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  84. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  85. package/docs/functions/ModelViewPlugin.html +2 -2
  86. package/docs/functions/MovePlugin.html +1 -1
  87. package/docs/functions/Object3DHelperPlugin.html +1 -1
  88. package/docs/functions/PanoCompassPlugin.html +1 -1
  89. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  90. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  91. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  92. package/docs/functions/PanoMeasurePlugin.html +1 -1
  93. package/docs/functions/PanoRulerPlugin.html +2 -2
  94. package/docs/functions/PanoRulerProPlugin.html +2 -2
  95. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  96. package/docs/functions/PanoTagPlugin.html +1 -1
  97. package/docs/functions/PanoVideoPlugin.html +2 -2
  98. package/docs/functions/PipelinePlugin.html +1 -1
  99. package/docs/functions/SculptPlugin.html +2 -2
  100. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  101. package/docs/functions/Util.absoluteUrl.html +2 -2
  102. package/docs/functions/Util.awaitNextFrame.html +1 -1
  103. package/docs/functions/Util.blink.html +2 -2
  104. package/docs/functions/Util.bounding.html +1 -1
  105. package/docs/functions/Util.boundingBox.html +1 -1
  106. package/docs/functions/Util.boundingSphere.html +1 -1
  107. package/docs/functions/Util.boxVertex.html +2 -2
  108. package/docs/functions/Util.boxVertexes.html +1 -1
  109. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  110. package/docs/functions/Util.convexHull.html +2 -2
  111. package/docs/functions/Util.equal.html +2 -2
  112. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  113. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  114. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  115. package/docs/functions/Util.getFrameTime.html +2 -2
  116. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  117. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  118. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  119. package/docs/functions/Util.inside.html +1 -1
  120. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  121. package/docs/functions/Util.isModelLike.html +1 -1
  122. package/docs/functions/Util.isNil.html +2 -2
  123. package/docs/functions/Util.isPanoramaLike.html +1 -1
  124. package/docs/functions/Util.lookObject.html +2 -2
  125. package/docs/functions/Util.lookPoint.html +2 -2
  126. package/docs/functions/Util.nextFrame.html +1 -1
  127. package/docs/functions/Util.notNil.html +2 -2
  128. package/docs/functions/Util.reblink.html +2 -2
  129. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  130. package/docs/functions/Util.sculpt.createBox.html +1 -1
  131. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  132. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  133. package/docs/functions/Util.sculpt.createLine.html +2 -2
  134. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  135. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  136. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  137. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  138. package/docs/functions/Util.tag.html +1 -1
  139. package/docs/functions/Util.tweenProgress.html +1 -1
  140. package/docs/functions/Util.uuid.html +2 -2
  141. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  142. package/docs/functions/Util.worldBounding.html +1 -1
  143. package/docs/functions/Util.worldBoundingBox.html +1 -1
  144. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  145. package/docs/functions/createPolyline.html +2 -2
  146. package/docs/functions/pluginFlag.html +1 -1
  147. package/docs/hierarchy.html +1 -1
  148. package/docs/index.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  159. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  160. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  161. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  162. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  173. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  175. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  178. package/docs/interfaces/FloorplanBounding.html +2 -2
  179. package/docs/interfaces/FloorplanData.html +2 -2
  180. package/docs/interfaces/FloorplanEntrance.html +2 -2
  181. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  182. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  183. package/docs/interfaces/FloorplanFloorData.html +2 -2
  184. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  185. package/docs/interfaces/FloorplanObserver.html +2 -2
  186. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  187. package/docs/interfaces/FloorplanPosition.html +2 -2
  188. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  189. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  190. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  191. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  192. package/docs/interfaces/FloorplanServerData.html +2 -2
  193. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  194. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  195. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  196. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  197. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  198. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  199. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  200. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  201. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  202. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  203. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  216. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  219. package/docs/interfaces/HelperOffset.html +2 -2
  220. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  221. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  222. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  224. package/docs/interfaces/MinMax.html +2 -2
  225. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  226. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  228. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  229. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  230. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  231. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  243. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  244. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  247. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  248. package/docs/interfaces/Object3DHelperState.html +2 -2
  249. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  250. package/docs/interfaces/PaintBrushAction.html +2 -2
  251. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  252. package/docs/interfaces/PaintBrushState.html +2 -2
  253. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  255. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  260. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  268. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  283. package/docs/interfaces/PluginEventMap.html +2 -2
  284. package/docs/interfaces/Point.html +2 -2
  285. package/docs/interfaces/Room.html +2 -2
  286. package/docs/interfaces/RoomInfo.html +2 -2
  287. package/docs/interfaces/RoomLabel.html +2 -2
  288. package/docs/interfaces/RoomRules.html +1 -1
  289. package/docs/interfaces/Rooms.html +1 -1
  290. package/docs/interfaces/Scissor.html +2 -2
  291. package/docs/interfaces/State.html +2 -2
  292. package/docs/interfaces/TagCacheInterface.html +2 -2
  293. package/docs/interfaces/TagConfig.html +2 -2
  294. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  295. package/docs/interfaces/TagIconUrl.html +2 -2
  296. package/docs/interfaces/TagObjectGroup.html +2 -2
  297. package/docs/interfaces/TagState.html +2 -2
  298. package/docs/interfaces/TagStyle.html +2 -2
  299. package/docs/interfaces/Tags.html +2 -2
  300. package/docs/interfaces/TemporaryState.html +2 -2
  301. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  302. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  303. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  304. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  305. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  306. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  307. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  308. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  309. package/docs/interfaces/Util.PointIntersection.html +2 -2
  310. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  311. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  312. package/docs/modules/AreaMakerPluginType.html +2 -2
  313. package/docs/modules/CruisePluginTypes.html +2 -2
  314. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  315. package/docs/modules/GuideLineItem.html +2 -2
  316. package/docs/modules/GuideLineModeItem.html +2 -2
  317. package/docs/modules/GuideLinePluginType.html +2 -2
  318. package/docs/modules/ModelMakerPluginType.html +2 -2
  319. package/docs/modules/PanoVideoPluginType.html +2 -2
  320. package/docs/modules/SculptData.html +2 -2
  321. package/docs/modules/SculptType.html +2 -2
  322. package/docs/modules/Util.html +2 -2
  323. package/docs/modules/Util.sculpt.html +2 -2
  324. package/docs/modules.html +2 -2
  325. package/docs/types/AddObject3DHelperConfig.html +2 -2
  326. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  327. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  328. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  329. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  330. package/docs/types/ArrayPosition.html +1 -1
  331. package/docs/types/AudioAppearance.html +1 -1
  332. package/docs/types/CSS3DRenderExportType.html +1 -1
  333. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  334. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  335. package/docs/types/ClassFunctionParameters.html +1 -1
  336. package/docs/types/Color.html +1 -1
  337. package/docs/types/ContentTypeConfigKey.html +1 -1
  338. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  339. package/docs/types/ContentTypeMap.html +1 -1
  340. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  341. package/docs/types/Create3DElementReturnType.html +1 -1
  342. package/docs/types/CruisePluginExportType.html +1 -1
  343. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  344. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  345. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  346. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  347. package/docs/types/DeprecatedTagProperty.html +2 -2
  348. package/docs/types/Direction-1.html +1 -1
  349. package/docs/types/Direction4.html +1 -1
  350. package/docs/types/ElementRenderer.html +2 -2
  351. package/docs/types/FloorplanRuleLabels.html +2 -2
  352. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  353. package/docs/types/GuideLinePluginExportType.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  355. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  356. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  357. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  358. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  359. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  360. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  361. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  362. package/docs/types/HelperEventMap.html +1 -1
  363. package/docs/types/InternalHelperEventMap.html +1 -1
  364. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  365. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  366. package/docs/types/MeasurePluginConfig.html +1 -1
  367. package/docs/types/MediaData.html +2 -2
  368. package/docs/types/MediaStore.html +1 -1
  369. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  370. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  371. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  372. package/docs/types/ModelId.html +1 -1
  373. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  374. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  375. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  376. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  377. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  378. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  379. package/docs/types/MoveArgs.html +2 -2
  380. package/docs/types/MoveOpts.html +2 -2
  381. package/docs/types/Object3DHelperEventMap.html +1 -1
  382. package/docs/types/ObjectFit.html +1 -1
  383. package/docs/types/PaintBrushEventMap.html +1 -1
  384. package/docs/types/PanoCompassPluginData.html +1 -1
  385. package/docs/types/PanoCompassPluginExportType.html +1 -1
  386. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  387. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  388. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  389. package/docs/types/PanoIndex.html +1 -1
  390. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  391. package/docs/types/PanoMeasureReturnType.html +1 -1
  392. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  393. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  394. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  395. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  396. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  397. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  398. package/docs/types/PipelinePluginParameterType.html +1 -1
  399. package/docs/types/PipelinePluginReturnType.html +1 -1
  400. package/docs/types/PlaneTag.html +2 -2
  401. package/docs/types/Point2DTag.html +2 -2
  402. package/docs/types/Point3DTag.html +2 -2
  403. package/docs/types/PointTagInstance.html +1 -1
  404. package/docs/types/Position.html +1 -1
  405. package/docs/types/PositionFrom.html +1 -1
  406. package/docs/types/RotateArgs.html +2 -2
  407. package/docs/types/RotateOpts.html +2 -2
  408. package/docs/types/RuleLabelsKey.html +1 -1
  409. package/docs/types/RuleLabelsValue.html +1 -1
  410. package/docs/types/ScaleCallback.html +1 -1
  411. package/docs/types/ScalePosition.html +2 -2
  412. package/docs/types/SculptData.BoxData.html +1 -1
  413. package/docs/types/SculptData.CircleData.html +1 -1
  414. package/docs/types/SculptData.CylinderData.html +1 -1
  415. package/docs/types/SculptData.PointData.html +1 -1
  416. package/docs/types/SculptData.PolygonData.html +1 -1
  417. package/docs/types/SculptData.PolylineData.html +1 -1
  418. package/docs/types/SculptData.PrismData.html +1 -1
  419. package/docs/types/SculptData.RectangleData.html +1 -1
  420. package/docs/types/SculptType.Theme.html +2 -2
  421. package/docs/types/StickType.html +1 -1
  422. package/docs/types/Tag.html +2 -2
  423. package/docs/types/Tag2D.html +2 -2
  424. package/docs/types/Tag3D.html +2 -2
  425. package/docs/types/TagClickParams.html +1 -1
  426. package/docs/types/TagConfigByKey.html +1 -1
  427. package/docs/types/TagContentType.html +1 -1
  428. package/docs/types/TagContentTypeMapping.html +1 -1
  429. package/docs/types/TagDimensionType.html +1 -1
  430. package/docs/types/TagElement.html +2 -2
  431. package/docs/types/TagEvents.html +1 -1
  432. package/docs/types/TagGLTFObject.html +1 -1
  433. package/docs/types/TagHooks.html +1 -1
  434. package/docs/types/TagId.html +1 -1
  435. package/docs/types/TagInstance.html +1 -1
  436. package/docs/types/TagPlacement.html +2 -2
  437. package/docs/types/TagPointType.html +2 -2
  438. package/docs/types/TagRendererMap.html +1 -1
  439. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  440. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  441. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  442. package/docs/types/Util.AdherePoint.html +2 -2
  443. package/docs/types/Util.PointSelectorConfig.html +1 -1
  444. package/docs/types/WorkCode.html +1 -1
  445. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  446. package/docs/variables/PLUGIN.html +1 -1
  447. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  448. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  449. package/docs/variables/Util.animeMap.html +1 -1
  450. package/docs/variables/defaultGlobalConfig.html +1 -1
  451. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  452. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  453. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  454. package/libs/AreaMakerPlugin/Controller.js +4 -2
  455. package/libs/AreaMakerPlugin/index.js +4 -2
  456. package/libs/AreaMakerPlugin/utils/Item.d.ts +9 -0
  457. package/libs/AreaMakerPlugin/utils/Item.js +52 -36
  458. package/libs/CruisePlugin/Move.js +4 -2
  459. package/libs/CruisePlugin/Work.js +4 -2
  460. package/libs/CruisePlugin/index.js +8 -6
  461. package/libs/GuideLinePlugin/Components/Tag.js +227 -97
  462. package/libs/GuideLinePlugin/Controller.js +6 -4
  463. package/libs/GuideLinePlugin/GuideLineItem.js +4 -2
  464. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +69 -55
  465. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
  466. package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
  467. package/libs/GuideLinePlugin/index.js +8 -6
  468. package/libs/ModelMakerPlugin/Controller.js +4 -2
  469. package/libs/ModelMakerPlugin/index.js +4 -2
  470. package/libs/ModelMakerPlugin/utils/tagRenderer.js +27 -19
  471. package/libs/ModelRoomLabelPlugin/Controller.js +8 -6
  472. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +93 -38
  473. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +127 -113
  474. package/libs/ModelRoomLabelPlugin/index.js +6 -4
  475. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +384 -384
  476. package/libs/base/BasePlugin.js +1 -1
  477. package/libs/components/AreaLabel/LabelItem.js +157 -100
  478. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +248 -209
  479. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +116 -101
  480. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +4 -2
  481. package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
  482. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
  483. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
  484. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
  485. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
  486. package/libs/index.js +147 -145
  487. package/libs/shared-utils/fontSize.d.ts +185 -0
  488. package/libs/shared-utils/fontSize.js +105 -0
  489. package/libs/shared-utils/logger.js +1 -1
  490. package/libs/shared-utils/px2rem.d.ts +1 -0
  491. package/libs/shared-utils/px2rem.js +6 -0
  492. package/package.json +1 -1
@@ -1,111 +1,118 @@
1
- import { SvelteComponent as Le, init as He, safe_not_equal as ke, append_styles as Ne, element as R, attr as z, set_style as d, insert as h, action_destroyer as oe, listen as v, noop as ee, detach as y, run_all as re, empty as fe, space as te, append as D, text as j, set_data as F, HtmlTag as ve } from "../../../vendor/svelte/internal/index.js";
2
- import { svelteResizeObserver as me } from "../../../shared-utils/svelte/resizeObserver.js";
3
- function De(t) {
4
- Ne(t, "svelte-9vzn2f", ".floorplan-plugin__room-label-item.svelte-9vzn2f{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-part1.svelte-9vzn2f{display:flex;flex-flow:column;align-items:center;color:#fff;white-space:nowrap}.floorplan-plugin__room-area.svelte-9vzn2f{opacity:0.6;line-height:1.25;margin-top:0.125rem}");
1
+ import { SvelteComponent as ke, init as He, safe_not_equal as Ne, append_styles as Ae, element as R, attr as w, set_style as u, insert as h, action_destroyer as me, listen as D, noop as te, detach as y, run_all as ae, empty as se, space as ne, append as S, text as q, set_data as F, HtmlTag as De } from "../../../vendor/svelte/internal/index.js";
2
+ import { svelteResizeObserver as ce } from "../../../shared-utils/svelte/resizeObserver.js";
3
+ import { FONT_SIZE_MAP as Se } from "../../../shared-utils/fontSize.js";
4
+ import { px2rem as le } from "../../../shared-utils/px2rem.js";
5
+ function Ve(i) {
6
+ Ae(i, "svelte-9vzn2f", ".floorplan-plugin__room-label-item.svelte-9vzn2f{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-part1.svelte-9vzn2f{display:flex;flex-flow:column;align-items:center;color:#fff;white-space:nowrap}.floorplan-plugin__room-area.svelte-9vzn2f{opacity:0.6;line-height:1.25;margin-top:0.125rem}");
5
7
  }
6
- function Ve(t) {
7
- let e, i = (
8
+ function Ie(i) {
9
+ let e, t = (
8
10
  /*userConfigElement*/
9
- t[16].outerHTML + ""
10
- ), r;
11
+ i[18].outerHTML + ""
12
+ ), l;
11
13
  return {
12
14
  c() {
13
- e = new ve(!1), r = fe(), e.a = r;
15
+ e = new De(!1), l = se(), e.a = l;
14
16
  },
15
- m(n, a) {
16
- e.m(i, n, a), h(n, r, a);
17
+ m(n, m) {
18
+ e.m(t, n, m), h(n, l, m);
17
19
  },
18
- p(n, a) {
19
- a[0] & /*userConfigElement*/
20
- 65536 && i !== (i = /*userConfigElement*/
21
- n[16].outerHTML + "") && e.p(i);
20
+ p(n, m) {
21
+ m[0] & /*userConfigElement*/
22
+ 262144 && t !== (t = /*userConfigElement*/
23
+ n[18].outerHTML + "") && e.p(t);
22
24
  },
23
25
  d(n) {
24
- n && y(r), n && e.d();
26
+ n && y(l), n && e.d();
25
27
  }
26
28
  };
27
29
  }
28
- function We(t) {
29
- let e, i, r, n, a, s, o = (
30
+ function Pe(i) {
31
+ let e, t, l, n, m, s, r = (
30
32
  /*roomNameEnable*/
31
- t[1] && ie(t)
33
+ i[1] && oe(i)
32
34
  ), f = (
33
35
  /*roomAreaEnable*/
34
- t[0] && ne(t)
36
+ i[0] && re(i)
35
37
  ), c = (
36
38
  /*roomDimensionEnable*/
37
- t[3] && le(t)
39
+ i[3] && fe(i)
38
40
  );
39
41
  return {
40
42
  c() {
41
- e = R("div"), o && o.c(), i = te(), f && f.c(), r = te(), c && c.c(), n = fe(), z(e, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), d(
43
+ e = R("div"), r && r.c(), t = ne(), f && f.c(), l = ne(), c && c.c(), n = se(), w(e, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), u(
42
44
  e,
43
45
  "opacity",
44
46
  /*level1_labelVisible*/
45
- t[12] ? "1" : "0"
47
+ i[14] ? "1" : "0"
46
48
  );
47
49
  },
48
- m(m, u) {
49
- h(m, e, u), o && o.m(e, null), D(e, i), f && f.m(e, null), h(m, r, u), c && c.m(m, u), h(m, n, u), a || (s = [
50
- oe(me.call(null, e)),
51
- v(
50
+ m(a, b) {
51
+ h(a, e, b), r && r.m(e, null), S(e, t), f && f.m(e, null), h(a, l, b), c && c.m(a, b), h(a, n, b), m || (s = [
52
+ me(ce.call(null, e)),
53
+ D(
52
54
  e,
53
55
  "clientWidth",
54
56
  /*clientWidth_handler*/
55
- t[33]
57
+ i[35]
56
58
  ),
57
- v(
59
+ D(
58
60
  e,
59
61
  "clientHeight",
60
62
  /*clientHeight_handler*/
61
- t[34]
63
+ i[36]
62
64
  )
63
- ], a = !0);
65
+ ], m = !0);
64
66
  },
65
- p(m, u) {
67
+ p(a, b) {
66
68
  /*roomNameEnable*/
67
- m[1] ? o ? o.p(m, u) : (o = ie(m), o.c(), o.m(e, i)) : o && (o.d(1), o = null), /*roomAreaEnable*/
68
- m[0] ? f ? f.p(m, u) : (f = ne(m), f.c(), f.m(e, null)) : f && (f.d(1), f = null), u[0] & /*level1_labelVisible*/
69
- 4096 && d(
69
+ a[1] ? r ? r.p(a, b) : (r = oe(a), r.c(), r.m(e, t)) : r && (r.d(1), r = null), /*roomAreaEnable*/
70
+ a[0] ? f ? f.p(a, b) : (f = re(a), f.c(), f.m(e, null)) : f && (f.d(1), f = null), b[0] & /*level1_labelVisible*/
71
+ 16384 && u(
70
72
  e,
71
73
  "opacity",
72
74
  /*level1_labelVisible*/
73
- m[12] ? "1" : "0"
75
+ a[14] ? "1" : "0"
74
76
  ), /*roomDimensionEnable*/
75
- m[3] ? c ? c.p(m, u) : (c = le(m), c.c(), c.m(n.parentNode, n)) : c && (c.d(1), c = null);
77
+ a[3] ? c ? c.p(a, b) : (c = fe(a), c.c(), c.m(n.parentNode, n)) : c && (c.d(1), c = null);
76
78
  },
77
- d(m) {
78
- m && y(e), o && o.d(), f && f.d(), m && y(r), c && c.d(m), m && y(n), a = !1, re(s);
79
+ d(a) {
80
+ a && y(e), r && r.d(), f && f.d(), a && y(l), c && c.d(a), a && y(n), m = !1, ae(s);
79
81
  }
80
82
  };
81
83
  }
82
- function ie(t) {
83
- let e, i = (
84
+ function oe(i) {
85
+ let e, t = (
84
86
  /*roomNameOtherTypeEnable*/
85
- (t[2] ? (
87
+ (i[2] ? (
86
88
  /*room*/
87
- t[4].name
89
+ i[4].name
88
90
  ) : (
89
91
  /*room*/
90
- t[4].roomType === "100900000012" ? (
92
+ i[4].roomType === "100900000012" ? (
91
93
  /*room*/
92
- t[4].customizedName
94
+ i[4].customizedName
93
95
  ) : (
94
96
  /*room*/
95
- t[4].name
97
+ i[4].name
96
98
  )
97
99
  )) + ""
98
- ), r;
100
+ ), l;
99
101
  return {
100
102
  c() {
101
- e = R("span"), r = j(i), z(e, "class", "floorplan-plugin__room-name");
103
+ e = R("span"), l = q(t), w(e, "class", "floorplan-plugin__room-name"), u(
104
+ e,
105
+ "font-size",
106
+ /*nameSize*/
107
+ i[11]
108
+ );
102
109
  },
103
- m(n, a) {
104
- h(n, e, a), D(e, r);
110
+ m(n, m) {
111
+ h(n, e, m), S(e, l);
105
112
  },
106
- p(n, a) {
107
- a[0] & /*roomNameOtherTypeEnable, room*/
108
- 20 && i !== (i = /*roomNameOtherTypeEnable*/
113
+ p(n, m) {
114
+ m[0] & /*roomNameOtherTypeEnable, room*/
115
+ 20 && t !== (t = /*roomNameOtherTypeEnable*/
109
116
  (n[2] ? (
110
117
  /*room*/
111
118
  n[4].name
@@ -118,277 +125,308 @@ function ie(t) {
118
125
  /*room*/
119
126
  n[4].name
120
127
  )
121
- )) + "") && F(r, i);
128
+ )) + "") && F(l, t), m[0] & /*nameSize*/
129
+ 2048 && u(
130
+ e,
131
+ "font-size",
132
+ /*nameSize*/
133
+ n[11]
134
+ );
122
135
  },
123
136
  d(n) {
124
137
  n && y(e);
125
138
  }
126
139
  };
127
140
  }
128
- function ne(t) {
129
- let e, i;
141
+ function re(i) {
142
+ let e, t;
130
143
  return {
131
144
  c() {
132
- e = R("span"), i = j(
145
+ e = R("span"), t = q(
133
146
  /*roomAreaSize*/
134
- t[15]
135
- ), z(e, "class", "floorplan-plugin__room-area svelte-9vzn2f"), d(
147
+ i[17]
148
+ ), w(e, "class", "floorplan-plugin__room-area svelte-9vzn2f"), u(
136
149
  e,
137
150
  "font-size",
138
- /*txtFontSize*/
139
- t[20]
151
+ /*areaSize*/
152
+ i[10]
140
153
  );
141
154
  },
142
- m(r, n) {
143
- h(r, e, n), D(e, i);
155
+ m(l, n) {
156
+ h(l, e, n), S(e, t);
144
157
  },
145
- p(r, n) {
158
+ p(l, n) {
146
159
  n[0] & /*roomAreaSize*/
147
- 32768 && F(
148
- i,
160
+ 131072 && F(
161
+ t,
149
162
  /*roomAreaSize*/
150
- r[15]
163
+ l[17]
164
+ ), n[0] & /*areaSize*/
165
+ 1024 && u(
166
+ e,
167
+ "font-size",
168
+ /*areaSize*/
169
+ l[10]
151
170
  );
152
171
  },
153
- d(r) {
154
- r && y(e);
172
+ d(l) {
173
+ l && y(e);
155
174
  }
156
175
  };
157
176
  }
158
- function le(t) {
159
- let e, i;
177
+ function fe(i) {
178
+ let e, t;
160
179
  return {
161
180
  c() {
162
- e = R("span"), i = j(
181
+ e = R("span"), t = q(
163
182
  /*roomDimension*/
164
- t[14]
165
- ), z(e, "class", "floorplan-plugin__room-size"), d(
183
+ i[16]
184
+ ), w(e, "class", "floorplan-plugin__room-size"), u(
166
185
  e,
167
186
  "font-size",
168
- /*txtFontSize*/
169
- t[20]
170
- ), d(
187
+ /*areaSize*/
188
+ i[10]
189
+ ), u(
171
190
  e,
172
191
  "opacity",
173
192
  /*level2_labelVisible*/
174
- t[11] ? "0.6" : "0"
193
+ i[13] ? "0.6" : "0"
175
194
  );
176
195
  },
177
- m(r, n) {
178
- h(r, e, n), D(e, i);
196
+ m(l, n) {
197
+ h(l, e, n), S(e, t);
179
198
  },
180
- p(r, n) {
199
+ p(l, n) {
181
200
  n[0] & /*roomDimension*/
182
- 16384 && F(
183
- i,
201
+ 65536 && F(
202
+ t,
184
203
  /*roomDimension*/
185
- r[14]
204
+ l[16]
205
+ ), n[0] & /*areaSize*/
206
+ 1024 && u(
207
+ e,
208
+ "font-size",
209
+ /*areaSize*/
210
+ l[10]
186
211
  ), n[0] & /*level2_labelVisible*/
187
- 2048 && d(
212
+ 8192 && u(
188
213
  e,
189
214
  "opacity",
190
215
  /*level2_labelVisible*/
191
- r[11] ? "0.6" : "0"
216
+ l[13] ? "0.6" : "0"
192
217
  );
193
218
  },
194
- d(r) {
195
- r && y(e);
219
+ d(l) {
220
+ l && y(e);
196
221
  }
197
222
  };
198
223
  }
199
- function Ae(t) {
200
- let e, i, r;
201
- function n(o, f) {
224
+ function We(i) {
225
+ let e, t, l;
226
+ function n(r, f) {
202
227
  if (
203
228
  /*getLabelElement*/
204
- o[5] === void 0
229
+ r[5] === void 0
205
230
  )
206
- return We;
231
+ return Pe;
207
232
  if (
208
233
  /*userConfigElement*/
209
- o[16]
234
+ r[18]
210
235
  )
211
- return Ve;
236
+ return Ie;
212
237
  }
213
- let a = n(t), s = a && a(t);
238
+ let m = n(i), s = m && m(i);
214
239
  return {
215
240
  c() {
216
- e = R("div"), s && s.c(), z(e, "class", "floorplan-plugin__room-label-item svelte-9vzn2f"), d(
241
+ e = R("div"), s && s.c(), w(e, "class", "floorplan-plugin__room-label-item svelte-9vzn2f"), u(
217
242
  e,
218
243
  "left",
219
244
  /*left*/
220
- t[17]
221
- ), d(
245
+ i[19]
246
+ ), u(
222
247
  e,
223
248
  "top",
224
249
  /*top*/
225
- t[18]
226
- ), d(
250
+ i[20]
251
+ ), u(
227
252
  e,
228
253
  "font-size",
229
- /*titleFontSize*/
230
- t[19]
231
- ), d(
254
+ /*nameSize*/
255
+ i[11]
256
+ ), u(
232
257
  e,
233
258
  "opacity",
234
259
  /*level0_labelVisible*/
235
- t[13] ? "1" : "0"
236
- ), d(
260
+ i[15] ? "1" : "0"
261
+ ), u(
237
262
  e,
238
263
  "transform",
239
264
  /*transformInner*/
240
- t[10] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
265
+ i[12] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
241
266
  );
242
267
  },
243
- m(o, f) {
244
- h(o, e, f), s && s.m(e, null), i || (r = [
245
- oe(me.call(null, e)),
246
- v(
268
+ m(r, f) {
269
+ h(r, e, f), s && s.m(e, null), t || (l = [
270
+ me(ce.call(null, e)),
271
+ D(
247
272
  e,
248
273
  "clientWidth",
249
274
  /*clientWidth_handler_1*/
250
- t[35]
275
+ i[37]
251
276
  ),
252
- v(
277
+ D(
253
278
  e,
254
279
  "clientHeight",
255
280
  /*clientHeight_handler_1*/
256
- t[36]
281
+ i[38]
257
282
  )
258
- ], i = !0);
283
+ ], t = !0);
259
284
  },
260
- p(o, f) {
261
- a === (a = n(o)) && s ? s.p(o, f) : (s && s.d(1), s = a && a(o), s && (s.c(), s.m(e, null))), f[0] & /*level0_labelVisible*/
262
- 8192 && d(
285
+ p(r, f) {
286
+ m === (m = n(r)) && s ? s.p(r, f) : (s && s.d(1), s = m && m(r), s && (s.c(), s.m(e, null))), f[0] & /*nameSize*/
287
+ 2048 && u(
288
+ e,
289
+ "font-size",
290
+ /*nameSize*/
291
+ r[11]
292
+ ), f[0] & /*level0_labelVisible*/
293
+ 32768 && u(
263
294
  e,
264
295
  "opacity",
265
296
  /*level0_labelVisible*/
266
- o[13] ? "1" : "0"
297
+ r[15] ? "1" : "0"
267
298
  ), f[0] & /*transformInner*/
268
- 1024 && d(
299
+ 4096 && u(
269
300
  e,
270
301
  "transform",
271
302
  /*transformInner*/
272
- o[10] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
303
+ r[12] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
273
304
  );
274
305
  },
275
- i: ee,
276
- o: ee,
277
- d(o) {
278
- o && y(e), s && s.d(), i = !1, re(r);
306
+ i: te,
307
+ o: te,
308
+ d(r) {
309
+ r && y(e), s && s.d(), t = !1, ae(l);
279
310
  }
280
311
  };
281
312
  }
282
- function Ce(t, e) {
283
- const i = t[0], r = t[1];
313
+ function Oe(i, e) {
314
+ const t = i[0], l = i[1];
284
315
  let n = !1;
285
- for (let a = 0, s = e.length - 1; a < e.length; s = a++) {
286
- const o = e[a][0], f = e[a][1], c = e[s][0], m = e[s][1];
287
- f > r != m > r && i < (c - o) * (r - f) / (m - f) + o && (n = !n);
316
+ for (let m = 0, s = e.length - 1; m < e.length; s = m++) {
317
+ const r = e[m][0], f = e[m][1], c = e[s][0], a = e[s][1];
318
+ f > l != a > l && t < (c - r) * (l - f) / (a - f) + r && (n = !n);
288
319
  }
289
320
  return n;
290
321
  }
291
- function Ie(t, e, i) {
292
- let r, n, a, s, o, f, c, m, u, M, q, U, X, { pxmm: w } = e, { roomAreaEnable: Y } = e, { roomNameEnable: B } = e, { roomNameOtherTypeEnable: G } = e, { roomDimensionEnable: J } = e, { room: b } = e, { hoveredRoom: V } = e, { getRoomAreaText: W } = e, { getRoomDimensionText: A } = e, { getLabelElement: p } = e, { adaptiveRoomLabelVisibleEnable: T } = e;
293
- function K(l, _) {
294
- if (_.width === 0 || _.height === 0)
322
+ function ve(i, e, t) {
323
+ let l, n, m, s, r, f, c, a, b, p, U, X, Y, Z, B, G, { pxmm: T } = e, { roomAreaEnable: J } = e, { roomNameEnable: K } = e, { roomNameOtherTypeEnable: Q } = e, { roomDimensionEnable: x } = e, { room: _ } = e, { hoveredRoom: V } = e, { getRoomAreaText: I } = e, { getRoomDimensionText: P } = e, { getLabelElement: z } = e, { adaptiveRoomLabelVisibleEnable: L } = e, { fontSize: W } = e;
324
+ function $(o, d) {
325
+ if (d.width === 0 || d.height === 0)
295
326
  return () => !1;
296
- const ye = l.path.map(({ x: $, y: g }) => [$, g]), ge = l.roomLabel.position, { x: pe, y: Ee } = ge, { width: Re, height: ze } = _, L = Re / 2, H = ze / 2;
327
+ const ge = o.path.map(({ x: ie, y: g }) => [ie, g]), pe = o.roomLabel.position, { x: ze, y: Ee } = pe, { width: Re, height: we } = d, k = Re / 2, H = we / 2;
297
328
  return function(g) {
298
- const k = pe * g, N = Ee * g, we = ye.map(([S, Te]) => [S * g, Te * g]);
329
+ const N = ze * g, A = Ee * g, Te = ge.map(([M, Le]) => [M * g, Le * g]);
299
330
  return [
300
- [k + L, N - H],
301
- [k - L, N - H],
302
- [k - L, N + H],
303
- [k + L, N + H]
304
- ].every((S) => Ce(S, we));
331
+ [N + k, A - H],
332
+ [N - k, A - H],
333
+ [N - k, A + H],
334
+ [N + k, A + H]
335
+ ].every((M) => Oe(M, Te));
305
336
  };
306
337
  }
307
- const Q = document.body.clientWidth, Z = document.body.clientHeight, x = b.roomLabel, ae = x.positionInImage.x * 100 + "%", se = x.positionInImage.y * 100 + "%", ce = (Q < 500 || Z < 500 ? 10 : 14) + "px", ue = (Q < 500 || Z < 500 ? 8 : 12) + "px";
308
- let C = 0, I = 0, P = 0, O = 0, E = !1;
309
- V.subscribe(function(_) {
310
- i(26, E = !!_ && _.id === b.id);
338
+ const ee = _.roomLabel, ue = ee.positionInImage.x * 100 + "%", be = ee.positionInImage.y * 100 + "%";
339
+ let O = 0, v = 0, C = 0, j = 0, E = !1;
340
+ V.subscribe(function(d) {
341
+ t(27, E = !!d && d.id === _.id);
311
342
  });
312
- const be = (l) => {
313
- i(8, P = l.detail);
314
- }, de = (l) => {
315
- i(9, O = l.detail);
316
- }, _e = (l) => {
317
- i(6, C = l.detail);
318
- }, he = (l) => {
319
- i(7, I = l.detail);
343
+ const _e = (o) => {
344
+ t(8, C = o.detail);
345
+ }, de = (o) => {
346
+ t(9, j = o.detail);
347
+ }, he = (o) => {
348
+ t(6, O = o.detail);
349
+ }, ye = (o) => {
350
+ t(7, v = o.detail);
320
351
  };
321
- return t.$$set = (l) => {
322
- "pxmm" in l && i(21, w = l.pxmm), "roomAreaEnable" in l && i(0, Y = l.roomAreaEnable), "roomNameEnable" in l && i(1, B = l.roomNameEnable), "roomNameOtherTypeEnable" in l && i(2, G = l.roomNameOtherTypeEnable), "roomDimensionEnable" in l && i(3, J = l.roomDimensionEnable), "room" in l && i(4, b = l.room), "hoveredRoom" in l && i(22, V = l.hoveredRoom), "getRoomAreaText" in l && i(23, W = l.getRoomAreaText), "getRoomDimensionText" in l && i(24, A = l.getRoomDimensionText), "getLabelElement" in l && i(5, p = l.getLabelElement), "adaptiveRoomLabelVisibleEnable" in l && i(25, T = l.adaptiveRoomLabelVisibleEnable);
323
- }, t.$$.update = () => {
324
- var l, _;
325
- t.$$.dirty[0] & /*getLabelElement, room*/
326
- 48 && i(16, r = p == null ? void 0 : p(b)), t.$$.dirty[0] & /*room, getRoomAreaText*/
327
- 8388624 && i(15, n = b.size ? W(b.size) : ""), t.$$.dirty[0] & /*room, getRoomDimensionText*/
328
- 16777232 && i(14, a = b != null && b.dimension ? A((l = b.dimension) == null ? void 0 : l.width, (_ = b.dimension) == null ? void 0 : _.height) : ""), t.$$.dirty[0] & /*clientWidth, clientHeight*/
329
- 768 && i(32, s = { width: P, height: O }), t.$$.dirty[0] & /*room*/
330
- 16 | t.$$.dirty[1] & /*labelElementSize*/
331
- 2 && i(31, o = s ? K(b, s) : void 0), t.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
332
- 35651584 | t.$$.dirty[1] & /*isLabelInRoom*/
333
- 1 && i(28, f = T ? !!(o != null && o(w)) : !0), t.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
334
- 192 && i(30, c = {
335
- width: C,
336
- height: I
337
- }), t.$$.dirty[0] & /*wrapperLabelElementSize, room*/
338
- 1073741840 && i(29, m = c ? K(b, c) : void 0), t.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
339
- 572522496 && i(27, u = T ? !!(m != null && m(w)) : !0), t.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
340
- 469762048 && i(13, M = u || f || E), t.$$.dirty[0] & /*mainLabelVisible, isHovered*/
341
- 335544320 && i(12, q = f || E), t.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
342
- 201326592 && i(11, U = u || E), t.$$.dirty[0] & /*mainLabelVisible, wrapperLabelVisible*/
343
- 402653184 && i(10, X = f && !u);
352
+ return i.$$set = (o) => {
353
+ "pxmm" in o && t(21, T = o.pxmm), "roomAreaEnable" in o && t(0, J = o.roomAreaEnable), "roomNameEnable" in o && t(1, K = o.roomNameEnable), "roomNameOtherTypeEnable" in o && t(2, Q = o.roomNameOtherTypeEnable), "roomDimensionEnable" in o && t(3, x = o.roomDimensionEnable), "room" in o && t(4, _ = o.room), "hoveredRoom" in o && t(22, V = o.hoveredRoom), "getRoomAreaText" in o && t(23, I = o.getRoomAreaText), "getRoomDimensionText" in o && t(24, P = o.getRoomDimensionText), "getLabelElement" in o && t(5, z = o.getLabelElement), "adaptiveRoomLabelVisibleEnable" in o && t(25, L = o.adaptiveRoomLabelVisibleEnable), "fontSize" in o && t(26, W = o.fontSize);
354
+ }, i.$$.update = () => {
355
+ var o, d;
356
+ i.$$.dirty[0] & /*fontSize*/
357
+ 67108864 && t(28, l = Se[W]), i.$$.dirty[0] & /*getLabelElement, room*/
358
+ 48 && t(18, n = z == null ? void 0 : z(_)), i.$$.dirty[0] & /*room, getRoomAreaText*/
359
+ 8388624 && t(17, m = _.size ? I(_.size) : ""), i.$$.dirty[0] & /*room, getRoomDimensionText*/
360
+ 16777232 && t(16, s = _ != null && _.dimension ? P((o = _.dimension) == null ? void 0 : o.width, (d = _.dimension) == null ? void 0 : d.height) : ""), i.$$.dirty[0] & /*clientWidth, clientHeight*/
361
+ 768 && t(34, r = { width: C, height: j }), i.$$.dirty[0] & /*room*/
362
+ 16 | i.$$.dirty[1] & /*labelElementSize*/
363
+ 8 && t(33, f = r ? $(_, r) : void 0), i.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
364
+ 35651584 | i.$$.dirty[1] & /*isLabelInRoom*/
365
+ 4 && t(30, c = L ? !!(f != null && f(T)) : !0), i.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
366
+ 192 && t(32, a = {
367
+ width: O,
368
+ height: v
369
+ }), i.$$.dirty[0] & /*room*/
370
+ 16 | i.$$.dirty[1] & /*wrapperLabelElementSize*/
371
+ 2 && t(31, b = a ? $(_, a) : void 0), i.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
372
+ 35651584 | i.$$.dirty[1] & /*isAllLabelInRoom*/
373
+ 1 && t(29, p = L ? !!(b != null && b(T)) : !0), i.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
374
+ 1744830464 && t(15, U = p || c || E), i.$$.dirty[0] & /*mainLabelVisible, isHovered*/
375
+ 1207959552 && t(14, X = c || E), i.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
376
+ 671088640 && t(13, Y = p || E), i.$$.dirty[0] & /*mainLabelVisible, wrapperLabelVisible*/
377
+ 1610612736 && t(12, Z = c && !p), i.$$.dirty[0] & /*fontConfig*/
378
+ 268435456 && t(11, B = le((l == null ? void 0 : l.name) || 12)), i.$$.dirty[0] & /*fontConfig*/
379
+ 268435456 && t(10, G = le((l == null ? void 0 : l.area) || 10));
344
380
  }, [
345
- Y,
346
- B,
347
- G,
348
381
  J,
349
- b,
350
- p,
351
- C,
352
- I,
353
- P,
382
+ K,
383
+ Q,
384
+ x,
385
+ _,
386
+ z,
354
387
  O,
388
+ v,
389
+ C,
390
+ j,
391
+ G,
392
+ B,
393
+ Z,
394
+ Y,
355
395
  X,
356
396
  U,
357
- q,
358
- M,
359
- a,
397
+ s,
398
+ m,
360
399
  n,
361
- r,
362
- ae,
363
- se,
364
- ce,
365
400
  ue,
366
- w,
401
+ be,
402
+ T,
367
403
  V,
404
+ I,
405
+ P,
406
+ L,
368
407
  W,
369
- A,
370
- T,
371
408
  E,
372
- u,
373
- f,
374
- m,
409
+ l,
410
+ p,
375
411
  c,
376
- o,
377
- s,
378
- be,
379
- de,
412
+ b,
413
+ a,
414
+ f,
415
+ r,
380
416
  _e,
381
- he
417
+ de,
418
+ he,
419
+ ye
382
420
  ];
383
421
  }
384
- class je extends Le {
422
+ class Ue extends ke {
385
423
  constructor(e) {
386
424
  super(), He(
387
425
  this,
388
426
  e,
389
- Ie,
390
- Ae,
391
- ke,
427
+ ve,
428
+ We,
429
+ Ne,
392
430
  {
393
431
  pxmm: 21,
394
432
  roomAreaEnable: 0,
@@ -400,13 +438,14 @@ class je extends Le {
400
438
  getRoomAreaText: 23,
401
439
  getRoomDimensionText: 24,
402
440
  getLabelElement: 5,
403
- adaptiveRoomLabelVisibleEnable: 25
441
+ adaptiveRoomLabelVisibleEnable: 25,
442
+ fontSize: 26
404
443
  },
405
- De,
444
+ Ve,
406
445
  [-1, -1]
407
446
  );
408
447
  }
409
448
  }
410
449
  export {
411
- je as RoomLabel
450
+ Ue as RoomLabel
412
451
  };