@realsee/dnalogel 0.1.3 → 0.1.7-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/components/ARVideoFigure/ARVideoFigureMesh.js +56 -32
  2. package/components/ARVideoFigure/ARVideoFigureScene.js +30 -19
  3. package/components/ARVideoFigure/ImgBgTransparent.js +22 -6
  4. package/components/ARVideoFigure/ImgBgTransparentMesh.js +40 -30
  5. package/components/ARVideoFigure/fragmentShader.js +2 -0
  6. package/components/ARVideoFigure/index.js +22 -6
  7. package/components/ARVideoFigure/vertexShader.js +2 -0
  8. package/components/GLTFView/index.d.ts +123 -0
  9. package/components/GLTFView/index.js +204 -0
  10. package/components/GlassFilters/index.js +25 -1
  11. package/components/ModelView/ModelViewController.js +39 -29
  12. package/components/ModelView/index.js +4 -2
  13. package/components/PaintBrush/index.js +15 -1
  14. package/components/PanoTag/index.js +2 -0
  15. package/data/1aGKl9JmrlXMXx8d.js +2 -0
  16. package/data/54djM0oR6ky3Ey8e.d.ts +55 -0
  17. package/data/54djM0oR6ky3Ey8e.js +350 -0
  18. package/data/6gyq3v1verxD7JO1.js +2 -0
  19. package/data/8054djM0oR6ky3Ey8e.d.ts +55 -0
  20. package/data/8054djM0oR6ky3Ey8e.js +350 -0
  21. package/data/81zxMaeVKLQU93OZMG.d.ts +49 -0
  22. package/data/81zxMaeVKLQU93OZMG.js +633 -0
  23. package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.js +2 -0
  24. package/data/PrXel3aqGbp34JQn.js +141 -1
  25. package/data/XJ6NMLWnkAY3Rdx8.js +2 -0
  26. package/data/YdoNP9K4rwQDwjJr.js +2 -0
  27. package/data/ZLvK29zj4L29Jowd.d.ts +55 -0
  28. package/data/ZLvK29zj4L29Jowd.js +372 -0
  29. package/data/_vLykj3NWrllMrG06.d.ts +95 -0
  30. package/data/_vLykj3NWrllMrG06.js +1 -0
  31. package/data/auto3d-njL5J99VwCmnjtQElOmXQr.js +2 -0
  32. package/data/extrude-walls/ZLvK29zj4L29Jowd.d.ts +5 -0
  33. package/data/extrude-walls/ZLvK29zj4L29Jowd.js +14 -0
  34. package/data/extrude-walls/lo024DEgzanMj5BE.d.ts +5 -0
  35. package/data/extrude-walls/lo024DEgzanMj5BE.js +14 -0
  36. package/data/jd6oMOzPxnQ3BvxY_B7yw51J9rXlhYhjhGTOgRVqu6WeEqjNX.js +2 -0
  37. package/data/lo024DEgzanMj5BE.d.ts +55 -0
  38. package/data/lo024DEgzanMj5BE.js +966 -0
  39. package/data/oPzy3ApbjjpD8YdR.js +2 -0
  40. package/data/qjAxMG4XbPn96wKG.js +2 -0
  41. package/data/rXel3aPQRRBD4JQn.js +2 -0
  42. package/data/vLykj3NWrllMrG06.js +337 -71
  43. package/data/wz0QV9KA4ugyo9ME.js +2 -0
  44. package/data/zxMawr9raSg8LYjG.js +2 -0
  45. package/examples/FiveStateController/index.js +9 -15
  46. package/examples/VRHouse/Mobile.js +15 -1
  47. package/examples/VRHouse/PC.js +15 -1
  48. package/examples/VRHouse/index.js +15 -1
  49. package/index.js +4 -2
  50. package/libs/gltf-viewer/Subscribe.d.ts +76 -0
  51. package/libs/gltf-viewer/Subscribe.js +231 -0
  52. package/libs/gltf-viewer/coordsMoveByOffset.d.ts +13 -0
  53. package/libs/gltf-viewer/coordsMoveByOffset.js +22 -0
  54. package/libs/gltf-viewer/coordsToDirection.d.ts +5 -0
  55. package/{components/PBRView/index.js → libs/gltf-viewer/coordsToDirection.js} +29 -19
  56. package/libs/gltf-viewer/formatRad.d.ts +1 -0
  57. package/libs/gltf-viewer/formatRad.js +13 -0
  58. package/libs/gltf-viewer/getFrameTime.d.ts +1 -0
  59. package/libs/gltf-viewer/getFrameTime.js +28 -0
  60. package/libs/gltf-viewer/index.d.ts +79 -0
  61. package/libs/gltf-viewer/index.js +765 -0
  62. package/libs/gltf-viewer/mouseWheel.d.ts +2 -0
  63. package/libs/gltf-viewer/mouseWheel.js +59 -0
  64. package/libs/gltf-viewer/requestAnimationFrame.d.ts +1 -0
  65. package/libs/gltf-viewer/requestAnimationFrame.js +18 -0
  66. package/libs/gltf-viewer/requestAnimationFrameInterval.d.ts +1 -0
  67. package/libs/gltf-viewer/requestAnimationFrameInterval.js +31 -0
  68. package/libs/gltf-viewer/uuid.d.ts +4 -0
  69. package/libs/gltf-viewer/uuid.js +28 -0
  70. package/package.json +8 -4
  71. package/plugins/AutoPreloadPlugin/index.js +26 -0
  72. package/plugins/CSS3DRenderPlugin/components/Marker/index.js +24 -16
  73. package/plugins/CSS3DRenderPlugin/index.js +45 -12
  74. package/plugins/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +7 -0
  75. package/plugins/CSS3DRenderPlugin/utils/createResizeObserver.js +34 -0
  76. package/plugins/CameraMovementPlugin/index.js +33 -9
  77. package/plugins/CameraMovementPlugin/typing.js +2 -0
  78. package/plugins/ModelChassisCompassPlugin/index.d.ts +1 -1
  79. package/plugins/ModelChassisCompassPlugin/index.js +25 -10
  80. package/plugins/ModelEntryDoorGuidePlugin/index.d.ts +6 -2
  81. package/plugins/ModelEntryDoorGuidePlugin/index.js +55 -28
  82. package/plugins/ModelExtrudeWallsPlugin/index.d.ts +16 -0
  83. package/plugins/ModelExtrudeWallsPlugin/index.js +252 -0
  84. package/plugins/ModelRoomLabelPlugin/Controller.js +30 -23
  85. package/plugins/ModelRoomLabelPlugin/RoomLabelItem.js +26 -8
  86. package/plugins/ModelRoomLabelPlugin/RoomLabelItems.js +35 -25
  87. package/plugins/ModelRoomLabelPlugin/index.d.ts +4 -0
  88. package/plugins/ModelRoomLabelPlugin/index.js +9 -2
  89. package/plugins/ModelRoomLabelPlugin/typings.js +2 -0
  90. package/plugins/ModelRoomLabelPlugin/utils/parseData.js +6 -0
  91. package/plugins/ModelTVVideoPlugin/index.js +100 -16
  92. package/plugins/ModelViewPlugin/index.js +25 -1
  93. package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.js +29 -25
  94. package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.js +15 -1
  95. package/plugins/PanoCursorRaycasterPlugin/index.js +13 -6
  96. package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.js +4 -2
  97. package/plugins/PanoCursorRaycasterPlugin/utils/createLine.js +15 -1
  98. package/plugins/PanoDoorLabelPlugin/index.js +2 -0
  99. package/plugins/PanoIRobotPlugin/index.js +2 -0
  100. package/plugins/PanoMaskSelectorPlugin/compare.js +2 -0
  101. package/plugins/PanoMaskSelectorPlugin/createBox.js +22 -1
  102. package/plugins/PanoMaskSelectorPlugin/createTextures.js +17 -1
  103. package/plugins/PanoMaskSelectorPlugin/fragmentShader.js +2 -0
  104. package/plugins/PanoMaskSelectorPlugin/index.js +106 -18
  105. package/plugins/PanoMaskSelectorPlugin/vertexShader.js +2 -0
  106. package/plugins/PanoMeasurePlugin/Controller/BaseController.d.ts +36 -0
  107. package/plugins/PanoMeasurePlugin/Controller/BaseController.js +103 -0
  108. package/plugins/PanoMeasurePlugin/Controller/EditController.d.ts +52 -0
  109. package/plugins/PanoMeasurePlugin/Controller/EditController.js +341 -0
  110. package/plugins/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
  111. package/plugins/PanoMeasurePlugin/Controller/ShortcutKeyController.js +69 -0
  112. package/plugins/PanoMeasurePlugin/Controller/WatchController.d.ts +25 -0
  113. package/plugins/PanoMeasurePlugin/Controller/WatchController.js +371 -0
  114. package/plugins/PanoMeasurePlugin/Controller/index.d.ts +61 -0
  115. package/plugins/PanoMeasurePlugin/Controller/index.js +230 -0
  116. package/plugins/PanoMeasurePlugin/Model/index.d.ts +38 -0
  117. package/plugins/PanoMeasurePlugin/Model/index.js +235 -0
  118. package/plugins/PanoMeasurePlugin/Model/line.d.ts +30 -0
  119. package/plugins/PanoMeasurePlugin/Model/line.js +121 -0
  120. package/plugins/PanoMeasurePlugin/Model/point.d.ts +16 -0
  121. package/plugins/PanoMeasurePlugin/Model/point.js +68 -0
  122. package/plugins/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
  123. package/plugins/PanoMeasurePlugin/Model/polyline.js +109 -0
  124. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
  125. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +11 -0
  126. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
  127. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +11 -0
  128. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
  129. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +11 -0
  130. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +22 -0
  131. package/plugins/PanoMeasurePlugin/Modules/DeleteDom/index.js +182 -0
  132. package/plugins/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
  133. package/plugins/PanoMeasurePlugin/Modules/FiveHelper.js +66 -0
  134. package/plugins/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
  135. package/plugins/PanoMeasurePlugin/Modules/GuideController.js +107 -0
  136. package/plugins/PanoMeasurePlugin/Modules/Magnifier.d.ts +24 -0
  137. package/plugins/PanoMeasurePlugin/Modules/Magnifier.js +139 -0
  138. package/plugins/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +6 -0
  139. package/plugins/PanoMeasurePlugin/Modules/UIController/HTML.js +26 -0
  140. package/plugins/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +18 -0
  141. package/plugins/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +169 -0
  142. package/plugins/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +12 -0
  143. package/plugins/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +59 -0
  144. package/plugins/PanoMeasurePlugin/Modules/UIController/index.d.ts +16 -0
  145. package/plugins/PanoMeasurePlugin/Modules/UIController/index.js +123 -0
  146. package/plugins/PanoMeasurePlugin/Modules/UIController/style.d.ts +17 -0
  147. package/plugins/PanoMeasurePlugin/Modules/UIController/style.js +103 -0
  148. package/plugins/PanoMeasurePlugin/index.d.ts +7 -0
  149. package/plugins/PanoMeasurePlugin/index.js +20 -0
  150. package/plugins/PanoMeasurePlugin/typings/data.d.ts +28 -0
  151. package/plugins/PanoMeasurePlugin/typings/data.js +7 -0
  152. package/plugins/PanoMeasurePlugin/typings/event.type.d.ts +28 -0
  153. package/plugins/PanoMeasurePlugin/typings/event.type.js +7 -0
  154. package/plugins/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  155. package/plugins/PanoMeasurePlugin/typings/utils.type.js +7 -0
  156. package/plugins/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  157. package/plugins/PanoMeasurePlugin/utils/clearGroup.js +16 -0
  158. package/plugins/PanoMeasurePlugin/utils/constants.d.ts +4 -0
  159. package/plugins/PanoMeasurePlugin/utils/constants.js +47 -0
  160. package/plugins/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
  161. package/plugins/PanoMeasurePlugin/utils/distanceDom.js +147 -0
  162. package/plugins/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
  163. package/plugins/PanoMeasurePlugin/utils/findAssociatedLines.js +37 -0
  164. package/plugins/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
  165. package/plugins/PanoMeasurePlugin/utils/findClosestPoint.js +49 -0
  166. package/plugins/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
  167. package/plugins/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +20 -0
  168. package/plugins/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
  169. package/plugins/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +33 -0
  170. package/plugins/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
  171. package/plugins/PanoMeasurePlugin/utils/ironbox.js +14 -0
  172. package/plugins/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
  173. package/plugins/PanoMeasurePlugin/utils/isNDCPointInScreen.js +16 -0
  174. package/plugins/PanoMeasurePlugin/utils/line.d.ts +17 -0
  175. package/plugins/PanoMeasurePlugin/utils/line.js +61 -0
  176. package/plugins/PanoMeasurePlugin/utils/math.d.ts +17 -0
  177. package/plugins/PanoMeasurePlugin/utils/math.js +57 -0
  178. package/plugins/PanoMeasurePlugin/utils/mouseGroup.d.ts +2 -0
  179. package/plugins/PanoMeasurePlugin/utils/mouseGroup.js +42 -0
  180. package/plugins/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
  181. package/plugins/PanoMeasurePlugin/utils/ndc2Screen.js +16 -0
  182. package/plugins/PanoRulerPlugin/data/roomInfo.js +2 -0
  183. package/plugins/PanoRulerPlugin/data/roomRules.js +2 -0
  184. package/plugins/PanoRulerPlugin/index.d.ts +4 -0
  185. package/plugins/PanoRulerPlugin/index.js +74 -21
  186. package/plugins/PanoRulerPlugin/typings.js +2 -0
  187. package/plugins/PanoTVVideoPlugin/index.d.ts +2 -0
  188. package/plugins/PanoTVVideoPlugin/index.js +108 -26
  189. package/plugins/TreasurePlugin/Controller.js +58 -52
  190. package/plugins/TreasurePlugin/TreasureFaceAnime.js +36 -21
  191. package/plugins/TreasurePlugin/TreasureObject.js +60 -56
  192. package/plugins/TreasurePlugin/TreasureOpenAnime.js +38 -19
  193. package/plugins/TreasurePlugin/constants.js +2 -0
  194. package/plugins/TreasurePlugin/index.js +2 -0
  195. package/plugins/TreasurePlugin/typings.js +2 -0
  196. package/plugins/floorplan/Assets/floorplanExtraObject.d.ts +1 -1
  197. package/plugins/floorplan/Assets/floorplanExtraObject.js +5 -3
  198. package/plugins/floorplan/ModelFloorplanPlugin/Controller.d.ts +5 -2
  199. package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +93 -99
  200. package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +25 -7
  201. package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +22 -8
  202. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.js +28 -4
  203. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +25 -5
  204. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomMaterial.d.ts +11 -0
  205. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomMaterial.js +174 -0
  206. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RuleLabels.d.ts +8 -0
  207. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RuleLabels.js +178 -0
  208. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +2 -0
  209. package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +32 -6
  210. package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +3 -0
  211. package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +30 -8
  212. package/plugins/floorplan/ModelFloorplanPlugin/controller.style.js +2 -0
  213. package/plugins/floorplan/ModelFloorplanPlugin/index.js +4 -2
  214. package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.js +2 -0
  215. package/plugins/floorplan/ModelFloorplanPlugin/typings/utility.d.ts +2 -0
  216. package/plugins/floorplan/ModelFloorplanPlugin/typings/utility.js +7 -0
  217. package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +1 -1
  218. package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +3 -1
  219. package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +14 -22
  220. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.js +26 -3
  221. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +10 -6
  222. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +21 -5
  223. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.js +28 -4
  224. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.js +22 -6
  225. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.js +29 -19
  226. package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.js +2 -0
  227. package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +1 -1
  228. package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.js +47 -50
  229. package/plugins/floorplan/PanoFloorplanRadarPlugin/index.js +4 -2
  230. package/plugins/floorplan/TopviewFloorplanPlugin/Controller.d.ts +3 -0
  231. package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +66 -61
  232. package/plugins/floorplan/TopviewFloorplanPlugin/index.js +2 -0
  233. package/plugins/floorplan/TopviewFloorplanPlugin/style.js +2 -0
  234. package/plugins/floorplan/components/FloorplanImage.js +15 -1
  235. package/plugins/floorplan/index.d.ts +4 -0
  236. package/plugins/floorplan/index.js +13 -0
  237. package/plugins/floorplan/typings/floorplanData.d.ts +2 -0
  238. package/plugins/floorplan/typings/floorplanData.js +2 -0
  239. package/plugins/floorplan/typings/floorplanServerData.d.ts +3 -1
  240. package/plugins/floorplan/typings/floorplanServerData.js +5 -3
  241. package/plugins/floorplan/utils/formatData.js +31 -12
  242. package/plugins/floorplan/utils/formatPosition.js +10 -8
  243. package/shared-utils/Preloader.js +6 -0
  244. package/shared-utils/Subscribe.js +36 -16
  245. package/shared-utils/animationFrame/BetterTween.js +28 -27
  246. package/shared-utils/animationFrame/calculateProgress.js +2 -0
  247. package/shared-utils/animationFrame/formatRad.js +2 -0
  248. package/shared-utils/animationFrame/index.js +12 -0
  249. package/shared-utils/animationFrame/tween.js +17 -1
  250. package/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
  251. package/shared-utils/{changeModelCanvansOpacity.js → changeModelCanvasOpacity.js} +16 -2
  252. package/shared-utils/createCanvasTextTexture.js +2 -0
  253. package/shared-utils/createFiveContainer.js +23 -17
  254. package/shared-utils/createLine/index.js +15 -1
  255. package/shared-utils/debounce.js +4 -0
  256. package/shared-utils/equal.js +15 -4
  257. package/shared-utils/filter.js +36 -2
  258. package/shared-utils/five/changeMode.js +13 -17
  259. package/shared-utils/five/useFivePlugin.js +2 -0
  260. package/shared-utils/formatRad.js +2 -0
  261. package/shared-utils/getPxmm.js +15 -1
  262. package/shared-utils/getRandomColor.js +10 -0
  263. package/shared-utils/isNil.js +2 -0
  264. package/shared-utils/isTruelyObject.js +4 -0
  265. package/shared-utils/math/evenNumber.d.ts +3 -1
  266. package/shared-utils/math/evenNumber.js +6 -2
  267. package/shared-utils/math/planimetry.js +10 -0
  268. package/shared-utils/math/rad2Deg.js +2 -0
  269. package/shared-utils/nearlyEqual.js +2 -0
  270. package/shared-utils/nextFrame.js +2 -0
  271. package/shared-utils/noop.js +2 -0
  272. package/shared-utils/object3d2LocalMatrix.js +20 -14
  273. package/shared-utils/px2rem.js +10 -0
  274. package/shared-utils/removeArrayItem.d.ts +7 -0
  275. package/shared-utils/removeArrayItem.js +22 -0
  276. package/shared-utils/tap.js +2 -0
  277. package/shared-utils/three/centerPoint.js +2 -0
  278. package/shared-utils/three/getExtraModelLoader.js +14 -0
  279. package/shared-utils/three/getNormal.js +4 -0
  280. package/shared-utils/three/getTextureLoader.js +16 -0
  281. package/shared-utils/three/loadFbxObj.js +13 -5
  282. package/shared-utils/three/loadTexture.d.ts +2 -2
  283. package/shared-utils/three/loadTexture.js +33 -6
  284. package/shared-utils/three/transformPositionToVector3.js +2 -0
  285. package/shared-utils/three/transfromToMeshBasicMaterial.js +6 -0
  286. package/shared-utils/throttle.js +4 -0
  287. package/shared-utils/to.js +8 -4
  288. package/shared-utils/useDebounce.js +6 -0
  289. package/shared-utils/useThrottle.js +6 -0
  290. package/shared-utils/uuid.js +8 -0
  291. package/shared-utils/vectorTocoordinates.js +2 -0
  292. package/typedoc/components.js +2 -0
  293. package/typedoc/libs.d.ts +1 -0
  294. package/typedoc/libs.js +7 -0
  295. package/typedoc/plugins.js +2 -0
  296. package/typedoc/shared-utils.js +2 -0
  297. package/typedoc/typings.js +2 -0
  298. package/typings/math.type.js +2 -0
  299. package/typings/utils.type.js +2 -0
  300. package/components/PBRView/index.d.ts +0 -14
  301. package/shared-utils/changeModelCanvansOpacity.d.ts +0 -2
@@ -1,30 +1,57 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.array.iterator.js");
4
+
5
+ require("core-js/modules/es.string.iterator.js");
6
+
7
+ require("core-js/modules/es.weak-map.js");
8
+
9
+ require("core-js/modules/web.dom-collections.iterator.js");
10
+
11
+ require("core-js/modules/es.object.define-property.js");
12
+
13
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
14
+
15
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
16
+
17
+ var _typeof = require("@babel/runtime/helpers/typeof");
18
+
3
19
  Object.defineProperty(exports, "__esModule", {
4
20
  value: true
5
21
  });
6
22
  exports.loadTexture = loadTexture;
7
23
 
8
- var _three = require("three");
24
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
25
+
26
+ require("core-js/modules/es.object.to-string.js");
27
+
28
+ require("core-js/modules/es.promise.js");
29
+
30
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
31
+
32
+ var THREE = _interopRequireWildcard(require("three"));
9
33
 
10
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
34
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
35
 
12
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
36
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
37
 
14
- var textureLoader = new _three.TextureLoader();
38
+ var textureLoader = new THREE.TextureLoader();
15
39
 
16
40
  function loadTexture(_x) {
17
41
  return _loadTexture.apply(this, arguments);
18
42
  }
19
43
 
20
44
  function _loadTexture() {
21
- _loadTexture = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url) {
22
- return regeneratorRuntime.wrap(function _callee$(_context) {
45
+ _loadTexture = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(url) {
46
+ return _regenerator["default"].wrap(function _callee$(_context) {
23
47
  while (1) {
24
48
  switch (_context.prev = _context.next) {
25
49
  case 0:
26
50
  return _context.abrupt("return", new Promise(function (resolve, reject) {
27
51
  textureLoader.load(url, resolve, undefined, reject);
52
+ }).then(function (texture) {
53
+ texture.encoding = THREE.sRGBEncoding;
54
+ return texture;
28
55
  }));
29
56
 
30
57
  case 1:
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,10 +1,16 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports["default"] = transfromToMeshBasicMaterial;
7
9
 
10
+ require("core-js/modules/es.object.assign.js");
11
+
12
+ require("core-js/modules/es.array.map.js");
13
+
8
14
  var _three = require("three");
9
15
 
10
16
  function transfromToMeshBasicMaterial(object, options) {
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports["default"] = throttle;
7
9
 
10
+ require("core-js/modules/web.timers.js");
11
+
8
12
  /**
9
13
  * 创建一个防抖动函数,该函数在高频调用时会每隔 wait 毫秒后调用 func 方法
10
14
  * `throttle` 会在第一次调用时立刻调用一次
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
+
3
7
  Object.defineProperty(exports, "__esModule", {
4
8
  value: true
5
9
  });
6
10
  exports["default"] = void 0;
7
11
  exports.to = to;
8
12
 
9
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
13
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
10
14
 
11
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
15
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
12
16
 
13
17
  /**
14
18
  * 传入一个 Promise
@@ -21,9 +25,9 @@ function to(_x) {
21
25
  }
22
26
 
23
27
  function _to() {
24
- _to = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(promise) {
28
+ _to = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(promise) {
25
29
  var data;
26
- return regeneratorRuntime.wrap(function _callee$(_context) {
30
+ return _regenerator["default"].wrap(function _callee$(_context) {
27
31
  while (1) {
28
32
  switch (_context.prev = _context.next) {
29
33
  case 0:
@@ -1,10 +1,16 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.useDebounce = exports["default"] = void 0;
7
9
 
10
+ require("core-js/modules/web.timers.js");
11
+
12
+ require("core-js/modules/es.array.concat.js");
13
+
8
14
  var _react = require("react");
9
15
 
10
16
  /**
@@ -1,10 +1,16 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.useThrottle = exports["default"] = void 0;
7
9
 
10
+ require("core-js/modules/es.array.concat.js");
11
+
12
+ require("core-js/modules/web.timers.js");
13
+
8
14
  var _react = require("react");
9
15
 
10
16
  /**
@@ -1,10 +1,18 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports["default"] = uuid;
7
9
 
10
+ require("core-js/modules/es.date.to-string.js");
11
+
12
+ require("core-js/modules/es.object.to-string.js");
13
+
14
+ require("core-js/modules/es.regexp.to-string.js");
15
+
8
16
  // uuid
9
17
  function S4() {
10
18
  return ((1 + Math.random()) * 0x10000 | 0).toString(16).substring(1);
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -0,0 +1 @@
1
+ export type { GLTFViewerSize, GLTFViewerConfig, GLTFViewerState, GLTFViewerEventMap, GLTFViewer, } from '../libs/gltf-viewer';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.define-property.js");
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- export interface PBRViewPropTypes {
3
- hidden?: boolean;
4
- className?: string;
5
- }
6
- /**
7
- * 查看 **PBR**模型
8
- *
9
- * @TODO 待排期
10
- *
11
- * > RD 小哥哥 正在 加班研发中 ...
12
- */
13
- declare const PBRView: React.FC<PBRViewPropTypes>;
14
- export default PBRView;
@@ -1,2 +0,0 @@
1
- import type { Five } from '@realsee/five';
2
- export default function changeModelCanvansOpacity(five: Five, opacity: number, duration?: number): void;