@realsee/dnalogel 2.22.0-dev.4 → 2.22.0-dev.7

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 (312) hide show
  1. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -0
  2. package/dist/index.cjs.js +32 -32
  3. package/dist/index.js +1499 -1493
  4. package/dist/index.umd.js +33 -33
  5. package/docs/classes/CSS3DRender.html +3 -3
  6. package/docs/classes/CruisePluginController.html +3 -3
  7. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  8. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  9. package/docs/classes/Magnifier.html +3 -3
  10. package/docs/classes/ModelRoomLabelController.html +3 -3
  11. package/docs/classes/Object3DHelperController.html +3 -3
  12. package/docs/classes/PaintBrush.html +3 -3
  13. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  14. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  15. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  16. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  17. package/docs/classes/PanoTagPluginController.html +3 -3
  18. package/docs/classes/Util.BetterTween.html +3 -3
  19. package/docs/classes/Util.Interval.html +3 -3
  20. package/docs/classes/Util.Magnifier.html +3 -3
  21. package/docs/classes/Util.PointDomHelper.html +3 -3
  22. package/docs/classes/Util.PointHelper.html +3 -3
  23. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  24. package/docs/classes/Util.Rectangle.html +3 -3
  25. package/docs/enums/CameraMovementEffect.html +3 -3
  26. package/docs/enums/ContentType.html +3 -3
  27. package/docs/enums/DIRECTION.html +3 -3
  28. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  29. package/docs/enums/DimensionType.html +3 -3
  30. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  31. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  32. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  33. package/docs/enums/PointType.html +3 -3
  34. package/docs/enums/Rotation.html +3 -3
  35. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  36. package/docs/functions/CameraMovementPlugin.html +3 -3
  37. package/docs/functions/CruisePlugin.html +3 -3
  38. package/docs/functions/GuideLinePlugin.html +3 -3
  39. package/docs/functions/ItemLabelPlugin.html +3 -3
  40. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  41. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  42. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  43. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  44. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  45. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  46. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  47. package/docs/functions/ModelViewPlugin.html +3 -3
  48. package/docs/functions/Object3DHelperPlugin.html +3 -3
  49. package/docs/functions/PanoCompassPlugin.html +3 -3
  50. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  51. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  52. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  53. package/docs/functions/PanoMeasurePlugin.html +3 -3
  54. package/docs/functions/PanoRulerPlugin.html +3 -3
  55. package/docs/functions/PanoRulerProPlugin.html +3 -3
  56. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  57. package/docs/functions/PanoTagPlugin.html +3 -3
  58. package/docs/functions/PanoVideoPlugin.html +3 -3
  59. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  60. package/docs/functions/Util.absoluteUrl.html +3 -3
  61. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  62. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  63. package/docs/functions/Util.getFrameTime.html +3 -3
  64. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  65. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  66. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  67. package/docs/functions/Util.isModelLike.html +3 -3
  68. package/docs/functions/Util.isNil.html +3 -3
  69. package/docs/functions/Util.isPanoramaLike.html +3 -3
  70. package/docs/functions/Util.nextFrame.html +3 -3
  71. package/docs/functions/Util.notNil.html +3 -3
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  73. package/docs/functions/Util.tweenProgress.html +3 -3
  74. package/docs/functions/Util.uuid.html +3 -3
  75. package/docs/functions/pluginFlag.html +3 -3
  76. package/docs/index.html +4 -4
  77. package/docs/interfaces/AddTagConfig.html +3 -3
  78. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  79. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  80. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  81. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  82. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  83. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  84. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  85. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  86. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  87. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  88. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  89. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  90. package/docs/interfaces/EventMap.html +3 -3
  91. package/docs/interfaces/FloorplanBounding.html +3 -3
  92. package/docs/interfaces/FloorplanData.html +3 -3
  93. package/docs/interfaces/FloorplanEntrance.html +3 -3
  94. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  95. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  96. package/docs/interfaces/FloorplanFloorData.html +3 -3
  97. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  98. package/docs/interfaces/FloorplanObserver.html +3 -3
  99. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  100. package/docs/interfaces/FloorplanPosition.html +3 -3
  101. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  102. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  103. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  104. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  105. package/docs/interfaces/FloorplanServerData.html +3 -3
  106. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  107. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  108. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  109. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  110. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  111. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  112. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  113. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  114. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  115. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  116. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  117. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  118. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  119. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  120. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  121. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  122. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  124. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  125. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  126. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  127. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  128. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  129. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  130. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  131. package/docs/interfaces/HelperOffset.html +3 -3
  132. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  133. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  134. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  135. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  136. package/docs/interfaces/MinMax.html +3 -3
  137. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  138. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  139. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  140. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  141. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  142. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  143. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  144. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  145. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  146. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  147. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  148. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  149. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  150. package/docs/interfaces/Object3DHelperState.html +3 -3
  151. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  152. package/docs/interfaces/PaintBrushAction.html +3 -3
  153. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  154. package/docs/interfaces/PaintBrushState.html +3 -3
  155. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  156. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  157. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  158. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  159. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  160. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  161. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  162. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  163. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  164. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  165. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  166. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  167. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  168. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  169. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  170. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  171. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  172. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  173. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  174. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  175. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  176. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  177. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  178. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  179. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  180. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  181. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  182. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  183. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  184. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  185. package/docs/interfaces/Point.html +3 -3
  186. package/docs/interfaces/Room.html +3 -3
  187. package/docs/interfaces/RoomInfo.html +3 -3
  188. package/docs/interfaces/RoomLabel.html +3 -3
  189. package/docs/interfaces/RoomRules.html +3 -3
  190. package/docs/interfaces/Rooms.html +3 -3
  191. package/docs/interfaces/Scissor.html +3 -3
  192. package/docs/interfaces/State.html +3 -3
  193. package/docs/interfaces/TagCacheInterface.html +3 -3
  194. package/docs/interfaces/TagConfig.html +3 -3
  195. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  196. package/docs/interfaces/TagIconUrl.html +3 -3
  197. package/docs/interfaces/TagObjectGroup.html +3 -3
  198. package/docs/interfaces/TagStyle.html +3 -3
  199. package/docs/interfaces/Tags.html +3 -3
  200. package/docs/interfaces/TemporaryState.html +3 -3
  201. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  202. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  203. package/docs/interfaces/Util.PointIntersection.html +3 -3
  204. package/docs/modules/CruisePluginTypes.html +3 -3
  205. package/docs/modules/GuideLineItem.html +3 -3
  206. package/docs/modules/GuideLineModeItem.html +3 -3
  207. package/docs/modules/GuideLinePluginType.html +3 -3
  208. package/docs/modules/PanoVideoPluginType.html +3 -3
  209. package/docs/modules/Util.html +3 -3
  210. package/docs/modules.html +4 -4
  211. package/docs/types/ArrayPosition.html +3 -3
  212. package/docs/types/AudioAppearance.html +3 -3
  213. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  214. package/docs/types/CSS3DRenderExportType.html +3 -3
  215. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  216. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  217. package/docs/types/ClassFunctionParameters.html +3 -3
  218. package/docs/types/Color.html +3 -3
  219. package/docs/types/ContentTypeConfigKey.html +3 -3
  220. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  221. package/docs/types/ContentTypeMap.html +3 -3
  222. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  223. package/docs/types/Create3DElementReturnType.html +3 -3
  224. package/docs/types/CruisePluginExportType.html +3 -3
  225. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  226. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  227. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  228. package/docs/types/DeprecatedTagProperty.html +3 -3
  229. package/docs/types/Direction-1.html +3 -3
  230. package/docs/types/Direction4.html +3 -3
  231. package/docs/types/ElementRenderer.html +3 -3
  232. package/docs/types/FloorplanRuleLabels.html +3 -3
  233. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  234. package/docs/types/GuideLinePluginExportType.html +3 -3
  235. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  236. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  237. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  238. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  239. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  240. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  241. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  242. package/docs/types/HelperEventMap.html +3 -3
  243. package/docs/types/LoadTagConfig.html +3 -3
  244. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  245. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  246. package/docs/types/MediaData.html +3 -3
  247. package/docs/types/MediaStore.html +3 -3
  248. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  249. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  250. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  251. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  252. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  253. package/docs/types/MoveArgs.html +3 -3
  254. package/docs/types/MoveOpts.html +3 -3
  255. package/docs/types/Object3DHelperEventMap.html +3 -3
  256. package/docs/types/ObjectFit.html +3 -3
  257. package/docs/types/PaintBrushEventMap.html +3 -3
  258. package/docs/types/PanoCompassPluginData.html +3 -3
  259. package/docs/types/PanoCompassPluginExportType.html +3 -3
  260. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  261. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  262. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  263. package/docs/types/PanoIndex.html +3 -3
  264. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  265. package/docs/types/PanoMeasureReturnType.html +3 -3
  266. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  267. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  268. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  269. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  270. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  271. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  272. package/docs/types/PlaneTag.html +3 -3
  273. package/docs/types/Point2DTag.html +3 -3
  274. package/docs/types/Point3DTag.html +3 -3
  275. package/docs/types/PointTag.html +3 -3
  276. package/docs/types/PointTagInstance.html +3 -3
  277. package/docs/types/Position.html +3 -3
  278. package/docs/types/RotateArgs.html +3 -3
  279. package/docs/types/RotateOpts.html +3 -3
  280. package/docs/types/RuleLabelsKey.html +3 -3
  281. package/docs/types/RuleLabelsValue.html +3 -3
  282. package/docs/types/StickType.html +3 -3
  283. package/docs/types/Tag.html +3 -3
  284. package/docs/types/Tag2D.html +3 -3
  285. package/docs/types/Tag3D.html +3 -3
  286. package/docs/types/TagContentType.html +3 -3
  287. package/docs/types/TagDimensionType.html +3 -3
  288. package/docs/types/TagElement.html +3 -3
  289. package/docs/types/TagEvents.html +3 -3
  290. package/docs/types/TagGLTFObject.html +3 -3
  291. package/docs/types/TagHooks.html +3 -3
  292. package/docs/types/TagId.html +3 -3
  293. package/docs/types/TagInstance.html +3 -3
  294. package/docs/types/TagPointType.html +3 -3
  295. package/docs/types/TagRendererMap.html +3 -3
  296. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  297. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  298. package/docs/types/WorkCode.html +3 -3
  299. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  300. package/docs/variables/PLUGIN.html +3 -3
  301. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  302. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  303. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  304. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  305. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  306. package/libs/PanoMeasurePlugin/Components/Tip.js +64 -62
  307. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -0
  308. package/libs/PanoMeasurePlugin/Controller/EditController.js +30 -26
  309. package/libs/base/BasePlugin.js +1 -1
  310. package/libs/shared-utils/logger.js +1 -1
  311. package/libs/shared-utils/three/PointSelector.js +1 -1
  312. package/package.json +1 -1
@@ -1,128 +1,130 @@
1
- import { SvelteComponent as z, init as D, safe_not_equal as E, append_styles as N, empty as O, insert as M, transition_in as m, transition_out as _, check_outros as P, detach as w, onMount as W, onDestroy as j, element as b, text as A, attr as k, append as y, set_data as B, add_render_callback as F, create_bidirectional_transition as C, group_outros as G, binding_callbacks as H } from "../../vendor/svelte/internal/index.js";
2
- import { fade as T } from "../../vendor/svelte/transition/index.js";
1
+ import { SvelteComponent as D, init as E, safe_not_equal as N, append_styles as O, empty as P, insert as w, transition_in as m, transition_out as b, check_outros as W, detach as q, onMount as j, onDestroy as A, element as k, text as B, attr as C, append as y, set_data as F, add_render_callback as G, create_bidirectional_transition as T, group_outros as H, binding_callbacks as I } from "../../vendor/svelte/internal/index.js";
2
+ import { fade as v } from "../../vendor/svelte/transition/index.js";
3
3
  import "../../vendor/svelte/easing/index.js";
4
- function I(l) {
5
- N(l, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
4
+ function J(s) {
5
+ O(s, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
6
6
  }
7
- function v(l) {
7
+ function M(s) {
8
8
  let n, i, e, t, r;
9
9
  return {
10
10
  c() {
11
- n = b("div"), i = b("div"), e = A(
11
+ n = k("div"), i = k("div"), e = B(
12
12
  /*tip*/
13
- l[2]
14
- ), k(i, "class", "text svelte-1q8gtp4"), k(n, "class", "Measure-Tips svelte-1q8gtp4");
13
+ s[2]
14
+ ), C(i, "class", "text svelte-1q8gtp4"), C(n, "class", "Measure-Tips svelte-1q8gtp4");
15
15
  },
16
- m(s, f) {
17
- M(s, n, f), y(n, i), y(i, e), l[6](i), r = !0;
16
+ m(l, a) {
17
+ w(l, n, a), y(n, i), y(i, e), s[6](i), r = !0;
18
18
  },
19
- p(s, f) {
20
- (!r || f & /*tip*/
21
- 4) && B(
19
+ p(l, a) {
20
+ (!r || a & /*tip*/
21
+ 4) && F(
22
22
  e,
23
23
  /*tip*/
24
- s[2]
24
+ l[2]
25
25
  );
26
26
  },
27
- i(s) {
28
- r || (F(() => {
29
- r && (t || (t = C(n, T, {}, !0)), t.run(1));
27
+ i(l) {
28
+ r || (G(() => {
29
+ r && (t || (t = T(n, v, {}, !0)), t.run(1));
30
30
  }), r = !0);
31
31
  },
32
- o(s) {
33
- t || (t = C(n, T, {}, !1)), t.run(0), r = !1;
32
+ o(l) {
33
+ t || (t = T(n, v, {}, !1)), t.run(0), r = !1;
34
34
  },
35
- d(s) {
36
- s && w(n), l[6](null), s && t && t.end();
35
+ d(l) {
36
+ l && q(n), s[6](null), l && t && t.end();
37
37
  }
38
38
  };
39
39
  }
40
- function J(l) {
40
+ function K(s) {
41
41
  let n, i, e = (
42
42
  /*visible*/
43
- l[0] && v(l)
43
+ s[0] && M(s)
44
44
  );
45
45
  return {
46
46
  c() {
47
- e && e.c(), n = O();
47
+ e && e.c(), n = P();
48
48
  },
49
49
  m(t, r) {
50
- e && e.m(t, r), M(t, n, r), i = !0;
50
+ e && e.m(t, r), w(t, n, r), i = !0;
51
51
  },
52
52
  p(t, [r]) {
53
53
  /*visible*/
54
54
  t[0] ? e ? (e.p(t, r), r & /*visible*/
55
- 1 && m(e, 1)) : (e = v(t), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (G(), _(e, 1, 1, () => {
55
+ 1 && m(e, 1)) : (e = M(t), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (H(), b(e, 1, 1, () => {
56
56
  e = null;
57
- }), P());
57
+ }), W());
58
58
  },
59
59
  i(t) {
60
60
  i || (m(e), i = !0);
61
61
  },
62
62
  o(t) {
63
- _(e), i = !1;
63
+ b(e), i = !1;
64
64
  },
65
65
  d(t) {
66
- e && e.d(t), t && w(n);
66
+ e && e.d(t), t && q(n);
67
67
  }
68
68
  };
69
69
  }
70
- function K(l, n, i) {
71
- let { measureController: e } = n, { tips: t } = n, { tipStyle: r = {} } = n, { visible: s = !0 } = n, f = null;
72
- const q = (o) => {
73
- const S = e.currentMeasureType;
74
- let u = "";
75
- return u = t[o], u === void 0 && (u = t[S][o]), u;
76
- }, c = (o) => {
77
- i(2, p = q(o));
78
- }, a = () => {
70
+ function L(s, n, i) {
71
+ let { measureController: e } = n, { tips: t } = n, { tipStyle: r = {} } = n, { visible: l = !0 } = n, a = null;
72
+ const x = (o) => {
73
+ const z = e.currentMeasureType;
74
+ let c = "";
75
+ return c = t[o], c === void 0 && (c = t[z][o]), c;
76
+ }, u = (o) => {
77
+ i(2, p = x(o));
78
+ }, f = () => {
79
79
  i(2, p = "");
80
80
  };
81
81
  let p = "";
82
82
  const d = (o) => {
83
- o === "Edit" && e.changeMeasureType ? c("start") : a();
83
+ o === "Edit" && e.changeMeasureType ? u("start") : f();
84
84
  }, h = () => {
85
- e.getCurrentMode() === "Watch" && a();
86
- }, g = (o) => {
87
- e.currentMeasureType === "area" && (o.length >= 2 ? c("close") : o.length === 0 ? c("start") : a());
85
+ e.getCurrentMode() === "Watch" && f();
86
+ }, g = () => {
87
+ e.getCurrentMode() === "Edit" && u("start");
88
+ }, _ = (o) => {
89
+ e.currentMeasureType === "area" && (o.length >= 2 ? u("close") : o.length === 0 ? u("start") : f());
88
90
  };
89
- W(() => {
90
- d(e.getCurrentMode()), e.hook.on("modeChange", d), e.hook.on("complete", h), e.hook.on("pointsChange", g), e.hook.on("measureTypeChange", a);
91
- }), j(() => {
92
- e.hook.off("modeChange", d), e.hook.off("complete", h), e.hook.off("pointsChange", g), e.hook.off("measureTypeChange", a), a();
91
+ j(() => {
92
+ d(e.getCurrentMode()), e.hook.on("modeChange", d), e.hook.on("complete", h), e.hook.on("pointsChange", _), e.hook.on("measureTypeChange", g);
93
+ }), A(() => {
94
+ e.hook.off("modeChange", d), e.hook.off("complete", h), e.hook.off("pointsChange", _), e.hook.off("measureTypeChange", g), f();
93
95
  });
94
- function x(o) {
95
- H[o ? "unshift" : "push"](() => {
96
- f = o, i(1, f), i(5, r);
96
+ function S(o) {
97
+ I[o ? "unshift" : "push"](() => {
98
+ a = o, i(1, a), i(5, r);
97
99
  });
98
100
  }
99
- return l.$$set = (o) => {
100
- "measureController" in o && i(3, e = o.measureController), "tips" in o && i(4, t = o.tips), "tipStyle" in o && i(5, r = o.tipStyle), "visible" in o && i(0, s = o.visible);
101
- }, l.$$.update = () => {
102
- if (l.$$.dirty & /*textDom, tipStyle*/
103
- 34 && f)
101
+ return s.$$set = (o) => {
102
+ "measureController" in o && i(3, e = o.measureController), "tips" in o && i(4, t = o.tips), "tipStyle" in o && i(5, r = o.tipStyle), "visible" in o && i(0, l = o.visible);
103
+ }, s.$$.update = () => {
104
+ if (s.$$.dirty & /*textDom, tipStyle*/
105
+ 34 && a)
104
106
  for (const o in r)
105
- r.hasOwnProperty(o) && i(1, f.style[o] = r[o], f);
106
- }, [s, f, p, e, t, r, x];
107
+ r.hasOwnProperty(o) && i(1, a.style[o] = r[o], a);
108
+ }, [l, a, p, e, t, r, S];
107
109
  }
108
- class U extends z {
110
+ class V extends D {
109
111
  constructor(n) {
110
- super(), D(
112
+ super(), E(
111
113
  this,
112
114
  n,
115
+ L,
113
116
  K,
114
- J,
115
- E,
117
+ N,
116
118
  {
117
119
  measureController: 3,
118
120
  tips: 4,
119
121
  tipStyle: 5,
120
122
  visible: 0
121
123
  },
122
- I
124
+ J
123
125
  );
124
126
  }
125
127
  }
126
128
  export {
127
- U as default
129
+ V as default
128
130
  };
@@ -34,6 +34,7 @@ export default class EditController extends BaseController {
34
34
  /** 编辑线条发生改变时通知外部 */
35
35
  private onLineChanged;
36
36
  private onWantsSelect;
37
+ private wantsMoveToPano;
37
38
  /**
38
39
  * 1. 如果存在上一个点,需要绘制当前点到上一个点的连线
39
40
  * 2. 把上一个点的位置更新为当前点的位置
@@ -2,17 +2,17 @@ var R = Object.defineProperty;
2
2
  var b = (m, c, e) => c in m ? R(m, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[c] = e;
3
3
  var o = (m, c, e) => (b(m, typeof c != "symbol" ? c + "" : c, e), e);
4
4
  import H from "../Model/line.js";
5
- import S from "../Model/point.js";
5
+ import k from "../Model/point.js";
6
6
  import { throttle as U } from "../../shared-utils/throttle.js";
7
7
  import j from "./BaseController.js";
8
- import { Polyline as D } from "../Model/polyline.js";
8
+ import { Polyline as S } from "../Model/polyline.js";
9
9
  import w from "../Model/area.js";
10
- import T from "../utils/isIntersecting.js";
10
+ import D from "../utils/isIntersecting.js";
11
11
  import { PointSelector as x } from "../../shared-utils/three/PointSelector.js";
12
12
  import G from "../Modules/DeleteDom/index.js";
13
13
  import { findAssociatedLines as B } from "../utils/findAssociatedLines.js";
14
- import { Vector2 as P } from "three";
15
- import E from "../utils/isNDCPointInScreen.js";
14
+ import { Vector2 as y } from "three";
15
+ import T from "../utils/isNDCPointInScreen.js";
16
16
  import { closestPointOnLine as W } from "../utils/math.js";
17
17
  import "../../shared-utils/uuid.js";
18
18
  import "../utils/line.js";
@@ -64,7 +64,7 @@ import "../../shared-utils/three/getIntersect.js";
64
64
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
65
65
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
66
66
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
- const v = () => !1;
67
+ const M = () => !1;
68
68
  class Xe extends j {
69
69
  constructor(e) {
70
70
  var t;
@@ -96,7 +96,7 @@ class Xe extends j {
96
96
  this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.five.needsRender = !0, this.hook.emit("revoke", { isEmpty: !0 });
97
97
  return;
98
98
  } else
99
- this.lastPoint = new S(this.area.points[this.area.points.length - 1]), this.updateDashed();
99
+ this.lastPoint = new k(this.area.points[this.area.points.length - 1]), this.updateDashed();
100
100
  this.five.needsRender = !0;
101
101
  }
102
102
  });
@@ -128,6 +128,10 @@ class Xe extends j {
128
128
  return !1;
129
129
  }
130
130
  });
131
+ o(this, "wantsMoveToPano", () => {
132
+ if (this.lastPoint)
133
+ return !1;
134
+ });
131
135
  /**
132
136
  * 1. 如果存在上一个点,需要绘制当前点到上一个点的连线
133
137
  * 2. 把上一个点的位置更新为当前点的位置
@@ -145,7 +149,7 @@ class Xe extends j {
145
149
  })();
146
150
  if (!e)
147
151
  return;
148
- const t = new S(e), i = this.lastPoint;
152
+ const t = new k(e), i = this.lastPoint;
149
153
  if (!(i != null && i.position && t.position.equals(i == null ? void 0 : i.position))) {
150
154
  if (this.lastPoint = t, this.currentMeasureType === "line") {
151
155
  if (t && i) {
@@ -194,7 +198,7 @@ class Xe extends j {
194
198
  this.perpendicularDashed.setPoints(n, g), this.perpendicularDashed.show();
195
199
  } else
196
200
  this.perpendicularDashed.hide();
197
- const r = this.area.polyline.lines.map((n) => ({ start: n.points[0].position, end: n.points[1].position })), l = T({ start: e, end: t }, r), d = T({ start: t, end: this.area.points[0] }, r);
201
+ const r = this.area.polyline.lines.map((n) => ({ start: n.points[0].position, end: n.points[1].position })), l = D({ start: e, end: t }, r), d = D({ start: t, end: this.area.points[0] }, r);
198
202
  if (l || d)
199
203
  this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
200
204
  else {
@@ -209,38 +213,38 @@ class Xe extends j {
209
213
  // ====================================================================================================================================
210
214
  // 下面一堆高亮相关
211
215
  o(this, "wantsTapGesture", (e) => {
212
- var C, k;
216
+ var A, C;
213
217
  if (this.editParams.pointSelectorMode === "cursor" || this.lastPoint)
214
218
  return !1;
215
- const t = this.model.areas.map((h) => e.intersectObject(h.polygon, !0)[0]).sort((h, p) => h.distance - p.distance), i = (k = (C = t[0]) == null ? void 0 : C.object) == null ? void 0 : k.parent;
219
+ const t = this.model.areas.map((h) => e.intersectObject(h.polygon, !0)[0]).sort((h, p) => h.distance - p.distance), i = (C = (A = t[0]) == null ? void 0 : A.object) == null ? void 0 : C.parent;
216
220
  if (i != null && i.isPolygonMesh) {
217
221
  const h = this.model.areas.find((p) => p.polygon === i);
218
222
  if (h) {
219
- const { x: p, y } = t[0].point.clone().project(this.five.camera), f = `${(p + 1) / 2 * 100}%`, u = `${(-y + 1) / 2 * 100}%`;
223
+ const { x: p, y: v } = t[0].point.clone().project(this.five.camera), f = `${(p + 1) / 2 * 100}%`, u = `${(-v + 1) / 2 * 100}%`;
220
224
  return this.chooseArea(h, { left: f, top: u }), !1;
221
225
  }
222
226
  }
223
227
  const [s] = this.five.model.intersectRaycaster(e);
224
228
  if (!s)
225
229
  return;
226
- const r = this.five.camera, l = s.point.clone().project(r), d = this.container.clientWidth, a = this.container.clientHeight, n = new P(l.x * d, l.y * a), g = this.model.getAllLines().map((h) => {
227
- const [p, y] = h.points, f = p.position.clone().project(r), u = y.position.clone().project(r);
228
- if (!E(f) && !E(u))
230
+ const r = this.five.camera, l = s.point.clone().project(r), d = this.container.clientWidth, a = this.container.clientHeight, n = new y(l.x * d, l.y * a), g = this.model.getAllLines().map((h) => {
231
+ const [p, v] = h.points, f = p.position.clone().project(r), u = v.position.clone().project(r);
232
+ if (!T(f) && !T(u))
229
233
  return null;
230
- const I = new P(f.x * d, f.y * a), M = new P(u.x * d, u.y * a);
231
- return { id: h.id, points: [I, M] };
234
+ const E = new y(f.x * d, f.y * a), I = new y(u.x * d, u.y * a);
235
+ return { id: h.id, points: [E, I] };
232
236
  }).filter((h) => !!h);
233
237
  if (g.length === 0)
234
238
  return;
235
- const L = g.map((h) => {
239
+ const P = g.map((h) => {
236
240
  const p = W(n, h.points);
237
241
  return { id: h.id, distance: p.distanceTo(n) };
238
242
  }).sort((h, p) => h.distance - p.distance)[0];
239
- if (L.distance > 20)
243
+ if (P.distance > 20)
240
244
  return;
241
- const A = this.model.getAllLines().find(({ id: h }) => h === L.id);
242
- if (A)
243
- return this.chooseLine(A), !1;
245
+ const L = this.model.getAllLines().find(({ id: h }) => h === P.id);
246
+ if (L)
247
+ return this.chooseLine(L), !1;
244
248
  });
245
249
  o(this, "chooseLine", (e) => {
246
250
  console.log(e);
@@ -273,7 +277,7 @@ class Xe extends j {
273
277
  }).appendTo(this.container), this.pointSelector = new x(this.five, {
274
278
  mode: this.editParams.pointSelectorMode,
275
279
  pointSelectorHelperParams: { magnifierParams: this.magnifierParams }
276
- }), this.pointSelector.enable(), this.polyline = new D({ model: this.model }), this.area = new w(void 0, {
280
+ }), this.pointSelector.enable(), this.polyline = new S({ model: this.model }), this.area = new w(void 0, {
277
281
  five: this.five,
278
282
  model: this.model,
279
283
  meshContainer: this.group,
@@ -284,13 +288,13 @@ class Xe extends j {
284
288
  i.areaItem.appendTo(this.container), i.areaItem.updateDomPosition(this.five), i.areaItem.setCanSelect(!0), i.hook.on("selected", this.chooseArea), this.group.add(i.polygon), i.polyline.lines.forEach((s) => {
285
289
  s.distanceItem.appendTo(this.container), s.distanceItem.update(this.five), this.group.add(s.mesh);
286
290
  });
287
- }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsToMoveToPano", v), this.five.on("wantsChangeMode", v), this.pointSelector.hook.on("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.on("select", this.onSelect), this.pointSelector.hook.on("wantsSelect", this.onWantsSelect), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged), this.five.helperVisible = !1, (t = this.fiveElement) == null || t.addEventListener("mouseleave", this.onMouseLeave), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
291
+ }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsMoveToPano", this.wantsMoveToPano), this.five.on("wantsChangeMode", M), this.pointSelector.hook.on("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.on("select", this.onSelect), this.pointSelector.hook.on("wantsSelect", this.onWantsSelect), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged), this.five.helperVisible = !1, (t = this.fiveElement) == null || t.addEventListener("mouseleave", this.onMouseLeave), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
288
292
  }
289
293
  dispose() {
290
294
  var e;
291
295
  super.dispose(), this.model.areas.forEach((t) => {
292
296
  (t.points.length < 2 || t.polygon.isBlank) && this.model.removeArea(t);
293
- }), this.five.helperVisible = !0, this.pointSelector.disable(), this.dashed.remove(), this.perpendicularDashed.remove(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsToMoveToPano", v), this.five.off("wantsChangeMode", v), this.pointSelector.hook.off("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.off("select", this.onSelect), this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), (e = this.fiveElement) == null || e.removeEventListener("mouseleave", this.onMouseLeave), this.magnifier.dispose(), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
297
+ }), this.five.helperVisible = !0, this.pointSelector.disable(), this.dashed.remove(), this.perpendicularDashed.remove(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsMoveToPano", this.wantsMoveToPano), this.five.off("wantsChangeMode", M), this.pointSelector.hook.off("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.off("select", this.onSelect), this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), (e = this.fiveElement) == null || e.removeEventListener("mouseleave", this.onMouseLeave), this.magnifier.dispose(), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
294
298
  }
295
299
  getEditingLines() {
296
300
  return this.polyline.lines;
@@ -301,7 +305,7 @@ class Xe extends j {
301
305
  complete() {
302
306
  this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new w(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
303
307
  e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
304
- }), this.polyline = new D({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
308
+ }), this.polyline = new S({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
305
309
  }
306
310
  highlightArea(e) {
307
311
  this.highlightLines(e.polyline.lines), this.five.needsRender = !0;
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.22.0-dev.4");
17
+ i(this, "VERSION", "2.22.0-dev.7");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.22.0-dev.4",
3
+ "%c %c@realsee/dnalogel %cv2.22.0-dev.7",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -154,7 +154,7 @@ class W {
154
154
  const e = this.five.getElement();
155
155
  if (!e)
156
156
  throw new Error("five element not found");
157
- this.hammer || (this.hammer = new F(e)), this.mode === "cursor" ? (this.five.on("intersectionOnModelUpdate", this.intersectionOnModelUpdate), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano", l), this.five.on("wantsChangeMode", l), this.five.on("wantsTapGesture", l), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("mouseenter", this.onEnter), e.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate);
157
+ this.hammer || (this.hammer = new F(e)), this.mode === "cursor" ? (this.five.on("intersectionOnModelUpdate", this.intersectionOnModelUpdate), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano", l), this.five.on("wantsChangeMode", l), this.five.on("wantsTapGesture", l), e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("mouseenter", this.onEnter), e.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1;
158
158
  }
159
159
  disable() {
160
160
  if (!this.enabled)
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.22.0-dev.4",
10
+ "version": "2.22.0-dev.7",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",