@realsee/dnalogel 2.1.0-alpha.1 → 2.1.0-alpha.10

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 (1079) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  2. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  3. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  4. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  5. package/dist/CSS3DRenderPlugin/Controller.d.ts +2 -2
  6. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  7. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  8. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  9. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  10. package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -1
  11. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  12. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  13. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  14. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  15. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  16. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  17. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  18. package/dist/CSS3DRenderPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  19. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  20. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  21. package/dist/CSS3DRenderPlugin/index.js +21 -7
  22. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  23. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  24. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  25. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  26. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  27. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  28. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  29. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  30. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  31. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  32. package/dist/CSS3DRenderPlugin/typing.d.ts +2 -2
  33. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  34. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  35. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  36. package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  37. package/dist/CameraMovementPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  38. package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  39. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  40. package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -1
  41. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  42. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  43. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  44. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  45. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  46. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  47. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  48. package/dist/CameraMovementPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  49. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  50. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  51. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  52. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  53. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  54. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  55. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  56. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  57. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  58. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  59. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  60. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  61. package/dist/CruisePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  62. package/dist/CruisePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  63. package/dist/CruisePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  64. package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  65. package/dist/CruisePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  66. package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  67. package/dist/CruisePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  68. package/dist/CruisePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  69. package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  70. package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +138 -0
  71. package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +8 -0
  72. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  73. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  74. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  75. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  76. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  77. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  78. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  79. package/dist/CruisePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  80. package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
  81. package/dist/CruisePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  82. package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
  83. package/dist/CruisePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  84. package/dist/CruisePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  85. package/dist/CruisePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  86. package/dist/CruisePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  87. package/dist/CruisePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  88. package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  89. package/dist/CruisePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  90. package/dist/CruisePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  91. package/dist/CruisePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  92. package/dist/CruisePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  93. package/dist/CruisePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  94. package/dist/CruisePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  95. package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  96. package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  97. package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  98. package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  99. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  100. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  101. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  102. package/dist/CruisePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  103. package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  104. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  105. package/dist/GuideLinePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  106. package/dist/GuideLinePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  107. package/dist/GuideLinePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  108. package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  109. package/dist/GuideLinePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  110. package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  111. package/dist/GuideLinePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  112. package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  113. package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  114. package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +138 -0
  115. package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +8 -0
  116. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  117. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  118. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  119. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  120. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  121. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  122. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  123. package/dist/GuideLinePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  124. package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
  125. package/dist/GuideLinePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  126. package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
  127. package/dist/GuideLinePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  128. package/dist/GuideLinePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  129. package/dist/GuideLinePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  130. package/dist/GuideLinePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  131. package/dist/GuideLinePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  132. package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  133. package/dist/GuideLinePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  134. package/dist/GuideLinePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  135. package/dist/GuideLinePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  136. package/dist/GuideLinePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  137. package/dist/GuideLinePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  138. package/dist/GuideLinePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  139. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  140. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  141. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  142. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  143. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  144. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  145. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  146. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  147. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  148. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  149. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  150. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  151. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  152. package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  153. package/dist/ItemLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  154. package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  155. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  156. package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
  157. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  158. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  159. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  160. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  161. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  162. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  163. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  164. package/dist/ItemLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  165. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  166. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  167. package/dist/ItemLabelPlugin/index.js +12 -12
  168. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  169. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  170. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  171. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  172. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  173. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  174. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  175. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  176. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  177. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  178. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  179. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  180. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  181. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  182. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  183. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  184. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  185. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -1
  186. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  187. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  188. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  189. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  190. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  191. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  192. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  193. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  194. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  195. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  196. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  197. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  198. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  199. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  200. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  201. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  202. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  203. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  204. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  205. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  206. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  207. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  208. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  209. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  210. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  211. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  212. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  213. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -1
  214. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  215. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  216. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  217. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  218. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  219. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  220. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  221. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  222. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  223. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  224. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  225. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  226. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  227. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  228. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  229. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  230. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  231. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  232. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  233. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  234. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  235. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  236. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  237. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  238. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  239. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  240. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  241. package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
  242. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  243. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  244. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  245. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  246. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  247. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  248. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  249. package/dist/ModelItemLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  250. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  251. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  252. package/dist/ModelItemLabelPlugin/index.js +6 -6
  253. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  254. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  255. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  256. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  257. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  258. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  259. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  260. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  261. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  262. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  263. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  264. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  265. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  266. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  267. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  268. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  269. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  270. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
  271. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  272. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  273. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  274. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  275. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  276. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  277. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  278. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  279. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  280. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  281. package/dist/ModelRoomLabelPlugin/index.js +4 -4
  282. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  283. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  284. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  285. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  286. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  287. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  288. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  289. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  290. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  291. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  292. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  293. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  294. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  295. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  296. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  297. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  298. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  299. package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -1
  300. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  301. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  302. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  303. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  304. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  305. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  306. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  307. package/dist/ModelTVVideoPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  308. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  309. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  310. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  311. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  312. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  313. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  314. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  315. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  316. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  317. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  318. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  319. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  320. package/dist/ModelViewPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  321. package/dist/ModelViewPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  322. package/dist/ModelViewPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  323. package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  324. package/dist/ModelViewPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  325. package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  326. package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  327. package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -1
  328. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  329. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  330. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  331. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  332. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  333. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  334. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  335. package/dist/ModelViewPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  336. package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  337. package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  338. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  339. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  340. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  341. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  342. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  343. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  344. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  345. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  346. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  347. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  348. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  349. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  350. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  351. package/dist/Object3DHelperPlugin/Controller.d.ts +44 -5
  352. package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  353. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  354. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  355. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  356. package/dist/Object3DHelperPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  357. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  358. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  359. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +138 -0
  360. package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +8 -0
  361. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  362. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  363. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  364. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  365. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  366. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  367. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  368. package/dist/Object3DHelperPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  369. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
  370. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  371. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
  372. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  373. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  374. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  375. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  376. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  377. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  378. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  379. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  380. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  381. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  382. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  383. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  384. package/dist/Object3DHelperPlugin/index.js +500 -242
  385. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  386. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  387. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  388. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  389. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  390. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  391. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  392. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  393. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  394. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  395. package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
  396. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  397. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  398. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  399. package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  400. package/dist/PanoCompassPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  401. package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  402. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  403. package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -1
  404. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  405. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  406. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  407. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  408. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  409. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  410. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  411. package/dist/PanoCompassPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  412. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  413. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  414. package/dist/PanoCompassPlugin/index.js +21 -7
  415. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  416. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  417. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  418. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  419. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  420. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  421. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  422. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  423. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  424. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  425. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  426. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  427. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  428. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  429. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  430. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  431. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  432. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -1
  433. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  434. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  435. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  436. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  437. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  438. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  439. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  440. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  441. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  442. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  443. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  444. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  445. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  446. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  447. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  448. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  449. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  450. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  451. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  452. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  453. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  454. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  455. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  456. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  457. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  458. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  459. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  460. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
  461. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  462. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  463. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  464. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  465. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  466. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  467. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  468. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  469. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  470. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  471. package/dist/PanoDoorLabelPlugin/index.js +6 -6
  472. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  473. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  474. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  475. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  476. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  477. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  478. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  479. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  480. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  481. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  482. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  483. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  484. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  485. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  486. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  487. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  488. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  489. package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -1
  490. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  491. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  492. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  493. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  494. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  495. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  496. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  497. package/dist/PanoMeasurePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  498. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  499. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  500. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  501. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  502. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  503. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  504. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  505. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  506. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  507. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  508. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  509. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  510. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  511. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  512. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  513. package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  514. package/dist/PanoRulerPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  515. package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  516. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  517. package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -1
  518. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  519. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  520. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  521. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  522. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  523. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  524. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  525. package/dist/PanoRulerPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  526. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  527. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  528. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  529. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  530. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  531. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  532. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  533. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  534. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  535. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  536. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  537. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  538. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  539. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  540. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  541. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  542. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  543. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  544. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  545. package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -1
  546. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  547. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  548. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  549. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  550. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  551. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  552. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  553. package/dist/PanoRulerProPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  554. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  555. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  556. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  557. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  558. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  559. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  560. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  561. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  562. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  563. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  564. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  565. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  566. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  567. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  568. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  569. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  570. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  571. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  572. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  573. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -1
  574. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  575. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  576. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  577. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  578. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  579. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  580. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  581. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  582. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  583. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  584. package/dist/PanoSpatialTagPlugin/index.js +21 -7
  585. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  586. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  587. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  588. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  589. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  590. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  591. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  592. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  593. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  594. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  595. package/dist/PanoTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +156 -0
  596. package/dist/PanoTagPlugin/CSS3DRenderPlugin/Controller.d.ts +11 -43
  597. package/dist/PanoTagPlugin/CSS3DRenderPlugin/typing.d.ts +6 -3
  598. package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  599. package/dist/PanoTagPlugin/CruisePlugin/Controller.d.ts +170 -0
  600. package/dist/PanoTagPlugin/CruisePlugin/index.d.ts +6 -0
  601. package/dist/PanoTagPlugin/CruisePlugin/typing.d.ts +129 -0
  602. package/dist/PanoTagPlugin/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
  603. package/dist/PanoTagPlugin/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
  604. package/dist/PanoTagPlugin/CruisePlugin/utils/formatRad.d.ts +7 -0
  605. package/dist/PanoTagPlugin/CruisePlugin/utils/linerValue.d.ts +1 -0
  606. package/dist/PanoTagPlugin/CruisePlugin/utils/safeCall.d.ts +1 -0
  607. package/dist/PanoTagPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  608. package/dist/PanoTagPlugin/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
  609. package/dist/PanoTagPlugin/GuideLinePlugin/Controller.d.ts +46 -0
  610. package/dist/PanoTagPlugin/GuideLinePlugin/index.d.ts +5 -0
  611. package/dist/PanoTagPlugin/GuideLinePlugin/typing.d.ts +31 -0
  612. package/dist/PanoTagPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
  613. package/dist/PanoTagPlugin/GuideLinePlugin/utils/getLineGeometries.d.ts +14 -0
  614. package/dist/PanoTagPlugin/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  615. package/dist/PanoTagPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
  616. package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +65 -0
  617. package/dist/PanoTagPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  618. package/dist/PanoTagPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  619. package/dist/PanoTagPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  620. package/dist/PanoTagPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  621. package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  622. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  623. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  624. package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  625. package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -1
  626. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  627. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  628. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  629. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  630. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  631. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  632. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  633. package/dist/PanoTagPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  634. package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  635. package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  636. package/dist/PanoTagPlugin/controller/index.d.ts +8 -6
  637. package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +95 -0
  638. package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
  639. package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +107 -0
  640. package/dist/PanoTagPlugin/floorplan/index.d.ts +2 -1
  641. package/dist/PanoTagPlugin/index.d.ts +1 -1
  642. package/dist/PanoTagPlugin/index.js +1320 -575
  643. package/dist/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  644. package/dist/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  645. package/dist/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  646. package/dist/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  647. package/dist/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  648. package/dist/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  649. package/dist/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  650. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +48 -0
  651. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +91 -0
  652. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  653. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  654. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  655. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  656. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  657. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  658. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  659. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  660. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  661. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  662. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  663. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +40 -0
  664. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +55 -0
  665. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  666. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/index.d.ts +71 -0
  667. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  668. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +45 -0
  669. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  670. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  671. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  672. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  673. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  674. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  675. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  676. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  677. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  678. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  679. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  680. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  681. package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  682. package/dist/PanoTagPlugin/shared-utils/Subscribe.d.ts +41 -25
  683. package/dist/PanoTagPlugin/tag.config.d.ts +7 -0
  684. package/dist/PanoTagPlugin/typings/controller.d.ts +11 -1
  685. package/dist/PanoTagPlugin/typings/tag.d.ts +26 -10
  686. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  687. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  688. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  689. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  690. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  691. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  692. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  693. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  694. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  695. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +138 -0
  696. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +8 -0
  697. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  698. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  699. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  700. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  701. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  702. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  703. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  704. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  705. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +100 -0
  706. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  707. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +227 -0
  708. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  709. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  710. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  711. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  712. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  713. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  714. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  715. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  716. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  717. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  718. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  719. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  720. package/dist/floorplan/MapviewFloorplanPlugin/index.js +4 -4
  721. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  722. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  723. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  724. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  725. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  726. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  727. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  728. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  729. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  730. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  731. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  732. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  733. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  734. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  735. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  736. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  737. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  738. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -1
  739. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  740. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  741. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  742. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  743. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  744. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  745. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  746. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  747. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  748. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  749. package/dist/floorplan/ModelFloorplanPlugin/index.js +4 -4
  750. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  751. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  752. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  753. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  754. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  755. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  756. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  757. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  758. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  759. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  760. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  761. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  762. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  763. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  764. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  765. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  766. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  767. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -1
  768. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  769. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  770. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  771. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  772. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  773. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  774. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  775. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  776. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  777. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  778. package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +4 -4
  779. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  780. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  781. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  782. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  783. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  784. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  785. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  786. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  787. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  788. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  789. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  790. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
  791. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
  792. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
  793. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  794. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
  795. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
  796. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -1
  797. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  798. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  799. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  800. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  801. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  802. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  803. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  804. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
  805. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +11 -1
  806. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
  807. package/dist/floorplan/TopviewFloorplanPlugin/index.js +4 -4
  808. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  809. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  810. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  811. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  812. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  813. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  814. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  815. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
  816. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  817. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  818. package/dist/index.d.ts +2 -0
  819. package/dist/index.es.js +10112 -380
  820. package/dist/index.js +10115 -374
  821. package/dist/index.umd.js +10117 -378
  822. package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  823. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  824. package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  825. package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  826. package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  827. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  828. package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  829. package/dist/shared-utils/Object3DHelper/index.d.ts +6 -8
  830. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  831. package/dist/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  832. package/docs/assets/search.js +1 -1
  833. package/docs/classes/CruisePluginController.html +14 -14
  834. package/docs/classes/Magnifier.html +4 -4
  835. package/docs/classes/ModelRoomLabelController.html +4 -4
  836. package/docs/classes/Object3DHelperController.html +22 -0
  837. package/docs/classes/PanoTagPluginController.html +188 -0
  838. package/docs/enums/CameraMovementEffect.html +2 -2
  839. package/docs/enums/ContentType.html +15 -0
  840. package/docs/enums/DIRECTION.html +1 -1
  841. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  842. package/docs/enums/DimensionType.html +1 -0
  843. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  844. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  845. package/docs/enums/LinkType.html +1 -0
  846. package/docs/enums/PointType.html +1 -0
  847. package/docs/enums/Rotation.html +2 -2
  848. package/docs/index.html +2 -2
  849. package/docs/interfaces/{EventMap.html → CSS3DRenderPluginEventMap.html} +3 -3
  850. package/docs/interfaces/CSS3DRenderPluginState.html +3 -0
  851. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  852. package/docs/interfaces/FloorplanBounding.html +4 -4
  853. package/docs/interfaces/FloorplanData.html +2 -2
  854. package/docs/interfaces/FloorplanEntrance.html +7 -7
  855. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  856. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  857. package/docs/interfaces/FloorplanFloorData.html +2 -2
  858. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  859. package/docs/interfaces/FloorplanObserver.html +2 -2
  860. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  861. package/docs/interfaces/FloorplanPosition.html +2 -2
  862. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  863. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  864. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  865. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  866. package/docs/interfaces/FloorplanServerData.html +2 -2
  867. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  868. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  869. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  870. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  871. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  872. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  873. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  874. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  875. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  876. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  877. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  878. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  879. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  880. package/docs/interfaces/LineJson.html +1 -1
  881. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  882. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  883. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  884. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  885. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  886. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  887. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  888. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  889. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  890. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  891. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  892. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  893. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  894. package/docs/interfaces/Object3DHelperState.html +1 -0
  895. package/docs/interfaces/OpenParameter.html +2 -2
  896. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  897. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  898. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  899. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  900. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  901. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  902. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  903. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  904. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  905. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  906. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  907. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  908. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  909. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  910. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  911. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  912. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  913. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  914. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  915. package/docs/interfaces/Point.html +1 -1
  916. package/docs/interfaces/PointJson.html +1 -1
  917. package/docs/interfaces/Room.html +1 -1
  918. package/docs/interfaces/RoomInfo.html +1 -1
  919. package/docs/interfaces/RoomLabel.html +7 -7
  920. package/docs/interfaces/RoomRules.html +1 -1
  921. package/docs/interfaces/Rooms.html +1 -1
  922. package/docs/interfaces/Scissor.html +14 -0
  923. package/docs/interfaces/TagConfig.html +11 -0
  924. package/docs/interfaces/Tags.html +5 -0
  925. package/docs/modules.html +25 -17
  926. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
  927. package/libs/CSS3DRenderPlugin/CSS3DRender.js +16 -4
  928. package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -2
  929. package/libs/CSS3DRenderPlugin/Controller.js +2 -1
  930. package/libs/CSS3DRenderPlugin/typing.d.ts +2 -2
  931. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -0
  932. package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
  933. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +6 -6
  934. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +4 -4
  935. package/libs/Object3DHelperPlugin/Controller.d.ts +44 -5
  936. package/libs/Object3DHelperPlugin/Controller.js +137 -8
  937. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  938. package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
  939. package/libs/Object3DHelperPlugin/typings.js +1 -0
  940. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +6 -6
  941. package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
  942. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
  943. package/libs/PanoTagPlugin/Components/Common/Media.js +221 -89
  944. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +3 -3
  945. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +4 -4
  946. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +4 -4
  947. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +2 -2
  948. package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
  949. package/libs/PanoTagPlugin/Components/Common/Text.js +2 -2
  950. package/libs/PanoTagPlugin/Components/PointTag.js +3 -3
  951. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +6 -6
  952. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +3 -3
  953. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +22 -24
  954. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
  955. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +22 -23
  956. package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +159 -0
  957. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
  958. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +3 -3
  959. package/libs/PanoTagPlugin/Components/Tag/index.js +118 -13
  960. package/libs/PanoTagPlugin/Components/TagWrapper.js +3 -3
  961. package/libs/PanoTagPlugin/controller/TagComputer.js +6 -6
  962. package/libs/PanoTagPlugin/controller/index.d.ts +8 -6
  963. package/libs/PanoTagPlugin/controller/index.js +35 -42
  964. package/libs/PanoTagPlugin/index.d.ts +1 -1
  965. package/libs/PanoTagPlugin/index.js +1 -4
  966. package/libs/PanoTagPlugin/mocks/mock1.d.ts +167 -0
  967. package/libs/PanoTagPlugin/mocks/mock1.js +165 -0
  968. package/libs/PanoTagPlugin/mocks/mock2.d.ts +233 -0
  969. package/libs/PanoTagPlugin/mocks/mock2.js +293 -0
  970. package/libs/PanoTagPlugin/mocks/mock3.d.ts +14 -0
  971. package/libs/PanoTagPlugin/mocks/mock3.js +32 -0
  972. package/libs/PanoTagPlugin/mocks/mock4.d.ts +56 -0
  973. package/libs/PanoTagPlugin/mocks/mock4.js +57 -0
  974. package/libs/PanoTagPlugin/mocks/mock5.d.ts +13 -0
  975. package/libs/PanoTagPlugin/mocks/mock5.js +14 -0
  976. package/libs/PanoTagPlugin/mocks/mock6.d.ts +16 -0
  977. package/libs/PanoTagPlugin/mocks/mock6.js +236 -0
  978. package/libs/PanoTagPlugin/mocks/mock7.d.ts +22 -0
  979. package/libs/PanoTagPlugin/mocks/mock7.js +246 -0
  980. package/libs/PanoTagPlugin/tag.config.d.ts +7 -0
  981. package/libs/PanoTagPlugin/tag.config.js +47 -0
  982. package/libs/PanoTagPlugin/typings/controller.d.ts +11 -1
  983. package/libs/PanoTagPlugin/typings/tag.d.ts +26 -10
  984. package/libs/PanoTagPlugin/typings/tag.js +1 -1
  985. package/libs/floorplan/Components/Compass.js +4 -4
  986. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +4 -4
  987. package/libs/index.d.ts +2 -0
  988. package/libs/index.js +4 -0
  989. package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
  990. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +76 -21
  991. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
  992. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +24 -8
  993. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
  994. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
  995. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +102 -92
  996. package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
  997. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +14 -13
  998. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
  999. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +9 -22
  1000. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
  1001. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +18 -18
  1002. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
  1003. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +18 -18
  1004. package/libs/shared-utils/Object3DHelper/index.d.ts +6 -8
  1005. package/libs/shared-utils/Object3DHelper/index.js +48 -27
  1006. package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
  1007. package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
  1008. package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +9 -0
  1009. package/package.json +8 -3
  1010. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1011. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1012. package/dist/CSS3DRenderPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1013. package/dist/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1014. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1015. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1016. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1017. package/dist/CameraMovementPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1018. package/dist/CruisePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1019. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1020. package/dist/CruisePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1021. package/dist/GuideLinePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1022. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1023. package/dist/GuideLinePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1024. package/dist/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1025. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1026. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1027. package/dist/ItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1028. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1029. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1030. package/dist/ModelChassisCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1031. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1032. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1033. package/dist/ModelEntryDoorGuidePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1034. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1035. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1036. package/dist/ModelItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1037. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1038. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1039. package/dist/ModelRoomLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1040. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1041. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1042. package/dist/ModelTVVideoPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1043. package/dist/ModelViewPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1044. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1045. package/dist/ModelViewPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1046. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1047. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1048. package/dist/PanoCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1049. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1050. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1051. package/dist/PanoCursorRaycasterPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1052. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1053. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1054. package/dist/PanoDoorLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1055. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1056. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1057. package/dist/PanoMeasurePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1058. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1059. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1060. package/dist/PanoRulerPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1061. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1062. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1063. package/dist/PanoRulerProPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1064. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1065. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1066. package/dist/PanoSpatialTagPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1067. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1068. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1069. package/dist/floorplan/MapviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1070. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1071. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1072. package/dist/floorplan/ModelFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1073. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1074. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1075. package/dist/floorplan/PanoFloorplanRadarPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1076. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  1077. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  1078. package/dist/floorplan/TopviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  1079. package/docs/interfaces/State.html +0 -3
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var five = require('@realsee/five');
5
6
  var THREE = require('three');
6
7
  var CSS3DRenderer = require('three/examples/jsm/renderers/CSS3DRenderer');
7
8
 
@@ -25,8 +26,39 @@ function _interopNamespace(e) {
25
26
 
26
27
  var THREE__namespace = /*#__PURE__*/_interopNamespace(THREE);
27
28
 
29
+ /**
30
+ * plugin 的基本控制器
31
+ */
32
+ class Controller {
33
+ constructor(five$1) {
34
+ Object.defineProperty(this, "five", {
35
+ enumerable: true,
36
+ configurable: true,
37
+ writable: true,
38
+ value: void 0
39
+ });
40
+ /**
41
+ * 插件事件钩子
42
+ */
43
+ Object.defineProperty(this, "hooks", {
44
+ enumerable: true,
45
+ configurable: true,
46
+ writable: true,
47
+ value: new five.Subscribe()
48
+ });
49
+ this.five = five$1;
50
+ }
51
+ /**
52
+ * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
53
+ */
54
+ getCurrentState() {
55
+ return this.state;
56
+ }
57
+ }
58
+
28
59
  class BaseHelper extends THREE.Object3D {
29
- constructor(originObject3D) {
60
+ constructor(originObject3D, config) {
61
+ var _a;
30
62
  super();
31
63
  Object.defineProperty(this, "originObject3D", {
32
64
  enumerable: true,
@@ -34,24 +66,39 @@ class BaseHelper extends THREE.Object3D {
34
66
  writable: true,
35
67
  value: void 0
36
68
  });
69
+ Object.defineProperty(this, "onRender", {
70
+ enumerable: true,
71
+ configurable: true,
72
+ writable: true,
73
+ value: void 0
74
+ });
37
75
  this.originObject3D = originObject3D;
76
+ this.onRender = (_a = config === null || config === void 0 ? void 0 : config.onRender) !== null && _a !== void 0 ? _a : (() => { });
38
77
  }
39
78
  get helperObject() {
40
79
  return this;
41
80
  }
81
+ render() {
82
+ this.onRender();
83
+ }
84
+ show() {
85
+ this.visible = true;
86
+ this.render();
87
+ }
88
+ hide() {
89
+ this.visible = false;
90
+ this.render();
91
+ }
42
92
  updatePosition() {
43
93
  this.position.copy(this.originObject3D.position);
44
94
  }
45
- setPosition(position) {
46
- this.position.copy(position);
47
- }
48
- updateMatrix4(matrix, origin) {
49
- this.applyMatrix4(matrix);
95
+ updateQuaternion() {
96
+ this.quaternion.copy(this.originObject3D.quaternion);
50
97
  }
51
- setHelperScaleMatrix4(matrix, params) {
98
+ applyHelperScaleMatrix4(matrix, params) {
52
99
  this.scale.applyMatrix4(matrix);
53
100
  }
54
- updateQuaternion(quaternion, origin) {
101
+ applyHelperQuaternion(quaternion, origin) {
55
102
  this.applyQuaternion(quaternion);
56
103
  }
57
104
  }
@@ -261,29 +308,16 @@ class MoveHelper extends MoveHelperAbstract {
261
308
  this.add(this.yArrow);
262
309
  this.add(this.zArrow);
263
310
  }
264
- hide(...directions) {
265
- if (directions.length === 0) {
266
- this.xArrow.visible = false;
267
- this.yArrow.visible = false;
268
- this.zArrow.visible = false;
269
- }
270
- else {
271
- directions.forEach((direction) => {
272
- const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
273
- arrow && (arrow.visible = false);
274
- });
275
- }
311
+ show() {
312
+ super.show();
313
+ this.xArrow.visible = true;
314
+ this.yArrow.visible = true;
315
+ this.zArrow.visible = true;
276
316
  }
277
- show(direction) {
278
- if (!direction) {
279
- this.xArrow.visible = true;
280
- this.yArrow.visible = true;
281
- this.zArrow.visible = true;
282
- }
283
- else {
284
- const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
285
- arrow && (arrow.visible = true);
286
- }
317
+ showDraggingHelper(directions) {
318
+ this.xArrow.visible = directions.includes('x');
319
+ this.yArrow.visible = directions.includes('y');
320
+ this.zArrow.visible = directions.includes('z');
287
321
  }
288
322
  dispose() {
289
323
  this.remove(this.xArrow, this.yArrow, this.zArrow);
@@ -412,7 +446,7 @@ class RotateHelper extends RotateHelperAbstract {
412
446
  this.yRingHelper.quaternion.copy(this.xzCircle.quaternion);
413
447
  this.zRingHelper.quaternion.copy(this.xyCircle.quaternion);
414
448
  }
415
- updateQuaternion(quaternion, origin) {
449
+ applyHelperQuaternion(quaternion, origin) {
416
450
  this.yzCircle.applyQuaternion(quaternion);
417
451
  this.xzCircle.applyQuaternion(quaternion);
418
452
  this.xyCircle.applyQuaternion(quaternion);
@@ -421,21 +455,21 @@ class RotateHelper extends RotateHelperAbstract {
421
455
  this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
422
456
  }
423
457
  hide() {
458
+ // 改为remove而不是设置visible,是因为会影响其他helper的碰撞检测
424
459
  this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
425
460
  }
426
- show(direction) {
427
- var _a, _b;
428
- if (direction) {
429
- this.hide();
430
- this.add(...this.filterRingHelper(direction));
431
- this.add(...this.filterAngleHelper(direction));
432
- (_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
433
- }
434
- else {
435
- this.add(this.xyCircle, this.xzCircle, this.yzCircle);
436
- this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
437
- (_b = this.angleTips) === null || _b === void 0 ? void 0 : _b.hide();
438
- }
461
+ show() {
462
+ var _a;
463
+ this.add(this.xyCircle, this.xzCircle, this.yzCircle);
464
+ this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
465
+ (_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.hide();
466
+ }
467
+ showDraggingHelper(directions) {
468
+ var _a;
469
+ this.hide();
470
+ this.add(...this.filterRingHelper(directions));
471
+ this.add(...this.filterAngleHelper(directions));
472
+ (_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
439
473
  }
440
474
  dispose() {
441
475
  var _a, _b;
@@ -443,11 +477,11 @@ class RotateHelper extends RotateHelperAbstract {
443
477
  if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
444
478
  (_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
445
479
  }
446
- filterRingHelper(direction) {
447
- return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction === direction);
480
+ filterRingHelper(directions) {
481
+ return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => directions.includes(helper.direction));
448
482
  }
449
- filterAngleHelper(direction) {
450
- return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction === direction);
483
+ filterAngleHelper(directions) {
484
+ return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => directions.includes(helper.direction));
451
485
  }
452
486
  }
453
487
  class Circle extends THREE__namespace.Mesh {
@@ -691,6 +725,7 @@ const NAME$1 = `CSS3DObjectPlus@${VERSION$3}`;
691
725
  const MinRatio = 0.00216;
692
726
  const DefaultRatio = 0.003;
693
727
  class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
728
+ // eslint-disable-next-line max-params
694
729
  constructor(container, cornerPoints, ratio = DefaultRatio, dpr = 1) {
695
730
  const realRatio = Math.max(MinRatio, ratio);
696
731
  const planeWidth = cornerPoints[0].distanceTo(cornerPoints[1]);
@@ -817,10 +852,10 @@ class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
817
852
  }
818
853
  }
819
854
 
820
- const VERSION$2 = 'v1.1.0';
855
+ const VERSION$2 = 'v2.0.0';
821
856
  const PLUGIN_NAME$1 = 'CSS3DRenderer';
822
857
  const PLUGIN$1 = `${PLUGIN_NAME$1}@${VERSION$2}`;
823
- const pluginFlag$1 = (name) => `${PLUGIN$1}--${name}`;
858
+ const pluginFlag = (name) => `${PLUGIN$1}--${name}`;
824
859
  const globalStore = {};
825
860
  class CSS3DRender {
826
861
  constructor() {
@@ -963,7 +998,7 @@ class CSS3DRender {
963
998
  css3DRenderer.domElement.style.top = '0';
964
999
  css3DRenderer.domElement.style.userSelect = 'none';
965
1000
  css3DRenderer.domElement.style.pointerEvents = 'none';
966
- css3DRenderer.domElement.classList.add(pluginFlag$1(mode));
1001
+ css3DRenderer.domElement.classList.add(pluginFlag(mode));
967
1002
  const renderEveryFrame = () => {
968
1003
  const requestAnimationFrameId = requestAnimationFrame(renderEveryFrame);
969
1004
  modeStore.requestAnimationFrameId = requestAnimationFrameId;
@@ -1004,6 +1039,7 @@ class CSS3DRender {
1004
1039
  globalStore.frontModeStore = undefined;
1005
1040
  if (mode === 'behind')
1006
1041
  globalStore.behindModeStore = undefined;
1042
+ globalStore.resizeObserver = undefined;
1007
1043
  }
1008
1044
  return true;
1009
1045
  };
@@ -1086,7 +1122,7 @@ class CSS3DRender {
1086
1122
  });
1087
1123
  const geometry = new THREE__namespace.PlaneGeometry(domWidthPx, domHeightPx);
1088
1124
  const mesh = new THREE__namespace.Mesh(geometry, material);
1089
- mesh.name = pluginFlag$1('mesh');
1125
+ mesh.name = pluginFlag('mesh');
1090
1126
  mesh.position.copy(css3DObject.position);
1091
1127
  mesh.rotation.copy(css3DObject.rotation);
1092
1128
  mesh.scale.copy(css3DObject.scale);
@@ -1101,8 +1137,10 @@ class CSS3DRender {
1101
1137
  configurable: true,
1102
1138
  writable: true,
1103
1139
  value: (element, resizeHandler, fireImmediately = true) => {
1104
- if (!element || !ResizeObserver)
1140
+ if (!element) {
1141
+ console.error('createResizeObserver: element is undefined');
1105
1142
  return { observe: () => { }, unobserve: () => { } };
1143
+ }
1106
1144
  const resizeObserverHandler = () => {
1107
1145
  /**
1108
1146
  * 这里evenNumber策略是遇到奇数会加1,在某些浏览器中会触发滚动条显示,导致fiveElement变小,fiveElement变小又触发了这里的resize,宽高变小,滚动条消失,然后又触发resize。。。无限循环
@@ -1112,6 +1150,10 @@ class CSS3DRender {
1112
1150
  const height = evenNumber(element.clientHeight, { smaller: true });
1113
1151
  resizeHandler(width, height);
1114
1152
  };
1153
+ if (typeof ResizeObserver === 'undefined' || !ResizeObserver) {
1154
+ console.warn('createResizeObserver: ResizeObserver is undefined');
1155
+ return { observe: () => resizeObserverHandler(), unobserve: () => { } };
1156
+ }
1115
1157
  const observer = new ResizeObserver(resizeObserverHandler);
1116
1158
  if (fireImmediately)
1117
1159
  resizeObserverHandler();
@@ -1191,7 +1233,12 @@ class CSS3DRender {
1191
1233
  return;
1192
1234
  container.appendChild(store.css3DRenderer.domElement);
1193
1235
  if (!globalStore.resizeObserver) {
1194
- const { observe, unobserve } = this.createResizeObserver(container, store.css3DRenderer.setSize, true);
1236
+ const reSize = (width, height) => {
1237
+ var _a, _b;
1238
+ (_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DRenderer.setSize(width, height);
1239
+ (_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.css3DRenderer.setSize(width, height);
1240
+ };
1241
+ const { observe, unobserve } = this.createResizeObserver(container, reSize, true);
1195
1242
  globalStore.resizeObserver = { observe, unobserve };
1196
1243
  observe();
1197
1244
  this.store.disposers.push(unobserve);
@@ -1355,17 +1402,17 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
1355
1402
  writable: true,
1356
1403
  value: void 0
1357
1404
  });
1358
- Object.defineProperty(this, "css3DRenderer", {
1405
+ Object.defineProperty(this, "plane", {
1359
1406
  enumerable: true,
1360
1407
  configurable: true,
1361
1408
  writable: true,
1362
- value: new CSS3DRender()
1409
+ value: void 0
1363
1410
  });
1364
- Object.defineProperty(this, "plane", {
1411
+ Object.defineProperty(this, "css3DRenderer", {
1365
1412
  enumerable: true,
1366
1413
  configurable: true,
1367
1414
  writable: true,
1368
- value: void 0
1415
+ value: new CSS3DRender()
1369
1416
  });
1370
1417
  Object.defineProperty(this, "camera", {
1371
1418
  enumerable: true,
@@ -1407,28 +1454,27 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
1407
1454
  (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.position.copy(this.originObject3D.position);
1408
1455
  (_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(this.originObject3D.position);
1409
1456
  }
1410
- setPosition(position) {
1411
- var _a, _b;
1412
- (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.position.copy(position);
1413
- (_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(position);
1457
+ updateQuaternion() {
1458
+ var _a;
1459
+ (_a = this.plane) === null || _a === void 0 ? void 0 : _a.quaternion.copy(this.originObject3D.quaternion);
1414
1460
  }
1415
- updateMatrix4(matrix) {
1461
+ // public setPosition(position: Vector3) {
1462
+ // this.css3DInstance?.css3DObject.position.copy(position)
1463
+ // this.plane?.position.copy(position)
1464
+ // }
1465
+ applyMatrix4(matrix) {
1416
1466
  var _a, _b;
1417
1467
  (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(matrix);
1418
1468
  (_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
1419
1469
  this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
1420
1470
  }
1421
- setHelperScaleMatrix4(matrix, params) {
1471
+ showDraggingHelper() {
1472
+ // nothing to do
1473
+ }
1474
+ applyHelperScaleMatrix4(matrix, params) {
1422
1475
  var _a, _b;
1423
1476
  (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
1424
1477
  (_b = this.plane) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix);
1425
- const { origin, helperOrigin } = params !== null && params !== void 0 ? params : {};
1426
- if (!helperOrigin)
1427
- return;
1428
- this.cornerPositions.forEach((position) => {
1429
- position.subVectors(position, helperOrigin).applyMatrix4(matrix).add(helperOrigin);
1430
- });
1431
- this.updatePoints();
1432
1478
  }
1433
1479
  updatePoints() {
1434
1480
  const position8 = this.calculatePointPosition(this.cornerPositions);
@@ -1436,7 +1482,7 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
1436
1482
  point.position.copy(position8[index]);
1437
1483
  });
1438
1484
  }
1439
- updateQuaternion(quaternion, origin) {
1485
+ applyHelperQuaternion(quaternion, origin) {
1440
1486
  var _a;
1441
1487
  const css3DObject = (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject;
1442
1488
  if (css3DObject) {
@@ -1957,8 +2003,9 @@ function notNil(value) {
1957
2003
  return value !== null && value !== undefined;
1958
2004
  }
1959
2005
 
2006
+ let originOpacity = null;
1960
2007
  class BaseController {
1961
- constructor(camera, model, originObject3D, helperObject3D, container, scene, needsRender) {
2008
+ constructor(camera, model, originObject3D, helperObject3D, container, scene, onRender) {
1962
2009
  Object.defineProperty(this, "hooks", {
1963
2010
  enumerable: true,
1964
2011
  configurable: true,
@@ -2013,7 +2060,7 @@ class BaseController {
2013
2060
  writable: true,
2014
2061
  value: false
2015
2062
  });
2016
- Object.defineProperty(this, "needsRender", {
2063
+ Object.defineProperty(this, "onRender", {
2017
2064
  enumerable: true,
2018
2065
  configurable: true,
2019
2066
  writable: true,
@@ -2043,55 +2090,108 @@ class BaseController {
2043
2090
  this.container = container;
2044
2091
  this.scene = scene;
2045
2092
  this.domEvents = new DomEvents(camera, container);
2046
- this.needsRender = needsRender !== null && needsRender !== void 0 ? needsRender : (() => { });
2047
- this.updateHelperPosition();
2093
+ this.onRender = onRender !== null && onRender !== void 0 ? onRender : (() => { });
2094
+ this.initialHelperPosition();
2095
+ this.initialHelperQuaternion();
2048
2096
  this.enable();
2049
2097
  }
2098
+ initialHelperPosition() {
2099
+ this.helperObject3D.updatePosition();
2100
+ }
2101
+ initialHelperQuaternion() {
2102
+ this.helperObject3D.updateQuaternion();
2103
+ }
2050
2104
  enable() {
2051
2105
  if (this.enabled)
2052
2106
  return;
2053
2107
  this.enabled = true;
2054
2108
  this.scene.add(this.helperObject3D);
2055
- this.needsRender();
2109
+ this.render();
2056
2110
  }
2057
2111
  disable() {
2058
2112
  if (!this.enabled)
2059
2113
  return;
2060
2114
  this.enabled = false;
2061
2115
  this.scene.remove(this.helperObject3D);
2062
- this.needsRender();
2116
+ this.render();
2063
2117
  }
2064
2118
  show() {
2065
- this.helperObject3D.visible = true;
2066
- this.needsRender();
2119
+ this.helperObject3D.show();
2120
+ this.render();
2067
2121
  }
2068
2122
  hide() {
2069
- this.helperObject3D.visible = false;
2070
- this.needsRender();
2123
+ this.helperObject3D.hide();
2124
+ this.render();
2071
2125
  }
2072
2126
  dispose() {
2073
- this.scene.remove(this.helperObject3D);
2074
2127
  this.helperObject3D.dispose();
2128
+ this.scene.remove(this.helperObject3D);
2129
+ this.render();
2130
+ }
2131
+ setOpacity(opacity) {
2132
+ this.setOriginOpacityProperty();
2133
+ const originObject3D = this.originObject3D;
2134
+ if (originObject3D instanceof THREE__namespace.Mesh) {
2135
+ originObject3D.material.opacity = opacity;
2136
+ }
2137
+ if (originObject3D instanceof CSS3DObjectPlus) {
2138
+ originObject3D.container.style.opacity = opacity;
2139
+ }
2140
+ this.render();
2141
+ }
2142
+ restoreOpacity() {
2143
+ if (originOpacity === null)
2144
+ return;
2145
+ const originObject3D = this.originObject3D;
2146
+ if (originObject3D instanceof THREE__namespace.Mesh) {
2147
+ originObject3D.material.opacity = originOpacity.opacity;
2148
+ }
2149
+ if (originObject3D instanceof CSS3DObjectPlus) {
2150
+ originObject3D.container.style.opacity = originOpacity.opacity;
2151
+ }
2152
+ this.render();
2153
+ }
2154
+ setOriginOpacityProperty() {
2155
+ var _a;
2156
+ if (originOpacity === null) {
2157
+ const originObject3D = this.originObject3D;
2158
+ if (originObject3D instanceof THREE__namespace.Mesh) {
2159
+ originOpacity = {
2160
+ opacity: originObject3D.material.opacity,
2161
+ };
2162
+ }
2163
+ if (originObject3D instanceof CSS3DObjectPlus) {
2164
+ originOpacity = {
2165
+ opacity: (_a = originObject3D.container.style.opacity) !== null && _a !== void 0 ? _a : 1,
2166
+ };
2167
+ }
2168
+ }
2075
2169
  }
2076
2170
  updateHelperPosition() {
2077
2171
  this.helperObject3D.updatePosition();
2078
2172
  }
2079
- setHelperPosition(position) {
2080
- this.helperObject3D.setPosition(position);
2173
+ updateHelperQuaternion() {
2174
+ this.helperObject3D.updateQuaternion();
2081
2175
  }
2082
- setHelperMatrix4(matrix4, origin) {
2083
- this.helperObject3D.updateMatrix4(matrix4, origin);
2176
+ // public setHelperPosition(position: THREE.Vector3) {
2177
+ // this.helperObject3D.setPosition(position)
2178
+ // }
2179
+ applyHelperMatrix4(matrix4) {
2180
+ this.helperObject3D.applyMatrix4(matrix4);
2084
2181
  }
2085
- setHelperQuaternion(quaternion, origin) {
2086
- this.helperObject3D.updateQuaternion(quaternion, origin);
2182
+ applyHelperQuaternion(quaternion, origin) {
2183
+ this.helperObject3D.applyHelperQuaternion(quaternion, origin);
2087
2184
  }
2088
- setHelperScaleMatrix4(matrix4, params) {
2089
- this.helperObject3D.setHelperScaleMatrix4(matrix4, params);
2185
+ applyHelperScaleMatrix4(matrix4, params) {
2186
+ this.helperObject3D.applyHelperScaleMatrix4(matrix4, params);
2090
2187
  }
2091
2188
  onWantsGesture(type, pointers, final) {
2092
2189
  if (this.isDragging)
2093
2190
  return false;
2094
2191
  }
2192
+ render() {
2193
+ this.onRender();
2194
+ }
2095
2195
  hoverListener(object3D, hoverColor = 0xffffff, hoverOpacity = 1) {
2096
2196
  const objects = (Array.isArray(object3D) ? object3D : [object3D]).filter(notNil);
2097
2197
  const disposers = [];
@@ -2107,14 +2207,14 @@ class BaseController {
2107
2207
  mesh.material.color.set(hoverColor);
2108
2208
  mesh.material.opacity = hoverOpacity;
2109
2209
  });
2110
- this.needsRender();
2210
+ this.render();
2111
2211
  };
2112
2212
  const resetColor = () => {
2113
2213
  meshes.forEach((mesh) => {
2114
2214
  mesh.material.color.copy(mesh['__originalColor__']);
2115
2215
  mesh.material.opacity = mesh['__originalOpacity__'];
2116
2216
  });
2117
- this.needsRender();
2217
+ this.render();
2118
2218
  };
2119
2219
  const handleMouseover = () => {
2120
2220
  if (this.isDragging)
@@ -2228,7 +2328,7 @@ class MoveController extends BaseController {
2228
2328
  plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
2229
2329
  this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
2230
2330
  // 隐藏其他箭头
2231
- this.helperObject3D.hide(...['x', 'y', 'z'].filter((direction) => direction !== draggingDirection));
2331
+ this.helperObject3D.showDraggingHelper([draggingDirection]);
2232
2332
  this.hooks.emit('moveStart');
2233
2333
  this.isDragging = true;
2234
2334
  console.log('%c MoveController dragStart', 'color: #e5af2e');
@@ -2330,16 +2430,17 @@ class ControllerWrapper {
2330
2430
  }
2331
2431
  }
2332
2432
 
2333
- const VERSION$1 = 'v1.0.0';
2433
+ const VERSION$1 = 'v1.0.1';
2334
2434
  const NAME = 'Object3DHelper';
2335
2435
  const NAMEVERSION = `${NAME}@${VERSION$1}`;
2336
- const disposedErrorLog = () => {
2436
+ const OBJECT_OPACITY = 0.4;
2437
+ const disposedErrorLog$1 = () => {
2337
2438
  console.error(`${NAMEVERSION} is disposed`);
2338
2439
  };
2339
- const disableWarnLog = () => {
2440
+ const disableWarnLog$1 = () => {
2340
2441
  console.warn(`${NAMEVERSION} is disabled`);
2341
2442
  };
2342
- const disableErrorLog = () => {
2443
+ const disableErrorLog$1 = () => {
2343
2444
  console.error(`${NAMEVERSION} is disabled`);
2344
2445
  };
2345
2446
  class Object3DHelper {
@@ -2348,7 +2449,7 @@ class Object3DHelper {
2348
2449
  enumerable: true,
2349
2450
  configurable: true,
2350
2451
  writable: true,
2351
- value: void 0
2452
+ value: {}
2352
2453
  });
2353
2454
  Object.defineProperty(this, "state", {
2354
2455
  enumerable: true,
@@ -2383,25 +2484,24 @@ class Object3DHelper {
2383
2484
  configurable: true,
2384
2485
  writable: true,
2385
2486
  value: (controller, ...positionParams) => {
2386
- var _a, _b, _c, _d, _e, _f, _g, _h;
2487
+ var _a, _b, _c, _d;
2387
2488
  const [position] = positionParams;
2388
2489
  const matrix4 = position === null || position === void 0 ? void 0 : position.matrix4;
2389
2490
  if (matrix4) {
2390
2491
  if (controller !== this.controllers.moveController)
2391
- (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.setHelperMatrix4(matrix4);
2492
+ (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.applyHelperMatrix4(matrix4);
2392
2493
  if (controller !== this.controllers.rotateController)
2393
- (_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.setHelperMatrix4(matrix4);
2394
- (_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.setHelperMatrix4(matrix4);
2494
+ (_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.applyHelperMatrix4(matrix4);
2495
+ if (controller !== this.controllers.scaleController)
2496
+ (_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.applyHelperMatrix4(matrix4);
2395
2497
  (_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyMatrix4(matrix4);
2396
2498
  }
2397
- if (position === null || position === void 0 ? void 0 : position.position) {
2398
- if (controller !== this.controllers.moveController)
2399
- (_e = this.controllers.moveController) === null || _e === void 0 ? void 0 : _e.setHelperPosition(position.position);
2400
- if (controller !== this.controllers.rotateController)
2401
- (_f = this.controllers.rotateController) === null || _f === void 0 ? void 0 : _f.setHelperPosition(position.position);
2402
- (_g = this.controllers.scaleController) === null || _g === void 0 ? void 0 : _g.setHelperPosition(position.position);
2403
- (_h = this.helpers.outlineHelper) === null || _h === void 0 ? void 0 : _h.position.copy(position.position);
2404
- }
2499
+ // if (position?.position) {
2500
+ // if (controller !== this.controllers.moveController) this.controllers.moveController?.setHelperPosition(position.position)
2501
+ // if (controller !== this.controllers.rotateController) this.controllers.rotateController?.setHelperPosition(position.position)
2502
+ // this.controllers.scaleController?.setHelperPosition(position.position)
2503
+ // this.helpers.outlineHelper?.position.copy(position.position)
2504
+ // }
2405
2505
  }
2406
2506
  });
2407
2507
  Object.defineProperty(this, "handleScaleUpdate", {
@@ -2413,7 +2513,7 @@ class Object3DHelper {
2413
2513
  const [params] = positionParams;
2414
2514
  const matrix4 = params === null || params === void 0 ? void 0 : params.matrix4;
2415
2515
  if (matrix4) {
2416
- (_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.setHelperScaleMatrix4(matrix4, params);
2516
+ (_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.applyHelperScaleMatrix4(matrix4, params);
2417
2517
  (_b = this.helpers.outlineHelper) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix4);
2418
2518
  }
2419
2519
  }
@@ -2429,18 +2529,20 @@ class Object3DHelper {
2429
2529
  const { quaternion, origin } = rotate;
2430
2530
  if (quaternion) {
2431
2531
  if (controller !== this.controllers.moveController)
2432
- (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.setHelperQuaternion(quaternion, origin);
2532
+ (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.applyHelperQuaternion(quaternion, origin);
2433
2533
  if (controller !== this.controllers.rotateController)
2434
- (_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.setHelperQuaternion(quaternion, origin);
2534
+ (_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.applyHelperQuaternion(quaternion, origin);
2435
2535
  if (controller !== this.controllers.scaleController)
2436
- (_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.setHelperQuaternion(quaternion, origin);
2536
+ (_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.applyHelperQuaternion(quaternion, origin);
2437
2537
  (_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyQuaternion(quaternion);
2438
2538
  }
2439
2539
  }
2440
2540
  }
2441
2541
  });
2442
- this.controllers = controllers !== null && controllers !== void 0 ? controllers : {};
2542
+ if (controllers)
2543
+ this.addControllers(controllers);
2443
2544
  this.helpers = helpers !== null && helpers !== void 0 ? helpers : {};
2545
+ this.setState(this.state);
2444
2546
  }
2445
2547
  /**
2446
2548
  * @description Show guide line
@@ -2474,11 +2576,11 @@ class Object3DHelper {
2474
2576
  }
2475
2577
  setState(state, options) {
2476
2578
  if (this.state.disposed)
2477
- return disposedErrorLog();
2579
+ return disposedErrorLog$1();
2478
2580
  if (!this.state.enabled) {
2479
2581
  // when plugin is disabled, only can change enabled or disposed to true
2480
2582
  if (state.enabled !== true && state.disposed !== true)
2481
- return disableErrorLog();
2583
+ return disableErrorLog$1();
2482
2584
  }
2483
2585
  const prevState = Object.assign({}, this.state);
2484
2586
  this.state = Object.assign(Object.assign({}, this.state), state);
@@ -2486,10 +2588,10 @@ class Object3DHelper {
2486
2588
  if (state.disposed)
2487
2589
  this.handleDispose();
2488
2590
  }
2489
- if (state.visible !== undefined && state.visible !== prevState.visible) {
2591
+ if (state.visible !== undefined) {
2490
2592
  this.handleVisible(state.visible);
2491
2593
  }
2492
- if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
2594
+ if (state.enabled !== undefined) {
2493
2595
  this.handleEnable(state.enabled);
2494
2596
  }
2495
2597
  this.hooks.emit('stateChange', { state: this.state, prevState });
@@ -2497,6 +2599,7 @@ class Object3DHelper {
2497
2599
  addControllers(controllers) {
2498
2600
  this.controllers = Object.assign(Object.assign({}, this.controllers), controllers);
2499
2601
  this.addEventListener();
2602
+ this.setState(this.state);
2500
2603
  }
2501
2604
  addHelpers(helpers) {
2502
2605
  this.helpers = Object.assign(Object.assign({}, this.helpers), helpers);
@@ -2566,25 +2669,35 @@ class Object3DHelper {
2566
2669
  }
2567
2670
  }
2568
2671
  handleEnable(enabled, userAction = true) {
2569
- console.log({ enabled });
2570
2672
  if (enabled) {
2571
- this.everyControllerDo((controller) => controller.enable());
2673
+ this.everyControllerDo((controller) => {
2674
+ controller.enable();
2675
+ controller.setOpacity(OBJECT_OPACITY);
2676
+ });
2572
2677
  this.hooks.emit('enable', { userAction });
2573
2678
  }
2574
2679
  else {
2575
- this.everyControllerDo((controller) => controller.disable());
2680
+ this.everyControllerDo((controller) => {
2681
+ controller.disable();
2682
+ controller.restoreOpacity();
2683
+ });
2576
2684
  this.hooks.emit('disable', { userAction });
2577
2685
  }
2578
2686
  this.state.enabled = enabled;
2579
2687
  }
2580
2688
  handleVisible(visible, userAction = true) {
2581
- console.log({ visible });
2582
2689
  if (visible) {
2583
- this.everyControllerDo((controller) => controller.show());
2690
+ this.everyControllerDo((controller) => {
2691
+ controller.show();
2692
+ controller.setOpacity(OBJECT_OPACITY);
2693
+ });
2584
2694
  this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
2585
2695
  }
2586
2696
  else {
2587
- this.everyControllerDo((controller) => controller.hide());
2697
+ this.everyControllerDo((controller) => {
2698
+ controller.hide();
2699
+ controller.restoreOpacity();
2700
+ });
2588
2701
  this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
2589
2702
  }
2590
2703
  this.state.visible = visible;
@@ -2596,16 +2709,24 @@ class Object3DHelper {
2596
2709
  });
2597
2710
  }
2598
2711
  handleDispose() {
2712
+ var _a, _b;
2599
2713
  Object.values(this.controllers).forEach((controller) => {
2600
2714
  controller === null || controller === void 0 ? void 0 : controller.dispose();
2715
+ controller === null || controller === void 0 ? void 0 : controller.restoreOpacity();
2601
2716
  });
2717
+ for (const k in this.controllers) {
2718
+ if (!k)
2719
+ continue;
2720
+ const key = k;
2721
+ (_b = (_a = this.eventListener)[key]) === null || _b === void 0 ? void 0 : _b.call(_a);
2722
+ }
2602
2723
  }
2603
2724
  actionIfStateIsEnabled(func, options) {
2604
2725
  if (this.state.enabled)
2605
2726
  return func();
2606
2727
  else {
2607
2728
  if (options === null || options === void 0 ? void 0 : options.warnLog)
2608
- disableWarnLog();
2729
+ disableWarnLog$1();
2609
2730
  }
2610
2731
  }
2611
2732
  }
@@ -2631,17 +2752,11 @@ class RotateController extends BaseController {
2631
2752
  writable: true,
2632
2753
  value: []
2633
2754
  });
2634
- Object.defineProperty(this, "a", {
2635
- enumerable: true,
2636
- configurable: true,
2637
- writable: true,
2638
- value: void 0
2639
- });
2640
2755
  Object.defineProperty(this, "helperObject3DQuaternion", {
2641
2756
  enumerable: true,
2642
2757
  configurable: true,
2643
2758
  writable: true,
2644
- value: this.helperObject3D.quaternion.clone()
2759
+ value: this.originObject3D.quaternion.clone()
2645
2760
  });
2646
2761
  // add hover listener
2647
2762
  const helper = this.helperObject3D;
@@ -2653,6 +2768,10 @@ class RotateController extends BaseController {
2653
2768
  document.addEventListener('mousemove', dragging);
2654
2769
  document.addEventListener('mouseup', dragEnd);
2655
2770
  }
2771
+ initialHelperQuaternion() {
2772
+ this.helperObject3D.updateAngleHelperQuaternion();
2773
+ this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
2774
+ }
2656
2775
  /**
2657
2776
  * @description: 拖动开始,找出拖的Direction
2658
2777
  */
@@ -2677,9 +2796,9 @@ class RotateController extends BaseController {
2677
2796
  this.setTipsPosition(tipsPosition);
2678
2797
  // end
2679
2798
  // init plane
2680
- const directionX = new THREE__namespace.Vector3(1, 0, 0).applyQuaternion(this.helperObject3DQuaternion.clone());
2681
- const directionY = new THREE__namespace.Vector3(0, 1, 0).applyQuaternion(this.helperObject3DQuaternion.clone());
2682
- const directionZ = new THREE__namespace.Vector3(0, 0, 1).applyQuaternion(this.helperObject3DQuaternion.clone());
2799
+ const directionX = new THREE__namespace.Vector3(1, 0, 0).applyQuaternion(this.helperObject3DQuaternion);
2800
+ const directionY = new THREE__namespace.Vector3(0, 1, 0).applyQuaternion(this.helperObject3DQuaternion);
2801
+ const directionZ = new THREE__namespace.Vector3(0, 0, 1).applyQuaternion(this.helperObject3DQuaternion);
2683
2802
  const directionVector = (() => {
2684
2803
  switch (direction) {
2685
2804
  case 'x':
@@ -2691,6 +2810,10 @@ class RotateController extends BaseController {
2691
2810
  }
2692
2811
  })();
2693
2812
  const plane = new THREE__namespace.Plane().setFromNormalAndCoplanarPoint(directionVector, startIntersect);
2813
+ // this.a && this.scene.remove(this.a)
2814
+ // const h = new THREE.PlaneHelper(plane, 1)
2815
+ // this.scene.add(h)
2816
+ // this.a = h
2694
2817
  // end
2695
2818
  // init startVectorProject
2696
2819
  const projectPoint = new THREE__namespace.Vector3();
@@ -2708,7 +2831,7 @@ class RotateController extends BaseController {
2708
2831
  // this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
2709
2832
  // this.scene.add(this.a)
2710
2833
  this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
2711
- this.helperObject3D.show(direction);
2834
+ this.helperObject3D.showDraggingHelper([direction]);
2712
2835
  this.hooks.emit('rotateStart');
2713
2836
  this.isDragging = true;
2714
2837
  console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
@@ -2798,7 +2921,7 @@ class RotateController extends BaseController {
2798
2921
  // end
2799
2922
  const quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector.clone().normalize(), currentVector.clone().normalize());
2800
2923
  object.applyQuaternion(quaternion);
2801
- this.helperObject3D.updateQuaternion(quaternion);
2924
+ this.helperObject3D.applyHelperQuaternion(quaternion);
2802
2925
  this.helperObject3DQuaternion.premultiply(quaternion);
2803
2926
  this.hooks.emit('rotateUpdate', { quaternion, origin: rotateCenter });
2804
2927
  this.startInfo.startVector = currentVector;
@@ -2871,10 +2994,6 @@ class RotateController extends BaseController {
2871
2994
  }
2872
2995
  }
2873
2996
 
2874
- function negateScale(scale) {
2875
- return scale.clone().sub(new THREE__namespace.Vector3(1, 1, 1)).negate().add(new THREE__namespace.Vector3(1, 1, 1));
2876
- }
2877
-
2878
2997
  class RectangleScaleController extends BaseController {
2879
2998
  constructor(...params) {
2880
2999
  super(...params);
@@ -2911,10 +3030,6 @@ class RectangleScaleController extends BaseController {
2911
3030
  plane.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new THREE.Vector3()), positions[0]);
2912
3031
  else
2913
3032
  plane.setFromCoplanarPoints(positions[0], positions[1], positions[2]);
2914
- // const p0 = getPoint(positions[0]!, 0)
2915
- // const p1 = getPoint(positions[1]!, 1)
2916
- // const p2 = getPoint(positions[2]!, 2)
2917
- // this.scene.add(p0, p1, p2)
2918
3033
  return plane;
2919
3034
  }
2920
3035
  dragStart(mousePoint, point) {
@@ -2924,8 +3039,9 @@ class RectangleScaleController extends BaseController {
2924
3039
  if (!plane)
2925
3040
  return this.dragEnd();
2926
3041
  this.startInfo = { startPoint: { position: point.position.clone(), direction: point.direction }, plane };
3042
+ // this.scene.add(getPoint(point.position.clone(), 3))
2927
3043
  this.hooks.emit('scaleStart');
2928
- this.needsRender();
3044
+ this.render();
2929
3045
  this.isDragging = true;
2930
3046
  console.log('%c RectangleScaleController dragStart', 'color: #e5af2e');
2931
3047
  }
@@ -2936,7 +3052,7 @@ class RectangleScaleController extends BaseController {
2936
3052
  if (!raycaster)
2937
3053
  return this.dragEnd();
2938
3054
  this.scale(raycaster);
2939
- console.log('%c RectangleScaleController dragging', 'color: #49de1b');
3055
+ // console.log('%c RectangleScaleController dragging', 'color: #49de1b')
2940
3056
  }
2941
3057
  scale(raycaster) {
2942
3058
  var _a, _b;
@@ -2952,101 +3068,116 @@ class RectangleScaleController extends BaseController {
2952
3068
  return;
2953
3069
  if (vectorIsEqual(planeIntersection, this.camera.position))
2954
3070
  return;
2955
- const referencePosition = cornerPositions[0].clone();
2956
3071
  const planeCenter = new THREE.Vector3().addVectors(cornerPositions[0], cornerPositions[2]).divideScalar(2);
2957
3072
  const { position: startPosition, direction } = startPoint;
2958
- const ewVector = new THREE.Vector3().subVectors(cornerPositions[1], referencePosition); // west -> east vector
2959
- const nsVector = new THREE.Vector3().subVectors(cornerPositions[3], referencePosition); // south -> north vector
3073
+ const ewVector = new THREE.Vector3().subVectors(cornerPositions[1], cornerPositions[0]); // west -> east vector
3074
+ const nsVector = new THREE.Vector3().subVectors(cornerPositions[3], cornerPositions[0]); // south -> north vector
2960
3075
  // eslint-disable-next-line complexity
2961
- const getScale = (direction) => {
3076
+ const getOffset = (direction) => {
3077
+ const defaultVector = new THREE.Vector3(0, 0, 0);
3078
+ if (!this.startInfo)
3079
+ return defaultVector;
2962
3080
  const baseVector = (direction === 'ew' ? ewVector : nsVector).clone();
2963
3081
  const startPositionProject = startPosition.clone().projectOnVector(baseVector);
2964
3082
  const nowPositionProject = planeIntersection.clone().projectOnVector(baseVector);
2965
3083
  const planeCenterProject = planeCenter.clone().projectOnVector(baseVector);
2966
- if (this.startInfo) {
2967
- if (direction === 'ns' && typeof this.startInfo.nsMoveIsNegative !== 'boolean') {
2968
- const offset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
2969
- const xIsNegative = offset.x < 0 && baseVector.x >= 0;
2970
- const yIsNegative = offset.y < 0 && baseVector.y >= 0;
2971
- const zIsNegative = offset.z < 0 && baseVector.z >= 0;
2972
- this.startInfo.nsMoveIsNegative = xIsNegative || yIsNegative || zIsNegative;
3084
+ // this.scene.add(getPoint(startPosition, 0))
3085
+ // this.scene.add(getPoint(planeIntersection, 0))
3086
+ if (nowPositionProject.equals(startPositionProject))
3087
+ return defaultVector;
3088
+ if (direction === 'ns' && typeof this.startInfo.dragPointInCenterBottom !== 'boolean') {
3089
+ const offset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
3090
+ const xIsNegative = offset.x < 0 && baseVector.x >= 0;
3091
+ const yIsNegative = offset.y < 0 && baseVector.y >= 0;
3092
+ const zIsNegative = offset.z < 0 && baseVector.z >= 0;
3093
+ this.startInfo.dragPointInCenterBottom = xIsNegative || yIsNegative || zIsNegative;
3094
+ }
3095
+ if (direction === 'ew' && typeof this.startInfo.dragPointInCenterLeft !== 'boolean') {
3096
+ const offset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
3097
+ const xIsNegative = offset.x < 0 && baseVector.x >= 0;
3098
+ const yIsNegative = offset.y < 0 && baseVector.y >= 0;
3099
+ const zIsNegative = offset.z < 0 && baseVector.z >= 0;
3100
+ this.startInfo.dragPointInCenterLeft = xIsNegative || yIsNegative || zIsNegative;
3101
+ }
3102
+ const offset = new THREE.Vector3().subVectors(nowPositionProject, startPositionProject);
3103
+ // TODO: 不知道为啥b端在缩放结束有问题,先临时加个限制
3104
+ const offsetLength = offset.length();
3105
+ if (offsetLength > 0.2) {
3106
+ console.warn('offset.length() > 0.2, skipped', offsetLength);
3107
+ return defaultVector;
3108
+ }
3109
+ return offset;
3110
+ };
3111
+ const ewOffset = getOffset('ew');
3112
+ const nsOffset = getOffset('ns');
3113
+ const setEWScale = () => {
3114
+ const offset = ewOffset;
3115
+ this.helperObject3D.cornerPositions.forEach((position, index) => {
3116
+ var _a;
3117
+ if ((_a = this.startInfo) === null || _a === void 0 ? void 0 : _a.dragPointInCenterLeft) {
3118
+ if (index === 0 || index === 3)
3119
+ position.add(offset); // 拖左边,只改左边点
2973
3120
  }
2974
- if (direction === 'ew' && typeof this.startInfo.ewMoveIsNegative !== 'boolean') {
2975
- const offset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
2976
- const xIsNegative = offset.x < 0 && baseVector.x >= 0;
2977
- const yIsNegative = offset.y < 0 && baseVector.y >= 0;
2978
- const zIsNegative = offset.z < 0 && baseVector.z >= 0;
2979
- this.startInfo.ewMoveIsNegative = xIsNegative || yIsNegative || zIsNegative;
3121
+ else {
3122
+ if (index === 1 || index === 2)
3123
+ position.add(offset); // 拖右边,只改右边点
2980
3124
  }
2981
- }
2982
- if (nowPositionProject.equals(startPositionProject))
2983
- return;
2984
- const startPositionProjectOffset = new THREE.Vector3().subVectors(startPositionProject, planeCenterProject);
2985
- const nowPositionProjectOffset = new THREE.Vector3().subVectors(nowPositionProject, planeCenterProject);
2986
- const scale = nowPositionProjectOffset.clone().divide(startPositionProjectOffset);
2987
- scale.x = isNaN(scale.x) ? 1 : scale.x;
2988
- scale.y = isNaN(scale.y) ? 1 : scale.y;
2989
- scale.z = isNaN(scale.z) ? 1 : scale.z;
2990
- return scale;
3125
+ });
2991
3126
  };
2992
- const nsScale = (_a = getScale('ns')) !== null && _a !== void 0 ? _a : new THREE.Vector3(1, 1, 1);
2993
- const ewScale = (_b = getScale('ew')) !== null && _b !== void 0 ? _b : new THREE.Vector3(1, 1, 1);
2994
- const scale = (() => {
2995
- switch (direction) {
2996
- case 'ew':
2997
- return ewScale;
2998
- case 'ns':
2999
- return nsScale;
3000
- case 'nesw':
3001
- case 'nwse':
3002
- return new THREE.Vector3().multiplyVectors(nsScale, ewScale);
3003
- }
3004
- })();
3005
- const halfScale = scale.clone().sub(new THREE.Vector3(1, 1, 1)).multiplyScalar(0.5).add(new THREE.Vector3(1, 1, 1));
3006
- const scaleMatrix = new THREE__namespace.Matrix4().scale(halfScale);
3007
- const newScale = object.scale.clone().applyMatrix4(scaleMatrix);
3008
- // const minScale = 0.000001
3009
- // newScale.x = Math.max(newScale.x, minScale)
3010
- // newScale.y = Math.max(newScale.y, minScale)
3011
- // newScale.z = Math.max(newScale.z, minScale)
3012
- // if (direction === 'ew' || direction === 'ns') {
3013
- // if (newScale.x === minScale || newScale.y === minScale || newScale.z === minScale) return
3014
- // }
3015
- // if (direction === 'nesw' || direction === 'nwse') {
3016
- // if (newScale.x === minScale && newScale.y === minScale) return
3017
- // if (newScale.x === minScale && newScale.z === minScale) return
3018
- // if (newScale.y === minScale && newScale.z === minScale) return
3019
- // }
3020
- object.scale.copy(newScale); // 或者 object.scale.applyMatrix4(scaleMatrix)
3127
+ const setNSScale = () => {
3128
+ const offset = nsOffset;
3129
+ this.helperObject3D.cornerPositions.forEach((position, index) => {
3130
+ var _a;
3131
+ if ((_a = this.startInfo) === null || _a === void 0 ? void 0 : _a.dragPointInCenterBottom) {
3132
+ if (index === 0 || index === 1)
3133
+ position.add(offset); // 拖下边,只改下边点
3134
+ }
3135
+ else {
3136
+ if (index === 2 || index === 3)
3137
+ position.add(offset); // 拖上边,只改上边点
3138
+ }
3139
+ });
3140
+ };
3141
+ switch (direction) {
3142
+ case 'ew':
3143
+ setEWScale();
3144
+ break;
3145
+ case 'ns':
3146
+ setNSScale();
3147
+ break;
3148
+ case 'nesw':
3149
+ case 'nwse':
3150
+ setEWScale();
3151
+ setNSScale();
3152
+ }
3153
+ // this.helperObject3D.cornerPositions.forEach((position, index) => {
3154
+ // this.scene.add(getPoint(position, index))
3155
+ // })
3156
+ const scaleX = new THREE.Vector3().subVectors(cornerPositions[1], cornerPositions[0]).length() / ewVector.length();
3157
+ const scaleY = new THREE.Vector3().subVectors(cornerPositions[3], cornerPositions[0]).length() / nsVector.length();
3158
+ const scaleXY = new THREE.Vector3(scaleX, scaleY, 1);
3159
+ console.log(scaleXY);
3160
+ const scaleMatrix = new THREE__namespace.Matrix4().scale(scaleXY);
3161
+ // const newScale = object.scale.clone().applyMatrix4(scaleMatrix)
3162
+ // object.scale.copy(newScale) // 或者 object.scale.applyMatrix4(scaleMatrix)
3163
+ object.scale.applyMatrix4(scaleMatrix);
3021
3164
  startPoint.position.copy(planeIntersection);
3022
- this.hooks.emit('scaleUpdate', { matrix4: scaleMatrix, helperOrigin: planeCenter });
3165
+ // =================================================================================================================================================================
3166
+ // =================================================================================================================================================================
3023
3167
  // 移动位置
3024
- if (referencePosition) {
3025
- const ewMoveScale = this.startInfo.ewMoveIsNegative ? negateScale(ewScale) : ewScale;
3026
- const nsMoveScale = this.startInfo.nsMoveIsNegative ? negateScale(nsScale) : nsScale;
3027
- const moveScale = (() => {
3028
- switch (direction) {
3029
- case 'ew':
3030
- return ewMoveScale;
3031
- case 'ns':
3032
- return nsMoveScale;
3033
- case 'nesw':
3034
- case 'nwse':
3035
- return new THREE.Vector3().multiplyVectors(ewMoveScale, nsMoveScale);
3036
- }
3037
- })();
3038
- const halfMoveScale = moveScale.clone().sub(new THREE.Vector3(1, 1, 1)).multiplyScalar(0.5).add(new THREE.Vector3(1, 1, 1));
3039
- const objectPosition = object.position.clone();
3040
- const newPosition = new THREE.Vector3()
3041
- .subVectors(objectPosition, referencePosition)
3042
- .multiply(halfMoveScale)
3043
- .add(referencePosition)
3044
- .sub(objectPosition);
3045
- const transform = new THREE__namespace.Matrix4().setPosition(newPosition);
3046
- object.applyMatrix4(transform);
3047
- this.hooks.emit('positionUpdate', { matrix4: transform });
3048
- }
3049
- this.needsRender();
3168
+ const centerPosition = new THREE.Vector3().addVectors(cornerPositions[0], cornerPositions[2]).divideScalar(2);
3169
+ const offset = new THREE.Vector3().subVectors(centerPosition, planeCenter);
3170
+ const transformMatrix4 = new THREE__namespace.Matrix4().setPosition(offset);
3171
+ object.applyMatrix4(transformMatrix4);
3172
+ (_a = this.helperObject3D.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(transformMatrix4);
3173
+ (_b = this.helperObject3D.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(transformMatrix4);
3174
+ this.hooks.emit('scaleUpdate', { matrix4: scaleMatrix, helperOrigin: planeCenter });
3175
+ this.hooks.emit('positionUpdate', { matrix4: transformMatrix4 });
3176
+ // 移动位置end
3177
+ // this.helperObject3D.cornerPositions.forEach((position, index) => {
3178
+ // this.scene.add(getPoint(position, index))
3179
+ // })
3180
+ this.render();
3050
3181
  }
3051
3182
  dragEnd() {
3052
3183
  if (!this.isDragging)
@@ -3054,7 +3185,7 @@ class RectangleScaleController extends BaseController {
3054
3185
  this.startInfo = undefined;
3055
3186
  this.isDragging = false;
3056
3187
  this.hooks.emit('scaleEnd');
3057
- this.needsRender();
3188
+ this.render();
3058
3189
  console.log('%c RectangleScaleController dragEnd', 'color: #e94e4e');
3059
3190
  }
3060
3191
  }
@@ -3082,10 +3213,18 @@ class CSS3DScaleController extends RectangleScaleController {
3082
3213
  const VERSION = 'v1.0.0';
3083
3214
  const PLUGIN_NAME = 'Object3DHelperPlugin';
3084
3215
  const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
3085
- const pluginFlag = (name) => `${PLUGIN}--${name}`;
3086
- class Object3DHelperController extends Object3DHelper {
3216
+ const disposedErrorLog = () => {
3217
+ console.error(`${PLUGIN} is disposed`);
3218
+ };
3219
+ const disableWarnLog = () => {
3220
+ console.warn(`${PLUGIN} is disabled`);
3221
+ };
3222
+ const disableErrorLog = () => {
3223
+ console.error(`${PLUGIN} is disabled`);
3224
+ };
3225
+ class Object3DHelperController extends Controller {
3087
3226
  constructor(five) {
3088
- super();
3227
+ super(five);
3089
3228
  Object.defineProperty(this, "version", {
3090
3229
  enumerable: true,
3091
3230
  configurable: true,
@@ -3098,14 +3237,80 @@ class Object3DHelperController extends Object3DHelper {
3098
3237
  writable: true,
3099
3238
  value: PLUGIN_NAME
3100
3239
  });
3101
- Object.defineProperty(this, "five", {
3240
+ Object.defineProperty(this, "state", {
3102
3241
  enumerable: true,
3103
3242
  configurable: true,
3104
3243
  writable: true,
3105
- value: void 0
3244
+ value: {
3245
+ visible: true,
3246
+ enabled: true,
3247
+ disposed: false,
3248
+ }
3249
+ });
3250
+ Object.defineProperty(this, "objectHelperMap", {
3251
+ enumerable: true,
3252
+ configurable: true,
3253
+ writable: true,
3254
+ value: new Map()
3106
3255
  });
3107
3256
  this.five = five;
3108
3257
  Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
3258
+ // Object.assign(window, { THREE: THREE })
3259
+ }
3260
+ /**
3261
+ * @description Show guide line
3262
+ */
3263
+ async show(options) {
3264
+ this.setState({ visible: true }, options);
3265
+ }
3266
+ /**
3267
+ * @description Hide guide line
3268
+ */
3269
+ async hide(options) {
3270
+ this.setState({ visible: false }, options);
3271
+ }
3272
+ /**
3273
+ * @description Enable
3274
+ */
3275
+ enable(options) {
3276
+ this.setState({ enabled: true }, options);
3277
+ }
3278
+ /**
3279
+ * @description Disable
3280
+ */
3281
+ disable(options) {
3282
+ this.setState({ enabled: false }, options);
3283
+ }
3284
+ /**
3285
+ * @description Dispose
3286
+ */
3287
+ dispose() {
3288
+ this.setState({ disposed: true });
3289
+ }
3290
+ setState(state, options) {
3291
+ if (this.state.disposed)
3292
+ return disposedErrorLog();
3293
+ if (!this.state.enabled) {
3294
+ // when plugin is disabled, only can change enabled or disposed to true
3295
+ if (state.enabled !== true && state.disposed !== true)
3296
+ return disableErrorLog();
3297
+ }
3298
+ const prevState = Object.assign({}, this.state);
3299
+ this.state = Object.assign(Object.assign({}, this.state), state);
3300
+ if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
3301
+ if (state.disposed)
3302
+ this.handleDispose();
3303
+ }
3304
+ if (state.visible !== undefined && state.visible !== prevState.visible) {
3305
+ this.handleVisible(state.visible);
3306
+ }
3307
+ if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
3308
+ this.handleEnable(state.enabled);
3309
+ }
3310
+ this.hooks.emit('stateChange', { state: this.state, prevState });
3311
+ }
3312
+ getObject3DHelper(object3D) {
3313
+ return this.objectHelperMap.get(object3D);
3109
3314
  }
3110
3315
  /**
3111
3316
  * @description 添加 helper
@@ -3116,6 +3321,14 @@ class Object3DHelperController extends Object3DHelper {
3116
3321
  */
3117
3322
  addObject3DHelper(object3D, config = {}) {
3118
3323
  var _a;
3324
+ if (!object3D)
3325
+ return console.error('Object3D is undefined');
3326
+ if (this.objectHelperMap.has(object3D)) {
3327
+ console.warn(`Object3DHelperPlugin: object3D ${object3D.name} already has helper`);
3328
+ return;
3329
+ }
3330
+ const helper = new Object3DHelper();
3331
+ this.objectHelperMap.set(object3D, helper);
3119
3332
  const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
3120
3333
  const camera = this.five.camera;
3121
3334
  // 创建空的helperGroup
@@ -3125,7 +3338,7 @@ class Object3DHelperController extends Object3DHelper {
3125
3338
  if (moveHelper) {
3126
3339
  const moveHelper = new MoveHelper(object3D);
3127
3340
  const controllerWrapper = new ControllerWrapper(this.five, MoveController, object3D, moveHelper);
3128
- this.addControllers({ moveController: controllerWrapper.helperController });
3341
+ helper.addControllers({ moveController: controllerWrapper.helperController });
3129
3342
  }
3130
3343
  if (rotateHelper) {
3131
3344
  let angleTipsParams;
@@ -3133,13 +3346,13 @@ class Object3DHelperController extends Object3DHelper {
3133
3346
  angleTipsParams = { container };
3134
3347
  const rotateHelper = new RotateHelper(object3D, angleTipsParams);
3135
3348
  const controllerWrapper = new ControllerWrapper(this.five, RotateController, object3D, rotateHelper);
3136
- this.addControllers({ rotateController: controllerWrapper.helperController });
3349
+ helper.addControllers({ rotateController: controllerWrapper.helperController });
3137
3350
  }
3138
3351
  if (scaleHelper) {
3139
3352
  if (container) {
3140
3353
  const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
3141
3354
  const controllerWrapper = new ControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
3142
- this.addControllers({ scaleController: controllerWrapper.helperController });
3355
+ helper.addControllers({ scaleController: controllerWrapper.helperController });
3143
3356
  }
3144
3357
  }
3145
3358
  // if (mergeConfig.outlineHelper) {
@@ -3149,6 +3362,52 @@ class Object3DHelperController extends Object3DHelper {
3149
3362
  // }
3150
3363
  // this.five.scene.add(helperGroup)
3151
3364
  }
3365
+ removeObject3DHelper(object3D) {
3366
+ const helper = this.objectHelperMap.get(object3D);
3367
+ if (!helper)
3368
+ return;
3369
+ this.objectHelperMap.delete(object3D);
3370
+ helper.dispose();
3371
+ }
3372
+ handleEnable(enabled, userAction = true) {
3373
+ if (enabled) {
3374
+ this.everyHelperDo((helper) => helper.enable());
3375
+ this.hooks.emit('enable', { userAction });
3376
+ }
3377
+ else {
3378
+ this.everyHelperDo((helper) => helper.disable());
3379
+ this.hooks.emit('disable', { userAction });
3380
+ }
3381
+ this.state.enabled = enabled;
3382
+ }
3383
+ handleVisible(visible, userAction = true) {
3384
+ if (visible) {
3385
+ this.everyHelperDo((helper) => helper.show());
3386
+ this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
3387
+ }
3388
+ else {
3389
+ this.everyHelperDo((helper) => helper.hide());
3390
+ this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
3391
+ }
3392
+ this.state.visible = visible;
3393
+ }
3394
+ handleDispose() {
3395
+ this.everyHelperDo((helper) => helper.dispose());
3396
+ }
3397
+ everyHelperDo(func) {
3398
+ this.objectHelperMap.forEach((helper) => {
3399
+ if (helper)
3400
+ func(helper);
3401
+ });
3402
+ }
3403
+ actionIfStateIsEnabled(func, options) {
3404
+ if (this.state.enabled)
3405
+ return func();
3406
+ else {
3407
+ if (options === null || options === void 0 ? void 0 : options.warnLog)
3408
+ disableWarnLog();
3409
+ }
3410
+ }
3152
3411
  }
3153
3412
 
3154
3413
  const Object3DHelperPlugin = (five) => new Object3DHelperController(five);
@@ -3158,4 +3417,3 @@ exports.Object3DHelperPlugin = Object3DHelperPlugin;
3158
3417
  exports.PLUGIN = PLUGIN;
3159
3418
  exports.VERSION = VERSION;
3160
3419
  exports["default"] = Object3DHelperPlugin;
3161
- exports.pluginFlag = pluginFlag;