@realsee/dnalogel 2.21.0-dev.2 → 2.21.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 (330) hide show
  1. package/dist/GuideLinePlugin/Controller.d.ts +5 -3
  2. package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
  4. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
  5. package/dist/index.cjs.js +57 -57
  6. package/dist/index.js +5117 -4939
  7. package/dist/index.umd.js +50 -50
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +86 -31
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +24 -24
  18. package/docs/classes/PanoMeasurePluginModel.html +25 -25
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +46 -46
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +17 -17
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/GuideLinePlugin.html +4 -4
  43. package/docs/functions/ItemLabelPlugin.html +3 -3
  44. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  47. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  49. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  50. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  51. package/docs/functions/ModelViewPlugin.html +3 -3
  52. package/docs/functions/Object3DHelperPlugin.html +3 -3
  53. package/docs/functions/PanoCompassPlugin.html +3 -3
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  55. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  57. package/docs/functions/PanoMeasurePlugin.html +3 -3
  58. package/docs/functions/PanoRulerPlugin.html +3 -3
  59. package/docs/functions/PanoRulerProPlugin.html +3 -3
  60. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  61. package/docs/functions/PanoTagPlugin.html +3 -3
  62. package/docs/functions/PanoVideoPlugin.html +3 -3
  63. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  64. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  65. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  66. package/docs/functions/Util.getFrameTime.html +4 -4
  67. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  68. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  69. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  70. package/docs/functions/Util.isModelLike.html +4 -4
  71. package/docs/functions/Util.isNil.html +4 -4
  72. package/docs/functions/Util.isPanoramaLike.html +4 -4
  73. package/docs/functions/Util.nextFrame.html +4 -4
  74. package/docs/functions/Util.notNil.html +4 -4
  75. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  76. package/docs/functions/Util.tweenProgress.html +4 -4
  77. package/docs/functions/Util.uuid.html +4 -4
  78. package/docs/functions/pluginFlag.html +4 -4
  79. package/docs/index.html +4 -4
  80. package/docs/interfaces/AddTagConfig.html +5 -5
  81. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  82. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  83. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  84. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  85. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  86. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  87. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  88. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  91. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  92. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  93. package/docs/interfaces/EventMap.html +14 -14
  94. package/docs/interfaces/FloorplanBounding.html +7 -7
  95. package/docs/interfaces/FloorplanData.html +9 -9
  96. package/docs/interfaces/FloorplanEntrance.html +10 -10
  97. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  98. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  99. package/docs/interfaces/FloorplanFloorData.html +8 -8
  100. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  101. package/docs/interfaces/FloorplanObserver.html +8 -8
  102. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  103. package/docs/interfaces/FloorplanPosition.html +6 -6
  104. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  105. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  106. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  107. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  108. package/docs/interfaces/FloorplanServerData.html +6 -6
  109. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  110. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  111. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  112. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  113. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  114. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  115. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  116. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  117. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  118. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  119. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  120. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  121. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  122. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  124. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  125. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  128. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  129. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  130. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  131. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  132. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  133. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  134. package/docs/interfaces/HelperOffset.html +7 -7
  135. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  138. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  139. package/docs/interfaces/MinMax.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  142. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  143. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  144. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  145. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  146. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  147. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  148. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  149. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  150. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  151. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  152. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  153. package/docs/interfaces/Object3DHelperState.html +7 -7
  154. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  155. package/docs/interfaces/PaintBrushAction.html +11 -11
  156. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  157. package/docs/interfaces/PaintBrushState.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  160. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  161. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  162. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  165. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  166. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  167. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  168. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  169. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  172. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  175. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  176. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  177. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  178. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  179. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  180. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  181. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  183. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  184. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  185. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  186. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  187. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  188. package/docs/interfaces/Point.html +7 -7
  189. package/docs/interfaces/Room.html +8 -8
  190. package/docs/interfaces/RoomInfo.html +6 -6
  191. package/docs/interfaces/RoomLabel.html +13 -13
  192. package/docs/interfaces/RoomRules.html +4 -4
  193. package/docs/interfaces/Rooms.html +4 -4
  194. package/docs/interfaces/Scissor.html +8 -8
  195. package/docs/interfaces/State.html +7 -7
  196. package/docs/interfaces/TagCacheInterface.html +11 -11
  197. package/docs/interfaces/TagConfig.html +12 -12
  198. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  199. package/docs/interfaces/TagIconUrl.html +11 -11
  200. package/docs/interfaces/TagObjectGroup.html +5 -5
  201. package/docs/interfaces/TagStyle.html +5 -5
  202. package/docs/interfaces/Tags.html +8 -8
  203. package/docs/interfaces/TemporaryState.html +5 -5
  204. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  205. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  206. package/docs/interfaces/Util.PointIntersection.html +7 -7
  207. package/docs/modules/CruisePluginTypes.html +4 -4
  208. package/docs/modules/GuideLineItem.html +4 -4
  209. package/docs/modules/GuideLineModeItem.html +4 -4
  210. package/docs/modules/GuideLinePluginType.html +4 -4
  211. package/docs/modules/PanoVideoPluginType.html +4 -4
  212. package/docs/modules/Util.html +4 -4
  213. package/docs/modules.html +4 -4
  214. package/docs/types/ArrayPosition.html +4 -4
  215. package/docs/types/AudioAppearance.html +4 -4
  216. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  217. package/docs/types/CSS3DRenderExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  220. package/docs/types/ClassFunctionParameters.html +4 -4
  221. package/docs/types/Color.html +4 -4
  222. package/docs/types/ContentTypeConfigKey.html +4 -4
  223. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  224. package/docs/types/ContentTypeMap.html +4 -4
  225. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  226. package/docs/types/Create3DElementReturnType.html +4 -4
  227. package/docs/types/CruisePluginExportType.html +4 -4
  228. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  229. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  230. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  231. package/docs/types/DeprecatedTagProperty.html +4 -4
  232. package/docs/types/Direction-1.html +4 -4
  233. package/docs/types/Direction4.html +4 -4
  234. package/docs/types/ElementRenderer.html +4 -4
  235. package/docs/types/FloorplanRuleLabels.html +4 -4
  236. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  237. package/docs/types/GuideLinePluginExportType.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  242. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  243. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  244. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  245. package/docs/types/HelperEventMap.html +4 -4
  246. package/docs/types/LoadTagConfig.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  249. package/docs/types/MediaData.html +4 -4
  250. package/docs/types/MediaStore.html +4 -4
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  256. package/docs/types/MoveArgs.html +4 -4
  257. package/docs/types/MoveOpts.html +4 -4
  258. package/docs/types/Object3DHelperEventMap.html +4 -4
  259. package/docs/types/ObjectFit.html +4 -4
  260. package/docs/types/PaintBrushEventMap.html +4 -4
  261. package/docs/types/PanoCompassPluginData.html +4 -4
  262. package/docs/types/PanoCompassPluginExportType.html +4 -4
  263. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  266. package/docs/types/PanoIndex.html +4 -4
  267. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  268. package/docs/types/PanoMeasureReturnType.html +4 -4
  269. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  270. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  271. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  272. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  273. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  274. package/docs/types/PartialObjectDeep.html +4 -4
  275. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  276. package/docs/types/PlaneTag.html +4 -4
  277. package/docs/types/Point2DTag.html +4 -4
  278. package/docs/types/Point3DTag.html +4 -4
  279. package/docs/types/PointTag.html +4 -4
  280. package/docs/types/PointTagInstance.html +4 -4
  281. package/docs/types/Position.html +4 -4
  282. package/docs/types/RotateArgs.html +4 -4
  283. package/docs/types/RotateOpts.html +4 -4
  284. package/docs/types/RuleLabelsKey.html +4 -4
  285. package/docs/types/RuleLabelsValue.html +4 -4
  286. package/docs/types/StickType.html +4 -4
  287. package/docs/types/Tag.html +4 -4
  288. package/docs/types/Tag2D.html +4 -4
  289. package/docs/types/Tag3D.html +4 -4
  290. package/docs/types/TagContentType.html +4 -4
  291. package/docs/types/TagDimensionType.html +4 -4
  292. package/docs/types/TagElement.html +4 -4
  293. package/docs/types/TagEvents.html +4 -4
  294. package/docs/types/TagGLTFObject.html +4 -4
  295. package/docs/types/TagHooks.html +4 -4
  296. package/docs/types/TagId.html +4 -4
  297. package/docs/types/TagInstance.html +4 -4
  298. package/docs/types/TagPointType.html +4 -4
  299. package/docs/types/TagRendererMap.html +4 -4
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  302. package/docs/types/WorkCode.html +4 -4
  303. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  304. package/docs/variables/PLUGIN.html +4 -4
  305. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  306. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  307. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  308. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  310. package/libs/GuideLinePlugin/Components/Tag.js +137 -44
  311. package/libs/GuideLinePlugin/Controller.d.ts +5 -3
  312. package/libs/GuideLinePlugin/Controller.js +48 -44
  313. package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
  314. package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  315. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +150 -113
  316. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
  317. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
  318. package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
  319. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
  320. package/libs/PanoMeasurePlugin/Components/Controller1.js +157 -117
  321. package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -2
  322. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -3
  323. package/libs/PanoMeasurePlugin/utils/dom/base.js +1 -1
  324. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  325. package/libs/base/BasePlugin.js +1 -1
  326. package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
  327. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
  328. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +30 -28
  329. package/libs/shared-utils/logger.js +1 -1
  330. package/package.json +1 -1
@@ -1,82 +1,175 @@
1
- import { SvelteComponent as q, init as x, safe_not_equal as y, append_styles as N, element as m, space as A, attr as f, set_style as d, insert as h, append as u, noop as b, detach as T, text as z, set_data as E } from "../../vendor/svelte/internal/index.js";
2
- function I(i) {
3
- N(i, "svelte-m8w0ju", ".guide-line__tag.svelte-m8w0ju{position:relative}.guide-line__tag-point.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-m8w0ju{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-m8w0ju{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-m8w0ju{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
1
+ import { SvelteComponent as G, init as X, safe_not_equal as x, append_styles as P, element as m, space as h, attr as c, set_style as q, insert as z, append as r, noop as E, detach as N, text as j, set_data as T } from "../../vendor/svelte/internal/index.js";
2
+ function w(i) {
3
+ P(i, "svelte-1jku181", ".guide-line__tag.svelte-1jku181.svelte-1jku181{position:relative}.text-with-distance.svelte-1jku181.svelte-1jku181{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-1jku181 .border.svelte-1jku181{position:absolute;top:0;right:0;bottom:0;left:0;padding:0.0625rem;border-radius:0.125rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor}.distance-and-name.svelte-1jku181.svelte-1jku181{display:flex;gap:0.1875rem}.distance.svelte-1jku181.svelte-1jku181{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-1jku181.svelte-1jku181{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-1jku181.svelte-1jku181{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-1jku181.svelte-1jku181{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-1jku181.svelte-1jku181{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-1jku181.svelte-1jku181{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-1jku181.svelte-1jku181{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-1jku181.svelte-1jku181{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
4
4
  }
5
- function p(i) {
6
- let e, l;
5
+ function I(i) {
6
+ let e, a;
7
7
  return {
8
8
  c() {
9
- e = m("div"), l = z(
9
+ e = m("div"), a = j(
10
10
  /*text*/
11
11
  i[0]
12
- ), f(e, "class", "guide-line__tag-text svelte-m8w0ju"), d(e, "border-image-source", `url(${/*text_background_url*/
13
- i[3]})`);
12
+ ), c(e, "class", "guide-line__tag-text svelte-1jku181"), q(e, "border-image-source", `url(${/*text_background_url*/
13
+ i[6]})`);
14
14
  },
15
- m(a, n) {
16
- h(a, e, n), u(e, l);
15
+ m(l, n) {
16
+ z(l, e, n), r(e, a);
17
17
  },
18
- p(a, n) {
18
+ p(l, n) {
19
19
  n & /*text*/
20
- 1 && E(
21
- l,
20
+ 1 && T(
21
+ a,
22
+ /*text*/
23
+ l[0]
24
+ );
25
+ },
26
+ d(l) {
27
+ l && N(e);
28
+ }
29
+ };
30
+ }
31
+ function _(i) {
32
+ let e, a, l, n, v = (
33
+ /*i18n*/
34
+ i[5]("全程") + ""
35
+ ), o, d, k = (
36
+ /*i18n*/
37
+ i[5]("米") + ""
38
+ ), b, t, s, u, p, y, f = (
39
+ /*name*/
40
+ i[4] && D(i)
41
+ );
42
+ return {
43
+ c() {
44
+ e = m("div"), f && f.c(), a = h(), l = m("div"), n = m("span"), o = j(v), d = j(
45
+ /*distance*/
46
+ i[2]
47
+ ), b = j(k), t = h(), s = m("span"), u = j(
48
+ /*text*/
49
+ i[0]
50
+ ), p = h(), y = m("div"), c(n, "class", "distance svelte-1jku181"), c(s, "class", "name svelte-1jku181"), c(l, "class", "distance-and-name svelte-1jku181"), c(y, "class", "border svelte-1jku181"), c(e, "class", "text-with-distance svelte-1jku181");
51
+ },
52
+ m(g, A) {
53
+ z(g, e, A), f && f.m(e, null), r(e, a), r(e, l), r(l, n), r(n, o), r(n, d), r(n, b), r(l, t), r(l, s), r(s, u), r(e, p), r(e, y);
54
+ },
55
+ p(g, A) {
56
+ /*name*/
57
+ g[4] ? f ? f.p(g, A) : (f = D(g), f.c(), f.m(e, a)) : f && (f.d(1), f = null), A & /*i18n*/
58
+ 32 && v !== (v = /*i18n*/
59
+ g[5]("全程") + "") && T(o, v), A & /*distance*/
60
+ 4 && T(
61
+ d,
62
+ /*distance*/
63
+ g[2]
64
+ ), A & /*i18n*/
65
+ 32 && k !== (k = /*i18n*/
66
+ g[5]("米") + "") && T(b, k), A & /*text*/
67
+ 1 && T(
68
+ u,
22
69
  /*text*/
23
- a[0]
70
+ g[0]
24
71
  );
25
72
  },
26
- d(a) {
27
- a && T(e);
73
+ d(g) {
74
+ g && N(e), f && f.d();
28
75
  }
29
76
  };
30
77
  }
31
- function j(i) {
32
- let e, l, a, n, g, s, r, v, t = (
78
+ function D(i) {
79
+ let e, a;
80
+ return {
81
+ c() {
82
+ e = m("span"), a = j(
83
+ /*name*/
84
+ i[4]
85
+ ), c(e, "class", "line-name svelte-1jku181");
86
+ },
87
+ m(l, n) {
88
+ z(l, e, n), r(e, a);
89
+ },
90
+ p(l, n) {
91
+ n & /*name*/
92
+ 16 && T(
93
+ a,
94
+ /*name*/
95
+ l[4]
96
+ );
97
+ },
98
+ d(l) {
99
+ l && N(e);
100
+ }
101
+ };
102
+ }
103
+ function Z(i) {
104
+ let e, a, l, n, v, o, d, k, b, t = (
33
105
  /*text*/
34
- i[0] && p(i)
106
+ i[0] && !/*distance*/
107
+ i[2] && I(i)
108
+ ), s = (
109
+ /*distance*/
110
+ i[2] && _(i)
35
111
  );
36
112
  return {
37
113
  c() {
38
- e = m("div"), l = m("div"), a = A(), n = m("div"), g = A(), s = m("div"), r = m("div"), v = A(), t && t.c(), f(l, "class", "guide-line__tag-point svelte-m8w0ju"), f(n, "class", "guide-line__tag-line svelte-m8w0ju"), f(r, "class", "guide-line__tag-icon svelte-m8w0ju"), d(r, "background-image", `url(${/*icon_url*/
39
- i[1]})`), f(s, "class", "guide-line__tag-content svelte-m8w0ju"), f(e, "class", "guide-line__tag svelte-m8w0ju"), d(
114
+ e = m("div"), a = m("div"), l = h(), n = m("div"), v = h(), o = m("div"), d = m("div"), k = h(), t && t.c(), b = h(), s && s.c(), c(a, "class", "guide-line__tag-point svelte-1jku181"), c(n, "class", "guide-line__tag-line svelte-1jku181"), c(d, "class", "guide-line__tag-icon svelte-1jku181"), q(d, "background-image", `url(${/*icon_url*/
115
+ i[1]})`), c(o, "class", "guide-line__tag-content svelte-1jku181"), c(e, "class", "guide-line__tag svelte-1jku181"), q(
40
116
  e,
41
117
  "opacity",
42
118
  /*opacity*/
43
- i[2]
119
+ i[3]
44
120
  );
45
121
  },
46
- m(o, c) {
47
- h(o, e, c), u(e, l), u(e, a), u(e, n), u(e, g), u(e, s), u(s, r), u(s, v), t && t.m(s, null);
122
+ m(u, p) {
123
+ z(u, e, p), r(e, a), r(e, l), r(e, n), r(e, v), r(e, o), r(o, d), r(o, k), t && t.m(o, null), r(o, b), s && s.m(o, null);
48
124
  },
49
- p(o, [c]) {
50
- c & /*icon_url*/
51
- 2 && d(r, "background-image", `url(${/*icon_url*/
52
- o[1]})`), /*text*/
53
- o[0] ? t ? t.p(o, c) : (t = p(o), t.c(), t.m(s, null)) : t && (t.d(1), t = null), c & /*opacity*/
54
- 4 && d(
125
+ p(u, [p]) {
126
+ p & /*icon_url*/
127
+ 2 && q(d, "background-image", `url(${/*icon_url*/
128
+ u[1]})`), /*text*/
129
+ u[0] && !/*distance*/
130
+ u[2] ? t ? t.p(u, p) : (t = I(u), t.c(), t.m(o, b)) : t && (t.d(1), t = null), /*distance*/
131
+ u[2] ? s ? s.p(u, p) : (s = _(u), s.c(), s.m(o, null)) : s && (s.d(1), s = null), p & /*opacity*/
132
+ 8 && q(
55
133
  e,
56
134
  "opacity",
57
135
  /*opacity*/
58
- o[2]
136
+ u[3]
59
137
  );
60
138
  },
61
- i: b,
62
- o: b,
63
- d(o) {
64
- o && T(e), t && t.d();
139
+ i: E,
140
+ o: E,
141
+ d(u) {
142
+ u && N(e), t && t.d(), s && s.d();
65
143
  }
66
144
  };
67
145
  }
68
- function k(i, e, l) {
69
- let { text: a = "" } = e, { icon_url: n = "" } = e, { opacity: g = 1 } = e;
70
- const s = "data:image/png;base64,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";
71
- return i.$$set = (r) => {
72
- "text" in r && l(0, a = r.text), "icon_url" in r && l(1, n = r.icon_url), "opacity" in r && l(2, g = r.opacity);
73
- }, [a, n, g, s];
146
+ function K(i, e, a) {
147
+ let { text: l = "" } = e, { icon_url: n = "" } = e, { distance: v = 0 } = e, { opacity: o = 1 } = e, { name: d = "" } = e, { i18n: k = (t) => t } = e;
148
+ const b = "data:image/png;base64,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";
149
+ return i.$$set = (t) => {
150
+ "text" in t && a(0, l = t.text), "icon_url" in t && a(1, n = t.icon_url), "distance" in t && a(2, v = t.distance), "opacity" in t && a(3, o = t.opacity), "name" in t && a(4, d = t.name), "i18n" in t && a(5, k = t.i18n);
151
+ }, [l, n, v, o, d, k, b];
74
152
  }
75
- class G extends q {
153
+ class F extends G {
76
154
  constructor(e) {
77
- super(), x(this, e, k, j, y, { text: 0, icon_url: 1, opacity: 2 }, I);
155
+ super(), X(
156
+ this,
157
+ e,
158
+ K,
159
+ Z,
160
+ x,
161
+ {
162
+ text: 0,
163
+ icon_url: 1,
164
+ distance: 2,
165
+ opacity: 3,
166
+ name: 4,
167
+ i18n: 5
168
+ },
169
+ w
170
+ );
78
171
  }
79
172
  }
80
173
  export {
81
- G as default
174
+ F as default
82
175
  };
@@ -12,14 +12,16 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
12
12
  readonly cruisePlugin: CruisePluginController;
13
13
  /** GuideLineItem 索引 */
14
14
  readonly itemMap: Map<string | number, GuideLineItem>;
15
- /** 当新增一根线时,整体高度的偏移值 */
16
- private heightOffset;
17
- get disposed(): boolean;
15
+ get config(): Config;
18
16
  state: {
19
17
  visible: boolean;
20
18
  enabled: boolean;
21
19
  };
22
20
  protected data?: PluginData;
21
+ /** 当新增一根线时,整体高度的偏移值 */
22
+ private heightOffset;
23
+ get disposed(): boolean;
24
+ private _config;
23
25
  private _disposed;
24
26
  constructor(five: Five, config?: Config);
25
27
  load(serverData: PluginServerData | PluginData, state?: PluginState, userAction?: boolean): Promise<void>;
@@ -1,37 +1,37 @@
1
- var V = Object.defineProperty;
2
- var S = Object.getOwnPropertySymbols;
3
- var M = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
4
- var f = (p, o, t) => o in p ? V(p, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[o] = t, c = (p, o) => {
1
+ var M = Object.defineProperty;
2
+ var G = Object.getOwnPropertySymbols;
3
+ var N = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
4
+ var f = (s, o, t) => o in s ? M(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, c = (s, o) => {
5
5
  for (var t in o || (o = {}))
6
- M.call(o, t) && f(p, t, o[t]);
7
- if (S)
8
- for (var t of S(o))
9
- N.call(o, t) && f(p, t, o[t]);
10
- return p;
6
+ N.call(o, t) && f(s, t, o[t]);
7
+ if (G)
8
+ for (var t of G(o))
9
+ O.call(o, t) && f(s, t, o[t]);
10
+ return s;
11
11
  };
12
- var d = (p, o, t) => (f(p, typeof o != "symbol" ? o + "" : o, t), t);
13
- var u = (p, o, t) => new Promise((i, s) => {
12
+ var d = (s, o, t) => (f(s, typeof o != "symbol" ? o + "" : o, t), t);
13
+ var u = (s, o, t) => new Promise((i, p) => {
14
14
  var a = (m) => {
15
15
  try {
16
16
  r(t.next(m));
17
17
  } catch (n) {
18
- s(n);
18
+ p(n);
19
19
  }
20
20
  }, e = (m) => {
21
21
  try {
22
22
  r(t.throw(m));
23
23
  } catch (n) {
24
- s(n);
24
+ p(n);
25
25
  }
26
26
  }, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(a, e);
27
- r((t = t.apply(p, o)).next());
27
+ r((t = t.apply(s, o)).next());
28
28
  });
29
- import { Controller as O } from "../base/BasePluginWithData.js";
30
- import { equal as P } from "../shared-utils/equal.js";
31
- import { GuideLineItem as $ } from "./GuideLineItem/index.js";
32
- import k from "../CruisePlugin/Controller.js";
33
- import { objectAssignDeepExports as T } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
- import * as _ from "three";
29
+ import { Controller as P } from "../base/BasePluginWithData.js";
30
+ import { equal as $ } from "../shared-utils/equal.js";
31
+ import { GuideLineItem as k } from "./GuideLineItem/index.js";
32
+ import x from "../CruisePlugin/Controller.js";
33
+ import { objectAssignDeepExports as S } from "../vendor/object-assign-deep/objectAssignDeep.js";
34
+ import * as T from "three";
35
35
  import "../base/BasePlugin.js";
36
36
  import "../shared-utils/Subscribe.js";
37
37
  import "hammerjs";
@@ -188,52 +188,56 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
188
188
  import "../CruisePlugin/utils/formatRad.js";
189
189
  import "../CruisePlugin/utils/linerValue.js";
190
190
  import "../CruisePlugin/utils/sleep.js";
191
- const A = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${A}`, xr = (p) => `${g}--${p}`;
192
- class Wr extends O {
191
+ const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Wr = (s) => `${g}--${s}`;
192
+ class Ur extends P {
193
193
  constructor(t, i) {
194
194
  super(t, i);
195
- d(this, "version", A);
195
+ d(this, "version", V);
196
196
  d(this, "name", b);
197
197
  d(this, "cruisePlugin");
198
198
  /** GuideLineItem 索引 */
199
199
  d(this, "itemMap", /* @__PURE__ */ new Map());
200
- /** 当新增一根线时,整体高度的偏移值 */
201
- d(this, "heightOffset", 0);
202
200
  d(this, "state", {
203
201
  visible: !1,
204
202
  enabled: !0
205
203
  });
206
204
  d(this, "data");
205
+ /** 当新增一根线时,整体高度的偏移值 */
206
+ d(this, "heightOffset", 0);
207
+ d(this, "_config");
207
208
  d(this, "_disposed", !1);
208
209
  d(this, "disposedErrorLog", () => {
209
210
  console.error(`${g} is disposed`);
210
211
  });
211
- this.cruisePlugin = new k(t, { useGuideLine: !1 }), Object.assign(window, { [`__${b}_DEBUG__`]: this });
212
+ this._config = i != null ? i : {}, this.cruisePlugin = new x(t, { useGuideLine: !1 }), Object.assign(window, { [`__${b}_DEBUG__`]: this });
213
+ }
214
+ get config() {
215
+ return this._config;
212
216
  }
213
217
  get disposed() {
214
218
  return this._disposed;
215
219
  }
216
- load(t, i, s = !0) {
220
+ load(t, i, p = !0) {
217
221
  return u(this, null, function* () {
218
222
  var v, w, E, I, y, L, D;
219
223
  if (this.disposed)
220
224
  return;
221
225
  const a = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, e = yield this.formatData(t);
222
226
  this.hooks.emit("dataChange", e, a), this.data = e;
223
- const r = e.config, m = {
227
+ const r = e.config, n = {
224
228
  panorama_style: {
225
- visible: !1,
229
+ visible: !!(!e.lines && e.routes),
226
230
  unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
227
231
  width: (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.6,
228
232
  texture: { url: (E = r == null ? void 0 : r.arrowTextureUrl) != null ? E : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
229
233
  }
230
- }, n = (y = (I = e.routes) == null ? void 0 : I.map((l) => {
231
- var G;
232
- return T({}, m, { id: (G = l.id) != null ? G : Date.now(), pano_group: l.panoIndexList });
233
- })) != null ? y : [], h = (D = (L = e.lines) == null ? void 0 : L.map((l) => T({}, m, l))) != null ? D : [], C = [...n, ...h];
234
+ }, h = (y = (I = e.routes) == null ? void 0 : I.map((l) => {
235
+ var _;
236
+ return S({}, n, { id: (_ = l.id) != null ? _ : Date.now(), pano_group: l.panoIndexList });
237
+ })) != null ? y : [], A = (D = (L = e.lines) == null ? void 0 : L.map((l) => S({}, n, l))) != null ? D : [], C = [...h, ...A];
234
238
  yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
235
239
  this.addGuideLineItem(l);
236
- }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
240
+ }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: p }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
237
241
  });
238
242
  }
239
243
  formatData(t) {
@@ -269,14 +273,14 @@ class Wr extends O {
269
273
  var a;
270
274
  if (this.disposed)
271
275
  return this.disposedErrorLog();
272
- const s = c({}, this.state);
273
- this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== s.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== s.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), P(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
276
+ const p = c({}, this.state);
277
+ this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== p.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== p.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(p, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: p, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
274
278
  }
275
279
  /** 添加一个 GuideLineItem */
276
280
  addGuideLineItem(t) {
277
- const i = t.render_id || t.id, s = this.itemMap.get(i);
278
- s && this.removeGuideLineItem(s);
279
- const a = new $({ five: this.five, id: i, plugin: this });
281
+ const i = t.render_id || t.id, p = this.itemMap.get(i);
282
+ p && this.removeGuideLineItem(p);
283
+ const a = new k({ five: this.five, id: i, plugin: this });
280
284
  return this.itemMap.set(i, a), t && a.setData(t), this.heightOffset += 1e-4, a.setHeightOffset(this.heightOffset), a;
281
285
  }
282
286
  /** 获取 Plugin 内的 GuideLineItem */
@@ -293,15 +297,15 @@ class Wr extends O {
293
297
  function i(e) {
294
298
  return Array.isArray(e) && e.every((r) => typeof r == "number");
295
299
  }
296
- function s(e, r) {
297
- return new _.Vector3().fromArray(e).distanceTo(new _.Vector3().fromArray(r)) < 0.01;
300
+ function p(e, r) {
301
+ return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
298
302
  }
299
303
  function a(e) {
300
304
  var m;
301
305
  const r = (m = e.tag) == null ? void 0 : m.position;
302
306
  return i(r) ? t.every((n) => {
303
307
  var h;
304
- return i((h = n.tag) == null ? void 0 : h.position) ? !s(r, n.tag.position) : !0;
308
+ return i((h = n.tag) == null ? void 0 : h.position) ? !p(r, n.tag.position) : !0;
305
309
  }) : !1;
306
310
  }
307
311
  this.itemMap.forEach((e) => {
@@ -344,6 +348,6 @@ class Wr extends O {
344
348
  }
345
349
  }
346
350
  export {
347
- Wr as default,
348
- xr as pluginFlag
351
+ Ur as default,
352
+ Wr as pluginFlag
349
353
  };
@@ -63,7 +63,7 @@ class C {
63
63
  n.setGeometryByPanoGroup(t.pano_group, d({ skipPanoGroup: m }, l));
64
64
  } else
65
65
  t.path && n.setGeometryByPath(u, l);
66
- n.setMartial(a), n.setVisibleFloorIndexes((r = t.visible_floor_indexes) != null ? r : null), n.setStartTag(i == null ? void 0 : i.start_tag), n.setEndTag(i == null ? void 0 : i.end_tag);
66
+ n.name = t.name, n.setMartial(a), n.setVisibleFloorIndexes((r = t.visible_floor_indexes) != null ? r : null), n.setStartTag(i == null ? void 0 : i.start_tag), n.setEndTag(i == null ? void 0 : i.end_tag);
67
67
  }
68
68
  show() {
69
69
  this._visible = !0, this.hooks.emit("show", { userAction: !0 });
@@ -2,7 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type GuideLinePlugin from './Controller';
3
3
  import type * as PluginType from './typing';
4
4
  import { GuideLineModeItem } from './GuideLineModeItem';
5
- import { CruisePluginTypes } from '../CruisePlugin';
5
+ import type { CruisePluginTypes } from '../CruisePlugin';
6
6
  import { Subscribe } from '@realsee/five';
7
7
  /** 路线引导实例。
8
8
  * - 路线包括两个部分:全景路线和模型路线。