@realsee/dnalogel 2.20.0-alpha.0 → 2.20.0-dev.1

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 (333) hide show
  1. package/dist/PanoTagPlugin/Archive/deprecated.d.ts +45 -1
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +2 -48
  3. package/dist/PanoTagPlugin/typings/index.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -5
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +1 -34
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +51 -0
  7. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -11
  8. package/dist/index.cjs.js +5 -5
  9. package/dist/index.js +20 -18
  10. package/dist/index.umd.js +5 -5
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/CSS3DRender.html +4 -4
  13. package/docs/classes/CruisePluginController.html +4 -4
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +4 -4
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +4 -4
  16. package/docs/classes/Magnifier.html +4 -4
  17. package/docs/classes/ModelRoomLabelController.html +4 -4
  18. package/docs/classes/Object3DHelperController.html +4 -4
  19. package/docs/classes/PaintBrush.html +4 -4
  20. package/docs/classes/PanoMeasurePluginLine.html +4 -4
  21. package/docs/classes/PanoMeasurePluginModel.html +4 -4
  22. package/docs/classes/PanoMeasurePluginPoint.html +4 -4
  23. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  24. package/docs/classes/PanoTagPluginController.html +23 -23
  25. package/docs/classes/Util.BetterTween.html +4 -4
  26. package/docs/classes/Util.FivePointSelector.html +4 -4
  27. package/docs/classes/Util.Interval.html +4 -4
  28. package/docs/classes/Util.Magnifier.html +4 -4
  29. package/docs/classes/Util.PointDomHelper.html +4 -4
  30. package/docs/classes/Util.PointHelper.html +4 -4
  31. package/docs/classes/Util.Rectangle.html +4 -4
  32. package/docs/enums/CameraMovementEffect.html +4 -4
  33. package/docs/enums/ContentType.html +20 -20
  34. package/docs/enums/DIRECTION.html +4 -4
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
  36. package/docs/enums/DimensionType.html +7 -7
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
  39. package/docs/enums/PaintBrushTypeEnum.html +4 -4
  40. package/docs/enums/PointType.html +4 -4
  41. package/docs/enums/Rotation.html +4 -4
  42. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  43. package/docs/functions/CameraMovementPlugin.html +4 -4
  44. package/docs/functions/CruisePlugin.html +4 -4
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +4 -4
  47. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  48. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  50. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  51. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  52. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  53. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  54. package/docs/functions/ModelViewPlugin.html +4 -4
  55. package/docs/functions/Object3DHelperPlugin.html +4 -4
  56. package/docs/functions/PanoCompassPlugin.html +4 -4
  57. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  58. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  59. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  60. package/docs/functions/PanoMeasurePlugin.html +4 -4
  61. package/docs/functions/PanoRulerPlugin.html +4 -4
  62. package/docs/functions/PanoRulerProPlugin.html +4 -4
  63. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  64. package/docs/functions/PanoTagPlugin.html +4 -4
  65. package/docs/functions/PanoVideoPlugin.html +4 -4
  66. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  67. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  68. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  69. package/docs/functions/Util.getFrameTime.html +4 -4
  70. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  71. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  72. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  73. package/docs/functions/Util.isModelLike.html +4 -4
  74. package/docs/functions/Util.isNil.html +4 -4
  75. package/docs/functions/Util.isPanoramaLike.html +4 -4
  76. package/docs/functions/Util.nextFrame.html +4 -4
  77. package/docs/functions/Util.notNil.html +4 -4
  78. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  79. package/docs/functions/Util.tweenProgress.html +4 -4
  80. package/docs/functions/Util.uuid.html +4 -4
  81. package/docs/functions/pluginFlag.html +4 -4
  82. package/docs/index.html +5 -5
  83. package/docs/interfaces/AddTagConfig.html +6 -6
  84. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  85. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  86. package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
  87. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  88. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +4 -4
  89. package/docs/interfaces/CruisePluginTypes.EventMap.html +4 -4
  90. package/docs/interfaces/CruisePluginTypes.MoveAction.html +4 -4
  91. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +4 -4
  92. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +4 -4
  93. package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -4
  94. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +4 -4
  95. package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -4
  96. package/docs/interfaces/EventMap.html +15 -15
  97. package/docs/interfaces/FloorplanBounding.html +4 -4
  98. package/docs/interfaces/FloorplanData.html +4 -4
  99. package/docs/interfaces/FloorplanEntrance.html +4 -4
  100. package/docs/interfaces/FloorplanExtraObject.html +4 -4
  101. package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
  102. package/docs/interfaces/FloorplanFloorData.html +4 -4
  103. package/docs/interfaces/FloorplanImagePosition.html +4 -4
  104. package/docs/interfaces/FloorplanObserver.html +4 -4
  105. package/docs/interfaces/FloorplanOutlineItem.html +4 -4
  106. package/docs/interfaces/FloorplanPosition.html +4 -4
  107. package/docs/interfaces/FloorplanRoomItem.html +4 -4
  108. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  109. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  110. package/docs/interfaces/FloorplanServerComputedData.html +4 -4
  111. package/docs/interfaces/FloorplanServerData.html +4 -4
  112. package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
  113. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
  114. package/docs/interfaces/FloorplanServerEntrance.html +4 -4
  115. package/docs/interfaces/FloorplanServerFloorData.html +4 -4
  116. package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
  117. package/docs/interfaces/FloorplanServerObserver.html +4 -4
  118. package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
  119. package/docs/interfaces/FloorplanServerPosition.html +4 -4
  120. package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
  121. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  122. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -4
  123. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +4 -4
  124. package/docs/interfaces/GuideLinePluginType.EventMap.html +4 -4
  125. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +4 -4
  126. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +4 -4
  127. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +4 -4
  128. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +4 -4
  129. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +4 -4
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +4 -4
  132. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  133. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +4 -4
  134. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  135. package/docs/interfaces/GuideLinePluginType.Route.html +4 -4
  136. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +4 -4
  137. package/docs/interfaces/HelperOffset.html +4 -4
  138. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  139. package/docs/interfaces/ItemLabelPluginData.html +4 -4
  140. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
  141. package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
  142. package/docs/interfaces/MinMax.html +4 -4
  143. package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
  144. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
  145. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
  146. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
  147. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
  148. package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
  149. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
  150. package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
  151. package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
  152. package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
  153. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
  154. package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
  155. package/docs/interfaces/ModelViewPluginExportType.html +4 -4
  156. package/docs/interfaces/Object3DHelperState.html +4 -4
  157. package/docs/interfaces/ObjectHelperControllers.html +4 -4
  158. package/docs/interfaces/PaintBrushAction.html +4 -4
  159. package/docs/interfaces/PaintBrushConfigs.html +4 -4
  160. package/docs/interfaces/PaintBrushState.html +4 -4
  161. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
  162. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  163. package/docs/interfaces/PanoMeasureParameterType.html +4 -4
  164. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -4
  165. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -4
  166. package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -4
  167. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  168. package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
  169. package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
  170. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
  171. package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
  172. package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
  173. package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
  174. package/docs/interfaces/PanoRulerProPluginState.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  176. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  177. package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
  178. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
  179. package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
  180. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
  181. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
  182. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
  183. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
  184. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -4
  185. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -4
  186. package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -4
  187. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -4
  188. package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -4
  189. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -4
  190. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -4
  191. package/docs/interfaces/Point.html +4 -4
  192. package/docs/interfaces/Room.html +4 -4
  193. package/docs/interfaces/RoomInfo.html +4 -4
  194. package/docs/interfaces/RoomLabel.html +4 -4
  195. package/docs/interfaces/RoomRules.html +4 -4
  196. package/docs/interfaces/Rooms.html +4 -4
  197. package/docs/interfaces/Scissor.html +4 -4
  198. package/docs/interfaces/State.html +5 -5
  199. package/docs/interfaces/TagCacheInterface.html +12 -12
  200. package/docs/interfaces/TagConfig.html +14 -14
  201. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  202. package/docs/interfaces/TagIconUrl.html +12 -12
  203. package/docs/interfaces/TagObjectGroup.html +6 -6
  204. package/docs/interfaces/TagStyle.html +6 -6
  205. package/docs/interfaces/Tags.html +4 -4
  206. package/docs/interfaces/TemporaryState.html +6 -6
  207. package/docs/interfaces/Util.MagnifierParameter.html +4 -4
  208. package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
  209. package/docs/modules/CruisePluginTypes.html +4 -4
  210. package/docs/modules/GuideLineItem.html +4 -4
  211. package/docs/modules/GuideLineModeItem.html +4 -4
  212. package/docs/modules/GuideLinePluginType.html +4 -4
  213. package/docs/modules/PanoVideoPluginType.html +4 -4
  214. package/docs/modules/Util.html +4 -4
  215. package/docs/modules.html +6 -6
  216. package/docs/types/ArrayPosition.html +4 -4
  217. package/docs/types/AudioAppearance.html +5 -5
  218. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  219. package/docs/types/CSS3DRenderExportType.html +4 -4
  220. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  221. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  222. package/docs/types/ClassFunctionParameters.html +4 -4
  223. package/docs/types/Color.html +4 -4
  224. package/docs/types/ContentTypeConfigKey.html +5 -5
  225. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  226. package/docs/types/ContentTypeMap.html +5 -5
  227. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  228. package/docs/types/Create3DElementReturnType.html +4 -4
  229. package/docs/types/CruisePluginExportType.html +4 -4
  230. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  231. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  232. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
  233. package/docs/types/DeprecatedTagProperty.html +5 -5
  234. package/docs/types/Direction-1.html +4 -4
  235. package/docs/types/Direction4.html +4 -4
  236. package/docs/types/ElementRenderer.html +5 -5
  237. package/docs/types/FloorplanRuleLabels.html +4 -4
  238. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  239. package/docs/types/GuideLinePluginExportType.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  243. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  244. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  245. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  246. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  247. package/docs/types/HelperEventMap.html +4 -4
  248. package/docs/types/LoadTagConfig.html +5 -5
  249. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  250. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  251. package/docs/types/MediaData.html +4 -4
  252. package/docs/types/MediaStore.html +5 -5
  253. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  254. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  255. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  256. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  257. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  258. package/docs/types/MoveArgs.html +4 -4
  259. package/docs/types/MoveOpts.html +4 -4
  260. package/docs/types/Object3DHelperEventMap.html +4 -4
  261. package/docs/types/ObjectFit.html +4 -4
  262. package/docs/types/PaintBrushEventMap.html +4 -4
  263. package/docs/types/PanoCompassPluginData.html +4 -4
  264. package/docs/types/PanoCompassPluginExportType.html +4 -4
  265. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  266. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  267. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  268. package/docs/types/PanoIndex.html +4 -4
  269. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  270. package/docs/types/PanoMeasureReturnType.html +4 -4
  271. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  272. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  273. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  274. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  275. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  276. package/docs/types/PartialObjectDeep.html +4 -4
  277. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
  278. package/docs/types/PlaneTag.html +5 -5
  279. package/docs/types/Point2DTag.html +5 -5
  280. package/docs/types/Point3DTag.html +5 -5
  281. package/docs/types/PointTag.html +5 -5
  282. package/docs/types/PointTagInstance.html +5 -5
  283. package/docs/types/Position.html +4 -4
  284. package/docs/types/RotateArgs.html +4 -4
  285. package/docs/types/RotateOpts.html +4 -4
  286. package/docs/types/RuleLabelsKey.html +4 -4
  287. package/docs/types/RuleLabelsValue.html +4 -4
  288. package/docs/types/StickType.html +5 -5
  289. package/docs/types/Tag.html +4 -4
  290. package/docs/types/Tag2D.html +5 -5
  291. package/docs/types/Tag3D.html +5 -5
  292. package/docs/types/TagContentType.html +5 -5
  293. package/docs/types/TagDimensionType.html +8 -6
  294. package/docs/types/TagElement.html +5 -5
  295. package/docs/types/TagEvents.html +5 -5
  296. package/docs/types/TagGLTFObject.html +5 -5
  297. package/docs/types/TagHooks.html +5 -5
  298. package/docs/types/TagIconSize.html +5 -5
  299. package/docs/types/TagId.html +4 -4
  300. package/docs/types/TagInstance.html +6 -6
  301. package/docs/types/TagPointType.html +5 -5
  302. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  303. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  304. package/docs/types/WorkCode.html +4 -4
  305. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  306. package/docs/variables/PLUGIN.html +4 -4
  307. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  308. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  309. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  310. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  311. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  312. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +45 -1
  313. package/libs/PanoTagPlugin/Archive/deprecated.js +4 -2
  314. package/libs/PanoTagPlugin/Components/Tag/index.js +21 -21
  315. package/libs/PanoTagPlugin/Components/TagItem.js +31 -31
  316. package/libs/PanoTagPlugin/controller/TagRender.js +32 -32
  317. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  318. package/libs/PanoTagPlugin/controller/index.js +36 -34
  319. package/libs/PanoTagPlugin/index.js +11 -13
  320. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -48
  321. package/libs/PanoTagPlugin/typings/index.d.ts +1 -0
  322. package/libs/PanoTagPlugin/typings/index.js +3 -5
  323. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -5
  324. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +1 -34
  325. package/libs/PanoTagPlugin/typings/tag/TagData.js +1 -4
  326. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +51 -0
  327. package/libs/PanoTagPlugin/typings/tag/TagInstance.js +1 -0
  328. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -11
  329. package/libs/PanoTagPlugin/typings/tag/Utils.js +1 -4
  330. package/libs/base/BasePlugin.js +3 -3
  331. package/libs/index.js +13 -15
  332. package/libs/shared-utils/logger.js +1 -1
  333. package/package.json +2 -2
@@ -1,9 +1,49 @@
1
- import type { StickType, TagContentType, TagInstance } from '../typings';
1
+ import type { StickType, TagContentType, TagInstance, Point2DTag, Point3DTag } from '../typings';
2
2
  /** @deprecated 改用具体的string */
3
3
  export declare enum PointType {
4
4
  PointTag = "PointTag",
5
5
  PlaneTag = "PlaneTag"
6
6
  }
7
+ /** @deprecated Use {@link TagContentType} instead */
8
+ export declare enum ContentType {
9
+ /** 音频标签 */
10
+ Audio = "Audio",
11
+ /** 文本标签 */
12
+ Text = "Text",
13
+ /** 图文标签 */
14
+ ImageText = "ImageText",
15
+ /** 图片标签, 可用 ImageText 代替 */
16
+ Image = "Image",
17
+ /** 视频标签,可用 ImageText 代替 */
18
+ Video = "Video",
19
+ /** VR跳转标签 */
20
+ Link = "Link",
21
+ /** 贴纸标签 */
22
+ Sticker = "Sticker",
23
+ /** VR跳转标签 */
24
+ VRLink = "VRLink",
25
+ /** 全景跳转标签 */
26
+ PanoLink = "PanoLink",
27
+ /** 营销标签 */
28
+ Marketing = "Marketing",
29
+ /** 图片视频贴片 */
30
+ MediaPlane = "MediaPlane",
31
+ /** 带有多媒体的模型 */
32
+ MediaModel = "MediaModel",
33
+ /** 模型 */
34
+ Model = "Model",
35
+ /** 其他/自定义标签 */
36
+ Custom = "Custom",
37
+ /** Unknown */
38
+ Unknown = "Unknown"
39
+ }
40
+ /** @deprecated 改用具体的string */
41
+ export declare enum DimensionType {
42
+ Two = "2D",
43
+ Three = "3D"
44
+ }
45
+ /** @deprecated */
46
+ export type TagDimensionType = '2D' | '3D';
7
47
  /** @deprecated 改用 stickType */
8
48
  export type TagPointType = keyof typeof PointType;
9
49
  /** @deprecated */
@@ -23,3 +63,7 @@ export type DeprecatedMediaPlaneProperty = {
23
63
  };
24
64
  /** @deprecated Use {@link TagInstance} instead */
25
65
  export type TagElement<C extends TagContentType = TagContentType, S extends StickType = StickType> = TagInstance<C, S>;
66
+ /** @deprecated 'Tag2D' replaced by pointType: 'Point2DTag' */
67
+ export type Tag2D<C extends TagContentType = TagContentType> = Point2DTag<C>;
68
+ /** @deprecated 'Tag3D' replaced by pointType: 'Point3DTag' */
69
+ export type Tag3D<C extends TagContentType = TagContentType> = Point3DTag<C>;
@@ -1,15 +1,8 @@
1
- import type { PanoTagPluginController, TagConfig } from '../index';
1
+ import type { PanoTagPluginController, TagInstance } from '../index';
2
2
  import type * as BasePlugin from '../../base/BasePlugin';
3
- import type TagContentSvelte from '../Components/Tag/index.svelte';
4
- import type { Vector3 } from 'three';
5
- import type { Create3DDomContainerReturnType } from '../../CSS3DRenderPlugin';
6
3
  import type { Writable } from 'svelte/store';
7
- import type { Subscribe } from '@realsee/five';
8
- import type { TagId, StickType, TagGLTFObject } from './tag/Utils';
4
+ import type { TagId } from './tag/Utils';
9
5
  import type { TagContentType } from './tag/TagData';
10
- import type { Tag } from './tag/Tag';
11
- import type { ImagePlane, VideoPlane } from '../utils/model/mediaPlane';
12
- type NonNullable<T> = T extends null | undefined | void ? never : T;
13
6
  export type TagHooks = InstanceType<typeof PanoTagPluginController>['hooks'];
14
7
  export interface State extends BasePlugin.State {
15
8
  }
@@ -82,46 +75,7 @@ export interface TagCacheInterface {
82
75
  reason?: string;
83
76
  };
84
77
  }
85
- export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = Tag<C, S> & Partial<{
86
- screenPosition: {
87
- leftPercent: number;
88
- topPercent: number;
89
- } | null;
90
- temporaryState: {
91
- visible: boolean;
92
- };
93
- tag3DContentSvelte: {
94
- svelteApp: TagContentSvelte;
95
- /** @deprecated rename to css3DInstance */
96
- domContainer: NonNullable<Create3DDomContainerReturnType>;
97
- css3DInstance: NonNullable<Create3DDomContainerReturnType>;
98
- initialNormal: Vector3;
99
- currentNormal: Vector3;
100
- dispose: () => void;
101
- };
102
- mediaPlane: ImagePlane | VideoPlane;
103
- model: {
104
- promise: Promise<TagGLTFObject>;
105
- object?: TagGLTFObject;
106
- };
107
- mediaVisible: boolean;
108
- play: () => void;
109
- pause: () => void;
110
- }> & {
111
- state: {
112
- visible?: boolean;
113
- unfolded: boolean;
114
- };
115
- hooks: Subscribe<TagEvents>;
116
- mergedConfig: TagConfig<C>;
117
- unfold: () => void;
118
- fold: () => void;
119
- enable: () => void;
120
- disable: () => void;
121
- destroy: () => void;
122
- };
123
78
  export type MediaStore = Writable<{
124
79
  currentMediaElement: HTMLMediaElement | null;
125
80
  }>;
126
81
  export type PointTagInstance<C extends TagContentType = TagContentType> = TagInstance<C, '3DPoint' | '2DPoint'>;
127
- export {};
@@ -3,5 +3,6 @@ export * from './tag/Tag';
3
3
  export * from './tag/Utils';
4
4
  export * from './tag/TagData';
5
5
  export * from './tag/TagConfig';
6
+ export * from './tag/TagInstance';
6
7
  export * from '../Archive/deprecated';
7
8
  export type { ContentTypeMap, TagContentType } from './tag/TagData';
@@ -2,11 +2,8 @@ import type { Create3DDomContainerParamsType } from '../../../CSS3DRenderPlugin/
2
2
  import type { Five, Mode } from '@realsee/five';
3
3
  import type { ContentTypeMap, TagContentType } from './TagData';
4
4
  import type { MinMax } from './Utils';
5
- import type { PartialDeep } from 'type-fest';
6
- import type { TagInstance } from '../controller';
7
- type PartialObjectDeep<ObjectType extends object> = {
8
- [KeyType in keyof ObjectType]?: PartialDeep<ObjectType[KeyType]>;
9
- };
5
+ import type { PartialObjectDeep } from './Utils';
6
+ import type { TagInstance } from './TagInstance';
10
7
  type ConfigFunction<C extends TagContentType = TagContentType> = (five: Five, tagState: {
11
8
  tag: TagInstance<C>;
12
9
  /** 标签点或中心点的到摄像机的距离 */
@@ -1,4 +1,4 @@
1
- import type { DeprecatedMediaPlaneProperty } from '../../Archive/deprecated';
1
+ import type { DeprecatedMediaPlaneProperty, ContentType } from '../../Archive/deprecated';
2
2
  import type { Position, TagIconUrl } from './Utils';
3
3
  export type MediaData = {
4
4
  type: 'Image';
@@ -10,39 +10,6 @@ export type MediaData = {
10
10
  };
11
11
  export type ObjectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
12
12
  type Object = Record<string | number | symbol, any>;
13
- /** @deprecated Use {@link TagContentType} instead */
14
- export declare enum ContentType {
15
- /** 音频标签 */
16
- Audio = "Audio",
17
- /** 文本标签 */
18
- Text = "Text",
19
- /** 图文标签 */
20
- ImageText = "ImageText",
21
- /** 图片标签, 可用 ImageText 代替 */
22
- Image = "Image",
23
- /** 视频标签,可用 ImageText 代替 */
24
- Video = "Video",
25
- /** VR跳转标签 */
26
- Link = "Link",
27
- /** 贴纸标签 */
28
- Sticker = "Sticker",
29
- /** VR跳转标签 */
30
- VRLink = "VRLink",
31
- /** 全景跳转标签 */
32
- PanoLink = "PanoLink",
33
- /** 营销标签 */
34
- Marketing = "Marketing",
35
- /** 图片视频贴片 */
36
- MediaPlane = "MediaPlane",
37
- /** 带有多媒体的模型 */
38
- MediaModel = "MediaModel",
39
- /** 模型 */
40
- Model = "Model",
41
- /** 其他/自定义标签 */
42
- Custom = "Custom",
43
- /** Unknown */
44
- Unknown = "Unknown"
45
- }
46
13
  export type TagContentType = keyof typeof ContentType;
47
14
  /**
48
15
  * @description: 标签数据
@@ -0,0 +1,51 @@
1
+ import type { Tag } from './Tag';
2
+ import type TagContentSvelte from '../../Components/Tag/index.svelte';
3
+ import type { TagContentType } from './TagData';
4
+ import type { StickType, TagGLTFObject } from './Utils';
5
+ import type { Create3DDomContainerReturnType } from '../../../CSS3DRenderPlugin';
6
+ import type { Vector3 } from 'three';
7
+ import type { ImagePlane, VideoPlane } from '../../utils/model/mediaPlane';
8
+ import type { TagEvents } from '../controller';
9
+ import type { TagConfig } from './TagConfig';
10
+ import type { Subscribe } from '@realsee/five';
11
+ import type { SetRequired } from 'type-fest';
12
+ type RequiredTag<C extends TagContentType = TagContentType, S extends StickType = StickType> = SetRequired<Tag<C, S>, 'id' | 'data' | 'enabled' | 'config' | 'stickType' | 'contentType'>;
13
+ export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = RequiredTag<C, S> & Partial<{
14
+ screenPosition: {
15
+ leftPercent: number;
16
+ topPercent: number;
17
+ } | null;
18
+ temporaryState: {
19
+ visible: boolean;
20
+ };
21
+ tag3DContentSvelte: {
22
+ svelteApp: TagContentSvelte;
23
+ /** @deprecated rename to css3DInstance */
24
+ domContainer: NonNullable<Create3DDomContainerReturnType>;
25
+ css3DInstance: NonNullable<Create3DDomContainerReturnType>;
26
+ initialNormal: Vector3;
27
+ currentNormal: Vector3;
28
+ dispose: () => void;
29
+ };
30
+ initialConfig: TagConfig<C>;
31
+ mediaPlane: ImagePlane | VideoPlane;
32
+ model: {
33
+ promise: Promise<TagGLTFObject>;
34
+ object?: TagGLTFObject;
35
+ };
36
+ mediaVisible: boolean;
37
+ play: () => void;
38
+ pause: () => void;
39
+ }> & {
40
+ state: {
41
+ visible?: boolean;
42
+ unfolded: boolean;
43
+ };
44
+ hooks: Subscribe<TagEvents>;
45
+ unfold: () => void;
46
+ fold: () => void;
47
+ enable: () => void;
48
+ disable: () => void;
49
+ destroy: () => void;
50
+ };
51
+ export {};
@@ -2,8 +2,8 @@ import type { GLTFObject } from '@realsee/five/gltf-loader';
2
2
  import type { Group } from 'three';
3
3
  import type { TagContentType } from './TagData';
4
4
  import type { ImagePlane } from '../../utils/model/mediaPlane';
5
- import type { TagInstance } from '../controller';
6
5
  import type { PartialDeep } from 'type-fest';
6
+ import type { TagInstance } from './TagInstance';
7
7
  export type TagId = string | number;
8
8
  export type ArrayPosition = number[];
9
9
  export type Position = ArrayPosition;
@@ -16,12 +16,6 @@ export interface MinMax {
16
16
  min?: number;
17
17
  max?: number;
18
18
  }
19
- /** @deprecated 改用具体的string */
20
- export declare enum DimensionType {
21
- Two = "2D",
22
- Three = "3D"
23
- }
24
- export type TagDimensionType = '2D' | '3D';
25
19
  export type StickType = '2DPoint' | '3DPoint' | 'Plane' | 'Model';
26
20
  export interface TagIconUrl {
27
21
  url?: string;
@@ -81,7 +75,3 @@ export type Point2DTag<C extends TagContentType = TagContentType> = TagInstance<
81
75
  export type Point3DTag<C extends TagContentType = TagContentType> = TagInstance<C, '3DPoint'>;
82
76
  /** 三维贴片 */
83
77
  export type PlaneTag<C extends TagContentType = TagContentType> = TagInstance<C, 'Plane'>;
84
- /** @deprecated 'Tag2D' replaced by pointType: 'Point2DTag' */
85
- export type Tag2D<C extends TagContentType = TagContentType> = Point2DTag<C>;
86
- /** @deprecated 'Tag3D' replaced by pointType: 'Point3DTag' */
87
- export type Tag3D<C extends TagContentType = TagContentType> = Point3DTag<C>;