@realsee/dnalogel 2.16.0-14 → 2.16.0-16

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