@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,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>;
|
|
File without changes
|
|
File without changes
|