@realsee/dnalogel 3.32.0-dev.0 → 3.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/dist/index.cjs.js +61 -61
- package/dist/index.js +5219 -5396
- package/dist/index.umd.js +57 -57
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +44 -34
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +44 -34
- package/docs/classes/CSS3DRender.html +43 -33
- package/docs/classes/GuideLineItem.GuideLineItem.html +31 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +55 -45
- package/docs/classes/{Magnifier.html → ModelMakerPluginInstance.html} +200 -113
- package/docs/classes/ModelRoomLabelController.html +23 -13
- package/docs/classes/MoveController.html +43 -33
- package/docs/classes/Object3DHelperController.html +39 -47
- package/docs/classes/PaintBrush.html +27 -17
- package/docs/classes/PanoMeasurePluginLine.html +56 -36
- package/docs/classes/PanoMeasurePluginModel.html +42 -32
- package/docs/classes/PanoMeasurePluginPoint.html +23 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +54 -34
- package/docs/classes/PanoTagPluginController.html +229 -123
- package/docs/classes/Sculpt.html +852 -0
- package/docs/classes/Util.BetterTween.html +27 -13
- package/docs/classes/Util.Interval.html +29 -15
- package/docs/classes/Util.LineSegments.html +25 -11
- package/docs/classes/Util.Magnifier.html +93 -60
- package/docs/classes/Util.Object3D.html +26 -12
- package/docs/classes/Util.PointDomHelper.html +28 -14
- package/docs/classes/Util.PointHelper.html +28 -14
- package/docs/classes/Util.PointSelectorHelper.html +34 -20
- package/docs/classes/Util.Rectangle.html +30 -16
- package/docs/classes/WalkController.html +39 -29
- package/docs/enums/CameraMovementEffect.html +19 -9
- package/docs/enums/ContentType.html +33 -23
- package/docs/enums/DIRECTION.html +21 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/DimensionType.html +19 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +20 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/PaintBrushTypeEnum.html +20 -10
- package/docs/enums/PointType.html +19 -9
- package/docs/enums/Rotation.html +20 -10
- package/docs/functions/AreaMakerPlugin.html +17 -7
- package/docs/functions/CSS3DRenderPlugin.html +17 -7
- package/docs/functions/CameraMovementPlugin.html +17 -7
- package/docs/functions/CruisePlugin.html +17 -7
- package/docs/functions/CurrentPanoImagePlugin.html +17 -7
- package/docs/functions/GuideLinePlugin.html +17 -7
- package/docs/functions/ItemLabelPlugin.html +17 -7
- package/docs/functions/MapviewFloorplanPlugin.html +17 -7
- package/docs/functions/ModelChassisCompassPlugin.html +17 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +17 -7
- package/docs/functions/ModelFloorplanPlugin.html +17 -7
- package/docs/functions/ModelItemLabelPlugin.html +17 -7
- package/docs/functions/ModelMakerPlugin.html +303 -0
- package/docs/functions/ModelRoomLabelPlugin.html +17 -7
- package/docs/functions/ModelTVVideoPlugin.html +17 -7
- package/docs/functions/ModelViewPlugin.html +17 -7
- package/docs/functions/MovePlugin.html +18 -8
- package/docs/functions/Object3DHelperPlugin.html +17 -7
- package/docs/functions/PanoCompassPlugin.html +17 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +17 -7
- package/docs/functions/PanoDoorLabelPlugin.html +17 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +17 -7
- package/docs/functions/PanoMeasurePlugin.html +17 -7
- package/docs/functions/PanoRulerPlugin.html +17 -7
- package/docs/functions/PanoRulerProPlugin.html +17 -7
- package/docs/functions/PanoSpatialTagPlugin.html +17 -7
- package/docs/functions/PanoTagPlugin.html +17 -7
- package/docs/functions/PanoVideoPlugin.html +17 -7
- package/docs/functions/PipelinePlugin.html +17 -7
- package/docs/functions/SculptPlugin.html +306 -0
- package/docs/functions/TopviewFloorplanPlugin.html +17 -7
- package/docs/functions/Util.absoluteUrl.html +22 -8
- package/docs/functions/Util.blink.html +351 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +22 -8
- package/docs/functions/Util.equal.html +22 -8
- package/docs/functions/Util.getCoordsFromClient.html +22 -8
- package/docs/functions/Util.getCoordsFromElement.html +22 -8
- package/docs/functions/Util.getFrameTime.html +22 -8
- package/docs/functions/Util.getIntersectFromRelativePosition.html +29 -10
- package/docs/functions/Util.getRaycasterFromFivePointer.html +22 -8
- package/docs/functions/Util.isAbsoluteURL.html +22 -8
- package/docs/functions/Util.isModelLike.html +22 -8
- package/docs/functions/Util.isNil.html +22 -8
- package/docs/functions/Util.isPanoramaLike.html +22 -8
- package/docs/functions/Util.nextFrame.html +22 -8
- package/docs/functions/Util.notNil.html +22 -8
- package/docs/functions/Util.reblink.html +349 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +22 -8
- package/docs/functions/Util.tweenProgress.html +22 -8
- package/docs/functions/Util.uuid.html +22 -8
- package/docs/functions/pluginFlag.html +17 -7
- package/docs/index.html +18 -7
- package/docs/interfaces/AddTagConfig.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.Config.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +30 -20
- package/docs/interfaces/AreaMakerPluginType.Params.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -10
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +19 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.State.html +19 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +20 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +19 -9
- package/docs/interfaces/ContentTypeMapInterface.html +773 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +21 -10
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +24 -13
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -22
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +352 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +39 -23
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.PluginData.html +41 -30
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +18 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +23 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +24 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +19 -9
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +18 -8
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +20 -10
- package/docs/interfaces/EventMap.html +27 -17
- package/docs/interfaces/FloorplanBounding.html +20 -10
- package/docs/interfaces/FloorplanData.html +22 -12
- package/docs/interfaces/FloorplanEntrance.html +23 -13
- package/docs/interfaces/FloorplanExtraObject.html +22 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +20 -10
- package/docs/interfaces/FloorplanFloorData.html +21 -11
- package/docs/interfaces/FloorplanImagePosition.html +19 -9
- package/docs/interfaces/FloorplanObserver.html +21 -11
- package/docs/interfaces/FloorplanOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanPosition.html +19 -9
- package/docs/interfaces/FloorplanRoomItem.html +26 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +19 -9
- package/docs/interfaces/FloorplanServerBounding.html +20 -10
- package/docs/interfaces/FloorplanServerComputedData.html +22 -12
- package/docs/interfaces/FloorplanServerData.html +19 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +22 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +20 -10
- package/docs/interfaces/FloorplanServerEntrance.html +23 -13
- package/docs/interfaces/FloorplanServerFloorData.html +21 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +19 -9
- package/docs/interfaces/FloorplanServerObserver.html +21 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanServerPosition.html +19 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +19 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +20 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +21 -11
- package/docs/interfaces/GuideLinePluginType.EventMap.html +24 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +19 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +17 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +26 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +17 -7
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +19 -9
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -22
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +18 -8
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +33 -23
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +16 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +17 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +19 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +22 -12
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +20 -10
- package/docs/interfaces/HelperOffset.html +20 -10
- package/docs/interfaces/ImagePlaneGroup.html +18 -8
- package/docs/interfaces/ItemLabelPluginData.html +18 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +21 -11
- package/docs/interfaces/MinMax.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +20 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +19 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +20 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +20 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +18 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +19 -9
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +556 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +349 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +391 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +332 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +401 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +381 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +364 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +18 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +21 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +20 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +18 -8
- package/docs/interfaces/ModelViewPluginExportType.html +23 -13
- package/docs/interfaces/Object3DHelperState.html +20 -10
- package/docs/interfaces/ObjectHelperControllers.html +22 -12
- package/docs/interfaces/PaintBrushAction.html +24 -14
- package/docs/interfaces/PaintBrushConfigs.html +24 -14
- package/docs/interfaces/PaintBrushState.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +17 -7
- package/docs/interfaces/PanoMeasureParameterType.html +28 -18
- package/docs/interfaces/PanoMeasurePluginLineJson.html +20 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +20 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +22 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +20 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +21 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +19 -9
- package/docs/interfaces/PanoRulerProPluginState.html +20 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +22 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +21 -11
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +22 -12
- package/docs/interfaces/Point.html +20 -10
- package/docs/interfaces/Room.html +21 -11
- package/docs/interfaces/RoomInfo.html +19 -9
- package/docs/interfaces/RoomLabel.html +26 -16
- package/docs/interfaces/RoomRules.html +17 -7
- package/docs/interfaces/Rooms.html +17 -7
- package/docs/interfaces/Scissor.html +21 -11
- package/docs/interfaces/State.html +20 -10
- package/docs/interfaces/TagCacheInterface.html +24 -14
- package/docs/interfaces/TagConfig.html +65 -49
- package/docs/interfaces/TagGLTFObjectGroup.html +18 -8
- package/docs/interfaces/TagIconUrl.html +24 -14
- package/docs/interfaces/TagObjectGroup.html +18 -8
- package/docs/interfaces/TagStyle.html +18 -8
- package/docs/interfaces/Tags.html +61 -437
- package/docs/interfaces/TemporaryState.html +18 -8
- package/docs/interfaces/Util.BlinkAnimeOptions.html +380 -0
- package/docs/interfaces/Util.MagnifierParameter.html +43 -24
- package/docs/interfaces/Util.MouseGroupParameter.html +25 -11
- package/docs/interfaces/Util.PointIntersection.html +33 -12
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +387 -0
- package/docs/modules/AreaMakerPluginType.html +16 -6
- package/docs/modules/CruisePluginTypes.html +18 -6
- package/docs/modules/CurrentPanoImagePluginType.html +17 -7
- package/docs/modules/GuideLineItem.html +17 -7
- package/docs/modules/GuideLineModeItem.html +17 -7
- package/docs/modules/GuideLinePluginType.html +16 -6
- package/docs/modules/ModelMakerPluginType.html +339 -0
- package/docs/modules/PanoVideoPluginType.html +17 -7
- package/docs/modules/SculptData.html +318 -0
- package/docs/modules/Util.html +26 -8
- package/docs/modules.html +34 -11
- package/docs/types/AddObject3DHelperConfig.html +315 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +16 -6
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +16 -6
- package/docs/types/AreaMakerPluginType.PluginData.html +16 -6
- package/docs/types/AreaMakerPluginType.ServerData.html +16 -6
- package/docs/types/ArrayPosition.html +17 -7
- package/docs/types/AudioAppearance.html +17 -7
- package/docs/types/CSS3DRenderExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +17 -7
- package/docs/types/ClassFunctionParameters.html +17 -7
- package/docs/types/Color.html +17 -7
- package/docs/types/ContentTypeConfigKey.html +17 -7
- package/docs/types/ContentTypeConfigKeySplit.html +18 -8
- package/docs/types/ContentTypeMap.html +17 -7
- package/docs/types/Create3DDomContainerReturnType.html +17 -7
- package/docs/types/Create3DElementReturnType.html +17 -7
- package/docs/types/CruisePluginExportType.html +17 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +17 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +17 -6
- package/docs/types/CurrentPanoImagePluginExportType.html +17 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +17 -7
- package/docs/types/DeprecatedTagProperty.html +17 -7
- package/docs/types/Direction-1.html +17 -7
- package/docs/types/Direction4.html +17 -7
- package/docs/types/ElementRenderer.html +17 -7
- package/docs/types/FloorplanRuleLabels.html +17 -7
- package/docs/types/FloorplanServerRuleLabels.html +17 -7
- package/docs/types/GuideLinePluginExportType.html +17 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +18 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +16 -6
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +16 -6
- package/docs/types/GuideLinePluginType.PathItem.html +16 -6
- package/docs/types/GuideLinePluginType.PluginData.html +16 -6
- package/docs/types/HelperEventMap.html +17 -7
- package/docs/types/InternalHelperEventMap.html +29 -11
- package/docs/types/LoadTagConfig.html +17 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/MediaData.html +20 -10
- package/docs/types/MediaStore.html +17 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +17 -7
- package/docs/types/ModelId.html +17 -7
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +329 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +308 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +17 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +17 -7
- package/docs/types/MoveArgs.html +17 -7
- package/docs/types/MoveOpts.html +17 -7
- package/docs/types/Object3DHelperEventMap.html +17 -7
- package/docs/types/ObjectFit.html +17 -7
- package/docs/types/PaintBrushEventMap.html +17 -7
- package/docs/types/PanoCompassPluginData.html +17 -7
- package/docs/types/PanoCompassPluginExportType.html +17 -7
- package/docs/types/PanoCompassPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +17 -7
- package/docs/types/PanoIndex.html +17 -7
- package/docs/types/PanoMeasurePluginEvent.html +17 -7
- package/docs/types/PanoMeasureReturnType.html +17 -7
- package/docs/types/PanoSpatialTagPluginId.html +17 -7
- package/docs/types/PanoTagPluginExportInterface.html +17 -7
- package/docs/types/PanoTagPluginParamsInterface.html +17 -7
- package/docs/types/PanoVideoPluginParameterType.html +17 -7
- package/docs/types/PanoVideoPluginReturnType.html +17 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +22 -12
- package/docs/types/PipelinePluginParameterType.html +17 -7
- package/docs/types/PipelinePluginReturnType.html +17 -7
- package/docs/types/PlaneTag.html +17 -7
- package/docs/types/Point2DTag.html +17 -7
- package/docs/types/Point3DTag.html +17 -7
- package/docs/types/PointTag.html +17 -7
- package/docs/types/PointTagInstance.html +17 -7
- package/docs/types/Position.html +17 -7
- package/docs/types/{AudioTagTypeConfigKey.html → PositionFrom.html} +28 -10
- package/docs/types/RotateArgs.html +17 -7
- package/docs/types/RotateOpts.html +17 -7
- package/docs/types/RuleLabelsKey.html +17 -7
- package/docs/types/RuleLabelsValue.html +17 -7
- package/docs/types/ScaleCallback.html +314 -0
- package/docs/types/ScalePosition.html +303 -0
- package/docs/types/SculptData.BoxData.html +306 -0
- package/docs/types/SculptData.CircleData.html +306 -0
- package/docs/types/SculptData.CylinderData.html +306 -0
- package/docs/types/SculptData.PointData.html +306 -0
- package/docs/types/SculptData.PolygonData.html +306 -0
- package/docs/types/SculptData.PolylineData.html +306 -0
- package/docs/types/SculptData.PrismData.html +306 -0
- package/docs/types/SculptData.RectangleData.html +306 -0
- package/docs/types/StickType.html +17 -7
- package/docs/types/Tag.html +35 -13
- package/docs/types/Tag2D.html +17 -7
- package/docs/types/Tag3D.html +17 -7
- package/docs/types/TagConfigByKey.html +18 -8
- package/docs/types/TagContentType.html +17 -7
- package/docs/types/TagContentTypeMapping.html +17 -7
- package/docs/types/TagDimensionType.html +17 -7
- package/docs/types/TagElement.html +17 -7
- package/docs/types/TagEvents.html +38 -12
- package/docs/types/TagGLTFObject.html +17 -7
- package/docs/types/TagHooks.html +17 -7
- package/docs/types/TagId.html +17 -7
- package/docs/types/TagInstance.html +44 -8
- package/docs/types/TagPointType.html +17 -7
- package/docs/types/TagRendererMap.html +17 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/WorkCode.html +17 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +17 -7
- package/docs/variables/PLUGIN.html +17 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +17 -7
- package/docs/variables/ROOM_TYPE_MAP.html +17 -7
- package/docs/variables/defaultGlobalConfig.html +17 -7
- package/docs/variables/itemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +17 -7
- package/libs/AreaMakerPlugin/Controller.js +44 -54
- package/libs/AreaMakerPlugin/index.js +3 -13
- package/libs/AreaMakerPlugin/utils/Item.js +3 -13
- package/libs/CSS3DRenderPlugin/Controller.js +9 -9
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Move.js +38 -52
- package/libs/CruisePlugin/Work.js +7 -21
- package/libs/CruisePlugin/index.js +11 -25
- package/libs/GuideLinePlugin/Components/Tag.js +48 -58
- package/libs/GuideLinePlugin/Controller.js +34 -48
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -21
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -21
- package/libs/GuideLinePlugin/index.js +11 -25
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +139 -152
- package/libs/ItemLabelPlugin/ItemLabelItem.js +57 -67
- package/libs/ItemLabelPlugin/Plugin.js +26 -37
- package/libs/ItemLabelPlugin/index.js +5 -16
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +103 -116
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +35 -45
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +24 -35
- package/libs/ModelItemLabelPlugin/index.js +5 -16
- package/libs/ModelMakerPlugin/Controller.js +23 -33
- package/libs/ModelMakerPlugin/index.js +3 -13
- package/libs/ModelMakerPlugin/utils/Text.js +33 -43
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -28
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -20
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +42 -52
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +61 -75
- package/libs/ModelRoomLabelPlugin/index.js +5 -17
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +9 -9
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +28 -38
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +45 -55
- package/libs/PanoDoorLabelPlugin/index.js +4 -14
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +60 -70
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +22 -32
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +62 -75
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +97 -110
- package/libs/PanoMeasurePlugin/Components/Controller0.js +62 -73
- package/libs/PanoMeasurePlugin/Components/Controller1.js +23 -34
- package/libs/PanoMeasurePlugin/Components/Tip.js +66 -76
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +18 -29
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -26
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +24 -35
- package/libs/PanoMeasurePlugin/index.js +17 -28
- package/libs/PanoRulerProPlugin/Controller.js +27 -38
- package/libs/PanoRulerProPlugin/RulerItem.js +79 -94
- package/libs/PanoRulerProPlugin/RulerItems.js +82 -95
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +38 -51
- package/libs/PanoSpatialTagPlugin/Components/tag.js +22 -32
- package/libs/PanoSpatialTagPlugin/Plugin.js +105 -116
- package/libs/PanoSpatialTagPlugin/index.js +3 -14
- package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +34 -44
- package/libs/PanoTagPlugin/Components/Common/Audio.js +89 -99
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +112 -123
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +45 -55
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +49 -59
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +69 -79
- package/libs/PanoTagPlugin/Components/Common/Media.js +131 -145
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +25 -35
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +48 -58
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -35
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +86 -97
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +96 -109
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +49 -59
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -100
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +81 -92
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +57 -68
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -45
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +110 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +42 -53
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +115 -130
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -66
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +66 -76
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +56 -66
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +98 -109
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +43 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +148 -161
- package/libs/PanoTagPlugin/Components/TagContainer.js +62 -77
- package/libs/PanoTagPlugin/Components/TagItem.js +169 -182
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +42 -52
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +49 -63
- package/libs/PanoTagPlugin/index.js +16 -30
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +51 -56
- package/libs/floorplan/Components/BaseImage.js +39 -43
- package/libs/floorplan/Components/Camera.js +32 -41
- package/libs/floorplan/Components/Compass.js +24 -27
- package/libs/floorplan/Components/CurrentFloor.js +162 -167
- package/libs/floorplan/Components/Main.js +76 -85
- package/libs/floorplan/Components/MissingFloor.js +21 -24
- package/libs/floorplan/Components/Normalmage.js +22 -25
- package/libs/floorplan/Components/RoomHighlight/Room.js +25 -28
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +61 -69
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +101 -104
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +57 -65
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +118 -125
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +22 -25
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -43
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +29 -32
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +41 -49
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +94 -102
- package/libs/floorplan/Components/SvgImage.js +27 -30
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -18
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +46 -58
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +65 -77
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -95
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +53 -70
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +100 -112
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +28 -40
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -16
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +18 -30
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +130 -145
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +749 -0
- package/libs/vendor/svelte/{src/runtime/store → store}/index.js +5 -5
- package/libs/vendor/svelte/{src/runtime/transition → transition}/index.js +1 -1
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +25 -29
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +225 -197
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +12 -16
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +59 -65
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +29 -32
- package/package.json +6 -5
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/libs/vendor/svelte/src/runtime/internal/Component.js +0 -122
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/animations.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +0 -47
- package/libs/vendor/svelte/src/runtime/internal/dev.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +0 -2
- package/libs/vendor/svelte/src/runtime/internal/dom.js +0 -214
- package/libs/vendor/svelte/src/runtime/internal/each.js +0 -46
- package/libs/vendor/svelte/src/runtime/internal/environment.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/globals.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/index.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +0 -63
- package/libs/vendor/svelte/src/runtime/internal/loop.js +0 -21
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +0 -66
- package/libs/vendor/svelte/src/runtime/internal/spread.js +0 -26
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +0 -48
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +0 -192
- package/libs/vendor/svelte/src/runtime/internal/utils.js +0 -110
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +0 -1
- package/libs/vendor/svelte/src/shared/utils/names.js +0 -1
- package/libs/vendor/svelte/src/shared/version.js +0 -4
- /package/libs/vendor/svelte/{src/runtime/easing → easing}/index.js +0 -0
- /package/libs/vendor/svelte/{src/runtime/index.js → index.js} +0 -0
|
@@ -2,29 +2,29 @@ var M = Object.defineProperty, C = Object.defineProperties;
|
|
|
2
2
|
var S = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var m = (h, o, t) => o in h ? M(h, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[o] = t, d = (h, o) => {
|
|
6
6
|
for (var t in o || (o = {}))
|
|
7
|
-
A.call(o, t) &&
|
|
7
|
+
A.call(o, t) && m(h, t, o[t]);
|
|
8
8
|
if (f)
|
|
9
9
|
for (var t of f(o))
|
|
10
|
-
_.call(o, t) &&
|
|
10
|
+
_.call(o, t) && m(h, t, o[t]);
|
|
11
11
|
return h;
|
|
12
12
|
}, p = (h, o) => C(h, S(o));
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var r = (h, o, t) => (m(h, typeof o != "symbol" ? o + "" : o, t), t);
|
|
14
|
+
var u = (h, o, t) => new Promise((i, e) => {
|
|
15
15
|
var s = (n) => {
|
|
16
16
|
try {
|
|
17
17
|
c(t.next(n));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
e(l);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (n) => {
|
|
22
22
|
try {
|
|
23
23
|
c(t.throw(n));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
e(l);
|
|
26
26
|
}
|
|
27
|
-
}, c = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(s,
|
|
27
|
+
}, c = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(s, a);
|
|
28
28
|
c((t = t.apply(h, o)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as g from "three";
|
|
@@ -59,21 +59,11 @@ import "../shared-utils/three/objects/LineSegments.js";
|
|
|
59
59
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
60
60
|
import "../shared-utils/animationFrame/index.js";
|
|
61
61
|
import "../components/AreaLabel/LabelItem.js";
|
|
62
|
-
import "../vendor/svelte/
|
|
63
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
64
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
65
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
66
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
67
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
68
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
69
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
70
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
71
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
72
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
62
|
+
import "../vendor/svelte/internal/index.js";
|
|
73
63
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
74
64
|
import "../shared-utils/math/planimetry.js";
|
|
75
65
|
import "../shared-utils/dom/resizeObserver.js";
|
|
76
|
-
class
|
|
66
|
+
class dt extends k {
|
|
77
67
|
/** AreaMakerPlugin
|
|
78
68
|
* @param `five` `<Five>` Five 实例
|
|
79
69
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -83,57 +73,57 @@ class Mt extends k {
|
|
|
83
73
|
super(t);
|
|
84
74
|
// ==================== public properties ====================
|
|
85
75
|
/** 插件当前状态 */
|
|
86
|
-
|
|
76
|
+
r(this, "state");
|
|
87
77
|
/** 标注模型 { id: item } 的映射表 */
|
|
88
|
-
|
|
78
|
+
r(this, "itemMap");
|
|
89
79
|
/** 自定义 DOM */
|
|
90
|
-
|
|
80
|
+
r(this, "itemRenderer");
|
|
91
81
|
/** 标注模型容器 */
|
|
92
|
-
|
|
82
|
+
r(this, "modelGroup");
|
|
93
83
|
/** 当前使用的数据 */
|
|
94
|
-
|
|
84
|
+
r(this, "data");
|
|
95
85
|
/** tag 容器 */
|
|
96
|
-
|
|
86
|
+
r(this, "tagDomContainer");
|
|
97
87
|
/** 查询问题使用的调试对象 */
|
|
98
|
-
|
|
88
|
+
r(this, "checkMsg", {
|
|
99
89
|
childrenMountedState: ""
|
|
100
90
|
});
|
|
101
91
|
// ==================== private properties ====================
|
|
102
92
|
/** 是否在 Five Change Mode 动画中 */
|
|
103
|
-
|
|
93
|
+
r(this, "isInFiveChangeModeAnime", !1);
|
|
104
94
|
/** 子组件是否挂载 */
|
|
105
|
-
|
|
95
|
+
r(this, "childrenMountedState", !1);
|
|
106
96
|
/** config 的原始值 */
|
|
107
|
-
|
|
97
|
+
r(this, "_config");
|
|
108
98
|
/** disposed 的原始值 */
|
|
109
|
-
|
|
99
|
+
r(this, "_disposed", !1);
|
|
110
100
|
/** 销毁插件,移除所有副作用,销毁后将不响应任何 API */
|
|
111
|
-
|
|
101
|
+
r(this, "dispose", () => {
|
|
112
102
|
this.five.scene.remove(this.modelGroup);
|
|
113
103
|
});
|
|
114
|
-
|
|
104
|
+
r(this, "onFiveInitAnimationWillStart", () => {
|
|
115
105
|
this.isInFiveChangeModeAnime = !0, this.updateChildrenMountedState();
|
|
116
106
|
});
|
|
117
|
-
|
|
107
|
+
r(this, "onFiveInitAnimationEnded", () => {
|
|
118
108
|
this.isInFiveChangeModeAnime = !1, this.updateChildrenMountedState();
|
|
119
109
|
});
|
|
120
|
-
|
|
110
|
+
r(this, "onFiveCameraUpdate", () => {
|
|
121
111
|
const t = this.five.camera;
|
|
122
112
|
[...this.itemMap.values()].sort((e, s) => {
|
|
123
|
-
const
|
|
124
|
-
return s.tagPosition.distanceTo(t.position) -
|
|
113
|
+
const a = e.tagPosition.distanceTo(t.position);
|
|
114
|
+
return s.tagPosition.distanceTo(t.position) - a;
|
|
125
115
|
}).forEach((e, s) => {
|
|
126
|
-
var
|
|
127
|
-
(
|
|
116
|
+
var a;
|
|
117
|
+
(a = this.getMaskItemByID(e.id)) == null || a.setTagZIndex(s * 10);
|
|
128
118
|
});
|
|
129
119
|
});
|
|
130
|
-
|
|
120
|
+
r(this, "onFiveModeChange", () => {
|
|
131
121
|
this.updateChildrenMountedState();
|
|
132
122
|
});
|
|
133
|
-
|
|
123
|
+
r(this, "onMakerTagClick", (t) => {
|
|
134
124
|
this.hooks.emit("wantsTap", { target: t.target, intersectObjects: [] });
|
|
135
125
|
});
|
|
136
|
-
|
|
126
|
+
r(this, "onWantsFiveTapGesture", (t) => {
|
|
137
127
|
const i = Array.from(this.itemMap.values()).filter((n) => n.mounted && n.visible).map((n) => ({
|
|
138
128
|
makerItem: n,
|
|
139
129
|
intersects: n.modelGroup.getRaycastIntersects(t)
|
|
@@ -173,7 +163,7 @@ class Mt extends k {
|
|
|
173
163
|
}
|
|
174
164
|
/** 加载数据,重复调用会使用新数据覆盖旧数据 */
|
|
175
165
|
load(t) {
|
|
176
|
-
return
|
|
166
|
+
return u(this, null, function* () {
|
|
177
167
|
const i = this.data;
|
|
178
168
|
this.data = this.formatData(t), this.hooks.emit("dataChange", this.data, i), this.modelGroup.remove(...this.modelGroup.children), this.itemMap.forEach((e) => e.unmount()), this.itemMap.clear(), this.childrenMountedState = !1, this.checkMsg.childrenMountedState = "", this.data.list.forEach((e) => {
|
|
179
169
|
const s = new D(this, e);
|
|
@@ -212,7 +202,7 @@ class Mt extends k {
|
|
|
212
202
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
213
203
|
*/
|
|
214
204
|
show(t) {
|
|
215
|
-
return
|
|
205
|
+
return u(this, null, function* () {
|
|
216
206
|
if (this.state.visible)
|
|
217
207
|
return Promise.resolve();
|
|
218
208
|
if (this.disposed)
|
|
@@ -226,7 +216,7 @@ class Mt extends k {
|
|
|
226
216
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
227
217
|
*/
|
|
228
218
|
hide(t) {
|
|
229
|
-
return
|
|
219
|
+
return u(this, null, function* () {
|
|
230
220
|
if (this.state.visible === !1)
|
|
231
221
|
return;
|
|
232
222
|
const i = d({ userAction: !0 }, t);
|
|
@@ -278,8 +268,8 @@ class Mt extends k {
|
|
|
278
268
|
return;
|
|
279
269
|
const s = i.userAction !== void 0 ? i.userAction : !0;
|
|
280
270
|
if (this.updateState(t, s), t.enabled !== void 0 && e.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), t.visible !== void 0 && e.visible !== t.visible) {
|
|
281
|
-
const
|
|
282
|
-
t.visible ? this._show(
|
|
271
|
+
const a = { userAction: s, anime: { duration: 500 } };
|
|
272
|
+
t.visible ? this._show(a) : this._hide(a);
|
|
283
273
|
}
|
|
284
274
|
}
|
|
285
275
|
/** 更改插件 Config
|
|
@@ -287,9 +277,9 @@ class Mt extends k {
|
|
|
287
277
|
* @param `options` `<Option> | <undefined>`
|
|
288
278
|
*/
|
|
289
279
|
updateConfig(t, i = {}) {
|
|
290
|
-
var
|
|
280
|
+
var a;
|
|
291
281
|
const e = this.config, s = d(d({}, e), t);
|
|
292
|
-
this._config = s, this.hooks.emit("configChange", { prevConfig: e, config: s, userAction: (
|
|
282
|
+
this._config = s, this.hooks.emit("configChange", { prevConfig: e, config: s, userAction: (a = i.userAction) != null ? a : !0 });
|
|
293
283
|
}
|
|
294
284
|
/** 根据 ID 获取标注 */
|
|
295
285
|
getMaskItemByID(t) {
|
|
@@ -301,11 +291,11 @@ class Mt extends k {
|
|
|
301
291
|
}
|
|
302
292
|
return i(t) ? {
|
|
303
293
|
list: t.list.filter((e) => e.object_data.points.length >= 3).map((e) => {
|
|
304
|
-
const s = new g.Shape(),
|
|
305
|
-
return s.moveTo(
|
|
294
|
+
const s = new g.Shape(), a = e.object_data.points[0];
|
|
295
|
+
return s.moveTo(a[0], a[2]), e.object_data.points.slice(1).forEach((n) => s.lineTo(n[0], n[2])), s.lineTo(a[0], a[2]), p(d({}, e), {
|
|
306
296
|
floor_index: e.object_data.floorIndex,
|
|
307
297
|
object_data: p(d({}, e.object_data), {
|
|
308
|
-
bottom_y:
|
|
298
|
+
bottom_y: a[1] + e.object_data.fixedY,
|
|
309
299
|
shape: s.toJSON(),
|
|
310
300
|
height: e.object_data.height + e.object_data.fixedHeight
|
|
311
301
|
})
|
|
@@ -337,16 +327,16 @@ class Mt extends k {
|
|
|
337
327
|
this.hooks.emit("disable", { userAction: t.userAction }), this.five.scene.remove(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture), this.five.off("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.off("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.off("modeChange", this.onFiveModeChange), this.five.off("cameraUpdate", this.onFiveCameraUpdate);
|
|
338
328
|
}
|
|
339
329
|
_show(t) {
|
|
340
|
-
return
|
|
330
|
+
return u(this, null, function* () {
|
|
341
331
|
this.hooks.emit("show", t), this.five.needsRender = !0;
|
|
342
332
|
});
|
|
343
333
|
}
|
|
344
334
|
_hide(t) {
|
|
345
|
-
return
|
|
335
|
+
return u(this, null, function* () {
|
|
346
336
|
this.hooks.emit("hide", t), this.five.needsRender = !0;
|
|
347
337
|
});
|
|
348
338
|
}
|
|
349
339
|
}
|
|
350
340
|
export {
|
|
351
|
-
|
|
341
|
+
dt as Controller
|
|
352
342
|
};
|
|
@@ -31,21 +31,11 @@ import "../shared-utils/three/objects/LineSegments.js";
|
|
|
31
31
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
32
32
|
import "../shared-utils/animationFrame/index.js";
|
|
33
33
|
import "../components/AreaLabel/LabelItem.js";
|
|
34
|
-
import "../vendor/svelte/
|
|
35
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
36
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
37
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
38
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
39
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
40
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
41
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
42
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
43
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
44
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
34
|
+
import "../vendor/svelte/internal/index.js";
|
|
45
35
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
46
36
|
import "../shared-utils/math/planimetry.js";
|
|
47
37
|
import "../shared-utils/dom/resizeObserver.js";
|
|
48
|
-
const
|
|
38
|
+
const N = (r, o) => new t(r, o);
|
|
49
39
|
export {
|
|
50
|
-
|
|
40
|
+
N as AreaMakerPlugin
|
|
51
41
|
};
|
|
@@ -29,17 +29,7 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
29
29
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
30
30
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
31
31
|
import "../../shared-utils/animationFrame/index.js";
|
|
32
|
-
import "../../vendor/svelte/
|
|
33
|
-
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
34
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
35
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
36
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
37
|
-
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
38
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
39
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
40
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
41
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
42
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
32
|
+
import "../../vendor/svelte/internal/index.js";
|
|
43
33
|
import "../../components/AreaLabel/Assets/roomLabelBg.js";
|
|
44
34
|
class V extends k {
|
|
45
35
|
constructor(t) {
|
|
@@ -51,7 +41,7 @@ class V extends k {
|
|
|
51
41
|
this.areaMakerItem.makerObject.raycast(t, s);
|
|
52
42
|
}
|
|
53
43
|
}
|
|
54
|
-
class
|
|
44
|
+
class st {
|
|
55
45
|
constructor(e, t) {
|
|
56
46
|
i(this, "id");
|
|
57
47
|
/** 标注名称 */
|
|
@@ -307,5 +297,5 @@ function u(n, e) {
|
|
|
307
297
|
t.multiply(s), t.multiply(o), t.multiply(r), n.applyMatrix4(t);
|
|
308
298
|
}
|
|
309
299
|
export {
|
|
310
|
-
|
|
300
|
+
st as AreaMakerItem
|
|
311
301
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var C = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var C = Object.defineProperty, F = Object.defineProperties;
|
|
2
|
+
var R = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var b = Object.getOwnPropertySymbols;
|
|
4
4
|
var D = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var m = (r, t, e) => t in r ? C(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, p = (r, t) => {
|
|
@@ -9,17 +9,17 @@ var m = (r, t, e) => t in r ? C(r, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
for (var e of b(t))
|
|
10
10
|
S.call(t, e) && m(r, e, t[e]);
|
|
11
11
|
return r;
|
|
12
|
-
}, l = (r, t) =>
|
|
12
|
+
}, l = (r, t) => F(r, R(t));
|
|
13
13
|
var o = (r, t, e) => (m(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
import { CSS3DRender as x } from "./utils/three/CSS3DRender.js";
|
|
15
|
-
import O from "./utils/
|
|
16
|
-
import P from "./utils/generateBehindFiveElement.js";
|
|
15
|
+
import O from "./utils/generateBehindFiveElement.js";
|
|
17
16
|
import "hammerjs";
|
|
18
17
|
import "three";
|
|
19
18
|
import "@realsee/five";
|
|
20
19
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
20
|
import "animejs";
|
|
22
|
-
import { absoluteUrl as
|
|
21
|
+
import { absoluteUrl as P } from "../shared-utils/url/absoluteUrl.js";
|
|
22
|
+
import { waitFiveModelLoaded as $ } from "../shared-utils/five/fiveModelLoad.js";
|
|
23
23
|
import "../shared-utils/positionToVector3.js";
|
|
24
24
|
import "./utils/three/CSS3DRenderer.js";
|
|
25
25
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -107,7 +107,7 @@ class Z extends x {
|
|
|
107
107
|
return console.error(`${h}: wrapper is ${d}`);
|
|
108
108
|
n.appendToElement(d), n.render();
|
|
109
109
|
}, c = () => {
|
|
110
|
-
n.css3DObject.mode === "front" && u(), n.css3DObject.mode === "behind" &&
|
|
110
|
+
n.css3DObject.mode === "front" && u(), n.css3DObject.mode === "behind" && $(this.five).then(() => u());
|
|
111
111
|
};
|
|
112
112
|
return v && c(), l(p({}, n), { render: v ? void 0 : c });
|
|
113
113
|
});
|
|
@@ -122,13 +122,13 @@ class Z extends x {
|
|
|
122
122
|
return this.five.needsRender = !0, i;
|
|
123
123
|
}
|
|
124
124
|
getBehindFiveElement() {
|
|
125
|
-
return this.behindFiveContainer ? this.behindFiveContainer : (this.behindFiveContainer =
|
|
125
|
+
return this.behindFiveContainer ? this.behindFiveContainer : (this.behindFiveContainer = O(this.five), this.behindFiveContainer);
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
128
|
* @description: 获取静态资源的url
|
|
129
129
|
*/
|
|
130
130
|
absoluteUrl(e) {
|
|
131
|
-
return
|
|
131
|
+
return P(this.staticPrefix, e);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
export {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
2
|
import { CSS3DRender as v } from "./utils/three/CSS3DRender.js";
|
|
3
|
-
import "./utils/waitFiveModelLoaded.js";
|
|
4
3
|
import "./utils/generateBehindFiveElement.js";
|
|
5
4
|
import "hammerjs";
|
|
6
5
|
import "three";
|
|
@@ -8,6 +7,7 @@ import "@realsee/five";
|
|
|
8
7
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
8
|
import "animejs";
|
|
10
9
|
import "../shared-utils/url/absoluteUrl.js";
|
|
10
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
11
11
|
import "../shared-utils/positionToVector3.js";
|
|
12
12
|
import "./utils/three/CSS3DRenderer.js";
|
|
13
13
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -11,20 +11,20 @@ var d = (e, i, t) => i in e ? T(e, i, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return e;
|
|
12
12
|
}, c = (e, i) => x(e, D(i));
|
|
13
13
|
var n = (e, i, t) => (d(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
|
-
var w = (e, i, t) => new Promise((r,
|
|
15
|
-
var
|
|
14
|
+
var w = (e, i, t) => new Promise((r, s) => {
|
|
15
|
+
var m = (o) => {
|
|
16
16
|
try {
|
|
17
17
|
a(t.next(o));
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
18
|
+
} catch (p) {
|
|
19
|
+
s(p);
|
|
20
20
|
}
|
|
21
21
|
}, h = (o) => {
|
|
22
22
|
try {
|
|
23
23
|
a(t.throw(o));
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
24
|
+
} catch (p) {
|
|
25
|
+
s(p);
|
|
26
26
|
}
|
|
27
|
-
}, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(
|
|
27
|
+
}, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(m, h);
|
|
28
28
|
a((t = t.apply(e, i)).next());
|
|
29
29
|
});
|
|
30
30
|
import z from "./BaseController.js";
|
|
@@ -99,8 +99,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
99
99
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
100
100
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
101
101
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
102
|
-
import "../vendor/svelte/
|
|
103
|
-
import "../vendor/svelte/
|
|
102
|
+
import "../vendor/svelte/store/index.js";
|
|
103
|
+
import "../vendor/svelte/internal/index.js";
|
|
104
104
|
import "../shared-utils/device.js";
|
|
105
105
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
106
106
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -118,24 +118,13 @@ import "../shared-utils/url/getUrl.js";
|
|
|
118
118
|
import "../shared-utils/five/getFloorIndex.js";
|
|
119
119
|
import "../shared-utils/safeObj.js";
|
|
120
120
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
121
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
122
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
123
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
124
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
125
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
126
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
127
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
128
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
129
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
130
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
131
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
132
121
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
133
122
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
134
123
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
135
124
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
136
125
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
137
|
-
import "../vendor/svelte/
|
|
138
|
-
import "../vendor/svelte/
|
|
126
|
+
import "../vendor/svelte/transition/index.js";
|
|
127
|
+
import "../vendor/svelte/easing/index.js";
|
|
139
128
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
140
129
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
141
130
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
@@ -151,7 +140,6 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
151
140
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
152
141
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
153
142
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
154
|
-
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
155
143
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
156
144
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
157
145
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -194,7 +182,6 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
194
182
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
195
183
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
196
184
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
197
|
-
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
198
185
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
199
186
|
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
200
187
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
@@ -202,11 +189,10 @@ import "../vendor/classnames/index.js";
|
|
|
202
189
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
203
190
|
import "../CSS3DRenderPlugin/index.js";
|
|
204
191
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
205
|
-
import "../
|
|
192
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
206
193
|
import "../shared-utils/three/GLTFLoader.js";
|
|
207
194
|
import "@realsee/five/gltf-loader";
|
|
208
195
|
import "../shared-utils/three/blink.js";
|
|
209
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
210
196
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
211
197
|
import "./utils/sleep.js";
|
|
212
198
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
@@ -220,7 +206,7 @@ import "./utils/coordinatesAngle.js";
|
|
|
220
206
|
import "./utils/coordinatesToVector.js";
|
|
221
207
|
import "./utils/safeCall.js";
|
|
222
208
|
import "../shared-utils/five/fiveLoaded.js";
|
|
223
|
-
class
|
|
209
|
+
class $r extends z {
|
|
224
210
|
constructor(t, r) {
|
|
225
211
|
var h;
|
|
226
212
|
super(t, r);
|
|
@@ -244,25 +230,25 @@ class lo extends z {
|
|
|
244
230
|
const t = this.getPauseData();
|
|
245
231
|
let r = (o = t == null ? void 0 : t.playedProgress) != null ? o : 0;
|
|
246
232
|
(r < 0 || r >= 1) && (r = 0);
|
|
247
|
-
const
|
|
248
|
-
return 1 -
|
|
233
|
+
const s = 1 - r, m = this.getDuration(), a = (performance.now() - this.playStartedTime) / m;
|
|
234
|
+
return 1 - s + a;
|
|
249
235
|
});
|
|
250
|
-
const
|
|
236
|
+
const s = {
|
|
251
237
|
config: {
|
|
252
238
|
speedConfig: {
|
|
253
239
|
moveSpeed: 2,
|
|
254
240
|
moveSpeedUnit: "m/s"
|
|
255
241
|
}
|
|
256
242
|
}
|
|
257
|
-
},
|
|
243
|
+
}, m = {
|
|
258
244
|
allowBroke: !0
|
|
259
245
|
};
|
|
260
|
-
this.state = g({},
|
|
246
|
+
this.state = g({}, s, this.state), this.config = g({}, m, this.config), this.baseCurveOffset = g({ x: 0, y: 0, z: 0 }, { y: 2 }, (h = this.config) == null ? void 0 : h.offset);
|
|
261
247
|
}
|
|
262
248
|
load(t, r) {
|
|
263
|
-
var a, o,
|
|
249
|
+
var a, o, p, f, y, S, C, P, b;
|
|
264
250
|
this.handlePause(), this.clear(), this.data = u({ id: O() }, t);
|
|
265
|
-
const
|
|
251
|
+
const s = (() => {
|
|
266
252
|
if (this.data.path instanceof L.Curve)
|
|
267
253
|
return this.data.path.curves[0];
|
|
268
254
|
{
|
|
@@ -272,16 +258,16 @@ class lo extends z {
|
|
|
272
258
|
return new L.CatmullRomCurve3(l, void 0, "catmullrom", 0.5);
|
|
273
259
|
}
|
|
274
260
|
})();
|
|
275
|
-
if (!
|
|
261
|
+
if (!s)
|
|
276
262
|
return;
|
|
277
|
-
if (this.curve =
|
|
263
|
+
if (this.curve = s, this.curveOffset = {
|
|
278
264
|
x: this.baseCurveOffset.x + ((o = (a = this.data.offset) == null ? void 0 : a.x) != null ? o : 0),
|
|
279
|
-
y: this.baseCurveOffset.y + ((f = (
|
|
265
|
+
y: this.baseCurveOffset.y + ((f = (p = this.data.offset) == null ? void 0 : p.y) != null ? f : 0),
|
|
280
266
|
z: this.baseCurveOffset.z + ((S = (y = this.data.offset) == null ? void 0 : y.z) != null ? S : 0)
|
|
281
267
|
}, !this.curve)
|
|
282
268
|
throw new Error("curve is not defined");
|
|
283
|
-
const
|
|
284
|
-
if (this.duration =
|
|
269
|
+
const m = this.curve.getLength(), h = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
270
|
+
if (this.duration = m / (this.state.config.speedConfig.moveSpeed / h), Array.isArray(this.data.path)) {
|
|
285
271
|
const l = this.data.path.map(A).map((G) => G.toArray());
|
|
286
272
|
!this.GuideLine && (((C = this.config) == null ? void 0 : C.useGuideLine) !== !1 && t.useGuildLine || (P = this.config) != null && P.useGuideLine && t.useGuildLine !== !1) && (this.GuideLine = M(this.five, this.config)), (b = this.GuideLine) == null || b.load({
|
|
287
273
|
lines: [
|
|
@@ -299,24 +285,24 @@ class lo extends z {
|
|
|
299
285
|
return new Promise((t, r) => w(this, null, function* () {
|
|
300
286
|
var o;
|
|
301
287
|
this.hooks.emit("play", { userAction: !0 });
|
|
302
|
-
const
|
|
303
|
-
let
|
|
304
|
-
(
|
|
305
|
-
const h = v(this.curve,
|
|
306
|
-
if (this.hooks.emit("progressChange",
|
|
307
|
-
const
|
|
308
|
-
this.state.playing && (this.hooks.emit("broke"), this.handlePause(),
|
|
288
|
+
const s = this.getPauseData();
|
|
289
|
+
let m = (o = s == null ? void 0 : s.playedProgress) != null ? o : 0;
|
|
290
|
+
(m < 0 || m >= 1) && (m = 0);
|
|
291
|
+
const h = v(this.curve, m, this.curveOffset);
|
|
292
|
+
if (this.hooks.emit("progressChange", m), this.five.setState(c(u({}, h), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
293
|
+
const p = this.addInterruptListener(() => {
|
|
294
|
+
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), p(), r(new Error("broke")));
|
|
309
295
|
});
|
|
310
296
|
}
|
|
311
297
|
const a = () => {
|
|
312
|
-
const
|
|
313
|
-
if (
|
|
298
|
+
const p = this.getProgress();
|
|
299
|
+
if (p >= 1)
|
|
314
300
|
this.five.off("renderFrame", a), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), t("end");
|
|
315
301
|
else if (this.state.playing === !1)
|
|
316
302
|
this.five.off("renderFrame", a);
|
|
317
|
-
else if (
|
|
318
|
-
const f = v(this.curve,
|
|
319
|
-
this.hooks.emit("progressChange",
|
|
303
|
+
else if (p >= 0) {
|
|
304
|
+
const f = v(this.curve, p, this.curveOffset);
|
|
305
|
+
this.hooks.emit("progressChange", p), this.five.setState(f, !0);
|
|
320
306
|
}
|
|
321
307
|
};
|
|
322
308
|
this.five.on("renderFrame", a);
|
|
@@ -328,5 +314,5 @@ class lo extends z {
|
|
|
328
314
|
}
|
|
329
315
|
}
|
|
330
316
|
export {
|
|
331
|
-
|
|
317
|
+
$r as default
|
|
332
318
|
};
|
|
@@ -87,8 +87,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
87
87
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
88
88
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
89
89
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
90
|
-
import "../vendor/svelte/
|
|
91
|
-
import "../vendor/svelte/
|
|
90
|
+
import "../vendor/svelte/store/index.js";
|
|
91
|
+
import "../vendor/svelte/internal/index.js";
|
|
92
92
|
import "../shared-utils/device.js";
|
|
93
93
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
94
94
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -110,24 +110,13 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
110
110
|
import "../shared-utils/five/getFloorIndex.js";
|
|
111
111
|
import "../shared-utils/safeObj.js";
|
|
112
112
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
113
|
-
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
114
|
-
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
115
|
-
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
116
|
-
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
117
|
-
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
118
|
-
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
119
|
-
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
120
|
-
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
121
|
-
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
122
|
-
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
123
|
-
import "../vendor/svelte/src/shared/version.js";
|
|
124
113
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
125
114
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
126
115
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
127
116
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
128
117
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
129
|
-
import "../vendor/svelte/
|
|
130
|
-
import "../vendor/svelte/
|
|
118
|
+
import "../vendor/svelte/transition/index.js";
|
|
119
|
+
import "../vendor/svelte/easing/index.js";
|
|
131
120
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
132
121
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
133
122
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
@@ -143,7 +132,6 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
143
132
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
144
133
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
145
134
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
146
|
-
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
147
135
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
148
136
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
149
137
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -186,7 +174,6 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
186
174
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
187
175
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
188
176
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
189
|
-
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
190
177
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
191
178
|
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
192
179
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
@@ -194,7 +181,7 @@ import "../vendor/classnames/index.js";
|
|
|
194
181
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
195
182
|
import "../CSS3DRenderPlugin/index.js";
|
|
196
183
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
197
|
-
import "../
|
|
184
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
198
185
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
199
186
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
200
187
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -207,7 +194,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
207
194
|
import "../shared-utils/three/GLTFLoader.js";
|
|
208
195
|
import "@realsee/five/gltf-loader";
|
|
209
196
|
import "../shared-utils/three/blink.js";
|
|
210
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
211
197
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
212
198
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
213
199
|
import "../GuideLinePlugin/utils/index.js";
|
|
@@ -220,7 +206,7 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
220
206
|
import "../shared-utils/formatRad.js";
|
|
221
207
|
import "./Work.js";
|
|
222
208
|
import "./utils/coordinatesToVector.js";
|
|
223
|
-
class
|
|
209
|
+
class ir extends G {
|
|
224
210
|
constructor(t, e) {
|
|
225
211
|
super(t, e);
|
|
226
212
|
k(this, "state", {
|
|
@@ -608,5 +594,5 @@ class yr extends G {
|
|
|
608
594
|
}
|
|
609
595
|
}
|
|
610
596
|
export {
|
|
611
|
-
|
|
597
|
+
ir as default
|
|
612
598
|
};
|