@realsee/dnalogel 3.2.0-dev.8 → 3.3.0-dev.0

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 (358) hide show
  1. package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -1
  2. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +10 -1
  3. package/dist/GuideLinePlugin/typing.d.ts +6 -1
  4. package/dist/index.cjs.js +27 -27
  5. package/dist/index.js +1269 -1249
  6. package/dist/index.umd.js +27 -27
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  10. package/docs/classes/CSS3DRender.html +30 -30
  11. package/docs/classes/CruisePluginController.html +25 -25
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -33
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +98 -34
  14. package/docs/classes/Magnifier.html +19 -19
  15. package/docs/classes/ModelRoomLabelController.html +10 -10
  16. package/docs/classes/Object3DHelperController.html +24 -24
  17. package/docs/classes/PaintBrush.html +14 -14
  18. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  19. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  20. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  21. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  22. package/docs/classes/PanoTagPluginController.html +46 -46
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.Interval.html +11 -11
  25. package/docs/classes/Util.LineSegments.html +7 -7
  26. package/docs/classes/Util.Magnifier.html +19 -19
  27. package/docs/classes/Util.Object3D.html +7 -7
  28. package/docs/classes/Util.PointDomHelper.html +10 -10
  29. package/docs/classes/Util.PointHelper.html +10 -10
  30. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  31. package/docs/classes/Util.Rectangle.html +12 -12
  32. package/docs/enums/CameraMovementEffect.html +6 -6
  33. package/docs/enums/ContentType.html +19 -19
  34. package/docs/enums/DIRECTION.html +8 -8
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/DimensionType.html +6 -6
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  40. package/docs/enums/PointType.html +6 -6
  41. package/docs/enums/Rotation.html +7 -7
  42. package/docs/functions/AreaMakerPlugin.html +4 -4
  43. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  44. package/docs/functions/CameraMovementPlugin.html +3 -3
  45. package/docs/functions/CruisePlugin.html +3 -3
  46. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  47. package/docs/functions/GuideLinePlugin.html +4 -4
  48. package/docs/functions/ItemLabelPlugin.html +3 -3
  49. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  50. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  51. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  52. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  53. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  54. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  55. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  56. package/docs/functions/ModelViewPlugin.html +3 -3
  57. package/docs/functions/Object3DHelperPlugin.html +3 -3
  58. package/docs/functions/PanoCompassPlugin.html +3 -3
  59. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  60. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  61. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  62. package/docs/functions/PanoMeasurePlugin.html +3 -3
  63. package/docs/functions/PanoRulerPlugin.html +3 -3
  64. package/docs/functions/PanoRulerProPlugin.html +3 -3
  65. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  66. package/docs/functions/PanoTagPlugin.html +3 -3
  67. package/docs/functions/PanoVideoPlugin.html +3 -3
  68. package/docs/functions/PipelinePlugin.html +3 -3
  69. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  70. package/docs/functions/Util.absoluteUrl.html +4 -4
  71. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  72. package/docs/functions/Util.equal.html +4 -4
  73. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  74. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  75. package/docs/functions/Util.getFrameTime.html +4 -4
  76. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  77. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  78. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  79. package/docs/functions/Util.isModelLike.html +4 -4
  80. package/docs/functions/Util.isNil.html +4 -4
  81. package/docs/functions/Util.isPanoramaLike.html +4 -4
  82. package/docs/functions/Util.nextFrame.html +4 -4
  83. package/docs/functions/Util.notNil.html +4 -4
  84. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  85. package/docs/functions/Util.tweenProgress.html +4 -4
  86. package/docs/functions/Util.uuid.html +4 -4
  87. package/docs/functions/pluginFlag.html +4 -4
  88. package/docs/index.html +4 -4
  89. package/docs/interfaces/AddTagConfig.html +5 -5
  90. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  92. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  93. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  94. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  96. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  99. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  100. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  101. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  102. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  103. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  104. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  105. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  106. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  107. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  108. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  109. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  110. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  111. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  112. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  113. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  114. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  115. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  116. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  117. package/docs/interfaces/EventMap.html +14 -14
  118. package/docs/interfaces/FloorplanBounding.html +7 -7
  119. package/docs/interfaces/FloorplanData.html +9 -9
  120. package/docs/interfaces/FloorplanEntrance.html +10 -10
  121. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  122. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  123. package/docs/interfaces/FloorplanFloorData.html +8 -8
  124. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  125. package/docs/interfaces/FloorplanObserver.html +8 -8
  126. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  127. package/docs/interfaces/FloorplanPosition.html +6 -6
  128. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  129. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  130. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  131. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  132. package/docs/interfaces/FloorplanServerData.html +6 -6
  133. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  134. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  135. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  136. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  137. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  138. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  139. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  140. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  141. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  142. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  143. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  144. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -9
  145. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -12
  146. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -7
  147. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -5
  148. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -12
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +337 -0
  150. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -7
  151. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +29 -17
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -6
  153. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +29 -17
  154. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -4
  155. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -5
  156. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -7
  157. package/docs/interfaces/GuideLinePluginType.Route.html +11 -10
  158. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -8
  159. package/docs/interfaces/HelperOffset.html +7 -7
  160. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  161. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  162. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  163. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  164. package/docs/interfaces/MinMax.html +6 -6
  165. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  166. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  167. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  168. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  169. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  170. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  171. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  172. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  173. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  174. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  175. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  176. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  177. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  178. package/docs/interfaces/Object3DHelperState.html +7 -7
  179. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  180. package/docs/interfaces/PaintBrushAction.html +11 -11
  181. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  182. package/docs/interfaces/PaintBrushState.html +9 -9
  183. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  184. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  185. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  186. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  187. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  188. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  189. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  190. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  191. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  192. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  193. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  194. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  195. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  196. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  197. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  198. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  199. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  200. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  201. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  202. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  203. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  204. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  205. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  206. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  207. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  208. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  209. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  210. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  211. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  212. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  213. package/docs/interfaces/Point.html +7 -7
  214. package/docs/interfaces/Room.html +8 -8
  215. package/docs/interfaces/RoomInfo.html +6 -6
  216. package/docs/interfaces/RoomLabel.html +13 -13
  217. package/docs/interfaces/RoomRules.html +4 -4
  218. package/docs/interfaces/Rooms.html +4 -4
  219. package/docs/interfaces/Scissor.html +8 -8
  220. package/docs/interfaces/State.html +7 -7
  221. package/docs/interfaces/TagCacheInterface.html +11 -11
  222. package/docs/interfaces/TagConfig.html +13 -13
  223. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  224. package/docs/interfaces/TagIconUrl.html +11 -11
  225. package/docs/interfaces/TagObjectGroup.html +5 -5
  226. package/docs/interfaces/TagStyle.html +5 -5
  227. package/docs/interfaces/Tags.html +8 -8
  228. package/docs/interfaces/TemporaryState.html +5 -5
  229. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  230. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  231. package/docs/interfaces/Util.PointIntersection.html +7 -7
  232. package/docs/modules/AreaMakerPluginType.html +4 -4
  233. package/docs/modules/CruisePluginTypes.html +4 -4
  234. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  235. package/docs/modules/GuideLineItem.html +4 -4
  236. package/docs/modules/GuideLineModeItem.html +4 -4
  237. package/docs/modules/GuideLinePluginType.html +6 -4
  238. package/docs/modules/PanoVideoPluginType.html +4 -4
  239. package/docs/modules/Util.html +4 -4
  240. package/docs/modules.html +4 -4
  241. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  242. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  243. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  244. package/docs/types/ArrayPosition.html +4 -4
  245. package/docs/types/AudioAppearance.html +4 -4
  246. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  247. package/docs/types/CSS3DRenderExportType.html +4 -4
  248. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  249. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  250. package/docs/types/ClassFunctionParameters.html +4 -4
  251. package/docs/types/Color.html +4 -4
  252. package/docs/types/ContentTypeConfigKey.html +4 -4
  253. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  254. package/docs/types/ContentTypeMap.html +4 -4
  255. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  256. package/docs/types/Create3DElementReturnType.html +4 -4
  257. package/docs/types/CruisePluginExportType.html +4 -4
  258. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  259. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  260. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  261. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  262. package/docs/types/DeprecatedTagProperty.html +4 -4
  263. package/docs/types/Direction-1.html +4 -4
  264. package/docs/types/Direction4.html +4 -4
  265. package/docs/types/ElementRenderer.html +4 -4
  266. package/docs/types/FloorplanRuleLabels.html +4 -4
  267. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  268. package/docs/types/GuideLinePluginExportType.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -4
  270. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -4
  271. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -4
  272. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
  273. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -4
  274. package/docs/types/GuideLinePluginType.PathItem.html +5 -4
  275. package/docs/types/GuideLinePluginType.PluginData.html +5 -4
  276. package/docs/types/HelperEventMap.html +4 -4
  277. package/docs/types/LoadTagConfig.html +4 -4
  278. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  279. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  280. package/docs/types/MediaData.html +4 -4
  281. package/docs/types/MediaStore.html +4 -4
  282. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  283. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  284. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  285. package/docs/types/ModelId.html +4 -4
  286. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  287. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  288. package/docs/types/MoveArgs.html +4 -4
  289. package/docs/types/MoveOpts.html +4 -4
  290. package/docs/types/Object3DHelperEventMap.html +4 -4
  291. package/docs/types/ObjectFit.html +4 -4
  292. package/docs/types/PaintBrushEventMap.html +4 -4
  293. package/docs/types/PanoCompassPluginData.html +4 -4
  294. package/docs/types/PanoCompassPluginExportType.html +4 -4
  295. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  296. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  297. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  298. package/docs/types/PanoIndex.html +4 -4
  299. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  300. package/docs/types/PanoMeasureReturnType.html +4 -4
  301. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  302. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  303. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  304. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  305. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  306. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  307. package/docs/types/PipelinePluginParameterType.html +4 -4
  308. package/docs/types/PipelinePluginReturnType.html +4 -4
  309. package/docs/types/PlaneTag.html +4 -4
  310. package/docs/types/Point2DTag.html +4 -4
  311. package/docs/types/Point3DTag.html +4 -4
  312. package/docs/types/PointTag.html +4 -4
  313. package/docs/types/PointTagInstance.html +4 -4
  314. package/docs/types/Position.html +4 -4
  315. package/docs/types/RotateArgs.html +4 -4
  316. package/docs/types/RotateOpts.html +4 -4
  317. package/docs/types/RuleLabelsKey.html +4 -4
  318. package/docs/types/RuleLabelsValue.html +4 -4
  319. package/docs/types/StickType.html +4 -4
  320. package/docs/types/Tag.html +4 -4
  321. package/docs/types/Tag2D.html +4 -4
  322. package/docs/types/Tag3D.html +4 -4
  323. package/docs/types/TagConfigByKey.html +4 -4
  324. package/docs/types/TagContentType.html +4 -4
  325. package/docs/types/TagDimensionType.html +4 -4
  326. package/docs/types/TagElement.html +4 -4
  327. package/docs/types/TagEvents.html +4 -4
  328. package/docs/types/TagGLTFObject.html +4 -4
  329. package/docs/types/TagHooks.html +4 -4
  330. package/docs/types/TagId.html +4 -4
  331. package/docs/types/TagInstance.html +4 -4
  332. package/docs/types/TagPointType.html +4 -4
  333. package/docs/types/TagRendererMap.html +4 -4
  334. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  335. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  336. package/docs/types/WorkCode.html +4 -4
  337. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  338. package/docs/variables/PLUGIN.html +4 -4
  339. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  340. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  341. package/docs/variables/defaultGlobalConfig.html +4 -4
  342. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  343. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  344. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  345. package/libs/GuideLinePlugin/Controller.js +36 -36
  346. package/libs/GuideLinePlugin/GuideLineItem/index.js +33 -36
  347. package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -1
  348. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +95 -72
  349. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +10 -1
  350. package/libs/GuideLinePlugin/typing.d.ts +6 -1
  351. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +26 -26
  352. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  353. package/libs/PanoTagPlugin/controller/TagRender.js +48 -48
  354. package/libs/PanoTagPlugin/controller/TagUtil.js +26 -26
  355. package/libs/PanoTagPlugin/controller/index.js +2 -2
  356. package/libs/base/BasePlugin.js +1 -1
  357. package/libs/shared-utils/logger.js +1 -1
  358. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
- var k = Object.defineProperty, w = Object.defineProperties;
2
- var P = Object.getOwnPropertyDescriptors;
3
- var C = Object.getOwnPropertySymbols;
4
- var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
- var v = (n, e, t) => e in n ? k(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, p = (n, e) => {
1
+ var P = Object.defineProperty, V = Object.defineProperties;
2
+ var F = Object.getOwnPropertyDescriptors;
3
+ var k = Object.getOwnPropertySymbols;
4
+ var L = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
+ var b = (n, e, t) => e in n ? P(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, d = (n, e) => {
6
6
  for (var t in e || (e = {}))
7
- F.call(e, t) && v(n, t, e[t]);
8
- if (C)
9
- for (var t of C(e))
10
- L.call(e, t) && v(n, t, e[t]);
7
+ L.call(e, t) && b(n, t, e[t]);
8
+ if (k)
9
+ for (var t of k(e))
10
+ T.call(e, t) && b(n, t, e[t]);
11
11
  return n;
12
- }, c = (n, e) => w(n, P(e));
13
- var i = (n, e, t) => (v(n, typeof e != "symbol" ? e + "" : e, t), t);
14
- import * as l from "three";
15
- import { logWarning as T, logError as V } from "../../shared-utils/log.js";
16
- import { createLineGeometry as U } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as x, isModelLike as _ } from "../../shared-utils/five/mode.js";
12
+ }, p = (n, e) => V(n, F(e));
13
+ var i = (n, e, t) => (b(n, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import * as h from "three";
15
+ import { logWarning as x, logError as U } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as S } from "../utils/createLineGeometry.js";
17
+ import { isPanoramaLike as _, isModelLike as M } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { BetterTween as M, tweenProgress as G } from "../../shared-utils/animationFrame/BetterTween.js";
23
+ import { BetterTween as G, tweenProgress as O } from "../../shared-utils/animationFrame/BetterTween.js";
24
24
  import { loadTexture as E } from "../../shared-utils/three/loadTexture.js";
25
- import y from "../../PanoTagPlugin/controller/index.js";
26
- import O from "../Components/Tag.js";
27
- import { filterAdjacentDistinct as S } from "../utils/index.js";
28
- import { objectAssignDeepExports as A } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
- const B = (
25
+ import w from "../../PanoTagPlugin/controller/index.js";
26
+ import A from "../Components/Tag.js";
27
+ import { filterAdjacentDistinct as B } from "../utils/index.js";
28
+ import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
+ const R = (
30
30
  /* glsl */
31
31
  `
32
32
  varying vec2 vUv;
@@ -36,7 +36,7 @@ const B = (
36
36
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
37
37
  }
38
38
  `
39
- ), I = (
39
+ ), W = (
40
40
  /* glsl */
41
41
  `
42
42
  // 是否使用颜色
@@ -120,15 +120,18 @@ const B = (
120
120
  }
121
121
  `
122
122
  );
123
- class R {
123
+ class N {
124
124
  constructor(e, t) {
125
125
  i(this, "name", "");
126
126
  i(this, "startTagContainer");
127
127
  i(this, "endTagContainer");
128
+ i(this, "path", []);
129
+ i(this, "geometryStyle", {});
130
+ i(this, "materialStyle", {});
131
+ i(this, "meshStyle", {});
128
132
  i(this, "mesh");
129
133
  i(this, "five");
130
134
  i(this, "mode");
131
- i(this, "path", []);
132
135
  i(this, "_curvePath", null);
133
136
  i(this, "_curvePoints", null);
134
137
  i(this, "_panoGroup", []);
@@ -152,10 +155,12 @@ class R {
152
155
  i(this, "plugin");
153
156
  i(this, "textureHasLoaded", !1);
154
157
  i(this, "disposed", !1);
155
- i(this, "flowAnime", new M({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
156
- i(this, "flickerAnime", G(300).yoyo(!0).repeat(5));
158
+ i(this, "flowAnime", new G({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
+ i(this, "flickerAnime", O(300).yoyo(!0).repeat(5));
157
160
  /** 缓存 panoGroup 中每个点距离起点的长度 */
158
161
  i(this, "cacheLengths", []);
162
+ /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
163
+ i(this, "heightOffset", 0);
159
164
  i(this, "dispose", () => {
160
165
  var e, t;
161
166
  this.disposed || (this.disposed = !0, this.parent.hooks.off("show", this.updateVisible), this.parent.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("show", this.updateVisible), this.plugin.hooks.off("hide", this.updateVisible), this.plugin.hooks.off("enable", this.updateVisible), this.plugin.hooks.off("disable", this.updateVisible), this.five.off("modeChange", this.onFiveModeChange), this.five.off("modelShownFloorChange", this.onFiveModelShownFloorChange), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (t = this.endTagContainer) == null || t.plugin.dispose());
@@ -170,7 +175,7 @@ class R {
170
175
  });
171
176
  /** 模型状态变更 */
172
177
  i(this, "onFiveModeChange", (e) => {
173
- this.modeVisible = this.mode === "panorama" ? x(e) : _(e), this.updateVisible();
178
+ this.modeVisible = this.mode === "panorama" ? _(e) : M(e), this.updateVisible();
174
179
  });
175
180
  i(this, "onFiveModelShownFloorChange", (e) => {
176
181
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -185,30 +190,30 @@ class R {
185
190
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
186
191
  });
187
192
  i(this, "onFlickerAnimeUpdate", (e) => {
188
- var r, a, o, d;
193
+ var r, a, o, u;
189
194
  const { progress: t } = e, s = 1 - t;
190
- this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && b(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(c(p({}, this.startTagContainer.tag.data), {
195
+ this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(p(d({}, this.startTagContainer.tag.data), {
191
196
  opacity: s,
192
197
  name: this.name,
193
198
  distance: Math.round((a = (r = this.curvePath) == null ? void 0 : r.getLength()) != null ? a : 0)
194
- }))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((d = this.endTagContainer.app) == null || d.$set(c(p({}, this.endTagContainer.tag.data), { opacity: s })));
199
+ }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((u = this.endTagContainer.app) == null || u.$set(p(d({}, this.endTagContainer.tag.data), { opacity: s })));
195
200
  });
196
- i(this, "logWarning", (e) => T("GuideLineModeItem: ", e));
197
- i(this, "logError", (e) => V("GuideLineModeItem: ", e));
201
+ i(this, "logWarning", (e) => x("GuideLineModeItem: ", e));
202
+ i(this, "logError", (e) => U("GuideLineModeItem: ", e));
198
203
  var a, o;
199
- this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new y(this.five) }, this.endTagContainer = { tag: null, plugin: new y(this.five) };
200
- const s = new l.BufferGeometry(), r = new l.ShaderMaterial({
201
- vertexShader: B,
202
- fragmentShader: I,
204
+ this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new w(this.five) }, this.endTagContainer = { tag: null, plugin: new w(this.five) };
205
+ const s = new h.BufferGeometry(), r = new h.ShaderMaterial({
206
+ vertexShader: R,
207
+ fragmentShader: W,
203
208
  transparent: !0,
204
209
  uniforms: {
205
210
  map: { value: null },
206
211
  useMapColor: { value: 0 },
207
- mapColor: { value: new l.Color() },
212
+ mapColor: { value: new h.Color() },
208
213
  mapOpacity: { value: 1 },
209
- backgroundColor: { value: new l.Color() },
214
+ backgroundColor: { value: new h.Color() },
210
215
  backgroundOpacity: { value: 0 },
211
- borderColor: { value: new l.Color() },
216
+ borderColor: { value: new h.Color() },
212
217
  borderOpacity: { value: 0 },
213
218
  opacity: { value: 1 },
214
219
  flicker: { value: 1 },
@@ -216,7 +221,7 @@ class R {
216
221
  vOffset: { value: 0 }
217
222
  }
218
223
  });
219
- this.mesh = new l.Mesh(s, r), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
224
+ this.mesh = new h.Mesh(s, r), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
220
225
  }
221
226
  get panoGroup() {
222
227
  return this._panoGroup;
@@ -263,7 +268,7 @@ class R {
263
268
  return this.logError("disposed");
264
269
  if (!this.five.work)
265
270
  return this.logError("setPathByPanoGroup: work is not ready");
266
- const s = S(e);
271
+ const s = B(e);
267
272
  if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
268
273
  const a = t.skipPanoGroup ? s.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
269
274
  this.skippedPositions = a;
@@ -273,37 +278,55 @@ class R {
273
278
  }
274
279
  /** 通过路径设置线条形状 */
275
280
  setGeometryByPath(e, t) {
276
- var h, g, f;
281
+ var c, v, C;
277
282
  if (this.disposed)
278
283
  return this.logError("disposed");
279
- const s = (h = t == null ? void 0 : t.scale) != null ? h : this.scale, r = (g = t == null ? void 0 : t.width) != null ? g : this.width, a = (f = t == null ? void 0 : t.unit_length) != null ? f : this.unitLength;
280
- this.path = e, this.scale = s, this.width = r, this.unitLength = a;
281
- const { geometry: o, maxU: d, curvePath: m, curvePoints: u } = U({
284
+ const s = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, r = (v = t == null ? void 0 : t.width) != null ? v : this.width, a = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
+ this.scale = s, this.width = r, this.unitLength = a;
286
+ const { geometry: o, maxU: u, curvePath: g, curvePoints: m } = S({
282
287
  path: e,
283
288
  width: r * s,
284
289
  unitLength: a * s,
285
290
  skipPositions: this.skippedPositions
286
291
  });
287
- this._curvePath = m, this._curvePoints = u, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = d, this.five.needsRender = !0;
292
+ this._curvePath = g, this._curvePoints = m, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = u, this.five.needsRender = !0;
293
+ const l = e, f = d(d({}, this.geometryStyle), t);
294
+ this.path = l, this.geometryStyle = f;
288
295
  }
289
296
  /** 设置线条材质 */
290
297
  setMartial(e) {
291
- var t;
298
+ var s;
292
299
  if (this.disposed)
293
300
  return this.logError("disposed");
294
- (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((t = e == null ? void 0 : e.texture) == null ? void 0 : t.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
301
+ (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((s = e == null ? void 0 : e.texture) == null ? void 0 : s.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
302
+ const t = d(d({}, this.materialStyle), e);
303
+ this.materialStyle = t;
304
+ }
305
+ /** 设置模型状态 */
306
+ setMeshStyle(e) {
307
+ if (e != null && e.translate) {
308
+ const s = new h.Vector3(), r = new h.Vector3().fromArray(e.translate);
309
+ s.add(r), s.y += this.heightOffset, this.mesh.position.copy(s);
310
+ }
311
+ const t = d(d({}, this.meshStyle), e);
312
+ this.meshStyle = t;
313
+ }
314
+ /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
315
+ setHeightOffset(e) {
316
+ const t = new h.Vector3();
317
+ this.meshStyle.translate && t.add(new h.Vector3().fromArray(this.meshStyle.translate)), t.setY(t.y + e), this.mesh.position.copy(t), this.heightOffset = e, this.five.needsRender = !0;
295
318
  }
296
319
  /** 设置贴图颜色 */
297
320
  setColor(e) {
298
321
  if (this.disposed)
299
322
  return this.logError("disposed");
300
- e && (this.mesh.material.uniforms.mapColor.value = new l.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
323
+ e && (this.mesh.material.uniforms.mapColor.value = new h.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
301
324
  }
302
325
  /** 设置边框 */
303
326
  setBorderColor(e) {
304
327
  if (this.disposed)
305
328
  return this.logError("disposed");
306
- this.mesh.material.uniforms.borderColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
329
+ this.mesh.material.uniforms.borderColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
307
330
  }
308
331
  /** 设置边框透明度 */
309
332
  setBorderOpacity(e) {
@@ -315,7 +338,7 @@ class R {
315
338
  setBackgroundColor(e) {
316
339
  if (this.disposed)
317
340
  return this.logError("disposed");
318
- this.mesh.material.uniforms.backgroundColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
341
+ this.mesh.material.uniforms.backgroundColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
319
342
  }
320
343
  /** 设置背景透明度 */
321
344
  setBackgroundOpacity(e) {
@@ -340,7 +363,7 @@ class R {
340
363
  if (this.disposed)
341
364
  return this.logError("disposed");
342
365
  this.textureUrl = e, E(e).then((t) => {
343
- this.disposed || this.textureUrl === e && (t.wrapT = l.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
366
+ this.disposed || this.textureUrl === e && (t.wrapT = h.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
344
367
  });
345
368
  }
346
369
  setVisibleFloorIndexes(e) {
@@ -371,34 +394,34 @@ class R {
371
394
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
372
395
  }
373
396
  getPanoGroupLengths() {
374
- var u;
397
+ var m;
375
398
  if (!this.curvePoints || !this.curvePath)
376
399
  return [];
377
- const e = this.panoGroup.map((h) => this.five.work.observers[h]), t = this.curvePoints.length, s = this.curvePath.getLength(), r = t - 1, a = s / r, o = (u = this.curvePath.getLengths(r)) != null ? u : [], d = [];
378
- let m = 0;
379
- for (let h = 0; h < t; h++) {
380
- const g = this.curvePoints[h], f = e[m];
381
- if (!f)
400
+ const e = this.panoGroup.map((l) => this.five.work.observers[l]), t = this.curvePoints.length, s = this.curvePath.getLength(), r = t - 1, a = s / r, o = (m = this.curvePath.getLengths(r)) != null ? m : [], u = [];
401
+ let g = 0;
402
+ for (let l = 0; l < t; l++) {
403
+ const f = this.curvePoints[l], c = e[g];
404
+ if (!c)
382
405
  break;
383
- f.standingPosition.clone().setY(0).distanceTo(g.clone().setY(0)) < a && (d.push(o[h]), m += 1);
406
+ c.standingPosition.clone().setY(0).distanceTo(f.clone().setY(0)) < a && (u.push(o[l]), g += 1);
384
407
  }
385
- return d;
408
+ return u;
386
409
  }
387
410
  setTag(e, t) {
388
411
  const s = this.curvePath, r = e === "start" ? this.startTagContainer : this.endTagContainer;
389
412
  t || r.plugin.clearTags();
390
- const o = A({}, {
413
+ const o = I({}, {
391
414
  contentType: "Custom",
392
415
  stickType: "2DPoint",
393
416
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
394
417
  style: { point: { enabled: !1 } },
395
418
  data: {}
396
419
  }, t);
397
- r.tag = o, b(o) && (r.tag.element = (d) => {
398
- var h, g;
399
- (h = r.app) == null || h.$destroy();
400
- const m = e === "start" ? c(p({}, o.data), { name: this.name, distance: Math.round((g = s.getLength()) != null ? g : 0), i18n: this.plugin.config.i18n }) : o.data, u = new O({ target: d, intro: !0, props: m });
401
- return r.app = u, () => u.$destroy();
420
+ r.tag = o, y(o) && (r.tag.element = (u) => {
421
+ var l, f;
422
+ (l = r.app) == null || l.$destroy();
423
+ const g = e === "start" ? p(d({}, o.data), { name: this.name, distance: Math.round((f = s.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : o.data, m = new A({ target: u, intro: !0, props: g });
424
+ return r.app = m, () => m.$destroy();
402
425
  }), r.plugin.load({ tagList: [r.tag] });
403
426
  }
404
427
  doShow() {
@@ -412,17 +435,17 @@ class R {
412
435
  if (e.length < 2)
413
436
  return [];
414
437
  const a = e.map((o) => t.observers[o]).map((o) => o.standingPosition.toArray());
415
- return [p({ type: "CatmullRomCurve3", points: a }, s)];
438
+ return [d({ type: "CatmullRomCurve3", points: a }, s)];
416
439
  }
417
440
  }
418
- function b(n) {
441
+ function y(n) {
419
442
  return n.contentType === "Custom";
420
443
  }
421
- const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
444
+ const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
422
445
  __proto__: null,
423
- GuideLineModeItem: R
446
+ GuideLineModeItem: N
424
447
  }, Symbol.toStringTag, { value: "Module" }));
425
448
  export {
426
- R as GuideLineModeItem,
427
- ie as GuideLineModeItem$1
449
+ N as GuideLineModeItem,
450
+ se as GuideLineModeItem$1
428
451
  };
@@ -25,10 +25,13 @@ declare class GuideLineModeItem {
25
25
  name: string;
26
26
  startTagContainer: GuideLineTagContainer;
27
27
  endTagContainer: GuideLineTagContainer;
28
+ path: PluginType.PathItem[];
29
+ geometryStyle: PluginType.GuideLineGeometryStyle;
30
+ materialStyle: PluginType.GuideLineMaterialStyle;
31
+ meshStyle: PluginType.GuideLineMeshStyle;
28
32
  readonly mesh: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
29
33
  private five;
30
34
  private mode;
31
- private path;
32
35
  private _curvePath;
33
36
  private _curvePoints;
34
37
  private _panoGroup;
@@ -56,6 +59,8 @@ declare class GuideLineModeItem {
56
59
  private flickerAnime;
57
60
  /** 缓存 panoGroup 中每个点距离起点的长度 */
58
61
  private cacheLengths;
62
+ /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
63
+ private heightOffset;
59
64
  constructor(five: Five, options: {
60
65
  mode: PluginType.GuideLineModeItemMode;
61
66
  plugin: GuideLinePlugin;
@@ -78,6 +83,10 @@ declare class GuideLineModeItem {
78
83
  setGeometryByPath(path: PluginType.PathItem[], options?: PluginType.GuideLineGeometryStyle): void;
79
84
  /** 设置线条材质 */
80
85
  setMartial(options?: PluginType.GuideLineMaterialStyle): void;
86
+ /** 设置模型状态 */
87
+ setMeshStyle(options?: PluginType.GuideLineMeshStyle): void;
88
+ /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
89
+ setHeightOffset(offset: number): void;
81
90
  /** 设置贴图颜色 */
82
91
  setColor(color: null | string): void;
83
92
  /** 设置边框 */
@@ -95,7 +95,12 @@ export interface ModelGuideLineStyle extends GuideLineStyle {
95
95
  end_tag?: ModelGuideLineTagData;
96
96
  }
97
97
  /** 不同模态下的路线数据 */
98
- export type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle;
98
+ export type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle & GuideLineMeshStyle;
99
+ /** 影响模型的样式 */
100
+ export interface GuideLineMeshStyle {
101
+ /** 三维偏移值: [x, y, z] */
102
+ translate?: number[];
103
+ }
99
104
  /** 影响形状的样式 */
100
105
  export interface GuideLineGeometryStyle {
101
106
  /** scale 之前的路线宽度,默认值是 0.5 */
@@ -1,13 +1,13 @@
1
1
  var Q = Object.defineProperty, V = Object.defineProperties;
2
2
  var X = Object.getOwnPropertyDescriptors;
3
- var D = Object.getOwnPropertySymbols;
3
+ var E = Object.getOwnPropertySymbols;
4
4
  var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
- var E = (e, i, o) => i in e ? Q(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o, C = (e, i) => {
5
+ var F = (e, i, o) => i in e ? Q(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o, C = (e, i) => {
6
6
  for (var o in i || (i = {}))
7
- Y.call(i, o) && E(e, o, i[o]);
8
- if (D)
9
- for (var o of D(i))
10
- Z.call(i, o) && E(e, o, i[o]);
7
+ Y.call(i, o) && F(e, o, i[o]);
8
+ if (E)
9
+ for (var o of E(i))
10
+ Z.call(i, o) && F(e, o, i[o]);
11
11
  return e;
12
12
  }, L = (e, i) => V(e, X(i));
13
13
  var K = (e, i, o) => new Promise((t, n) => {
@@ -26,7 +26,7 @@ var K = (e, i, o) => new Promise((t, n) => {
26
26
  }, u = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(r, m);
27
27
  u((o = o.apply(e, i)).next());
28
28
  });
29
- import { SvelteComponent as $, init as x, safe_not_equal as ee, append_styles as ie, empty as N, insert as w, transition_in as _, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ne, onMount as te, element as R, space as oe, attr as p, set_style as c, append as re, group_outros as G, create_component as ae, mount_component as le, destroy_component as ue, handle_promise as q, update_await_block_branch as J, noop as s, src_url_equal as F } from "../../../../vendor/svelte/internal/index.js";
29
+ import { SvelteComponent as $, init as x, safe_not_equal as ee, append_styles as ie, empty as N, insert as w, transition_in as _, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ne, onMount as te, element as R, space as oe, attr as p, set_style as c, append as re, group_outros as G, create_component as ae, mount_component as le, destroy_component as ue, handle_promise as q, update_await_block_branch as J, noop as s, src_url_equal as M } from "../../../../vendor/svelte/internal/index.js";
30
30
  import "three";
31
31
  import { noTypecheck as W } from "../../../utils/noTypecheck.js";
32
32
  import { getKeyframeInfo as se, getImageInfo as fe } from "../../../utils/getImageInfo.js";
@@ -37,13 +37,13 @@ import "../../../../vendor/svelte/easing/index.js";
37
37
  function de(e) {
38
38
  ie(e, "svelte-316sq3", "@keyframes svelte-316sq3-sprites-animation{0%{background-position:0 0}100%{background-position:100% 0}}.icon-image.svelte-316sq3{display:block;width:auto}.icon-keyframe.svelte-316sq3{background-repeat:no-repeat;background-size:auto 100%;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-316sq3-sprites-animation;animation-delay:0}");
39
39
  }
40
- function M(e) {
40
+ function T(e) {
41
41
  e[1] = e[19].width;
42
42
  }
43
- function T(e) {
43
+ function U(e) {
44
44
  e[1] = e[19].width, e[16] = e[19].height, e[17] = e[19].steps, e[18] = e[19].duration;
45
45
  }
46
- function U(e) {
46
+ function j(e) {
47
47
  let i, o, t, n = (
48
48
  /*shadow*/
49
49
  e[0] && A()
@@ -237,11 +237,11 @@ function _e(e) {
237
237
  return { c: s, m: s, p: s, d: s };
238
238
  }
239
239
  function pe(e) {
240
- M(e);
240
+ T(e);
241
241
  let i, o;
242
242
  return {
243
243
  c() {
244
- i = R("img"), p(i, "alt", "tag-icon"), p(i, "class", "icon-image svelte-316sq3"), F(i.src, o = /*iconUrl*/
244
+ i = R("img"), p(i, "alt", "tag-icon"), p(i, "class", "icon-image svelte-316sq3"), M(i.src, o = /*iconUrl*/
245
245
  e[7]) || p(i, "src", o), c(i, "width", g(k({
246
246
  originWidth: (
247
247
  /*width*/
@@ -261,8 +261,8 @@ function pe(e) {
261
261
  w(t, i, n);
262
262
  },
263
263
  p(t, n) {
264
- M(t), n & /*iconUrl*/
265
- 128 && !F(i.src, o = /*iconUrl*/
264
+ T(t), n & /*iconUrl*/
265
+ 128 && !M(i.src, o = /*iconUrl*/
266
266
  t[7]) && p(i, "src", o), n & /*iconUrl, iconRatio, iconScale, iconWidth*/
267
267
  184 && c(i, "width", g(k({
268
268
  originWidth: (
@@ -291,10 +291,10 @@ function ke(e) {
291
291
  return { c: s, m: s, p: s, d: s };
292
292
  }
293
293
  function we(e) {
294
- T(e);
294
+ U(e);
295
295
  let i, o = `url(${/*iconUrl*/
296
296
  e[7]})`, t = `steps(${/*steps*/
297
- e[17]}, jump-none)`;
297
+ e[17] - 1})`;
298
298
  return {
299
299
  c() {
300
300
  i = R("div"), p(i, "class", "icon-keyframe svelte-316sq3"), c(i, "width", g(k({
@@ -342,7 +342,7 @@ function we(e) {
342
342
  w(n, i, r);
343
343
  },
344
344
  p(n, r) {
345
- T(n), r & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
345
+ U(n), r & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
346
346
  252 && c(i, "width", g(k({
347
347
  originWidth: (
348
348
  /*width*/
@@ -388,7 +388,7 @@ function we(e) {
388
388
  n[18]
389
389
  ), r & /*iconUrl, iconSteps, iconFps, iconRatio*/
390
390
  228 && t !== (t = `steps(${/*steps*/
391
- n[17]}, jump-none)`) && c(i, "animation-timing-function", t);
391
+ n[17] - 1})`) && c(i, "animation-timing-function", t);
392
392
  },
393
393
  d(n) {
394
394
  n && b(i);
@@ -401,7 +401,7 @@ function be(e) {
401
401
  function ye(e) {
402
402
  let i, o, t = (
403
403
  /*iconCopy*/
404
- e[9] && U(e)
404
+ e[9] && j(e)
405
405
  );
406
406
  return {
407
407
  c() {
@@ -413,7 +413,7 @@ function ye(e) {
413
413
  p(n, [r]) {
414
414
  /*iconCopy*/
415
415
  n[9] ? t ? (t.p(n, r), r & /*iconCopy*/
416
- 512 && _(t, 1)) : (t = U(n), t.c(), _(t, 1), t.m(i.parentNode, i)) : t && (G(), y(t, 1, 1, () => {
416
+ 512 && _(t, 1)) : (t = j(n), t.c(), _(t, 1), t.m(i.parentNode, i)) : t && (G(), y(t, 1, 1, () => {
417
417
  t = null;
418
418
  }), B());
419
419
  },
@@ -433,7 +433,7 @@ function k(e) {
433
433
  return L(C({}, e), { width: r, height: m });
434
434
  }
435
435
  function We(e, i, o) {
436
- let t, n, r, m, u, a, d, v, I, { width: H = null } = i, { icon: l = null } = i, { shadow: j = !1 } = i;
436
+ let t, n, r, m, u, a, d, v, I, { width: H = null } = i, { icon: l = null } = i, { shadow: z = !1 } = i;
437
437
  const S = ne();
438
438
  function O(f) {
439
439
  return K(this, null, function* () {
@@ -449,13 +449,13 @@ function We(e, i, o) {
449
449
  return S("iconLoaded", h), h;
450
450
  });
451
451
  }
452
- function z() {
452
+ function D() {
453
453
  v || S("iconLoaded");
454
454
  }
455
455
  return te(() => {
456
- z();
456
+ D();
457
457
  }), e.$$set = (f) => {
458
- "width" in f && o(1, H = f.width), "icon" in f && o(12, l = f.icon), "shadow" in f && o(0, j = f.shadow);
458
+ "width" in f && o(1, H = f.width), "icon" in f && o(12, l = f.icon), "shadow" in f && o(0, z = f.shadow);
459
459
  }, e.$$.update = () => {
460
460
  var f, h;
461
461
  e.$$.dirty & /*icon*/
@@ -475,8 +475,8 @@ function We(e, i, o) {
475
475
  })), e.$$.dirty & /*iconSteps*/
476
476
  4 && o(8, v = n > 1), e.$$.dirty & /*width*/
477
477
  2 && (I = H);
478
- }, z(), [
479
- j,
478
+ }, D(), [
479
+ z,
480
480
  H,
481
481
  n,
482
482
  a,
@@ -79,7 +79,7 @@ class Je extends N {
79
79
  {
80
80
  const s = [], u = (() => {
81
81
  var r, c, v;
82
- const o = (r = e.config.visibleConfig) != null ? r : {};
82
+ const o = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
83
83
  if (typeof o == "function")
84
84
  return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
85
85
  if (o.keep === "hidden")