@realsee/dnalogel 2.0.1 → 2.2.0-alpha.1

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 (2212) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  2. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  3. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  4. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  5. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  6. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  7. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  8. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  9. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  10. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  11. package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  12. package/dist/CSS3DRenderPlugin/Controller.d.ts +78 -0
  13. package/dist/CSS3DRenderPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  14. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  15. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  16. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  17. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  18. package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  19. package/dist/CSS3DRenderPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  20. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  21. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  22. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  23. package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +8 -0
  24. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  25. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  26. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  27. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  28. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  29. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  30. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  31. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  32. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  33. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  34. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  35. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  36. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  37. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  38. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  39. package/dist/CSS3DRenderPlugin/index.d.ts +4 -3
  40. package/dist/CSS3DRenderPlugin/index.js +782 -181
  41. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  42. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  43. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  44. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  45. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  46. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  47. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  48. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  49. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  50. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  51. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  52. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  53. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  54. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  55. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  56. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  57. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  58. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  59. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  60. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  61. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  62. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  63. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  64. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  65. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  66. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  67. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  68. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  69. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  70. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  71. package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  72. package/dist/CSS3DRenderPlugin/shared-utils/Subscribe.d.ts +41 -25
  73. package/dist/CSS3DRenderPlugin/typing.d.ts +26 -0
  74. package/dist/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  75. package/dist/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  76. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  77. package/dist/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  78. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  79. package/dist/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  80. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  81. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  82. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  83. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  84. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  85. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  86. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  87. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  88. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  89. package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  90. package/dist/CameraMovementPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  91. package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  92. package/dist/CameraMovementPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  93. package/dist/CameraMovementPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  94. package/dist/CameraMovementPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  95. package/dist/CameraMovementPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  96. package/dist/CameraMovementPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  97. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  98. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  99. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  100. package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +8 -0
  101. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  102. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  103. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  104. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  105. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  106. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  107. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  108. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  109. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  110. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  111. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  112. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  113. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  114. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  115. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  116. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  117. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  118. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  119. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  120. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  121. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  122. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  123. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  124. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  125. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  126. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  127. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  128. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  129. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  130. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  131. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  132. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  133. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  134. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  135. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  136. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  137. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  138. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  139. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  140. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  141. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  142. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  143. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  144. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  145. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  146. package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  147. package/dist/CameraMovementPlugin/shared-utils/Subscribe.d.ts +41 -25
  148. package/dist/CruisePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  149. package/dist/CruisePlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  150. package/dist/CruisePlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  151. package/dist/CruisePlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  152. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  153. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  154. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  155. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  156. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  157. package/dist/CruisePlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  158. package/dist/CruisePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  159. package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  160. package/dist/CruisePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  161. package/dist/CruisePlugin/Object3DHelperPlugin/index.d.ts +6 -0
  162. package/dist/CruisePlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  163. package/dist/CruisePlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  164. package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  165. package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  166. package/dist/CruisePlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  167. package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  168. package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  169. package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  170. package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  171. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  172. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  173. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  174. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  175. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  176. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  177. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  178. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  179. package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  180. package/dist/CruisePlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  181. package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  182. package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  183. package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  184. package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  185. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  186. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  187. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  188. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  189. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  190. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  191. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  192. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  193. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  194. package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  195. package/dist/CruisePlugin/shared-utils/Subscribe.d.ts +41 -25
  196. package/dist/GuideLinePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  197. package/dist/GuideLinePlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  198. package/dist/GuideLinePlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  199. package/dist/GuideLinePlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  200. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  201. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  202. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  203. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  204. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  205. package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  206. package/dist/GuideLinePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  207. package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  208. package/dist/GuideLinePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  209. package/dist/GuideLinePlugin/Object3DHelperPlugin/index.d.ts +6 -0
  210. package/dist/GuideLinePlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  211. package/dist/GuideLinePlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  212. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  213. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  214. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  215. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  216. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  217. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  218. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  219. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  220. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  221. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  222. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  223. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  224. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  225. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  226. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  227. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  228. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  229. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  230. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  231. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  232. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  233. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  234. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  235. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  236. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  237. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  238. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  239. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  240. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  241. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  242. package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  243. package/dist/GuideLinePlugin/shared-utils/Subscribe.d.ts +41 -25
  244. package/dist/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  245. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  246. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  247. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  248. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  249. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  250. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  251. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  252. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  253. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  254. package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  255. package/dist/ItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  256. package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  257. package/dist/ItemLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  258. package/dist/ItemLabelPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  259. package/dist/ItemLabelPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  260. package/dist/ItemLabelPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  261. package/dist/ItemLabelPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  262. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  263. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  264. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  265. package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +8 -0
  266. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  267. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  268. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  269. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  270. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  271. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  272. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  273. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  274. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  275. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  276. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  277. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  278. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  279. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  280. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  281. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  282. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  283. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  284. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  285. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  286. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  287. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  288. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  289. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  290. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  291. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  292. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  293. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  294. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  295. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  296. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  297. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  298. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  299. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  300. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  301. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  302. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  303. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  304. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  305. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  306. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  307. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  308. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  309. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  310. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  311. package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  312. package/dist/ItemLabelPlugin/shared-utils/Subscribe.d.ts +41 -25
  313. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  314. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  315. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  316. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  317. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  318. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  319. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  320. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  321. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  322. package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  323. package/dist/ModelChassisCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  324. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  325. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  326. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  327. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  328. package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  329. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  330. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  331. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  332. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  333. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +8 -0
  334. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  335. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  336. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  337. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  338. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  339. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  340. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  341. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  342. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  343. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  344. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  345. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  346. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  347. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  348. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  349. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  350. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  351. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  352. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  353. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  354. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  355. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  356. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  357. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  358. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  359. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  360. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  361. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  362. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  363. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  364. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  365. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  366. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  367. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  368. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  369. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  370. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  371. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  372. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  373. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  374. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  375. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  376. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  377. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  378. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  379. package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  380. package/dist/ModelChassisCompassPlugin/shared-utils/Subscribe.d.ts +41 -25
  381. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  382. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  383. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  384. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  385. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  386. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  387. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  388. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  389. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  390. package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  391. package/dist/ModelEntryDoorGuidePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  392. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  393. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  394. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/index.d.ts +6 -0
  395. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  396. package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  397. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  398. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  399. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  400. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  401. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +8 -0
  402. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  403. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  404. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  405. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  406. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  407. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  408. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  409. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  410. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  411. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  412. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  413. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  414. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  415. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  416. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  417. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  418. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  419. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  420. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  421. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  422. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  423. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  424. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  425. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  426. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  427. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  428. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  429. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  430. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  431. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  432. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  433. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  434. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  435. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  436. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  437. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  438. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  439. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  440. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  441. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  442. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  443. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  444. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  445. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  446. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  447. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  448. package/dist/ModelEntryDoorGuidePlugin/shared-utils/Subscribe.d.ts +41 -25
  449. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  450. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  451. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  452. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  453. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  454. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  455. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  456. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  457. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  458. package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  459. package/dist/ModelItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  460. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  461. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  462. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  463. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  464. package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  465. package/dist/ModelItemLabelPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  466. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  467. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  468. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  469. package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +8 -0
  470. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  471. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  472. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  473. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  474. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  475. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  476. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  477. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  478. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  479. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  480. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  481. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  482. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  483. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  484. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  485. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  486. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  487. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  488. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  489. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  490. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  491. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  492. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  493. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  494. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  495. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  496. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  497. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  498. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  499. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  500. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  501. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  502. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  503. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  504. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  505. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  506. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  507. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  508. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  509. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  510. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  511. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  512. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  513. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  514. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  515. package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  516. package/dist/ModelItemLabelPlugin/shared-utils/Subscribe.d.ts +41 -25
  517. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  518. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  519. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  520. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  521. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  522. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  523. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  524. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  525. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  526. package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  527. package/dist/ModelRoomLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  528. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  529. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  530. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  531. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  532. package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  533. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  534. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  535. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  536. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  537. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +8 -0
  538. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  539. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  540. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  541. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  542. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  543. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  544. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  545. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  546. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  547. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  548. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  549. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  550. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  551. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  552. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  553. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  554. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  555. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  556. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  557. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  558. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  559. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  560. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  561. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  562. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  563. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  564. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  565. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  566. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  567. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  568. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  569. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  570. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  571. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  572. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  573. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  574. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  575. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  576. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  577. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  578. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  579. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  580. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  581. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  582. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  583. package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  584. package/dist/ModelRoomLabelPlugin/shared-utils/Subscribe.d.ts +41 -25
  585. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  586. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  587. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  588. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  589. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  590. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  591. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  592. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  593. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  594. package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  595. package/dist/ModelTVVideoPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  596. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  597. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  598. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  599. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  600. package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  601. package/dist/ModelTVVideoPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  602. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  603. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  604. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  605. package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +8 -0
  606. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  607. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  608. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  609. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  610. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  611. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  612. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  613. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  614. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  615. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  616. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  617. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  618. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  619. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  620. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  621. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  622. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  623. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  624. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  625. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  626. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  627. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  628. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  629. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  630. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  631. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  632. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  633. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  634. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  635. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  636. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  637. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  638. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  639. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  640. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  641. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  642. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  643. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  644. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  645. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  646. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  647. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  648. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  649. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  650. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  651. package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  652. package/dist/ModelTVVideoPlugin/shared-utils/Subscribe.d.ts +41 -25
  653. package/dist/ModelViewPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  654. package/dist/ModelViewPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  655. package/dist/ModelViewPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  656. package/dist/ModelViewPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  657. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  658. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  659. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  660. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  661. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  662. package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  663. package/dist/ModelViewPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  664. package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  665. package/dist/ModelViewPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  666. package/dist/ModelViewPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  667. package/dist/ModelViewPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  668. package/dist/ModelViewPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  669. package/dist/ModelViewPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  670. package/dist/ModelViewPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  671. package/dist/ModelViewPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  672. package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  673. package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +8 -0
  674. package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  675. package/dist/ModelViewPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  676. package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  677. package/dist/ModelViewPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  678. package/dist/ModelViewPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  679. package/dist/ModelViewPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  680. package/dist/ModelViewPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  681. package/dist/ModelViewPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  682. package/dist/ModelViewPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  683. package/dist/ModelViewPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  684. package/dist/ModelViewPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  685. package/dist/ModelViewPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  686. package/dist/ModelViewPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  687. package/dist/ModelViewPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  688. package/dist/ModelViewPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  689. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  690. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  691. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  692. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  693. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  694. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  695. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  696. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  697. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  698. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  699. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  700. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  701. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  702. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  703. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  704. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  705. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  706. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  707. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  708. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  709. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  710. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  711. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  712. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  713. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  714. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  715. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  716. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  717. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  718. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  719. package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  720. package/dist/ModelViewPlugin/shared-utils/Subscribe.d.ts +41 -25
  721. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  722. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  723. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/index.d.ts +5 -0
  724. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  725. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  726. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  727. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  728. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  729. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  730. package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  731. package/dist/Object3DHelperPlugin/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
  732. package/dist/Object3DHelperPlugin/CameraMovementPlugin/index.d.ts +5 -0
  733. package/dist/Object3DHelperPlugin/CameraMovementPlugin/typing.d.ts +68 -0
  734. package/dist/Object3DHelperPlugin/Controller.d.ts +26 -0
  735. package/dist/Object3DHelperPlugin/CruisePlugin/Controller.d.ts +170 -0
  736. package/dist/Object3DHelperPlugin/CruisePlugin/index.d.ts +6 -0
  737. package/dist/Object3DHelperPlugin/CruisePlugin/typing.d.ts +129 -0
  738. package/dist/Object3DHelperPlugin/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
  739. package/dist/Object3DHelperPlugin/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
  740. package/dist/Object3DHelperPlugin/CruisePlugin/utils/formatRad.d.ts +7 -0
  741. package/dist/Object3DHelperPlugin/CruisePlugin/utils/linerValue.d.ts +1 -0
  742. package/dist/Object3DHelperPlugin/CruisePlugin/utils/safeCall.d.ts +1 -0
  743. package/dist/Object3DHelperPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  744. package/dist/Object3DHelperPlugin/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
  745. package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  746. package/dist/Object3DHelperPlugin/GuideLinePlugin/Controller.d.ts +46 -0
  747. package/dist/Object3DHelperPlugin/GuideLinePlugin/index.d.ts +5 -0
  748. package/dist/Object3DHelperPlugin/GuideLinePlugin/typing.d.ts +31 -0
  749. package/dist/Object3DHelperPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
  750. package/dist/Object3DHelperPlugin/GuideLinePlugin/utils/getLineGeometries.d.ts +14 -0
  751. package/dist/Object3DHelperPlugin/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  752. package/dist/Object3DHelperPlugin/ItemLabelPlugin/Plugin.d.ts +4 -0
  753. package/dist/Object3DHelperPlugin/ItemLabelPlugin/events.type.d.ts +9 -0
  754. package/dist/Object3DHelperPlugin/ItemLabelPlugin/index.d.ts +9 -0
  755. package/dist/Object3DHelperPlugin/ItemLabelPlugin/typings.d.ts +65 -0
  756. package/dist/Object3DHelperPlugin/ItemLabelPlugin/utils/getLabelTransform.d.ts +1 -0
  757. package/dist/Object3DHelperPlugin/ItemLabelPlugin/utils/getStrokeLength.d.ts +5 -0
  758. package/dist/Object3DHelperPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +8 -0
  759. package/dist/Object3DHelperPlugin/ItemLabelPlugin/utils/parseData.d.ts +3 -0
  760. package/dist/Object3DHelperPlugin/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
  761. package/dist/Object3DHelperPlugin/ModelChassisCompassPlugin/Plugin.d.ts +19 -0
  762. package/dist/Object3DHelperPlugin/ModelChassisCompassPlugin/index.d.ts +4 -0
  763. package/dist/Object3DHelperPlugin/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
  764. package/dist/Object3DHelperPlugin/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
  765. package/dist/Object3DHelperPlugin/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
  766. package/dist/Object3DHelperPlugin/ModelItemLabelPlugin/events.type.d.ts +9 -0
  767. package/dist/Object3DHelperPlugin/ModelItemLabelPlugin/index.d.ts +9 -0
  768. package/dist/Object3DHelperPlugin/ModelItemLabelPlugin/typings.d.ts +56 -0
  769. package/dist/Object3DHelperPlugin/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
  770. package/dist/Object3DHelperPlugin/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
  771. package/dist/Object3DHelperPlugin/ModelRoomLabelPlugin/Controller.d.ts +36 -0
  772. package/dist/Object3DHelperPlugin/ModelRoomLabelPlugin/index.d.ts +12 -0
  773. package/dist/Object3DHelperPlugin/ModelRoomLabelPlugin/typings.d.ts +35 -0
  774. package/dist/Object3DHelperPlugin/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
  775. package/dist/Object3DHelperPlugin/ModelTVVideoPlugin/Plugin.d.ts +4 -0
  776. package/dist/Object3DHelperPlugin/ModelTVVideoPlugin/index.d.ts +5 -0
  777. package/dist/Object3DHelperPlugin/ModelTVVideoPlugin/typings.d.ts +25 -0
  778. package/dist/Object3DHelperPlugin/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
  779. package/dist/Object3DHelperPlugin/ModelViewPlugin/Plugin.d.ts +17 -0
  780. package/dist/Object3DHelperPlugin/ModelViewPlugin/index.d.ts +4 -0
  781. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  782. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  783. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  784. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  785. package/dist/Object3DHelperPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  786. package/dist/Object3DHelperPlugin/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
  787. package/dist/Object3DHelperPlugin/PanoCompassPlugin/Controller.d.ts +84 -0
  788. package/dist/Object3DHelperPlugin/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
  789. package/dist/Object3DHelperPlugin/PanoCompassPlugin/index.d.ts +7 -0
  790. package/dist/Object3DHelperPlugin/PanoCompassPlugin/typings.d.ts +57 -0
  791. package/dist/Object3DHelperPlugin/PanoCursorRaycasterPlugin/index.d.ts +48 -0
  792. package/dist/Object3DHelperPlugin/PanoDoorLabelPlugin/BaseController.d.ts +60 -0
  793. package/dist/Object3DHelperPlugin/PanoDoorLabelPlugin/Controller.d.ts +37 -0
  794. package/dist/Object3DHelperPlugin/PanoDoorLabelPlugin/index.d.ts +7 -0
  795. package/dist/Object3DHelperPlugin/PanoDoorLabelPlugin/typings.d.ts +38 -0
  796. package/dist/Object3DHelperPlugin/PanoDoorLabelPlugin/utils.d.ts +5 -0
  797. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +39 -0
  798. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +52 -0
  799. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +44 -0
  800. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
  801. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/ViewController.d.ts +16 -0
  802. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/WatchController.d.ts +26 -0
  803. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Controller/index.d.ts +70 -0
  804. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Model/index.d.ts +38 -0
  805. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Model/line.d.ts +30 -0
  806. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Model/point.d.ts +16 -0
  807. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
  808. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
  809. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
  810. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
  811. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +25 -0
  812. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
  813. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
  814. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/Magnifier.d.ts +59 -0
  815. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +2 -0
  816. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +15 -0
  817. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +13 -0
  818. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/index.d.ts +20 -0
  819. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +4 -0
  820. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +12 -0
  821. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/UIController/style.d.ts +16 -0
  822. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
  823. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +44 -0
  824. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/index.d.ts +10 -0
  825. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/typings/data.d.ts +37 -0
  826. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/typings/event.type.d.ts +37 -0
  827. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  828. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
  829. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  830. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/constants.d.ts +4 -0
  831. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
  832. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
  833. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
  834. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
  835. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
  836. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
  837. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
  838. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/line.d.ts +17 -0
  839. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/math.d.ts +17 -0
  840. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/mouseGroup.d.ts +7 -0
  841. package/dist/Object3DHelperPlugin/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
  842. package/dist/Object3DHelperPlugin/PanoRulerPlugin/Plugin.d.ts +31 -0
  843. package/dist/Object3DHelperPlugin/PanoRulerPlugin/index.d.ts +5 -0
  844. package/dist/Object3DHelperPlugin/PanoRulerPlugin/style.d.ts +2 -0
  845. package/dist/Object3DHelperPlugin/PanoRulerPlugin/typings.d.ts +21 -0
  846. package/dist/Object3DHelperPlugin/PanoRulerProPlugin/Controller.d.ts +15 -0
  847. package/dist/Object3DHelperPlugin/PanoRulerProPlugin/index.d.ts +8 -0
  848. package/dist/Object3DHelperPlugin/PanoRulerProPlugin/typings.d.ts +46 -0
  849. package/dist/Object3DHelperPlugin/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
  850. package/dist/Object3DHelperPlugin/PanoSpatialTagPlugin/index.d.ts +5 -0
  851. package/dist/Object3DHelperPlugin/PanoSpatialTagPlugin/store.d.ts +1 -0
  852. package/dist/Object3DHelperPlugin/PanoSpatialTagPlugin/style.d.ts +1 -0
  853. package/dist/Object3DHelperPlugin/PanoSpatialTagPlugin/typings.d.ts +40 -0
  854. package/dist/Object3DHelperPlugin/base/BasePlugin.d.ts +100 -0
  855. package/dist/Object3DHelperPlugin/base/BasePluginWithData.d.ts +34 -0
  856. package/dist/Object3DHelperPlugin/components/PaintBrush/Controller.d.ts +43 -0
  857. package/dist/Object3DHelperPlugin/components/PaintBrush/Subscribe.d.ts +76 -0
  858. package/dist/Object3DHelperPlugin/components/PaintBrush/index.d.ts +27 -0
  859. package/dist/Object3DHelperPlugin/components/PaintBrush/style.d.ts +2 -0
  860. package/dist/Object3DHelperPlugin/components/PaintBrush/tween.d.ts +62 -0
  861. package/dist/Object3DHelperPlugin/components/PaintBrush/typings.d.ts +58 -0
  862. package/dist/Object3DHelperPlugin/components/PaintBrush/utils.d.ts +26 -0
  863. package/dist/Object3DHelperPlugin/components/index.d.ts +2 -0
  864. package/dist/Object3DHelperPlugin/floorplan/Assets/camera.d.ts +1 -0
  865. package/dist/Object3DHelperPlugin/floorplan/Assets/compass.d.ts +1 -0
  866. package/dist/Object3DHelperPlugin/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
  867. package/dist/Object3DHelperPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +95 -0
  868. package/dist/Object3DHelperPlugin/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
  869. package/dist/Object3DHelperPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +107 -0
  870. package/dist/Object3DHelperPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +98 -0
  871. package/dist/Object3DHelperPlugin/floorplan/ModelFloorplanPlugin/index.d.ts +7 -0
  872. package/dist/Object3DHelperPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +107 -0
  873. package/dist/Object3DHelperPlugin/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +36 -0
  874. package/dist/Object3DHelperPlugin/floorplan/PanoFloorplanRadarPlugin/index.d.ts +7 -0
  875. package/dist/Object3DHelperPlugin/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
  876. package/dist/Object3DHelperPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +67 -0
  877. package/dist/Object3DHelperPlugin/floorplan/TopviewFloorplanPlugin/index.d.ts +7 -0
  878. package/dist/Object3DHelperPlugin/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  879. package/dist/Object3DHelperPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +86 -0
  880. package/dist/Object3DHelperPlugin/floorplan/constant.d.ts +5 -0
  881. package/dist/Object3DHelperPlugin/floorplan/index.d.ts +7 -0
  882. package/dist/Object3DHelperPlugin/floorplan/typings/floorplanData.d.ts +137 -0
  883. package/dist/Object3DHelperPlugin/floorplan/typings/floorplanServerData.d.ts +144 -0
  884. package/dist/Object3DHelperPlugin/floorplan/typings/utility.d.ts +2 -0
  885. package/dist/Object3DHelperPlugin/floorplan/utils/constant.d.ts +22 -0
  886. package/dist/Object3DHelperPlugin/floorplan/utils/correctFiveState.d.ts +15 -0
  887. package/dist/Object3DHelperPlugin/floorplan/utils/formatData.d.ts +5 -0
  888. package/dist/Object3DHelperPlugin/floorplan/utils/formatPosition.d.ts +36 -0
  889. package/dist/Object3DHelperPlugin/index.d.ts +6 -0
  890. package/dist/Object3DHelperPlugin/index.js +3161 -0
  891. package/dist/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  892. package/dist/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  893. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  894. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  895. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  896. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  897. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  898. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  899. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  900. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  901. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  902. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  903. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  904. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  905. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  906. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  907. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  908. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  909. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  910. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  911. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  912. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  913. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  914. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  915. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  916. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  917. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  918. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  919. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  920. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  921. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  922. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  923. package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  924. package/dist/Object3DHelperPlugin/shared-utils/Preloader.d.ts +6 -0
  925. package/dist/Object3DHelperPlugin/shared-utils/Subscribe.d.ts +61 -0
  926. package/dist/Object3DHelperPlugin/shared-utils/animationFrame/BetterTween.d.ts +11 -0
  927. package/dist/Object3DHelperPlugin/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
  928. package/dist/Object3DHelperPlugin/shared-utils/animationFrame/formatRad.d.ts +15 -0
  929. package/dist/Object3DHelperPlugin/shared-utils/animationFrame/index.d.ts +15 -0
  930. package/dist/Object3DHelperPlugin/shared-utils/animationFrame/tween.d.ts +75 -0
  931. package/dist/Object3DHelperPlugin/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
  932. package/dist/Object3DHelperPlugin/shared-utils/createCanvasTextTexture.d.ts +8 -0
  933. package/dist/Object3DHelperPlugin/shared-utils/createLine/index.d.ts +3 -0
  934. package/dist/Object3DHelperPlugin/shared-utils/debounce.d.ts +6 -0
  935. package/dist/Object3DHelperPlugin/shared-utils/equal.d.ts +11 -0
  936. package/dist/Object3DHelperPlugin/shared-utils/filter.d.ts +27 -0
  937. package/dist/Object3DHelperPlugin/shared-utils/five/changeMode.d.ts +5 -0
  938. package/dist/Object3DHelperPlugin/shared-utils/formatRad.d.ts +7 -0
  939. package/dist/Object3DHelperPlugin/shared-utils/getPxmm.d.ts +19 -0
  940. package/dist/Object3DHelperPlugin/shared-utils/getRandomColor.d.ts +1 -0
  941. package/dist/Object3DHelperPlugin/shared-utils/index.d.ts +1 -0
  942. package/dist/Object3DHelperPlugin/shared-utils/isNil.d.ts +10 -0
  943. package/dist/Object3DHelperPlugin/shared-utils/isTruelyObject.d.ts +18 -0
  944. package/dist/Object3DHelperPlugin/shared-utils/logger.d.ts +16 -0
  945. package/dist/Object3DHelperPlugin/shared-utils/math/Interval.d.ts +13 -0
  946. package/dist/Object3DHelperPlugin/shared-utils/math/Rectangle.d.ts +27 -0
  947. package/dist/Object3DHelperPlugin/shared-utils/math/evenNumber.d.ts +3 -0
  948. package/dist/Object3DHelperPlugin/shared-utils/math/index.d.ts +2 -0
  949. package/dist/Object3DHelperPlugin/shared-utils/math/planimetry.d.ts +116 -0
  950. package/dist/Object3DHelperPlugin/shared-utils/math/rad2Deg.d.ts +1 -0
  951. package/dist/Object3DHelperPlugin/shared-utils/nearlyEqual.d.ts +7 -0
  952. package/dist/Object3DHelperPlugin/shared-utils/nextFrame.d.ts +1 -0
  953. package/dist/Object3DHelperPlugin/shared-utils/noop.d.ts +5 -0
  954. package/dist/Object3DHelperPlugin/shared-utils/object3d2LocalMatrix.d.ts +12 -0
  955. package/dist/Object3DHelperPlugin/shared-utils/px2rem.d.ts +1 -0
  956. package/dist/Object3DHelperPlugin/shared-utils/removeArrayItem.d.ts +7 -0
  957. package/dist/Object3DHelperPlugin/shared-utils/tap.d.ts +8 -0
  958. package/dist/Object3DHelperPlugin/shared-utils/three/centerPoint.d.ts +2 -0
  959. package/dist/Object3DHelperPlugin/shared-utils/three/getExtraModelLoader.d.ts +6 -0
  960. package/dist/Object3DHelperPlugin/shared-utils/three/getNormal.d.ts +2 -0
  961. package/dist/Object3DHelperPlugin/shared-utils/three/getTextureLoader.d.ts +6 -0
  962. package/dist/Object3DHelperPlugin/shared-utils/three/loadFbxObj.d.ts +2 -0
  963. package/dist/Object3DHelperPlugin/shared-utils/three/loadTexture.d.ts +2 -0
  964. package/dist/Object3DHelperPlugin/shared-utils/three/transformPositionToVector3.d.ts +7 -0
  965. package/dist/Object3DHelperPlugin/shared-utils/three/transfromToMeshBasicMaterial.d.ts +2 -0
  966. package/dist/Object3DHelperPlugin/shared-utils/throttle.d.ts +7 -0
  967. package/dist/Object3DHelperPlugin/shared-utils/tinyEJSrender.d.ts +5 -0
  968. package/dist/Object3DHelperPlugin/shared-utils/to.d.ts +8 -0
  969. package/dist/Object3DHelperPlugin/shared-utils/uuid.d.ts +5 -0
  970. package/dist/Object3DHelperPlugin/shared-utils/vectorTocoordinates.d.ts +7 -0
  971. package/dist/Object3DHelperPlugin/typings/math.type.d.ts +44 -0
  972. package/dist/Object3DHelperPlugin/typings/utils.type.d.ts +2 -0
  973. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  974. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  975. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  976. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  977. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  978. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  979. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  980. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  981. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  982. package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  983. package/dist/PanoCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  984. package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  985. package/dist/PanoCompassPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  986. package/dist/PanoCompassPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  987. package/dist/PanoCompassPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  988. package/dist/PanoCompassPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  989. package/dist/PanoCompassPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  990. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  991. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  992. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  993. package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +8 -0
  994. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  995. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  996. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  997. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  998. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  999. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1000. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1001. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1002. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1003. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1004. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1005. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1006. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1007. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1008. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1009. package/dist/PanoCompassPlugin/index.js +785 -184
  1010. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1011. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1012. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1013. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1014. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1015. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1016. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1017. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1018. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1019. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1020. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1021. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1022. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1023. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1024. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1025. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1026. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1027. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1028. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1029. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1030. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1031. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1032. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1033. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1034. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1035. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1036. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1037. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1038. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1039. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1040. package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1041. package/dist/PanoCompassPlugin/shared-utils/Subscribe.d.ts +41 -25
  1042. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1043. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1044. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1045. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1046. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1047. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1048. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1049. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1050. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1051. package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1052. package/dist/PanoCursorRaycasterPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1053. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1054. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1055. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1056. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1057. package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1058. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1059. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1060. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1061. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1062. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +8 -0
  1063. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1064. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1065. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1066. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1067. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1068. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1069. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1070. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1071. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1072. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1073. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1074. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1075. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1076. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1077. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1078. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1079. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1080. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1081. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1082. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1083. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1084. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1085. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1086. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1087. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1088. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1089. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1090. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1091. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1092. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1093. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1094. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1095. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1096. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1097. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1098. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1099. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1100. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1101. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1102. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1103. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1104. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1105. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1106. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1107. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1108. package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1109. package/dist/PanoCursorRaycasterPlugin/shared-utils/Subscribe.d.ts +41 -25
  1110. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1111. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1112. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1113. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1114. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1115. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1116. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1117. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1118. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1119. package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1120. package/dist/PanoDoorLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1121. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1122. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1123. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1124. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1125. package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1126. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1127. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1128. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1129. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1130. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +8 -0
  1131. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1132. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1133. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1134. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1135. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1136. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1137. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1138. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1139. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1140. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1141. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1142. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1143. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1144. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1145. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1146. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1147. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1148. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1149. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1150. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1151. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1152. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1153. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1154. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1155. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1156. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1157. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1158. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1159. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1160. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1161. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1162. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1163. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1164. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1165. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1166. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1167. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1168. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1169. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1170. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1171. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1172. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1173. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1174. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1175. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1176. package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1177. package/dist/PanoDoorLabelPlugin/shared-utils/Subscribe.d.ts +41 -25
  1178. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1179. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1180. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1181. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1182. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1183. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1184. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1185. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1186. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1187. package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1188. package/dist/PanoMeasurePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1189. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1190. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1191. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1192. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1193. package/dist/PanoMeasurePlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1194. package/dist/PanoMeasurePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1195. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1196. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1197. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1198. package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +8 -0
  1199. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1200. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1201. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1202. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1203. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1204. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1205. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1206. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1207. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1208. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1209. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1210. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1211. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1212. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1213. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1214. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1215. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1216. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1217. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1218. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1219. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1220. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1221. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1222. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1223. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1224. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1225. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1226. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1227. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1228. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1229. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1230. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1231. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1232. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1233. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1234. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1235. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1236. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1237. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1238. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1239. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1240. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1241. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1242. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1243. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1244. package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1245. package/dist/PanoMeasurePlugin/shared-utils/Subscribe.d.ts +41 -25
  1246. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1247. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1248. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1249. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1250. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1251. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1252. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1253. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1254. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1255. package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1256. package/dist/PanoRulerPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1257. package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1258. package/dist/PanoRulerPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1259. package/dist/PanoRulerPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1260. package/dist/PanoRulerPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1261. package/dist/PanoRulerPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1262. package/dist/PanoRulerPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1263. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1264. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1265. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1266. package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +8 -0
  1267. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1268. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1269. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1270. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1271. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1272. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1273. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1274. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1275. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1276. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1277. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1278. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1279. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1280. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1281. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1282. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1283. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1284. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1285. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1286. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1287. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1288. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1289. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1290. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1291. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1292. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1293. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1294. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1295. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1296. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1297. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1298. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1299. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1300. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1301. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1302. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1303. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1304. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1305. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1306. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1307. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1308. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1309. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1310. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1311. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1312. package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1313. package/dist/PanoRulerPlugin/shared-utils/Subscribe.d.ts +41 -25
  1314. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1315. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1316. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1317. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1318. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1319. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1320. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1321. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1322. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1323. package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1324. package/dist/PanoRulerProPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1325. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1326. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1327. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1328. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1329. package/dist/PanoRulerProPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1330. package/dist/PanoRulerProPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1331. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1332. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1333. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1334. package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +8 -0
  1335. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1336. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1337. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1338. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1339. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1340. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1341. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1342. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1343. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1344. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1345. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1346. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1347. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1348. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1349. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1350. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1351. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1352. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1353. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1354. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1355. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1356. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1357. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1358. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1359. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1360. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1361. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1362. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1363. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1364. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1365. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1366. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1367. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1368. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1369. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1370. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1371. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1372. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1373. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1374. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1375. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1376. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1377. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1378. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1379. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1380. package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1381. package/dist/PanoRulerProPlugin/shared-utils/Subscribe.d.ts +41 -25
  1382. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1383. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1384. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1385. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1386. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1387. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1388. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1389. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1390. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1391. package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1392. package/dist/PanoSpatialTagPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1393. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1394. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1395. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1396. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1397. package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1398. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1399. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1400. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1401. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1402. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +8 -0
  1403. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1404. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1405. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1406. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1407. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1408. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1409. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1410. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1411. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1412. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1413. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1414. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1415. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1416. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1417. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1418. package/dist/PanoSpatialTagPlugin/index.js +782 -181
  1419. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1420. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1421. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1422. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1423. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1424. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1425. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1426. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1427. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1428. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1429. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1430. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1431. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1432. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1433. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1434. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1435. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1436. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1437. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1438. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1439. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1440. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1441. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1442. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1443. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1444. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1445. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1446. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1447. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1448. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1449. package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1450. package/dist/PanoSpatialTagPlugin/shared-utils/Subscribe.d.ts +41 -25
  1451. package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1452. package/dist/PanoTagPlugin/CSS3DRenderPlugin/Controller.d.ts +110 -0
  1453. package/dist/PanoTagPlugin/CSS3DRenderPlugin/index.d.ts +5 -0
  1454. package/dist/PanoTagPlugin/CSS3DRenderPlugin/typing.d.ts +23 -0
  1455. package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1456. package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1457. package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1458. package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1459. package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1460. package/dist/PanoTagPlugin/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
  1461. package/dist/PanoTagPlugin/CameraMovementPlugin/index.d.ts +5 -0
  1462. package/dist/PanoTagPlugin/CameraMovementPlugin/typing.d.ts +68 -0
  1463. package/dist/PanoTagPlugin/ItemLabelPlugin/Plugin.d.ts +4 -0
  1464. package/dist/PanoTagPlugin/ItemLabelPlugin/events.type.d.ts +9 -0
  1465. package/dist/PanoTagPlugin/ItemLabelPlugin/index.d.ts +9 -0
  1466. package/dist/PanoTagPlugin/ItemLabelPlugin/typings.d.ts +65 -0
  1467. package/dist/PanoTagPlugin/ItemLabelPlugin/utils/getLabelTransform.d.ts +1 -0
  1468. package/dist/PanoTagPlugin/ItemLabelPlugin/utils/getStrokeLength.d.ts +5 -0
  1469. package/dist/PanoTagPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +6 -0
  1470. package/dist/PanoTagPlugin/ItemLabelPlugin/utils/parseData.d.ts +3 -0
  1471. package/dist/PanoTagPlugin/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
  1472. package/dist/PanoTagPlugin/ModelChassisCompassPlugin/Plugin.d.ts +19 -0
  1473. package/dist/PanoTagPlugin/ModelChassisCompassPlugin/index.d.ts +4 -0
  1474. package/dist/PanoTagPlugin/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
  1475. package/dist/PanoTagPlugin/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
  1476. package/dist/PanoTagPlugin/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
  1477. package/dist/PanoTagPlugin/ModelItemLabelPlugin/events.type.d.ts +9 -0
  1478. package/dist/PanoTagPlugin/ModelItemLabelPlugin/index.d.ts +9 -0
  1479. package/dist/PanoTagPlugin/ModelItemLabelPlugin/typings.d.ts +56 -0
  1480. package/dist/PanoTagPlugin/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
  1481. package/dist/PanoTagPlugin/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
  1482. package/dist/PanoTagPlugin/ModelRoomLabelPlugin/Controller.d.ts +36 -0
  1483. package/dist/PanoTagPlugin/ModelRoomLabelPlugin/index.d.ts +12 -0
  1484. package/dist/PanoTagPlugin/ModelRoomLabelPlugin/typings.d.ts +35 -0
  1485. package/dist/PanoTagPlugin/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
  1486. package/dist/PanoTagPlugin/ModelTVVideoPlugin/Plugin.d.ts +4 -0
  1487. package/dist/PanoTagPlugin/ModelTVVideoPlugin/index.d.ts +5 -0
  1488. package/dist/PanoTagPlugin/ModelTVVideoPlugin/typings.d.ts +25 -0
  1489. package/dist/PanoTagPlugin/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
  1490. package/dist/PanoTagPlugin/ModelViewPlugin/Plugin.d.ts +17 -0
  1491. package/dist/PanoTagPlugin/ModelViewPlugin/index.d.ts +4 -0
  1492. package/dist/PanoTagPlugin/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
  1493. package/dist/PanoTagPlugin/PanoCompassPlugin/Controller.d.ts +84 -0
  1494. package/dist/PanoTagPlugin/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
  1495. package/dist/PanoTagPlugin/PanoCompassPlugin/index.d.ts +7 -0
  1496. package/dist/PanoTagPlugin/PanoCompassPlugin/typings.d.ts +57 -0
  1497. package/dist/PanoTagPlugin/PanoCursorRaycasterPlugin/index.d.ts +48 -0
  1498. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/BaseController.d.ts +60 -0
  1499. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/Controller.d.ts +36 -0
  1500. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/index.d.ts +7 -0
  1501. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/typings.d.ts +33 -0
  1502. package/dist/PanoTagPlugin/PanoDoorLabelPlugin/utils.d.ts +5 -0
  1503. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +39 -0
  1504. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +52 -0
  1505. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +44 -0
  1506. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
  1507. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/ViewController.d.ts +16 -0
  1508. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/WatchController.d.ts +26 -0
  1509. package/dist/PanoTagPlugin/PanoMeasurePlugin/Controller/index.d.ts +70 -0
  1510. package/dist/PanoTagPlugin/PanoMeasurePlugin/Model/index.d.ts +38 -0
  1511. package/dist/PanoTagPlugin/PanoMeasurePlugin/Model/line.d.ts +30 -0
  1512. package/dist/PanoTagPlugin/PanoMeasurePlugin/Model/point.d.ts +16 -0
  1513. package/dist/PanoTagPlugin/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
  1514. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
  1515. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
  1516. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
  1517. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +25 -0
  1518. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
  1519. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
  1520. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/Magnifier.d.ts +59 -0
  1521. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +2 -0
  1522. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +15 -0
  1523. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +13 -0
  1524. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/index.d.ts +20 -0
  1525. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +4 -0
  1526. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +12 -0
  1527. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/UIController/style.d.ts +16 -0
  1528. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
  1529. package/dist/PanoTagPlugin/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +44 -0
  1530. package/dist/PanoTagPlugin/PanoMeasurePlugin/index.d.ts +10 -0
  1531. package/dist/PanoTagPlugin/PanoMeasurePlugin/typings/data.d.ts +37 -0
  1532. package/dist/PanoTagPlugin/PanoMeasurePlugin/typings/event.type.d.ts +37 -0
  1533. package/dist/PanoTagPlugin/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  1534. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
  1535. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  1536. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/constants.d.ts +4 -0
  1537. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
  1538. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
  1539. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
  1540. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
  1541. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
  1542. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
  1543. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
  1544. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/line.d.ts +17 -0
  1545. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/math.d.ts +17 -0
  1546. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/mouseGroup.d.ts +7 -0
  1547. package/dist/PanoTagPlugin/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
  1548. package/dist/PanoTagPlugin/PanoRulerPlugin/Plugin.d.ts +31 -0
  1549. package/dist/PanoTagPlugin/PanoRulerPlugin/index.d.ts +5 -0
  1550. package/dist/PanoTagPlugin/PanoRulerPlugin/style.d.ts +2 -0
  1551. package/dist/PanoTagPlugin/PanoRulerPlugin/typings.d.ts +21 -0
  1552. package/dist/PanoTagPlugin/PanoRulerProPlugin/Controller.d.ts +15 -0
  1553. package/dist/PanoTagPlugin/PanoRulerProPlugin/index.d.ts +8 -0
  1554. package/dist/PanoTagPlugin/PanoRulerProPlugin/typings.d.ts +46 -0
  1555. package/dist/PanoTagPlugin/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
  1556. package/dist/PanoTagPlugin/PanoSpatialTagPlugin/index.d.ts +5 -0
  1557. package/dist/PanoTagPlugin/PanoSpatialTagPlugin/store.d.ts +1 -0
  1558. package/dist/PanoTagPlugin/PanoSpatialTagPlugin/style.d.ts +1 -0
  1559. package/dist/PanoTagPlugin/PanoSpatialTagPlugin/typings.d.ts +40 -0
  1560. package/dist/PanoTagPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1561. package/dist/PanoTagPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1562. package/dist/PanoTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1563. package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1564. package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +8 -0
  1565. package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1566. package/dist/PanoTagPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1567. package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1568. package/dist/PanoTagPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1569. package/dist/PanoTagPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1570. package/dist/PanoTagPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1571. package/dist/PanoTagPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1572. package/dist/PanoTagPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1573. package/dist/PanoTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1574. package/dist/PanoTagPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1575. package/dist/PanoTagPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1576. package/dist/PanoTagPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1577. package/dist/PanoTagPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1578. package/dist/PanoTagPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1579. package/dist/PanoTagPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1580. package/dist/PanoTagPlugin/base/BasePlugin.d.ts +100 -0
  1581. package/dist/PanoTagPlugin/base/BasePluginWithData.d.ts +34 -0
  1582. package/dist/PanoTagPlugin/components/PaintBrush/Controller.d.ts +43 -0
  1583. package/dist/PanoTagPlugin/components/PaintBrush/Subscribe.d.ts +76 -0
  1584. package/dist/PanoTagPlugin/components/PaintBrush/index.d.ts +27 -0
  1585. package/dist/PanoTagPlugin/components/PaintBrush/style.d.ts +2 -0
  1586. package/dist/PanoTagPlugin/components/PaintBrush/tween.d.ts +62 -0
  1587. package/dist/PanoTagPlugin/components/PaintBrush/typings.d.ts +58 -0
  1588. package/dist/PanoTagPlugin/components/PaintBrush/utils.d.ts +26 -0
  1589. package/dist/PanoTagPlugin/components/index.d.ts +2 -0
  1590. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1591. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1592. package/dist/PanoTagPlugin/controller/index.d.ts +136 -0
  1593. package/dist/PanoTagPlugin/floorplan/Assets/camera.d.ts +1 -0
  1594. package/dist/PanoTagPlugin/floorplan/Assets/compass.d.ts +1 -0
  1595. package/dist/PanoTagPlugin/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
  1596. package/dist/PanoTagPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +98 -0
  1597. package/dist/PanoTagPlugin/floorplan/ModelFloorplanPlugin/index.d.ts +7 -0
  1598. package/dist/PanoTagPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +107 -0
  1599. package/dist/PanoTagPlugin/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +36 -0
  1600. package/dist/PanoTagPlugin/floorplan/PanoFloorplanRadarPlugin/index.d.ts +7 -0
  1601. package/dist/PanoTagPlugin/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
  1602. package/dist/PanoTagPlugin/floorplan/TopviewFloorplanPlugin/Controller.d.ts +67 -0
  1603. package/dist/PanoTagPlugin/floorplan/TopviewFloorplanPlugin/index.d.ts +7 -0
  1604. package/dist/PanoTagPlugin/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  1605. package/dist/PanoTagPlugin/floorplan/TopviewFloorplanPlugin/typing.d.ts +86 -0
  1606. package/dist/PanoTagPlugin/floorplan/constant.d.ts +5 -0
  1607. package/dist/PanoTagPlugin/floorplan/index.d.ts +6 -0
  1608. package/dist/PanoTagPlugin/floorplan/typings/floorplanData.d.ts +137 -0
  1609. package/dist/PanoTagPlugin/floorplan/typings/floorplanServerData.d.ts +144 -0
  1610. package/dist/PanoTagPlugin/floorplan/typings/utility.d.ts +2 -0
  1611. package/dist/PanoTagPlugin/floorplan/utils/constant.d.ts +22 -0
  1612. package/dist/PanoTagPlugin/floorplan/utils/correctFiveState.d.ts +15 -0
  1613. package/dist/PanoTagPlugin/floorplan/utils/formatData.d.ts +5 -0
  1614. package/dist/PanoTagPlugin/floorplan/utils/formatPosition.d.ts +36 -0
  1615. package/dist/PanoTagPlugin/index.d.ts +8 -0
  1616. package/dist/PanoTagPlugin/index.js +7251 -0
  1617. package/dist/PanoTagPlugin/shared-utils/Preloader.d.ts +6 -0
  1618. package/dist/PanoTagPlugin/shared-utils/Subscribe.d.ts +45 -0
  1619. package/dist/PanoTagPlugin/shared-utils/animationFrame/BetterTween.d.ts +11 -0
  1620. package/dist/PanoTagPlugin/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
  1621. package/dist/PanoTagPlugin/shared-utils/animationFrame/formatRad.d.ts +15 -0
  1622. package/dist/PanoTagPlugin/shared-utils/animationFrame/index.d.ts +15 -0
  1623. package/dist/PanoTagPlugin/shared-utils/animationFrame/tween.d.ts +75 -0
  1624. package/dist/PanoTagPlugin/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
  1625. package/dist/PanoTagPlugin/shared-utils/createCanvasTextTexture.d.ts +8 -0
  1626. package/dist/PanoTagPlugin/shared-utils/createLine/index.d.ts +3 -0
  1627. package/dist/PanoTagPlugin/shared-utils/debounce.d.ts +6 -0
  1628. package/dist/PanoTagPlugin/shared-utils/equal.d.ts +11 -0
  1629. package/dist/PanoTagPlugin/shared-utils/filter.d.ts +27 -0
  1630. package/dist/PanoTagPlugin/shared-utils/five/changeMode.d.ts +5 -0
  1631. package/dist/PanoTagPlugin/shared-utils/formatRad.d.ts +7 -0
  1632. package/dist/PanoTagPlugin/shared-utils/getPxmm.d.ts +19 -0
  1633. package/dist/PanoTagPlugin/shared-utils/getRandomColor.d.ts +1 -0
  1634. package/dist/PanoTagPlugin/shared-utils/index.d.ts +1 -0
  1635. package/dist/PanoTagPlugin/shared-utils/isNil.d.ts +10 -0
  1636. package/dist/PanoTagPlugin/shared-utils/isTruelyObject.d.ts +18 -0
  1637. package/dist/PanoTagPlugin/shared-utils/logger.d.ts +16 -0
  1638. package/dist/PanoTagPlugin/shared-utils/math/Interval.d.ts +13 -0
  1639. package/dist/PanoTagPlugin/shared-utils/math/Rectangle.d.ts +27 -0
  1640. package/dist/PanoTagPlugin/shared-utils/math/evenNumber.d.ts +3 -0
  1641. package/dist/PanoTagPlugin/shared-utils/math/index.d.ts +2 -0
  1642. package/dist/PanoTagPlugin/shared-utils/math/planimetry.d.ts +116 -0
  1643. package/dist/PanoTagPlugin/shared-utils/math/rad2Deg.d.ts +1 -0
  1644. package/dist/PanoTagPlugin/shared-utils/nearlyEqual.d.ts +7 -0
  1645. package/dist/PanoTagPlugin/shared-utils/nextFrame.d.ts +1 -0
  1646. package/dist/PanoTagPlugin/shared-utils/noop.d.ts +5 -0
  1647. package/dist/PanoTagPlugin/shared-utils/object3d2LocalMatrix.d.ts +12 -0
  1648. package/dist/PanoTagPlugin/shared-utils/px2rem.d.ts +1 -0
  1649. package/dist/PanoTagPlugin/shared-utils/removeArrayItem.d.ts +7 -0
  1650. package/dist/PanoTagPlugin/shared-utils/tap.d.ts +8 -0
  1651. package/dist/PanoTagPlugin/shared-utils/three/centerPoint.d.ts +2 -0
  1652. package/dist/PanoTagPlugin/shared-utils/three/getExtraModelLoader.d.ts +6 -0
  1653. package/dist/PanoTagPlugin/shared-utils/three/getNormal.d.ts +2 -0
  1654. package/dist/PanoTagPlugin/shared-utils/three/getTextureLoader.d.ts +6 -0
  1655. package/dist/PanoTagPlugin/shared-utils/three/loadFbxObj.d.ts +2 -0
  1656. package/dist/PanoTagPlugin/shared-utils/three/loadTexture.d.ts +2 -0
  1657. package/dist/PanoTagPlugin/shared-utils/three/transformPositionToVector3.d.ts +7 -0
  1658. package/dist/PanoTagPlugin/shared-utils/three/transfromToMeshBasicMaterial.d.ts +2 -0
  1659. package/dist/PanoTagPlugin/shared-utils/throttle.d.ts +7 -0
  1660. package/dist/PanoTagPlugin/shared-utils/tinyEJSrender.d.ts +5 -0
  1661. package/dist/PanoTagPlugin/shared-utils/to.d.ts +8 -0
  1662. package/dist/PanoTagPlugin/shared-utils/uuid.d.ts +5 -0
  1663. package/dist/PanoTagPlugin/shared-utils/vectorTocoordinates.d.ts +7 -0
  1664. package/dist/PanoTagPlugin/typings/controller.d.ts +90 -0
  1665. package/dist/PanoTagPlugin/typings/index.d.ts +2 -0
  1666. package/dist/PanoTagPlugin/typings/math.type.d.ts +44 -0
  1667. package/dist/PanoTagPlugin/typings/tag.d.ts +211 -0
  1668. package/dist/PanoTagPlugin/typings/utils.type.d.ts +2 -0
  1669. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1670. package/dist/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1671. package/dist/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1672. package/dist/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1673. package/dist/PanoTagPlugin/utils/index.d.ts +12 -0
  1674. package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1675. package/dist/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1676. package/dist/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1677. package/dist/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1678. package/dist/PanoTagPlugin/utils/search.d.ts +11 -0
  1679. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1680. package/dist/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1681. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1682. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1683. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1684. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1685. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1686. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1687. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1688. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1689. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1690. package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1691. package/dist/floorplan/MapviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1692. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1693. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1694. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1695. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1696. package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1697. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1698. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1699. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1700. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1701. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1702. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1703. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1704. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1705. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1706. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1707. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1708. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1709. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1710. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1711. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1712. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1713. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1714. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1715. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1716. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1717. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1718. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1719. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1720. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1721. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1722. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1723. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1724. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1725. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1726. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1727. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1728. package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Subscribe.d.ts +41 -25
  1729. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1730. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1731. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1732. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1733. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1734. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1735. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1736. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1737. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1738. package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1739. package/dist/floorplan/ModelFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1740. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1741. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1742. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1743. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1744. package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1745. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1746. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1747. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1748. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1749. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +8 -0
  1750. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1751. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1752. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1753. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1754. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1755. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1756. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1757. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1758. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1759. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1760. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1761. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1762. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1763. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1764. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1765. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1766. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1767. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1768. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1769. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1770. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1771. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1772. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1773. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1774. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1775. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1776. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1777. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1778. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1779. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1780. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1781. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1782. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1783. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1784. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1785. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1786. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1787. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1788. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1789. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1790. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1791. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1792. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1793. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1794. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1795. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1796. package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Subscribe.d.ts +41 -25
  1797. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1798. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1799. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1800. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1801. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1802. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1803. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1804. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1805. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1806. package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1807. package/dist/floorplan/PanoFloorplanRadarPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1808. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1809. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1810. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1811. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1812. package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1813. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1814. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1815. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1816. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1817. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +8 -0
  1818. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1819. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1820. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1821. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1822. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1823. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1824. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1825. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1826. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1827. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1828. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1829. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1830. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1831. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1832. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1833. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1834. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1835. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1836. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1837. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1838. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1839. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1840. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1841. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1842. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1843. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1844. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1845. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1846. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1847. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1848. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1849. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1850. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1851. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1852. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1853. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1854. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1855. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1856. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1857. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1858. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1859. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1860. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1861. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1862. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1863. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1864. package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Subscribe.d.ts +41 -25
  1865. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  1866. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +78 -0
  1867. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/index.d.ts +4 -3
  1868. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +26 -0
  1869. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  1870. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  1871. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  1872. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  1873. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  1874. package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  1875. package/dist/floorplan/TopviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  1876. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +26 -0
  1877. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  1878. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/index.d.ts +6 -0
  1879. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  1880. package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  1881. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  1882. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  1883. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  1884. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +136 -0
  1885. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +8 -0
  1886. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +90 -0
  1887. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
  1888. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +211 -0
  1889. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  1890. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  1891. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  1892. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
  1893. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
  1894. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  1895. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  1896. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  1897. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  1898. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
  1899. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  1900. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
  1901. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1902. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1903. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1904. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1905. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1906. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1907. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1908. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1909. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1910. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1911. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1912. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1913. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1914. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1915. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1916. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1917. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
  1918. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1919. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1920. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1921. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1922. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1923. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1924. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1925. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1926. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1927. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1928. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1929. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1930. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1931. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1932. package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Subscribe.d.ts +41 -25
  1933. package/dist/index.es.js +795 -192
  1934. package/dist/index.js +784 -181
  1935. package/dist/index.umd.js +784 -181
  1936. package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  1937. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  1938. package/dist/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  1939. package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  1940. package/dist/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  1941. package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  1942. package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  1943. package/dist/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  1944. package/dist/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  1945. package/dist/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  1946. package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  1947. package/dist/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  1948. package/dist/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  1949. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  1950. package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  1951. package/dist/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  1952. package/dist/shared-utils/Object3DHelper/index.d.ts +73 -0
  1953. package/dist/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  1954. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  1955. package/dist/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  1956. package/dist/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  1957. package/dist/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  1958. package/dist/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  1959. package/dist/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  1960. package/dist/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  1961. package/dist/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  1962. package/dist/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  1963. package/dist/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  1964. package/dist/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  1965. package/dist/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  1966. package/dist/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  1967. package/dist/shared-utils/Subscribe.d.ts +41 -25
  1968. package/docs/assets/search.js +1 -1
  1969. package/docs/classes/CruisePluginController.html +14 -14
  1970. package/docs/classes/Magnifier.html +4 -4
  1971. package/docs/classes/ModelRoomLabelController.html +4 -4
  1972. package/docs/enums/CameraMovementEffect.html +2 -2
  1973. package/docs/enums/DIRECTION.html +1 -1
  1974. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  1975. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  1976. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  1977. package/docs/enums/Rotation.html +2 -2
  1978. package/docs/index.html +2 -2
  1979. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  1980. package/docs/interfaces/EventMap.html +11 -0
  1981. package/docs/interfaces/FloorplanBounding.html +4 -4
  1982. package/docs/interfaces/FloorplanData.html +2 -2
  1983. package/docs/interfaces/FloorplanEntrance.html +7 -7
  1984. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  1985. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  1986. package/docs/interfaces/FloorplanFloorData.html +2 -2
  1987. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  1988. package/docs/interfaces/FloorplanObserver.html +2 -2
  1989. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  1990. package/docs/interfaces/FloorplanPosition.html +2 -2
  1991. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  1992. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  1993. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  1994. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  1995. package/docs/interfaces/FloorplanServerData.html +2 -2
  1996. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  1997. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  1998. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  1999. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  2000. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  2001. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  2002. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  2003. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  2004. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  2005. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  2006. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  2007. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  2008. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  2009. package/docs/interfaces/LineJson.html +1 -1
  2010. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  2011. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  2012. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  2013. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  2014. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  2015. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  2016. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  2017. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  2018. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  2019. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  2020. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  2021. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  2022. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  2023. package/docs/interfaces/OpenParameter.html +2 -2
  2024. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  2025. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  2026. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  2027. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  2028. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  2029. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  2030. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  2031. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  2032. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  2033. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  2034. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  2035. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  2036. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  2037. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  2038. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  2039. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  2040. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  2041. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  2042. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  2043. package/docs/interfaces/Point.html +1 -1
  2044. package/docs/interfaces/PointJson.html +1 -1
  2045. package/docs/interfaces/Room.html +1 -1
  2046. package/docs/interfaces/RoomInfo.html +1 -1
  2047. package/docs/interfaces/RoomLabel.html +7 -7
  2048. package/docs/interfaces/RoomRules.html +1 -1
  2049. package/docs/interfaces/Rooms.html +1 -1
  2050. package/docs/interfaces/State.html +3 -0
  2051. package/docs/modules.html +17 -20
  2052. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +158 -0
  2053. package/libs/CSS3DRenderPlugin/CSS3DRender.js +433 -0
  2054. package/libs/CSS3DRenderPlugin/Controller.d.ts +78 -0
  2055. package/libs/CSS3DRenderPlugin/Controller.js +107 -0
  2056. package/libs/CSS3DRenderPlugin/index.d.ts +4 -3
  2057. package/libs/CSS3DRenderPlugin/index.js +3 -2
  2058. package/libs/CSS3DRenderPlugin/typing.d.ts +26 -0
  2059. package/libs/CSS3DRenderPlugin/typing.js +1 -0
  2060. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
  2061. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +135 -0
  2062. package/libs/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
  2063. package/libs/CSS3DRenderPlugin/utils/centerPoint.js +4 -0
  2064. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
  2065. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +4 -0
  2066. package/libs/CSS3DRenderPlugin/utils/index.d.ts +4 -0
  2067. package/libs/CSS3DRenderPlugin/utils/index.js +4 -0
  2068. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
  2069. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +11 -0
  2070. package/libs/CSS3DRenderPlugin/utils/random.d.ts +1 -0
  2071. package/libs/CSS3DRenderPlugin/utils/random.js +3 -0
  2072. package/libs/GuideLinePlugin/utils/getLineGeometry.d.ts +2 -0
  2073. package/libs/GuideLinePlugin/utils/getLineGeometry.js +64 -0
  2074. package/libs/Object3DHelperPlugin/Controller.d.ts +26 -0
  2075. package/libs/Object3DHelperPlugin/Controller.js +77 -0
  2076. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
  2077. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +57 -0
  2078. package/libs/Object3DHelperPlugin/index.d.ts +6 -0
  2079. package/libs/Object3DHelperPlugin/index.js +5 -0
  2080. package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
  2081. package/libs/Object3DHelperPlugin/mocks/addObject3D.js +22 -0
  2082. package/libs/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
  2083. package/libs/Object3DHelperPlugin/mocks/objects.js +44 -0
  2084. package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -0
  2085. package/libs/PanoTagPlugin/Assets/Icon.js +2 -0
  2086. package/libs/PanoTagPlugin/Components/Common/Arrow.js +232 -0
  2087. package/libs/PanoTagPlugin/Components/Common/Audio.js +349 -0
  2088. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +201 -0
  2089. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +199 -0
  2090. package/libs/PanoTagPlugin/Components/Common/Media.js +334 -0
  2091. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +334 -0
  2092. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +137 -0
  2093. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +130 -0
  2094. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +335 -0
  2095. package/libs/PanoTagPlugin/Components/Common/Shadow.js +261 -0
  2096. package/libs/PanoTagPlugin/Components/Common/Text.js +239 -0
  2097. package/libs/PanoTagPlugin/Components/Common/TextItem.js +196 -0
  2098. package/libs/PanoTagPlugin/Components/PointTag.js +240 -0
  2099. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +330 -0
  2100. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +136 -0
  2101. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +403 -0
  2102. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +302 -0
  2103. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +615 -0
  2104. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +288 -0
  2105. package/libs/PanoTagPlugin/Components/Tag/index.js +454 -0
  2106. package/libs/PanoTagPlugin/Components/TagWrapper.js +386 -0
  2107. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
  2108. package/libs/PanoTagPlugin/controller/TagCacheController.js +43 -0
  2109. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
  2110. package/libs/PanoTagPlugin/controller/TagComputer.js +418 -0
  2111. package/libs/PanoTagPlugin/controller/index.d.ts +136 -0
  2112. package/libs/PanoTagPlugin/controller/index.js +618 -0
  2113. package/libs/PanoTagPlugin/index.d.ts +8 -0
  2114. package/libs/PanoTagPlugin/index.js +8 -0
  2115. package/libs/PanoTagPlugin/typings/controller.d.ts +90 -0
  2116. package/libs/PanoTagPlugin/typings/controller.js +1 -0
  2117. package/libs/PanoTagPlugin/typings/index.d.ts +2 -0
  2118. package/libs/PanoTagPlugin/typings/index.js +2 -0
  2119. package/libs/PanoTagPlugin/typings/tag.d.ts +211 -0
  2120. package/libs/PanoTagPlugin/typings/tag.js +32 -0
  2121. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
  2122. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +6 -0
  2123. package/libs/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
  2124. package/libs/PanoTagPlugin/utils/addDebugPoints.js +32 -0
  2125. package/libs/PanoTagPlugin/utils/checkRange.d.ts +4 -0
  2126. package/libs/PanoTagPlugin/utils/checkRange.js +12 -0
  2127. package/libs/PanoTagPlugin/utils/debounce.d.ts +7 -0
  2128. package/libs/PanoTagPlugin/utils/debounce.js +21 -0
  2129. package/libs/PanoTagPlugin/utils/index.d.ts +12 -0
  2130. package/libs/PanoTagPlugin/utils/index.js +12 -0
  2131. package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
  2132. package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -0
  2133. package/libs/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
  2134. package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +35 -0
  2135. package/libs/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
  2136. package/libs/PanoTagPlugin/utils/planeNormal.js +9 -0
  2137. package/libs/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
  2138. package/libs/PanoTagPlugin/utils/resizeObserver.js +15 -0
  2139. package/libs/PanoTagPlugin/utils/search.d.ts +11 -0
  2140. package/libs/PanoTagPlugin/utils/search.js +65 -0
  2141. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
  2142. package/libs/PanoTagPlugin/utils/tagPosition.js +10 -0
  2143. package/libs/PanoTagPlugin/utils/throttle.d.ts +7 -0
  2144. package/libs/PanoTagPlugin/utils/throttle.js +17 -0
  2145. package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
  2146. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +216 -0
  2147. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +89 -0
  2148. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +39 -0
  2149. package/libs/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
  2150. package/libs/shared-utils/Object3DHelper/Constants/color.js +23 -0
  2151. package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
  2152. package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +21 -0
  2153. package/libs/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
  2154. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +111 -0
  2155. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
  2156. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +189 -0
  2157. package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
  2158. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +264 -0
  2159. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
  2160. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +101 -0
  2161. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
  2162. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +24 -0
  2163. package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
  2164. package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +12 -0
  2165. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
  2166. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +56 -0
  2167. package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
  2168. package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +83 -0
  2169. package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
  2170. package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +130 -0
  2171. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +39 -0
  2172. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +229 -0
  2173. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +54 -0
  2174. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +246 -0
  2175. package/libs/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
  2176. package/libs/shared-utils/Object3DHelper/Helper/index.js +5 -0
  2177. package/libs/shared-utils/Object3DHelper/index.d.ts +73 -0
  2178. package/libs/shared-utils/Object3DHelper/index.js +280 -0
  2179. package/libs/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
  2180. package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
  2181. package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
  2182. package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
  2183. package/libs/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
  2184. package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
  2185. package/libs/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
  2186. package/libs/shared-utils/Object3DHelper/typings/index.js +3 -0
  2187. package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
  2188. package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +15 -0
  2189. package/libs/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
  2190. package/libs/shared-utils/Object3DHelper/utils/direction.js +37 -0
  2191. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
  2192. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +20 -0
  2193. package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
  2194. package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +12 -0
  2195. package/libs/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
  2196. package/libs/shared-utils/Object3DHelper/utils/getPoint.js +22 -0
  2197. package/libs/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
  2198. package/libs/shared-utils/Object3DHelper/utils/index.js +8 -0
  2199. package/libs/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
  2200. package/libs/shared-utils/Object3DHelper/utils/negateScale.js +4 -0
  2201. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
  2202. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +17 -0
  2203. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
  2204. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
  2205. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +67 -0
  2206. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +390 -0
  2207. package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
  2208. package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +10 -0
  2209. package/libs/shared-utils/Subscribe.d.ts +41 -25
  2210. package/libs/shared-utils/Subscribe.js +84 -75
  2211. package/package.json +1 -1
  2212. package/docs/interfaces/CSS3DRenderPluginExportType.html +0 -4
@@ -0,0 +1,3161 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var THREE = require('three');
6
+ var CSS3DRenderer = require('three/examples/jsm/renderers/CSS3DRenderer');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var THREE__namespace = /*#__PURE__*/_interopNamespace(THREE);
27
+
28
+ class BaseHelper extends THREE.Object3D {
29
+ constructor(originObject3D) {
30
+ super();
31
+ Object.defineProperty(this, "originObject3D", {
32
+ enumerable: true,
33
+ configurable: true,
34
+ writable: true,
35
+ value: void 0
36
+ });
37
+ this.originObject3D = originObject3D;
38
+ }
39
+ get helperObject() {
40
+ return this;
41
+ }
42
+ updatePosition() {
43
+ this.position.copy(this.originObject3D.position);
44
+ }
45
+ setPosition(position) {
46
+ this.position.copy(position);
47
+ }
48
+ updateMatrix4(matrix, origin) {
49
+ this.applyMatrix4(matrix);
50
+ }
51
+ setHelperScaleMatrix4(matrix, params) {
52
+ this.scale.applyMatrix4(matrix);
53
+ }
54
+ updateQuaternion(quaternion, origin) {
55
+ this.applyQuaternion(quaternion);
56
+ }
57
+ }
58
+ class MoveHelperAbstract extends BaseHelper {
59
+ }
60
+ class RotateHelperAbstract extends BaseHelper {
61
+ }
62
+ class ScaleHelperAbstract extends BaseHelper {
63
+ }
64
+ class RectangleScaleHelperAbstract extends ScaleHelperAbstract {
65
+ }
66
+
67
+ function centerPoint(point1, point2) {
68
+ return new THREE.Vector3((point1.x + point2.x) / 2, (point1.y + point2.y) / 2, (point1.z + point2.z) / 2);
69
+ }
70
+
71
+ function evenNumber(num, config) {
72
+ const roundNum = Math.round(num);
73
+ return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
74
+ }
75
+
76
+ const positionToVector3 = ({ x, y, z }) => new THREE.Vector3(x, y, z);
77
+ const arrayPositionToVector3 = ([x, y, z]) => new THREE.Vector3(x, y, z);
78
+ const anyPositionToVector3 = (position) => {
79
+ if (position instanceof THREE.Vector3)
80
+ return position;
81
+ else if (Array.isArray(position))
82
+ return arrayPositionToVector3(position);
83
+ else
84
+ return positionToVector3(position);
85
+ };
86
+
87
+ class DirectionGroup extends THREE__namespace.Group {
88
+ constructor(direction) {
89
+ super();
90
+ Object.defineProperty(this, "direction", {
91
+ enumerable: true,
92
+ configurable: true,
93
+ writable: true,
94
+ value: void 0
95
+ });
96
+ this.direction = direction || 'x';
97
+ }
98
+ }
99
+ class DirectionMesh extends THREE__namespace.Mesh {
100
+ constructor(geometry, material, direction) {
101
+ super(geometry, material);
102
+ Object.defineProperty(this, "direction", {
103
+ enumerable: true,
104
+ configurable: true,
105
+ writable: true,
106
+ value: void 0
107
+ });
108
+ this.direction = direction || 'x';
109
+ }
110
+ }
111
+
112
+ /**
113
+ * 计算 three 中的 mouse 的值
114
+ * @param mouseXY - 鼠标相对屏幕位置
115
+ * @param element - canvas元素(three的展示元素)
116
+ * @param scissor - 屏幕剪裁
117
+ */
118
+ function calculateThreeMouse(originMouse, element) {
119
+ const { offsetWidth: width, offsetHeight: height } = element;
120
+ const { top, left } = element.getBoundingClientRect();
121
+ return Object.assign(new THREE__namespace.Vector2(), {
122
+ x: ((originMouse.x - left) / width) * 2 - 1,
123
+ y: (-(originMouse.y - top) / height) * 2 + 1,
124
+ });
125
+ }
126
+
127
+ function getMouseRaycaster(camera, mouse, element) {
128
+ if (!mouse || !element || !camera)
129
+ return;
130
+ const threeMouse = calculateThreeMouse(mouse, element);
131
+ if (Math.abs(threeMouse.x) === 1 || Math.abs(threeMouse.y) === 1)
132
+ return;
133
+ const raycaster = new THREE__namespace.Raycaster();
134
+ raycaster.setFromCamera(threeMouse, camera);
135
+ return raycaster;
136
+ }
137
+
138
+ function vectorIsEqual(vector1, vector2) {
139
+ const accuracy = 0.00001;
140
+ if (Math.abs(vector1.x - vector2.x) > accuracy)
141
+ return false;
142
+ if (Math.abs(vector1.y - vector2.y) > accuracy)
143
+ return false;
144
+ if (Math.abs(vector1.z - vector2.z) > accuracy)
145
+ return false;
146
+ return true;
147
+ }
148
+
149
+ class ArrowGroup extends DirectionGroup {
150
+ constructor(param) {
151
+ var _a;
152
+ super(param.direction);
153
+ Object.defineProperty(this, "line", {
154
+ enumerable: true,
155
+ configurable: true,
156
+ writable: true,
157
+ value: void 0
158
+ });
159
+ Object.defineProperty(this, "arrow", {
160
+ enumerable: true,
161
+ configurable: true,
162
+ writable: true,
163
+ value: void 0
164
+ });
165
+ Object.defineProperty(this, "lineHeight", {
166
+ enumerable: true,
167
+ configurable: true,
168
+ writable: true,
169
+ value: 0.4
170
+ });
171
+ Object.defineProperty(this, "arrowHeight", {
172
+ enumerable: true,
173
+ configurable: true,
174
+ writable: true,
175
+ value: 0.1
176
+ });
177
+ this.name = 'ArrowGroup';
178
+ const color = new THREE__namespace.Color((_a = param.color) !== null && _a !== void 0 ? _a : 0xf7692b);
179
+ const material = new THREE__namespace.MeshBasicMaterial({ color, depthTest: false });
180
+ // arrow
181
+ const coneGeometry = new THREE__namespace.ConeGeometry(0.04, 0.1, 32);
182
+ const arrow = new DirectionMesh(coneGeometry, material.clone(), param.direction);
183
+ arrow.name = `arrow-${param.direction}`;
184
+ this.arrow = arrow;
185
+ // line
186
+ const radius = 0.004;
187
+ const cylinderGeometry = new THREE__namespace.CylinderGeometry(radius, radius, 0.4, 32);
188
+ const cylinder = new DirectionMesh(cylinderGeometry, material.clone(), param.direction);
189
+ cylinder.name = `line-${param.direction}`;
190
+ this.line = cylinder;
191
+ this.formatArrow();
192
+ this.formatLine();
193
+ this.add(this.arrow, this.line);
194
+ }
195
+ formatArrow() {
196
+ this.arrow.geometry.translate(0, this.lineHeight + this.arrowHeight / 2, 0);
197
+ if (this.direction === 'x') {
198
+ this.arrow.geometry.rotateX(Math.PI / 2);
199
+ this.arrow.geometry.rotateY(Math.PI / 2);
200
+ }
201
+ else if (this.direction === 'z') {
202
+ this.arrow.geometry.rotateX(Math.PI / 2);
203
+ }
204
+ }
205
+ formatLine() {
206
+ this.line.geometry.translate(0, this.lineHeight / 2, 0);
207
+ if (this.direction === 'x') {
208
+ this.line.geometry.rotateX(Math.PI / 2);
209
+ this.line.geometry.rotateY(Math.PI / 2);
210
+ }
211
+ else if (this.direction === 'z') {
212
+ this.line.geometry.rotateX(Math.PI / 2);
213
+ }
214
+ }
215
+ }
216
+
217
+ const AXES_COLOR = {
218
+ X: 0xee5252,
219
+ Y: 0x48b74f,
220
+ Z: 0x4082ff,
221
+ };
222
+ // const AXES_THREE_COLOR = {
223
+ // X: new THREE.Color(AXES_COLOR.X).convertSRGBToLinear(),
224
+ // Y: new THREE.Color(AXES_COLOR.Y).convertSRGBToLinear(),
225
+ // Z: new THREE.Color(AXES_COLOR.Z).convertSRGBToLinear(),
226
+ // }
227
+ class AXES_THREE_COLOR {
228
+ static get X() {
229
+ return new THREE__namespace.Color(AXES_COLOR.X).convertSRGBToLinear().clone();
230
+ }
231
+ static get Y() {
232
+ return new THREE__namespace.Color(AXES_COLOR.Y).convertSRGBToLinear().clone();
233
+ }
234
+ static get Z() {
235
+ return new THREE__namespace.Color(AXES_COLOR.Z).convertSRGBToLinear().clone();
236
+ }
237
+ }
238
+
239
+ class MoveHelper extends MoveHelperAbstract {
240
+ constructor(originObject3D) {
241
+ super(originObject3D);
242
+ Object.defineProperty(this, "xArrow", {
243
+ enumerable: true,
244
+ configurable: true,
245
+ writable: true,
246
+ value: new ArrowGroup({ direction: 'x', color: AXES_THREE_COLOR.X })
247
+ });
248
+ Object.defineProperty(this, "yArrow", {
249
+ enumerable: true,
250
+ configurable: true,
251
+ writable: true,
252
+ value: new ArrowGroup({ direction: 'y', color: AXES_THREE_COLOR.Y })
253
+ });
254
+ Object.defineProperty(this, "zArrow", {
255
+ enumerable: true,
256
+ configurable: true,
257
+ writable: true,
258
+ value: new ArrowGroup({ direction: 'z', color: AXES_THREE_COLOR.Z })
259
+ });
260
+ this.add(this.xArrow);
261
+ this.add(this.yArrow);
262
+ this.add(this.zArrow);
263
+ }
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
+ }
276
+ }
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
+ }
287
+ }
288
+ dispose() {
289
+ this.remove(this.xArrow, this.yArrow, this.zArrow);
290
+ }
291
+ }
292
+
293
+ function createElement(style, tagName) {
294
+ return setStyle(document.createElement(tagName !== null && tagName !== void 0 ? tagName : 'div'), style);
295
+ }
296
+ function setStyle(element, style) {
297
+ if (!style)
298
+ return element;
299
+ for (const key in style) {
300
+ if (key && style[key])
301
+ element.style[key] = style[key];
302
+ }
303
+ return element;
304
+ }
305
+
306
+ function tipsDom(style) {
307
+ const element = createElement(Object.assign({ position: 'absolute', display: 'block', borderRadius: '4px', paddingTop: '1px', paddingBottom: '1px', paddingLeft: '4px', paddingRight: '4px', pointerEvents: 'none', userSelect: 'none', zIndex: '9999', backgroundColor: 'rgba(0,0,0,0.7)', fontSize: '12px', color: '#fff', letterSpacing: '0', lineHeight: '18px' }, style));
308
+ const show = () => {
309
+ if (element.style.display === 'block')
310
+ return;
311
+ if (!element.style.top)
312
+ return;
313
+ if (!element.style.left)
314
+ return;
315
+ element.style.display = 'block';
316
+ };
317
+ const hide = () => {
318
+ element.style.display = 'none';
319
+ element.style.top = '';
320
+ element.style.left = '';
321
+ };
322
+ const setLeftTop = (left, top) => {
323
+ element.style.left = left;
324
+ element.style.top = top;
325
+ show();
326
+ };
327
+ return { element, show, hide, setLeftTop };
328
+ }
329
+
330
+ class RotateHelper extends RotateHelperAbstract {
331
+ constructor(originObject3D, angleTipsParams) {
332
+ var _a;
333
+ super(originObject3D);
334
+ Object.defineProperty(this, "yzCircle", {
335
+ enumerable: true,
336
+ configurable: true,
337
+ writable: true,
338
+ value: new Circle({ direction: 'x', color: AXES_THREE_COLOR.X })
339
+ });
340
+ Object.defineProperty(this, "xzCircle", {
341
+ enumerable: true,
342
+ configurable: true,
343
+ writable: true,
344
+ value: new Circle({ direction: 'y', color: AXES_THREE_COLOR.Y })
345
+ });
346
+ Object.defineProperty(this, "xyCircle", {
347
+ enumerable: true,
348
+ configurable: true,
349
+ writable: true,
350
+ value: new Circle({ direction: 'z', color: AXES_THREE_COLOR.Z })
351
+ });
352
+ Object.defineProperty(this, "xRingHelper", {
353
+ enumerable: true,
354
+ configurable: true,
355
+ writable: true,
356
+ value: new AxesDashedRing({ direction: 'x' })
357
+ });
358
+ Object.defineProperty(this, "yRingHelper", {
359
+ enumerable: true,
360
+ configurable: true,
361
+ writable: true,
362
+ value: new AxesDashedRing({ direction: 'y' })
363
+ });
364
+ Object.defineProperty(this, "zRingHelper", {
365
+ enumerable: true,
366
+ configurable: true,
367
+ writable: true,
368
+ value: new AxesDashedRing({ direction: 'z' })
369
+ });
370
+ Object.defineProperty(this, "xAngleHelper", {
371
+ enumerable: true,
372
+ configurable: true,
373
+ writable: true,
374
+ value: new Sector({ direction: 'x', color: AXES_THREE_COLOR.X })
375
+ });
376
+ Object.defineProperty(this, "yAngleHelper", {
377
+ enumerable: true,
378
+ configurable: true,
379
+ writable: true,
380
+ value: new Sector({ direction: 'y', color: AXES_THREE_COLOR.Y })
381
+ });
382
+ Object.defineProperty(this, "zAngleHelper", {
383
+ enumerable: true,
384
+ configurable: true,
385
+ writable: true,
386
+ value: new Sector({ direction: 'z', color: AXES_THREE_COLOR.Z })
387
+ });
388
+ Object.defineProperty(this, "angleTips", {
389
+ enumerable: true,
390
+ configurable: true,
391
+ writable: true,
392
+ value: void 0
393
+ });
394
+ Object.defineProperty(this, "container", {
395
+ enumerable: true,
396
+ configurable: true,
397
+ writable: true,
398
+ value: void 0
399
+ });
400
+ if (angleTipsParams) {
401
+ this.container = angleTipsParams === null || angleTipsParams === void 0 ? void 0 : angleTipsParams.container;
402
+ this.angleTips = tipsDom({ display: 'none' });
403
+ (_a = this.container) === null || _a === void 0 ? void 0 : _a.appendChild(this.angleTips.element);
404
+ }
405
+ this.show();
406
+ }
407
+ updateAngleHelperQuaternion() {
408
+ this.xAngleHelper.quaternion.copy(this.yzCircle.quaternion);
409
+ this.yAngleHelper.quaternion.copy(this.xzCircle.quaternion);
410
+ this.zAngleHelper.quaternion.copy(this.xyCircle.quaternion);
411
+ this.xRingHelper.quaternion.copy(this.yzCircle.quaternion);
412
+ this.yRingHelper.quaternion.copy(this.xzCircle.quaternion);
413
+ this.zRingHelper.quaternion.copy(this.xyCircle.quaternion);
414
+ }
415
+ updateQuaternion(quaternion, origin) {
416
+ this.yzCircle.applyQuaternion(quaternion);
417
+ this.xzCircle.applyQuaternion(quaternion);
418
+ this.xyCircle.applyQuaternion(quaternion);
419
+ this.xAngleHelper.baseAxes.applyQuaternion(quaternion);
420
+ this.yAngleHelper.baseAxes.applyQuaternion(quaternion);
421
+ this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
422
+ }
423
+ hide() {
424
+ this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
425
+ }
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
+ }
439
+ }
440
+ dispose() {
441
+ var _a, _b;
442
+ this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
443
+ if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
444
+ (_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
445
+ }
446
+ filterRingHelper(direction) {
447
+ return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction === direction);
448
+ }
449
+ filterAngleHelper(direction) {
450
+ return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction === direction);
451
+ }
452
+ }
453
+ class Circle extends THREE__namespace.Mesh {
454
+ constructor(options) {
455
+ var _a;
456
+ super();
457
+ Object.defineProperty(this, "direction", {
458
+ enumerable: true,
459
+ configurable: true,
460
+ writable: true,
461
+ value: void 0
462
+ });
463
+ Object.defineProperty(this, "gapAngle", {
464
+ enumerable: true,
465
+ configurable: true,
466
+ writable: true,
467
+ value: 0.02
468
+ });
469
+ Object.defineProperty(this, "geometry", {
470
+ enumerable: true,
471
+ configurable: true,
472
+ writable: true,
473
+ value: new THREE__namespace.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2)
474
+ });
475
+ this.material = new THREE__namespace.MeshBasicMaterial({
476
+ opacity: 0.6,
477
+ color: (_a = options.color) !== null && _a !== void 0 ? _a : 0xffffff,
478
+ depthTest: false,
479
+ transparent: true,
480
+ side: THREE__namespace.DoubleSide,
481
+ });
482
+ this.direction = options.direction;
483
+ this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
484
+ // this.renderOrder = 20
485
+ if (this.direction === 'y') {
486
+ this.rotateX(Math.PI / 2);
487
+ }
488
+ else if (this.direction === 'x') {
489
+ this.rotateY(-Math.PI / 2);
490
+ }
491
+ }
492
+ }
493
+ class AxesDashedRing extends THREE__namespace.Group {
494
+ constructor(options) {
495
+ super();
496
+ Object.defineProperty(this, "direction", {
497
+ enumerable: true,
498
+ configurable: true,
499
+ writable: true,
500
+ value: void 0
501
+ });
502
+ this.direction = options.direction;
503
+ const gapAngle = 0.015;
504
+ const meshes = new Array(8).fill(null).map((_, i) => {
505
+ const geometry = new THREE__namespace.RingGeometry(0.25, 0.3, 20, 8, (Math.PI / 4) * i + gapAngle, Math.PI / 4 - gapAngle * 2);
506
+ const material = new THREE__namespace.MeshBasicMaterial({
507
+ opacity: 1,
508
+ color: 0xffffff,
509
+ depthTest: false,
510
+ transparent: true,
511
+ side: THREE__namespace.DoubleSide,
512
+ });
513
+ const mesh = new THREE__namespace.Mesh(geometry, material);
514
+ mesh.name = `AxesDashedRing-${this.direction}-${i}`;
515
+ return mesh;
516
+ });
517
+ this.add(...meshes);
518
+ if (this.direction === 'y') {
519
+ this.rotateX(Math.PI / 2);
520
+ }
521
+ else if (this.direction === 'x') {
522
+ this.rotateY(-Math.PI / 2);
523
+ }
524
+ }
525
+ }
526
+ class Sector extends THREE__namespace.Mesh {
527
+ constructor(options) {
528
+ var _a;
529
+ super();
530
+ Object.defineProperty(this, "direction", {
531
+ enumerable: true,
532
+ configurable: true,
533
+ writable: true,
534
+ value: void 0
535
+ });
536
+ Object.defineProperty(this, "baseAxes", {
537
+ enumerable: true,
538
+ configurable: true,
539
+ writable: true,
540
+ value: void 0
541
+ });
542
+ switch (options.direction) {
543
+ case 'x':
544
+ this.baseAxes = new THREE__namespace.Vector3(0, 0, 1);
545
+ break;
546
+ case 'y':
547
+ this.baseAxes = new THREE__namespace.Vector3(1, 0, 0);
548
+ break;
549
+ case 'z':
550
+ this.baseAxes = new THREE__namespace.Vector3(1, 0, 0);
551
+ break;
552
+ }
553
+ const ratio = 0.3 + 0.0005; // 挡住白色圆环的锯齿
554
+ this.geometry = new THREE__namespace.CircleGeometry(ratio, 48, 0, 0.0001);
555
+ this.material = new THREE__namespace.MeshBasicMaterial({
556
+ opacity: 0.4,
557
+ color: (_a = options.color) !== null && _a !== void 0 ? _a : 0xffffff,
558
+ depthTest: false,
559
+ transparent: true,
560
+ side: THREE__namespace.DoubleSide,
561
+ });
562
+ this.direction = options.direction;
563
+ // this.renderOrder = 20
564
+ if (this.direction === 'y') {
565
+ this.rotateX(Math.PI / 2);
566
+ }
567
+ else if (this.direction === 'x') {
568
+ this.rotateY(-Math.PI / 2);
569
+ }
570
+ }
571
+ }
572
+
573
+ function createSymbol(description) {
574
+ // @ts-ignore
575
+ return typeof Symbol === 'undefined' ? `$Symbol<${description}>$` : Symbol(description);
576
+ }
577
+ const EVENT_SYMBOL = createSymbol('$$EVENT$$');
578
+ function __generateEventIfNotExisted(instance) {
579
+ if (!instance[EVENT_SYMBOL]) {
580
+ instance[EVENT_SYMBOL] = {};
581
+ }
582
+ return instance[EVENT_SYMBOL];
583
+ }
584
+ function __removeEventIfNotExisted(instance) {
585
+ if (!instance[EVENT_SYMBOL]) {
586
+ delete instance[EVENT_SYMBOL];
587
+ }
588
+ }
589
+ /**
590
+ * 监听者模式
591
+ * @template T - 预设的监听回调类型
592
+ * @example
593
+ * ```
594
+ * new Subscribe<{
595
+ * "foo": [arg1: number, arg2: string],
596
+ * "bar": [arg: boolean],
597
+ * }>()
598
+ * ```
599
+ */
600
+ class Subscribe {
601
+ /**
602
+ * 判断是否注册了事件
603
+ * @param name - 事件类型
604
+ */
605
+ hasListener(name) {
606
+ const events = __generateEventIfNotExisted(this);
607
+ return Boolean((events === null || events === void 0 ? void 0 : events[name]) && events[name].length > 0);
608
+ }
609
+ /**
610
+ * 注册事件
611
+ * @param name - 事件类型
612
+ * @param callback - 事件回调函数
613
+ * @param once - 是否只执行一次
614
+ * @returns 解除事件
615
+ * @template K - 预设的监听事件名称
616
+ * @template C - 回调函数函数上下文
617
+ */
618
+ on(name, callback, once) {
619
+ const events = __generateEventIfNotExisted(this);
620
+ if (!events[name])
621
+ events[name] = [];
622
+ events[name].push([callback, once || false]);
623
+ return () => this.off(name, callback);
624
+ }
625
+ /**
626
+ * 注册事件(是否只执行一次)
627
+ * @param name - 事件类型
628
+ * @param callback - 事件回调函数
629
+ * @returns 解除事件
630
+ * @template K - 预设的监听事件名称
631
+ * @template C - 回调函数函数上下文
632
+ */
633
+ once(name, callback) {
634
+ return this.on(name, callback, true);
635
+ }
636
+ /**
637
+ * 解除事件
638
+ *
639
+ * 如果 name 不传的话解除对应所有事件
640
+ * 如果 name, callback 不传的话解除所有name的所有事件
641
+ * @param name - 事件类型
642
+ * @param callback - 事件回调函数
643
+ * @template K - 预设的监听事件名称
644
+ */
645
+ off(name, callback) {
646
+ if (name === undefined) {
647
+ __removeEventIfNotExisted(this);
648
+ return;
649
+ }
650
+ const events = __generateEventIfNotExisted(this);
651
+ if (!events[name])
652
+ events[name] = [];
653
+ if (callback === undefined) {
654
+ events[name].length = 0;
655
+ return;
656
+ }
657
+ let index = 0;
658
+ for (; index < events[name].length; index++) {
659
+ if (events[name][index][0] === callback)
660
+ break;
661
+ }
662
+ if (index < events[name].length) {
663
+ events[name].splice(index, 1);
664
+ }
665
+ }
666
+ /**
667
+ * 触发事件
668
+ * @param name - 事件类型
669
+ * @param data - 触发事件的数据
670
+ * @returns canceled 是否被触发取消
671
+ * @template K - 预设的监听事件名称
672
+ */
673
+ emit(name, ...data) {
674
+ let canceled = false;
675
+ const events = __generateEventIfNotExisted(this);
676
+ const event = events[name] || [];
677
+ for (let one of event.slice()) {
678
+ const [callback, once = false] = one;
679
+ const result = callback(...data);
680
+ if (once)
681
+ this.off(name, callback);
682
+ if (result === false)
683
+ canceled = true;
684
+ }
685
+ return canceled;
686
+ }
687
+ }
688
+
689
+ const VERSION$3 = '1.0.0';
690
+ const NAME$1 = `CSS3DObjectPlus@${VERSION$3}`;
691
+ const MinRatio = 0.00216;
692
+ const DefaultRatio = 0.003;
693
+ class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
694
+ constructor(container, cornerPoints, ratio = DefaultRatio, dpr = 1) {
695
+ const realRatio = Math.max(MinRatio, ratio);
696
+ const planeWidth = cornerPoints[0].distanceTo(cornerPoints[1]);
697
+ const planeHeight = cornerPoints[1].distanceTo(cornerPoints[2]);
698
+ const domWidthPx = evenNumber((planeWidth / ratio) * dpr);
699
+ const domHeightPx = evenNumber((planeHeight / ratio) * dpr);
700
+ const centerPosition = centerPoint(cornerPoints[0], cornerPoints[2]);
701
+ let css3DObjectElement;
702
+ if (realRatio === ratio) {
703
+ container.style.width = `${domWidthPx}px`;
704
+ container.style.height = `${domHeightPx}px`;
705
+ css3DObjectElement = container;
706
+ }
707
+ else {
708
+ // 兼容ratio小于0.00216的情况
709
+ const element = document.createElement('div');
710
+ element.style.width = `${domWidthPx}px`;
711
+ element.style.height = `${domHeightPx}px`;
712
+ element.style.pointerEvents = 'none';
713
+ const scale = ratio / realRatio;
714
+ container.style.position = 'absolute';
715
+ container.style.left = '0';
716
+ container.style.top = '0';
717
+ container.style.width = `${scale * domWidthPx}px`;
718
+ container.style.height = `${scale * domHeightPx}px`;
719
+ element.appendChild(container);
720
+ css3DObjectElement = element;
721
+ }
722
+ super(css3DObjectElement);
723
+ Object.defineProperty(this, "version", {
724
+ enumerable: true,
725
+ configurable: true,
726
+ writable: true,
727
+ value: VERSION$3
728
+ });
729
+ Object.defineProperty(this, "width", {
730
+ enumerable: true,
731
+ configurable: true,
732
+ writable: true,
733
+ value: void 0
734
+ });
735
+ Object.defineProperty(this, "height", {
736
+ enumerable: true,
737
+ configurable: true,
738
+ writable: true,
739
+ value: void 0
740
+ });
741
+ Object.defineProperty(this, "domWidthPx", {
742
+ enumerable: true,
743
+ configurable: true,
744
+ writable: true,
745
+ value: void 0
746
+ });
747
+ Object.defineProperty(this, "domHeightPx", {
748
+ enumerable: true,
749
+ configurable: true,
750
+ writable: true,
751
+ value: void 0
752
+ });
753
+ Object.defineProperty(this, "cornerPoints", {
754
+ enumerable: true,
755
+ configurable: true,
756
+ writable: true,
757
+ value: void 0
758
+ });
759
+ Object.defineProperty(this, "ratio", {
760
+ enumerable: true,
761
+ configurable: true,
762
+ writable: true,
763
+ value: void 0
764
+ });
765
+ Object.defineProperty(this, "container", {
766
+ enumerable: true,
767
+ configurable: true,
768
+ writable: true,
769
+ value: void 0
770
+ });
771
+ Object.defineProperty(this, "centerPosition", {
772
+ enumerable: true,
773
+ configurable: true,
774
+ writable: true,
775
+ value: void 0
776
+ });
777
+ this.scale.set(realRatio, realRatio, realRatio);
778
+ // set public property
779
+ this.cornerPoints = cornerPoints;
780
+ this.ratio = ratio;
781
+ this.container = container;
782
+ if (realRatio === ratio) {
783
+ this.width = planeWidth;
784
+ this.height = planeHeight;
785
+ this.domWidthPx = domWidthPx;
786
+ this.domHeightPx = domHeightPx;
787
+ this.centerPosition = centerPosition;
788
+ }
789
+ else {
790
+ const scale = ratio / realRatio;
791
+ this.width = scale * planeWidth;
792
+ this.height = scale * planeHeight;
793
+ this.domWidthPx = scale * domWidthPx;
794
+ this.domHeightPx = scale * domHeightPx;
795
+ this.centerPosition = new THREE.Vector3()
796
+ .subVectors(centerPosition.clone(), cornerPoints[0].clone())
797
+ .multiplyScalar(scale)
798
+ .add(cornerPoints[0]);
799
+ }
800
+ // end
801
+ container.classList.add(`${NAME$1}__container`);
802
+ // 旋转前
803
+ const startVector01 = new THREE.Vector3(1, 0, 0); // dom初始01点向量
804
+ const startVector12 = new THREE.Vector3(0, 1, 0); // dom初始12点向量
805
+ // 旋转后
806
+ const endVector01 = new THREE.Vector3().subVectors(cornerPoints[1], cornerPoints[0]); // 点0 -> 点1 的向量
807
+ const endVector12 = new THREE.Vector3().subVectors(cornerPoints[2], cornerPoints[1]); // 点1 -> 点2 的向量
808
+ // 使Vector01重合
809
+ const vector01Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector01.normalize(), endVector01.normalize());
810
+ this.applyQuaternion(vector01Quaternion);
811
+ startVector12.applyQuaternion(vector01Quaternion);
812
+ // 使Vector12重合
813
+ const vector12Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector12.normalize(), endVector12.normalize());
814
+ this.applyQuaternion(vector12Quaternion);
815
+ // set position
816
+ this.position.set(centerPosition.x, centerPosition.y, centerPosition.z);
817
+ }
818
+ }
819
+
820
+ const VERSION$2 = 'v1.1.0';
821
+ const PLUGIN_NAME$1 = 'CSS3DRenderer';
822
+ const PLUGIN$1 = `${PLUGIN_NAME$1}@${VERSION$2}`;
823
+ const pluginFlag$1 = (name) => `${PLUGIN$1}--${name}`;
824
+ const globalStore = {};
825
+ class CSS3DRender {
826
+ constructor() {
827
+ Object.defineProperty(this, "hooks", {
828
+ enumerable: true,
829
+ configurable: true,
830
+ writable: true,
831
+ value: new Subscribe()
832
+ });
833
+ Object.defineProperty(this, "state", {
834
+ enumerable: true,
835
+ configurable: true,
836
+ writable: true,
837
+ value: {
838
+ enabled: true,
839
+ visible: true,
840
+ disposed: false,
841
+ }
842
+ });
843
+ Object.defineProperty(this, "store", {
844
+ enumerable: true,
845
+ configurable: true,
846
+ writable: true,
847
+ value: {
848
+ disposers: [],
849
+ frontModeCSS3DObjects: {},
850
+ behindModeCSS3DObjects: {},
851
+ }
852
+ });
853
+ /**
854
+ * @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
855
+ * @param { Vector3Position[] } points 矩形四个点坐标
856
+ * @param config 均为可选值
857
+ * @config_document `config` 均为可选值
858
+ * | key | type | defaultValue | comment |
859
+ * | - | - | - | - |
860
+ * | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
861
+ * | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
862
+ * | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
863
+ * | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
864
+ * | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
865
+ * | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
866
+ * | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
867
+ * | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
868
+ * | `scene` | *`THREE.Scene`* | `undefined` | 如果 mode 为 `behind`,需要传入 |
869
+ *
870
+ * @return
871
+ * ```typescript
872
+ * {
873
+ * id: string, // id
874
+ * container: HTMLDIVElement // dom容器
875
+ * dispose: () => void // 销毁
876
+ * css3DObject: CSS3DObject // THREE.CSS3DObject 实例
877
+ * render?: () => void // 渲染函数,当 config.autoRender = true || undefined 时为 undefined
878
+ * setVisible: (visible: boolean) => void // 设置显隐, 同 setVisibleById(id, visible)
879
+ * show: () => void // 同 setVisible(true)
880
+ * hide: () => void // 同 setVisible(false)
881
+ * setEnabled: (enabled: boolean) => void // 添加/移除 container, 同 setEnabledById(id, enabled)
882
+ * enable: () => void // 同 setEnabled(true)
883
+ * disable: () => void // 同 setEnabled(false)
884
+ * } | void
885
+ * ```
886
+ */
887
+ Object.defineProperty(this, "create3DElement", {
888
+ enumerable: true,
889
+ configurable: true,
890
+ writable: true,
891
+ value: (camera, points, config) => {
892
+ if (this.state.disposed)
893
+ return this.disposedErrorLog();
894
+ // ==== init ====
895
+ const mergeConfig = (() => {
896
+ const defaultConfig = {
897
+ ratio: 0.00216,
898
+ devicePixelRatio: 1,
899
+ mode: 'front',
900
+ autoRender: true,
901
+ container: document.createElement('div'),
902
+ pointerEvents: 'none',
903
+ };
904
+ return Object.assign(defaultConfig, config);
905
+ })();
906
+ const vector3Points = points.map(anyPositionToVector3);
907
+ if ((vector3Points === null || vector3Points === void 0 ? void 0 : vector3Points.length) < 4)
908
+ return console.error(`${PLUGIN$1}: requires 4 point but params may have fewer`);
909
+ const { ratio, devicePixelRatio: dpr, mode, autoRender, container, pointerEvents } = mergeConfig;
910
+ const disposers = [];
911
+ // ==== init END ====
912
+ // 获取css3DObject, 如果mode为behind的话,也一起获取mesh
913
+ const { css3DObject, opacityMesh } = this.createObject(vector3Points, {
914
+ ratio,
915
+ dpr,
916
+ container,
917
+ mode,
918
+ pointerEvents,
919
+ });
920
+ container.id = `container--${css3DObject.uuid}`;
921
+ const frontModeAndFrontModeUnInited = mode === 'front' && !globalStore.frontModeStore;
922
+ const behindModeAndBehindModeUnInited = mode === 'behind' && !globalStore.behindModeStore;
923
+ if (behindModeAndBehindModeUnInited) {
924
+ globalStore.behindModeStore = {
925
+ scene: mergeConfig.scene,
926
+ css3DScene: new THREE__namespace.Scene(),
927
+ css3DRenderer: new CSS3DRenderer.CSS3DRenderer(),
928
+ };
929
+ }
930
+ if (frontModeAndFrontModeUnInited) {
931
+ globalStore.frontModeStore = { css3DScene: new THREE__namespace.Scene(), css3DRenderer: new CSS3DRenderer.CSS3DRenderer() };
932
+ }
933
+ const modeStore = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
934
+ const { css3DScene, css3DRenderer } = modeStore;
935
+ const render = (() => {
936
+ const renderCSS3DObject = () => {
937
+ if (mode === 'front') {
938
+ this.store.frontModeCSS3DObjects[css3DObject.uuid] = {
939
+ visible: true,
940
+ enabled: true,
941
+ css3DObject,
942
+ mode: 'front',
943
+ };
944
+ }
945
+ else {
946
+ this.store.behindModeCSS3DObjects[css3DObject.uuid] = {
947
+ visible: true,
948
+ enabled: true,
949
+ css3DObject,
950
+ opacityMesh: opacityMesh,
951
+ mode: 'behind',
952
+ scene: mergeConfig.scene,
953
+ };
954
+ }
955
+ css3DScene.add(css3DObject);
956
+ if (mode === 'behind' && opacityMesh) {
957
+ mergeConfig.scene.add(opacityMesh);
958
+ disposers.push(() => opacityMesh && mergeConfig.scene.remove(opacityMesh));
959
+ }
960
+ };
961
+ if (frontModeAndFrontModeUnInited || behindModeAndBehindModeUnInited) {
962
+ css3DRenderer.domElement.style.position = 'absolute';
963
+ css3DRenderer.domElement.style.top = '0';
964
+ css3DRenderer.domElement.style.userSelect = 'none';
965
+ css3DRenderer.domElement.style.pointerEvents = 'none';
966
+ css3DRenderer.domElement.classList.add(pluginFlag$1(mode));
967
+ const renderEveryFrame = () => {
968
+ const requestAnimationFrameId = requestAnimationFrame(renderEveryFrame);
969
+ modeStore.requestAnimationFrameId = requestAnimationFrameId;
970
+ css3DRenderer.render(css3DScene, camera);
971
+ };
972
+ return () => {
973
+ renderCSS3DObject();
974
+ renderEveryFrame();
975
+ };
976
+ }
977
+ return () => renderCSS3DObject();
978
+ })();
979
+ const wrapper = mode === 'front' ? globalStore.frontModeContainer : globalStore.behindModeContainer;
980
+ if (wrapper) {
981
+ this.appendToElement(wrapper, mode);
982
+ const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
983
+ if (store)
984
+ store.appendedToPage = true;
985
+ }
986
+ const setVisible = (visible) => this.setVisibleById(css3DObject.uuid, visible);
987
+ const setEnabled = (enabled) => this.setEnabledById(css3DObject.uuid, enabled);
988
+ const show = () => setVisible(true);
989
+ const hide = () => setVisible(false);
990
+ const enable = () => setEnabled(true);
991
+ const disable = () => setEnabled(false);
992
+ const dispose = () => {
993
+ delete this.store.frontModeCSS3DObjects[css3DObject.uuid];
994
+ delete this.store.behindModeCSS3DObjects[css3DObject.uuid];
995
+ disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
996
+ css3DScene.remove(css3DObject);
997
+ // 如果全没了,就清除父容器
998
+ if (css3DScene.children.length === 0) {
999
+ if (typeof modeStore.requestAnimationFrameId === 'number') {
1000
+ cancelAnimationFrame(modeStore.requestAnimationFrameId);
1001
+ }
1002
+ css3DRenderer.domElement.remove();
1003
+ if (mode === 'front')
1004
+ globalStore.frontModeStore = undefined;
1005
+ if (mode === 'behind')
1006
+ globalStore.behindModeStore = undefined;
1007
+ }
1008
+ return true;
1009
+ };
1010
+ this.store.disposers.push(dispose);
1011
+ if (autoRender)
1012
+ render();
1013
+ return {
1014
+ id: css3DObject.uuid,
1015
+ container,
1016
+ dispose,
1017
+ css3DObject,
1018
+ render: autoRender ? undefined : render,
1019
+ show,
1020
+ hide,
1021
+ setVisible,
1022
+ disable,
1023
+ enable,
1024
+ setEnabled,
1025
+ appendToElement: (container) => this.appendToElement(container, mode),
1026
+ };
1027
+ }
1028
+ });
1029
+ Object.defineProperty(this, "setVisibleById", {
1030
+ enumerable: true,
1031
+ configurable: true,
1032
+ writable: true,
1033
+ value: (id, visible) => {
1034
+ var _a;
1035
+ const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
1036
+ if (!data)
1037
+ return;
1038
+ data.css3DObject.visible = visible;
1039
+ data.visible = visible;
1040
+ if (data.mode === 'behind')
1041
+ data.opacityMesh.visible = visible;
1042
+ }
1043
+ });
1044
+ Object.defineProperty(this, "setEnabledById", {
1045
+ enumerable: true,
1046
+ configurable: true,
1047
+ writable: true,
1048
+ value: (id, enabled) => {
1049
+ var _a, _b, _c;
1050
+ const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
1051
+ if (!data)
1052
+ return;
1053
+ const css3DScene = data.mode === 'front' ? (_b = globalStore.frontModeStore) === null || _b === void 0 ? void 0 : _b.css3DScene : (_c = globalStore.behindModeStore) === null || _c === void 0 ? void 0 : _c.css3DScene;
1054
+ if (!css3DScene)
1055
+ return;
1056
+ if (enabled) {
1057
+ css3DScene.add(data.css3DObject);
1058
+ if (data.mode === 'behind')
1059
+ data.scene.add(data.opacityMesh);
1060
+ }
1061
+ else {
1062
+ css3DScene.remove(data.css3DObject);
1063
+ if (data.mode === 'behind')
1064
+ data.scene.remove(data.opacityMesh);
1065
+ }
1066
+ data.enabled = enabled;
1067
+ }
1068
+ });
1069
+ Object.defineProperty(this, "createObject", {
1070
+ enumerable: true,
1071
+ configurable: true,
1072
+ writable: true,
1073
+ value: (points, config) => {
1074
+ const { ratio, dpr, container, mode, pointerEvents } = config;
1075
+ const css3DObject = new CSS3DObjectPlus(container, points, ratio, dpr);
1076
+ container.style.pointerEvents = pointerEvents;
1077
+ container.classList.add(`${PLUGIN_NAME$1}__container`);
1078
+ const { domWidthPx, domHeightPx } = css3DObject;
1079
+ // 生成透明Mesh
1080
+ const opacityMesh = (() => {
1081
+ if (mode === 'behind') {
1082
+ const material = new THREE__namespace.MeshBasicMaterial({
1083
+ opacity: 0,
1084
+ transparent: false,
1085
+ side: THREE__namespace.DoubleSide,
1086
+ });
1087
+ const geometry = new THREE__namespace.PlaneGeometry(domWidthPx, domHeightPx);
1088
+ const mesh = new THREE__namespace.Mesh(geometry, material);
1089
+ mesh.name = pluginFlag$1('mesh');
1090
+ mesh.position.copy(css3DObject.position);
1091
+ mesh.rotation.copy(css3DObject.rotation);
1092
+ mesh.scale.copy(css3DObject.scale);
1093
+ return mesh;
1094
+ }
1095
+ })();
1096
+ return { css3DObject, opacityMesh };
1097
+ }
1098
+ });
1099
+ Object.defineProperty(this, "createResizeObserver", {
1100
+ enumerable: true,
1101
+ configurable: true,
1102
+ writable: true,
1103
+ value: (element, resizeHandler, fireImmediately = true) => {
1104
+ if (!element || !ResizeObserver)
1105
+ return { observe: () => { }, unobserve: () => { } };
1106
+ const resizeObserverHandler = () => {
1107
+ /**
1108
+ * 这里evenNumber策略是遇到奇数会加1,在某些浏览器中会触发滚动条显示,导致fiveElement变小,fiveElement变小又触发了这里的resize,宽高变小,滚动条消失,然后又触发resize。。。无限循环
1109
+ * 所以为了规避上面这种情况,evenNumber设置了一个参数,遇到奇数可选择减一
1110
+ */
1111
+ const width = evenNumber(element.clientWidth, { smaller: true });
1112
+ const height = evenNumber(element.clientHeight, { smaller: true });
1113
+ resizeHandler(width, height);
1114
+ };
1115
+ const observer = new ResizeObserver(resizeObserverHandler);
1116
+ if (fireImmediately)
1117
+ resizeObserverHandler();
1118
+ return {
1119
+ observe: () => observer.observe(element),
1120
+ unobserve: () => observer.unobserve(element),
1121
+ };
1122
+ }
1123
+ });
1124
+ Object.defineProperty(this, "disposedErrorLog", {
1125
+ enumerable: true,
1126
+ configurable: true,
1127
+ writable: true,
1128
+ value: () => {
1129
+ console.error(`${PLUGIN$1} is disposed`);
1130
+ }
1131
+ });
1132
+ }
1133
+ getCurrentState() {
1134
+ return this.state;
1135
+ }
1136
+ setState(state, options = { userAction: true }) {
1137
+ if (this.state.disposed)
1138
+ return this.disposedErrorLog();
1139
+ const prevState = Object.assign({}, this.state);
1140
+ this.state = Object.assign(this.state, state);
1141
+ if (prevState.visible !== this.state.visible) {
1142
+ state.visible ? this.handleShow() : this.handleHide();
1143
+ }
1144
+ if (prevState.enabled !== this.state.enabled) {
1145
+ state.enabled ? this.handleEnable() : this.handleDisable();
1146
+ }
1147
+ this.hooks.emit('stateChange', { state: this.state, prevState, userAction: options.userAction });
1148
+ }
1149
+ dispose() {
1150
+ this.store.disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
1151
+ this.store.disposers = [];
1152
+ this.hooks.emit('dispose');
1153
+ this.state.disposed = true;
1154
+ }
1155
+ async show({ userAction } = { userAction: true }) {
1156
+ if (this.state.disposed)
1157
+ return this.disposedErrorLog();
1158
+ this.setState({ visible: true }, { userAction });
1159
+ this.hooks.emit('show', { userAction });
1160
+ }
1161
+ async hide({ userAction } = { userAction: true }) {
1162
+ if (this.state.disposed)
1163
+ return this.disposedErrorLog();
1164
+ this.setState({ visible: false }, { userAction });
1165
+ this.hooks.emit('hide', { userAction });
1166
+ }
1167
+ enable({ userAction } = { userAction: true }) {
1168
+ if (this.state.disposed)
1169
+ return this.disposedErrorLog();
1170
+ this.setState({ enabled: true }, { userAction });
1171
+ this.hooks.emit('enable', { userAction });
1172
+ }
1173
+ disable({ userAction } = { userAction: true }) {
1174
+ if (this.state.disposed)
1175
+ return this.disposedErrorLog();
1176
+ this.setState({ enabled: false }, { userAction });
1177
+ this.hooks.emit('disable', { userAction });
1178
+ }
1179
+ appendToElement(container, mode) {
1180
+ if (!container)
1181
+ throw new Error(`${PLUGIN$1} Cannot append to container: container is ${container}`);
1182
+ const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
1183
+ if (!store) {
1184
+ if (mode === 'front')
1185
+ globalStore.frontModeContainer = container;
1186
+ if (mode === 'behind')
1187
+ globalStore.behindModeContainer = container;
1188
+ return;
1189
+ }
1190
+ if (store.appendedToPage)
1191
+ return;
1192
+ container.appendChild(store.css3DRenderer.domElement);
1193
+ if (!globalStore.resizeObserver) {
1194
+ const { observe, unobserve } = this.createResizeObserver(container, store.css3DRenderer.setSize, true);
1195
+ globalStore.resizeObserver = { observe, unobserve };
1196
+ observe();
1197
+ this.store.disposers.push(unobserve);
1198
+ }
1199
+ store.appendedToPage = true;
1200
+ }
1201
+ async handleShow() {
1202
+ Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
1203
+ value.css3DObject.visible = value.visible;
1204
+ });
1205
+ Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
1206
+ value.css3DObject.visible = value.visible;
1207
+ value.opacityMesh.visible = value.visible;
1208
+ });
1209
+ }
1210
+ async handleHide() {
1211
+ Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
1212
+ value.css3DObject.visible = false;
1213
+ });
1214
+ Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
1215
+ value.css3DObject.visible = false;
1216
+ value.opacityMesh.visible = false;
1217
+ });
1218
+ }
1219
+ handleEnable() {
1220
+ Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
1221
+ var _a;
1222
+ if (!value.enabled)
1223
+ return;
1224
+ (_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
1225
+ });
1226
+ Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
1227
+ var _a, _b;
1228
+ if (!value.enabled)
1229
+ return;
1230
+ (_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
1231
+ (_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.add(value.opacityMesh);
1232
+ });
1233
+ }
1234
+ handleDisable() {
1235
+ Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
1236
+ var _a;
1237
+ (_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
1238
+ });
1239
+ Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
1240
+ var _a, _b;
1241
+ (_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
1242
+ (_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.remove(value.opacityMesh);
1243
+ });
1244
+ }
1245
+ }
1246
+
1247
+ function rectangleScaleDom() {
1248
+ const container = createElement({
1249
+ width: '100%',
1250
+ height: '100%',
1251
+ left: '0',
1252
+ top: '0',
1253
+ position: 'absolute',
1254
+ pointerEvents: 'none',
1255
+ });
1256
+ const wrapper = createElement({
1257
+ boxSizing: 'border-box',
1258
+ width: '100%',
1259
+ height: '100%',
1260
+ left: '0',
1261
+ top: '0',
1262
+ position: 'relative',
1263
+ display: 'flex',
1264
+ alignItems: 'center',
1265
+ justifyContent: 'center',
1266
+ });
1267
+ const border = createElement({
1268
+ boxSizing: 'border-box',
1269
+ width: '100%',
1270
+ height: '100%',
1271
+ left: '0',
1272
+ top: '0',
1273
+ position: 'absolute',
1274
+ border: '1px solid rgba(255,255,255,0.4)',
1275
+ });
1276
+ // DELETE
1277
+ // const text = createElement({ fontSize: '50px' })
1278
+ // text.innerText = '这是正面'
1279
+ // wrapper.appendChild(text)
1280
+ container.appendChild(wrapper);
1281
+ wrapper.appendChild(border);
1282
+ /**
1283
+ * 6----5----4
1284
+ * | |
1285
+ * 7 3
1286
+ * | |
1287
+ * 0----1----2
1288
+ */
1289
+ const offset = '-4px';
1290
+ const square0 = { direction: 'nesw', element: squareDom({ cursor: 'nesw-resize', left: offset, bottom: offset }) };
1291
+ const square1 = { direction: 'ns', element: squareDom({ cursor: 'ns-resize', bottom: offset }) };
1292
+ const square2 = { direction: 'nwse', element: squareDom({ cursor: 'nwse-resize', right: offset, bottom: offset }) };
1293
+ const square3 = { direction: 'ew', element: squareDom({ cursor: 'ew-resize', right: offset }) };
1294
+ const square4 = { direction: 'nesw', element: squareDom({ cursor: 'nesw-resize', right: offset, top: offset }) };
1295
+ const square5 = { direction: 'ns', element: squareDom({ cursor: 'ns-resize', top: offset }) };
1296
+ const square6 = { direction: 'nwse', element: squareDom({ cursor: 'nwse-resize', left: offset, top: offset }) };
1297
+ const square7 = { direction: 'ew', element: squareDom({ cursor: 'ew-resize', left: offset }) };
1298
+ // 0,2,4,6 四个角放后面,当点击区域可能出现互相遮挡的情况时,优先保障四个角的点
1299
+ new Array(square1, square3, square5, square7, square0, square2, square4, square6).forEach((square) => wrapper.appendChild(square.element));
1300
+ const squares = [
1301
+ square0,
1302
+ square1,
1303
+ square2,
1304
+ square3,
1305
+ square4,
1306
+ square5,
1307
+ square6,
1308
+ square7,
1309
+ ];
1310
+ return { container, squares };
1311
+ }
1312
+ function squareDom(style) {
1313
+ const square = createElement(Object.assign({ background: '#FFFFFF', width: '9px', height: '9px', position: 'absolute', pointerEvents: 'none' }, style));
1314
+ const squareDraggingWrapper = createElement({
1315
+ width: '15px',
1316
+ height: '15px',
1317
+ position: 'absolute',
1318
+ left: '50%',
1319
+ top: '50%',
1320
+ transform: 'translate(-50%, -50%)',
1321
+ pointerEvents: 'none',
1322
+ });
1323
+ const squareDragging = createElement({
1324
+ width: '15px',
1325
+ height: '15px',
1326
+ cursor: style === null || style === void 0 ? void 0 : style.cursor,
1327
+ pointerEvents: 'auto',
1328
+ // backgroundColor: 'red',
1329
+ background: 'transparent',
1330
+ });
1331
+ squareDragging.draggable = true;
1332
+ squareDraggingWrapper.appendChild(squareDragging);
1333
+ square.appendChild(squareDraggingWrapper);
1334
+ return square;
1335
+ }
1336
+
1337
+ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
1338
+ constructor(originObject3D, container, camera, scene) {
1339
+ super(originObject3D);
1340
+ Object.defineProperty(this, "points", {
1341
+ enumerable: true,
1342
+ configurable: true,
1343
+ writable: true,
1344
+ value: []
1345
+ });
1346
+ Object.defineProperty(this, "cornerPositions", {
1347
+ enumerable: true,
1348
+ configurable: true,
1349
+ writable: true,
1350
+ value: []
1351
+ });
1352
+ Object.defineProperty(this, "css3DInstance", {
1353
+ enumerable: true,
1354
+ configurable: true,
1355
+ writable: true,
1356
+ value: void 0
1357
+ });
1358
+ Object.defineProperty(this, "css3DRenderer", {
1359
+ enumerable: true,
1360
+ configurable: true,
1361
+ writable: true,
1362
+ value: new CSS3DRender()
1363
+ });
1364
+ Object.defineProperty(this, "plane", {
1365
+ enumerable: true,
1366
+ configurable: true,
1367
+ writable: true,
1368
+ value: void 0
1369
+ });
1370
+ Object.defineProperty(this, "camera", {
1371
+ enumerable: true,
1372
+ configurable: true,
1373
+ writable: true,
1374
+ value: void 0
1375
+ });
1376
+ Object.defineProperty(this, "scene", {
1377
+ enumerable: true,
1378
+ configurable: true,
1379
+ writable: true,
1380
+ value: void 0
1381
+ });
1382
+ Object.defineProperty(this, "container", {
1383
+ enumerable: true,
1384
+ configurable: true,
1385
+ writable: true,
1386
+ value: void 0
1387
+ });
1388
+ Object.defineProperty(this, "enabled", {
1389
+ enumerable: true,
1390
+ configurable: true,
1391
+ writable: true,
1392
+ value: false
1393
+ });
1394
+ this.camera = camera;
1395
+ this.scene = scene;
1396
+ this.container = container;
1397
+ this.initRectangleScaleHelper();
1398
+ }
1399
+ get helperObject() {
1400
+ var _a;
1401
+ if (!((_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject))
1402
+ throw new Error('css3DInstance is not initialized');
1403
+ return this.css3DInstance.css3DObject;
1404
+ }
1405
+ updatePosition() {
1406
+ var _a, _b;
1407
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.position.copy(this.originObject3D.position);
1408
+ (_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(this.originObject3D.position);
1409
+ }
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);
1414
+ }
1415
+ updateMatrix4(matrix) {
1416
+ var _a, _b;
1417
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(matrix);
1418
+ (_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
1419
+ this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
1420
+ }
1421
+ setHelperScaleMatrix4(matrix, params) {
1422
+ var _a, _b;
1423
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
1424
+ (_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
+ }
1433
+ updatePoints() {
1434
+ const position8 = this.calculatePointPosition(this.cornerPositions);
1435
+ this.points.forEach((point, index) => {
1436
+ point.position.copy(position8[index]);
1437
+ });
1438
+ }
1439
+ updateQuaternion(quaternion, origin) {
1440
+ var _a;
1441
+ const css3DObject = (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject;
1442
+ if (css3DObject) {
1443
+ const v = new THREE__namespace.Vector3().subVectors(css3DObject.position, origin).applyQuaternion(quaternion).add(origin);
1444
+ css3DObject.position.copy(v);
1445
+ css3DObject.applyQuaternion(quaternion);
1446
+ }
1447
+ if (this.plane) {
1448
+ const v = new THREE__namespace.Vector3().subVectors(this.plane.position, origin).applyQuaternion(quaternion).add(origin);
1449
+ this.plane.position.copy(v);
1450
+ this.plane.applyQuaternion(quaternion);
1451
+ }
1452
+ this.cornerPositions.forEach((cornerPosition) => {
1453
+ const v = new THREE__namespace.Vector3().subVectors(cornerPosition, origin).applyQuaternion(quaternion).add(origin);
1454
+ cornerPosition.copy(v);
1455
+ });
1456
+ }
1457
+ enable() {
1458
+ var _a;
1459
+ if (this.enabled)
1460
+ return;
1461
+ this.enabled = true;
1462
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.enable();
1463
+ if (this.plane)
1464
+ this.scene.add(this.plane);
1465
+ }
1466
+ disable() {
1467
+ var _a;
1468
+ if (!this.enabled)
1469
+ return;
1470
+ this.enabled = false;
1471
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.disable();
1472
+ if (this.plane)
1473
+ this.scene.remove(this.plane);
1474
+ }
1475
+ show() {
1476
+ var _a;
1477
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.show();
1478
+ if (this.plane)
1479
+ this.plane.visible = true;
1480
+ }
1481
+ hide() {
1482
+ var _a;
1483
+ (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.hide();
1484
+ if (this.plane)
1485
+ this.plane.visible = false;
1486
+ }
1487
+ dispose() {
1488
+ this.disable();
1489
+ this.css3DRenderer.dispose();
1490
+ }
1491
+ initRectangleScaleHelper() {
1492
+ var _a;
1493
+ const cornerPositions = this.getCornerPositions();
1494
+ if (!cornerPositions)
1495
+ return;
1496
+ this.cornerPositions = cornerPositions;
1497
+ const css3DInstance = this.css3DRenderer.create3DElement(this.camera, cornerPositions, { ratio: 0.003 }); // ratio 暂时不用和 originObject3D 保持同步,因为本来就是不同的东西
1498
+ if (!css3DInstance)
1499
+ return;
1500
+ this.css3DInstance = css3DInstance;
1501
+ css3DInstance.appendToElement(this.container);
1502
+ // create UI
1503
+ const css3DObjectElement = css3DInstance.css3DObject.container;
1504
+ const { container: dom, squares } = rectangleScaleDom();
1505
+ this.points = squares.map((square, index) => ({
1506
+ direction: square.direction,
1507
+ point: square.element,
1508
+ position: this.calculatePointPosition(cornerPositions)[index],
1509
+ }));
1510
+ // append html
1511
+ // css3DObjectElement.appendChild(backgroundDom())
1512
+ css3DObjectElement.insertBefore(dom, (_a = css3DObjectElement.children[0]) !== null && _a !== void 0 ? _a : null);
1513
+ // ============================ 分割线 ============================
1514
+ const geometry = new THREE__namespace.PlaneGeometry(css3DInstance.css3DObject.width, css3DInstance.css3DObject.height);
1515
+ const material = new THREE__namespace.MeshBasicMaterial({
1516
+ color: 0x000000,
1517
+ opacity: 0.15,
1518
+ transparent: true,
1519
+ side: THREE__namespace.DoubleSide,
1520
+ });
1521
+ const plane = new THREE__namespace.Mesh(geometry, material);
1522
+ this.scene.add(plane);
1523
+ this.plane = plane;
1524
+ this.updatePosition();
1525
+ }
1526
+ getCornerPositions() {
1527
+ const { originObject3D } = this;
1528
+ if (originObject3D instanceof CSS3DRenderer.CSS3DObject) {
1529
+ if (originObject3D instanceof CSS3DObjectPlus) {
1530
+ return originObject3D.cornerPoints;
1531
+ }
1532
+ else {
1533
+ console.error('暂时只支持 CSS3DRenderPlugin 生成的物体');
1534
+ }
1535
+ }
1536
+ else {
1537
+ console.error('当前物体暂时不支持 ScaleHelper');
1538
+ }
1539
+ }
1540
+ calculatePointPosition(cornerPositions) {
1541
+ /**
1542
+ * 6----5----4
1543
+ * | |
1544
+ * 7 3
1545
+ * | |
1546
+ * 0----1----2
1547
+ */
1548
+ return [
1549
+ cornerPositions[0].clone(),
1550
+ cornerPositions[0].clone().add(cornerPositions[1]).divideScalar(2),
1551
+ cornerPositions[1].clone(),
1552
+ cornerPositions[1].clone().add(cornerPositions[2]).divideScalar(2),
1553
+ cornerPositions[2].clone(),
1554
+ cornerPositions[2].clone().add(cornerPositions[3]).divideScalar(2),
1555
+ cornerPositions[3].clone(),
1556
+ cornerPositions[3].clone().add(cornerPositions[0]).divideScalar(2),
1557
+ ];
1558
+ }
1559
+ }
1560
+
1561
+ new THREE__namespace.Vector3();
1562
+
1563
+ // @ts-nocheck
1564
+
1565
+ // /** @namespace */
1566
+ // var THREEx = THREEx || {};
1567
+
1568
+ // # Constructor
1569
+ function DomEvents(camera, domElement)
1570
+ {
1571
+ this._camera = camera || null;
1572
+ this._domElement= domElement || document;
1573
+ this._raycaster = new THREE__namespace.Raycaster();
1574
+ this._selected = null;
1575
+ this._boundObjs = {};
1576
+ // Bind dom event for mouse and touch
1577
+ var _this = this;
1578
+
1579
+ this._$onClick = function(){ _this._onClick.apply(_this, arguments); };
1580
+ this._$onDblClick = function(){ _this._onDblClick.apply(_this, arguments); };
1581
+ this._$onMouseMove = function(){ _this._onMouseMove.apply(_this, arguments); };
1582
+ this._$onMouseDown = function(){ _this._onMouseDown.apply(_this, arguments); };
1583
+ this._$onMouseUp = function(){ _this._onMouseUp.apply(_this, arguments); };
1584
+ this._$onTouchMove = function(){ _this._onTouchMove.apply(_this, arguments); };
1585
+ this._$onTouchStart = function(){ _this._onTouchStart.apply(_this, arguments); };
1586
+ this._$onTouchEnd = function(){ _this._onTouchEnd.apply(_this, arguments); };
1587
+ this._$onContextmenu = function(){ _this._onContextmenu.apply(_this, arguments); };
1588
+ this._domElement.addEventListener( 'click' , this._$onClick , false );
1589
+ this._domElement.addEventListener( 'dblclick' , this._$onDblClick , false );
1590
+ this._domElement.addEventListener( 'mousemove' , this._$onMouseMove , false );
1591
+ this._domElement.addEventListener( 'mousedown' , this._$onMouseDown , false );
1592
+ this._domElement.addEventListener( 'mouseup' , this._$onMouseUp , false );
1593
+ this._domElement.addEventListener( 'touchmove' , this._$onTouchMove , false );
1594
+ this._domElement.addEventListener( 'touchstart' , this._$onTouchStart , false );
1595
+ this._domElement.addEventListener( 'touchend' , this._$onTouchEnd , false );
1596
+ this._domElement.addEventListener( 'contextmenu', this._$onContextmenu , false );
1597
+
1598
+ }
1599
+
1600
+ // # Destructor
1601
+ DomEvents.prototype.destroy = function()
1602
+ {
1603
+ // unBind dom event for mouse and touch
1604
+ this._domElement.removeEventListener( 'click' , this._$onClick , false );
1605
+ this._domElement.removeEventListener( 'dblclick' , this._$onDblClick , false );
1606
+ this._domElement.removeEventListener( 'mousemove' , this._$onMouseMove , false );
1607
+ this._domElement.removeEventListener( 'mousedown' , this._$onMouseDown , false );
1608
+ this._domElement.removeEventListener( 'mouseup' , this._$onMouseUp , false );
1609
+ this._domElement.removeEventListener( 'touchmove' , this._$onTouchMove , false );
1610
+ this._domElement.removeEventListener( 'touchstart' , this._$onTouchStart , false );
1611
+ this._domElement.removeEventListener( 'touchend' , this._$onTouchEnd , false );
1612
+ this._domElement.removeEventListener( 'contextmenu' , this._$onContextmenu , false );
1613
+ };
1614
+
1615
+ DomEvents.eventNames = [
1616
+ "click",
1617
+ "dblclick",
1618
+ "mouseover",
1619
+ "mouseout",
1620
+ "mousemove",
1621
+ "mousedown",
1622
+ "mouseup",
1623
+ "contextmenu",
1624
+ "touchstart",
1625
+ "touchend"
1626
+ ];
1627
+
1628
+ DomEvents.prototype._getRelativeMouseXY = function(domEvent){
1629
+ var element = domEvent.target || domEvent.srcElement;
1630
+ if (element.nodeType === 3) {
1631
+ element = element.parentNode; // Safari fix -- see http://www.quirksmode.org/js/events_properties.html
1632
+ }
1633
+
1634
+ // get the real position of an element relative to the page starting point (0, 0)
1635
+ // credits go to brainjam on answering http://stackoverflow.com/questions/5755312/getting-mouse-position-relative-to-content-area-of-an-element
1636
+ var elPosition = { x : 0 , y : 0};
1637
+ var tmpElement = element;
1638
+ // store padding
1639
+ var style = getComputedStyle(tmpElement, null);
1640
+ elPosition.y += parseInt(style.getPropertyValue("padding-top"), 10);
1641
+ elPosition.x += parseInt(style.getPropertyValue("padding-left"), 10);
1642
+ // add positions
1643
+ do {
1644
+ elPosition.x += tmpElement.offsetLeft;
1645
+ elPosition.y += tmpElement.offsetTop;
1646
+ style = getComputedStyle(tmpElement, null);
1647
+
1648
+ elPosition.x += parseInt(style.getPropertyValue("border-left-width"), 10);
1649
+ elPosition.y += parseInt(style.getPropertyValue("border-top-width"), 10);
1650
+ } while(tmpElement = tmpElement.offsetParent);
1651
+
1652
+ var elDimension = {
1653
+ width : (element === window) ? window.innerWidth : element.offsetWidth,
1654
+ height : (element === window) ? window.innerHeight : element.offsetHeight
1655
+ };
1656
+
1657
+ return {
1658
+ x : Number((domEvent.pageX - elPosition.x) / elDimension.width) * 2 - 1,
1659
+ y : -((domEvent.pageY - elPosition.y) / elDimension.height) * 2 + 1
1660
+ };
1661
+ };
1662
+
1663
+
1664
+ /********************************************************************************/
1665
+ /* domevent context */
1666
+ /********************************************************************************/
1667
+
1668
+ // handle domevent context in object3d instance
1669
+
1670
+ DomEvents.prototype._objectCtxInit = function(object3d){
1671
+ object3d._3xDomEvent = {};
1672
+ };
1673
+ DomEvents.prototype._objectCtxDeinit = function(object3d){
1674
+ delete object3d._3xDomEvent;
1675
+ };
1676
+ DomEvents.prototype._objectCtxIsInit = function(object3d){
1677
+ return object3d._3xDomEvent ? true : false;
1678
+ };
1679
+ DomEvents.prototype._objectCtxGet = function(object3d){
1680
+ return object3d._3xDomEvent;
1681
+ };
1682
+
1683
+ /********************************************************************************/
1684
+ /* */
1685
+ /********************************************************************************/
1686
+
1687
+ /**
1688
+ * Getter/Setter for camera
1689
+ */
1690
+ DomEvents.prototype.camera = function(value)
1691
+ {
1692
+ if( value ) this._camera = value;
1693
+ return this._camera;
1694
+ };
1695
+
1696
+ DomEvents.prototype.bind = function(object3d, eventName, callback, useCapture)
1697
+ {
1698
+ console.assert( DomEvents.eventNames.indexOf(eventName) !== -1, "not available events:"+eventName );
1699
+
1700
+ if( !this._objectCtxIsInit(object3d) ) this._objectCtxInit(object3d);
1701
+ var objectCtx = this._objectCtxGet(object3d);
1702
+ if( !objectCtx[eventName+'Handlers'] ) objectCtx[eventName+'Handlers'] = [];
1703
+
1704
+ objectCtx[eventName+'Handlers'].push({
1705
+ callback : callback,
1706
+ useCapture : useCapture
1707
+ });
1708
+
1709
+ // add this object in this._boundObjs
1710
+ if( this._boundObjs[eventName] === undefined ){
1711
+ this._boundObjs[eventName] = [];
1712
+ }
1713
+ this._boundObjs[eventName].push(object3d);
1714
+ };
1715
+ DomEvents.prototype.addEventListener = DomEvents.prototype.bind;
1716
+
1717
+ DomEvents.prototype.unbind = function(object3d, eventName, callback, useCapture)
1718
+ {
1719
+ console.assert( DomEvents.eventNames.indexOf(eventName) !== -1, "not available events:"+eventName );
1720
+
1721
+ if( !this._objectCtxIsInit(object3d) ) this._objectCtxInit(object3d);
1722
+
1723
+ var objectCtx = this._objectCtxGet(object3d);
1724
+ if( !objectCtx[eventName+'Handlers'] ) objectCtx[eventName+'Handlers'] = [];
1725
+
1726
+ var handlers = objectCtx[eventName+'Handlers'];
1727
+ for(var i = 0; i < handlers.length; i++){
1728
+ var handler = handlers[i];
1729
+ if( callback != handler.callback ) continue;
1730
+ if( useCapture != handler.useCapture ) continue;
1731
+ handlers.splice(i, 1);
1732
+ break;
1733
+ }
1734
+ // from this object from this._boundObjs
1735
+ var index = this._boundObjs[eventName].indexOf(object3d);
1736
+ console.assert( index !== -1 );
1737
+ this._boundObjs[eventName].splice(index, 1);
1738
+ };
1739
+ DomEvents.prototype.removeEventListener = DomEvents.prototype.unbind;
1740
+
1741
+ DomEvents.prototype._bound = function(eventName, object3d)
1742
+ {
1743
+ var objectCtx = this._objectCtxGet(object3d);
1744
+ if( !objectCtx ) return false;
1745
+ return objectCtx[eventName+'Handlers'] ? true : false;
1746
+ };
1747
+
1748
+ /********************************************************************************/
1749
+ /* onMove */
1750
+ /********************************************************************************/
1751
+
1752
+ // # handle mousemove kind of events
1753
+
1754
+ DomEvents.prototype._onMove = function(eventName, mouseX, mouseY, origDomEvent)
1755
+ {
1756
+ // console.log('eventName', eventName, 'boundObjs', this._boundObjs[eventName])
1757
+ // get objects bound to this event
1758
+ var boundObjs = this._boundObjs[eventName];
1759
+ if( boundObjs === undefined || boundObjs.length === 0 ) return;
1760
+ // compute the intersection
1761
+ var vector = new THREE__namespace.Vector2();
1762
+
1763
+ // update the picking ray with the camera and mouse position
1764
+ vector.set( mouseX, mouseY );
1765
+ this._raycaster.setFromCamera( vector, this._camera );
1766
+
1767
+ var intersects = this._raycaster.intersectObjects( boundObjs );
1768
+
1769
+ var oldSelected = this._selected;
1770
+
1771
+ if( intersects.length > 0 ){
1772
+ var notifyOver; var notifyOut; var notifyMove;
1773
+ var intersect = intersects[ 0 ];
1774
+ var newSelected = intersect.object;
1775
+ this._selected = newSelected;
1776
+ // if newSelected bound mousemove, notify it
1777
+ notifyMove = this._bound('mousemove', newSelected);
1778
+
1779
+ if( oldSelected != newSelected ){
1780
+ // if newSelected bound mouseenter, notify it
1781
+ notifyOver = this._bound('mouseover', newSelected);
1782
+ // if there is a oldSelect and oldSelected bound mouseleave, notify it
1783
+ notifyOut = oldSelected && this._bound('mouseout', oldSelected);
1784
+ }
1785
+ }else {
1786
+ // if there is a oldSelect and oldSelected bound mouseleave, notify it
1787
+ notifyOut = oldSelected && this._bound('mouseout', oldSelected);
1788
+ this._selected = null;
1789
+ }
1790
+
1791
+
1792
+ // notify mouseMove - done at the end with a copy of the list to allow callback to remove handlers
1793
+ notifyMove && this._notify('mousemove', newSelected, origDomEvent, intersect);
1794
+ // notify mouseEnter - done at the end with a copy of the list to allow callback to remove handlers
1795
+ notifyOver && this._notify('mouseover', newSelected, origDomEvent, intersect);
1796
+ // notify mouseLeave - done at the end with a copy of the list to allow callback to remove handlers
1797
+ notifyOut && this._notify('mouseout' , oldSelected, origDomEvent, intersect);
1798
+ };
1799
+
1800
+ /********************************************************************************/
1801
+ /* onEvent */
1802
+ /********************************************************************************/
1803
+
1804
+ // # handle click kind of events
1805
+
1806
+ DomEvents.prototype._onEvent = function(eventName, mouseX, mouseY, origDomEvent)
1807
+ {
1808
+ // console.log('eventName', eventName, 'boundObjs', this._boundObjs[eventName])
1809
+ // get objects bound to this event
1810
+ var boundObjs = this._boundObjs[eventName];
1811
+ if( boundObjs === undefined || boundObjs.length === 0 ) return;
1812
+ // compute the intersection
1813
+ var vector = new THREE__namespace.Vector2();
1814
+
1815
+ // update the picking ray with the camera and mouse position
1816
+ vector.set( mouseX, mouseY );
1817
+ this._raycaster.setFromCamera( vector, this._camera );
1818
+
1819
+ var intersects = this._raycaster.intersectObjects( boundObjs, true );
1820
+ // if there are no intersections, return now
1821
+ if( intersects.length === 0 ) return;
1822
+ // init some variables
1823
+ var intersect = intersects[0];
1824
+ var object3d = intersect.object;
1825
+ var objectCtx = this._objectCtxGet(object3d);
1826
+ var objectParent = object3d.parent;
1827
+
1828
+ while ( typeof(objectCtx) === 'undefined' && objectParent )
1829
+ {
1830
+ objectCtx = this._objectCtxGet(objectParent);
1831
+ objectParent = objectParent.parent;
1832
+ }
1833
+ if( !objectCtx ) return;
1834
+
1835
+ // notify handlers
1836
+ this._notify(eventName, object3d, origDomEvent, intersect);
1837
+ };
1838
+
1839
+ DomEvents.prototype._notify = function(eventName, object3d, origDomEvent, intersect)
1840
+ {
1841
+ var objectCtx = this._objectCtxGet(object3d);
1842
+ var handlers = objectCtx ? objectCtx[eventName+'Handlers'] : null;
1843
+
1844
+ // parameter check
1845
+ console.assert(arguments.length === 4);
1846
+
1847
+ // do bubbling
1848
+ if( !objectCtx || !handlers || handlers.length === 0 ){
1849
+ object3d.parent && this._notify(eventName, object3d.parent, origDomEvent, intersect);
1850
+ return;
1851
+ }
1852
+
1853
+ // notify all handlers
1854
+ var handlers = objectCtx[eventName+'Handlers'];
1855
+ for(var i = 0; i < handlers.length; i++){
1856
+ var handler = handlers[i];
1857
+ var toPropagate = true;
1858
+ handler.callback({
1859
+ type : eventName,
1860
+ target : object3d,
1861
+ origDomEvent : origDomEvent,
1862
+ intersect : intersect,
1863
+ stopPropagation : function(){
1864
+ toPropagate = false;
1865
+ }
1866
+ });
1867
+ if( !toPropagate ) continue;
1868
+ // do bubbling
1869
+ if( handler.useCapture === false ){
1870
+ object3d.parent && this._notify(eventName, object3d.parent, origDomEvent, intersect);
1871
+ }
1872
+ }
1873
+ };
1874
+
1875
+ /********************************************************************************/
1876
+ /* handle mouse events */
1877
+ /********************************************************************************/
1878
+ // # handle mouse events
1879
+
1880
+ DomEvents.prototype._onMouseDown = function(event){ return this._onMouseEvent('mousedown', event); };
1881
+ DomEvents.prototype._onMouseUp = function(event){ return this._onMouseEvent('mouseup' , event); };
1882
+
1883
+
1884
+ DomEvents.prototype._onMouseEvent = function(eventName, domEvent)
1885
+ {
1886
+ var mouseCoords = this._getRelativeMouseXY(domEvent);
1887
+ this._onEvent(eventName, mouseCoords.x, mouseCoords.y, domEvent);
1888
+ };
1889
+
1890
+ DomEvents.prototype._onMouseMove = function(domEvent)
1891
+ {
1892
+ var mouseCoords = this._getRelativeMouseXY(domEvent);
1893
+ this._onMove('mousemove', mouseCoords.x, mouseCoords.y, domEvent);
1894
+ this._onMove('mouseover', mouseCoords.x, mouseCoords.y, domEvent);
1895
+ this._onMove('mouseout' , mouseCoords.x, mouseCoords.y, domEvent);
1896
+ };
1897
+
1898
+ DomEvents.prototype._onClick = function(event)
1899
+ {
1900
+ // TODO handle touch ?
1901
+ this._onMouseEvent('click' , event);
1902
+ };
1903
+ DomEvents.prototype._onDblClick = function(event)
1904
+ {
1905
+ // TODO handle touch ?
1906
+ this._onMouseEvent('dblclick' , event);
1907
+ };
1908
+
1909
+ DomEvents.prototype._onContextmenu = function(event)
1910
+ {
1911
+ // TODO don't have a clue about how this should work with touch..
1912
+ this._onMouseEvent('contextmenu' , event);
1913
+ };
1914
+
1915
+ /********************************************************************************/
1916
+ /* handle touch events */
1917
+ /********************************************************************************/
1918
+ // # handle touch events
1919
+
1920
+
1921
+ DomEvents.prototype._onTouchStart = function(event){ return this._onTouchEvent('touchstart', event); };
1922
+ DomEvents.prototype._onTouchEnd = function(event){ return this._onTouchEvent('touchend' , event); };
1923
+
1924
+ DomEvents.prototype._onTouchMove = function(domEvent)
1925
+ {
1926
+ if( domEvent.touches.length != 1 ) return undefined;
1927
+
1928
+ domEvent.preventDefault();
1929
+
1930
+ var mouseX = Number(domEvent.touches[ 0 ].pageX / window.innerWidth) * 2 - 1;
1931
+ var mouseY = -(domEvent.touches[ 0 ].pageY / window.innerHeight) * 2 + 1;
1932
+ this._onMove('mousemove', mouseX, mouseY, domEvent);
1933
+ this._onMove('mouseover', mouseX, mouseY, domEvent);
1934
+ this._onMove('mouseout' , mouseX, mouseY, domEvent);
1935
+ };
1936
+
1937
+ DomEvents.prototype._onTouchEvent = function(eventName, domEvent)
1938
+ {
1939
+ if( domEvent.touches.length != 1 ) return undefined;
1940
+
1941
+ domEvent.preventDefault();
1942
+
1943
+ var mouseX = Number(domEvent.touches[ 0 ].pageX / window.innerWidth) * 2 - 1;
1944
+ var mouseY = -(domEvent.touches[ 0 ].pageY / window.innerHeight) * 2 + 1;
1945
+ this._onEvent(eventName, mouseX, mouseY, domEvent);
1946
+ };
1947
+
1948
+ /**
1949
+ * 判断对象是否为`null`或`undefined`。
1950
+ * @param
1951
+ * @return
1952
+ */
1953
+ /**
1954
+ * 判断对象不为`null`或`undefined`。
1955
+ */
1956
+ function notNil(value) {
1957
+ return value !== null && value !== undefined;
1958
+ }
1959
+
1960
+ class BaseController {
1961
+ constructor(camera, model, originObject3D, helperObject3D, container, scene, needsRender) {
1962
+ Object.defineProperty(this, "hooks", {
1963
+ enumerable: true,
1964
+ configurable: true,
1965
+ writable: true,
1966
+ value: new Subscribe()
1967
+ });
1968
+ Object.defineProperty(this, "helperObject3D", {
1969
+ enumerable: true,
1970
+ configurable: true,
1971
+ writable: true,
1972
+ value: void 0
1973
+ });
1974
+ Object.defineProperty(this, "originObject3D", {
1975
+ enumerable: true,
1976
+ configurable: true,
1977
+ writable: true,
1978
+ value: void 0
1979
+ });
1980
+ Object.defineProperty(this, "camera", {
1981
+ enumerable: true,
1982
+ configurable: true,
1983
+ writable: true,
1984
+ value: void 0
1985
+ });
1986
+ Object.defineProperty(this, "model", {
1987
+ enumerable: true,
1988
+ configurable: true,
1989
+ writable: true,
1990
+ value: void 0
1991
+ });
1992
+ Object.defineProperty(this, "scene", {
1993
+ enumerable: true,
1994
+ configurable: true,
1995
+ writable: true,
1996
+ value: void 0
1997
+ });
1998
+ Object.defineProperty(this, "container", {
1999
+ enumerable: true,
2000
+ configurable: true,
2001
+ writable: true,
2002
+ value: void 0
2003
+ });
2004
+ Object.defineProperty(this, "domEvents", {
2005
+ enumerable: true,
2006
+ configurable: true,
2007
+ writable: true,
2008
+ value: void 0
2009
+ });
2010
+ Object.defineProperty(this, "isDragging", {
2011
+ enumerable: true,
2012
+ configurable: true,
2013
+ writable: true,
2014
+ value: false
2015
+ });
2016
+ Object.defineProperty(this, "needsRender", {
2017
+ enumerable: true,
2018
+ configurable: true,
2019
+ writable: true,
2020
+ value: void 0
2021
+ });
2022
+ Object.defineProperty(this, "enabled", {
2023
+ enumerable: true,
2024
+ configurable: true,
2025
+ writable: true,
2026
+ value: false
2027
+ });
2028
+ Object.defineProperty(this, "onWantsTapGesture", {
2029
+ enumerable: true,
2030
+ configurable: true,
2031
+ writable: true,
2032
+ value: (raycaster) => {
2033
+ const selectedObject = this.getIntersectObject(raycaster);
2034
+ if (selectedObject)
2035
+ return false;
2036
+ return;
2037
+ }
2038
+ });
2039
+ this.camera = camera;
2040
+ this.model = model;
2041
+ this.originObject3D = originObject3D;
2042
+ this.helperObject3D = helperObject3D;
2043
+ this.container = container;
2044
+ this.scene = scene;
2045
+ this.domEvents = new DomEvents(camera, container);
2046
+ this.needsRender = needsRender !== null && needsRender !== void 0 ? needsRender : (() => { });
2047
+ this.updateHelperPosition();
2048
+ this.enable();
2049
+ }
2050
+ enable() {
2051
+ if (this.enabled)
2052
+ return;
2053
+ this.enabled = true;
2054
+ this.scene.add(this.helperObject3D);
2055
+ this.needsRender();
2056
+ }
2057
+ disable() {
2058
+ if (!this.enabled)
2059
+ return;
2060
+ this.enabled = false;
2061
+ this.scene.remove(this.helperObject3D);
2062
+ this.needsRender();
2063
+ }
2064
+ show() {
2065
+ this.helperObject3D.visible = true;
2066
+ this.needsRender();
2067
+ }
2068
+ hide() {
2069
+ this.helperObject3D.visible = false;
2070
+ this.needsRender();
2071
+ }
2072
+ dispose() {
2073
+ this.scene.remove(this.helperObject3D);
2074
+ this.helperObject3D.dispose();
2075
+ }
2076
+ updateHelperPosition() {
2077
+ this.helperObject3D.updatePosition();
2078
+ }
2079
+ setHelperPosition(position) {
2080
+ this.helperObject3D.setPosition(position);
2081
+ }
2082
+ setHelperMatrix4(matrix4, origin) {
2083
+ this.helperObject3D.updateMatrix4(matrix4, origin);
2084
+ }
2085
+ setHelperQuaternion(quaternion, origin) {
2086
+ this.helperObject3D.updateQuaternion(quaternion, origin);
2087
+ }
2088
+ setHelperScaleMatrix4(matrix4, params) {
2089
+ this.helperObject3D.setHelperScaleMatrix4(matrix4, params);
2090
+ }
2091
+ onWantsGesture(type, pointers, final) {
2092
+ if (this.isDragging)
2093
+ return false;
2094
+ }
2095
+ hoverListener(object3D, hoverColor = 0xffffff, hoverOpacity = 1) {
2096
+ const objects = (Array.isArray(object3D) ? object3D : [object3D]).filter(notNil);
2097
+ const disposers = [];
2098
+ for (const object of objects) {
2099
+ if (object instanceof THREE__namespace.Mesh || object instanceof THREE__namespace.Group) {
2100
+ const meshes = object instanceof THREE__namespace.Group ? object.children.filter((child) => child instanceof THREE__namespace.Mesh) : [object];
2101
+ meshes.forEach((mesh) => {
2102
+ mesh['__originalColor__'] = mesh.material.color.clone();
2103
+ mesh['__originalOpacity__'] = mesh.material.opacity;
2104
+ });
2105
+ const setHoverColor = () => {
2106
+ meshes.forEach((mesh) => {
2107
+ mesh.material.color.set(hoverColor);
2108
+ mesh.material.opacity = hoverOpacity;
2109
+ });
2110
+ this.needsRender();
2111
+ };
2112
+ const resetColor = () => {
2113
+ meshes.forEach((mesh) => {
2114
+ mesh.material.color.copy(mesh['__originalColor__']);
2115
+ mesh.material.opacity = mesh['__originalOpacity__'];
2116
+ });
2117
+ this.needsRender();
2118
+ };
2119
+ const handleMouseover = () => {
2120
+ if (this.isDragging)
2121
+ return;
2122
+ setHoverColor();
2123
+ };
2124
+ const handleMouseout = () => {
2125
+ if (this.isDragging)
2126
+ return;
2127
+ resetColor();
2128
+ };
2129
+ for (const mesh of meshes) {
2130
+ this.domEvents.addEventListener(mesh, 'mouseover', handleMouseover);
2131
+ this.domEvents.addEventListener(mesh, 'mouseout', handleMouseout);
2132
+ this.hooks.on('moveStart', setHoverColor);
2133
+ this.hooks.on('moveEnd', resetColor);
2134
+ this.hooks.on('rotateEnd', resetColor);
2135
+ disposers.push(() => {
2136
+ this.domEvents.removeEventListener(mesh, 'mouseover', handleMouseover);
2137
+ this.domEvents.removeEventListener(mesh, 'mouseout', handleMouseout);
2138
+ this.hooks.off('moveStart', setHoverColor);
2139
+ this.hooks.off('moveEnd', resetColor);
2140
+ this.hooks.off('rotateEnd', resetColor);
2141
+ });
2142
+ }
2143
+ }
2144
+ }
2145
+ return () => disposers.forEach((disposer) => disposer === null || disposer === void 0 ? void 0 : disposer());
2146
+ }
2147
+ getIntersectObject(raycaster) {
2148
+ const cameraPosition = this.camera.position;
2149
+ const object = this.helperObject3D;
2150
+ // 如果当前没有模型,则不存在模型被点击
2151
+ if (!object)
2152
+ return undefined;
2153
+ // 如果存在模型,需要判断模型与射线的交点和 model 与射线的交点的远近
2154
+ let objectIntersection;
2155
+ const intersection = raycaster.intersectObject(object, true)[0];
2156
+ if (!intersection)
2157
+ return undefined;
2158
+ objectIntersection = intersection;
2159
+ objectIntersection.object = object;
2160
+ if (!objectIntersection)
2161
+ return undefined;
2162
+ // 如果 five model intersection 更近,返回 undefined
2163
+ if (this.model['intersectRaycaster']) {
2164
+ const modelIntersection = this.model.intersectRaycaster(raycaster)[0];
2165
+ if (modelIntersection && modelIntersection.point.distanceTo(cameraPosition) < objectIntersection.point.distanceTo(cameraPosition))
2166
+ return undefined;
2167
+ }
2168
+ return objectIntersection.object;
2169
+ }
2170
+ }
2171
+
2172
+ class MoveController extends BaseController {
2173
+ constructor(...params) {
2174
+ super(...params);
2175
+ Object.defineProperty(this, "startInfo", {
2176
+ enumerable: true,
2177
+ configurable: true,
2178
+ writable: true,
2179
+ value: void 0
2180
+ });
2181
+ // add hover listener
2182
+ const helper = this.helperObject3D;
2183
+ this.hoverListener([helper.xArrow, helper.yArrow, helper.zArrow]);
2184
+ const dragStart = this.dragStart.bind(this);
2185
+ const dragging = this.dragging.bind(this);
2186
+ const dragEnd = this.dragEnd.bind(this);
2187
+ this.domEvents.addEventListener(this.helperObject3D, 'mousedown', dragStart);
2188
+ document.addEventListener('mousemove', dragging);
2189
+ document.addEventListener('mouseup', dragEnd);
2190
+ }
2191
+ /**
2192
+ * @description: 拖动开始,找出拖的Direction
2193
+ */
2194
+ dragStart(params) {
2195
+ if (this.isDragging)
2196
+ return;
2197
+ const intersect = params === null || params === void 0 ? void 0 : params.intersect;
2198
+ if (!intersect)
2199
+ return this.dragEnd();
2200
+ const draggingDirection = (intersect === null || intersect === void 0 ? void 0 : intersect.object).direction;
2201
+ if (!draggingDirection)
2202
+ return this.dragEnd();
2203
+ const directionX = new THREE__namespace.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion);
2204
+ const directionY = new THREE__namespace.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion);
2205
+ const directionZ = new THREE__namespace.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion);
2206
+ const directionVector = (() => {
2207
+ switch (draggingDirection) {
2208
+ case 'x':
2209
+ return directionX;
2210
+ case 'y':
2211
+ return directionY;
2212
+ case 'z':
2213
+ return directionZ;
2214
+ }
2215
+ })();
2216
+ const planeNormal = (() => {
2217
+ switch (draggingDirection) {
2218
+ case 'x':
2219
+ return directionZ;
2220
+ case 'y':
2221
+ return directionZ;
2222
+ case 'z':
2223
+ return directionX;
2224
+ }
2225
+ })();
2226
+ const startIntersect = intersect.point.clone();
2227
+ const plane = new THREE__namespace.Plane();
2228
+ plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
2229
+ this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
2230
+ // 隐藏其他箭头
2231
+ this.helperObject3D.hide(...['x', 'y', 'z'].filter((direction) => direction !== draggingDirection));
2232
+ this.hooks.emit('moveStart');
2233
+ this.isDragging = true;
2234
+ console.log('%c MoveController dragStart', 'color: #e5af2e');
2235
+ }
2236
+ dragging(point) {
2237
+ if (!this.isDragging)
2238
+ return;
2239
+ if (!this.startInfo)
2240
+ return;
2241
+ const ray = getMouseRaycaster(this.camera, point, this.container);
2242
+ if (!ray)
2243
+ return this.dragEnd();
2244
+ console.log(`%c RotateController dragging`, 'color: #49de1b');
2245
+ this.move(ray);
2246
+ return false;
2247
+ }
2248
+ move(raycaster) {
2249
+ if (!this.startInfo)
2250
+ return this.dragEnd();
2251
+ const { plane, directionVector, startVectorProject } = this.startInfo;
2252
+ const object = this.originObject3D;
2253
+ const planeIntersection = raycaster.ray.intersectPlane(plane, new THREE__namespace.Vector3());
2254
+ if (!planeIntersection)
2255
+ return;
2256
+ const currentVectorProject = planeIntersection.clone().projectOnVector(directionVector);
2257
+ const offsetVector = currentVectorProject.clone().sub(startVectorProject);
2258
+ // 移动transform
2259
+ const transform = new THREE__namespace.Matrix4();
2260
+ transform.setPosition(offsetVector);
2261
+ object.applyMatrix4(transform);
2262
+ this.helperObject3D.applyMatrix4(transform);
2263
+ startVectorProject.copy(currentVectorProject);
2264
+ this.hooks.emit('positionUpdate', { matrix4: transform });
2265
+ }
2266
+ dragEnd() {
2267
+ if (!this.isDragging)
2268
+ return;
2269
+ console.log('%c MoveController dragEnd', 'color: #e94e4e');
2270
+ // 拖动结束,重置currentDraggingDirection
2271
+ this.startInfo = undefined;
2272
+ this.isDragging = false;
2273
+ // 显示所有箭头
2274
+ this.helperObject3D.show();
2275
+ this.hooks.emit('moveEnd');
2276
+ return;
2277
+ }
2278
+ }
2279
+
2280
+ class ControllerWrapper {
2281
+ constructor(five, HelperController, object, helperObjects) {
2282
+ Object.defineProperty(this, "helperController", {
2283
+ enumerable: true,
2284
+ configurable: true,
2285
+ writable: true,
2286
+ value: void 0
2287
+ });
2288
+ Object.defineProperty(this, "five", {
2289
+ enumerable: true,
2290
+ configurable: true,
2291
+ writable: true,
2292
+ value: void 0
2293
+ });
2294
+ Object.defineProperty(this, "onFiveWantsTapGesture", {
2295
+ enumerable: true,
2296
+ configurable: true,
2297
+ writable: true,
2298
+ value: (params) => {
2299
+ if (!this.helperController)
2300
+ return;
2301
+ const result = this.helperController.onWantsTapGesture(params);
2302
+ this.five.needsRender = true;
2303
+ return result;
2304
+ }
2305
+ });
2306
+ Object.defineProperty(this, "onFiveWantsGesture", {
2307
+ enumerable: true,
2308
+ configurable: true,
2309
+ writable: true,
2310
+ value: (...params) => {
2311
+ if (!this.helperController)
2312
+ return;
2313
+ const result = this.helperController.onWantsGesture(...params);
2314
+ this.five.needsRender = true;
2315
+ return result;
2316
+ }
2317
+ });
2318
+ const { camera, model, scene } = five;
2319
+ const container = five.getElement();
2320
+ this.five = five;
2321
+ if (!camera || !model || !container || !scene)
2322
+ return;
2323
+ const needsRender = () => {
2324
+ five.needsRender = true;
2325
+ };
2326
+ // TODO: 是否要改为绑定
2327
+ this.helperController = new HelperController(camera, model, object, helperObjects, container, scene, needsRender);
2328
+ five.on('wantsTapGesture', this.onFiveWantsTapGesture);
2329
+ five.on('wantsGesture', this.onFiveWantsGesture);
2330
+ }
2331
+ }
2332
+
2333
+ const VERSION$1 = 'v1.0.0';
2334
+ const NAME = 'Object3DHelper';
2335
+ const NAMEVERSION = `${NAME}@${VERSION$1}`;
2336
+ const disposedErrorLog = () => {
2337
+ console.error(`${NAMEVERSION} is disposed`);
2338
+ };
2339
+ const disableWarnLog = () => {
2340
+ console.warn(`${NAMEVERSION} is disabled`);
2341
+ };
2342
+ const disableErrorLog = () => {
2343
+ console.error(`${NAMEVERSION} is disabled`);
2344
+ };
2345
+ class Object3DHelper {
2346
+ constructor(controllers, helpers) {
2347
+ Object.defineProperty(this, "controllers", {
2348
+ enumerable: true,
2349
+ configurable: true,
2350
+ writable: true,
2351
+ value: void 0
2352
+ });
2353
+ Object.defineProperty(this, "state", {
2354
+ enumerable: true,
2355
+ configurable: true,
2356
+ writable: true,
2357
+ value: {
2358
+ visible: true,
2359
+ enabled: true,
2360
+ disposed: false,
2361
+ }
2362
+ });
2363
+ Object.defineProperty(this, "hooks", {
2364
+ enumerable: true,
2365
+ configurable: true,
2366
+ writable: true,
2367
+ value: new Subscribe()
2368
+ });
2369
+ Object.defineProperty(this, "helpers", {
2370
+ enumerable: true,
2371
+ configurable: true,
2372
+ writable: true,
2373
+ value: void 0
2374
+ });
2375
+ Object.defineProperty(this, "eventListener", {
2376
+ enumerable: true,
2377
+ configurable: true,
2378
+ writable: true,
2379
+ value: {}
2380
+ });
2381
+ Object.defineProperty(this, "handlePositionUpdate", {
2382
+ enumerable: true,
2383
+ configurable: true,
2384
+ writable: true,
2385
+ value: (controller, ...positionParams) => {
2386
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2387
+ const [position] = positionParams;
2388
+ const matrix4 = position === null || position === void 0 ? void 0 : position.matrix4;
2389
+ if (matrix4) {
2390
+ if (controller !== this.controllers.moveController)
2391
+ (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.setHelperMatrix4(matrix4);
2392
+ 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);
2395
+ (_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyMatrix4(matrix4);
2396
+ }
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
+ }
2405
+ }
2406
+ });
2407
+ Object.defineProperty(this, "handleScaleUpdate", {
2408
+ enumerable: true,
2409
+ configurable: true,
2410
+ writable: true,
2411
+ value: (controller, ...positionParams) => {
2412
+ var _a, _b;
2413
+ const [params] = positionParams;
2414
+ const matrix4 = params === null || params === void 0 ? void 0 : params.matrix4;
2415
+ if (matrix4) {
2416
+ (_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.setHelperScaleMatrix4(matrix4, params);
2417
+ (_b = this.helpers.outlineHelper) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix4);
2418
+ }
2419
+ }
2420
+ });
2421
+ Object.defineProperty(this, "handleRotateUpdate", {
2422
+ enumerable: true,
2423
+ configurable: true,
2424
+ writable: true,
2425
+ value: (controller, ...rotateParams) => {
2426
+ var _a, _b, _c, _d;
2427
+ const [rotate] = rotateParams;
2428
+ if (rotate) {
2429
+ const { quaternion, origin } = rotate;
2430
+ if (quaternion) {
2431
+ if (controller !== this.controllers.moveController)
2432
+ (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.setHelperQuaternion(quaternion, origin);
2433
+ if (controller !== this.controllers.rotateController)
2434
+ (_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.setHelperQuaternion(quaternion, origin);
2435
+ if (controller !== this.controllers.scaleController)
2436
+ (_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.setHelperQuaternion(quaternion, origin);
2437
+ (_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyQuaternion(quaternion);
2438
+ }
2439
+ }
2440
+ }
2441
+ });
2442
+ this.controllers = controllers !== null && controllers !== void 0 ? controllers : {};
2443
+ this.helpers = helpers !== null && helpers !== void 0 ? helpers : {};
2444
+ }
2445
+ /**
2446
+ * @description Show guide line
2447
+ */
2448
+ async show(options) {
2449
+ this.setState({ visible: true }, options);
2450
+ }
2451
+ /**
2452
+ * @description Hide guide line
2453
+ */
2454
+ async hide(options) {
2455
+ this.setState({ visible: false }, options);
2456
+ }
2457
+ /**
2458
+ * @description Enable
2459
+ */
2460
+ enable(options) {
2461
+ this.setState({ enabled: true }, options);
2462
+ }
2463
+ /**
2464
+ * @description Disable
2465
+ */
2466
+ disable(options) {
2467
+ this.setState({ enabled: false }, options);
2468
+ }
2469
+ /**
2470
+ * @description Dispose
2471
+ */
2472
+ dispose() {
2473
+ this.setState({ disposed: true });
2474
+ }
2475
+ setState(state, options) {
2476
+ if (this.state.disposed)
2477
+ return disposedErrorLog();
2478
+ if (!this.state.enabled) {
2479
+ // when plugin is disabled, only can change enabled or disposed to true
2480
+ if (state.enabled !== true && state.disposed !== true)
2481
+ return disableErrorLog();
2482
+ }
2483
+ const prevState = Object.assign({}, this.state);
2484
+ this.state = Object.assign(Object.assign({}, this.state), state);
2485
+ if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
2486
+ if (state.disposed)
2487
+ this.handleDispose();
2488
+ }
2489
+ if (state.visible !== undefined && state.visible !== prevState.visible) {
2490
+ this.handleVisible(state.visible);
2491
+ }
2492
+ if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
2493
+ this.handleEnable(state.enabled);
2494
+ }
2495
+ this.hooks.emit('stateChange', { state: this.state, prevState });
2496
+ }
2497
+ addControllers(controllers) {
2498
+ this.controllers = Object.assign(Object.assign({}, this.controllers), controllers);
2499
+ this.addEventListener();
2500
+ }
2501
+ addHelpers(helpers) {
2502
+ this.helpers = Object.assign(Object.assign({}, this.helpers), helpers);
2503
+ }
2504
+ getCurrentState() {
2505
+ return this.state;
2506
+ }
2507
+ addEventListener() {
2508
+ for (const k in this.controllers) {
2509
+ if (!k)
2510
+ continue;
2511
+ const key = k;
2512
+ if (this.eventListener[key])
2513
+ continue;
2514
+ this.eventListener[key] = (() => {
2515
+ const controller = this.controllers[key];
2516
+ if (!controller)
2517
+ return;
2518
+ const handleStart = () => this.handleStart(controller);
2519
+ const handleEnd = () => this.handleEnd(controller);
2520
+ const handlePositionUpdate = (...params) => this.handlePositionUpdate(controller, ...params);
2521
+ const handleRotateUpdate = (...params) => this.handleRotateUpdate(controller, ...params);
2522
+ const handleScaleUpdate = (...params) => this.handleScaleUpdate(controller, ...params);
2523
+ controller.hooks.on('moveStart', handleStart);
2524
+ controller.hooks.on('rotateStart', handleStart);
2525
+ controller.hooks.on('scaleStart', handleStart);
2526
+ controller.hooks.on('positionUpdate', handlePositionUpdate);
2527
+ controller.hooks.on('rotateUpdate', handleRotateUpdate);
2528
+ controller.hooks.on('scaleUpdate', handleScaleUpdate);
2529
+ controller.hooks.on('moveEnd', handleEnd);
2530
+ controller.hooks.on('rotateEnd', handleEnd);
2531
+ controller.hooks.on('scaleEnd', handleEnd);
2532
+ return () => {
2533
+ controller.hooks.off('moveStart', handleStart);
2534
+ controller.hooks.off('rotateStart', handleStart);
2535
+ controller.hooks.off('scaleStart', handleStart);
2536
+ controller.hooks.off('positionUpdate', handlePositionUpdate);
2537
+ controller.hooks.off('rotateUpdate', handleRotateUpdate);
2538
+ controller.hooks.off('scaleUpdate', handleScaleUpdate);
2539
+ controller.hooks.off('moveEnd', handleEnd);
2540
+ controller.hooks.off('rotateEnd', handleEnd);
2541
+ controller.hooks.off('scaleEnd', handleEnd);
2542
+ };
2543
+ })();
2544
+ }
2545
+ }
2546
+ handleEnd(controller) {
2547
+ if (controller)
2548
+ this.setOtherHelpersVisible(true, controller);
2549
+ }
2550
+ handleStart(controller) {
2551
+ if (controller)
2552
+ this.setOtherHelpersVisible(false, controller);
2553
+ }
2554
+ setOtherHelpersVisible(visible, currentController) {
2555
+ var _a, _b, _c, _d;
2556
+ if (!visible) {
2557
+ if (currentController !== this.controllers.moveController)
2558
+ (_a = this.controllers.moveController) === null || _a === void 0 ? void 0 : _a.helperObject3D.hide();
2559
+ if (currentController !== this.controllers.rotateController)
2560
+ (_b = this.controllers.rotateController) === null || _b === void 0 ? void 0 : _b.helperObject3D.hide();
2561
+ // if (currentController !== this.controllers.scaleController) this.controllers.scaleController?.helperObject3D.hide()
2562
+ }
2563
+ else {
2564
+ (_c = this.controllers.moveController) === null || _c === void 0 ? void 0 : _c.helperObject3D.show();
2565
+ (_d = this.controllers.rotateController) === null || _d === void 0 ? void 0 : _d.helperObject3D.show();
2566
+ }
2567
+ }
2568
+ handleEnable(enabled, userAction = true) {
2569
+ console.log({ enabled });
2570
+ if (enabled) {
2571
+ this.everyControllerDo((controller) => controller.enable());
2572
+ this.hooks.emit('enable', { userAction });
2573
+ }
2574
+ else {
2575
+ this.everyControllerDo((controller) => controller.disable());
2576
+ this.hooks.emit('disable', { userAction });
2577
+ }
2578
+ this.state.enabled = enabled;
2579
+ }
2580
+ handleVisible(visible, userAction = true) {
2581
+ console.log({ visible });
2582
+ if (visible) {
2583
+ this.everyControllerDo((controller) => controller.show());
2584
+ this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
2585
+ }
2586
+ else {
2587
+ this.everyControllerDo((controller) => controller.hide());
2588
+ this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
2589
+ }
2590
+ this.state.visible = visible;
2591
+ }
2592
+ everyControllerDo(func) {
2593
+ Object.values(this.controllers).forEach((controller) => {
2594
+ if (controller)
2595
+ func(controller);
2596
+ });
2597
+ }
2598
+ handleDispose() {
2599
+ Object.values(this.controllers).forEach((controller) => {
2600
+ controller === null || controller === void 0 ? void 0 : controller.dispose();
2601
+ });
2602
+ }
2603
+ actionIfStateIsEnabled(func, options) {
2604
+ if (this.state.enabled)
2605
+ return func();
2606
+ else {
2607
+ if (options === null || options === void 0 ? void 0 : options.warnLog)
2608
+ disableWarnLog();
2609
+ }
2610
+ }
2611
+ }
2612
+
2613
+ class RotateController extends BaseController {
2614
+ constructor(...params) {
2615
+ super(...params);
2616
+ Object.defineProperty(this, "startInfo", {
2617
+ enumerable: true,
2618
+ configurable: true,
2619
+ writable: true,
2620
+ value: void 0
2621
+ });
2622
+ Object.defineProperty(this, "lastRotation", {
2623
+ enumerable: true,
2624
+ configurable: true,
2625
+ writable: true,
2626
+ value: void 0
2627
+ });
2628
+ Object.defineProperty(this, "rotations", {
2629
+ enumerable: true,
2630
+ configurable: true,
2631
+ writable: true,
2632
+ value: []
2633
+ });
2634
+ Object.defineProperty(this, "a", {
2635
+ enumerable: true,
2636
+ configurable: true,
2637
+ writable: true,
2638
+ value: void 0
2639
+ });
2640
+ Object.defineProperty(this, "helperObject3DQuaternion", {
2641
+ enumerable: true,
2642
+ configurable: true,
2643
+ writable: true,
2644
+ value: this.helperObject3D.quaternion.clone()
2645
+ });
2646
+ // add hover listener
2647
+ const helper = this.helperObject3D;
2648
+ this.hoverListener([helper.xyCircle, helper.xzCircle, helper.yzCircle]);
2649
+ const dragStart = this.dragStart.bind(this);
2650
+ const dragging = this.dragging.bind(this);
2651
+ const dragEnd = this.dragEnd.bind(this);
2652
+ this.domEvents.addEventListener(this.helperObject3D, 'mousedown', dragStart);
2653
+ document.addEventListener('mousemove', dragging);
2654
+ document.addEventListener('mouseup', dragEnd);
2655
+ }
2656
+ /**
2657
+ * @description: 拖动开始,找出拖的Direction
2658
+ */
2659
+ dragStart(params) {
2660
+ if (this.isDragging)
2661
+ return;
2662
+ const intersect = params === null || params === void 0 ? void 0 : params.intersect;
2663
+ if (!intersect)
2664
+ return this.dragEnd();
2665
+ const direction = (intersect === null || intersect === void 0 ? void 0 : intersect.object).direction;
2666
+ if (!direction)
2667
+ return this.dragEnd();
2668
+ // 检查end
2669
+ this.helperObject3D.updateAngleHelperQuaternion();
2670
+ const startIntersect = intersect.point;
2671
+ const rotateCenter = this.originObject3D.position.clone();
2672
+ const angleHelper = this.getAngleHelper(direction);
2673
+ // init tips
2674
+ this.setTipsAngle(0);
2675
+ const tipsPosition = startIntersect.clone();
2676
+ tipsPosition.y += 0.2;
2677
+ this.setTipsPosition(tipsPosition);
2678
+ // end
2679
+ // 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());
2683
+ const directionVector = (() => {
2684
+ switch (direction) {
2685
+ case 'x':
2686
+ return directionX;
2687
+ case 'y':
2688
+ return directionY;
2689
+ case 'z':
2690
+ return directionZ;
2691
+ }
2692
+ })();
2693
+ const plane = new THREE__namespace.Plane().setFromNormalAndCoplanarPoint(directionVector, startIntersect);
2694
+ // end
2695
+ // init startVectorProject
2696
+ const projectPoint = new THREE__namespace.Vector3();
2697
+ plane.projectPoint(startIntersect.clone(), projectPoint);
2698
+ const startVector = projectPoint.clone().sub(rotateCenter);
2699
+ // end
2700
+ // 计算开始角度
2701
+ const staticStartVector = startVector.clone();
2702
+ const startAngle = startVector.angleTo(angleHelper.baseAxes);
2703
+ this.setAngleHelperStart(direction, startAngle);
2704
+ this.setAngleHelperLength(direction, 0);
2705
+ this.rotations.push({ vector: startVector.clone(), direction: true });
2706
+ // end
2707
+ // this.scene.remove(this.a)
2708
+ // this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
2709
+ // this.scene.add(this.a)
2710
+ this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
2711
+ this.helperObject3D.show(direction);
2712
+ this.hooks.emit('rotateStart');
2713
+ this.isDragging = true;
2714
+ console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
2715
+ }
2716
+ dragging(point) {
2717
+ var _a;
2718
+ if (!this.isDragging)
2719
+ return;
2720
+ const ray = getMouseRaycaster(this.camera, point, this.container);
2721
+ if (!ray)
2722
+ return this.dragEnd();
2723
+ console.log(`%c RotateController dragging ${(_a = this.startInfo) === null || _a === void 0 ? void 0 : _a.direction}`, 'color: #49de1b');
2724
+ this.rotate(ray);
2725
+ return false;
2726
+ }
2727
+ rotate(raycaster) {
2728
+ if (!this.startInfo)
2729
+ return this.dragEnd();
2730
+ const { startVector, plane, angleHelper, staticStartVector, direction } = this.startInfo;
2731
+ const object = this.originObject3D;
2732
+ const currentIntersectPoint = raycaster.ray.intersectPlane(plane, new THREE__namespace.Vector3());
2733
+ if (!currentIntersectPoint)
2734
+ return;
2735
+ const rotateCenter = object.position.clone();
2736
+ const projectPoint = new THREE__namespace.Vector3();
2737
+ plane.projectPoint(currentIntersectPoint.clone(), projectPoint);
2738
+ const currentVector = projectPoint.clone().sub(rotateCenter);
2739
+ // 计算当前角度
2740
+ if (startVector.angleTo(currentVector) === 0)
2741
+ return;
2742
+ if (this.lastRotation === undefined)
2743
+ this.lastRotation = { angle: 0 };
2744
+ if (this.rotations.length === 0)
2745
+ return;
2746
+ const rotationDirection = (() => {
2747
+ if (this.rotations.length === 1) {
2748
+ return currentVector.angleTo(angleHelper.baseAxes) > staticStartVector.angleTo(angleHelper.baseAxes);
2749
+ }
2750
+ else {
2751
+ /**
2752
+ * 通过记录上两次旋转时的vectorEnd和方向,来计算当前旋转的方向
2753
+ */
2754
+ const lr = this.rotations[this.rotations.length - 1]; // last rotation
2755
+ const llr = this.rotations[this.rotations.length - 2]; // last last rotation
2756
+ const currentToLLR = currentVector.angleTo(llr.vector);
2757
+ const currentToLR = currentVector.angleTo(lr.vector);
2758
+ const lrToLLR = lr.vector.angleTo(llr.vector);
2759
+ if (lrToLLR === 0 || currentToLR === 0 || currentToLLR === 0)
2760
+ return;
2761
+ /** example:
2762
+ * 'current lr llr' mains:
2763
+ *
2764
+ * currentVector lr llr
2765
+ * \ | /
2766
+ * \ | /
2767
+ * \ | /
2768
+ * \ | /
2769
+ * \ |/
2770
+ * rotation center
2771
+ *
2772
+ * 1. 如果 currentVector 到 llr 角度大于 currentVector 到 lr 角度,说明当前旋转方向与lr相同
2773
+ * 2. 如果 currentVector 在 llr 和 lr 中间,说明当前旋转方向与lr相反
2774
+ * 3. 如果 currentVector 到 lr 角度大于 currentVector 到 llr 角度,说明当前旋转方向与lr相反
2775
+ */
2776
+ // 1. current lr llr 或 llr lr current
2777
+ if (currentToLLR > currentToLR && currentToLLR > lrToLLR) {
2778
+ return lr.direction;
2779
+ }
2780
+ // 2. lr current llr 或 llr current lr
2781
+ if (currentToLLR < lrToLLR && currentToLR < lrToLLR) {
2782
+ return !lr.direction;
2783
+ }
2784
+ // 3. lr llr current 或 current llr lr
2785
+ if (currentToLLR < currentToLR && currentToLR > lrToLLR) {
2786
+ return !lr.direction;
2787
+ }
2788
+ }
2789
+ return;
2790
+ })();
2791
+ if (rotationDirection === undefined)
2792
+ return console.warn('rotationDirection is undefined');
2793
+ this.rotations.push({ vector: currentVector, direction: rotationDirection });
2794
+ this.rotations = this.rotations.slice(-2); // 只保留后两个
2795
+ this.lastRotation.angle = this.lastRotation.angle + currentVector.angleTo(startVector) * (rotationDirection ? 1 : -1);
2796
+ this.setAngleHelperLength(direction, this.lastRotation.angle);
2797
+ this.setTipsAngle((this.lastRotation.angle / Math.PI) * 180);
2798
+ // end
2799
+ const quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector.clone().normalize(), currentVector.clone().normalize());
2800
+ object.applyQuaternion(quaternion);
2801
+ this.helperObject3D.updateQuaternion(quaternion);
2802
+ this.helperObject3DQuaternion.premultiply(quaternion);
2803
+ this.hooks.emit('rotateUpdate', { quaternion, origin: rotateCenter });
2804
+ this.startInfo.startVector = currentVector;
2805
+ }
2806
+ dragEnd() {
2807
+ if (!this.isDragging)
2808
+ return;
2809
+ console.log('%c RotateController dragEnd', 'color: #e94e4e');
2810
+ // 拖动结束,重置
2811
+ this.startInfo = undefined;
2812
+ this.isDragging = false;
2813
+ this.lastRotation = undefined;
2814
+ this.rotations = [];
2815
+ // 显示所有
2816
+ this.helperObject3D.show();
2817
+ this.hooks.emit('rotateEnd');
2818
+ return;
2819
+ }
2820
+ getAngleHelper(direction) {
2821
+ switch (direction) {
2822
+ case 'x':
2823
+ return this.helperObject3D.xAngleHelper;
2824
+ case 'y':
2825
+ return this.helperObject3D.yAngleHelper;
2826
+ case 'z':
2827
+ return this.helperObject3D.zAngleHelper;
2828
+ }
2829
+ }
2830
+ setAngleHelperStart(direction, start) {
2831
+ const angleHelper = this.getAngleHelper(direction);
2832
+ if (angleHelper instanceof THREE__namespace.Mesh && angleHelper.geometry instanceof THREE__namespace.CircleGeometry) {
2833
+ const { radius, segments, thetaLength } = angleHelper.geometry.parameters;
2834
+ angleHelper.geometry = new THREE__namespace.CircleGeometry(radius, segments, start, thetaLength);
2835
+ }
2836
+ else {
2837
+ console.warn('only support THREE.CircleGeometry');
2838
+ }
2839
+ }
2840
+ setAngleHelperLength(direction, length) {
2841
+ const minLength = 0.001;
2842
+ const thetaLength = length >= 0 ? Math.max(length, minLength) : Math.min(length, -minLength);
2843
+ const angleHelper = this.getAngleHelper(direction);
2844
+ if (angleHelper instanceof THREE__namespace.Mesh && angleHelper.geometry instanceof THREE__namespace.CircleGeometry) {
2845
+ const { radius, thetaStart } = angleHelper.geometry.parameters;
2846
+ const segments = Math.ceil(Math.abs(thetaLength) * (40 / (2 * Math.PI)));
2847
+ angleHelper.geometry = new THREE__namespace.CircleGeometry(radius, segments, thetaStart, thetaLength);
2848
+ }
2849
+ else {
2850
+ console.warn('only support THREE.CircleGeometry');
2851
+ }
2852
+ }
2853
+ setTipsAngle(angle) {
2854
+ var _a;
2855
+ const element = (_a = this.helperObject3D.angleTips) === null || _a === void 0 ? void 0 : _a.element;
2856
+ if (!element)
2857
+ return;
2858
+ element.innerText = `${angle.toFixed(0)}°`;
2859
+ }
2860
+ setTipsPosition(position) {
2861
+ const angleTips = this.helperObject3D.angleTips;
2862
+ if (!angleTips)
2863
+ return;
2864
+ const project = position.project(this.camera);
2865
+ const { x, y, z } = project;
2866
+ if (z > 1)
2867
+ return;
2868
+ const left = ((x + 1) / 2) * 100 + '%';
2869
+ const top = ((-y + 1) / 2) * 100 + '%';
2870
+ angleTips.setLeftTop(left, top);
2871
+ }
2872
+ }
2873
+
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
+ class RectangleScaleController extends BaseController {
2879
+ constructor(...params) {
2880
+ super(...params);
2881
+ Object.defineProperty(this, "startInfo", {
2882
+ enumerable: true,
2883
+ configurable: true,
2884
+ writable: true,
2885
+ value: void 0
2886
+ });
2887
+ }
2888
+ enable() {
2889
+ this.helperObject3D.enable();
2890
+ super.enable();
2891
+ }
2892
+ disable() {
2893
+ this.helperObject3D.disable();
2894
+ super.disable();
2895
+ }
2896
+ show() {
2897
+ this.helperObject3D.show();
2898
+ super.show();
2899
+ }
2900
+ hide() {
2901
+ this.helperObject3D.hide();
2902
+ super.hide();
2903
+ }
2904
+ getDragPlane() {
2905
+ const plane = new THREE__namespace.Plane();
2906
+ // get normal from points
2907
+ const positions = this.helperObject3D.cornerPositions;
2908
+ if (positions.length === 0)
2909
+ return;
2910
+ if (positions.length < 3)
2911
+ plane.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new THREE.Vector3()), positions[0]);
2912
+ else
2913
+ 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
+ return plane;
2919
+ }
2920
+ dragStart(mousePoint, point) {
2921
+ var _a, _b;
2922
+ (_b = (_a = this.helperObject3D).updatePoints) === null || _b === void 0 ? void 0 : _b.call(_a);
2923
+ const plane = this.getDragPlane();
2924
+ if (!plane)
2925
+ return this.dragEnd();
2926
+ this.startInfo = { startPoint: { position: point.position.clone(), direction: point.direction }, plane };
2927
+ this.hooks.emit('scaleStart');
2928
+ this.needsRender();
2929
+ this.isDragging = true;
2930
+ console.log('%c RectangleScaleController dragStart', 'color: #e5af2e');
2931
+ }
2932
+ dragging(point) {
2933
+ if (!this.isDragging)
2934
+ return;
2935
+ const raycaster = getMouseRaycaster(this.camera, point, this.container);
2936
+ if (!raycaster)
2937
+ return this.dragEnd();
2938
+ this.scale(raycaster);
2939
+ console.log('%c RectangleScaleController dragging', 'color: #49de1b');
2940
+ }
2941
+ scale(raycaster) {
2942
+ var _a, _b;
2943
+ if (!this.startInfo)
2944
+ return;
2945
+ const object = this.originObject3D;
2946
+ const { startPoint, plane } = this.startInfo;
2947
+ const cornerPositions = this.helperObject3D.cornerPositions;
2948
+ if (cornerPositions.length < 4)
2949
+ return this.dragEnd();
2950
+ const planeIntersection = raycaster.ray.intersectPlane(plane, new THREE.Vector3());
2951
+ if (!planeIntersection)
2952
+ return;
2953
+ if (vectorIsEqual(planeIntersection, this.camera.position))
2954
+ return;
2955
+ const referencePosition = cornerPositions[0].clone();
2956
+ const planeCenter = new THREE.Vector3().addVectors(cornerPositions[0], cornerPositions[2]).divideScalar(2);
2957
+ 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
2960
+ // eslint-disable-next-line complexity
2961
+ const getScale = (direction) => {
2962
+ const baseVector = (direction === 'ew' ? ewVector : nsVector).clone();
2963
+ const startPositionProject = startPosition.clone().projectOnVector(baseVector);
2964
+ const nowPositionProject = planeIntersection.clone().projectOnVector(baseVector);
2965
+ 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;
2973
+ }
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;
2980
+ }
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;
2991
+ };
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)
3021
+ startPoint.position.copy(planeIntersection);
3022
+ this.hooks.emit('scaleUpdate', { matrix4: scaleMatrix, helperOrigin: planeCenter });
3023
+ // 移动位置
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();
3050
+ }
3051
+ dragEnd() {
3052
+ if (!this.isDragging)
3053
+ return;
3054
+ this.startInfo = undefined;
3055
+ this.isDragging = false;
3056
+ this.hooks.emit('scaleEnd');
3057
+ this.needsRender();
3058
+ console.log('%c RectangleScaleController dragEnd', 'color: #e94e4e');
3059
+ }
3060
+ }
3061
+
3062
+ class CSS3DScaleController extends RectangleScaleController {
3063
+ constructor(...params) {
3064
+ super(...params);
3065
+ this.addHTMLEventListener();
3066
+ }
3067
+ addHTMLEventListener() {
3068
+ this.helperObject3D.points.forEach((startPoint) => {
3069
+ if (!startPoint)
3070
+ return;
3071
+ const element = startPoint.point;
3072
+ const dragStart = (event) => this.dragStart(event, startPoint);
3073
+ const dragging = this.dragging.bind(this);
3074
+ const dragEnd = this.dragEnd.bind(this);
3075
+ element.addEventListener('dragstart', dragStart);
3076
+ element.addEventListener('drag', dragging);
3077
+ element.addEventListener('dragend', dragEnd);
3078
+ });
3079
+ }
3080
+ }
3081
+
3082
+ const VERSION = 'v1.0.0';
3083
+ const PLUGIN_NAME = 'Object3DHelperPlugin';
3084
+ const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
3085
+ const pluginFlag = (name) => `${PLUGIN}--${name}`;
3086
+ class Object3DHelperController extends Object3DHelper {
3087
+ constructor(five) {
3088
+ super();
3089
+ Object.defineProperty(this, "version", {
3090
+ enumerable: true,
3091
+ configurable: true,
3092
+ writable: true,
3093
+ value: VERSION
3094
+ });
3095
+ Object.defineProperty(this, "name", {
3096
+ enumerable: true,
3097
+ configurable: true,
3098
+ writable: true,
3099
+ value: PLUGIN_NAME
3100
+ });
3101
+ Object.defineProperty(this, "five", {
3102
+ enumerable: true,
3103
+ configurable: true,
3104
+ writable: true,
3105
+ value: void 0
3106
+ });
3107
+ this.five = five;
3108
+ Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
3109
+ }
3110
+ /**
3111
+ * @description 添加 helper
3112
+ * @param { THREE.Object3D } object3D 要添加helper的物体
3113
+ * @param { boolean } config.moveHelper 位移helper
3114
+ * @param { boolean } config.rotateHelper 旋转helper
3115
+ * @param { boolean } config.scaleHelper 缩放helper
3116
+ */
3117
+ addObject3DHelper(object3D, config = {}) {
3118
+ var _a;
3119
+ const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
3120
+ const camera = this.five.camera;
3121
+ // 创建空的helperGroup
3122
+ // merge config
3123
+ const { moveHelper = true, rotateHelper = true, scaleHelper = true } = config;
3124
+ // 筛选
3125
+ if (moveHelper) {
3126
+ const moveHelper = new MoveHelper(object3D);
3127
+ const controllerWrapper = new ControllerWrapper(this.five, MoveController, object3D, moveHelper);
3128
+ this.addControllers({ moveController: controllerWrapper.helperController });
3129
+ }
3130
+ if (rotateHelper) {
3131
+ let angleTipsParams;
3132
+ if (container && camera)
3133
+ angleTipsParams = { container };
3134
+ const rotateHelper = new RotateHelper(object3D, angleTipsParams);
3135
+ const controllerWrapper = new ControllerWrapper(this.five, RotateController, object3D, rotateHelper);
3136
+ this.addControllers({ rotateController: controllerWrapper.helperController });
3137
+ }
3138
+ if (scaleHelper) {
3139
+ if (container) {
3140
+ const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
3141
+ const controllerWrapper = new ControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
3142
+ this.addControllers({ scaleController: controllerWrapper.helperController });
3143
+ }
3144
+ }
3145
+ // if (mergeConfig.outlineHelper) {
3146
+ // const outlineHelper = new OutlineHelper(object3D)
3147
+ // helperGroup.add(outlineHelper)
3148
+ // this.totalController.addHelpers({ outlineHelper })
3149
+ // }
3150
+ // this.five.scene.add(helperGroup)
3151
+ }
3152
+ }
3153
+
3154
+ const Object3DHelperPlugin = (five) => new Object3DHelperController(five);
3155
+
3156
+ exports.Object3DHelperController = Object3DHelperController;
3157
+ exports.Object3DHelperPlugin = Object3DHelperPlugin;
3158
+ exports.PLUGIN = PLUGIN;
3159
+ exports.VERSION = VERSION;
3160
+ exports["default"] = Object3DHelperPlugin;
3161
+ exports.pluginFlag = pluginFlag;