@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,57 +1,57 @@
1
1
  var R = (t, s, e) => new Promise((x, M) => {
2
2
  var y = (r) => {
3
3
  try {
4
- l(e.next(r));
4
+ c(e.next(r));
5
5
  } catch (m) {
6
6
  M(m);
7
7
  }
8
8
  }, P = (r) => {
9
9
  try {
10
- l(e.throw(r));
10
+ c(e.throw(r));
11
11
  } catch (m) {
12
12
  M(m);
13
13
  }
14
- }, l = (r) => r.done ? x(r.value) : Promise.resolve(r.value).then(y, P);
15
- l((e = e.apply(t, s)).next());
14
+ }, c = (r) => r.done ? x(r.value) : Promise.resolve(r.value).then(y, P);
15
+ c((e = e.apply(t, s)).next());
16
16
  });
17
17
  import * as C from "three";
18
18
  import { MeshBasicMaterial as z, AnimationMixer as B } from "three";
19
19
  import { FBXLoader as S } from "three/examples/jsm/loaders/FBXLoader";
20
- import _ from "../shared-utils/createCanvasTextTexture.js";
21
- import H from "../shared-utils/three/transformPositionToVector3.js";
22
- import L from "../shared-utils/three/transfromToMeshBasicMaterial.js";
20
+ import { createCanvasTextTexture as _ } from "../shared-utils/createCanvasTextTexture.js";
21
+ import { transformPositionToVector3 as H } from "../shared-utils/three/transformPositionToVector3.js";
22
+ import { transfromToMeshBasicMaterial as L } from "../shared-utils/three/transfromToMeshBasicMaterial.js";
23
23
  const J = (t, s) => {
24
24
  var g, w, G;
25
- const e = {}, x = (g = s.animationEnabled) != null ? g : !0, M = (w = s.position) != null ? w : void 0, y = (G = s.rad) != null ? G : void 0, P = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", l = [], r = (o) => R(void 0, null, function* () {
26
- var E, u, b, h, f, p, j;
27
- const c = (E = o == null ? void 0 : o.position) != null ? E : M;
28
- if (!c)
25
+ const e = {}, x = (g = s.animationEnabled) != null ? g : !0, M = (w = s.position) != null ? w : void 0, y = (G = s.rad) != null ? G : void 0, P = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", c = [], r = (o) => R(void 0, null, function* () {
26
+ var E, u, b, h, p, f, j;
27
+ const l = (E = o == null ? void 0 : o.position) != null ? E : M;
28
+ if (!l)
29
29
  return Promise.reject("ModelEntryDoorGuidePlugin.load(): position is undefined");
30
- const i = H(c), n = (u = o == null ? void 0 : o.rad) != null ? u : y, D = (b = o == null ? void 0 : o.fbx_url) != null ? b : P;
30
+ const i = H(l), n = (u = o == null ? void 0 : o.rad) != null ? u : y, D = (b = o == null ? void 0 : o.fbx_url) != null ? b : P;
31
31
  if (e.rad = n, n === void 0)
32
32
  return Promise.reject(`ModelEntryDoorGuidePlugin.load(): rad is ${n}`);
33
33
  const a = yield new S().loadAsync(D);
34
34
  a.position.copy(i), a.rotation.z = n, a.scale.set(0.8, 0.8, 0.8), L(a, { transparent: !0, side: C.DoubleSide });
35
- const d = (j = (p = (f = (h = a.children) == null ? void 0 : h[0]) == null ? void 0 : f.children) == null ? void 0 : p[3]) == null ? void 0 : j.clone();
35
+ const d = (j = (f = (p = (h = a.children) == null ? void 0 : h[0]) == null ? void 0 : p.children) == null ? void 0 : f[3]) == null ? void 0 : j.clone();
36
36
  return d ? (d.material = new z({ transparent: !0, map: _("\u5165\u6237\u95E8") }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0) : Promise.reject(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`);
37
37
  }), m = () => {
38
38
  if (e.animation)
39
39
  return;
40
40
  if (!e.object)
41
41
  return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
42
- const o = 1, c = new B(e.object);
43
- l.push(c);
44
- const i = c.clipAction(e.object.animations[0]);
42
+ const o = 1, l = new B(e.object);
43
+ c.push(l);
44
+ const i = l.clipAction(e.object.animations[0]);
45
45
  i.timeScale = o;
46
46
  let n;
47
47
  const D = () => {
48
48
  let u = 0, b = 0;
49
- const h = 1e3 / 30, f = (p) => {
50
- u = requestAnimationFrame(f);
51
- const j = p - b;
52
- j < h || (b = p, l.forEach((q) => q.update(j / 1e3)), t.needsRender = !0);
49
+ const h = 1e3 / 30, p = (f) => {
50
+ u = requestAnimationFrame(p);
51
+ const j = f - b;
52
+ j < h || (b = f, c.forEach((q) => q.update(j / 1e3)), t.needsRender = !0);
53
53
  };
54
- return u = requestAnimationFrame(f), () => {
54
+ return u = requestAnimationFrame(p), () => {
55
55
  cancelAnimationFrame(u);
56
56
  };
57
57
  }, E = { play: () => {
@@ -73,6 +73,5 @@ const J = (t, s) => {
73
73
  return { load: r, enable: (o) => (e.enabled || (e.enabled = !0, A(t.currentMode), t.on("modeChange", A), F(o)), !0), disable: () => (e.enabled && (e.enabled = !1, T(), t.off("modeChange", A)), !0) };
74
74
  };
75
75
  export {
76
- J as ModelEntryDoorGuidePlugin,
77
- J as default
76
+ J as ModelEntryDoorGuidePlugin
78
77
  };
@@ -0,0 +1,2 @@
1
+ import "three";
2
+ import "three/examples/jsm/loaders/FBXLoader";
@@ -15,7 +15,8 @@ import { DISPLAY_STRATEGY_TYPE as E } from "./typings.js";
15
15
  import { beforeUpdate as ye, onMount as pe, onDestroy as ke } from "svelte";
16
16
  import * as Ie from "three";
17
17
  import Ee from "./ItemLabelItem.js";
18
- import we from "../shared-utils/debounce.js";
18
+ import { debounce as we } from "../shared-utils/debounce.js";
19
+ import "classnames";
19
20
  function Pe(o) {
20
21
  re(o, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
21
22
  }
@@ -188,7 +189,7 @@ function Re(o, t, e) {
188
189
  N
189
190
  ];
190
191
  }
191
- class De extends oe {
192
+ class Ve extends oe {
192
193
  constructor(t) {
193
194
  super(), se(
194
195
  this,
@@ -208,5 +209,5 @@ class De extends oe {
208
209
  }
209
210
  }
210
211
  export {
211
- De as default
212
+ Ve as default
212
213
  };
@@ -1,4 +1,4 @@
1
- import { Subscribe as y, Five as s } from "@realsee/five";
1
+ import { Subscribe as f, Five as s } from "@realsee/five";
2
2
  import L from "./ItemLabelComponent.js";
3
3
  import { DISPLAY_STRATEGY_TYPE as g } from "./typings.js";
4
4
  import { parseModelItemLabelPluginData as E } from "./utils/parseData.js";
@@ -12,7 +12,7 @@ const T = (t, o) => {
12
12
  itemLabels: [],
13
13
  wrapper: null,
14
14
  app: void 0,
15
- hooks: new y(),
15
+ hooks: new f(),
16
16
  modelOcclusionEnable: (a = o == null ? void 0 : o.modelOcclusionEnable) != null ? a : !0,
17
17
  displayStrategyType: (d = o == null ? void 0 : o.displayStrategyType) != null ? d : g.SMALL
18
18
  };
@@ -27,7 +27,7 @@ const T = (t, o) => {
27
27
  const p = (n) => (e.wrapper = n, n.appendChild(e.container), l(), !0), c = (n) => {
28
28
  e.itemLabels = E(n), l();
29
29
  }, u = () => (e.enabled || (e.enabled = !0, l()), !0), b = () => (e.enabled && (e.enabled = !1, l()), !0), r = () => {
30
- f(), e.container.remove();
30
+ y(), e.container.remove();
31
31
  }, l = () => {
32
32
  var n;
33
33
  if (!!e.wrapper) {
@@ -52,7 +52,7 @@ const T = (t, o) => {
52
52
  }
53
53
  }, m = () => {
54
54
  t.on("modeChange", i), t.once("dispose", r);
55
- }, f = () => {
55
+ }, y = () => {
56
56
  t.off("modeChange", i);
57
57
  }, i = (n) => {
58
58
  if (!!e.enabled) {
@@ -75,6 +75,5 @@ const T = (t, o) => {
75
75
  };
76
76
  };
77
77
  export {
78
- T as ModelItemLabelPlugin,
79
- T as default
78
+ T as ModelItemLabelPlugin
80
79
  };
@@ -14,6 +14,7 @@ import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as
14
14
  import { onDestroy as ce } from "svelte";
15
15
  import { Raycaster as ae, Vector3 as w } from "three";
16
16
  import fe from "./RoomLabelItem.js";
17
+ import "./Assets/roomLabelBg.js";
17
18
  const { Map: me } = ne;
18
19
  function ue(o) {
19
20
  N(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
@@ -108,22 +109,22 @@ function he(o, t, e) {
108
109
  const [f] = s.model.intersectRaycaster(g);
109
110
  return !(f && f.distance + 1 < b);
110
111
  }
111
- function d(c, _) {
112
- const u = new w(c.position.x, c.position.y, c.position.z).clone().project(s.camera), h = Math.ceil((u.x + 1) / 2 * _.x), b = Math.ceil((-u.y + 1) / 2 * _.y);
112
+ function d(c, p) {
113
+ const u = new w(c.position.x, c.position.y, c.position.z).clone().project(s.camera), h = Math.ceil((u.x + 1) / 2 * p.x), b = Math.ceil((-u.y + 1) / 2 * p.y);
113
114
  return `translate(${h}px, ${b}px)`;
114
115
  }
115
116
  function z(c) {
116
- const { rendererSize: _, shownFloor: g } = c, u = /* @__PURE__ */ new Map();
117
+ const { rendererSize: p, shownFloor: g } = c, u = /* @__PURE__ */ new Map();
117
118
  function h(f) {
118
- const p = u.get(f.id);
119
- if (p)
120
- return p;
119
+ const _ = u.get(f.id);
120
+ if (_)
121
+ return _;
121
122
  const { x: L, y: v, z: x } = f.position, y = new w(L, v, x).clone().distanceTo(s.camera.position);
122
123
  return u.set(f.id, y), y;
123
124
  }
124
125
  return r.map((f) => {
125
- const p = i(f), L = p ? d(f, _) : f.transform, v = h(f), y = r.filter((M) => M.visible && h(M) < v).length * 10;
126
- return S(R({}, f), { visible: p, transform: L, zIndex: y });
126
+ const _ = i(f), L = _ ? d(f, p) : f.transform, v = h(f), y = r.filter((M) => M.visible && h(M) < v).length * 10;
127
+ return S(R({}, f), { visible: _, transform: L, zIndex: y });
127
128
  });
128
129
  }
129
130
  function F() {
@@ -152,11 +153,11 @@ function he(o, t, e) {
152
153
  j
153
154
  ];
154
155
  }
155
- class Le extends G {
156
+ class ve extends G {
156
157
  constructor(t) {
157
158
  super(), J(this, t, he, de, K, { five: 1, roomLabels: 0 }, ue);
158
159
  }
159
160
  }
160
161
  export {
161
- Le as default
162
+ ve as default
162
163
  };
@@ -5,6 +5,5 @@ const r = (o) => new e(o), n = {
5
5
  };
6
6
  export {
7
7
  r as ModelRoomLabelPlugin,
8
- r as default,
9
8
  n as modelRoomLabelPluginServerParams
10
9
  };
@@ -159,6 +159,5 @@ const C = (s, { videoElement: b }) => {
159
159
  }), { enable: x, disable: l, load: V, dispose: S, state: e, css3DRenderPlugin: m };
160
160
  };
161
161
  export {
162
- C as ModelTVVideoPlugin,
163
- C as default
162
+ C as ModelTVVideoPlugin
164
163
  };
@@ -0,0 +1,2 @@
1
+ import "three";
2
+ import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -102,6 +102,5 @@ const S = (o, i) => {
102
102
  return Object.assign(window, { camera: f }), o.on("modelLoaded", k), o.on("modelWillLoad", L), o.on("cameraDirectionUpdate", p), o.on("dispose", R), o.on("renderFrame", D), o.on("cameraPositionUpdate", p), { appendTo: P, refresh: b, changeConfigs: j };
103
103
  };
104
104
  export {
105
- S as ModelViewPlugin,
106
- S as default
105
+ S as ModelViewPlugin
107
106
  };
@@ -0,0 +1,2 @@
1
+ import "@realsee/five";
2
+ import "three";
@@ -1,8 +1,8 @@
1
1
  var p = Object.defineProperty;
2
2
  var c = (t, e, r) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var n = (t, e, r) => (c(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- class C {
5
- constructor(e, r, u, i) {
4
+ class G {
5
+ constructor(e, r, a, i) {
6
6
  n(this, "helperController");
7
7
  n(this, "five");
8
8
  n(this, "onFiveWantsTapGesture", (e) => {
@@ -17,16 +17,15 @@ class C {
17
17
  const r = this.helperController.onWantsGesture(...e);
18
18
  return this.five.needsRender = !0, r;
19
19
  });
20
- const { camera: s, model: o, scene: l } = e, a = e.getElement();
21
- if (this.five = e, !s || !o || !a || !l)
20
+ const { camera: s, model: o, scene: l } = e, u = e.getElement();
21
+ if (this.five = e, !s || !o || !u || !l)
22
22
  return;
23
23
  const h = () => {
24
24
  e.needsRender = !0;
25
25
  };
26
- this.helperController = new r(s, o, u, i, a, l, h), e.on("wantsTapGesture", this.onFiveWantsTapGesture), e.on("wantsGesture", this.onFiveWantsGesture);
26
+ this.helperController = new r(s, o, a, i, u, l, h), e.on("wantsTapGesture", this.onFiveWantsTapGesture), e.on("wantsGesture", this.onFiveWantsGesture);
27
27
  }
28
28
  }
29
29
  export {
30
- C as ControllerWrapper,
31
- C as FiveControllerWrapper
30
+ G as ControllerWrapper
32
31
  };
@@ -1,10 +1,5 @@
1
1
  import { Object3DHelperController as r } from "./Controller.js";
2
- import { Object3DHelperController as n, PLUGIN as c, VERSION as O } from "./Controller.js";
3
2
  const t = (e) => new r(e);
4
3
  export {
5
- n as Object3DHelperController,
6
- t as Object3DHelperPlugin,
7
- c as PLUGIN,
8
- O as VERSION,
9
- t as default
4
+ t as Object3DHelperPlugin
10
5
  };
@@ -1,6 +1,5 @@
1
- import { PanoCompassController as n } from "./Controller.js";
2
- const r = (o, a) => new n(o, a);
1
+ import { PanoCompassController as r } from "./Controller.js";
2
+ const a = (o, n) => new r(o, n);
3
3
  export {
4
- r as PanoCompassPlugin,
5
- r as default
4
+ a as PanoCompassPlugin
6
5
  };
@@ -1,18 +1,18 @@
1
1
  import { Group as g, Vector3 as r, Raycaster as C } from "three";
2
- import m from "../shared-utils/createLine/index.js";
2
+ import { createLine as m } from "../shared-utils/createLine/index.js";
3
3
  const R = (e) => {
4
4
  const a = {
5
5
  intersection: null,
6
6
  disposers: []
7
- }, l = (t) => {
7
+ }, p = (t) => {
8
8
  a.intersection = t;
9
- }, p = () => {
9
+ }, l = () => {
10
10
  a.intersection = null;
11
11
  };
12
12
  e.on("modelLoaded", () => {
13
- e.on("intersectionOnModelUpdate", l), e.on("intersectionHidden", p);
13
+ e.on("intersectionOnModelUpdate", p), e.on("intersectionHidden", l);
14
14
  }), e.on("dispose", () => {
15
- e.off("intersectionOnModelUpdate", l), e.off("intersectionHidden", p);
15
+ e.off("intersectionOnModelUpdate", p), e.off("intersectionHidden", l);
16
16
  });
17
17
  const P = (t, c = 2, o = 0.1) => {
18
18
  const s = c / 2, n = x(t, o), i = new g();
@@ -46,7 +46,7 @@ const R = (e) => {
46
46
  return !(i && i.distance + c < s);
47
47
  }, z = () => a.intersection, w = () => {
48
48
  var t, c;
49
- (c = (t = a.disposers) == null ? void 0 : t.forEach) == null || c.call(t, (o) => o == null ? void 0 : o()), e.off("intersectionOnModelUpdate", l), e.off("intersectionHidden", p);
49
+ (c = (t = a.disposers) == null ? void 0 : t.forEach) == null || c.call(t, (o) => o == null ? void 0 : o()), e.off("intersectionOnModelUpdate", p), e.off("intersectionHidden", l);
50
50
  }, H = w, x = (t, c) => {
51
51
  const o = t.clone();
52
52
  return e.camera.position.clone().sub(o).setLength(c).add(o);
@@ -54,6 +54,5 @@ const R = (e) => {
54
54
  return { intersection: z, pointAxesHelper: P, movePointTowardsCamera: x, destroy: w, dispose: H, canSeePoint: h };
55
55
  };
56
56
  export {
57
- R as PanoCursorRaycasterPlugin,
58
- R as default
57
+ R as PanoCursorRaycasterPlugin
59
58
  };
@@ -1,6 +1,5 @@
1
1
  import { PanoDoorLabelPluginController as r } from "./Controller.js";
2
2
  const e = (o) => new r(o);
3
3
  export {
4
- e as PanoDoorLabelPlugin,
5
- e as default
4
+ e as PanoDoorLabelPlugin
6
5
  };
@@ -1,8 +1,8 @@
1
1
  var m = Object.defineProperty;
2
2
  var a = (i, e, o) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
3
3
  var t = (i, e, o) => (a(i, typeof e != "symbol" ? e + "" : e, o), o);
4
- import l from "../Model/line.js";
5
- import d from "../Model/point.js";
4
+ import { Line as l } from "../Model/line.js";
5
+ import { Point as d } from "../Model/point.js";
6
6
  import { preventDefault as r } from "../utils/ironbox.js";
7
7
  class G {
8
8
  constructor(e) {
@@ -49,5 +49,5 @@ class G {
49
49
  }
50
50
  }
51
51
  export {
52
- G as default
52
+ G as BaseController
53
53
  };
@@ -3,10 +3,10 @@ var m = (h, n, e) => n in h ? p(h, n, { enumerable: !0, configurable: !0, writab
3
3
  var s = (h, n, e) => (m(h, typeof n != "symbol" ? n + "" : n, e), e);
4
4
  import u from "hammerjs";
5
5
  import { Model as f } from "../Model/index.js";
6
- import l from "../Model/line.js";
7
- import d from "../Model/point.js";
8
- import v from "../../shared-utils/throttle.js";
9
- import c from "./BaseController.js";
6
+ import { Line as l } from "../Model/line.js";
7
+ import { Point as d } from "../Model/point.js";
8
+ import { throttle as v } from "../../shared-utils/throttle.js";
9
+ import { BaseController as c } from "./BaseController.js";
10
10
  import { getIntersectionFromEvent as r } from "../utils/getIntersectionFromEvent.js";
11
11
  class A extends c {
12
12
  constructor(e) {
@@ -98,5 +98,5 @@ class A extends c {
98
98
  }
99
99
  }
100
100
  export {
101
- A as default
101
+ A as EditController
102
102
  };
@@ -2,12 +2,12 @@ var b = Object.defineProperty;
2
2
  var k = (h, n, e) => n in h ? b(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e;
3
3
  var t = (h, n, e) => (k(h, typeof n != "symbol" ? n + "" : n, e), e);
4
4
  import { Model as S } from "../Model/index.js";
5
- import T from "../Model/line.js";
6
- import D from "./BaseController.js";
7
- import M from "../Modules/DeleteDom/index.js";
5
+ import { Line as T } from "../Model/line.js";
6
+ import { BaseController as D } from "./BaseController.js";
7
+ import { DeleteDom as M } from "../Modules/DeleteDom/index.js";
8
8
  import { findAssociatedLines as G } from "../utils/findAssociatedLines.js";
9
9
  import { Vector2 as m } from "three";
10
- import v from "../utils/isNDCPointInScreen.js";
10
+ import { isNDCPointInScreen as v } from "../utils/isNDCPointInScreen.js";
11
11
  import { closestPointOnLine as N } from "../utils/math.js";
12
12
  class V extends D {
13
13
  constructor(e) {
@@ -32,22 +32,22 @@ class V extends D {
32
32
  const [i] = this.five.model.intersectRaycaster(e);
33
33
  if (!i)
34
34
  return;
35
- const s = this.five.camera, f = i.point.clone().project(s), d = this.container.clientWidth, r = this.container.clientHeight, p = new m(f.x * d, f.y * r), g = this.model.lines.map((o) => {
36
- const [a, L] = o.points, l = a.position.clone().project(s), c = L.position.clone().project(s);
35
+ const o = this.five.camera, f = i.point.clone().project(o), d = this.container.clientWidth, r = this.container.clientHeight, p = new m(f.x * d, f.y * r), g = this.model.lines.map((s) => {
36
+ const [a, L] = s.points, l = a.position.clone().project(o), c = L.position.clone().project(o);
37
37
  if (!v(l) && !v(c))
38
38
  return null;
39
39
  const C = new m(l.x * d, l.y * r), w = new m(c.x * d, c.y * r);
40
- return { id: o.id, points: [C, w] };
41
- }).filter((o) => !!o);
40
+ return { id: s.id, points: [C, w] };
41
+ }).filter((s) => !!s);
42
42
  if (g.length === 0)
43
43
  return;
44
- const u = g.map((o) => {
45
- const a = N(p, o.points);
46
- return { id: o.id, distance: a.distanceTo(p) };
47
- }).sort((o, a) => o.distance - a.distance)[0];
44
+ const u = g.map((s) => {
45
+ const a = N(p, s.points);
46
+ return { id: s.id, distance: a.distanceTo(p) };
47
+ }).sort((s, a) => s.distance - a.distance)[0];
48
48
  if (u.distance > 20)
49
49
  return;
50
- const P = this.model.lines.find(({ id: o }) => o === u.id);
50
+ const P = this.model.lines.find(({ id: s }) => s === u.id);
51
51
  if (!!P)
52
52
  return this.chooseLine(P), !1;
53
53
  });
@@ -67,8 +67,8 @@ class V extends D {
67
67
  t(this, "onGetEndPoint", (e) => {
68
68
  const i = this.mobileNowPoint;
69
69
  if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && i) {
70
- const s = new T(this.mobileStartPoint, i, this.model);
71
- s.distanceItem.appendTo(this.container), s.distanceItem.update(this.five), s.hook.on("selected", this.chooseLine), this.group.add(s.mesh), this.model.addLine(s);
70
+ const o = new T(this.mobileStartPoint, i, this.model);
71
+ o.distanceItem.appendTo(this.container), o.distanceItem.update(this.five), o.hook.on("selected", this.chooseLine), this.group.add(o.mesh), this.model.addLine(o);
72
72
  }
73
73
  this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
74
74
  });
@@ -86,7 +86,7 @@ class V extends D {
86
86
  const i = G(e);
87
87
  this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
88
88
  "selectedChange",
89
- i.map((s) => s.toCompletelyJson())
89
+ i.map((o) => o.toCompletelyJson())
90
90
  );
91
91
  });
92
92
  t(this, "deleteDomClickCallback", () => {
@@ -121,5 +121,5 @@ class V extends D {
121
121
  }
122
122
  }
123
123
  export {
124
- V as default
124
+ V as MixedController
125
125
  };
@@ -4,9 +4,9 @@ var o = (h, n, e) => (y(h, typeof n != "symbol" ? n + "" : n, e), e);
4
4
  import T from "hammerjs";
5
5
  import { Vector2 as g } from "three";
6
6
  import { closestPointOnLine as H } from "../utils/math.js";
7
- import L from "../utils/isNDCPointInScreen.js";
7
+ import { isNDCPointInScreen as L } from "../utils/isNDCPointInScreen.js";
8
8
  import { findAssociatedLines as k } from "../utils/findAssociatedLines.js";
9
- import E from "./BaseController.js";
9
+ import { BaseController as E } from "./BaseController.js";
10
10
  class M extends E {
11
11
  constructor(e) {
12
12
  super(e);
@@ -86,5 +86,5 @@ class M extends E {
86
86
  }
87
87
  }
88
88
  export {
89
- M as default
89
+ M as ViewController
90
90
  };
@@ -2,9 +2,9 @@ var w = Object.defineProperty;
2
2
  var y = (r, h, e) => h in r ? w(r, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[h] = e;
3
3
  var s = (r, h, e) => (y(r, typeof h != "symbol" ? h + "" : h, e), e);
4
4
  import E from "hammerjs";
5
- import G from "../Modules/DeleteDom/index.js";
6
- import L from "../utils/isNDCPointInScreen.js";
7
- import R from "./BaseController.js";
5
+ import { DeleteDom as G } from "../Modules/DeleteDom/index.js";
6
+ import { isNDCPointInScreen as L } from "../utils/isNDCPointInScreen.js";
7
+ import { BaseController as R } from "./BaseController.js";
8
8
  import { Raycaster as T, Vector2 as f } from "three";
9
9
  import { closestPointOnLine as H } from "../utils/math.js";
10
10
  import { findClosestPoint as I } from "../utils/findClosestPoint.js";
@@ -72,7 +72,7 @@ class B extends R {
72
72
  const [i] = this.five.model.intersectRaycaster(e);
73
73
  if (!i)
74
74
  return;
75
- const t = this.five.camera, n = i.point.clone().project(t), c = this.container.clientWidth, a = this.container.clientHeight, l = new f(n.x * c, n.y * a), u = this.model.lines.map((o) => {
75
+ const t = this.five.camera, n = i.point.clone().project(t), c = this.container.clientWidth, a = this.container.clientHeight, l = new f(n.x * c, n.y * a), g = this.model.lines.map((o) => {
76
76
  const [d, S] = o.points, m = d.position.clone().project(t), p = S.position.clone().project(t);
77
77
  if (!L(m) && !L(p))
78
78
  return null;
@@ -85,15 +85,15 @@ class B extends R {
85
85
  );
86
86
  return { id: o.id, points: [k, D] };
87
87
  }).filter((o) => !!o);
88
- if (u.length === 0)
88
+ if (g.length === 0)
89
89
  return;
90
- const g = u.map((o) => {
90
+ const u = g.map((o) => {
91
91
  const d = H(l, o.points);
92
92
  return { id: o.id, distance: d.distanceTo(l) };
93
93
  }).sort((o, d) => o.distance - d.distance)[0];
94
- if (g.distance > 20)
94
+ if (u.distance > 20)
95
95
  return;
96
- const P = this.model.lines.find(({ id: o }) => o === g.id);
96
+ const P = this.model.lines.find(({ id: o }) => o === u.id);
97
97
  if (!!P)
98
98
  return this.chooseLine(P), !1;
99
99
  });
@@ -150,5 +150,5 @@ class B extends R {
150
150
  }
151
151
  }
152
152
  export {
153
- B as default
153
+ B as WatchController
154
154
  };
@@ -10,12 +10,12 @@ var h = (o, e, t) => e in o ? g(o, e, { enumerable: !0, configurable: !0, writab
10
10
  return o;
11
11
  };
12
12
  var r = (o, e, t) => (h(o, typeof e != "symbol" ? e + "" : e, t), t);
13
- import v from "../Modules/Magnifier.js";
14
- import w from "../Modules/FiveHelper.js";
15
- import a from "./EditController.js";
16
- import M from "./ViewController.js";
17
- import c from "./WatchController.js";
18
- import f from "./MixedController.js";
13
+ import { Magnifier as v } from "../Modules/Magnifier.js";
14
+ import { FiveHelper as w } from "../Modules/FiveHelper.js";
15
+ import { EditController as a } from "./EditController.js";
16
+ import { ViewController as M } from "./ViewController.js";
17
+ import { WatchController as c } from "./WatchController.js";
18
+ import { MixedController as f } from "./MixedController.js";
19
19
  import { omit as y } from "../../shared-utils/filter.js";
20
20
  import { Group as I } from "three";
21
21
  import { Model as b } from "../Model/index.js";
@@ -24,7 +24,7 @@ import { getMouseGroup as x } from "../utils/mouseGroup.js";
24
24
  import { UIController as p } from "../Modules/UIController/index.js";
25
25
  import { GuideController as U } from "../Modules/GuideController.js";
26
26
  import { ShortcutKeyController as k } from "./ShortcutKeyController.js";
27
- import E from "../Modules/rangePiece/index.js";
27
+ import { RangePieceController as E } from "../Modules/rangePiece/index.js";
28
28
  class A {
29
29
  constructor(e, t) {
30
30
  r(this, "hasOpen", !1);
@@ -136,5 +136,5 @@ class A {
136
136
  }
137
137
  }
138
138
  export {
139
- A as default
139
+ A as MeasureController
140
140
  };
@@ -1,10 +1,10 @@
1
1
  var y = Object.defineProperty;
2
2
  var m = (o, i, n) => i in o ? y(o, i, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[i] = n;
3
3
  var r = (o, i, n) => (m(o, typeof i != "symbol" ? i + "" : i, n), n);
4
- import a from "./line.js";
5
- import g from "./point.js";
4
+ import { Line as a } from "./line.js";
5
+ import { Point as g } from "./point.js";
6
6
  import { Subscribe as B } from "@realsee/five";
7
- import c from "../../shared-utils/removeArrayItem.js";
7
+ import { removeArrayItem as c } from "../../shared-utils/removeArrayItem.js";
8
8
  import { Polyline as f } from "./polyline.js";
9
9
  class v {
10
10
  constructor(i) {
@@ -1,12 +1,12 @@
1
1
  var h = Object.defineProperty;
2
2
  var r = (s, i, t) => i in s ? h(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t;
3
3
  var e = (s, i, t) => (r(s, typeof i != "symbol" ? i + "" : i, t), t);
4
- import u from "../../shared-utils/uuid.js";
5
- import { Polyline as m } from "./polyline.js";
6
- import { createLineMesh as l } from "../utils/line.js";
7
- import { Subscribe as d } from "@realsee/five";
8
- import { createDistanceItem as p } from "../utils/distanceDom.js";
9
- class n {
4
+ import { uuid as m } from "../../shared-utils/uuid.js";
5
+ import { Polyline as u } from "./polyline.js";
6
+ import { createLineMesh as n } from "../utils/line.js";
7
+ import { Subscribe as p } from "@realsee/five";
8
+ import { createDistanceItem as d } from "../utils/distanceDom.js";
9
+ class l {
10
10
  constructor(i, t, o) {
11
11
  e(this, "id");
12
12
  e(this, "selected", !1);
@@ -18,9 +18,9 @@ class n {
18
18
  e(this, "hook");
19
19
  e(this, "distanceItem");
20
20
  e(this, "polyline");
21
- if (this.id = u(), this.model = o, i.id === t.id)
21
+ if (this.id = m(), this.model = o, i.id === t.id)
22
22
  throw new Error("\u65E0\u6548\u7684\u7EBF\u6BB5, \u4E00\u4E2A\u70B9\u65E0\u6CD5\u6784\u6210\u7EBF\u6BB5");
23
- this.hook = new d(), this.points = [i, t], this.mesh = l(this, "normal"), this.lightMesh = l(this, "light"), this.distanceItem = p({
23
+ this.hook = new p(), this.points = [i, t], this.mesh = n(this, "normal"), this.lightMesh = n(this, "light"), this.distanceItem = d({
24
24
  line: this,
25
25
  clickCallback: () => this.hook.emit("selected", this),
26
26
  userDistanceItem: this.model.params.userDistanceItemCreator ? this.model.params.userDistanceItemCreator() : void 0
@@ -35,7 +35,7 @@ class n {
35
35
  const i = this.model.polylines.find((o) => o.lines.includes(this));
36
36
  if (this.polyline = i, i)
37
37
  return i;
38
- const t = new m();
38
+ const t = new u();
39
39
  return t.push(this), t;
40
40
  }
41
41
  findAnotherPoint(i) {
@@ -48,9 +48,9 @@ class n {
48
48
  return { id: this.id, points: this.points.map((i) => i.toJson()) };
49
49
  }
50
50
  clone() {
51
- return new n(this.points[0].clone(), this.points[1].clone(), this.model);
51
+ return new l(this.points[0].clone(), this.points[1].clone(), this.model);
52
52
  }
53
53
  }
54
54
  export {
55
- n as default
55
+ l as Line
56
56
  };