@realsee/dnalogel 3.55.1-alpha.0 → 3.56.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/CHANGELOG.md +7 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
- package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
- package/dist/index.cjs.js +28 -28
- package/dist/index.js +759 -773
- package/dist/index.umd.js +28 -28
- package/dist/shared-utils/tag.d.ts +6 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +35 -35
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +15 -15
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/ModelMakerPlugin/Controller.js +24 -24
- package/libs/ModelMakerPlugin/item/polygonItem.js +5 -5
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +86 -78
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +0 -28
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +85 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
- package/libs/PanoTagPlugin/controller/index.js +120 -137
- package/libs/Sculpt/utils/three/ColoredMesh.js +27 -26
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +6 -1
- package/libs/shared-utils/tag.js +34 -27
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var e in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
1
|
+
var S = Object.defineProperty, D = Object.defineProperties;
|
|
2
|
+
var P = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var y = Object.getOwnPropertySymbols;
|
|
4
|
+
var U = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var u = (d, a, e) => a in d ? S(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
|
|
6
|
+
for (var e in a || (a = {}))
|
|
7
|
+
U.call(a, e) && u(d, e, a[e]);
|
|
8
|
+
if (y)
|
|
9
|
+
for (var e of y(a))
|
|
10
|
+
A.call(a, e) && u(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
|
-
},
|
|
13
|
-
var p = (d,
|
|
14
|
-
var
|
|
12
|
+
}, c = (d, a) => D(d, P(a));
|
|
13
|
+
var p = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
+
var l = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var o = (s) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
n(e.next(s));
|
|
18
|
+
} catch (h) {
|
|
19
|
+
i(h);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, r = (s) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
n(e.throw(s));
|
|
24
|
+
} catch (h) {
|
|
25
|
+
i(h);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, r);
|
|
28
|
+
n((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { objectAssignDeepExports as
|
|
32
|
-
import { arrayPositionToVector3 as
|
|
33
|
-
import { isModelTag as
|
|
34
|
-
import { debounce as
|
|
35
|
-
import { throttle as
|
|
36
|
-
import
|
|
37
|
-
import { generateBlankAudio as
|
|
38
|
-
import { resizeObserver as
|
|
39
|
-
import { TagRender as
|
|
30
|
+
import * as v from "three";
|
|
31
|
+
import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
+
import { arrayPositionToVector3 as E } from "../../shared-utils/positionToVector3.js";
|
|
33
|
+
import { isModelTag as k, isMediaModelTag as F } from "../utils/tag/tagCheck.js";
|
|
34
|
+
import { debounce as w } from "../utils/debounce.js";
|
|
35
|
+
import { throttle as M } from "../utils/throttle.js";
|
|
36
|
+
import _, { getTagStickType as L } from "../utils/tag/format.js";
|
|
37
|
+
import { generateBlankAudio as I, AudioNamespace as R } from "../../shared-utils/audio.js";
|
|
38
|
+
import { resizeObserver as b } from "../../shared-utils/dom/resizeObserver.js";
|
|
39
|
+
import { TagRender as B } from "./TagRender.js";
|
|
40
40
|
import "../../shared-utils/tag.js";
|
|
41
|
-
import { isModelLike as
|
|
41
|
+
import { isModelLike as O } from "../../shared-utils/five/mode.js";
|
|
42
42
|
import "hammerjs";
|
|
43
43
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
44
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -46,17 +46,17 @@ import "@realsee/five/line";
|
|
|
46
46
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
47
47
|
import "../../shared-utils/three/core/Sphere.js";
|
|
48
48
|
import "animejs";
|
|
49
|
-
import { waitFiveModelLoaded as
|
|
50
|
-
import { nextFrame as
|
|
49
|
+
import { waitFiveModelLoaded as G } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
+
import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
|
|
51
51
|
import "../../shared-utils/five/FivePuppet.js";
|
|
52
|
-
import { DebugUtil as
|
|
53
|
-
import { safeObj as
|
|
54
|
-
import { PointTag as
|
|
55
|
-
import { ModelTag as
|
|
56
|
-
import { PlaneTag as
|
|
57
|
-
import
|
|
58
|
-
import { fiveEveryReadyListener as
|
|
59
|
-
import { tweenProgress as
|
|
52
|
+
import { DebugUtil as V } from "../utils/DebugUtil.js";
|
|
53
|
+
import { safeObj as T } from "../../shared-utils/safeObj.js";
|
|
54
|
+
import { PointTag as z } from "./Tag/PointTag.js";
|
|
55
|
+
import { ModelTag as Q } from "./Tag/ModelTag.js";
|
|
56
|
+
import { PlaneTag as $ } from "./Tag/PlaneTag.js";
|
|
57
|
+
import x from "../Components/TagContainer.js";
|
|
58
|
+
import { fiveEveryReadyListener as j } from "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
59
|
+
import { tweenProgress as W } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
60
60
|
import "../Components/Tag/index.js";
|
|
61
61
|
import "../../vendor/svelte/internal/index.js";
|
|
62
62
|
import "../Components/Tag/TextTag/index.js";
|
|
@@ -215,20 +215,19 @@ import "../../base/BasePlugin.js";
|
|
|
215
215
|
import "../utils/addDebugPoints.js";
|
|
216
216
|
import "../Components/TagItem.js";
|
|
217
217
|
import "../Components/Common/TagPoint.js";
|
|
218
|
-
const
|
|
219
|
-
class
|
|
218
|
+
const C = "Dnalogel-PanoTagPlugin", To = (d) => `${C}--${d}`;
|
|
219
|
+
class Co extends B {
|
|
220
220
|
constructor(e, t) {
|
|
221
221
|
super(e);
|
|
222
222
|
/** state */
|
|
223
223
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
224
224
|
/** debug */
|
|
225
225
|
p(this, "debug");
|
|
226
|
-
p(this, "debugUtil", new
|
|
227
|
-
p(this, "timeoutIds", []);
|
|
226
|
+
p(this, "debugUtil", new V(this));
|
|
228
227
|
/** 更改 tag 模型 */
|
|
229
|
-
p(this, "changeTagModel", (e, t) =>
|
|
228
|
+
p(this, "changeTagModel", (e, t) => l(this, null, function* () {
|
|
230
229
|
var i;
|
|
231
|
-
e.data =
|
|
230
|
+
e.data = f({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
|
|
232
231
|
}));
|
|
233
232
|
p(this, "handleFiveModeChange", (e) => {
|
|
234
233
|
const t = () => {
|
|
@@ -236,7 +235,7 @@ class Ao extends V {
|
|
|
236
235
|
i.state.visible = !1, i.applyVisible();
|
|
237
236
|
}), this.five.ready().then(() => {
|
|
238
237
|
this.tagsDo(this.tags, (i) => {
|
|
239
|
-
i.updateVisible(),
|
|
238
|
+
i.updateVisible(), F(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
|
|
240
239
|
});
|
|
241
240
|
});
|
|
242
241
|
};
|
|
@@ -264,58 +263,42 @@ class Ao extends V {
|
|
|
264
263
|
this.five.off("render.prepare", this.handleFiveCameraUpdate);
|
|
265
264
|
}, 1e3);
|
|
266
265
|
});
|
|
267
|
-
p(this, "handleFivePanoArrived", () =>
|
|
266
|
+
p(this, "handleFivePanoArrived", () => l(this, null, function* () {
|
|
268
267
|
this.tags.forEach((e) => {
|
|
269
|
-
e.state.visible = !1, e.temporaryState =
|
|
268
|
+
e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible();
|
|
270
269
|
}), this.tagsDo(this.tags, (e) => {
|
|
271
270
|
e.updateVisible();
|
|
272
|
-
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(
|
|
271
|
+
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(k).filter((e) => {
|
|
273
272
|
var t;
|
|
274
273
|
return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
275
274
|
}).forEach((e) => {
|
|
276
|
-
var
|
|
277
|
-
const t = new
|
|
275
|
+
var h;
|
|
276
|
+
const t = new v.Mesh(new v.BoxGeometry(), new v.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
|
|
278
277
|
if (!i)
|
|
279
278
|
return;
|
|
280
279
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
281
280
|
const o = this.five.camera.position;
|
|
282
281
|
t.lookAt(o.clone().setY(t.position.y));
|
|
283
|
-
const
|
|
284
|
-
s.onUpdate(({ progress:
|
|
285
|
-
i.quaternion.copy(
|
|
282
|
+
const r = i.quaternion.clone(), n = t.quaternion.clone(), s = W();
|
|
283
|
+
s.onUpdate(({ progress: g }) => {
|
|
284
|
+
i.quaternion.copy(r.clone().slerp(n, g));
|
|
286
285
|
}), s.play();
|
|
287
286
|
});
|
|
288
287
|
}));
|
|
289
|
-
p(this, "tagsDo", (e, t) => {
|
|
290
|
-
const i = this.five.camera.position, o = (e != null ? e : this.tags).sort((s, a) => {
|
|
291
|
-
let l;
|
|
292
|
-
Array.isArray(s.position[0]) ? l = s.position[0] : l = s.position;
|
|
293
|
-
let u;
|
|
294
|
-
Array.isArray(a.position[0]) ? u = a.position[0] : u = a.position;
|
|
295
|
-
const P = f(l[0] - i.x, 2) + f(l[1] - i.y, 2) + f(l[2] - i.z, 2), A = f(u[0] - i.x, 2) + f(u[1] - i.y, 2) + f(u[2] - i.z, 2);
|
|
296
|
-
return P - A;
|
|
297
|
-
});
|
|
298
|
-
this.timeoutIds.forEach((s) => clearTimeout(s));
|
|
299
|
-
const r = o.length > 1e3 ? 30 : 17;
|
|
300
|
-
for (let s = 0; s < o.length; s++) {
|
|
301
|
-
const a = o[s], l = setTimeout(() => t(a), s * r);
|
|
302
|
-
this.timeoutIds.push(l);
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
288
|
/** 楼层切换时,需要更新标签可见性 */
|
|
306
289
|
p(this, "handleFiveModelShownFloorChange", () => {
|
|
307
290
|
this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
308
291
|
});
|
|
309
292
|
p(this, "onFiveEveryReady", () => {
|
|
310
|
-
this.setUnfoldedByCamera(),
|
|
293
|
+
this.setUnfoldedByCamera(), O(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
311
294
|
});
|
|
312
295
|
p(this, "render", () => {
|
|
313
296
|
this.renderQueue.forEach((e, t) => {
|
|
314
297
|
const { keys: i } = e;
|
|
315
298
|
if (t === "TagContainerSvelte") {
|
|
316
|
-
const
|
|
299
|
+
const r = this.filterPointTag.filter((s) => s.screenPosition), n = {
|
|
317
300
|
hooks: this.hooks,
|
|
318
|
-
tags:
|
|
301
|
+
tags: r,
|
|
319
302
|
state: this.state,
|
|
320
303
|
temporaryState: this.temporaryState,
|
|
321
304
|
mediaStore: this.mediaStore,
|
|
@@ -326,18 +309,18 @@ class Ao extends V {
|
|
|
326
309
|
if (this.TagContainerSvelte) {
|
|
327
310
|
let s = {};
|
|
328
311
|
if (i.length === 0)
|
|
329
|
-
s =
|
|
312
|
+
s = n;
|
|
330
313
|
else
|
|
331
|
-
for (const
|
|
332
|
-
s[
|
|
314
|
+
for (const h of i)
|
|
315
|
+
s[h] = n[h];
|
|
333
316
|
this.TagContainerSvelte.$set(s);
|
|
334
317
|
} else {
|
|
335
318
|
if (!this.container)
|
|
336
319
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
337
|
-
this.TagContainerSvelte = new
|
|
320
|
+
this.TagContainerSvelte = new x({
|
|
338
321
|
target: this.container,
|
|
339
|
-
props:
|
|
340
|
-
}),
|
|
322
|
+
props: c(m({}, n), { state: c(m({}, this.state), { enabled: !1 }) })
|
|
323
|
+
}), N(() => {
|
|
341
324
|
var s;
|
|
342
325
|
(s = this.TagContainerSvelte) == null || s.$set({ state: this.state });
|
|
343
326
|
});
|
|
@@ -345,9 +328,9 @@ class Ao extends V {
|
|
|
345
328
|
}
|
|
346
329
|
}), this.renderQueue.clear();
|
|
347
330
|
});
|
|
348
|
-
this.params =
|
|
331
|
+
this.params = f({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), I(1, { namespace: R.PlayAudio });
|
|
349
332
|
try {
|
|
350
|
-
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME =
|
|
333
|
+
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = C + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
351
334
|
get: function() {
|
|
352
335
|
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, o) => o.tags.length - i.tags.length)[0];
|
|
353
336
|
}
|
|
@@ -356,23 +339,23 @@ class Ao extends V {
|
|
|
356
339
|
}
|
|
357
340
|
}
|
|
358
341
|
appendTo(e) {
|
|
359
|
-
var i, o,
|
|
342
|
+
var i, o, r, n;
|
|
360
343
|
this.debugUtil.addLog("appendTo"), this.container = e, (i = this.css3DRenderPlugin) == null || i.appendToFrontFiveContainer(this.container);
|
|
361
|
-
const t = (
|
|
362
|
-
t && t !== this.container && ((
|
|
344
|
+
const t = (r = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : r.root;
|
|
345
|
+
t && t !== this.container && ((n = this.TagContainerSvelte) == null || n.$destroy(), this.TagContainerSvelte = void 0);
|
|
363
346
|
}
|
|
364
347
|
/**
|
|
365
348
|
* @description 加载数据
|
|
366
349
|
*/
|
|
367
350
|
load(e) {
|
|
368
|
-
return
|
|
351
|
+
return l(this, null, function* () {
|
|
369
352
|
var i, o;
|
|
370
353
|
this.clearTags();
|
|
371
354
|
try {
|
|
372
355
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
373
|
-
} catch (
|
|
356
|
+
} catch (r) {
|
|
374
357
|
}
|
|
375
|
-
this.config =
|
|
358
|
+
this.config = f({}, this.config, {
|
|
376
359
|
globalConfig: (i = e.globalConfig) != null ? i : {},
|
|
377
360
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
378
361
|
});
|
|
@@ -384,22 +367,22 @@ class Ao extends V {
|
|
|
384
367
|
* @description 添加标签
|
|
385
368
|
*/
|
|
386
369
|
addTag(e) {
|
|
387
|
-
return
|
|
370
|
+
return l(this, null, function* () {
|
|
388
371
|
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
389
|
-
const
|
|
390
|
-
if (
|
|
391
|
-
return new
|
|
392
|
-
if (
|
|
393
|
-
return new
|
|
394
|
-
if (
|
|
395
|
-
return new
|
|
372
|
+
const r = L(o);
|
|
373
|
+
if (r === "2DPoint" || r === "3DPoint")
|
|
374
|
+
return new z(this, o);
|
|
375
|
+
if (r === "Model")
|
|
376
|
+
return new Q(this, o);
|
|
377
|
+
if (r === "Plane")
|
|
378
|
+
return new $(this, o);
|
|
396
379
|
});
|
|
397
|
-
return i.forEach(
|
|
398
|
-
var o,
|
|
399
|
-
this.store.eventListenerDisposer && ((
|
|
400
|
-
this.tags.includes(
|
|
401
|
-
this.tags.includes(
|
|
402
|
-
}),
|
|
380
|
+
return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
|
|
381
|
+
var o, r;
|
|
382
|
+
this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (n) => {
|
|
383
|
+
this.tags.includes(n) && (n.stickType === "Model" && n.loadModel().then(() => {
|
|
384
|
+
this.tags.includes(n) && n.updateVisible();
|
|
385
|
+
}), n.updateVisible(), n.updateZIndex());
|
|
403
386
|
}), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
|
|
404
387
|
}));
|
|
405
388
|
});
|
|
@@ -408,7 +391,7 @@ class Ao extends V {
|
|
|
408
391
|
* @description 改变配置
|
|
409
392
|
*/
|
|
410
393
|
changeConfig(e, t = !0) {
|
|
411
|
-
t ? this.config =
|
|
394
|
+
t ? this.config = f({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
412
395
|
i.updateConfig();
|
|
413
396
|
}), this.tagsDo(this.tags, (i) => {
|
|
414
397
|
i.updateVisible();
|
|
@@ -418,7 +401,7 @@ class Ao extends V {
|
|
|
418
401
|
* @description 改变全局配置
|
|
419
402
|
*/
|
|
420
403
|
changeGlobalConfig(e, t = !0) {
|
|
421
|
-
t ? this.config.globalConfig =
|
|
404
|
+
t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
422
405
|
i.updateConfig();
|
|
423
406
|
}), this.tagsDo(this.tags, (i) => {
|
|
424
407
|
i.updateVisible();
|
|
@@ -428,14 +411,14 @@ class Ao extends V {
|
|
|
428
411
|
* @description 改变类型配置
|
|
429
412
|
*/
|
|
430
413
|
changeContentTypeConfig(e, t, i = !0) {
|
|
431
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
414
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
|
|
432
415
|
o.updateConfig();
|
|
433
416
|
}), this.tagsDo(this.tags, (o) => {
|
|
434
417
|
o.updateVisible();
|
|
435
418
|
});
|
|
436
419
|
}
|
|
437
420
|
show(e) {
|
|
438
|
-
return
|
|
421
|
+
return l(this, null, function* () {
|
|
439
422
|
if (this.checkDisposed())
|
|
440
423
|
return;
|
|
441
424
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -443,7 +426,7 @@ class Ao extends V {
|
|
|
443
426
|
});
|
|
444
427
|
}
|
|
445
428
|
hide(e) {
|
|
446
|
-
return
|
|
429
|
+
return l(this, null, function* () {
|
|
447
430
|
if (this.checkDisposed())
|
|
448
431
|
return;
|
|
449
432
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -465,18 +448,18 @@ class Ao extends V {
|
|
|
465
448
|
setState(e, t) {
|
|
466
449
|
if (this.checkDisposed())
|
|
467
450
|
return;
|
|
468
|
-
const { userAction: i = !0 } = t != null ? t : {}, o =
|
|
451
|
+
const { userAction: i = !0 } = t != null ? t : {}, o = m({}, this.state);
|
|
469
452
|
this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
|
|
470
453
|
}
|
|
471
454
|
/**
|
|
472
455
|
* @description 销毁
|
|
473
456
|
*/
|
|
474
457
|
dispose() {
|
|
475
|
-
var e, t, i, o,
|
|
458
|
+
var e, t, i, o, r, n;
|
|
476
459
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((s) => {
|
|
477
|
-
var
|
|
478
|
-
return (
|
|
479
|
-
}), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (
|
|
460
|
+
var h;
|
|
461
|
+
return (h = s.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
462
|
+
}), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (r = this.store).resizeObserverDisposer) == null || n.call(r), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
480
463
|
}
|
|
481
464
|
/**
|
|
482
465
|
* @description 闪烁标签
|
|
@@ -484,7 +467,7 @@ class Ao extends V {
|
|
|
484
467
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
485
468
|
*/
|
|
486
469
|
blinkTagById(e, t) {
|
|
487
|
-
return
|
|
470
|
+
return l(this, null, function* () {
|
|
488
471
|
var i;
|
|
489
472
|
return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
|
|
490
473
|
});
|
|
@@ -515,7 +498,7 @@ class Ao extends V {
|
|
|
515
498
|
*/
|
|
516
499
|
changeTagNormalById(e, t) {
|
|
517
500
|
const i = this.getTagById(e);
|
|
518
|
-
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal =
|
|
501
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = E(t));
|
|
519
502
|
}
|
|
520
503
|
/**
|
|
521
504
|
* @description 改变data
|
|
@@ -565,15 +548,15 @@ class Ao extends V {
|
|
|
565
548
|
clearTags() {
|
|
566
549
|
var e;
|
|
567
550
|
this.tags.length && (this.tags.forEach((t) => {
|
|
568
|
-
var i, o,
|
|
569
|
-
(o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (
|
|
551
|
+
var i, o, r, n, s;
|
|
552
|
+
(o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (n = (r = t.model) == null ? void 0 : r.object) == null ? void 0 : n.parent) == null || s.remove(t.model.object);
|
|
570
553
|
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
|
|
571
554
|
}
|
|
572
555
|
/**
|
|
573
556
|
* @description 设置 unfolded
|
|
574
557
|
*/
|
|
575
558
|
setUnfolded() {
|
|
576
|
-
return
|
|
559
|
+
return l(this, null, function* () {
|
|
577
560
|
return new Promise((e) => {
|
|
578
561
|
setTimeout(() => {
|
|
579
562
|
this.setUnfoldedByCamera(), e();
|
|
@@ -596,8 +579,8 @@ class Ao extends V {
|
|
|
596
579
|
handleDisable() {
|
|
597
580
|
var e, t, i;
|
|
598
581
|
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
|
|
599
|
-
var
|
|
600
|
-
(
|
|
582
|
+
var r;
|
|
583
|
+
(r = o.tag3DContentSvelte) == null || r.dispose(), o.tag3DContentSvelte = void 0;
|
|
601
584
|
}), this.five.needsRender = !0;
|
|
602
585
|
}
|
|
603
586
|
addResizeListener() {
|
|
@@ -612,20 +595,20 @@ class Ao extends V {
|
|
|
612
595
|
if (this.store.disposed)
|
|
613
596
|
return;
|
|
614
597
|
const e = this.five.getElement(), t = () => {
|
|
615
|
-
this.state.enabled && (this.filterPointTag.forEach((
|
|
598
|
+
this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
616
599
|
}, i = () => {
|
|
617
600
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
618
|
-
}, { observe: o, unobserve:
|
|
619
|
-
|
|
601
|
+
}, { observe: o, unobserve: r } = b(
|
|
602
|
+
M(() => {
|
|
620
603
|
this.store.resizeObserverDisposer && i();
|
|
621
604
|
}, 500),
|
|
622
605
|
e
|
|
623
|
-
), { observe:
|
|
624
|
-
|
|
606
|
+
), { observe: n, unobserve: s } = b(
|
|
607
|
+
w(() => t(), 400),
|
|
625
608
|
e
|
|
626
609
|
);
|
|
627
|
-
return o(),
|
|
628
|
-
|
|
610
|
+
return o(), n(), () => {
|
|
611
|
+
r(), s();
|
|
629
612
|
};
|
|
630
613
|
}
|
|
631
614
|
setUnfoldedByCamera() {
|
|
@@ -635,31 +618,31 @@ class Ao extends V {
|
|
|
635
618
|
if (t.state && i !== void 0) {
|
|
636
619
|
if (i === !0 && t.screenPosition) {
|
|
637
620
|
const o = t.getConfig().unfoldedConfig;
|
|
638
|
-
|
|
621
|
+
T(o).keep !== "unfolded" && (e = !0);
|
|
639
622
|
}
|
|
640
623
|
t.state.unfolded = i;
|
|
641
624
|
}
|
|
642
625
|
}), e && this.filterPointTag.forEach((t) => {
|
|
643
626
|
const i = t.getConfig().unfoldedConfig;
|
|
644
|
-
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 ||
|
|
627
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || T(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
645
628
|
});
|
|
646
629
|
}
|
|
647
630
|
changeTagMode(e, t) {
|
|
648
|
-
var i, o,
|
|
649
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((
|
|
631
|
+
var i, o, r, n, s, h;
|
|
632
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : n.mode) !== t && ((s = e.config) != null && s.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
|
|
650
633
|
}
|
|
651
634
|
/**
|
|
652
635
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
|
653
636
|
*/
|
|
654
637
|
addEventListener() {
|
|
655
|
-
const { five: e, hooks: t } = this, i =
|
|
638
|
+
const { five: e, hooks: t } = this, i = j(this.five, this.onFiveEveryReady);
|
|
656
639
|
return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), e.on("render.prepare", this.render), t.on("click", this.clickhandler), () => {
|
|
657
640
|
i(), e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), e.off("render.prepare", this.render), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
|
|
658
641
|
};
|
|
659
642
|
}
|
|
660
643
|
}
|
|
661
644
|
export {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
645
|
+
Co as PanoTagPluginController,
|
|
646
|
+
Co as default,
|
|
647
|
+
To as pluginFlag
|
|
665
648
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var y = Object.getOwnPropertySymbols;
|
|
3
3
|
var p = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var d = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t,
|
|
4
|
+
var d = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, a = (i, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
p.call(e, t) && d(i, t, e[t]);
|
|
7
7
|
if (y)
|
|
@@ -9,8 +9,8 @@ var d = (i, e, t) => e in i ? g(i, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
f.call(e, t) && d(i, t, e[t]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
import * as
|
|
12
|
+
var s = (i, e, t) => (d(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
import * as o from "three";
|
|
14
14
|
import { DEFAULT_COLOR as F, DEFAULT_OPACITY as B, DEFAULT_HIGHLIGHT_OPACITY as M } from "../../typings/style.js";
|
|
15
15
|
import { IObject3D as T } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
import "../../../shared-utils/tag.js";
|
|
@@ -18,40 +18,41 @@ import "hammerjs";
|
|
|
18
18
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
19
19
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
20
20
|
import "@realsee/five/line";
|
|
21
|
-
import { notNil as
|
|
21
|
+
import { notNil as u } from "../../../shared-utils/isNil.js";
|
|
22
22
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
23
23
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
26
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
27
|
-
class
|
|
27
|
+
class A extends T {
|
|
28
28
|
constructor(t) {
|
|
29
|
-
var
|
|
29
|
+
var c, m;
|
|
30
30
|
super();
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
s(this, "name", "ColoredMesh");
|
|
32
|
+
s(this, "meshFont");
|
|
33
|
+
s(this, "meshBackground");
|
|
34
|
+
s(this, "paramsStyle", {});
|
|
35
|
+
s(this, "_geometry", new o.BufferGeometry());
|
|
36
|
+
s(this, "highlighted", !1);
|
|
37
|
+
s(this, "opacityBeforeHighlight");
|
|
38
38
|
this.paramsStyle = t != null ? t : {};
|
|
39
|
-
const
|
|
40
|
-
color: (
|
|
39
|
+
const n = new o.MeshBasicMaterial({
|
|
40
|
+
color: new o.Color((c = t == null ? void 0 : t.color) != null ? c : F).convertSRGBToLinear(),
|
|
41
|
+
// 给 MeshBasicMaterial 的颜色必须是 linear,要不颜色不对
|
|
41
42
|
transparent: !0,
|
|
42
|
-
side:
|
|
43
|
+
side: o.DoubleSide,
|
|
43
44
|
depthTest: !0,
|
|
44
45
|
depthWrite: !1,
|
|
45
46
|
opacity: (m = t == null ? void 0 : t.opacity) != null ? m : B
|
|
46
|
-
}), l = new
|
|
47
|
+
}), l = new o.MeshBasicMaterial({
|
|
47
48
|
color: 16777215,
|
|
48
49
|
transparent: !0,
|
|
49
|
-
side:
|
|
50
|
+
side: o.DoubleSide,
|
|
50
51
|
depthTest: !1,
|
|
51
52
|
depthWrite: !1,
|
|
52
|
-
opacity: 0.3 / 0.5 *
|
|
53
|
-
}),
|
|
54
|
-
|
|
53
|
+
opacity: 0.3 / 0.5 * n.opacity
|
|
54
|
+
}), h = new o.Mesh(this.geometry, n), r = new o.Mesh(this.geometry, l);
|
|
55
|
+
h.name = "MeshFront", r.name = "MeshBackground", h.renderOrder = 1, r.renderOrder = 0, this.meshFont = h, this.meshBackground = r, this.add(h), this.setOcclusionVisibility({ occlusionVisibility: t == null ? void 0 : t.occlusionVisibility, occlusionMode: t == null ? void 0 : t.occlusionMode });
|
|
55
56
|
}
|
|
56
57
|
get style() {
|
|
57
58
|
return {
|
|
@@ -80,7 +81,7 @@ class L extends T {
|
|
|
80
81
|
return this._geometry;
|
|
81
82
|
}
|
|
82
83
|
setStyle(t) {
|
|
83
|
-
this.paramsStyle =
|
|
84
|
+
this.paramsStyle = a(a({}, this.paramsStyle), t), u(t.color) && (this.meshFont.material.color.set(new o.Color(t.color).convertSRGBToLinear()), this.needsRender = !0), u(t.opacity) && (this.meshFont.material.opacity = t.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(t);
|
|
84
85
|
}
|
|
85
86
|
highlight() {
|
|
86
87
|
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.meshFont.material.opacity = this.opacity * M, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0);
|
|
@@ -89,11 +90,11 @@ class L extends T {
|
|
|
89
90
|
this.highlighted && (this.highlighted = !1, this.meshFont.material.opacity = this.opacityBeforeHighlight, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0);
|
|
90
91
|
}
|
|
91
92
|
setOcclusionVisibility(t) {
|
|
92
|
-
var
|
|
93
|
-
const
|
|
94
|
-
|
|
93
|
+
var h, r, c;
|
|
94
|
+
const n = (r = (h = t.occlusionMode) != null ? h : this.paramsStyle.occlusionMode) != null ? r : "translucence", l = (c = t.occlusionVisibility) != null ? c : this.paramsStyle.occlusionVisibility;
|
|
95
|
+
u(l) && (l ? n === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : n === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
export {
|
|
98
|
-
|
|
99
|
+
A as ColoredMesh
|
|
99
100
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -11,8 +11,8 @@ import "@realsee/five/line";
|
|
|
11
11
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
12
12
|
import "../shared-utils/three/core/Sphere.js";
|
|
13
13
|
import "animejs";
|
|
14
|
-
import { FiveUtil as
|
|
15
|
-
import { absoluteUrl as
|
|
14
|
+
import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
|
|
15
|
+
import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
|
|
16
16
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
17
17
|
import "../shared-utils/five/FivePuppet.js";
|
|
18
18
|
let F = class {
|
|
@@ -20,7 +20,7 @@ let F = class {
|
|
|
20
20
|
/**
|
|
21
21
|
* @realsee/dnalogel 版本号
|
|
22
22
|
*/
|
|
23
|
-
i(this, "VERSION", "3.
|
|
23
|
+
i(this, "VERSION", "3.56.1");
|
|
24
24
|
i(this, "NAME");
|
|
25
25
|
i(this, "five");
|
|
26
26
|
i(this, "workUtil");
|
|
@@ -39,7 +39,7 @@ let F = class {
|
|
|
39
39
|
return this.workUtil.workCode;
|
|
40
40
|
}
|
|
41
41
|
updateFive(t) {
|
|
42
|
-
this.five = t, this.fiveUtil = new
|
|
42
|
+
this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
|
|
@@ -51,7 +51,7 @@ let F = class {
|
|
|
51
51
|
* @description: 获取静态资源的url
|
|
52
52
|
*/
|
|
53
53
|
absoluteUrl(t) {
|
|
54
|
-
return
|
|
54
|
+
return a(this.staticPrefix, t);
|
|
55
55
|
}
|
|
56
56
|
onWorkCodeChange() {
|
|
57
57
|
}
|