@realsee/dnalogel 2.20.0-alpha.0 → 2.20.0-alpha.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 (342) 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 +5 -4
  4. package/dist/index.cjs.js +5 -5
  5. package/dist/index.js +20 -18
  6. package/dist/index.umd.js +5 -5
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/CSS3DRender.html +9 -4
  9. package/docs/classes/CruisePluginController.html +9 -4
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +9 -4
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +9 -4
  12. package/docs/classes/Magnifier.html +9 -4
  13. package/docs/classes/ModelRoomLabelController.html +9 -4
  14. package/docs/classes/Object3DHelperController.html +9 -4
  15. package/docs/classes/PaintBrush.html +9 -4
  16. package/docs/classes/PanoMeasurePluginLine.html +9 -4
  17. package/docs/classes/PanoMeasurePluginModel.html +9 -4
  18. package/docs/classes/PanoMeasurePluginPoint.html +9 -4
  19. package/docs/classes/PanoMeasurePluginPolyline.html +9 -4
  20. package/docs/classes/PanoTagPluginController.html +29 -24
  21. package/docs/classes/Util.BetterTween.html +9 -4
  22. package/docs/classes/Util.FivePointSelector.html +9 -4
  23. package/docs/classes/Util.Interval.html +9 -4
  24. package/docs/classes/Util.Magnifier.html +9 -4
  25. package/docs/classes/Util.PointDomHelper.html +9 -4
  26. package/docs/classes/Util.PointHelper.html +9 -4
  27. package/docs/classes/Util.Rectangle.html +9 -4
  28. package/docs/enums/CameraMovementEffect.html +9 -4
  29. package/docs/enums/ContentType.html +25 -20
  30. package/docs/enums/DIRECTION.html +9 -4
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -4
  32. package/docs/enums/DimensionType.html +12 -7
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -4
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -4
  35. package/docs/enums/PaintBrushTypeEnum.html +9 -4
  36. package/docs/enums/PointType.html +9 -4
  37. package/docs/enums/Rotation.html +9 -4
  38. package/docs/functions/CSS3DRenderPlugin.html +9 -4
  39. package/docs/functions/CameraMovementPlugin.html +9 -4
  40. package/docs/functions/CruisePlugin.html +9 -4
  41. package/docs/functions/GuideLinePlugin.html +9 -4
  42. package/docs/functions/ItemLabelPlugin.html +9 -4
  43. package/docs/functions/MapviewFloorplanPlugin.html +9 -4
  44. package/docs/functions/ModelChassisCompassPlugin.html +9 -4
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +9 -4
  46. package/docs/functions/ModelFloorplanPlugin.html +9 -4
  47. package/docs/functions/ModelItemLabelPlugin.html +9 -4
  48. package/docs/functions/ModelRoomLabelPlugin.html +9 -4
  49. package/docs/functions/ModelTVVideoPlugin.html +9 -4
  50. package/docs/functions/ModelViewPlugin.html +9 -4
  51. package/docs/functions/Object3DHelperPlugin.html +9 -4
  52. package/docs/functions/PanoCompassPlugin.html +9 -4
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +9 -4
  54. package/docs/functions/PanoDoorLabelPlugin.html +9 -4
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +9 -4
  56. package/docs/functions/PanoMeasurePlugin.html +9 -4
  57. package/docs/functions/PanoRulerPlugin.html +9 -4
  58. package/docs/functions/PanoRulerProPlugin.html +9 -4
  59. package/docs/functions/PanoSpatialTagPlugin.html +9 -4
  60. package/docs/functions/PanoTagPlugin.html +9 -4
  61. package/docs/functions/PanoVideoPlugin.html +9 -4
  62. package/docs/functions/TopviewFloorplanPlugin.html +9 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +9 -4
  64. package/docs/functions/Util.getCoordsFromElement.html +9 -4
  65. package/docs/functions/Util.getFrameTime.html +9 -4
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +9 -4
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +9 -4
  68. package/docs/functions/Util.isAbsoluteURL.html +9 -4
  69. package/docs/functions/Util.isModelLike.html +9 -4
  70. package/docs/functions/Util.isNil.html +9 -4
  71. package/docs/functions/Util.isPanoramaLike.html +9 -4
  72. package/docs/functions/Util.nextFrame.html +9 -4
  73. package/docs/functions/Util.notNil.html +9 -4
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +9 -4
  75. package/docs/functions/Util.tweenProgress.html +9 -4
  76. package/docs/functions/Util.uuid.html +9 -4
  77. package/docs/functions/pluginFlag.html +9 -4
  78. package/docs/index.html +10 -5
  79. package/docs/interfaces/AddTagConfig.html +11 -6
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -4
  81. package/docs/interfaces/CSS3DRenderPluginState.html +9 -4
  82. package/docs/interfaces/CameraMovementPluginExportType.html +9 -4
  83. package/docs/interfaces/ContentTypeMapInterface.html +724 -0
  84. package/docs/interfaces/CruisePluginTypes.Config.html +9 -4
  85. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +9 -4
  86. package/docs/interfaces/CruisePluginTypes.EventMap.html +9 -4
  87. package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -4
  88. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -4
  89. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +9 -4
  90. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -4
  91. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +9 -4
  92. package/docs/interfaces/CruisePluginTypes.PluginState.html +9 -4
  93. package/docs/interfaces/EventMap.html +20 -15
  94. package/docs/interfaces/FloorplanBounding.html +9 -4
  95. package/docs/interfaces/FloorplanData.html +9 -4
  96. package/docs/interfaces/FloorplanEntrance.html +9 -4
  97. package/docs/interfaces/FloorplanExtraObject.html +9 -4
  98. package/docs/interfaces/FloorplanExtraObject3D.html +9 -4
  99. package/docs/interfaces/FloorplanFloorData.html +9 -4
  100. package/docs/interfaces/FloorplanImagePosition.html +9 -4
  101. package/docs/interfaces/FloorplanObserver.html +9 -4
  102. package/docs/interfaces/FloorplanOutlineItem.html +9 -4
  103. package/docs/interfaces/FloorplanPosition.html +9 -4
  104. package/docs/interfaces/FloorplanRoomItem.html +9 -4
  105. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -4
  106. package/docs/interfaces/FloorplanServerBounding.html +9 -4
  107. package/docs/interfaces/FloorplanServerComputedData.html +9 -4
  108. package/docs/interfaces/FloorplanServerData.html +9 -4
  109. package/docs/interfaces/FloorplanServerDoorItem.html +9 -4
  110. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -4
  111. package/docs/interfaces/FloorplanServerEntrance.html +9 -4
  112. package/docs/interfaces/FloorplanServerFloorData.html +9 -4
  113. package/docs/interfaces/FloorplanServerImagePosition.html +9 -4
  114. package/docs/interfaces/FloorplanServerObserver.html +9 -4
  115. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -4
  116. package/docs/interfaces/FloorplanServerPosition.html +9 -4
  117. package/docs/interfaces/FloorplanServerRoomItem.html +9 -4
  118. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -4
  119. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -4
  120. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -4
  121. package/docs/interfaces/GuideLinePluginType.EventMap.html +9 -4
  122. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -4
  123. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -4
  124. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +9 -4
  125. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -4
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +9 -4
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -4
  128. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +9 -4
  129. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +9 -4
  130. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +9 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -4
  132. package/docs/interfaces/GuideLinePluginType.Route.html +9 -4
  133. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -4
  134. package/docs/interfaces/HelperOffset.html +9 -4
  135. package/docs/interfaces/ImagePlaneGroup.html +11 -6
  136. package/docs/interfaces/ItemLabelPluginData.html +9 -4
  137. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +9 -4
  138. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -4
  139. package/docs/interfaces/MinMax.html +12 -7
  140. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -4
  141. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -4
  142. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -4
  143. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -4
  144. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -4
  145. package/docs/interfaces/ModelItemLabelPluginData.html +9 -4
  146. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +9 -4
  147. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -4
  148. package/docs/interfaces/ModelRoomLabelPluginData.html +9 -4
  149. package/docs/interfaces/ModelTVVideoPluginData.html +9 -4
  150. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -4
  151. package/docs/interfaces/ModelTVVideoPluginParameterType.html +9 -4
  152. package/docs/interfaces/ModelViewPluginExportType.html +9 -4
  153. package/docs/interfaces/Object3DHelperState.html +9 -4
  154. package/docs/interfaces/ObjectHelperControllers.html +9 -4
  155. package/docs/interfaces/PaintBrushAction.html +9 -4
  156. package/docs/interfaces/PaintBrushConfigs.html +9 -4
  157. package/docs/interfaces/PaintBrushState.html +9 -4
  158. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -4
  159. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +9 -4
  160. package/docs/interfaces/PanoMeasureParameterType.html +9 -4
  161. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -4
  162. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -4
  163. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -4
  164. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -4
  165. package/docs/interfaces/PanoRulerPluginExportType.html +9 -4
  166. package/docs/interfaces/PanoRulerPluginOptions.html +9 -4
  167. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -4
  168. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -4
  169. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -4
  170. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -4
  171. package/docs/interfaces/PanoRulerProPluginState.html +9 -4
  172. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +9 -4
  173. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +9 -4
  174. package/docs/interfaces/PanoSpatialTagPluginData.html +9 -4
  175. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -4
  176. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -4
  177. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -4
  178. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -4
  179. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +9 -4
  180. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -4
  181. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +9 -4
  182. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -4
  183. package/docs/interfaces/PanoVideoPluginType.PluginData.html +9 -4
  184. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -4
  185. package/docs/interfaces/PanoVideoPluginType.PluginState.html +9 -4
  186. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -4
  187. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -4
  188. package/docs/interfaces/Point.html +9 -4
  189. package/docs/interfaces/Room.html +9 -4
  190. package/docs/interfaces/RoomInfo.html +9 -4
  191. package/docs/interfaces/RoomLabel.html +9 -4
  192. package/docs/interfaces/RoomRules.html +9 -4
  193. package/docs/interfaces/Rooms.html +9 -4
  194. package/docs/interfaces/Scissor.html +9 -4
  195. package/docs/interfaces/State.html +10 -5
  196. package/docs/interfaces/TagCacheInterface.html +17 -12
  197. package/docs/interfaces/TagConfig.html +21 -16
  198. package/docs/interfaces/TagGLTFObjectGroup.html +11 -6
  199. package/docs/interfaces/TagIconUrl.html +17 -12
  200. package/docs/interfaces/TagObjectGroup.html +11 -6
  201. package/docs/interfaces/TagStyle.html +11 -6
  202. package/docs/interfaces/Tags.html +15 -30
  203. package/docs/interfaces/TemporaryState.html +11 -6
  204. package/docs/interfaces/Util.MagnifierParameter.html +9 -4
  205. package/docs/interfaces/Util.MouseGroupParameter.html +9 -4
  206. package/docs/modules/CruisePluginTypes.html +9 -4
  207. package/docs/modules/GuideLineItem.html +9 -4
  208. package/docs/modules/GuideLineModeItem.html +9 -4
  209. package/docs/modules/GuideLinePluginType.html +9 -4
  210. package/docs/modules/PanoVideoPluginType.html +9 -4
  211. package/docs/modules/Util.html +9 -4
  212. package/docs/modules.html +16 -6
  213. package/docs/types/ArrayPosition.html +10 -5
  214. package/docs/types/AudioAppearance.html +11 -6
  215. package/docs/types/AudioTagTypeConfigKey.html +10 -5
  216. package/docs/types/CSS3DRenderExportType.html +9 -4
  217. package/docs/types/CSS3DRenderPluginExportType.html +9 -4
  218. package/docs/types/CSS3DRenderPluginParameterType.html +9 -4
  219. package/docs/types/ClassFunctionParameters.html +9 -4
  220. package/docs/types/Color.html +9 -4
  221. package/docs/types/ConfigFunction.html +390 -0
  222. package/docs/types/ContentTypeConfigKey.html +10 -5
  223. package/docs/types/ContentTypeConfigKeySplit.html +10 -5
  224. package/docs/types/ContentTypeMap.html +11 -6
  225. package/docs/types/ContentTypeMapInterfaceWithExtraData.html +359 -0
  226. package/docs/types/Create3DDomContainerReturnType.html +9 -4
  227. package/docs/types/Create3DElementReturnType.html +9 -4
  228. package/docs/types/CruisePluginExportType.html +9 -4
  229. package/docs/types/CruisePluginTypes.CruiseData.html +9 -4
  230. package/docs/types/CruisePluginTypes.MoveEffect.html +9 -4
  231. package/docs/types/DeprecatedMediaPlaneProperty.html +10 -5
  232. package/docs/types/DeprecatedTagProperty.html +10 -5
  233. package/docs/types/Direction-1.html +9 -4
  234. package/docs/types/Direction4.html +9 -4
  235. package/docs/types/ElementRenderer.html +10 -5
  236. package/docs/types/FloorplanRuleLabels.html +9 -4
  237. package/docs/types/FloorplanServerRuleLabels.html +9 -4
  238. package/docs/types/GuideLinePluginExportType.html +9 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItem.html +9 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +9 -4
  241. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +9 -4
  242. package/docs/types/GuideLinePluginType.GuideLineStyle.html +9 -4
  243. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +9 -4
  244. package/docs/types/GuideLinePluginType.PathItem.html +9 -4
  245. package/docs/types/GuideLinePluginType.PluginData.html +9 -4
  246. package/docs/types/HelperEventMap.html +9 -4
  247. package/docs/types/LoadTagConfig.html +10 -5
  248. package/docs/types/MapviewFloorplanPluginParameterType.html +9 -4
  249. package/docs/types/MapviewFloorplanPluginReturnType.html +9 -4
  250. package/docs/types/MediaData.html +10 -5
  251. package/docs/types/MediaStore.html +10 -5
  252. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +9 -4
  253. package/docs/types/ModelFloorplanPluginParameterType.html +9 -4
  254. package/docs/types/ModelFloorplanPluginReturnType.html +9 -4
  255. package/docs/types/ModelRoomLabelPluginParameters.html +9 -4
  256. package/docs/types/ModelRoomLabelPluginReturnType.html +9 -4
  257. package/docs/types/MoveArgs.html +9 -4
  258. package/docs/types/MoveOpts.html +9 -4
  259. package/docs/types/Object.html +359 -0
  260. package/docs/types/Object3DHelperEventMap.html +9 -4
  261. package/docs/types/ObjectFit.html +10 -5
  262. package/docs/types/PaintBrushEventMap.html +9 -4
  263. package/docs/types/PanoCompassPluginData.html +9 -4
  264. package/docs/types/PanoCompassPluginExportType.html +9 -4
  265. package/docs/types/PanoCompassPluginParameterType.html +9 -4
  266. package/docs/types/PanoFloorplanRadarPluginParameterType.html +9 -4
  267. package/docs/types/PanoFloorplanRadarPluginReturnType.html +9 -4
  268. package/docs/types/PanoIndex.html +10 -5
  269. package/docs/types/PanoMeasurePluginEvent.html +9 -4
  270. package/docs/types/PanoMeasureReturnType.html +9 -4
  271. package/docs/types/PanoSpatialTagPluginId.html +9 -4
  272. package/docs/types/PanoTagPluginExportInterface.html +9 -4
  273. package/docs/types/PanoTagPluginParamsInterface.html +9 -4
  274. package/docs/types/PanoVideoPluginParameterType.html +9 -4
  275. package/docs/types/PanoVideoPluginReturnType.html +9 -4
  276. package/docs/types/PartialObjectDeep.html +10 -5
  277. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +10 -5
  278. package/docs/types/PlaneTag.html +11 -6
  279. package/docs/types/Point2DTag.html +11 -6
  280. package/docs/types/Point3DTag.html +11 -6
  281. package/docs/types/PointTag.html +11 -6
  282. package/docs/types/PointTagInstance.html +10 -5
  283. package/docs/types/Position.html +10 -5
  284. package/docs/types/RequiredTag.html +366 -0
  285. package/docs/types/RotateArgs.html +9 -4
  286. package/docs/types/RotateOpts.html +9 -4
  287. package/docs/types/RuleLabelsKey.html +9 -4
  288. package/docs/types/RuleLabelsValue.html +9 -4
  289. package/docs/types/StickType.html +10 -5
  290. package/docs/types/Tag.html +10 -5
  291. package/docs/types/Tag2D.html +10 -5
  292. package/docs/types/Tag3D.html +10 -5
  293. package/docs/types/TagContentType.html +10 -5
  294. package/docs/types/TagDimensionType.html +13 -6
  295. package/docs/types/TagElement.html +10 -5
  296. package/docs/types/TagEvents.html +10 -5
  297. package/docs/types/TagGLTFObject.html +10 -5
  298. package/docs/types/TagHooks.html +10 -5
  299. package/docs/types/TagIconSize.html +10 -5
  300. package/docs/types/TagId.html +10 -5
  301. package/docs/types/TagInstance.html +11 -6
  302. package/docs/types/TagPointType.html +10 -5
  303. package/docs/types/TopviewFloorplanPluginParameterType.html +9 -4
  304. package/docs/types/TopviewFloorplanPluginReturnType.html +9 -4
  305. package/docs/types/WorkCode.html +10 -5
  306. package/docs/variables/FLOOR_TYPE_MAP.html +9 -4
  307. package/docs/variables/PLUGIN.html +9 -4
  308. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +9 -4
  309. package/docs/variables/ROOM_TYPE_MAP.html +9 -4
  310. package/docs/variables/itemLabelPluginServerParams.html +9 -4
  311. package/docs/variables/modelItemLabelPluginServerParams.html +9 -4
  312. package/docs/variables/modelRoomLabelPluginServerParams.html +9 -4
  313. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +45 -1
  314. package/libs/PanoTagPlugin/Archive/deprecated.js +4 -2
  315. package/libs/PanoTagPlugin/Components/Tag/index.js +21 -21
  316. package/libs/PanoTagPlugin/Components/TagItem.js +31 -31
  317. package/libs/PanoTagPlugin/controller/TagRender.js +32 -32
  318. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  319. package/libs/PanoTagPlugin/controller/index.js +36 -34
  320. package/libs/PanoTagPlugin/index.js +11 -13
  321. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -48
  322. package/libs/PanoTagPlugin/typings/index.d.ts +5 -4
  323. package/libs/PanoTagPlugin/typings/index.js +3 -5
  324. package/libs/PanoTagPlugin/typings/tag/TagData.d.js +1 -0
  325. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.js +1 -0
  326. package/libs/PanoTagPlugin/typings/tag/Utils.d.js +1 -0
  327. package/libs/base/BasePlugin.js +1 -1
  328. package/libs/index.js +13 -15
  329. package/libs/shared-utils/logger.js +1 -1
  330. package/package.json +2 -2
  331. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -48
  332. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -132
  333. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -185
  334. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -87
  335. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -48
  336. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -132
  337. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -185
  338. package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
  339. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -87
  340. package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -4
  341. /package/libs/PanoTagPlugin/typings/tag/{Tag.js → Tag.d.js} +0 -0
  342. /package/libs/PanoTagPlugin/typings/tag/{TagConfig.js → TagConfig.d.js} +0 -0
@@ -1,185 +0,0 @@
1
- import type { DeprecatedMediaPlaneProperty } from '../../Archive/deprecated';
2
- import type { Position, TagIconUrl } from './Utils';
3
- export type MediaData = {
4
- type: 'Image';
5
- url: string;
6
- } | {
7
- type: 'Video';
8
- url: string;
9
- videoCoverUrl?: string;
10
- };
11
- export type ObjectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
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
- export type TagContentType = keyof typeof ContentType;
47
- /**
48
- * @description: 标签数据
49
- */
50
- interface ContentTypeMapInterface {
51
- /** 文字标签 */
52
- Text: {
53
- appearance?: 'line' | 'plane';
54
- /** @deprecated: 'text' replace by 'title' */
55
- text?: string;
56
- title?: string;
57
- description?: string;
58
- edit?: {
59
- title?: {
60
- inputting?: boolean;
61
- placeholder?: string;
62
- };
63
- description?: {
64
- inputting?: boolean;
65
- placeholder?: string;
66
- };
67
- };
68
- };
69
- /** 音频标签 */
70
- Audio: {
71
- /** @deprecated: 'text' replace by title */
72
- text?: string;
73
- title?: string;
74
- /** @description: 'line' 是旧的那种有一条线的,默认为'line', 'plane' 是新的那种圆形的 */
75
- appearance?: 'line' | 'plane';
76
- theme?: 'dark' | 'light';
77
- audioUrl: string;
78
- };
79
- /** 图文标签 */
80
- ImageText: {
81
- /** @deprecated: 'text' replace by 'title' */
82
- text?: string;
83
- title?: string;
84
- mediaData: (MediaData & {
85
- name?: string;
86
- })[];
87
- };
88
- /** 图片标签 */
89
- Image: ContentTypeMapInterface['ImageText'];
90
- /** 视频标签 */
91
- Video: ContentTypeMapInterface['ImageText'];
92
- /** 跳转外链标签 */
93
- Link: {
94
- /** @deprecated: 'text' replace by 'title' */
95
- text?: string;
96
- title?: string;
97
- /** @deprecated: linkType 不再和样式绑定,使用 iconUrl 代替 */
98
- linkType?: 'vr' | 'normal';
99
- icon?: TagIconUrl;
100
- };
101
- /** VR跳转标签 */
102
- VRLink: ContentTypeMapInterface['Link'];
103
- /** 贴纸标签 */
104
- Sticker: ContentTypeMapInterface['Link'];
105
- /** 全景跳转标签 */
106
- PanoLink: ContentTypeMapInterface['Link'];
107
- /** 营销标签 */
108
- Marketing: {
109
- /** 标题 */
110
- title: string;
111
- /** 高亮的标签 */
112
- brandTags?: string[];
113
- /** 普通标签 */
114
- tags?: string[];
115
- /** 头部宣传图 */
116
- headerPictureUrl?: string;
117
- /** 跳转文字 */
118
- highlightText?: string;
119
- /** 主题 */
120
- theme?: 'dark' | 'light';
121
- /** 限制营销标签大小 */
122
- limitWidth?: boolean | number;
123
- /** 价格 */
124
- price?: {
125
- value: string | number;
126
- /** 单位 */
127
- unit: string;
128
- };
129
- };
130
- /** 营销贴片 */
131
- MediaPlane: {
132
- enableCarousel?: boolean;
133
- /** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
134
- objectFit?: ObjectFit;
135
- autoplayConfig?: {
136
- /**
137
- * @description 是否自动播放视频
138
- * @default autoplayVideo: false
139
- */
140
- autoplayVideo?: boolean;
141
- /**
142
- * @description 是否自动轮播
143
- * @default autoplayCarousel: true
144
- */
145
- autoplayCarousel?: boolean;
146
- /**
147
- * @description 轮播中遇到视频是否要自动播放
148
- * @default autoplayVideoInCarousel: false
149
- */
150
- autoplayVideoInCarousel?: boolean;
151
- };
152
- mediaData: MediaData[];
153
- /** @description 暂停时的播放按钮url */
154
- playIcon?: 'withText' | 'withoutText' | string;
155
- } & DeprecatedMediaPlaneProperty;
156
- MediaModel: {
157
- modelUrl: string;
158
- mediaData: MediaData[];
159
- mediaPosition: [Position, Position, Position, Position];
160
- matrix?: number[];
161
- /** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
162
- objectFit?: ObjectFit;
163
- action?: {
164
- url: string;
165
- type: 'iframe' | 'window';
166
- };
167
- };
168
- Model: {
169
- modelUrl: string;
170
- matrix?: number[];
171
- action?: {
172
- url?: string;
173
- type: 'iframe' | 'window' | 'custom';
174
- };
175
- };
176
- Custom: Object;
177
- Unknown: Object;
178
- }
179
- type ContentTypeMapInterfaceWithExtraData = {
180
- [key in keyof ContentTypeMapInterface]: ContentTypeMapInterface[key] & {
181
- extraData?: Object;
182
- };
183
- };
184
- export type ContentTypeMap = Pick<ContentTypeMapInterfaceWithExtraData, TagContentType>;
185
- export {};
@@ -1,4 +0,0 @@
1
- var a = /* @__PURE__ */ ((i) => (i.Audio = "Audio", i.Text = "Text", i.ImageText = "ImageText", i.Image = "Image", i.Video = "Video", i.Link = "Link", i.Sticker = "Sticker", i.VRLink = "VRLink", i.PanoLink = "PanoLink", i.Marketing = "Marketing", i.MediaPlane = "MediaPlane", i.MediaModel = "MediaModel", i.Model = "Model", i.Custom = "Custom", i.Unknown = "Unknown", i))(a || {});
2
- export {
3
- a as ContentType
4
- };
@@ -1,87 +0,0 @@
1
- import type { GLTFObject } from '@realsee/five/gltf-loader';
2
- import type { Group } from 'three';
3
- import type { TagContentType } from './TagData';
4
- import type { ImagePlane } from '../../utils/model/mediaPlane';
5
- import type { TagInstance } from '../controller';
6
- import type { PartialDeep } from 'type-fest';
7
- export type TagId = string | number;
8
- export type ArrayPosition = number[];
9
- export type Position = ArrayPosition;
10
- export type PanoIndex = number;
11
- export type WorkCode = string;
12
- export type PartialObjectDeep<ObjectType extends object> = {
13
- [KeyType in keyof ObjectType]?: PartialDeep<ObjectType[KeyType]>;
14
- };
15
- export interface MinMax {
16
- min?: number;
17
- max?: number;
18
- }
19
- /** @deprecated 改用具体的string */
20
- export declare enum DimensionType {
21
- Two = "2D",
22
- Three = "3D"
23
- }
24
- export type TagDimensionType = '2D' | '3D';
25
- export type StickType = '2DPoint' | '3DPoint' | 'Plane' | 'Model';
26
- export interface TagIconUrl {
27
- url?: string;
28
- /** 是否使用默认 tag point,默认为 true */
29
- enabled?: boolean;
30
- /** 指切图是几倍图,如 2倍图, 3倍图,默认值为 3 */
31
- ratio?: number;
32
- /** 指帧动画的雪碧图由几张图片构成 */
33
- steps?: number;
34
- /** 单位:帧/s, 默认每秒24帧,即 fps: 24 */
35
- fps?: number;
36
- /** 期望渲染在屏幕上的宽度,如果指定了scale,则最终渲染在屏幕上的宽度 = width * scale */
37
- width?: number;
38
- /** 缩放值。默认为1,如果指定了scale,则最终渲染在屏幕上的宽度 = width * scale */
39
- scale?: number;
40
- }
41
- export interface TagStyle {
42
- /** 小圆点样式 */
43
- point?: {
44
- /** @deprecated v2.11.0 废弃,使用 width: number 控制 */
45
- size?: TagIconSize;
46
- } & TagIconUrl;
47
- }
48
- export type TagGLTFObject = GLTFObject & {
49
- customID: number | string;
50
- isTagModel: boolean;
51
- removeEventListener: () => void;
52
- updateTagCss3DObjectMatrix?: () => void;
53
- };
54
- /** 返回一个销毁函数 */
55
- export type ElementRenderer = (container: HTMLElement) => () => void;
56
- export interface TagObjectGroup extends Group {
57
- children: Array<TagGLTFObjectGroup>;
58
- }
59
- export interface TagGLTFObjectGroup extends Group {
60
- children: TagGLTFObject[];
61
- }
62
- export interface ImagePlaneGroup extends Group {
63
- children: ImagePlane[];
64
- }
65
- /**
66
- * @description S: 18; M: 20; L: 24; XL: 28
67
- */
68
- export type TagIconSize = 'S' | 'M' | 'L' | 'XL' | number;
69
- export type AudioAppearance = TagInstance<'Audio'>['data']['appearance'];
70
- export type AudioTagTypeConfigKey = `${StickType | 'Any'}-Audio-${AudioAppearance}`;
71
- export type ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any'}` | TagContentType | AudioTagTypeConfigKey;
72
- /**
73
- * @description: 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥,没找到就是 never
74
- */
75
- export type PickTagContentTypeInContentTypeConfigKey<T extends ContentTypeConfigKey> = T extends `${any}-Audio-${any}` ? 'Audio' : T extends `${any}-${infer C}` ? C : T extends TagContentType ? T : never;
76
- export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'Any'] | [TagContentType] | [StickType | 'Any', 'Audio', AudioAppearance];
77
- export type PointTag<C extends TagContentType = TagContentType> = TagInstance<C, '2DPoint' | '3DPoint'>;
78
- /** 二维标签 */
79
- export type Point2DTag<C extends TagContentType = TagContentType> = TagInstance<C, '2DPoint'>;
80
- /** 三维标签 */
81
- export type Point3DTag<C extends TagContentType = TagContentType> = TagInstance<C, '3DPoint'>;
82
- /** 三维贴片 */
83
- 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>;
@@ -1,4 +0,0 @@
1
- var e = /* @__PURE__ */ ((r) => (r.Two = "2D", r.Three = "3D", r))(e || {});
2
- export {
3
- e as DimensionType
4
- };