@realsee/dnalogel 2.0.0 → 2.0.2-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/dist/CSS3DRenderPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  2. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  3. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  4. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  5. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  6. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  7. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  8. package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  9. package/dist/CSS3DRenderPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  10. package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  11. package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  12. package/dist/CameraMovementPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  13. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  14. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  15. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  16. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  17. package/dist/CameraMovementPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  18. package/dist/CameraMovementPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  19. package/dist/CameraMovementPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  20. package/dist/CameraMovementPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  21. package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  22. package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  23. package/dist/CruisePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  24. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  25. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  26. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  27. package/dist/CruisePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  28. package/dist/CruisePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  29. package/dist/CruisePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  30. package/dist/CruisePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  31. package/dist/CruisePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  32. package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  33. package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  34. package/dist/CruisePlugin/index.js +188 -5
  35. package/dist/GuideLinePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  36. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  37. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  38. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  39. package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  40. package/dist/GuideLinePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  41. package/dist/GuideLinePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  42. package/dist/GuideLinePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  43. package/dist/GuideLinePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  44. package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  45. package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  46. package/dist/GuideLinePlugin/index.js +188 -5
  47. package/dist/ItemLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  48. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  49. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  50. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  51. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  52. package/dist/ItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  53. package/dist/ItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  54. package/dist/ItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  55. package/dist/ItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  56. package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  57. package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  58. package/dist/ItemLabelPlugin/index.js +2 -2
  59. package/dist/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  60. package/dist/ModelChassisCompassPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  61. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  62. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  63. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  64. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  65. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  66. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  67. package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  68. package/dist/ModelChassisCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  69. package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  70. package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  71. package/dist/ModelEntryDoorGuidePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  72. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  73. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  74. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  75. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  76. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  77. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  78. package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  79. package/dist/ModelEntryDoorGuidePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  80. package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  81. package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  82. package/dist/ModelItemLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  83. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  84. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  85. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  86. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  87. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  88. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  89. package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  90. package/dist/ModelItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  91. package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  92. package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  93. package/dist/ModelItemLabelPlugin/index.js +2 -2
  94. package/dist/ModelRoomLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  95. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  96. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  97. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  98. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  99. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  100. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  101. package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  102. package/dist/ModelRoomLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  103. package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  104. package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  105. package/dist/ModelRoomLabelPlugin/index.js +2 -2
  106. package/dist/ModelTVVideoPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  107. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  108. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  109. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  110. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  111. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  112. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  113. package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  114. package/dist/ModelTVVideoPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  115. package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  116. package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  117. package/dist/ModelViewPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  118. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  119. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  120. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  121. package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  122. package/dist/ModelViewPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  123. package/dist/ModelViewPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  124. package/dist/ModelViewPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  125. package/dist/ModelViewPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  126. package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  127. package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  128. package/dist/PanoCompassPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  129. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  130. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  131. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  132. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  133. package/dist/PanoCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  134. package/dist/PanoCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  135. package/dist/PanoCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  136. package/dist/PanoCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  137. package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  138. package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  139. package/dist/PanoCursorRaycasterPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  140. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  141. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  142. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  143. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  144. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  145. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  146. package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  147. package/dist/PanoCursorRaycasterPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  148. package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  149. package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  150. package/dist/PanoDoorLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  151. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  152. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  153. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  154. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  155. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  156. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  157. package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  158. package/dist/PanoDoorLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  159. package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  160. package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  161. package/dist/PanoDoorLabelPlugin/index.js +1 -1
  162. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  163. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  164. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  165. package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  166. package/dist/PanoMeasurePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  167. package/dist/PanoMeasurePlugin/Model/index.d.ts +3 -6
  168. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  169. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  170. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  171. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  172. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  173. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  174. package/dist/PanoMeasurePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  175. package/dist/PanoMeasurePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  176. package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  177. package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  178. package/dist/PanoMeasurePlugin/index.js +75 -31
  179. package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
  180. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  181. package/dist/PanoRulerPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  182. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  183. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  184. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  185. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  186. package/dist/PanoRulerPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  187. package/dist/PanoRulerPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  188. package/dist/PanoRulerPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  189. package/dist/PanoRulerPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  190. package/dist/PanoRulerPlugin/Plugin.d.ts +5 -2
  191. package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  192. package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  193. package/dist/PanoRulerPlugin/index.js +17 -0
  194. package/dist/PanoRulerProPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  195. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  196. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  197. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  198. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  199. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  200. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  201. package/dist/PanoRulerProPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  202. package/dist/PanoRulerProPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  203. package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  204. package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  205. package/dist/PanoRulerProPlugin/index.js +2 -2
  206. package/dist/PanoSpatialTagPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  207. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  208. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  209. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  210. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  211. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  212. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  213. package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  214. package/dist/PanoSpatialTagPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  215. package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  216. package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  217. package/dist/PanoSpatialTagPlugin/index.js +2 -2
  218. package/dist/floorplan/MapviewFloorplanPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  219. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  220. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  221. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  222. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  223. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  224. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  225. package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  226. package/dist/floorplan/MapviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  227. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  228. package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  229. package/dist/floorplan/MapviewFloorplanPlugin/index.js +250 -174
  230. package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  231. package/dist/floorplan/ModelFloorplanPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  232. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  233. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  234. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  235. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  236. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  237. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  238. package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  239. package/dist/floorplan/ModelFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  240. package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  241. package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  242. package/dist/floorplan/ModelFloorplanPlugin/index.js +257 -180
  243. package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  244. package/dist/floorplan/PanoFloorplanRadarPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  245. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  246. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  247. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  248. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  249. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  250. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  251. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  252. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  253. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  254. package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  255. package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +9 -9
  256. package/dist/floorplan/TopviewFloorplanPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  257. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  258. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  259. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  260. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  261. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
  262. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
  263. package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  264. package/dist/floorplan/TopviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
  265. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  266. package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  267. package/dist/floorplan/TopviewFloorplanPlugin/index.js +250 -174
  268. package/dist/index.es.js +523 -228
  269. package/dist/index.js +523 -229
  270. package/dist/index.umd.js +527 -232
  271. package/docs/assets/search.js +1 -1
  272. package/docs/classes/CruisePluginController.html +14 -14
  273. package/docs/classes/Magnifier.html +4 -4
  274. package/docs/classes/ModelRoomLabelController.html +4 -4
  275. package/docs/enums/CameraMovementEffect.html +2 -2
  276. package/docs/enums/DIRECTION.html +1 -1
  277. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  278. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  279. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  280. package/docs/enums/Rotation.html +2 -2
  281. package/docs/index.html +1 -1
  282. package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
  283. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  284. package/docs/interfaces/FloorplanBounding.html +4 -4
  285. package/docs/interfaces/FloorplanData.html +2 -2
  286. package/docs/interfaces/FloorplanEntrance.html +7 -7
  287. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  288. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  289. package/docs/interfaces/FloorplanFloorData.html +2 -2
  290. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  291. package/docs/interfaces/FloorplanObserver.html +2 -2
  292. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  293. package/docs/interfaces/FloorplanPosition.html +2 -2
  294. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  295. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  296. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  297. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  298. package/docs/interfaces/FloorplanServerData.html +2 -2
  299. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  300. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  301. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  302. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  303. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  304. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  305. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  306. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  307. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  308. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  309. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  310. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  311. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  312. package/docs/interfaces/LineJson.html +1 -1
  313. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  314. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  315. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  316. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  317. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  318. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  319. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  320. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  321. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  322. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  323. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  324. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  325. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  326. package/docs/interfaces/OpenParameter.html +2 -2
  327. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  328. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  329. package/docs/interfaces/PanoMeasureParameterType.html +5 -1
  330. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  331. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  332. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  333. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  334. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  335. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  336. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  337. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  338. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  339. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  340. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  341. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  342. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  343. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  344. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  345. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  346. package/docs/interfaces/Point.html +1 -1
  347. package/docs/interfaces/PointJson.html +1 -1
  348. package/docs/interfaces/Room.html +1 -1
  349. package/docs/interfaces/RoomInfo.html +1 -1
  350. package/docs/interfaces/RoomLabel.html +7 -7
  351. package/docs/interfaces/RoomRules.html +1 -1
  352. package/docs/interfaces/Rooms.html +1 -1
  353. package/docs/modules.html +18 -18
  354. package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -1
  355. package/libs/ItemLabelPlugin/ItemLabelItem.js +1 -1
  356. package/libs/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  357. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -1
  358. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +1 -1
  359. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -1
  360. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -1
  361. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
  362. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
  363. package/libs/PanoMeasurePlugin/Controller/BaseController.js +21 -1
  364. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
  365. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -16
  366. package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
  367. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -13
  368. package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -1
  369. package/libs/PanoMeasurePlugin/Controller/index.js +24 -1
  370. package/libs/PanoMeasurePlugin/Model/index.d.ts +3 -6
  371. package/libs/PanoMeasurePlugin/typings/index.d.ts +8 -0
  372. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  373. package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
  374. package/libs/PanoMeasurePlugin/utils/distanceDom.js +2 -1
  375. package/libs/PanoRulerPlugin/Plugin.d.ts +5 -2
  376. package/libs/PanoRulerPlugin/Plugin.js +17 -0
  377. package/libs/PanoRulerProPlugin/RulerItem.js +1 -1
  378. package/libs/PanoRulerProPlugin/RulerItems.js +1 -1
  379. package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -1
  380. package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -1
  381. package/libs/floorplan/Components/BaseImage.js +1 -1
  382. package/libs/floorplan/Components/Camera.js +1 -1
  383. package/libs/floorplan/Components/Compass.js +1 -1
  384. package/libs/floorplan/Components/CurrentFloor.js +33 -21
  385. package/libs/floorplan/Components/Main.js +32 -20
  386. package/libs/floorplan/Components/Normalmage.js +1 -1
  387. package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
  388. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -1
  389. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +25 -14
  390. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +41 -35
  391. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
  392. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
  393. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
  394. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
  395. package/libs/floorplan/Components/RuleLabels/RuleItem.js +47 -29
  396. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +62 -44
  397. package/libs/floorplan/Components/SvgImage.js +1 -1
  398. package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
  399. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -6
  400. package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
  401. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  402. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
  403. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -1
  404. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -1
  405. package/package.json +2 -1
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  attr,
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  append,
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  append,
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  append,
@@ -12,6 +12,7 @@ import {
12
12
  insert,
13
13
  noop,
14
14
  safe_not_equal,
15
+ set_data,
15
16
  set_style,
16
17
  space,
17
18
  text,
@@ -25,18 +26,18 @@ function add_css(target) {
25
26
 
26
27
  function get_each_context(ctx, list, i) {
27
28
  const child_ctx = ctx.slice();
28
- child_ctx[10] = list[i];
29
- child_ctx[12] = i;
29
+ child_ctx[11] = list[i];
30
+ child_ctx[13] = i;
30
31
  return child_ctx;
31
32
  }
32
33
 
33
34
  function get_each_context_1(ctx, list, i) {
34
35
  const child_ctx = ctx.slice();
35
- child_ctx[13] = list[i];
36
+ child_ctx[14] = list[i];
36
37
  return child_ctx;
37
38
  }
38
39
 
39
- // (47:4) {#each rulerLabels as rulerLabel}
40
+ // (48:4) {#each rulerLabels as rulerLabel}
40
41
  function create_each_block_1(ctx) {
41
42
  let div;
42
43
 
@@ -44,8 +45,8 @@ function create_each_block_1(ctx) {
44
45
  c() {
45
46
  div = element("div");
46
47
  attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
47
- set_style(div, "left", /*rulerLabel*/ ctx[13].left * 100 + '%', false);
48
- set_style(div, "bottom", /*rulerLabel*/ ctx[13].bottom * 100 + '%', false);
48
+ set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
49
+ set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
49
50
  },
50
51
  m(target, anchor) {
51
52
  insert(target, div, anchor);
@@ -57,11 +58,11 @@ function create_each_block_1(ctx) {
57
58
  };
58
59
  }
59
60
 
60
- // (56:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
61
+ // (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
61
62
  function create_each_block(key_1, ctx) {
62
63
  let div1;
63
64
  let div0;
64
- let t0_value = /*textItem*/ ctx[10].distance + "";
65
+ let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
65
66
  let t0;
66
67
  let t1;
67
68
 
@@ -74,10 +75,10 @@ function create_each_block(key_1, ctx) {
74
75
  t0 = text(t0_value);
75
76
  t1 = space();
76
77
  attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
77
- toggle_class(div0, "is-row", /*isRow*/ ctx[1]);
78
+ toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
78
79
  attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
79
- set_style(div1, "left", /*textItem*/ ctx[10].left * 100 + '%', false);
80
- set_style(div1, "bottom", /*textItem*/ ctx[10].bottom * 100 + '%', false);
80
+ set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
81
+ set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
81
82
  this.first = div1;
82
83
  },
83
84
  m(target, anchor) {
@@ -88,6 +89,7 @@ function create_each_block(key_1, ctx) {
88
89
  },
89
90
  p(new_ctx, dirty) {
90
91
  ctx = new_ctx;
92
+ if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) set_data(t0, t0_value);
91
93
  },
92
94
  d(detaching) {
93
95
  if (detaching) detach(div1);
@@ -105,15 +107,15 @@ function create_fragment(ctx) {
105
107
  let each_blocks = [];
106
108
  let each1_lookup = new Map();
107
109
  let div3_class_value;
108
- let each_value_1 = /*rulerLabels*/ ctx[2];
110
+ let each_value_1 = /*rulerLabels*/ ctx[3];
109
111
  let each_blocks_1 = [];
110
112
 
111
113
  for (let i = 0; i < each_value_1.length; i += 1) {
112
114
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
113
115
  }
114
116
 
115
- let each_value = /*rulerTexts*/ ctx[3];
116
- const get_key = ctx => /*textItemIndex*/ ctx[12];
117
+ let each_value = /*rulerTexts*/ ctx[4];
118
+ const get_key = ctx => /*textItemIndex*/ ctx[13];
117
119
 
118
120
  for (let i = 0; i < each_value.length; i += 1) {
119
121
  let child_ctx = get_each_context(ctx, each_value, i);
@@ -141,12 +143,12 @@ function create_fragment(ctx) {
141
143
 
142
144
  attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
143
145
  attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
144
- toggle_class(div1, "is-row", /*isRow*/ ctx[1]);
146
+ toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
145
147
  attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
146
148
  attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
147
- toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
148
- set_style(div3, "width", /*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
149
- set_style(div3, "height", !/*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
149
+ toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
150
+ set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
151
+ set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
150
152
  },
151
153
  m(target, anchor) {
152
154
  insert(target, div3, anchor);
@@ -166,8 +168,8 @@ function create_fragment(ctx) {
166
168
  }
167
169
  },
168
170
  p(ctx, [dirty]) {
169
- if (dirty & /*rulerLabels*/ 4) {
170
- each_value_1 = /*rulerLabels*/ ctx[2];
171
+ if (dirty & /*rulerLabels*/ 8) {
172
+ each_value_1 = /*rulerLabels*/ ctx[3];
171
173
  let i;
172
174
 
173
175
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -189,8 +191,8 @@ function create_fragment(ctx) {
189
191
  each_blocks_1.length = each_value_1.length;
190
192
  }
191
193
 
192
- if (dirty & /*rulerTexts, isRow*/ 10) {
193
- each_value = /*rulerTexts*/ ctx[3];
194
+ if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
195
+ each_value = /*rulerTexts*/ ctx[4];
194
196
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, destroy_block, create_each_block, null, get_each_context);
195
197
  }
196
198
 
@@ -198,8 +200,8 @@ function create_fragment(ctx) {
198
200
  attr(div3, "class", div3_class_value);
199
201
  }
200
202
 
201
- if (dirty & /*type, isRow*/ 3) {
202
- toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
203
+ if (dirty & /*type, isRow*/ 5) {
204
+ toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
203
205
  }
204
206
  },
205
207
  i: noop,
@@ -222,6 +224,7 @@ function instance($$self, $$props, $$invalidate) {
222
224
  let { type } = $$props;
223
225
  let { data } = $$props;
224
226
  let { bounding } = $$props;
227
+ let { getRuleDistanceText } = $$props;
225
228
  const isRow = type === 'top' || type === 'bottom';
226
229
  const contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2;
227
230
  const contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2;
@@ -267,17 +270,32 @@ function instance($$self, $$props, $$invalidate) {
267
270
 
268
271
  $$self.$$set = $$props => {
269
272
  if ('type' in $$props) $$invalidate(0, type = $$props.type);
270
- if ('data' in $$props) $$invalidate(4, data = $$props.data);
271
- if ('bounding' in $$props) $$invalidate(5, bounding = $$props.bounding);
273
+ if ('data' in $$props) $$invalidate(5, data = $$props.data);
274
+ if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
275
+ if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
272
276
  };
273
277
 
274
- return [type, isRow, rulerLabels, rulerTexts, data, bounding];
278
+ return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
275
279
  }
276
280
 
277
281
  class Component extends SvelteComponent {
278
282
  constructor(options) {
279
283
  super();
280
- init(this, options, instance, create_fragment, safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css);
284
+
285
+ init(
286
+ this,
287
+ options,
288
+ instance,
289
+ create_fragment,
290
+ safe_not_equal,
291
+ {
292
+ type: 0,
293
+ data: 5,
294
+ bounding: 6,
295
+ getRuleDistanceText: 1
296
+ },
297
+ add_css
298
+ );
281
299
  }
282
300
  }
283
301
 
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  append_styles,
@@ -31,12 +31,12 @@ function add_css(target) {
31
31
 
32
32
  function get_each_context(ctx, list, i) {
33
33
  const child_ctx = ctx.slice();
34
- child_ctx[12] = list[i][0];
35
- child_ctx[13] = list[i][1];
34
+ child_ctx[13] = list[i][0];
35
+ child_ctx[14] = list[i][1];
36
36
  return child_ctx;
37
37
  }
38
38
 
39
- // (19:2) {#each ruleLabelArray as [type, data] (type)}
39
+ // (20:2) {#each ruleLabelArray as [type, data] (type)}
40
40
  function create_each_block(key_1, ctx) {
41
41
  let first;
42
42
  let ruleitem;
@@ -44,9 +44,10 @@ function create_each_block(key_1, ctx) {
44
44
 
45
45
  const ruleitem_spread_levels = [
46
46
  {
47
- type: /*type*/ ctx[12],
48
- data: /*data*/ ctx[13],
49
- bounding: /*bounding*/ ctx[0]
47
+ type: /*type*/ ctx[13],
48
+ data: /*data*/ ctx[14],
49
+ bounding: /*bounding*/ ctx[1],
50
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
50
51
  }
51
52
  ];
52
53
 
@@ -74,12 +75,13 @@ function create_each_block(key_1, ctx) {
74
75
  p(new_ctx, dirty) {
75
76
  ctx = new_ctx;
76
77
 
77
- const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/ 9)
78
+ const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
78
79
  ? get_spread_update(ruleitem_spread_levels, [
79
80
  {
80
- type: /*type*/ ctx[12],
81
- data: /*data*/ ctx[13],
82
- bounding: /*bounding*/ ctx[0]
81
+ type: /*type*/ ctx[13],
82
+ data: /*data*/ ctx[14],
83
+ bounding: /*bounding*/ ctx[1],
84
+ getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
83
85
  }
84
86
  ])
85
87
  : {};
@@ -107,8 +109,8 @@ function create_fragment(ctx) {
107
109
  let each_blocks = [];
108
110
  let each_1_lookup = new Map();
109
111
  let current;
110
- let each_value = /*ruleLabelArray*/ ctx[3];
111
- const get_key = ctx => /*type*/ ctx[12];
112
+ let each_value = /*ruleLabelArray*/ ctx[4];
113
+ const get_key = ctx => /*type*/ ctx[13];
112
114
 
113
115
  for (let i = 0; i < each_value.length; i += 1) {
114
116
  let child_ctx = get_each_context(ctx, each_value, i);
@@ -125,8 +127,8 @@ function create_fragment(ctx) {
125
127
  }
126
128
 
127
129
  attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
128
- set_style(div, "width", /*width*/ ctx[2], false);
129
- set_style(div, "height", /*height*/ ctx[1], false);
130
+ set_style(div, "width", /*width*/ ctx[3], false);
131
+ set_style(div, "height", /*height*/ ctx[2], false);
130
132
  },
131
133
  m(target, anchor) {
132
134
  insert(target, div, anchor);
@@ -138,19 +140,19 @@ function create_fragment(ctx) {
138
140
  current = true;
139
141
  },
140
142
  p(ctx, [dirty]) {
141
- if (dirty & /*ruleLabelArray, bounding*/ 9) {
142
- each_value = /*ruleLabelArray*/ ctx[3];
143
+ if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
144
+ each_value = /*ruleLabelArray*/ ctx[4];
143
145
  group_outros();
144
146
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block, null, get_each_context);
145
147
  check_outros();
146
148
  }
147
149
 
148
- if (dirty & /*width*/ 4) {
149
- set_style(div, "width", /*width*/ ctx[2], false);
150
+ if (dirty & /*width*/ 8) {
151
+ set_style(div, "width", /*width*/ ctx[3], false);
150
152
  }
151
153
 
152
- if (dirty & /*height*/ 2) {
153
- set_style(div, "height", /*height*/ ctx[1], false);
154
+ if (dirty & /*height*/ 4) {
155
+ set_style(div, "height", /*height*/ ctx[2], false);
154
156
  }
155
157
  },
156
158
  i(local) {
@@ -195,55 +197,58 @@ function instance($$self, $$props, $$invalidate) {
195
197
  let height;
196
198
  let { floorIndex } = $$props;
197
199
  let { floorplanData } = $$props;
200
+ let { getRuleDistanceText } = $$props;
198
201
 
199
202
  $$self.$$set = $$props => {
200
- if ('floorIndex' in $$props) $$invalidate(4, floorIndex = $$props.floorIndex);
201
- if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
203
+ if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
204
+ if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
205
+ if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
202
206
  };
203
207
 
204
208
  $$self.$$.update = () => {
205
- if ($$self.$$.dirty & /*floorplanData*/ 32) {
206
- $: $$invalidate(0, bounding = floorplanData.bounding);
209
+ if ($$self.$$.dirty & /*floorplanData*/ 64) {
210
+ $: $$invalidate(1, bounding = floorplanData.bounding);
207
211
  }
208
212
 
209
- if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 48) {
210
- $: $$invalidate(10, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
213
+ if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
214
+ $: $$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
211
215
  }
212
216
 
213
- if ($$self.$$.dirty & /*ruleLabelData*/ 1024) {
214
- $: $$invalidate(11, ruleLabelDataKeys = Object.keys(ruleLabelData));
217
+ if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
218
+ $: $$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
215
219
  }
216
220
 
217
- if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 3072) {
218
- $: $$invalidate(3, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
221
+ if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
222
+ $: $$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
219
223
  }
220
224
 
221
- if ($$self.$$.dirty & /*bounding*/ 1) {
222
- $: $$invalidate(8, boundingWidth = bounding.max.x - bounding.min.x);
225
+ if ($$self.$$.dirty & /*bounding*/ 2) {
226
+ $: $$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
223
227
  }
224
228
 
225
- if ($$self.$$.dirty & /*bounding*/ 1) {
226
- $: $$invalidate(6, boundingHeight = bounding.max.y - bounding.min.y);
229
+ if ($$self.$$.dirty & /*bounding*/ 2) {
230
+ $: $$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
227
231
  }
228
232
 
229
- if ($$self.$$.dirty & /*bounding*/ 1) {
230
- $: $$invalidate(9, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
233
+ if ($$self.$$.dirty & /*bounding*/ 2) {
234
+ $: $$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
231
235
  }
232
236
 
233
- if ($$self.$$.dirty & /*bounding*/ 1) {
234
- $: $$invalidate(7, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
237
+ if ($$self.$$.dirty & /*bounding*/ 2) {
238
+ $: $$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
235
239
  }
236
240
 
237
- if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 768) {
238
- $: $$invalidate(2, width = contentWidth / boundingWidth * 100 + '%');
241
+ if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
242
+ $: $$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
239
243
  }
240
244
 
241
- if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 192) {
242
- $: $$invalidate(1, height = contentHeight / boundingHeight * 100 + '%');
245
+ if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
246
+ $: $$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
243
247
  }
244
248
  };
245
249
 
246
250
  return [
251
+ getRuleDistanceText,
247
252
  bounding,
248
253
  height,
249
254
  width,
@@ -262,7 +267,20 @@ function instance($$self, $$props, $$invalidate) {
262
267
  class Component extends SvelteComponent {
263
268
  constructor(options) {
264
269
  super();
265
- init(this, options, instance, create_fragment, safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css);
270
+
271
+ init(
272
+ this,
273
+ options,
274
+ instance,
275
+ create_fragment,
276
+ safe_not_equal,
277
+ {
278
+ floorIndex: 5,
279
+ floorplanData: 6,
280
+ getRuleDistanceText: 0
281
+ },
282
+ add_css
283
+ );
266
284
  }
267
285
  }
268
286
 
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  HtmlTag,
4
4
  SvelteComponent,
@@ -1,3 +1,4 @@
1
+ import type { PartialDeep } from 'type-fest';
1
2
  import type { BaseOptions } from '../../base/BasePlugin';
2
3
  import type { Five } from '@realsee/five';
3
4
  import type { ShowState } from '../utils/correctFiveState';
@@ -56,8 +57,8 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
56
57
  /** 隐藏户型图 */
57
58
  hide: (options?: Partial<HideOptions>) => Promise<void>;
58
59
  /** 更改插件 State */
59
- setState(state: Partial<State>, options?: BaseOptions): void;
60
- changeConfigs(_config: Partial<Config>, userAction?: boolean): void;
60
+ setState(state: PartialDeep<State>, options?: BaseOptions): void;
61
+ changeConfigs(config: Partial<Config>, userAction?: boolean): void;
61
62
  /** 更新户型图大小 */
62
63
  updateSize: () => void;
63
64
  protected formatData(serverData: PluginServerData): Promise<PluginData>;
@@ -545,10 +545,12 @@ export class Controller extends BasePlugin.Controller {
545
545
  autoShowEnable: true,
546
546
  ruleLabelsEnable: true,
547
547
  roomLabelsEnable: true,
548
+ adaptiveRoomLabelVisibleEnable: true,
548
549
  cameraImageUrl: CAMERA_IMAGE,
549
550
  attachedTo: FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
550
551
  getLabelElement: undefined,
551
- adaptiveRoomLabelVisibleEnable: true,
552
+ getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
553
+ getRuleDistanceText: (distance) => distance.toString()
552
554
  };
553
555
  const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
554
556
  const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
@@ -621,12 +623,10 @@ export class Controller extends BasePlugin.Controller {
621
623
  const options = { userAction };
622
624
  state.visible ? this._show(options) : this._hide(options);
623
625
  }
626
+ this.render();
624
627
  }
625
- changeConfigs(_config, userAction = true) {
626
- const config = Object.assign(Object.assign({}, this.state.config), _config);
628
+ changeConfigs(config, userAction = true) {
627
629
  this.updateState({ config }, userAction);
628
- if (!this.container)
629
- return;
630
630
  this.render();
631
631
  }
632
632
  async formatData(serverData) {
@@ -634,7 +634,8 @@ export class Controller extends BasePlugin.Controller {
634
634
  }
635
635
  updateState(state, userAction) {
636
636
  const prevState = this.state;
637
- this.state = Object.assign(Object.assign({}, this.state), state);
637
+ const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
638
+ this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
638
639
  if (equal(this.state, prevState, { deep: true }))
639
640
  return;
640
641
  this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
@@ -21,6 +21,12 @@ export interface Config {
21
21
  ruleLabelsEnable: boolean;
22
22
  /** 是否要启用户型图分间标签功能,默认为 true */
23
23
  roomLabelsEnable: boolean;
24
+ /** 是否支持房屋标签自适应展示,默认为 true
25
+ * @description
26
+ * * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
27
+ * * 鼠标 hover 时,自动展示。
28
+ * */
29
+ adaptiveRoomLabelVisibleEnable: boolean;
24
30
  /** 自定义「雷达」图标 */
25
31
  cameraImageUrl: string;
26
32
  /** 计算户型图大小时,以模型的哪个高度为依据,默认为 BOUNDING_CENTER
@@ -31,12 +37,14 @@ export interface Config {
31
37
  attachedTo: FLOOR_PLAN_ATTACHED_TO;
32
38
  /** 分间标签的自定义函数,通过返回自定义 DOM 替换对应分间的标签 */
33
39
  getLabelElement: undefined | ((room: FloorplanRoomItem) => Element | null);
34
- /** 是否支持房屋标签自适应展示,默认为 true
35
- * @description
36
- * * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
37
- * * 鼠标 hover 时,自动展示。
38
- * */
39
- adaptiveRoomLabelVisibleEnable: boolean;
40
+ /** 自定义分间面积文本
41
+ * @param area 分间原始面积,单位是 mm²
42
+ */
43
+ getRoomAreaText: (areaSize: number) => string;
44
+ /** 自定义标尺距离文本
45
+ * @param distance 原始标尺距离,单位是 mm
46
+ */
47
+ getRuleDistanceText: (distance: number) => string;
40
48
  }
41
49
  export interface Parameters extends Partial<Config> {
42
50
  selector?: string | Element;
@@ -80,7 +88,7 @@ export interface EventMap extends BasePlugin.EventMap<State, FloorplanData> {
80
88
  * 点击户型图的回调
81
89
  * @return 当返回 false 时,会阻止默认行为
82
90
  */
83
- click: () => boolean | void;
91
+ click: () => boolean | undefined;
84
92
  }
85
93
  export interface PluginServerData extends BasePlugin.ServerData {
86
94
  version: number;
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  append,
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  assign,
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  append,
@@ -1,4 +1,4 @@
1
- /* generated by Svelte v3.49.0 */
1
+ /* generated by Svelte v3.50.1 */
2
2
  import {
3
3
  SvelteComponent,
4
4
  add_render_callback,
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
9
  "description": "如视 VR 看房插件合集",
10
10
  "private": false,
11
- "version": "2.0.0",
11
+ "version": "2.0.2-alpha",
12
12
  "license": "SEE LICENSE IN TERMS.txt",
13
13
  "scripts": {
14
14
  "build": "yarn run tsb && yarn run build:rollup && yarn run build:components && yarn build:docs",
@@ -59,6 +59,7 @@
59
59
  "svelte-strip": "^1.0.1",
60
60
  "three": "0.117.1",
61
61
  "tslib": "^2.3.1",
62
+ "type-fest": "^2.19.0",
62
63
  "typedoc": "^0.22.11",
63
64
  "typescript": "^4.5.5",
64
65
  "vite": "^2.8.0"