@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.umd.js CHANGED
@@ -1670,7 +1670,7 @@
1670
1670
  internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
1671
1671
  }
1672
1672
 
1673
- // (95:30)
1673
+ // (96:30)
1674
1674
  function create_if_block_1$5(ctx) {
1675
1675
  let html_tag;
1676
1676
  let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
@@ -1696,13 +1696,14 @@
1696
1696
  };
1697
1697
  }
1698
1698
 
1699
- // (89:2) {#if getLabelElement === undefined}
1699
+ // (90:2) {#if getLabelElement === undefined}
1700
1700
  function create_if_block$9(ctx) {
1701
1701
  let span0;
1702
1702
  let t0_value = /*room*/ ctx[0].name + "";
1703
1703
  let t0;
1704
1704
  let t1;
1705
1705
  let span1;
1706
+ let t2;
1706
1707
 
1707
1708
  return {
1708
1709
  c() {
@@ -1710,7 +1711,7 @@
1710
1711
  t0 = internal.text(t0_value);
1711
1712
  t1 = internal.space();
1712
1713
  span1 = internal.element("span");
1713
- span1.textContent = `${/*roomSizeDes*/ ctx[5]}`;
1714
+ t2 = internal.text(/*roomSizeDes*/ ctx[5]);
1714
1715
  internal.attr(span0, "class", "floorplan-plugin__room-name");
1715
1716
  internal.attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
1716
1717
  },
@@ -1719,9 +1720,11 @@
1719
1720
  internal.append(span0, t0);
1720
1721
  internal.insert(target, t1, anchor);
1721
1722
  internal.insert(target, span1, anchor);
1723
+ internal.append(span1, t2);
1722
1724
  },
1723
1725
  p(ctx, dirty) {
1724
1726
  if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) internal.set_data(t0, t0_value);
1727
+ if (dirty & /*roomSizeDes*/ 32) internal.set_data(t2, /*roomSizeDes*/ ctx[5]);
1725
1728
  },
1726
1729
  d(detaching) {
1727
1730
  if (detaching) internal.detach(span0);
@@ -1755,7 +1758,7 @@
1755
1758
  m(target, anchor) {
1756
1759
  internal.insert(target, div, anchor);
1757
1760
  if (if_block) if_block.m(div, null);
1758
- /*div_binding*/ ctx[15](div);
1761
+ /*div_binding*/ ctx[16](div);
1759
1762
  },
1760
1763
  p(ctx, [dirty]) {
1761
1764
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -1783,7 +1786,7 @@
1783
1786
  if_block.d();
1784
1787
  }
1785
1788
 
1786
- /*div_binding*/ ctx[15](null);
1789
+ /*div_binding*/ ctx[16](null);
1787
1790
  }
1788
1791
  };
1789
1792
  }
@@ -1806,12 +1809,14 @@
1806
1809
  }
1807
1810
 
1808
1811
  function instance$o($$self, $$props, $$invalidate) {
1812
+ let roomSizeDes;
1809
1813
  let isLabelInRoom;
1810
1814
  let userConfigElement;
1811
1815
  let labelVisible;
1812
1816
  let { pxmm } = $$props;
1813
1817
  let { room } = $$props;
1814
1818
  let { hoveredRoom } = $$props;
1819
+ let { getRoomAreaText } = $$props;
1815
1820
  let { getLabelElement } = $$props;
1816
1821
  let { adaptiveRoomLabelVisibleEnable } = $$props;
1817
1822
 
@@ -1851,7 +1856,6 @@
1851
1856
  const bodyWidth = document.body.clientWidth;
1852
1857
 
1853
1858
  const bodyHeight = document.body.clientHeight;
1854
- const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
1855
1859
 
1856
1860
  // ====================================
1857
1861
  const roomLabel = room.roomLabel;
@@ -1867,7 +1871,7 @@
1867
1871
  let labelElementSize;
1868
1872
 
1869
1873
  hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
1870
- $$invalidate(12, isHoverd = !!_room && _room.id === room.id);
1874
+ $$invalidate(13, isHoverd = !!_room && _room.id === room.id);
1871
1875
  });
1872
1876
 
1873
1877
  svelte.onMount(() => {
@@ -1877,7 +1881,7 @@
1877
1881
  ? void 0
1878
1882
  : labelElement.getClientRects()[0];
1879
1883
 
1880
- $$invalidate(13, labelElementSize = {
1884
+ $$invalidate(14, labelElementSize = {
1881
1885
  width: labelDomRect.width,
1882
1886
  height: labelDomRect.height
1883
1887
  });
@@ -1894,13 +1898,18 @@
1894
1898
  if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
1895
1899
  if ('room' in $$props) $$invalidate(0, room = $$props.room);
1896
1900
  if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
1901
+ if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
1897
1902
  if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
1898
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(11, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1903
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
1899
1904
  };
1900
1905
 
1901
1906
  $$self.$$.update = () => {
1902
- if ($$self.$$.dirty & /*labelElementSize, room*/ 8193) {
1903
- $$invalidate(14, isLabelInRoom = labelElementSize
1907
+ if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
1908
+ $$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
1909
+ }
1910
+
1911
+ if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
1912
+ $$invalidate(15, isLabelInRoom = labelElementSize
1904
1913
  ? isLabelInRoomCurry(room, labelElementSize)
1905
1914
  : undefined);
1906
1915
  }
@@ -1911,7 +1920,7 @@
1911
1920
  : getLabelElement(room));
1912
1921
  }
1913
1922
 
1914
- if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 23040) {
1923
+ if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
1915
1924
  $$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
1916
1925
  ? isHoverd
1917
1926
  ? true
@@ -1934,6 +1943,7 @@
1934
1943
  fontSize,
1935
1944
  pxmm,
1936
1945
  hoveredRoom,
1946
+ getRoomAreaText,
1937
1947
  adaptiveRoomLabelVisibleEnable,
1938
1948
  isHoverd,
1939
1949
  labelElementSize,
@@ -1956,8 +1966,9 @@
1956
1966
  pxmm: 9,
1957
1967
  room: 0,
1958
1968
  hoveredRoom: 10,
1969
+ getRoomAreaText: 11,
1959
1970
  getLabelElement: 1,
1960
- adaptiveRoomLabelVisibleEnable: 11
1971
+ adaptiveRoomLabelVisibleEnable: 12
1961
1972
  },
1962
1973
  add_css$j
1963
1974
  );
@@ -1972,19 +1983,19 @@
1972
1983
 
1973
1984
  function get_each_context$b(ctx, list, i) {
1974
1985
  const child_ctx = ctx.slice();
1975
- child_ctx[9] = list[i];
1986
+ child_ctx[10] = list[i];
1976
1987
  return child_ctx;
1977
1988
  }
1978
1989
 
1979
- // (17:0) {#if rooms}
1990
+ // (18:0) {#if rooms}
1980
1991
  function create_if_block$8(ctx) {
1981
1992
  let div;
1982
1993
  let each_blocks = [];
1983
1994
  let each_1_lookup = new Map();
1984
1995
  let div_resize_listener;
1985
1996
  let current;
1986
- let each_value = /*rooms*/ ctx[5];
1987
- const get_key = ctx => /*room*/ ctx[9].id;
1997
+ let each_value = /*rooms*/ ctx[6];
1998
+ const get_key = ctx => /*room*/ ctx[10].id;
1988
1999
 
1989
2000
  for (let i = 0; i < each_value.length; i += 1) {
1990
2001
  let child_ctx = get_each_context$b(ctx, each_value, i);
@@ -2001,7 +2012,7 @@
2001
2012
  }
2002
2013
 
2003
2014
  internal.attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
2004
- internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[8].call(div));
2015
+ internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
2005
2016
  },
2006
2017
  m(target, anchor) {
2007
2018
  internal.insert(target, div, anchor);
@@ -2010,12 +2021,12 @@
2010
2021
  each_blocks[i].m(div, null);
2011
2022
  }
2012
2023
 
2013
- div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[8].bind(div));
2024
+ div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
2014
2025
  current = true;
2015
2026
  },
2016
2027
  p(ctx, dirty) {
2017
- if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55) {
2018
- each_value = /*rooms*/ ctx[5];
2028
+ if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
2029
+ each_value = /*rooms*/ ctx[6];
2019
2030
  internal.group_outros();
2020
2031
  each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$b, null, get_each_context$b);
2021
2032
  internal.check_outros();
@@ -2049,7 +2060,7 @@
2049
2060
  };
2050
2061
  }
2051
2062
 
2052
- // (19:4) {#each rooms as room (room.id)}
2063
+ // (20:4) {#each rooms as room (room.id)}
2053
2064
  function create_each_block$b(key_1, ctx) {
2054
2065
  let first;
2055
2066
  let roomlabel;
@@ -2057,11 +2068,12 @@
2057
2068
 
2058
2069
  const roomlabel_spread_levels = [
2059
2070
  {
2060
- pxmm: /*pxmm*/ ctx[4],
2061
- room: /*room*/ ctx[9],
2062
- getLabelElement: /*getLabelElement*/ ctx[1],
2071
+ pxmm: /*pxmm*/ ctx[5],
2072
+ room: /*room*/ ctx[10],
2073
+ getLabelElement: /*getLabelElement*/ ctx[2],
2074
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
2063
2075
  hoveredRoom: /*hoveredRoom*/ ctx[0],
2064
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
2076
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
2065
2077
  }
2066
2078
  ];
2067
2079
 
@@ -2089,14 +2101,15 @@
2089
2101
  p(new_ctx, dirty) {
2090
2102
  ctx = new_ctx;
2091
2103
 
2092
- const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 55)
2104
+ const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
2093
2105
  ? internal.get_spread_update(roomlabel_spread_levels, [
2094
2106
  {
2095
- pxmm: /*pxmm*/ ctx[4],
2096
- room: /*room*/ ctx[9],
2097
- getLabelElement: /*getLabelElement*/ ctx[1],
2107
+ pxmm: /*pxmm*/ ctx[5],
2108
+ room: /*room*/ ctx[10],
2109
+ getLabelElement: /*getLabelElement*/ ctx[2],
2110
+ getRoomAreaText: /*getRoomAreaText*/ ctx[1],
2098
2111
  hoveredRoom: /*hoveredRoom*/ ctx[0],
2099
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[2]
2112
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
2100
2113
  }
2101
2114
  ])
2102
2115
  : {};
@@ -2122,7 +2135,7 @@
2122
2135
  function create_fragment$n(ctx) {
2123
2136
  let if_block_anchor;
2124
2137
  let current;
2125
- let if_block = /*rooms*/ ctx[5] && create_if_block$8(ctx);
2138
+ let if_block = /*rooms*/ ctx[6] && create_if_block$8(ctx);
2126
2139
 
2127
2140
  return {
2128
2141
  c() {
@@ -2135,11 +2148,11 @@
2135
2148
  current = true;
2136
2149
  },
2137
2150
  p(ctx, [dirty]) {
2138
- if (/*rooms*/ ctx[5]) {
2151
+ if (/*rooms*/ ctx[6]) {
2139
2152
  if (if_block) {
2140
2153
  if_block.p(ctx, dirty);
2141
2154
 
2142
- if (dirty & /*rooms*/ 32) {
2155
+ if (dirty & /*rooms*/ 64) {
2143
2156
  internal.transition_in(if_block, 1);
2144
2157
  }
2145
2158
  } else {
@@ -2179,6 +2192,7 @@
2179
2192
  let { floorIndex } = $$props;
2180
2193
  let { floorplanData } = $$props;
2181
2194
  let { hoveredRoom } = $$props;
2195
+ let { getRoomAreaText } = $$props;
2182
2196
  let { getLabelElement } = $$props;
2183
2197
  let { adaptiveRoomLabelVisibleEnable } = $$props;
2184
2198
  let clientWidth = 0;
@@ -2186,33 +2200,35 @@
2186
2200
 
2187
2201
  function div_elementresize_handler() {
2188
2202
  clientWidth = this.clientWidth;
2189
- $$invalidate(3, clientWidth);
2203
+ $$invalidate(4, clientWidth);
2190
2204
  }
2191
2205
 
2192
2206
  $$self.$$set = $$props => {
2193
- if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
2194
- if ('floorplanData' in $$props) $$invalidate(7, floorplanData = $$props.floorplanData);
2207
+ if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
2208
+ if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
2195
2209
  if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
2196
- if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
2197
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(2, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
2210
+ if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
2211
+ if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
2212
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
2198
2213
  };
2199
2214
 
2200
2215
  $$self.$$.update = () => {
2201
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 192) {
2202
- $$invalidate(5, rooms = floorplanData.floorDatas[floorIndex].rooms);
2216
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
2217
+ $$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
2203
2218
  }
2204
2219
 
2205
- if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 136) {
2220
+ if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
2206
2221
  {
2207
2222
  const { max, min } = floorplanData.bounding;
2208
2223
  const boundingWidth = max.x - min.x;
2209
- $$invalidate(4, pxmm = clientWidth / boundingWidth);
2224
+ $$invalidate(5, pxmm = clientWidth / boundingWidth);
2210
2225
  }
2211
2226
  }
2212
2227
  };
2213
2228
 
2214
2229
  return [
2215
2230
  hoveredRoom,
2231
+ getRoomAreaText,
2216
2232
  getLabelElement,
2217
2233
  adaptiveRoomLabelVisibleEnable,
2218
2234
  clientWidth,
@@ -2235,11 +2251,12 @@
2235
2251
  create_fragment$n,
2236
2252
  internal.safe_not_equal,
2237
2253
  {
2238
- floorIndex: 6,
2239
- floorplanData: 7,
2254
+ floorIndex: 7,
2255
+ floorplanData: 8,
2240
2256
  hoveredRoom: 0,
2241
- getLabelElement: 1,
2242
- adaptiveRoomLabelVisibleEnable: 2
2257
+ getRoomAreaText: 1,
2258
+ getLabelElement: 2,
2259
+ adaptiveRoomLabelVisibleEnable: 3
2243
2260
  },
2244
2261
  add_css$i
2245
2262
  );
@@ -2254,18 +2271,18 @@
2254
2271
 
2255
2272
  function get_each_context$a(ctx, list, i) {
2256
2273
  const child_ctx = ctx.slice();
2257
- child_ctx[10] = list[i];
2258
- child_ctx[12] = i;
2274
+ child_ctx[11] = list[i];
2275
+ child_ctx[13] = i;
2259
2276
  return child_ctx;
2260
2277
  }
2261
2278
 
2262
2279
  function get_each_context_1(ctx, list, i) {
2263
2280
  const child_ctx = ctx.slice();
2264
- child_ctx[13] = list[i];
2281
+ child_ctx[14] = list[i];
2265
2282
  return child_ctx;
2266
2283
  }
2267
2284
 
2268
- // (47:4) {#each rulerLabels as rulerLabel}
2285
+ // (48:4) {#each rulerLabels as rulerLabel}
2269
2286
  function create_each_block_1(ctx) {
2270
2287
  let div;
2271
2288
 
@@ -2273,8 +2290,8 @@
2273
2290
  c() {
2274
2291
  div = internal.element("div");
2275
2292
  internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
2276
- internal.set_style(div, "left", /*rulerLabel*/ ctx[13].left * 100 + '%', false);
2277
- internal.set_style(div, "bottom", /*rulerLabel*/ ctx[13].bottom * 100 + '%', false);
2293
+ internal.set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
2294
+ internal.set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
2278
2295
  },
2279
2296
  m(target, anchor) {
2280
2297
  internal.insert(target, div, anchor);
@@ -2286,11 +2303,11 @@
2286
2303
  };
2287
2304
  }
2288
2305
 
2289
- // (56:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
2306
+ // (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
2290
2307
  function create_each_block$a(key_1, ctx) {
2291
2308
  let div1;
2292
2309
  let div0;
2293
- let t0_value = /*textItem*/ ctx[10].distance + "";
2310
+ let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
2294
2311
  let t0;
2295
2312
  let t1;
2296
2313
 
@@ -2303,10 +2320,10 @@
2303
2320
  t0 = internal.text(t0_value);
2304
2321
  t1 = internal.space();
2305
2322
  internal.attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
2306
- internal.toggle_class(div0, "is-row", /*isRow*/ ctx[1]);
2323
+ internal.toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
2307
2324
  internal.attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
2308
- internal.set_style(div1, "left", /*textItem*/ ctx[10].left * 100 + '%', false);
2309
- internal.set_style(div1, "bottom", /*textItem*/ ctx[10].bottom * 100 + '%', false);
2325
+ internal.set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
2326
+ internal.set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
2310
2327
  this.first = div1;
2311
2328
  },
2312
2329
  m(target, anchor) {
@@ -2317,6 +2334,7 @@
2317
2334
  },
2318
2335
  p(new_ctx, dirty) {
2319
2336
  ctx = new_ctx;
2337
+ if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) internal.set_data(t0, t0_value);
2320
2338
  },
2321
2339
  d(detaching) {
2322
2340
  if (detaching) internal.detach(div1);
@@ -2334,15 +2352,15 @@
2334
2352
  let each_blocks = [];
2335
2353
  let each1_lookup = new Map();
2336
2354
  let div3_class_value;
2337
- let each_value_1 = /*rulerLabels*/ ctx[2];
2355
+ let each_value_1 = /*rulerLabels*/ ctx[3];
2338
2356
  let each_blocks_1 = [];
2339
2357
 
2340
2358
  for (let i = 0; i < each_value_1.length; i += 1) {
2341
2359
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
2342
2360
  }
2343
2361
 
2344
- let each_value = /*rulerTexts*/ ctx[3];
2345
- const get_key = ctx => /*textItemIndex*/ ctx[12];
2362
+ let each_value = /*rulerTexts*/ ctx[4];
2363
+ const get_key = ctx => /*textItemIndex*/ ctx[13];
2346
2364
 
2347
2365
  for (let i = 0; i < each_value.length; i += 1) {
2348
2366
  let child_ctx = get_each_context$a(ctx, each_value, i);
@@ -2370,12 +2388,12 @@
2370
2388
 
2371
2389
  internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
2372
2390
  internal.attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
2373
- internal.toggle_class(div1, "is-row", /*isRow*/ ctx[1]);
2391
+ internal.toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
2374
2392
  internal.attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
2375
2393
  internal.attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
2376
- internal.toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
2377
- internal.set_style(div3, "width", /*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
2378
- internal.set_style(div3, "height", !/*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
2394
+ internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
2395
+ internal.set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
2396
+ internal.set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
2379
2397
  },
2380
2398
  m(target, anchor) {
2381
2399
  internal.insert(target, div3, anchor);
@@ -2395,8 +2413,8 @@
2395
2413
  }
2396
2414
  },
2397
2415
  p(ctx, [dirty]) {
2398
- if (dirty & /*rulerLabels*/ 4) {
2399
- each_value_1 = /*rulerLabels*/ ctx[2];
2416
+ if (dirty & /*rulerLabels*/ 8) {
2417
+ each_value_1 = /*rulerLabels*/ ctx[3];
2400
2418
  let i;
2401
2419
 
2402
2420
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -2418,8 +2436,8 @@
2418
2436
  each_blocks_1.length = each_value_1.length;
2419
2437
  }
2420
2438
 
2421
- if (dirty & /*rulerTexts, isRow*/ 10) {
2422
- each_value = /*rulerTexts*/ ctx[3];
2439
+ if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
2440
+ each_value = /*rulerTexts*/ ctx[4];
2423
2441
  each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, internal.destroy_block, create_each_block$a, null, get_each_context$a);
2424
2442
  }
2425
2443
 
@@ -2427,8 +2445,8 @@
2427
2445
  internal.attr(div3, "class", div3_class_value);
2428
2446
  }
2429
2447
 
2430
- if (dirty & /*type, isRow*/ 3) {
2431
- internal.toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
2448
+ if (dirty & /*type, isRow*/ 5) {
2449
+ internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
2432
2450
  }
2433
2451
  },
2434
2452
  i: internal.noop,
@@ -2451,6 +2469,7 @@
2451
2469
  let { type } = $$props;
2452
2470
  let { data } = $$props;
2453
2471
  let { bounding } = $$props;
2472
+ let { getRuleDistanceText } = $$props;
2454
2473
  const isRow = type === 'top' || type === 'bottom';
2455
2474
  const contentWidth = bounding.max.x - bounding.min.x - (padding$1 - exteriorWallOffset$1) * 2;
2456
2475
  const contentHeight = bounding.max.y - bounding.min.y - (padding$1 - exteriorWallOffset$1) * 2;
@@ -2496,17 +2515,32 @@
2496
2515
 
2497
2516
  $$self.$$set = $$props => {
2498
2517
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
2499
- if ('data' in $$props) $$invalidate(4, data = $$props.data);
2500
- if ('bounding' in $$props) $$invalidate(5, bounding = $$props.bounding);
2518
+ if ('data' in $$props) $$invalidate(5, data = $$props.data);
2519
+ if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
2520
+ if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
2501
2521
  };
2502
2522
 
2503
- return [type, isRow, rulerLabels, rulerTexts, data, bounding];
2523
+ return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
2504
2524
  }
2505
2525
 
2506
2526
  class RuleItem extends internal.SvelteComponent {
2507
2527
  constructor(options) {
2508
2528
  super();
2509
- internal.init(this, options, instance$m, create_fragment$m, internal.safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$h);
2529
+
2530
+ internal.init(
2531
+ this,
2532
+ options,
2533
+ instance$m,
2534
+ create_fragment$m,
2535
+ internal.safe_not_equal,
2536
+ {
2537
+ type: 0,
2538
+ data: 5,
2539
+ bounding: 6,
2540
+ getRuleDistanceText: 1
2541
+ },
2542
+ add_css$h
2543
+ );
2510
2544
  }
2511
2545
  }
2512
2546
 
@@ -2518,12 +2552,12 @@
2518
2552
 
2519
2553
  function get_each_context$9(ctx, list, i) {
2520
2554
  const child_ctx = ctx.slice();
2521
- child_ctx[12] = list[i][0];
2522
- child_ctx[13] = list[i][1];
2555
+ child_ctx[13] = list[i][0];
2556
+ child_ctx[14] = list[i][1];
2523
2557
  return child_ctx;
2524
2558
  }
2525
2559
 
2526
- // (19:2) {#each ruleLabelArray as [type, data] (type)}
2560
+ // (20:2) {#each ruleLabelArray as [type, data] (type)}
2527
2561
  function create_each_block$9(key_1, ctx) {
2528
2562
  let first;
2529
2563
  let ruleitem;
@@ -2531,9 +2565,10 @@
2531
2565
 
2532
2566
  const ruleitem_spread_levels = [
2533
2567
  {
2534
- type: /*type*/ ctx[12],
2535
- data: /*data*/ ctx[13],
2536
- bounding: /*bounding*/ ctx[0]
2568
+ type: /*type*/ ctx[13],
2569
+ data: /*data*/ ctx[14],
2570
+ bounding: /*bounding*/ ctx[1],
2571
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
2537
2572
  }
2538
2573
  ];
2539
2574
 
@@ -2561,12 +2596,13 @@
2561
2596
  p(new_ctx, dirty) {
2562
2597
  ctx = new_ctx;
2563
2598
 
2564
- const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/ 9)
2599
+ const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
2565
2600
  ? internal.get_spread_update(ruleitem_spread_levels, [
2566
2601
  {
2567
- type: /*type*/ ctx[12],
2568
- data: /*data*/ ctx[13],
2569
- bounding: /*bounding*/ ctx[0]
2602
+ type: /*type*/ ctx[13],
2603
+ data: /*data*/ ctx[14],
2604
+ bounding: /*bounding*/ ctx[1],
2605
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
2570
2606
  }
2571
2607
  ])
2572
2608
  : {};
@@ -2594,8 +2630,8 @@
2594
2630
  let each_blocks = [];
2595
2631
  let each_1_lookup = new Map();
2596
2632
  let current;
2597
- let each_value = /*ruleLabelArray*/ ctx[3];
2598
- const get_key = ctx => /*type*/ ctx[12];
2633
+ let each_value = /*ruleLabelArray*/ ctx[4];
2634
+ const get_key = ctx => /*type*/ ctx[13];
2599
2635
 
2600
2636
  for (let i = 0; i < each_value.length; i += 1) {
2601
2637
  let child_ctx = get_each_context$9(ctx, each_value, i);
@@ -2612,8 +2648,8 @@
2612
2648
  }
2613
2649
 
2614
2650
  internal.attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
2615
- internal.set_style(div, "width", /*width*/ ctx[2], false);
2616
- internal.set_style(div, "height", /*height*/ ctx[1], false);
2651
+ internal.set_style(div, "width", /*width*/ ctx[3], false);
2652
+ internal.set_style(div, "height", /*height*/ ctx[2], false);
2617
2653
  },
2618
2654
  m(target, anchor) {
2619
2655
  internal.insert(target, div, anchor);
@@ -2625,19 +2661,19 @@
2625
2661
  current = true;
2626
2662
  },
2627
2663
  p(ctx, [dirty]) {
2628
- if (dirty & /*ruleLabelArray, bounding*/ 9) {
2629
- each_value = /*ruleLabelArray*/ ctx[3];
2664
+ if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
2665
+ each_value = /*ruleLabelArray*/ ctx[4];
2630
2666
  internal.group_outros();
2631
2667
  each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$9, null, get_each_context$9);
2632
2668
  internal.check_outros();
2633
2669
  }
2634
2670
 
2635
- if (dirty & /*width*/ 4) {
2636
- internal.set_style(div, "width", /*width*/ ctx[2], false);
2671
+ if (dirty & /*width*/ 8) {
2672
+ internal.set_style(div, "width", /*width*/ ctx[3], false);
2637
2673
  }
2638
2674
 
2639
- if (dirty & /*height*/ 2) {
2640
- internal.set_style(div, "height", /*height*/ ctx[1], false);
2675
+ if (dirty & /*height*/ 4) {
2676
+ internal.set_style(div, "height", /*height*/ ctx[2], false);
2641
2677
  }
2642
2678
  },
2643
2679
  i(local) {
@@ -2682,55 +2718,58 @@
2682
2718
  let height;
2683
2719
  let { floorIndex } = $$props;
2684
2720
  let { floorplanData } = $$props;
2721
+ let { getRuleDistanceText } = $$props;
2685
2722
 
2686
2723
  $$self.$$set = $$props => {
2687
- if ('floorIndex' in $$props) $$invalidate(4, floorIndex = $$props.floorIndex);
2688
- if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
2724
+ if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
2725
+ if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
2726
+ if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
2689
2727
  };
2690
2728
 
2691
2729
  $$self.$$.update = () => {
2692
- if ($$self.$$.dirty & /*floorplanData*/ 32) {
2693
- $$invalidate(0, bounding = floorplanData.bounding);
2730
+ if ($$self.$$.dirty & /*floorplanData*/ 64) {
2731
+ $$invalidate(1, bounding = floorplanData.bounding);
2694
2732
  }
2695
2733
 
2696
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 48) {
2697
- $$invalidate(10, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
2734
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
2735
+ $$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
2698
2736
  }
2699
2737
 
2700
- if ($$self.$$.dirty & /*ruleLabelData*/ 1024) {
2701
- $$invalidate(11, ruleLabelDataKeys = Object.keys(ruleLabelData));
2738
+ if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
2739
+ $$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
2702
2740
  }
2703
2741
 
2704
- if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 3072) {
2705
- $$invalidate(3, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
2742
+ if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
2743
+ $$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
2706
2744
  }
2707
2745
 
2708
- if ($$self.$$.dirty & /*bounding*/ 1) {
2709
- $$invalidate(8, boundingWidth = bounding.max.x - bounding.min.x);
2746
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2747
+ $$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
2710
2748
  }
2711
2749
 
2712
- if ($$self.$$.dirty & /*bounding*/ 1) {
2713
- $$invalidate(6, boundingHeight = bounding.max.y - bounding.min.y);
2750
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2751
+ $$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
2714
2752
  }
2715
2753
 
2716
- if ($$self.$$.dirty & /*bounding*/ 1) {
2717
- $$invalidate(9, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
2754
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2755
+ $$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
2718
2756
  }
2719
2757
 
2720
- if ($$self.$$.dirty & /*bounding*/ 1) {
2721
- $$invalidate(7, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
2758
+ if ($$self.$$.dirty & /*bounding*/ 2) {
2759
+ $$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
2722
2760
  }
2723
2761
 
2724
- if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 768) {
2725
- $$invalidate(2, width = contentWidth / boundingWidth * 100 + '%');
2762
+ if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
2763
+ $$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
2726
2764
  }
2727
2765
 
2728
- if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 192) {
2729
- $$invalidate(1, height = contentHeight / boundingHeight * 100 + '%');
2766
+ if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
2767
+ $$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
2730
2768
  }
2731
2769
  };
2732
2770
 
2733
2771
  return [
2772
+ getRuleDistanceText,
2734
2773
  bounding,
2735
2774
  height,
2736
2775
  width,
@@ -2749,7 +2788,20 @@
2749
2788
  class RuleLabels extends internal.SvelteComponent {
2750
2789
  constructor(options) {
2751
2790
  super();
2752
- internal.init(this, options, instance$l, create_fragment$l, internal.safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$g);
2791
+
2792
+ internal.init(
2793
+ this,
2794
+ options,
2795
+ instance$l,
2796
+ create_fragment$l,
2797
+ internal.safe_not_equal,
2798
+ {
2799
+ floorIndex: 5,
2800
+ floorplanData: 6,
2801
+ getRuleDistanceText: 0
2802
+ },
2803
+ add_css$g
2804
+ );
2753
2805
  }
2754
2806
  }
2755
2807
 
@@ -3660,7 +3712,7 @@
3660
3712
  internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
3661
3713
  }
3662
3714
 
3663
- // (20:2) {#if hoverEnable}
3715
+ // (22:2) {#if hoverEnable}
3664
3716
  function create_if_block_2(ctx) {
3665
3717
  let roomhighlight;
3666
3718
  let current;
@@ -3669,7 +3721,7 @@
3669
3721
  {
3670
3722
  floorIndex: /*floorIndex*/ ctx[1],
3671
3723
  floorplanData: /*floorplanData*/ ctx[5],
3672
- hoveredRoom: /*hoveredRoom*/ ctx[8]
3724
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
3673
3725
  }
3674
3726
  ];
3675
3727
 
@@ -3690,12 +3742,12 @@
3690
3742
  current = true;
3691
3743
  },
3692
3744
  p(ctx, dirty) {
3693
- const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 290)
3745
+ const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
3694
3746
  ? internal.get_spread_update(roomhighlight_spread_levels, [
3695
3747
  {
3696
3748
  floorIndex: /*floorIndex*/ ctx[1],
3697
3749
  floorplanData: /*floorplanData*/ ctx[5],
3698
- hoveredRoom: /*hoveredRoom*/ ctx[8]
3750
+ hoveredRoom: /*hoveredRoom*/ ctx[10]
3699
3751
  }
3700
3752
  ])
3701
3753
  : {};
@@ -3717,7 +3769,7 @@
3717
3769
  };
3718
3770
  }
3719
3771
 
3720
- // (24:2) {#if roomLabelsEnable}
3772
+ // (26:2) {#if roomLabelsEnable}
3721
3773
  function create_if_block_1$3(ctx) {
3722
3774
  let roomlabels;
3723
3775
  let current;
@@ -3726,9 +3778,10 @@
3726
3778
  {
3727
3779
  floorplanData: /*floorplanData*/ ctx[5],
3728
3780
  floorIndex: /*floorIndex*/ ctx[1],
3729
- getLabelElement: /*getLabelElement*/ ctx[6],
3730
- hoveredRoom: /*hoveredRoom*/ ctx[8],
3731
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
3781
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
3782
+ getLabelElement: /*getLabelElement*/ ctx[7],
3783
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
3784
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
3732
3785
  }
3733
3786
  ];
3734
3787
 
@@ -3749,14 +3802,15 @@
3749
3802
  current = true;
3750
3803
  },
3751
3804
  p(ctx, dirty) {
3752
- const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 482)
3805
+ const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
3753
3806
  ? internal.get_spread_update(roomlabels_spread_levels, [
3754
3807
  {
3755
3808
  floorplanData: /*floorplanData*/ ctx[5],
3756
3809
  floorIndex: /*floorIndex*/ ctx[1],
3757
- getLabelElement: /*getLabelElement*/ ctx[6],
3758
- hoveredRoom: /*hoveredRoom*/ ctx[8],
3759
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[7]
3810
+ getRoomAreaText: /*getRoomAreaText*/ ctx[6],
3811
+ getLabelElement: /*getLabelElement*/ ctx[7],
3812
+ hoveredRoom: /*hoveredRoom*/ ctx[10],
3813
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
3760
3814
  }
3761
3815
  ])
3762
3816
  : {};
@@ -3778,7 +3832,7 @@
3778
3832
  };
3779
3833
  }
3780
3834
 
3781
- // (27:2) {#if ruleLabelsEnable}
3835
+ // (38:2) {#if ruleLabelsEnable}
3782
3836
  function create_if_block$6(ctx) {
3783
3837
  let rulelabels;
3784
3838
  let current;
@@ -3786,7 +3840,8 @@
3786
3840
  const rulelabels_spread_levels = [
3787
3841
  {
3788
3842
  floorplanData: /*floorplanData*/ ctx[5],
3789
- floorIndex: /*floorIndex*/ ctx[1]
3843
+ floorIndex: /*floorIndex*/ ctx[1],
3844
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
3790
3845
  }
3791
3846
  ];
3792
3847
 
@@ -3807,11 +3862,12 @@
3807
3862
  current = true;
3808
3863
  },
3809
3864
  p(ctx, dirty) {
3810
- const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/ 34)
3865
+ const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
3811
3866
  ? internal.get_spread_update(rulelabels_spread_levels, [
3812
3867
  {
3813
3868
  floorplanData: /*floorplanData*/ ctx[5],
3814
- floorIndex: /*floorIndex*/ ctx[1]
3869
+ floorIndex: /*floorIndex*/ ctx[1],
3870
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
3815
3871
  }
3816
3872
  ])
3817
3873
  : {};
@@ -4040,7 +4096,9 @@
4040
4096
  let { roomLabelsEnable } = $$props;
4041
4097
  let { ruleLabelsEnable } = $$props;
4042
4098
  let { floorplanData } = $$props;
4099
+ let { getRoomAreaText } = $$props;
4043
4100
  let { getLabelElement } = $$props;
4101
+ let { getRuleDistanceText } = $$props;
4044
4102
  let { adaptiveRoomLabelVisibleEnable } = $$props;
4045
4103
  const hoveredRoom = store.writable(undefined);
4046
4104
 
@@ -4051,8 +4109,10 @@
4051
4109
  if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
4052
4110
  if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
4053
4111
  if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
4054
- if ('getLabelElement' in $$props) $$invalidate(6, getLabelElement = $$props.getLabelElement);
4055
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(7, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4112
+ if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
4113
+ if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
4114
+ if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
4115
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4056
4116
  };
4057
4117
 
4058
4118
  return [
@@ -4062,7 +4122,9 @@
4062
4122
  roomLabelsEnable,
4063
4123
  ruleLabelsEnable,
4064
4124
  floorplanData,
4125
+ getRoomAreaText,
4065
4126
  getLabelElement,
4127
+ getRuleDistanceText,
4066
4128
  adaptiveRoomLabelVisibleEnable,
4067
4129
  hoveredRoom
4068
4130
  ];
@@ -4085,8 +4147,10 @@
4085
4147
  roomLabelsEnable: 3,
4086
4148
  ruleLabelsEnable: 4,
4087
4149
  floorplanData: 5,
4088
- getLabelElement: 6,
4089
- adaptiveRoomLabelVisibleEnable: 7
4150
+ getRoomAreaText: 6,
4151
+ getLabelElement: 7,
4152
+ getRuleDistanceText: 8,
4153
+ adaptiveRoomLabelVisibleEnable: 9
4090
4154
  },
4091
4155
  add_css$c
4092
4156
  );
@@ -4101,11 +4165,11 @@
4101
4165
 
4102
4166
  function get_each_context$6(ctx, list, i) {
4103
4167
  const child_ctx = ctx.slice();
4104
- child_ctx[14] = list[i];
4168
+ child_ctx[16] = list[i];
4105
4169
  return child_ctx;
4106
4170
  }
4107
4171
 
4108
- // (22:0) {#if visible}
4172
+ // (24:0) {#if visible}
4109
4173
  function create_if_block$5(ctx) {
4110
4174
  let div;
4111
4175
  let t0;
@@ -4172,7 +4236,7 @@
4172
4236
  p(new_ctx, dirty) {
4173
4237
  ctx = new_ctx;
4174
4238
 
4175
- if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232) {
4239
+ if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
4176
4240
  each_value = /*floorplanData*/ ctx[9].floorDatas;
4177
4241
  let i;
4178
4242
 
@@ -4278,7 +4342,7 @@
4278
4342
  };
4279
4343
  }
4280
4344
 
4281
- // (24:4) {#each floorplanData.floorDatas as floorData}
4345
+ // (26:4) {#each floorplanData.floorDatas as floorData}
4282
4346
  function create_each_block$6(ctx) {
4283
4347
  let currentfloor;
4284
4348
  let current;
@@ -4287,16 +4351,18 @@
4287
4351
  {
4288
4352
  hoverEnable: /*hoverEnable*/ ctx[5],
4289
4353
  floorplanData: /*floorplanData*/ ctx[9],
4290
- getLabelElement: /*getLabelElement*/ ctx[12],
4354
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
4355
+ getLabelElement: /*getLabelElement*/ ctx[13],
4356
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
4291
4357
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
4292
4358
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
4293
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
4359
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
4294
4360
  },
4295
4361
  {
4296
- floorIndex: /*floorData*/ ctx[14].floorIndex
4362
+ floorIndex: /*floorData*/ ctx[16].floorIndex
4297
4363
  },
4298
4364
  {
4299
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
4365
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
4300
4366
  }
4301
4367
  ];
4302
4368
 
@@ -4317,21 +4383,23 @@
4317
4383
  current = true;
4318
4384
  },
4319
4385
  p(ctx, dirty) {
4320
- const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 13232)
4386
+ const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
4321
4387
  ? internal.get_spread_update(currentfloor_spread_levels, [
4322
- dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 13216 && {
4388
+ dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
4323
4389
  hoverEnable: /*hoverEnable*/ ctx[5],
4324
4390
  floorplanData: /*floorplanData*/ ctx[9],
4325
- getLabelElement: /*getLabelElement*/ ctx[12],
4391
+ getRoomAreaText: /*getRoomAreaText*/ ctx[12],
4392
+ getLabelElement: /*getLabelElement*/ ctx[13],
4393
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
4326
4394
  roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
4327
4395
  ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
4328
- adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[13]
4396
+ adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
4329
4397
  },
4330
4398
  dirty & /*floorplanData*/ 512 && {
4331
- floorIndex: /*floorData*/ ctx[14].floorIndex
4399
+ floorIndex: /*floorData*/ ctx[16].floorIndex
4332
4400
  },
4333
4401
  dirty & /*floorplanData, floorIndex*/ 528 && {
4334
- isCurrent: /*floorData*/ ctx[14].floorIndex === /*floorIndex*/ ctx[4]
4402
+ isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
4335
4403
  }
4336
4404
  ])
4337
4405
  : {};
@@ -4353,7 +4421,7 @@
4353
4421
  };
4354
4422
  }
4355
4423
 
4356
- // (39:4) {#if compassEnable}
4424
+ // (43:4) {#if compassEnable}
4357
4425
  function create_if_block_1$2(ctx) {
4358
4426
  let compass;
4359
4427
  let current;
@@ -4462,7 +4530,9 @@
4462
4530
  let { floorplanData } = $$props;
4463
4531
  let { lastPanoramaLongitude } = $$props;
4464
4532
  let { cameraImageUrl } = $$props;
4533
+ let { getRoomAreaText } = $$props;
4465
4534
  let { getLabelElement } = $$props;
4535
+ let { getRuleDistanceText } = $$props;
4466
4536
  let { adaptiveRoomLabelVisibleEnable } = $$props;
4467
4537
 
4468
4538
  $$self.$$set = $$props => {
@@ -4478,8 +4548,10 @@
4478
4548
  if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
4479
4549
  if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
4480
4550
  if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
4481
- if ('getLabelElement' in $$props) $$invalidate(12, getLabelElement = $$props.getLabelElement);
4482
- if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(13, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4551
+ if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
4552
+ if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
4553
+ if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
4554
+ if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
4483
4555
  };
4484
4556
 
4485
4557
  return [
@@ -4495,7 +4567,9 @@
4495
4567
  floorplanData,
4496
4568
  lastPanoramaLongitude,
4497
4569
  cameraImageUrl,
4570
+ getRoomAreaText,
4498
4571
  getLabelElement,
4572
+ getRuleDistanceText,
4499
4573
  adaptiveRoomLabelVisibleEnable
4500
4574
  ];
4501
4575
  }
@@ -4523,8 +4597,10 @@
4523
4597
  floorplanData: 9,
4524
4598
  lastPanoramaLongitude: 10,
4525
4599
  cameraImageUrl: 11,
4526
- getLabelElement: 12,
4527
- adaptiveRoomLabelVisibleEnable: 13
4600
+ getRoomAreaText: 12,
4601
+ getLabelElement: 13,
4602
+ getRuleDistanceText: 14,
4603
+ adaptiveRoomLabelVisibleEnable: 15
4528
4604
  },
4529
4605
  add_css$b
4530
4606
  );
@@ -5388,10 +5464,12 @@
5388
5464
  autoShowEnable: true,
5389
5465
  ruleLabelsEnable: true,
5390
5466
  roomLabelsEnable: true,
5467
+ adaptiveRoomLabelVisibleEnable: true,
5391
5468
  cameraImageUrl: CAMERA_IMAGE,
5392
5469
  attachedTo: exports.FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
5393
5470
  getLabelElement: undefined,
5394
- adaptiveRoomLabelVisibleEnable: true,
5471
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
5472
+ getRuleDistanceText: (distance) => distance.toString()
5395
5473
  };
5396
5474
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
5397
5475
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -5464,12 +5542,10 @@
5464
5542
  const options = { userAction };
5465
5543
  state.visible ? this._show(options) : this._hide(options);
5466
5544
  }
5545
+ this.render();
5467
5546
  }
5468
- changeConfigs(_config, userAction = true) {
5469
- const config = Object.assign(Object.assign({}, this.state.config), _config);
5547
+ changeConfigs(config, userAction = true) {
5470
5548
  this.updateState({ config }, userAction);
5471
- if (!this.container)
5472
- return;
5473
5549
  this.render();
5474
5550
  }
5475
5551
  async formatData(serverData) {
@@ -5477,7 +5553,8 @@
5477
5553
  }
5478
5554
  updateState(state, userAction) {
5479
5555
  const prevState = this.state;
5480
- this.state = Object.assign(Object.assign({}, this.state), state);
5556
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
5557
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
5481
5558
  if (equal(this.state, prevState, { deep: true }))
5482
5559
  return;
5483
5560
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -6064,6 +6141,8 @@
6064
6141
  attachedTo: exports.FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
6065
6142
  getLabelElement: undefined,
6066
6143
  adaptiveRoomLabelVisibleEnable: true,
6144
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
6145
+ getRuleDistanceText: (distance) => distance.toString()
6067
6146
  };
6068
6147
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
6069
6148
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -6137,6 +6216,10 @@
6137
6216
  state.visible ? this._show(options) : this._hide(options);
6138
6217
  }
6139
6218
  }
6219
+ changeConfigs(config, userAction = true) {
6220
+ this.updateState({ config }, userAction);
6221
+ this.render();
6222
+ }
6140
6223
  /** 更新户型图位置 */
6141
6224
  updatePosition() {
6142
6225
  var _a;
@@ -6155,7 +6238,8 @@
6155
6238
  }
6156
6239
  updateState(state, userAction) {
6157
6240
  const prevState = this.state;
6158
- this.state = Object.assign(Object.assign({}, this.state), state);
6241
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
6242
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
6159
6243
  if (equal(this.state, prevState, { deep: true }))
6160
6244
  return;
6161
6245
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -6492,6 +6576,8 @@
6492
6576
  attachedTo: exports.FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
6493
6577
  getLabelElement: undefined,
6494
6578
  adaptiveRoomLabelVisibleEnable: true,
6579
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
6580
+ getRuleDistanceText: (distance) => distance.toString()
6495
6581
  };
6496
6582
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
6497
6583
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -6593,6 +6679,10 @@
6593
6679
  state.visible ? this._show(options) : this._hide(options);
6594
6680
  }
6595
6681
  }
6682
+ changeConfigs(config, userAction = true) {
6683
+ this.updateState({ config }, userAction);
6684
+ this.render();
6685
+ }
6596
6686
  async formatData(serverData) {
6597
6687
  return await formatData(serverData.data);
6598
6688
  }
@@ -6601,7 +6691,7 @@
6601
6691
  return;
6602
6692
  this.isHiddenByHideFunc = false;
6603
6693
  const { userAction } = options;
6604
- this.hooks.emit('show', { userAction });
6694
+ this.hooks.emit('show', { userAction, auto: false });
6605
6695
  if (this.five.getCurrentState().mode !== 'Topview') {
6606
6696
  await changeMode(this.five, ['Topview', undefined, undefined, userAction]);
6607
6697
  }
@@ -6611,14 +6701,14 @@
6611
6701
  const renderDuration = 500;
6612
6702
  const modelOpacity = this.state.config.modelOpacity;
6613
6703
  changeModelCanvasOpacity(this.five, modelOpacity, renderDuration);
6614
- this.hooks.emit('showAnimationEnded', { userAction });
6704
+ this.hooks.emit('showAnimationEnded', { userAction, auto: false });
6615
6705
  this.render();
6616
6706
  }
6617
6707
  async _hide(options) {
6618
6708
  if (!this.state.enabled)
6619
6709
  return;
6620
6710
  const { userAction } = options;
6621
- this.hooks.emit('hide', { userAction });
6711
+ this.hooks.emit('hide', { userAction, auto: false });
6622
6712
  const modelOpacity = 1;
6623
6713
  const renderDuration = 0;
6624
6714
  changeModelCanvasOpacity(this.five, modelOpacity, renderDuration);
@@ -6635,7 +6725,8 @@
6635
6725
  }
6636
6726
  updateState(state, userAction) {
6637
6727
  const prevState = this.state;
6638
- this.state = Object.assign(Object.assign({}, this.state), state);
6728
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
6729
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
6639
6730
  if (equal(this.state, prevState, { deep: true }))
6640
6731
  return;
6641
6732
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -9029,11 +9120,28 @@
9029
9120
  state.enable = false;
9030
9121
  return true;
9031
9122
  };
9123
+ function changeConfigs(config) {
9124
+ if (config.distanceText && config.distanceText !== state.options.distanceText) {
9125
+ const distanceText = config.distanceText;
9126
+ state.options.distanceText = distanceText;
9127
+ Object.values(__rule).forEach((item) => {
9128
+ item.rules.forEach((rule) => {
9129
+ const [origin, vertical] = rule.rule;
9130
+ const distance = origin.distanceTo(vertical);
9131
+ const textEle = rule.$element.querySelector('.PanoRulerPlugin-rule-label-name');
9132
+ if (!textEle)
9133
+ return;
9134
+ textEle.innerText = distanceText(distance);
9135
+ });
9136
+ });
9137
+ }
9138
+ }
9032
9139
  return {
9033
9140
  enable,
9034
9141
  disable,
9035
9142
  load,
9036
9143
  state,
9144
+ changeConfigs,
9037
9145
  };
9038
9146
  };
9039
9147
 
@@ -10930,7 +11038,8 @@
10930
11038
  if (userDistanceItem) {
10931
11039
  userDistanceItem.update({ line: line.toCompletelyJson(), polyline: line.getPolyline().toCompletelyJson() });
10932
11040
  }
10933
- const distanceString = startPoint.position.clone().distanceTo(endPoint.position).toFixed(2) + 'm';
11041
+ const distance = startPoint.position.clone().distanceTo(endPoint.position);
11042
+ const distanceString = props.line.model.params.getDistanceText(distance);
10934
11043
  contentDom.innerText !== distanceString && (contentDom.innerText = distanceString);
10935
11044
  }
10936
11045
  function appendTo(container) {
@@ -11269,6 +11378,12 @@
11269
11378
  class BaseController {
11270
11379
  constructor(params) {
11271
11380
  var _a, _b;
11381
+ Object.defineProperty(this, "model", {
11382
+ enumerable: true,
11383
+ configurable: true,
11384
+ writable: true,
11385
+ value: void 0
11386
+ });
11272
11387
  Object.defineProperty(this, "five", {
11273
11388
  enumerable: true,
11274
11389
  configurable: true,
@@ -11281,7 +11396,13 @@
11281
11396
  writable: true,
11282
11397
  value: void 0
11283
11398
  });
11284
- Object.defineProperty(this, "model", {
11399
+ Object.defineProperty(this, "config", {
11400
+ enumerable: true,
11401
+ configurable: true,
11402
+ writable: true,
11403
+ value: void 0
11404
+ });
11405
+ Object.defineProperty(this, "dashed", {
11285
11406
  enumerable: true,
11286
11407
  configurable: true,
11287
11408
  writable: true,
@@ -11340,6 +11461,7 @@
11340
11461
  configurable: true,
11341
11462
  writable: true,
11342
11463
  value: () => {
11464
+ this.dashed.distanceItem.update(this.five);
11343
11465
  this.model.lines.forEach((line) => line.distanceItem.update(this.five));
11344
11466
  }
11345
11467
  });
@@ -11347,6 +11469,7 @@
11347
11469
  this.five = params.five;
11348
11470
  this.hook = params.hook;
11349
11471
  this.model = params.model;
11472
+ this.config = params.config;
11350
11473
  this.magnifier = params.magnifier;
11351
11474
  this.container = params.container;
11352
11475
  this.fiveHelper = params.fiveHelper;
@@ -11355,6 +11478,10 @@
11355
11478
  // ==================== Groups ====================
11356
11479
  this.group = params.group;
11357
11480
  this.mouseGroup = params.mouseGroup;
11481
+ // ==================== 虚线 ====================
11482
+ this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
11483
+ this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
11484
+ this.dashed.mesh.name = 'dashLine';
11358
11485
  const fiveElement = this.five.getElement();
11359
11486
  if (fiveElement) {
11360
11487
  fiveElement.addEventListener('touchstart', preventDefault);
@@ -11430,12 +11557,6 @@
11430
11557
  writable: true,
11431
11558
  value: 'edit'
11432
11559
  });
11433
- Object.defineProperty(this, "model", {
11434
- enumerable: true,
11435
- configurable: true,
11436
- writable: true,
11437
- value: new Model({ userDistanceItemCreator: this.userDistanceItemCreator })
11438
- });
11439
11560
  Object.defineProperty(this, "pressPoint", {
11440
11561
  enumerable: true,
11441
11562
  configurable: true,
@@ -11467,13 +11588,6 @@
11467
11588
  writable: true,
11468
11589
  value: null
11469
11590
  });
11470
- /** 鼠标点到上一个端点连接的虚线 */
11471
- Object.defineProperty(this, "dashed", {
11472
- enumerable: true,
11473
- configurable: true,
11474
- writable: true,
11475
- value: void 0
11476
- });
11477
11591
  Object.defineProperty(this, "hammer", {
11478
11592
  enumerable: true,
11479
11593
  configurable: true,
@@ -11686,9 +11800,7 @@
11686
11800
  this.dashed.distanceItem.update(this.five);
11687
11801
  }
11688
11802
  });
11689
- // ==================== 虚线 ====================
11690
- this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
11691
- this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
11803
+ this.model = new Model(this.config);
11692
11804
  // ==================== 事件监听 ====================
11693
11805
  // five
11694
11806
  this.five.on('cameraUpdate', this.onCameraUpdate);
@@ -12522,7 +12634,7 @@
12522
12634
  enumerable: true,
12523
12635
  configurable: true,
12524
12636
  writable: true,
12525
- value: new Model({ userDistanceItemCreator: this.userDistanceItemCreator })
12637
+ value: new Model(this.config)
12526
12638
  });
12527
12639
  Object.defineProperty(this, "hasAppendDashed", {
12528
12640
  enumerable: true,
@@ -12560,13 +12672,6 @@
12560
12672
  writable: true,
12561
12673
  value: void 0
12562
12674
  });
12563
- /** 圆环点到上一个端点连接的虚线 */
12564
- Object.defineProperty(this, "dashed", {
12565
- enumerable: true,
12566
- configurable: true,
12567
- writable: true,
12568
- value: void 0
12569
- });
12570
12675
  /** 编辑线条发生改变时通知外部 */
12571
12676
  Object.defineProperty(this, "onLineChanged", {
12572
12677
  enumerable: true,
@@ -12769,10 +12874,6 @@
12769
12874
  onClick: this.deleteDomClickCallback,
12770
12875
  cancelDelete: this.cancelDeleteClickCallback,
12771
12876
  }).appendTo(this.container);
12772
- // ==================== 虚线 ====================
12773
- this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
12774
- this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
12775
- this.dashed.mesh.name = 'dashLine';
12776
12877
  // ==================== 事件监听 ====================
12777
12878
  // five
12778
12879
  this.five.on('cameraUpdate', this.onCameraUpdate);
@@ -14146,6 +14247,12 @@ void main() {
14146
14247
  writable: true,
14147
14248
  value: void 0
14148
14249
  });
14250
+ Object.defineProperty(this, "config", {
14251
+ enumerable: true,
14252
+ configurable: true,
14253
+ writable: true,
14254
+ value: void 0
14255
+ });
14149
14256
  Object.defineProperty(this, "fiveHelper", {
14150
14257
  enumerable: true,
14151
14258
  configurable: true,
@@ -14244,7 +14351,14 @@ void main() {
14244
14351
  });
14245
14352
  this.five = five$1;
14246
14353
  this.params = params;
14247
- this.model = new Model({ userDistanceItemCreator: this.params.userDistanceItemCreator });
14354
+ const defaultConfig = {
14355
+ userDistanceItemCreator: undefined,
14356
+ getDistanceText(distance) {
14357
+ return distance.toFixed(2) + 'm';
14358
+ },
14359
+ };
14360
+ this.config = Object.assign(Object.assign({}, defaultConfig), omit(params, ['openParams', 'magnifierParams']));
14361
+ this.model = new Model(this.config);
14248
14362
  this.fiveHelper = new FiveHelper(five$1);
14249
14363
  // magnifier
14250
14364
  this.magnifier = new Magnifier(five$1, (_a = params.magnifierParams) !== null && _a !== void 0 ? _a : { width: 190, height: 190, scale: 2 });
@@ -14266,6 +14380,7 @@ void main() {
14266
14380
  hook: this.hook,
14267
14381
  group: this.group,
14268
14382
  model: this.model,
14383
+ config: this.config,
14269
14384
  magnifier: this.magnifier,
14270
14385
  container: this.container,
14271
14386
  fiveHelper: this.fiveHelper,
@@ -14400,6 +14515,14 @@ void main() {
14400
14515
  (_b = this.useUIController) === null || _b === void 0 ? void 0 : _b.dispose();
14401
14516
  this.useUIController = new UIController(this, this.controllerParams);
14402
14517
  }
14518
+ changeConfigs(config) {
14519
+ var _a;
14520
+ if (config.getDistanceText && config.getDistanceText !== this.config.getDistanceText) {
14521
+ const getDistanceText = config.getDistanceText;
14522
+ this.config.getDistanceText = getDistanceText;
14523
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.updateDistanceUI();
14524
+ }
14525
+ }
14403
14526
  }
14404
14527
 
14405
14528
  const PanoMeasurePlugin = function PanoMeasurePlugin(five, params) {