@realsee/dnalogel 3.73.1-alpha.1 → 3.73.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/MeasurePlugin/Controller.d.ts +3 -4
- package/dist/MeasurePlugin/index.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +1 -9
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +0 -4
- package/dist/Sculpt/utils/export.d.ts +1 -0
- package/dist/index.cjs.js +73 -73
- package/dist/index.js +6085 -6152
- package/dist/index.umd.js +75 -75
- package/dist/shared-utils/three/index.d.ts +2 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1493 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
- package/docs/classes/CSS3DRender.html +100 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +70 -0
- package/docs/classes/ModelMakerPluginInstance.html +116 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
- package/docs/classes/ModelRoomLabelController.html +19 -0
- package/docs/classes/MoveController.html +45 -0
- package/docs/classes/Object3DHelperController.html +45 -0
- package/docs/classes/PaintBrush.html +15 -0
- package/docs/classes/PanoMeasurePluginLine.html +24 -0
- package/docs/classes/PanoMeasurePluginModel.html +23 -0
- package/docs/classes/PanoMeasurePluginPoint.html +7 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
- package/docs/classes/PanoTagPluginController.html +111 -0
- package/docs/classes/Sculpt.html +77 -0
- package/docs/classes/Util.BetterTween.html +6 -0
- package/docs/classes/Util.FiveDomEvents.html +13 -0
- package/docs/classes/Util.FivePuppet.html +20 -0
- package/docs/classes/Util.Interval.html +11 -0
- package/docs/classes/Util.LegacyPointHelper.html +7 -0
- package/docs/classes/Util.LightTag.html +47 -0
- package/docs/classes/Util.LineSegments.html +4 -0
- package/docs/classes/Util.Magnifier.html +26 -0
- package/docs/classes/Util.Object3D.html +8 -0
- package/docs/classes/Util.PointDomHelper.html +8 -0
- package/docs/classes/Util.PointHelper.html +10 -0
- package/docs/classes/Util.PointSelector.html +66 -0
- package/docs/classes/Util.PointSelectorHelper.html +14 -0
- package/docs/classes/Util.Rectangle.html +12 -0
- package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
- package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
- package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.LineMesh.html +34 -0
- package/docs/classes/Util.sculpt.PointMesh.html +24 -0
- package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
- package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
- package/docs/classes/WalkController.html +42 -0
- package/docs/enums/CameraMovementEffect.html +4 -0
- package/docs/enums/ContentType.html +34 -0
- package/docs/enums/DIRECTION.html +5 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/DimensionType.html +4 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/PaintBrushTypeEnum.html +4 -0
- package/docs/enums/PointType.html +4 -0
- package/docs/enums/Rotation.html +5 -0
- package/docs/functions/AreaMakerPlugin.html +1 -0
- package/docs/functions/CSS3DRenderPlugin.html +1 -0
- package/docs/functions/CameraMovementPlugin.html +2 -0
- package/docs/functions/CruisePlugin.html +1 -0
- package/docs/functions/CurrentPanoImagePlugin.html +1 -0
- package/docs/functions/FloorplanGuidePlugin.html +1 -0
- package/docs/functions/GuideLinePlugin.html +1 -0
- package/docs/functions/ItemLabelPlugin.html +1 -0
- package/docs/functions/MapviewFloorplanPlugin.html +1 -0
- package/docs/functions/MeasurePlugin.html +1 -0
- package/docs/functions/ModelChassisCompassPlugin.html +2 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
- package/docs/functions/ModelFloorplanPlugin.html +1 -0
- package/docs/functions/ModelItemLabelPlugin.html +1 -0
- package/docs/functions/ModelMakerPlugin.html +1 -0
- package/docs/functions/ModelRoomLabelPlugin.html +1 -0
- package/docs/functions/ModelTVVideoPlugin.html +1 -0
- package/docs/functions/ModelViewPlugin.html +2 -0
- package/docs/functions/MovePlugin.html +1 -0
- package/docs/functions/Object3DHelperPlugin.html +1 -0
- package/docs/functions/PanoCompassPlugin.html +1 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
- package/docs/functions/PanoDoorLabelPlugin.html +1 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
- package/docs/functions/PanoMeasurePlugin.html +1 -0
- package/docs/functions/PanoRulerPlugin.html +2 -0
- package/docs/functions/PanoRulerProPlugin.html +2 -0
- package/docs/functions/PanoSpatialTagPlugin.html +2 -0
- package/docs/functions/PanoTagPlugin.html +1 -0
- package/docs/functions/PanoVideoPlugin.html +10 -0
- package/docs/functions/PipelinePlugin.html +1 -0
- package/docs/functions/SculptPlugin.html +2 -0
- package/docs/functions/SculptPluginForFive.html +2 -0
- package/docs/functions/TopviewFloorplanPlugin.html +1 -0
- package/docs/functions/Util.awaitNextFrame.html +1 -0
- package/docs/functions/Util.blink.html +13 -0
- package/docs/functions/Util.blinkWithPreset.html +6 -0
- package/docs/functions/Util.bounding.html +1 -0
- package/docs/functions/Util.boundingBox.html +1 -0
- package/docs/functions/Util.boundingSphere.html +1 -0
- package/docs/functions/Util.boxVertex.html +7 -0
- package/docs/functions/Util.boxVertexes.html +1 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
- package/docs/functions/Util.cleanup.html +3 -0
- package/docs/functions/Util.convexHull.html +2 -0
- package/docs/functions/Util.equal.html +5 -0
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
- package/docs/functions/Util.generatePolygonGeometry.html +2 -0
- package/docs/functions/Util.getCoordsFromClient.html +1 -0
- package/docs/functions/Util.getCoordsFromElement.html +1 -0
- package/docs/functions/Util.getFrameTime.html +3 -0
- package/docs/functions/Util.getGeometryArea.html +1 -0
- package/docs/functions/Util.getGeometryInfo.html +1 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
- package/docs/functions/Util.initialCSS3DRender.html +1 -0
- package/docs/functions/Util.inside.html +1 -0
- package/docs/functions/Util.isModelLike.html +1 -0
- package/docs/functions/Util.isNil.html +2 -0
- package/docs/functions/Util.isPanoramaLike.html +1 -0
- package/docs/functions/Util.lookObject.html +7 -0
- package/docs/functions/Util.lookPoint.html +5 -0
- package/docs/functions/Util.nextFrame.html +1 -0
- package/docs/functions/Util.notNil.html +2 -0
- package/docs/functions/Util.reblink.html +13 -0
- package/docs/functions/Util.replaceStaticPrefix.html +8 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
- package/docs/functions/Util.sculpt.createBox.html +1 -0
- package/docs/functions/Util.sculpt.createCircle.html +1 -0
- package/docs/functions/Util.sculpt.createCylinder.html +1 -0
- package/docs/functions/Util.sculpt.createLine.html +2 -0
- package/docs/functions/Util.sculpt.createPoint.html +1 -0
- package/docs/functions/Util.sculpt.createPolygon.html +1 -0
- package/docs/functions/Util.sculpt.createPrism.html +1 -0
- package/docs/functions/Util.sculpt.createRectangle.html +2 -0
- package/docs/functions/Util.sculpt.transformUnit.html +1 -0
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
- package/docs/functions/Util.tag.html +1 -0
- package/docs/functions/Util.triangleArea.html +2 -0
- package/docs/functions/Util.triangleCenter.html +2 -0
- package/docs/functions/Util.tweenProgress.html +1 -0
- package/docs/functions/Util.uuid.html +2 -0
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
- package/docs/functions/Util.worldBounding.html +1 -0
- package/docs/functions/Util.worldBoundingBox.html +1 -0
- package/docs/functions/Util.worldBoundingSphere.html +1 -0
- package/docs/functions/createPolyline.html +2 -0
- package/docs/functions/pluginFlag.html +1 -0
- package/docs/functions/validatePolygon.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +70 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
- package/docs/interfaces/BoxAnimationConfig.html +6 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
- package/docs/interfaces/ContentTypeMapInterface.html +73 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
- package/docs/interfaces/FloorplanBounding.html +9 -0
- package/docs/interfaces/FloorplanData.html +7 -0
- package/docs/interfaces/FloorplanEntrance.html +14 -0
- package/docs/interfaces/FloorplanExtraObject.html +9 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
- package/docs/interfaces/FloorplanFloorData.html +9 -0
- package/docs/interfaces/FloorplanImagePosition.html +4 -0
- package/docs/interfaces/FloorplanObserver.html +8 -0
- package/docs/interfaces/FloorplanOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanPosition.html +4 -0
- package/docs/interfaces/FloorplanRoomItem.html +24 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
- package/docs/interfaces/FloorplanServerBounding.html +9 -0
- package/docs/interfaces/FloorplanServerComputedData.html +6 -0
- package/docs/interfaces/FloorplanServerData.html +4 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
- package/docs/interfaces/FloorplanServerEntrance.html +14 -0
- package/docs/interfaces/FloorplanServerFloorData.html +8 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
- package/docs/interfaces/FloorplanServerObserver.html +8 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanServerPosition.html +4 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
- package/docs/interfaces/HelperOffset.html +4 -0
- package/docs/interfaces/ImagePlaneGroup.html +3 -0
- package/docs/interfaces/ItemLabelPluginData.html +2 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
- package/docs/interfaces/MinMax.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
- package/docs/interfaces/ModelViewPluginExportType.html +8 -0
- package/docs/interfaces/Object3DHelperState.html +4 -0
- package/docs/interfaces/ObjectHelperControllers.html +5 -0
- package/docs/interfaces/PaintBrushAction.html +14 -0
- package/docs/interfaces/PaintBrushConfigs.html +8 -0
- package/docs/interfaces/PaintBrushState.html +6 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
- package/docs/interfaces/PanoMeasureParameterType.html +20 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
- package/docs/interfaces/PanoRulerProPluginState.html +4 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
- package/docs/interfaces/PluginEventMap.html +16 -0
- package/docs/interfaces/Point.html +4 -0
- package/docs/interfaces/Room.html +5 -0
- package/docs/interfaces/RoomInfo.html +3 -0
- package/docs/interfaces/RoomLabel.html +16 -0
- package/docs/interfaces/RoomRules.html +1 -0
- package/docs/interfaces/Rooms.html +1 -0
- package/docs/interfaces/Scissor.html +13 -0
- package/docs/interfaces/SculptConfig.html +14 -0
- package/docs/interfaces/State.html +7 -0
- package/docs/interfaces/TagCacheInterface.html +9 -0
- package/docs/interfaces/TagConfig.html +164 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
- package/docs/interfaces/TagIconAnimationConfig.html +7 -0
- package/docs/interfaces/TagIconUrl.html +20 -0
- package/docs/interfaces/TagObjectGroup.html +3 -0
- package/docs/interfaces/TagState.html +3 -0
- package/docs/interfaces/TagStyle.html +5 -0
- package/docs/interfaces/Tags.html +8 -0
- package/docs/interfaces/TemporaryState.html +2 -0
- package/docs/interfaces/Util.AnimeInstance.html +14 -0
- package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
- package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
- package/docs/interfaces/Util.FiveDomEvent.html +7 -0
- package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.MagnifierParameter.html +13 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.ObjectInitialState.html +9 -0
- package/docs/interfaces/Util.PointIntersection.html +21 -0
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
- package/docs/modules/AreaMakerPluginType.html +17 -0
- package/docs/modules/CruisePluginTypes.html +14 -0
- package/docs/modules/CurrentPanoImagePluginType.html +6 -0
- package/docs/modules/GuideLineItem.html +2 -0
- package/docs/modules/GuideLineModeItem.html +3 -0
- package/docs/modules/GuideLinePluginType.html +25 -0
- package/docs/modules/ModelMakerPluginType.html +19 -0
- package/docs/modules/PanoVideoPluginType.html +8 -0
- package/docs/modules/SculptData.html +9 -0
- package/docs/modules/SculptType.html +2 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules/Util.sculpt.html +27 -0
- package/docs/modules.html +281 -0
- package/docs/types/AddObject3DHelperConfig.html +19 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
- package/docs/types/ArrayPosition.html +1 -0
- package/docs/types/AudioAppearance.html +1 -0
- package/docs/types/CSS3DRenderExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
- package/docs/types/ClassFunctionParameters.html +1 -0
- package/docs/types/Color.html +1 -0
- package/docs/types/ContentTypeConfigKey.html +1 -0
- package/docs/types/ContentTypeConfigKeySplit.html +1 -0
- package/docs/types/ContentTypeMap.html +1 -0
- package/docs/types/Create3DDomContainerReturnType.html +1 -0
- package/docs/types/Create3DElementReturnType.html +1 -0
- package/docs/types/CruisePluginExportType.html +1 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
- package/docs/types/DeprecatedTagProperty.html +3 -0
- package/docs/types/Direction-1.html +1 -0
- package/docs/types/Direction4.html +1 -0
- package/docs/types/ElementRenderer.html +2 -0
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
- package/docs/types/FloorplanRuleLabels.html +2 -0
- package/docs/types/FloorplanServerRuleLabels.html +1 -0
- package/docs/types/GuideLinePluginExportType.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
- package/docs/types/GuideLinePluginType.PathItem.html +2 -0
- package/docs/types/GuideLinePluginType.PluginData.html +2 -0
- package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
- package/docs/types/HelperEventMap.html +1 -0
- package/docs/types/InternalHelperEventMap.html +1 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/MeasureEndReason.html +1 -0
- package/docs/types/MeasurePluginConfig.html +5 -0
- package/docs/types/MeasurePluginEventMap.html +1 -0
- package/docs/types/MediaData.html +2 -0
- package/docs/types/MediaStore.html +1 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
- package/docs/types/ModelId.html +1 -0
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
- package/docs/types/MoveArgs.html +2 -0
- package/docs/types/MoveOpts.html +2 -0
- package/docs/types/Object3DHelperEventMap.html +1 -0
- package/docs/types/ObjectFit.html +1 -0
- package/docs/types/PaintBrushEventMap.html +1 -0
- package/docs/types/PanoCompassPluginData.html +1 -0
- package/docs/types/PanoCompassPluginExportType.html +1 -0
- package/docs/types/PanoCompassPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
- package/docs/types/PanoIndex.html +1 -0
- package/docs/types/PanoMeasurePluginEvent.html +1 -0
- package/docs/types/PanoMeasureReturnType.html +1 -0
- package/docs/types/PanoSpatialTagPluginId.html +1 -0
- package/docs/types/PanoTagPluginExportInterface.html +1 -0
- package/docs/types/PanoTagPluginParamsInterface.html +1 -0
- package/docs/types/PanoVideoPluginParameterType.html +1 -0
- package/docs/types/PanoVideoPluginReturnType.html +1 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
- package/docs/types/PipelinePluginParameterType.html +1 -0
- package/docs/types/PipelinePluginReturnType.html +1 -0
- package/docs/types/PlaneTag.html +2 -0
- package/docs/types/Point2DTag.html +2 -0
- package/docs/types/Point3DTag.html +2 -0
- package/docs/types/PointTagInstance.html +1 -0
- package/docs/types/Position.html +1 -0
- package/docs/types/PositionFrom.html +1 -0
- package/docs/types/RotateArgs.html +2 -0
- package/docs/types/RotateOpts.html +2 -0
- package/docs/types/RuleLabelsKey.html +1 -0
- package/docs/types/RuleLabelsValue.html +1 -0
- package/docs/types/ScaleCallback.html +1 -0
- package/docs/types/ScalePosition.html +3 -0
- package/docs/types/SculptData.BoxData.html +1 -0
- package/docs/types/SculptData.CircleData.html +1 -0
- package/docs/types/SculptData.CylinderData.html +1 -0
- package/docs/types/SculptData.PointData.html +1 -0
- package/docs/types/SculptData.PolygonData.html +1 -0
- package/docs/types/SculptData.PolylineData.html +1 -0
- package/docs/types/SculptData.PrismData.html +1 -0
- package/docs/types/SculptData.RectangleData.html +1 -0
- package/docs/types/SculptType.Theme.html +10 -0
- package/docs/types/StickType.html +1 -0
- package/docs/types/Tag.html +17 -0
- package/docs/types/Tag2D.html +2 -0
- package/docs/types/Tag3D.html +2 -0
- package/docs/types/TagClickParams.html +1 -0
- package/docs/types/TagConfigByKey.html +1 -0
- package/docs/types/TagContentType.html +1 -0
- package/docs/types/TagContentTypeMapping.html +1 -0
- package/docs/types/TagDimensionType.html +1 -0
- package/docs/types/TagElement.html +2 -0
- package/docs/types/TagEvents.html +1 -0
- package/docs/types/TagGLTFObject.html +1 -0
- package/docs/types/TagHooks.html +1 -0
- package/docs/types/TagId.html +1 -0
- package/docs/types/TagInstance.html +1 -0
- package/docs/types/TagPlacement.html +5 -0
- package/docs/types/TagPointType.html +2 -0
- package/docs/types/TagRendererMap.html +1 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/Util.ActionIfNoIntersection.html +1 -0
- package/docs/types/Util.AdherePoint.html +2 -0
- package/docs/types/Util.PointSelectorConfig.html +1 -0
- package/docs/types/Util.SupportedTarget.html +2 -0
- package/docs/types/Util.Target.html +2 -0
- package/docs/types/Util.ThreeObject.html +2 -0
- package/docs/types/WorkCode.html +1 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
- package/docs/variables/PLUGIN.html +1 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
- package/docs/variables/ROOM_TYPE_MAP.html +2 -0
- package/docs/variables/Util.ANIME_PRESETS.html +2 -0
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
- package/docs/variables/defaultGlobalConfig.html +1 -0
- package/docs/variables/itemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +80 -79
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -4
- package/libs/CruisePlugin/Work.js +3 -4
- package/libs/CruisePlugin/index.js +7 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +5 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -4
- package/libs/GuideLinePlugin/index.js +7 -8
- package/libs/MeasurePlugin/Controller.d.ts +3 -4
- package/libs/MeasurePlugin/Controller.js +29 -29
- package/libs/MeasurePlugin/index.d.ts +2 -1
- package/libs/MeasurePlugin/index.js +6 -5
- package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +4 -3
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +18 -17
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +233 -232
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +1 -9
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +132 -180
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -7
- package/libs/PanoTagPlugin/index.js +12 -13
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +71 -85
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +95 -94
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
- package/libs/Sculpt/Meshes/Circle.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +19 -18
- package/libs/Sculpt/utils/export.d.ts +1 -0
- package/libs/Sculpt/utils/export.js +23 -20
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +8 -7
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +106 -106
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/exports.js +62 -55
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -2
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/geometryUtil.js +12 -8
- package/libs/shared-utils/three/index.d.ts +2 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +139 -151
- package/package.json +2 -2
- package/dist/shared-utils/five/getFloorMesh.d.ts +0 -3
- package/libs/shared-utils/five/getFloorMesh.d.ts +0 -3
- package/libs/shared-utils/five/getFloorMesh.js +0 -11
|
@@ -1,46 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var t in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var a = (r) => {
|
|
1
|
+
var F = Object.defineProperty, T = Object.defineProperties;
|
|
2
|
+
var j = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var b = Object.getOwnPropertySymbols;
|
|
4
|
+
var R = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var S = (l, i, t) => i in l ? F(l, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[i] = t, v = (l, i) => {
|
|
6
|
+
for (var t in i || (i = {}))
|
|
7
|
+
R.call(i, t) && S(l, t, i[t]);
|
|
8
|
+
if (b)
|
|
9
|
+
for (var t of b(i))
|
|
10
|
+
k.call(i, t) && S(l, t, i[t]);
|
|
11
|
+
return l;
|
|
12
|
+
}, D = (l, i) => T(l, j(i));
|
|
13
|
+
var C = (l, i, t) => new Promise((e, o) => {
|
|
14
|
+
var n = (s) => {
|
|
16
15
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
16
|
+
r(t.next(s));
|
|
17
|
+
} catch (d) {
|
|
18
|
+
o(d);
|
|
20
19
|
}
|
|
21
|
-
},
|
|
20
|
+
}, m = (s) => {
|
|
22
21
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
22
|
+
r(t.throw(s));
|
|
23
|
+
} catch (d) {
|
|
24
|
+
o(d);
|
|
26
25
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
26
|
+
}, r = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(n, m);
|
|
27
|
+
r((t = t.apply(l, i)).next());
|
|
29
28
|
});
|
|
30
|
-
import { CONST as
|
|
31
|
-
import { CSS3DObjectPlus as
|
|
32
|
-
import { anyPositionToVector3 as
|
|
33
|
-
import
|
|
34
|
-
import { planeNormal as
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import { BaseTag as B } from "./BaseTag.js";
|
|
29
|
+
import { CONST as E } from "../../../shared-utils/constants.js";
|
|
30
|
+
import { CSS3DObjectPlus as V } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
31
|
+
import { anyPositionToVector3 as M, arrayPositionToVector3 as u } from "../../../shared-utils/positionToVector3.js";
|
|
32
|
+
import "three";
|
|
33
|
+
import { planeNormal as O } from "../../utils/planeNormal.js";
|
|
34
|
+
import { VideoPlane as w, ImagePlane as G } from "../../utils/model/mediaPlane.js";
|
|
35
|
+
import L from "../../Components/Tag/index.js";
|
|
36
|
+
import { BaseTag as A } from "./BaseTag.js";
|
|
39
37
|
import "../../../shared-utils/tag.js";
|
|
40
38
|
import "../../../vendor/hammerjs/hammer.js";
|
|
41
39
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
42
40
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
43
|
-
import { initialCSS3DRender as
|
|
41
|
+
import { initialCSS3DRender as N } from "../../../shared-utils/CSS3DRender/index.js";
|
|
44
42
|
import "@realsee/five/line";
|
|
45
43
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
46
44
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
@@ -48,14 +46,15 @@ import "../../../shared-utils/three/blink.js";
|
|
|
48
46
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
49
47
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
50
48
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
51
|
-
import { waitFiveModelLoaded as
|
|
52
|
-
import
|
|
49
|
+
import { waitFiveModelLoaded as I } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
51
|
+
import { uuid as B } from "../../../shared-utils/uuid.js";
|
|
53
52
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
54
|
-
import { Sculpt as
|
|
55
|
-
import { Rectangle as
|
|
56
|
-
import { getFloorMesh as W } from "../../../shared-utils/five/getFloorMesh.js";
|
|
53
|
+
import { Sculpt as x } from "../../../Sculpt/index.js";
|
|
54
|
+
import { Rectangle as H } from "../../../Sculpt/Objects/Rectangle/index.js";
|
|
57
55
|
import "../../../shared-utils/even.js";
|
|
58
56
|
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
57
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
59
58
|
import "../../../shared-utils/isNil.js";
|
|
60
59
|
import "../../../shared-utils/three/loadTexture.js";
|
|
61
60
|
import "../../../shared-utils/three/Quadrangle.js";
|
|
@@ -270,7 +269,6 @@ import "../../../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
270
269
|
import "../../../Sculpt/Meshes/Polygon.js";
|
|
271
270
|
import "../../../shared-utils/three/generatePolygonGeometry.js";
|
|
272
271
|
import "../../../shared-utils/three/earcut3D.js";
|
|
273
|
-
import "../../../vendor/earcut/src/earcut.js";
|
|
274
272
|
import "../../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
275
273
|
import "../../../Sculpt/utils/three/ColoredMesh.js";
|
|
276
274
|
import "../../../shared-utils/three/geometryUtil.js";
|
|
@@ -299,89 +297,43 @@ import "../../../shared-utils/forReverseEach.js";
|
|
|
299
297
|
import "../../../Sculpt/Objects/Line/index.js";
|
|
300
298
|
import "../../../Sculpt/Editors/RectangleMeshEditor.js";
|
|
301
299
|
import "../../../Sculpt/utils/sortPositionsByCameraPosition.js";
|
|
302
|
-
const
|
|
303
|
-
class
|
|
304
|
-
constructor(
|
|
305
|
-
super(t,
|
|
306
|
-
b(this, "_floorIndex");
|
|
307
|
-
b(this, "_floorIndexDirty", !0);
|
|
308
|
-
this.state.unfolded = !0, this.loadModel();
|
|
309
|
-
}
|
|
310
|
-
/** 获取楼层索引(惰性计算 + 缓存) */
|
|
311
|
-
get floorIndex() {
|
|
312
|
-
return (this._floorIndexDirty || this._floorIndex === void 0) && (this._floorIndex = this.computeFloorIndex(), this._floorIndexDirty = !1), this._floorIndex;
|
|
313
|
-
}
|
|
314
|
-
/** 标记 floorIndex 需要重新计算(在位置等相关数据变化时调用) */
|
|
315
|
-
invalidateFloorIndex() {
|
|
316
|
-
this._floorIndexDirty = !0;
|
|
300
|
+
const $ = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
301
|
+
class Zr extends A {
|
|
302
|
+
constructor(i, t) {
|
|
303
|
+
super(i, t), this.state.unfolded = !0, this.loadModel();
|
|
317
304
|
}
|
|
318
305
|
applyVisible() {
|
|
319
|
-
var
|
|
320
|
-
this.computeRenderType() === "Mesh" ? (this.initialSculpt(), ((
|
|
306
|
+
var t, e, o, n, m, r;
|
|
307
|
+
this.computeRenderType() === "Mesh" ? (this.initialSculpt(), ((e = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : e.type) === "Video" ? this.renderVideoPlane() : ((n = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : n.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane()) : ((m = this.tag3DContentSvelte) == null || m.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (r = this.tag3DContentSvelte) != null && r.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0));
|
|
321
308
|
}
|
|
322
|
-
set(
|
|
323
|
-
super.set(
|
|
324
|
-
this.tag3DContentSvelte && (
|
|
309
|
+
set(i, t = !0) {
|
|
310
|
+
super.set(i, t), I(this.five).then(() => {
|
|
311
|
+
this.tag3DContentSvelte && (i.data ? this.tag3DContentSvelte.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }) : i.position && this.loadModel());
|
|
325
312
|
});
|
|
326
313
|
}
|
|
327
|
-
setData(...
|
|
328
|
-
var
|
|
329
|
-
super.setData(...
|
|
330
|
-
}
|
|
331
|
-
/** 计算楼层索引 */
|
|
332
|
-
computeFloorIndex() {
|
|
333
|
-
const t = /* @__PURE__ */ new Map();
|
|
334
|
-
this.five.observers.forEach((n) => {
|
|
335
|
-
var r;
|
|
336
|
-
const e = (r = n.floorIndex) != null ? r : 0;
|
|
337
|
-
if (!t.has(e)) {
|
|
338
|
-
const p = W(this.five, e);
|
|
339
|
-
p.isEmpty() || t.set(e, p);
|
|
340
|
-
}
|
|
341
|
-
});
|
|
342
|
-
const o = G(...this.position.map(T)), i = [], a = [];
|
|
343
|
-
if (t.forEach((n, e) => {
|
|
344
|
-
a.push({ floorIndex: e, box: n }), n.containsPoint(o) && i.push({ floorIndex: e, box: n });
|
|
345
|
-
}), i.length === 1)
|
|
346
|
-
return i[0].floorIndex;
|
|
347
|
-
if (i.length > 1) {
|
|
348
|
-
let n = 1 / 0, e = i[0].floorIndex;
|
|
349
|
-
return i.forEach(({ floorIndex: r, box: p }) => {
|
|
350
|
-
const h = new E.Vector3();
|
|
351
|
-
p.getCenter(h);
|
|
352
|
-
const c = o.distanceTo(h);
|
|
353
|
-
c < n && (n = c, e = r);
|
|
354
|
-
}), e;
|
|
355
|
-
}
|
|
356
|
-
if (a.length > 0) {
|
|
357
|
-
let n = 1 / 0, e = a[0].floorIndex;
|
|
358
|
-
return a.forEach(({ floorIndex: r, box: p }) => {
|
|
359
|
-
const h = new E.Vector3();
|
|
360
|
-
p.getCenter(h);
|
|
361
|
-
const c = o.distanceTo(h);
|
|
362
|
-
c < n && (n = c, e = r);
|
|
363
|
-
}), e;
|
|
364
|
-
}
|
|
314
|
+
setData(...i) {
|
|
315
|
+
var e, o, n, m, r;
|
|
316
|
+
super.setData(...i), this.computeRenderType() === "Mesh" ? ((o = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : o.type) === "Video" ? this.renderVideoPlane() : ((m = (n = this.data.mediaData) == null ? void 0 : n[0]) == null ? void 0 : m.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane() : (r = this.tag3DContentSvelte) == null || r.svelteApp.$set({ tag: this });
|
|
365
317
|
}
|
|
366
318
|
loadModel() {
|
|
367
319
|
return C(this, null, function* () {
|
|
368
|
-
var
|
|
369
|
-
if (yield
|
|
370
|
-
this.initialSculpt(), ((
|
|
320
|
+
var t, e, o, n, m, r;
|
|
321
|
+
if (yield I(this.five), this.computeRenderType() === "Mesh")
|
|
322
|
+
this.initialSculpt(), ((e = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : e.type) === "Video" ? this.renderVideoPlane() : ((n = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : n.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane();
|
|
371
323
|
else {
|
|
372
|
-
|
|
373
|
-
const
|
|
374
|
-
(r = (
|
|
375
|
-
const
|
|
376
|
-
|
|
377
|
-
const
|
|
378
|
-
|
|
379
|
-
let
|
|
380
|
-
|
|
381
|
-
this.plugin.hooks.emit("click", { event:
|
|
324
|
+
N(this.five);
|
|
325
|
+
const s = this.position.map(M);
|
|
326
|
+
(r = (m = this.tag3DContentSvelte) == null ? void 0 : m.dispose) == null || r.call(m);
|
|
327
|
+
const d = document.createElement("div");
|
|
328
|
+
d.classList.add("tag-media-container");
|
|
329
|
+
const g = v({ mode: "front", cornerPoints: s, container: d }, this.config.tag3DConfig), P = this.computeRenderType() === "BehindDom" || g.mode === "behind" ? "behind" : "front", p = new V(D(v({}, g), { mode: P })), a = this.computeNormal();
|
|
330
|
+
p.position.add(a.clone().setLength(E.Z_FIGHTING_OFFSET)), this.plugin.group.add(p);
|
|
331
|
+
let f;
|
|
332
|
+
p.mode === "behind" && this.config.clickable !== !1 && (f = this.addObjectClickHandler(this, p, (c) => {
|
|
333
|
+
this.plugin.hooks.emit("click", { event: c, target: "TagContent", tag: this });
|
|
382
334
|
}));
|
|
383
|
-
const
|
|
384
|
-
target:
|
|
335
|
+
const h = new L({
|
|
336
|
+
target: d,
|
|
385
337
|
props: {
|
|
386
338
|
tag: this,
|
|
387
339
|
hooks: this.plugin.hooks,
|
|
@@ -392,15 +344,15 @@ class Xr extends B {
|
|
|
392
344
|
}
|
|
393
345
|
});
|
|
394
346
|
this.tag3DContentSvelte = {
|
|
395
|
-
svelteApp:
|
|
347
|
+
svelteApp: h,
|
|
396
348
|
domContainer: {
|
|
397
|
-
css3DObject:
|
|
349
|
+
css3DObject: p
|
|
398
350
|
},
|
|
399
|
-
css3DInstance:
|
|
400
|
-
initialNormal:
|
|
401
|
-
currentNormal:
|
|
351
|
+
css3DInstance: p,
|
|
352
|
+
initialNormal: a,
|
|
353
|
+
currentNormal: a,
|
|
402
354
|
dispose: () => {
|
|
403
|
-
|
|
355
|
+
h.$destroy(), p.dispose(), f == null || f();
|
|
404
356
|
}
|
|
405
357
|
}, this.five.needsRender = !0;
|
|
406
358
|
}
|
|
@@ -409,15 +361,15 @@ class Xr extends B {
|
|
|
409
361
|
initialSculpt() {
|
|
410
362
|
if (this.rectanglePlane)
|
|
411
363
|
return;
|
|
412
|
-
const
|
|
364
|
+
const i = new x(this.five, void 0, {
|
|
413
365
|
magnifier: null
|
|
414
366
|
});
|
|
415
|
-
|
|
416
|
-
const
|
|
367
|
+
i.clear(), i.group.removeFromParent();
|
|
368
|
+
const t = B(), e = new H(
|
|
417
369
|
{
|
|
418
|
-
id:
|
|
370
|
+
id: t,
|
|
419
371
|
type: "Rectangle",
|
|
420
|
-
points: this.position.map(
|
|
372
|
+
points: this.position.map(u),
|
|
421
373
|
style: {
|
|
422
374
|
color: 2203620,
|
|
423
375
|
opacity: 0.1,
|
|
@@ -428,91 +380,91 @@ class Xr extends B {
|
|
|
428
380
|
defaultAction: !1
|
|
429
381
|
}
|
|
430
382
|
);
|
|
431
|
-
|
|
432
|
-
var
|
|
433
|
-
(
|
|
434
|
-
}),
|
|
383
|
+
e.visible = !1, this.plugin.imagePlaneGroup.add(e), this.rectanglePlane = e, e.editor.hooks.on("objectUpdate", () => {
|
|
384
|
+
var o;
|
|
385
|
+
(o = this.mediaPlane) == null || o.changePointsOrParams({ cornerPoints: e.data.points.map(u) });
|
|
386
|
+
}), e.editor.disable();
|
|
435
387
|
}
|
|
436
388
|
editorEnable() {
|
|
437
389
|
this.rectanglePlane || this.initialSculpt(), this.rectanglePlane.visible = !0, this.rectanglePlane.editor.enable();
|
|
438
390
|
}
|
|
439
|
-
editorDisable(
|
|
440
|
-
var
|
|
391
|
+
editorDisable(i) {
|
|
392
|
+
var e;
|
|
441
393
|
this.rectanglePlane.visible = !1;
|
|
442
|
-
const
|
|
443
|
-
(
|
|
444
|
-
points:
|
|
394
|
+
const t = i || this.position.map(u);
|
|
395
|
+
(e = this.mediaPlane) == null || e.changePointsOrParams({ cornerPoints: t }), this.rectanglePlane.setData({
|
|
396
|
+
points: t
|
|
445
397
|
}), this.rectanglePlane.editor.disable();
|
|
446
398
|
}
|
|
447
399
|
renderVideoPlane() {
|
|
448
|
-
var
|
|
449
|
-
const
|
|
450
|
-
if (!
|
|
400
|
+
var d, g, P;
|
|
401
|
+
const i = this.data.mediaData[0];
|
|
402
|
+
if (!i)
|
|
451
403
|
return;
|
|
452
|
-
const { url:
|
|
453
|
-
if (!
|
|
404
|
+
const { url: t } = i;
|
|
405
|
+
if (!t)
|
|
454
406
|
return;
|
|
455
|
-
const
|
|
407
|
+
const e = (d = this.data.objectFit) != null ? d : "contain", o = this.currentVisible, n = (() => !!(this.mediaPlane && !o))(), m = (() => !!(!this.mediaPlane && o))(), r = (() => !!(this.mediaPlane && (this.mediaPlane.src !== t || this.mediaPlane.objectFit !== e)))();
|
|
456
408
|
(n || r) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0);
|
|
457
|
-
const
|
|
458
|
-
if (
|
|
459
|
-
let
|
|
460
|
-
this.rectanglePlane && (
|
|
461
|
-
const
|
|
462
|
-
videoCoverSrc:
|
|
409
|
+
const s = (() => !!(this.mediaPlane && this.mediaPlane.objectFit && this.mediaPlane.objectFit !== e))();
|
|
410
|
+
if (m || r) {
|
|
411
|
+
let p = this.position.map(u);
|
|
412
|
+
this.rectanglePlane && (p = this.rectanglePlane.data.points.map(u));
|
|
413
|
+
const a = new w(t, p, {
|
|
414
|
+
videoCoverSrc: i.videoCoverUrl,
|
|
463
415
|
playButton: this.data.playIcon,
|
|
464
|
-
paused: !((
|
|
416
|
+
paused: !((g = this.data.autoplayConfig) != null && g.autoplayVideo),
|
|
465
417
|
objectFit: this.data.objectFit,
|
|
466
|
-
videoTextureMap:
|
|
467
|
-
ImageTextureMap:
|
|
418
|
+
videoTextureMap: $,
|
|
419
|
+
ImageTextureMap: U,
|
|
468
420
|
domEvents: this.plugin.domEvents
|
|
469
421
|
});
|
|
470
|
-
this.plugin.domEvents.addAutoBindEventListener(
|
|
471
|
-
var
|
|
472
|
-
!((
|
|
473
|
-
event:
|
|
422
|
+
this.plugin.domEvents.addAutoBindEventListener(a, "click", (h) => {
|
|
423
|
+
var c, y;
|
|
424
|
+
!((c = a.videoInstance) != null && c.paused) && ((y = a.videoInstance) == null ? void 0 : y.muted) === !1 && this.plugin.hooks.emit("playStateChange", {
|
|
425
|
+
event: h,
|
|
474
426
|
state: "playing",
|
|
475
427
|
tag: this,
|
|
476
|
-
mediaInstance:
|
|
428
|
+
mediaInstance: a.videoInstance
|
|
477
429
|
});
|
|
478
|
-
}),
|
|
479
|
-
|
|
480
|
-
this.plugin.mediaStore.set({ currentMediaElement:
|
|
481
|
-
}),
|
|
482
|
-
this.plugin.hooks.emit("playStateChange", { event:
|
|
483
|
-
}),
|
|
484
|
-
this.plugin.hooks.emit("playStateChange", { event:
|
|
430
|
+
}), a.onVideoReady = (h) => {
|
|
431
|
+
h.addEventListener("play", (c) => {
|
|
432
|
+
this.plugin.mediaStore.set({ currentMediaElement: a.videoInstance }), this.plugin.hooks.emit("playStateChange", { event: c, state: "playing", tag: this, mediaInstance: a.videoInstance });
|
|
433
|
+
}), h.addEventListener("pause", (c) => {
|
|
434
|
+
this.plugin.hooks.emit("playStateChange", { event: c, state: "paused", tag: this, mediaInstance: a.videoInstance });
|
|
435
|
+
}), h.addEventListener("ended", (c) => {
|
|
436
|
+
this.plugin.hooks.emit("playStateChange", { event: c, state: "paused", tag: this, mediaInstance: a.videoInstance });
|
|
485
437
|
});
|
|
486
438
|
};
|
|
487
|
-
const
|
|
488
|
-
|
|
439
|
+
const f = (h) => (this.five.on("renderFrame", h), () => this.five.off("renderFrame", h));
|
|
440
|
+
a.initialRenderHooks(f), this.mediaPlane = a, this.play = () => a.play(), this.pause = () => a.pause(), this.plugin.imagePlaneGroup.add(this.mediaPlane);
|
|
489
441
|
}
|
|
490
|
-
if (
|
|
491
|
-
const
|
|
492
|
-
(P = this.mediaPlane) == null || P.changePointsOrParams({ cornerPoints:
|
|
442
|
+
if (s) {
|
|
443
|
+
const p = this.rectanglePlane.data.points.map(u);
|
|
444
|
+
(P = this.mediaPlane) == null || P.changePointsOrParams({ cornerPoints: p, params: { objectFit: e } });
|
|
493
445
|
}
|
|
494
446
|
this.five.needsRender = !0;
|
|
495
447
|
}
|
|
496
448
|
renderImagePlane() {
|
|
497
|
-
var
|
|
498
|
-
const
|
|
499
|
-
if (!t)
|
|
500
|
-
return;
|
|
501
|
-
const { url: i } = t;
|
|
449
|
+
var g, P;
|
|
450
|
+
const i = this.data.mediaData[0], t = (g = this.data.objectFit) != null ? g : "contain";
|
|
502
451
|
if (!i)
|
|
503
452
|
return;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
453
|
+
const { url: e } = i;
|
|
454
|
+
if (!e)
|
|
455
|
+
return;
|
|
456
|
+
let o = this.position.map(u);
|
|
457
|
+
const n = this.currentVisible, m = (() => !!(this.mediaPlane && !n))(), r = (() => !!(!this.mediaPlane && n))(), s = (() => !!(this.mediaPlane && this.mediaPlane.src !== e))(), d = (() => !!(this.mediaPlane && this.mediaPlane.objectFit && this.mediaPlane.objectFit !== t))();
|
|
458
|
+
if ((m || s) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (r || s) && (this.rectanglePlane && (o = this.rectanglePlane.data.points.map(u)), this.mediaPlane = new G(e, o, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
|
|
507
459
|
this.mediaPlane,
|
|
508
460
|
"click",
|
|
509
|
-
(
|
|
510
|
-
this.plugin.hooks.emit("click", { tag: this, target: "TagContent", event:
|
|
461
|
+
(p) => {
|
|
462
|
+
this.plugin.hooks.emit("click", { tag: this, target: "TagContent", event: p.origDomEvent });
|
|
511
463
|
},
|
|
512
464
|
{ noEmitWhenHide: !0 }
|
|
513
|
-
), this.plugin.imagePlaneGroup.add(this.mediaPlane)),
|
|
514
|
-
const
|
|
515
|
-
(P = this.mediaPlane) == null || P.changePointsOrParams({ cornerPoints:
|
|
465
|
+
), this.plugin.imagePlaneGroup.add(this.mediaPlane)), d) {
|
|
466
|
+
const p = this.rectanglePlane.data.points.map(u);
|
|
467
|
+
(P = this.mediaPlane) == null || P.changePointsOrParams({ cornerPoints: p, params: { objectFit: t } });
|
|
516
468
|
}
|
|
517
469
|
this.five.needsRender = !0;
|
|
518
470
|
}
|
|
@@ -520,9 +472,9 @@ class Xr extends B {
|
|
|
520
472
|
this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0);
|
|
521
473
|
}
|
|
522
474
|
computeNormal() {
|
|
523
|
-
return
|
|
475
|
+
return O(this.position);
|
|
524
476
|
}
|
|
525
477
|
}
|
|
526
478
|
export {
|
|
527
|
-
|
|
479
|
+
Zr as PlaneTag
|
|
528
480
|
};
|
|
@@ -65,6 +65,7 @@ import "../../../shared-utils/three/core/Line2.js";
|
|
|
65
65
|
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
66
66
|
import "../../../Sculpt/utils/unit.js";
|
|
67
67
|
import "../../../Sculpt/utils/renderDom.js";
|
|
68
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
68
69
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
69
70
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
70
71
|
import "../../../shared-utils/isTouchDevice.js";
|
|
@@ -88,7 +89,7 @@ import "../../../shared-utils/safeObj.js";
|
|
|
88
89
|
import "../../utils/Cache.js";
|
|
89
90
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
90
91
|
const v = new l.Vector2();
|
|
91
|
-
class
|
|
92
|
+
class Lt extends g {
|
|
92
93
|
constructor(t, i) {
|
|
93
94
|
super(t, i);
|
|
94
95
|
p(this, "__Object__");
|
|
@@ -185,5 +186,5 @@ class Kt extends g {
|
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
export {
|
|
188
|
-
|
|
189
|
+
Lt as PointTag
|
|
189
190
|
};
|
|
@@ -77,6 +77,7 @@ import "../../shared-utils/three/core/Line2.js";
|
|
|
77
77
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
78
78
|
import "../../Sculpt/utils/unit.js";
|
|
79
79
|
import "../../Sculpt/utils/renderDom.js";
|
|
80
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
80
81
|
import "../../shared-utils/five/FivePuppet.js";
|
|
81
82
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
82
83
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -93,7 +94,7 @@ import "../../shared-utils/url/defaultUrls.js";
|
|
|
93
94
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
94
95
|
import "../../shared-utils/typescript/entries.js";
|
|
95
96
|
import "../utils/tag/adaptConfig.js";
|
|
96
|
-
class
|
|
97
|
+
class Zt extends l {
|
|
97
98
|
constructor(t) {
|
|
98
99
|
super(t);
|
|
99
100
|
o(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -144,5 +145,5 @@ class Yt extends l {
|
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
Zt as TagRender
|
|
148
149
|
};
|
|
@@ -33,6 +33,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
33
33
|
import "../../shared-utils/three/blink.js";
|
|
34
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
35
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
36
37
|
import { FiveDomEvents as x } from "../../shared-utils/five/FiveDomEvents.js";
|
|
37
38
|
import "../../shared-utils/five/FivePuppet.js";
|
|
38
39
|
import { Cache as se } from "../utils/Cache.js";
|
|
@@ -102,7 +103,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
102
103
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
103
104
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
104
105
|
import "../../shared-utils/url/defaultUrls.js";
|
|
105
|
-
class
|
|
106
|
+
class Xt extends ce {
|
|
106
107
|
constructor(e) {
|
|
107
108
|
super(e);
|
|
108
109
|
s(this, "tags", []);
|
|
@@ -308,5 +309,5 @@ class Gt extends ce {
|
|
|
308
309
|
}
|
|
309
310
|
}
|
|
310
311
|
export {
|
|
311
|
-
|
|
312
|
+
Xt as TagUtil
|
|
312
313
|
};
|
|
@@ -51,6 +51,7 @@ import "../../shared-utils/three/blink.js";
|
|
|
51
51
|
import { getFiveModel as V } from "../../shared-utils/five/getFiveModel.js";
|
|
52
52
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
53
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
54
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
54
55
|
import { nextFrame as z } from "../../shared-utils/animationFrame/index.js";
|
|
55
56
|
import "../../shared-utils/five/FivePuppet.js";
|
|
56
57
|
import { DebugUtil as j } from "../utils/DebugUtil.js";
|
|
@@ -282,7 +283,6 @@ import "../../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
282
283
|
import "../../Sculpt/Meshes/Polygon.js";
|
|
283
284
|
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
284
285
|
import "../../shared-utils/three/earcut3D.js";
|
|
285
|
-
import "../../vendor/earcut/src/earcut.js";
|
|
286
286
|
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
287
287
|
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
288
288
|
import "../../shared-utils/three/geometryUtil.js";
|
|
@@ -312,7 +312,6 @@ import "../../Sculpt/Editors/BoxMeshEditor.js";
|
|
|
312
312
|
import "../../Sculpt/Meshes/Box.js";
|
|
313
313
|
import "../../shared-utils/forReverseEach.js";
|
|
314
314
|
import "../../Sculpt/Objects/Line/index.js";
|
|
315
|
-
import "../../shared-utils/five/getFloorMesh.js";
|
|
316
315
|
import "../Components/TagItem.js";
|
|
317
316
|
import "../Components/Common/TagPoint.js";
|
|
318
317
|
import "../Components/Tag/AudioTag/AudioPoint.js";
|
|
@@ -329,8 +328,8 @@ import "../Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
|
329
328
|
import "../Components/Common/TagPopover/ArrowRightIcon.js";
|
|
330
329
|
import "../Components/Common/TagPopover/ShareIcon.js";
|
|
331
330
|
import "../utils/popoverContainer.js";
|
|
332
|
-
const D = "Dnalogel-PanoTagPlugin",
|
|
333
|
-
class
|
|
331
|
+
const D = "Dnalogel-PanoTagPlugin", Us = (h) => `${D}--${h}`;
|
|
332
|
+
class _s extends R {
|
|
334
333
|
constructor(e, t) {
|
|
335
334
|
super(e);
|
|
336
335
|
/** state */
|
|
@@ -803,7 +802,7 @@ class Fs extends R {
|
|
|
803
802
|
}
|
|
804
803
|
}
|
|
805
804
|
export {
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
805
|
+
_s as PanoTagPluginController,
|
|
806
|
+
_s as default,
|
|
807
|
+
Us as pluginFlag
|
|
809
808
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Ki } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Mi } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Oi, DimensionType as Qi, PointType as Ri } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -64,6 +64,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
64
64
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
65
65
|
import "../Sculpt/utils/unit.js";
|
|
66
66
|
import "../Sculpt/utils/renderDom.js";
|
|
67
|
+
import "../vendor/earcut/src/earcut.js";
|
|
67
68
|
import "../shared-utils/five/FivePuppet.js";
|
|
68
69
|
import "@realsee/five";
|
|
69
70
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -254,7 +255,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
254
255
|
import "../Sculpt/Meshes/Polygon.js";
|
|
255
256
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
256
257
|
import "../shared-utils/three/earcut3D.js";
|
|
257
|
-
import "../vendor/earcut/src/earcut.js";
|
|
258
258
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
259
259
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
260
260
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -284,7 +284,6 @@ import "../Sculpt/Editors/BoxMeshEditor.js";
|
|
|
284
284
|
import "../Sculpt/Meshes/Box.js";
|
|
285
285
|
import "../shared-utils/forReverseEach.js";
|
|
286
286
|
import "../Sculpt/Objects/Line/index.js";
|
|
287
|
-
import "../shared-utils/five/getFloorMesh.js";
|
|
288
287
|
import "./Components/TagContainer.js";
|
|
289
288
|
import "./Components/TagItem.js";
|
|
290
289
|
import "./Components/Common/TagPoint.js";
|
|
@@ -303,14 +302,14 @@ import "./Components/Common/TagPopover/ArrowRightIcon.js";
|
|
|
303
302
|
import "./Components/Common/TagPopover/ShareIcon.js";
|
|
304
303
|
import "./utils/popoverContainer.js";
|
|
305
304
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
306
|
-
const
|
|
305
|
+
const Hi = (o, t) => new r(o, t);
|
|
307
306
|
export {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
307
|
+
Oi as ContentType,
|
|
308
|
+
Qi as DimensionType,
|
|
309
|
+
Hi as PanoTagPlugin,
|
|
311
310
|
r as PanoTagPluginController,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
311
|
+
Ri as PointType,
|
|
312
|
+
Hi as default,
|
|
313
|
+
Mi as defaultGlobalConfig,
|
|
314
|
+
Ki as pluginFlag
|
|
316
315
|
};
|
|
@@ -15,10 +15,6 @@ declare abstract class MediaPlane extends THREE.Mesh<THREE.BufferGeometry | THRE
|
|
|
15
15
|
name: string;
|
|
16
16
|
src?: string;
|
|
17
17
|
objectFit: ObjectFit;
|
|
18
|
-
/** 获取透明度 */
|
|
19
|
-
get opacity(): number;
|
|
20
|
-
/** 设置透明度 (0-1) */
|
|
21
|
-
set opacity(value: number);
|
|
22
18
|
removeFromParent(): this;
|
|
23
19
|
dispose(): void;
|
|
24
20
|
}
|