@realsee/dnalogel 2.20.4 → 2.20.5

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 (315) hide show
  1. package/dist/GuideLinePlugin/Controller.d.ts +2 -0
  2. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +1 -0
  3. package/dist/index.cjs.js +46 -46
  4. package/dist/index.js +7569 -7467
  5. package/dist/index.umd.js +35 -35
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -33
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  16. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  19. package/docs/classes/PanoTagPluginController.html +46 -46
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.FivePointSelector.html +11 -11
  22. package/docs/classes/Util.Interval.html +11 -11
  23. package/docs/classes/Util.Magnifier.html +16 -16
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/PointType.html +6 -6
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  38. package/docs/functions/CameraMovementPlugin.html +4 -4
  39. package/docs/functions/CruisePlugin.html +4 -4
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +4 -4
  42. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  43. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  45. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  46. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  47. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  48. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  49. package/docs/functions/ModelViewPlugin.html +4 -4
  50. package/docs/functions/Object3DHelperPlugin.html +4 -4
  51. package/docs/functions/PanoCompassPlugin.html +4 -4
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  53. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  55. package/docs/functions/PanoMeasurePlugin.html +4 -4
  56. package/docs/functions/PanoRulerPlugin.html +4 -4
  57. package/docs/functions/PanoRulerProPlugin.html +4 -4
  58. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  59. package/docs/functions/PanoTagPlugin.html +4 -4
  60. package/docs/functions/PanoVideoPlugin.html +4 -4
  61. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  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 +12 -12
  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/DeprecatedMediaPlaneProperty.html +4 -4
  228. package/docs/types/DeprecatedTagProperty.html +4 -4
  229. package/docs/types/Direction-1.html +4 -4
  230. package/docs/types/Direction4.html +4 -4
  231. package/docs/types/ElementRenderer.html +4 -4
  232. package/docs/types/FloorplanRuleLabels.html +4 -4
  233. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  234. package/docs/types/GuideLinePluginExportType.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  236. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  239. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  240. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  241. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  242. package/docs/types/HelperEventMap.html +4 -4
  243. package/docs/types/LoadTagConfig.html +4 -4
  244. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  245. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  246. package/docs/types/MediaData.html +4 -4
  247. package/docs/types/MediaStore.html +4 -4
  248. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  249. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  250. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  251. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  252. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  253. package/docs/types/MoveArgs.html +4 -4
  254. package/docs/types/MoveOpts.html +4 -4
  255. package/docs/types/Object3DHelperEventMap.html +4 -4
  256. package/docs/types/ObjectFit.html +4 -4
  257. package/docs/types/PaintBrushEventMap.html +4 -4
  258. package/docs/types/PanoCompassPluginData.html +4 -4
  259. package/docs/types/PanoCompassPluginExportType.html +4 -4
  260. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  261. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  262. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  263. package/docs/types/PanoIndex.html +4 -4
  264. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  265. package/docs/types/PanoMeasureReturnType.html +4 -4
  266. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  267. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  268. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  269. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  270. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  271. package/docs/types/PartialObjectDeep.html +4 -4
  272. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  273. package/docs/types/PlaneTag.html +4 -4
  274. package/docs/types/Point2DTag.html +4 -4
  275. package/docs/types/Point3DTag.html +4 -4
  276. package/docs/types/PointTag.html +4 -4
  277. package/docs/types/PointTagInstance.html +4 -4
  278. package/docs/types/Position.html +4 -4
  279. package/docs/types/RotateArgs.html +4 -4
  280. package/docs/types/RotateOpts.html +4 -4
  281. package/docs/types/RuleLabelsKey.html +4 -4
  282. package/docs/types/RuleLabelsValue.html +4 -4
  283. package/docs/types/StickType.html +4 -4
  284. package/docs/types/Tag.html +4 -4
  285. package/docs/types/Tag2D.html +4 -4
  286. package/docs/types/Tag3D.html +4 -4
  287. package/docs/types/TagContentType.html +4 -4
  288. package/docs/types/TagDimensionType.html +4 -4
  289. package/docs/types/TagElement.html +4 -4
  290. package/docs/types/TagEvents.html +4 -4
  291. package/docs/types/TagGLTFObject.html +4 -4
  292. package/docs/types/TagHooks.html +4 -4
  293. package/docs/types/TagId.html +4 -4
  294. package/docs/types/TagInstance.html +4 -4
  295. package/docs/types/TagPointType.html +4 -4
  296. package/docs/types/TagRendererMap.html +4 -4
  297. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  299. package/docs/types/WorkCode.html +4 -4
  300. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  301. package/docs/variables/PLUGIN.html +4 -4
  302. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  303. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  304. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  305. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  307. package/libs/GuideLinePlugin/Components/Tag.js +134 -41
  308. package/libs/GuideLinePlugin/Controller.d.ts +2 -0
  309. package/libs/GuideLinePlugin/Controller.js +16 -12
  310. package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
  311. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +105 -100
  312. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +1 -0
  313. package/libs/base/BasePlugin.js +1 -1
  314. package/libs/shared-utils/logger.js +1 -1
  315. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  var k = Object.defineProperty, w = Object.defineProperties;
2
2
  var P = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
- var F = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
- var c = (n, e, i) => e in n ? k(n, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[e] = i, f = (n, e) => {
6
- for (var i in e || (e = {}))
7
- F.call(e, i) && c(n, i, e[i]);
4
+ var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
+ var v = (n, e, t) => e in n ? k(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, m = (n, e) => {
6
+ for (var t in e || (e = {}))
7
+ F.call(e, t) && v(n, t, e[t]);
8
8
  if (C)
9
- for (var i of C(e))
10
- T.call(e, i) && c(n, i, e[i]);
9
+ for (var t of C(e))
10
+ L.call(e, t) && v(n, t, e[t]);
11
11
  return n;
12
- }, v = (n, e) => w(n, P(e));
13
- var t = (n, e, i) => (c(n, typeof e != "symbol" ? e + "" : e, i), i);
14
- import * as h from "three";
15
- import { logWarning as V, logError as L } from "../../shared-utils/log.js";
12
+ }, p = (n, e) => w(n, P(e));
13
+ var i = (n, e, t) => (v(n, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import * as l from "three";
15
+ import { logWarning as T, logError as V } from "../../shared-utils/log.js";
16
16
  import { createLineGeometry as U } from "../utils/createLineGeometry.js";
17
17
  import { isPanoramaLike as x, isModelLike as _ } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
@@ -20,7 +20,7 @@ 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 G, tweenProgress as M } from "../../shared-utils/animationFrame/BetterTween.js";
23
+ import { BetterTween as M, tweenProgress as G } from "../../shared-utils/animationFrame/BetterTween.js";
24
24
  import { loadTexture as E } from "../../shared-utils/three/loadTexture.js";
25
25
  import y from "../../PanoTagPlugin/controller/index.js";
26
26
  import O from "../Components/Tag.js";
@@ -121,89 +121,94 @@ const B = (
121
121
  `
122
122
  );
123
123
  class R {
124
- constructor(e, i) {
125
- t(this, "startTagContainer");
126
- t(this, "endTagContainer");
127
- t(this, "mesh");
128
- t(this, "five");
129
- t(this, "mode");
130
- t(this, "path", []);
131
- t(this, "_curvePath", null);
132
- t(this, "_curvePoints", null);
133
- t(this, "_panoGroup", []);
134
- t(this, "skippedPositions", null);
135
- t(this, "textureUrl", "");
136
- t(this, "scale", 1);
137
- t(this, "width", 0.5);
138
- t(this, "unitLength", 0.5);
139
- t(this, "_visibleFloorIndexes", null);
140
- t(this, "visible", null);
124
+ constructor(e, t) {
125
+ i(this, "name", "");
126
+ i(this, "startTagContainer");
127
+ i(this, "endTagContainer");
128
+ i(this, "mesh");
129
+ i(this, "five");
130
+ i(this, "mode");
131
+ i(this, "path", []);
132
+ i(this, "_curvePath", null);
133
+ i(this, "_curvePoints", null);
134
+ i(this, "_panoGroup", []);
135
+ i(this, "skippedPositions", null);
136
+ i(this, "textureUrl", "");
137
+ i(this, "scale", 1);
138
+ i(this, "width", 0.5);
139
+ i(this, "unitLength", 0.5);
140
+ i(this, "_visibleFloorIndexes", null);
141
+ i(this, "visible", null);
141
142
  /** Five Mode 是否满足 */
142
- t(this, "modeVisible", !1);
143
+ i(this, "modeVisible", !1);
143
144
  /** 楼层是否满足展示条件 */
144
- t(this, "floorVisible", !0);
145
+ i(this, "floorVisible", !0);
145
146
  /** 默认是否展示 */
146
- t(this, "defaultVisible", !1);
147
+ i(this, "defaultVisible", !1);
147
148
  /** 走点动画 */
148
- t(this, "inWalkAnimation", !1);
149
- t(this, "customVisible", null);
150
- t(this, "parent");
151
- t(this, "plugin");
152
- t(this, "textureHasLoaded", !1);
153
- t(this, "disposed", !1);
154
- t(this, "flowAnime", new G({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
155
- t(this, "flickerAnime", M(300).yoyo(!0).repeat(5));
149
+ i(this, "inWalkAnimation", !1);
150
+ i(this, "customVisible", null);
151
+ i(this, "parent");
152
+ i(this, "plugin");
153
+ i(this, "textureHasLoaded", !1);
154
+ i(this, "disposed", !1);
155
+ i(this, "flowAnime", new M({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
156
+ i(this, "flickerAnime", G(300).yoyo(!0).repeat(5));
156
157
  /** 缓存 panoGroup 中每个点距离起点的长度 */
157
- t(this, "cacheLengths", []);
158
- t(this, "dispose", () => {
159
- var e, i;
160
- this.disposed || (this.disposed = !0, 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.five.off("modeChange", this.onFiveModeChange), this.five.off("modelShownFloorChange", this.onFiveModelShownFloorChange), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (i = this.endTagContainer) == null || i.plugin.dispose());
158
+ i(this, "cacheLengths", []);
159
+ i(this, "dispose", () => {
160
+ var e, t;
161
+ this.disposed || (this.disposed = !0, 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.five.off("modeChange", this.onFiveModeChange), this.five.off("modelShownFloorChange", this.onFiveModelShownFloorChange), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (t = this.endTagContainer) == null || t.plugin.dispose());
161
162
  });
162
163
  /** 开始走点动画 */
163
- t(this, "onWalkAnimationStart", () => {
164
+ i(this, "onWalkAnimationStart", () => {
164
165
  this.inWalkAnimation = !0, this.updateVisible();
165
166
  });
166
167
  /** 结束走点动画 */
167
- t(this, "onWalkAnimationEnd", () => {
168
+ i(this, "onWalkAnimationEnd", () => {
168
169
  this.inWalkAnimation = !1, this.updateVisible();
169
170
  });
170
171
  /** 模型状态变更 */
171
- t(this, "onFiveModeChange", (e) => {
172
+ i(this, "onFiveModeChange", (e) => {
172
173
  this.modeVisible = this.mode === "panorama" ? x(e) : _(e), this.updateVisible();
173
174
  });
174
- t(this, "onFiveModelShownFloorChange", (e) => {
175
+ i(this, "onFiveModelShownFloorChange", (e) => {
175
176
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
176
177
  });
177
178
  /** 更新可见性 */
178
- t(this, "updateVisible", () => {
179
+ i(this, "updateVisible", () => {
179
180
  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 && this.floorVisible)();
180
181
  this.visible !== e && (this.visible = e, e ? this.doShow() : this.doHide());
181
182
  });
182
- t(this, "onFlowAnimeUpdate", (e) => {
183
- const { progress: i } = e;
184
- this.mesh.material.uniforms.vOffset.value = i, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
183
+ i(this, "onFlowAnimeUpdate", (e) => {
184
+ const { progress: t } = e;
185
+ this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
185
186
  });
186
- t(this, "onFlickerAnimeUpdate", (e) => {
187
+ i(this, "onFlickerAnimeUpdate", (e) => {
187
188
  var a, r;
188
- const { progress: i } = e, s = 1 - i;
189
- this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && b(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(v(f({}, this.startTagContainer.tag.data), { opacity: s }))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((r = this.endTagContainer.app) == null || r.$set(v(f({}, this.endTagContainer.tag.data), { opacity: s })));
189
+ const { progress: t } = e, s = 1 - t;
190
+ this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && b(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(m({}, this.startTagContainer.tag.data), {
191
+ opacity: s,
192
+ name: this.name,
193
+ distance: Math.floor(this.curvePath.getLength())
194
+ }))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((r = this.endTagContainer.app) == null || r.$set(p(m({}, this.endTagContainer.tag.data), { opacity: s })));
190
195
  });
191
- t(this, "logWarning", (e) => V("GuideLineModeItem: ", e));
192
- t(this, "logError", (e) => L("GuideLineModeItem: ", e));
196
+ i(this, "logWarning", (e) => T("GuideLineModeItem: ", e));
197
+ i(this, "logError", (e) => V("GuideLineModeItem: ", e));
193
198
  var r, o;
194
- this.five = e, this.mode = i.mode, this.plugin = i.plugin, this.parent = i.parent, this.startTagContainer = { tag: null, plugin: new y(this.five) }, this.endTagContainer = { tag: null, plugin: new y(this.five) };
195
- const s = new h.BufferGeometry(), a = new h.ShaderMaterial({
199
+ this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new y(this.five) }, this.endTagContainer = { tag: null, plugin: new y(this.five) };
200
+ const s = new l.BufferGeometry(), a = new l.ShaderMaterial({
196
201
  vertexShader: B,
197
202
  fragmentShader: I,
198
203
  transparent: !0,
199
204
  uniforms: {
200
205
  map: { value: null },
201
206
  useMapColor: { value: 0 },
202
- mapColor: { value: new h.Color() },
207
+ mapColor: { value: new l.Color() },
203
208
  mapOpacity: { value: 1 },
204
- backgroundColor: { value: new h.Color() },
209
+ backgroundColor: { value: new l.Color() },
205
210
  backgroundOpacity: { value: 0 },
206
- borderColor: { value: new h.Color() },
211
+ borderColor: { value: new l.Color() },
207
212
  borderOpacity: { value: 0 },
208
213
  opacity: { value: 1 },
209
214
  flicker: { value: 1 },
@@ -211,7 +216,7 @@ class R {
211
216
  vOffset: { value: 0 }
212
217
  }
213
218
  });
214
- this.mesh = new h.Mesh(s, a), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (r = this.five.model) == null ? void 0 : r.shownFloor) != null ? o : null), 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.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
219
+ this.mesh = new l.Mesh(s, a), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (r = this.five.model) == null ? void 0 : r.shownFloor) != null ? o : null), 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.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
215
220
  }
216
221
  get panoGroup() {
217
222
  return this._panoGroup;
@@ -241,10 +246,10 @@ class R {
241
246
  this.defaultVisible !== e && (this.defaultVisible = e, this.updateVisible());
242
247
  }
243
248
  /** 基础宽、长 */
244
- setUnitSize(e, i) {
249
+ setUnitSize(e, t) {
245
250
  if (this.disposed)
246
251
  return this.logError("disposed");
247
- this.width = e, this.unitLength = i, this.setGeometryByPath(this.path, { width: e, unit_length: i });
252
+ this.width = e, this.unitLength = t, this.setGeometryByPath(this.path, { width: e, unit_length: t });
248
253
  }
249
254
  /** 设置缩放 */
250
255
  setScale(e) {
@@ -253,52 +258,52 @@ class R {
253
258
  this.scale = e, this.setGeometryByPath(this.path, { scale: e });
254
259
  }
255
260
  /** 通过点位设置线条形状 */
256
- setGeometryByPanoGroup(e, i) {
261
+ setGeometryByPanoGroup(e, t) {
257
262
  if (this.disposed)
258
263
  return this.logError("disposed");
259
264
  if (!this.five.work)
260
265
  return this.logError("setPathByPanoGroup: work is not ready");
261
266
  const s = S(e);
262
- if (this._panoGroup = s, (i == null ? void 0 : i.skipPanoGroup) !== void 0) {
263
- const r = i.skipPanoGroup ? s.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
267
+ if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
268
+ const r = t.skipPanoGroup ? s.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
264
269
  this.skippedPositions = r;
265
270
  }
266
- const a = this.getPathFromPanoGroup(s, this.five.work, i);
267
- this.path = a, this.setGeometryByPath(a, i);
271
+ const a = this.getPathFromPanoGroup(s, this.five.work, t);
272
+ this.path = a, this.setGeometryByPath(a, t);
268
273
  }
269
274
  /** 通过路径设置线条形状 */
270
- setGeometryByPath(e, i) {
271
- var m, g, p;
275
+ setGeometryByPath(e, t) {
276
+ var f, g, c;
272
277
  if (this.disposed)
273
278
  return this.logError("disposed");
274
- const s = (m = i == null ? void 0 : i.scale) != null ? m : this.scale, a = (g = i == null ? void 0 : i.width) != null ? g : this.width, r = (p = i == null ? void 0 : i.unit_length) != null ? p : this.unitLength;
279
+ const s = (f = t == null ? void 0 : t.scale) != null ? f : this.scale, a = (g = t == null ? void 0 : t.width) != null ? g : this.width, r = (c = t == null ? void 0 : t.unit_length) != null ? c : this.unitLength;
275
280
  this.path = e, this.scale = s, this.width = a, this.unitLength = r;
276
- const { geometry: o, maxU: d, curvePath: u, curvePoints: l } = U({
281
+ const { geometry: o, maxU: u, curvePath: d, curvePoints: h } = U({
277
282
  path: e,
278
283
  width: a * s,
279
284
  unitLength: r * s,
280
285
  skipPositions: this.skippedPositions
281
286
  });
282
- this._curvePath = u, this._curvePoints = l, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = d, this.five.needsRender = !0;
287
+ this._curvePath = d, this._curvePoints = h, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = u, this.five.needsRender = !0;
283
288
  }
284
289
  /** 设置线条材质 */
285
290
  setMartial(e) {
286
- var i;
291
+ var t;
287
292
  if (this.disposed)
288
293
  return this.logError("disposed");
289
- (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((i = e == null ? void 0 : e.texture) == null ? void 0 : i.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
294
+ (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((t = e == null ? void 0 : e.texture) == null ? void 0 : t.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
290
295
  }
291
296
  /** 设置贴图颜色 */
292
297
  setColor(e) {
293
298
  if (this.disposed)
294
299
  return this.logError("disposed");
295
- 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;
300
+ 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;
296
301
  }
297
302
  /** 设置边框 */
298
303
  setBorderColor(e) {
299
304
  if (this.disposed)
300
305
  return this.logError("disposed");
301
- this.mesh.material.uniforms.borderColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
306
+ this.mesh.material.uniforms.borderColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
302
307
  }
303
308
  /** 设置边框透明度 */
304
309
  setBorderOpacity(e) {
@@ -310,7 +315,7 @@ class R {
310
315
  setBackgroundColor(e) {
311
316
  if (this.disposed)
312
317
  return this.logError("disposed");
313
- this.mesh.material.uniforms.backgroundColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
318
+ this.mesh.material.uniforms.backgroundColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
314
319
  }
315
320
  /** 设置背景透明度 */
316
321
  setBackgroundOpacity(e) {
@@ -334,15 +339,15 @@ class R {
334
339
  setTextureUrl(e) {
335
340
  if (this.disposed)
336
341
  return this.logError("disposed");
337
- this.textureUrl = e, E(e).then((i) => {
338
- 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());
342
+ this.textureUrl = e, E(e).then((t) => {
343
+ this.disposed || this.textureUrl === e && (t.wrapT = l.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
339
344
  });
340
345
  }
341
346
  setVisibleFloorIndexes(e) {
342
- var i, s;
347
+ var t, s;
343
348
  if (this.disposed)
344
349
  return this.logError("disposed");
345
- this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((s = (i = this.five.model) == null ? void 0 : i.shownFloor) != null ? s : null);
350
+ this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((s = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? s : null);
346
351
  }
347
352
  setStartTag(e) {
348
353
  this.setTag("start", e);
@@ -366,30 +371,30 @@ class R {
366
371
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
367
372
  }
368
373
  getPanoGroupLengths() {
369
- const e = this.panoGroup.map((l) => this.five.work.observers[l]), i = this.curvePoints.length, s = this.curvePath.getLength(), a = i - 1, r = s / a, o = this.curvePath.getLengths(a), d = [];
370
- let u = 0;
371
- for (let l = 0; l < i; l++) {
372
- const m = this.curvePoints[l], g = e[u];
374
+ const e = this.panoGroup.map((h) => this.five.work.observers[h]), t = this.curvePoints.length, s = this.curvePath.getLength(), a = t - 1, r = s / a, o = this.curvePath.getLengths(a), u = [];
375
+ let d = 0;
376
+ for (let h = 0; h < t; h++) {
377
+ const f = this.curvePoints[h], g = e[d];
373
378
  if (!g)
374
379
  break;
375
- g.standingPosition.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (d.push(o[l]), u += 1);
380
+ g.standingPosition.clone().setY(0).distanceTo(f.clone().setY(0)) < r && (u.push(o[h]), d += 1);
376
381
  }
377
- return d;
382
+ return u;
378
383
  }
379
- setTag(e, i) {
384
+ setTag(e, t) {
380
385
  const s = e === "start" ? this.startTagContainer : this.endTagContainer;
381
- i || s.plugin.clearTags();
386
+ t || s.plugin.clearTags();
382
387
  const r = A({}, {
383
388
  contentType: "Custom",
384
389
  stickType: "2DPoint",
385
390
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
386
391
  style: { point: { enabled: !1 } },
387
392
  data: {}
388
- }, i);
393
+ }, t);
389
394
  s.tag = r, b(r) && (s.tag.element = (o) => {
390
- var u;
391
- (u = s.app) == null || u.$destroy();
392
- const d = new O({ target: o, intro: !0, props: r.data });
395
+ var h;
396
+ (h = s.app) == null || h.$destroy();
397
+ const u = e === "start" ? p(m({}, r.data), { name: this.name, distance: Math.floor(this.curvePath.getLength()), i18n: this.plugin.config.i18n }) : r.data, d = new O({ target: o, intro: !0, props: u });
393
398
  return s.app = d, () => d.$destroy();
394
399
  }), s.plugin.load({ tagList: [s.tag] });
395
400
  }
@@ -400,21 +405,21 @@ class R {
400
405
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.mesh), this.startTagContainer.plugin.hide(), this.endTagContainer.plugin.hide(), this.five.needsRender = !0;
401
406
  }
402
407
  /** 通过 panoIndex 数组计算路径 */
403
- getPathFromPanoGroup(e, i, s) {
408
+ getPathFromPanoGroup(e, t, s) {
404
409
  if (e.length < 2)
405
410
  return [];
406
- const r = e.map((o) => i.observers[o]).map((o) => o.standingPosition.toArray());
407
- return [f({ type: "CatmullRomCurve3", points: r }, s)];
411
+ const r = e.map((o) => t.observers[o]).map((o) => o.standingPosition.toArray());
412
+ return [m({ type: "CatmullRomCurve3", points: r }, s)];
408
413
  }
409
414
  }
410
415
  function b(n) {
411
416
  return n.contentType === "Custom";
412
417
  }
413
- const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
418
+ const te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
414
419
  __proto__: null,
415
420
  GuideLineModeItem: R
416
421
  }, Symbol.toStringTag, { value: "Module" }));
417
422
  export {
418
423
  R as GuideLineModeItem,
419
- ie as GuideLineModeItem$1
424
+ te as GuideLineModeItem$1
420
425
  };
@@ -22,6 +22,7 @@ declare class GuideLineModeItem {
22
22
  get curvePath(): THREE.CurvePath<THREE.Vector3>;
23
23
  /** THREE Curve 路径上的点 */
24
24
  get curvePoints(): THREE.Vector3[];
25
+ name: string;
25
26
  startTagContainer: GuideLineTagContainer;
26
27
  endTagContainer: GuideLineTagContainer;
27
28
  readonly mesh: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.20.4");
17
+ e(this, "VERSION", "2.20.5");
18
18
  e(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.info(
3
- "%c %c@realsee/dnalogel %cv2.20.4",
3
+ "%c %c@realsee/dnalogel %cv2.20.5",
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.20.4",
10
+ "version": "2.20.5",
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*",