@realsee/dnalogel 2.21.0-dev.0 → 2.21.0-dev.10

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 (472) hide show
  1. package/components/index.js +329 -329
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
  3. package/dist/GuideLinePlugin/Controller.d.ts +5 -3
  4. package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  5. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
  6. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
  7. package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
  8. package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
  9. package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  10. package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
  11. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  12. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
  13. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  14. package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  15. package/dist/PanoMeasurePlugin/Model/area.d.ts +9 -1
  16. package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -0
  17. package/dist/PanoMeasurePlugin/Model/line.d.ts +3 -0
  18. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
  19. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  20. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
  21. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
  22. package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
  23. package/dist/PanoMeasurePlugin/typings/data.d.ts +8 -2
  24. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
  25. package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
  26. package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
  27. package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
  28. package/dist/base/BasePlugin.d.ts +4 -1
  29. package/dist/components/PaintBrush/style.d.ts +1 -1
  30. package/dist/index.cjs.js +70 -66
  31. package/dist/index.js +8065 -6908
  32. package/dist/index.umd.js +65 -61
  33. package/dist/shared-utils/absoluteUrl.d.ts +5 -0
  34. package/dist/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
  35. package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
  36. package/dist/shared-utils/index.d.ts +1 -1
  37. package/dist/shared-utils/isTouchDevice.d.ts +1 -0
  38. package/dist/shared-utils/three/Magnifier.d.ts +2 -0
  39. package/dist/shared-utils/three/PointSelector.d.ts +76 -0
  40. package/dist/shared-utils/three/PointSelectorHelper.d.ts +50 -0
  41. package/dist/shared-utils/three/index.d.ts +1 -1
  42. package/docs/assets/search.js +1 -1
  43. package/docs/classes/CSS3DRender.html +34 -32
  44. package/docs/classes/CruisePluginController.html +48 -44
  45. package/docs/classes/GuideLineItem.GuideLineItem.html +23 -21
  46. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +90 -33
  47. package/docs/classes/Magnifier.html +23 -21
  48. package/docs/classes/ModelRoomLabelController.html +14 -12
  49. package/docs/classes/Object3DHelperController.html +47 -43
  50. package/docs/classes/PaintBrush.html +18 -16
  51. package/docs/classes/PanoMeasurePluginLine.html +48 -26
  52. package/docs/classes/PanoMeasurePluginModel.html +44 -27
  53. package/docs/classes/PanoMeasurePluginPoint.html +17 -15
  54. package/docs/classes/PanoMeasurePluginPolyline.html +30 -28
  55. package/docs/classes/PanoTagPluginController.html +69 -65
  56. package/docs/classes/Util.BetterTween.html +12 -10
  57. package/docs/classes/Util.Interval.html +15 -13
  58. package/docs/classes/Util.Magnifier.html +42 -20
  59. package/docs/classes/Util.PointDomHelper.html +14 -12
  60. package/docs/classes/Util.PointHelper.html +14 -12
  61. package/docs/classes/{Util.FivePointSelector.html → Util.PointSelectorHelper.html} +105 -27
  62. package/docs/classes/Util.Rectangle.html +16 -14
  63. package/docs/enums/CameraMovementEffect.html +10 -8
  64. package/docs/enums/ContentType.html +23 -21
  65. package/docs/enums/DIRECTION.html +12 -10
  66. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +12 -10
  67. package/docs/enums/DimensionType.html +10 -8
  68. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +11 -9
  69. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +12 -10
  70. package/docs/enums/PaintBrushTypeEnum.html +11 -9
  71. package/docs/enums/PointType.html +10 -8
  72. package/docs/enums/Rotation.html +11 -9
  73. package/docs/functions/CSS3DRenderPlugin.html +7 -5
  74. package/docs/functions/CameraMovementPlugin.html +7 -5
  75. package/docs/functions/CruisePlugin.html +7 -5
  76. package/docs/functions/GuideLinePlugin.html +8 -6
  77. package/docs/functions/ItemLabelPlugin.html +7 -5
  78. package/docs/functions/MapviewFloorplanPlugin.html +7 -5
  79. package/docs/functions/ModelChassisCompassPlugin.html +7 -5
  80. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -5
  81. package/docs/functions/ModelFloorplanPlugin.html +7 -5
  82. package/docs/functions/ModelItemLabelPlugin.html +7 -5
  83. package/docs/functions/ModelRoomLabelPlugin.html +7 -5
  84. package/docs/functions/ModelTVVideoPlugin.html +7 -5
  85. package/docs/functions/ModelViewPlugin.html +7 -5
  86. package/docs/functions/Object3DHelperPlugin.html +7 -5
  87. package/docs/functions/PanoCompassPlugin.html +7 -5
  88. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -5
  89. package/docs/functions/PanoDoorLabelPlugin.html +7 -5
  90. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -5
  91. package/docs/functions/PanoMeasurePlugin.html +7 -5
  92. package/docs/functions/PanoRulerPlugin.html +7 -5
  93. package/docs/functions/PanoRulerProPlugin.html +7 -5
  94. package/docs/functions/PanoSpatialTagPlugin.html +7 -5
  95. package/docs/functions/PanoTagPlugin.html +7 -5
  96. package/docs/functions/PanoVideoPlugin.html +7 -5
  97. package/docs/functions/TopviewFloorplanPlugin.html +7 -5
  98. package/docs/functions/Util.absoluteUrl.html +370 -0
  99. package/docs/functions/Util.getCoordsFromClient.html +8 -6
  100. package/docs/functions/Util.getCoordsFromElement.html +8 -6
  101. package/docs/functions/Util.getFrameTime.html +8 -6
  102. package/docs/functions/Util.getIntersectFromRelativePosition.html +8 -6
  103. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -6
  104. package/docs/functions/Util.isAbsoluteURL.html +8 -6
  105. package/docs/functions/Util.isModelLike.html +8 -6
  106. package/docs/functions/Util.isNil.html +8 -6
  107. package/docs/functions/Util.isPanoramaLike.html +8 -6
  108. package/docs/functions/Util.nextFrame.html +8 -6
  109. package/docs/functions/Util.notNil.html +8 -6
  110. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -6
  111. package/docs/functions/Util.tweenProgress.html +8 -6
  112. package/docs/functions/Util.uuid.html +8 -6
  113. package/docs/functions/pluginFlag.html +8 -6
  114. package/docs/index.html +8 -6
  115. package/docs/interfaces/AddTagConfig.html +9 -7
  116. package/docs/interfaces/CSS3DRenderPluginEventMap.html +14 -12
  117. package/docs/interfaces/CSS3DRenderPluginState.html +11 -9
  118. package/docs/interfaces/CameraMovementPluginExportType.html +10 -8
  119. package/docs/interfaces/CruisePluginTypes.Config.html +11 -9
  120. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +15 -13
  121. package/docs/interfaces/CruisePluginTypes.EventMap.html +23 -21
  122. package/docs/interfaces/CruisePluginTypes.MoveAction.html +15 -13
  123. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +17 -15
  124. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +17 -15
  125. package/docs/interfaces/CruisePluginTypes.PluginData.html +12 -10
  126. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -8
  127. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -12
  128. package/docs/interfaces/EventMap.html +18 -16
  129. package/docs/interfaces/FloorplanBounding.html +11 -9
  130. package/docs/interfaces/FloorplanData.html +13 -11
  131. package/docs/interfaces/FloorplanEntrance.html +14 -12
  132. package/docs/interfaces/FloorplanExtraObject.html +13 -11
  133. package/docs/interfaces/FloorplanExtraObject3D.html +11 -9
  134. package/docs/interfaces/FloorplanFloorData.html +12 -10
  135. package/docs/interfaces/FloorplanImagePosition.html +10 -8
  136. package/docs/interfaces/FloorplanObserver.html +12 -10
  137. package/docs/interfaces/FloorplanOutlineItem.html +12 -10
  138. package/docs/interfaces/FloorplanPosition.html +10 -8
  139. package/docs/interfaces/FloorplanRoomItem.html +16 -14
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +10 -8
  141. package/docs/interfaces/FloorplanServerBounding.html +11 -9
  142. package/docs/interfaces/FloorplanServerComputedData.html +13 -11
  143. package/docs/interfaces/FloorplanServerData.html +10 -8
  144. package/docs/interfaces/FloorplanServerDoorItem.html +13 -11
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +11 -9
  146. package/docs/interfaces/FloorplanServerEntrance.html +14 -12
  147. package/docs/interfaces/FloorplanServerFloorData.html +12 -10
  148. package/docs/interfaces/FloorplanServerImagePosition.html +10 -8
  149. package/docs/interfaces/FloorplanServerObserver.html +12 -10
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +12 -10
  151. package/docs/interfaces/FloorplanServerPosition.html +10 -8
  152. package/docs/interfaces/FloorplanServerRoomItem.html +17 -15
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +10 -8
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +11 -9
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +13 -11
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +16 -14
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +11 -9
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -7
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -14
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +11 -9
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +21 -19
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +10 -8
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -19
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +8 -6
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -8
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +11 -9
  167. package/docs/interfaces/GuideLinePluginType.Route.html +14 -12
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +12 -10
  169. package/docs/interfaces/HelperOffset.html +11 -9
  170. package/docs/interfaces/ImagePlaneGroup.html +9 -7
  171. package/docs/interfaces/ItemLabelPluginData.html +9 -7
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +14 -12
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +12 -10
  174. package/docs/interfaces/MinMax.html +10 -8
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +10 -8
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +11 -9
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +10 -8
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +11 -9
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +11 -9
  180. package/docs/interfaces/ModelItemLabelPluginData.html +9 -7
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +14 -12
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +10 -8
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +9 -7
  184. package/docs/interfaces/ModelTVVideoPluginData.html +12 -10
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +11 -9
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +9 -7
  187. package/docs/interfaces/ModelViewPluginExportType.html +14 -12
  188. package/docs/interfaces/Object3DHelperState.html +11 -9
  189. package/docs/interfaces/ObjectHelperControllers.html +12 -10
  190. package/docs/interfaces/PaintBrushAction.html +15 -13
  191. package/docs/interfaces/PaintBrushConfigs.html +15 -13
  192. package/docs/interfaces/PaintBrushState.html +13 -11
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +13 -11
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +8 -6
  195. package/docs/interfaces/PanoMeasureParameterType.html +18 -16
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +11 -9
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +10 -8
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +10 -8
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +11 -9
  200. package/docs/interfaces/PanoRulerPluginExportType.html +13 -11
  201. package/docs/interfaces/PanoRulerPluginOptions.html +10 -8
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +11 -9
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +12 -10
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +10 -8
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +10 -8
  206. package/docs/interfaces/PanoRulerProPluginState.html +11 -9
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +8 -6
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +8 -6
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +14 -12
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +13 -11
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +16 -14
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +13 -11
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +16 -14
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +14 -12
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +13 -11
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +9 -7
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +11 -9
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +9 -7
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +12 -10
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +9 -7
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +11 -9
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -11
  223. package/docs/interfaces/Point.html +11 -9
  224. package/docs/interfaces/Room.html +12 -10
  225. package/docs/interfaces/RoomInfo.html +10 -8
  226. package/docs/interfaces/RoomLabel.html +17 -15
  227. package/docs/interfaces/RoomRules.html +8 -6
  228. package/docs/interfaces/Rooms.html +8 -6
  229. package/docs/interfaces/Scissor.html +12 -10
  230. package/docs/interfaces/State.html +11 -9
  231. package/docs/interfaces/TagCacheInterface.html +15 -13
  232. package/docs/interfaces/TagConfig.html +16 -14
  233. package/docs/interfaces/TagGLTFObjectGroup.html +9 -7
  234. package/docs/interfaces/TagIconUrl.html +15 -13
  235. package/docs/interfaces/TagObjectGroup.html +9 -7
  236. package/docs/interfaces/TagStyle.html +9 -7
  237. package/docs/interfaces/Tags.html +12 -10
  238. package/docs/interfaces/TemporaryState.html +9 -7
  239. package/docs/interfaces/Util.MagnifierParameter.html +14 -12
  240. package/docs/interfaces/Util.MouseGroupParameter.html +11 -9
  241. package/docs/interfaces/Util.PointIntersection.html +408 -0
  242. package/docs/modules/CruisePluginTypes.html +8 -6
  243. package/docs/modules/GuideLineItem.html +8 -6
  244. package/docs/modules/GuideLineModeItem.html +8 -6
  245. package/docs/modules/GuideLinePluginType.html +8 -6
  246. package/docs/modules/PanoVideoPluginType.html +8 -6
  247. package/docs/modules/Util.html +11 -7
  248. package/docs/modules.html +7 -5
  249. package/docs/types/ArrayPosition.html +8 -6
  250. package/docs/types/AudioAppearance.html +8 -6
  251. package/docs/types/AudioTagTypeConfigKey.html +8 -6
  252. package/docs/types/CSS3DRenderExportType.html +8 -6
  253. package/docs/types/CSS3DRenderPluginExportType.html +8 -6
  254. package/docs/types/CSS3DRenderPluginParameterType.html +8 -6
  255. package/docs/types/ClassFunctionParameters.html +8 -6
  256. package/docs/types/Color.html +8 -6
  257. package/docs/types/ContentTypeConfigKey.html +8 -6
  258. package/docs/types/ContentTypeConfigKeySplit.html +8 -6
  259. package/docs/types/ContentTypeMap.html +8 -6
  260. package/docs/types/Create3DDomContainerReturnType.html +8 -6
  261. package/docs/types/Create3DElementReturnType.html +8 -6
  262. package/docs/types/CruisePluginExportType.html +8 -6
  263. package/docs/types/CruisePluginTypes.CruiseData.html +8 -6
  264. package/docs/types/CruisePluginTypes.MoveEffect.html +8 -6
  265. package/docs/types/DeprecatedMediaPlaneProperty.html +8 -6
  266. package/docs/types/DeprecatedTagProperty.html +8 -6
  267. package/docs/types/Direction-1.html +8 -6
  268. package/docs/types/Direction4.html +8 -6
  269. package/docs/types/ElementRenderer.html +8 -6
  270. package/docs/types/FloorplanRuleLabels.html +8 -6
  271. package/docs/types/FloorplanServerRuleLabels.html +8 -6
  272. package/docs/types/GuideLinePluginExportType.html +8 -6
  273. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -6
  274. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +8 -6
  275. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +8 -6
  276. package/docs/types/GuideLinePluginType.GuideLineStyle.html +8 -6
  277. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +8 -6
  278. package/docs/types/GuideLinePluginType.PathItem.html +8 -6
  279. package/docs/types/GuideLinePluginType.PluginData.html +8 -6
  280. package/docs/types/HelperEventMap.html +8 -6
  281. package/docs/types/LoadTagConfig.html +8 -6
  282. package/docs/types/MapviewFloorplanPluginParameterType.html +8 -6
  283. package/docs/types/MapviewFloorplanPluginReturnType.html +8 -6
  284. package/docs/types/MediaData.html +8 -6
  285. package/docs/types/MediaStore.html +8 -6
  286. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +8 -6
  287. package/docs/types/ModelFloorplanPluginParameterType.html +8 -6
  288. package/docs/types/ModelFloorplanPluginReturnType.html +8 -6
  289. package/docs/types/ModelRoomLabelPluginParameters.html +8 -6
  290. package/docs/types/ModelRoomLabelPluginReturnType.html +8 -6
  291. package/docs/types/MoveArgs.html +8 -6
  292. package/docs/types/MoveOpts.html +8 -6
  293. package/docs/types/Object3DHelperEventMap.html +8 -6
  294. package/docs/types/ObjectFit.html +8 -6
  295. package/docs/types/PaintBrushEventMap.html +8 -6
  296. package/docs/types/PanoCompassPluginData.html +8 -6
  297. package/docs/types/PanoCompassPluginExportType.html +8 -6
  298. package/docs/types/PanoCompassPluginParameterType.html +8 -6
  299. package/docs/types/PanoFloorplanRadarPluginParameterType.html +8 -6
  300. package/docs/types/PanoFloorplanRadarPluginReturnType.html +8 -6
  301. package/docs/types/PanoIndex.html +8 -6
  302. package/docs/types/PanoMeasurePluginEvent.html +8 -6
  303. package/docs/types/PanoMeasureReturnType.html +8 -6
  304. package/docs/types/PanoSpatialTagPluginId.html +8 -6
  305. package/docs/types/PanoTagPluginExportInterface.html +8 -6
  306. package/docs/types/PanoTagPluginParamsInterface.html +8 -6
  307. package/docs/types/PanoVideoPluginParameterType.html +8 -6
  308. package/docs/types/PanoVideoPluginReturnType.html +8 -6
  309. package/docs/types/PartialObjectDeep.html +8 -6
  310. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +8 -6
  311. package/docs/types/PlaneTag.html +8 -6
  312. package/docs/types/Point2DTag.html +8 -6
  313. package/docs/types/Point3DTag.html +8 -6
  314. package/docs/types/PointTag.html +8 -6
  315. package/docs/types/PointTagInstance.html +8 -6
  316. package/docs/types/Position.html +8 -6
  317. package/docs/types/RotateArgs.html +8 -6
  318. package/docs/types/RotateOpts.html +8 -6
  319. package/docs/types/RuleLabelsKey.html +8 -6
  320. package/docs/types/RuleLabelsValue.html +8 -6
  321. package/docs/types/StickType.html +8 -6
  322. package/docs/types/Tag.html +8 -6
  323. package/docs/types/Tag2D.html +8 -6
  324. package/docs/types/Tag3D.html +8 -6
  325. package/docs/types/TagContentType.html +8 -6
  326. package/docs/types/TagDimensionType.html +8 -6
  327. package/docs/types/TagElement.html +8 -6
  328. package/docs/types/TagEvents.html +8 -6
  329. package/docs/types/TagGLTFObject.html +8 -6
  330. package/docs/types/TagHooks.html +8 -6
  331. package/docs/types/TagId.html +8 -6
  332. package/docs/types/TagInstance.html +8 -6
  333. package/docs/types/TagPointType.html +8 -6
  334. package/docs/types/TagRendererMap.html +8 -6
  335. package/docs/types/TopviewFloorplanPluginParameterType.html +8 -6
  336. package/docs/types/TopviewFloorplanPluginReturnType.html +8 -6
  337. package/docs/types/WorkCode.html +8 -6
  338. package/docs/variables/FLOOR_TYPE_MAP.html +8 -6
  339. package/docs/variables/PLUGIN.html +8 -6
  340. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +8 -6
  341. package/docs/variables/ROOM_TYPE_MAP.html +8 -6
  342. package/docs/variables/itemLabelPluginServerParams.html +8 -6
  343. package/docs/variables/modelItemLabelPluginServerParams.html +8 -6
  344. package/docs/variables/modelRoomLabelPluginServerParams.html +8 -6
  345. package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -1
  346. package/libs/CSS3DRenderPlugin/Controller.js +31 -28
  347. package/libs/CSS3DRenderPlugin/index.js +1 -1
  348. package/libs/CruisePlugin/Controller.js +1 -1
  349. package/libs/CruisePlugin/index.js +1 -1
  350. package/libs/GuideLinePlugin/Components/Tag.js +137 -44
  351. package/libs/GuideLinePlugin/Controller.d.ts +5 -3
  352. package/libs/GuideLinePlugin/Controller.js +49 -45
  353. package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
  354. package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
  355. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  356. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +150 -113
  357. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
  358. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  359. package/libs/GuideLinePlugin/index.js +1 -1
  360. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
  361. package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
  362. package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
  363. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
  364. package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
  365. package/libs/ModelTVVideoPlugin/index.js +4 -3
  366. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  367. package/libs/Object3DHelperPlugin/index.js +1 -1
  368. package/libs/PanoCompassPlugin/Controller.js +20 -20
  369. package/libs/PanoCompassPlugin/index.js +1 -1
  370. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  371. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  372. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
  373. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  374. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +78 -42
  375. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +42 -0
  376. package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
  377. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +113 -117
  378. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +71 -71
  379. package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  380. package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
  381. package/libs/PanoMeasurePlugin/Components/Controller0.js +188 -65
  382. package/libs/PanoMeasurePlugin/Components/Controller1.js +353 -108
  383. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  384. package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
  385. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
  386. package/libs/PanoMeasurePlugin/Controller/EditController.js +232 -127
  387. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  388. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -1
  389. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  390. package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -14
  391. package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
  392. package/libs/PanoMeasurePlugin/Controller/index.js +93 -79
  393. package/libs/PanoMeasurePlugin/Model/area.d.ts +9 -1
  394. package/libs/PanoMeasurePlugin/Model/area.js +23 -11
  395. package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -0
  396. package/libs/PanoMeasurePlugin/Model/index.js +47 -39
  397. package/libs/PanoMeasurePlugin/Model/line.d.ts +3 -0
  398. package/libs/PanoMeasurePlugin/Model/line.js +27 -20
  399. package/libs/PanoMeasurePlugin/Model/point.js +17 -12
  400. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
  401. package/libs/PanoMeasurePlugin/Model/polygon.js +21 -15
  402. package/libs/PanoMeasurePlugin/Model/polyline.js +6 -6
  403. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  404. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  405. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
  406. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
  407. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +120 -43
  408. package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
  409. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
  410. package/libs/PanoMeasurePlugin/index.js +55 -37
  411. package/libs/PanoMeasurePlugin/typings/data.d.ts +8 -2
  412. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
  413. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +36 -15
  414. package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
  415. package/libs/PanoMeasurePlugin/utils/dom/base.js +37 -31
  416. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +38 -23
  417. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  418. package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
  419. package/libs/PanoMeasurePlugin/utils/geometryUtil.js +15 -13
  420. package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
  421. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  422. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  423. package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
  424. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  425. package/libs/PanoTagPlugin/controller/TagRender.js +2 -2
  426. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  427. package/libs/PanoTagPlugin/controller/index.js +1 -1
  428. package/libs/PanoTagPlugin/index.js +1 -1
  429. package/libs/PanoVideoPlugin/Controller.js +1 -1
  430. package/libs/PanoVideoPlugin/index.js +1 -1
  431. package/libs/base/BasePlugin.d.ts +4 -1
  432. package/libs/base/BasePlugin.js +14 -11
  433. package/libs/components/PaintBrush/style.d.ts +1 -1
  434. package/libs/components/PaintBrush/style.js +4 -4
  435. package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
  436. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
  437. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  438. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  439. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  440. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  441. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +30 -28
  442. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  443. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  444. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  445. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  446. package/libs/index.js +128 -122
  447. package/libs/shared-utils/absoluteUrl.d.ts +5 -0
  448. package/libs/shared-utils/absoluteUrl.js +10 -0
  449. package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
  450. package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
  451. package/libs/shared-utils/index.d.ts +1 -1
  452. package/libs/shared-utils/index.js +21 -20
  453. package/libs/shared-utils/isTouchDevice.d.ts +1 -0
  454. package/libs/shared-utils/isTouchDevice.js +4 -0
  455. package/libs/shared-utils/logger.js +1 -1
  456. package/libs/shared-utils/three/Magnifier.d.ts +2 -0
  457. package/libs/shared-utils/three/Magnifier.js +11 -5
  458. package/libs/shared-utils/three/PointSelector.d.ts +76 -0
  459. package/libs/shared-utils/three/PointSelector.js +132 -0
  460. package/libs/shared-utils/three/PointSelectorHelper.d.ts +50 -0
  461. package/libs/shared-utils/three/PointSelectorHelper.js +100 -0
  462. package/libs/shared-utils/three/index.d.ts +1 -1
  463. package/libs/vendor/svelte/internal/index.js +392 -345
  464. package/package.json +1 -1
  465. package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
  466. package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
  467. package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
  468. package/libs/shared-utils/isAbsoluteURL.js +0 -6
  469. package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
  470. package/libs/shared-utils/three/FivePointSelector.js +0 -49
  471. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
  472. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
@@ -1,24 +1,24 @@
1
- var E = Object.defineProperty, C = Object.defineProperties;
1
+ var C = Object.defineProperty, R = Object.defineProperties;
2
2
  var F = Object.getOwnPropertyDescriptors;
3
3
  var b = Object.getOwnPropertySymbols;
4
4
  var D = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var m = (i, t, e) => t in i ? E(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, p = (i, t) => {
5
+ var m = (r, t, e) => t in r ? C(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, p = (r, t) => {
6
6
  for (var e in t || (t = {}))
7
- D.call(t, e) && m(i, e, t[e]);
7
+ D.call(t, e) && m(r, e, t[e]);
8
8
  if (b)
9
9
  for (var e of b(t))
10
- S.call(t, e) && m(i, e, t[e]);
11
- return i;
12
- }, l = (i, t) => C(i, F(t));
13
- var o = (i, t, e) => (m(i, typeof t != "symbol" ? t + "" : t, e), e);
14
- import { CSS3DRender as $ } from "./utils/three/CSS3DRender.js";
15
- import x from "./utils/waitFiveModelLoaded.js";
16
- import O from "./utils/generateBehindFiveElement.js";
10
+ S.call(t, e) && m(r, e, t[e]);
11
+ return r;
12
+ }, l = (r, t) => R(r, F(t));
13
+ var o = (r, t, e) => (m(r, typeof t != "symbol" ? t + "" : t, e), e);
14
+ import { CSS3DRender as x } from "./utils/three/CSS3DRender.js";
15
+ import O from "./utils/waitFiveModelLoaded.js";
16
+ import P from "./utils/generateBehindFiveElement.js";
17
17
  import "hammerjs";
18
18
  import "three";
19
19
  import "@realsee/five";
20
20
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
- import { isAbsoluteURL as P } from "../shared-utils/isAbsoluteURL.js";
21
+ import { absoluteUrl as $ } from "../shared-utils/absoluteUrl.js";
22
22
  import "./utils/three/CSS3DRenderer.js";
23
23
  import "three/examples/jsm/renderers/CSS3DRenderer";
24
24
  import "./utils/getAllCSS3DObject.js";
@@ -31,14 +31,14 @@ import "./utils/three/OpacityMesh.js";
31
31
  import "../shared-utils/three/centerPoint.js";
32
32
  import "./utils/three/CSS3DScene.js";
33
33
  import "./utils/three/CSS3DGroup.js";
34
- const R = "v2.0.1", h = `CSS3DRenderPlugin@${R}`;
35
- class W extends $ {
34
+ const E = "v2.0.1", h = `CSS3DRenderPlugin@${E}`;
35
+ class W extends x {
36
36
  constructor(e) {
37
37
  super();
38
38
  o(this, "five");
39
39
  o(this, "behindFiveContainer");
40
- o(this, "VERSION", R);
41
- o(this, "staticPrefix", "//vrlab-static.ljcdn.com");
40
+ o(this, "VERSION", E);
41
+ o(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
42
42
  /**
43
43
  * @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
44
44
  * @param { Vector3Position[] } points 矩形四个点坐标
@@ -74,19 +74,19 @@ class W extends $ {
74
74
  * } | void
75
75
  * ```
76
76
  */
77
- o(this, "create3DDomContainer", (e, r) => {
77
+ o(this, "create3DDomContainer", (e, i) => {
78
78
  if (this.state.disposed)
79
79
  return;
80
80
  const s = (() => {
81
81
  var f;
82
- (r == null ? void 0 : r.dpr) !== void 0 && console.warn(`${h}: please use "config.devicePixelRatio" replace "config.dpr"`);
82
+ (i == null ? void 0 : i.dpr) !== void 0 && console.warn(`${h}: please use "config.devicePixelRatio" replace "config.dpr"`);
83
83
  const d = {
84
84
  ratio: 216e-5,
85
- devicePixelRatio: (f = r == null ? void 0 : r.dpr) != null ? f : 1,
85
+ devicePixelRatio: (f = i == null ? void 0 : i.dpr) != null ? f : 1,
86
86
  mode: "front",
87
87
  autoRender: !0
88
88
  };
89
- return Object.assign(d, r, (r == null ? void 0 : r.mode) === "behind" ? { scene: this.five.scene } : void 0);
89
+ return Object.assign(d, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
90
90
  })(), a = this.five.getElement();
91
91
  if (!a) {
92
92
  console.error(`${h}: five.getElement() is ${a}`);
@@ -97,15 +97,15 @@ class W extends $ {
97
97
  const n = this.create3DElement(this.five.camera, e, l(p({}, s), { autoRender: !1 }));
98
98
  if (!n)
99
99
  return;
100
- const c = () => {
100
+ const u = () => {
101
101
  const d = n.css3DObject.mode === "front" ? a.parentElement : this.getBehindFiveElement();
102
102
  if (!d)
103
103
  return console.error(`${h}: wrapper is ${d}`);
104
104
  n.appendToElement(d), n.render();
105
- }, u = () => {
106
- n.css3DObject.mode === "front" && c(), n.css3DObject.mode === "behind" && x(this.five).then(() => c());
105
+ }, c = () => {
106
+ n.css3DObject.mode === "front" && u(), n.css3DObject.mode === "behind" && O(this.five).then(() => u());
107
107
  };
108
- return v && u(), l(p({}, n), { render: v ? void 0 : u });
108
+ return v && c(), l(p({}, n), { render: v ? void 0 : c });
109
109
  });
110
110
  this.five = e;
111
111
  }
@@ -114,14 +114,17 @@ class W extends $ {
114
114
  return this.dispose();
115
115
  }
116
116
  setState(...e) {
117
- const r = super.setState(...e);
118
- return this.five.needsRender = !0, r;
117
+ const i = super.setState(...e);
118
+ return this.five.needsRender = !0, i;
119
119
  }
120
120
  getBehindFiveElement() {
121
- return this.behindFiveContainer ? this.behindFiveContainer : (this.behindFiveContainer = O(this.five), this.behindFiveContainer);
121
+ return this.behindFiveContainer ? this.behindFiveContainer : (this.behindFiveContainer = P(this.five), this.behindFiveContainer);
122
122
  }
123
- isAbsoluteURL(e) {
124
- return P(e) ? e : `${this.staticPrefix}${e}`;
123
+ /**
124
+ * @description: 获取静态资源的url
125
+ */
126
+ absoluteUrl(e) {
127
+ return $(this.staticPrefix, e);
125
128
  }
126
129
  }
127
130
  export {
@@ -6,7 +6,7 @@ import "hammerjs";
6
6
  import "three";
7
7
  import "@realsee/five";
8
8
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
- import "../shared-utils/isAbsoluteURL.js";
9
+ import "../shared-utils/absoluteUrl.js";
10
10
  import "./utils/three/CSS3DRenderer.js";
11
11
  import "three/examples/jsm/renderers/CSS3DRenderer";
12
12
  import "./utils/getAllCSS3DObject.js";
@@ -55,7 +55,7 @@ import "../shared-utils/three/centerPoint.js";
55
55
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
56
56
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
57
57
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
58
- import "../shared-utils/isAbsoluteURL.js";
58
+ import "../shared-utils/absoluteUrl.js";
59
59
  import "../GuideLinePlugin/Controller.js";
60
60
  import "../GuideLinePlugin/GuideLineItem/index.js";
61
61
  import "../GuideLinePlugin/GuideLineModeItem/index.js";
@@ -20,7 +20,7 @@ import "../shared-utils/three/centerPoint.js";
20
20
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
21
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
22
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import "../shared-utils/isAbsoluteURL.js";
23
+ import "../shared-utils/absoluteUrl.js";
24
24
  import "../GuideLinePlugin/index.js";
25
25
  import "../GuideLinePlugin/Controller.js";
26
26
  import "../shared-utils/equal.js";
@@ -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 D, init as G, safe_not_equal as X, append_styles as x, element as u, space as p, attr as c, set_style as k, insert as T, append as a, noop as y, detach as z, text as h, set_data as j } from "../../vendor/svelte/internal/index.js";
2
+ function P(i) {
3
+ x(i, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{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-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;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;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{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-4qjwer.svelte-4qjwer{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-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{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-slice:6 25 6 18 fill;color:#fff}");
4
4
  }
5
- function p(i) {
6
- let e, l;
5
+ function E(i) {
6
+ let e, r;
7
7
  return {
8
8
  c() {
9
- e = m("div"), l = z(
9
+ e = u("div"), r = h(
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-4qjwer"), k(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
+ T(l, e, n), a(e, r);
17
17
  },
18
- p(a, n) {
18
+ p(l, n) {
19
19
  n & /*text*/
20
- 1 && E(
21
- l,
20
+ 1 && j(
21
+ r,
22
+ /*text*/
23
+ l[0]
24
+ );
25
+ },
26
+ d(l) {
27
+ l && z(e);
28
+ }
29
+ };
30
+ }
31
+ function I(i) {
32
+ let e, r, l, n, v = (
33
+ /*i18n*/
34
+ i[5]("全程") + ""
35
+ ), o, d, q = (
36
+ /*i18n*/
37
+ i[5]("米") + ""
38
+ ), b, t, s, f, w, N, m = (
39
+ /*name*/
40
+ i[4] && _(i)
41
+ );
42
+ return {
43
+ c() {
44
+ e = u("div"), m && m.c(), r = p(), l = u("div"), n = u("span"), o = h(v), d = h(
45
+ /*distance*/
46
+ i[2]
47
+ ), b = h(q), t = p(), s = u("span"), f = h(
48
+ /*text*/
49
+ i[0]
50
+ ), w = p(), N = u("div"), c(n, "class", "distance svelte-4qjwer"), c(s, "class", "name svelte-4qjwer"), c(l, "class", "distance-and-name svelte-4qjwer"), c(N, "class", "border svelte-4qjwer"), c(e, "class", "text-with-distance svelte-4qjwer");
51
+ },
52
+ m(g, A) {
53
+ T(g, e, A), m && m.m(e, null), a(e, r), a(e, l), a(l, n), a(n, o), a(n, d), a(n, b), a(l, t), a(l, s), a(s, f), a(e, w), a(e, N);
54
+ },
55
+ p(g, A) {
56
+ /*name*/
57
+ g[4] ? m ? m.p(g, A) : (m = _(g), m.c(), m.m(e, r)) : m && (m.d(1), m = null), A & /*i18n*/
58
+ 32 && v !== (v = /*i18n*/
59
+ g[5]("全程") + "") && j(o, v), A & /*distance*/
60
+ 4 && j(
61
+ d,
62
+ /*distance*/
63
+ g[2]
64
+ ), A & /*i18n*/
65
+ 32 && q !== (q = /*i18n*/
66
+ g[5]("米") + "") && j(b, q), A & /*text*/
67
+ 1 && j(
68
+ f,
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 && z(e), m && m.d();
28
75
  }
29
76
  };
30
77
  }
31
- function j(i) {
32
- let e, l, a, n, g, s, r, v, t = (
78
+ function _(i) {
79
+ let e, r;
80
+ return {
81
+ c() {
82
+ e = u("span"), r = h(
83
+ /*name*/
84
+ i[4]
85
+ ), c(e, "class", "line-name svelte-4qjwer");
86
+ },
87
+ m(l, n) {
88
+ T(l, e, n), a(e, r);
89
+ },
90
+ p(l, n) {
91
+ n & /*name*/
92
+ 16 && j(
93
+ r,
94
+ /*name*/
95
+ l[4]
96
+ );
97
+ },
98
+ d(l) {
99
+ l && z(e);
100
+ }
101
+ };
102
+ }
103
+ function Z(i) {
104
+ let e, r, l, n, v, o, d, q, b, t = (
33
105
  /*text*/
34
- i[0] && p(i)
106
+ i[0] && !/*distance*/
107
+ i[2] && E(i)
108
+ ), s = (
109
+ /*distance*/
110
+ i[2] && I(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 = u("div"), r = u("div"), l = p(), n = u("div"), v = p(), o = u("div"), d = u("div"), q = p(), t && t.c(), b = p(), s && s.c(), c(r, "class", "guide-line__tag-point svelte-4qjwer"), c(n, "class", "guide-line__tag-line svelte-4qjwer"), c(d, "class", "guide-line__tag-icon svelte-4qjwer"), k(d, "background-image", `url(${/*icon_url*/
115
+ i[1]})`), c(o, "class", "guide-line__tag-content svelte-4qjwer"), c(e, "class", "guide-line__tag svelte-4qjwer"), k(
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(f, w) {
123
+ T(f, e, w), a(e, r), a(e, l), a(e, n), a(e, v), a(e, o), a(o, d), a(o, q), t && t.m(o, null), a(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(f, [w]) {
126
+ w & /*icon_url*/
127
+ 2 && k(d, "background-image", `url(${/*icon_url*/
128
+ f[1]})`), /*text*/
129
+ f[0] && !/*distance*/
130
+ f[2] ? t ? t.p(f, w) : (t = E(f), t.c(), t.m(o, b)) : t && (t.d(1), t = null), /*distance*/
131
+ f[2] ? s ? s.p(f, w) : (s = I(f), s.c(), s.m(o, null)) : s && (s.d(1), s = null), w & /*opacity*/
132
+ 8 && k(
55
133
  e,
56
134
  "opacity",
57
135
  /*opacity*/
58
- o[2]
136
+ f[3]
59
137
  );
60
138
  },
61
- i: b,
62
- o: b,
63
- d(o) {
64
- o && T(e), t && t.d();
139
+ i: y,
140
+ o: y,
141
+ d(f) {
142
+ f && z(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,iVBORw0KGgoAAAANSUhEUgAAAHUAAAA2CAMAAADOFiZMAAACEFBMVEUAAACIiIheXl5oaGh6enpsbGxiYmJ9fX1wcHBXV1eBgYFzc3NSUlKNjY2Dg4NOTk51dXVXV1dmZmZTU1N3d3dcXFyMjIyEhIRNTU2QkJC0tLS5ubnHx8fOzs6np6exsbHKysqoqKi9vb3U1NTPz8/Nzc2vr6/Dw8OysrK/v7/X19fS0tKurq62traqqqrJycmurq64uLifn5/Dw8O6urqQkJC6urro6Ojt7e3o6OjU1NS3t7fBwcGjo6Ozs7Orq6u1tbXAwMCurq6rq6vy8vLx8fHr6+vp6enZ2dnd3d3a2trX19fV1dW/v7/IyMihoaGampqVlZWLi4uCgoK+vr6urq7m5ubw8PDk5OTu7u7i4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hVjMsWY0GGSrTn00H7TakbD11sChd7qa+gCSKdJVitpyvWLlab6uifsieKtLk1N7QZWtvpYXl4aGxsrAtIJBQVNWVlZOTkZGRm2z7bHW0q2lJRkZ2c3NOTn19fV19fn5zfAsmQL8Nhmg66cHOhvKigoSC/Iysk+vH9//jd2n8g6TG7yjbXZYCAMq6s7fBiah4aGLl0aGLhw4f758zuBmpq+vurq6h07dnR1dXTcrqqq2uejqup2R0dXF8jV1X19NTU1O3feu3f+/oWBgUtD++uePHtbLAThNzRClbi+VnseAAAAAElFTkSuQmCC";
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, r) {
147
+ let { text: l = "" } = e, { icon_url: n = "" } = e, { distance: v = 0 } = e, { opacity: o = 1 } = e, { name: d = "" } = e, { i18n: q = (t) => t } = e;
148
+ const b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHUAAAA2CAMAAADOFiZMAAACEFBMVEUAAACIiIheXl5oaGh6enpsbGxiYmJ9fX1wcHBXV1eBgYFzc3NSUlKNjY2Dg4NOTk51dXVXV1dmZmZTU1N3d3dcXFyMjIyEhIRNTU2QkJC0tLS5ubnHx8fOzs6np6exsbHKysqoqKi9vb3U1NTPz8/Nzc2vr6/Dw8OysrK/v7/X19fS0tKurq62traqqqrJycmurq64uLifn5/Dw8O6urqQkJC6urro6Ojt7e3o6OjU1NS3t7fBwcGjo6Ozs7Orq6u1tbXAwMCurq6rq6vy8vLx8fHr6+vp6enZ2dnd3d3a2trX19fV1dW/v7/IyMihoaGampqVlZWLi4uCgoK+vr6urq7m5ubw8PDk5OTu7u7i4uLg4ODe3t7q6urS0tLi4uLOzs7e3t7Hx8fa2tqrq6vExMTAwMCnp6efn5+WlpaHh4ezs7OoqKiJiYm6urqZmZmurq59fX29vb23t7e4uLipqanp6enc3Nza2trW1tbT09Pm5ubj4+PQ0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mg66cHOhvKigoSC/Iysk+vH9//jd2n8g6TG7yjbXZYCAMq6s7fBiah4aGLl0aGLhw4f758zuBmpq+vurq6h07dnR1dXTcrqqq2uejqup2R0dXF8jV1X19NTU1O3feu3f+/oWBgUtD++uePHtbLAThNzRClbi+VnseAAAAAElFTkSuQmCC";
149
+ return i.$$set = (t) => {
150
+ "text" in t && r(0, l = t.text), "icon_url" in t && r(1, n = t.icon_url), "distance" in t && r(2, v = t.distance), "opacity" in t && r(3, o = t.opacity), "name" in t && r(4, d = t.name), "i18n" in t && r(5, q = t.i18n);
151
+ }, [l, n, v, o, d, q, b];
74
152
  }
75
- class G extends q {
153
+ class F extends D {
76
154
  constructor(e) {
77
- super(), x(this, e, k, j, y, { text: 0, icon_url: 1, opacity: 2 }, I);
155
+ super(), G(
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
+ P
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";
@@ -50,7 +50,7 @@ import "../shared-utils/three/centerPoint.js";
50
50
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
51
51
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
52
52
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
53
- import "../shared-utils/isAbsoluteURL.js";
53
+ import "../shared-utils/absoluteUrl.js";
54
54
  import "../shared-utils/isTruelyObject.js";
55
55
  import "./GuideLineModeItem/index.js";
56
56
  import "../shared-utils/log.js";
@@ -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
  * - 路线包括两个部分:全景路线和模型路线。
@@ -55,7 +55,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
55
55
  import "../PanoTagPlugin/utils/normalPositionToPositions.js";
56
56
  import "../PanoTagPlugin/controller/TagCache.js";
57
57
  import "../base/BasePlugin.js";
58
- import "../shared-utils/isAbsoluteURL.js";
58
+ import "../shared-utils/absoluteUrl.js";
59
59
  import "../vendor/svelte/store/index.js";
60
60
  import "../vendor/svelte/internal/index.js";
61
61
  import "../shared-utils/device.js";