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

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 (310) hide show
  1. package/dist/index.cjs.js +53 -53
  2. package/dist/index.js +2507 -2506
  3. package/dist/index.umd.js +45 -45
  4. package/docs/classes/CSS3DRender.html +30 -30
  5. package/docs/classes/CruisePluginController.html +25 -25
  6. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  7. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  8. package/docs/classes/Magnifier.html +19 -19
  9. package/docs/classes/ModelRoomLabelController.html +10 -10
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +14 -14
  12. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  13. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  14. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  15. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  16. package/docs/classes/PanoTagPluginController.html +46 -46
  17. package/docs/classes/Util.BetterTween.html +8 -8
  18. package/docs/classes/Util.Interval.html +11 -11
  19. package/docs/classes/Util.Magnifier.html +19 -19
  20. package/docs/classes/Util.PointDomHelper.html +10 -10
  21. package/docs/classes/Util.PointHelper.html +10 -10
  22. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  23. package/docs/classes/Util.Rectangle.html +12 -12
  24. package/docs/enums/CameraMovementEffect.html +6 -6
  25. package/docs/enums/ContentType.html +19 -19
  26. package/docs/enums/DIRECTION.html +8 -8
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  28. package/docs/enums/DimensionType.html +6 -6
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  32. package/docs/enums/PointType.html +6 -6
  33. package/docs/enums/Rotation.html +7 -7
  34. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  35. package/docs/functions/CameraMovementPlugin.html +3 -3
  36. package/docs/functions/CruisePlugin.html +3 -3
  37. package/docs/functions/GuideLinePlugin.html +4 -4
  38. package/docs/functions/ItemLabelPlugin.html +3 -3
  39. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  40. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  42. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  44. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  45. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  46. package/docs/functions/ModelViewPlugin.html +3 -3
  47. package/docs/functions/Object3DHelperPlugin.html +3 -3
  48. package/docs/functions/PanoCompassPlugin.html +3 -3
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  50. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  52. package/docs/functions/PanoMeasurePlugin.html +3 -3
  53. package/docs/functions/PanoRulerPlugin.html +3 -3
  54. package/docs/functions/PanoRulerProPlugin.html +3 -3
  55. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  56. package/docs/functions/PanoTagPlugin.html +3 -3
  57. package/docs/functions/PanoVideoPlugin.html +3 -3
  58. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  59. package/docs/functions/Util.absoluteUrl.html +4 -4
  60. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  61. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  62. package/docs/functions/Util.getFrameTime.html +4 -4
  63. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  64. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  65. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  66. package/docs/functions/Util.isModelLike.html +4 -4
  67. package/docs/functions/Util.isNil.html +4 -4
  68. package/docs/functions/Util.isPanoramaLike.html +4 -4
  69. package/docs/functions/Util.nextFrame.html +4 -4
  70. package/docs/functions/Util.notNil.html +4 -4
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  72. package/docs/functions/Util.tweenProgress.html +4 -4
  73. package/docs/functions/Util.uuid.html +4 -4
  74. package/docs/functions/pluginFlag.html +4 -4
  75. package/docs/index.html +4 -4
  76. package/docs/interfaces/AddTagConfig.html +5 -5
  77. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  78. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  79. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  80. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  81. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  82. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  83. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  84. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  85. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  87. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  89. package/docs/interfaces/EventMap.html +14 -14
  90. package/docs/interfaces/FloorplanBounding.html +7 -7
  91. package/docs/interfaces/FloorplanData.html +9 -9
  92. package/docs/interfaces/FloorplanEntrance.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  94. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  95. package/docs/interfaces/FloorplanFloorData.html +8 -8
  96. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  97. package/docs/interfaces/FloorplanObserver.html +8 -8
  98. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  99. package/docs/interfaces/FloorplanPosition.html +6 -6
  100. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  101. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  102. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  103. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  104. package/docs/interfaces/FloorplanServerData.html +6 -6
  105. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  106. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  108. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  109. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  110. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  111. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  112. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  114. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  115. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  116. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  117. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  118. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  119. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  120. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  124. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  125. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  126. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  128. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  129. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  130. package/docs/interfaces/HelperOffset.html +7 -7
  131. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  132. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  134. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  135. package/docs/interfaces/MinMax.html +6 -6
  136. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  138. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  139. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  140. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  141. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  142. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  143. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  144. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  146. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  147. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  148. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  149. package/docs/interfaces/Object3DHelperState.html +7 -7
  150. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  151. package/docs/interfaces/PaintBrushAction.html +11 -11
  152. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  153. package/docs/interfaces/PaintBrushState.html +9 -9
  154. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  156. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  157. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  158. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  159. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  161. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  162. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  163. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  164. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  165. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  168. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  169. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  171. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  172. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  173. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  174. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  175. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  177. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  178. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  179. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  180. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  181. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  183. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  184. package/docs/interfaces/Point.html +7 -7
  185. package/docs/interfaces/Room.html +8 -8
  186. package/docs/interfaces/RoomInfo.html +6 -6
  187. package/docs/interfaces/RoomLabel.html +13 -13
  188. package/docs/interfaces/RoomRules.html +4 -4
  189. package/docs/interfaces/Rooms.html +4 -4
  190. package/docs/interfaces/Scissor.html +8 -8
  191. package/docs/interfaces/State.html +7 -7
  192. package/docs/interfaces/TagCacheInterface.html +11 -11
  193. package/docs/interfaces/TagConfig.html +12 -12
  194. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  195. package/docs/interfaces/TagIconUrl.html +11 -11
  196. package/docs/interfaces/TagObjectGroup.html +5 -5
  197. package/docs/interfaces/TagStyle.html +5 -5
  198. package/docs/interfaces/Tags.html +8 -8
  199. package/docs/interfaces/TemporaryState.html +5 -5
  200. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  201. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  202. package/docs/interfaces/Util.PointIntersection.html +7 -7
  203. package/docs/modules/CruisePluginTypes.html +4 -4
  204. package/docs/modules/GuideLineItem.html +4 -4
  205. package/docs/modules/GuideLineModeItem.html +4 -4
  206. package/docs/modules/GuideLinePluginType.html +4 -4
  207. package/docs/modules/PanoVideoPluginType.html +4 -4
  208. package/docs/modules/Util.html +4 -4
  209. package/docs/modules.html +4 -4
  210. package/docs/types/ArrayPosition.html +4 -4
  211. package/docs/types/AudioAppearance.html +4 -4
  212. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  213. package/docs/types/CSS3DRenderExportType.html +4 -4
  214. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  215. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  216. package/docs/types/ClassFunctionParameters.html +4 -4
  217. package/docs/types/Color.html +4 -4
  218. package/docs/types/ContentTypeConfigKey.html +4 -4
  219. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  220. package/docs/types/ContentTypeMap.html +4 -4
  221. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  222. package/docs/types/Create3DElementReturnType.html +4 -4
  223. package/docs/types/CruisePluginExportType.html +4 -4
  224. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  225. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  226. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  227. package/docs/types/DeprecatedTagProperty.html +4 -4
  228. package/docs/types/Direction-1.html +4 -4
  229. package/docs/types/Direction4.html +4 -4
  230. package/docs/types/ElementRenderer.html +4 -4
  231. package/docs/types/FloorplanRuleLabels.html +4 -4
  232. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  233. package/docs/types/GuideLinePluginExportType.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  236. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  238. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  239. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  241. package/docs/types/HelperEventMap.html +4 -4
  242. package/docs/types/LoadTagConfig.html +4 -4
  243. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  244. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  245. package/docs/types/MediaData.html +4 -4
  246. package/docs/types/MediaStore.html +4 -4
  247. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  248. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  251. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  252. package/docs/types/MoveArgs.html +4 -4
  253. package/docs/types/MoveOpts.html +4 -4
  254. package/docs/types/Object3DHelperEventMap.html +4 -4
  255. package/docs/types/ObjectFit.html +4 -4
  256. package/docs/types/PaintBrushEventMap.html +4 -4
  257. package/docs/types/PanoCompassPluginData.html +4 -4
  258. package/docs/types/PanoCompassPluginExportType.html +4 -4
  259. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  260. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  261. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  262. package/docs/types/PanoIndex.html +4 -4
  263. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  264. package/docs/types/PanoMeasureReturnType.html +4 -4
  265. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  266. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  267. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  268. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  269. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  270. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  271. package/docs/types/PlaneTag.html +4 -4
  272. package/docs/types/Point2DTag.html +4 -4
  273. package/docs/types/Point3DTag.html +4 -4
  274. package/docs/types/PointTag.html +4 -4
  275. package/docs/types/PointTagInstance.html +4 -4
  276. package/docs/types/Position.html +4 -4
  277. package/docs/types/RotateArgs.html +4 -4
  278. package/docs/types/RotateOpts.html +4 -4
  279. package/docs/types/RuleLabelsKey.html +4 -4
  280. package/docs/types/RuleLabelsValue.html +4 -4
  281. package/docs/types/StickType.html +4 -4
  282. package/docs/types/Tag.html +4 -4
  283. package/docs/types/Tag2D.html +4 -4
  284. package/docs/types/Tag3D.html +4 -4
  285. package/docs/types/TagContentType.html +4 -4
  286. package/docs/types/TagDimensionType.html +4 -4
  287. package/docs/types/TagElement.html +4 -4
  288. package/docs/types/TagEvents.html +4 -4
  289. package/docs/types/TagGLTFObject.html +4 -4
  290. package/docs/types/TagHooks.html +4 -4
  291. package/docs/types/TagId.html +4 -4
  292. package/docs/types/TagInstance.html +4 -4
  293. package/docs/types/TagPointType.html +4 -4
  294. package/docs/types/TagRendererMap.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  296. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  297. package/docs/types/WorkCode.html +4 -4
  298. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  299. package/docs/variables/PLUGIN.html +4 -4
  300. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  301. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  302. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  304. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  305. package/libs/PanoMeasurePlugin/Controller/EditController.js +32 -32
  306. package/libs/PanoMeasurePlugin/Controller/WatchController.js +25 -24
  307. package/libs/PanoMeasurePlugin/utils/dom/base.js +6 -6
  308. package/libs/base/BasePlugin.js +1 -1
  309. package/libs/shared-utils/logger.js +1 -1
  310. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  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
- import U from "../Model/line.js";
5
- import C from "../Model/point.js";
6
- import { throttle as H } from "../../shared-utils/throttle.js";
4
+ import H from "../Model/line.js";
5
+ import S from "../Model/point.js";
6
+ import { throttle as U } from "../../shared-utils/throttle.js";
7
7
  import j from "./BaseController.js";
8
- import { Polyline as S } from "../Model/polyline.js";
9
- import D from "../Model/area.js";
8
+ import { Polyline as D } from "../Model/polyline.js";
9
+ import w from "../Model/area.js";
10
10
  import T 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 y } from "three";
15
- import w from "../utils/isNDCPointInScreen.js";
14
+ import { Vector2 as P } from "three";
15
+ import E 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 E = () => !1;
67
+ const v = () => !1;
68
68
  class Xe extends j {
69
69
  constructor(e) {
70
70
  var t;
@@ -80,7 +80,7 @@ class Xe extends j {
80
80
  o(this, "pointSelector");
81
81
  o(this, "deleteDom");
82
82
  /** 根据 intersection 更新放大镜和吸附点 */
83
- o(this, "onIntersectionUpdate", H((e, t) => {
83
+ o(this, "onIntersectionUpdate", U((e, t) => {
84
84
  this.currentMeasureType === "area" && typeof t == "boolean" && (t ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
85
85
  }, 20));
86
86
  /** 撤销编辑 */
@@ -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 C(this.area.points[this.area.points.length - 1]), this.updateDashed();
99
+ this.lastPoint = new S(this.area.points[this.area.points.length - 1]), this.updateDashed();
100
100
  this.five.needsRender = !0;
101
101
  }
102
102
  });
@@ -106,13 +106,13 @@ class Xe extends j {
106
106
  o(this, "revokeLine", (e) => {
107
107
  const t = e || this.polyline;
108
108
  if (t.lines.length === 0 && this.lastPoint) {
109
- this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0;
109
+ this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0, this.hook.emit("pointsChange", []);
110
110
  return;
111
111
  }
112
112
  if (t.lines.length === 0 && !this.lastPoint || !this.lastPoint)
113
113
  return;
114
114
  const i = t.lines[t.lines.length - 1], s = i.findAnotherPoint(this.lastPoint);
115
- s && (this.lastPoint = s, this.hook.emit("anchorChange", s.position), this.group.remove(i.mesh), t.removeLine(i), i.distanceItem.remove(), this.updateDashed(), this.hook.emit("pointsChange", t.lines), this.five.needsRender = !0);
115
+ s && (this.lastPoint = s, this.hook.emit("anchorChange", s.position), this.group.remove(i.mesh), t.removeLine(i), i.distanceItem.remove(), this.updateDashed(), this.five.needsRender = !0);
116
116
  });
117
117
  o(this, "onMouseLeave", () => {
118
118
  this.dashed.hide(), this.perpendicularDashed.hide(), this.area.hideArea();
@@ -145,11 +145,11 @@ class Xe extends j {
145
145
  })();
146
146
  if (!e)
147
147
  return;
148
- const t = new C(e), i = this.lastPoint;
148
+ const t = new S(e), i = this.lastPoint;
149
149
  if (!(i != null && i.position && t.position.equals(i == null ? void 0 : i.position))) {
150
150
  if (this.lastPoint = t, this.currentMeasureType === "line") {
151
151
  if (t && i) {
152
- const n = new U(i, t, this.model);
152
+ const n = new H(i, t, this.model);
153
153
  n.distanceItem.setCanSelect(!1), n.distanceItem.appendTo(this.container), this.polyline.addLine(n), this.group.add(n.mesh), n.distanceItem.update(this.five);
154
154
  }
155
155
  const a = (r = (s = this.editParams) == null ? void 0 : s.autoEndConfig) == null ? void 0 : r.line;
@@ -209,38 +209,38 @@ class Xe extends j {
209
209
  // ====================================================================================================================================
210
210
  // 下面一堆高亮相关
211
211
  o(this, "wantsTapGesture", (e) => {
212
- var A, k;
212
+ var C, k;
213
213
  if (this.editParams.pointSelectorMode === "cursor" || this.lastPoint)
214
214
  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 = (A = t[0]) == null ? void 0 : A.object) == null ? void 0 : k.parent;
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;
216
216
  if (i != null && i.isPolygonMesh) {
217
217
  const h = this.model.areas.find((p) => p.polygon === i);
218
218
  if (h) {
219
- const { x: p, y: v } = t[0].point.clone().project(this.five.camera), f = `${(p + 1) / 2 * 100}%`, u = `${(-v + 1) / 2 * 100}%`;
219
+ const { x: p, y } = t[0].point.clone().project(this.five.camera), f = `${(p + 1) / 2 * 100}%`, u = `${(-y + 1) / 2 * 100}%`;
220
220
  return this.chooseArea(h, { left: f, top: u }), !1;
221
221
  }
222
222
  }
223
223
  const [s] = this.five.model.intersectRaycaster(e);
224
224
  if (!s)
225
225
  return;
226
- 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) => {
227
- const [p, v] = h.points, f = p.position.clone().project(r), u = v.position.clone().project(r);
228
- if (!w(f) && !w(u))
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))
229
229
  return null;
230
- const I = new y(f.x * d, f.y * a), M = new y(u.x * d, u.y * a);
230
+ const I = new P(f.x * d, f.y * a), M = new P(u.x * d, u.y * a);
231
231
  return { id: h.id, points: [I, M] };
232
232
  }).filter((h) => !!h);
233
233
  if (g.length === 0)
234
234
  return;
235
- const P = g.map((h) => {
235
+ const L = g.map((h) => {
236
236
  const p = W(n, h.points);
237
237
  return { id: h.id, distance: p.distanceTo(n) };
238
238
  }).sort((h, p) => h.distance - p.distance)[0];
239
- if (P.distance > 20)
239
+ if (L.distance > 20)
240
240
  return;
241
- const L = this.model.getAllLines().find(({ id: h }) => h === P.id);
242
- if (L)
243
- return this.chooseLine(L), !1;
241
+ const A = this.model.getAllLines().find(({ id: h }) => h === L.id);
242
+ if (A)
243
+ return this.chooseLine(A), !1;
244
244
  });
245
245
  o(this, "chooseLine", (e) => {
246
246
  console.log(e);
@@ -273,7 +273,7 @@ class Xe extends j {
273
273
  }).appendTo(this.container), this.pointSelector = new x(this.five, {
274
274
  mode: this.editParams.pointSelectorMode,
275
275
  pointSelectorHelperParams: { magnifierParams: this.magnifierParams }
276
- }), this.pointSelector.enable(), this.polyline = new S({ model: this.model }), this.area = new D(void 0, {
276
+ }), this.pointSelector.enable(), this.polyline = new D({ model: this.model }), this.area = new w(void 0, {
277
277
  five: this.five,
278
278
  model: this.model,
279
279
  meshContainer: this.group,
@@ -284,13 +284,13 @@ class Xe extends j {
284
284
  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
285
  s.distanceItem.appendTo(this.container), s.distanceItem.update(this.five), this.group.add(s.mesh);
286
286
  });
287
- }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsToMoveToPano", E), 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();
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();
288
288
  }
289
289
  dispose() {
290
290
  var e;
291
291
  super.dispose(), this.model.areas.forEach((t) => {
292
292
  (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", E), 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;
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;
294
294
  }
295
295
  getEditingLines() {
296
296
  return this.polyline.lines;
@@ -299,9 +299,9 @@ class Xe extends j {
299
299
  this.onSelect();
300
300
  }
301
301
  complete() {
302
- 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 D(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) => {
302
+ 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
303
  e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
304
- }), 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;
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;
305
305
  }
306
306
  highlightArea(e) {
307
307
  this.highlightLines(e.polyline.lines), this.five.needsRender = !0;
@@ -318,7 +318,7 @@ class Xe extends j {
318
318
  });
319
319
  }
320
320
  highlightLine(e) {
321
- e.selected || (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
321
+ this.unHighlightLines(this.model.getAllLines()), !e.selected && (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
322
322
  }
323
323
  }
324
324
  export {
@@ -1,15 +1,15 @@
1
- var H = Object.defineProperty;
2
- var k = (c, r, e) => r in c ? H(c, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[r] = e;
3
- var s = (c, r, e) => (k(c, typeof r != "symbol" ? r + "" : r, e), e);
4
- import I from "hammerjs";
5
- import R from "../Modules/DeleteDom/index.js";
1
+ var k = Object.defineProperty;
2
+ var I = (c, r, e) => r in c ? k(c, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[r] = e;
3
+ var s = (c, r, e) => (I(c, typeof r != "symbol" ? r + "" : r, e), e);
4
+ import R from "hammerjs";
5
+ import G from "../Modules/DeleteDom/index.js";
6
6
  import S from "../utils/isNDCPointInScreen.js";
7
- import G from "./BaseController.js";
8
- import { Raycaster as T, Vector2 as u } from "three";
9
- import { closestPointOnLine as U } from "../utils/math.js";
10
- import { findClosestPoint as b } from "../utils/findClosestPoint.js";
11
- import { findAssociatedLines as D } from "../utils/findAssociatedLines.js";
12
- import { getPointFromHammerEvent as w } from "../../shared-utils/getPointFromHammerEvent.js";
7
+ import T from "./BaseController.js";
8
+ import { Raycaster as U, Vector2 as u } from "three";
9
+ import { closestPointOnLine as b } from "../utils/math.js";
10
+ import { findClosestPoint as M } from "../utils/findClosestPoint.js";
11
+ import { findAssociatedLines as w } from "../utils/findAssociatedLines.js";
12
+ import { getPointFromHammerEvent as C } from "../../shared-utils/getPointFromHammerEvent.js";
13
13
  import j from "../Model/area.js";
14
14
  import x from "../Model/polygon.js";
15
15
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
@@ -34,7 +34,8 @@ import "../utils/geometryUtil.js";
34
34
  import "../../shared-utils/three/IObject3D.js";
35
35
  import "../utils/generatePolygonGeometry.js";
36
36
  import "earcut";
37
- class Pe extends G {
37
+ const D = () => !1;
38
+ class ve extends T {
38
39
  constructor(e) {
39
40
  super(e);
40
41
  s(this, "type", "watch");
@@ -50,14 +51,14 @@ class Pe extends G {
50
51
  var a;
51
52
  if (this.model.getAllLines().length === 0 || !this.fiveElement)
52
53
  return;
53
- const i = w(e).point, t = (a = b(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : a.point;
54
+ const i = C(e).point, t = (a = M(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : a.point;
54
55
  if (!t) {
55
56
  this.editPointState = void 0;
56
57
  return;
57
58
  }
58
59
  const n = {
59
60
  point: t,
60
- associatedLines: D(t.lines[0])
61
+ associatedLines: w(t.lines[0])
61
62
  };
62
63
  this.hook.emit("wantsDragLine", {
63
64
  point: t.id,
@@ -70,7 +71,7 @@ class Pe extends G {
70
71
  s(this, "onPan", (e) => {
71
72
  if (!this.editPointState || !this.fiveElement)
72
73
  return;
73
- const i = w(e).ndcPoint, t = new T();
74
+ const i = C(e).ndcPoint, t = new U();
74
75
  t.setFromCamera(i, this.five.camera);
75
76
  const [n] = this.five.model.intersectRaycaster(t);
76
77
  n && this.onIntersectionUpdate(n);
@@ -112,13 +113,13 @@ class Pe extends G {
112
113
  const [h, f] = o.points, p = h.position.clone().project(l), m = f.position.clone().project(l);
113
114
  if (!S(p) && !S(m))
114
115
  return null;
115
- const C = new u(p.x * d, p.y * g), E = new u(m.x * d, m.y * g);
116
- return { id: o.id, points: [C, E] };
116
+ const E = new u(p.x * d, p.y * g), H = new u(m.x * d, m.y * g);
117
+ return { id: o.id, points: [E, H] };
117
118
  }).filter((o) => !!o);
118
119
  if (P.length === 0)
119
120
  return;
120
121
  const v = P.map((o) => {
121
- const h = U(L, o.points);
122
+ const h = b(L, o.points);
122
123
  return { id: o.id, distance: h.distanceTo(L) };
123
124
  }).sort((o, h) => o.distance - h.distance)[0];
124
125
  if (v.distance > 20)
@@ -129,7 +130,7 @@ class Pe extends G {
129
130
  });
130
131
  s(this, "chooseLine", (e) => {
131
132
  this.choose = "line";
132
- const i = D(e);
133
+ const i = w(e);
133
134
  this.deleteDom.setLines(i).updatePosition().show(), console.log(this.deleteDom), this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
134
135
  "selectedChange",
135
136
  i.map((t) => t)
@@ -157,7 +158,7 @@ class Pe extends G {
157
158
  s(this, "cancelDeleteClickCallback", () => {
158
159
  this.deleteDom.hide(), this.clearHighlightLines(), this.unHighlightArea();
159
160
  });
160
- this.deleteDom = new R(this.five, {
161
+ this.deleteDom = new G(this.five, {
161
162
  i18n: this.config.i18n,
162
163
  onClick: () => {
163
164
  console.log(this.choose), this.choose === "line" ? this.deleteLine() : this.choose instanceof j && this.deleteArea(this.choose);
@@ -173,14 +174,14 @@ class Pe extends G {
173
174
  const i = this.five.getElement();
174
175
  if (i) {
175
176
  this.fiveElement = i;
176
- const t = new I(i);
177
+ const t = new R(i);
177
178
  this.hammer = t, t.on("pan", this.onPan), t.on("panstart", this.onPanStart), t.on("panend", this.onPanEnd);
178
179
  }
179
- this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.model.hook.on("polylineRemoved", this.polylineRemoved);
180
+ this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", D), this.model.hook.on("polylineRemoved", this.polylineRemoved);
180
181
  }
181
182
  dispose() {
182
183
  var e;
183
- super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (e = this.hammer) == null || e.destroy();
184
+ super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsChangeMode", D), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (e = this.hammer) == null || e.destroy();
184
185
  }
185
186
  highlightLine(e) {
186
187
  e.selected || (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
@@ -207,5 +208,5 @@ class Pe extends G {
207
208
  }
208
209
  }
209
210
  export {
210
- Pe as default
211
+ ve as default
211
212
  };
@@ -2,18 +2,18 @@ var h = Object.defineProperty;
2
2
  var d = (e, t, i) => t in e ? h(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
3
  var n = (e, t, i) => (d(e, typeof t != "symbol" ? t + "" : t, i), i);
4
4
  import { isNDCPointInFront as y } from "../isNDCPointInScreen.js";
5
- function m(e) {
5
+ function D(e) {
6
6
  const t = document.createElement("div");
7
7
  return t.setAttribute(
8
8
  "style",
9
9
  "backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);-webkit-tap-highlight-color: rgba(0,0,0,0);"
10
10
  ), t.style.width = "max-content", t.style.padding = "3px 6px", t.style.lineHeight = "1", t.style.textAlign = "center", t.style.transform = "translate(-50%, -50%)", t.style.fontSize = "14px", t.style.color = "#fff", t.style.cursor = "pointer", t.style.userSelect = "none", e != null && e.style && Object.assign(t.style, e == null ? void 0 : e.style), t;
11
11
  }
12
- function D(e) {
12
+ function m(e) {
13
13
  const t = document.createElement("div");
14
- return e != null && e.id && (t.id = e == null ? void 0 : e.id), t.classList.add("five-plugin-measure__distance"), t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transform = "translate3d(0, 0, 0)", t.style.transformOrigin = "left top", e != null && e.style && Object.assign(t.style, e.style), t;
14
+ return e != null && e.id && (t.id = e == null ? void 0 : e.id), t.classList.add("five-plugin-measure__distance"), t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transformOrigin = "left top", e != null && e.style && Object.assign(t.style, e.style), t;
15
15
  }
16
- class u {
16
+ class f {
17
17
  constructor(t) {
18
18
  n(this, "ndcPosition");
19
19
  n(this, "contentDom");
@@ -24,7 +24,7 @@ class u {
24
24
  var i, o;
25
25
  (o = (i = this.params).clickCallback) == null || o.call(i, t, this);
26
26
  });
27
- this.params = t, this.contentDom = m({ style: t.contentStyle }), this.containerDom = D({ style: t.containerStyle }), this.setCanSelect(!0);
27
+ this.params = t, this.contentDom = D({ style: t.contentStyle }), this.containerDom = m({ style: t.containerStyle }), this.setCanSelect(!0);
28
28
  }
29
29
  setCanSelect(t) {
30
30
  this.canSelected = t, this.containerDom.style.pointerEvents = t ? "all" : "none";
@@ -74,5 +74,5 @@ class u {
74
74
  }
75
75
  }
76
76
  export {
77
- u as ItemDom
77
+ f as ItemDom
78
78
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.22.0-dev.2");
17
+ i(this, "VERSION", "2.22.0-dev.4");
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.2",
3
+ "%c %c@realsee/dnalogel %cv2.22.0-dev.4",
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",
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.2",
10
+ "version": "2.22.0-dev.4",
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*",