@realsee/dnalogel 2.16.0-15 → 2.16.0-17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/GuideLinePlugin/GuideLineItem.d.ts +4 -0
  2. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +2 -10
  3. package/dist/GuideLinePlugin/typing.d.ts +13 -6
  4. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  5. package/dist/index.cjs.js +43 -43
  6. package/dist/index.js +1859 -1844
  7. package/dist/index.umd.js +31 -31
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/CSS3DRender.html +32 -31
  10. package/docs/classes/CruisePluginController.html +27 -26
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +52 -16
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +32 -141
  13. package/docs/classes/Magnifier.html +21 -20
  14. package/docs/classes/ModelRoomLabelController.html +12 -11
  15. package/docs/classes/Object3DHelperController.html +26 -25
  16. package/docs/classes/PaintBrush.html +16 -15
  17. package/docs/classes/PanoMeasurePluginLine.html +24 -23
  18. package/docs/classes/PanoMeasurePluginModel.html +23 -22
  19. package/docs/classes/PanoMeasurePluginPoint.html +15 -14
  20. package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
  21. package/docs/classes/PanoTagPluginController.html +50 -159
  22. package/docs/classes/Util.BetterTween.html +10 -9
  23. package/docs/classes/Util.FivePointSelector.html +13 -12
  24. package/docs/classes/Util.Interval.html +13 -12
  25. package/docs/classes/Util.Magnifier.html +18 -17
  26. package/docs/classes/Util.PointDomHelper.html +12 -11
  27. package/docs/classes/Util.PointHelper.html +12 -11
  28. package/docs/classes/Util.Rectangle.html +14 -13
  29. package/docs/enums/CameraMovementEffect.html +8 -7
  30. package/docs/enums/ContentType.html +20 -19
  31. package/docs/enums/DIRECTION.html +10 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  33. package/docs/enums/DimensionType.html +8 -7
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  36. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  37. package/docs/enums/Rotation.html +9 -8
  38. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  39. package/docs/functions/CameraMovementPlugin.html +5 -4
  40. package/docs/functions/CruisePlugin.html +5 -4
  41. package/docs/functions/GuideLinePlugin.html +6 -5
  42. package/docs/functions/ItemLabelPlugin.html +5 -4
  43. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  44. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  46. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  47. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  48. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  49. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  50. package/docs/functions/ModelViewPlugin.html +5 -4
  51. package/docs/functions/Object3DHelperPlugin.html +5 -4
  52. package/docs/functions/PanoCompassPlugin.html +5 -4
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  54. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  56. package/docs/functions/PanoMeasurePlugin.html +5 -4
  57. package/docs/functions/PanoRulerPlugin.html +5 -4
  58. package/docs/functions/PanoRulerProPlugin.html +5 -4
  59. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  60. package/docs/functions/PanoTagPlugin.html +5 -4
  61. package/docs/functions/PanoVideoPlugin.html +5 -4
  62. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  64. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  65. package/docs/functions/Util.getFrameTime.html +6 -5
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  68. package/docs/functions/Util.isAbsoluteURL.html +6 -5
  69. package/docs/functions/Util.isModelLike.html +6 -5
  70. package/docs/functions/Util.isNil.html +6 -5
  71. package/docs/functions/Util.isPanoramaLike.html +6 -5
  72. package/docs/functions/Util.nextFrame.html +6 -5
  73. package/docs/functions/Util.notNil.html +6 -5
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  75. package/docs/functions/Util.tweenProgress.html +6 -5
  76. package/docs/functions/Util.uuid.html +6 -5
  77. package/docs/functions/pluginFlag.html +6 -5
  78. package/docs/index.html +6 -5
  79. package/docs/interfaces/AddTagConfig.html +7 -6
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  81. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  82. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  83. package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
  84. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
  85. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
  86. package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
  87. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
  88. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
  89. package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
  90. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -7
  91. package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -11
  92. package/docs/interfaces/EventMap.html +16 -15
  93. package/docs/interfaces/FloorplanBounding.html +9 -8
  94. package/docs/interfaces/FloorplanData.html +11 -10
  95. package/docs/interfaces/FloorplanEntrance.html +12 -11
  96. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  97. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  98. package/docs/interfaces/FloorplanFloorData.html +10 -9
  99. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  100. package/docs/interfaces/FloorplanObserver.html +10 -9
  101. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  102. package/docs/interfaces/FloorplanPosition.html +8 -7
  103. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  104. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  105. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  106. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  107. package/docs/interfaces/FloorplanServerData.html +8 -7
  108. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  109. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  110. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  111. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  112. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  113. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  114. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  115. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  116. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  117. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  118. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
  119. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
  120. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
  121. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
  122. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
  123. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
  124. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +21 -20
  126. package/docs/interfaces/{GuideLinePluginType.ModelGuideLineTag.html → GuideLinePluginType.ModelGuideLineTagData.html} +15 -139
  127. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -18
  128. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
  129. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
  130. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
  131. package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
  132. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
  133. package/docs/interfaces/HelperOffset.html +9 -8
  134. package/docs/interfaces/ImagePlaneGroup.html +7 -6
  135. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  136. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  137. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  138. package/docs/interfaces/MinMax.html +8 -7
  139. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  140. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  141. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  142. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  143. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  144. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  145. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  146. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  147. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  148. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  149. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  150. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  151. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  152. package/docs/interfaces/Object3DHelperState.html +9 -8
  153. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  154. package/docs/interfaces/PaintBrushAction.html +13 -12
  155. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  156. package/docs/interfaces/PaintBrushState.html +11 -10
  157. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  158. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  159. package/docs/interfaces/PanoMeasureParameterType.html +15 -14
  160. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  161. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  162. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  163. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  164. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  165. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  166. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  167. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  168. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  169. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  170. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  171. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  172. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  173. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  174. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  175. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  176. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  177. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  178. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  179. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  180. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
  181. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
  182. package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
  183. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
  184. package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
  185. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
  186. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
  187. package/docs/interfaces/Point.html +9 -8
  188. package/docs/interfaces/Room.html +10 -9
  189. package/docs/interfaces/RoomInfo.html +8 -7
  190. package/docs/interfaces/RoomLabel.html +15 -14
  191. package/docs/interfaces/RoomRules.html +6 -5
  192. package/docs/interfaces/Rooms.html +6 -5
  193. package/docs/interfaces/Scissor.html +10 -9
  194. package/docs/interfaces/State.html +9 -8
  195. package/docs/interfaces/TagCacheInterface.html +13 -12
  196. package/docs/interfaces/TagConfig.html +12 -11
  197. package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
  198. package/docs/interfaces/TagIconUrl.html +13 -12
  199. package/docs/interfaces/TagObjectGroup.html +7 -6
  200. package/docs/interfaces/TagStyle.html +7 -6
  201. package/docs/interfaces/Tags.html +10 -9
  202. package/docs/interfaces/TemporaryState.html +7 -6
  203. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  204. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  205. package/docs/modules/CruisePluginTypes.html +6 -5
  206. package/docs/modules/GuideLineItem.html +6 -5
  207. package/docs/modules/GuideLineModeItem.html +6 -5
  208. package/docs/modules/GuideLinePluginType.html +8 -6
  209. package/docs/modules/PanoVideoPluginType.html +6 -5
  210. package/docs/modules/Util.html +6 -5
  211. package/docs/modules.html +6 -5
  212. package/docs/types/ArrayPosition.html +6 -5
  213. package/docs/types/AudioAppearance.html +6 -5
  214. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  215. package/docs/types/CSS3DRenderExportType.html +6 -5
  216. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  217. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  218. package/docs/types/ClassFunctionParameters.html +6 -5
  219. package/docs/types/Color.html +6 -5
  220. package/docs/types/ContentTypeConfigKey.html +6 -5
  221. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  222. package/docs/types/ContentTypeMap.html +6 -5
  223. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  224. package/docs/types/Create3DElementReturnType.html +6 -5
  225. package/docs/types/CruisePluginExportType.html +6 -5
  226. package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
  227. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
  228. package/docs/types/Direction-1.html +6 -5
  229. package/docs/types/Direction4.html +6 -5
  230. package/docs/types/FloorplanRuleLabels.html +6 -5
  231. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  232. package/docs/types/GuideLinePluginExportType.html +6 -5
  233. package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -6
  234. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +41 -8
  235. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
  236. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
  237. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +353 -0
  238. package/docs/types/GuideLinePluginType.PathItem.html +6 -5
  239. package/docs/types/GuideLinePluginType.PluginData.html +6 -5
  240. package/docs/types/HelperEventMap.html +6 -5
  241. package/docs/types/LoadTagConfig.html +6 -5
  242. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  243. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  244. package/docs/types/MediaData.html +6 -5
  245. package/docs/types/MediaStore.html +6 -5
  246. package/docs/types/ModelElement.html +6 -5
  247. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  248. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  249. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  250. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  251. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  252. package/docs/types/MoveArgs.html +6 -5
  253. package/docs/types/MoveOpts.html +6 -5
  254. package/docs/types/Object3DHelperEventMap.html +6 -5
  255. package/docs/types/ObjectFit.html +6 -5
  256. package/docs/types/PaintBrushEventMap.html +6 -5
  257. package/docs/types/PanoCompassPluginData.html +6 -5
  258. package/docs/types/PanoCompassPluginExportType.html +6 -5
  259. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  260. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  261. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  262. package/docs/types/PanoIndex.html +6 -5
  263. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  264. package/docs/types/PanoMeasureReturnType.html +6 -5
  265. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  266. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  267. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  268. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  269. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  270. package/docs/types/PlaneTag.html +6 -5
  271. package/docs/types/PlaneTagElement.html +6 -5
  272. package/docs/types/Point2DElement.html +6 -5
  273. package/docs/types/Point2DTag.html +6 -5
  274. package/docs/types/Point3DElement.html +6 -5
  275. package/docs/types/Point3DTag.html +6 -5
  276. package/docs/types/PointTag.html +6 -5
  277. package/docs/types/PointTagElement.html +6 -5
  278. package/docs/types/Position.html +6 -5
  279. package/docs/types/RotateArgs.html +6 -5
  280. package/docs/types/RotateOpts.html +6 -5
  281. package/docs/types/RuleLabelsKey.html +6 -5
  282. package/docs/types/RuleLabelsValue.html +6 -5
  283. package/docs/types/StickType.html +6 -5
  284. package/docs/types/Tag.html +6 -5
  285. package/docs/types/Tag2D.html +6 -5
  286. package/docs/types/Tag3D.html +6 -5
  287. package/docs/types/TagContentType.html +6 -5
  288. package/docs/types/TagDimensionType.html +6 -5
  289. package/docs/types/TagElement.html +6 -5
  290. package/docs/types/TagEvents.html +6 -5
  291. package/docs/types/TagGLTFObject.html +6 -5
  292. package/docs/types/TagHooks.html +6 -5
  293. package/docs/types/TagIconSize.html +6 -5
  294. package/docs/types/TagId.html +6 -5
  295. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  296. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  297. package/docs/types/WorkCode.html +6 -5
  298. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  299. package/docs/variables/PLUGIN.html +6 -5
  300. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  301. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  302. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  303. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  304. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  305. package/libs/GuideLinePlugin/Components/Tag.js +54 -33
  306. package/libs/GuideLinePlugin/GuideLineItem/index.js +67 -57
  307. package/libs/GuideLinePlugin/GuideLineItem.d.ts +4 -0
  308. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +39 -55
  309. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +2 -10
  310. package/libs/GuideLinePlugin/typing.d.ts +13 -6
  311. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  312. package/libs/PanoTagPlugin/controller/TagComputer.js +5 -5
  313. package/libs/base/BasePlugin.js +1 -1
  314. package/libs/index.js +1 -1
  315. package/package.json +1 -1
@@ -16,6 +16,8 @@ declare class GuideLineItem {
16
16
  readonly panoramaItem: GuideLineModeItem;
17
17
  readonly modelItem: GuideLineModeItem;
18
18
  readonly hooks: Subscribe<PluginType.GuideLineItemEventMap>;
19
+ get visible(): boolean;
20
+ private _visible;
19
21
  private plugin;
20
22
  private five;
21
23
  constructor(options: {
@@ -25,6 +27,8 @@ declare class GuideLineItem {
25
27
  });
26
28
  setData(data: PluginType.GuideLineItem): void;
27
29
  setDataByMode(mode: PluginType.GuideLineModeItemMode, data: PluginType.GuideLineItem): void;
30
+ show(): void;
31
+ hide(): void;
28
32
  dispose(): void;
29
33
  walk(options?: CruisePluginTypes.MoveAction): Promise<void>;
30
34
  private logError;
@@ -80,19 +80,11 @@ declare class GuideLineModeItem {
80
80
  setMapOpacity(opacity: number): void;
81
81
  /** 设置贴图 */
82
82
  setTextureUrl(url: string): void;
83
- setStartTag(tag: Tag): void;
84
- setEndTag(tag: Tag): void;
83
+ setStartTag(tag: Tag | PluginType.ModelGuideLineTagData): void;
84
+ setEndTag(tag: Tag | PluginType.ModelGuideLineTagData): void;
85
85
  /** 闪烁 */
86
86
  flicker(): void;
87
87
  private setTag;
88
- /** 当设置 GuideLinePLugin 展示 */
89
- private onPluginShow;
90
- /** 当设置 GuideLinePLugin 隐藏 */
91
- private onPluginHide;
92
- /** 当设置 GuideLinePLugin 开启 */
93
- private onPluginEnable;
94
- /** 当设置 GuideLinePLugin 关闭 */
95
- private onPluginDisable;
96
88
  /** 开始走点动画 */
97
89
  private onWalkAnimationStart;
98
90
  /** 结束走点动画 */
@@ -41,6 +41,12 @@ export interface EventMap extends BasePluginWithData.EventMap<PluginState, Plugi
41
41
  }) => void;
42
42
  }
43
43
  export type GuideLineItemEventMap = {
44
+ show: (options: {
45
+ userAction: boolean;
46
+ }) => void;
47
+ hide: (options: {
48
+ userAction: boolean;
49
+ }) => void;
44
50
  walkStart: (options: {
45
51
  userAction: boolean;
46
52
  }) => void;
@@ -70,7 +76,7 @@ export type GuideLineItem = RequireAtLeastOne<{
70
76
  /** 可展示的楼层 */
71
77
  visible_floor_indexes?: null | number[];
72
78
  /** 点位数组 */
73
- pano_group?: number[];
79
+ pano_group?: null | number[];
74
80
  /** 路径:由多个曲线组合而成的路径,路径为空时,会使用 pano_group 自动创建 */
75
81
  path?: PathItem[];
76
82
  /** 全景态使用的数据 */
@@ -85,8 +91,8 @@ export interface PanoramaGuideLineStyle extends GuideLineStyle {
85
91
  }
86
92
  /** 模型路径样式 */
87
93
  export interface ModelGuideLineStyle extends GuideLineStyle {
88
- start_tag?: ModelGuideLineTag;
89
- end_tag?: ModelGuideLineTag;
94
+ start_tag?: ModelGuideLineTagData;
95
+ end_tag?: ModelGuideLineTagData;
90
96
  }
91
97
  /** 不同模态下的路线数据 */
92
98
  export type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle;
@@ -116,19 +122,20 @@ export interface GuideLineMaterialStyle {
116
122
  /** 透明度 */
117
123
  opacity?: number;
118
124
  /** 贴图 */
119
- texture?: {
125
+ texture?: null | {
120
126
  /** 贴图地址 */
121
127
  url: string;
122
128
  };
123
129
  }
124
- /** 模型路线引导标签 */
125
- export interface ModelGuideLineTag extends Tag<'Custom', '2DPoint'> {
130
+ export interface ModelGuideLineTagData {
126
131
  position: number[];
127
132
  data: {
128
133
  text: string;
129
134
  icon_url: string;
130
135
  };
131
136
  }
137
+ /** 模型路线引导标签 */
138
+ export type ModelGuideLineTag = Tag<'Custom', '2DPoint'> & ModelGuideLineTagData;
132
139
  /** 目前只支持 CatmullRomCurve3 */
133
140
  export type PathItem = CatmullRomCurve3;
134
141
  /** @link https://threejs.org/docs/index.html?q=cu#api/zh/extras/curves/CatmullRomCurve3 */
@@ -24,11 +24,11 @@ export declare abstract class TagComputer extends TagUtil {
24
24
  /**
25
25
  * @description: 获取是否展开
26
26
  */
27
- getUnfoldedByPanoIndex(tag: Tag<any>, panoIndex?: number): boolean;
27
+ getUnfoldedByPanoIndex(tag: TagElement<any>, panoIndex?: number): boolean;
28
28
  /**
29
29
  * @description: 获取是否展开
30
30
  */
31
- getUnfoldedByCamera(tag: Tag<any, any>): boolean;
31
+ getUnfoldedByCamera(tag: TagElement<any, any>): boolean;
32
32
  protected sort<T extends Tag<any, any>>(tags: T[]): T[];
33
33
  /**
34
34
  * @description: 一个点的标签
@@ -41,7 +41,7 @@ export declare abstract class TagComputer extends TagUtil {
41
41
  /**
42
42
  * @description: 一个点的标签
43
43
  */
44
- protected getTagProject(tag: Tag<any, any>): {
44
+ protected getTagProject(tag: TagElement<any, any>): {
45
45
  x: number;
46
46
  y: number;
47
47
  z: number;