@realsee/dnalogel 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) 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/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  10. package/dist/CSS3DRenderPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  11. package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  12. package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  13. package/dist/CSS3DRenderPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  14. package/dist/CSS3DRenderPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  15. package/dist/CSS3DRenderPlugin/floorplan/typings/index.d.ts +117 -0
  16. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  17. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  18. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  19. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  20. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  21. package/dist/CameraMovementPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  22. package/dist/CameraMovementPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  23. package/dist/CameraMovementPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  24. package/dist/CameraMovementPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  25. package/dist/CameraMovementPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  26. package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  27. package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  28. package/dist/CameraMovementPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  29. package/dist/CameraMovementPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  30. package/dist/CameraMovementPlugin/floorplan/typings/index.d.ts +117 -0
  31. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  32. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  33. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  34. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  35. package/dist/CruisePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  36. package/dist/CruisePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  37. package/dist/CruisePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  38. package/dist/CruisePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  39. package/dist/CruisePlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  40. package/dist/CruisePlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  41. package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  42. package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  43. package/dist/CruisePlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  44. package/dist/CruisePlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  45. package/dist/CruisePlugin/floorplan/typings/index.d.ts +117 -0
  46. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  47. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  48. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  49. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  50. package/dist/GuideLinePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  51. package/dist/GuideLinePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  52. package/dist/GuideLinePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  53. package/dist/GuideLinePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  54. package/dist/GuideLinePlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  55. package/dist/GuideLinePlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  56. package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  57. package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  58. package/dist/GuideLinePlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  59. package/dist/GuideLinePlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  60. package/dist/GuideLinePlugin/floorplan/typings/index.d.ts +117 -0
  61. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  62. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  63. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  64. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  65. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  66. package/dist/ItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  67. package/dist/ItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  68. package/dist/ItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  69. package/dist/ItemLabelPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  70. package/dist/ItemLabelPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  71. package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  72. package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  73. package/dist/ItemLabelPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  74. package/dist/ItemLabelPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  75. package/dist/ItemLabelPlugin/floorplan/typings/index.d.ts +117 -0
  76. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  77. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  78. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  79. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  80. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  81. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  82. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  83. package/dist/ModelChassisCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  84. package/dist/ModelChassisCompassPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  85. package/dist/ModelChassisCompassPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  86. package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  87. package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  88. package/dist/ModelChassisCompassPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  89. package/dist/ModelChassisCompassPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  90. package/dist/ModelChassisCompassPlugin/floorplan/typings/index.d.ts +117 -0
  91. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  92. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  93. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  94. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  95. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  96. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  97. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  98. package/dist/ModelEntryDoorGuidePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  99. package/dist/ModelEntryDoorGuidePlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  100. package/dist/ModelEntryDoorGuidePlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  101. package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  102. package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  103. package/dist/ModelEntryDoorGuidePlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  104. package/dist/ModelEntryDoorGuidePlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  105. package/dist/ModelEntryDoorGuidePlugin/floorplan/typings/index.d.ts +117 -0
  106. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  107. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  108. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  109. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  110. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  111. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  112. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  113. package/dist/ModelItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  114. package/dist/ModelItemLabelPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  115. package/dist/ModelItemLabelPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  116. package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  117. package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  118. package/dist/ModelItemLabelPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  119. package/dist/ModelItemLabelPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  120. package/dist/ModelItemLabelPlugin/floorplan/typings/index.d.ts +117 -0
  121. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  122. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  123. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  124. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  125. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  126. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  127. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  128. package/dist/ModelRoomLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  129. package/dist/ModelRoomLabelPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  130. package/dist/ModelRoomLabelPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  131. package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  132. package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  133. package/dist/ModelRoomLabelPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  134. package/dist/ModelRoomLabelPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  135. package/dist/ModelRoomLabelPlugin/floorplan/typings/index.d.ts +117 -0
  136. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  137. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  138. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  139. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  140. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  141. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  142. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  143. package/dist/ModelTVVideoPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  144. package/dist/ModelTVVideoPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  145. package/dist/ModelTVVideoPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  146. package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  147. package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  148. package/dist/ModelTVVideoPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  149. package/dist/ModelTVVideoPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  150. package/dist/ModelTVVideoPlugin/floorplan/typings/index.d.ts +117 -0
  151. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  152. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  153. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  154. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  155. package/dist/ModelViewPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  156. package/dist/ModelViewPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  157. package/dist/ModelViewPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  158. package/dist/ModelViewPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  159. package/dist/ModelViewPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  160. package/dist/ModelViewPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  161. package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  162. package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  163. package/dist/ModelViewPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  164. package/dist/ModelViewPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  165. package/dist/ModelViewPlugin/floorplan/typings/index.d.ts +117 -0
  166. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  167. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  168. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  169. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  170. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  171. package/dist/PanoCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  172. package/dist/PanoCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  173. package/dist/PanoCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  174. package/dist/PanoCompassPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  175. package/dist/PanoCompassPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  176. package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  177. package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  178. package/dist/PanoCompassPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  179. package/dist/PanoCompassPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  180. package/dist/PanoCompassPlugin/floorplan/typings/index.d.ts +117 -0
  181. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  182. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  183. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  184. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  185. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  186. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  187. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  188. package/dist/PanoCursorRaycasterPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  189. package/dist/PanoCursorRaycasterPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  190. package/dist/PanoCursorRaycasterPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  191. package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  192. package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  193. package/dist/PanoCursorRaycasterPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  194. package/dist/PanoCursorRaycasterPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  195. package/dist/PanoCursorRaycasterPlugin/floorplan/typings/index.d.ts +117 -0
  196. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  197. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  198. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  199. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  200. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  201. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  202. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  203. package/dist/PanoDoorLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  204. package/dist/PanoDoorLabelPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  205. package/dist/PanoDoorLabelPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  206. package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  207. package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  208. package/dist/PanoDoorLabelPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  209. package/dist/PanoDoorLabelPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  210. package/dist/PanoDoorLabelPlugin/floorplan/typings/index.d.ts +117 -0
  211. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  212. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  213. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  214. package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  215. package/dist/PanoMeasurePlugin/Model/index.d.ts +3 -6
  216. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  217. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  218. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  219. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  220. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  221. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  222. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  223. package/dist/PanoMeasurePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  224. package/dist/PanoMeasurePlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  225. package/dist/PanoMeasurePlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  226. package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  227. package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  228. package/dist/PanoMeasurePlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  229. package/dist/PanoMeasurePlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  230. package/dist/PanoMeasurePlugin/floorplan/typings/index.d.ts +117 -0
  231. package/dist/PanoMeasurePlugin/index.js +75 -31
  232. package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
  233. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  234. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  235. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  236. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  237. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  238. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  239. package/dist/PanoRulerPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  240. package/dist/PanoRulerPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  241. package/dist/PanoRulerPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  242. package/dist/PanoRulerPlugin/Plugin.d.ts +5 -2
  243. package/dist/PanoRulerPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  244. package/dist/PanoRulerPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  245. package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  246. package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  247. package/dist/PanoRulerPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  248. package/dist/PanoRulerPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  249. package/dist/PanoRulerPlugin/floorplan/typings/index.d.ts +117 -0
  250. package/dist/PanoRulerPlugin/index.js +17 -0
  251. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  252. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  253. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  254. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  255. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  256. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  257. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  258. package/dist/PanoRulerProPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  259. package/dist/PanoRulerProPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  260. package/dist/PanoRulerProPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  261. package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  262. package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  263. package/dist/PanoRulerProPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  264. package/dist/PanoRulerProPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  265. package/dist/PanoRulerProPlugin/floorplan/typings/index.d.ts +117 -0
  266. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  267. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  268. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  269. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  270. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  271. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  272. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  273. package/dist/PanoSpatialTagPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  274. package/dist/PanoSpatialTagPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  275. package/dist/PanoSpatialTagPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  276. package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  277. package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  278. package/dist/PanoSpatialTagPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  279. package/dist/PanoSpatialTagPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  280. package/dist/PanoSpatialTagPlugin/floorplan/typings/index.d.ts +117 -0
  281. package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  282. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  283. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  284. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  285. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  286. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  287. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  288. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  289. package/dist/floorplan/MapviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  290. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  291. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  292. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  293. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  294. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  295. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  296. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/typings/index.d.ts +117 -0
  297. package/dist/floorplan/MapviewFloorplanPlugin/index.js +241 -158
  298. package/dist/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  299. package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  300. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  301. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  302. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  303. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  304. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  305. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  306. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  307. package/dist/floorplan/ModelFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  308. package/dist/floorplan/ModelFloorplanPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  309. package/dist/floorplan/ModelFloorplanPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  310. package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  311. package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  312. package/dist/floorplan/ModelFloorplanPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  313. package/dist/floorplan/ModelFloorplanPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  314. package/dist/floorplan/ModelFloorplanPlugin/floorplan/typings/index.d.ts +117 -0
  315. package/dist/floorplan/ModelFloorplanPlugin/index.js +240 -163
  316. package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  317. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  318. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  319. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  320. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  321. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  322. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  323. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  324. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  325. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  326. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  327. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  328. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  329. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  330. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  331. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/typings/index.d.ts +117 -0
  332. package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  333. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  334. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  335. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  336. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  337. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  338. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  339. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  340. package/dist/floorplan/TopviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  341. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  342. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  343. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  344. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  345. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  346. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  347. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/typings/index.d.ts +117 -0
  348. package/dist/floorplan/TopviewFloorplanPlugin/index.js +244 -161
  349. package/dist/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  350. package/dist/floorplan/typings/index.d.ts +117 -0
  351. package/dist/index.es.js +322 -199
  352. package/dist/index.js +322 -199
  353. package/dist/index.umd.js +322 -199
  354. package/docs/assets/search.js +1 -1
  355. package/docs/classes/CruisePluginController.html +14 -14
  356. package/docs/classes/Magnifier.html +4 -4
  357. package/docs/classes/ModelRoomLabelController.html +4 -4
  358. package/docs/enums/CameraMovementEffect.html +2 -2
  359. package/docs/enums/DIRECTION.html +1 -1
  360. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  361. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  362. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  363. package/docs/enums/Rotation.html +2 -2
  364. package/docs/index.html +1 -1
  365. package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
  366. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  367. package/docs/interfaces/FloorplanBounding.html +4 -4
  368. package/docs/interfaces/FloorplanData.html +2 -2
  369. package/docs/interfaces/FloorplanEntrance.html +7 -7
  370. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  371. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  372. package/docs/interfaces/FloorplanFloorData.html +2 -2
  373. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  374. package/docs/interfaces/FloorplanObserver.html +2 -2
  375. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  376. package/docs/interfaces/FloorplanPosition.html +2 -2
  377. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  378. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  379. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  380. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  381. package/docs/interfaces/FloorplanServerData.html +2 -2
  382. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  383. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  384. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  385. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  386. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  387. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  388. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  389. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  390. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  391. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  392. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  393. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  394. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  395. package/docs/interfaces/LineJson.html +1 -1
  396. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  397. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  398. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  399. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  400. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  401. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  402. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  403. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  404. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  405. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  406. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  407. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  408. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  409. package/docs/interfaces/OpenParameter.html +2 -2
  410. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  411. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  412. package/docs/interfaces/PanoMeasureParameterType.html +5 -1
  413. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  414. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  415. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  416. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  417. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  418. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  419. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  420. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  421. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  422. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  423. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  424. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  425. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  426. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  427. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  428. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  429. package/docs/interfaces/Point.html +1 -1
  430. package/docs/interfaces/PointJson.html +1 -1
  431. package/docs/interfaces/Room.html +1 -1
  432. package/docs/interfaces/RoomInfo.html +1 -1
  433. package/docs/interfaces/RoomLabel.html +7 -7
  434. package/docs/interfaces/RoomRules.html +1 -1
  435. package/docs/interfaces/Rooms.html +1 -1
  436. package/docs/modules.html +18 -18
  437. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  438. package/libs/PanoMeasurePlugin/Controller/BaseController.js +21 -1
  439. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  440. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -16
  441. package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  442. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -13
  443. package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  444. package/libs/PanoMeasurePlugin/Controller/index.js +24 -1
  445. package/libs/PanoMeasurePlugin/Model/index.d.ts +3 -6
  446. package/libs/PanoMeasurePlugin/typings/index.d.ts +8 -0
  447. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  448. package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  449. package/libs/PanoMeasurePlugin/utils/distanceDom.js +2 -1
  450. package/libs/PanoRulerPlugin/Plugin.d.ts +5 -2
  451. package/libs/PanoRulerPlugin/Plugin.js +17 -0
  452. package/libs/floorplan/Components/CurrentFloor.js +32 -20
  453. package/libs/floorplan/Components/Main.js +31 -19
  454. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +24 -13
  455. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +40 -34
  456. package/libs/floorplan/Components/RuleLabels/RuleItem.js +46 -28
  457. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +61 -43
  458. package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +4 -2
  459. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +8 -1
  460. package/libs/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -107
  461. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -1
  462. package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  463. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -6
  464. package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -107
  465. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -1
  466. package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +4 -2
  467. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +11 -4
  468. package/libs/floorplan/TopviewFloorplanPlugin/typing.d.ts +5 -80
  469. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -1
  470. package/libs/floorplan/typings/index.d.ts +117 -0
  471. package/libs/floorplan/typings/index.js +1 -0
  472. package/package.json +2 -1
package/dist/index.es.js CHANGED
@@ -1654,7 +1654,7 @@ function add_css$j(target) {
1654
1654
  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}");
1655
1655
  }
1656
1656
 
1657
- // (95:30)
1657
+ // (96:30)
1658
1658
  function create_if_block_1$5(ctx) {
1659
1659
  let html_tag;
1660
1660
  let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
@@ -1680,13 +1680,14 @@ function create_if_block_1$5(ctx) {
1680
1680
  };
1681
1681
  }
1682
1682
 
1683
- // (89:2) {#if getLabelElement === undefined}
1683
+ // (90:2) {#if getLabelElement === undefined}
1684
1684
  function create_if_block$9(ctx) {
1685
1685
  let span0;
1686
1686
  let t0_value = /*room*/ ctx[0].name + "";
1687
1687
  let t0;
1688
1688
  let t1;
1689
1689
  let span1;
1690
+ let t2;
1690
1691
 
1691
1692
  return {
1692
1693
  c() {
@@ -1694,7 +1695,7 @@ function create_if_block$9(ctx) {
1694
1695
  t0 = text(t0_value);
1695
1696
  t1 = space();
1696
1697
  span1 = element("span");
1697
- span1.textContent = `${/*roomSizeDes*/ ctx[5]}`;
1698
+ t2 = text(/*roomSizeDes*/ ctx[5]);
1698
1699
  attr(span0, "class", "floorplan-plugin__room-name");
1699
1700
  attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
1700
1701
  },
@@ -1703,9 +1704,11 @@ function create_if_block$9(ctx) {
1703
1704
  append(span0, t0);
1704
1705
  insert(target, t1, anchor);
1705
1706
  insert(target, span1, anchor);
1707
+ append(span1, t2);
1706
1708
  },
1707
1709
  p(ctx, dirty) {
1708
1710
  if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) set_data(t0, t0_value);
1711
+ if (dirty & /*roomSizeDes*/ 32) set_data(t2, /*roomSizeDes*/ ctx[5]);
1709
1712
  },
1710
1713
  d(detaching) {
1711
1714
  if (detaching) detach(span0);
@@ -1739,7 +1742,7 @@ function create_fragment$o(ctx) {
1739
1742
  m(target, anchor) {
1740
1743
  insert(target, div, anchor);
1741
1744
  if (if_block) if_block.m(div, null);
1742
- /*div_binding*/ ctx[15](div);
1745
+ /*div_binding*/ ctx[16](div);
1743
1746
  },
1744
1747
  p(ctx, [dirty]) {
1745
1748
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -1767,7 +1770,7 @@ function create_fragment$o(ctx) {
1767
1770
  if_block.d();
1768
1771
  }
1769
1772
 
1770
- /*div_binding*/ ctx[15](null);
1773
+ /*div_binding*/ ctx[16](null);
1771
1774
  }
1772
1775
  };
1773
1776
  }
@@ -1790,12 +1793,14 @@ function isPointInPolygon(point, polygon) {
1790
1793
  }
1791
1794
 
1792
1795
  function instance$o($$self, $$props, $$invalidate) {
1796
+ let roomSizeDes;
1793
1797
  let isLabelInRoom;
1794
1798
  let userConfigElement;
1795
1799
  let labelVisible;
1796
1800
  let { pxmm } = $$props;
1797
1801
  let { room } = $$props;
1798
1802
  let { hoveredRoom } = $$props;
1803
+ let { getRoomAreaText } = $$props;
1799
1804
  let { getLabelElement } = $$props;
1800
1805
  let { adaptiveRoomLabelVisibleEnable } = $$props;
1801
1806
 
@@ -1835,7 +1840,6 @@ function instance$o($$self, $$props, $$invalidate) {
1835
1840
  const bodyWidth = document.body.clientWidth;
1836
1841
 
1837
1842
  const bodyHeight = document.body.clientHeight;
1838
- const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
1839
1843
 
1840
1844
  // ====================================
1841
1845
  const roomLabel = room.roomLabel;
@@ -1851,7 +1855,7 @@ function instance$o($$self, $$props, $$invalidate) {
1851
1855
  let labelElementSize;
1852
1856
 
1853
1857
  hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
1854
- $$invalidate(12, isHoverd = !!_room && _room.id === room.id);
1858
+ $$invalidate(13, isHoverd = !!_room && _room.id === room.id);
1855
1859
  });
1856
1860
 
1857
1861
  onMount(() => {
@@ -1861,7 +1865,7 @@ function instance$o($$self, $$props, $$invalidate) {
1861
1865
  ? void 0
1862
1866
  : labelElement.getClientRects()[0];
1863
1867
 
1864
- $$invalidate(13, labelElementSize = {
1868
+ $$invalidate(14, labelElementSize = {
1865
1869
  width: labelDomRect.width,
1866
1870
  height: labelDomRect.height
1867
1871
  });
@@ -1878,13 +1882,18 @@ function instance$o($$self, $$props, $$invalidate) {
1878
1882
  if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
1879
1883
  if ('room' in $$props) $$invalidate(0, room = $$props.room);
1880
1884
  if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
1885
+ if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
1881
1886
  if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
1882
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(11, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1887
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1883
1888
  };
1884
1889
 
1885
1890
  $$self.$$.update = () => {
1886
- if ($$self.$$.dirty & /*labelElementSize, room*/ 8193) {
1887
- $$invalidate(14, isLabelInRoom = labelElementSize
1891
+ if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
1892
+ $$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
1893
+ }
1894
+
1895
+ if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
1896
+ $$invalidate(15, isLabelInRoom = labelElementSize
1888
1897
  ? isLabelInRoomCurry(room, labelElementSize)
1889
1898
  : undefined);
1890
1899
  }
@@ -1895,7 +1904,7 @@ function instance$o($$self, $$props, $$invalidate) {
1895
1904
  : getLabelElement(room));
1896
1905
  }
1897
1906
 
1898
- if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 23040) {
1907
+ if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
1899
1908
  $$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
1900
1909
  ? isHoverd
1901
1910
  ? true
@@ -1918,6 +1927,7 @@ function instance$o($$self, $$props, $$invalidate) {
1918
1927
  fontSize,
1919
1928
  pxmm,
1920
1929
  hoveredRoom,
1930
+ getRoomAreaText,
1921
1931
  adaptiveRoomLabelVisibleEnable,
1922
1932
  isHoverd,
1923
1933
  labelElementSize,
@@ -1940,8 +1950,9 @@ class RoomLabel extends SvelteComponent {
1940
1950
  pxmm: 9,
1941
1951
  room: 0,
1942
1952
  hoveredRoom: 10,
1953
+ getRoomAreaText: 11,
1943
1954
  getLabelElement: 1,
1944
- adaptiveRoomLabelVisibleEnable: 11
1955
+ adaptiveRoomLabelVisibleEnable: 12
1945
1956
  },
1946
1957
  add_css$j
1947
1958
  );
@@ -1956,19 +1967,19 @@ function add_css$i(target) {
1956
1967
 
1957
1968
  function get_each_context$b(ctx, list, i) {
1958
1969
  const child_ctx = ctx.slice();
1959
- child_ctx[9] = list[i];
1970
+ child_ctx[10] = list[i];
1960
1971
  return child_ctx;
1961
1972
  }
1962
1973
 
1963
- // (17:0) {#if rooms}
1974
+ // (18:0) {#if rooms}
1964
1975
  function create_if_block$8(ctx) {
1965
1976
  let div;
1966
1977
  let each_blocks = [];
1967
1978
  let each_1_lookup = new Map();
1968
1979
  let div_resize_listener;
1969
1980
  let current;
1970
- let each_value = /*rooms*/ ctx[5];
1971
- const get_key = ctx => /*room*/ ctx[9].id;
1981
+ let each_value = /*rooms*/ ctx[6];
1982
+ const get_key = ctx => /*room*/ ctx[10].id;
1972
1983
 
1973
1984
  for (let i = 0; i < each_value.length; i += 1) {
1974
1985
  let child_ctx = get_each_context$b(ctx, each_value, i);
@@ -1985,7 +1996,7 @@ function create_if_block$8(ctx) {
1985
1996
  }
1986
1997
 
1987
1998
  attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
1988
- add_render_callback(() => /*div_elementresize_handler*/ ctx[8].call(div));
1999
+ add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
1989
2000
  },
1990
2001
  m(target, anchor) {
1991
2002
  insert(target, div, anchor);
@@ -1994,12 +2005,12 @@ function create_if_block$8(ctx) {
1994
2005
  each_blocks[i].m(div, null);
1995
2006
  }
1996
2007
 
1997
- div_resize_listener = add_resize_listener(div, /*div_elementresize_handler*/ ctx[8].bind(div));
2008
+ div_resize_listener = add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
1998
2009
  current = true;
1999
2010
  },
2000
2011
  p(ctx, dirty) {
2001
- if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55) {
2002
- each_value = /*rooms*/ ctx[5];
2012
+ if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
2013
+ each_value = /*rooms*/ ctx[6];
2003
2014
  group_outros();
2004
2015
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block$b, null, get_each_context$b);
2005
2016
  check_outros();
@@ -2033,7 +2044,7 @@ function create_if_block$8(ctx) {
2033
2044
  };
2034
2045
  }
2035
2046
 
2036
- // (19:4) {#each rooms as room (room.id)}
2047
+ // (20:4) {#each rooms as room (room.id)}
2037
2048
  function create_each_block$b(key_1, ctx) {
2038
2049
  let first;
2039
2050
  let roomlabel;
@@ -2041,11 +2052,12 @@ function create_each_block$b(key_1, ctx) {
2041
2052
 
2042
2053
  const roomlabel_spread_levels = [
2043
2054
  {
2044
- pxmm: /*pxmm*/ ctx[4],
2045
- room: /*room*/ ctx[9],
2046
- getLabelElement: /*getLabelElement*/ ctx[1],
2055
+ pxmm: /*pxmm*/ ctx[5],
2056
+ room: /*room*/ ctx[10],
2057
+ getLabelElement: /*getLabelElement*/ ctx[2],
2058
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
2047
2059
  hoveredRoom: /*hoveredRoom*/ ctx[0],
2048
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
2060
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
2049
2061
  }
2050
2062
  ];
2051
2063
 
@@ -2073,14 +2085,15 @@ function create_each_block$b(key_1, ctx) {
2073
2085
  p(new_ctx, dirty) {
2074
2086
  ctx = new_ctx;
2075
2087
 
2076
- const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55)
2088
+ const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
2077
2089
  ? get_spread_update(roomlabel_spread_levels, [
2078
2090
  {
2079
- pxmm: /*pxmm*/ ctx[4],
2080
- room: /*room*/ ctx[9],
2081
- getLabelElement: /*getLabelElement*/ ctx[1],
2091
+ pxmm: /*pxmm*/ ctx[5],
2092
+ room: /*room*/ ctx[10],
2093
+ getLabelElement: /*getLabelElement*/ ctx[2],
2094
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
2082
2095
  hoveredRoom: /*hoveredRoom*/ ctx[0],
2083
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
2096
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
2084
2097
  }
2085
2098
  ])
2086
2099
  : {};
@@ -2106,7 +2119,7 @@ function create_each_block$b(key_1, ctx) {
2106
2119
  function create_fragment$n(ctx) {
2107
2120
  let if_block_anchor;
2108
2121
  let current;
2109
- let if_block = /*rooms*/ ctx[5] && create_if_block$8(ctx);
2122
+ let if_block = /*rooms*/ ctx[6] && create_if_block$8(ctx);
2110
2123
 
2111
2124
  return {
2112
2125
  c() {
@@ -2119,11 +2132,11 @@ function create_fragment$n(ctx) {
2119
2132
  current = true;
2120
2133
  },
2121
2134
  p(ctx, [dirty]) {
2122
- if (/*rooms*/ ctx[5]) {
2135
+ if (/*rooms*/ ctx[6]) {
2123
2136
  if (if_block) {
2124
2137
  if_block.p(ctx, dirty);
2125
2138
 
2126
- if (dirty & /*rooms*/ 32) {
2139
+ if (dirty & /*rooms*/ 64) {
2127
2140
  transition_in(if_block, 1);
2128
2141
  }
2129
2142
  } else {
@@ -2163,6 +2176,7 @@ function instance$n($$self, $$props, $$invalidate) {
2163
2176
  let { floorIndex } = $$props;
2164
2177
  let { floorplanData } = $$props;
2165
2178
  let { hoveredRoom } = $$props;
2179
+ let { getRoomAreaText } = $$props;
2166
2180
  let { getLabelElement } = $$props;
2167
2181
  let { adaptiveRoomLabelVisibleEnable } = $$props;
2168
2182
  let clientWidth = 0;
@@ -2170,33 +2184,35 @@ function instance$n($$self, $$props, $$invalidate) {
2170
2184
 
2171
2185
  function div_elementresize_handler() {
2172
2186
  clientWidth = this.clientWidth;
2173
- $$invalidate(3, clientWidth);
2187
+ $$invalidate(4, clientWidth);
2174
2188
  }
2175
2189
 
2176
2190
  $$self.$$set = $$props => {
2177
- if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
2178
- if ('floorplanData' in $$props) $$invalidate(7, floorplanData = $$props.floorplanData);
2191
+ if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
2192
+ if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
2179
2193
  if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
2180
- if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
2181
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(2, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
2194
+ if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
2195
+ if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
2196
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
2182
2197
  };
2183
2198
 
2184
2199
  $$self.$$.update = () => {
2185
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 192) {
2186
- $$invalidate(5, rooms = floorplanData.floorDatas[floorIndex].rooms);
2200
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
2201
+ $$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
2187
2202
  }
2188
2203
 
2189
- if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 136) {
2204
+ if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
2190
2205
  {
2191
2206
  const { max, min } = floorplanData.bounding;
2192
2207
  const boundingWidth = max.x - min.x;
2193
- $$invalidate(4, pxmm = clientWidth / boundingWidth);
2208
+ $$invalidate(5, pxmm = clientWidth / boundingWidth);
2194
2209
  }
2195
2210
  }
2196
2211
  };
2197
2212
 
2198
2213
  return [
2199
2214
  hoveredRoom,
2215
+ getRoomAreaText,
2200
2216
  getLabelElement,
2201
2217
  adaptiveRoomLabelVisibleEnable,
2202
2218
  clientWidth,
@@ -2219,11 +2235,12 @@ class RoomLabels extends SvelteComponent {
2219
2235
  create_fragment$n,
2220
2236
  safe_not_equal,
2221
2237
  {
2222
- floorIndex: 6,
2223
- floorplanData: 7,
2238
+ floorIndex: 7,
2239
+ floorplanData: 8,
2224
2240
  hoveredRoom: 0,
2225
- getLabelElement: 1,
2226
- adaptiveRoomLabelVisibleEnable: 2
2241
+ getRoomAreaText: 1,
2242
+ getLabelElement: 2,
2243
+ adaptiveRoomLabelVisibleEnable: 3
2227
2244
  },
2228
2245
  add_css$i
2229
2246
  );
@@ -2238,18 +2255,18 @@ function add_css$h(target) {
2238
2255
 
2239
2256
  function get_each_context$a(ctx, list, i) {
2240
2257
  const child_ctx = ctx.slice();
2241
- child_ctx[10] = list[i];
2242
- child_ctx[12] = i;
2258
+ child_ctx[11] = list[i];
2259
+ child_ctx[13] = i;
2243
2260
  return child_ctx;
2244
2261
  }
2245
2262
 
2246
2263
  function get_each_context_1(ctx, list, i) {
2247
2264
  const child_ctx = ctx.slice();
2248
- child_ctx[13] = list[i];
2265
+ child_ctx[14] = list[i];
2249
2266
  return child_ctx;
2250
2267
  }
2251
2268
 
2252
- // (47:4) {#each rulerLabels as rulerLabel}
2269
+ // (48:4) {#each rulerLabels as rulerLabel}
2253
2270
  function create_each_block_1(ctx) {
2254
2271
  let div;
2255
2272
 
@@ -2257,8 +2274,8 @@ function create_each_block_1(ctx) {
2257
2274
  c() {
2258
2275
  div = element("div");
2259
2276
  attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
2260
- set_style(div, "left", /*rulerLabel*/ ctx[13].left * 100 + '%', false);
2261
- set_style(div, "bottom", /*rulerLabel*/ ctx[13].bottom * 100 + '%', false);
2277
+ set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
2278
+ set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
2262
2279
  },
2263
2280
  m(target, anchor) {
2264
2281
  insert(target, div, anchor);
@@ -2270,11 +2287,11 @@ function create_each_block_1(ctx) {
2270
2287
  };
2271
2288
  }
2272
2289
 
2273
- // (56:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
2290
+ // (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
2274
2291
  function create_each_block$a(key_1, ctx) {
2275
2292
  let div1;
2276
2293
  let div0;
2277
- let t0_value = /*textItem*/ ctx[10].distance + "";
2294
+ let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
2278
2295
  let t0;
2279
2296
  let t1;
2280
2297
 
@@ -2287,10 +2304,10 @@ function create_each_block$a(key_1, ctx) {
2287
2304
  t0 = text(t0_value);
2288
2305
  t1 = space();
2289
2306
  attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
2290
- toggle_class(div0, "is-row", /*isRow*/ ctx[1]);
2307
+ toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
2291
2308
  attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
2292
- set_style(div1, "left", /*textItem*/ ctx[10].left * 100 + '%', false);
2293
- set_style(div1, "bottom", /*textItem*/ ctx[10].bottom * 100 + '%', false);
2309
+ set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
2310
+ set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
2294
2311
  this.first = div1;
2295
2312
  },
2296
2313
  m(target, anchor) {
@@ -2301,6 +2318,7 @@ function create_each_block$a(key_1, ctx) {
2301
2318
  },
2302
2319
  p(new_ctx, dirty) {
2303
2320
  ctx = new_ctx;
2321
+ if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) set_data(t0, t0_value);
2304
2322
  },
2305
2323
  d(detaching) {
2306
2324
  if (detaching) detach(div1);
@@ -2318,15 +2336,15 @@ function create_fragment$m(ctx) {
2318
2336
  let each_blocks = [];
2319
2337
  let each1_lookup = new Map();
2320
2338
  let div3_class_value;
2321
- let each_value_1 = /*rulerLabels*/ ctx[2];
2339
+ let each_value_1 = /*rulerLabels*/ ctx[3];
2322
2340
  let each_blocks_1 = [];
2323
2341
 
2324
2342
  for (let i = 0; i < each_value_1.length; i += 1) {
2325
2343
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
2326
2344
  }
2327
2345
 
2328
- let each_value = /*rulerTexts*/ ctx[3];
2329
- const get_key = ctx => /*textItemIndex*/ ctx[12];
2346
+ let each_value = /*rulerTexts*/ ctx[4];
2347
+ const get_key = ctx => /*textItemIndex*/ ctx[13];
2330
2348
 
2331
2349
  for (let i = 0; i < each_value.length; i += 1) {
2332
2350
  let child_ctx = get_each_context$a(ctx, each_value, i);
@@ -2354,12 +2372,12 @@ function create_fragment$m(ctx) {
2354
2372
 
2355
2373
  attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
2356
2374
  attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
2357
- toggle_class(div1, "is-row", /*isRow*/ ctx[1]);
2375
+ toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
2358
2376
  attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
2359
2377
  attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
2360
- toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
2361
- set_style(div3, "width", /*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
2362
- set_style(div3, "height", !/*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
2378
+ toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
2379
+ set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
2380
+ set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
2363
2381
  },
2364
2382
  m(target, anchor) {
2365
2383
  insert(target, div3, anchor);
@@ -2379,8 +2397,8 @@ function create_fragment$m(ctx) {
2379
2397
  }
2380
2398
  },
2381
2399
  p(ctx, [dirty]) {
2382
- if (dirty & /*rulerLabels*/ 4) {
2383
- each_value_1 = /*rulerLabels*/ ctx[2];
2400
+ if (dirty & /*rulerLabels*/ 8) {
2401
+ each_value_1 = /*rulerLabels*/ ctx[3];
2384
2402
  let i;
2385
2403
 
2386
2404
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -2402,8 +2420,8 @@ function create_fragment$m(ctx) {
2402
2420
  each_blocks_1.length = each_value_1.length;
2403
2421
  }
2404
2422
 
2405
- if (dirty & /*rulerTexts, isRow*/ 10) {
2406
- each_value = /*rulerTexts*/ ctx[3];
2423
+ if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
2424
+ each_value = /*rulerTexts*/ ctx[4];
2407
2425
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, destroy_block, create_each_block$a, null, get_each_context$a);
2408
2426
  }
2409
2427
 
@@ -2411,8 +2429,8 @@ function create_fragment$m(ctx) {
2411
2429
  attr(div3, "class", div3_class_value);
2412
2430
  }
2413
2431
 
2414
- if (dirty & /*type, isRow*/ 3) {
2415
- toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
2432
+ if (dirty & /*type, isRow*/ 5) {
2433
+ toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
2416
2434
  }
2417
2435
  },
2418
2436
  i: noop$1,
@@ -2435,6 +2453,7 @@ function instance$m($$self, $$props, $$invalidate) {
2435
2453
  let { type } = $$props;
2436
2454
  let { data } = $$props;
2437
2455
  let { bounding } = $$props;
2456
+ let { getRuleDistanceText } = $$props;
2438
2457
  const isRow = type === 'top' || type === 'bottom';
2439
2458
  const contentWidth = bounding.max.x - bounding.min.x - (padding$1 - exteriorWallOffset$1) * 2;
2440
2459
  const contentHeight = bounding.max.y - bounding.min.y - (padding$1 - exteriorWallOffset$1) * 2;
@@ -2480,17 +2499,32 @@ function instance$m($$self, $$props, $$invalidate) {
2480
2499
 
2481
2500
  $$self.$$set = $$props => {
2482
2501
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
2483
- if ('data' in $$props) $$invalidate(4, data = $$props.data);
2484
- if ('bounding' in $$props) $$invalidate(5, bounding = $$props.bounding);
2502
+ if ('data' in $$props) $$invalidate(5, data = $$props.data);
2503
+ if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
2504
+ if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
2485
2505
  };
2486
2506
 
2487
- return [type, isRow, rulerLabels, rulerTexts, data, bounding];
2507
+ return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
2488
2508
  }
2489
2509
 
2490
2510
  class RuleItem extends SvelteComponent {
2491
2511
  constructor(options) {
2492
2512
  super();
2493
- init(this, options, instance$m, create_fragment$m, safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$h);
2513
+
2514
+ init(
2515
+ this,
2516
+ options,
2517
+ instance$m,
2518
+ create_fragment$m,
2519
+ safe_not_equal,
2520
+ {
2521
+ type: 0,
2522
+ data: 5,
2523
+ bounding: 6,
2524
+ getRuleDistanceText: 1
2525
+ },
2526
+ add_css$h
2527
+ );
2494
2528
  }
2495
2529
  }
2496
2530
 
@@ -2502,12 +2536,12 @@ function add_css$g(target) {
2502
2536
 
2503
2537
  function get_each_context$9(ctx, list, i) {
2504
2538
  const child_ctx = ctx.slice();
2505
- child_ctx[12] = list[i][0];
2506
- child_ctx[13] = list[i][1];
2539
+ child_ctx[13] = list[i][0];
2540
+ child_ctx[14] = list[i][1];
2507
2541
  return child_ctx;
2508
2542
  }
2509
2543
 
2510
- // (19:2) {#each ruleLabelArray as [type, data] (type)}
2544
+ // (20:2) {#each ruleLabelArray as [type, data] (type)}
2511
2545
  function create_each_block$9(key_1, ctx) {
2512
2546
  let first;
2513
2547
  let ruleitem;
@@ -2515,9 +2549,10 @@ function create_each_block$9(key_1, ctx) {
2515
2549
 
2516
2550
  const ruleitem_spread_levels = [
2517
2551
  {
2518
- type: /*type*/ ctx[12],
2519
- data: /*data*/ ctx[13],
2520
- bounding: /*bounding*/ ctx[0]
2552
+ type: /*type*/ ctx[13],
2553
+ data: /*data*/ ctx[14],
2554
+ bounding: /*bounding*/ ctx[1],
2555
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
2521
2556
  }
2522
2557
  ];
2523
2558
 
@@ -2545,12 +2580,13 @@ function create_each_block$9(key_1, ctx) {
2545
2580
  p(new_ctx, dirty) {
2546
2581
  ctx = new_ctx;
2547
2582
 
2548
- const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/ 9)
2583
+ const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
2549
2584
  ? get_spread_update(ruleitem_spread_levels, [
2550
2585
  {
2551
- type: /*type*/ ctx[12],
2552
- data: /*data*/ ctx[13],
2553
- bounding: /*bounding*/ ctx[0]
2586
+ type: /*type*/ ctx[13],
2587
+ data: /*data*/ ctx[14],
2588
+ bounding: /*bounding*/ ctx[1],
2589
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
2554
2590
  }
2555
2591
  ])
2556
2592
  : {};
@@ -2578,8 +2614,8 @@ function create_fragment$l(ctx) {
2578
2614
  let each_blocks = [];
2579
2615
  let each_1_lookup = new Map();
2580
2616
  let current;
2581
- let each_value = /*ruleLabelArray*/ ctx[3];
2582
- const get_key = ctx => /*type*/ ctx[12];
2617
+ let each_value = /*ruleLabelArray*/ ctx[4];
2618
+ const get_key = ctx => /*type*/ ctx[13];
2583
2619
 
2584
2620
  for (let i = 0; i < each_value.length; i += 1) {
2585
2621
  let child_ctx = get_each_context$9(ctx, each_value, i);
@@ -2596,8 +2632,8 @@ function create_fragment$l(ctx) {
2596
2632
  }
2597
2633
 
2598
2634
  attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
2599
- set_style(div, "width", /*width*/ ctx[2], false);
2600
- set_style(div, "height", /*height*/ ctx[1], false);
2635
+ set_style(div, "width", /*width*/ ctx[3], false);
2636
+ set_style(div, "height", /*height*/ ctx[2], false);
2601
2637
  },
2602
2638
  m(target, anchor) {
2603
2639
  insert(target, div, anchor);
@@ -2609,19 +2645,19 @@ function create_fragment$l(ctx) {
2609
2645
  current = true;
2610
2646
  },
2611
2647
  p(ctx, [dirty]) {
2612
- if (dirty & /*ruleLabelArray, bounding*/ 9) {
2613
- each_value = /*ruleLabelArray*/ ctx[3];
2648
+ if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
2649
+ each_value = /*ruleLabelArray*/ ctx[4];
2614
2650
  group_outros();
2615
2651
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block$9, null, get_each_context$9);
2616
2652
  check_outros();
2617
2653
  }
2618
2654
 
2619
- if (dirty & /*width*/ 4) {
2620
- set_style(div, "width", /*width*/ ctx[2], false);
2655
+ if (dirty & /*width*/ 8) {
2656
+ set_style(div, "width", /*width*/ ctx[3], false);
2621
2657
  }
2622
2658
 
2623
- if (dirty & /*height*/ 2) {
2624
- set_style(div, "height", /*height*/ ctx[1], false);
2659
+ if (dirty & /*height*/ 4) {
2660
+ set_style(div, "height", /*height*/ ctx[2], false);
2625
2661
  }
2626
2662
  },
2627
2663
  i(local) {
@@ -2666,55 +2702,58 @@ function instance$l($$self, $$props, $$invalidate) {
2666
2702
  let height;
2667
2703
  let { floorIndex } = $$props;
2668
2704
  let { floorplanData } = $$props;
2705
+ let { getRuleDistanceText } = $$props;
2669
2706
 
2670
2707
  $$self.$$set = $$props => {
2671
- if ('floorIndex' in $$props) $$invalidate(4, floorIndex = $$props.floorIndex);
2672
- if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
2708
+ if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
2709
+ if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
2710
+ if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
2673
2711
  };
2674
2712
 
2675
2713
  $$self.$$.update = () => {
2676
- if ($$self.$$.dirty & /*floorplanData*/ 32) {
2677
- $$invalidate(0, bounding = floorplanData.bounding);
2714
+ if ($$self.$$.dirty & /*floorplanData*/ 64) {
2715
+ $$invalidate(1, bounding = floorplanData.bounding);
2678
2716
  }
2679
2717
 
2680
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 48) {
2681
- $$invalidate(10, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
2718
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
2719
+ $$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
2682
2720
  }
2683
2721
 
2684
- if ($$self.$$.dirty & /*ruleLabelData*/ 1024) {
2685
- $$invalidate(11, ruleLabelDataKeys = Object.keys(ruleLabelData));
2722
+ if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
2723
+ $$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
2686
2724
  }
2687
2725
 
2688
- if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 3072) {
2689
- $$invalidate(3, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
2726
+ if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
2727
+ $$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
2690
2728
  }
2691
2729
 
2692
- if ($$self.$$.dirty & /*bounding*/ 1) {
2693
- $$invalidate(8, boundingWidth = bounding.max.x - bounding.min.x);
2730
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2731
+ $$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
2694
2732
  }
2695
2733
 
2696
- if ($$self.$$.dirty & /*bounding*/ 1) {
2697
- $$invalidate(6, boundingHeight = bounding.max.y - bounding.min.y);
2734
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2735
+ $$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
2698
2736
  }
2699
2737
 
2700
- if ($$self.$$.dirty & /*bounding*/ 1) {
2701
- $$invalidate(9, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
2738
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2739
+ $$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
2702
2740
  }
2703
2741
 
2704
- if ($$self.$$.dirty & /*bounding*/ 1) {
2705
- $$invalidate(7, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
2742
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2743
+ $$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
2706
2744
  }
2707
2745
 
2708
- if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 768) {
2709
- $$invalidate(2, width = contentWidth / boundingWidth * 100 + '%');
2746
+ if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
2747
+ $$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
2710
2748
  }
2711
2749
 
2712
- if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 192) {
2713
- $$invalidate(1, height = contentHeight / boundingHeight * 100 + '%');
2750
+ if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
2751
+ $$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
2714
2752
  }
2715
2753
  };
2716
2754
 
2717
2755
  return [
2756
+ getRuleDistanceText,
2718
2757
  bounding,
2719
2758
  height,
2720
2759
  width,
@@ -2733,7 +2772,20 @@ function instance$l($$self, $$props, $$invalidate) {
2733
2772
  class RuleLabels extends SvelteComponent {
2734
2773
  constructor(options) {
2735
2774
  super();
2736
- init(this, options, instance$l, create_fragment$l, safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$g);
2775
+
2776
+ init(
2777
+ this,
2778
+ options,
2779
+ instance$l,
2780
+ create_fragment$l,
2781
+ safe_not_equal,
2782
+ {
2783
+ floorIndex: 5,
2784
+ floorplanData: 6,
2785
+ getRuleDistanceText: 0
2786
+ },
2787
+ add_css$g
2788
+ );
2737
2789
  }
2738
2790
  }
2739
2791
 
@@ -3644,7 +3696,7 @@ function add_css$c(target) {
3644
3696
  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}");
3645
3697
  }
3646
3698
 
3647
- // (20:2) {#if hoverEnable}
3699
+ // (22:2) {#if hoverEnable}
3648
3700
  function create_if_block_2(ctx) {
3649
3701
  let roomhighlight;
3650
3702
  let current;
@@ -3653,7 +3705,7 @@ function create_if_block_2(ctx) {
3653
3705
  {
3654
3706
  floorIndex: /*floorIndex*/ ctx[1],
3655
3707
  floorplanData: /*floorplanData*/ ctx[5],
3656
- hoveredRoom: /*hoveredRoom*/ ctx[8]
3708
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
3657
3709
  }
3658
3710
  ];
3659
3711
 
@@ -3674,12 +3726,12 @@ function create_if_block_2(ctx) {
3674
3726
  current = true;
3675
3727
  },
3676
3728
  p(ctx, dirty) {
3677
- const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 290)
3729
+ const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
3678
3730
  ? get_spread_update(roomhighlight_spread_levels, [
3679
3731
  {
3680
3732
  floorIndex: /*floorIndex*/ ctx[1],
3681
3733
  floorplanData: /*floorplanData*/ ctx[5],
3682
- hoveredRoom: /*hoveredRoom*/ ctx[8]
3734
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
3683
3735
  }
3684
3736
  ])
3685
3737
  : {};
@@ -3701,7 +3753,7 @@ function create_if_block_2(ctx) {
3701
3753
  };
3702
3754
  }
3703
3755
 
3704
- // (24:2) {#if roomLabelsEnable}
3756
+ // (26:2) {#if roomLabelsEnable}
3705
3757
  function create_if_block_1$3(ctx) {
3706
3758
  let roomlabels;
3707
3759
  let current;
@@ -3710,9 +3762,10 @@ function create_if_block_1$3(ctx) {
3710
3762
  {
3711
3763
  floorplanData: /*floorplanData*/ ctx[5],
3712
3764
  floorIndex: /*floorIndex*/ ctx[1],
3713
- getLabelElement: /*getLabelElement*/ ctx[6],
3714
- hoveredRoom: /*hoveredRoom*/ ctx[8],
3715
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
3765
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
3766
+ getLabelElement: /*getLabelElement*/ ctx[7],
3767
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
3768
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
3716
3769
  }
3717
3770
  ];
3718
3771
 
@@ -3733,14 +3786,15 @@ function create_if_block_1$3(ctx) {
3733
3786
  current = true;
3734
3787
  },
3735
3788
  p(ctx, dirty) {
3736
- const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 482)
3789
+ const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
3737
3790
  ? get_spread_update(roomlabels_spread_levels, [
3738
3791
  {
3739
3792
  floorplanData: /*floorplanData*/ ctx[5],
3740
3793
  floorIndex: /*floorIndex*/ ctx[1],
3741
- getLabelElement: /*getLabelElement*/ ctx[6],
3742
- hoveredRoom: /*hoveredRoom*/ ctx[8],
3743
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
3794
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
3795
+ getLabelElement: /*getLabelElement*/ ctx[7],
3796
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
3797
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
3744
3798
  }
3745
3799
  ])
3746
3800
  : {};
@@ -3762,7 +3816,7 @@ function create_if_block_1$3(ctx) {
3762
3816
  };
3763
3817
  }
3764
3818
 
3765
- // (27:2) {#if ruleLabelsEnable}
3819
+ // (38:2) {#if ruleLabelsEnable}
3766
3820
  function create_if_block$6(ctx) {
3767
3821
  let rulelabels;
3768
3822
  let current;
@@ -3770,7 +3824,8 @@ function create_if_block$6(ctx) {
3770
3824
  const rulelabels_spread_levels = [
3771
3825
  {
3772
3826
  floorplanData: /*floorplanData*/ ctx[5],
3773
- floorIndex: /*floorIndex*/ ctx[1]
3827
+ floorIndex: /*floorIndex*/ ctx[1],
3828
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
3774
3829
  }
3775
3830
  ];
3776
3831
 
@@ -3791,11 +3846,12 @@ function create_if_block$6(ctx) {
3791
3846
  current = true;
3792
3847
  },
3793
3848
  p(ctx, dirty) {
3794
- const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/ 34)
3849
+ const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
3795
3850
  ? get_spread_update(rulelabels_spread_levels, [
3796
3851
  {
3797
3852
  floorplanData: /*floorplanData*/ ctx[5],
3798
- floorIndex: /*floorIndex*/ ctx[1]
3853
+ floorIndex: /*floorIndex*/ ctx[1],
3854
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
3799
3855
  }
3800
3856
  ])
3801
3857
  : {};
@@ -4024,7 +4080,9 @@ function instance$e($$self, $$props, $$invalidate) {
4024
4080
  let { roomLabelsEnable } = $$props;
4025
4081
  let { ruleLabelsEnable } = $$props;
4026
4082
  let { floorplanData } = $$props;
4083
+ let { getRoomAreaText } = $$props;
4027
4084
  let { getLabelElement } = $$props;
4085
+ let { getRuleDistanceText } = $$props;
4028
4086
  let { adaptiveRoomLabelVisibleEnable } = $$props;
4029
4087
  const hoveredRoom = writable(undefined);
4030
4088
 
@@ -4035,8 +4093,10 @@ function instance$e($$self, $$props, $$invalidate) {
4035
4093
  if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
4036
4094
  if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
4037
4095
  if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
4038
- if ('getLabelElement' in $$props) $$invalidate(6, getLabelElement = $$props.getLabelElement);
4039
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(7, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4096
+ if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
4097
+ if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
4098
+ if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
4099
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4040
4100
  };
4041
4101
 
4042
4102
  return [
@@ -4046,7 +4106,9 @@ function instance$e($$self, $$props, $$invalidate) {
4046
4106
  roomLabelsEnable,
4047
4107
  ruleLabelsEnable,
4048
4108
  floorplanData,
4109
+ getRoomAreaText,
4049
4110
  getLabelElement,
4111
+ getRuleDistanceText,
4050
4112
  adaptiveRoomLabelVisibleEnable,
4051
4113
  hoveredRoom
4052
4114
  ];
@@ -4069,8 +4131,10 @@ class CurrentFloor$1 extends SvelteComponent {
4069
4131
  roomLabelsEnable: 3,
4070
4132
  ruleLabelsEnable: 4,
4071
4133
  floorplanData: 5,
4072
- getLabelElement: 6,
4073
- adaptiveRoomLabelVisibleEnable: 7
4134
+ getRoomAreaText: 6,
4135
+ getLabelElement: 7,
4136
+ getRuleDistanceText: 8,
4137
+ adaptiveRoomLabelVisibleEnable: 9
4074
4138
  },
4075
4139
  add_css$c
4076
4140
  );
@@ -4085,11 +4149,11 @@ function add_css$b(target) {
4085
4149
 
4086
4150
  function get_each_context$6(ctx, list, i) {
4087
4151
  const child_ctx = ctx.slice();
4088
- child_ctx[14] = list[i];
4152
+ child_ctx[16] = list[i];
4089
4153
  return child_ctx;
4090
4154
  }
4091
4155
 
4092
- // (22:0) {#if visible}
4156
+ // (24:0) {#if visible}
4093
4157
  function create_if_block$5(ctx) {
4094
4158
  let div;
4095
4159
  let t0;
@@ -4156,7 +4220,7 @@ function create_if_block$5(ctx) {
4156
4220
  p(new_ctx, dirty) {
4157
4221
  ctx = new_ctx;
4158
4222
 
4159
- if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232) {
4223
+ if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
4160
4224
  each_value = /*floorplanData*/ ctx[9].floorDatas;
4161
4225
  let i;
4162
4226
 
@@ -4262,7 +4326,7 @@ function create_if_block$5(ctx) {
4262
4326
  };
4263
4327
  }
4264
4328
 
4265
- // (24:4) {#each floorplanData.floorDatas as floorData}
4329
+ // (26:4) {#each floorplanData.floorDatas as floorData}
4266
4330
  function create_each_block$6(ctx) {
4267
4331
  let currentfloor;
4268
4332
  let current;
@@ -4271,16 +4335,18 @@ function create_each_block$6(ctx) {
4271
4335
  {
4272
4336
  hoverEnable: /*hoverEnable*/ ctx[5],
4273
4337
  floorplanData: /*floorplanData*/ ctx[9],
4274
- getLabelElement: /*getLabelElement*/ ctx[12],
4338
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
4339
+ getLabelElement: /*getLabelElement*/ ctx[13],
4340
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
4275
4341
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
4276
4342
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
4277
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
4343
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
4278
4344
  },
4279
4345
  {
4280
- floorIndex: /*floorData*/ ctx[14].floorIndex
4346
+ floorIndex: /*floorData*/ ctx[16].floorIndex
4281
4347
  },
4282
4348
  {
4283
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
4349
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
4284
4350
  }
4285
4351
  ];
4286
4352
 
@@ -4301,21 +4367,23 @@ function create_each_block$6(ctx) {
4301
4367
  current = true;
4302
4368
  },
4303
4369
  p(ctx, dirty) {
4304
- const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232)
4370
+ const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
4305
4371
  ? get_spread_update(currentfloor_spread_levels, [
4306
- dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 13216 && {
4372
+ dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
4307
4373
  hoverEnable: /*hoverEnable*/ ctx[5],
4308
4374
  floorplanData: /*floorplanData*/ ctx[9],
4309
- getLabelElement: /*getLabelElement*/ ctx[12],
4375
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
4376
+ getLabelElement: /*getLabelElement*/ ctx[13],
4377
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
4310
4378
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
4311
4379
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
4312
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
4380
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
4313
4381
  },
4314
4382
  dirty & /*floorplanData*/ 512 && {
4315
- floorIndex: /*floorData*/ ctx[14].floorIndex
4383
+ floorIndex: /*floorData*/ ctx[16].floorIndex
4316
4384
  },
4317
4385
  dirty & /*floorplanData, floorIndex*/ 528 && {
4318
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
4386
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
4319
4387
  }
4320
4388
  ])
4321
4389
  : {};
@@ -4337,7 +4405,7 @@ function create_each_block$6(ctx) {
4337
4405
  };
4338
4406
  }
4339
4407
 
4340
- // (39:4) {#if compassEnable}
4408
+ // (43:4) {#if compassEnable}
4341
4409
  function create_if_block_1$2(ctx) {
4342
4410
  let compass;
4343
4411
  let current;
@@ -4446,7 +4514,9 @@ function instance$d($$self, $$props, $$invalidate) {
4446
4514
  let { floorplanData } = $$props;
4447
4515
  let { lastPanoramaLongitude } = $$props;
4448
4516
  let { cameraImageUrl } = $$props;
4517
+ let { getRoomAreaText } = $$props;
4449
4518
  let { getLabelElement } = $$props;
4519
+ let { getRuleDistanceText } = $$props;
4450
4520
  let { adaptiveRoomLabelVisibleEnable } = $$props;
4451
4521
 
4452
4522
  $$self.$$set = $$props => {
@@ -4462,8 +4532,10 @@ function instance$d($$self, $$props, $$invalidate) {
4462
4532
  if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
4463
4533
  if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
4464
4534
  if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
4465
- if ('getLabelElement' in $$props) $$invalidate(12, getLabelElement = $$props.getLabelElement);
4466
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(13, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4535
+ if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
4536
+ if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
4537
+ if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
4538
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4467
4539
  };
4468
4540
 
4469
4541
  return [
@@ -4479,7 +4551,9 @@ function instance$d($$self, $$props, $$invalidate) {
4479
4551
  floorplanData,
4480
4552
  lastPanoramaLongitude,
4481
4553
  cameraImageUrl,
4554
+ getRoomAreaText,
4482
4555
  getLabelElement,
4556
+ getRuleDistanceText,
4483
4557
  adaptiveRoomLabelVisibleEnable
4484
4558
  ];
4485
4559
  }
@@ -4507,8 +4581,10 @@ class Main$1 extends SvelteComponent {
4507
4581
  floorplanData: 9,
4508
4582
  lastPanoramaLongitude: 10,
4509
4583
  cameraImageUrl: 11,
4510
- getLabelElement: 12,
4511
- adaptiveRoomLabelVisibleEnable: 13
4584
+ getRoomAreaText: 12,
4585
+ getLabelElement: 13,
4586
+ getRuleDistanceText: 14,
4587
+ adaptiveRoomLabelVisibleEnable: 15
4512
4588
  },
4513
4589
  add_css$b
4514
4590
  );
@@ -5372,10 +5448,12 @@ class Controller$5 extends Controller$6 {
5372
5448
  autoShowEnable: true,
5373
5449
  ruleLabelsEnable: true,
5374
5450
  roomLabelsEnable: true,
5451
+ adaptiveRoomLabelVisibleEnable: true,
5375
5452
  cameraImageUrl: CAMERA_IMAGE,
5376
5453
  attachedTo: FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
5377
5454
  getLabelElement: undefined,
5378
- adaptiveRoomLabelVisibleEnable: true,
5455
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
5456
+ getRuleDistanceText: (distance) => distance.toString()
5379
5457
  };
5380
5458
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
5381
5459
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -5448,12 +5526,10 @@ class Controller$5 extends Controller$6 {
5448
5526
  const options = { userAction };
5449
5527
  state.visible ? this._show(options) : this._hide(options);
5450
5528
  }
5529
+ this.render();
5451
5530
  }
5452
- changeConfigs(_config, userAction = true) {
5453
- const config = Object.assign(Object.assign({}, this.state.config), _config);
5531
+ changeConfigs(config, userAction = true) {
5454
5532
  this.updateState({ config }, userAction);
5455
- if (!this.container)
5456
- return;
5457
5533
  this.render();
5458
5534
  }
5459
5535
  async formatData(serverData) {
@@ -5461,7 +5537,8 @@ class Controller$5 extends Controller$6 {
5461
5537
  }
5462
5538
  updateState(state, userAction) {
5463
5539
  const prevState = this.state;
5464
- this.state = Object.assign(Object.assign({}, this.state), state);
5540
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
5541
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
5465
5542
  if (equal(this.state, prevState, { deep: true }))
5466
5543
  return;
5467
5544
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -6048,6 +6125,8 @@ class Controller$4 extends Controller$6 {
6048
6125
  attachedTo: FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
6049
6126
  getLabelElement: undefined,
6050
6127
  adaptiveRoomLabelVisibleEnable: true,
6128
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
6129
+ getRuleDistanceText: (distance) => distance.toString()
6051
6130
  };
6052
6131
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
6053
6132
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -6121,6 +6200,10 @@ class Controller$4 extends Controller$6 {
6121
6200
  state.visible ? this._show(options) : this._hide(options);
6122
6201
  }
6123
6202
  }
6203
+ changeConfigs(config, userAction = true) {
6204
+ this.updateState({ config }, userAction);
6205
+ this.render();
6206
+ }
6124
6207
  /** 更新户型图位置 */
6125
6208
  updatePosition() {
6126
6209
  var _a;
@@ -6139,7 +6222,8 @@ class Controller$4 extends Controller$6 {
6139
6222
  }
6140
6223
  updateState(state, userAction) {
6141
6224
  const prevState = this.state;
6142
- this.state = Object.assign(Object.assign({}, this.state), state);
6225
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
6226
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
6143
6227
  if (equal(this.state, prevState, { deep: true }))
6144
6228
  return;
6145
6229
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -6476,6 +6560,8 @@ class Controller$3 extends Controller$6 {
6476
6560
  attachedTo: FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
6477
6561
  getLabelElement: undefined,
6478
6562
  adaptiveRoomLabelVisibleEnable: true,
6563
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
6564
+ getRuleDistanceText: (distance) => distance.toString()
6479
6565
  };
6480
6566
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
6481
6567
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -6577,6 +6663,10 @@ class Controller$3 extends Controller$6 {
6577
6663
  state.visible ? this._show(options) : this._hide(options);
6578
6664
  }
6579
6665
  }
6666
+ changeConfigs(config, userAction = true) {
6667
+ this.updateState({ config }, userAction);
6668
+ this.render();
6669
+ }
6580
6670
  async formatData(serverData) {
6581
6671
  return await formatData(serverData.data);
6582
6672
  }
@@ -6585,7 +6675,7 @@ class Controller$3 extends Controller$6 {
6585
6675
  return;
6586
6676
  this.isHiddenByHideFunc = false;
6587
6677
  const { userAction } = options;
6588
- this.hooks.emit('show', { userAction });
6678
+ this.hooks.emit('show', { userAction, auto: false });
6589
6679
  if (this.five.getCurrentState().mode !== 'Topview') {
6590
6680
  await changeMode(this.five, ['Topview', undefined, undefined, userAction]);
6591
6681
  }
@@ -6595,14 +6685,14 @@ class Controller$3 extends Controller$6 {
6595
6685
  const renderDuration = 500;
6596
6686
  const modelOpacity = this.state.config.modelOpacity;
6597
6687
  changeModelCanvasOpacity(this.five, modelOpacity, renderDuration);
6598
- this.hooks.emit('showAnimationEnded', { userAction });
6688
+ this.hooks.emit('showAnimationEnded', { userAction, auto: false });
6599
6689
  this.render();
6600
6690
  }
6601
6691
  async _hide(options) {
6602
6692
  if (!this.state.enabled)
6603
6693
  return;
6604
6694
  const { userAction } = options;
6605
- this.hooks.emit('hide', { userAction });
6695
+ this.hooks.emit('hide', { userAction, auto: false });
6606
6696
  const modelOpacity = 1;
6607
6697
  const renderDuration = 0;
6608
6698
  changeModelCanvasOpacity(this.five, modelOpacity, renderDuration);
@@ -6619,7 +6709,8 @@ class Controller$3 extends Controller$6 {
6619
6709
  }
6620
6710
  updateState(state, userAction) {
6621
6711
  const prevState = this.state;
6622
- this.state = Object.assign(Object.assign({}, this.state), state);
6712
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
6713
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
6623
6714
  if (equal(this.state, prevState, { deep: true }))
6624
6715
  return;
6625
6716
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -9013,11 +9104,28 @@ const PanoRulerPlugin = (five, params) => {
9013
9104
  state.enable = false;
9014
9105
  return true;
9015
9106
  };
9107
+ function changeConfigs(config) {
9108
+ if (config.distanceText && config.distanceText !== state.options.distanceText) {
9109
+ const distanceText = config.distanceText;
9110
+ state.options.distanceText = distanceText;
9111
+ Object.values(__rule).forEach((item) => {
9112
+ item.rules.forEach((rule) => {
9113
+ const [origin, vertical] = rule.rule;
9114
+ const distance = origin.distanceTo(vertical);
9115
+ const textEle = rule.$element.querySelector('.PanoRulerPlugin-rule-label-name');
9116
+ if (!textEle)
9117
+ return;
9118
+ textEle.innerText = distanceText(distance);
9119
+ });
9120
+ });
9121
+ }
9122
+ }
9016
9123
  return {
9017
9124
  enable,
9018
9125
  disable,
9019
9126
  load,
9020
9127
  state,
9128
+ changeConfigs,
9021
9129
  };
9022
9130
  };
9023
9131
 
@@ -10914,7 +11022,8 @@ function createDistanceItem(props) {
10914
11022
  if (userDistanceItem) {
10915
11023
  userDistanceItem.update({ line: line.toCompletelyJson(), polyline: line.getPolyline().toCompletelyJson() });
10916
11024
  }
10917
- const distanceString = startPoint.position.clone().distanceTo(endPoint.position).toFixed(2) + 'm';
11025
+ const distance = startPoint.position.clone().distanceTo(endPoint.position);
11026
+ const distanceString = props.line.model.params.getDistanceText(distance);
10918
11027
  contentDom.innerText !== distanceString && (contentDom.innerText = distanceString);
10919
11028
  }
10920
11029
  function appendTo(container) {
@@ -11253,6 +11362,12 @@ const preventDefault = (e) => e.preventDefault();
11253
11362
  class BaseController {
11254
11363
  constructor(params) {
11255
11364
  var _a, _b;
11365
+ Object.defineProperty(this, "model", {
11366
+ enumerable: true,
11367
+ configurable: true,
11368
+ writable: true,
11369
+ value: void 0
11370
+ });
11256
11371
  Object.defineProperty(this, "five", {
11257
11372
  enumerable: true,
11258
11373
  configurable: true,
@@ -11265,7 +11380,13 @@ class BaseController {
11265
11380
  writable: true,
11266
11381
  value: void 0
11267
11382
  });
11268
- Object.defineProperty(this, "model", {
11383
+ Object.defineProperty(this, "config", {
11384
+ enumerable: true,
11385
+ configurable: true,
11386
+ writable: true,
11387
+ value: void 0
11388
+ });
11389
+ Object.defineProperty(this, "dashed", {
11269
11390
  enumerable: true,
11270
11391
  configurable: true,
11271
11392
  writable: true,
@@ -11324,6 +11445,7 @@ class BaseController {
11324
11445
  configurable: true,
11325
11446
  writable: true,
11326
11447
  value: () => {
11448
+ this.dashed.distanceItem.update(this.five);
11327
11449
  this.model.lines.forEach((line) => line.distanceItem.update(this.five));
11328
11450
  }
11329
11451
  });
@@ -11331,6 +11453,7 @@ class BaseController {
11331
11453
  this.five = params.five;
11332
11454
  this.hook = params.hook;
11333
11455
  this.model = params.model;
11456
+ this.config = params.config;
11334
11457
  this.magnifier = params.magnifier;
11335
11458
  this.container = params.container;
11336
11459
  this.fiveHelper = params.fiveHelper;
@@ -11339,6 +11462,10 @@ class BaseController {
11339
11462
  // ==================== Groups ====================
11340
11463
  this.group = params.group;
11341
11464
  this.mouseGroup = params.mouseGroup;
11465
+ // ==================== 虚线 ====================
11466
+ this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
11467
+ this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
11468
+ this.dashed.mesh.name = 'dashLine';
11342
11469
  const fiveElement = this.five.getElement();
11343
11470
  if (fiveElement) {
11344
11471
  fiveElement.addEventListener('touchstart', preventDefault);
@@ -11414,12 +11541,6 @@ class EditController extends BaseController {
11414
11541
  writable: true,
11415
11542
  value: 'edit'
11416
11543
  });
11417
- Object.defineProperty(this, "model", {
11418
- enumerable: true,
11419
- configurable: true,
11420
- writable: true,
11421
- value: new Model({ userDistanceItemCreator: this.userDistanceItemCreator })
11422
- });
11423
11544
  Object.defineProperty(this, "pressPoint", {
11424
11545
  enumerable: true,
11425
11546
  configurable: true,
@@ -11451,13 +11572,6 @@ class EditController extends BaseController {
11451
11572
  writable: true,
11452
11573
  value: null
11453
11574
  });
11454
- /** 鼠标点到上一个端点连接的虚线 */
11455
- Object.defineProperty(this, "dashed", {
11456
- enumerable: true,
11457
- configurable: true,
11458
- writable: true,
11459
- value: void 0
11460
- });
11461
11575
  Object.defineProperty(this, "hammer", {
11462
11576
  enumerable: true,
11463
11577
  configurable: true,
@@ -11670,9 +11784,7 @@ class EditController extends BaseController {
11670
11784
  this.dashed.distanceItem.update(this.five);
11671
11785
  }
11672
11786
  });
11673
- // ==================== 虚线 ====================
11674
- this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
11675
- this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
11787
+ this.model = new Model(this.config);
11676
11788
  // ==================== 事件监听 ====================
11677
11789
  // five
11678
11790
  this.five.on('cameraUpdate', this.onCameraUpdate);
@@ -12506,7 +12618,7 @@ class MixedController extends BaseController {
12506
12618
  enumerable: true,
12507
12619
  configurable: true,
12508
12620
  writable: true,
12509
- value: new Model({ userDistanceItemCreator: this.userDistanceItemCreator })
12621
+ value: new Model(this.config)
12510
12622
  });
12511
12623
  Object.defineProperty(this, "hasAppendDashed", {
12512
12624
  enumerable: true,
@@ -12544,13 +12656,6 @@ class MixedController extends BaseController {
12544
12656
  writable: true,
12545
12657
  value: void 0
12546
12658
  });
12547
- /** 圆环点到上一个端点连接的虚线 */
12548
- Object.defineProperty(this, "dashed", {
12549
- enumerable: true,
12550
- configurable: true,
12551
- writable: true,
12552
- value: void 0
12553
- });
12554
12659
  /** 编辑线条发生改变时通知外部 */
12555
12660
  Object.defineProperty(this, "onLineChanged", {
12556
12661
  enumerable: true,
@@ -12753,10 +12858,6 @@ class MixedController extends BaseController {
12753
12858
  onClick: this.deleteDomClickCallback,
12754
12859
  cancelDelete: this.cancelDeleteClickCallback,
12755
12860
  }).appendTo(this.container);
12756
- // ==================== 虚线 ====================
12757
- this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
12758
- this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
12759
- this.dashed.mesh.name = 'dashLine';
12760
12861
  // ==================== 事件监听 ====================
12761
12862
  // five
12762
12863
  this.five.on('cameraUpdate', this.onCameraUpdate);
@@ -14130,6 +14231,12 @@ class MeasureController {
14130
14231
  writable: true,
14131
14232
  value: void 0
14132
14233
  });
14234
+ Object.defineProperty(this, "config", {
14235
+ enumerable: true,
14236
+ configurable: true,
14237
+ writable: true,
14238
+ value: void 0
14239
+ });
14133
14240
  Object.defineProperty(this, "fiveHelper", {
14134
14241
  enumerable: true,
14135
14242
  configurable: true,
@@ -14228,7 +14335,14 @@ class MeasureController {
14228
14335
  });
14229
14336
  this.five = five;
14230
14337
  this.params = params;
14231
- this.model = new Model({ userDistanceItemCreator: this.params.userDistanceItemCreator });
14338
+ const defaultConfig = {
14339
+ userDistanceItemCreator: undefined,
14340
+ getDistanceText(distance) {
14341
+ return distance.toFixed(2) + 'm';
14342
+ },
14343
+ };
14344
+ this.config = Object.assign(Object.assign({}, defaultConfig), omit(params, ['openParams', 'magnifierParams']));
14345
+ this.model = new Model(this.config);
14232
14346
  this.fiveHelper = new FiveHelper(five);
14233
14347
  // magnifier
14234
14348
  this.magnifier = new Magnifier(five, (_a = params.magnifierParams) !== null && _a !== void 0 ? _a : { width: 190, height: 190, scale: 2 });
@@ -14250,6 +14364,7 @@ class MeasureController {
14250
14364
  hook: this.hook,
14251
14365
  group: this.group,
14252
14366
  model: this.model,
14367
+ config: this.config,
14253
14368
  magnifier: this.magnifier,
14254
14369
  container: this.container,
14255
14370
  fiveHelper: this.fiveHelper,
@@ -14384,6 +14499,14 @@ class MeasureController {
14384
14499
  (_b = this.useUIController) === null || _b === void 0 ? void 0 : _b.dispose();
14385
14500
  this.useUIController = new UIController(this, this.controllerParams);
14386
14501
  }
14502
+ changeConfigs(config) {
14503
+ var _a;
14504
+ if (config.getDistanceText && config.getDistanceText !== this.config.getDistanceText) {
14505
+ const getDistanceText = config.getDistanceText;
14506
+ this.config.getDistanceText = getDistanceText;
14507
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.updateDistanceUI();
14508
+ }
14509
+ }
14387
14510
  }
14388
14511
 
14389
14512
  const PanoMeasurePlugin = function PanoMeasurePlugin(five, params) {