@realsee/dnalogel 3.60.0-alpha.0 → 3.60.1-alpha.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 +13 -0
- package/components/index.js +112 -109
- package/dist/ItemLabelPlugin/typings.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/typings.d.ts +2 -2
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -0
- package/dist/components/PaintBrush/Controller.d.ts +1 -1
- package/dist/index.cjs.js +62 -64
- package/dist/index.js +5980 -6063
- package/dist/index.umd.js +62 -64
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -7
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +10 -10
- package/docs/classes/PaintBrush.html +2 -2
- 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 +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- 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 +2 -2
- package/docs/enums/Rotation.html +2 -2
- 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 +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- 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 +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- 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 +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- 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 +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- 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 +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +4 -4
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- 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 +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- 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/ItemLabelPlugin/ItemLabelItem.js +98 -100
- package/libs/ItemLabelPlugin/Plugin.js +15 -14
- package/libs/ItemLabelPlugin/index.js +5 -4
- package/libs/ItemLabelPlugin/typings.d.ts +2 -2
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +25 -24
- package/libs/ModelItemLabelPlugin/index.js +5 -4
- package/libs/ModelItemLabelPlugin/typings.d.ts +2 -2
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +54 -49
- package/libs/PanoSpatialTagPlugin/Plugin.js +14 -14
- package/libs/PanoTagPlugin/Components/Tag/index.js +56 -56
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +34 -34
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +54 -58
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/PaintBrush/Controller.d.ts +1 -1
- package/libs/components/PaintBrush/Controller.js +6 -6
- package/libs/index.js +144 -145
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -7
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +18 -19
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +7 -7
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/FBXLoader/index.js +100 -100
- package/package.json +1 -1
- package/dist/components/PaintBrush/Subscribe.d.ts +0 -76
- package/libs/components/PaintBrush/Subscribe.d.ts +0 -76
- package/libs/components/PaintBrush/Subscribe.js +0 -84
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var g = (
|
|
1
|
+
var I = Object.defineProperty;
|
|
2
|
+
var y = Object.getOwnPropertySymbols;
|
|
3
|
+
var W = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var g = (n, o, e) => o in n ? I(n, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[o] = e, p = (n, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
10
|
-
return
|
|
6
|
+
W.call(o, e) && g(n, e, o[e]);
|
|
7
|
+
if (y)
|
|
8
|
+
for (var e of y(o))
|
|
9
|
+
j.call(o, e) && g(n, e, o[e]);
|
|
10
|
+
return n;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var w = (
|
|
12
|
+
var c = (n, o, e) => (g(n, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
|
+
var w = (n, o, e) => new Promise((t, r) => {
|
|
14
14
|
var s = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
b(e.next(h));
|
|
@@ -24,7 +24,7 @@ var w = (p, o, e) => new Promise((t, r) => {
|
|
|
24
24
|
r(l);
|
|
25
25
|
}
|
|
26
26
|
}, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, d);
|
|
27
|
-
b((e = e.apply(
|
|
27
|
+
b((e = e.apply(n, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
@@ -34,7 +34,7 @@ import { RotateHelper as $ } from "../shared-utils/Object3DHelper/Helper/RotateH
|
|
|
34
34
|
import { CSS3DScaleHelper as F } from "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
35
35
|
import { BoundingBoxHelper as G } from "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
36
36
|
import { MoveController as U } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
37
|
-
import { ControllerWrapper as
|
|
37
|
+
import { ControllerWrapper as H } from "./FiveControllerWrapper.js";
|
|
38
38
|
import { Object3DHelper as N } from "../shared-utils/Object3DHelper/index.js";
|
|
39
39
|
import { RotateController as V } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
40
40
|
import { CSS3DScaleController as q } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
@@ -126,26 +126,27 @@ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
|
126
126
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
127
127
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
128
128
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
129
|
-
const
|
|
130
|
-
console.error(`${
|
|
129
|
+
const M = "Object3DHelperPlugin", O = M, Z = () => {
|
|
130
|
+
console.error(`${O} is disposed`);
|
|
131
131
|
}, ee = () => {
|
|
132
|
-
console.warn(`${
|
|
132
|
+
console.warn(`${O} is disabled`);
|
|
133
133
|
}, re = () => {
|
|
134
|
-
console.error(`${
|
|
134
|
+
console.error(`${O} is disabled`);
|
|
135
135
|
};
|
|
136
136
|
class Qr extends L {
|
|
137
137
|
constructor(e) {
|
|
138
138
|
super(e);
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
c(this, "name", M);
|
|
140
|
+
c(this, "state", {
|
|
141
141
|
visible: !0,
|
|
142
142
|
enabled: !0,
|
|
143
143
|
disposed: !1
|
|
144
144
|
});
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
c(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
146
|
+
c(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
147
|
+
c(this, "css3DObjectModeMap", /* @__PURE__ */ new Map());
|
|
148
|
+
c(this, "css3DRender");
|
|
149
|
+
this.five = e, this.css3DRender = new z(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${M.toUpperCase()}_DEBUG__`]: this });
|
|
149
150
|
}
|
|
150
151
|
/**
|
|
151
152
|
* @description Show guide line
|
|
@@ -186,8 +187,8 @@ class Qr extends L {
|
|
|
186
187
|
return Z();
|
|
187
188
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
188
189
|
return re();
|
|
189
|
-
const r =
|
|
190
|
-
this.state =
|
|
190
|
+
const r = p({}, this.state);
|
|
191
|
+
this.state = p(p({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
|
|
191
192
|
}
|
|
192
193
|
getObject3DHelper(e) {
|
|
193
194
|
return this.objectHelperMap.get(e);
|
|
@@ -200,7 +201,7 @@ class Qr extends L {
|
|
|
200
201
|
* @param { boolean } config.scaleHelper 缩放helper
|
|
201
202
|
*/
|
|
202
203
|
addObject3DHelper(e, t = {}) {
|
|
203
|
-
var
|
|
204
|
+
var E;
|
|
204
205
|
if (!e) {
|
|
205
206
|
console.error("Object3D is undefined");
|
|
206
207
|
return;
|
|
@@ -209,20 +210,20 @@ class Qr extends L {
|
|
|
209
210
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
210
211
|
return;
|
|
211
212
|
}
|
|
212
|
-
const r = new N(), s = [], d = (
|
|
213
|
+
const r = new N(), s = [], d = (E = this.five.getElement()) == null ? void 0 : E.parentElement, b = this.five.camera, l = p(p({}, {
|
|
213
214
|
moveHelper: !0,
|
|
214
215
|
rotateHelper: !0,
|
|
215
216
|
scaleHelper: !0,
|
|
216
217
|
boundingBoxHelper: !1,
|
|
217
218
|
positionFrom: "objectPosition"
|
|
218
|
-
}), t), { moveHelper:
|
|
219
|
+
}), t), { moveHelper: B, rotateHelper: P, scaleHelper: k, boundingBoxHelper: x } = l, u = r.hooks, v = new X(), C = new Y(this.five.camera, this.five.getElement()), S = (i) => {
|
|
219
220
|
if (i)
|
|
220
221
|
return typeof i == "boolean" ? i : i.enable;
|
|
221
222
|
};
|
|
222
|
-
if (S(
|
|
223
|
-
const i =
|
|
223
|
+
if (S(B)) {
|
|
224
|
+
const i = p(p({}, this.getConfig(l.moveHelper)), l), m = new _(e, p({}, i)), a = new H(
|
|
224
225
|
this.five,
|
|
225
|
-
|
|
226
|
+
C,
|
|
226
227
|
U,
|
|
227
228
|
e,
|
|
228
229
|
m,
|
|
@@ -232,10 +233,10 @@ class Qr extends L {
|
|
|
232
233
|
);
|
|
233
234
|
r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
|
|
234
235
|
}
|
|
235
|
-
if (S(
|
|
236
|
-
const i =
|
|
236
|
+
if (S(P)) {
|
|
237
|
+
const i = p(p({}, this.getConfig(l.rotateHelper)), l), m = new $(e, p({ container: d }, i)), a = new H(
|
|
237
238
|
this.five,
|
|
238
|
-
|
|
239
|
+
C,
|
|
239
240
|
V,
|
|
240
241
|
e,
|
|
241
242
|
m,
|
|
@@ -245,10 +246,10 @@ class Qr extends L {
|
|
|
245
246
|
);
|
|
246
247
|
r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
|
|
247
248
|
}
|
|
248
|
-
if (S(
|
|
249
|
-
const i = new G(e), m = new
|
|
249
|
+
if (S(x)) {
|
|
250
|
+
const i = new G(e), m = new H(
|
|
250
251
|
this.five,
|
|
251
|
-
|
|
252
|
+
C,
|
|
252
253
|
J,
|
|
253
254
|
e,
|
|
254
255
|
i,
|
|
@@ -259,10 +260,10 @@ class Qr extends L {
|
|
|
259
260
|
r.addControllers({ boundingBoxController: m.helperController });
|
|
260
261
|
}
|
|
261
262
|
if (S(k))
|
|
262
|
-
if (e.
|
|
263
|
-
const i = new F(e, d, b, this.five.scene), m = new
|
|
263
|
+
if (e.isCSS3DObject && d) {
|
|
264
|
+
const i = new F(e, d, b, this.five.scene), m = new H(
|
|
264
265
|
this.five,
|
|
265
|
-
|
|
266
|
+
C,
|
|
266
267
|
q,
|
|
267
268
|
e,
|
|
268
269
|
i,
|
|
@@ -271,19 +272,20 @@ class Qr extends L {
|
|
|
271
272
|
v
|
|
272
273
|
);
|
|
273
274
|
r.addControllers({ scaleController: m.helperController }), s.push(() => m.dispose()), T(this.five).then(() => {
|
|
274
|
-
var a,
|
|
275
|
+
var a, D;
|
|
275
276
|
if (e.isCSS3DObjectPlus) {
|
|
276
|
-
const
|
|
277
|
-
if (!
|
|
277
|
+
const f = e;
|
|
278
|
+
if (!f || f.mode !== "front")
|
|
278
279
|
return;
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
}
|
|
280
|
+
const R = (a = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? a : A(this.five);
|
|
281
|
+
R && (this.css3DObjectParentMap.set(f, f.parent), f.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(R), (D = this.css3DRender.getBehindCSS3DObjectGroup()) == null || D.add(f), this.css3DRender.render(this.five.camera));
|
|
282
|
+
} else
|
|
283
|
+
e.isCSS3DObject && (this.css3DObjectModeMap.set(e, e.mode), e.mode = "behind");
|
|
282
284
|
});
|
|
283
285
|
} else {
|
|
284
|
-
const i =
|
|
286
|
+
const i = p(p({}, this.getConfig(l.scaleHelper)), l), m = new K(e, i), a = new H(
|
|
285
287
|
this.five,
|
|
286
|
-
|
|
288
|
+
C,
|
|
287
289
|
Q,
|
|
288
290
|
e,
|
|
289
291
|
m,
|
|
@@ -303,6 +305,9 @@ class Qr extends L {
|
|
|
303
305
|
if (e.isCSS3DObjectPlus) {
|
|
304
306
|
const s = e, d = this.css3DObjectParentMap.get(s);
|
|
305
307
|
d && d.add(s), this.css3DRender.render(this.five.camera);
|
|
308
|
+
} else if (e.isCSS3DObject) {
|
|
309
|
+
const s = this.css3DObjectModeMap.get(e);
|
|
310
|
+
e.mode = s;
|
|
306
311
|
}
|
|
307
312
|
this.objectHelperMap.delete(e), t.dispose(), r == null || r.forEach((s) => s == null ? void 0 : s());
|
|
308
313
|
}
|
|
@@ -335,5 +340,5 @@ class Qr extends L {
|
|
|
335
340
|
}
|
|
336
341
|
export {
|
|
337
342
|
Qr as Object3DHelperController,
|
|
338
|
-
|
|
343
|
+
O as PLUGIN
|
|
339
344
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as p from "three";
|
|
2
|
-
import {
|
|
3
|
-
import { CSS3DRenderPlugin as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { pluginStyle as
|
|
7
|
-
import { render as
|
|
2
|
+
import { Five as yo } from "@realsee/five";
|
|
3
|
+
import { CSS3DRenderPlugin as To } from "../CSS3DRenderPlugin/index.js";
|
|
4
|
+
import Mo from "./Components/origins.js";
|
|
5
|
+
import Po from "./Components/tag.js";
|
|
6
|
+
import { pluginStyle as xo } from "./style.js";
|
|
7
|
+
import { render as Eo } from "../shared-utils/tinyEJSrender.js";
|
|
8
|
+
import { Subscribe as jo } from "../shared-utils/Subscribe.js";
|
|
8
9
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
9
10
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
11
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -12,7 +13,6 @@ import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
|
12
13
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
13
14
|
import "../shared-utils/createResizeObserver.js";
|
|
14
15
|
import "../shared-utils/even.js";
|
|
15
|
-
import "../shared-utils/Subscribe.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
17
17
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
18
18
|
import "../shared-utils/three/centerPoint.js";
|
|
@@ -73,9 +73,9 @@ import "../vendor/svelte/store/index.js";
|
|
|
73
73
|
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", ke = (n, r) => {
|
|
74
74
|
var k, z, q, B, G, J, K, Q;
|
|
75
75
|
let j = r == null ? void 0 : r.container, y = 1.4;
|
|
76
|
-
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C =
|
|
77
|
-
S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style,
|
|
78
|
-
const V = new
|
|
76
|
+
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = To(n), S = document.createElement("div");
|
|
77
|
+
S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, xo);
|
|
78
|
+
const V = new jo();
|
|
79
79
|
let Z = new Image();
|
|
80
80
|
Z.src = Io;
|
|
81
81
|
const o = {
|
|
@@ -84,11 +84,11 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
84
84
|
tags: [],
|
|
85
85
|
template: "",
|
|
86
86
|
events: {},
|
|
87
|
-
render:
|
|
87
|
+
render: Eo,
|
|
88
88
|
folded: !1,
|
|
89
89
|
enabled: !0,
|
|
90
90
|
forbidden: !0
|
|
91
|
-
}, Y = new
|
|
91
|
+
}, Y = new Mo({
|
|
92
92
|
target: S,
|
|
93
93
|
props: { origins: o.origins }
|
|
94
94
|
}), _ = (e, s) => {
|
|
@@ -124,7 +124,7 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
124
124
|
}), o.tags = o.tags.filter((i) => !i.destroying), T();
|
|
125
125
|
}, 1900);
|
|
126
126
|
}, N = (e) => {
|
|
127
|
-
e !==
|
|
127
|
+
e !== yo.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
|
|
128
128
|
s.app.$destroy(), s = null;
|
|
129
129
|
}), o.origins = [], o.tags = [], o.forbidden = !0);
|
|
130
130
|
}, T = () => {
|
|
@@ -213,7 +213,7 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
213
213
|
c.clone().add(X),
|
|
214
214
|
c.clone().add(new p.Vector3(0, D, 0)).add(X),
|
|
215
215
|
c.clone().add(new p.Vector3(0, D, 0))
|
|
216
|
-
].map((wo) => fo.projectPoint(wo, new p.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new
|
|
216
|
+
].map((wo) => fo.projectPoint(wo, new p.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new Po({
|
|
217
217
|
target: go,
|
|
218
218
|
props: {
|
|
219
219
|
id: b,
|
|
@@ -4,9 +4,9 @@ import aA from "./ImageTextTag.js";
|
|
|
4
4
|
import mA from "./MarketingTag.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import { noTypecheck as c } from "../../utils/noTypecheck.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
7
|
+
import sA from "./AudioTag/index.js";
|
|
8
|
+
import fA from "./MediaPlane.js";
|
|
9
|
+
import pA from "./LinkTag.js";
|
|
10
10
|
import gA from "./PanoramaTag.js";
|
|
11
11
|
import uA from "./CustomTag.js";
|
|
12
12
|
import { classnames as S } from "../../../vendor/classnames/index.js";
|
|
@@ -189,7 +189,7 @@ function _A(i) {
|
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
191
|
function QA(i) {
|
|
192
|
-
let A, t, e, n, l, d, g, m, o,
|
|
192
|
+
let A, t, e, n, l, d, g, m, o, s, f, u, b, h, B, E, T;
|
|
193
193
|
const Y = [
|
|
194
194
|
vA,
|
|
195
195
|
MA,
|
|
@@ -199,15 +199,15 @@ function QA(i) {
|
|
|
199
199
|
CA,
|
|
200
200
|
kA
|
|
201
201
|
], C = [];
|
|
202
|
-
function J(r,
|
|
203
|
-
return
|
|
204
|
-
9 && (n = null),
|
|
205
|
-
9 && (l = null),
|
|
206
|
-
9 && (d = null),
|
|
207
|
-
9 && (g = null),
|
|
208
|
-
9 && (m = null),
|
|
209
|
-
9 && (o = null),
|
|
210
|
-
9 && (
|
|
202
|
+
function J(r, p) {
|
|
203
|
+
return p & /*tag, contentTypeMap*/
|
|
204
|
+
9 && (n = null), p & /*tag, contentTypeMap*/
|
|
205
|
+
9 && (l = null), p & /*tag, contentTypeMap*/
|
|
206
|
+
9 && (d = null), p & /*tag, contentTypeMap*/
|
|
207
|
+
9 && (g = null), p & /*tag, contentTypeMap*/
|
|
208
|
+
9 && (m = null), p & /*tag, contentTypeMap*/
|
|
209
|
+
9 && (o = null), p & /*tag, contentTypeMap*/
|
|
210
|
+
9 && (s = null), n == null && (n = !!(["Text"].includes(
|
|
211
211
|
/*tag*/
|
|
212
212
|
r[0].contentType
|
|
213
213
|
) || ["Text"].includes(
|
|
@@ -261,7 +261,7 @@ function QA(i) {
|
|
|
261
261
|
/*tag*/
|
|
262
262
|
r[0].contentType
|
|
263
263
|
)
|
|
264
|
-
))), o ? 5 : (
|
|
264
|
+
))), o ? 5 : (s == null && (s = !!(["Panorama"].includes(
|
|
265
265
|
/*tag*/
|
|
266
266
|
r[0].contentType
|
|
267
267
|
) || ["Panorama"].includes(
|
|
@@ -270,9 +270,9 @@ function QA(i) {
|
|
|
270
270
|
/*tag*/
|
|
271
271
|
r[0].contentType
|
|
272
272
|
)
|
|
273
|
-
))),
|
|
273
|
+
))), s ? 6 : -1))))));
|
|
274
274
|
}
|
|
275
|
-
return ~(
|
|
275
|
+
return ~(f = J(i, -1)) && (u = C[f] = Y[f](i)), {
|
|
276
276
|
c() {
|
|
277
277
|
var r;
|
|
278
278
|
A = P("div"), t = P("div"), e = P("div"), u && u.c(), _(e, "class", "content svelte-elzzn6"), Q(
|
|
@@ -314,8 +314,8 @@ function QA(i) {
|
|
|
314
314
|
i[0].contentType === "MediaModel" ? "100%" : 0
|
|
315
315
|
);
|
|
316
316
|
},
|
|
317
|
-
m(r,
|
|
318
|
-
F(r, A,
|
|
317
|
+
m(r, p) {
|
|
318
|
+
F(r, A, p), x(A, t), x(t, e), ~f && C[f].m(e, null), i[16](A), B = !0, E || (T = eA(
|
|
319
319
|
A,
|
|
320
320
|
"click",
|
|
321
321
|
/*click_handler_1*/
|
|
@@ -323,50 +323,50 @@ function QA(i) {
|
|
|
323
323
|
!0
|
|
324
324
|
), E = !0);
|
|
325
325
|
},
|
|
326
|
-
p(r,
|
|
326
|
+
p(r, p) {
|
|
327
327
|
var a;
|
|
328
|
-
let y =
|
|
329
|
-
|
|
328
|
+
let y = f;
|
|
329
|
+
f = J(r, p), f === y ? ~f && C[f].p(r, p) : (u && (AA(), w(C[y], 1, 1, () => {
|
|
330
330
|
C[y] = null;
|
|
331
|
-
}), $()), ~
|
|
331
|
+
}), $()), ~f ? (u = C[f], u ? u.p(r, p) : (u = C[f] = Y[f](r), u.c()), k(u, 1), u.m(e, null)) : u = null), (!B || p & /*tag*/
|
|
332
332
|
1) && Q(
|
|
333
333
|
e,
|
|
334
334
|
"unfolded",
|
|
335
335
|
/*tag*/
|
|
336
336
|
(a = r[0].state) == null ? void 0 : a.unfolded
|
|
337
|
-
), (!B ||
|
|
337
|
+
), (!B || p & /*tag*/
|
|
338
338
|
1 && b !== (b = W(S(
|
|
339
339
|
"content__container",
|
|
340
340
|
/*tag*/
|
|
341
341
|
r[0].className
|
|
342
|
-
)) + " svelte-elzzn6")) && _(A, "class", b), (!B ||
|
|
342
|
+
)) + " svelte-elzzn6")) && _(A, "class", b), (!B || p & /*tag*/
|
|
343
343
|
1 && h !== (h = /*tag*/
|
|
344
|
-
r[0].id)) && _(A, "data-id", h), (!B ||
|
|
344
|
+
r[0].id)) && _(A, "data-id", h), (!B || p & /*tag, tag*/
|
|
345
345
|
1) && Q(
|
|
346
346
|
A,
|
|
347
347
|
"disable",
|
|
348
348
|
/*tag*/
|
|
349
349
|
r[0].enabled === !1
|
|
350
|
-
), (!B ||
|
|
350
|
+
), (!B || p & /*tag, isHide*/
|
|
351
351
|
33) && Q(
|
|
352
352
|
A,
|
|
353
353
|
"hide",
|
|
354
354
|
/*isHide*/
|
|
355
355
|
r[5]
|
|
356
|
-
), (!B ||
|
|
356
|
+
), (!B || p & /*tag, tag*/
|
|
357
357
|
1) && Q(
|
|
358
358
|
A,
|
|
359
359
|
"unClickable",
|
|
360
360
|
/*tag*/
|
|
361
361
|
r[0].config.clickable === !1
|
|
362
|
-
),
|
|
362
|
+
), p & /*tag*/
|
|
363
363
|
1 && U(
|
|
364
364
|
A,
|
|
365
365
|
"width",
|
|
366
366
|
/*tag*/
|
|
367
367
|
r[0].stickType === "Plane" || /*tag*/
|
|
368
368
|
r[0].contentType === "MediaModel" ? "100%" : 0
|
|
369
|
-
),
|
|
369
|
+
), p & /*tag*/
|
|
370
370
|
1 && U(
|
|
371
371
|
A,
|
|
372
372
|
"height",
|
|
@@ -382,7 +382,7 @@ function QA(i) {
|
|
|
382
382
|
w(u), B = !1;
|
|
383
383
|
},
|
|
384
384
|
d(r) {
|
|
385
|
-
r && L(A), ~
|
|
385
|
+
r && L(A), ~f && C[f].d(), i[16](null), E = !1, T();
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
}
|
|
@@ -427,14 +427,14 @@ function wA(i) {
|
|
|
427
427
|
), d = !0);
|
|
428
428
|
},
|
|
429
429
|
p(m, o) {
|
|
430
|
-
const
|
|
430
|
+
const s = {};
|
|
431
431
|
o & /*tag*/
|
|
432
|
-
1 && (
|
|
432
|
+
1 && (s.tag = c(
|
|
433
433
|
/*tag*/
|
|
434
434
|
m[0]
|
|
435
435
|
)), o & /*rendererMap*/
|
|
436
|
-
4 && (
|
|
437
|
-
m[2]), t.$set(
|
|
436
|
+
4 && (s.rendererMap = /*rendererMap*/
|
|
437
|
+
m[2]), t.$set(s), (!l || o & /*tag*/
|
|
438
438
|
1 && e !== (e = W(S(
|
|
439
439
|
"content__container",
|
|
440
440
|
/*tag*/
|
|
@@ -501,7 +501,7 @@ function kA(i) {
|
|
|
501
501
|
}
|
|
502
502
|
function CA(i) {
|
|
503
503
|
let A, t;
|
|
504
|
-
return A = new
|
|
504
|
+
return A = new fA({
|
|
505
505
|
props: { tag: c(
|
|
506
506
|
/*tag*/
|
|
507
507
|
i[0]
|
|
@@ -534,7 +534,7 @@ function CA(i) {
|
|
|
534
534
|
}
|
|
535
535
|
function bA(i) {
|
|
536
536
|
let A, t;
|
|
537
|
-
return A = new
|
|
537
|
+
return A = new pA({
|
|
538
538
|
props: { tag: c(
|
|
539
539
|
/*tag*/
|
|
540
540
|
i[0]
|
|
@@ -600,7 +600,7 @@ function hA(i) {
|
|
|
600
600
|
}
|
|
601
601
|
function DA(i) {
|
|
602
602
|
let A, t;
|
|
603
|
-
return A = new
|
|
603
|
+
return A = new sA({
|
|
604
604
|
props: { tag: c(
|
|
605
605
|
/*tag*/
|
|
606
606
|
i[0]
|
|
@@ -700,8 +700,8 @@ function vA(i) {
|
|
|
700
700
|
function EA(i) {
|
|
701
701
|
let A, t, e, n, l;
|
|
702
702
|
const d = [wA, QA, _A], g = [];
|
|
703
|
-
function m(o,
|
|
704
|
-
return
|
|
703
|
+
function m(o, s) {
|
|
704
|
+
return s & /*tag, rendererMap*/
|
|
705
705
|
5 && (A = null), A == null && (A = !!/*tag*/
|
|
706
706
|
(o[0].element || /*rendererMap*/
|
|
707
707
|
o[2].has(
|
|
@@ -716,14 +716,14 @@ function EA(i) {
|
|
|
716
716
|
c() {
|
|
717
717
|
e.c(), n = rA();
|
|
718
718
|
},
|
|
719
|
-
m(o,
|
|
720
|
-
g[t].m(o,
|
|
719
|
+
m(o, s) {
|
|
720
|
+
g[t].m(o, s), F(o, n, s), l = !0;
|
|
721
721
|
},
|
|
722
|
-
p(o, [
|
|
723
|
-
let
|
|
724
|
-
t = m(o,
|
|
725
|
-
g[
|
|
726
|
-
}), $(), e = g[t], e ? e.p(o,
|
|
722
|
+
p(o, [s]) {
|
|
723
|
+
let f = t;
|
|
724
|
+
t = m(o, s), t === f ? g[t].p(o, s) : (AA(), w(g[f], 1, 1, () => {
|
|
725
|
+
g[f] = null;
|
|
726
|
+
}), $(), e = g[t], e ? e.p(o, s) : (e = g[t] = d[t](o), e.c()), k(e, 1), e.m(n.parentNode, n));
|
|
727
727
|
},
|
|
728
728
|
i(o) {
|
|
729
729
|
l || (k(e), l = !0);
|
|
@@ -737,32 +737,32 @@ function EA(i) {
|
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
739
|
function TA(i, A, t) {
|
|
740
|
-
let e, n, l, d, g, m, { tag: o } = A, { hooks:
|
|
741
|
-
q("hooks",
|
|
740
|
+
let e, n, l, d, g, m, { tag: o } = A, { hooks: s } = A, { rendererMap: f = /* @__PURE__ */ new Map() } = A, { contentTypeMap: u = /* @__PURE__ */ new Map() } = A, { state: b } = A, { mediaStore: h } = A, { temporaryState: B } = A;
|
|
741
|
+
q("hooks", s), q("mediaStore", h);
|
|
742
742
|
let E, T;
|
|
743
743
|
function Y(a) {
|
|
744
|
-
a ?
|
|
744
|
+
a ? s.emit("exposure", { id: d, type: "start" }) : s.emit("exposure", { id: d, type: "end" });
|
|
745
745
|
}
|
|
746
746
|
function C(a, z, H) {
|
|
747
747
|
var G, I;
|
|
748
|
-
return !(!z.visible || !z.enabled || !H.visible || !((G = a.state) != null && G.visible) || ((I = a.temporaryState) == null ? void 0 : I.visible) === !1 || a instanceof cA && a.loading);
|
|
748
|
+
return !(!a.enabled || !z.visible || !z.enabled || !H.visible || !((G = a.state) != null && G.visible) || ((I = a.temporaryState) == null ? void 0 : I.visible) === !1 || a instanceof cA && a.loading);
|
|
749
749
|
}
|
|
750
750
|
function J(a) {
|
|
751
751
|
X[a ? "unshift" : "push"](() => {
|
|
752
752
|
o.contentDom = a, t(0, o);
|
|
753
753
|
});
|
|
754
754
|
}
|
|
755
|
-
const r = (a) =>
|
|
756
|
-
function
|
|
755
|
+
const r = (a) => s.emit("click", { event: a, target: "TagContent", tag: o });
|
|
756
|
+
function p(a) {
|
|
757
757
|
X[a ? "unshift" : "push"](() => {
|
|
758
758
|
o.contentDom = a, t(0, o);
|
|
759
759
|
});
|
|
760
760
|
}
|
|
761
761
|
const y = (a) => {
|
|
762
|
-
o.entryFromModel && dA(o.five.state.mode) ? (a.stopPropagation(), o.find({ targetMode: "Panorama" })) :
|
|
762
|
+
o.entryFromModel && dA(o.five.state.mode) ? (a.stopPropagation(), o.find({ targetMode: "Panorama" })) : s.emit("click", { event: a, target: "TagContent", tag: o });
|
|
763
763
|
};
|
|
764
764
|
return i.$$set = (a) => {
|
|
765
|
-
"tag" in a && t(0, o = a.tag), "hooks" in a && t(1,
|
|
765
|
+
"tag" in a && t(0, o = a.tag), "hooks" in a && t(1, s = a.hooks), "rendererMap" in a && t(2, f = a.rendererMap), "contentTypeMap" in a && t(3, u = a.contentTypeMap), "state" in a && t(6, b = a.state), "mediaStore" in a && t(7, h = a.mediaStore), "temporaryState" in a && t(8, B = a.temporaryState);
|
|
766
766
|
}, i.$$.update = () => {
|
|
767
767
|
var a, z, H, G, I, O, V, Z, K, N, R;
|
|
768
768
|
i.$$.dirty & /*tag*/
|
|
@@ -776,8 +776,8 @@ function TA(i, A, t) {
|
|
|
776
776
|
1 && t(4, m = (() => !(typeof o.config.unfoldedConfig == "object" && o.config.unfoldedConfig.keep === "folded"))());
|
|
777
777
|
}, [
|
|
778
778
|
o,
|
|
779
|
-
p,
|
|
780
779
|
s,
|
|
780
|
+
f,
|
|
781
781
|
u,
|
|
782
782
|
m,
|
|
783
783
|
g,
|
|
@@ -791,7 +791,7 @@ function TA(i, A, t) {
|
|
|
791
791
|
l,
|
|
792
792
|
J,
|
|
793
793
|
r,
|
|
794
|
-
|
|
794
|
+
p,
|
|
795
795
|
y
|
|
796
796
|
];
|
|
797
797
|
}
|
|
@@ -354,7 +354,7 @@ class Bi {
|
|
|
354
354
|
this.cache.clear();
|
|
355
355
|
}
|
|
356
356
|
updateVisible() {
|
|
357
|
-
this.state.visible = this.getVisible(), this.applyVisible(), this._updating = !1;
|
|
357
|
+
this.enabled ? (this.state.visible = this.getVisible(), this.applyVisible()) : this.applyVisible(), this._updating = !1;
|
|
358
358
|
}
|
|
359
359
|
updateZIndex() {
|
|
360
360
|
const i = this.getSquaredDistance();
|