@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-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 (494) hide show
  1. package/README.md +3 -12
  2. package/dist/CSS3DRenderPlugin/index..js +88 -0
  3. package/dist/CSS3DRenderPlugin/index.cjs.js +1 -0
  4. package/dist/CameraMovementPlugin/index..js +11 -0
  5. package/dist/CameraMovementPlugin/index.cjs.js +1 -0
  6. package/dist/CruisePlugin/index..js +527 -0
  7. package/dist/CruisePlugin/index.cjs.js +1 -0
  8. package/dist/GuideLinePlugin/index..js +214 -0
  9. package/dist/GuideLinePlugin/index.cjs.js +1 -0
  10. package/dist/ItemLabelPlugin/index..js +508 -0
  11. package/dist/ItemLabelPlugin/index.cjs.js +10 -0
  12. package/dist/ModelChassisCompassPlugin/index..js +9 -0
  13. package/dist/ModelChassisCompassPlugin/index.cjs.js +1 -0
  14. package/dist/ModelEntryDoorGuidePlugin/index..js +9 -0
  15. package/dist/ModelEntryDoorGuidePlugin/index.cjs.js +1 -0
  16. package/dist/ModelItemLabelPlugin/index..js +334 -0
  17. package/dist/ModelItemLabelPlugin/index.cjs.js +10 -0
  18. package/dist/ModelRoomLabelPlugin/index..js +274 -0
  19. package/dist/ModelRoomLabelPlugin/index.cjs.js +1 -0
  20. package/dist/ModelTVVideoPlugin/index..js +12 -0
  21. package/dist/ModelTVVideoPlugin/index.cjs.js +1 -0
  22. package/dist/ModelViewPlugin/index..js +8 -0
  23. package/dist/ModelViewPlugin/index.cjs.js +1 -0
  24. package/dist/Object3DHelperPlugin/index..js +1414 -0
  25. package/dist/Object3DHelperPlugin/index.cjs.js +1 -0
  26. package/dist/PanoCompassPlugin/index..js +258 -0
  27. package/dist/PanoCompassPlugin/index.cjs.js +1 -0
  28. package/dist/PanoCursorRaycasterPlugin/index..js +63 -0
  29. package/dist/PanoCursorRaycasterPlugin/index.cjs.js +1 -0
  30. package/dist/PanoDoorLabelPlugin/index..js +340 -0
  31. package/dist/PanoDoorLabelPlugin/index.cjs.js +1 -0
  32. package/dist/PanoMeasurePlugin/index..js +15 -0
  33. package/dist/PanoMeasurePlugin/index.cjs.js +1 -0
  34. package/dist/PanoRulerPlugin/index..js +9 -0
  35. package/dist/PanoRulerPlugin/index.cjs.js +1 -0
  36. package/dist/PanoRulerProPlugin/index..js +395 -0
  37. package/dist/PanoRulerProPlugin/index.cjs.js +1 -0
  38. package/dist/PanoSpatialTagPlugin/index..js +15 -0
  39. package/dist/PanoSpatialTagPlugin/index.cjs.js +1 -0
  40. package/dist/PanoTagPlugin/index..js +4522 -0
  41. package/dist/PanoTagPlugin/index.cjs.js +17 -0
  42. package/dist/chunks/cjs/BasePlugin.57e5204f.cjs.js +1 -0
  43. package/dist/chunks/cjs/BasePluginWithData.0a28882d.cjs.js +1 -0
  44. package/dist/chunks/cjs/CSS3DRender.15349564.cjs.js +1 -0
  45. package/dist/chunks/cjs/CameraMovementPlugin.2b342576.cjs.js +1 -0
  46. package/dist/chunks/cjs/Plugin.5f616fb3.cjs.js +1 -0
  47. package/dist/chunks/cjs/Plugin.609da4aa.cjs.js +94 -0
  48. package/dist/chunks/cjs/Plugin.67936d0e.cjs.js +16 -0
  49. package/dist/chunks/cjs/Plugin.8a110c53.cjs.js +1 -0
  50. package/dist/chunks/cjs/Plugin.9971108a.cjs.js +1 -0
  51. package/dist/chunks/cjs/Plugin.fd42bf8a.cjs.js +1 -0
  52. package/dist/chunks/cjs/Subscribe.5398d5c6.cjs.js +1 -0
  53. package/dist/chunks/cjs/changeModelCanvasOpacity.8d84f111.cjs.js +1 -0
  54. package/dist/chunks/cjs/correctFiveState.4c8472bd.cjs.js +1 -0
  55. package/dist/chunks/cjs/debounce.93dfb637.cjs.js +1 -0
  56. package/dist/chunks/cjs/equal.e9fcbd4e.cjs.js +1 -0
  57. package/dist/chunks/cjs/filter.cf9ebbb3.cjs.js +1 -0
  58. package/dist/chunks/cjs/formatData.81e95011.cjs.js +10 -0
  59. package/dist/chunks/cjs/index.30b7baeb.cjs.js +101 -0
  60. package/dist/chunks/cjs/index.686e84d1.cjs.js +290 -0
  61. package/dist/chunks/cjs/index.7d2010ce.cjs.js +1 -0
  62. package/dist/chunks/cjs/isNil.b3a58990.cjs.js +1 -0
  63. package/dist/chunks/cjs/planimetry.7fce816a.cjs.js +1 -0
  64. package/dist/chunks/cjs/throttle.86c209eb.cjs.js +1 -0
  65. package/dist/chunks/cjs/transfromToMeshBasicMaterial.9db6d46a.cjs.js +1 -0
  66. package/dist/chunks/cjs/uuid.29ed9c88.cjs.js +1 -0
  67. package/dist/chunks/es/BasePlugin.813e25f7.es.js +18 -0
  68. package/dist/chunks/es/BasePluginWithData.4bf4e649.es.js +6 -0
  69. package/dist/chunks/es/CSS3DRender.5652510e.es.js +393 -0
  70. package/dist/chunks/es/CameraMovementPlugin.4a7c3e46.es.js +120 -0
  71. package/dist/chunks/es/Plugin.26c2df05.es.js +106 -0
  72. package/dist/chunks/es/Plugin.435485ed.es.js +584 -0
  73. package/dist/chunks/es/Plugin.a98418f0.es.js +82 -0
  74. package/dist/chunks/es/Plugin.ae4ee6f8.es.js +82 -0
  75. package/dist/chunks/es/Plugin.dd11e0ad.es.js +180 -0
  76. package/dist/chunks/es/Plugin.f4cf895f.es.js +355 -0
  77. package/dist/chunks/es/Subscribe.c73e0f91.es.js +50 -0
  78. package/dist/chunks/es/changeModelCanvasOpacity.45ef9fd6.es.js +1551 -0
  79. package/dist/chunks/es/correctFiveState.e7feab9f.es.js +66 -0
  80. package/dist/chunks/es/debounce.ef83f417.es.js +11 -0
  81. package/dist/chunks/es/equal.7db4a6f7.es.js +56 -0
  82. package/dist/chunks/es/filter.97ec06c4.es.js +12 -0
  83. package/dist/chunks/es/formatData.a2b39ef9.es.js +483 -0
  84. package/dist/chunks/es/index.a273f06e.es.js +532 -0
  85. package/dist/chunks/es/index.b8fdb59b.es.js +50 -0
  86. package/dist/chunks/es/index.f74f4851.es.js +1787 -0
  87. package/dist/chunks/es/isNil.212842d9.es.js +10 -0
  88. package/dist/chunks/es/planimetry.b0b4a28d.es.js +43 -0
  89. package/dist/chunks/es/throttle.db66bac3.es.js +11 -0
  90. package/dist/chunks/es/transfromToMeshBasicMaterial.849ee069.es.js +24 -0
  91. package/dist/chunks/es/uuid.676cb2c8.es.js +9 -0
  92. package/dist/components/PaintBrush/index..js +6 -0
  93. package/dist/components/PaintBrush/index.cjs.js +1 -0
  94. package/dist/components/index..js +7 -0
  95. package/dist/components/index.cjs.js +1 -0
  96. package/dist/floorplan/MapviewFloorplanPlugin/index..js +324 -0
  97. package/dist/floorplan/MapviewFloorplanPlugin/index.cjs.js +1 -0
  98. package/dist/floorplan/ModelFloorplanPlugin/index..js +320 -0
  99. package/dist/floorplan/ModelFloorplanPlugin/index.cjs.js +1 -0
  100. package/dist/floorplan/PanoFloorplanRadarPlugin/index..js +613 -0
  101. package/dist/floorplan/PanoFloorplanRadarPlugin/index.cjs.js +1 -0
  102. package/dist/floorplan/TopviewFloorplanPlugin/index..js +277 -0
  103. package/dist/floorplan/TopviewFloorplanPlugin/index.cjs.js +1 -0
  104. package/dist/index..js +530 -0
  105. package/dist/index.cjs.js +3 -543
  106. package/docs/classes/CruisePluginController.html +24 -24
  107. package/docs/classes/Magnifier.html +16 -16
  108. package/docs/classes/ModelRoomLabelController.html +11 -11
  109. package/docs/classes/Object3DHelperController.html +24 -24
  110. package/docs/classes/PaintBrush.html +15 -15
  111. package/docs/classes/PanoTagPluginController.html +39 -39
  112. package/docs/classes/Util.BetterTween.html +8 -8
  113. package/docs/classes/Util.FivePointSelector.html +12 -12
  114. package/docs/classes/Util.Interval.html +12 -12
  115. package/docs/classes/Util.Magnifier.html +17 -17
  116. package/docs/classes/Util.PointDomHelper.html +11 -11
  117. package/docs/classes/Util.PointHelper.html +11 -11
  118. package/docs/classes/Util.Rectangle.html +13 -13
  119. package/docs/enums/CameraMovementEffect.html +7 -7
  120. package/docs/enums/ContentType.html +12 -12
  121. package/docs/enums/DIRECTION.html +9 -9
  122. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  123. package/docs/enums/DimensionType.html +7 -7
  124. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  125. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  126. package/docs/enums/LinkType.html +7 -7
  127. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  128. package/docs/enums/PointType.html +7 -7
  129. package/docs/enums/Rotation.html +8 -8
  130. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  131. package/docs/functions/CameraMovementPlugin.html +4 -4
  132. package/docs/functions/CruisePlugin.html +4 -4
  133. package/docs/functions/GuideLinePlugin.html +5 -5
  134. package/docs/functions/ItemLabelPlugin.html +4 -4
  135. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  136. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  137. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  138. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  139. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  140. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  141. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  142. package/docs/functions/ModelViewPlugin.html +4 -4
  143. package/docs/functions/Object3DHelperPlugin.html +4 -4
  144. package/docs/functions/PanoCompassPlugin.html +4 -4
  145. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  146. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  147. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  148. package/docs/functions/PanoMeasurePlugin.html +4 -4
  149. package/docs/functions/PanoRulerPlugin.html +4 -4
  150. package/docs/functions/PanoRulerProPlugin.html +4 -4
  151. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  152. package/docs/functions/PanoTagPlugin.html +4 -4
  153. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  154. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  155. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  156. package/docs/functions/Util.getFrameTime.html +5 -5
  157. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  158. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  159. package/docs/functions/Util.isNil.html +5 -5
  160. package/docs/functions/Util.nextFrame.html +5 -5
  161. package/docs/functions/Util.notNil.html +5 -5
  162. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  163. package/docs/functions/Util.tweenProgress.html +5 -5
  164. package/docs/functions/pluginFlag.html +5 -5
  165. package/docs/index.html +6 -11
  166. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  167. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  168. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  169. package/docs/interfaces/ContentTypeMap.html +12 -12
  170. package/docs/interfaces/FloorplanBounding.html +8 -8
  171. package/docs/interfaces/FloorplanData.html +10 -10
  172. package/docs/interfaces/FloorplanEntrance.html +11 -11
  173. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  174. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  175. package/docs/interfaces/FloorplanFloorData.html +9 -9
  176. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  177. package/docs/interfaces/FloorplanObserver.html +9 -9
  178. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  179. package/docs/interfaces/FloorplanPosition.html +7 -7
  180. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  181. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  182. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  183. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  184. package/docs/interfaces/FloorplanServerData.html +7 -7
  185. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  186. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  187. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  188. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  189. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  190. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  191. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  192. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  193. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  194. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  195. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  196. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  197. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  198. package/docs/interfaces/LineJson.html +7 -7
  199. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  200. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  201. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  202. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  203. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  204. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  205. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  206. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  207. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  208. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  209. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  210. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  211. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  212. package/docs/interfaces/Object3DHelperState.html +8 -8
  213. package/docs/interfaces/OpenParameter.html +7 -7
  214. package/docs/interfaces/PaintBrushAction.html +12 -12
  215. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  216. package/docs/interfaces/PaintBrushState.html +10 -10
  217. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  218. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  219. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  220. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  221. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  222. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  223. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  224. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  225. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  226. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  227. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  228. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  229. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  230. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  231. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  232. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  233. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  234. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  235. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  236. package/docs/interfaces/Point.html +8 -8
  237. package/docs/interfaces/PointJson.html +8 -8
  238. package/docs/interfaces/Room.html +9 -9
  239. package/docs/interfaces/RoomInfo.html +7 -7
  240. package/docs/interfaces/RoomLabel.html +14 -14
  241. package/docs/interfaces/RoomRules.html +5 -5
  242. package/docs/interfaces/Rooms.html +5 -5
  243. package/docs/interfaces/Scissor.html +9 -9
  244. package/docs/interfaces/TagConfig.html +10 -10
  245. package/docs/interfaces/Tags.html +9 -9
  246. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  247. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  248. package/docs/modules/Util.html +5 -5
  249. package/docs/modules.html +4 -4
  250. package/docs/types/ArrayPosition.html +5 -5
  251. package/docs/types/CSS3DRenderExportType.html +5 -5
  252. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  253. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  254. package/docs/types/Color.html +5 -5
  255. package/docs/types/ContentTypeConfigKey.html +5 -5
  256. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  257. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  258. package/docs/types/Create3DElementReturnType.html +5 -5
  259. package/docs/types/CruisePluginExportType.html +5 -5
  260. package/docs/types/Direction-1.html +5 -5
  261. package/docs/types/Direction4.html +5 -5
  262. package/docs/types/FloorplanRuleLabels.html +5 -5
  263. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  264. package/docs/types/GuideLinePluginExportType.html +5 -5
  265. package/docs/types/HelperEventMap.html +5 -5
  266. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  267. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  268. package/docs/types/MediaData.html +5 -5
  269. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  270. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  271. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  272. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  273. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  274. package/docs/types/MoveArgs.html +5 -5
  275. package/docs/types/MoveOpts.html +5 -5
  276. package/docs/types/Object3DHelperEventMap.html +5 -5
  277. package/docs/types/ObjectFit.html +5 -5
  278. package/docs/types/PaintBrushEventMap.html +5 -5
  279. package/docs/types/PanoCompassPluginData.html +5 -5
  280. package/docs/types/PanoCompassPluginExportType.html +5 -5
  281. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  282. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  283. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  284. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  285. package/docs/types/PanoMeasureReturnType.html +5 -5
  286. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  287. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  288. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  289. package/docs/types/PlaneTag.html +5 -5
  290. package/docs/types/PointTag.html +5 -5
  291. package/docs/types/Position.html +5 -5
  292. package/docs/types/RotateArgs.html +5 -5
  293. package/docs/types/RotateOpts.html +5 -5
  294. package/docs/types/RuleLabelsKey.html +5 -5
  295. package/docs/types/RuleLabelsValue.html +5 -5
  296. package/docs/types/Tag.html +5 -5
  297. package/docs/types/Tag2D.html +5 -5
  298. package/docs/types/Tag3D.html +5 -5
  299. package/docs/types/TagId.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/VERSION.html +5 -5
  307. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  310. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -5
  311. package/libs/CSS3DRenderPlugin/Controller.js +6 -7
  312. package/libs/CSS3DRenderPlugin/index.js +3 -4
  313. package/libs/CSS3DRenderPlugin/typing.js +1 -0
  314. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -3
  315. package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
  316. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -2
  317. package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
  318. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +16 -17
  319. package/libs/CameraMovementPlugin/index.js +3 -0
  320. package/libs/CruisePlugin/Controller.js +4 -4
  321. package/libs/CruisePlugin/index.js +3 -6
  322. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  323. package/libs/GuideLinePlugin/Controller.js +3 -4
  324. package/libs/GuideLinePlugin/index.js +3 -4
  325. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  326. package/libs/ItemLabelPlugin/ItemLabelComponent.js +34 -32
  327. package/libs/ItemLabelPlugin/Plugin.js +5 -6
  328. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -4
  329. package/libs/ModelChassisCompassPlugin/index.js +2 -0
  330. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +22 -23
  331. package/libs/ModelEntryDoorGuidePlugin/index.js +2 -0
  332. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +4 -3
  333. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +5 -6
  334. package/libs/ModelItemLabelPlugin/events.type.js +1 -0
  335. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +11 -10
  336. package/libs/ModelRoomLabelPlugin/index.js +0 -1
  337. package/libs/ModelTVVideoPlugin/Plugin.js +1 -2
  338. package/libs/ModelTVVideoPlugin/index.js +2 -0
  339. package/libs/ModelViewPlugin/Plugin.js +1 -2
  340. package/libs/ModelViewPlugin/index.js +2 -0
  341. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +6 -7
  342. package/libs/Object3DHelperPlugin/index.js +1 -6
  343. package/libs/PanoCompassPlugin/index.js +3 -4
  344. package/libs/PanoCursorRaycasterPlugin/index.js +7 -8
  345. package/libs/PanoDoorLabelPlugin/index.js +1 -2
  346. package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -3
  347. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
  348. package/libs/PanoMeasurePlugin/Controller/MixedController.js +17 -17
  349. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  350. package/libs/PanoMeasurePlugin/Controller/WatchController.js +9 -9
  351. package/libs/PanoMeasurePlugin/Controller/index.js +8 -8
  352. package/libs/PanoMeasurePlugin/Model/index.js +3 -3
  353. package/libs/PanoMeasurePlugin/Model/line.js +11 -11
  354. package/libs/PanoMeasurePlugin/Model/point.js +7 -7
  355. package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
  356. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  357. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  358. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  359. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  360. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  361. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  362. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  363. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  364. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  365. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  366. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  367. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -5
  368. package/libs/PanoMeasurePlugin/index.js +3 -4
  369. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  370. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  371. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +2 -2
  372. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  373. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  374. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  375. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  376. package/libs/PanoRulerPlugin/Plugin.js +2 -3
  377. package/libs/PanoRulerPlugin/index.js +2 -0
  378. package/libs/PanoRulerPlugin/style.js +1 -1
  379. package/libs/PanoRulerProPlugin/Controller.js +15 -15
  380. package/libs/PanoRulerProPlugin/RulerItems.js +7 -4
  381. package/libs/PanoRulerProPlugin/index.js +3 -4
  382. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  383. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  384. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -3
  385. package/libs/PanoSpatialTagPlugin/index.js +6 -0
  386. package/libs/PanoSpatialTagPlugin/typings.js +1 -0
  387. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -1
  388. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -1
  389. package/libs/PanoTagPlugin/Components/Common/Media.js +43 -36
  390. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +88 -78
  391. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -4
  392. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -2
  393. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +30 -27
  394. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  395. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +20 -14
  396. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +114 -92
  397. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +3 -2
  398. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  399. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +71 -52
  400. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +62 -50
  401. package/libs/PanoTagPlugin/Components/Tag/index.js +92 -63
  402. package/libs/PanoTagPlugin/Components/TagContainer.js +108 -64
  403. package/libs/PanoTagPlugin/Components/TagWrapper.js +113 -75
  404. package/libs/PanoTagPlugin/controller/index.js +0 -1
  405. package/libs/PanoTagPlugin/index.js +3 -7
  406. package/libs/PanoTagPlugin/tag.config.js +1 -2
  407. package/libs/PanoTagPlugin/typings/controller.js +1 -0
  408. package/libs/PanoTagPlugin/typings/index.js +1 -0
  409. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  410. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  411. package/libs/PanoTagPlugin/utils/index.js +1 -0
  412. package/libs/components/PaintBrush/Controller.js +3 -3
  413. package/libs/components/PaintBrush/style.js +1 -1
  414. package/libs/components/PaintBrush/tween.js +4 -4
  415. package/libs/components/index.js +2 -0
  416. package/libs/floorplan/Components/Camera.js +1 -1
  417. package/libs/floorplan/Components/CurrentFloor.js +51 -41
  418. package/libs/floorplan/Components/Main.js +41 -22
  419. package/libs/floorplan/Components/RoomHighlight/Room.js +3 -3
  420. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
  421. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +37 -36
  422. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
  423. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +7 -7
  424. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  425. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -7
  426. package/libs/floorplan/ModelFloorplanPlugin/index.js +2 -3
  427. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  428. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -2
  429. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -65
  430. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -2
  431. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +2 -3
  432. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
  433. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  434. package/libs/floorplan/index.js +6 -0
  435. package/libs/floorplan/typings/floorplanData.js +1 -0
  436. package/libs/floorplan/utils/correctFiveState.js +19 -19
  437. package/libs/floorplan/utils/formatData.js +16 -16
  438. package/libs/floorplan/utils/formatPosition.js +7 -7
  439. package/libs/index.js +344 -90
  440. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
  441. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -3
  442. package/libs/shared-utils/Object3DHelper/Constants/color.js +0 -1
  443. package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -2
  444. package/libs/shared-utils/Object3DHelper/Helper/index.js +3 -0
  445. package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
  446. package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
  447. package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
  448. package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
  449. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
  450. package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
  451. package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
  452. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
  453. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
  454. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
  455. package/libs/shared-utils/animationFrame/index.js +13 -16
  456. package/libs/shared-utils/animationFrame/tween.js +0 -2
  457. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  458. package/libs/shared-utils/createCanvasTextTexture.js +6 -6
  459. package/libs/shared-utils/createLine/index.js +3 -3
  460. package/libs/shared-utils/debounce.js +5 -5
  461. package/libs/shared-utils/equal.js +16 -16
  462. package/libs/shared-utils/filter.js +1 -1
  463. package/libs/shared-utils/five/changeMode.js +14 -14
  464. package/libs/shared-utils/getPxmm.js +7 -8
  465. package/libs/shared-utils/index.js +33 -29
  466. package/libs/shared-utils/isTruelyObject.js +1 -1
  467. package/libs/shared-utils/math/index.js +1 -0
  468. package/libs/shared-utils/math/planimetry.js +1 -6
  469. package/libs/shared-utils/math/rad2Deg.js +3 -3
  470. package/libs/shared-utils/nearlyEqual.js +3 -3
  471. package/libs/shared-utils/noop.js +1 -1
  472. package/libs/shared-utils/object3d2LocalMatrix.js +6 -7
  473. package/libs/shared-utils/removeArrayItem.js +5 -5
  474. package/libs/shared-utils/tap.js +3 -3
  475. package/libs/shared-utils/three/index.js +6 -0
  476. package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
  477. package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +12 -12
  478. package/libs/shared-utils/throttle.js +2 -2
  479. package/libs/shared-utils/tinyEJSrender.js +7 -7
  480. package/libs/shared-utils/to.js +14 -15
  481. package/libs/shared-utils/uuid.js +0 -1
  482. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-changed-params.js +0 -0
  483. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-params.js +0 -0
  484. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/mount-swiper.js +0 -0
  485. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/params-list.js +0 -0
  486. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/update-swiper.js +0 -0
  487. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/utils.js +0 -0
  488. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper-slide.js +1 -1
  489. package/libs/vendor/swiper/svelte/swiper-svelte.js +3 -0
  490. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper.js +1 -1
  491. package/package.json +19 -17
  492. package/dist/index.es.js +0 -16650
  493. package/dist/index.js +0 -16650
  494. package/dist/index.umd.js +0 -556
@@ -1,11 +1,11 @@
1
- function o(t, u = 200) {
1
+ function u(t, n = 200) {
2
2
  let e;
3
- return function(...n) {
3
+ return function(...o) {
4
4
  clearTimeout(e), e = setTimeout(() => {
5
- t(...n);
6
- }, u);
5
+ t(...o);
6
+ }, n);
7
7
  };
8
8
  }
9
9
  export {
10
- o as default
10
+ u as debounce
11
11
  };
@@ -1,13 +1,13 @@
1
- import s from "./isTruelyObject.js";
1
+ import { isTruelyObject as s } from "./isTruelyObject.js";
2
2
  function u(r, e) {
3
3
  return r === e ? !0 : typeof r != typeof e ? !1 : !!(Number.isNaN(r) && Number.isNaN(e));
4
4
  }
5
5
  function o(r, e) {
6
- const t = Object.getOwnPropertyNames(r), n = Object.getOwnPropertyNames(e);
7
- if (t.length !== n.length)
6
+ const n = Object.getOwnPropertyNames(r), t = Object.getOwnPropertyNames(e);
7
+ if (n.length !== t.length)
8
8
  return !1;
9
- for (let f = 0, l = t.length; f < l; f++) {
10
- const i = t[f];
9
+ for (let f = 0, l = n.length; f < l; f++) {
10
+ const i = n[f];
11
11
  if (!u(r[i], e[i]))
12
12
  return !1;
13
13
  }
@@ -16,8 +16,8 @@ function o(r, e) {
16
16
  function p(r, e) {
17
17
  if (r.length !== e.length)
18
18
  return !1;
19
- for (let t = 0, n = r.length; t < n; t++)
20
- if (!u(r[t], e[t]))
19
+ for (let n = 0, t = r.length; n < t; n++)
20
+ if (!u(r[n], e[n]))
21
21
  return !1;
22
22
  return !0;
23
23
  }
@@ -30,25 +30,25 @@ function a(r, e) {
30
30
  function y(r, e) {
31
31
  if (r.length !== e.length)
32
32
  return !1;
33
- for (let t = 0, n = r.length; t < n; t++)
34
- if (!a(r[t], e[t]))
33
+ for (let n = 0, t = r.length; n < t; n++)
34
+ if (!a(r[n], e[n]))
35
35
  return !1;
36
36
  return !0;
37
37
  }
38
38
  function g(r, e) {
39
- const t = Object.getOwnPropertyNames(r), n = Object.getOwnPropertyNames(e);
40
- if (t.length !== n.length)
39
+ const n = Object.getOwnPropertyNames(r), t = Object.getOwnPropertyNames(e);
40
+ if (n.length !== t.length)
41
41
  return !1;
42
- for (let f = 0, l = t.length; f < l; f++) {
43
- const i = t[f];
42
+ for (let f = 0, l = n.length; f < l; f++) {
43
+ const i = n[f];
44
44
  if (!a(r[i], e[i]))
45
45
  return !1;
46
46
  }
47
47
  return !0;
48
48
  }
49
- function b(r, e, t = { deep: !1 }) {
50
- return t.deep ? a(r, e) : c(r, e);
49
+ function b(r, e, n = { deep: !1 }) {
50
+ return n.deep ? a(r, e) : c(r, e);
51
51
  }
52
52
  export {
53
- b as default
53
+ b as equal
54
54
  };
@@ -1,4 +1,4 @@
1
- import r from "./tap.js";
1
+ import { tap as r } from "./tap.js";
2
2
  function e(i, o) {
3
3
  return r({}, (t) => {
4
4
  for (const n in i)
@@ -1,4 +1,4 @@
1
- var a = (n, u, o) => new Promise((c, t) => {
1
+ var d = (n, c, o) => new Promise((u, t) => {
2
2
  var f = (e) => {
3
3
  try {
4
4
  s(o.next(e));
@@ -11,29 +11,29 @@ var a = (n, u, o) => new Promise((c, t) => {
11
11
  } catch (r) {
12
12
  t(r);
13
13
  }
14
- }, s = (e) => e.done ? c(e.value) : Promise.resolve(e.value).then(f, m);
15
- s((o = o.apply(n, u)).next());
14
+ }, s = (e) => e.done ? u(e.value) : Promise.resolve(e.value).then(f, m);
15
+ s((o = o.apply(n, c)).next());
16
16
  });
17
- import d from "../nearlyEqual.js";
18
- function l(n, u) {
19
- return a(this, null, function* () {
20
- yield new Promise((o, c) => {
21
- n.changeMode(...u).catch((t) => c(t)), n.once("initAnimationEnded", () => {
22
- const t = n.getCurrentState(), f = u[0];
23
- t.mode !== f && c(new Error("mode \u4E0E\u9884\u671F\u4E0D\u7B26")), (() => {
24
- const e = u[1];
17
+ import { nearlyEqual as P } from "../nearlyEqual.js";
18
+ function p(n, c) {
19
+ return d(this, null, function* () {
20
+ yield new Promise((o, u) => {
21
+ n.changeMode(...c).catch((t) => u(t)), n.once("initAnimationEnded", () => {
22
+ const t = n.getCurrentState(), f = c[0];
23
+ t.mode !== f && u(new Error("mode \u4E0E\u9884\u671F\u4E0D\u7B26")), (() => {
24
+ const e = c[1];
25
25
  return e ? Object.keys(e).every((r) => {
26
26
  const i = t[r];
27
27
  if (i === void 0)
28
28
  return !0;
29
29
  const E = e[r];
30
- return typeof i == "number" && typeof E == "number" ? d(i, E, 2) : i === E;
30
+ return typeof i == "number" && typeof E == "number" ? P(i, E, 2) : i === E;
31
31
  }) : !0;
32
- })() || c(new Error("five pose \u4E0E\u9884\u671F\u4E0D\u7B26")), o();
32
+ })() || u(new Error("five pose \u4E0E\u9884\u671F\u4E0D\u7B26")), o();
33
33
  });
34
34
  });
35
35
  });
36
36
  }
37
37
  export {
38
- l as default
38
+ p as changeMode
39
39
  };
@@ -1,21 +1,20 @@
1
1
  import { FLOOR_PLAN_ATTACHED_TO as m } from "../floorplan/constant.js";
2
2
  import * as c from "three";
3
- function a(o, t) {
3
+ function s(o, t) {
4
4
  const r = Math.max(...o.work.observers.map((n) => n.floorIndex));
5
5
  return t > r ? o.model.bounding.max.y : Math.max(
6
6
  ...o.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
7
7
  );
8
8
  }
9
- function x(o, t, r = m.BOUNDING_CENTER) {
10
- const n = a(o, t), e = a(o, t + 1);
9
+ function l(o, t, r = m.BOUNDING_CENTER) {
10
+ const n = s(o, t), e = s(o, t + 1);
11
11
  return r === m.BOUNDING_CENTER ? (o.model.bounding.max.y + o.model.bounding.min.y) / 2 : r === m.CEILING ? e : n;
12
12
  }
13
13
  function E(o, t, r, n) {
14
- const e = x(o, r, n == null ? void 0 : n.attachedTo), s = new c.Vector3(0, e, 0), i = new c.Vector3(1, e, 0), u = s.clone().project(o.camera), l = i.clone().project(o.camera);
15
- return Math.abs((l.x - u.x) / 1e3) * (t.getBoundingClientRect().width / 2);
14
+ const e = l(o, r, n == null ? void 0 : n.attachedTo), a = new c.Vector3(0, e, 0), i = new c.Vector3(1, e, 0), u = a.clone().project(o.camera), x = i.clone().project(o.camera);
15
+ return Math.abs((x.x - u.x) / 1e3) * (t.getBoundingClientRect().width / 2);
16
16
  }
17
17
  export {
18
- E as default,
19
- x as getAttachedY,
20
- a as getFloorY
18
+ l as getAttachedY,
19
+ E as getPxmm
21
20
  };
@@ -1,31 +1,35 @@
1
- import { Interval as o } from "./math/Interval.js";
2
- import { Rectangle as m } from "./math/Rectangle.js";
3
- import { Magnifier as n } from "./three/Magnifier.js";
4
- import { getCoordsFromClient as f, getCoordsFromElement as x } from "./three/getCoords.js";
5
- import { getRaycasterFromFivePointer as l } from "./three/getRaycaster.js";
6
- import { getIntersectFromRelativePosition as F } from "./three/getIntersect.js";
7
- import { PointHelper as P } from "./three/PointHelper.js";
8
- import { PointDomHelper as c } from "./three/PointDomHelper.js";
9
- import { FivePointSelector as I } from "./three/FivePointSelector.js";
10
- import { isNil as d, notNil as w } from "./isNil.js";
11
- import { getFrameTime as N, nextFrame as T, requestAnimationFrameInterval as q } from "./animationFrame/index.js";
12
- import { BetterTween as y, tweenProgress as A } from "./animationFrame/BetterTween.js";
1
+ import { Interval as e } from "./math/Interval.js";
2
+ import { Rectangle as r } from "./math/Rectangle.js";
3
+ import { Magnifier as o } from "./three/Magnifier.js";
4
+ import { getCoordsFromClient as t, getCoordsFromElement as m } from "./three/getCoords.js";
5
+ import { getRaycasterFromFivePointer as i } from "./three/getRaycaster.js";
6
+ import { getIntersectFromRelativePosition as n } from "./three/getIntersect.js";
7
+ import { PointHelper as p } from "./three/PointHelper.js";
8
+ import { PointDomHelper as l } from "./three/PointDomHelper.js";
9
+ import { FivePointSelector as f } from "./three/FivePointSelector.js";
10
+ import { isNil as a, notNil as g } from "./isNil.js";
11
+ import { nextFrame as s, requestAnimationFrameInterval as F, getFrameTime as c } from "./animationFrame/index.js";
12
+ import { BetterTween as P, tweenProgress as v } from "./animationFrame/BetterTween.js";
13
+ const w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
+ __proto__: null,
15
+ Interval: e,
16
+ Rectangle: r,
17
+ Magnifier: o,
18
+ getCoordsFromClient: t,
19
+ getCoordsFromElement: m,
20
+ getRaycasterFromFivePointer: i,
21
+ getIntersectFromRelativePosition: n,
22
+ PointHelper: p,
23
+ PointDomHelper: l,
24
+ FivePointSelector: f,
25
+ isNil: a,
26
+ notNil: g,
27
+ BetterTween: P,
28
+ tweenProgress: v,
29
+ nextFrame: s,
30
+ requestAnimationFrameInterval: F,
31
+ getFrameTime: c
32
+ }, Symbol.toStringTag, { value: "Module" }));
13
33
  export {
14
- y as BetterTween,
15
- I as FivePointSelector,
16
- o as Interval,
17
- n as Magnifier,
18
- c as PointDomHelper,
19
- P as PointHelper,
20
- m as Rectangle,
21
- f as getCoordsFromClient,
22
- x as getCoordsFromElement,
23
- N as getFrameTime,
24
- F as getIntersectFromRelativePosition,
25
- l as getRaycasterFromFivePointer,
26
- d as isNil,
27
- T as nextFrame,
28
- w as notNil,
29
- q as requestAnimationFrameInterval,
30
- A as tweenProgress
34
+ w as index
31
35
  };
@@ -2,5 +2,5 @@ function e(t) {
2
2
  return Object.prototype.toString.call(t) === "[object Object]";
3
3
  }
4
4
  export {
5
- e as default
5
+ e as isTruelyObject
6
6
  };
@@ -0,0 +1 @@
1
+
@@ -39,10 +39,5 @@ function L(r, x) {
39
39
  return Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].y, r[1].y) >= Math.min(x[0].y, x[1].y) && M(x[0], r[1], r[0]) * M(r[1], x[1], r[0]) > 0 && M(r[0], x[1], x[0]) * M(x[1], r[1], x[0]) > 0 ? 1 : 0;
40
40
  }
41
41
  export {
42
- m as getK,
43
- O as intersectionOfLine,
44
- L as isIntersect,
45
- h as pointOnLine,
46
- N as sameK,
47
- I as samePointAt
42
+ O as intersectionOfLine
48
43
  };
@@ -1,6 +1,6 @@
1
- function a(t) {
2
- return t * 180 / Math.PI;
1
+ function t(r) {
2
+ return r * 180 / Math.PI;
3
3
  }
4
4
  export {
5
- a as default
5
+ t as rad2Deg
6
6
  };
@@ -1,6 +1,6 @@
1
- function l(t, a, o = 4) {
2
- return Math.floor(t * Math.pow(10, o)) === Math.floor(a * Math.pow(10, o));
1
+ function a(t, r, o = 4) {
2
+ return Math.floor(t * Math.pow(10, o)) === Math.floor(r * Math.pow(10, o));
3
3
  }
4
4
  export {
5
- l as default
5
+ a as nearlyEqual
6
6
  };
@@ -1,5 +1,5 @@
1
1
  function o() {
2
2
  }
3
3
  export {
4
- o as default
4
+ o as noop
5
5
  };
@@ -1,19 +1,18 @@
1
- import * as o from "three";
1
+ import * as f from "three";
2
2
  const n = (t, a, i) => {
3
- const r = new o.Matrix4(), x = new o.Euler(t, a, i, "YXZ");
3
+ const r = new f.Matrix4(), x = new f.Euler(t, a, i, "YXZ");
4
4
  return r.makeRotationFromEuler(x), r;
5
- }, l = (t, {
5
+ }, p = (t, {
6
6
  scale: a,
7
7
  rotation: i,
8
8
  position: r
9
9
  }) => {
10
10
  if (a && t.scale.set(a, a, a), i) {
11
- const [x, e, f] = i;
12
- x && t.applyMatrix4(n(x, 0, 0)), e && t.applyMatrix4(n(0, e, 0)), f && t.applyMatrix4(n(0, 0, f));
11
+ const [x, o, e] = i;
12
+ x && t.applyMatrix4(n(x, 0, 0)), o && t.applyMatrix4(n(0, o, 0)), e && t.applyMatrix4(n(0, 0, e));
13
13
  }
14
14
  return r && t.position.set(r.x, r.y, r.z), t;
15
15
  };
16
16
  export {
17
- l as default,
18
- n as genRotationMatrix
17
+ p as bject3d2LocalMatrix
19
18
  };
@@ -1,8 +1,8 @@
1
- function f(n, t) {
2
- for (let e = 0, l = t.length; e < l; e++)
3
- if (n === t[e])
4
- return t.splice(e, 1)[0];
1
+ function l(t, n) {
2
+ for (let e = 0, i = n.length; e < i; e++)
3
+ if (t === n[e])
4
+ return n.splice(e, 1)[0];
5
5
  }
6
6
  export {
7
- f as default
7
+ l as removeArrayItem
8
8
  };
@@ -1,6 +1,6 @@
1
- function r(t, a) {
2
- return a(t), t;
1
+ function n(r, t) {
2
+ return t(r), r;
3
3
  }
4
4
  export {
5
- r as default
5
+ n as tap
6
6
  };
@@ -0,0 +1,6 @@
1
+ import "hammerjs";
2
+ import "three";
3
+ import "@realsee/five";
4
+ import "@tweenjs/tween.js";
5
+ import "../animationFrame/BetterTween.js";
6
+ import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -1,5 +1,5 @@
1
1
  import { Vector3 as e } from "three";
2
- const s = ({ x: o, y: t, z: r }) => new e(o, t, r);
2
+ const c = ({ x: o, y: r, z: t }) => new e(o, r, t);
3
3
  export {
4
- s as default
4
+ c as transformPositionToVector3
5
5
  };
@@ -1,24 +1,24 @@
1
1
  var p = Object.defineProperty;
2
- var s = Object.getOwnPropertySymbols;
2
+ var i = Object.getOwnPropertySymbols;
3
3
  var d = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var i = (e, a, r) => a in e ? p(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, m = (e, a) => {
5
- for (var r in a || (a = {}))
6
- d.call(a, r) && i(e, r, a[r]);
7
- if (s)
8
- for (var r of s(a))
9
- f.call(a, r) && i(e, r, a[r]);
10
- return e;
4
+ var s = (a, e, r) => e in a ? p(a, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[e] = r, m = (a, e) => {
5
+ for (var r in e || (e = {}))
6
+ d.call(e, r) && s(a, r, e[r]);
7
+ if (i)
8
+ for (var r of i(e))
9
+ f.call(e, r) && s(a, r, e[r]);
10
+ return a;
11
11
  };
12
12
  import { MeshBasicMaterial as M } from "three";
13
- function O(e, a) {
14
- e.traverse((r) => {
13
+ function O(a, e) {
14
+ a.traverse((r) => {
15
15
  var n;
16
16
  if (r.type === "Mesh") {
17
- const t = r, o = m({ map: t.material.map || {} }, a);
17
+ const t = r, o = m({ map: t.material.map || {} }, e);
18
18
  t.material = new M(o), t.renderOrder = 1, ((n = r.parent) == null ? void 0 : n.type) === "Mesh" && (r.renderOrder = r.parent.renderOrder + 1);
19
19
  }
20
20
  });
21
21
  }
22
22
  export {
23
- O as default
23
+ O as transfromToMeshBasicMaterial
24
24
  };
@@ -1,4 +1,4 @@
1
- function l(n, e = 200) {
1
+ function o(n, e = 200) {
2
2
  let t;
3
3
  return function(...u) {
4
4
  t || (n(...u), t = setTimeout(function() {
@@ -7,5 +7,5 @@ function l(n, e = 200) {
7
7
  };
8
8
  }
9
9
  export {
10
- l as default
10
+ o as throttle
11
11
  };
@@ -1,7 +1,7 @@
1
- var f = Object.defineProperty;
2
- var m = (n, e, t) => e in n ? f(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var o = (n, e, t) => (m(n, typeof e != "symbol" ? e + "" : e, t), t);
4
- const i = "<", h = ">", _ = "%", d = "locals", l = "(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)", L = {
1
+ var m = Object.defineProperty;
2
+ var f = (n, e, t) => e in n ? m(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var o = (n, e, t) => (f(n, typeof e != "symbol" ? e + "" : e, t), t);
4
+ const i = "<", h = ">", _ = "%", d = "locals", L = "(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)", l = {
5
5
  "&": "&amp",
6
6
  "<": "&lt",
7
7
  ">": "&gt",
@@ -27,7 +27,7 @@ class T {
27
27
  o(this, "truncate", !1);
28
28
  o(this, "currentLine", 1);
29
29
  o(this, "source", "");
30
- o(this, "regex", new RegExp(l));
30
+ o(this, "regex", new RegExp(L));
31
31
  this.templateText = e;
32
32
  }
33
33
  compileFunction() {
@@ -39,7 +39,7 @@ class T {
39
39
  return __output;
40
40
  `, c = function(r) {
41
41
  return r == null ? "" : String(r).replace(/[&<>'"]/g, function(p) {
42
- return L[p] || p;
42
+ return l[p] || p;
43
43
  });
44
44
  };
45
45
  return this._generateSource(), this.source = t + this.source + s, e = this.source, e = "escapeFn = escapeFn || " + c.toString() + `;
@@ -136,5 +136,5 @@ class T {
136
136
  }
137
137
  }
138
138
  export {
139
- g as default
139
+ g as render
140
140
  };
@@ -1,29 +1,28 @@
1
- var l = (a, t, n) => new Promise((c, u) => {
2
- var f = (r) => {
1
+ var c = (a, n, t) => new Promise((l, u) => {
2
+ var i = (r) => {
3
3
  try {
4
- e(n.next(r));
5
- } catch (o) {
6
- u(o);
4
+ o(t.next(r));
5
+ } catch (e) {
6
+ u(e);
7
7
  }
8
- }, i = (r) => {
8
+ }, f = (r) => {
9
9
  try {
10
- e(n.throw(r));
11
- } catch (o) {
12
- u(o);
10
+ o(t.throw(r));
11
+ } catch (e) {
12
+ u(e);
13
13
  }
14
- }, e = (r) => r.done ? c(r.value) : Promise.resolve(r.value).then(f, i);
15
- e((n = n.apply(a, t)).next());
14
+ }, o = (r) => r.done ? l(r.value) : Promise.resolve(r.value).then(i, f);
15
+ o((t = t.apply(a, n)).next());
16
16
  });
17
17
  function d(a) {
18
- return l(this, null, function* () {
18
+ return c(this, null, function* () {
19
19
  try {
20
20
  return [null, yield a];
21
- } catch (t) {
22
- return t instanceof Error ? [t, null] : [new Error(""), null];
21
+ } catch (n) {
22
+ return n instanceof Error ? [n, null] : [new Error(""), null];
23
23
  }
24
24
  });
25
25
  }
26
26
  export {
27
- d as default,
28
27
  d as to
29
28
  };
@@ -5,6 +5,5 @@ function r() {
5
5
  return (t() + t() + "-" + t() + "-4" + t().substr(0, 3) + "-" + t() + "-" + t() + t() + t()).toLowerCase();
6
6
  }
7
7
  export {
8
- r as default,
9
8
  r as uuid
10
9
  };
@@ -178,5 +178,5 @@ class oe extends B {
178
178
  }
179
179
  }
180
180
  export {
181
- oe as default
181
+ oe as Swiper_slide
182
182
  };
@@ -0,0 +1,3 @@
1
+ import "svelte/internal";
2
+ import "svelte";
3
+ import "swiper";
@@ -250,5 +250,5 @@ class He extends _e {
250
250
  }
251
251
  }
252
252
  export {
253
- He as default
253
+ He as Swiper_1
254
254
  };
package/package.json CHANGED
@@ -8,20 +8,8 @@
8
8
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
9
  "description": "如视 VR 看房插件合集",
10
10
  "private": false,
11
- "version": "2.1.2-alpha.0",
11
+ "version": "2.1.2-alpha.10",
12
12
  "license": "SEE LICENSE IN TERMS.txt",
13
- "scripts": {
14
- "dev": "run-p dev:*",
15
- "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
16
- "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
17
- "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
18
- "build": "run-p build:*",
19
- "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
20
- "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
21
- "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
22
- "docs": "typedoc --options ./typedoc.json",
23
- "prepublishOnly": "run-p build docs"
24
- },
25
13
  "files": [
26
14
  "libs",
27
15
  "dist",
@@ -35,6 +23,7 @@
35
23
  "devDependencies": {
36
24
  "@babel/core": "^7.17.5",
37
25
  "@realsee/five": "5.0.0-alpha.162",
26
+ "@rollup/plugin-commonjs": "^23.0.2",
38
27
  "@sveltejs/vite-plugin-svelte": "^1.1.0",
39
28
  "@tsconfig/svelte": "^3.0.0",
40
29
  "@types/animejs": "^3.1.6",
@@ -60,13 +49,13 @@
60
49
  "sass": "^1.54.5",
61
50
  "stylelint": "^14.14.0",
62
51
  "stylelint-config-prettier": "^9.0.3",
63
- "svelte": "3.49.0",
64
52
  "svelte-dts": "^0.3.7",
65
53
  "svelte-preprocess": "^4.10.7",
54
+ "terser": "^5.15.1",
66
55
  "three": "0.117.1",
67
56
  "typedoc": "^0.23.20",
68
57
  "typescript": "^4.8.4",
69
- "vite": "^3.2.3",
58
+ "vite": "3.2.3",
70
59
  "vite-plugin-cp": "^1.0.0",
71
60
  "vite-plugin-dts": "^1.7.0"
72
61
  },
@@ -77,12 +66,25 @@
77
66
  "hammerjs": "^2.0.8",
78
67
  "object-assign-deep": "0.4.0",
79
68
  "polyline-normals": "^2.0.2",
69
+ "svelte": "3.49.0",
80
70
  "swiper": "8.4.4",
81
71
  "tslib": "^2.4.1",
82
72
  "type-fest": "3.2.0"
83
73
  },
84
74
  "peerDependencies": {
85
- "@realsee/five": ">=5.0.0",
75
+ "@realsee/five": ">=^5.0.0",
86
76
  "three": ">=0.115.0 <=0.117.1"
77
+ },
78
+ "scripts": {
79
+ "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
80
+ "dev": "run-p dev:*",
81
+ "dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
82
+ "dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
83
+ "dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
84
+ "build": "run-p build:*",
85
+ "build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
86
+ "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
87
+ "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
88
+ "docs": "typedoc --options ./typedoc.json"
87
89
  }
88
- }
90
+ }