@realsee/dnalogel 3.64.4 → 3.64.5-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/dist/MeasurePlugin/Controller.d.ts +11 -1
- package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +7 -2
- package/dist/Sculpt/Meshes/Line.d.ts +6 -2
- package/dist/Sculpt/Meshes/Point.d.ts +4 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +4 -0
- package/dist/Sculpt/typings/style.d.ts +1 -1
- package/dist/Sculpt/utils/renderDom.d.ts +19 -0
- package/dist/Sculpt/utils/unit.d.ts +2 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +4568 -4477
- package/dist/index.umd.js +60 -60
- package/dist/shared-utils/three/PointSelector/index.d.ts +3 -3
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +15 -15
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +16 -16
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +10 -6
- package/docs/classes/Util.sculpt.PointMesh.html +10 -6
- package/docs/classes/Util.sculpt.PolygonMesh.html +11 -7
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +12 -8
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +12 -8
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.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.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -20
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +5 -5
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +11 -11
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.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/GuideLinePluginType.RouteConfig.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/SculptType.Theme.html +2 -2
- 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.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- 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/AreaMakerPlugin/Controller.js +4 -2
- package/libs/AreaMakerPlugin/index.js +4 -2
- package/libs/AreaMakerPlugin/utils/Item.js +4 -2
- package/libs/CSS3DRenderPlugin/Controller.js +4 -2
- package/libs/CSS3DRenderPlugin/index.js +7 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +4 -2
- package/libs/CruisePlugin/BaseController.js +14 -12
- package/libs/CruisePlugin/Move.js +4 -2
- package/libs/CruisePlugin/Work.js +4 -2
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +4 -2
- package/libs/CurrentPanoImagePlugin/index.js +5 -3
- package/libs/GuideLinePlugin/Controller.js +6 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +4 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
- package/libs/GuideLinePlugin/index.js +8 -6
- package/libs/MeasurePlugin/Controller.d.ts +11 -1
- package/libs/MeasurePlugin/Controller.js +114 -83
- package/libs/MeasurePlugin/index.js +4 -3
- package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +7 -2
- package/libs/MeasurePlugin/utils/MeasureMesh.js +36 -24
- package/libs/ModelMakerPlugin/Controller.js +4 -3
- package/libs/ModelMakerPlugin/index.js +4 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +4 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +4 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +4 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +5 -3
- package/libs/ModelTVVideoPlugin/index.js +4 -2
- package/libs/ModelViewPlugin/Plugin.js +5 -3
- package/libs/ModelViewPlugin/index.js +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +17 -15
- package/libs/Object3DHelperPlugin/index.js +7 -5
- package/libs/PanoCompassPlugin/Controller.js +4 -2
- package/libs/PanoCompassPlugin/index.js +5 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +4 -2
- package/libs/PanoDoorLabelPlugin/index.js +5 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +4 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +45 -43
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +4 -2
- package/libs/PanoMeasurePlugin/Model/area.js +13 -11
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +2 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +4 -2
- package/libs/PanoMeasurePlugin/index.js +15 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +4 -2
- package/libs/PanoRulerProPlugin/Controller.js +4 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +4 -2
- package/libs/PanoRulerProPlugin/index.js +5 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +65 -63
- package/libs/PanoSpatialTagPlugin/index.js +2 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +59 -57
- package/libs/PanoTagPlugin/Components/TagContainer.js +4 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +4 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +4 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +4 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +28 -26
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +4 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +4 -2
- package/libs/PanoTagPlugin/controller/index.js +7 -5
- package/libs/PanoTagPlugin/index.js +13 -11
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +18 -16
- package/libs/PanoVideoPlugin/Controller.js +4 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -2
- package/libs/PanoVideoPlugin/index.js +7 -5
- package/libs/PipelinePlugin/Controller.js +21 -19
- package/libs/PipelinePlugin/index.js +5 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +24 -22
- package/libs/Sculpt/Meshes/Line.d.ts +6 -2
- package/libs/Sculpt/Meshes/Line.js +109 -102
- package/libs/Sculpt/Meshes/Point.d.ts +4 -0
- package/libs/Sculpt/Meshes/Point.js +72 -62
- package/libs/Sculpt/Meshes/Polygon.d.ts +4 -0
- package/libs/Sculpt/Meshes/Polygon.js +57 -48
- package/libs/Sculpt/Meshes/Polyline.js +22 -25
- package/libs/Sculpt/Objects/Base/index.js +10 -13
- package/libs/Sculpt/typings/style.d.ts +1 -1
- package/libs/Sculpt/utils/renderDom.d.ts +19 -0
- package/libs/Sculpt/utils/renderDom.js +22 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +22 -21
- package/libs/Sculpt/utils/unit.d.ts +2 -0
- package/libs/Sculpt/utils/unit.js +26 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +4 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
- package/libs/index.js +147 -146
- package/libs/shared-utils/five/FiveDomEvents.js +3 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +3 -3
- package/libs/shared-utils/three/PointSelector/index.js +6 -5
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -3
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +0 -13
|
@@ -53,6 +53,8 @@ import "../shared-utils/isNil.js";
|
|
|
53
53
|
import "../shared-utils/three/core/Line2.js";
|
|
54
54
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
55
55
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
56
|
+
import "../Sculpt/utils/unit.js";
|
|
57
|
+
import "../Sculpt/utils/renderDom.js";
|
|
56
58
|
import "../shared-utils/three/core/Sphere.js";
|
|
57
59
|
import "../vendor/animejs/lib/anime.es.js";
|
|
58
60
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -70,10 +72,10 @@ import "../shared-utils/url/absoluteUrl.js";
|
|
|
70
72
|
import "../vendor/svelte/internal/index.js";
|
|
71
73
|
import "./store.js";
|
|
72
74
|
import "../vendor/svelte/store/index.js";
|
|
73
|
-
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
75
|
+
const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", qt = (n, r) => {
|
|
74
76
|
var k, z, q, B, G, J, K, Q;
|
|
75
77
|
let j = r == null ? void 0 : r.container, y = 1.4;
|
|
76
|
-
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200,
|
|
78
|
+
const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, to = (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, eo = (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 = Mo(n), S = document.createElement("div");
|
|
77
79
|
S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, Eo);
|
|
78
80
|
const V = new yo();
|
|
79
81
|
let Z = new Image();
|
|
@@ -91,80 +93,80 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
91
93
|
}, Y = new Po({
|
|
92
94
|
target: S,
|
|
93
95
|
props: { origins: o.origins }
|
|
94
|
-
}), _ = (
|
|
96
|
+
}), _ = (t, s) => {
|
|
95
97
|
T(), s && M();
|
|
96
98
|
}, F = () => {
|
|
97
99
|
o.forbidden && (o.forbidden = !1, M());
|
|
98
|
-
}, H = (
|
|
100
|
+
}, H = (t, s) => {
|
|
99
101
|
if (o.tags.length === 0)
|
|
100
102
|
return;
|
|
101
|
-
const a = s.longitude - n.state.longitude,
|
|
102
|
-
|
|
103
|
+
const a = s.longitude - n.state.longitude, e = n.camera.clone();
|
|
104
|
+
e.position.copy(s.offset), e.rotateOnWorldAxis(new p.Vector3(0, 1, 0), a), e.updateProjectionMatrix(), e.updateMatrixWorld(!0);
|
|
103
105
|
const g = new p.Frustum(), P = new p.Matrix4();
|
|
104
|
-
P.multiplyMatrices(
|
|
105
|
-
const $ =
|
|
106
|
+
P.multiplyMatrices(e.projectionMatrix, e.matrixWorldInverse), g.setFromProjectionMatrix(P), o.tags.forEach((i) => {
|
|
107
|
+
const $ = e.position.clone().setY(y).distanceTo(i.position);
|
|
106
108
|
if ($ < A || $ > f || !g.containsPoint(i.position))
|
|
107
109
|
return i.destroying = !0;
|
|
108
|
-
const x = i.position.clone().sub(
|
|
110
|
+
const x = i.position.clone().sub(e.position).setY(0);
|
|
109
111
|
if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
|
|
110
112
|
return i.destroying = !0;
|
|
111
113
|
}), o.tags.forEach((i) => {
|
|
112
114
|
i.destroying ? i.app.$set({
|
|
113
|
-
contentZoom: 0.1 +
|
|
114
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
115
|
+
contentZoom: 0.1 + e.position.distanceTo(i.position) / f,
|
|
116
|
+
lineWidthZoom: 0.38 * (0.01 + e.position.distanceTo(i.position) / f),
|
|
115
117
|
destroying: i.destroying
|
|
116
118
|
}) : i.app.$set({
|
|
117
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
118
|
-
lineHeightZoom: 0.4 + (
|
|
119
|
-
contentZoom: 0.1 +
|
|
119
|
+
lineWidthZoom: 0.38 * (0.01 + e.position.distanceTo(i.position) / f),
|
|
120
|
+
lineHeightZoom: 0.4 + (e.position.distanceTo(i.position) - A) / f * 0.6,
|
|
121
|
+
contentZoom: 0.1 + e.position.distanceTo(i.position) / f
|
|
120
122
|
});
|
|
121
123
|
}), setTimeout(() => {
|
|
122
124
|
o.tags.forEach((i) => {
|
|
123
125
|
i.destroying && (i.app.$destroy(), i = null);
|
|
124
126
|
}), o.tags = o.tags.filter((i) => !i.destroying), T();
|
|
125
127
|
}, 1900);
|
|
126
|
-
}, N = (
|
|
127
|
-
|
|
128
|
+
}, N = (t) => {
|
|
129
|
+
t !== To.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
|
|
128
130
|
s.app.$destroy(), s = null;
|
|
129
131
|
}), o.origins = [], o.tags = [], o.forbidden = !0);
|
|
130
132
|
}, T = () => {
|
|
131
133
|
if (o.forbidden || !o.enabled)
|
|
132
134
|
return;
|
|
133
|
-
const
|
|
135
|
+
const t = n.camera, s = t.getWorldDirection(new p.Vector3());
|
|
134
136
|
o.origins = o.tags.map((a) => {
|
|
135
|
-
const
|
|
137
|
+
const e = a.position.clone().project(t), g = a.position.clone().sub(t.position).setY(0).angleTo(s.setY(0)) < Math.PI / 2;
|
|
136
138
|
return {
|
|
137
139
|
id: a.id,
|
|
138
140
|
front: g,
|
|
139
|
-
left: (
|
|
140
|
-
top: (-
|
|
141
|
+
left: (e.x + 1) / 2 * 100,
|
|
142
|
+
top: (-e.y + 1) / 2 * 100,
|
|
141
143
|
destroying: a.destroying
|
|
142
144
|
};
|
|
143
145
|
}), Y.$set({ origins: o.origins });
|
|
144
146
|
}, M = () => {
|
|
145
147
|
o.forbidden || !o.enabled || (o.timeoutId && clearTimeout(o.timeoutId), o.timeoutId = setTimeout(() => {
|
|
146
148
|
o.timeoutId = void 0;
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
+
const t = no();
|
|
150
|
+
t.length && (o.tags = o.tags.concat(t), T());
|
|
149
151
|
}, oo));
|
|
150
152
|
}, no = () => {
|
|
151
|
-
const { clientWidth:
|
|
152
|
-
P.multiplyMatrices(
|
|
153
|
+
const { clientWidth: t, clientHeight: s } = n.getElement(), a = [], e = n.camera, g = new p.Frustum(), P = new p.Matrix4(), i = e.getWorldDirection(new p.Vector3());
|
|
154
|
+
P.multiplyMatrices(e.projectionMatrix, e.matrixWorldInverse), g.setFromProjectionMatrix(P);
|
|
153
155
|
const $ = o.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = o.points.reduce((d, m) => {
|
|
154
156
|
if (o.tags.find((l) => m.id === l.id && !l.destroying))
|
|
155
157
|
return d;
|
|
156
|
-
const u =
|
|
158
|
+
const u = e.position.clone().setY(y).distanceTo(m.position);
|
|
157
159
|
if (u < A || u > f || !g.containsPoint(m.position))
|
|
158
160
|
return d;
|
|
159
|
-
const E = m.position.clone().sub(
|
|
161
|
+
const E = m.position.clone().sub(e.position).setY(0);
|
|
160
162
|
if (E.angleTo(m.normal) > Math.PI / 2 - I && E.angleTo(m.normal) < Math.PI / 2 + I)
|
|
161
163
|
return d;
|
|
162
|
-
const w = m.position.clone().project(
|
|
164
|
+
const w = m.position.clone().project(e);
|
|
163
165
|
if (!o.tags.every((l) => {
|
|
164
|
-
if (l.position.clone().sub(
|
|
166
|
+
if (l.position.clone().sub(e.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
|
|
165
167
|
return !0;
|
|
166
|
-
const b = l.position.clone().project(
|
|
167
|
-
return Math.sqrt(Math.pow((w.x - b.x) / 2 *
|
|
168
|
+
const b = l.position.clone().project(e);
|
|
169
|
+
return Math.sqrt(Math.pow((w.x - b.x) / 2 * t, 2) + Math.pow((w.y - b.y) / 2 * s, 2)) > L;
|
|
168
170
|
}))
|
|
169
171
|
return d;
|
|
170
172
|
const h = {
|
|
@@ -189,26 +191,26 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
189
191
|
}
|
|
190
192
|
return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
|
|
191
193
|
}, []);
|
|
192
|
-
for (let d = 0, m = x.length; d < m && !($ + a.length >=
|
|
194
|
+
for (let d = 0, m = x.length; d < m && !($ + a.length >= to); d++) {
|
|
193
195
|
const u = x[d];
|
|
194
196
|
if (a.find((c) => u.id === c.id))
|
|
195
197
|
continue;
|
|
196
|
-
const E = u.position.clone().project(
|
|
198
|
+
const E = u.position.clone().project(e);
|
|
197
199
|
if (!o.tags.concat(a).every((c) => {
|
|
198
|
-
if (c.position.clone().sub(
|
|
200
|
+
if (c.position.clone().sub(e.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
|
|
199
201
|
return !0;
|
|
200
|
-
const l = c.position.clone().project(
|
|
201
|
-
return Math.sqrt(Math.pow((E.x - l.x) / 2 *
|
|
202
|
+
const l = c.position.clone().project(e);
|
|
203
|
+
return Math.sqrt(Math.pow((E.x - l.x) / 2 * t, 2) + Math.pow((E.y - l.y) / 2 * s, 2)) > L;
|
|
202
204
|
}))
|
|
203
205
|
continue;
|
|
204
206
|
const w = new p.Raycaster(
|
|
205
|
-
|
|
206
|
-
u.position.clone().sub(
|
|
207
|
+
e.position.clone().setY(y),
|
|
208
|
+
u.position.clone().sub(e.position.clone().setY(y)).normalize(),
|
|
207
209
|
0,
|
|
208
210
|
u.distance + v
|
|
209
211
|
), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
|
|
210
212
|
if (h && u.distance - h.distance < v) {
|
|
211
|
-
const { position: c, normal: l, id: b, replacement: O } = u, fo = new p.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(
|
|
213
|
+
const { position: c, normal: l, id: b, replacement: O } = u, fo = new p.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(e.position).cross(new p.Vector3(0, 1, 0)).setLength(D), uo = [
|
|
212
214
|
c.clone(),
|
|
213
215
|
c.clone().add(X),
|
|
214
216
|
c.clone().add(new p.Vector3(0, D, 0)).add(X),
|
|
@@ -218,10 +220,10 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
218
220
|
props: {
|
|
219
221
|
id: b,
|
|
220
222
|
content: o.render(o.template, O),
|
|
221
|
-
lineWidthZoom: 0.38 * (0.01 +
|
|
222
|
-
lineHeightZoom: 0.4 + (
|
|
223
|
-
contentZoom: 0.1 +
|
|
224
|
-
upsideDown: c.y >
|
|
223
|
+
lineWidthZoom: 0.38 * (0.01 + e.position.distanceTo(c) / f),
|
|
224
|
+
lineHeightZoom: 0.4 + (e.position.distanceTo(c) - A) / f * 0.6,
|
|
225
|
+
contentZoom: 0.1 + e.position.distanceTo(c) / f,
|
|
226
|
+
upsideDown: c.y > eo,
|
|
225
227
|
folded: o.folded,
|
|
226
228
|
events: o.events,
|
|
227
229
|
hooks: V,
|
|
@@ -237,48 +239,48 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
237
239
|
}
|
|
238
240
|
}
|
|
239
241
|
return a;
|
|
240
|
-
}, io = (
|
|
241
|
-
o.points =
|
|
242
|
-
var a,
|
|
242
|
+
}, io = (t) => {
|
|
243
|
+
o.points = t.points.map((s) => {
|
|
244
|
+
var a, e;
|
|
243
245
|
return {
|
|
244
246
|
id: s.id,
|
|
245
247
|
position: new p.Vector3().fromArray(s.position),
|
|
246
248
|
normal: new p.Vector3().fromArray(s.normal),
|
|
247
249
|
replacement: (a = s.replacement) != null ? a : {},
|
|
248
|
-
weight: (
|
|
250
|
+
weight: (e = s.weight) != null ? e : -1
|
|
249
251
|
};
|
|
250
|
-
}),
|
|
251
|
-
}, ro = (
|
|
252
|
-
o.intersectObjects =
|
|
252
|
+
}), t.render && (o.render = t.render), t.template && (o.template = t.template), t.events && (o.events = t.events), t.enabled === !1 && (o.enabled = t.enabled), t.folded === !0 && (o.folded = t.folded);
|
|
253
|
+
}, ro = (t) => {
|
|
254
|
+
o.intersectObjects = t, M();
|
|
253
255
|
}, so = () => {
|
|
254
256
|
o.enabled = !0, M();
|
|
255
257
|
}, co = () => {
|
|
256
|
-
o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((
|
|
257
|
-
|
|
258
|
+
o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((t) => {
|
|
259
|
+
t.app.$destroy(), t = null;
|
|
258
260
|
}), o.origins = [], o.tags = [];
|
|
259
261
|
}, lo = () => {
|
|
260
|
-
o.folded = !1, o.tags.forEach((
|
|
261
|
-
|
|
262
|
+
o.folded = !1, o.tags.forEach((t) => {
|
|
263
|
+
t.app.$set({ folded: o.folded });
|
|
262
264
|
});
|
|
263
265
|
}, po = () => {
|
|
264
|
-
o.folded = !0, o.tags.forEach((
|
|
265
|
-
|
|
266
|
+
o.folded = !0, o.tags.forEach((t) => {
|
|
267
|
+
t.app.$set({ folded: o.folded });
|
|
266
268
|
});
|
|
267
|
-
}, ao = (
|
|
269
|
+
}, ao = (t) => {
|
|
268
270
|
o.tags.forEach((s) => {
|
|
269
|
-
s.id ===
|
|
271
|
+
s.id === t && s.app.$set({ folded: !1 });
|
|
270
272
|
});
|
|
271
|
-
}, mo = (
|
|
273
|
+
}, mo = (t) => {
|
|
272
274
|
o.tags.forEach((s) => {
|
|
273
|
-
s.id ===
|
|
275
|
+
s.id === t && s.app.$set({ folded: !0 });
|
|
274
276
|
});
|
|
275
277
|
}, U = () => {
|
|
276
278
|
n.once("renderFrame", T);
|
|
277
279
|
}, R = () => {
|
|
278
280
|
j || (j = n.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = n.model.bounding.getCenter(new p.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
|
|
279
281
|
}, W = () => {
|
|
280
|
-
Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((
|
|
281
|
-
|
|
282
|
+
Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((t) => {
|
|
283
|
+
t.app.$destroy(), t = null;
|
|
282
284
|
}), o.origins = [], o.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
|
|
283
285
|
};
|
|
284
286
|
return window.addEventListener("resize", U, !1), (Q = n == null ? void 0 : n.model) != null && Q.loaded ? R() : n.once("modelLoaded", R), n.on("dispose", W), {
|
|
@@ -295,6 +297,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
295
297
|
};
|
|
296
298
|
};
|
|
297
299
|
export {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
+
qt as PanoSpatialTagPlugin,
|
|
301
|
+
qt as default
|
|
300
302
|
};
|
|
@@ -50,6 +50,8 @@ import "../shared-utils/isNil.js";
|
|
|
50
50
|
import "../shared-utils/three/core/Line2.js";
|
|
51
51
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
52
52
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
53
|
+
import "../Sculpt/utils/unit.js";
|
|
54
|
+
import "../Sculpt/utils/renderDom.js";
|
|
53
55
|
import "../shared-utils/three/core/Sphere.js";
|
|
54
56
|
import "../vendor/animejs/lib/anime.es.js";
|
|
55
57
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -59,6 +59,8 @@ import "../../../shared-utils/three/core/LineGeometry.js";
|
|
|
59
59
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
60
60
|
import "../../../shared-utils/three/core/Line2.js";
|
|
61
61
|
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
62
|
+
import "../../../Sculpt/utils/unit.js";
|
|
63
|
+
import "../../../Sculpt/utils/renderDom.js";
|
|
62
64
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
63
65
|
import "../../../shared-utils/isTouchDevice.js";
|
|
64
66
|
import "../../../shared-utils/five/getPosition.js";
|
|
@@ -234,11 +236,11 @@ function Y(t, i, p) {
|
|
|
234
236
|
l
|
|
235
237
|
];
|
|
236
238
|
}
|
|
237
|
-
class
|
|
239
|
+
class ue extends j {
|
|
238
240
|
constructor(i) {
|
|
239
241
|
super(), q(this, i, Y, V, O, { tag: 6 }, Q);
|
|
240
242
|
}
|
|
241
243
|
}
|
|
242
244
|
export {
|
|
243
|
-
|
|
245
|
+
ue as default
|
|
244
246
|
};
|
|
@@ -53,6 +53,8 @@ import "../../../shared-utils/three/core/LineGeometry.js";
|
|
|
53
53
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
54
54
|
import "../../../shared-utils/three/core/Line2.js";
|
|
55
55
|
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
56
|
+
import "../../../Sculpt/utils/unit.js";
|
|
57
|
+
import "../../../Sculpt/utils/renderDom.js";
|
|
56
58
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
57
59
|
import "../../../shared-utils/isTouchDevice.js";
|
|
58
60
|
import "../../../shared-utils/five/getPosition.js";
|
|
@@ -460,11 +462,11 @@ function ze(i, e, t) {
|
|
|
460
462
|
U
|
|
461
463
|
];
|
|
462
464
|
}
|
|
463
|
-
class
|
|
465
|
+
class Rt extends te {
|
|
464
466
|
constructor(e) {
|
|
465
467
|
super(), ie(this, e, ze, ue, le, { tag: 0 }, he);
|
|
466
468
|
}
|
|
467
469
|
}
|
|
468
470
|
export {
|
|
469
|
-
|
|
471
|
+
Rt as default
|
|
470
472
|
};
|
|
@@ -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 pA from "./AudioTag/index.js";
|
|
8
|
+
import sA from "./MediaPlane.js";
|
|
9
|
+
import fA 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";
|
|
@@ -113,6 +113,8 @@ import "../../../shared-utils/three/core/LineGeometry.js";
|
|
|
113
113
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
114
114
|
import "../../../shared-utils/three/core/Line2.js";
|
|
115
115
|
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
116
|
+
import "../../../Sculpt/utils/unit.js";
|
|
117
|
+
import "../../../Sculpt/utils/renderDom.js";
|
|
116
118
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
117
119
|
import "../../../shared-utils/isTouchDevice.js";
|
|
118
120
|
import "../../../shared-utils/five/getPosition.js";
|
|
@@ -188,7 +190,7 @@ function _A(i) {
|
|
|
188
190
|
};
|
|
189
191
|
}
|
|
190
192
|
function QA(i) {
|
|
191
|
-
let A, t, e, n, l, d, g, m, o,
|
|
193
|
+
let A, t, e, n, l, d, g, m, o, p, s, u, b, h, B, E, T;
|
|
192
194
|
const Y = [
|
|
193
195
|
vA,
|
|
194
196
|
MA,
|
|
@@ -198,15 +200,15 @@ function QA(i) {
|
|
|
198
200
|
CA,
|
|
199
201
|
kA
|
|
200
202
|
], C = [];
|
|
201
|
-
function J(r,
|
|
202
|
-
return
|
|
203
|
-
9 && (n = null),
|
|
204
|
-
9 && (l = null),
|
|
205
|
-
9 && (d = null),
|
|
206
|
-
9 && (g = null),
|
|
207
|
-
9 && (m = null),
|
|
208
|
-
9 && (o = null),
|
|
209
|
-
9 && (
|
|
203
|
+
function J(r, f) {
|
|
204
|
+
return f & /*tag, contentTypeMap*/
|
|
205
|
+
9 && (n = null), f & /*tag, contentTypeMap*/
|
|
206
|
+
9 && (l = null), f & /*tag, contentTypeMap*/
|
|
207
|
+
9 && (d = null), f & /*tag, contentTypeMap*/
|
|
208
|
+
9 && (g = null), f & /*tag, contentTypeMap*/
|
|
209
|
+
9 && (m = null), f & /*tag, contentTypeMap*/
|
|
210
|
+
9 && (o = null), f & /*tag, contentTypeMap*/
|
|
211
|
+
9 && (p = null), n == null && (n = !!(["Text"].includes(
|
|
210
212
|
/*tag*/
|
|
211
213
|
r[0].contentType
|
|
212
214
|
) || ["Text"].includes(
|
|
@@ -260,7 +262,7 @@ function QA(i) {
|
|
|
260
262
|
/*tag*/
|
|
261
263
|
r[0].contentType
|
|
262
264
|
)
|
|
263
|
-
))), o ? 5 : (
|
|
265
|
+
))), o ? 5 : (p == null && (p = !!(["Panorama"].includes(
|
|
264
266
|
/*tag*/
|
|
265
267
|
r[0].contentType
|
|
266
268
|
) || ["Panorama"].includes(
|
|
@@ -269,9 +271,9 @@ function QA(i) {
|
|
|
269
271
|
/*tag*/
|
|
270
272
|
r[0].contentType
|
|
271
273
|
)
|
|
272
|
-
))),
|
|
274
|
+
))), p ? 6 : -1))))));
|
|
273
275
|
}
|
|
274
|
-
return ~(
|
|
276
|
+
return ~(s = J(i, -1)) && (u = C[s] = Y[s](i)), {
|
|
275
277
|
c() {
|
|
276
278
|
var r;
|
|
277
279
|
A = P("div"), t = P("div"), e = P("div"), u && u.c(), _(e, "class", "content svelte-elzzn6"), Q(
|
|
@@ -313,8 +315,8 @@ function QA(i) {
|
|
|
313
315
|
i[0].contentType === "MediaModel" ? "100%" : 0
|
|
314
316
|
);
|
|
315
317
|
},
|
|
316
|
-
m(r,
|
|
317
|
-
F(r, A,
|
|
318
|
+
m(r, f) {
|
|
319
|
+
F(r, A, f), x(A, t), x(t, e), ~s && C[s].m(e, null), i[16](A), B = !0, E || (T = eA(
|
|
318
320
|
A,
|
|
319
321
|
"click",
|
|
320
322
|
/*click_handler_1*/
|
|
@@ -322,50 +324,50 @@ function QA(i) {
|
|
|
322
324
|
!0
|
|
323
325
|
), E = !0);
|
|
324
326
|
},
|
|
325
|
-
p(r,
|
|
327
|
+
p(r, f) {
|
|
326
328
|
var a;
|
|
327
|
-
let y =
|
|
328
|
-
|
|
329
|
+
let y = s;
|
|
330
|
+
s = J(r, f), s === y ? ~s && C[s].p(r, f) : (u && (AA(), w(C[y], 1, 1, () => {
|
|
329
331
|
C[y] = null;
|
|
330
|
-
}), $()), ~
|
|
332
|
+
}), $()), ~s ? (u = C[s], u ? u.p(r, f) : (u = C[s] = Y[s](r), u.c()), k(u, 1), u.m(e, null)) : u = null), (!B || f & /*tag*/
|
|
331
333
|
1) && Q(
|
|
332
334
|
e,
|
|
333
335
|
"unfolded",
|
|
334
336
|
/*tag*/
|
|
335
337
|
(a = r[0].state) == null ? void 0 : a.unfolded
|
|
336
|
-
), (!B ||
|
|
338
|
+
), (!B || f & /*tag*/
|
|
337
339
|
1 && b !== (b = W(S(
|
|
338
340
|
"content__container",
|
|
339
341
|
/*tag*/
|
|
340
342
|
r[0].className
|
|
341
|
-
)) + " svelte-elzzn6")) && _(A, "class", b), (!B ||
|
|
343
|
+
)) + " svelte-elzzn6")) && _(A, "class", b), (!B || f & /*tag*/
|
|
342
344
|
1 && h !== (h = /*tag*/
|
|
343
|
-
r[0].id)) && _(A, "data-id", h), (!B ||
|
|
345
|
+
r[0].id)) && _(A, "data-id", h), (!B || f & /*tag, tag*/
|
|
344
346
|
1) && Q(
|
|
345
347
|
A,
|
|
346
348
|
"disable",
|
|
347
349
|
/*tag*/
|
|
348
350
|
r[0].enabled === !1
|
|
349
|
-
), (!B ||
|
|
351
|
+
), (!B || f & /*tag, isHide*/
|
|
350
352
|
33) && Q(
|
|
351
353
|
A,
|
|
352
354
|
"hide",
|
|
353
355
|
/*isHide*/
|
|
354
356
|
r[5]
|
|
355
|
-
), (!B ||
|
|
357
|
+
), (!B || f & /*tag, tag*/
|
|
356
358
|
1) && Q(
|
|
357
359
|
A,
|
|
358
360
|
"unClickable",
|
|
359
361
|
/*tag*/
|
|
360
362
|
r[0].config.clickable === !1
|
|
361
|
-
),
|
|
363
|
+
), f & /*tag*/
|
|
362
364
|
1 && U(
|
|
363
365
|
A,
|
|
364
366
|
"width",
|
|
365
367
|
/*tag*/
|
|
366
368
|
r[0].stickType === "Plane" || /*tag*/
|
|
367
369
|
r[0].contentType === "MediaModel" ? "100%" : 0
|
|
368
|
-
),
|
|
370
|
+
), f & /*tag*/
|
|
369
371
|
1 && U(
|
|
370
372
|
A,
|
|
371
373
|
"height",
|
|
@@ -381,7 +383,7 @@ function QA(i) {
|
|
|
381
383
|
w(u), B = !1;
|
|
382
384
|
},
|
|
383
385
|
d(r) {
|
|
384
|
-
r && L(A), ~
|
|
386
|
+
r && L(A), ~s && C[s].d(), i[16](null), E = !1, T();
|
|
385
387
|
}
|
|
386
388
|
};
|
|
387
389
|
}
|
|
@@ -426,14 +428,14 @@ function wA(i) {
|
|
|
426
428
|
), d = !0);
|
|
427
429
|
},
|
|
428
430
|
p(m, o) {
|
|
429
|
-
const
|
|
431
|
+
const p = {};
|
|
430
432
|
o & /*tag*/
|
|
431
|
-
1 && (
|
|
433
|
+
1 && (p.tag = c(
|
|
432
434
|
/*tag*/
|
|
433
435
|
m[0]
|
|
434
436
|
)), o & /*rendererMap*/
|
|
435
|
-
4 && (
|
|
436
|
-
m[2]), t.$set(
|
|
437
|
+
4 && (p.rendererMap = /*rendererMap*/
|
|
438
|
+
m[2]), t.$set(p), (!l || o & /*tag*/
|
|
437
439
|
1 && e !== (e = W(S(
|
|
438
440
|
"content__container",
|
|
439
441
|
/*tag*/
|
|
@@ -500,7 +502,7 @@ function kA(i) {
|
|
|
500
502
|
}
|
|
501
503
|
function CA(i) {
|
|
502
504
|
let A, t;
|
|
503
|
-
return A = new
|
|
505
|
+
return A = new sA({
|
|
504
506
|
props: { tag: c(
|
|
505
507
|
/*tag*/
|
|
506
508
|
i[0]
|
|
@@ -533,7 +535,7 @@ function CA(i) {
|
|
|
533
535
|
}
|
|
534
536
|
function bA(i) {
|
|
535
537
|
let A, t;
|
|
536
|
-
return A = new
|
|
538
|
+
return A = new fA({
|
|
537
539
|
props: { tag: c(
|
|
538
540
|
/*tag*/
|
|
539
541
|
i[0]
|
|
@@ -599,7 +601,7 @@ function hA(i) {
|
|
|
599
601
|
}
|
|
600
602
|
function DA(i) {
|
|
601
603
|
let A, t;
|
|
602
|
-
return A = new
|
|
604
|
+
return A = new pA({
|
|
603
605
|
props: { tag: c(
|
|
604
606
|
/*tag*/
|
|
605
607
|
i[0]
|
|
@@ -699,8 +701,8 @@ function vA(i) {
|
|
|
699
701
|
function EA(i) {
|
|
700
702
|
let A, t, e, n, l;
|
|
701
703
|
const d = [wA, QA, _A], g = [];
|
|
702
|
-
function m(o,
|
|
703
|
-
return
|
|
704
|
+
function m(o, p) {
|
|
705
|
+
return p & /*tag, rendererMap*/
|
|
704
706
|
5 && (A = null), A == null && (A = !!/*tag*/
|
|
705
707
|
(o[0].element || /*rendererMap*/
|
|
706
708
|
o[2].has(
|
|
@@ -715,14 +717,14 @@ function EA(i) {
|
|
|
715
717
|
c() {
|
|
716
718
|
e.c(), n = rA();
|
|
717
719
|
},
|
|
718
|
-
m(o,
|
|
719
|
-
g[t].m(o,
|
|
720
|
+
m(o, p) {
|
|
721
|
+
g[t].m(o, p), F(o, n, p), l = !0;
|
|
720
722
|
},
|
|
721
|
-
p(o, [
|
|
722
|
-
let
|
|
723
|
-
t = m(o,
|
|
724
|
-
g[
|
|
725
|
-
}), $(), e = g[t], e ? e.p(o,
|
|
723
|
+
p(o, [p]) {
|
|
724
|
+
let s = t;
|
|
725
|
+
t = m(o, p), t === s ? g[t].p(o, p) : (AA(), w(g[s], 1, 1, () => {
|
|
726
|
+
g[s] = null;
|
|
727
|
+
}), $(), e = g[t], e ? e.p(o, p) : (e = g[t] = d[t](o), e.c()), k(e, 1), e.m(n.parentNode, n));
|
|
726
728
|
},
|
|
727
729
|
i(o) {
|
|
728
730
|
l || (k(e), l = !0);
|
|
@@ -736,11 +738,11 @@ function EA(i) {
|
|
|
736
738
|
};
|
|
737
739
|
}
|
|
738
740
|
function TA(i, A, t) {
|
|
739
|
-
let e, n, l, d, g, m, { tag: o } = A, { hooks:
|
|
740
|
-
q("hooks",
|
|
741
|
+
let e, n, l, d, g, m, { tag: o } = A, { hooks: p } = A, { rendererMap: s = /* @__PURE__ */ new Map() } = A, { contentTypeMap: u = /* @__PURE__ */ new Map() } = A, { state: b } = A, { mediaStore: h } = A, { temporaryState: B } = A;
|
|
742
|
+
q("hooks", p), q("mediaStore", h);
|
|
741
743
|
let E, T;
|
|
742
744
|
function Y(a) {
|
|
743
|
-
a ?
|
|
745
|
+
a ? p.emit("exposure", { id: d, type: "start" }) : p.emit("exposure", { id: d, type: "end" });
|
|
744
746
|
}
|
|
745
747
|
function C(a, z, H) {
|
|
746
748
|
var G, I;
|
|
@@ -751,17 +753,17 @@ function TA(i, A, t) {
|
|
|
751
753
|
o.contentDom = a, t(0, o);
|
|
752
754
|
});
|
|
753
755
|
}
|
|
754
|
-
const r = (a) =>
|
|
755
|
-
function
|
|
756
|
+
const r = (a) => p.emit("click", { event: a, target: "TagContent", tag: o });
|
|
757
|
+
function f(a) {
|
|
756
758
|
X[a ? "unshift" : "push"](() => {
|
|
757
759
|
o.contentDom = a, t(0, o);
|
|
758
760
|
});
|
|
759
761
|
}
|
|
760
762
|
const y = (a) => {
|
|
761
|
-
o.entryFromModel && dA(o.five.state.mode) ? (a.stopPropagation(), o.find({ targetMode: "Panorama" })) :
|
|
763
|
+
o.entryFromModel && dA(o.five.state.mode) ? (a.stopPropagation(), o.find({ targetMode: "Panorama" })) : p.emit("click", { event: a, target: "TagContent", tag: o });
|
|
762
764
|
};
|
|
763
765
|
return i.$$set = (a) => {
|
|
764
|
-
"tag" in a && t(0, o = a.tag), "hooks" in a && t(1,
|
|
766
|
+
"tag" in a && t(0, o = a.tag), "hooks" in a && t(1, p = a.hooks), "rendererMap" in a && t(2, s = 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);
|
|
765
767
|
}, i.$$.update = () => {
|
|
766
768
|
var a, z, H, G, I, O, V, Z, K, N, R;
|
|
767
769
|
i.$$.dirty & /*tag*/
|
|
@@ -775,8 +777,8 @@ function TA(i, A, t) {
|
|
|
775
777
|
1 && t(4, m = (() => !(typeof o.config.unfoldedConfig == "object" && o.config.unfoldedConfig.keep === "folded"))());
|
|
776
778
|
}, [
|
|
777
779
|
o,
|
|
780
|
+
p,
|
|
778
781
|
s,
|
|
779
|
-
f,
|
|
780
782
|
u,
|
|
781
783
|
m,
|
|
782
784
|
g,
|
|
@@ -790,11 +792,11 @@ function TA(i, A, t) {
|
|
|
790
792
|
l,
|
|
791
793
|
J,
|
|
792
794
|
r,
|
|
793
|
-
|
|
795
|
+
f,
|
|
794
796
|
y
|
|
795
797
|
];
|
|
796
798
|
}
|
|
797
|
-
class
|
|
799
|
+
class Pi extends tA {
|
|
798
800
|
constructor(A) {
|
|
799
801
|
super(), iA(
|
|
800
802
|
this,
|
|
@@ -816,5 +818,5 @@ class Gi extends tA {
|
|
|
816
818
|
}
|
|
817
819
|
}
|
|
818
820
|
export {
|
|
819
|
-
|
|
821
|
+
Pi as default
|
|
820
822
|
};
|
|
@@ -107,6 +107,8 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
107
107
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
108
108
|
import "../../shared-utils/three/core/Line2.js";
|
|
109
109
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
110
|
+
import "../../Sculpt/utils/unit.js";
|
|
111
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
110
112
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
111
113
|
import "../../shared-utils/isTouchDevice.js";
|
|
112
114
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -352,7 +354,7 @@ function O(a, t, o) {
|
|
|
352
354
|
m
|
|
353
355
|
];
|
|
354
356
|
}
|
|
355
|
-
class
|
|
357
|
+
class Yo extends z {
|
|
356
358
|
constructor(t) {
|
|
357
359
|
super(), T(
|
|
358
360
|
this,
|
|
@@ -375,5 +377,5 @@ class Wo extends z {
|
|
|
375
377
|
}
|
|
376
378
|
}
|
|
377
379
|
export {
|
|
378
|
-
|
|
380
|
+
Yo as default
|
|
379
381
|
};
|