@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.
- package/dist/PanoTagPlugin/Archive/deprecated.d.ts +45 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +2 -48
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -4
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +20 -18
- package/dist/index.umd.js +5 -5
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +9 -4
- package/docs/classes/CruisePluginController.html +9 -4
- package/docs/classes/GuideLineItem.GuideLineItem.html +9 -4
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +9 -4
- package/docs/classes/Magnifier.html +9 -4
- package/docs/classes/ModelRoomLabelController.html +9 -4
- package/docs/classes/Object3DHelperController.html +9 -4
- package/docs/classes/PaintBrush.html +9 -4
- package/docs/classes/PanoMeasurePluginLine.html +9 -4
- package/docs/classes/PanoMeasurePluginModel.html +9 -4
- package/docs/classes/PanoMeasurePluginPoint.html +9 -4
- package/docs/classes/PanoMeasurePluginPolyline.html +9 -4
- package/docs/classes/PanoTagPluginController.html +29 -24
- package/docs/classes/Util.BetterTween.html +9 -4
- package/docs/classes/Util.FivePointSelector.html +9 -4
- package/docs/classes/Util.Interval.html +9 -4
- package/docs/classes/Util.Magnifier.html +9 -4
- package/docs/classes/Util.PointDomHelper.html +9 -4
- package/docs/classes/Util.PointHelper.html +9 -4
- package/docs/classes/Util.Rectangle.html +9 -4
- package/docs/enums/CameraMovementEffect.html +9 -4
- package/docs/enums/ContentType.html +25 -20
- package/docs/enums/DIRECTION.html +9 -4
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -4
- package/docs/enums/DimensionType.html +12 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -4
- package/docs/enums/PaintBrushTypeEnum.html +9 -4
- package/docs/enums/PointType.html +9 -4
- package/docs/enums/Rotation.html +9 -4
- package/docs/functions/CSS3DRenderPlugin.html +9 -4
- package/docs/functions/CameraMovementPlugin.html +9 -4
- package/docs/functions/CruisePlugin.html +9 -4
- package/docs/functions/GuideLinePlugin.html +9 -4
- package/docs/functions/ItemLabelPlugin.html +9 -4
- package/docs/functions/MapviewFloorplanPlugin.html +9 -4
- package/docs/functions/ModelChassisCompassPlugin.html +9 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +9 -4
- package/docs/functions/ModelFloorplanPlugin.html +9 -4
- package/docs/functions/ModelItemLabelPlugin.html +9 -4
- package/docs/functions/ModelRoomLabelPlugin.html +9 -4
- package/docs/functions/ModelTVVideoPlugin.html +9 -4
- package/docs/functions/ModelViewPlugin.html +9 -4
- package/docs/functions/Object3DHelperPlugin.html +9 -4
- package/docs/functions/PanoCompassPlugin.html +9 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +9 -4
- package/docs/functions/PanoDoorLabelPlugin.html +9 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +9 -4
- package/docs/functions/PanoMeasurePlugin.html +9 -4
- package/docs/functions/PanoRulerPlugin.html +9 -4
- package/docs/functions/PanoRulerProPlugin.html +9 -4
- package/docs/functions/PanoSpatialTagPlugin.html +9 -4
- package/docs/functions/PanoTagPlugin.html +9 -4
- package/docs/functions/PanoVideoPlugin.html +9 -4
- package/docs/functions/TopviewFloorplanPlugin.html +9 -4
- package/docs/functions/Util.getCoordsFromClient.html +9 -4
- package/docs/functions/Util.getCoordsFromElement.html +9 -4
- package/docs/functions/Util.getFrameTime.html +9 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +9 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +9 -4
- package/docs/functions/Util.isAbsoluteURL.html +9 -4
- package/docs/functions/Util.isModelLike.html +9 -4
- package/docs/functions/Util.isNil.html +9 -4
- package/docs/functions/Util.isPanoramaLike.html +9 -4
- package/docs/functions/Util.nextFrame.html +9 -4
- package/docs/functions/Util.notNil.html +9 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +9 -4
- package/docs/functions/Util.tweenProgress.html +9 -4
- package/docs/functions/Util.uuid.html +9 -4
- package/docs/functions/pluginFlag.html +9 -4
- package/docs/index.html +10 -5
- package/docs/interfaces/AddTagConfig.html +11 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -4
- package/docs/interfaces/ContentTypeMapInterface.html +724 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +9 -4
- package/docs/interfaces/CruisePluginTypes.EventMap.html +9 -4
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -4
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -4
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +9 -4
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -4
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +9 -4
- package/docs/interfaces/CruisePluginTypes.PluginState.html +9 -4
- package/docs/interfaces/EventMap.html +20 -15
- package/docs/interfaces/FloorplanBounding.html +9 -4
- package/docs/interfaces/FloorplanData.html +9 -4
- package/docs/interfaces/FloorplanEntrance.html +9 -4
- package/docs/interfaces/FloorplanExtraObject.html +9 -4
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -4
- package/docs/interfaces/FloorplanFloorData.html +9 -4
- package/docs/interfaces/FloorplanImagePosition.html +9 -4
- package/docs/interfaces/FloorplanObserver.html +9 -4
- package/docs/interfaces/FloorplanOutlineItem.html +9 -4
- package/docs/interfaces/FloorplanPosition.html +9 -4
- package/docs/interfaces/FloorplanRoomItem.html +9 -4
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -4
- package/docs/interfaces/FloorplanServerBounding.html +9 -4
- package/docs/interfaces/FloorplanServerComputedData.html +9 -4
- package/docs/interfaces/FloorplanServerData.html +9 -4
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -4
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -4
- package/docs/interfaces/FloorplanServerEntrance.html +9 -4
- package/docs/interfaces/FloorplanServerFloorData.html +9 -4
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -4
- package/docs/interfaces/FloorplanServerObserver.html +9 -4
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -4
- package/docs/interfaces/FloorplanServerPosition.html +9 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -4
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -4
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -4
- package/docs/interfaces/GuideLinePluginType.EventMap.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +9 -4
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -4
- package/docs/interfaces/HelperOffset.html +9 -4
- package/docs/interfaces/ImagePlaneGroup.html +11 -6
- package/docs/interfaces/ItemLabelPluginData.html +9 -4
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +9 -4
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -4
- package/docs/interfaces/MinMax.html +12 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -4
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +9 -4
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +9 -4
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -4
- package/docs/interfaces/ModelRoomLabelPluginData.html +9 -4
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -4
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +9 -4
- package/docs/interfaces/ModelViewPluginExportType.html +9 -4
- package/docs/interfaces/Object3DHelperState.html +9 -4
- package/docs/interfaces/ObjectHelperControllers.html +9 -4
- package/docs/interfaces/PaintBrushAction.html +9 -4
- package/docs/interfaces/PaintBrushConfigs.html +9 -4
- package/docs/interfaces/PaintBrushState.html +9 -4
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -4
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +9 -4
- package/docs/interfaces/PanoMeasureParameterType.html +9 -4
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -4
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -4
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -4
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -4
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -4
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -4
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -4
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -4
- package/docs/interfaces/PanoRulerProPluginState.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +9 -4
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -4
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -4
- package/docs/interfaces/Point.html +9 -4
- package/docs/interfaces/Room.html +9 -4
- package/docs/interfaces/RoomInfo.html +9 -4
- package/docs/interfaces/RoomLabel.html +9 -4
- package/docs/interfaces/RoomRules.html +9 -4
- package/docs/interfaces/Rooms.html +9 -4
- package/docs/interfaces/Scissor.html +9 -4
- package/docs/interfaces/State.html +10 -5
- package/docs/interfaces/TagCacheInterface.html +17 -12
- package/docs/interfaces/TagConfig.html +21 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +11 -6
- package/docs/interfaces/TagIconUrl.html +17 -12
- package/docs/interfaces/TagObjectGroup.html +11 -6
- package/docs/interfaces/TagStyle.html +11 -6
- package/docs/interfaces/Tags.html +15 -30
- package/docs/interfaces/TemporaryState.html +11 -6
- package/docs/interfaces/Util.MagnifierParameter.html +9 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -4
- package/docs/modules/CruisePluginTypes.html +9 -4
- package/docs/modules/GuideLineItem.html +9 -4
- package/docs/modules/GuideLineModeItem.html +9 -4
- package/docs/modules/GuideLinePluginType.html +9 -4
- package/docs/modules/PanoVideoPluginType.html +9 -4
- package/docs/modules/Util.html +9 -4
- package/docs/modules.html +16 -6
- package/docs/types/ArrayPosition.html +10 -5
- package/docs/types/AudioAppearance.html +11 -6
- package/docs/types/AudioTagTypeConfigKey.html +10 -5
- package/docs/types/CSS3DRenderExportType.html +9 -4
- package/docs/types/CSS3DRenderPluginExportType.html +9 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +9 -4
- package/docs/types/ClassFunctionParameters.html +9 -4
- package/docs/types/Color.html +9 -4
- package/docs/types/ConfigFunction.html +390 -0
- package/docs/types/ContentTypeConfigKey.html +10 -5
- package/docs/types/ContentTypeConfigKeySplit.html +10 -5
- package/docs/types/ContentTypeMap.html +11 -6
- package/docs/types/ContentTypeMapInterfaceWithExtraData.html +359 -0
- package/docs/types/Create3DDomContainerReturnType.html +9 -4
- package/docs/types/Create3DElementReturnType.html +9 -4
- package/docs/types/CruisePluginExportType.html +9 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +9 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +9 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +10 -5
- package/docs/types/DeprecatedTagProperty.html +10 -5
- package/docs/types/Direction-1.html +9 -4
- package/docs/types/Direction4.html +9 -4
- package/docs/types/ElementRenderer.html +10 -5
- package/docs/types/FloorplanRuleLabels.html +9 -4
- package/docs/types/FloorplanServerRuleLabels.html +9 -4
- package/docs/types/GuideLinePluginExportType.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +9 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +9 -4
- package/docs/types/GuideLinePluginType.PathItem.html +9 -4
- package/docs/types/GuideLinePluginType.PluginData.html +9 -4
- package/docs/types/HelperEventMap.html +9 -4
- package/docs/types/LoadTagConfig.html +10 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +9 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +9 -4
- package/docs/types/MediaData.html +10 -5
- package/docs/types/MediaStore.html +10 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +9 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +9 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +9 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +9 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +9 -4
- package/docs/types/MoveArgs.html +9 -4
- package/docs/types/MoveOpts.html +9 -4
- package/docs/types/Object.html +359 -0
- package/docs/types/Object3DHelperEventMap.html +9 -4
- package/docs/types/ObjectFit.html +10 -5
- package/docs/types/PaintBrushEventMap.html +9 -4
- package/docs/types/PanoCompassPluginData.html +9 -4
- package/docs/types/PanoCompassPluginExportType.html +9 -4
- package/docs/types/PanoCompassPluginParameterType.html +9 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +9 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +9 -4
- package/docs/types/PanoIndex.html +10 -5
- package/docs/types/PanoMeasurePluginEvent.html +9 -4
- package/docs/types/PanoMeasureReturnType.html +9 -4
- package/docs/types/PanoSpatialTagPluginId.html +9 -4
- package/docs/types/PanoTagPluginExportInterface.html +9 -4
- package/docs/types/PanoTagPluginParamsInterface.html +9 -4
- package/docs/types/PanoVideoPluginParameterType.html +9 -4
- package/docs/types/PanoVideoPluginReturnType.html +9 -4
- package/docs/types/PartialObjectDeep.html +10 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +10 -5
- package/docs/types/PlaneTag.html +11 -6
- package/docs/types/Point2DTag.html +11 -6
- package/docs/types/Point3DTag.html +11 -6
- package/docs/types/PointTag.html +11 -6
- package/docs/types/PointTagInstance.html +10 -5
- package/docs/types/Position.html +10 -5
- package/docs/types/RequiredTag.html +366 -0
- package/docs/types/RotateArgs.html +9 -4
- package/docs/types/RotateOpts.html +9 -4
- package/docs/types/RuleLabelsKey.html +9 -4
- package/docs/types/RuleLabelsValue.html +9 -4
- package/docs/types/StickType.html +10 -5
- package/docs/types/Tag.html +10 -5
- package/docs/types/Tag2D.html +10 -5
- package/docs/types/Tag3D.html +10 -5
- package/docs/types/TagContentType.html +10 -5
- package/docs/types/TagDimensionType.html +13 -6
- package/docs/types/TagElement.html +10 -5
- package/docs/types/TagEvents.html +10 -5
- package/docs/types/TagGLTFObject.html +10 -5
- package/docs/types/TagHooks.html +10 -5
- package/docs/types/TagIconSize.html +10 -5
- package/docs/types/TagId.html +10 -5
- package/docs/types/TagInstance.html +11 -6
- package/docs/types/TagPointType.html +10 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +9 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +9 -4
- package/docs/types/WorkCode.html +10 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +9 -4
- package/docs/variables/PLUGIN.html +9 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +9 -4
- package/docs/variables/ROOM_TYPE_MAP.html +9 -4
- package/docs/variables/itemLabelPluginServerParams.html +9 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +9 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +9 -4
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +45 -1
- package/libs/PanoTagPlugin/Archive/deprecated.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +21 -21
- package/libs/PanoTagPlugin/Components/TagItem.js +31 -31
- package/libs/PanoTagPlugin/controller/TagRender.js +32 -32
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +36 -34
- package/libs/PanoTagPlugin/index.js +11 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -48
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -4
- package/libs/PanoTagPlugin/typings/index.js +3 -5
- package/libs/PanoTagPlugin/typings/tag/TagData.d.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.js +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +13 -15
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -48
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -132
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -185
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -87
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -48
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -132
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -185
- package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -87
- package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -4
- /package/libs/PanoTagPlugin/typings/tag/{Tag.js → Tag.d.js} +0 -0
- /package/libs/PanoTagPlugin/typings/tag/{TagConfig.js → TagConfig.d.js} +0 -0
|
@@ -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,
|
|
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 {
|
|
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 {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './controller';
|
|
2
|
-
export * from './tag/Tag';
|
|
3
|
-
export * from './tag/Utils';
|
|
4
|
-
export * from './tag/TagData';
|
|
5
|
-
export * from './tag/TagConfig';
|
|
2
|
+
export * from './tag/Tag.d';
|
|
3
|
+
export * from './tag/Utils.d';
|
|
4
|
+
export * from './tag/TagData.d';
|
|
5
|
+
export * from './tag/TagConfig.d';
|
|
6
|
+
export * from './tag/TagInstance.d';
|
|
6
7
|
export * from '../Archive/deprecated';
|
|
7
8
|
export type { ContentTypeMap, TagContentType } from './tag/TagData';
|