@realsee/dnalogel 2.6.2 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +3 -3
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +6 -6
  3. package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +4 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +1 -2
  6. package/dist/index.cjs.js +2 -2
  7. package/dist/index.js +57 -28
  8. package/dist/index.umd.js +2 -2
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/CSS3DRender.html +31 -31
  11. package/docs/classes/CruisePluginController.html +24 -24
  12. package/docs/classes/Magnifier.html +20 -20
  13. package/docs/classes/ModelRoomLabelController.html +11 -11
  14. package/docs/classes/Object3DHelperController.html +24 -24
  15. package/docs/classes/PaintBrush.html +15 -15
  16. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  17. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  18. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  19. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  20. package/docs/classes/PanoTagPluginController.html +43 -43
  21. package/docs/classes/Util.BetterTween.html +8 -8
  22. package/docs/classes/Util.FivePointSelector.html +12 -12
  23. package/docs/classes/Util.Interval.html +12 -12
  24. package/docs/classes/Util.Magnifier.html +17 -17
  25. package/docs/classes/Util.PointDomHelper.html +11 -11
  26. package/docs/classes/Util.PointHelper.html +11 -11
  27. package/docs/classes/Util.Rectangle.html +13 -13
  28. package/docs/enums/CameraMovementEffect.html +7 -7
  29. package/docs/enums/ContentType.html +52 -56
  30. package/docs/enums/DIRECTION.html +9 -9
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  32. package/docs/enums/DimensionType.html +7 -7
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  35. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  36. package/docs/enums/PointType.html +7 -7
  37. package/docs/enums/Rotation.html +8 -8
  38. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  39. package/docs/functions/CameraMovementPlugin.html +5 -5
  40. package/docs/functions/CruisePlugin.html +5 -5
  41. package/docs/functions/GuideLinePlugin.html +6 -6
  42. package/docs/functions/ItemLabelPlugin.html +5 -5
  43. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  44. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  46. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  47. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  48. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  49. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  50. package/docs/functions/ModelViewPlugin.html +5 -5
  51. package/docs/functions/Object3DHelperPlugin.html +5 -5
  52. package/docs/functions/PanoCompassPlugin.html +5 -5
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  54. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  56. package/docs/functions/PanoMeasurePlugin.html +5 -5
  57. package/docs/functions/PanoRulerPlugin.html +5 -5
  58. package/docs/functions/PanoRulerProPlugin.html +5 -5
  59. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  60. package/docs/functions/PanoTagPlugin.html +5 -5
  61. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  62. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  63. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  64. package/docs/functions/Util.getFrameTime.html +5 -5
  65. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  66. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  67. package/docs/functions/Util.isNil.html +5 -5
  68. package/docs/functions/Util.nextFrame.html +5 -5
  69. package/docs/functions/Util.notNil.html +5 -5
  70. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  71. package/docs/functions/Util.tweenProgress.html +5 -5
  72. package/docs/functions/pluginFlag.html +6 -6
  73. package/docs/index.html +5 -5
  74. package/docs/interfaces/AddTagConfig.html +6 -6
  75. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  76. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  77. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  78. package/docs/interfaces/EventMap.html +15 -15
  79. package/docs/interfaces/FloorplanBounding.html +8 -8
  80. package/docs/interfaces/FloorplanData.html +10 -10
  81. package/docs/interfaces/FloorplanEntrance.html +11 -11
  82. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  83. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  84. package/docs/interfaces/FloorplanFloorData.html +9 -9
  85. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  86. package/docs/interfaces/FloorplanObserver.html +9 -9
  87. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  88. package/docs/interfaces/FloorplanPosition.html +7 -7
  89. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  90. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  91. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  92. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  93. package/docs/interfaces/FloorplanServerData.html +7 -7
  94. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  95. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  96. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  97. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  98. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  99. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  100. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  101. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  102. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  103. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  104. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  105. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  106. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  107. package/docs/interfaces/MinMax.html +7 -7
  108. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  109. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  110. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  111. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  112. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  113. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  114. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  115. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  116. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  117. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  118. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  119. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  120. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  121. package/docs/interfaces/Object3DHelperState.html +8 -8
  122. package/docs/interfaces/PaintBrushAction.html +12 -12
  123. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  124. package/docs/interfaces/PaintBrushState.html +10 -10
  125. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  126. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -6
  127. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  128. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  129. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  130. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  131. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  132. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  133. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  134. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  135. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  136. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  137. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  138. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  139. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -6
  140. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -6
  141. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  142. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  145. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  146. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  148. package/docs/interfaces/Point.html +8 -8
  149. package/docs/interfaces/Room.html +9 -9
  150. package/docs/interfaces/RoomInfo.html +7 -7
  151. package/docs/interfaces/RoomLabel.html +14 -14
  152. package/docs/interfaces/RoomRules.html +6 -6
  153. package/docs/interfaces/Rooms.html +6 -6
  154. package/docs/interfaces/Scissor.html +9 -9
  155. package/docs/interfaces/State.html +8 -8
  156. package/docs/interfaces/TagCache.html +26 -12
  157. package/docs/interfaces/TagConfig.html +10 -10
  158. package/docs/interfaces/TagIconUrl.html +9 -9
  159. package/docs/interfaces/Tags.html +9 -9
  160. package/docs/interfaces/TemporaryState.html +6 -6
  161. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  162. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  163. package/docs/modules/Util.html +5 -5
  164. package/docs/modules.html +6 -6
  165. package/docs/types/ArrayPosition.html +6 -6
  166. package/docs/types/AudioAppearance.html +6 -6
  167. package/docs/types/AudioTagTypeConfigKey.html +6 -6
  168. package/docs/types/CSS3DRenderExportType.html +6 -6
  169. package/docs/types/CSS3DRenderPluginExportType.html +6 -6
  170. package/docs/types/CSS3DRenderPluginParameterType.html +6 -6
  171. package/docs/types/Color.html +6 -6
  172. package/docs/types/ContentTypeConfigKey.html +6 -6
  173. package/docs/types/ContentTypeConfigKeySplit.html +6 -6
  174. package/docs/types/ContentTypeMap.html +6 -6
  175. package/docs/types/Create3DDomContainerReturnType.html +6 -6
  176. package/docs/types/Create3DElementReturnType.html +6 -6
  177. package/docs/types/CruisePluginExportType.html +6 -6
  178. package/docs/types/Direction-1.html +6 -6
  179. package/docs/types/Direction4.html +6 -6
  180. package/docs/types/FloorplanRuleLabels.html +6 -6
  181. package/docs/types/FloorplanServerRuleLabels.html +6 -6
  182. package/docs/types/GuideLinePluginExportType.html +6 -6
  183. package/docs/types/HelperEventMap.html +6 -6
  184. package/docs/types/LoadTagConfig.html +6 -6
  185. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -6
  186. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -6
  187. package/docs/types/MediaData.html +6 -6
  188. package/docs/types/MediaStore.html +6 -6
  189. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  190. package/docs/types/ModelFloorplanPluginParameterType.html +6 -6
  191. package/docs/types/ModelFloorplanPluginReturnType.html +6 -6
  192. package/docs/types/ModelRoomLabelPluginParameters.html +6 -6
  193. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -6
  194. package/docs/types/MoveArgs.html +6 -6
  195. package/docs/types/MoveOpts.html +6 -6
  196. package/docs/types/Object3DHelperEventMap.html +6 -6
  197. package/docs/types/ObjectFit.html +6 -6
  198. package/docs/types/PaintBrushEventMap.html +6 -6
  199. package/docs/types/PanoCompassPluginData.html +6 -6
  200. package/docs/types/PanoCompassPluginExportType.html +6 -6
  201. package/docs/types/PanoCompassPluginParameterType.html +6 -6
  202. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -6
  203. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -6
  204. package/docs/types/PanoIndex.html +6 -6
  205. package/docs/types/PanoMeasurePluginEvent.html +6 -6
  206. package/docs/types/PanoMeasureReturnType.html +6 -6
  207. package/docs/types/PanoSpatialTagPluginId.html +6 -6
  208. package/docs/types/PanoTagPluginExportInterface.html +6 -6
  209. package/docs/types/PanoTagPluginParamsInterface.html +6 -6
  210. package/docs/types/PlaneTag.html +6 -6
  211. package/docs/types/PlaneTagElement.html +6 -6
  212. package/docs/types/Point2DElement.html +6 -6
  213. package/docs/types/Point2DTag.html +6 -6
  214. package/docs/types/Point3DElement.html +6 -6
  215. package/docs/types/Point3DTag.html +6 -6
  216. package/docs/types/PointTag.html +6 -6
  217. package/docs/types/PointTagElement.html +6 -6
  218. package/docs/types/Position.html +6 -6
  219. package/docs/types/RotateArgs.html +6 -6
  220. package/docs/types/RotateOpts.html +6 -6
  221. package/docs/types/RuleLabelsKey.html +6 -6
  222. package/docs/types/RuleLabelsValue.html +6 -6
  223. package/docs/types/StickType.html +6 -6
  224. package/docs/types/Tag.html +6 -6
  225. package/docs/types/Tag2D.html +6 -6
  226. package/docs/types/Tag3D.html +6 -6
  227. package/docs/types/TagContentType.html +6 -6
  228. package/docs/types/TagDimensionType.html +6 -6
  229. package/docs/types/TagElement.html +6 -6
  230. package/docs/types/TagEvents.html +6 -6
  231. package/docs/types/TagHooks.html +6 -6
  232. package/docs/types/TagIconSize.html +6 -6
  233. package/docs/types/TagId.html +6 -6
  234. package/docs/types/TagPointType.html +6 -6
  235. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -6
  236. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -6
  237. package/docs/types/WorkCode.html +6 -6
  238. package/docs/variables/FLOOR_TYPE_MAP.html +6 -6
  239. package/docs/variables/PLUGIN.html +6 -6
  240. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -6
  241. package/docs/variables/ROOM_TYPE_MAP.html +6 -6
  242. package/docs/variables/VERSION.html +6 -6
  243. package/docs/variables/itemLabelPluginServerParams.html +6 -6
  244. package/docs/variables/modelItemLabelPluginServerParams.html +6 -6
  245. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -6
  246. package/libs/GuideLinePlugin/Controller.js +8 -8
  247. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +3 -3
  248. package/libs/PanoTagPlugin/controller/TagCacheController.js +6 -6
  249. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +6 -6
  250. package/libs/PanoTagPlugin/controller/TagComputer.js +159 -130
  251. package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
  252. package/libs/PanoTagPlugin/controller/index.js +1 -1
  253. package/libs/PanoTagPlugin/typings/controller.d.ts +4 -0
  254. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +1 -2
  255. package/package.json +1 -1
@@ -5,14 +5,14 @@ import * as BasePlugin from '../../base/BasePlugin';
5
5
  export declare abstract class TagCacheController extends BasePlugin.Controller<State, EventMap> {
6
6
  private tagCacheByPanoIndex;
7
7
  protected constructor(five: Five);
8
- protected getCaches({ panoIndex }: {
8
+ protected getCache({ panoIndex }: {
9
9
  panoIndex?: number;
10
10
  }): Map<TagId, TagCache>;
11
- protected getCaches({ panoIndex, id }: {
11
+ protected getCache({ panoIndex, id }: {
12
12
  panoIndex?: number;
13
13
  id: TagId;
14
14
  }): TagCache;
15
- protected getCaches({ panoIndex, id, key }: {
15
+ protected getCache({ panoIndex, id, key }: {
16
16
  panoIndex?: number;
17
17
  id: TagId;
18
18
  key: keyof TagCache;
@@ -1,5 +1,5 @@
1
1
  import type { Five } from '@realsee/five';
2
- import type { Tag, Tags, TagConfig, ContentTypeConfigKey, PlaneTag, TagElement, Point2DElement, Point3DElement, PlaneTagElement, PointTagElement, Point3DTag, TagId, StickType, TagContentType } from '../typings';
2
+ import type { Tag, Tags, TagConfig, ContentTypeConfigKey, PlaneTag, TagElement, Point2DElement, Point3DElement, PlaneTagElement, PointTagElement, Point3DTag, TagId } from '../typings';
3
3
  import { TagCacheController } from './TagCacheController';
4
4
  export declare abstract class TagComputer extends TagCacheController {
5
5
  tags: TagElement[];
@@ -10,7 +10,7 @@ export declare abstract class TagComputer extends TagCacheController {
10
10
  protected get isPanorama(): boolean;
11
11
  private raycaster;
12
12
  protected constructor(five: Five);
13
- getTagById(id: TagId): TagElement<TagContentType, StickType>;
13
+ getTagById(id: TagId): TagElement<import("../typings").TagContentType, import("../typings").StickType>;
14
14
  /**
15
15
  * @description: 改变类型配置
16
16
  */
@@ -38,7 +38,7 @@ export declare abstract class TagComputer extends TagCacheController {
38
38
  /**
39
39
  * @description: 获取merge后的配置
40
40
  */
41
- getTagConfig(tag: Tag<any, any>): TagConfig<TagContentType, StickType>;
41
+ getTagConfig(tag: Tag<any, any>): TagConfig<import("../typings").TagContentType, import("../typings").StickType>;
42
42
  protected can(action: 'show' | 'hide' | 'fold' | 'unfold', tag: Tag<any, any>): boolean;
43
43
  protected sort<T extends Tag<any, any>>(tags: T[]): T[];
44
44
  /**
@@ -55,9 +55,9 @@ export declare abstract class TagComputer extends TagCacheController {
55
55
  y: number;
56
56
  z: number;
57
57
  };
58
- protected filterPointTag(): PointTagElement<TagContentType>[];
59
- protected filter2DPointTag(): Point2DElement<TagContentType>[];
60
- protected filter3DPointTag(): Point3DElement<TagContentType>[];
58
+ protected filterPointTag(): PointTagElement<import("../typings").TagContentType>[];
59
+ protected filter2DPointTag(): Point2DElement<import("../typings").TagContentType>[];
60
+ protected filter3DPointTag(): Point3DElement<import("../typings").TagContentType>[];
61
61
  protected filter3DTag(): TagElement<any, "3DPoint" | "Plane">[];
62
62
  protected filterPlaneTag(): PlaneTagElement[];
63
63
  protected updateTagConfig(params?: {
@@ -90,7 +90,7 @@ declare class PanoTagPluginController extends TagComputer {
90
90
  * @description: 改变tag任意属性
91
91
  */
92
92
  changeTagById<C extends TagContentType = any>(id: TagId, tag: PartialDeep<{
93
- [P in keyof Pick<Tag<C>, 'enabled' | 'style' | 'stickType' | 'contentType' | 'data' | 'normal'>]: Tag[P];
93
+ [P in keyof Pick<Tag<C>, 'enabled' | 'style' | 'stickType' | 'contentType' | 'data' | 'normal' | 'config'>]: Tag[P];
94
94
  }>, deepMerge?: boolean): void;
95
95
  /**
96
96
  * @description: 销毁tag
@@ -73,6 +73,10 @@ export interface TagCache {
73
73
  minimumDistanceResult?: boolean;
74
74
  distance?: number;
75
75
  angle?: number;
76
+ __debug_visiblereason__?: {
77
+ value: boolean;
78
+ reason?: string;
79
+ };
76
80
  }
77
81
  export declare type TagElement<C extends TagContentType = TagContentType, S extends StickType = StickType> = Tag<C, S> & Partial<{
78
82
  pointTagStyle: {
@@ -9,7 +9,6 @@ export declare type MediaData = {
9
9
  };
10
10
  declare type Object = Record<string | number | symbol, any>;
11
11
  export declare type ObjectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
12
- /** @deprecated 改用具体的string */
13
12
  export declare enum ContentType {
14
13
  /** 音频标签 */
15
14
  Audio = "Audio",
@@ -129,7 +128,7 @@ interface ContentTypeMapInterface {
129
128
  * @deprecated replaced by objectFit
130
129
  */
131
130
  adaptationMode?: 'stretch' | 'proportional';
132
- /** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
131
+ /** **object-fit** {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
133
132
  objectFit?: ObjectFit;
134
133
  /**
135
134
  * @description 是否开启自动轮播