@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
@@ -688,7 +688,7 @@ function add_css$8(target) {
688
688
  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}");
689
689
  }
690
690
 
691
- // (95:30)
691
+ // (96:30)
692
692
  function create_if_block_1$3(ctx) {
693
693
  let html_tag;
694
694
  let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
@@ -714,13 +714,14 @@ function create_if_block_1$3(ctx) {
714
714
  };
715
715
  }
716
716
 
717
- // (89:2) {#if getLabelElement === undefined}
717
+ // (90:2) {#if getLabelElement === undefined}
718
718
  function create_if_block$4(ctx) {
719
719
  let span0;
720
720
  let t0_value = /*room*/ ctx[0].name + "";
721
721
  let t0;
722
722
  let t1;
723
723
  let span1;
724
+ let t2;
724
725
 
725
726
  return {
726
727
  c() {
@@ -728,7 +729,7 @@ function create_if_block$4(ctx) {
728
729
  t0 = internal.text(t0_value);
729
730
  t1 = internal.space();
730
731
  span1 = internal.element("span");
731
- span1.textContent = `${/*roomSizeDes*/ ctx[5]}`;
732
+ t2 = internal.text(/*roomSizeDes*/ ctx[5]);
732
733
  internal.attr(span0, "class", "floorplan-plugin__room-name");
733
734
  internal.attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
734
735
  },
@@ -737,9 +738,11 @@ function create_if_block$4(ctx) {
737
738
  internal.append(span0, t0);
738
739
  internal.insert(target, t1, anchor);
739
740
  internal.insert(target, span1, anchor);
741
+ internal.append(span1, t2);
740
742
  },
741
743
  p(ctx, dirty) {
742
744
  if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) internal.set_data(t0, t0_value);
745
+ if (dirty & /*roomSizeDes*/ 32) internal.set_data(t2, /*roomSizeDes*/ ctx[5]);
743
746
  },
744
747
  d(detaching) {
745
748
  if (detaching) internal.detach(span0);
@@ -773,7 +776,7 @@ function create_fragment$b(ctx) {
773
776
  m(target, anchor) {
774
777
  internal.insert(target, div, anchor);
775
778
  if (if_block) if_block.m(div, null);
776
- /*div_binding*/ ctx[15](div);
779
+ /*div_binding*/ ctx[16](div);
777
780
  },
778
781
  p(ctx, [dirty]) {
779
782
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -801,7 +804,7 @@ function create_fragment$b(ctx) {
801
804
  if_block.d();
802
805
  }
803
806
 
804
- /*div_binding*/ ctx[15](null);
807
+ /*div_binding*/ ctx[16](null);
805
808
  }
806
809
  };
807
810
  }
@@ -824,12 +827,14 @@ function isPointInPolygon(point, polygon) {
824
827
  }
825
828
 
826
829
  function instance$b($$self, $$props, $$invalidate) {
830
+ let roomSizeDes;
827
831
  let isLabelInRoom;
828
832
  let userConfigElement;
829
833
  let labelVisible;
830
834
  let { pxmm } = $$props;
831
835
  let { room } = $$props;
832
836
  let { hoveredRoom } = $$props;
837
+ let { getRoomAreaText } = $$props;
833
838
  let { getLabelElement } = $$props;
834
839
  let { adaptiveRoomLabelVisibleEnable } = $$props;
835
840
 
@@ -869,7 +874,6 @@ function instance$b($$self, $$props, $$invalidate) {
869
874
  const bodyWidth = document.body.clientWidth;
870
875
 
871
876
  const bodyHeight = document.body.clientHeight;
872
- const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
873
877
 
874
878
  // ====================================
875
879
  const roomLabel = room.roomLabel;
@@ -885,7 +889,7 @@ function instance$b($$self, $$props, $$invalidate) {
885
889
  let labelElementSize;
886
890
 
887
891
  hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
888
- $$invalidate(12, isHoverd = !!_room && _room.id === room.id);
892
+ $$invalidate(13, isHoverd = !!_room && _room.id === room.id);
889
893
  });
890
894
 
891
895
  svelte.onMount(() => {
@@ -895,7 +899,7 @@ function instance$b($$self, $$props, $$invalidate) {
895
899
  ? void 0
896
900
  : labelElement.getClientRects()[0];
897
901
 
898
- $$invalidate(13, labelElementSize = {
902
+ $$invalidate(14, labelElementSize = {
899
903
  width: labelDomRect.width,
900
904
  height: labelDomRect.height
901
905
  });
@@ -912,13 +916,18 @@ function instance$b($$self, $$props, $$invalidate) {
912
916
  if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
913
917
  if ('room' in $$props) $$invalidate(0, room = $$props.room);
914
918
  if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
919
+ if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
915
920
  if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
916
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(11, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
921
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
917
922
  };
918
923
 
919
924
  $$self.$$.update = () => {
920
- if ($$self.$$.dirty & /*labelElementSize, room*/ 8193) {
921
- $$invalidate(14, isLabelInRoom = labelElementSize
925
+ if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
926
+ $$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
927
+ }
928
+
929
+ if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
930
+ $$invalidate(15, isLabelInRoom = labelElementSize
922
931
  ? isLabelInRoomCurry(room, labelElementSize)
923
932
  : undefined);
924
933
  }
@@ -929,7 +938,7 @@ function instance$b($$self, $$props, $$invalidate) {
929
938
  : getLabelElement(room));
930
939
  }
931
940
 
932
- if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 23040) {
941
+ if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
933
942
  $$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
934
943
  ? isHoverd
935
944
  ? true
@@ -952,6 +961,7 @@ function instance$b($$self, $$props, $$invalidate) {
952
961
  fontSize,
953
962
  pxmm,
954
963
  hoveredRoom,
964
+ getRoomAreaText,
955
965
  adaptiveRoomLabelVisibleEnable,
956
966
  isHoverd,
957
967
  labelElementSize,
@@ -974,8 +984,9 @@ class RoomLabel extends internal.SvelteComponent {
974
984
  pxmm: 9,
975
985
  room: 0,
976
986
  hoveredRoom: 10,
987
+ getRoomAreaText: 11,
977
988
  getLabelElement: 1,
978
- adaptiveRoomLabelVisibleEnable: 11
989
+ adaptiveRoomLabelVisibleEnable: 12
979
990
  },
980
991
  add_css$8
981
992
  );
@@ -990,19 +1001,19 @@ function add_css$7(target) {
990
1001
 
991
1002
  function get_each_context$5(ctx, list, i) {
992
1003
  const child_ctx = ctx.slice();
993
- child_ctx[9] = list[i];
1004
+ child_ctx[10] = list[i];
994
1005
  return child_ctx;
995
1006
  }
996
1007
 
997
- // (17:0) {#if rooms}
1008
+ // (18:0) {#if rooms}
998
1009
  function create_if_block$3(ctx) {
999
1010
  let div;
1000
1011
  let each_blocks = [];
1001
1012
  let each_1_lookup = new Map();
1002
1013
  let div_resize_listener;
1003
1014
  let current;
1004
- let each_value = /*rooms*/ ctx[5];
1005
- const get_key = ctx => /*room*/ ctx[9].id;
1015
+ let each_value = /*rooms*/ ctx[6];
1016
+ const get_key = ctx => /*room*/ ctx[10].id;
1006
1017
 
1007
1018
  for (let i = 0; i < each_value.length; i += 1) {
1008
1019
  let child_ctx = get_each_context$5(ctx, each_value, i);
@@ -1019,7 +1030,7 @@ function create_if_block$3(ctx) {
1019
1030
  }
1020
1031
 
1021
1032
  internal.attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
1022
- internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[8].call(div));
1033
+ internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
1023
1034
  },
1024
1035
  m(target, anchor) {
1025
1036
  internal.insert(target, div, anchor);
@@ -1028,12 +1039,12 @@ function create_if_block$3(ctx) {
1028
1039
  each_blocks[i].m(div, null);
1029
1040
  }
1030
1041
 
1031
- div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[8].bind(div));
1042
+ div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
1032
1043
  current = true;
1033
1044
  },
1034
1045
  p(ctx, dirty) {
1035
- if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55) {
1036
- each_value = /*rooms*/ ctx[5];
1046
+ if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
1047
+ each_value = /*rooms*/ ctx[6];
1037
1048
  internal.group_outros();
1038
1049
  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);
1039
1050
  internal.check_outros();
@@ -1067,7 +1078,7 @@ function create_if_block$3(ctx) {
1067
1078
  };
1068
1079
  }
1069
1080
 
1070
- // (19:4) {#each rooms as room (room.id)}
1081
+ // (20:4) {#each rooms as room (room.id)}
1071
1082
  function create_each_block$5(key_1, ctx) {
1072
1083
  let first;
1073
1084
  let roomlabel;
@@ -1075,11 +1086,12 @@ function create_each_block$5(key_1, ctx) {
1075
1086
 
1076
1087
  const roomlabel_spread_levels = [
1077
1088
  {
1078
- pxmm: /*pxmm*/ ctx[4],
1079
- room: /*room*/ ctx[9],
1080
- getLabelElement: /*getLabelElement*/ ctx[1],
1089
+ pxmm: /*pxmm*/ ctx[5],
1090
+ room: /*room*/ ctx[10],
1091
+ getLabelElement: /*getLabelElement*/ ctx[2],
1092
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
1081
1093
  hoveredRoom: /*hoveredRoom*/ ctx[0],
1082
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
1094
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
1083
1095
  }
1084
1096
  ];
1085
1097
 
@@ -1107,14 +1119,15 @@ function create_each_block$5(key_1, ctx) {
1107
1119
  p(new_ctx, dirty) {
1108
1120
  ctx = new_ctx;
1109
1121
 
1110
- const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55)
1122
+ const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
1111
1123
  ? internal.get_spread_update(roomlabel_spread_levels, [
1112
1124
  {
1113
- pxmm: /*pxmm*/ ctx[4],
1114
- room: /*room*/ ctx[9],
1115
- getLabelElement: /*getLabelElement*/ ctx[1],
1125
+ pxmm: /*pxmm*/ ctx[5],
1126
+ room: /*room*/ ctx[10],
1127
+ getLabelElement: /*getLabelElement*/ ctx[2],
1128
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
1116
1129
  hoveredRoom: /*hoveredRoom*/ ctx[0],
1117
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
1130
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
1118
1131
  }
1119
1132
  ])
1120
1133
  : {};
@@ -1140,7 +1153,7 @@ function create_each_block$5(key_1, ctx) {
1140
1153
  function create_fragment$a(ctx) {
1141
1154
  let if_block_anchor;
1142
1155
  let current;
1143
- let if_block = /*rooms*/ ctx[5] && create_if_block$3(ctx);
1156
+ let if_block = /*rooms*/ ctx[6] && create_if_block$3(ctx);
1144
1157
 
1145
1158
  return {
1146
1159
  c() {
@@ -1153,11 +1166,11 @@ function create_fragment$a(ctx) {
1153
1166
  current = true;
1154
1167
  },
1155
1168
  p(ctx, [dirty]) {
1156
- if (/*rooms*/ ctx[5]) {
1169
+ if (/*rooms*/ ctx[6]) {
1157
1170
  if (if_block) {
1158
1171
  if_block.p(ctx, dirty);
1159
1172
 
1160
- if (dirty & /*rooms*/ 32) {
1173
+ if (dirty & /*rooms*/ 64) {
1161
1174
  internal.transition_in(if_block, 1);
1162
1175
  }
1163
1176
  } else {
@@ -1197,6 +1210,7 @@ function instance$a($$self, $$props, $$invalidate) {
1197
1210
  let { floorIndex } = $$props;
1198
1211
  let { floorplanData } = $$props;
1199
1212
  let { hoveredRoom } = $$props;
1213
+ let { getRoomAreaText } = $$props;
1200
1214
  let { getLabelElement } = $$props;
1201
1215
  let { adaptiveRoomLabelVisibleEnable } = $$props;
1202
1216
  let clientWidth = 0;
@@ -1204,33 +1218,35 @@ function instance$a($$self, $$props, $$invalidate) {
1204
1218
 
1205
1219
  function div_elementresize_handler() {
1206
1220
  clientWidth = this.clientWidth;
1207
- $$invalidate(3, clientWidth);
1221
+ $$invalidate(4, clientWidth);
1208
1222
  }
1209
1223
 
1210
1224
  $$self.$$set = $$props => {
1211
- if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
1212
- if ('floorplanData' in $$props) $$invalidate(7, floorplanData = $$props.floorplanData);
1225
+ if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
1226
+ if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
1213
1227
  if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
1214
- if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
1215
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(2, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1228
+ if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
1229
+ if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
1230
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1216
1231
  };
1217
1232
 
1218
1233
  $$self.$$.update = () => {
1219
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 192) {
1220
- $$invalidate(5, rooms = floorplanData.floorDatas[floorIndex].rooms);
1234
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
1235
+ $$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
1221
1236
  }
1222
1237
 
1223
- if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 136) {
1238
+ if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
1224
1239
  {
1225
1240
  const { max, min } = floorplanData.bounding;
1226
1241
  const boundingWidth = max.x - min.x;
1227
- $$invalidate(4, pxmm = clientWidth / boundingWidth);
1242
+ $$invalidate(5, pxmm = clientWidth / boundingWidth);
1228
1243
  }
1229
1244
  }
1230
1245
  };
1231
1246
 
1232
1247
  return [
1233
1248
  hoveredRoom,
1249
+ getRoomAreaText,
1234
1250
  getLabelElement,
1235
1251
  adaptiveRoomLabelVisibleEnable,
1236
1252
  clientWidth,
@@ -1253,11 +1269,12 @@ class RoomLabels extends internal.SvelteComponent {
1253
1269
  create_fragment$a,
1254
1270
  internal.safe_not_equal,
1255
1271
  {
1256
- floorIndex: 6,
1257
- floorplanData: 7,
1272
+ floorIndex: 7,
1273
+ floorplanData: 8,
1258
1274
  hoveredRoom: 0,
1259
- getLabelElement: 1,
1260
- adaptiveRoomLabelVisibleEnable: 2
1275
+ getRoomAreaText: 1,
1276
+ getLabelElement: 2,
1277
+ adaptiveRoomLabelVisibleEnable: 3
1261
1278
  },
1262
1279
  add_css$7
1263
1280
  );
@@ -1272,18 +1289,18 @@ function add_css$6(target) {
1272
1289
 
1273
1290
  function get_each_context$4(ctx, list, i) {
1274
1291
  const child_ctx = ctx.slice();
1275
- child_ctx[10] = list[i];
1276
- child_ctx[12] = i;
1292
+ child_ctx[11] = list[i];
1293
+ child_ctx[13] = i;
1277
1294
  return child_ctx;
1278
1295
  }
1279
1296
 
1280
1297
  function get_each_context_1(ctx, list, i) {
1281
1298
  const child_ctx = ctx.slice();
1282
- child_ctx[13] = list[i];
1299
+ child_ctx[14] = list[i];
1283
1300
  return child_ctx;
1284
1301
  }
1285
1302
 
1286
- // (47:4) {#each rulerLabels as rulerLabel}
1303
+ // (48:4) {#each rulerLabels as rulerLabel}
1287
1304
  function create_each_block_1(ctx) {
1288
1305
  let div;
1289
1306
 
@@ -1291,8 +1308,8 @@ function create_each_block_1(ctx) {
1291
1308
  c() {
1292
1309
  div = internal.element("div");
1293
1310
  internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
1294
- internal.set_style(div, "left", /*rulerLabel*/ ctx[13].left * 100 + '%', false);
1295
- internal.set_style(div, "bottom", /*rulerLabel*/ ctx[13].bottom * 100 + '%', false);
1311
+ internal.set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
1312
+ internal.set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
1296
1313
  },
1297
1314
  m(target, anchor) {
1298
1315
  internal.insert(target, div, anchor);
@@ -1304,11 +1321,11 @@ function create_each_block_1(ctx) {
1304
1321
  };
1305
1322
  }
1306
1323
 
1307
- // (56:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
1324
+ // (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
1308
1325
  function create_each_block$4(key_1, ctx) {
1309
1326
  let div1;
1310
1327
  let div0;
1311
- let t0_value = /*textItem*/ ctx[10].distance + "";
1328
+ let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
1312
1329
  let t0;
1313
1330
  let t1;
1314
1331
 
@@ -1321,10 +1338,10 @@ function create_each_block$4(key_1, ctx) {
1321
1338
  t0 = internal.text(t0_value);
1322
1339
  t1 = internal.space();
1323
1340
  internal.attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
1324
- internal.toggle_class(div0, "is-row", /*isRow*/ ctx[1]);
1341
+ internal.toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
1325
1342
  internal.attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
1326
- internal.set_style(div1, "left", /*textItem*/ ctx[10].left * 100 + '%', false);
1327
- internal.set_style(div1, "bottom", /*textItem*/ ctx[10].bottom * 100 + '%', false);
1343
+ internal.set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
1344
+ internal.set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
1328
1345
  this.first = div1;
1329
1346
  },
1330
1347
  m(target, anchor) {
@@ -1335,6 +1352,7 @@ function create_each_block$4(key_1, ctx) {
1335
1352
  },
1336
1353
  p(new_ctx, dirty) {
1337
1354
  ctx = new_ctx;
1355
+ if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) internal.set_data(t0, t0_value);
1338
1356
  },
1339
1357
  d(detaching) {
1340
1358
  if (detaching) internal.detach(div1);
@@ -1352,15 +1370,15 @@ function create_fragment$9(ctx) {
1352
1370
  let each_blocks = [];
1353
1371
  let each1_lookup = new Map();
1354
1372
  let div3_class_value;
1355
- let each_value_1 = /*rulerLabels*/ ctx[2];
1373
+ let each_value_1 = /*rulerLabels*/ ctx[3];
1356
1374
  let each_blocks_1 = [];
1357
1375
 
1358
1376
  for (let i = 0; i < each_value_1.length; i += 1) {
1359
1377
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
1360
1378
  }
1361
1379
 
1362
- let each_value = /*rulerTexts*/ ctx[3];
1363
- const get_key = ctx => /*textItemIndex*/ ctx[12];
1380
+ let each_value = /*rulerTexts*/ ctx[4];
1381
+ const get_key = ctx => /*textItemIndex*/ ctx[13];
1364
1382
 
1365
1383
  for (let i = 0; i < each_value.length; i += 1) {
1366
1384
  let child_ctx = get_each_context$4(ctx, each_value, i);
@@ -1388,12 +1406,12 @@ function create_fragment$9(ctx) {
1388
1406
 
1389
1407
  internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
1390
1408
  internal.attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
1391
- internal.toggle_class(div1, "is-row", /*isRow*/ ctx[1]);
1409
+ internal.toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
1392
1410
  internal.attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
1393
1411
  internal.attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
1394
- internal.toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
1395
- internal.set_style(div3, "width", /*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
1396
- internal.set_style(div3, "height", !/*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
1412
+ internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
1413
+ internal.set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
1414
+ internal.set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
1397
1415
  },
1398
1416
  m(target, anchor) {
1399
1417
  internal.insert(target, div3, anchor);
@@ -1413,8 +1431,8 @@ function create_fragment$9(ctx) {
1413
1431
  }
1414
1432
  },
1415
1433
  p(ctx, [dirty]) {
1416
- if (dirty & /*rulerLabels*/ 4) {
1417
- each_value_1 = /*rulerLabels*/ ctx[2];
1434
+ if (dirty & /*rulerLabels*/ 8) {
1435
+ each_value_1 = /*rulerLabels*/ ctx[3];
1418
1436
  let i;
1419
1437
 
1420
1438
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -1436,8 +1454,8 @@ function create_fragment$9(ctx) {
1436
1454
  each_blocks_1.length = each_value_1.length;
1437
1455
  }
1438
1456
 
1439
- if (dirty & /*rulerTexts, isRow*/ 10) {
1440
- each_value = /*rulerTexts*/ ctx[3];
1457
+ if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
1458
+ each_value = /*rulerTexts*/ ctx[4];
1441
1459
  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);
1442
1460
  }
1443
1461
 
@@ -1445,8 +1463,8 @@ function create_fragment$9(ctx) {
1445
1463
  internal.attr(div3, "class", div3_class_value);
1446
1464
  }
1447
1465
 
1448
- if (dirty & /*type, isRow*/ 3) {
1449
- internal.toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
1466
+ if (dirty & /*type, isRow*/ 5) {
1467
+ internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
1450
1468
  }
1451
1469
  },
1452
1470
  i: internal.noop,
@@ -1469,6 +1487,7 @@ function instance$9($$self, $$props, $$invalidate) {
1469
1487
  let { type } = $$props;
1470
1488
  let { data } = $$props;
1471
1489
  let { bounding } = $$props;
1490
+ let { getRuleDistanceText } = $$props;
1472
1491
  const isRow = type === 'top' || type === 'bottom';
1473
1492
  const contentWidth = bounding.max.x - bounding.min.x - (padding$1 - exteriorWallOffset$1) * 2;
1474
1493
  const contentHeight = bounding.max.y - bounding.min.y - (padding$1 - exteriorWallOffset$1) * 2;
@@ -1514,17 +1533,32 @@ function instance$9($$self, $$props, $$invalidate) {
1514
1533
 
1515
1534
  $$self.$$set = $$props => {
1516
1535
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
1517
- if ('data' in $$props) $$invalidate(4, data = $$props.data);
1518
- if ('bounding' in $$props) $$invalidate(5, bounding = $$props.bounding);
1536
+ if ('data' in $$props) $$invalidate(5, data = $$props.data);
1537
+ if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
1538
+ if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
1519
1539
  };
1520
1540
 
1521
- return [type, isRow, rulerLabels, rulerTexts, data, bounding];
1541
+ return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
1522
1542
  }
1523
1543
 
1524
1544
  class RuleItem extends internal.SvelteComponent {
1525
1545
  constructor(options) {
1526
1546
  super();
1527
- internal.init(this, options, instance$9, create_fragment$9, internal.safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$6);
1547
+
1548
+ internal.init(
1549
+ this,
1550
+ options,
1551
+ instance$9,
1552
+ create_fragment$9,
1553
+ internal.safe_not_equal,
1554
+ {
1555
+ type: 0,
1556
+ data: 5,
1557
+ bounding: 6,
1558
+ getRuleDistanceText: 1
1559
+ },
1560
+ add_css$6
1561
+ );
1528
1562
  }
1529
1563
  }
1530
1564
 
@@ -1536,12 +1570,12 @@ function add_css$5(target) {
1536
1570
 
1537
1571
  function get_each_context$3(ctx, list, i) {
1538
1572
  const child_ctx = ctx.slice();
1539
- child_ctx[12] = list[i][0];
1540
- child_ctx[13] = list[i][1];
1573
+ child_ctx[13] = list[i][0];
1574
+ child_ctx[14] = list[i][1];
1541
1575
  return child_ctx;
1542
1576
  }
1543
1577
 
1544
- // (19:2) {#each ruleLabelArray as [type, data] (type)}
1578
+ // (20:2) {#each ruleLabelArray as [type, data] (type)}
1545
1579
  function create_each_block$3(key_1, ctx) {
1546
1580
  let first;
1547
1581
  let ruleitem;
@@ -1549,9 +1583,10 @@ function create_each_block$3(key_1, ctx) {
1549
1583
 
1550
1584
  const ruleitem_spread_levels = [
1551
1585
  {
1552
- type: /*type*/ ctx[12],
1553
- data: /*data*/ ctx[13],
1554
- bounding: /*bounding*/ ctx[0]
1586
+ type: /*type*/ ctx[13],
1587
+ data: /*data*/ ctx[14],
1588
+ bounding: /*bounding*/ ctx[1],
1589
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
1555
1590
  }
1556
1591
  ];
1557
1592
 
@@ -1579,12 +1614,13 @@ function create_each_block$3(key_1, ctx) {
1579
1614
  p(new_ctx, dirty) {
1580
1615
  ctx = new_ctx;
1581
1616
 
1582
- const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/ 9)
1617
+ const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
1583
1618
  ? internal.get_spread_update(ruleitem_spread_levels, [
1584
1619
  {
1585
- type: /*type*/ ctx[12],
1586
- data: /*data*/ ctx[13],
1587
- bounding: /*bounding*/ ctx[0]
1620
+ type: /*type*/ ctx[13],
1621
+ data: /*data*/ ctx[14],
1622
+ bounding: /*bounding*/ ctx[1],
1623
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
1588
1624
  }
1589
1625
  ])
1590
1626
  : {};
@@ -1612,8 +1648,8 @@ function create_fragment$8(ctx) {
1612
1648
  let each_blocks = [];
1613
1649
  let each_1_lookup = new Map();
1614
1650
  let current;
1615
- let each_value = /*ruleLabelArray*/ ctx[3];
1616
- const get_key = ctx => /*type*/ ctx[12];
1651
+ let each_value = /*ruleLabelArray*/ ctx[4];
1652
+ const get_key = ctx => /*type*/ ctx[13];
1617
1653
 
1618
1654
  for (let i = 0; i < each_value.length; i += 1) {
1619
1655
  let child_ctx = get_each_context$3(ctx, each_value, i);
@@ -1630,8 +1666,8 @@ function create_fragment$8(ctx) {
1630
1666
  }
1631
1667
 
1632
1668
  internal.attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
1633
- internal.set_style(div, "width", /*width*/ ctx[2], false);
1634
- internal.set_style(div, "height", /*height*/ ctx[1], false);
1669
+ internal.set_style(div, "width", /*width*/ ctx[3], false);
1670
+ internal.set_style(div, "height", /*height*/ ctx[2], false);
1635
1671
  },
1636
1672
  m(target, anchor) {
1637
1673
  internal.insert(target, div, anchor);
@@ -1643,19 +1679,19 @@ function create_fragment$8(ctx) {
1643
1679
  current = true;
1644
1680
  },
1645
1681
  p(ctx, [dirty]) {
1646
- if (dirty & /*ruleLabelArray, bounding*/ 9) {
1647
- each_value = /*ruleLabelArray*/ ctx[3];
1682
+ if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
1683
+ each_value = /*ruleLabelArray*/ ctx[4];
1648
1684
  internal.group_outros();
1649
1685
  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);
1650
1686
  internal.check_outros();
1651
1687
  }
1652
1688
 
1653
- if (dirty & /*width*/ 4) {
1654
- internal.set_style(div, "width", /*width*/ ctx[2], false);
1689
+ if (dirty & /*width*/ 8) {
1690
+ internal.set_style(div, "width", /*width*/ ctx[3], false);
1655
1691
  }
1656
1692
 
1657
- if (dirty & /*height*/ 2) {
1658
- internal.set_style(div, "height", /*height*/ ctx[1], false);
1693
+ if (dirty & /*height*/ 4) {
1694
+ internal.set_style(div, "height", /*height*/ ctx[2], false);
1659
1695
  }
1660
1696
  },
1661
1697
  i(local) {
@@ -1700,55 +1736,58 @@ function instance$8($$self, $$props, $$invalidate) {
1700
1736
  let height;
1701
1737
  let { floorIndex } = $$props;
1702
1738
  let { floorplanData } = $$props;
1739
+ let { getRuleDistanceText } = $$props;
1703
1740
 
1704
1741
  $$self.$$set = $$props => {
1705
- if ('floorIndex' in $$props) $$invalidate(4, floorIndex = $$props.floorIndex);
1706
- if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
1742
+ if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
1743
+ if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
1744
+ if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
1707
1745
  };
1708
1746
 
1709
1747
  $$self.$$.update = () => {
1710
- if ($$self.$$.dirty & /*floorplanData*/ 32) {
1711
- $$invalidate(0, bounding = floorplanData.bounding);
1748
+ if ($$self.$$.dirty & /*floorplanData*/ 64) {
1749
+ $$invalidate(1, bounding = floorplanData.bounding);
1712
1750
  }
1713
1751
 
1714
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 48) {
1715
- $$invalidate(10, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
1752
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
1753
+ $$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
1716
1754
  }
1717
1755
 
1718
- if ($$self.$$.dirty & /*ruleLabelData*/ 1024) {
1719
- $$invalidate(11, ruleLabelDataKeys = Object.keys(ruleLabelData));
1756
+ if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
1757
+ $$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
1720
1758
  }
1721
1759
 
1722
- if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 3072) {
1723
- $$invalidate(3, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
1760
+ if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
1761
+ $$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
1724
1762
  }
1725
1763
 
1726
- if ($$self.$$.dirty & /*bounding*/ 1) {
1727
- $$invalidate(8, boundingWidth = bounding.max.x - bounding.min.x);
1764
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1765
+ $$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
1728
1766
  }
1729
1767
 
1730
- if ($$self.$$.dirty & /*bounding*/ 1) {
1731
- $$invalidate(6, boundingHeight = bounding.max.y - bounding.min.y);
1768
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1769
+ $$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
1732
1770
  }
1733
1771
 
1734
- if ($$self.$$.dirty & /*bounding*/ 1) {
1735
- $$invalidate(9, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
1772
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1773
+ $$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
1736
1774
  }
1737
1775
 
1738
- if ($$self.$$.dirty & /*bounding*/ 1) {
1739
- $$invalidate(7, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
1776
+ if ($$self.$$.dirty & /*bounding*/ 2) {
1777
+ $$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
1740
1778
  }
1741
1779
 
1742
- if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 768) {
1743
- $$invalidate(2, width = contentWidth / boundingWidth * 100 + '%');
1780
+ if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
1781
+ $$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
1744
1782
  }
1745
1783
 
1746
- if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 192) {
1747
- $$invalidate(1, height = contentHeight / boundingHeight * 100 + '%');
1784
+ if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
1785
+ $$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
1748
1786
  }
1749
1787
  };
1750
1788
 
1751
1789
  return [
1790
+ getRuleDistanceText,
1752
1791
  bounding,
1753
1792
  height,
1754
1793
  width,
@@ -1767,7 +1806,20 @@ function instance$8($$self, $$props, $$invalidate) {
1767
1806
  class RuleLabels extends internal.SvelteComponent {
1768
1807
  constructor(options) {
1769
1808
  super();
1770
- internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$5);
1809
+
1810
+ internal.init(
1811
+ this,
1812
+ options,
1813
+ instance$8,
1814
+ create_fragment$8,
1815
+ internal.safe_not_equal,
1816
+ {
1817
+ floorIndex: 5,
1818
+ floorplanData: 6,
1819
+ getRuleDistanceText: 0
1820
+ },
1821
+ add_css$5
1822
+ );
1771
1823
  }
1772
1824
  }
1773
1825
 
@@ -2653,7 +2705,7 @@ function add_css$1(target) {
2653
2705
  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}");
2654
2706
  }
2655
2707
 
2656
- // (20:2) {#if hoverEnable}
2708
+ // (22:2) {#if hoverEnable}
2657
2709
  function create_if_block_2(ctx) {
2658
2710
  let roomhighlight;
2659
2711
  let current;
@@ -2662,7 +2714,7 @@ function create_if_block_2(ctx) {
2662
2714
  {
2663
2715
  floorIndex: /*floorIndex*/ ctx[1],
2664
2716
  floorplanData: /*floorplanData*/ ctx[5],
2665
- hoveredRoom: /*hoveredRoom*/ ctx[8]
2717
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
2666
2718
  }
2667
2719
  ];
2668
2720
 
@@ -2683,12 +2735,12 @@ function create_if_block_2(ctx) {
2683
2735
  current = true;
2684
2736
  },
2685
2737
  p(ctx, dirty) {
2686
- const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 290)
2738
+ const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
2687
2739
  ? internal.get_spread_update(roomhighlight_spread_levels, [
2688
2740
  {
2689
2741
  floorIndex: /*floorIndex*/ ctx[1],
2690
2742
  floorplanData: /*floorplanData*/ ctx[5],
2691
- hoveredRoom: /*hoveredRoom*/ ctx[8]
2743
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
2692
2744
  }
2693
2745
  ])
2694
2746
  : {};
@@ -2710,7 +2762,7 @@ function create_if_block_2(ctx) {
2710
2762
  };
2711
2763
  }
2712
2764
 
2713
- // (24:2) {#if roomLabelsEnable}
2765
+ // (26:2) {#if roomLabelsEnable}
2714
2766
  function create_if_block_1$1(ctx) {
2715
2767
  let roomlabels;
2716
2768
  let current;
@@ -2719,9 +2771,10 @@ function create_if_block_1$1(ctx) {
2719
2771
  {
2720
2772
  floorplanData: /*floorplanData*/ ctx[5],
2721
2773
  floorIndex: /*floorIndex*/ ctx[1],
2722
- getLabelElement: /*getLabelElement*/ ctx[6],
2723
- hoveredRoom: /*hoveredRoom*/ ctx[8],
2724
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
2774
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
2775
+ getLabelElement: /*getLabelElement*/ ctx[7],
2776
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
2777
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
2725
2778
  }
2726
2779
  ];
2727
2780
 
@@ -2742,14 +2795,15 @@ function create_if_block_1$1(ctx) {
2742
2795
  current = true;
2743
2796
  },
2744
2797
  p(ctx, dirty) {
2745
- const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 482)
2798
+ const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
2746
2799
  ? internal.get_spread_update(roomlabels_spread_levels, [
2747
2800
  {
2748
2801
  floorplanData: /*floorplanData*/ ctx[5],
2749
2802
  floorIndex: /*floorIndex*/ ctx[1],
2750
- getLabelElement: /*getLabelElement*/ ctx[6],
2751
- hoveredRoom: /*hoveredRoom*/ ctx[8],
2752
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
2803
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
2804
+ getLabelElement: /*getLabelElement*/ ctx[7],
2805
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
2806
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
2753
2807
  }
2754
2808
  ])
2755
2809
  : {};
@@ -2771,7 +2825,7 @@ function create_if_block_1$1(ctx) {
2771
2825
  };
2772
2826
  }
2773
2827
 
2774
- // (27:2) {#if ruleLabelsEnable}
2828
+ // (38:2) {#if ruleLabelsEnable}
2775
2829
  function create_if_block$1(ctx) {
2776
2830
  let rulelabels;
2777
2831
  let current;
@@ -2779,7 +2833,8 @@ function create_if_block$1(ctx) {
2779
2833
  const rulelabels_spread_levels = [
2780
2834
  {
2781
2835
  floorplanData: /*floorplanData*/ ctx[5],
2782
- floorIndex: /*floorIndex*/ ctx[1]
2836
+ floorIndex: /*floorIndex*/ ctx[1],
2837
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
2783
2838
  }
2784
2839
  ];
2785
2840
 
@@ -2800,11 +2855,12 @@ function create_if_block$1(ctx) {
2800
2855
  current = true;
2801
2856
  },
2802
2857
  p(ctx, dirty) {
2803
- const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/ 34)
2858
+ const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
2804
2859
  ? internal.get_spread_update(rulelabels_spread_levels, [
2805
2860
  {
2806
2861
  floorplanData: /*floorplanData*/ ctx[5],
2807
- floorIndex: /*floorIndex*/ ctx[1]
2862
+ floorIndex: /*floorIndex*/ ctx[1],
2863
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
2808
2864
  }
2809
2865
  ])
2810
2866
  : {};
@@ -3033,7 +3089,9 @@ function instance$1($$self, $$props, $$invalidate) {
3033
3089
  let { roomLabelsEnable } = $$props;
3034
3090
  let { ruleLabelsEnable } = $$props;
3035
3091
  let { floorplanData } = $$props;
3092
+ let { getRoomAreaText } = $$props;
3036
3093
  let { getLabelElement } = $$props;
3094
+ let { getRuleDistanceText } = $$props;
3037
3095
  let { adaptiveRoomLabelVisibleEnable } = $$props;
3038
3096
  const hoveredRoom = store.writable(undefined);
3039
3097
 
@@ -3044,8 +3102,10 @@ function instance$1($$self, $$props, $$invalidate) {
3044
3102
  if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
3045
3103
  if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
3046
3104
  if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
3047
- if ('getLabelElement' in $$props) $$invalidate(6, getLabelElement = $$props.getLabelElement);
3048
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(7, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3105
+ if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
3106
+ if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
3107
+ if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
3108
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3049
3109
  };
3050
3110
 
3051
3111
  return [
@@ -3055,7 +3115,9 @@ function instance$1($$self, $$props, $$invalidate) {
3055
3115
  roomLabelsEnable,
3056
3116
  ruleLabelsEnable,
3057
3117
  floorplanData,
3118
+ getRoomAreaText,
3058
3119
  getLabelElement,
3120
+ getRuleDistanceText,
3059
3121
  adaptiveRoomLabelVisibleEnable,
3060
3122
  hoveredRoom
3061
3123
  ];
@@ -3078,8 +3140,10 @@ class CurrentFloor extends internal.SvelteComponent {
3078
3140
  roomLabelsEnable: 3,
3079
3141
  ruleLabelsEnable: 4,
3080
3142
  floorplanData: 5,
3081
- getLabelElement: 6,
3082
- adaptiveRoomLabelVisibleEnable: 7
3143
+ getRoomAreaText: 6,
3144
+ getLabelElement: 7,
3145
+ getRuleDistanceText: 8,
3146
+ adaptiveRoomLabelVisibleEnable: 9
3083
3147
  },
3084
3148
  add_css$1
3085
3149
  );
@@ -3094,11 +3158,11 @@ function add_css(target) {
3094
3158
 
3095
3159
  function get_each_context(ctx, list, i) {
3096
3160
  const child_ctx = ctx.slice();
3097
- child_ctx[14] = list[i];
3161
+ child_ctx[16] = list[i];
3098
3162
  return child_ctx;
3099
3163
  }
3100
3164
 
3101
- // (22:0) {#if visible}
3165
+ // (24:0) {#if visible}
3102
3166
  function create_if_block(ctx) {
3103
3167
  let div;
3104
3168
  let t0;
@@ -3165,7 +3229,7 @@ function create_if_block(ctx) {
3165
3229
  p(new_ctx, dirty) {
3166
3230
  ctx = new_ctx;
3167
3231
 
3168
- if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232) {
3232
+ if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
3169
3233
  each_value = /*floorplanData*/ ctx[9].floorDatas;
3170
3234
  let i;
3171
3235
 
@@ -3271,7 +3335,7 @@ function create_if_block(ctx) {
3271
3335
  };
3272
3336
  }
3273
3337
 
3274
- // (24:4) {#each floorplanData.floorDatas as floorData}
3338
+ // (26:4) {#each floorplanData.floorDatas as floorData}
3275
3339
  function create_each_block(ctx) {
3276
3340
  let currentfloor;
3277
3341
  let current;
@@ -3280,16 +3344,18 @@ function create_each_block(ctx) {
3280
3344
  {
3281
3345
  hoverEnable: /*hoverEnable*/ ctx[5],
3282
3346
  floorplanData: /*floorplanData*/ ctx[9],
3283
- getLabelElement: /*getLabelElement*/ ctx[12],
3347
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
3348
+ getLabelElement: /*getLabelElement*/ ctx[13],
3349
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
3284
3350
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
3285
3351
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
3286
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
3352
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
3287
3353
  },
3288
3354
  {
3289
- floorIndex: /*floorData*/ ctx[14].floorIndex
3355
+ floorIndex: /*floorData*/ ctx[16].floorIndex
3290
3356
  },
3291
3357
  {
3292
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
3358
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
3293
3359
  }
3294
3360
  ];
3295
3361
 
@@ -3310,21 +3376,23 @@ function create_each_block(ctx) {
3310
3376
  current = true;
3311
3377
  },
3312
3378
  p(ctx, dirty) {
3313
- const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232)
3379
+ const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
3314
3380
  ? internal.get_spread_update(currentfloor_spread_levels, [
3315
- dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 13216 && {
3381
+ dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
3316
3382
  hoverEnable: /*hoverEnable*/ ctx[5],
3317
3383
  floorplanData: /*floorplanData*/ ctx[9],
3318
- getLabelElement: /*getLabelElement*/ ctx[12],
3384
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
3385
+ getLabelElement: /*getLabelElement*/ ctx[13],
3386
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
3319
3387
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
3320
3388
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
3321
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
3389
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
3322
3390
  },
3323
3391
  dirty & /*floorplanData*/ 512 && {
3324
- floorIndex: /*floorData*/ ctx[14].floorIndex
3392
+ floorIndex: /*floorData*/ ctx[16].floorIndex
3325
3393
  },
3326
3394
  dirty & /*floorplanData, floorIndex*/ 528 && {
3327
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
3395
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
3328
3396
  }
3329
3397
  ])
3330
3398
  : {};
@@ -3346,7 +3414,7 @@ function create_each_block(ctx) {
3346
3414
  };
3347
3415
  }
3348
3416
 
3349
- // (39:4) {#if compassEnable}
3417
+ // (43:4) {#if compassEnable}
3350
3418
  function create_if_block_1(ctx) {
3351
3419
  let compass;
3352
3420
  let current;
@@ -3455,7 +3523,9 @@ function instance($$self, $$props, $$invalidate) {
3455
3523
  let { floorplanData } = $$props;
3456
3524
  let { lastPanoramaLongitude } = $$props;
3457
3525
  let { cameraImageUrl } = $$props;
3526
+ let { getRoomAreaText } = $$props;
3458
3527
  let { getLabelElement } = $$props;
3528
+ let { getRuleDistanceText } = $$props;
3459
3529
  let { adaptiveRoomLabelVisibleEnable } = $$props;
3460
3530
 
3461
3531
  $$self.$$set = $$props => {
@@ -3471,8 +3541,10 @@ function instance($$self, $$props, $$invalidate) {
3471
3541
  if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
3472
3542
  if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
3473
3543
  if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
3474
- if ('getLabelElement' in $$props) $$invalidate(12, getLabelElement = $$props.getLabelElement);
3475
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(13, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3544
+ if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
3545
+ if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
3546
+ if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
3547
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
3476
3548
  };
3477
3549
 
3478
3550
  return [
@@ -3488,7 +3560,9 @@ function instance($$self, $$props, $$invalidate) {
3488
3560
  floorplanData,
3489
3561
  lastPanoramaLongitude,
3490
3562
  cameraImageUrl,
3563
+ getRoomAreaText,
3491
3564
  getLabelElement,
3565
+ getRuleDistanceText,
3492
3566
  adaptiveRoomLabelVisibleEnable
3493
3567
  ];
3494
3568
  }
@@ -3516,8 +3590,10 @@ class Main extends internal.SvelteComponent {
3516
3590
  floorplanData: 9,
3517
3591
  lastPanoramaLongitude: 10,
3518
3592
  cameraImageUrl: 11,
3519
- getLabelElement: 12,
3520
- adaptiveRoomLabelVisibleEnable: 13
3593
+ getRoomAreaText: 12,
3594
+ getLabelElement: 13,
3595
+ getRuleDistanceText: 14,
3596
+ adaptiveRoomLabelVisibleEnable: 15
3521
3597
  },
3522
3598
  add_css
3523
3599
  );