@realsee/dnalogel 2.16.0-16 → 2.16.0-17

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/GuideLinePlugin/GuideLineItem.d.ts +4 -0
  2. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -8
  3. package/dist/GuideLinePlugin/typing.d.ts +6 -0
  4. package/dist/index.cjs.js +4 -4
  5. package/dist/index.js +445 -452
  6. package/dist/index.umd.js +4 -4
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/CSS3DRender.html +30 -30
  9. package/docs/classes/CruisePluginController.html +25 -25
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +50 -15
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +28 -28
  12. package/docs/classes/Magnifier.html +19 -19
  13. package/docs/classes/ModelRoomLabelController.html +10 -10
  14. package/docs/classes/Object3DHelperController.html +24 -24
  15. package/docs/classes/PaintBrush.html +14 -14
  16. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  17. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  18. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  19. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  20. package/docs/classes/PanoTagPluginController.html +46 -46
  21. package/docs/classes/Util.BetterTween.html +8 -8
  22. package/docs/classes/Util.FivePointSelector.html +11 -11
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +16 -16
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.Rectangle.html +12 -12
  28. package/docs/enums/CameraMovementEffect.html +6 -6
  29. package/docs/enums/ContentType.html +18 -18
  30. package/docs/enums/DIRECTION.html +8 -8
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  32. package/docs/enums/DimensionType.html +6 -6
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  38. package/docs/functions/CameraMovementPlugin.html +3 -3
  39. package/docs/functions/CruisePlugin.html +3 -3
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +3 -3
  42. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  45. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  47. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  48. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  49. package/docs/functions/ModelViewPlugin.html +3 -3
  50. package/docs/functions/Object3DHelperPlugin.html +3 -3
  51. package/docs/functions/PanoCompassPlugin.html +3 -3
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  53. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  55. package/docs/functions/PanoMeasurePlugin.html +3 -3
  56. package/docs/functions/PanoRulerPlugin.html +3 -3
  57. package/docs/functions/PanoRulerProPlugin.html +3 -3
  58. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  59. package/docs/functions/PanoTagPlugin.html +3 -3
  60. package/docs/functions/PanoVideoPlugin.html +3 -3
  61. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  62. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  63. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  64. package/docs/functions/Util.getFrameTime.html +4 -4
  65. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  66. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  67. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  68. package/docs/functions/Util.isModelLike.html +4 -4
  69. package/docs/functions/Util.isNil.html +4 -4
  70. package/docs/functions/Util.isPanoramaLike.html +4 -4
  71. package/docs/functions/Util.nextFrame.html +4 -4
  72. package/docs/functions/Util.notNil.html +4 -4
  73. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  74. package/docs/functions/Util.tweenProgress.html +4 -4
  75. package/docs/functions/Util.uuid.html +4 -4
  76. package/docs/functions/pluginFlag.html +4 -4
  77. package/docs/index.html +4 -4
  78. package/docs/interfaces/AddTagConfig.html +5 -5
  79. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  80. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  81. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  82. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  83. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  84. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  85. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  86. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  87. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  88. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  89. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  90. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  91. package/docs/interfaces/EventMap.html +14 -14
  92. package/docs/interfaces/FloorplanBounding.html +7 -7
  93. package/docs/interfaces/FloorplanData.html +9 -9
  94. package/docs/interfaces/FloorplanEntrance.html +10 -10
  95. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  96. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  97. package/docs/interfaces/FloorplanFloorData.html +8 -8
  98. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  99. package/docs/interfaces/FloorplanObserver.html +8 -8
  100. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  101. package/docs/interfaces/FloorplanPosition.html +6 -6
  102. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  103. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  104. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  105. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  106. package/docs/interfaces/FloorplanServerData.html +6 -6
  107. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  108. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  110. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  111. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  112. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  113. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  114. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  116. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  117. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  118. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  119. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  120. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  121. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  122. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  126. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  127. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  128. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  130. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  131. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  132. package/docs/interfaces/HelperOffset.html +7 -7
  133. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  134. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  135. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  136. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  137. package/docs/interfaces/MinMax.html +6 -6
  138. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  139. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  140. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  141. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  142. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  143. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  144. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  145. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  146. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  148. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  149. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  150. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  151. package/docs/interfaces/Object3DHelperState.html +7 -7
  152. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  153. package/docs/interfaces/PaintBrushAction.html +11 -11
  154. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  155. package/docs/interfaces/PaintBrushState.html +9 -9
  156. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  157. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  158. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  159. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  160. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  161. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  162. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  163. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  164. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  165. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  166. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  167. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  169. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  170. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  171. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  172. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  173. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  174. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  175. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  176. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  177. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  178. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  179. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  180. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  181. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  183. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  184. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  185. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  186. package/docs/interfaces/Point.html +7 -7
  187. package/docs/interfaces/Room.html +8 -8
  188. package/docs/interfaces/RoomInfo.html +6 -6
  189. package/docs/interfaces/RoomLabel.html +13 -13
  190. package/docs/interfaces/RoomRules.html +4 -4
  191. package/docs/interfaces/Rooms.html +4 -4
  192. package/docs/interfaces/Scissor.html +8 -8
  193. package/docs/interfaces/State.html +7 -7
  194. package/docs/interfaces/TagCacheInterface.html +11 -11
  195. package/docs/interfaces/TagConfig.html +10 -10
  196. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  197. package/docs/interfaces/TagIconUrl.html +11 -11
  198. package/docs/interfaces/TagObjectGroup.html +5 -5
  199. package/docs/interfaces/TagStyle.html +5 -5
  200. package/docs/interfaces/Tags.html +8 -8
  201. package/docs/interfaces/TemporaryState.html +5 -5
  202. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  203. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  204. package/docs/modules/CruisePluginTypes.html +4 -4
  205. package/docs/modules/GuideLineItem.html +4 -4
  206. package/docs/modules/GuideLineModeItem.html +4 -4
  207. package/docs/modules/GuideLinePluginType.html +4 -4
  208. package/docs/modules/PanoVideoPluginType.html +4 -4
  209. package/docs/modules/Util.html +4 -4
  210. package/docs/modules.html +4 -4
  211. package/docs/types/ArrayPosition.html +4 -4
  212. package/docs/types/AudioAppearance.html +4 -4
  213. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  214. package/docs/types/CSS3DRenderExportType.html +4 -4
  215. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  216. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  217. package/docs/types/ClassFunctionParameters.html +4 -4
  218. package/docs/types/Color.html +4 -4
  219. package/docs/types/ContentTypeConfigKey.html +4 -4
  220. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  221. package/docs/types/ContentTypeMap.html +4 -4
  222. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  223. package/docs/types/Create3DElementReturnType.html +4 -4
  224. package/docs/types/CruisePluginExportType.html +4 -4
  225. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  226. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  227. package/docs/types/Direction-1.html +4 -4
  228. package/docs/types/Direction4.html +4 -4
  229. package/docs/types/FloorplanRuleLabels.html +4 -4
  230. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  231. package/docs/types/GuideLinePluginExportType.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +39 -7
  234. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  236. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  237. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  239. package/docs/types/HelperEventMap.html +4 -4
  240. package/docs/types/LoadTagConfig.html +4 -4
  241. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  242. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  243. package/docs/types/MediaData.html +4 -4
  244. package/docs/types/MediaStore.html +4 -4
  245. package/docs/types/ModelElement.html +4 -4
  246. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  247. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  248. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  249. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  250. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  251. package/docs/types/MoveArgs.html +4 -4
  252. package/docs/types/MoveOpts.html +4 -4
  253. package/docs/types/Object3DHelperEventMap.html +4 -4
  254. package/docs/types/ObjectFit.html +4 -4
  255. package/docs/types/PaintBrushEventMap.html +4 -4
  256. package/docs/types/PanoCompassPluginData.html +4 -4
  257. package/docs/types/PanoCompassPluginExportType.html +4 -4
  258. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  259. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  260. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  261. package/docs/types/PanoIndex.html +4 -4
  262. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  263. package/docs/types/PanoMeasureReturnType.html +4 -4
  264. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  265. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  266. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  267. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  268. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  269. package/docs/types/PlaneTag.html +4 -4
  270. package/docs/types/PlaneTagElement.html +4 -4
  271. package/docs/types/Point2DElement.html +4 -4
  272. package/docs/types/Point2DTag.html +4 -4
  273. package/docs/types/Point3DElement.html +4 -4
  274. package/docs/types/Point3DTag.html +4 -4
  275. package/docs/types/PointTag.html +4 -4
  276. package/docs/types/PointTagElement.html +4 -4
  277. package/docs/types/Position.html +4 -4
  278. package/docs/types/RotateArgs.html +4 -4
  279. package/docs/types/RotateOpts.html +4 -4
  280. package/docs/types/RuleLabelsKey.html +4 -4
  281. package/docs/types/RuleLabelsValue.html +4 -4
  282. package/docs/types/StickType.html +4 -4
  283. package/docs/types/Tag.html +4 -4
  284. package/docs/types/Tag2D.html +4 -4
  285. package/docs/types/Tag3D.html +4 -4
  286. package/docs/types/TagContentType.html +4 -4
  287. package/docs/types/TagDimensionType.html +4 -4
  288. package/docs/types/TagElement.html +4 -4
  289. package/docs/types/TagEvents.html +4 -4
  290. package/docs/types/TagGLTFObject.html +4 -4
  291. package/docs/types/TagHooks.html +4 -4
  292. package/docs/types/TagIconSize.html +4 -4
  293. package/docs/types/TagId.html +4 -4
  294. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  296. package/docs/types/WorkCode.html +4 -4
  297. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  298. package/docs/variables/PLUGIN.html +4 -4
  299. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  300. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  301. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  302. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  304. package/libs/GuideLinePlugin/GuideLineItem/index.js +67 -57
  305. package/libs/GuideLinePlugin/GuideLineItem.d.ts +4 -0
  306. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +39 -55
  307. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -8
  308. package/libs/GuideLinePlugin/typing.d.ts +6 -0
  309. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -2
  310. package/libs/base/BasePlugin.js +1 -1
  311. package/libs/index.js +1 -1
  312. package/package.json +1 -1
@@ -1,27 +1,27 @@
1
1
  var C = Object.defineProperty, y = Object.defineProperties;
2
2
  var k = Object.getOwnPropertyDescriptors;
3
3
  var v = Object.getOwnPropertySymbols;
4
- var w = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
4
+ var w = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
5
  var m = (o, e, i) => e in o ? C(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i, u = (o, e) => {
6
6
  for (var i in e || (e = {}))
7
7
  w.call(e, i) && m(o, i, e[i]);
8
8
  if (v)
9
9
  for (var i of v(e))
10
- U.call(e, i) && m(o, i, e[i]);
10
+ T.call(e, i) && m(o, i, e[i]);
11
11
  return o;
12
12
  }, g = (o, e) => y(o, k(e));
13
13
  var t = (o, e, i) => (m(o, typeof e != "symbol" ? e + "" : e, i), i);
14
- import * as l from "three";
15
- import { logWarning as P, logError as T } from "../../shared-utils/log.js";
14
+ import * as h from "three";
15
+ import { logWarning as U, logError as V } from "../../shared-utils/log.js";
16
16
  import { createLineGeometry as x } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as E, isModelLike as _ } from "../../shared-utils/five/mode.js";
17
+ import { isPanoramaLike as _, isModelLike as L } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { BetterTween as L, tweenProgress as O } from "../../shared-utils/animationFrame/BetterTween.js";
24
- import { loadTexture as V } from "../../shared-utils/three/loadTexture.js";
23
+ import { BetterTween as O, tweenProgress as E } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { loadTexture as P } from "../../shared-utils/three/loadTexture.js";
25
25
  import b from "../../PanoTagPlugin/controller/index.js";
26
26
  import G from "../Components/Tag.js";
27
27
  import { filterAdjacentDistinct as M } from "../utils/index.js";
@@ -36,7 +36,7 @@ const A = (
36
36
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
37
37
  }
38
38
  `
39
- ), S = (
39
+ ), B = (
40
40
  /* glsl */
41
41
  `
42
42
  // 是否使用颜色
@@ -120,7 +120,7 @@ const A = (
120
120
  }
121
121
  `
122
122
  );
123
- class B {
123
+ class S {
124
124
  constructor(e, i) {
125
125
  t(this, "startTagContainer");
126
126
  t(this, "endTagContainer");
@@ -146,27 +146,11 @@ class B {
146
146
  t(this, "plugin");
147
147
  t(this, "textureHasLoaded", !1);
148
148
  t(this, "disposed", !1);
149
- t(this, "flowAnime", new L({ progress: 0 }).to({ progress: 1 }).duration(5e3).repeat(1 / 0));
150
- t(this, "flickerAnime", O(300).yoyo(!0).repeat(5));
149
+ t(this, "flowAnime", new O({ progress: 0 }).to({ progress: 1 }).duration(5e3).repeat(1 / 0));
150
+ t(this, "flickerAnime", E(300).yoyo(!0).repeat(5));
151
151
  t(this, "dispose", () => {
152
152
  var e, i;
153
- this.disposed || (this.disposed = !0, this.five.off("modeChange", this.onFiveModeChange), this.plugin.hooks.off("show", this.onPluginShow), this.plugin.hooks.off("hide", this.onPluginHide), this.plugin.hooks.off("enable", this.onPluginEnable), this.plugin.hooks.off("disable", this.onPluginDisable), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (i = this.endTagContainer) == null || i.plugin.dispose());
154
- });
155
- /** 当设置 GuideLinePLugin 展示 */
156
- t(this, "onPluginShow", () => {
157
- this.updateVisible();
158
- });
159
- /** 当设置 GuideLinePLugin 隐藏 */
160
- t(this, "onPluginHide", () => {
161
- this.updateVisible();
162
- });
163
- /** 当设置 GuideLinePLugin 开启 */
164
- t(this, "onPluginEnable", () => {
165
- this.updateVisible();
166
- });
167
- /** 当设置 GuideLinePLugin 关闭 */
168
- t(this, "onPluginDisable", () => {
169
- this.updateVisible();
153
+ this.disposed || (this.disposed = !0, this.five.off("modeChange", this.onFiveModeChange), this.parent.hooks.off("show", this.updateVisible), this.parent.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("show", this.updateVisible), this.plugin.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("enable", this.updateVisible), this.plugin.hooks.off("disable", this.updateVisible), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (i = this.endTagContainer) == null || i.plugin.dispose());
170
154
  });
171
155
  /** 开始走点动画 */
172
156
  t(this, "onWalkAnimationStart", () => {
@@ -178,7 +162,12 @@ class B {
178
162
  });
179
163
  /** 模型状态变更 */
180
164
  t(this, "onFiveModeChange", (e) => {
181
- this.modeVisible = this.mode === "panorama" ? E(e) : _(e), this.updateVisible();
165
+ this.modeVisible = this.mode === "panorama" ? _(e) : L(e), this.updateVisible();
166
+ });
167
+ /** 更新可见性 */
168
+ t(this, "updateVisible", () => {
169
+ const e = (() => !this.parent.visible || !this.plugin.state.enabled || !this.plugin.state.visible ? !1 : this.customVisible !== null ? this.customVisible : this.inWalkAnimation ? !0 : this.modeVisible && this.textureHasLoaded && this.defaultVisible)();
170
+ this.visible !== e && (this.visible = e, e ? this.doShow() : this.doHide());
182
171
  });
183
172
  t(this, "onFlowAnimeUpdate", (e) => {
184
173
  const { progress: i } = e;
@@ -189,21 +178,21 @@ class B {
189
178
  const { progress: i } = e, r = 1 - i;
190
179
  this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && f(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(g(u({}, this.startTagContainer.tag.data), { opacity: r }))), this.endTagContainer.tag && f(this.endTagContainer.tag) && ((s = this.endTagContainer.app) == null || s.$set(g(u({}, this.endTagContainer.tag.data), { opacity: r })));
191
180
  });
192
- t(this, "logWarning", (e) => P("GuideLineModeItem: ", e));
193
- t(this, "logError", (e) => T("GuideLineModeItem: ", e));
181
+ t(this, "logWarning", (e) => U("GuideLineModeItem: ", e));
182
+ t(this, "logError", (e) => V("GuideLineModeItem: ", e));
194
183
  this.five = e, this.mode = i.mode, this.plugin = i.plugin, this.parent = i.parent, this.startTagContainer = { tag: null, plugin: new b(this.five) }, this.endTagContainer = { tag: null, plugin: new b(this.five) };
195
- const r = new l.BufferGeometry(), a = new l.ShaderMaterial({
184
+ const r = new h.BufferGeometry(), a = new h.ShaderMaterial({
196
185
  vertexShader: A,
197
- fragmentShader: S,
186
+ fragmentShader: B,
198
187
  transparent: !0,
199
188
  uniforms: {
200
189
  map: { value: null },
201
190
  useMapColor: { value: 0 },
202
- mapColor: { value: new l.Color() },
191
+ mapColor: { value: new h.Color() },
203
192
  mapOpacity: { value: 1 },
204
- backgroundColor: { value: new l.Color() },
193
+ backgroundColor: { value: new h.Color() },
205
194
  backgroundOpacity: { value: 0 },
206
- borderColor: { value: new l.Color() },
195
+ borderColor: { value: new h.Color() },
207
196
  borderOpacity: { value: 0 },
208
197
  opacity: { value: 1 },
209
198
  flicker: { value: 1 },
@@ -211,7 +200,7 @@ class B {
211
200
  vOffset: { value: 0 }
212
201
  }
213
202
  });
214
- this.mesh = new l.Mesh(r, a), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.plugin.hooks.on("show", this.onPluginShow), this.plugin.hooks.on("hide", this.onPluginHide), this.plugin.hooks.on("enable", this.onPluginEnable), this.plugin.hooks.on("disable", this.onPluginDisable), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.onFiveModeChange(this.five.getCurrentState().mode);
203
+ this.mesh = new h.Mesh(r, a), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.onFiveModeChange(this.five.getCurrentState().mode);
215
204
  }
216
205
  get panoGroup() {
217
206
  return this._panoGroup;
@@ -261,13 +250,13 @@ class B {
261
250
  return this.logError("disposed");
262
251
  const r = (d = i == null ? void 0 : i.scale) != null ? d : this.scale, a = (p = i == null ? void 0 : i.width) != null ? p : this.width, s = (c = i == null ? void 0 : i.unit_length) != null ? c : this.unitLength;
263
252
  this.path = e, this.scale = r, this.width = a, this.unitLength = s;
264
- const { geometry: n, maxU: h } = x({
253
+ const { geometry: n, maxU: l } = x({
265
254
  path: e,
266
255
  width: a * r,
267
256
  unitLength: s * r,
268
257
  skipPositions: this.skippedPositions
269
258
  });
270
- this.mesh.geometry = n, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = h, this.five.needsRender = !0;
259
+ this.mesh.geometry = n, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = l, this.five.needsRender = !0;
271
260
  }
272
261
  /** 设置线条材质 */
273
262
  setMartial(e) {
@@ -280,13 +269,13 @@ class B {
280
269
  setColor(e) {
281
270
  if (this.disposed)
282
271
  return this.logError("disposed");
283
- e && (this.mesh.material.uniforms.mapColor.value = new l.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
272
+ e && (this.mesh.material.uniforms.mapColor.value = new h.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
284
273
  }
285
274
  /** 设置边框 */
286
275
  setBorderColor(e) {
287
276
  if (this.disposed)
288
277
  return this.logError("disposed");
289
- this.mesh.material.uniforms.borderColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
278
+ this.mesh.material.uniforms.borderColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
290
279
  }
291
280
  /** 设置边框透明度 */
292
281
  setBorderOpacity(e) {
@@ -298,7 +287,7 @@ class B {
298
287
  setBackgroundColor(e) {
299
288
  if (this.disposed)
300
289
  return this.logError("disposed");
301
- console.log("🐶 ==> color:", e), this.mesh.material.uniforms.backgroundColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
290
+ this.mesh.material.uniforms.backgroundColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
302
291
  }
303
292
  /** 设置背景透明度 */
304
293
  setBackgroundOpacity(e) {
@@ -322,8 +311,8 @@ class B {
322
311
  setTextureUrl(e) {
323
312
  if (this.disposed)
324
313
  return this.logError("disposed");
325
- this.textureUrl = e, V(e).then((i) => {
326
- this.disposed || this.textureUrl === e && (i.wrapT = l.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = i, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
314
+ this.textureUrl = e, P(e).then((i) => {
315
+ this.disposed || this.textureUrl === e && (i.wrapT = h.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = i, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
327
316
  });
328
317
  }
329
318
  setStartTag(e) {
@@ -349,20 +338,15 @@ class B {
349
338
  s.tag = a, f(a) && (s.tag.element = (n) => {
350
339
  var d;
351
340
  (d = s.app) == null || d.$destroy();
352
- const h = new G({ target: n, intro: !0, props: a.data });
353
- return s.app = h, () => h.$destroy();
341
+ const l = new G({ target: n, intro: !0, props: a.data });
342
+ return s.app = l, () => l.$destroy();
354
343
  }), s.plugin.load({ tagList: [s.tag] });
355
344
  }
356
- /** 更新可见性 */
357
- updateVisible() {
358
- const e = (() => !this.plugin.state.enabled || !this.plugin.state.visible ? !1 : this.customVisible !== null ? this.customVisible : this.inWalkAnimation ? !0 : this.modeVisible && this.textureHasLoaded && this.defaultVisible)();
359
- this.visible !== e && (this.visible = e, e ? this.doShow() : this.doHide());
360
- }
361
345
  doShow() {
362
- this.mode === "model" && this.flowAnime.play(), this.five.scene.add(this.mesh), this.five.needsRender = !0;
346
+ this.mode === "model" && this.flowAnime.play(), this.five.scene.add(this.mesh), this.startTagContainer.plugin.show(), this.endTagContainer.plugin.show(), this.five.needsRender = !0;
363
347
  }
364
348
  doHide() {
365
- this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.mesh), this.five.needsRender = !0;
349
+ this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.mesh), this.startTagContainer.plugin.hide(), this.endTagContainer.plugin.hide(), this.five.needsRender = !0;
366
350
  }
367
351
  /** 通过 panoIndex 数组计算路径 */
368
352
  getPathFromPanoGroup(e, i, r) {
@@ -377,9 +361,9 @@ function f(o) {
377
361
  }
378
362
  const Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
379
363
  __proto__: null,
380
- GuideLineModeItem: B
364
+ GuideLineModeItem: S
381
365
  }, Symbol.toStringTag, { value: "Module" }));
382
366
  export {
383
- B as GuideLineModeItem,
367
+ S as GuideLineModeItem,
384
368
  Z as GuideLineModeItem$1
385
369
  };
@@ -85,14 +85,6 @@ declare class GuideLineModeItem {
85
85
  /** 闪烁 */
86
86
  flicker(): void;
87
87
  private setTag;
88
- /** 当设置 GuideLinePLugin 展示 */
89
- private onPluginShow;
90
- /** 当设置 GuideLinePLugin 隐藏 */
91
- private onPluginHide;
92
- /** 当设置 GuideLinePLugin 开启 */
93
- private onPluginEnable;
94
- /** 当设置 GuideLinePLugin 关闭 */
95
- private onPluginDisable;
96
88
  /** 开始走点动画 */
97
89
  private onWalkAnimationStart;
98
90
  /** 结束走点动画 */
@@ -41,6 +41,12 @@ export interface EventMap extends BasePluginWithData.EventMap<PluginState, Plugi
41
41
  }) => void;
42
42
  }
43
43
  export type GuideLineItemEventMap = {
44
+ show: (options: {
45
+ userAction: boolean;
46
+ }) => void;
47
+ hide: (options: {
48
+ userAction: boolean;
49
+ }) => void;
44
50
  walkStart: (options: {
45
51
  userAction: boolean;
46
52
  }) => void;
@@ -188,8 +188,7 @@ class be extends S {
188
188
  * @description: 获取是否展开
189
189
  */
190
190
  getUnfoldedByCamera(e) {
191
- const i = this.getVisible(e);
192
- return console.log("🐶 ==> visible:", i), i ? (() => {
191
+ return this.getVisible(e) ? (() => {
193
192
  var l;
194
193
  const s = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
195
194
  if (t) {
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.16.0-16");
17
+ e(this, "VERSION", "2.16.0-17");
18
18
  e(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
package/libs/index.js CHANGED
@@ -363,7 +363,7 @@ import "./shared-utils/three/PointHelper.js";
363
363
  import "./shared-utils/three/Assets/index.js";
364
364
  import "./shared-utils/three/PointDomHelper.js";
365
365
  import "./shared-utils/three/FivePointSelector.js";
366
- console.info("@realsee/dnalogel %cv2.16.0-16", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
366
+ console.info("@realsee/dnalogel %cv2.16.0-17", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
367
367
  export {
368
368
  le as CSS3DRender,
369
369
  Zm as CSS3DRenderPlugin,
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
9
  "description": "如视 VR 看房插件合集",
10
10
  "private": false,
11
- "version": "2.16.0-16",
11
+ "version": "2.16.0-17",
12
12
  "license": "SEE LICENSE IN TERMS.txt",
13
13
  "scripts": {
14
14
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",