@realsee/dnalogel 3.4.0-dev.3 → 3.4.0-tag-dev.0
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/CruisePlugin/{Work.d.ts → Controller.d.ts} +8 -1
- package/dist/CruisePlugin/index.d.ts +3 -4
- package/dist/CruisePlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/dist/GuideLinePlugin/Controller.d.ts +6 -1
- package/dist/PanoTagPlugin/Archive/deprecated.d.ts +2 -0
- package/dist/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -3
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -0
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +4491 -4556
- package/dist/index.umd.js +46 -46
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +31 -33
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -34
- package/docs/classes/CSS3DRender.html +31 -33
- package/docs/classes/{WalkController.html → CruisePluginController.html} +57 -52
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -43
- package/docs/classes/Magnifier.html +20 -22
- package/docs/classes/ModelRoomLabelController.html +11 -13
- package/docs/classes/Object3DHelperController.html +25 -27
- package/docs/classes/PaintBrush.html +15 -17
- package/docs/classes/PanoMeasurePluginLine.html +27 -29
- package/docs/classes/PanoMeasurePluginModel.html +27 -29
- package/docs/classes/PanoMeasurePluginPoint.html +11 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -29
- package/docs/classes/PanoTagPluginController.html +54 -56
- package/docs/classes/Util.BetterTween.html +9 -11
- package/docs/classes/Util.Interval.html +12 -14
- package/docs/classes/Util.LineSegments.html +8 -10
- package/docs/classes/Util.Magnifier.html +20 -22
- package/docs/classes/Util.Object3D.html +8 -10
- package/docs/classes/Util.PointDomHelper.html +11 -13
- package/docs/classes/Util.PointHelper.html +11 -13
- package/docs/classes/Util.PointSelectorHelper.html +16 -18
- package/docs/classes/Util.Rectangle.html +13 -15
- package/docs/enums/CameraMovementEffect.html +7 -9
- package/docs/enums/ContentType.html +30 -22
- package/docs/enums/DIRECTION.html +9 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -11
- package/docs/enums/DimensionType.html +7 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -11
- package/docs/enums/PaintBrushTypeEnum.html +8 -10
- package/docs/enums/PointType.html +7 -9
- package/docs/enums/Rotation.html +8 -10
- package/docs/functions/AreaMakerPlugin.html +5 -7
- package/docs/functions/CSS3DRenderPlugin.html +4 -6
- package/docs/functions/CameraMovementPlugin.html +4 -6
- package/docs/functions/CruisePlugin.html +6 -8
- package/docs/functions/CurrentPanoImagePlugin.html +4 -6
- package/docs/functions/GuideLinePlugin.html +5 -7
- package/docs/functions/ItemLabelPlugin.html +4 -6
- package/docs/functions/MapviewFloorplanPlugin.html +4 -6
- package/docs/functions/ModelChassisCompassPlugin.html +4 -6
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -6
- package/docs/functions/ModelFloorplanPlugin.html +4 -6
- package/docs/functions/ModelItemLabelPlugin.html +4 -6
- package/docs/functions/ModelRoomLabelPlugin.html +4 -6
- package/docs/functions/ModelTVVideoPlugin.html +4 -6
- package/docs/functions/ModelViewPlugin.html +4 -6
- package/docs/functions/Object3DHelperPlugin.html +4 -6
- package/docs/functions/PanoCompassPlugin.html +4 -6
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -6
- package/docs/functions/PanoDoorLabelPlugin.html +4 -6
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -6
- package/docs/functions/PanoMeasurePlugin.html +4 -6
- package/docs/functions/PanoRulerPlugin.html +4 -6
- package/docs/functions/PanoRulerProPlugin.html +4 -6
- package/docs/functions/PanoSpatialTagPlugin.html +4 -6
- package/docs/functions/PanoTagPlugin.html +4 -6
- package/docs/functions/PanoVideoPlugin.html +4 -6
- package/docs/functions/PipelinePlugin.html +4 -6
- package/docs/functions/TopviewFloorplanPlugin.html +4 -6
- package/docs/functions/Util.absoluteUrl.html +5 -7
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -7
- package/docs/functions/Util.equal.html +5 -7
- package/docs/functions/Util.getCoordsFromClient.html +5 -7
- package/docs/functions/Util.getCoordsFromElement.html +5 -7
- package/docs/functions/Util.getFrameTime.html +5 -7
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -7
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -7
- package/docs/functions/Util.isAbsoluteURL.html +5 -7
- package/docs/functions/Util.isModelLike.html +5 -7
- package/docs/functions/Util.isNil.html +5 -7
- package/docs/functions/Util.isPanoramaLike.html +5 -7
- package/docs/functions/Util.nextFrame.html +5 -7
- package/docs/functions/Util.notNil.html +5 -7
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -7
- package/docs/functions/Util.tweenProgress.html +5 -7
- package/docs/functions/Util.uuid.html +5 -7
- package/docs/functions/pluginFlag.html +5 -7
- package/docs/index.html +5 -7
- package/docs/interfaces/AddTagConfig.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.Config.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -17
- package/docs/interfaces/AreaMakerPluginType.Params.html +7 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +9 -11
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +8 -10
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -10
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -9
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -11
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -15
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -23
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -15
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -17
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -17
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -12
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -9
- package/docs/interfaces/CruisePluginTypes.PluginState.html +36 -17
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -9
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -8
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -10
- package/docs/interfaces/EventMap.html +15 -17
- package/docs/interfaces/FloorplanBounding.html +8 -10
- package/docs/interfaces/FloorplanData.html +10 -12
- package/docs/interfaces/FloorplanEntrance.html +11 -13
- package/docs/interfaces/FloorplanExtraObject.html +10 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -10
- package/docs/interfaces/FloorplanFloorData.html +9 -11
- package/docs/interfaces/FloorplanImagePosition.html +7 -9
- package/docs/interfaces/FloorplanObserver.html +9 -11
- package/docs/interfaces/FloorplanOutlineItem.html +9 -11
- package/docs/interfaces/FloorplanPosition.html +7 -9
- package/docs/interfaces/FloorplanRoomItem.html +13 -15
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -9
- package/docs/interfaces/FloorplanServerBounding.html +8 -10
- package/docs/interfaces/FloorplanServerComputedData.html +10 -12
- package/docs/interfaces/FloorplanServerData.html +7 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -10
- package/docs/interfaces/FloorplanServerEntrance.html +11 -13
- package/docs/interfaces/FloorplanServerFloorData.html +9 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -9
- package/docs/interfaces/FloorplanServerObserver.html +9 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -11
- package/docs/interfaces/FloorplanServerPosition.html +7 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -16
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -13
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -11
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -9
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -11
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -22
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -10
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -22
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -8
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -9
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -11
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -14
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -12
- package/docs/interfaces/HelperOffset.html +8 -10
- package/docs/interfaces/ImagePlaneGroup.html +6 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -11
- package/docs/interfaces/MinMax.html +7 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -9
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -8
- package/docs/interfaces/ModelViewPluginExportType.html +11 -13
- package/docs/interfaces/Object3DHelperState.html +8 -10
- package/docs/interfaces/ObjectHelperControllers.html +9 -11
- package/docs/interfaces/PaintBrushAction.html +12 -14
- package/docs/interfaces/PaintBrushConfigs.html +12 -14
- package/docs/interfaces/PaintBrushState.html +10 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -7
- package/docs/interfaces/PanoMeasureParameterType.html +16 -18
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -9
- package/docs/interfaces/PanoRulerProPluginState.html +8 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -11
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -12
- package/docs/interfaces/Point.html +8 -10
- package/docs/interfaces/Room.html +9 -11
- package/docs/interfaces/RoomInfo.html +7 -9
- package/docs/interfaces/RoomLabel.html +14 -16
- package/docs/interfaces/RoomRules.html +5 -7
- package/docs/interfaces/Rooms.html +5 -7
- package/docs/interfaces/Scissor.html +9 -11
- package/docs/interfaces/State.html +8 -10
- package/docs/interfaces/TagCacheInterface.html +12 -14
- package/docs/interfaces/TagConfig.html +14 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -8
- package/docs/interfaces/TagIconUrl.html +12 -14
- package/docs/interfaces/TagObjectGroup.html +6 -8
- package/docs/interfaces/TagStyle.html +6 -8
- package/docs/interfaces/Tags.html +144 -14
- package/docs/interfaces/TemporaryState.html +6 -8
- package/docs/interfaces/Util.MagnifierParameter.html +11 -13
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -10
- package/docs/interfaces/Util.PointIntersection.html +8 -10
- package/docs/modules/AreaMakerPluginType.html +5 -7
- package/docs/modules/CruisePluginTypes.html +5 -7
- package/docs/modules/CurrentPanoImagePluginType.html +5 -7
- package/docs/modules/GuideLineItem.html +5 -7
- package/docs/modules/GuideLineModeItem.html +5 -7
- package/docs/modules/GuideLinePluginType.html +5 -7
- package/docs/modules/PanoVideoPluginType.html +5 -7
- package/docs/modules/Util.html +5 -7
- package/docs/modules.html +9 -27
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -7
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -7
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -7
- package/docs/types/ArrayPosition.html +5 -7
- package/docs/types/AudioAppearance.html +5 -7
- package/docs/types/AudioTagTypeConfigKey.html +5 -7
- package/docs/types/CSS3DRenderExportType.html +5 -7
- package/docs/types/CSS3DRenderPluginExportType.html +5 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -7
- package/docs/types/ClassFunctionParameters.html +5 -7
- package/docs/types/Color.html +5 -7
- package/docs/types/ContentTypeConfigKey.html +5 -7
- package/docs/types/ContentTypeConfigKeySplit.html +5 -7
- package/docs/types/ContentTypeMap.html +5 -7
- package/docs/types/Create3DDomContainerReturnType.html +5 -7
- package/docs/types/Create3DElementReturnType.html +5 -7
- package/docs/types/CruisePluginExportType.html +5 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -8
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -8
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -7
- package/docs/types/DeprecatedTagProperty.html +5 -7
- package/docs/types/Direction-1.html +5 -7
- package/docs/types/Direction4.html +5 -7
- package/docs/types/ElementRenderer.html +5 -7
- package/docs/types/FloorplanRuleLabels.html +5 -7
- package/docs/types/FloorplanServerRuleLabels.html +5 -7
- package/docs/types/GuideLinePluginExportType.html +5 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -8
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -8
- package/docs/types/GuideLinePluginType.PathItem.html +6 -8
- package/docs/types/GuideLinePluginType.PluginData.html +6 -8
- package/docs/types/HelperEventMap.html +5 -7
- package/docs/types/LoadTagConfig.html +5 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -7
- package/docs/types/MediaData.html +11 -8
- package/docs/types/MediaStore.html +5 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -7
- package/docs/types/ModelId.html +5 -7
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -7
- package/docs/types/MoveArgs.html +5 -7
- package/docs/types/MoveOpts.html +5 -7
- package/docs/types/Object3DHelperEventMap.html +5 -7
- package/docs/types/ObjectFit.html +5 -7
- package/docs/types/PaintBrushEventMap.html +5 -7
- package/docs/types/PanoCompassPluginData.html +5 -7
- package/docs/types/PanoCompassPluginExportType.html +5 -7
- package/docs/types/PanoCompassPluginParameterType.html +5 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -7
- package/docs/types/PanoIndex.html +5 -7
- package/docs/types/PanoMeasurePluginEvent.html +5 -7
- package/docs/types/PanoMeasureReturnType.html +5 -7
- package/docs/types/PanoSpatialTagPluginId.html +5 -7
- package/docs/types/PanoTagPluginExportInterface.html +5 -7
- package/docs/types/PanoTagPluginParamsInterface.html +5 -7
- package/docs/types/PanoVideoPluginParameterType.html +5 -7
- package/docs/types/PanoVideoPluginReturnType.html +5 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -7
- package/docs/types/PipelinePluginParameterType.html +5 -7
- package/docs/types/PipelinePluginReturnType.html +5 -7
- package/docs/types/PlaneTag.html +5 -7
- package/docs/types/Point2DTag.html +5 -7
- package/docs/types/Point3DTag.html +5 -7
- package/docs/types/PointTag.html +5 -7
- package/docs/types/PointTagInstance.html +5 -7
- package/docs/types/Position.html +5 -7
- package/docs/types/RotateArgs.html +5 -7
- package/docs/types/RotateOpts.html +5 -7
- package/docs/types/RuleLabelsKey.html +5 -7
- package/docs/types/RuleLabelsValue.html +5 -7
- package/docs/types/StickType.html +5 -7
- package/docs/types/Tag.html +5 -7
- package/docs/types/Tag2D.html +5 -7
- package/docs/types/Tag3D.html +5 -7
- package/docs/types/TagConfigByKey.html +5 -7
- package/docs/types/TagContentType.html +5 -7
- package/docs/types/TagDimensionType.html +5 -7
- package/docs/types/TagElement.html +5 -7
- package/docs/types/TagEvents.html +5 -7
- package/docs/types/TagGLTFObject.html +5 -7
- package/docs/types/TagHooks.html +5 -7
- package/docs/types/TagId.html +5 -7
- package/docs/types/TagInstance.html +5 -7
- package/docs/types/TagPointType.html +5 -7
- package/docs/types/TagRendererMap.html +5 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -7
- package/docs/types/WorkCode.html +5 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -7
- package/docs/variables/PLUGIN.html +5 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -7
- package/docs/variables/ROOM_TYPE_MAP.html +5 -7
- package/docs/variables/defaultGlobalConfig.html +5 -7
- package/docs/variables/itemLabelPluginServerParams.html +5 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -7
- package/libs/CruisePlugin/{Work.d.ts → Controller.d.ts} +8 -1
- package/libs/CruisePlugin/{Work.js → Controller.js} +177 -148
- package/libs/CruisePlugin/index.d.ts +3 -4
- package/libs/CruisePlugin/index.js +11 -15
- package/libs/CruisePlugin/typing.d.ts +2 -2
- package/libs/GuideLinePlugin/Controller.d.ts +6 -1
- package/libs/GuideLinePlugin/Controller.js +63 -48
- package/libs/GuideLinePlugin/GuideLineItem/index.js +43 -53
- package/libs/GuideLinePlugin/GuideLineItem.js +10 -12
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +18 -20
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +2 -0
- package/libs/PanoTagPlugin/Archive/deprecated.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +96 -0
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +166 -128
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +288 -255
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/libs/PanoTagPlugin/controller/TagComputer.js +116 -135
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/TagRender.js +92 -72
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/tag.config.js +6 -12
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +100 -104
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/CruisePlugin/CruiseController.d.ts +0 -147
- package/dist/CruisePlugin/Move.d.ts +0 -28
- package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/dist/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/docs/classes/MoveController.html +0 -641
- package/libs/CruisePlugin/CruiseController.d.ts +0 -147
- package/libs/CruisePlugin/CruiseController.js +0 -236
- package/libs/CruisePlugin/Move.d.ts +0 -28
- package/libs/CruisePlugin/Move.js +0 -112
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +0 -11
- package/libs/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/libs/shared-utils/five/fiveLoaded.js +0 -30
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- /package/dist/{shared-utils → CruisePlugin/utils}/formatRad.d.ts +0 -0
- /package/dist/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
- /package/libs/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
- /package/libs/{shared-utils/vectorToCoordinate.js → CruisePlugin/utils/vectorToCoordinates.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
2
|
var R = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var C = (c, l, t) => l in c ?
|
|
3
|
+
var V = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var C = (c, l, t) => l in c ? A(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
|
|
5
5
|
for (var t in l || (l = {}))
|
|
6
|
-
|
|
6
|
+
V.call(l, t) && C(c, t, l[t]);
|
|
7
7
|
if (R)
|
|
8
8
|
for (var t of R(l))
|
|
9
|
-
|
|
9
|
+
E.call(l, t) && C(c, t, l[t]);
|
|
10
10
|
return c;
|
|
11
11
|
};
|
|
12
12
|
var f = (c, l, t) => (C(c, typeof l != "symbol" ? l + "" : l, t), t);
|
|
13
13
|
var S = (c, l, t) => new Promise((e, o) => {
|
|
14
|
-
var i = (
|
|
14
|
+
var i = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
a(t.next(
|
|
16
|
+
a(t.next(s));
|
|
17
17
|
} catch (n) {
|
|
18
18
|
o(n);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, r = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
a(t.throw(
|
|
22
|
+
a(t.throw(s));
|
|
23
23
|
} catch (n) {
|
|
24
24
|
o(n);
|
|
25
25
|
}
|
|
26
|
-
}, a = (
|
|
26
|
+
}, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
|
|
27
27
|
a((t = t.apply(c, l)).next());
|
|
28
28
|
});
|
|
29
|
-
import { TagComputer as
|
|
30
|
-
import { Group as y, Quaternion as O, Vector3 as
|
|
31
|
-
import
|
|
29
|
+
import { TagComputer as I } from "./TagComputer.js";
|
|
30
|
+
import { Group as y, Quaternion as O, Vector3 as T, Matrix4 as v } from "three";
|
|
31
|
+
import x from "../Components/TagContainer.js";
|
|
32
32
|
import G from "../Components/Tag/index.js";
|
|
33
33
|
import { CSS3DRenderPlugin as F } from "../../CSS3DRenderPlugin/index.js";
|
|
34
|
-
import { loadGLTF as
|
|
35
|
-
import { isMediaModelTag as D, isStickModelTag as
|
|
34
|
+
import { loadGLTF as _ } from "../../shared-utils/three/GLTFLoader.js";
|
|
35
|
+
import { isMediaModelTag as D, isStickModelTag as L } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { VideoPlane as w, ImagePlane as k } from "../utils/model/mediaPlane.js";
|
|
37
|
-
import { centerPoint as
|
|
37
|
+
import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
|
|
38
38
|
import { arrayPositionToVector3 as g } from "../../shared-utils/positionToVector3.js";
|
|
39
39
|
import "../utils/tagPosition.js";
|
|
40
40
|
import "../utils/checkRange.js";
|
|
@@ -154,12 +154,13 @@ import "../Components/Common/Icon/audioIcon.js";
|
|
|
154
154
|
import "../Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
155
155
|
import "../Components/Tag/MediaPlane.js";
|
|
156
156
|
import "../Components/Tag/LinkTag.js";
|
|
157
|
+
import "../Components/Tag/PanoramaTag.js";
|
|
157
158
|
import "../Components/Tag/CustomTag.js";
|
|
158
159
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
159
160
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
160
161
|
import "@realsee/five/gltf-loader";
|
|
161
|
-
const
|
|
162
|
-
class
|
|
162
|
+
const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
|
|
163
|
+
class fi extends I {
|
|
163
164
|
constructor(t) {
|
|
164
165
|
super(t);
|
|
165
166
|
f(this, "group", new y());
|
|
@@ -179,13 +180,13 @@ class ui extends x {
|
|
|
179
180
|
if (!e)
|
|
180
181
|
return;
|
|
181
182
|
t.loading = !0;
|
|
182
|
-
const o =
|
|
183
|
+
const o = _(e).then((s) => {
|
|
183
184
|
var m;
|
|
184
|
-
const n = Object.assign(
|
|
185
|
+
const n = Object.assign(s.scene, {
|
|
185
186
|
customID: t.id,
|
|
186
187
|
isTagModel: !0,
|
|
187
188
|
removeEventListener: this.getTagConfig(t).clickable === !1 ? () => {
|
|
188
|
-
} : this.addObjectClickHandler(t,
|
|
189
|
+
} : this.addObjectClickHandler(t, s.scene, (h) => {
|
|
189
190
|
this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
|
|
190
191
|
})
|
|
191
192
|
});
|
|
@@ -196,14 +197,14 @@ class ui extends x {
|
|
|
196
197
|
if (t.loading = !1, ((a = t.model) == null ? void 0 : a.promise) !== o || !this.tags.includes(t))
|
|
197
198
|
return;
|
|
198
199
|
t.model.object = i;
|
|
199
|
-
const
|
|
200
|
-
if (
|
|
200
|
+
const r = this.gltfObjectGroup.children.find((s) => s.customID === t.id);
|
|
201
|
+
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
|
|
201
202
|
if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
|
|
202
|
-
const
|
|
203
|
+
const s = t.data.mediaPosition.map(g);
|
|
203
204
|
t.mediaPlane = new k(t.data.mediaData[0].url, t.data.mediaPosition.map(g), {
|
|
204
205
|
objectFit: t.data.objectFit
|
|
205
206
|
});
|
|
206
|
-
const n = new
|
|
207
|
+
const n = new T().addVectors(s[0], s[2]).divideScalar(2);
|
|
207
208
|
t.mediaPlane.position.copy(n), i.add(t.mediaPlane);
|
|
208
209
|
}
|
|
209
210
|
this.getRenderType(t) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, i), i.updateTagCss3DObjectMatrix());
|
|
@@ -248,22 +249,22 @@ class ui extends x {
|
|
|
248
249
|
if (!i)
|
|
249
250
|
return;
|
|
250
251
|
e.mediaPlane && !((h = (m = e.state) == null ? void 0 : m.visible) == null || h) && e.mediaPlane instanceof w && e.mediaPlane.pause();
|
|
251
|
-
const
|
|
252
|
-
if ((
|
|
253
|
-
const
|
|
252
|
+
const r = e.position.map(g), a = this.getCurrentVisibleState(e), s = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), d = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
253
|
+
if ((s || d) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || d) {
|
|
254
|
+
const p = new w(i, r, {
|
|
254
255
|
videoCoverSrc: o.videoCoverUrl,
|
|
255
256
|
playButton: e.data.playIcon,
|
|
256
257
|
paused: !((P = e.data.autoplayConfig) != null && P.autoplayVideo),
|
|
257
258
|
objectFit: e.data.objectFit,
|
|
258
|
-
videoTextureMap:
|
|
259
|
-
ImageTextureMap:
|
|
259
|
+
videoTextureMap: $,
|
|
260
|
+
ImageTextureMap: q,
|
|
260
261
|
domEvents: this.domEvents
|
|
261
262
|
});
|
|
262
|
-
|
|
263
|
-
u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement:
|
|
263
|
+
p.onVideoReady = (u) => {
|
|
264
|
+
u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
|
|
264
265
|
};
|
|
265
|
-
const
|
|
266
|
-
|
|
266
|
+
const b = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
|
|
267
|
+
p.initialRenderHooks(b), e.mediaPlane = p, this.imagePlaneGroup.add(e.mediaPlane);
|
|
267
268
|
}
|
|
268
269
|
});
|
|
269
270
|
}
|
|
@@ -278,9 +279,9 @@ class ui extends x {
|
|
|
278
279
|
const { url: o } = e.data.mediaData[0];
|
|
279
280
|
if (!o)
|
|
280
281
|
return;
|
|
281
|
-
const i = e.position.map(g),
|
|
282
|
-
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (
|
|
283
|
-
this.hooks.emit("click", { tag: e, target: "TagContent", event:
|
|
282
|
+
const i = e.position.map(g), r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
|
|
283
|
+
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (d) => {
|
|
284
|
+
this.hooks.emit("click", { tag: e, target: "TagContent", event: d.origDomEvent });
|
|
284
285
|
}), this.imagePlaneGroup.add(e.mediaPlane));
|
|
285
286
|
});
|
|
286
287
|
}
|
|
@@ -289,12 +290,12 @@ class ui extends x {
|
|
|
289
290
|
*/
|
|
290
291
|
updateRender3DDomTag() {
|
|
291
292
|
this.filterCSS3DTag.forEach((e) => {
|
|
292
|
-
var o, i,
|
|
293
|
+
var o, i, r;
|
|
293
294
|
if (e.tag3DContentSvelte) {
|
|
294
|
-
const { svelteApp: a, css3DInstance:
|
|
295
|
-
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(
|
|
296
|
-
const m = new O().setFromUnitVectors(n,
|
|
297
|
-
|
|
295
|
+
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: d } = e.tag3DContentSvelte;
|
|
296
|
+
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(d)) {
|
|
297
|
+
const m = new O().setFromUnitVectors(n, d);
|
|
298
|
+
s.css3DObject.setRotationFromQuaternion(m);
|
|
298
299
|
}
|
|
299
300
|
return;
|
|
300
301
|
} else {
|
|
@@ -305,24 +306,24 @@ class ui extends x {
|
|
|
305
306
|
const a = this.getPositions(e);
|
|
306
307
|
if (!a)
|
|
307
308
|
return;
|
|
308
|
-
const
|
|
309
|
-
if (!
|
|
309
|
+
const s = this.getTagNormal(e);
|
|
310
|
+
if (!s)
|
|
310
311
|
return;
|
|
311
|
-
const n = this.getTagConfig(e),
|
|
312
|
-
if (this.getRenderType(e) === "BehindDom" ||
|
|
313
|
-
|
|
312
|
+
const n = this.getTagConfig(e), d = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
|
|
313
|
+
if (this.getRenderType(e) === "BehindDom" || d.mode === "behind") {
|
|
314
|
+
d.mode = "behind", d.container = document.createElement("div");
|
|
314
315
|
const P = "black";
|
|
315
|
-
|
|
316
|
-
var
|
|
316
|
+
d.container.style.backgroundColor = P, d.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
317
|
+
var p;
|
|
317
318
|
if (m.css3DObject.opacityMesh && n.clickable !== !1) {
|
|
318
|
-
const
|
|
319
|
+
const b = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
|
|
319
320
|
this.hooks.emit("click", { event: u, target: "TagContent", tag: e });
|
|
320
321
|
});
|
|
321
|
-
(
|
|
322
|
+
(p = this.store.css3DRenderDisposer.get(e.id)) == null || p.push(b);
|
|
322
323
|
}
|
|
323
324
|
});
|
|
324
325
|
}
|
|
325
|
-
const m = this.css3DRenderPlugin.create3DDomContainer(a,
|
|
326
|
+
const m = this.css3DRenderPlugin.create3DDomContainer(a, d);
|
|
326
327
|
if (!m)
|
|
327
328
|
return;
|
|
328
329
|
this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
|
|
@@ -341,12 +342,12 @@ class ui extends x {
|
|
|
341
342
|
svelteApp: h,
|
|
342
343
|
domContainer: m,
|
|
343
344
|
css3DInstance: m,
|
|
344
|
-
initialNormal:
|
|
345
|
-
currentNormal:
|
|
345
|
+
initialNormal: s,
|
|
346
|
+
currentNormal: s,
|
|
346
347
|
dispose: () => {
|
|
347
348
|
h.$destroy(), m.dispose();
|
|
348
349
|
}
|
|
349
|
-
}, D(e) && ((
|
|
350
|
+
}, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
350
351
|
}
|
|
351
352
|
}), this.clearUnusedPanelTag();
|
|
352
353
|
}
|
|
@@ -360,8 +361,8 @@ class ui extends x {
|
|
|
360
361
|
updateRenderModelTag() {
|
|
361
362
|
const t = (i) => !this.enabledModelTagSet.has(i.customID), e = this.gltfObjectGroup.children.filter(t);
|
|
362
363
|
e.forEach((i) => i.removeEventListener()), this.gltfObjectGroup.remove(...e), this.tags.filter((i) => i.stickType === "Model").forEach((i) => {
|
|
363
|
-
var
|
|
364
|
-
(
|
|
364
|
+
var r;
|
|
365
|
+
(r = i.model) == null || r.promise.then((a) => {
|
|
365
366
|
a.visible = this.getCurrentVisibleState(i);
|
|
366
367
|
});
|
|
367
368
|
}), this.five.needsRender = !0;
|
|
@@ -378,26 +379,45 @@ class ui extends x {
|
|
|
378
379
|
* @param model 模型
|
|
379
380
|
*/
|
|
380
381
|
updateTagCss3DObjectMatrix(t, e) {
|
|
381
|
-
var
|
|
382
|
-
const o = (u = (
|
|
382
|
+
var b, u, M;
|
|
383
|
+
const o = (u = (b = this.getTagConfig(t).tag3DConfig) == null ? void 0 : b.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
|
|
383
384
|
if (!i)
|
|
384
385
|
return;
|
|
385
|
-
const
|
|
386
|
-
if (!
|
|
386
|
+
const r = D(t) ? t.data.mediaPosition : t.position;
|
|
387
|
+
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
387
388
|
return;
|
|
388
389
|
e.updateWorldMatrix(!1, !1);
|
|
389
|
-
const a = e.matrixWorld,
|
|
390
|
+
const a = e.matrixWorld, s = new T().fromArray(r[0]), n = new T().fromArray(r[2]), d = W(s, n).add(new T(0, 0, 5e-4)), m = new v().setPosition(d), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
|
|
390
391
|
P.decompose(i.position, i.quaternion, i.scale);
|
|
391
|
-
const
|
|
392
|
-
|
|
392
|
+
const p = i.opacityMesh;
|
|
393
|
+
p && P.decompose(p.position, p.quaternion, p.scale);
|
|
393
394
|
}
|
|
394
395
|
/** 添加模型标签 */
|
|
395
396
|
addMediaModelTag(t) {
|
|
396
397
|
return S(this, null, function* () {
|
|
397
|
-
const e = t.filter(
|
|
398
|
+
const e = t.filter(L).map((o) => this.loadModel(o));
|
|
398
399
|
yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
|
|
399
400
|
});
|
|
400
401
|
}
|
|
402
|
+
/**
|
|
403
|
+
* @description: 一个点的标签
|
|
404
|
+
*/
|
|
405
|
+
setPointTagPosition() {
|
|
406
|
+
const t = this.filterPointTag;
|
|
407
|
+
t.length !== 0 && t.forEach((e) => {
|
|
408
|
+
var a;
|
|
409
|
+
const o = this.getCurrentVisibleState(e), i = (a = e.__Object__) != null ? a : {
|
|
410
|
+
timeoutId: void 0,
|
|
411
|
+
inAnimation: !0
|
|
412
|
+
};
|
|
413
|
+
if (e.__Object__ = i, !o && e.screenPosition ? (i.inAnimation = !0, i.timeoutId = setTimeout(() => {
|
|
414
|
+
this.getCurrentVisibleState(e) || (i.inAnimation = !1, e.screenPosition = null, this.updateDomView());
|
|
415
|
+
}, 1e3)) : i.timeoutId && (i.inAnimation = !1, clearTimeout(i.timeoutId)), !o && !i.inAnimation)
|
|
416
|
+
return;
|
|
417
|
+
const r = this.getTagProject(e);
|
|
418
|
+
r ? e.screenPosition = { leftPercent: (r.x + 1) / 2 * 100, topPercent: (-r.y + 1) / 2 * 100 } : e.screenPosition = null;
|
|
419
|
+
});
|
|
420
|
+
}
|
|
401
421
|
/**
|
|
402
422
|
* @description: 渲染单个点的标签
|
|
403
423
|
*/
|
|
@@ -415,8 +435,8 @@ class ui extends x {
|
|
|
415
435
|
temporaryState: this.temporaryState,
|
|
416
436
|
withAnimation: this.store.visibleWithAnimation
|
|
417
437
|
}), this.filterCSS3DTag.forEach((e) => {
|
|
418
|
-
var o, i,
|
|
419
|
-
(a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((
|
|
438
|
+
var o, i, r, a, s;
|
|
439
|
+
(a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((r = e.state) == null ? void 0 : r.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
|
|
420
440
|
state: this.state,
|
|
421
441
|
temporaryState: this.temporaryState,
|
|
422
442
|
withAnimation: this.store.visibleWithAnimation
|
|
@@ -447,11 +467,11 @@ class ui extends x {
|
|
|
447
467
|
if (this.TagContainerSvelte)
|
|
448
468
|
this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
|
|
449
469
|
else {
|
|
450
|
-
const
|
|
451
|
-
if (!
|
|
470
|
+
const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
|
|
471
|
+
if (!r)
|
|
452
472
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
453
|
-
this.TagContainerSvelte = new
|
|
454
|
-
target:
|
|
473
|
+
this.TagContainerSvelte = new x({
|
|
474
|
+
target: r,
|
|
455
475
|
props: {
|
|
456
476
|
hooks: this.hooks,
|
|
457
477
|
tags: e,
|
|
@@ -466,5 +486,5 @@ class ui extends x {
|
|
|
466
486
|
}
|
|
467
487
|
}
|
|
468
488
|
export {
|
|
469
|
-
|
|
489
|
+
fi as TagRender
|
|
470
490
|
};
|
|
@@ -38,7 +38,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
38
38
|
getTagConfig(tag: Tag, params?: {
|
|
39
39
|
useCache?: boolean;
|
|
40
40
|
fiveMode?: Mode;
|
|
41
|
-
}): TagConfig<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
|
|
41
|
+
}): TagConfig<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
|
|
42
42
|
/**
|
|
43
43
|
* @description 获取标签当前状态
|
|
44
44
|
*/
|
|
@@ -60,10 +60,10 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
60
60
|
protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
61
61
|
protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
|
|
62
62
|
protected get filterPointTag(): PointTagInstance[];
|
|
63
|
-
protected get filter2DPointTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
63
|
+
protected get filter2DPointTag(): TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
64
64
|
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
65
65
|
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
66
|
-
protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
66
|
+
protected get filterCSS3DTag(): (TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
67
67
|
protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
|
|
68
68
|
/**
|
|
69
69
|
* @description 检查是否已经销毁
|
|
@@ -159,6 +159,7 @@ import "../Components/Tag/MediaPlane.js";
|
|
|
159
159
|
import "../Components/Tag/LinkTag.js";
|
|
160
160
|
import "../Components/Common/Icon/Icon.js";
|
|
161
161
|
import "../utils/getImageInfo.js";
|
|
162
|
+
import "../Components/Tag/PanoramaTag.js";
|
|
162
163
|
import "../Components/Tag/CustomTag.js";
|
|
163
164
|
import "../../vendor/classnames/index.js";
|
|
164
165
|
import "../Components/Common/TagPoint.js";
|
|
@@ -168,8 +169,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
168
169
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
169
170
|
import "@realsee/five/gltf-loader";
|
|
170
171
|
import "../../shared-utils/animationFrame/index.js";
|
|
171
|
-
const S = "Dnalogel-PanoTagPlugin",
|
|
172
|
-
class
|
|
172
|
+
const S = "Dnalogel-PanoTagPlugin", Ei = (d) => `${S}--${d}`;
|
|
173
|
+
class Ui extends z {
|
|
173
174
|
constructor(e, t) {
|
|
174
175
|
super(e);
|
|
175
176
|
/** state */
|
|
@@ -542,7 +543,7 @@ class Ei extends z {
|
|
|
542
543
|
}
|
|
543
544
|
}
|
|
544
545
|
export {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
Ui as PanoTagPluginController,
|
|
547
|
+
Ui as default,
|
|
548
|
+
Ei as pluginFlag
|
|
548
549
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Nt } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Qt } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as St, DimensionType as Ut, PointType as Vt } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -131,6 +131,7 @@ import "./Components/Tag/MediaPlane.js";
|
|
|
131
131
|
import "./Components/Tag/LinkTag.js";
|
|
132
132
|
import "./Components/Common/Icon/Icon.js";
|
|
133
133
|
import "./utils/getImageInfo.js";
|
|
134
|
+
import "./Components/Tag/PanoramaTag.js";
|
|
134
135
|
import "./Components/Tag/CustomTag.js";
|
|
135
136
|
import "../vendor/classnames/index.js";
|
|
136
137
|
import "./Components/Common/TagPoint.js";
|
|
@@ -142,14 +143,14 @@ import "@realsee/five/gltf-loader";
|
|
|
142
143
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
143
144
|
import "../shared-utils/animationFrame/index.js";
|
|
144
145
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
145
|
-
const
|
|
146
|
+
const Kt = (o, t) => new r(o, t);
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
St as ContentType,
|
|
149
|
+
Ut as DimensionType,
|
|
150
|
+
Kt as PanoTagPlugin,
|
|
150
151
|
r as PanoTagPluginController,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
Vt as PointType,
|
|
153
|
+
Kt as default,
|
|
154
|
+
Qt as defaultGlobalConfig,
|
|
155
|
+
Nt as pluginFlag
|
|
155
156
|
};
|
|
@@ -26,36 +26,30 @@ const e = {
|
|
|
26
26
|
"Any-Audio-plane": {
|
|
27
27
|
unfoldedConfig: {
|
|
28
28
|
keep: "unfolded"
|
|
29
|
-
},
|
|
30
|
-
initialState: {
|
|
31
|
-
unfolded: !0
|
|
32
29
|
}
|
|
33
30
|
},
|
|
34
31
|
Link: {
|
|
35
32
|
unfoldedConfig: {
|
|
36
33
|
// VR 跳转标签没有收起状态
|
|
37
34
|
keep: "unfolded"
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
Panorama: {
|
|
38
|
+
unfoldedConfig: {
|
|
39
|
+
// VR 跳转标签没有收起状态
|
|
40
|
+
keep: "unfolded"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
VRLink: {
|
|
44
44
|
unfoldedConfig: {
|
|
45
45
|
// VR 跳转标签没有收起状态
|
|
46
46
|
keep: "unfolded"
|
|
47
|
-
},
|
|
48
|
-
initialState: {
|
|
49
|
-
unfolded: !0
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
PanoLink: {
|
|
53
50
|
unfoldedConfig: {
|
|
54
51
|
// VR 跳转标签没有收起状态
|
|
55
52
|
keep: "unfolded"
|
|
56
|
-
},
|
|
57
|
-
initialState: {
|
|
58
|
-
unfolded: !0
|
|
59
53
|
}
|
|
60
54
|
},
|
|
61
55
|
MediaPlane: {
|
|
@@ -3,6 +3,10 @@ import type { Position, TagIconUrl } from './Utils';
|
|
|
3
3
|
export type MediaData = {
|
|
4
4
|
type: 'Image';
|
|
5
5
|
url: string;
|
|
6
|
+
/**
|
|
7
|
+
* @description: 缩略图
|
|
8
|
+
*/
|
|
9
|
+
thumbnail?: string;
|
|
6
10
|
} | {
|
|
7
11
|
type: 'Video';
|
|
8
12
|
url: string;
|
|
@@ -66,6 +70,8 @@ interface ContentTypeMapInterface {
|
|
|
66
70
|
Image: ContentTypeMapInterface['ImageText'];
|
|
67
71
|
/** 视频标签 */
|
|
68
72
|
Video: ContentTypeMapInterface['ImageText'];
|
|
73
|
+
/** 全景标签 */
|
|
74
|
+
Panorama: ContentTypeMapInterface['ImageText'];
|
|
69
75
|
/** 跳转外链标签 */
|
|
70
76
|
Link: {
|
|
71
77
|
/** @deprecated: 'text' replace by 'title' */
|