@realsee/dnalogel 2.3.5-dev.7 → 2.3.6-alpha.0

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 (425) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/CruisePlugin/typing.d.ts +4 -0
  3. package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  4. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
  6. package/dist/PanoTagPlugin/controller/index.d.ts +13 -16
  7. package/dist/PanoTagPlugin/index.d.ts +1 -1
  8. package/dist/PanoTagPlugin/typings/controller.d.ts +11 -13
  9. package/dist/PanoTagPlugin/typings/index.d.ts +1 -5
  10. package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
  11. package/dist/index.cjs.js +51 -51
  12. package/dist/index.js +6419 -7315
  13. package/dist/index.umd.js +49 -49
  14. package/docs/assets/search.js +1 -1
  15. package/docs/classes/CSS3DRender.html +31 -31
  16. package/docs/classes/CruisePluginController.html +26 -26
  17. package/docs/classes/Magnifier.html +16 -16
  18. package/docs/classes/ModelRoomLabelController.html +11 -11
  19. package/docs/classes/Object3DHelperController.html +24 -24
  20. package/docs/classes/PaintBrush.html +15 -15
  21. package/docs/classes/PanoTagPluginController.html +164 -213
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.FivePointSelector.html +12 -12
  24. package/docs/classes/Util.Interval.html +12 -12
  25. package/docs/classes/Util.Magnifier.html +17 -17
  26. package/docs/classes/Util.PointDomHelper.html +11 -11
  27. package/docs/classes/Util.PointHelper.html +11 -11
  28. package/docs/classes/Util.Rectangle.html +13 -13
  29. package/docs/enums/CameraMovementEffect.html +7 -7
  30. package/docs/enums/ContentType.html +35 -75
  31. package/docs/enums/DIRECTION.html +9 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  33. package/docs/enums/DimensionType.html +15 -19
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  36. package/docs/{interfaces/AddTagConfig.html → enums/LinkType.html} +23 -20
  37. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  38. package/docs/enums/PointType.html +15 -19
  39. package/docs/enums/Rotation.html +8 -8
  40. package/docs/functions/CSS3DRenderPlugin.html +13 -36
  41. package/docs/functions/CameraMovementPlugin.html +13 -36
  42. package/docs/functions/CruisePlugin.html +13 -36
  43. package/docs/functions/GuideLinePlugin.html +14 -37
  44. package/docs/functions/ItemLabelPlugin.html +13 -36
  45. package/docs/functions/MapviewFloorplanPlugin.html +13 -36
  46. package/docs/functions/ModelChassisCompassPlugin.html +13 -36
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +13 -36
  48. package/docs/functions/ModelFloorplanPlugin.html +13 -36
  49. package/docs/functions/ModelItemLabelPlugin.html +13 -36
  50. package/docs/functions/ModelRoomLabelPlugin.html +13 -36
  51. package/docs/functions/ModelTVVideoPlugin.html +13 -36
  52. package/docs/functions/ModelViewPlugin.html +13 -36
  53. package/docs/functions/Object3DHelperPlugin.html +13 -36
  54. package/docs/functions/PanoCompassPlugin.html +13 -36
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +13 -36
  56. package/docs/functions/PanoDoorLabelPlugin.html +13 -36
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +13 -36
  58. package/docs/functions/PanoMeasurePlugin.html +13 -36
  59. package/docs/functions/PanoRulerPlugin.html +13 -36
  60. package/docs/functions/PanoRulerProPlugin.html +13 -36
  61. package/docs/functions/PanoSpatialTagPlugin.html +13 -36
  62. package/docs/functions/PanoTagPlugin.html +23 -42
  63. package/docs/functions/TopviewFloorplanPlugin.html +13 -36
  64. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  65. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  66. package/docs/functions/Util.getFrameTime.html +5 -5
  67. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  68. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  69. package/docs/functions/Util.isNil.html +5 -5
  70. package/docs/functions/Util.nextFrame.html +5 -5
  71. package/docs/functions/Util.notNil.html +5 -5
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  73. package/docs/functions/Util.tweenProgress.html +5 -5
  74. package/docs/functions/pluginFlag.html +14 -37
  75. package/docs/index.html +13 -36
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  77. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  78. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  79. package/docs/interfaces/ContentTypeMap.html +212 -0
  80. package/docs/interfaces/FloorplanBounding.html +8 -8
  81. package/docs/interfaces/FloorplanData.html +10 -10
  82. package/docs/interfaces/FloorplanEntrance.html +11 -11
  83. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  84. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  85. package/docs/interfaces/FloorplanFloorData.html +9 -9
  86. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  87. package/docs/interfaces/FloorplanObserver.html +9 -9
  88. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  89. package/docs/interfaces/FloorplanPosition.html +7 -7
  90. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  91. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  92. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  93. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  94. package/docs/interfaces/FloorplanServerData.html +7 -7
  95. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  96. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  97. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  99. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  100. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  101. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  102. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  103. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  104. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  105. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  108. package/docs/interfaces/LineJson.html +7 -7
  109. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  110. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  112. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  113. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  114. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  115. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  116. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  117. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  118. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  119. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  120. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  121. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  122. package/docs/interfaces/Object3DHelperState.html +8 -8
  123. package/docs/interfaces/OpenParameter.html +7 -7
  124. package/docs/interfaces/PaintBrushAction.html +12 -12
  125. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  126. package/docs/interfaces/PaintBrushState.html +10 -10
  127. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  128. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +14 -37
  129. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  130. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  132. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  133. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  134. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  137. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +14 -37
  138. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +14 -37
  139. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  140. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  146. package/docs/interfaces/Point.html +8 -8
  147. package/docs/interfaces/PointJson.html +8 -8
  148. package/docs/interfaces/Room.html +9 -9
  149. package/docs/interfaces/RoomInfo.html +7 -7
  150. package/docs/interfaces/RoomLabel.html +14 -14
  151. package/docs/interfaces/RoomRules.html +14 -37
  152. package/docs/interfaces/Rooms.html +14 -37
  153. package/docs/interfaces/Scissor.html +9 -9
  154. package/docs/interfaces/TagConfig.html +19 -15
  155. package/docs/interfaces/Tags.html +12 -14
  156. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  157. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  158. package/docs/modules/Util.html +5 -5
  159. package/docs/modules.html +21 -67
  160. package/docs/types/ArrayPosition.html +15 -38
  161. package/docs/types/CSS3DRenderExportType.html +14 -37
  162. package/docs/types/CSS3DRenderPluginExportType.html +14 -37
  163. package/docs/types/CSS3DRenderPluginParameterType.html +14 -37
  164. package/docs/types/Color.html +14 -37
  165. package/docs/types/ContentTypeConfigKey.html +15 -38
  166. package/docs/types/{WorkCode.html → ContentTypeConfigKeyArray.html} +17 -40
  167. package/docs/types/Create3DDomContainerReturnType.html +14 -37
  168. package/docs/types/Create3DElementReturnType.html +14 -37
  169. package/docs/types/CruisePluginExportType.html +14 -37
  170. package/docs/types/Direction-1.html +14 -37
  171. package/docs/types/Direction4.html +14 -37
  172. package/docs/types/FloorplanRuleLabels.html +14 -37
  173. package/docs/types/FloorplanServerRuleLabels.html +14 -37
  174. package/docs/types/GuideLinePluginExportType.html +14 -37
  175. package/docs/types/HelperEventMap.html +14 -37
  176. package/docs/types/MapviewFloorplanPluginParameterType.html +14 -37
  177. package/docs/types/MapviewFloorplanPluginReturnType.html +14 -37
  178. package/docs/types/MediaData.html +14 -37
  179. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +14 -37
  180. package/docs/types/ModelFloorplanPluginParameterType.html +14 -37
  181. package/docs/types/ModelFloorplanPluginReturnType.html +14 -37
  182. package/docs/types/ModelRoomLabelPluginParameters.html +14 -37
  183. package/docs/types/ModelRoomLabelPluginReturnType.html +14 -37
  184. package/docs/types/MoveArgs.html +14 -37
  185. package/docs/types/MoveOpts.html +14 -37
  186. package/docs/types/Object3DHelperEventMap.html +14 -37
  187. package/docs/types/ObjectFit.html +14 -37
  188. package/docs/types/PaintBrushEventMap.html +14 -37
  189. package/docs/types/PanoCompassPluginData.html +14 -37
  190. package/docs/types/PanoCompassPluginExportType.html +14 -37
  191. package/docs/types/PanoCompassPluginParameterType.html +14 -37
  192. package/docs/types/PanoFloorplanRadarPluginParameterType.html +14 -37
  193. package/docs/types/PanoFloorplanRadarPluginReturnType.html +14 -37
  194. package/docs/types/PanoMeasurePluginEvent.html +14 -37
  195. package/docs/types/PanoMeasureReturnType.html +14 -37
  196. package/docs/types/PanoSpatialTagPluginId.html +14 -37
  197. package/docs/types/PanoTagPluginExportInterface.html +14 -37
  198. package/docs/types/PanoTagPluginParamsInterface.html +14 -37
  199. package/docs/types/PlaneTag.html +19 -40
  200. package/docs/types/PointTag.html +23 -40
  201. package/docs/types/Position.html +14 -37
  202. package/docs/types/RotateArgs.html +14 -37
  203. package/docs/types/RotateOpts.html +14 -37
  204. package/docs/types/RuleLabelsKey.html +14 -37
  205. package/docs/types/RuleLabelsValue.html +14 -37
  206. package/docs/types/Tag.html +22 -41
  207. package/docs/types/Tag2D.html +20 -42
  208. package/docs/types/Tag3D.html +20 -42
  209. package/docs/types/TagId.html +14 -37
  210. package/docs/types/TopviewFloorplanPluginParameterType.html +14 -37
  211. package/docs/types/TopviewFloorplanPluginReturnType.html +14 -37
  212. package/docs/variables/FLOOR_TYPE_MAP.html +14 -37
  213. package/docs/variables/PLUGIN.html +14 -37
  214. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +14 -37
  215. package/docs/variables/ROOM_TYPE_MAP.html +14 -37
  216. package/docs/variables/VERSION.html +14 -37
  217. package/docs/variables/itemLabelPluginServerParams.html +14 -37
  218. package/docs/variables/modelItemLabelPluginServerParams.html +14 -37
  219. package/docs/variables/modelRoomLabelPluginServerParams.html +14 -37
  220. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  221. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  222. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  223. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  224. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  225. package/libs/CSS3DRenderPlugin/utils/index.js +0 -12
  226. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  227. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +3 -4
  228. package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
  229. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +2 -3
  230. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -2
  231. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -6
  232. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  233. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  234. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  235. package/libs/CruisePlugin/Controller.js +146 -143
  236. package/libs/CruisePlugin/typing.d.ts +4 -0
  237. package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
  238. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  239. package/libs/GuideLinePlugin/Controller.js +1 -1
  240. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  241. package/libs/Object3DHelperPlugin/Controller.js +36 -38
  242. package/libs/PanoMeasurePlugin/Controller/BaseController.js +15 -25
  243. package/libs/PanoMeasurePlugin/Controller/EditController.js +9 -21
  244. package/libs/PanoMeasurePlugin/Controller/MixedController.js +10 -23
  245. package/libs/PanoMeasurePlugin/Controller/ViewController.js +14 -25
  246. package/libs/PanoMeasurePlugin/Controller/WatchController.js +29 -44
  247. package/libs/PanoMeasurePlugin/Controller/index.js +21 -58
  248. package/libs/PanoMeasurePlugin/Model/index.js +40 -47
  249. package/libs/PanoMeasurePlugin/Model/line.js +11 -15
  250. package/libs/PanoMeasurePlugin/Model/point.js +5 -5
  251. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  252. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  253. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  254. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  255. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  256. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  257. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  258. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  259. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  260. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  261. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
  262. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  263. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -8
  264. package/libs/PanoMeasurePlugin/index.js +2 -2
  265. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  266. package/libs/PanoMeasurePlugin/utils/constants.js +16 -15
  267. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  268. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +6 -7
  269. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  270. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  271. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  272. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  273. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  274. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  275. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  276. package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  277. package/libs/PanoTagPlugin/Assets/Icon.js +3 -4
  278. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  279. package/libs/PanoTagPlugin/Components/Common/Audio.js +132 -137
  280. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  281. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +59 -95
  282. package/libs/PanoTagPlugin/Components/Common/Media.js +205 -231
  283. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +80 -109
  284. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
  285. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +50 -0
  286. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +50 -0
  287. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
  288. package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
  289. package/libs/PanoTagPlugin/Components/Common/Text.js +130 -0
  290. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +131 -0
  291. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  292. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +130 -122
  293. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +96 -58
  294. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
  295. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -75
  296. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
  297. package/libs/PanoTagPlugin/Components/Tag/index.js +145 -182
  298. package/libs/PanoTagPlugin/Components/TagContainer.js +109 -144
  299. package/libs/PanoTagPlugin/Components/TagWrapper.js +152 -0
  300. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  301. package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
  302. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
  303. package/libs/PanoTagPlugin/controller/TagComputer.js +150 -173
  304. package/libs/PanoTagPlugin/controller/index.d.ts +13 -16
  305. package/libs/PanoTagPlugin/controller/index.js +165 -238
  306. package/libs/PanoTagPlugin/index.d.ts +1 -1
  307. package/libs/PanoTagPlugin/index.js +21 -32
  308. package/libs/PanoTagPlugin/tag.config.js +16 -23
  309. package/libs/PanoTagPlugin/typings/controller.d.ts +11 -13
  310. package/libs/PanoTagPlugin/typings/index.d.ts +1 -5
  311. package/libs/PanoTagPlugin/typings/index.js +1 -7
  312. package/libs/PanoTagPlugin/typings/tag.d.ts +247 -0
  313. package/libs/PanoTagPlugin/typings/tag.js +7 -0
  314. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  315. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  316. package/libs/PanoTagPlugin/utils/index.js +0 -35
  317. package/libs/PanoTagPlugin/utils/search.js +9 -27
  318. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  319. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  320. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -10
  321. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  322. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  323. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  324. package/libs/index.js +101 -112
  325. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +20 -17
  326. package/libs/vendor/svelte/internal/index.js +341 -381
  327. package/package.json +3 -3
  328. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  329. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  330. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  331. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
  332. package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
  333. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  334. package/dist/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  335. package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  336. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  337. package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  338. package/docs/interfaces/EventMap.html +0 -298
  339. package/docs/interfaces/MinMax.html +0 -71
  340. package/docs/interfaces/State.html +0 -89
  341. package/docs/interfaces/TagCache.html +0 -92
  342. package/docs/interfaces/TagIconUrl.html +0 -91
  343. package/docs/interfaces/TemporaryState.html +0 -64
  344. package/docs/types/ContentTypeMap.html +0 -248
  345. package/docs/types/LoadTagConfig.html +0 -248
  346. package/docs/types/MediaStore.html +0 -248
  347. package/docs/types/PanoIndex.html +0 -248
  348. package/docs/types/PlaneTagElement.html +0 -253
  349. package/docs/types/Point2DElement.html +0 -253
  350. package/docs/types/Point2DTag.html +0 -255
  351. package/docs/types/Point3DElement.html +0 -253
  352. package/docs/types/Point3DTag.html +0 -255
  353. package/docs/types/PointTagElement.html +0 -253
  354. package/docs/types/StickType.html +0 -248
  355. package/docs/types/TagContentType.html +0 -248
  356. package/docs/types/TagDimensionType.html +0 -248
  357. package/docs/types/TagElement.html +0 -255
  358. package/docs/types/TagEvents.html +0 -283
  359. package/docs/types/TagHooks.html +0 -248
  360. package/docs/types/TagIconSize.html +0 -251
  361. package/docs/types/TagPointType.html +0 -251
  362. package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
  363. package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
  364. package/libs/PanoMeasurePlugin/typings/data.js +0 -1
  365. package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
  366. package/libs/PanoMeasurePlugin/typings/index.js +0 -1
  367. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
  368. package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
  369. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
  370. package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
  371. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -175
  372. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -110
  373. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -81
  374. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -145
  375. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -147
  376. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -166
  377. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
  378. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -213
  379. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -215
  380. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -120
  381. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -102
  382. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -134
  383. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -115
  384. package/libs/PanoTagPlugin/Components/TagItem.js +0 -187
  385. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  386. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  387. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  388. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  389. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  390. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  391. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  392. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  393. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  394. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  395. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  396. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  397. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  398. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  399. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  400. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  401. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  402. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  403. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
  404. package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +0 -128
  405. package/libs/PanoTagPlugin/mocks/v2/mock1.js +0 -114
  406. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  407. package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
  408. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  409. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -1
  410. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  411. package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
  412. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
  413. package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -5
  414. package/libs/PanoTagPlugin/utils/color.d.ts +0 -7
  415. package/libs/PanoTagPlugin/utils/color.js +0 -17
  416. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  417. package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -51
  418. package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  419. package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
  420. package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  421. package/libs/PanoTagPlugin/utils/tag/format.js +0 -18
  422. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  423. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -26
  424. package/libs/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  425. package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
@@ -1,7 +1,7 @@
1
- var g = Object.defineProperty;
1
+ var O = Object.defineProperty;
2
2
  var w = Object.getOwnPropertySymbols;
3
3
  var M = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
4
- var b = (i, s, e) => s in i ? g(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e, f = (i, s) => {
4
+ var b = (i, s, e) => s in i ? O(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e, f = (i, s) => {
5
5
  for (var e in s || (s = {}))
6
6
  M.call(s, e) && b(i, e, s[e]);
7
7
  if (w)
@@ -11,25 +11,25 @@ var b = (i, s, e) => s in i ? g(i, s, { enumerable: !0, configurable: !0, writab
11
11
  };
12
12
  var p = (i, s, e) => (b(i, typeof s != "symbol" ? s + "" : s, e), e);
13
13
  var u = (i, s, e) => new Promise((r, t) => {
14
- var o = (l) => {
14
+ var l = (n) => {
15
15
  try {
16
- h(e.next(l));
17
- } catch (c) {
18
- t(c);
16
+ d(e.next(n));
17
+ } catch (h) {
18
+ t(h);
19
19
  }
20
- }, m = (l) => {
20
+ }, c = (n) => {
21
21
  try {
22
- h(e.throw(l));
23
- } catch (c) {
24
- t(c);
22
+ d(e.throw(n));
23
+ } catch (h) {
24
+ t(h);
25
25
  }
26
- }, h = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, m);
27
- h((e = e.apply(i, s)).next());
26
+ }, d = (n) => n.done ? r(n.value) : Promise.resolve(n.value).then(l, c);
27
+ d((e = e.apply(i, s)).next());
28
28
  });
29
29
  import { Controller as R } from "../base/BasePlugin.js";
30
30
  import "three";
31
- import { MoveHelper as P } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
32
- import { RotateHelper as j } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
31
+ import { MoveHelper as j } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
32
+ import { RotateHelper as P } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
33
33
  import { RectangleScaleHelper as y } from "../shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js";
34
34
  import "../shared-utils/Object3DHelper/Helper/OutlineHelper.js";
35
35
  import { MoveController as F } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
@@ -38,8 +38,8 @@ import { Object3DHelper as I } from "../shared-utils/Object3DHelper/index.js";
38
38
  import { RotateController as k } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
39
39
  import { CSS3DScaleController as B } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
40
40
  import { CSS3DRender as L } from "../CSS3DRenderPlugin/CSS3DRender.js";
41
- import $ from "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
42
- import W from "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
41
+ import { fiveModelLoaded as $ } from "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
42
+ import { generateBehindFiveElement as W } from "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
43
43
  import "../shared-utils/Subscribe.js";
44
44
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
45
45
  import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
@@ -66,17 +66,17 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
66
66
  import "../CSS3DRenderPlugin/utils/positionToVector3.js";
67
67
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
68
68
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
69
- const O = "v1.0.0", H = "Object3DHelperPlugin", C = `${H}@${O}`, _ = () => {
69
+ const g = "v1.0.0", H = "Object3DHelperPlugin", C = `${H}@${g}`, _ = () => {
70
70
  console.error(`${C} is disposed`);
71
71
  }, G = () => {
72
72
  console.warn(`${C} is disabled`);
73
73
  }, N = () => {
74
74
  console.error(`${C} is disabled`);
75
75
  };
76
- class Pe extends R {
76
+ class je extends R {
77
77
  constructor(e) {
78
78
  super(e);
79
- p(this, "version", O);
79
+ p(this, "version", g);
80
80
  p(this, "name", H);
81
81
  p(this, "state", {
82
82
  visible: !0,
@@ -128,35 +128,33 @@ class Pe extends R {
128
128
  }
129
129
  const t = new I();
130
130
  this.objectHelperMap.set(e, t);
131
- const o = (S = this.five.getElement()) == null ? void 0 : S.parentElement, m = this.five.camera, { moveHelper: h = !0, rotateHelper: l = !0, scaleHelper: c = !0 } = r;
132
- if (h) {
133
- const n = new P(e), a = new v(this.five, F, e, n);
131
+ const l = (S = this.five.getElement()) == null ? void 0 : S.parentElement, c = this.five.camera, { moveHelper: d = !0, rotateHelper: n = !0, scaleHelper: h = !0 } = r;
132
+ if (d) {
133
+ const o = new j(e), a = new v(this.five, F, e, o);
134
134
  t.addControllers({ moveController: a.helperController });
135
135
  }
136
- if (l) {
137
- let n;
138
- o && m && (n = { container: o });
139
- const a = new j(e, n), d = new v(this.five, k, e, a);
140
- t.addControllers({ rotateController: d.helperController });
136
+ if (n) {
137
+ let o;
138
+ l && c && (o = { container: l });
139
+ const a = new P(e, o), m = new v(this.five, k, e, a);
140
+ t.addControllers({ rotateController: m.helperController });
141
141
  }
142
- if (c && o) {
143
- const n = new y(e, o, m, this.five.scene), a = new v(this.five, B, e, n);
142
+ if (h && l) {
143
+ const o = new y(e, l, c, this.five.scene), a = new v(this.five, B, e, o);
144
144
  t.addControllers({ scaleController: a.helperController });
145
145
  }
146
146
  e.isCSS3DObjectPlus && $(this.five).then(() => {
147
- var n, a;
148
- if (e.isCSS3DObjectPlus) {
149
- const d = e, D = (n = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? n : W(this.five);
150
- D && e && (this.css3DObjectParentMap.set(d, d.parent), d.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(D), (a = this.css3DRender.getBehindCSS3DObjectGroup()) == null || a.add(d), this.css3DRender.render(this.five.camera));
151
- }
147
+ var m, D;
148
+ const o = e, a = (m = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? m : W(this.five);
149
+ a && (this.css3DObjectParentMap.set(o, o.parent), o.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(a), (D = this.css3DRender.getBehindCSS3DObjectGroup()) == null || D.add(o), this.css3DRender.render(this.five.camera));
152
150
  });
153
151
  }
154
152
  removeObject3DHelper(e) {
155
153
  const r = this.objectHelperMap.get(e);
156
154
  if (!!r) {
157
155
  if (e.isCSS3DObjectPlus) {
158
- const t = e, o = this.css3DObjectParentMap.get(t);
159
- o == null || o.add(t), this.css3DRender.render(this.five.camera);
156
+ const t = e, l = this.css3DObjectParentMap.get(t);
157
+ l == null || l.add(t), this.css3DRender.render(this.five.camera);
160
158
  }
161
159
  this.objectHelperMap.delete(e), r.dispose();
162
160
  }
@@ -182,7 +180,7 @@ class Pe extends R {
182
180
  }
183
181
  }
184
182
  export {
185
- Pe as Object3DHelperController,
183
+ je as Object3DHelperController,
186
184
  C as PLUGIN,
187
- O as VERSION
185
+ g as VERSION
188
186
  };
@@ -1,20 +1,10 @@
1
- var u = Object.defineProperty;
2
- var a = (i, e, o) => e in i ? u(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
1
+ var m = Object.defineProperty;
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 m from "../Model/point.js";
6
- import { preventDefault as n } from "../utils/ironbox.js";
7
- import "../../shared-utils/uuid.js";
8
- import "../Model/polyline.js";
9
- import "../utils/line.js";
10
- import "@realsee/five/line";
11
- import "../utils/constants.js";
12
- import "three";
13
- import "@realsee/five";
14
- import "../utils/distanceDom.js";
15
- import "../utils/isNDCPointInScreen.js";
16
- import "../../shared-utils/removeArrayItem.js";
17
- class H {
4
+ import { Line as l } from "../Model/line.js";
5
+ import { Point as d } from "../Model/point.js";
6
+ import { preventDefault as r } from "../utils/ironbox.js";
7
+ class G {
18
8
  constructor(e) {
19
9
  t(this, "model");
20
10
  t(this, "five");
@@ -32,10 +22,10 @@ class H {
32
22
  t(this, "updateDistanceUI", () => {
33
23
  this.dashed.distanceItem.update(this.five), this.model.lines.forEach((e) => e.distanceItem.update(this.five));
34
24
  });
35
- var s, r;
36
- this.five = e.five, this.hook = e.hook, this.model = e.model, this.config = e.config, this.magnifier = e.magnifier, this.container = e.container, this.fiveHelper = e.fiveHelper, this.isMobile = (r = (s = e.openParams) == null ? void 0 : s.isMobile) != null ? r : !1, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new l(new m([0, 0, 0]), new m([0, 0, 0]), this.model), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
25
+ var s, n;
26
+ this.five = e.five, this.hook = e.hook, this.model = e.model, this.config = e.config, this.magnifier = e.magnifier, this.container = e.container, this.fiveHelper = e.fiveHelper, this.isMobile = (n = (s = e.openParams) == null ? void 0 : s.isMobile) != null ? n : !1, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new l(new d([0, 0, 0]), new d([0, 0, 0]), this.model), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
37
27
  const o = this.five.getElement();
38
- o && (o.addEventListener("touchstart", n), o.addEventListener("contextmenu", n));
28
+ o && (o.addEventListener("touchstart", r), o.addEventListener("contextmenu", r));
39
29
  }
40
30
  removeLine(e) {
41
31
  this.group.remove(e.mesh, e.lightMesh), e.distanceItem.remove(), this.five.needsRender = !0;
@@ -43,21 +33,21 @@ class H {
43
33
  updateMouseGroup(e, o) {
44
34
  if (!e)
45
35
  return this.mouseGroup;
46
- const s = this.fiveHelper.getAdsorbentPoint(e), r = s || e.point;
47
- if (this.mouseGroup.position.copy(r), o)
36
+ const s = this.fiveHelper.getAdsorbentPoint(e), n = s || e.point;
37
+ if (this.mouseGroup.position.copy(n), o)
48
38
  this.mouseGroup.quaternion.copy(o.quaternion);
49
39
  else if (e.face) {
50
- const h = e.face.normal.clone().multiplyScalar(0.05), d = e.point.clone().add(h).clone().add(h);
51
- this.mouseGroup.lookAt(d);
40
+ const h = e.face.normal.clone().multiplyScalar(0.05), u = e.point.clone().add(h).clone().add(h);
41
+ this.mouseGroup.lookAt(u);
52
42
  }
53
43
  return this.mouseGroup;
54
44
  }
55
45
  dispose() {
56
46
  this.disposed = !0, this.magnifier.remove(), this.model.lines.forEach((o) => this.removeLine(o));
57
47
  const e = this.five.getElement();
58
- e && (e.removeEventListener("touchstart", n), e.removeEventListener("contextmenu", n));
48
+ e && (e.removeEventListener("touchstart", r), e.removeEventListener("contextmenu", r));
59
49
  }
60
50
  }
61
51
  export {
62
- H as default
52
+ G as BaseController
63
53
  };
@@ -1,26 +1,14 @@
1
- var d = Object.defineProperty;
2
- var m = (h, n, e) => n in h ? d(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e;
1
+ var p = Object.defineProperty;
2
+ var m = (h, n, e) => n in h ? p(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e;
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 p from "../Model/point.js";
6
+ import { Line as l } from "../Model/line.js";
7
+ import { Point as d } from "../Model/point.js";
8
8
  import { throttle as v } from "../../shared-utils/throttle.js";
9
- import c from "./BaseController.js";
9
+ import { BaseController as c } from "./BaseController.js";
10
10
  import { getIntersectionFromEvent as r } from "../utils/getIntersectionFromEvent.js";
11
- import "@realsee/five";
12
- import "../../shared-utils/removeArrayItem.js";
13
- import "../Model/polyline.js";
14
- import "../../shared-utils/uuid.js";
15
- import "../utils/line.js";
16
- import "@realsee/five/line";
17
- import "../utils/constants.js";
18
- import "three";
19
- import "../utils/distanceDom.js";
20
- import "../utils/isNDCPointInScreen.js";
21
- import "../utils/ironbox.js";
22
- import "../utils/getPointFromHammerEvent.js";
23
- class q extends c {
11
+ class A extends c {
24
12
  constructor(e) {
25
13
  var i;
26
14
  super(e);
@@ -60,7 +48,7 @@ class q extends c {
60
48
  const [t] = r(this.five, e);
61
49
  if (!t || !t.face)
62
50
  return;
63
- const i = new p(t.point);
51
+ const i = new d(t.point);
64
52
  this.pressPoint = i, this.onIntersectionUpdate(t);
65
53
  });
66
54
  s(this, "onPan", (e) => {
@@ -76,7 +64,7 @@ class q extends c {
76
64
  this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh)), this.hasAppendDashed = !0;
77
65
  const [t] = r(this.five, e);
78
66
  this.updateMouseGroup(t);
79
- const i = new p(this.mouseGroup.position), o = this.lastPoint;
67
+ const i = new d(this.mouseGroup.position), o = this.lastPoint;
80
68
  if (i && (this.lastPoint = i), i && o) {
81
69
  const a = new l(o, i, this.model);
82
70
  a.distanceItem.appendTo(this.container), this.model.addLine(a), this.group.add(a.mesh), a.distanceItem.update(this.five);
@@ -110,5 +98,5 @@ class q extends c {
110
98
  }
111
99
  }
112
100
  export {
113
- q as default
101
+ A as EditController
114
102
  };
@@ -2,27 +2,14 @@ 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
- import "../Model/point.js";
13
- import "../../shared-utils/uuid.js";
14
- import "../../shared-utils/removeArrayItem.js";
15
- import "@realsee/five";
16
- import "../Model/polyline.js";
17
- import "../utils/line.js";
18
- import "@realsee/five/line";
19
- import "../utils/constants.js";
20
- import "../utils/distanceDom.js";
21
- import "../utils/ironbox.js";
22
- import "../Modules/DeleteDom/_Assets/delete.svg.js";
23
- import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
24
- import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
25
- class $ extends D {
12
+ class V extends D {
26
13
  constructor(e) {
27
14
  super(e);
28
15
  t(this, "state", "watching");
@@ -45,18 +32,18 @@ class $ extends D {
45
32
  const [i] = this.five.model.intersectRaycaster(e);
46
33
  if (!i)
47
34
  return;
48
- const o = this.five.camera, p = i.point.clone().project(o), r = this.container.clientWidth, d = this.container.clientHeight, f = new m(p.x * r, p.y * d), g = this.model.lines.map((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) => {
49
36
  const [a, L] = s.points, l = a.position.clone().project(o), c = L.position.clone().project(o);
50
37
  if (!v(l) && !v(c))
51
38
  return null;
52
- const C = new m(l.x * r, l.y * d), w = new m(c.x * r, c.y * d);
39
+ const C = new m(l.x * d, l.y * r), w = new m(c.x * d, c.y * r);
53
40
  return { id: s.id, points: [C, w] };
54
41
  }).filter((s) => !!s);
55
42
  if (g.length === 0)
56
43
  return;
57
44
  const u = g.map((s) => {
58
- const a = N(f, s.points);
59
- return { id: s.id, distance: a.distanceTo(f) };
45
+ const a = N(p, s.points);
46
+ return { id: s.id, distance: a.distanceTo(p) };
60
47
  }).sort((s, a) => s.distance - a.distance)[0];
61
48
  if (u.distance > 20)
62
49
  return;
@@ -134,5 +121,5 @@ class $ extends D {
134
121
  }
135
122
  }
136
123
  export {
137
- $ as default
124
+ V as MixedController
138
125
  };
@@ -2,23 +2,12 @@ var P = Object.defineProperty;
2
2
  var y = (h, n, e) => n in h ? P(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e;
3
3
  var o = (h, n, e) => (y(h, typeof n != "symbol" ? n + "" : n, e), e);
4
4
  import T from "hammerjs";
5
- import { Vector2 as p } from "three";
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";
10
- import "../Model/line.js";
11
- import "../../shared-utils/uuid.js";
12
- import "../Model/polyline.js";
13
- import "../utils/line.js";
14
- import "@realsee/five/line";
15
- import "../utils/constants.js";
16
- import "@realsee/five";
17
- import "../utils/distanceDom.js";
18
- import "../Model/point.js";
19
- import "../../shared-utils/removeArrayItem.js";
20
- import "../utils/ironbox.js";
21
- class K extends E {
9
+ import { BaseController as E } from "./BaseController.js";
10
+ class M extends E {
22
11
  constructor(e) {
23
12
  super(e);
24
13
  o(this, "type", "view");
@@ -30,24 +19,24 @@ class K extends E {
30
19
  const [t] = this.five.model.intersectRaycaster(e);
31
20
  if (!t)
32
21
  return;
33
- const i = this.five.camera, g = t.point.clone().project(i), c = this.container.clientWidth, a = this.container.clientHeight, f = new p(g.x * c, g.y * a), u = this.model.lines.map((s) => {
34
- const [r, w] = s.points, m = r.position.clone().project(i), l = w.position.clone().project(i);
35
- if (!L(m) && !L(l))
22
+ const i = this.five.camera, f = t.point.clone().project(i), c = this.container.clientWidth, a = this.container.clientHeight, p = new g(f.x * c, f.y * a), u = this.model.lines.map((s) => {
23
+ const [r, w] = s.points, l = r.position.clone().project(i), m = w.position.clone().project(i);
24
+ if (!L(l) && !L(m))
36
25
  return null;
37
- const C = new p(
38
- m.x * c,
39
- m.y * a
40
- ), R = new p(
26
+ const C = new g(
41
27
  l.x * c,
42
28
  l.y * a
29
+ ), R = new g(
30
+ m.x * c,
31
+ m.y * a
43
32
  );
44
33
  return { id: s.id, points: [C, R] };
45
34
  }).filter((s) => !!s);
46
35
  if (u.length === 0)
47
36
  return;
48
37
  const v = u.map((s) => {
49
- const r = H(f, s.points);
50
- return { id: s.id, distance: r.distanceTo(f) };
38
+ const r = H(p, s.points);
39
+ return { id: s.id, distance: r.distanceTo(p) };
51
40
  }).sort((s, r) => s.distance - r.distance)[0], d = v.distance > 20 ? void 0 : this.model.lines.find(({ id: s }) => s === v.id);
52
41
  if (this.highlightedLines.length > 0 && !d)
53
42
  return this.clearHighlightLines(), !1;
@@ -97,5 +86,5 @@ class K extends E {
97
86
  }
98
87
  }
99
88
  export {
100
- K as default
89
+ M as ViewController
101
90
  };
@@ -1,31 +1,16 @@
1
1
  var w = Object.defineProperty;
2
- var y = (a, h, e) => h in a ? w(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e;
3
- var s = (a, h, e) => (y(a, typeof h != "symbol" ? h + "" : h, e), e);
2
+ var y = (r, h, e) => h in r ? w(r, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[h] = e;
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";
11
11
  import { findAssociatedLines as v } from "../utils/findAssociatedLines.js";
12
12
  import { getPointFromHammerEvent as C } from "../utils/getPointFromHammerEvent.js";
13
- import "../Modules/DeleteDom/_Assets/delete.svg.js";
14
- import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
15
- import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
16
- import "../Model/line.js";
17
- import "../../shared-utils/uuid.js";
18
- import "../Model/polyline.js";
19
- import "../utils/line.js";
20
- import "@realsee/five/line";
21
- import "../utils/constants.js";
22
- import "@realsee/five";
23
- import "../utils/distanceDom.js";
24
- import "../Model/point.js";
25
- import "../../shared-utils/removeArrayItem.js";
26
- import "../utils/ironbox.js";
27
- import "../utils/ndc2Screen.js";
28
- class oe extends R {
13
+ class B extends R {
29
14
  constructor(e) {
30
15
  super(e);
31
16
  s(this, "type", "watch");
@@ -35,22 +20,22 @@ class oe extends R {
35
20
  s(this, "editPointState");
36
21
  s(this, "hammer");
37
22
  s(this, "onPanStart", (e) => {
38
- var r;
23
+ var a;
39
24
  if (this.model.points.length === 0 || !this.fiveElement)
40
25
  return;
41
- const i = C(e).point, t = (r = I(this.five, this.model.points, i, 20)) == null ? void 0 : r.point;
26
+ const i = C(e).point, t = (a = I(this.five, this.model.points, i, 20)) == null ? void 0 : a.point;
42
27
  if (!t) {
43
28
  this.editPointState = void 0;
44
29
  return;
45
30
  }
46
- const o = {
31
+ const n = {
47
32
  point: t,
48
33
  associatedLines: v(t.lines[0])
49
34
  };
50
35
  this.hook.emit("wantsDragLine", {
51
36
  point: t.id,
52
- lines: o.associatedLines.map(({ id: l }) => l)
53
- }) || (this.editPointState = o, this.magnifier.appendTo(this.container), this.group.add(this.mouseGroup));
37
+ lines: n.associatedLines.map(({ id: l }) => l)
38
+ }) || (this.editPointState = n, this.magnifier.appendTo(this.container), this.group.add(this.mouseGroup));
54
39
  });
55
40
  s(this, "onPanEnd", () => {
56
41
  !this.editPointState || (this.editPointState.point.lines.forEach((e) => e.mesh.setMaterial({ dashed: !1 })), this.highlightLines(this.editPointState.associatedLines), this.editPointState = void 0, this.magnifier.remove(), this.group.remove(this.mouseGroup));
@@ -60,8 +45,8 @@ class oe extends R {
60
45
  return;
61
46
  const i = C(e).ndcPoint, t = new T();
62
47
  t.setFromCamera(i, this.five.camera);
63
- const [o] = this.five.model.intersectRaycaster(t);
64
- !o || this.onIntersectionUpdate(o);
48
+ const [n] = this.five.model.intersectRaycaster(t);
49
+ !n || this.onIntersectionUpdate(n);
65
50
  });
66
51
  s(this, "onIntersectionUpdate", (e, i) => {
67
52
  if (!!this.editPointState) {
@@ -70,8 +55,8 @@ class oe extends R {
70
55
  }), this.updateDistanceUI(), this.magnifier.renderWithPoint(e.point), this.mouseGroup.position.copy(e.point), i)
71
56
  this.mouseGroup.quaternion.copy(i.quaternion);
72
57
  else if (e.face) {
73
- const o = e.face.normal.clone().multiplyScalar(0.05), r = e.point.clone().add(o).clone().add(o);
74
- this.mouseGroup.lookAt(r);
58
+ const n = e.face.normal.clone().multiplyScalar(0.05), a = e.point.clone().add(n).clone().add(n);
59
+ this.mouseGroup.lookAt(a);
75
60
  }
76
61
  this.five.needsRender = !0, this.hook.emit(
77
62
  "selectedChange",
@@ -87,28 +72,28 @@ class oe extends R {
87
72
  const [i] = this.five.model.intersectRaycaster(e);
88
73
  if (!i)
89
74
  return;
90
- const t = this.five.camera, o = i.point.clone().project(t), c = this.container.clientWidth, r = this.container.clientHeight, l = new f(o.x * c, o.y * r), u = this.model.lines.map((n) => {
91
- const [d, S] = n.points, m = d.position.clone().project(t), p = S.position.clone().project(t);
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
+ const [d, S] = o.points, m = d.position.clone().project(t), p = S.position.clone().project(t);
92
77
  if (!L(m) && !L(p))
93
78
  return null;
94
79
  const k = new f(
95
80
  m.x * c,
96
- m.y * r
81
+ m.y * a
97
82
  ), D = new f(
98
83
  p.x * c,
99
- p.y * r
84
+ p.y * a
100
85
  );
101
- return { id: n.id, points: [k, D] };
102
- }).filter((n) => !!n);
103
- if (u.length === 0)
86
+ return { id: o.id, points: [k, D] };
87
+ }).filter((o) => !!o);
88
+ if (g.length === 0)
104
89
  return;
105
- const g = u.map((n) => {
106
- const d = H(l, n.points);
107
- return { id: n.id, distance: d.distanceTo(l) };
108
- }).sort((n, d) => n.distance - d.distance)[0];
109
- if (g.distance > 20)
90
+ const u = g.map((o) => {
91
+ const d = H(l, o.points);
92
+ return { id: o.id, distance: d.distanceTo(l) };
93
+ }).sort((o, d) => o.distance - d.distance)[0];
94
+ if (u.distance > 20)
110
95
  return;
111
- const P = this.model.lines.find(({ id: n }) => n === g.id);
96
+ const P = this.model.lines.find(({ id: o }) => o === u.id);
112
97
  if (!!P)
113
98
  return this.chooseLine(P), !1;
114
99
  });
@@ -165,5 +150,5 @@ class oe extends R {
165
150
  }
166
151
  }
167
152
  export {
168
- oe as default
153
+ B as WatchController
169
154
  };