@realsee/dnalogel 2.1.0-alpha.3 → 2.1.0-alpha.5

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 (477) hide show
  1. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  2. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  3. package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -0
  4. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  6. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  7. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  8. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  9. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  10. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  11. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  12. package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  13. package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  14. package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -0
  15. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  16. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  17. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  18. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  19. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  20. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  21. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  22. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  23. package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  24. package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  25. package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +1 -0
  26. package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  27. package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  28. package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  29. package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  30. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  31. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  32. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  33. package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  34. package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  35. package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  36. package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +1 -0
  37. package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  38. package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  39. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  40. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  41. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  42. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  43. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  44. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  45. package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  46. package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  47. package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
  48. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  49. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  50. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  51. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  52. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  53. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  54. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  55. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  56. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  57. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  58. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
  59. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  60. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  61. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  62. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  63. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  64. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  65. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  66. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  67. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  68. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  69. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -0
  70. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  71. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  72. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  73. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  74. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  75. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  76. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  77. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  78. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  79. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  80. package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
  81. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  82. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  83. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  84. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  85. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  86. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  87. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  88. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  89. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  90. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  91. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
  92. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  93. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  94. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  95. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  96. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  97. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  98. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  99. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  100. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  101. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  102. package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -0
  103. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  104. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  105. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  106. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  107. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  108. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  109. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  110. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  111. package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  112. package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  113. package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -0
  114. package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  115. package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  116. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  117. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  118. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  119. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  120. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  121. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  122. package/dist/Object3DHelperPlugin/Controller.d.ts +44 -4
  123. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  124. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  125. package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +1 -0
  126. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  127. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  128. package/dist/Object3DHelperPlugin/index.js +256 -88
  129. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  130. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  131. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  132. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  133. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  134. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  135. package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
  136. package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  137. package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  138. package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
  139. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  140. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  141. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  142. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  143. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  144. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  145. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  146. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  147. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  148. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  149. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -0
  150. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  151. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  152. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  153. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  154. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  155. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  156. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  157. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  158. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  159. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  160. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
  161. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  162. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  163. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  164. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  165. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  166. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  167. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  168. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  169. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  170. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  171. package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -0
  172. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  173. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  174. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  175. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  176. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  177. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  178. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  179. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  180. package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  181. package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  182. package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -0
  183. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  184. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  185. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  186. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  187. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  188. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  189. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  190. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  191. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  192. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  193. package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -0
  194. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  195. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  196. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  197. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  198. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  199. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  200. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  201. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  202. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  203. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  204. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -0
  205. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  206. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  207. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  208. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  209. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  210. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  211. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  212. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  213. package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  214. package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  215. package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -0
  216. package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  217. package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  218. package/dist/PanoTagPlugin/index.d.ts +1 -0
  219. package/dist/PanoTagPlugin/index.js +119 -94
  220. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  221. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  222. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  223. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  224. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  225. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  226. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  227. package/dist/PanoTagPlugin/typings/tag.d.ts +7 -3
  228. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  229. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  230. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
  231. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  232. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  233. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  234. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  235. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  236. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  237. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  238. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  239. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  240. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  241. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
  242. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  243. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  244. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  245. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  246. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  247. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  248. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  249. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  250. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  251. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  252. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -0
  253. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  254. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  255. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  256. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  257. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  258. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  259. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  260. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  261. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
  262. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  263. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
  264. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
  265. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
  266. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  267. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  268. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  269. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  270. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  271. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  272. package/dist/index.es.js +316 -154
  273. package/dist/index.js +351 -189
  274. package/dist/index.umd.js +351 -189
  275. package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  276. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  277. package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  278. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  279. package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  280. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  281. package/docs/assets/search.js +1 -1
  282. package/docs/classes/CruisePluginController.html +14 -14
  283. package/docs/classes/Magnifier.html +4 -4
  284. package/docs/classes/ModelRoomLabelController.html +4 -4
  285. package/docs/classes/Object3DHelperController.html +14 -7
  286. package/docs/classes/PanoTagPluginController.html +43 -43
  287. package/docs/enums/CameraMovementEffect.html +2 -2
  288. package/docs/enums/ContentType.html +15 -0
  289. package/docs/enums/DIRECTION.html +1 -1
  290. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  291. package/docs/enums/DimensionType.html +1 -0
  292. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  293. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  294. package/docs/enums/LinkType.html +1 -0
  295. package/docs/enums/PointType.html +1 -0
  296. package/docs/enums/Rotation.html +2 -2
  297. package/docs/index.html +2 -2
  298. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  299. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  300. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  301. package/docs/interfaces/FloorplanBounding.html +4 -4
  302. package/docs/interfaces/FloorplanData.html +2 -2
  303. package/docs/interfaces/FloorplanEntrance.html +7 -7
  304. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  305. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  306. package/docs/interfaces/FloorplanFloorData.html +2 -2
  307. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  308. package/docs/interfaces/FloorplanObserver.html +2 -2
  309. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  310. package/docs/interfaces/FloorplanPosition.html +2 -2
  311. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  312. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  313. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  314. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  315. package/docs/interfaces/FloorplanServerData.html +2 -2
  316. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  317. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  318. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  319. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  320. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  321. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  322. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  323. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  324. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  325. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  326. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  327. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  328. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  329. package/docs/interfaces/LineJson.html +1 -1
  330. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  331. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  332. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  333. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  334. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  335. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  336. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  337. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  338. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  339. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  340. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  341. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  342. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  343. package/docs/interfaces/Object3DHelperState.html +1 -1
  344. package/docs/interfaces/OpenParameter.html +2 -2
  345. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  346. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  347. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  348. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  349. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  350. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  351. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  352. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  353. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  354. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  355. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  356. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  357. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  358. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  359. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  360. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  361. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  362. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  363. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  364. package/docs/interfaces/Point.html +1 -1
  365. package/docs/interfaces/PointJson.html +1 -1
  366. package/docs/interfaces/Room.html +1 -1
  367. package/docs/interfaces/RoomInfo.html +1 -1
  368. package/docs/interfaces/RoomLabel.html +7 -7
  369. package/docs/interfaces/RoomRules.html +1 -1
  370. package/docs/interfaces/Rooms.html +1 -1
  371. package/docs/interfaces/Scissor.html +5 -5
  372. package/docs/interfaces/TagConfig.html +11 -0
  373. package/docs/interfaces/Tags.html +5 -0
  374. package/docs/modules.html +25 -17
  375. package/libs/ItemLabelPlugin/ItemLabelComponent.svelte +251 -0
  376. package/libs/ItemLabelPlugin/ItemLabelItem.svelte +183 -0
  377. package/libs/ItemLabelPlugin/Plugin.js +1 -1
  378. package/libs/ItemLabelPlugin/typings.d.ts +1 -1
  379. package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +155 -0
  380. package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +100 -0
  381. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
  382. package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
  383. package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
  384. package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +63 -0
  385. package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +94 -0
  386. package/libs/Object3DHelperPlugin/Controller.d.ts +44 -4
  387. package/libs/Object3DHelperPlugin/Controller.js +136 -7
  388. package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
  389. package/libs/Object3DHelperPlugin/typings.js +1 -0
  390. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  391. package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte +200 -0
  392. package/libs/PanoRulerProPlugin/Controller.js +1 -1
  393. package/libs/PanoRulerProPlugin/RulerItem.svelte +166 -0
  394. package/libs/PanoRulerProPlugin/RulerItems.svelte +212 -0
  395. package/libs/PanoSpatialTagPlugin/Components/origins.svelte +58 -0
  396. package/libs/PanoSpatialTagPlugin/Components/tag.svelte +292 -0
  397. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  398. package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
  399. package/libs/PanoTagPlugin/Components/Common/Arrow.svelte +56 -0
  400. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
  401. package/libs/PanoTagPlugin/Components/Common/Audio.svelte +82 -0
  402. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte +36 -0
  403. package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte +36 -0
  404. package/libs/PanoTagPlugin/Components/Common/Media.svelte +70 -0
  405. package/libs/PanoTagPlugin/Components/Common/MultiLineText.svelte +56 -0
  406. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte +120 -0
  407. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte +81 -0
  408. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte +30 -0
  409. package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
  410. package/libs/PanoTagPlugin/Components/Common/Shadow.svelte +46 -0
  411. package/libs/PanoTagPlugin/Components/Common/Text.svelte +69 -0
  412. package/libs/PanoTagPlugin/Components/Common/TextItem.svelte +42 -0
  413. package/libs/PanoTagPlugin/Components/PointTag.js +3 -3
  414. package/libs/PanoTagPlugin/Components/PointTag.svelte +55 -0
  415. package/libs/PanoTagPlugin/Components/Tag/AudioTag.svelte +105 -0
  416. package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte +33 -0
  417. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte +63 -0
  418. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
  419. package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte +166 -0
  420. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte +234 -0
  421. package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +1 -1
  422. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
  423. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte +30 -0
  424. package/libs/PanoTagPlugin/Components/Tag/TextTag.svelte +63 -0
  425. package/libs/PanoTagPlugin/Components/Tag/index.js +28 -23
  426. package/libs/PanoTagPlugin/Components/Tag/index.svelte +145 -0
  427. package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -1
  428. package/libs/PanoTagPlugin/Components/TagWrapper.svelte +69 -0
  429. package/libs/PanoTagPlugin/controller/index.js +9 -9
  430. package/libs/PanoTagPlugin/index.d.ts +1 -0
  431. package/libs/PanoTagPlugin/index.js +1 -0
  432. package/libs/PanoTagPlugin/mocks/mock1.js +1 -1
  433. package/libs/PanoTagPlugin/mocks/mock6.js +1 -1
  434. package/libs/PanoTagPlugin/tag.config.js +2 -1
  435. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
  436. package/libs/PanoTagPlugin/typings/tag.d.ts +7 -3
  437. package/libs/PanoTagPlugin/typings/tag.js +1 -1
  438. package/libs/floorplan/Components/BaseImage.svelte +26 -0
  439. package/libs/floorplan/Components/Camera.svelte +46 -0
  440. package/libs/floorplan/Components/Compass.svelte +51 -0
  441. package/libs/floorplan/Components/CurrentFloor.svelte +46 -0
  442. package/libs/floorplan/Components/Main.svelte +51 -0
  443. package/libs/floorplan/Components/Normalmage.svelte +11 -0
  444. package/libs/floorplan/Components/RoomHighlight/Room.svelte +27 -0
  445. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +29 -0
  446. package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +119 -0
  447. package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +35 -0
  448. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +42 -0
  449. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +7 -0
  450. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +24 -0
  451. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +33 -0
  452. package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +174 -0
  453. package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +32 -0
  454. package/libs/floorplan/Components/SvgImage.svelte +28 -0
  455. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  456. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  457. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +85 -0
  458. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +18 -0
  459. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +40 -0
  460. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +64 -0
  461. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  462. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  463. package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
  464. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +13 -8
  465. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
  466. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +24 -5
  467. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
  468. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +2 -2
  469. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  470. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +9 -22
  471. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
  472. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +9 -7
  473. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  474. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +18 -18
  475. package/libs/shared-utils/Object3DHelper/index.js +8 -12
  476. package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
  477. package/package.json +1 -1
@@ -0,0 +1,200 @@
1
+ <script>import classnames from 'classnames';
2
+ export let props;
3
+ export let onClick;
4
+ let divElement;
5
+ let { left, top, inSight, transform, panoIndex, cameraToward, name } = props;
6
+ let prevPanoIndexRef = 0;
7
+ const initPanoIndex = () => {
8
+ if (!left || !top || !inSight) {
9
+ return;
10
+ }
11
+ if (!divElement)
12
+ return;
13
+ const _width = (divElement.current.clientWidth / window.innerWidth) * 100;
14
+ const _height = (divElement.current.clientHeight / window.innerHeight) * 100;
15
+ if (left <= _width / 2 || left >= 100 - _width / 2) {
16
+ return;
17
+ }
18
+ if (top <= _height / 2 || top >= 100 - _height / 2) {
19
+ return;
20
+ }
21
+ const prevPanoIndex = prevPanoIndexRef;
22
+ if (panoIndex !== prevPanoIndex) {
23
+ // 触发埋点
24
+ console.log('panoDoorLabelPlugin', panoIndex, '触发埋点');
25
+ // 这里触发曝光埋点
26
+ prevPanoIndexRef = panoIndex;
27
+ }
28
+ };
29
+ $: {
30
+ initPanoIndex();
31
+ }
32
+ </script>
33
+
34
+ <template>
35
+ <div
36
+ bind:this="{divElement}"
37
+ style="{`left: ${left || 0}%;top: ${top || 0}%;opacity: ${inSight ? 1 : 0}`}"
38
+ class="plugin-DoorLabelPlugin-item"
39
+ >
40
+ <div
41
+ class="{classnames('plugin-DoorLabelPlugin-cnt', props.toward)}"
42
+ style="{`transform: ${transform || 'initial'};pointer-events: ${
43
+ inSight ? 'auto' : 'none'
44
+ };opacity: ${inSight ? 1 : 0}`}"
45
+ data-camera-toward="{cameraToward}"
46
+ on:click="{(e) => {
47
+ if (onClick) onClick()
48
+ }}"
49
+ >
50
+ <span class="plugin-DoorLabelPlugin-txt">{name}</span>
51
+ <i class="plugin-DoorLabelPlugin-icon"></i>
52
+ </div>
53
+ </div>
54
+ </template>
55
+
56
+ <style lang="scss">
57
+ .plugin-DoorLabelPlugin-item {
58
+ position: absolute;
59
+ left: 0;
60
+ top: 0;
61
+ width: 0;
62
+ height: 0;
63
+ pointer-events: none;
64
+ transition: opacity 0.3s ease;
65
+ }
66
+
67
+ .plugin-DoorLabelPlugin-cnt {
68
+ position: absolute;
69
+ top: 50%;
70
+ left: 50%;
71
+ border-radius: 2px;
72
+ background: rgba(0, 0, 0, 0.35);
73
+ line-height: 12px;
74
+ padding: 6px;
75
+ white-space: nowrap;
76
+ font-size: 12px;
77
+ font-style: normal;
78
+ // pointer-events: auto;
79
+ color: white;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ cursor: pointer;
84
+ transition: transform ease 1s, background ease 0.3s, color ease 0.3s;
85
+ &::after {
86
+ content: '';
87
+ display: block;
88
+ position: absolute;
89
+ top: -1px;
90
+ left: -1px;
91
+ bottom: -1px;
92
+ right: -1px;
93
+ border-radius: 2px;
94
+ border: 1px solid rgba(0, 0, 0, 0);
95
+ border-image: url('//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png')
96
+ 4;
97
+ transition: opacity ease 0.3s;
98
+ }
99
+ &:active,
100
+ &:focus {
101
+ background: rgba(0, 0, 0, 0.5);
102
+ color: rgba(255, 255, 255, 0.5);
103
+ }
104
+ }
105
+
106
+ .plugin-DoorLabelPlugin-icon {
107
+ background: url('//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg') no-repeat;
108
+ background-size: 100%;
109
+ display: inline-block;
110
+ width: 10px;
111
+ height: 10px;
112
+ margin-left: 4px;
113
+ transform-origin: center;
114
+ }
115
+
116
+ .plugin-DoorLabelPlugin-cnt[data-camera-toward='forward'] {
117
+ &.left {
118
+ .plugin-DoorLabelPlugin-icon {
119
+ transform: rotate(90deg);
120
+ }
121
+ }
122
+ &.right {
123
+ .plugin-DoorLabelPlugin-txt {
124
+ order: 1;
125
+ }
126
+ .plugin-DoorLabelPlugin-icon {
127
+ transform: rotate(-90deg);
128
+ margin-left: 0;
129
+ margin-right: 4px;
130
+ order: 0;
131
+ }
132
+ }
133
+ }
134
+ .plugin-DoorLabelPlugin-cnt[data-camera-toward='right'] {
135
+ &.forward {
136
+ .plugin-DoorLabelPlugin-icon {
137
+ transform: rotate(90deg);
138
+ }
139
+ }
140
+ &.back {
141
+ .plugin-DoorLabelPlugin-txt {
142
+ order: 1;
143
+ }
144
+ .plugin-DoorLabelPlugin-icon {
145
+ transform: rotate(-90deg);
146
+ margin-left: 0;
147
+ margin-right: 4px;
148
+ order: 0;
149
+ }
150
+ }
151
+ }
152
+ .plugin-DoorLabelPlugin-cnt[data-camera-toward='left'] {
153
+ &.back {
154
+ .plugin-DoorLabelPlugin-icon {
155
+ transform: rotate(90deg);
156
+ }
157
+ }
158
+ &.forward {
159
+ .plugin-DoorLabelPlugin-txt {
160
+ order: 1;
161
+ }
162
+ .plugin-DoorLabelPlugin-icon {
163
+ transform: rotate(-90deg);
164
+ margin-left: 0;
165
+ margin-right: 4px;
166
+ order: 0;
167
+ }
168
+ }
169
+ }
170
+ .plugin-DoorLabelPlugin-cnt[data-camera-toward='back'] {
171
+ &.right {
172
+ .plugin-DoorLabelPlugin-icon {
173
+ transform: rotate(90deg);
174
+ }
175
+ }
176
+ &.left {
177
+ .plugin-DoorLabelPlugin-txt {
178
+ order: 1;
179
+ }
180
+ .plugin-DoorLabelPlugin-icon {
181
+ transform: rotate(-90deg);
182
+ margin-left: 0;
183
+ margin-right: 4px;
184
+ order: 0;
185
+ }
186
+ }
187
+ }
188
+
189
+ .plugin-DoorLabelPlugin-cnt--customBrand {
190
+ color: #f9eac1;
191
+ .plugin-DoorLabelPlugin-icon {
192
+ background: url('//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg') no-repeat;
193
+ }
194
+ &:active,
195
+ &:focus {
196
+ background: rgba(0, 0, 0, 0.5);
197
+ color: rgba(249, 234, 193, 0.5);
198
+ }
199
+ }
200
+ </style>
@@ -1,4 +1,4 @@
1
- import RulerItems from './RulerItems';
1
+ import RulerItems from './RulerItems.svelte';
2
2
  export default class Controller {
3
3
  constructor(five, params) {
4
4
  var _a, _b;
@@ -0,0 +1,166 @@
1
+ <script>export let rulerItemProp;
2
+ let _visible = true;
3
+ let labelWidth;
4
+ $: {
5
+ if (labelWidth >= rulerItemProp.width ||
6
+ labelWidth / 2 >= (rulerItemProp.labelOffset / 100) * rulerItemProp.width ||
7
+ labelWidth / 2 >= (1 - rulerItemProp.labelOffset / 100) * rulerItemProp.width) {
8
+ _visible = false;
9
+ }
10
+ else {
11
+ _visible = true;
12
+ }
13
+ }
14
+ let EM_DOTTED_BG = `data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=`;
15
+ $: vars = `--background-image: url(${EM_DOTTED_BG})`;
16
+ </script>
17
+
18
+ <div
19
+ class="PanoRulerPlugin-rule-line"
20
+ style:width="{rulerItemProp.width}px"
21
+ style:left="{rulerItemProp.left}px"
22
+ style:top="{rulerItemProp.top}px"
23
+ style:transform="rotate({rulerItemProp.rotateDeg}deg)"
24
+ style:display="{rulerItemProp.visible && _visible ? 'block' : 'none'}"
25
+ >
26
+ {#if rulerItemProp.children.length === 0}
27
+ <em class="{rulerItemProp.state ? 'em-solid' : 'em-dotted'}" style="{vars}"></em>
28
+ {:else}
29
+ <div class="rule-mixed-line">
30
+ {#each rulerItemProp.children as child}
31
+ <div style:width="{child.width}px" class="{child.state ? 'em-solid' : 'em-dotted'}" style="{vars}"></div>
32
+ {/each}
33
+ </div>
34
+ {/if}
35
+ <div
36
+ class="PanoRulerPlugin-rule-label"
37
+ style:left="{rulerItemProp.labelOffset}%"
38
+ >
39
+ <div class="PanoRulerPlugin-rule-label-name" bind:offsetWidth="{labelWidth}">
40
+ {rulerItemProp.labelElement}
41
+ </div>
42
+ </div>
43
+ </div>
44
+
45
+ <style>
46
+ .PanoRulerPlugin-rule-line {
47
+ position: absolute;
48
+ transform-origin: left 0.0625rem;
49
+ width: 0;
50
+ height: 0.125rem;
51
+ pointer-events: none;
52
+ }
53
+
54
+ .PanoRulerPlugin-rule-line::after {
55
+ content: '';
56
+ position: absolute;
57
+ left: -0.125rem;
58
+ top: -0.1rem;
59
+ width: 0.25rem;
60
+ height: 0.25rem;
61
+ border-radius: 50%;
62
+ background: #fff;
63
+ z-index: 1;
64
+ animation: viewport-rule-point 0.1s 1s;
65
+ animation-fill-mode: both;
66
+ }
67
+
68
+ .PanoRulerPlugin-rule-line::before {
69
+ content: '';
70
+ position: absolute;
71
+ right: -0.125rem;
72
+ top: -0.1rem;
73
+ width: 0.25rem;
74
+ height: 0.25rem;
75
+ border-radius: 50%;
76
+ background: #fff;
77
+ z-index: 1;
78
+ animation: viewport-rule-point 0.1s 1.5s;
79
+ animation-fill-mode: both;
80
+ }
81
+
82
+ .PanoRulerPlugin-rule-line em {
83
+ display: block;
84
+ height: 0.0625rem;
85
+ animation: viewport-rule-line 0.5s ease 1s;
86
+ animation-fill-mode: both;
87
+ box-shadow: 0 0 0.25rem rgb(0 0 0 / 40%);
88
+ position: relative;
89
+ }
90
+
91
+ .rule-mixed-line {
92
+ display: flex;
93
+ height: 0.0625rem;
94
+ animation: viewport-rule-line 0.5s ease 1s;
95
+ animation-fill-mode: both;
96
+ align-items: center;
97
+ }
98
+
99
+ .em-solid {
100
+ height: 100%;
101
+ background: #ffffff;
102
+ }
103
+ .em-dotted {
104
+ height: 0.125rem;
105
+ background: var(--background-image);
106
+ background-position: center;
107
+ background-repeat: repeat;
108
+ }
109
+
110
+ .PanoRulerPlugin-rule-label {
111
+ position: absolute;
112
+ width: 0;
113
+ height: 0;
114
+ top: 0.0625rem;
115
+ pointer-events: none;
116
+ }
117
+
118
+ .PanoRulerPlugin-rule-label-name {
119
+ position: absolute;
120
+ padding: 0.1875rem 0.375rem;
121
+ background: rgba(195, 195, 195, 0.3);
122
+ backdrop-filter: blur(0.25rem);
123
+ -webkit-backdrop-filter: blur(0.25rem);
124
+ border-radius: 6.25rem;
125
+ border: 0.0625rem solid rgba(255, 255, 255, 0.6);
126
+ white-space: nowrap;
127
+ overflow: hidden;
128
+ color: #ffffff;
129
+ font-weight: 500;
130
+ font-size: 0.75rem;
131
+ line-height: 1;
132
+ -webkit-animation: viewport-rule-label 0.25s ease 1s;
133
+ animation: viewport-rule-label 0.25s ease 1s;
134
+ animation-fill-mode: both;
135
+ box-shadow: inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3);
136
+ }
137
+
138
+ @keyframes viewport-rule-line {
139
+ 0% {
140
+ width: 0%;
141
+ }
142
+ 100% {
143
+ width: 100%;
144
+ }
145
+ }
146
+
147
+ @keyframes viewport-rule-label {
148
+ 0% {
149
+ opacity: 0;
150
+ transform: scaleX(0);
151
+ }
152
+ 100% {
153
+ opacity: 1;
154
+ transform: translate(-50%, -50%) scaleX(1);
155
+ }
156
+ }
157
+
158
+ @keyframes viewport-rule-point {
159
+ 0% {
160
+ transform: scaleX(0);
161
+ }
162
+ 100% {
163
+ transform: scaleX(1);
164
+ }
165
+ }
166
+ </style>
@@ -0,0 +1,212 @@
1
+ <script>var _a, _b, _c, _d;
2
+ import { Five } from '@realsee/five';
3
+ import { nextFrame } from '../shared-utils/animationFrame';
4
+ import equal from '../shared-utils/equal';
5
+ import { intersectionOfLine } from '../shared-utils/math/planimetry';
6
+ import throttle from '../shared-utils/throttle';
7
+ import { onDestroy, onMount } from 'svelte';
8
+ import { Vector3 } from 'three';
9
+ import RulerItem from './RulerItem.svelte';
10
+ export let five;
11
+ export let rulerDatas;
12
+ export let options;
13
+ let rulerItemProp = [];
14
+ const canvasWidth = ((_b = (_a = five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.clientWidth) || 0;
15
+ const canvasHeight = ((_d = (_c = five.getElement()) === null || _c === void 0 ? void 0 : _c.parentElement) === null || _d === void 0 ? void 0 : _d.clientHeight) || 0;
16
+ const getRuleScreenIntr = (startPoint, endPoint) => {
17
+ const screenLines = [
18
+ [
19
+ { x: 0, y: 0 },
20
+ { x: canvasWidth, y: 0 },
21
+ ],
22
+ [
23
+ { x: 0, y: 0 },
24
+ { x: 0, y: canvasHeight },
25
+ ],
26
+ [
27
+ { x: canvasWidth, y: 0 },
28
+ { x: canvasWidth, y: canvasHeight },
29
+ ],
30
+ [
31
+ { x: 0, y: canvasHeight },
32
+ { x: canvasWidth, y: canvasHeight },
33
+ ],
34
+ ];
35
+ const intr = [];
36
+ for (let i = 0; i < screenLines.length; i++) {
37
+ const result = intersectionOfLine([startPoint, endPoint], [screenLines[i][0], screenLines[i][1]], true);
38
+ if (result)
39
+ intr.push(result);
40
+ }
41
+ if (intr.length === 0)
42
+ return false;
43
+ else {
44
+ return intr;
45
+ }
46
+ };
47
+ const getPosition = (start, end) => {
48
+ const startPoint = start.clone().project(five.camera);
49
+ const startLeft = ((startPoint.x + 1) / 2) * canvasWidth;
50
+ const startTop = ((-startPoint.y + 1) / 2) * canvasHeight;
51
+ const endPoint = end.clone().project(five.camera);
52
+ const endLeft = ((endPoint.x + 1) / 2) * canvasWidth;
53
+ const endTop = ((-endPoint.y + 1) / 2) * canvasHeight;
54
+ const distance = Math.sqrt(Math.pow(endLeft - startLeft, 2) + Math.pow(endTop - startTop, 2));
55
+ return {
56
+ startLeft,
57
+ startTop,
58
+ endLeft,
59
+ endTop,
60
+ distance,
61
+ };
62
+ };
63
+ const getPositionAndVisible = (start, end, visibleOrigin) => {
64
+ const cameraPosition = five.camera.position;
65
+ const cameraDirection = five.camera.getWorldDirection(new Vector3());
66
+ const startAngle = start.clone().sub(cameraPosition).normalize().angleTo(cameraDirection);
67
+ const endAngle = end.clone().sub(cameraPosition).normalize().angleTo(cameraDirection);
68
+ const ruleLength = start.distanceTo(end);
69
+ const midPoint = end.clone().sub(end.clone().sub(start).divide(new Vector3(2, 2, 2)));
70
+ const disFromCameraToMid = midPoint.distanceTo(cameraPosition);
71
+ const { startLeft, startTop, endLeft, endTop, distance } = getPosition(start, end);
72
+ const rad = Math.PI / 2 - Math.atan2(endLeft - startLeft, startTop - endTop);
73
+ const deg = -(rad / Math.PI) * 180;
74
+ let visible = true;
75
+ if (!visibleOrigin)
76
+ visible = false;
77
+ // 只显示拐点相连的线
78
+ if (!equal(start, visibleOrigin) && !equal(end, visibleOrigin)) {
79
+ visible = false;
80
+ }
81
+ // 线小于0.3m隐藏
82
+ if (ruleLength < 0.3) {
83
+ visible = false;
84
+ }
85
+ if (startAngle > Math.PI / 2) {
86
+ visible = false;
87
+ }
88
+ if (endAngle > Math.PI / 2) {
89
+ visible = false;
90
+ }
91
+ if (disFromCameraToMid / ruleLength > 8) {
92
+ visible = false;
93
+ }
94
+ let labelOffset = 50;
95
+ let visibleLength = distance;
96
+ const intr = getRuleScreenIntr({ x: ~~startLeft, y: ~~startTop }, { x: ~~endLeft, y: ~~endTop });
97
+ if (intr && intr.length === 1) {
98
+ if (equal(start, visibleOrigin)) {
99
+ visibleLength = Math.sqrt(Math.pow(intr[0].x - startLeft, 2) + Math.pow(intr[0].y - startTop, 2));
100
+ labelOffset = (visibleLength / distance) * 50;
101
+ }
102
+ else if (equal(end, visibleOrigin)) {
103
+ visibleLength = Math.sqrt(Math.pow(intr[0].x - endLeft, 2) + Math.pow(intr[0].y - endTop, 2));
104
+ labelOffset = 100 - (visibleLength / distance) * 50;
105
+ }
106
+ }
107
+ if (intr && intr.length === 2) {
108
+ const middlePoint = {
109
+ x: (intr[0].x + intr[1].x) / 2,
110
+ y: (intr[0].y + intr[1].y) / 2,
111
+ };
112
+ const distanceFromStart = Math.sqrt(Math.pow(middlePoint.x - startLeft, 2) + Math.pow(middlePoint.y - startTop, 2));
113
+ labelOffset = (distanceFromStart / distance) * 100;
114
+ }
115
+ return {
116
+ startLeft,
117
+ startTop,
118
+ distance,
119
+ deg,
120
+ visible,
121
+ labelOffset,
122
+ ruleLength,
123
+ };
124
+ };
125
+ const updatePanoRulerData = () => {
126
+ const panoIndex = five.panoIndex;
127
+ const rulerData = rulerDatas.find((data) => data.panoIndex === panoIndex);
128
+ if (!rulerData)
129
+ return (rulerItemProp = []);
130
+ // 非全景模式下隐藏所有标尺
131
+ if (five.currentMode !== Five.Mode.Panorama)
132
+ return (rulerItemProp = []);
133
+ const cameraPosition = five.camera.position;
134
+ const cameraDirection = five.camera.getWorldDirection(new Vector3());
135
+ const startPoints = rulerData.lines.map((v) => new Vector3(v.start[0], -v.start[1], -v.start[2]));
136
+ const endPoints = rulerData.lines.map((v) => new Vector3(v.end[0], -v.end[1], -v.end[2]));
137
+ // 可以看到的角度最小的拐点
138
+ const [visibleOrigin] = startPoints.concat(endPoints).sort((pointA, pointB) => {
139
+ const angleA = pointA
140
+ .clone()
141
+ .setY(0)
142
+ .sub(cameraPosition)
143
+ .normalize()
144
+ .angleTo(cameraDirection.clone().setY(0));
145
+ const angleB = pointB
146
+ .clone()
147
+ .setY(0)
148
+ .sub(cameraPosition)
149
+ .normalize()
150
+ .angleTo(cameraDirection.clone().setY(0));
151
+ return angleA - angleB;
152
+ });
153
+ const data = rulerData.lines.map((line) => {
154
+ var _a, _b;
155
+ const start = line.start;
156
+ const end = line.end;
157
+ const { startLeft, startTop, distance, deg, visible, labelOffset, ruleLength } = getPositionAndVisible(new Vector3(start[0], -start[1], -start[2]), new Vector3(end[0], -end[1], -end[2]), visibleOrigin);
158
+ const children = [];
159
+ if (line.children && ((_a = line.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
160
+ (_b = line.children) === null || _b === void 0 ? void 0 : _b.forEach((l) => {
161
+ const start = l.start;
162
+ const end = l.end;
163
+ const { distance } = getPosition(new Vector3(start[0], -start[1], -start[2]), new Vector3(end[0], -end[1], -end[2]));
164
+ children.push({
165
+ width: distance,
166
+ state: l.state,
167
+ });
168
+ });
169
+ }
170
+ return {
171
+ width: distance,
172
+ left: startLeft,
173
+ top: startTop,
174
+ rotateDeg: deg,
175
+ state: line.state,
176
+ children,
177
+ labelOffset,
178
+ visible,
179
+ labelElement: options.distanceText(ruleLength),
180
+ };
181
+ });
182
+ rulerItemProp = data;
183
+ };
184
+ const nextFrameFreshRule = () => nextFrame(updatePanoRulerData);
185
+ const throttleFreshRule = throttle(updatePanoRulerData, 80);
186
+ onMount(() => {
187
+ updatePanoRulerData();
188
+ five.on('panoArrived', updatePanoRulerData);
189
+ five.on('modeChange', updatePanoRulerData);
190
+ five.on('cameraDirectionUpdate', nextFrameFreshRule);
191
+ five.on('movingToPano', nextFrameFreshRule);
192
+ five.on('mouseWheel', () => throttleFreshRule());
193
+ five.on('pinchGesture', () => throttleFreshRule());
194
+ });
195
+ onDestroy(() => {
196
+ five.off('panoArrived', updatePanoRulerData);
197
+ five.off('modeChange', updatePanoRulerData);
198
+ five.off('cameraDirectionUpdate', nextFrameFreshRule);
199
+ five.off('movingToPano', nextFrameFreshRule);
200
+ five.off('mouseWheel', () => throttleFreshRule());
201
+ five.off('pinchGesture', () => throttleFreshRule());
202
+ });
203
+ </script>
204
+
205
+ <div>
206
+ {#each rulerItemProp as itemData}
207
+ <RulerItem rulerItemProp="{itemData}" />
208
+ {/each}
209
+ </div>
210
+
211
+ <style>
212
+ </style>
@@ -0,0 +1,58 @@
1
+ <script>import { currentTarget } from '../store';
2
+ export let origins;
3
+ const handleClick = (id) => {
4
+ currentTarget.update(() => `${id}-PanoSpatialTagPlugin-${Date.now()}`);
5
+ };
6
+ </script>
7
+
8
+ {#each origins as origin}
9
+ <i
10
+ class:PanoSpatialTagPlugin__tag-origin={true}
11
+ class:PanoSpatialTagPlugin__tag-origin-destroy={origin.destroying}
12
+ style:top="{origin.top}%"
13
+ style:left="{origin.left}%"
14
+ style:visibility="{origin.front ? 'visible' : 'hidden'}"
15
+ on:click="{() => handleClick(origin.id)}"
16
+ />
17
+ {/each}
18
+
19
+ <style>
20
+ .PanoSpatialTagPlugin__tag-origin {
21
+ position: absolute;
22
+ width: 0.5rem;
23
+ height: 0.5rem;
24
+ border-radius: 50%;
25
+ background: #fff;
26
+ box-shadow: 0 0 .6rem #fff;
27
+ transform: translate(-50%, -50%) scale(1);
28
+ transform-origin: center center;
29
+ animation: PanoSpatialTagPlugin__tag-origin 1.2s forwards;
30
+ pointer-events: auto;
31
+ }
32
+
33
+ .PanoSpatialTagPlugin__tag-origin:after {
34
+ content: '';
35
+ position: absolute;
36
+ top: 50%;
37
+ height: 50%;
38
+ width: 2rem;
39
+ height: 2rem;
40
+ transform: translate(-50%, -50%);
41
+ }
42
+
43
+ .PanoSpatialTagPlugin__tag-origin-destroy {
44
+ transform: translate(-50%, -50%) scale(0.6);
45
+ animation: PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;
46
+ }
47
+
48
+ @keyframes PanoSpatialTagPlugin__tag-origin {
49
+ 0% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
50
+ 100% { transform: translate(-50%, -50%) scale(0.6); opacity: 1 }
51
+ }
52
+
53
+ @keyframes PanoSpatialTagPlugin__tag-origin-destroy {
54
+ 0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
55
+ 10% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
56
+ 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
57
+ }
58
+ </style>