@realsee/dnalogel 2.0.1 → 2.0.2-alpha

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 (346) hide show
  1. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  2. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  3. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  4. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  5. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  6. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  7. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  8. package/dist/CSS3DRenderPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  9. package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  10. package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  11. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  12. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  13. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  14. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  15. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  16. package/dist/CameraMovementPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  17. package/dist/CameraMovementPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  18. package/dist/CameraMovementPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  19. package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  20. package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  21. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  22. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  23. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  24. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  25. package/dist/CruisePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  26. package/dist/CruisePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  27. package/dist/CruisePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  28. package/dist/CruisePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  29. package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  30. package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  31. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  32. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  33. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  34. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  35. package/dist/GuideLinePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  36. package/dist/GuideLinePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  37. package/dist/GuideLinePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  38. package/dist/GuideLinePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  39. package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  40. package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  41. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  42. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  43. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  44. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  45. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  46. package/dist/ItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  47. package/dist/ItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  48. package/dist/ItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  49. package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  50. package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  51. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  52. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  53. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  54. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  55. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  56. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  57. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  58. package/dist/ModelChassisCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  59. package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  60. package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  61. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  62. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  63. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  64. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  65. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  66. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  67. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  68. package/dist/ModelEntryDoorGuidePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  69. package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  70. package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  71. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  72. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  73. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  74. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  75. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  76. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  77. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  78. package/dist/ModelItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  79. package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  80. package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  81. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  82. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  83. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  84. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  85. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  86. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  87. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  88. package/dist/ModelRoomLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  89. package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  90. package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  91. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  92. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  93. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  94. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  95. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  96. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  97. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  98. package/dist/ModelTVVideoPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  99. package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  100. package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  101. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  102. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  103. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  104. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  105. package/dist/ModelViewPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  106. package/dist/ModelViewPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  107. package/dist/ModelViewPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  108. package/dist/ModelViewPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  109. package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  110. package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  111. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  112. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  113. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  114. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  115. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  116. package/dist/PanoCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  117. package/dist/PanoCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  118. package/dist/PanoCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  119. package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  120. package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  121. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  122. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  123. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  124. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  125. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  126. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  127. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  128. package/dist/PanoCursorRaycasterPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  129. package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  130. package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  131. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  132. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  133. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  134. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  135. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  136. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  137. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  138. package/dist/PanoDoorLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  139. package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  140. package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  141. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  142. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  143. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  144. package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  145. package/dist/PanoMeasurePlugin/Model/index.d.ts +3 -6
  146. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  147. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  148. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  149. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  150. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  151. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  152. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  153. package/dist/PanoMeasurePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  154. package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  155. package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  156. package/dist/PanoMeasurePlugin/index.js +75 -31
  157. package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
  158. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  159. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  160. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  161. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  162. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  163. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  164. package/dist/PanoRulerPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  165. package/dist/PanoRulerPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  166. package/dist/PanoRulerPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  167. package/dist/PanoRulerPlugin/Plugin.d.ts +5 -2
  168. package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  169. package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  170. package/dist/PanoRulerPlugin/index.js +17 -0
  171. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  172. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  173. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  174. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  175. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  176. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  177. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  178. package/dist/PanoRulerProPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  179. package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  180. package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  181. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  182. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  183. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  184. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  185. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  186. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  187. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  188. package/dist/PanoSpatialTagPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  189. package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  190. package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  191. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  192. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  193. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  194. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  195. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  196. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  197. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  198. package/dist/floorplan/MapviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  199. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  200. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  201. package/dist/floorplan/MapviewFloorplanPlugin/index.js +233 -157
  202. package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  203. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  204. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  205. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  206. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  207. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  208. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  209. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  210. package/dist/floorplan/ModelFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  211. package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  212. package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  213. package/dist/floorplan/ModelFloorplanPlugin/index.js +240 -163
  214. package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  215. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  216. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  217. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  218. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  219. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  220. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  221. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  222. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  223. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  224. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  225. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  226. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  227. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  228. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  229. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  230. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  231. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  232. package/dist/floorplan/TopviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  233. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  234. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  235. package/dist/floorplan/TopviewFloorplanPlugin/index.js +233 -157
  236. package/dist/index.es.js +303 -194
  237. package/dist/index.js +303 -194
  238. package/dist/index.umd.js +303 -194
  239. package/docs/assets/search.js +1 -1
  240. package/docs/classes/CruisePluginController.html +14 -14
  241. package/docs/classes/Magnifier.html +4 -4
  242. package/docs/classes/ModelRoomLabelController.html +4 -4
  243. package/docs/enums/CameraMovementEffect.html +2 -2
  244. package/docs/enums/DIRECTION.html +1 -1
  245. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  246. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  247. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  248. package/docs/enums/Rotation.html +2 -2
  249. package/docs/index.html +1 -1
  250. package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
  251. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  252. package/docs/interfaces/FloorplanBounding.html +4 -4
  253. package/docs/interfaces/FloorplanData.html +2 -2
  254. package/docs/interfaces/FloorplanEntrance.html +7 -7
  255. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  256. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  257. package/docs/interfaces/FloorplanFloorData.html +2 -2
  258. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  259. package/docs/interfaces/FloorplanObserver.html +2 -2
  260. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  261. package/docs/interfaces/FloorplanPosition.html +2 -2
  262. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  263. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  264. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  265. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  266. package/docs/interfaces/FloorplanServerData.html +2 -2
  267. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  268. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  269. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  270. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  271. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  272. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  273. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  274. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  275. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  276. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  277. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  278. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  279. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  280. package/docs/interfaces/LineJson.html +1 -1
  281. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  282. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  283. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  284. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  285. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  286. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  287. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  288. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  289. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  290. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  291. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  292. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  293. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  294. package/docs/interfaces/OpenParameter.html +2 -2
  295. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  296. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  297. package/docs/interfaces/PanoMeasureParameterType.html +5 -1
  298. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  299. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  300. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  301. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  302. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  303. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  304. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  305. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  306. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  307. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  308. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  309. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  310. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  311. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  312. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  313. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  314. package/docs/interfaces/Point.html +1 -1
  315. package/docs/interfaces/PointJson.html +1 -1
  316. package/docs/interfaces/Room.html +1 -1
  317. package/docs/interfaces/RoomInfo.html +1 -1
  318. package/docs/interfaces/RoomLabel.html +7 -7
  319. package/docs/interfaces/RoomRules.html +1 -1
  320. package/docs/interfaces/Rooms.html +1 -1
  321. package/docs/modules.html +18 -18
  322. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  323. package/libs/PanoMeasurePlugin/Controller/BaseController.js +21 -1
  324. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  325. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -16
  326. package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  327. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -13
  328. package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  329. package/libs/PanoMeasurePlugin/Controller/index.js +24 -1
  330. package/libs/PanoMeasurePlugin/Model/index.d.ts +3 -6
  331. package/libs/PanoMeasurePlugin/typings/index.d.ts +8 -0
  332. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  333. package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  334. package/libs/PanoMeasurePlugin/utils/distanceDom.js +2 -1
  335. package/libs/PanoRulerPlugin/Plugin.d.ts +5 -2
  336. package/libs/PanoRulerPlugin/Plugin.js +17 -0
  337. package/libs/floorplan/Components/CurrentFloor.js +32 -20
  338. package/libs/floorplan/Components/Main.js +31 -19
  339. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +24 -13
  340. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +40 -34
  341. package/libs/floorplan/Components/RuleLabels/RuleItem.js +46 -28
  342. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +61 -43
  343. package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  344. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -6
  345. package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  346. package/package.json +2 -1
@@ -670,7 +670,7 @@ function add_css$8(target) {
670
670
  internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{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-size.svelte-12pzct5{opacity:0.45}");
671
671
  }
672
672
 
673
- // (95:30)
673
+ // (96:30)
674
674
  function create_if_block_1$3(ctx) {
675
675
  let html_tag;
676
676
  let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
@@ -696,13 +696,14 @@ function create_if_block_1$3(ctx) {
696
696
  };
697
697
  }
698
698
 
699
- // (89:2) {#if getLabelElement === undefined}
699
+ // (90:2) {#if getLabelElement === undefined}
700
700
  function create_if_block$4(ctx) {
701
701
  let span0;
702
702
  let t0_value = /*room*/ ctx[0].name + "";
703
703
  let t0;
704
704
  let t1;
705
705
  let span1;
706
+ let t2;
706
707
 
707
708
  return {
708
709
  c() {
@@ -710,7 +711,7 @@ function create_if_block$4(ctx) {
710
711
  t0 = internal.text(t0_value);
711
712
  t1 = internal.space();
712
713
  span1 = internal.element("span");
713
- span1.textContent = `${/*roomSizeDes*/ ctx[5]}`;
714
+ t2 = internal.text(/*roomSizeDes*/ ctx[5]);
714
715
  internal.attr(span0, "class", "floorplan-plugin__room-name");
715
716
  internal.attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
716
717
  },
@@ -719,9 +720,11 @@ function create_if_block$4(ctx) {
719
720
  internal.append(span0, t0);
720
721
  internal.insert(target, t1, anchor);
721
722
  internal.insert(target, span1, anchor);
723
+ internal.append(span1, t2);
722
724
  },
723
725
  p(ctx, dirty) {
724
726
  if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) internal.set_data(t0, t0_value);
727
+ if (dirty & /*roomSizeDes*/ 32) internal.set_data(t2, /*roomSizeDes*/ ctx[5]);
725
728
  },
726
729
  d(detaching) {
727
730
  if (detaching) internal.detach(span0);
@@ -755,7 +758,7 @@ function create_fragment$b(ctx) {
755
758
  m(target, anchor) {
756
759
  internal.insert(target, div, anchor);
757
760
  if (if_block) if_block.m(div, null);
758
- /*div_binding*/ ctx[15](div);
761
+ /*div_binding*/ ctx[16](div);
759
762
  },
760
763
  p(ctx, [dirty]) {
761
764
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -783,7 +786,7 @@ function create_fragment$b(ctx) {
783
786
  if_block.d();
784
787
  }
785
788
 
786
- /*div_binding*/ ctx[15](null);
789
+ /*div_binding*/ ctx[16](null);
787
790
  }
788
791
  };
789
792
  }
@@ -806,12 +809,14 @@ function isPointInPolygon(point, polygon) {
806
809
  }
807
810
 
808
811
  function instance$b($$self, $$props, $$invalidate) {
812
+ let roomSizeDes;
809
813
  let isLabelInRoom;
810
814
  let userConfigElement;
811
815
  let labelVisible;
812
816
  let { pxmm } = $$props;
813
817
  let { room } = $$props;
814
818
  let { hoveredRoom } = $$props;
819
+ let { getRoomAreaText } = $$props;
815
820
  let { getLabelElement } = $$props;
816
821
  let { adaptiveRoomLabelVisibleEnable } = $$props;
817
822
 
@@ -851,7 +856,6 @@ function instance$b($$self, $$props, $$invalidate) {
851
856
  const bodyWidth = document.body.clientWidth;
852
857
 
853
858
  const bodyHeight = document.body.clientHeight;
854
- const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
855
859
 
856
860
  // ====================================
857
861
  const roomLabel = room.roomLabel;
@@ -867,7 +871,7 @@ function instance$b($$self, $$props, $$invalidate) {
867
871
  let labelElementSize;
868
872
 
869
873
  hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
870
- $$invalidate(12, isHoverd = !!_room && _room.id === room.id);
874
+ $$invalidate(13, isHoverd = !!_room && _room.id === room.id);
871
875
  });
872
876
 
873
877
  svelte.onMount(() => {
@@ -877,7 +881,7 @@ function instance$b($$self, $$props, $$invalidate) {
877
881
  ? void 0
878
882
  : labelElement.getClientRects()[0];
879
883
 
880
- $$invalidate(13, labelElementSize = {
884
+ $$invalidate(14, labelElementSize = {
881
885
  width: labelDomRect.width,
882
886
  height: labelDomRect.height
883
887
  });
@@ -894,13 +898,18 @@ function instance$b($$self, $$props, $$invalidate) {
894
898
  if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
895
899
  if ('room' in $$props) $$invalidate(0, room = $$props.room);
896
900
  if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
901
+ if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
897
902
  if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
898
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(11, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
903
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
899
904
  };
900
905
 
901
906
  $$self.$$.update = () => {
902
- if ($$self.$$.dirty & /*labelElementSize, room*/ 8193) {
903
- $$invalidate(14, isLabelInRoom = labelElementSize
907
+ if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
908
+ $$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
909
+ }
910
+
911
+ if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
912
+ $$invalidate(15, isLabelInRoom = labelElementSize
904
913
  ? isLabelInRoomCurry(room, labelElementSize)
905
914
  : undefined);
906
915
  }
@@ -911,7 +920,7 @@ function instance$b($$self, $$props, $$invalidate) {
911
920
  : getLabelElement(room));
912
921
  }
913
922
 
914
- if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 23040) {
923
+ if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
915
924
  $$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
916
925
  ? isHoverd
917
926
  ? true
@@ -934,6 +943,7 @@ function instance$b($$self, $$props, $$invalidate) {
934
943
  fontSize,
935
944
  pxmm,
936
945
  hoveredRoom,
946
+ getRoomAreaText,
937
947
  adaptiveRoomLabelVisibleEnable,
938
948
  isHoverd,
939
949
  labelElementSize,
@@ -956,8 +966,9 @@ class RoomLabel extends internal.SvelteComponent {
956
966
  pxmm: 9,
957
967
  room: 0,
958
968
  hoveredRoom: 10,
969
+ getRoomAreaText: 11,
959
970
  getLabelElement: 1,
960
- adaptiveRoomLabelVisibleEnable: 11
971
+ adaptiveRoomLabelVisibleEnable: 12
961
972
  },
962
973
  add_css$8
963
974
  );
@@ -972,19 +983,19 @@ function add_css$7(target) {
972
983
 
973
984
  function get_each_context$5(ctx, list, i) {
974
985
  const child_ctx = ctx.slice();
975
- child_ctx[9] = list[i];
986
+ child_ctx[10] = list[i];
976
987
  return child_ctx;
977
988
  }
978
989
 
979
- // (17:0) {#if rooms}
990
+ // (18:0) {#if rooms}
980
991
  function create_if_block$3(ctx) {
981
992
  let div;
982
993
  let each_blocks = [];
983
994
  let each_1_lookup = new Map();
984
995
  let div_resize_listener;
985
996
  let current;
986
- let each_value = /*rooms*/ ctx[5];
987
- const get_key = ctx => /*room*/ ctx[9].id;
997
+ let each_value = /*rooms*/ ctx[6];
998
+ const get_key = ctx => /*room*/ ctx[10].id;
988
999
 
989
1000
  for (let i = 0; i < each_value.length; i += 1) {
990
1001
  let child_ctx = get_each_context$5(ctx, each_value, i);
@@ -1001,7 +1012,7 @@ function create_if_block$3(ctx) {
1001
1012
  }
1002
1013
 
1003
1014
  internal.attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
1004
- internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[8].call(div));
1015
+ internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
1005
1016
  },
1006
1017
  m(target, anchor) {
1007
1018
  internal.insert(target, div, anchor);
@@ -1010,12 +1021,12 @@ function create_if_block$3(ctx) {
1010
1021
  each_blocks[i].m(div, null);
1011
1022
  }
1012
1023
 
1013
- div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[8].bind(div));
1024
+ div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
1014
1025
  current = true;
1015
1026
  },
1016
1027
  p(ctx, dirty) {
1017
- if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55) {
1018
- each_value = /*rooms*/ ctx[5];
1028
+ if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
1029
+ each_value = /*rooms*/ ctx[6];
1019
1030
  internal.group_outros();
1020
1031
  each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$5, null, get_each_context$5);
1021
1032
  internal.check_outros();
@@ -1049,7 +1060,7 @@ function create_if_block$3(ctx) {
1049
1060
  };
1050
1061
  }
1051
1062
 
1052
- // (19:4) {#each rooms as room (room.id)}
1063
+ // (20:4) {#each rooms as room (room.id)}
1053
1064
  function create_each_block$5(key_1, ctx) {
1054
1065
  let first;
1055
1066
  let roomlabel;
@@ -1057,11 +1068,12 @@ function create_each_block$5(key_1, ctx) {
1057
1068
 
1058
1069
  const roomlabel_spread_levels = [
1059
1070
  {
1060
- pxmm: /*pxmm*/ ctx[4],
1061
- room: /*room*/ ctx[9],
1062
- getLabelElement: /*getLabelElement*/ ctx[1],
1071
+ pxmm: /*pxmm*/ ctx[5],
1072
+ room: /*room*/ ctx[10],
1073
+ getLabelElement: /*getLabelElement*/ ctx[2],
1074
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
1063
1075
  hoveredRoom: /*hoveredRoom*/ ctx[0],
1064
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
1076
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
1065
1077
  }
1066
1078
  ];
1067
1079
 
@@ -1089,14 +1101,15 @@ function create_each_block$5(key_1, ctx) {
1089
1101
  p(new_ctx, dirty) {
1090
1102
  ctx = new_ctx;
1091
1103
 
1092
- const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55)
1104
+ const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
1093
1105
  ? internal.get_spread_update(roomlabel_spread_levels, [
1094
1106
  {
1095
- pxmm: /*pxmm*/ ctx[4],
1096
- room: /*room*/ ctx[9],
1097
- getLabelElement: /*getLabelElement*/ ctx[1],
1107
+ pxmm: /*pxmm*/ ctx[5],
1108
+ room: /*room*/ ctx[10],
1109
+ getLabelElement: /*getLabelElement*/ ctx[2],
1110
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
1098
1111
  hoveredRoom: /*hoveredRoom*/ ctx[0],
1099
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
1112
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
1100
1113
  }
1101
1114
  ])
1102
1115
  : {};
@@ -1122,7 +1135,7 @@ function create_each_block$5(key_1, ctx) {
1122
1135
  function create_fragment$a(ctx) {
1123
1136
  let if_block_anchor;
1124
1137
  let current;
1125
- let if_block = /*rooms*/ ctx[5] && create_if_block$3(ctx);
1138
+ let if_block = /*rooms*/ ctx[6] && create_if_block$3(ctx);
1126
1139
 
1127
1140
  return {
1128
1141
  c() {
@@ -1135,11 +1148,11 @@ function create_fragment$a(ctx) {
1135
1148
  current = true;
1136
1149
  },
1137
1150
  p(ctx, [dirty]) {
1138
- if (/*rooms*/ ctx[5]) {
1151
+ if (/*rooms*/ ctx[6]) {
1139
1152
  if (if_block) {
1140
1153
  if_block.p(ctx, dirty);
1141
1154
 
1142
- if (dirty & /*rooms*/ 32) {
1155
+ if (dirty & /*rooms*/ 64) {
1143
1156
  internal.transition_in(if_block, 1);
1144
1157
  }
1145
1158
  } else {
@@ -1179,6 +1192,7 @@ function instance$a($$self, $$props, $$invalidate) {
1179
1192
  let { floorIndex } = $$props;
1180
1193
  let { floorplanData } = $$props;
1181
1194
  let { hoveredRoom } = $$props;
1195
+ let { getRoomAreaText } = $$props;
1182
1196
  let { getLabelElement } = $$props;
1183
1197
  let { adaptiveRoomLabelVisibleEnable } = $$props;
1184
1198
  let clientWidth = 0;
@@ -1186,33 +1200,35 @@ function instance$a($$self, $$props, $$invalidate) {
1186
1200
 
1187
1201
  function div_elementresize_handler() {
1188
1202
  clientWidth = this.clientWidth;
1189
- $$invalidate(3, clientWidth);
1203
+ $$invalidate(4, clientWidth);
1190
1204
  }
1191
1205
 
1192
1206
  $$self.$$set = $$props => {
1193
- if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
1194
- if ('floorplanData' in $$props) $$invalidate(7, floorplanData = $$props.floorplanData);
1207
+ if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
1208
+ if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
1195
1209
  if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
1196
- if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
1197
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(2, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1210
+ if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
1211
+ if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
1212
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1198
1213
  };
1199
1214
 
1200
1215
  $$self.$$.update = () => {
1201
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 192) {
1202
- $$invalidate(5, rooms = floorplanData.floorDatas[floorIndex].rooms);
1216
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
1217
+ $$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
1203
1218
  }
1204
1219
 
1205
- if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 136) {
1220
+ if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
1206
1221
  {
1207
1222
  const { max, min } = floorplanData.bounding;
1208
1223
  const boundingWidth = max.x - min.x;
1209
- $$invalidate(4, pxmm = clientWidth / boundingWidth);
1224
+ $$invalidate(5, pxmm = clientWidth / boundingWidth);
1210
1225
  }
1211
1226
  }
1212
1227
  };
1213
1228
 
1214
1229
  return [
1215
1230
  hoveredRoom,
1231
+ getRoomAreaText,
1216
1232
  getLabelElement,
1217
1233
  adaptiveRoomLabelVisibleEnable,
1218
1234
  clientWidth,
@@ -1235,11 +1251,12 @@ class RoomLabels extends internal.SvelteComponent {
1235
1251
  create_fragment$a,
1236
1252
  internal.safe_not_equal,
1237
1253
  {
1238
- floorIndex: 6,
1239
- floorplanData: 7,
1254
+ floorIndex: 7,
1255
+ floorplanData: 8,
1240
1256
  hoveredRoom: 0,
1241
- getLabelElement: 1,
1242
- adaptiveRoomLabelVisibleEnable: 2
1257
+ getRoomAreaText: 1,
1258
+ getLabelElement: 2,
1259
+ adaptiveRoomLabelVisibleEnable: 3
1243
1260
  },
1244
1261
  add_css$7
1245
1262
  );
@@ -1254,18 +1271,18 @@ function add_css$6(target) {
1254
1271
 
1255
1272
  function get_each_context$4(ctx, list, i) {
1256
1273
  const child_ctx = ctx.slice();
1257
- child_ctx[10] = list[i];
1258
- child_ctx[12] = i;
1274
+ child_ctx[11] = list[i];
1275
+ child_ctx[13] = i;
1259
1276
  return child_ctx;
1260
1277
  }
1261
1278
 
1262
1279
  function get_each_context_1(ctx, list, i) {
1263
1280
  const child_ctx = ctx.slice();
1264
- child_ctx[13] = list[i];
1281
+ child_ctx[14] = list[i];
1265
1282
  return child_ctx;
1266
1283
  }
1267
1284
 
1268
- // (47:4) {#each rulerLabels as rulerLabel}
1285
+ // (48:4) {#each rulerLabels as rulerLabel}
1269
1286
  function create_each_block_1(ctx) {
1270
1287
  let div;
1271
1288
 
@@ -1273,8 +1290,8 @@ function create_each_block_1(ctx) {
1273
1290
  c() {
1274
1291
  div = internal.element("div");
1275
1292
  internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
1276
- internal.set_style(div, "left", /*rulerLabel*/ ctx[13].left * 100 + '%', false);
1277
- internal.set_style(div, "bottom", /*rulerLabel*/ ctx[13].bottom * 100 + '%', false);
1293
+ internal.set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
1294
+ internal.set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
1278
1295
  },
1279
1296
  m(target, anchor) {
1280
1297
  internal.insert(target, div, anchor);
@@ -1286,11 +1303,11 @@ function create_each_block_1(ctx) {
1286
1303
  };
1287
1304
  }
1288
1305
 
1289
- // (56:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
1306
+ // (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
1290
1307
  function create_each_block$4(key_1, ctx) {
1291
1308
  let div1;
1292
1309
  let div0;
1293
- let t0_value = /*textItem*/ ctx[10].distance + "";
1310
+ let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
1294
1311
  let t0;
1295
1312
  let t1;
1296
1313
 
@@ -1303,10 +1320,10 @@ function create_each_block$4(key_1, ctx) {
1303
1320
  t0 = internal.text(t0_value);
1304
1321
  t1 = internal.space();
1305
1322
  internal.attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
1306
- internal.toggle_class(div0, "is-row", /*isRow*/ ctx[1]);
1323
+ internal.toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
1307
1324
  internal.attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
1308
- internal.set_style(div1, "left", /*textItem*/ ctx[10].left * 100 + '%', false);
1309
- internal.set_style(div1, "bottom", /*textItem*/ ctx[10].bottom * 100 + '%', false);
1325
+ internal.set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
1326
+ internal.set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
1310
1327
  this.first = div1;
1311
1328
  },
1312
1329
  m(target, anchor) {
@@ -1317,6 +1334,7 @@ function create_each_block$4(key_1, ctx) {
1317
1334
  },
1318
1335
  p(new_ctx, dirty) {
1319
1336
  ctx = new_ctx;
1337
+ if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) internal.set_data(t0, t0_value);
1320
1338
  },
1321
1339
  d(detaching) {
1322
1340
  if (detaching) internal.detach(div1);
@@ -1334,15 +1352,15 @@ function create_fragment$9(ctx) {
1334
1352
  let each_blocks = [];
1335
1353
  let each1_lookup = new Map();
1336
1354
  let div3_class_value;
1337
- let each_value_1 = /*rulerLabels*/ ctx[2];
1355
+ let each_value_1 = /*rulerLabels*/ ctx[3];
1338
1356
  let each_blocks_1 = [];
1339
1357
 
1340
1358
  for (let i = 0; i < each_value_1.length; i += 1) {
1341
1359
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
1342
1360
  }
1343
1361
 
1344
- let each_value = /*rulerTexts*/ ctx[3];
1345
- const get_key = ctx => /*textItemIndex*/ ctx[12];
1362
+ let each_value = /*rulerTexts*/ ctx[4];
1363
+ const get_key = ctx => /*textItemIndex*/ ctx[13];
1346
1364
 
1347
1365
  for (let i = 0; i < each_value.length; i += 1) {
1348
1366
  let child_ctx = get_each_context$4(ctx, each_value, i);
@@ -1370,12 +1388,12 @@ function create_fragment$9(ctx) {
1370
1388
 
1371
1389
  internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
1372
1390
  internal.attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
1373
- internal.toggle_class(div1, "is-row", /*isRow*/ ctx[1]);
1391
+ internal.toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
1374
1392
  internal.attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
1375
1393
  internal.attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
1376
- internal.toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
1377
- internal.set_style(div3, "width", /*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
1378
- internal.set_style(div3, "height", !/*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
1394
+ internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
1395
+ internal.set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
1396
+ internal.set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
1379
1397
  },
1380
1398
  m(target, anchor) {
1381
1399
  internal.insert(target, div3, anchor);
@@ -1395,8 +1413,8 @@ function create_fragment$9(ctx) {
1395
1413
  }
1396
1414
  },
1397
1415
  p(ctx, [dirty]) {
1398
- if (dirty & /*rulerLabels*/ 4) {
1399
- each_value_1 = /*rulerLabels*/ ctx[2];
1416
+ if (dirty & /*rulerLabels*/ 8) {
1417
+ each_value_1 = /*rulerLabels*/ ctx[3];
1400
1418
  let i;
1401
1419
 
1402
1420
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -1418,8 +1436,8 @@ function create_fragment$9(ctx) {
1418
1436
  each_blocks_1.length = each_value_1.length;
1419
1437
  }
1420
1438
 
1421
- if (dirty & /*rulerTexts, isRow*/ 10) {
1422
- each_value = /*rulerTexts*/ ctx[3];
1439
+ if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
1440
+ each_value = /*rulerTexts*/ ctx[4];
1423
1441
  each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, internal.destroy_block, create_each_block$4, null, get_each_context$4);
1424
1442
  }
1425
1443
 
@@ -1427,8 +1445,8 @@ function create_fragment$9(ctx) {
1427
1445
  internal.attr(div3, "class", div3_class_value);
1428
1446
  }
1429
1447
 
1430
- if (dirty & /*type, isRow*/ 3) {
1431
- internal.toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
1448
+ if (dirty & /*type, isRow*/ 5) {
1449
+ internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
1432
1450
  }
1433
1451
  },
1434
1452
  i: internal.noop,
@@ -1451,6 +1469,7 @@ function instance$9($$self, $$props, $$invalidate) {
1451
1469
  let { type } = $$props;
1452
1470
  let { data } = $$props;
1453
1471
  let { bounding } = $$props;
1472
+ let { getRuleDistanceText } = $$props;
1454
1473
  const isRow = type === 'top' || type === 'bottom';
1455
1474
  const contentWidth = bounding.max.x - bounding.min.x - (padding$1 - exteriorWallOffset$1) * 2;
1456
1475
  const contentHeight = bounding.max.y - bounding.min.y - (padding$1 - exteriorWallOffset$1) * 2;
@@ -1496,17 +1515,32 @@ function instance$9($$self, $$props, $$invalidate) {
1496
1515
 
1497
1516
  $$self.$$set = $$props => {
1498
1517
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
1499
- if ('data' in $$props) $$invalidate(4, data = $$props.data);
1500
- if ('bounding' in $$props) $$invalidate(5, bounding = $$props.bounding);
1518
+ if ('data' in $$props) $$invalidate(5, data = $$props.data);
1519
+ if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
1520
+ if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
1501
1521
  };
1502
1522
 
1503
- return [type, isRow, rulerLabels, rulerTexts, data, bounding];
1523
+ return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
1504
1524
  }
1505
1525
 
1506
1526
  class RuleItem extends internal.SvelteComponent {
1507
1527
  constructor(options) {
1508
1528
  super();
1509
- internal.init(this, options, instance$9, create_fragment$9, internal.safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$6);
1529
+
1530
+ internal.init(
1531
+ this,
1532
+ options,
1533
+ instance$9,
1534
+ create_fragment$9,
1535
+ internal.safe_not_equal,
1536
+ {
1537
+ type: 0,
1538
+ data: 5,
1539
+ bounding: 6,
1540
+ getRuleDistanceText: 1
1541
+ },
1542
+ add_css$6
1543
+ );
1510
1544
  }
1511
1545
  }
1512
1546
 
@@ -1518,12 +1552,12 @@ function add_css$5(target) {
1518
1552
 
1519
1553
  function get_each_context$3(ctx, list, i) {
1520
1554
  const child_ctx = ctx.slice();
1521
- child_ctx[12] = list[i][0];
1522
- child_ctx[13] = list[i][1];
1555
+ child_ctx[13] = list[i][0];
1556
+ child_ctx[14] = list[i][1];
1523
1557
  return child_ctx;
1524
1558
  }
1525
1559
 
1526
- // (19:2) {#each ruleLabelArray as [type, data] (type)}
1560
+ // (20:2) {#each ruleLabelArray as [type, data] (type)}
1527
1561
  function create_each_block$3(key_1, ctx) {
1528
1562
  let first;
1529
1563
  let ruleitem;
@@ -1531,9 +1565,10 @@ function create_each_block$3(key_1, ctx) {
1531
1565
 
1532
1566
  const ruleitem_spread_levels = [
1533
1567
  {
1534
- type: /*type*/ ctx[12],
1535
- data: /*data*/ ctx[13],
1536
- bounding: /*bounding*/ ctx[0]
1568
+ type: /*type*/ ctx[13],
1569
+ data: /*data*/ ctx[14],
1570
+ bounding: /*bounding*/ ctx[1],
1571
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
1537
1572
  }
1538
1573
  ];
1539
1574
 
@@ -1561,12 +1596,13 @@ function create_each_block$3(key_1, ctx) {
1561
1596
  p(new_ctx, dirty) {
1562
1597
  ctx = new_ctx;
1563
1598
 
1564
- const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/ 9)
1599
+ const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
1565
1600
  ? internal.get_spread_update(ruleitem_spread_levels, [
1566
1601
  {
1567
- type: /*type*/ ctx[12],
1568
- data: /*data*/ ctx[13],
1569
- bounding: /*bounding*/ ctx[0]
1602
+ type: /*type*/ ctx[13],
1603
+ data: /*data*/ ctx[14],
1604
+ bounding: /*bounding*/ ctx[1],
1605
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
1570
1606
  }
1571
1607
  ])
1572
1608
  : {};
@@ -1594,8 +1630,8 @@ function create_fragment$8(ctx) {
1594
1630
  let each_blocks = [];
1595
1631
  let each_1_lookup = new Map();
1596
1632
  let current;
1597
- let each_value = /*ruleLabelArray*/ ctx[3];
1598
- const get_key = ctx => /*type*/ ctx[12];
1633
+ let each_value = /*ruleLabelArray*/ ctx[4];
1634
+ const get_key = ctx => /*type*/ ctx[13];
1599
1635
 
1600
1636
  for (let i = 0; i < each_value.length; i += 1) {
1601
1637
  let child_ctx = get_each_context$3(ctx, each_value, i);
@@ -1612,8 +1648,8 @@ function create_fragment$8(ctx) {
1612
1648
  }
1613
1649
 
1614
1650
  internal.attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
1615
- internal.set_style(div, "width", /*width*/ ctx[2], false);
1616
- internal.set_style(div, "height", /*height*/ ctx[1], false);
1651
+ internal.set_style(div, "width", /*width*/ ctx[3], false);
1652
+ internal.set_style(div, "height", /*height*/ ctx[2], false);
1617
1653
  },
1618
1654
  m(target, anchor) {
1619
1655
  internal.insert(target, div, anchor);
@@ -1625,19 +1661,19 @@ function create_fragment$8(ctx) {
1625
1661
  current = true;
1626
1662
  },
1627
1663
  p(ctx, [dirty]) {
1628
- if (dirty & /*ruleLabelArray, bounding*/ 9) {
1629
- each_value = /*ruleLabelArray*/ ctx[3];
1664
+ if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
1665
+ each_value = /*ruleLabelArray*/ ctx[4];
1630
1666
  internal.group_outros();
1631
1667
  each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$3, null, get_each_context$3);
1632
1668
  internal.check_outros();
1633
1669
  }
1634
1670
 
1635
- if (dirty & /*width*/ 4) {
1636
- internal.set_style(div, "width", /*width*/ ctx[2], false);
1671
+ if (dirty & /*width*/ 8) {
1672
+ internal.set_style(div, "width", /*width*/ ctx[3], false);
1637
1673
  }
1638
1674
 
1639
- if (dirty & /*height*/ 2) {
1640
- internal.set_style(div, "height", /*height*/ ctx[1], false);
1675
+ if (dirty & /*height*/ 4) {
1676
+ internal.set_style(div, "height", /*height*/ ctx[2], false);
1641
1677
  }
1642
1678
  },
1643
1679
  i(local) {
@@ -1682,55 +1718,58 @@ function instance$8($$self, $$props, $$invalidate) {
1682
1718
  let height;
1683
1719
  let { floorIndex } = $$props;
1684
1720
  let { floorplanData } = $$props;
1721
+ let { getRuleDistanceText } = $$props;
1685
1722
 
1686
1723
  $$self.$$set = $$props => {
1687
- if ('floorIndex' in $$props) $$invalidate(4, floorIndex = $$props.floorIndex);
1688
- if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
1724
+ if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
1725
+ if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
1726
+ if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
1689
1727
  };
1690
1728
 
1691
1729
  $$self.$$.update = () => {
1692
- if ($$self.$$.dirty & /*floorplanData*/ 32) {
1693
- $$invalidate(0, bounding = floorplanData.bounding);
1730
+ if ($$self.$$.dirty & /*floorplanData*/ 64) {
1731
+ $$invalidate(1, bounding = floorplanData.bounding);
1694
1732
  }
1695
1733
 
1696
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 48) {
1697
- $$invalidate(10, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
1734
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
1735
+ $$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
1698
1736
  }
1699
1737
 
1700
- if ($$self.$$.dirty & /*ruleLabelData*/ 1024) {
1701
- $$invalidate(11, ruleLabelDataKeys = Object.keys(ruleLabelData));
1738
+ if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
1739
+ $$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
1702
1740
  }
1703
1741
 
1704
- if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 3072) {
1705
- $$invalidate(3, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
1742
+ if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
1743
+ $$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
1706
1744
  }
1707
1745
 
1708
- if ($$self.$$.dirty & /*bounding*/ 1) {
1709
- $$invalidate(8, boundingWidth = bounding.max.x - bounding.min.x);
1746
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1747
+ $$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
1710
1748
  }
1711
1749
 
1712
- if ($$self.$$.dirty & /*bounding*/ 1) {
1713
- $$invalidate(6, boundingHeight = bounding.max.y - bounding.min.y);
1750
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1751
+ $$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
1714
1752
  }
1715
1753
 
1716
- if ($$self.$$.dirty & /*bounding*/ 1) {
1717
- $$invalidate(9, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
1754
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1755
+ $$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
1718
1756
  }
1719
1757
 
1720
- if ($$self.$$.dirty & /*bounding*/ 1) {
1721
- $$invalidate(7, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
1758
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1759
+ $$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
1722
1760
  }
1723
1761
 
1724
- if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 768) {
1725
- $$invalidate(2, width = contentWidth / boundingWidth * 100 + '%');
1762
+ if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
1763
+ $$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
1726
1764
  }
1727
1765
 
1728
- if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 192) {
1729
- $$invalidate(1, height = contentHeight / boundingHeight * 100 + '%');
1766
+ if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
1767
+ $$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
1730
1768
  }
1731
1769
  };
1732
1770
 
1733
1771
  return [
1772
+ getRuleDistanceText,
1734
1773
  bounding,
1735
1774
  height,
1736
1775
  width,
@@ -1749,7 +1788,20 @@ function instance$8($$self, $$props, $$invalidate) {
1749
1788
  class RuleLabels extends internal.SvelteComponent {
1750
1789
  constructor(options) {
1751
1790
  super();
1752
- internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$5);
1791
+
1792
+ internal.init(
1793
+ this,
1794
+ options,
1795
+ instance$8,
1796
+ create_fragment$8,
1797
+ internal.safe_not_equal,
1798
+ {
1799
+ floorIndex: 5,
1800
+ floorplanData: 6,
1801
+ getRuleDistanceText: 0
1802
+ },
1803
+ add_css$5
1804
+ );
1753
1805
  }
1754
1806
  }
1755
1807
 
@@ -2635,7 +2687,7 @@ function add_css$1(target) {
2635
2687
  internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
2636
2688
  }
2637
2689
 
2638
- // (20:2) {#if hoverEnable}
2690
+ // (22:2) {#if hoverEnable}
2639
2691
  function create_if_block_2(ctx) {
2640
2692
  let roomhighlight;
2641
2693
  let current;
@@ -2644,7 +2696,7 @@ function create_if_block_2(ctx) {
2644
2696
  {
2645
2697
  floorIndex: /*floorIndex*/ ctx[1],
2646
2698
  floorplanData: /*floorplanData*/ ctx[5],
2647
- hoveredRoom: /*hoveredRoom*/ ctx[8]
2699
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
2648
2700
  }
2649
2701
  ];
2650
2702
 
@@ -2665,12 +2717,12 @@ function create_if_block_2(ctx) {
2665
2717
  current = true;
2666
2718
  },
2667
2719
  p(ctx, dirty) {
2668
- const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 290)
2720
+ const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
2669
2721
  ? internal.get_spread_update(roomhighlight_spread_levels, [
2670
2722
  {
2671
2723
  floorIndex: /*floorIndex*/ ctx[1],
2672
2724
  floorplanData: /*floorplanData*/ ctx[5],
2673
- hoveredRoom: /*hoveredRoom*/ ctx[8]
2725
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
2674
2726
  }
2675
2727
  ])
2676
2728
  : {};
@@ -2692,7 +2744,7 @@ function create_if_block_2(ctx) {
2692
2744
  };
2693
2745
  }
2694
2746
 
2695
- // (24:2) {#if roomLabelsEnable}
2747
+ // (26:2) {#if roomLabelsEnable}
2696
2748
  function create_if_block_1$1(ctx) {
2697
2749
  let roomlabels;
2698
2750
  let current;
@@ -2701,9 +2753,10 @@ function create_if_block_1$1(ctx) {
2701
2753
  {
2702
2754
  floorplanData: /*floorplanData*/ ctx[5],
2703
2755
  floorIndex: /*floorIndex*/ ctx[1],
2704
- getLabelElement: /*getLabelElement*/ ctx[6],
2705
- hoveredRoom: /*hoveredRoom*/ ctx[8],
2706
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
2756
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
2757
+ getLabelElement: /*getLabelElement*/ ctx[7],
2758
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
2759
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
2707
2760
  }
2708
2761
  ];
2709
2762
 
@@ -2724,14 +2777,15 @@ function create_if_block_1$1(ctx) {
2724
2777
  current = true;
2725
2778
  },
2726
2779
  p(ctx, dirty) {
2727
- const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 482)
2780
+ const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
2728
2781
  ? internal.get_spread_update(roomlabels_spread_levels, [
2729
2782
  {
2730
2783
  floorplanData: /*floorplanData*/ ctx[5],
2731
2784
  floorIndex: /*floorIndex*/ ctx[1],
2732
- getLabelElement: /*getLabelElement*/ ctx[6],
2733
- hoveredRoom: /*hoveredRoom*/ ctx[8],
2734
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
2785
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
2786
+ getLabelElement: /*getLabelElement*/ ctx[7],
2787
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
2788
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
2735
2789
  }
2736
2790
  ])
2737
2791
  : {};
@@ -2753,7 +2807,7 @@ function create_if_block_1$1(ctx) {
2753
2807
  };
2754
2808
  }
2755
2809
 
2756
- // (27:2) {#if ruleLabelsEnable}
2810
+ // (38:2) {#if ruleLabelsEnable}
2757
2811
  function create_if_block$1(ctx) {
2758
2812
  let rulelabels;
2759
2813
  let current;
@@ -2761,7 +2815,8 @@ function create_if_block$1(ctx) {
2761
2815
  const rulelabels_spread_levels = [
2762
2816
  {
2763
2817
  floorplanData: /*floorplanData*/ ctx[5],
2764
- floorIndex: /*floorIndex*/ ctx[1]
2818
+ floorIndex: /*floorIndex*/ ctx[1],
2819
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
2765
2820
  }
2766
2821
  ];
2767
2822
 
@@ -2782,11 +2837,12 @@ function create_if_block$1(ctx) {
2782
2837
  current = true;
2783
2838
  },
2784
2839
  p(ctx, dirty) {
2785
- const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/ 34)
2840
+ const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
2786
2841
  ? internal.get_spread_update(rulelabels_spread_levels, [
2787
2842
  {
2788
2843
  floorplanData: /*floorplanData*/ ctx[5],
2789
- floorIndex: /*floorIndex*/ ctx[1]
2844
+ floorIndex: /*floorIndex*/ ctx[1],
2845
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
2790
2846
  }
2791
2847
  ])
2792
2848
  : {};
@@ -3015,7 +3071,9 @@ function instance$1($$self, $$props, $$invalidate) {
3015
3071
  let { roomLabelsEnable } = $$props;
3016
3072
  let { ruleLabelsEnable } = $$props;
3017
3073
  let { floorplanData } = $$props;
3074
+ let { getRoomAreaText } = $$props;
3018
3075
  let { getLabelElement } = $$props;
3076
+ let { getRuleDistanceText } = $$props;
3019
3077
  let { adaptiveRoomLabelVisibleEnable } = $$props;
3020
3078
  const hoveredRoom = store.writable(undefined);
3021
3079
 
@@ -3026,8 +3084,10 @@ function instance$1($$self, $$props, $$invalidate) {
3026
3084
  if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
3027
3085
  if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
3028
3086
  if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
3029
- if ('getLabelElement' in $$props) $$invalidate(6, getLabelElement = $$props.getLabelElement);
3030
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(7, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3087
+ if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
3088
+ if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
3089
+ if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
3090
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3031
3091
  };
3032
3092
 
3033
3093
  return [
@@ -3037,7 +3097,9 @@ function instance$1($$self, $$props, $$invalidate) {
3037
3097
  roomLabelsEnable,
3038
3098
  ruleLabelsEnable,
3039
3099
  floorplanData,
3100
+ getRoomAreaText,
3040
3101
  getLabelElement,
3102
+ getRuleDistanceText,
3041
3103
  adaptiveRoomLabelVisibleEnable,
3042
3104
  hoveredRoom
3043
3105
  ];
@@ -3060,8 +3122,10 @@ class CurrentFloor extends internal.SvelteComponent {
3060
3122
  roomLabelsEnable: 3,
3061
3123
  ruleLabelsEnable: 4,
3062
3124
  floorplanData: 5,
3063
- getLabelElement: 6,
3064
- adaptiveRoomLabelVisibleEnable: 7
3125
+ getRoomAreaText: 6,
3126
+ getLabelElement: 7,
3127
+ getRuleDistanceText: 8,
3128
+ adaptiveRoomLabelVisibleEnable: 9
3065
3129
  },
3066
3130
  add_css$1
3067
3131
  );
@@ -3076,11 +3140,11 @@ function add_css(target) {
3076
3140
 
3077
3141
  function get_each_context(ctx, list, i) {
3078
3142
  const child_ctx = ctx.slice();
3079
- child_ctx[14] = list[i];
3143
+ child_ctx[16] = list[i];
3080
3144
  return child_ctx;
3081
3145
  }
3082
3146
 
3083
- // (22:0) {#if visible}
3147
+ // (24:0) {#if visible}
3084
3148
  function create_if_block(ctx) {
3085
3149
  let div;
3086
3150
  let t0;
@@ -3147,7 +3211,7 @@ function create_if_block(ctx) {
3147
3211
  p(new_ctx, dirty) {
3148
3212
  ctx = new_ctx;
3149
3213
 
3150
- if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232) {
3214
+ if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
3151
3215
  each_value = /*floorplanData*/ ctx[9].floorDatas;
3152
3216
  let i;
3153
3217
 
@@ -3253,7 +3317,7 @@ function create_if_block(ctx) {
3253
3317
  };
3254
3318
  }
3255
3319
 
3256
- // (24:4) {#each floorplanData.floorDatas as floorData}
3320
+ // (26:4) {#each floorplanData.floorDatas as floorData}
3257
3321
  function create_each_block(ctx) {
3258
3322
  let currentfloor;
3259
3323
  let current;
@@ -3262,16 +3326,18 @@ function create_each_block(ctx) {
3262
3326
  {
3263
3327
  hoverEnable: /*hoverEnable*/ ctx[5],
3264
3328
  floorplanData: /*floorplanData*/ ctx[9],
3265
- getLabelElement: /*getLabelElement*/ ctx[12],
3329
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
3330
+ getLabelElement: /*getLabelElement*/ ctx[13],
3331
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
3266
3332
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
3267
3333
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
3268
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
3334
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
3269
3335
  },
3270
3336
  {
3271
- floorIndex: /*floorData*/ ctx[14].floorIndex
3337
+ floorIndex: /*floorData*/ ctx[16].floorIndex
3272
3338
  },
3273
3339
  {
3274
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
3340
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
3275
3341
  }
3276
3342
  ];
3277
3343
 
@@ -3292,21 +3358,23 @@ function create_each_block(ctx) {
3292
3358
  current = true;
3293
3359
  },
3294
3360
  p(ctx, dirty) {
3295
- const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232)
3361
+ const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
3296
3362
  ? internal.get_spread_update(currentfloor_spread_levels, [
3297
- dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 13216 && {
3363
+ dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
3298
3364
  hoverEnable: /*hoverEnable*/ ctx[5],
3299
3365
  floorplanData: /*floorplanData*/ ctx[9],
3300
- getLabelElement: /*getLabelElement*/ ctx[12],
3366
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
3367
+ getLabelElement: /*getLabelElement*/ ctx[13],
3368
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
3301
3369
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
3302
3370
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
3303
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
3371
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
3304
3372
  },
3305
3373
  dirty & /*floorplanData*/ 512 && {
3306
- floorIndex: /*floorData*/ ctx[14].floorIndex
3374
+ floorIndex: /*floorData*/ ctx[16].floorIndex
3307
3375
  },
3308
3376
  dirty & /*floorplanData, floorIndex*/ 528 && {
3309
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
3377
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
3310
3378
  }
3311
3379
  ])
3312
3380
  : {};
@@ -3328,7 +3396,7 @@ function create_each_block(ctx) {
3328
3396
  };
3329
3397
  }
3330
3398
 
3331
- // (39:4) {#if compassEnable}
3399
+ // (43:4) {#if compassEnable}
3332
3400
  function create_if_block_1(ctx) {
3333
3401
  let compass;
3334
3402
  let current;
@@ -3437,7 +3505,9 @@ function instance($$self, $$props, $$invalidate) {
3437
3505
  let { floorplanData } = $$props;
3438
3506
  let { lastPanoramaLongitude } = $$props;
3439
3507
  let { cameraImageUrl } = $$props;
3508
+ let { getRoomAreaText } = $$props;
3440
3509
  let { getLabelElement } = $$props;
3510
+ let { getRuleDistanceText } = $$props;
3441
3511
  let { adaptiveRoomLabelVisibleEnable } = $$props;
3442
3512
 
3443
3513
  $$self.$$set = $$props => {
@@ -3453,8 +3523,10 @@ function instance($$self, $$props, $$invalidate) {
3453
3523
  if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
3454
3524
  if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
3455
3525
  if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
3456
- if ('getLabelElement' in $$props) $$invalidate(12, getLabelElement = $$props.getLabelElement);
3457
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(13, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3526
+ if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
3527
+ if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
3528
+ if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
3529
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3458
3530
  };
3459
3531
 
3460
3532
  return [
@@ -3470,7 +3542,9 @@ function instance($$self, $$props, $$invalidate) {
3470
3542
  floorplanData,
3471
3543
  lastPanoramaLongitude,
3472
3544
  cameraImageUrl,
3545
+ getRoomAreaText,
3473
3546
  getLabelElement,
3547
+ getRuleDistanceText,
3474
3548
  adaptiveRoomLabelVisibleEnable
3475
3549
  ];
3476
3550
  }
@@ -3498,8 +3572,10 @@ class Main extends internal.SvelteComponent {
3498
3572
  floorplanData: 9,
3499
3573
  lastPanoramaLongitude: 10,
3500
3574
  cameraImageUrl: 11,
3501
- getLabelElement: 12,
3502
- adaptiveRoomLabelVisibleEnable: 13
3575
+ getRoomAreaText: 12,
3576
+ getLabelElement: 13,
3577
+ getRuleDistanceText: 14,
3578
+ adaptiveRoomLabelVisibleEnable: 15
3503
3579
  },
3504
3580
  add_css
3505
3581
  );