@realsee/dnalogel 3.32.0-dev.0 → 3.32.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/CHANGELOG.md +4 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/dist/index.cjs.js +61 -61
- package/dist/index.js +5078 -5255
- package/dist/index.umd.js +57 -57
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +44 -34
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +44 -34
- package/docs/classes/CSS3DRender.html +43 -33
- package/docs/classes/GuideLineItem.GuideLineItem.html +31 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +55 -45
- package/docs/classes/{Magnifier.html → ModelMakerPluginInstance.html} +200 -113
- package/docs/classes/ModelRoomLabelController.html +23 -13
- package/docs/classes/MoveController.html +43 -33
- package/docs/classes/Object3DHelperController.html +39 -47
- package/docs/classes/PaintBrush.html +27 -17
- package/docs/classes/PanoMeasurePluginLine.html +56 -36
- package/docs/classes/PanoMeasurePluginModel.html +42 -32
- package/docs/classes/PanoMeasurePluginPoint.html +23 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +54 -34
- package/docs/classes/PanoTagPluginController.html +229 -123
- package/docs/classes/Sculpt.html +852 -0
- package/docs/classes/Util.BetterTween.html +27 -13
- package/docs/classes/Util.Interval.html +29 -15
- package/docs/classes/Util.LineSegments.html +25 -11
- package/docs/classes/Util.Magnifier.html +93 -60
- package/docs/classes/Util.Object3D.html +26 -12
- package/docs/classes/Util.PointDomHelper.html +28 -14
- package/docs/classes/Util.PointHelper.html +28 -14
- package/docs/classes/Util.PointSelectorHelper.html +34 -20
- package/docs/classes/Util.Rectangle.html +30 -16
- package/docs/classes/WalkController.html +39 -29
- package/docs/enums/CameraMovementEffect.html +19 -9
- package/docs/enums/ContentType.html +33 -23
- package/docs/enums/DIRECTION.html +21 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/DimensionType.html +19 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +20 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/PaintBrushTypeEnum.html +20 -10
- package/docs/enums/PointType.html +19 -9
- package/docs/enums/Rotation.html +20 -10
- package/docs/functions/AreaMakerPlugin.html +17 -7
- package/docs/functions/CSS3DRenderPlugin.html +17 -7
- package/docs/functions/CameraMovementPlugin.html +17 -7
- package/docs/functions/CruisePlugin.html +17 -7
- package/docs/functions/CurrentPanoImagePlugin.html +17 -7
- package/docs/functions/GuideLinePlugin.html +17 -7
- package/docs/functions/ItemLabelPlugin.html +17 -7
- package/docs/functions/MapviewFloorplanPlugin.html +17 -7
- package/docs/functions/ModelChassisCompassPlugin.html +17 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +17 -7
- package/docs/functions/ModelFloorplanPlugin.html +17 -7
- package/docs/functions/ModelItemLabelPlugin.html +17 -7
- package/docs/functions/ModelMakerPlugin.html +303 -0
- package/docs/functions/ModelRoomLabelPlugin.html +17 -7
- package/docs/functions/ModelTVVideoPlugin.html +17 -7
- package/docs/functions/ModelViewPlugin.html +17 -7
- package/docs/functions/MovePlugin.html +18 -8
- package/docs/functions/Object3DHelperPlugin.html +17 -7
- package/docs/functions/PanoCompassPlugin.html +17 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +17 -7
- package/docs/functions/PanoDoorLabelPlugin.html +17 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +17 -7
- package/docs/functions/PanoMeasurePlugin.html +17 -7
- package/docs/functions/PanoRulerPlugin.html +17 -7
- package/docs/functions/PanoRulerProPlugin.html +17 -7
- package/docs/functions/PanoSpatialTagPlugin.html +17 -7
- package/docs/functions/PanoTagPlugin.html +17 -7
- package/docs/functions/PanoVideoPlugin.html +17 -7
- package/docs/functions/PipelinePlugin.html +17 -7
- package/docs/functions/SculptPlugin.html +306 -0
- package/docs/functions/TopviewFloorplanPlugin.html +17 -7
- package/docs/functions/Util.absoluteUrl.html +22 -8
- package/docs/functions/Util.blink.html +351 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +22 -8
- package/docs/functions/Util.equal.html +22 -8
- package/docs/functions/Util.getCoordsFromClient.html +22 -8
- package/docs/functions/Util.getCoordsFromElement.html +22 -8
- package/docs/functions/Util.getFrameTime.html +22 -8
- package/docs/functions/Util.getIntersectFromRelativePosition.html +29 -10
- package/docs/functions/Util.getRaycasterFromFivePointer.html +22 -8
- package/docs/functions/Util.isAbsoluteURL.html +22 -8
- package/docs/functions/Util.isModelLike.html +22 -8
- package/docs/functions/Util.isNil.html +22 -8
- package/docs/functions/Util.isPanoramaLike.html +22 -8
- package/docs/functions/Util.nextFrame.html +22 -8
- package/docs/functions/Util.notNil.html +22 -8
- package/docs/functions/Util.reblink.html +349 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +22 -8
- package/docs/functions/Util.tweenProgress.html +22 -8
- package/docs/functions/Util.uuid.html +22 -8
- package/docs/functions/pluginFlag.html +17 -7
- package/docs/index.html +18 -7
- package/docs/interfaces/AddTagConfig.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.Config.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +30 -20
- package/docs/interfaces/AreaMakerPluginType.Params.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -10
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +19 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.State.html +19 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +20 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +19 -9
- package/docs/interfaces/ContentTypeMapInterface.html +773 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +21 -10
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +24 -13
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -22
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +352 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +39 -23
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.PluginData.html +41 -30
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +18 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +23 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +24 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +19 -9
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +18 -8
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +20 -10
- package/docs/interfaces/EventMap.html +27 -17
- package/docs/interfaces/FloorplanBounding.html +20 -10
- package/docs/interfaces/FloorplanData.html +22 -12
- package/docs/interfaces/FloorplanEntrance.html +23 -13
- package/docs/interfaces/FloorplanExtraObject.html +22 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +20 -10
- package/docs/interfaces/FloorplanFloorData.html +21 -11
- package/docs/interfaces/FloorplanImagePosition.html +19 -9
- package/docs/interfaces/FloorplanObserver.html +21 -11
- package/docs/interfaces/FloorplanOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanPosition.html +19 -9
- package/docs/interfaces/FloorplanRoomItem.html +26 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +19 -9
- package/docs/interfaces/FloorplanServerBounding.html +20 -10
- package/docs/interfaces/FloorplanServerComputedData.html +22 -12
- package/docs/interfaces/FloorplanServerData.html +19 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +22 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +20 -10
- package/docs/interfaces/FloorplanServerEntrance.html +23 -13
- package/docs/interfaces/FloorplanServerFloorData.html +21 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +19 -9
- package/docs/interfaces/FloorplanServerObserver.html +21 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanServerPosition.html +19 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +19 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +20 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +21 -11
- package/docs/interfaces/GuideLinePluginType.EventMap.html +24 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +19 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +17 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +26 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +17 -7
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +19 -9
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -22
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +18 -8
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +33 -23
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +16 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +17 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +19 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +22 -12
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +20 -10
- package/docs/interfaces/HelperOffset.html +20 -10
- package/docs/interfaces/ImagePlaneGroup.html +18 -8
- package/docs/interfaces/ItemLabelPluginData.html +18 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +21 -11
- package/docs/interfaces/MinMax.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +20 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +19 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +20 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +20 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +18 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +19 -9
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +556 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +349 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +391 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +332 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +401 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +381 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +364 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +18 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +21 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +20 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +18 -8
- package/docs/interfaces/ModelViewPluginExportType.html +23 -13
- package/docs/interfaces/Object3DHelperState.html +20 -10
- package/docs/interfaces/ObjectHelperControllers.html +22 -12
- package/docs/interfaces/PaintBrushAction.html +24 -14
- package/docs/interfaces/PaintBrushConfigs.html +24 -14
- package/docs/interfaces/PaintBrushState.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +17 -7
- package/docs/interfaces/PanoMeasureParameterType.html +28 -18
- package/docs/interfaces/PanoMeasurePluginLineJson.html +20 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +20 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +22 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +20 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +21 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +19 -9
- package/docs/interfaces/PanoRulerProPluginState.html +20 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +22 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +21 -11
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +22 -12
- package/docs/interfaces/Point.html +20 -10
- package/docs/interfaces/Room.html +21 -11
- package/docs/interfaces/RoomInfo.html +19 -9
- package/docs/interfaces/RoomLabel.html +26 -16
- package/docs/interfaces/RoomRules.html +17 -7
- package/docs/interfaces/Rooms.html +17 -7
- package/docs/interfaces/Scissor.html +21 -11
- package/docs/interfaces/State.html +20 -10
- package/docs/interfaces/TagCacheInterface.html +24 -14
- package/docs/interfaces/TagConfig.html +65 -49
- package/docs/interfaces/TagGLTFObjectGroup.html +18 -8
- package/docs/interfaces/TagIconUrl.html +24 -14
- package/docs/interfaces/TagObjectGroup.html +18 -8
- package/docs/interfaces/TagStyle.html +18 -8
- package/docs/interfaces/Tags.html +61 -437
- package/docs/interfaces/TemporaryState.html +18 -8
- package/docs/interfaces/Util.BlinkAnimeOptions.html +380 -0
- package/docs/interfaces/Util.MagnifierParameter.html +43 -24
- package/docs/interfaces/Util.MouseGroupParameter.html +25 -11
- package/docs/interfaces/Util.PointIntersection.html +33 -12
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +387 -0
- package/docs/modules/AreaMakerPluginType.html +16 -6
- package/docs/modules/CruisePluginTypes.html +18 -6
- package/docs/modules/CurrentPanoImagePluginType.html +17 -7
- package/docs/modules/GuideLineItem.html +17 -7
- package/docs/modules/GuideLineModeItem.html +17 -7
- package/docs/modules/GuideLinePluginType.html +16 -6
- package/docs/modules/ModelMakerPluginType.html +339 -0
- package/docs/modules/PanoVideoPluginType.html +17 -7
- package/docs/modules/SculptData.html +318 -0
- package/docs/modules/Util.html +26 -8
- package/docs/modules.html +34 -11
- package/docs/types/AddObject3DHelperConfig.html +315 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +16 -6
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +16 -6
- package/docs/types/AreaMakerPluginType.PluginData.html +16 -6
- package/docs/types/AreaMakerPluginType.ServerData.html +16 -6
- package/docs/types/ArrayPosition.html +17 -7
- package/docs/types/AudioAppearance.html +17 -7
- package/docs/types/CSS3DRenderExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +17 -7
- package/docs/types/ClassFunctionParameters.html +17 -7
- package/docs/types/Color.html +17 -7
- package/docs/types/ContentTypeConfigKey.html +17 -7
- package/docs/types/ContentTypeConfigKeySplit.html +18 -8
- package/docs/types/ContentTypeMap.html +17 -7
- package/docs/types/Create3DDomContainerReturnType.html +17 -7
- package/docs/types/Create3DElementReturnType.html +17 -7
- package/docs/types/CruisePluginExportType.html +17 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +17 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +17 -6
- package/docs/types/CurrentPanoImagePluginExportType.html +17 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +17 -7
- package/docs/types/DeprecatedTagProperty.html +17 -7
- package/docs/types/Direction-1.html +17 -7
- package/docs/types/Direction4.html +17 -7
- package/docs/types/ElementRenderer.html +17 -7
- package/docs/types/FloorplanRuleLabels.html +17 -7
- package/docs/types/FloorplanServerRuleLabels.html +17 -7
- package/docs/types/GuideLinePluginExportType.html +17 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +18 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +16 -6
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +16 -6
- package/docs/types/GuideLinePluginType.PathItem.html +16 -6
- package/docs/types/GuideLinePluginType.PluginData.html +16 -6
- package/docs/types/HelperEventMap.html +17 -7
- package/docs/types/InternalHelperEventMap.html +29 -11
- package/docs/types/LoadTagConfig.html +17 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/MediaData.html +20 -10
- package/docs/types/MediaStore.html +17 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +17 -7
- package/docs/types/ModelId.html +17 -7
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +329 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +308 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +17 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +17 -7
- package/docs/types/MoveArgs.html +17 -7
- package/docs/types/MoveOpts.html +17 -7
- package/docs/types/Object3DHelperEventMap.html +17 -7
- package/docs/types/ObjectFit.html +17 -7
- package/docs/types/PaintBrushEventMap.html +17 -7
- package/docs/types/PanoCompassPluginData.html +17 -7
- package/docs/types/PanoCompassPluginExportType.html +17 -7
- package/docs/types/PanoCompassPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +17 -7
- package/docs/types/PanoIndex.html +17 -7
- package/docs/types/PanoMeasurePluginEvent.html +17 -7
- package/docs/types/PanoMeasureReturnType.html +17 -7
- package/docs/types/PanoSpatialTagPluginId.html +17 -7
- package/docs/types/PanoTagPluginExportInterface.html +17 -7
- package/docs/types/PanoTagPluginParamsInterface.html +17 -7
- package/docs/types/PanoVideoPluginParameterType.html +17 -7
- package/docs/types/PanoVideoPluginReturnType.html +17 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +22 -12
- package/docs/types/PipelinePluginParameterType.html +17 -7
- package/docs/types/PipelinePluginReturnType.html +17 -7
- package/docs/types/PlaneTag.html +17 -7
- package/docs/types/Point2DTag.html +17 -7
- package/docs/types/Point3DTag.html +17 -7
- package/docs/types/PointTag.html +17 -7
- package/docs/types/PointTagInstance.html +17 -7
- package/docs/types/Position.html +17 -7
- package/docs/types/{AudioTagTypeConfigKey.html → PositionFrom.html} +28 -10
- package/docs/types/RotateArgs.html +17 -7
- package/docs/types/RotateOpts.html +17 -7
- package/docs/types/RuleLabelsKey.html +17 -7
- package/docs/types/RuleLabelsValue.html +17 -7
- package/docs/types/ScaleCallback.html +314 -0
- package/docs/types/ScalePosition.html +303 -0
- package/docs/types/SculptData.BoxData.html +306 -0
- package/docs/types/SculptData.CircleData.html +306 -0
- package/docs/types/SculptData.CylinderData.html +306 -0
- package/docs/types/SculptData.PointData.html +306 -0
- package/docs/types/SculptData.PolygonData.html +306 -0
- package/docs/types/SculptData.PolylineData.html +306 -0
- package/docs/types/SculptData.PrismData.html +306 -0
- package/docs/types/SculptData.RectangleData.html +306 -0
- package/docs/types/StickType.html +17 -7
- package/docs/types/Tag.html +35 -13
- package/docs/types/Tag2D.html +17 -7
- package/docs/types/Tag3D.html +17 -7
- package/docs/types/TagConfigByKey.html +18 -8
- package/docs/types/TagContentType.html +17 -7
- package/docs/types/TagContentTypeMapping.html +17 -7
- package/docs/types/TagDimensionType.html +17 -7
- package/docs/types/TagElement.html +17 -7
- package/docs/types/TagEvents.html +38 -12
- package/docs/types/TagGLTFObject.html +17 -7
- package/docs/types/TagHooks.html +17 -7
- package/docs/types/TagId.html +17 -7
- package/docs/types/TagInstance.html +44 -8
- package/docs/types/TagPointType.html +17 -7
- package/docs/types/TagRendererMap.html +17 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/WorkCode.html +17 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +17 -7
- package/docs/variables/PLUGIN.html +17 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +17 -7
- package/docs/variables/ROOM_TYPE_MAP.html +17 -7
- package/docs/variables/defaultGlobalConfig.html +17 -7
- package/docs/variables/itemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +17 -7
- package/libs/AreaMakerPlugin/Controller.js +44 -54
- package/libs/AreaMakerPlugin/index.js +3 -13
- package/libs/AreaMakerPlugin/utils/Item.js +3 -13
- package/libs/CSS3DRenderPlugin/Controller.js +9 -9
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Move.js +38 -52
- package/libs/CruisePlugin/Work.js +7 -21
- package/libs/CruisePlugin/index.js +11 -25
- package/libs/GuideLinePlugin/Components/Tag.js +48 -58
- package/libs/GuideLinePlugin/Controller.js +34 -48
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -21
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -21
- package/libs/GuideLinePlugin/index.js +11 -25
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +139 -152
- package/libs/ItemLabelPlugin/ItemLabelItem.js +57 -67
- package/libs/ItemLabelPlugin/Plugin.js +26 -37
- package/libs/ItemLabelPlugin/index.js +5 -16
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +103 -116
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +35 -45
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +24 -35
- package/libs/ModelItemLabelPlugin/index.js +5 -16
- package/libs/ModelMakerPlugin/Controller.js +23 -33
- package/libs/ModelMakerPlugin/index.js +3 -13
- package/libs/ModelMakerPlugin/utils/Text.js +33 -43
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -28
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -20
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +42 -52
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +61 -75
- package/libs/ModelRoomLabelPlugin/index.js +5 -17
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +9 -9
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +28 -38
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +45 -55
- package/libs/PanoDoorLabelPlugin/index.js +4 -14
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +60 -70
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +22 -32
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +62 -75
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +97 -110
- package/libs/PanoMeasurePlugin/Components/Controller0.js +62 -73
- package/libs/PanoMeasurePlugin/Components/Controller1.js +23 -34
- package/libs/PanoMeasurePlugin/Components/Tip.js +66 -76
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +18 -29
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -26
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +24 -35
- package/libs/PanoMeasurePlugin/index.js +17 -28
- package/libs/PanoRulerProPlugin/Controller.js +27 -38
- package/libs/PanoRulerProPlugin/RulerItem.js +79 -94
- package/libs/PanoRulerProPlugin/RulerItems.js +82 -95
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +38 -51
- package/libs/PanoSpatialTagPlugin/Components/tag.js +22 -32
- package/libs/PanoSpatialTagPlugin/Plugin.js +105 -116
- package/libs/PanoSpatialTagPlugin/index.js +3 -14
- package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +34 -44
- package/libs/PanoTagPlugin/Components/Common/Audio.js +89 -99
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +112 -123
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +45 -55
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +49 -59
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +69 -79
- package/libs/PanoTagPlugin/Components/Common/Media.js +131 -145
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +25 -35
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +48 -58
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -35
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +86 -97
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +96 -109
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +49 -59
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -100
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +81 -92
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +57 -68
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -45
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +110 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +42 -53
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +115 -130
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -66
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +52 -62
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +56 -66
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +98 -109
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +43 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +148 -161
- package/libs/PanoTagPlugin/Components/TagContainer.js +62 -77
- package/libs/PanoTagPlugin/Components/TagItem.js +169 -182
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +42 -52
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +49 -63
- package/libs/PanoTagPlugin/index.js +16 -30
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +51 -56
- package/libs/floorplan/Components/BaseImage.js +39 -43
- package/libs/floorplan/Components/Camera.js +32 -41
- package/libs/floorplan/Components/Compass.js +24 -27
- package/libs/floorplan/Components/CurrentFloor.js +162 -167
- package/libs/floorplan/Components/Main.js +76 -85
- package/libs/floorplan/Components/MissingFloor.js +21 -24
- package/libs/floorplan/Components/Normalmage.js +22 -25
- package/libs/floorplan/Components/RoomHighlight/Room.js +25 -28
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +61 -69
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +101 -104
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +57 -65
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +118 -125
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +22 -25
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -43
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +29 -32
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +41 -49
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +94 -102
- package/libs/floorplan/Components/SvgImage.js +27 -30
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -18
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +46 -58
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +65 -77
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -95
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +53 -70
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +100 -112
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +28 -40
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -16
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +18 -30
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +130 -145
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +749 -0
- package/libs/vendor/svelte/{src/runtime/store → store}/index.js +5 -5
- package/libs/vendor/svelte/{src/runtime/transition → transition}/index.js +1 -1
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +25 -29
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +225 -197
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +12 -16
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +59 -65
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +29 -32
- package/package.json +6 -5
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/libs/vendor/svelte/src/runtime/internal/Component.js +0 -122
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/animations.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +0 -47
- package/libs/vendor/svelte/src/runtime/internal/dev.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +0 -2
- package/libs/vendor/svelte/src/runtime/internal/dom.js +0 -214
- package/libs/vendor/svelte/src/runtime/internal/each.js +0 -46
- package/libs/vendor/svelte/src/runtime/internal/environment.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/globals.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/index.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +0 -63
- package/libs/vendor/svelte/src/runtime/internal/loop.js +0 -21
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +0 -66
- package/libs/vendor/svelte/src/runtime/internal/spread.js +0 -26
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +0 -48
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +0 -192
- package/libs/vendor/svelte/src/runtime/internal/utils.js +0 -110
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +0 -1
- package/libs/vendor/svelte/src/shared/utils/names.js +0 -1
- package/libs/vendor/svelte/src/shared/version.js +0 -4
- /package/libs/vendor/svelte/{src/runtime/easing → easing}/index.js +0 -0
- /package/libs/vendor/svelte/{src/runtime/index.js → index.js} +0 -0
|
@@ -67,8 +67,8 @@ import "../utils/normalPositionToPositions.js";
|
|
|
67
67
|
import "./TagCache.js";
|
|
68
68
|
import "../../base/BasePlugin.js";
|
|
69
69
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
70
|
-
import "../../vendor/svelte/
|
|
71
|
-
import "../../vendor/svelte/
|
|
70
|
+
import "../../vendor/svelte/store/index.js";
|
|
71
|
+
import "../../vendor/svelte/internal/index.js";
|
|
72
72
|
import "../../shared-utils/device.js";
|
|
73
73
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
74
74
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
@@ -88,25 +88,13 @@ import "../Assets/Icon.js";
|
|
|
88
88
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
89
89
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
90
90
|
import "../../shared-utils/three/getNormal.js";
|
|
91
|
-
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
92
|
-
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
93
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
94
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
95
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
96
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
97
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
98
|
-
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
99
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
100
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
101
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
102
91
|
import "../Components/TagItem.js";
|
|
103
92
|
import "../utils/noTypecheck.js";
|
|
104
93
|
import "../Components/Common/TagPoint.js";
|
|
105
94
|
import "../Components/Common/Shadow.js";
|
|
106
|
-
import "../../vendor/svelte/
|
|
107
|
-
import "../../vendor/svelte/
|
|
95
|
+
import "../../vendor/svelte/transition/index.js";
|
|
96
|
+
import "../../vendor/svelte/easing/index.js";
|
|
108
97
|
import "../Components/Common/Icon/Icon.js";
|
|
109
|
-
import "../../vendor/svelte/src/runtime/internal/await_block.js";
|
|
110
98
|
import "../utils/getImageInfo.js";
|
|
111
99
|
import "../utils/px2rem.js";
|
|
112
100
|
import "../../vendor/classnames/index.js";
|
|
@@ -127,7 +115,6 @@ import "../Components/Common/Text/MText.js";
|
|
|
127
115
|
import "../Components/Tag/ImageTextTag.js";
|
|
128
116
|
import "../Components/Common/Line/Polyline.js";
|
|
129
117
|
import "../Components/Common/Media.js";
|
|
130
|
-
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
131
118
|
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
132
119
|
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
133
120
|
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -172,10 +159,10 @@ import "../Components/Tag/LinkTag.js";
|
|
|
172
159
|
import "../Components/Tag/PanoramaTag.js";
|
|
173
160
|
import "../Components/Tag/CustomTag.js";
|
|
174
161
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
175
|
-
import "../../
|
|
162
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
176
163
|
import "@realsee/five/gltf-loader";
|
|
177
|
-
const
|
|
178
|
-
class
|
|
164
|
+
const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
|
|
165
|
+
class Ti extends V {
|
|
179
166
|
constructor(t) {
|
|
180
167
|
super(t);
|
|
181
168
|
u(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -197,7 +184,7 @@ class ki extends V {
|
|
|
197
184
|
return;
|
|
198
185
|
t.loading = !0;
|
|
199
186
|
const o = F(e).then((s) => {
|
|
200
|
-
var
|
|
187
|
+
var p;
|
|
201
188
|
const n = Object.assign(s.scene, {
|
|
202
189
|
customID: t.id,
|
|
203
190
|
isTagModel: !0,
|
|
@@ -206,7 +193,7 @@ class ki extends V {
|
|
|
206
193
|
this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
|
|
207
194
|
})
|
|
208
195
|
});
|
|
209
|
-
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (
|
|
196
|
+
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (p = this.getTagConfig(t).modelConfig) != null && p.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
|
|
210
197
|
});
|
|
211
198
|
t.model = { promise: o };
|
|
212
199
|
const i = yield o;
|
|
@@ -246,10 +233,11 @@ class ki extends V {
|
|
|
246
233
|
this.contentTypeMap.set(t, e);
|
|
247
234
|
}
|
|
248
235
|
clearTags() {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
236
|
+
var t;
|
|
237
|
+
this.tags.length && (this.tags.forEach((e) => {
|
|
238
|
+
var o, i;
|
|
239
|
+
(i = (o = e.mediaPlane) == null ? void 0 : o.parent) == null || i.remove(e.mediaPlane);
|
|
240
|
+
}), this.tags = [], (t = this.TagContainerSvelte) == null || t.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache();
|
|
253
241
|
}
|
|
254
242
|
/**
|
|
255
243
|
* @description 更新所有标签
|
|
@@ -262,7 +250,7 @@ class ki extends V {
|
|
|
262
250
|
var o, i;
|
|
263
251
|
return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Video";
|
|
264
252
|
}).forEach((e) => {
|
|
265
|
-
var
|
|
253
|
+
var l;
|
|
266
254
|
const o = e.data.mediaData[0];
|
|
267
255
|
if (!o)
|
|
268
256
|
return;
|
|
@@ -271,13 +259,13 @@ class ki extends V {
|
|
|
271
259
|
return;
|
|
272
260
|
const r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
273
261
|
if ((a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), s || n) {
|
|
274
|
-
const
|
|
262
|
+
const p = e.position.map(g), h = new L(i, p, {
|
|
275
263
|
videoCoverSrc: o.videoCoverUrl,
|
|
276
264
|
playButton: e.data.playIcon,
|
|
277
|
-
paused: !((
|
|
265
|
+
paused: !((l = e.data.autoplayConfig) != null && l.autoplayVideo),
|
|
278
266
|
objectFit: e.data.objectFit,
|
|
279
|
-
videoTextureMap:
|
|
280
|
-
ImageTextureMap:
|
|
267
|
+
videoTextureMap: $,
|
|
268
|
+
ImageTextureMap: q,
|
|
281
269
|
domEvents: this.domEvents
|
|
282
270
|
});
|
|
283
271
|
h.onVideoReady = (c) => {
|
|
@@ -303,8 +291,8 @@ class ki extends V {
|
|
|
303
291
|
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new w(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(
|
|
304
292
|
e.mediaPlane,
|
|
305
293
|
"click",
|
|
306
|
-
(
|
|
307
|
-
this.hooks.emit("click", { tag: e, target: "TagContent", event:
|
|
294
|
+
(l) => {
|
|
295
|
+
this.hooks.emit("click", { tag: e, target: "TagContent", event: l.origDomEvent });
|
|
308
296
|
},
|
|
309
297
|
{ noEmitWhenHide: !0 }
|
|
310
298
|
), this.imagePlaneGroup.add(e.mediaPlane));
|
|
@@ -317,10 +305,10 @@ class ki extends V {
|
|
|
317
305
|
this.filterCSS3DTag.forEach((e) => {
|
|
318
306
|
var o, i, r;
|
|
319
307
|
if (e.tag3DContentSvelte) {
|
|
320
|
-
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal:
|
|
321
|
-
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(
|
|
322
|
-
const
|
|
323
|
-
s.css3DObject.setRotationFromQuaternion(
|
|
308
|
+
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: l } = e.tag3DContentSvelte;
|
|
309
|
+
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(l)) {
|
|
310
|
+
const p = new O().setFromUnitVectors(n, l);
|
|
311
|
+
s.css3DObject.setRotationFromQuaternion(p);
|
|
324
312
|
}
|
|
325
313
|
return;
|
|
326
314
|
} else {
|
|
@@ -334,26 +322,26 @@ class ki extends V {
|
|
|
334
322
|
const s = this.getTagNormal(e);
|
|
335
323
|
if (!s)
|
|
336
324
|
return;
|
|
337
|
-
const n = this.getTagConfig(e),
|
|
338
|
-
if (this.getRenderType(e) === "BehindDom" ||
|
|
339
|
-
|
|
325
|
+
const n = this.getTagConfig(e), l = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
|
|
326
|
+
if (this.getRenderType(e) === "BehindDom" || l.mode === "behind") {
|
|
327
|
+
l.mode = "behind", l.container = document.createElement("div");
|
|
340
328
|
const f = "black";
|
|
341
|
-
|
|
329
|
+
l.container.style.backgroundColor = f, l.container.style.border = `3px solid ${f}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
342
330
|
var c;
|
|
343
|
-
if (
|
|
344
|
-
const P = this.addObjectClickHandler(e,
|
|
331
|
+
if (p.css3DObject.opacityMesh && n.clickable !== !1) {
|
|
332
|
+
const P = this.addObjectClickHandler(e, p.css3DObject.opacityMesh, (T) => {
|
|
345
333
|
this.hooks.emit("click", { event: T, target: "TagContent", tag: e });
|
|
346
334
|
});
|
|
347
335
|
(c = this.store.css3DRenderDisposer.get(e.id)) == null || c.push(P);
|
|
348
336
|
}
|
|
349
337
|
});
|
|
350
338
|
}
|
|
351
|
-
const
|
|
352
|
-
if (!
|
|
339
|
+
const p = this.css3DRenderPlugin.create3DDomContainer(a, l);
|
|
340
|
+
if (!p)
|
|
353
341
|
return;
|
|
354
|
-
this.store.css3DRenderDisposer.set(e.id, [
|
|
342
|
+
this.store.css3DRenderDisposer.set(e.id, [p.dispose]);
|
|
355
343
|
const h = new x({
|
|
356
|
-
target:
|
|
344
|
+
target: p.container,
|
|
357
345
|
props: {
|
|
358
346
|
tag: e,
|
|
359
347
|
hooks: this.hooks,
|
|
@@ -365,12 +353,12 @@ class ki extends V {
|
|
|
365
353
|
});
|
|
366
354
|
e.tag3DContentSvelte = {
|
|
367
355
|
svelteApp: h,
|
|
368
|
-
domContainer:
|
|
369
|
-
css3DInstance:
|
|
356
|
+
domContainer: p,
|
|
357
|
+
css3DInstance: p,
|
|
370
358
|
initialNormal: s,
|
|
371
359
|
currentNormal: s,
|
|
372
360
|
dispose: () => {
|
|
373
|
-
h.$destroy(),
|
|
361
|
+
h.$destroy(), p.dispose();
|
|
374
362
|
}
|
|
375
363
|
}, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
376
364
|
}
|
|
@@ -412,7 +400,7 @@ class ki extends V {
|
|
|
412
400
|
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
413
401
|
return;
|
|
414
402
|
e.updateWorldMatrix(!1, !1);
|
|
415
|
-
const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]),
|
|
403
|
+
const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]), l = W(s, n).add(new b(0, 0, 5e-4)), p = new v().setPosition(l), h = new v().makeScale(o, o, o), f = new v().multiply(a).multiply(p).multiply(h);
|
|
416
404
|
f.decompose(i.position, i.quaternion, i.scale);
|
|
417
405
|
const c = i.opacityMesh;
|
|
418
406
|
c && f.decompose(c.position, c.quaternion, c.scale);
|
|
@@ -494,6 +482,8 @@ class ki extends V {
|
|
|
494
482
|
if (this.TagContainerSvelte)
|
|
495
483
|
this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
|
|
496
484
|
else {
|
|
485
|
+
if (!e.length)
|
|
486
|
+
return;
|
|
497
487
|
const i = this.container;
|
|
498
488
|
if (!i)
|
|
499
489
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
@@ -514,5 +504,5 @@ class ki extends V {
|
|
|
514
504
|
}
|
|
515
505
|
}
|
|
516
506
|
export {
|
|
517
|
-
|
|
507
|
+
Ti as TagRender
|
|
518
508
|
};
|
|
@@ -20,7 +20,7 @@ import { planeNormal as E } from "../utils/planeNormal.js";
|
|
|
20
20
|
import { getTagCenterPosition as R } from "../utils/tagPosition.js";
|
|
21
21
|
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
22
|
import { TagCache as ne } from "./TagCache.js";
|
|
23
|
-
import { writable as re } from "../../vendor/svelte/
|
|
23
|
+
import { writable as re } from "../../vendor/svelte/store/index.js";
|
|
24
24
|
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
25
|
import { Five as fe } from "@realsee/five";
|
|
26
26
|
import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
|
|
@@ -52,7 +52,7 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
52
52
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
53
53
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
54
54
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
55
|
-
import "../../vendor/svelte/
|
|
55
|
+
import "../../vendor/svelte/internal/index.js";
|
|
56
56
|
import "../../shared-utils/three/loadTexture.js";
|
|
57
57
|
import "../../shared-utils/three/Quadrangle.js";
|
|
58
58
|
import "../../shared-utils/math/pointIsRectangle.js";
|
|
@@ -2,7 +2,7 @@ var V = Object.defineProperty, E = Object.defineProperties;
|
|
|
2
2
|
var R = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e,
|
|
5
|
+
var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
7
|
F.call(a, e) && C(d, e, a[e]);
|
|
8
8
|
if (D)
|
|
@@ -10,7 +10,7 @@ var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
O.call(a, e) && C(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, A = (d, a) => E(d, R(a));
|
|
13
|
-
var
|
|
13
|
+
var f = (d, a, e) => (C(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var c = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var s = (r) => {
|
|
16
16
|
try {
|
|
@@ -45,9 +45,9 @@ import "hammerjs";
|
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
48
|
+
import { waitFiveModelLoaded as H } from "../../shared-utils/five/fiveModelLoad.js";
|
|
49
|
+
import { blink as Q, reblink as Y } from "../../shared-utils/three/blink.js";
|
|
50
|
+
import { tweenProgress as Z } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
51
51
|
import { DebugUtil as K } from "../utils/DebugUtil.js";
|
|
52
52
|
import { safeObj as I } from "../../shared-utils/safeObj.js";
|
|
53
53
|
import { sleep as X } from "../../CruisePlugin/utils/sleep.js";
|
|
@@ -77,8 +77,8 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
77
77
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
79
79
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
80
|
-
import "../../vendor/svelte/
|
|
81
|
-
import "../../vendor/svelte/
|
|
80
|
+
import "../../vendor/svelte/store/index.js";
|
|
81
|
+
import "../../vendor/svelte/internal/index.js";
|
|
82
82
|
import "../../shared-utils/device.js";
|
|
83
83
|
import "../utils/model/mediaPlane.js";
|
|
84
84
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -99,24 +99,13 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
99
99
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
100
100
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
101
101
|
import "../Components/TagContainer.js";
|
|
102
|
-
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
103
|
-
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
104
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
105
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
106
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
107
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
108
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
109
|
-
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
110
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
111
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
112
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
113
102
|
import "../Components/TagItem.js";
|
|
114
103
|
import "../Components/Tag/index.js";
|
|
115
104
|
import "../Components/Tag/TextTag/index.js";
|
|
116
105
|
import "../Components/Tag/TextTag/TextTag.js";
|
|
117
106
|
import "../Components/Common/Line/Straight.js";
|
|
118
|
-
import "../../vendor/svelte/
|
|
119
|
-
import "../../vendor/svelte/
|
|
107
|
+
import "../../vendor/svelte/transition/index.js";
|
|
108
|
+
import "../../vendor/svelte/easing/index.js";
|
|
120
109
|
import "../Components/Common/Shadow.js";
|
|
121
110
|
import "../Components/Common/Text/FlyMText.js";
|
|
122
111
|
import "../Components/Common/Text/FlyText.js";
|
|
@@ -132,7 +121,6 @@ import "../utils/px2rem.js";
|
|
|
132
121
|
import "../Components/Tag/ImageTextTag.js";
|
|
133
122
|
import "../Components/Common/Line/Polyline.js";
|
|
134
123
|
import "../Components/Common/Media.js";
|
|
135
|
-
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
136
124
|
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
137
125
|
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
138
126
|
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -175,7 +163,6 @@ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
175
163
|
import "../Components/Tag/MediaPlane.js";
|
|
176
164
|
import "../Components/Tag/LinkTag.js";
|
|
177
165
|
import "../Components/Common/Icon/Icon.js";
|
|
178
|
-
import "../../vendor/svelte/src/runtime/internal/await_block.js";
|
|
179
166
|
import "../utils/getImageInfo.js";
|
|
180
167
|
import "../Components/Tag/PanoramaTag.js";
|
|
181
168
|
import "../Components/Tag/CustomTag.js";
|
|
@@ -183,26 +170,25 @@ import "../../vendor/classnames/index.js";
|
|
|
183
170
|
import "../Components/Common/TagPoint.js";
|
|
184
171
|
import "../../CSS3DRenderPlugin/index.js";
|
|
185
172
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
186
|
-
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
187
173
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
188
174
|
import "@realsee/five/gltf-loader";
|
|
189
175
|
import "../../shared-utils/animationFrame/index.js";
|
|
190
|
-
const U = "Dnalogel-PanoTagPlugin",
|
|
191
|
-
class
|
|
176
|
+
const U = "Dnalogel-PanoTagPlugin", Ni = (d) => `${U}--${d}`;
|
|
177
|
+
class Gi extends j {
|
|
192
178
|
constructor(e, t) {
|
|
193
179
|
super(e);
|
|
194
180
|
/** state */
|
|
195
|
-
|
|
181
|
+
f(this, "state", { enabled: !0, visible: !0 });
|
|
196
182
|
/** 插件参数 */
|
|
197
|
-
|
|
183
|
+
f(this, "params");
|
|
198
184
|
/** debug */
|
|
199
|
-
|
|
200
|
-
|
|
185
|
+
f(this, "debug");
|
|
186
|
+
f(this, "debugUtil", new K(this));
|
|
201
187
|
/** 更改 tag 模型 */
|
|
202
|
-
|
|
188
|
+
f(this, "changeTagModel", (e, t) => c(this, null, function* () {
|
|
203
189
|
e.data = g({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
204
190
|
}));
|
|
205
|
-
|
|
191
|
+
f(this, "whyHide", (e) => {
|
|
206
192
|
var i, s, o;
|
|
207
193
|
if (!this.state.enabled)
|
|
208
194
|
return { reason: `plugin.state.enabled is ${this.state.enabled}` };
|
|
@@ -221,13 +207,13 @@ class es extends j {
|
|
|
221
207
|
}
|
|
222
208
|
return { reason: "check your eyes" };
|
|
223
209
|
});
|
|
224
|
-
|
|
210
|
+
f(this, "updateVisible", () => {
|
|
225
211
|
const e = this.five.getCurrentState().mode;
|
|
226
212
|
this.tags.forEach((t) => {
|
|
227
213
|
L(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
228
214
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
229
215
|
});
|
|
230
|
-
|
|
216
|
+
f(this, "handleFiveWantsMoveToPano", (e) => {
|
|
231
217
|
this.tags.forEach((t) => {
|
|
232
218
|
this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
|
|
233
219
|
const s = this.getTagConfig(t);
|
|
@@ -248,7 +234,7 @@ class es extends j {
|
|
|
248
234
|
// this.temporaryState.visible = false
|
|
249
235
|
// this.updateTagContainerVisible()
|
|
250
236
|
// }
|
|
251
|
-
|
|
237
|
+
f(this, "clickhandler", (e) => {
|
|
252
238
|
if (e.target !== "TagPoint")
|
|
253
239
|
return;
|
|
254
240
|
if (!e.tag.state)
|
|
@@ -258,12 +244,12 @@ class es extends j {
|
|
|
258
244
|
s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
|
|
259
245
|
}), this.updateRenderAllTags());
|
|
260
246
|
});
|
|
261
|
-
|
|
247
|
+
f(this, "handleFiveCameraUpdate", () => {
|
|
262
248
|
this.updatePointTagPosition();
|
|
263
249
|
});
|
|
264
|
-
|
|
250
|
+
f(this, "handleFivePanoArrived", () => c(this, null, function* () {
|
|
265
251
|
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
266
|
-
e.temporaryState = A(
|
|
252
|
+
e.temporaryState = A(m({}, e.temporaryState), { visible: !0 });
|
|
267
253
|
}), this.tags.filter(N).filter((e) => {
|
|
268
254
|
var t;
|
|
269
255
|
return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
@@ -275,20 +261,20 @@ class es extends j {
|
|
|
275
261
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
276
262
|
const s = this.five.camera.position;
|
|
277
263
|
t.lookAt(s.clone().setY(t.position.y));
|
|
278
|
-
const o = i.quaternion.clone(), n = t.quaternion.clone(), r =
|
|
264
|
+
const o = i.quaternion.clone(), n = t.quaternion.clone(), r = Z();
|
|
279
265
|
r.onUpdate(({ progress: l }) => {
|
|
280
266
|
i.quaternion.copy(o.clone().slerp(n, l));
|
|
281
267
|
}), r.play();
|
|
282
268
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
283
269
|
}));
|
|
284
270
|
/** 楼层切换时,需要更新标签可见性 */
|
|
285
|
-
|
|
271
|
+
f(this, "handleFiveModelShownFloorChange", () => {
|
|
286
272
|
this.setVisible(), this.updateRenderAllTags();
|
|
287
273
|
});
|
|
288
|
-
|
|
274
|
+
f(this, "onFiveEveryReady", () => {
|
|
289
275
|
this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
290
276
|
});
|
|
291
|
-
this.params = g({}, { debug: !1, config: this.config },
|
|
277
|
+
this.params = g({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: x.PlayAudio });
|
|
292
278
|
try {
|
|
293
279
|
const i = window;
|
|
294
280
|
Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -333,35 +319,35 @@ class es extends j {
|
|
|
333
319
|
o.initialConfig = r;
|
|
334
320
|
const h = this.calculateTagConfig(o), l = this.getTagConfig(o);
|
|
335
321
|
o.config = l;
|
|
336
|
-
const
|
|
322
|
+
const p = A(m({}, o), {
|
|
337
323
|
enabled: (v = o.enabled) != null ? v : !0,
|
|
338
324
|
id: (T = o.id) != null ? T : J(),
|
|
339
325
|
data: (y = l.initialData) != null && y.important ? g(o.data, n, l.initialData) : g(o.data, l.initialData, n),
|
|
340
|
-
state:
|
|
326
|
+
state: m({
|
|
341
327
|
visible: void 0,
|
|
342
328
|
unfolded: !this.can("fold", o)
|
|
343
329
|
}, l.initialState),
|
|
344
330
|
hooks: new M(),
|
|
345
331
|
originPosition: o.position,
|
|
346
332
|
position: (() => {
|
|
347
|
-
const
|
|
348
|
-
return Array.isArray(
|
|
333
|
+
const u = this.getTransformedPostion(o.position);
|
|
334
|
+
return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
|
|
349
335
|
})(),
|
|
350
336
|
initialConfig: r,
|
|
351
337
|
computedConfig: h,
|
|
352
338
|
config: l,
|
|
353
|
-
unfold: () => this.changeUnfoldedById(
|
|
354
|
-
fold: () => this.changeUnfoldedById(
|
|
355
|
-
enable: () => this.changeEnabledById(
|
|
356
|
-
disable: () => this.changeEnabledById(
|
|
357
|
-
destroy: () => this.destroyTagById(
|
|
358
|
-
changeData: (
|
|
359
|
-
changePosition: (
|
|
360
|
-
blink: (
|
|
339
|
+
unfold: () => this.changeUnfoldedById(p.id, !0),
|
|
340
|
+
fold: () => this.changeUnfoldedById(p.id, !1),
|
|
341
|
+
enable: () => this.changeEnabledById(p.id, !0),
|
|
342
|
+
disable: () => this.changeEnabledById(p.id, !1),
|
|
343
|
+
destroy: () => this.destroyTagById(p.id),
|
|
344
|
+
changeData: (u) => this.changeDataById(p.id, u),
|
|
345
|
+
changePosition: (u) => this.changePositionById(p.id, u),
|
|
346
|
+
blink: (u) => this.blinkTagById(p.id, u)
|
|
361
347
|
});
|
|
362
|
-
return
|
|
348
|
+
return p;
|
|
363
349
|
});
|
|
364
|
-
return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0,
|
|
350
|
+
return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => c(this, null, function* () {
|
|
365
351
|
var o, n, r;
|
|
366
352
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
367
353
|
}));
|
|
@@ -416,7 +402,7 @@ class es extends j {
|
|
|
416
402
|
setState(e, t) {
|
|
417
403
|
if (this.checkDisposed())
|
|
418
404
|
return;
|
|
419
|
-
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o =
|
|
405
|
+
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = m({}, this.state);
|
|
420
406
|
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, 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 });
|
|
421
407
|
}
|
|
422
408
|
/**
|
|
@@ -436,11 +422,11 @@ class es extends j {
|
|
|
436
422
|
*/
|
|
437
423
|
blinkTagById(e, t) {
|
|
438
424
|
return c(this, null, function* () {
|
|
439
|
-
var l,
|
|
425
|
+
var l, p;
|
|
440
426
|
const i = this.getTagById(e);
|
|
441
427
|
if (!i)
|
|
442
428
|
return;
|
|
443
|
-
const s = (l = i.enabled) != null ? l : !0, o = (
|
|
429
|
+
const s = (l = i.enabled) != null ? l : !0, o = (p = i.state) == null ? void 0 : p.visible, n = s && o;
|
|
444
430
|
n === !1 && (i.state.visible = !0, i.enabled = !0, this.setPointTagPosition(), this.updateDomView(), yield X(0), i.dom && (i.dom.style.visibility = "hidden"));
|
|
445
431
|
const r = (() => {
|
|
446
432
|
var v, T, y;
|
|
@@ -449,7 +435,7 @@ class es extends j {
|
|
|
449
435
|
})();
|
|
450
436
|
if (!r.length)
|
|
451
437
|
return;
|
|
452
|
-
yield (n ?
|
|
438
|
+
yield (n ? Q : Y)(r, m({
|
|
453
439
|
begin: () => {
|
|
454
440
|
n === !1 && i.dom && (i.dom.style.visibility = "");
|
|
455
441
|
},
|
|
@@ -513,7 +499,7 @@ class es extends j {
|
|
|
513
499
|
changeDataById(e, t, i = !0) {
|
|
514
500
|
const s = this.getTagById(e);
|
|
515
501
|
let o = !1;
|
|
516
|
-
s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data =
|
|
502
|
+
s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data = m(m({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
517
503
|
}
|
|
518
504
|
/**
|
|
519
505
|
* @description 改变tag的stickType
|
|
@@ -634,7 +620,7 @@ class es extends j {
|
|
|
634
620
|
}
|
|
635
621
|
}
|
|
636
622
|
export {
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
623
|
+
Gi as PanoTagPluginController,
|
|
624
|
+
Gi as default,
|
|
625
|
+
Ni as pluginFlag
|
|
640
626
|
};
|
|
@@ -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 St } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Vt } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Xt, DimensionType as Yt, PointType as Zt } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -44,8 +44,8 @@ import "./utils/normalPositionToPositions.js";
|
|
|
44
44
|
import "./controller/TagCache.js";
|
|
45
45
|
import "../base/BasePlugin.js";
|
|
46
46
|
import "../shared-utils/url/absoluteUrl.js";
|
|
47
|
-
import "../vendor/svelte/
|
|
48
|
-
import "../vendor/svelte/
|
|
47
|
+
import "../vendor/svelte/store/index.js";
|
|
48
|
+
import "../vendor/svelte/internal/index.js";
|
|
49
49
|
import "../shared-utils/device.js";
|
|
50
50
|
import "./utils/model/mediaPlane.js";
|
|
51
51
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -67,24 +67,13 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
67
67
|
import "../shared-utils/five/getFloorIndex.js";
|
|
68
68
|
import "../shared-utils/safeObj.js";
|
|
69
69
|
import "./Components/TagContainer.js";
|
|
70
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
71
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
72
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
73
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
74
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
75
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
76
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
77
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
78
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
79
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
80
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
81
70
|
import "./Components/TagItem.js";
|
|
82
71
|
import "./Components/Tag/index.js";
|
|
83
72
|
import "./Components/Tag/TextTag/index.js";
|
|
84
73
|
import "./Components/Tag/TextTag/TextTag.js";
|
|
85
74
|
import "./Components/Common/Line/Straight.js";
|
|
86
|
-
import "../vendor/svelte/
|
|
87
|
-
import "../vendor/svelte/
|
|
75
|
+
import "../vendor/svelte/transition/index.js";
|
|
76
|
+
import "../vendor/svelte/easing/index.js";
|
|
88
77
|
import "../shared-utils/uuid.js";
|
|
89
78
|
import "./Components/Common/Shadow.js";
|
|
90
79
|
import "./Components/Common/Text/FlyMText.js";
|
|
@@ -101,7 +90,6 @@ import "./utils/px2rem.js";
|
|
|
101
90
|
import "./Components/Tag/ImageTextTag.js";
|
|
102
91
|
import "./Components/Common/Line/Polyline.js";
|
|
103
92
|
import "./Components/Common/Media.js";
|
|
104
|
-
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
105
93
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
106
94
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
107
95
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -144,7 +132,6 @@ import "./Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
144
132
|
import "./Components/Tag/MediaPlane.js";
|
|
145
133
|
import "./Components/Tag/LinkTag.js";
|
|
146
134
|
import "./Components/Common/Icon/Icon.js";
|
|
147
|
-
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
148
135
|
import "./utils/getImageInfo.js";
|
|
149
136
|
import "./Components/Tag/PanoramaTag.js";
|
|
150
137
|
import "./Components/Tag/CustomTag.js";
|
|
@@ -152,23 +139,22 @@ import "../vendor/classnames/index.js";
|
|
|
152
139
|
import "./Components/Common/TagPoint.js";
|
|
153
140
|
import "../CSS3DRenderPlugin/index.js";
|
|
154
141
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
155
|
-
import "../
|
|
142
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
156
143
|
import "../shared-utils/three/GLTFLoader.js";
|
|
157
144
|
import "@realsee/five/gltf-loader";
|
|
158
145
|
import "../shared-utils/three/blink.js";
|
|
159
146
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
160
147
|
import "../shared-utils/animationFrame/index.js";
|
|
161
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
162
148
|
import "./utils/DebugUtil.js";
|
|
163
149
|
import "../CruisePlugin/utils/sleep.js";
|
|
164
|
-
const
|
|
150
|
+
const Ot = (o, t) => new r(o, t);
|
|
165
151
|
export {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
152
|
+
Xt as ContentType,
|
|
153
|
+
Yt as DimensionType,
|
|
154
|
+
Ot as PanoTagPlugin,
|
|
169
155
|
r as PanoTagPluginController,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
156
|
+
Zt as PointType,
|
|
157
|
+
Ot as default,
|
|
158
|
+
Vt as defaultGlobalConfig,
|
|
159
|
+
St as pluginFlag
|
|
174
160
|
};
|